JP7529356B2 - Verification program, verification method, and information processing device - Google Patents
Verification program, verification method, and information processing device Download PDFInfo
- Publication number
- JP7529356B2 JP7529356B2 JP2020119387A JP2020119387A JP7529356B2 JP 7529356 B2 JP7529356 B2 JP 7529356B2 JP 2020119387 A JP2020119387 A JP 2020119387A JP 2020119387 A JP2020119387 A JP 2020119387A JP 7529356 B2 JP7529356 B2 JP 7529356B2
- Authority
- JP
- Japan
- Prior art keywords
- screen
- elements
- element table
- information
- normalization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、検証プログラム、検証方法および情報処理装置に関する。 The present invention relates to a verification program, a verification method, and an information processing device.
近年、システムのオープン化やスマートデバイスへの対応などを契機に、GUIアプリの移行が活発に行われている。GUIアプリの移行にともない、画面定義を別の形式に移行する場合がある。この場合、例えば、移行前後の画面を比較して、移行後の画面構成の検証が行われる。 In recent years, the migration of GUI applications has become more common, driven by the trend toward open systems and compatibility with smart devices. In some cases, the migration of GUI applications requires the migration of screen definitions to a different format. In such cases, for example, the screen configuration after migration is verified by comparing the screens before and after the migration.
先行技術としては、修正基本画面定義データと顧客画面定義データとを比較し、顧客画面定義データとは異なっている修正基本画面定義データの部分を抽出し、抽出された部分を識別可能な態様で顧客画面定義データに反映させ、変更後顧客画面定義データを生成し、顧客画面定義データから構成される画面と、変更後顧客画面データから構成される画面とを比較可能な態様で表示するものがある。 Prior art involves comparing modified basic screen definition data with customer screen definition data, extracting parts of the modified basic screen definition data that differ from the customer screen definition data, reflecting the extracted parts in an identifiable manner in the customer screen definition data, generating modified customer screen definition data, and displaying a screen composed of the customer screen definition data and a screen composed of the modified customer screen data in a comparable manner.
しかしながら、従来技術では、システム移行にともなう画面構成の検証に作業負荷や作業時間がかかるという問題がある。例えば、作業者が移行前後の画面を目視で比較して、画面構成に誤りがないかを判断する場合、チェック漏れを招くとともに、検証にかかる作業負荷や作業時間が増大する。 However, with conventional technology, there is a problem in that verifying the screen configuration that accompanies a system migration requires a lot of work and time. For example, when an operator visually compares the screen before and after the migration to determine whether there are any errors in the screen configuration, this can lead to missed checks and increases the workload and time required for verification.
一つの側面では、本発明は、システム移行にともなう画面構成の検証を容易に行うことを可能にすることを目的とする。 In one aspect, the present invention aims to make it possible to easily verify screen configurations following a system migration.
1つの実施態様では、第1システムの第1画面と前記第1システムを移行する第2システムの第2画面それぞれの画面について、当該画面の構成を定義する画面定義ファイルから、当該画面を構成する複数の要素に関する情報を抽出し、前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、前記それぞれの画面について実行した前記正規化処理の結果を出力する、検証プログラムが提供される。 In one embodiment, a verification program is provided that extracts information about a plurality of elements constituting each screen, for a first screen of a first system and a second screen of a second system to which the first system is migrated, from a screen definition file that defines the configuration of the screen, and performs a normalization process for each of the screens that makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationships between the elements of the plurality of elements according to a predetermined normalization rule based on the extracted information about the plurality of elements, removes differences in display shape and size between the screens of each of the plurality of elements, and outputs the results of the normalization process performed for each of the screens.
本発明の一側面によれば、システム移行にともなう画面構成の検証を容易に行うことが可能となるという効果を奏する。 One aspect of the present invention has the effect of making it possible to easily verify screen configurations following a system migration.
以下に図面を参照して、本発明にかかる検証プログラム、検証方法および情報処理装置の実施の形態を詳細に説明する。 Below, embodiments of the verification program, verification method, and information processing device according to the present invention will be described in detail with reference to the drawings.
(実施の形態)
図1は、実施の形態にかかる検証方法の一実施例を示す説明図である。図1において、情報処理装置101は、システム移行にともなう画面構成の検証を支援するコンピュータである。情報処理装置101は、例えば、PC(Personal Computer)、タブレットPCなどである。また、情報処理装置101は、サーバであってもよい。
(Embodiment)
Fig. 1 is an explanatory diagram showing an example of a verification method according to an embodiment. In Fig. 1, an
ここで、世の中に存在するアプリケーションソフトウェア(以下、「アプリ」という)は、技術者ではない一般の利用者の情報の見やすさや操作方法の習得のしやすさなどを重視して、GUI(Graphical User Interface)を中心に構成されることが多い。 Now, application software (hereafter referred to as "apps") available in the world are often constructed around a GUI (Graphical User Interface), with an emphasis on making information easy for non-technical users to view and easy to learn how to operate.
GUIを有するアプリを実現するためには、HTML(Hypertext Markup Language)に代表される画面構成を表した定義が必要となる。画面構成を表した定義(画面定義)としては、HTMLに代表される言語で記述されたファイルもあれば、バイナリファイルも存在する。 To create an application with a GUI, a definition that represents the screen layout, typically in HTML (Hypertext Markup Language), is required. Screen definitions that represent the screen layout can be files written in languages such as HTML, or they can be binary files.
近年、システムのオープン化やスマートデバイスへの対応などを契機に、GUIアプリの移行が活発に行われ、画面定義を別の形式に移行するケースが増えている。移行前後の画面定義が、例えば、以下の要件(i)、(ii)を満たすことで、同じ機能を持つ画面といえる。 In recent years, with the opening up of systems and support for smart devices, there has been active migration of GUI applications, and there are an increasing number of cases where screen definitions are migrated to a different format. If the screen definitions before and after the migration satisfy, for example, the following requirements (i) and (ii), then the screens can be said to have the same functions.
要件(i):移行前後で画面の構成要素に漏れがないこと
要件(ii):移行前後で画面の構成要素の位置関係に変更がないこと
Requirement (i): There are no omissions in the screen components before and after the transition. Requirement (ii): There is no change in the positional relationship of the screen components before and after the transition.
要件(i)を満たさない場合、アプリが正しく動作しないおそれがある。また、要件(ii)を満たさない場合には、構成要素の位置関係が変わって、ユーザの操作感が変わり、ユーザの負担になるおそれがある。このため、GUIアプリを移行したときは、これらの要件を確認するために、画面構成に誤りがないかを判断する検証作業が必要になる。 If requirement (i) is not met, the app may not function correctly. Furthermore, if requirement (ii) is not met, the relative positions of the components may change, which may change the user's operational experience and cause a burden on the user. For this reason, when migrating a GUI app, a verification process is required to check these requirements and determine whether there are any errors in the screen configuration.
従来の検証手法としては、例えば、作業者が移行前後の画面を目視で比較して、誤りがないかを判断するものがある。しかしながら、目視での比較により検証を行う場合、検証対象の画面の数が多くなると、チェック漏れを招くだけでなく、検証作業にかかる作業時間や作業負荷が増大するという問題がある。また、動作環境の違い(例えば、オフコンシステムとオープンシステムなど)により、移行前後の画面を並べて表示することが難しい場合がある。 Conventional verification methods, for example, involve workers visually comparing screens before and after migration to determine whether there are any errors. However, when verification is performed by visual comparison, if there are a large number of screens to be verified, not only will some screens be missed, but there are also problems with the time and workload required for the verification work increasing. In addition, differences in operating environments (for example, between an office computer system and an open system) can make it difficult to display the screens before and after migration side by side.
また、従来の他の検証手法としては、画面キャプチャを用いたものがある。この検証手法では、例えば、移行前の画面を画像解析して、画面構成を機械的に採取し、そのデータをもとに移行後の画面と一致するか否かを判定する。しかしながら、この検証手法は、移行前後の画面の完全互換を前提としているため、画面形式の違い(例えば、入力項目の形状の違いなど)を誤りと判定してしまう。 Another conventional verification method is to use screen capture. In this verification method, for example, the pre-migration screen is image-analyzed to mechanically capture the screen configuration, and based on that data, it is determined whether it matches the post-migration screen. However, because this verification method is based on the premise that the pre-migration and post-migration screens are completely compatible, it will judge differences in screen format (for example, differences in the shape of input fields) as errors.
例えば、画面キャプチャを用いた画面比較では、画面を定義するファイル固有の表現や構成要素の厳格な位置の違いにより、画面構成が同じ画面同士が異なる画面と判断されてしまう。すなわち、構成要素の形状や位置を厳格に判定するため、本来行いたい、構成要素の漏れと位置関係のみを検証することができない。 For example, when comparing screens using screen captures, screens with the same screen configuration are judged to be different screens due to differences in the specific expressions in the files that define the screens and the exact positions of the components. In other words, because the shapes and positions of the components are strictly judged, it is not possible to verify only the omissions and positional relationships of the components, which is what you would originally want to do.
そこで、本実施の形態では、画面構成を定義する情報から画面を構成する要素のみを抽出し、所定の規則に従って要素を正規化することで、上記要件(i)、(ii)を容易に検証可能にして、画面構成の検証にかかる作業負荷や作業時間を削減する検証方法について説明する。ここで、情報処理装置101の処理例について説明する。
In this embodiment, therefore, a verification method is described that extracts only the elements that make up the screen from the information that defines the screen configuration, and normalizes the elements according to a predetermined rule, thereby making it easy to verify the above requirements (i) and (ii), thereby reducing the workload and work time required for verifying the screen configuration. Here, an example of the processing of the
(1)情報処理装置101は、第1システムの第1画面と、第1システムを移行する第2システムの第2画面それぞれの画面について、画面定義ファイルから、画面を構成する複数の要素に関する情報を抽出する。ここで、画面定義ファイルは、画面の構成を定義する情報であり、例えば、HTMLファイルやバイナリファイルなどである。
(1) The
第1のシステムは、移行前のシステムであり、例えば、オフコンのCOBOLで構築されたシステムである。第2のシステムは、第1のシステムを移行する移行後のシステムであり、例えば、オープンシステムである。第2システムの第2画面は、第1システムの第1画面に対応する画面であり、例えば、第1システムの第1画面と同じ機能を持つことが求められる画面である。 The first system is the system before migration, for example a system built with COBOL on an office computer. The second system is the system after migration to which the first system is migrated, for example an open system. The second screen of the second system is a screen that corresponds to the first screen of the first system, for example a screen that is required to have the same functions as the first screen of the first system.
複数の要素は、例えば、入力項目、出力項目、リテラル(定数)、ボタンおよび画像の少なくともいずれかを表す要素を含む。また、複数の要素には、空白を表す要素が含まれることにしてもよい。要素に関する情報は、例えば、要素の位置、サイズ、種別、値などを示す。 The multiple elements include, for example, elements that represent at least one of an input item, an output item, a literal (constant), a button, and an image. The multiple elements may also include an element that represents a space. Information about an element indicates, for example, the position, size, type, value, etc. of the element.
図1の例では、第1画面の画面定義ファイルを「形式Aの画面定義ファイル110」とし、第2画面の画面定義ファイルを「形式Bの画面定義ファイル120」とする。この場合、情報処理装置101は、形式Aの画面定義ファイル110から、第1画面を構成する複数の要素に関する情報を抽出する。また、情報処理装置101は、形式Bの画面定義ファイル120から、第2画面を構成する複数の要素に関する情報を抽出する。
In the example of FIG. 1, the screen definition file for the first screen is the "
(2)情報処理装置101は、第1画面と第2画面それぞれの画面について、抽出した複数の要素に関する情報に基づいて、正規化処理を実行する。ここで、正規化処理は、所定の正規化規則に従って、複数の要素それぞれの種別、複数の要素それぞれの要素名および複数の要素の要素間の相対的な位置関係を区別可能とし、複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する処理である。
(2) The
種別は、要素を分類する情報である。要素名は、画面上の要素を一意に識別する情報である。また、要素間の相対的な位置関係を区別可能にするとは、画面上の要素の厳格な位置を区別可能にするのではなく、例えば、画面上のある要素に対して、他の要素がどこにあるのかといったことを区別可能にすることである。 The type is information that classifies an element. The element name is information that uniquely identifies an element on the screen. Furthermore, making it possible to distinguish the relative positional relationships between elements does not mean making it possible to distinguish the strict positions of elements on the screen, but rather, for example, making it possible to distinguish where one element on the screen is located in relation to other elements.
また、要素の画面間における表示上の形状の差を除外するとは、例えば、四角形と楕円形や、正方形と円形のように、要素の形状に画面間で差があっても、その差を要素の違いとして判断しないようにすることである。また、要素の画面間における表示上の大きさの差を除外するとは、例えば、ある形状の要素の縦横の大きさに画面間で差があっても、その差を要素の違いとして判断しないようにすることである。 Furthermore, excluding differences in the display shape of an element between screens means that even if there is a difference in the shape of an element between screens, such as between a rectangle and an oval, or a square and a circle, this difference is not judged as a difference in the element. Furthermore, excluding differences in the display size of an element between screens means that, for example, even if there is a difference in the vertical and horizontal size of an element of a certain shape between screens, this difference is not judged as a difference in the element.
具体的には、例えば、情報処理装置101は、第1画面と第2画面それぞれの画面について、抽出した複数の要素に関する情報に基づいて、画面構成情報を作成する。画面構成情報は、例えば、種別を含む要素名を表す文字列をカンマ区切りで有する情報であり、どの種別の要素がどの順番で出現するかを示す。
Specifically, for example, the
より詳細に説明すると、例えば、情報処理装置101は、複数の要素それぞれの縦位置と縦サイズとに基づき画面を行方向に区切って分割した領域ごとに、当該領域に桁方向に出現する要素の種別を含む要素名を羅列することにより、画面構成情報を作成する。ただし、情報処理装置101は、領域が行方向に切り替わる際に、改行を表す種別を含む要素名を挿入する。
To explain in more detail, for example, the
要素の種別が改行、空白以外の場合、要素名には、当該種別の要素の画面上での出現順(画面上で要素が宣言された順番)を示す識別番号が含まれる。すなわち、要素の種別が改行、空白以外の場合には、要素名は、例えば、「種別-識別番号」となる。なお、行方向は、画面の上下方向に相当する。桁方向は、画面の左右方向に相当する。 If the element type is other than a newline or a space, the element name includes an identification number that indicates the order in which elements of that type appear on the screen (the order in which the elements were declared on the screen). In other words, if the element type is other than a newline or a space, the element name will be, for example, "type - identification number." Note that the row direction corresponds to the top-to-bottom direction of the screen. The column direction corresponds to the left-to-right direction of the screen.
また、例えば、情報処理装置101は、複数の要素それぞれの横位置と横サイズとに基づき画面を桁方向に区切って分割した領域ごとに、当該領域に行方向に出現する要素の種別を含む要素名を羅列することにより、画面構成情報を作成することにしてもよい。ただし、情報処理装置101は、領域が桁方向に切り替わる際に、改行を表す種別を含む要素名を挿入する。
For example, the
図1の例では、形式Aの画面定義ファイル110から抽出された複数の要素に関する情報に基づき正規化処理が実行された結果、画面構成情報111(from 形式A)が作成された場合を想定する。また、形式Bの画面定義ファイル120から抽出された複数の要素に関する情報に基づき正規化処理が実行された結果、画面構成情報121(from 形式B)が作成された場合を想定する。
In the example of FIG. 1, it is assumed that screen configuration information 111 (from format A) is created as a result of normalization processing being performed based on information about multiple elements extracted from a
(3)情報処理装置101は、第1画面と第2画面それぞれの画面について実行した正規化処理の結果を出力する。それぞれの画面の正規化処理の結果を比較することで、第1画面と第2画面とで、画面を構成する要素に漏れや位置関係の変更がないかを検証することができる。
(3) The
図1の例では、画面構成情報111(from 形式A)と画面構成情報121(from 形式B)とが対応付けて出力される。 In the example of FIG. 1, screen configuration information 111 (from format A) and screen configuration information 121 (from format B) are output in association with each other.
このように、情報処理装置101によれば、移行前後で画面の構成要素に漏れがなく、移行前後で画面の構成要素の位置関係に変更がないことを検証可能な情報を提供することができる。これにより、システム移行にともなう画面構成の検証を容易に行うことが可能となる。
In this way, the
図1の例では、画面構成情報111(from 形式A)と画面構成情報121(from 形式B)とを比較することで、第1画面と第2画面との間で、画面構成に誤りがないかを検証することができる。画面構成情報の比較は、例えば、単純文字列比較によって行われる。 In the example of FIG. 1, by comparing screen configuration information 111 (from format A) with screen configuration information 121 (from format B), it is possible to verify whether there are any errors in the screen configuration between the first screen and the second screen. The comparison of screen configuration information is performed, for example, by a simple string comparison.
例えば、画面構成情報111と画面構成情報121とが一致していれば、第1画面と第2画面との間で、構成要素に漏れがなく、構成要素の位置関係に変更がないことがわかる。一方、画面構成情報111と画面構成情報121とが一致しなければ、第1画面と第2画面との間で、構成要素に漏れや構成要素の位置関係に変更が生じていることがわかる。
For example, if
なお、画面構成情報111,121を比較する処理は、情報処理装置101において実行してもよく、また、情報処理装置101とは異なる他のコンピュータに応じて実行してもよい。
The process of comparing the
(情報処理装置101のハードウェア構成例)
図2は、情報処理装置101のハードウェア構成例を示すブロック図である。図2において、情報処理装置101は、CPU(Central Processing Unit)201と、メモリ202と、ディスクドライブ203と、ディスク204と、通信I/F(Interface)205と、ディスプレイ206と、入力装置207と、可搬型記録媒体I/F208と、可搬型記録媒体209と、を有する。また、各構成部は、バス200によってそれぞれ接続される。
(Example of hardware configuration of information processing device 101)
Fig. 2 is a block diagram showing an example of a hardware configuration of the
ここで、CPU201は、情報処理装置101の全体の制御を司る。CPU201は、複数のコアを有していてもよい。メモリ202は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)およびフラッシュROMなどを有する。具体的には、例えば、フラッシュROMがOS(Operating System)のプログラムを記憶し、ROMがアプリケーションプログラムを記憶し、RAMがCPU201のワークエリアとして使用される。メモリ202に記憶されるプログラムは、CPU201にロードされることで、コーディングされている処理をCPU201に実行させる。
Here, the
ディスクドライブ203は、CPU201の制御に従ってディスク204に対するデータのリード/ライトを制御する。ディスク204は、ディスクドライブ203の制御で書き込まれたデータを記憶する。ディスク204としては、例えば、磁気ディスク、光ディスクなどが挙げられる。
The
通信I/F205は、通信回線を通じてネットワーク210に接続され、ネットワーク210を介して外部のコンピュータに接続される。そして、通信I/F205は、ネットワーク210と装置内部とのインターフェースを司り、外部のコンピュータからのデータの入出力を制御する。ネットワーク210は、例えば、インターネット、LAN、WAN(Wide Area Network)などである。通信I/F205には、例えば、モデムやLANアダプタなどを採用することができる。
The communication I/
ディスプレイ206は、カーソル、アイコンあるいはツールボックスをはじめ、文書、画像、機能情報などのデータを表示する表示装置である。ディスプレイ206としては、例えば、液晶ディスプレイや有機EL(Electroluminescence)ディスプレイなどを採用することができる。
The
入力装置207は、文字、数字、各種指示などの入力のためのキーを有し、データの入力を行う。入力装置207は、キーボードやマウスなどであってもよく、また、タッチパネル式の入力パッドやテンキーなどであってもよい。
The
可搬型記録媒体I/F208は、CPU201の制御に従って可搬型記録媒体209に対するデータのリード/ライトを制御する。可搬型記録媒体209は、可搬型記録媒体I/F208の制御で書き込まれたデータを記憶する。可搬型記録媒体209としては、例えば、CD(Compact Disc)-ROM、DVD(Digital Versatile Disk)、USB(Universal Serial Bus)メモリなどが挙げられる。
The portable recording medium I/
なお、情報処理装置101は、上述した構成部のうち、例えば、ディスクドライブ203、ディスク204、可搬型記録媒体I/F208、可搬型記録媒体209を有していなくてもよい。
Note that the
(情報処理装置101の機能的構成例)
図3は、情報処理装置101の機能的構成例を示すブロック図である。図3において、情報処理装置101は、取得部301と、抽出部302と、正規化部303と、比較部304と、出力部305と、を含む。取得部301~出力部305は制御部となる機能であり、具体的には、例えば、図2に示したメモリ202、ディスク204、可搬型記録媒体209などの記憶装置に記憶されたプログラムをCPU201に実行させることにより、または、通信I/F205により、その機能を実現する。各機能部の処理結果は、例えば、メモリ202、ディスク204などの記憶装置に記憶される。
(Example of functional configuration of information processing device 101)
3 is a block diagram showing an example of a functional configuration of the
取得部301は、第1システムの第1画面の構成を定義する第1画面定義ファイルと、第2システムの第2画面の構成を定義する第2画面定義ファイルとを取得する。ここで、第1のシステムは、移行前のシステムである。第2のシステムは、第1のシステムを移行する移行後のシステムである。第2システムの第2画面は、第1システムの第1画面に対応する画面であり、例えば、第1システムの第1画面と同じ機能を持つことが求められる画面である。
The
以下の説明では、第1画面の構成を定義する第1画面定義ファイルおよび第2画面の構成を定義する第2画面定義ファイルのうちのいずれかの情報を、単に「画面定義ファイル」と表記する場合がある。 In the following explanation, either the first screen definition file that defines the configuration of the first screen or the second screen definition file that defines the configuration of the second screen may be referred to simply as the "screen definition file."
画面定義ファイルは、画面定義を表す情報である。第1画面定義ファイルと第2画面定義ファイルは、例えば、それぞれ形式が異なる画面定義ファイルである。例えば、第1画面定義ファイルは、企業独自の形式のバイナリファイルである。また、第2画面定義ファイルは、例えば、HTMLファイルである。 A screen definition file is information that represents a screen definition. The first screen definition file and the second screen definition file are, for example, screen definition files with different formats. For example, the first screen definition file is a binary file in a company-specific format. And the second screen definition file is, for example, an HTML file.
具体的には、例えば、取得部301は、図2に示した入力装置207を用いたユーザの操作入力により、第1画面定義ファイルと第2画面定義ファイルとを取得する。また、取得部301は、図2に示したネットワーク210を介して、他のコンピュータから受信することにより、第1画面定義ファイルと第2画面定義ファイルとを取得することにしてもよい。
Specifically, for example, the
ここで、第1画面および第2画面の画面イメージについて説明する。 Here, we will explain the screen images of the first and second screens.
図4は、第1画面の画面イメージを示す説明図である。図4において、第1画面400は、第1システムの画面であり、項目401~407を含む。項目401は、第1画面400を構成する要素の一つであり、定数を示す。項目402は、第1画面400を構成する要素の一つであり、入力項目を示す。
Figure 4 is an explanatory diagram showing a screen image of the first screen. In Figure 4, the
項目403は、第1画面400を構成する要素の一つであり、定数を示す。項目404は、第1画面400を構成する要素の一つであり、出力項目を示す。項目405は、第1画面400を構成する要素の一つであり、定数を示す。項目406は、第1画面400を構成する要素の一つであり、ボタンを示す。項目407は、第1画面400を構成する要素の一つであり、ボタンを示す。
第1画面400の構成を定義する画面定義ファイルの形式は、項目を一定間隔の行桁(行:縦、桁:横)で位置指定する形式である。項目のサイズは、行桁で指定される。例えば、項目401の位置は、「行:2、桁:3」で指定される。第1画面400の構成を定義する画面定義ファイルは、例えば、バイナリファイル(不図示)である。
The format of the screen definition file that defines the configuration of the
図5は、第2画面の画面イメージを示す説明図である。図5において、第2画面500は、第2システムの画面であり、項目501~507を含む。項目501は、第2画面500を構成する要素の一つであり、定数を示す。項目502は、第2画面500を構成する要素の一つであり、入力項目を示す。
Figure 5 is an explanatory diagram showing a screen image of the second screen. In Figure 5, the
項目503は、第2画面500を構成する要素の一つであり、定数を示す。項目504は、第2画面500を構成する要素の一つであり、出力項目を示す。項目505は、第2画面500を構成する要素の一つであり、定数を示す。項目506は、第2画面500を構成する要素の一つであり、ボタンを示す。項目507は、第2画面500を構成する要素の一つであり、ボタンを示す。
第2画面500の構成を定義する画面定義ファイルの形式は、項目を縦位置(ピクセル数)と横位置(ピクセル数)で位置指定するHTML形式である。項目の縦の高さは、フォントサイズで指定される。例えば、項目501の位置は、「縦位置(px):10、横位置(px):50」で指定される。ただし、HTMLは項目間の隙間やボタンなどの要素に空白や枠線を補完するため、宣言通りの位置と実際の表示位置がずれることがある。
The format of the screen definition file that defines the configuration of the
第2画面500の構成を定義する画面定義ファイルは、例えば、図6に示すようなHTMLファイル600である。
The screen definition file that defines the configuration of the
図6は、HTMLファイルの具体例を示す説明図である。図6において、HTMLファイル600は、図5に示した第2画面500の構成を定義する画面定義ファイルの一例である。なお、第2画面500のうちHTML上宣言されている領域は、190px×310pxの領域(図5中、枠線510)である。
Figure 6 is an explanatory diagram showing a specific example of an HTML file. In Figure 6,
図3の説明に戻り、抽出部302は、第1システムの第1画面と第2システムの第2画面それぞれの画面について、当該画面の構成を定義する画面定義ファイルから、当該画面を構成する複数の要素に関する情報を抽出する。ここで、複数の要素は、例えば、入力項目、出力項目、固定リテラル(定数)、ボタンおよび画像の少なくともいずれかを表す要素を含む。また、複数の要素は、空白を表す要素を含むことにしてもよい。
Returning to the explanation of FIG. 3, the
要素に関する情報は、例えば、要素の位置、サイズ、種別、値などを示す。要素の位置は、画面上での要素の位置であり、例えば、要素の左上の座標によって表される。要素のサイズは、例えば、要素の縦、横のサイズによって表される。要素の種別としては、例えば、入力項目、出力項目、固定リテラル(定数)、ボタン、画像などがある。要素の値は、例えば、初期値である。また、要素に関する情報は、画面のサイズを特定する情報を含む。画面のサイズは、例えば、行数と桁数によって表されたり、縦横のピクセル数によって表されたりする。 The information about an element indicates, for example, the position, size, type, and value of the element. The position of an element is the position of the element on the screen, and is represented, for example, by the coordinates of the top left corner of the element. The size of an element is represented, for example, by the vertical and horizontal sizes of the element. Examples of element types include input items, output items, fixed literals (constants), buttons, and images. The value of an element is, for example, an initial value. The information about an element also includes information that specifies the size of the screen. The size of the screen is represented, for example, by the number of rows and columns, or by the number of vertical and horizontal pixels.
具体的には、例えば、抽出部302は、各画面について、各画面の画面定義ファイルに基づいて、画面定義情報を作成する。画面定義情報は、要素の正規化に必要な情報であり、画面定義ファイルから抽出された要素に関する情報を含む。ここで、図7を用いて、画面定義情報のデータ構造について説明する。
Specifically, for example, the
図7は、画面定義情報のデータ構造例を示す説明図である。図7において、画面定義情報sdは、画面サイズと、要素テーブルとを含む。要素テーブルは、要素ごとの位置、サイズ、項目種別、値を格納する。画面定義情報sdの具体例については、例えば、図16を用いて後述する。 Figure 7 is an explanatory diagram showing an example of the data structure of screen definition information. In Figure 7, the screen definition information sd includes a screen size and an element table. The element table stores the position, size, item type, and value for each element. A specific example of the screen definition information sd will be described later using, for example, Figure 16.
正規化部303は、第1画面と第2画面それぞれの画面について、抽出した複数の要素に関する情報に基づいて、正規化処理を実行する。ここで、正規化処理は、所定の正規化規則に従って、複数の要素それぞれの種別、複数の要素それぞれの要素名および複数の要素の要素間の相対的な位置関係を区別可能とし、複数の要素それぞれの画面間における表示上の形状、大きさ(サイズ)の差を除外する処理である。
The
また、正規化部303は、さらに、複数の要素の要素間の相対的な大小関係を区別可能にする正規化処理を実行することにしてもよい。また、正規化部303は、複数の要素それぞれの値を区別可能にする正規化処理を実行することにしてもよい。要素の値は、例えば、初期値、項目名、ボタン名などである。
The
具体的には、例えば、正規化部303は、複数の要素それぞれの縦位置と縦サイズとに基づき画面を行方向に区切って分割した領域ごとに、当該領域に桁方向に出現する要素の種別を含む要素名を羅列することにより、画面構成情報を作成する。ただし、正規化部303は、領域が行方向に切り替わる際に、改行を表す種別を含む要素名を挿入する。要素の種別が改行、空白以外の場合、要素名には、当該種別の要素の画面上での出現順(画面上で要素が宣言された順番)を示す識別番号が含まれる。
Specifically, for example, the
また、正規化部303は、例えば、複数の要素それぞれの横位置と横サイズとに基づき画面を桁方向に区切って分割した領域ごとに、当該領域に行方向に出現する要素の種別を含む要素名を羅列することにより、画面構成情報を作成することにしてもよい。ただし、正規化部303は、領域が桁方向に切り替わる際に、改行を表す種別を含む要素名を挿入する。
The
より詳細に説明すると、例えば、正規化部303は、画面定義情報を正規化し、正規要素テーブルを作成する。正規要素テーブルは、正規化した要素に関する情報を格納する。一般的な画面は、各要素の位置やサイズは自由に指定ができるため、単位的な行桁の表現はできない。すなわち、要素の大きさが異なったり、位置を自由に設定できたりするため、単位的に分割すると要素が分断されてしまう。
To explain in more detail, for example, the
そこで、正規化部303は、画面定義情報-要素テーブルをもとに、要素の位置、サイズに合わせて、画面を任意の行幅(または、桁幅)で行単位(または、桁単位)に分解し、正規要素テーブルを作成する。画面定義情報-要素テーブルは、画面定義情報に含まれる要素テーブルを示す。そして、正規化部303は、画面の各行を解析し、正規要素テーブルを作成する。
The
ここで、画面の左上を頂点に、行桁方向で要素(構成要素)を抽出する正規化規則を用いるとする。この場合、正規要素テーブルのデータ構造は、例えば、図8に示すようなものとなる。正規要素テーブルは、正規化規則によって構成が異なる。 Let us assume that a normalization rule is used that extracts elements (components) in the row and column direction, with the top left corner of the screen as the apex. In this case, the data structure of the normalized element table will be, for example, as shown in Figure 8. The structure of the normalized element table will differ depending on the normalization rule.
図8は、正規要素テーブルのデータ構造例を示す説明図である。図8において、正規要素テーブルntは、縦位置と、行幅と、要素テーブルとを含む。要素テーブルは、要素の位置(横)、サイズ(横)、要素名を格納する。同じ行とみなす要素に関する情報は、同じ要素テーブルに格納される。要素テーブル内の位置、サイズの縦情報は、開始位置、行幅に包括されるためない。正規要素テーブルntの具体例については、例えば、図13を用いて後述する。 Fig. 8 is an explanatory diagram showing an example of the data structure of a regular element table. In Fig. 8, the regular element table nt includes a vertical position, a row width, and an element table. The element table stores the position (horizontal), size (horizontal), and element name of an element. Information about elements considered to be in the same row is stored in the same element table. There is no vertical information about the position and size in the element table, as this information is included in the start position and row width. A specific example of the regular element table nt will be described later, for example, using Fig. 13.
より詳細に説明すると、例えば、正規化部303は、画面定義情報-要素テーブルを参照して、正規要素テーブルに行幅を設定する。正規化部303は、画面定義情報-要素テーブルを参照して、複数行に跨る要素を分割し、画面定義情報-要素テーブルに追加する。正規化部303は、画面定義情報-要素テーブルを行桁順に並べ替える。正規化部303は、画面定義情報-要素テーブルを参照して、正規要素テーブル-要素テーブルを設定する。正規要素テーブル-要素テーブルは、正規要素テーブルに含まれる要素テーブルを示す。また、正規化部303は、正規要素テーブルに何も定義されていない箇所に、空白領域を定義する。
To explain in more detail, for example, the
ここで、図9~図13を用いて、正規化処理の一例について説明する。 Here, an example of normalization processing is explained using Figures 9 to 13.
図9~図13は、正規化処理の一例を示す説明図である。図9において、正規化部303は、画面定義情報-要素テーブルを参照して、正規要素テーブルに行幅を設定する。具体的には、例えば、正規化部303は、参照した画面定義情報-要素テーブルの位置(縦)とサイズ(縦)から、画面の行幅を算出し、正規要素テーブル-縦位置、行幅を設定する。
Figures 9 to 13 are explanatory diagrams showing an example of normalization processing. In Figure 9, the
この際、正規化部303は、同じ位置(縦)とサイズ(縦)に宣言された要素を、同一行とみなす。例えば、画面901の場合、要素1,2は、位置(縦)が異なるため、異なる行とみなされる。また、画面902の場合、要素1,2は、位置(縦)とサイズ(縦)が同じため、同一行とみなされる。また、正規化部303は、画面903~905のように、要素同士が縦方向で重なるとき、要素の上端、下端を行の区切りとする。この場合、各画面903~905の要素2は複数行に跨がることになる。
At this time, the
図10において、画面1001を例に挙げ、画面1001の画面定義情報を画面定義情報1010とする。画面定義情報1010は、画面1001の画面サイズ「縦90×横200」と、要素テーブル1011とを含む。要素テーブル1011は、画面1001を構成する要素1,2ごとの位置、サイズ、項目種別、値を格納する。
In FIG. 10,
具体的には、要素テーブル1011の1番目のレコードは、要素1の位置、サイズ、項目種別、値を示す。要素1の位置(左上の座標)は「縦:10、横:10」である。要素1のサイズは「縦:30、横:80」である。要素1の項目種別は「固定リテラル」である。要素1の値は「要素1」である。要素テーブル1011の2番目のレコードは、要素2の位置、サイズ、項目種別、値を示す。
Specifically, the first record in element table 1011 indicates the position, size, item type, and value of
この場合、画面1001を縦位置10,40,60で区切って、4つの行に分解し、正規要素テーブル1020に各行の行幅を設定する。ここでは、正規要素テーブル1020に行幅10,30,20,30が設定される。また、各行の要素テーブルを上から順にテーブルA,B,C,Dと表記する。
In this case,
図11において、正規化部303は、画面定義情報1010-要素テーブル1011を参照して、複数行に跨る要素を分割し、画面定義情報1010-要素テーブル1011に追加する。すなわち、正規化部303は、要素同士が縦方向で重なるとき、1要素が複数行にまたがるため、このような要素を画面定義情報1010-要素テーブル1011上で分割する。これにより、複数の要素の要素間の相対的な大小関係を区別可能にする。
In FIG. 11, the
ここでは、画面1001の要素2が2つに分割され、画面定義情報1010-要素テーブル1011上で、要素2のレコード(2番目のレコード)が2つに分割される。この結果、要素テーブル1011の1番目のレコードは、要素1の位置、サイズ、項目種別、値を示す。また、要素テーブル1011の2,3番目のレコードは、要素2の位置、サイズ、項目種別、値を示す。
Here,
また、正規化部303は、画面定義情報1010-要素テーブル1011を行桁順に並べ替える。すなわち、正規化部303は、要素を分割したことにより、画面定義情報1010-要素テーブル1011のレコードが行桁順ではない可能性があるため、行桁順にレコードを並べ替える。
The
具体的には、例えば、正規化部303は、画面定義情報1010-要素テーブル1011のレコードを、縦位置が小さい順にソートした後に、横位置が小さい順にソートする。図11の例では、画面定義情報1010-要素テーブル1011のレコードの並び替えは生じない。
Specifically, for example, the
図12において、正規化部303は、画面定義情報1010-要素テーブル1011を参照して、正規要素テーブル1020-要素テーブルを設定する。具体的には、例えば、正規化部303は、画面定義情報1010-要素テーブル1011の位置(縦)と正規要素テーブル1020の縦位置を参照して、対応する行の要素テーブルに、画面定義情報1010-要素テーブル1011の情報を設定する。
In FIG. 12, the
この際、正規化部303は、例えば、項目種別を用いて、正規要素テーブル1020-要素テーブルの要素名を設定する。要素名は、項目種別と識別番号をつなげた形「項目種別-識別番号」で表現する。識別番号は、画面の左上を頂点に行桁方向に宣言された順番で、項目種別ごと4桁の連番でつける。ただし、項目種別が空白、改行のときは識別番号をつけないこととする。
At this time, the
ここでは、画面定義情報1010-要素テーブル1011の縦位置「10」が、正規要素テーブル1020-要素テーブルBに対応する。このため、正規化部303は、画面定義情報1010-要素テーブル1011の1,2番目のレコードに基づいて、正規要素テーブル1020-要素テーブルBに情報を設定する。
Here, the vertical position "10" in the screen definition information 1010-element table 1011 corresponds to the regular element table 1020-element table B. Therefore, the
具体的には、例えば、正規化部303は、画面定義情報1010-要素テーブル1011の1番目のレコードに基づいて、正規要素テーブル1020-要素テーブルBに、「位置(横):10」、「サイズ(横):80」および「要素名:Literal-0001」を設定する。Literal-0001は、画面の左上を頂点に行桁方向に1番目に宣言された固定リテラル(定数)であることを示す。
Specifically, for example, the
また、正規化部303は、画面定義情報1010-要素テーブル1011の2番目のレコードに基づいて、正規要素テーブル1020-要素テーブルBに、「位置(横):100」、「サイズ(横):80」および「要素名:Literal-0002」を設定する。Literal-0002は、画面の左上を頂点に行桁方向に2番目に宣言された固定リテラル(定数)であることを示す。
The
また、画面定義情報1010-要素テーブル1011の縦位置「40」が、正規要素テーブル1020-要素テーブルCに対応する。このため、正規化部303は、画面定義情報1010-要素テーブル1011の3番目のレコードに基づいて、正規要素テーブル1020-要素テーブルCに、「位置(横):100」、「サイズ(横):80」および「要素名:Literal-0002」を設定する。
The vertical position "40" in the screen definition information 1010-element table 1011 corresponds to the regular element table 1020-element table C. Therefore, the
なお、項目種別を表す文字列としては、Literalのほかに、Space、NewLine、Input、Output、Button、Media、Otherなどがある。Spaceは、空白(項目が定義されていない領域)を示す。NewLineは、改行を示す。Inputは、入力項目を示す。Outputは、出力項目を示す。Buttonは、ボタンを示す。Mediaは、画像を示す。Otherは、画面定義ファイル固有の要素などのその他の項目を示す。正規化規則によって、値やデータ名、項目サイズなどのパラメタを追加してもよい。 In addition to Literal, strings that indicate item types include Space, NewLine, Input, Output, Button, Media, and Other. Space indicates a blank space (an area where no items are defined). NewLine indicates a line break. Input indicates an input item. Output indicates an output item. Button indicates a button. Media indicates an image. Other indicates other items such as elements specific to the screen definition file. Parameters such as values, data names, and item sizes may be added using normalization rules.
図13において、正規化部303は、正規要素テーブル1020に何も定義されていない箇所に、空白領域を定義する。具体的には、例えば、正規化部303は、正規要素テーブル1020-要素テーブルの位置(横)とサイズ(横)を参照して、何も定義されていない領域があれば、要素名:Spaceの項目(レコード)を追加する。
In FIG. 13, the
例えば、要素テーブルBは、「位置(横):0」、「サイズ(横):10」に何も定義されていない。すなわち、画面1001の「縦位置:0」の「位置(横):0~10」には何も定義されていない。このため、正規化部303は、正規要素テーブル1020-要素テーブルBに、「位置(横):0」、「サイズ(横):10」および「要素名:Space」のレコードを追加する。
For example, element table B has no definition for "Position (horizontal): 0" or "Size (horizontal): 10". In other words, nothing is defined for "Position (horizontal): 0-10" of "Vertical position: 0" on
また、要素テーブルBは、「位置(横):90」、「サイズ(横):10」に何も定義されていない。すなわち、画面1001の「縦位置:0」の要素1と要素2の間は何も定義されていない。このため、正規化部303は、正規要素テーブル1020-要素テーブルBに、「位置(横):90」、「サイズ(横):10」および「要素名:Space」のレコードを追加する。
Furthermore, in element table B, nothing is defined for "Position (horizontal): 90" and "Size (horizontal): 10". In other words, nothing is defined between
また、要素テーブルBは、「位置(横):180」、「サイズ(横):20」に何も定義されていない。すなわち、画面1001の「縦位置:0」の「位置(横):180~200」には何も定義されていない。このため、正規化部303は、正規要素テーブル1020-要素テーブルBに、「位置(横):180」、「サイズ(横):20」および「要素名:Space」のレコードを追加する。
Furthermore, in element table B, nothing is defined for "Position (horizontal): 180" and "Size (horizontal): 20". In other words, nothing is defined for "Position (horizontal): 180-200" of "Vertical position: 0" on
正規要素テーブル1020-要素テーブルCについても同様である。 The same is true for regular element table 1020 - element table C.
また、正規要素テーブル1020-要素テーブルに要素がないとき、その行は空白である。この場合、空白のサイズ(横)は、画面1001の横サイズ「200」となる。例えば、正規要素テーブル1020-要素テーブルAには、なにも定義されていない。このため、正規化部303は、正規要素テーブル1020-要素テーブルAに、「位置(横):0」、「サイズ(横):200」および「要素名:Space」のレコードを追加する。
Also, when there is no element in the regular element table 1020-element table, the row is blank. In this case, the size (width) of the blank space is the width of the
正規要素テーブル1020-要素テーブルDについても同様である。 The same is true for regular element table 1020 - element table D.
また、正規化部303は、第1画面と第2画面それぞれの画面について実行した正規化処理の結果を出力する。具体的には、例えば、正規化部303は、作成した正規要素テーブルを記号化して、画面構成情報を出力する。画面構成情報は、要素名を表す文字列のみをカンマ区切りで有する情報である。
The
より詳細に説明すると、例えば、正規化部303は、正規要素テーブル-要素テーブルを順番に参照して、要素名を列挙することにより、画面構成情報を出力する。この際、正規化部303は、正規要素テーブルの次の要素テーブルを読み込んだときに、改行を意味する要素名「NewLine」を出力する。
To explain in more detail, for example, the
画面構成情報は、画面の左上を頂点に、行桁方向に要素を走査した際に、どの種別の要素が、どのような順番で出現するかを示す。移行前後の画面同士で画面構成情報を比較することで、表現の差異や厳格な位置関係に左右されることなく、移行前後の画面確認の要件(要素数、位置関係)を満たすことができる。 The screen configuration information indicates what type of elements appear and in what order when elements are scanned row-by-row, starting from the top left corner of the screen. By comparing the screen configuration information between the screens before and after the transition, the requirements for checking the screen before and after the transition (number of elements, positional relationships) can be met without being affected by differences in expression or strict positional relationships.
ここで、図14を用いて、画面構成情報の出力例について説明する。 Here, we will use Figure 14 to explain an example of screen configuration information output.
図14は、画面構成情報の出力例を示す説明図である。図14において、正規化部303は、正規要素テーブル1020-要素テーブルA,B,C,Dを順番に参照して、要素名を列挙する。この際、正規化部303は、次の要素テーブルを読み込んだときに、改行を意味する要素名「NewLine」を出力する。
Figure 14 is an explanatory diagram showing an example of screen configuration information output. In Figure 14, the
具体的には、例えば、まず、正規化部303は、正規要素テーブル1020-要素テーブルAを参照して、要素名「Space」を出力する。つぎに、正規化部303は、正規要素テーブル1020-要素テーブルBを読み込むと、カンマで区切って、要素名「NewLine」を出力する。
Specifically, for example, the
そして、正規化部303は、正規要素テーブル1020-要素テーブルBを参照して、各要素名をカンマ区切りで上から順に出力する。ここでは、要素名「Space,Literal-0001,Space,Literal-0002,Space」が出力される。つぎに、正規化部303は、正規要素テーブル1020-要素テーブルCを読み込むと、カンマで区切って、要素名「NewLine」を出力する。
Then, the
そして、正規化部303は、正規要素テーブル1020-要素テーブルCを参照して、各要素名をカンマ区切りで上から順に出力する。ここでは、要素名「Space,Literal-002,Space」が出力される。つぎに、正規化部303は、正規要素テーブル1020-要素テーブルDを読み込むと、カンマで区切って、要素名「NewLine」を出力する。
Then, the
そして、正規化部303は、正規要素テーブル1020-要素テーブルDを参照して、カンマで区切って要素名「Space」を出力する。この結果、画面構成情報1400が作成される。画面構成情報1400によれば、画面1001(例えば、図10参照)の左上を頂点に、行桁方向に要素を走査した際に、どの種別の要素が、どのような順番で出現するかを特定することができる。
Then, the
なお、上述した説明では、画面の左上を頂点に行桁方向で要素を抽出する正規化規則を用いる場合を例に挙げて説明したが、これに限らない。例えば、図15に示すように、検証における要件(要素の漏れがない、かつ、位置関係を保持する)を満たすものであれば、他の正規化規則を用いることにしてもよい。 In the above explanation, an example was given of a case where a normalization rule is used that extracts elements in the row and column direction with the top left corner of the screen as the apex, but this is not limited to this. For example, as shown in FIG. 15, other normalization rules may be used as long as they satisfy the requirements for verification (no elements are missing and positional relationships are maintained).
図15は、他の正規化規則の一例を示す説明図である。図15の(15-1)に示すように、正規化部303は、例えば、画面の左上を頂点に、桁行方向で要素(構成要素)を抽出する正規化規則を用いることにしてもよい。
Figure 15 is an explanatory diagram showing an example of another normalization rule. As shown in (15-1) of Figure 15, the
また、(15-2)に示すように、正規化部303は、要素間の空白を無視して、要素を抽出することにしてもよい。この場合、図13に示した正規要素テーブル1020-要素テーブルBを例に挙げると、例えば、3番目のレコードがなくなり、4番目のレコードの位置(横)、サイズ(横)が、「位置(横):90」、「サイズ(横):90」となる。
Also, as shown in (15-2), the
また、(15-3)に示すように、正規化部303は、要素を分割しないで、要素を抽出することにしてもよい。すなわち、正規化部303は、要素間の相対的な大小関係を区別しない正規化処理を実行する。この場合、図10に示した正規要素テーブル1020を例に挙げると、例えば、要素2のサイズに合わせて、2番目のレコードの行幅が「50」となり、3番目のレコードの縦位置が「60」、行幅が「30」となる。また、4番目のレコードがなくなる。
Also, as shown in (15-3), the
図3の説明に戻り、比較部304は、第1画面と第2画面それぞれの画面について実行した正規化処理の結果を比較する。具体的には、例えば、比較部304は、第1画面と第2画面それぞれの画面の画面構成情報を比較する。画面構成情報の比較は、例えば、単純文字列比較によって行われる。
Returning to the explanation of FIG. 3, the
画面構成情報が一致していれば、移行前後の画面構成が同じ、すなわち、移行前後で画面の構成要素に漏れがなく、移行前後で画面の構成要素の位置関係に変更がないことがわかる。一方、画面構成情報が一致していなければ、移行前後の画面構成が異なる、すなわち、移行前後で画面の構成要素に漏れや位置関係の変更があることがわかる。 If the screen configuration information matches, then the screen configuration is the same before and after the transition, meaning that there are no missing screen components before and after the transition, and there is no change in the relative positions of the screen components before and after the transition. On the other hand, if the screen configuration information does not match, then the screen configuration is different before and after the transition, meaning that there are missing screen components or changes in the relative positions of the screen components before and after the transition.
また、比較部304は、第1画面と第2画面それぞれの画面の画面構成情報が一致した場合、移行後の画面構成に誤りがないと判定してもよい(検証OK)。一方、第1画面と第2画面それぞれの画面の画面構成情報が不一致の場合、比較部304は、移行後の画面構成に誤りがあると判定してもよい(検証NG)。
In addition, if the screen configuration information of the first screen and the second screen match, the
出力部305は、比較された結果を出力する。出力部305の出力形式としては、例えば、メモリ202、ディスク204などの記憶装置への記憶、通信I/F205による他のコンピュータへの送信、ディスプレイ306への表示、不図示のプリンタへの印刷出力などがある。
The
具体的には、例えば、出力部305は、第1画面と第2画面それぞれの画面の画面構成情報が一致するか否かを示す情報を、ディスプレイ206に表示してもよい。また、出力部305は、移行後の画面構成に誤りがあるか否かを示す判定結果を、ディスプレイ206に表示してもよい。
Specifically, for example, the
また、出力部305は、第1画面と第2画面それぞれの画面について実行した正規化処理の結果を出力することにしてもよい。具体的には、例えば、出力部305は、第1画面と第2画面それぞれの画面の画面構成情報を対応付けて出力することにしてもよい。これにより、例えば、情報処理装置101とは異なる他のコンピュータにおいて、第1画面と第2画面それぞれの画面の画面構成情報を比較する処理を行うことができる。
The
なお、情報処理装置101は、例えば、複数の正規化規則を用いて、多観点の検証を行うことにしてもよい。例えば、互換性の高い画面定義同士であれば、正規化規則を段階的に強めることで、検証精度を高めることができる。具体的には、例えば、情報処理装置101は、第1のステップとして、空白を含まない要素を抽出する正規化規則を用いた検証を行う。第1ステップでは、定義された構成要素の個数、位置関係の検証を行うことができる。また、情報処理装置101は、第2のステップとして、空白を含む要素を抽出する正規化規則を用いた検証を行う。第2ステップでは、定義された要素間の位置関係の検証を行うことができる。また、情報処理装置101は、第3のステップとして、画面定義ファイル独自の要素を含んだ正規化規則を用いた検証を行う。第3ステップでは、例えば、厳密な要素の検証を行うことができる。
The
また、上述した情報処理装置101の機能部のうち、例えば、比較部304は、情報処理装置101とは異なる他のコンピュータにより実現されることにしてもよい。すなわち、第1画面と第2画面それぞれの画面について実行した正規化処理の結果を比較する処理は、他のコンピュータで実行されてもよい。この場合、情報処理装置101は、例えば、出力部305により、第1画面と第2画面それぞれの画面について実行した正規化処理の結果を出力する。
Furthermore, among the functional units of the
(画面構成の検証例)
つぎに、図4に示した第1画面400と、図5に示した第2画面500とを例に挙げて、移行前後の画面構成の検証例について説明する。
(Screen configuration verification example)
Next, an example of verifying the screen configuration before and after the transition will be described using the
まず、図16~図22を用いて、第1画面400の画面構成情報を作成するまでの処理について説明する。
First, the process for creating the screen configuration information for the
図16は、第1画面の画面定義情報の具体例を示す説明図である。また、図17~図22は、第1画面の正規化処理例を示す説明図である。抽出部302は、第1画面400の画面定義ファイルに基づいて、画面定義情報sd1を作成する。
Figure 16 is an explanatory diagram showing a specific example of screen definition information for the first screen. Also, Figures 17 to 22 are explanatory diagrams showing examples of normalization processing for the first screen. The
図16において、画面定義情報sd1は、第1画面400の画面サイズ「9行×14桁」と、要素テーブル1600とを含む。要素テーブル1600は、第1画面400を構成する各要素の位置、サイズ、項目種別、値を格納する。
In FIG. 16, the screen definition information sd1 includes the screen size of the
抽出部302は、画面定義情報sd1の要素テーブル1600を行桁順にソートする。ここでは、要素テーブル1600は、元々行桁順に並んでいるため、並び替えは発生しない。
The
図17において、正規化部303は、画面定義情報sd1-要素テーブル1600を参照して、正規要素テーブルnt1に行幅を設定する。ここでは、画面定義情報sd1-要素テーブル1600では、要素(項目)が一定間隔の行桁で宣言されているため、1桁区切りで正規要素テーブルnt1の行幅が設定される。
In FIG. 17, the
また、画面定義情報sd1-要素テーブル1600では、複数行に跨がる要素がないため、要素の分割は発生せず、要素テーブル1600の並び替えも発生しない。 In addition, in the screen definition information sd1-element table 1600, there are no elements that span multiple lines, so no element splitting occurs, and no rearrangement of the element table 1600 occurs.
図18において、正規化部303は、画面定義情報sd1-要素テーブル1600の位置(行)と正規要素テーブルnt1の縦位置を参照して、対応する行の要素テーブルに、画面定義情報sd1-要素テーブル1600の情報を設定する。
In FIG. 18, the
例えば、画面定義情報sd1-要素テーブル1600の位置(行)「2」が、正規要素テーブルnt1-要素テーブルBに対応する。このため、正規化部303は、画面定義情報sd1-要素テーブル1600の1,2番目のレコードに基づいて、正規要素テーブルnt1-要素テーブルBに情報を設定する。
For example, position (row) "2" in screen definition information sd1-element table 1600 corresponds to regular element table nt1-element table B. Therefore, the
また、画面定義情報sd1-要素テーブル1600の位置(行)「4」が、正規要素テーブルnt1-要素テーブルDに対応する。このため、正規化部303は、画面定義情報sd1-要素テーブル1600の3,4番目のレコードに基づいて、正規要素テーブルnt1-要素テーブルDに情報を設定する。
In addition, position (row) "4" in the screen definition information sd1-element table 1600 corresponds to the regular element table nt1-element table D. Therefore, the
また、画面定義情報sd1-要素テーブル1600の位置(行)「6」が、正規要素テーブルnt1-要素テーブルFに対応する。このため、正規化部303は、画面定義情報sd1-要素テーブル1600の5番目のレコードに基づいて、正規要素テーブルnt1-要素テーブルFに情報を設定する。
In addition, position (row) "6" in the screen definition information sd1-element table 1600 corresponds to the regular element table nt1-element table F. Therefore, the
また、画面定義情報sd1-要素テーブル1600の位置(行)「8」が、正規要素テーブルnt1-要素テーブルHに対応する。このため、正規化部303は、画面定義情報sd1-要素テーブル1600の6,7番目のレコードに基づいて、正規要素テーブルnt1-要素テーブルHに情報を設定する。
In addition, position (row) "8" in the screen definition information sd1-element table 1600 corresponds to the regular element table nt1-element table H. Therefore, the
図19において、正規要素テーブルnt1の要素テーブルB,D,F,Hが示されている。要素テーブルBを例に挙げると、画面定義情報sd1-要素テーブル1600の1番目のレコードに基づいて、正規要素テーブルnt1-要素テーブルBに、「横位置(桁):3」、「サイズ(桁数):2」および「要素名:Literal-0001」が設定される(1番目のレコード)。また、画面定義情報sd1-要素テーブル1600の2番目のレコードに基づいて、正規要素テーブルnt1-要素テーブルBに、「横位置(桁):5」、「サイズ(桁数):8」および「要素名:Input-0001」が設定される(2番目のレコード)。 In FIG. 19, element tables B, D, F, and H of regular element table nt1 are shown. Taking element table B as an example, "horizontal position (digits): 3", "size (number of digits): 2", and "element name: Literal-0001" are set in regular element table nt1-element table B based on the first record in screen definition information sd1-element table 1600 (first record). Also, based on the second record in screen definition information sd1-element table 1600, "horizontal position (digits): 5", "size (number of digits): 8", and "element name: Input-0001" are set in regular element table nt1-element table B (second record).
図20において、正規化部303は、正規要素テーブルnt1-要素テーブルの横位置(桁)とサイズ(桁数)を参照して、何も定義されていない領域があれば、要素名:Spaceの項目(レコード)を追加する。
In FIG. 20, the
例えば、要素テーブルAには、何も定義されていない。このため、正規化部303は、正規要素テーブルnt1-要素テーブルAに、「横位置(桁):1」、「サイズ(桁数):14」および「要素名:Space」のレコードを追加する。サイズ(桁数):14は、第1画面400の横サイズである。
For example, nothing is defined in element table A. Therefore, the
また、例えば、要素テーブルBは、「横位置(桁):1」、「サイズ(桁数):2」に何も定義されていない。すなわち、第1画面400の「縦位置(行):2」の「横位置(桁):1~2」には何も定義されていない。このため、正規化部303は、正規要素テーブルnt1-要素テーブルBに、「横位置(桁):1」、「サイズ(桁数):2」および「要素名:Space」のレコードを追加する。
For example, element table B has no definition for "horizontal position (digits): 1" or "size (number of digits): 2". In other words, nothing is defined for "horizontal position (digits): 1-2" of "vertical position (row): 2" on the
図21において、正規要素テーブルnt1-要素テーブルA,B,C,D,E,F,G,H,Iが示されている。要素テーブルA,B,C,D,E,F,G,H,Iの何も定義されていない箇所には、空白領域が定義されている。 In FIG. 21, regular element table nt1 - element tables A, B, C, D, E, F, G, H, and I are shown. Blank areas are defined in the places where nothing is defined in element tables A, B, C, D, E, F, G, H, and I.
図22において、正規化部303は、正規要素テーブルnt1-要素テーブルA,B,C,D,E,F,G,H,Iを順番に参照して、要素名をカンマ区切りで羅列することにより、画面構成情報2200を出力する。この際、正規化部303は、正規要素テーブルnt1の次の要素テーブルを読み込んだときに、改行を意味する要素名「NewLine」を出力する。
In FIG. 22, the
画面構成情報2200は、第1画面400の左上を頂点に、行桁方向に要素を走査した際に、どの種別の要素が、どのような順番で出現するかを示している。
The
つぎに、図23~図29を用いて、第2画面500の画面構成情報を作成するまでの処理について説明する。
Next, the process for creating the screen configuration information for the
図23は、第2画面の画面定義情報の具体例を示す説明図である。また、図24~図29は、第2画面の正規化処理例を示す説明図である。抽出部302は、第2画面500の画面定義ファイル(例えば、図6に示したHTMLファイル600)に基づいて、画面定義情報sd2を作成する。
Figure 23 is an explanatory diagram showing a specific example of screen definition information for the second screen. Also, Figures 24 to 29 are explanatory diagrams showing examples of normalization processing for the second screen. The
図23において、画面定義情報sd2は、第2画面500の画面サイズ「縦190px×横310px」と、要素テーブル2300とを含む。画面サイズは、左上から宣言されている領域で算出される。要素テーブル2300は、第2画面500を構成する各要素の位置、サイズ、項目種別、値を格納する。
In FIG. 23, the screen definition information sd2 includes the screen size of the
抽出部302は、画面定義情報sd2の要素テーブル2300を行桁順にソートする。ここでは、要素テーブル2300は、元々行桁順に並んでいるため、並び替えは発生しない。
The
図24において、正規化部303は、画面定義情報sd2-要素テーブル2300を参照して、正規要素テーブルnt2に行幅を設定する。ここでは、画面定義情報sd2-要素テーブル2300では、要素(項目)の位置が指定されているため、縦位置を参照して、行幅を設定する。なお、図24では、第2画面500を桁方向に区切った線のイメージを示している。
In FIG. 24, the
また、画面定義情報sd2-要素テーブル2300では、複数行に跨がる要素がないため、要素の分割は発生せず、要素テーブル2300の並び替えも発生しない。 In addition, in the screen definition information sd2-element table 2300, there are no elements that span multiple lines, so no element splitting occurs, and no rearrangement of the element table 2300 occurs.
図25において、正規化部303は、画面定義情報sd2-要素テーブル2300の位置(行)と正規要素テーブルnt2の縦位置を参照して、対応する行の要素テーブルに、画面定義情報sd2-要素テーブル2300の情報を設定する。
In FIG. 25, the
例えば、画面定義情報sd2-要素テーブル2300の位置(px)「縦:10」が、正規要素テーブルnt2-要素テーブルBに対応する。このため、正規化部303は、画面定義情報sd2-要素テーブル2300の1,2番目のレコードに基づいて、正規要素テーブルnt2-要素テーブルBに情報を設定する。
For example, the position (px) "vertical: 10" in the screen definition information sd2-element table 2300 corresponds to the regular element table nt2-element table B. Therefore, the
また、画面定義情報sd2-要素テーブル2300の位置(px)「縦:50」が、正規要素テーブルnt2-要素テーブルDに対応する。このため、正規化部303は、画面定義情報sd2-要素テーブル2300の3,4番目のレコードに基づいて、正規要素テーブルnt2-要素テーブルDに情報を設定する。
In addition, the position (px) "vertical: 50" of the screen definition information sd2-element table 2300 corresponds to the regular element table nt2-element table D. Therefore, the
また、画面定義情報sd2-要素テーブル2300の位置(px)「縦:90」が、正規要素テーブルnt2-要素テーブルFに対応する。このため、正規化部303は、画面定義情報sd2-要素テーブル2300の5番目のレコードに基づいて、正規要素テーブルnt2-要素テーブルFに情報を設定する。
In addition, the position (px) "vertical: 90" in the screen definition information sd2-element table 2300 corresponds to the regular element table nt2-element table F. Therefore, the
また、画面定義情報sd2-要素テーブル2300の位置(px)「縦:145」が、正規要素テーブルnt2-要素テーブルHに対応する。このため、正規化部303は、画面定義情報sd2-要素テーブル2300の6,7番目のレコードに基づいて、正規要素テーブルnt2-要素テーブルHに情報を設定する。
In addition, the position (px) "vertical: 145" of the screen definition information sd2-element table 2300 corresponds to the regular element table nt2-element table H. Therefore, the
図26において、正規要素テーブルnt2の要素テーブルB,D,F,Hが示されている。要素テーブルBを例に挙げると、画面定義情報sd2-要素テーブル2300の1番目のレコードに基づいて、正規要素テーブルnt2-要素テーブルBに、「横位置(px):50」、「横サイズ(px):40」および「要素名:Literal-0001」が設定される(1番目のレコード)。また、画面定義情報sd2-要素テーブル2300の2番目のレコードに基づいて、正規要素テーブルnt2-要素テーブルBに、「横位置(px):90」、「横サイズ(px):200」および「要素名:Input-0001」が設定される(2番目のレコード)。 In FIG. 26, element tables B, D, F, and H of regular element table nt2 are shown. Taking element table B as an example, "horizontal position (px): 50", "horizontal size (px): 40", and "element name: Literal-0001" are set in regular element table nt2-element table B based on the first record in screen definition information sd2-element table 2300 (first record). Also, based on the second record in screen definition information sd2-element table 2300, "horizontal position (px): 90", "horizontal size (px): 200", and "element name: Input-0001" are set in regular element table nt2-element table B (second record).
図27において、正規化部303は、正規要素テーブルnt2-要素テーブルの横位置(px)と横サイズ(px)を参照して、何も定義されていない領域があれば、要素名:Spaceの項目(レコード)を追加する。
In FIG. 27, the
例えば、要素テーブルAには、何も定義されていない。このため、正規化部303は、正規要素テーブルnt2-要素テーブルAに、「横位置(px):0」、「横サイズ(px):310」および「要素名:Space」のレコードを追加する。横サイズ(px):310は、第2画面500の横サイズである。
For example, nothing is defined in element table A. Therefore, the
また、例えば、要素テーブルBは、「横位置(px):0」、「横サイズ(px):50」に何も定義されていない。すなわち、第2画面500の「縦位置(px):10」の「横位置(px):0~50」には何も定義されていない。このため、正規化部303は、正規要素テーブルnt2-要素テーブルBに、「横位置(px):0」、「横サイズ(px):50」および「要素名:Space」のレコードを追加する。
For example, element table B has no definition for "horizontal position (px): 0" and "horizontal size (px): 50". In other words, nothing is defined for "horizontal position (px): 0-50" of "vertical position (px): 10" on the
図28において、正規要素テーブルnt2-要素テーブルA,B,C,D,E,F,G,H,Iが示されている。要素テーブルA,B,C,D,E,F,G,H,Iの何も定義されていない箇所には、空白領域が定義されている。 In FIG. 28, the regular element table nt2 - element tables A, B, C, D, E, F, G, H, and I are shown. Blank areas are defined in the element tables A, B, C, D, E, F, G, H, and I where nothing is defined.
図29において、正規化部303は、正規要素テーブルnt2-要素テーブルA,B,C,D,E,F,G,H,Iを順番に参照して、要素名をカンマ区切りで羅列することにより、画面構成情報2900を出力する。この際、正規化部303は、正規要素テーブルnt2の次の要素テーブルを読み込んだときに、改行を意味する要素名「NewLine」を出力する。
In FIG. 29, the
(出力画面の画面例)
つぎに、図2に示したディスプレイ206に表示される出力画面の画面例について説明する。出力画面は、第1画面と第2画面それぞれの画面の画面構成情報を比較した結果を出力する画面である。
(Example of output screen)
Next, a description will be given of an example of the output screen displayed on the
図30は、出力画面の画面例を示す説明図である。図30において、出力画面3000は、第1画面400の画面構成情報2200と、第2画面500の画面構成情報2900とを比較した結果を示す。画面構成情報2200と画面構成情報2900との比較は、単純文字列比較によって行われる。
Figure 30 is an explanatory diagram showing an example of an output screen. In Figure 30,
ここでは、比較結果「一致」とともに、メッセージ3001が表示されている。メッセージ3001は、移行前後の画面構成は同じである旨のメッセージである。すなわち、移行前後で画面の構成要素に漏れがなく、移行前後で画面の構成要素の位置関係に変更がないことを示している。
Here,
出力画面3000によれば、ユーザ(検証者)は、移行前後の画面構成が同じで誤りがないことを知ることができる。
The
(情報処理装置101の検証処理手順)
つぎに、情報処理装置101の検証処理手順について説明する。
(Verification process procedure of information processing device 101)
Next, the verification process procedure of the
図31は、情報処理装置101の検証処理手順の一例を示すフローチャートである。図31のフローチャートにおいて、まず、情報処理装置101は、第1システムの第1画面と第2システムの第2画面それぞれの画面について、ファイル解析処理を実行する(ステップS3101)。ファイル解析処理の具体的な処理手順については、図32を用いて後述する。
Fig. 31 is a flowchart showing an example of a verification process procedure of the
つぎに、情報処理装置101は、第1画面と第2画面それぞれの画面について、要素正規化処理を実行する(ステップS3102)。要素正規化処理の具体的な処理手順については、図33を用いて後述する。そして、情報処理装置101は、第1画面と第2画面それぞれの画面について、構成情報出力処理を実行する(ステップS3103)。構成情報出力処理の具体的な処理手順については、図39を用いて後述する。
Next, the
つぎに、情報処理装置101は、第1画面と第2画面それぞれの画面の画面構成情報を比較する(ステップS3104)。そして、情報処理装置101は、比較結果を出力して(ステップS3105)、本フローチャートによる一連の処理を終了する。
Next, the
これにより、移行後の画面構成が要件を満たしているか否かを判断可能となる。 This makes it possible to determine whether the post-transition screen configuration meets the requirements.
つぎに、図32を用いて、図31に示したステップS3101のファイル解析処理の具体的な処理手順について説明する。 Next, the specific processing steps of the file analysis process in step S3101 shown in FIG. 31 will be described using FIG. 32.
図32は、ファイル解析処理の具体的処理手順の一例を示すフローチャートである。図32のフローチャートにおいて、まず、情報処理装置101は、画面定義ファイルを読み込む(ステップS3201)。つぎに、情報処理装置101は、画面定義ファイルを参照して、画面サイズの情報を取得する(ステップS3202)。
Figure 32 is a flowchart showing an example of a specific processing procedure for file analysis processing. In the flowchart of Figure 32, first, the
そして、情報処理装置101は、取得した画面サイズの情報を画面定義情報に設定する(ステップS3203)。つぎに、情報処理装置101は、画面定義ファイルを参照して、画面を構成する要素を1つ読み込む(ステップS3204)。そして、情報処理装置101は、読み込んだ要素の情報を画面定義情報の要素テーブルに対応する項目に設定する(ステップS3205)。
Then, the
つぎに、情報処理装置101は、画面定義ファイルを参照して、未読み込みの要素があるか否かを判断する(ステップS3206)。ここで、未読み込みの要素がある場合(ステップS3206:Yes)、情報処理装置101は、ステップS3204に戻る。一方、未読み込みの要素がない場合(ステップS3206:No)、情報処理装置101は、ファイル解析処理を呼び出したステップに戻る。
Next, the
これにより、画面定義ファイルを解析して画面定義情報sdを生成することができる。 This allows the screen definition file to be analyzed and screen definition information sd to be generated.
つぎに、図33を用いて、図31に示したステップS3102の要素正規化処理の具体的な処理手順について説明する。 Next, the specific processing steps of the element normalization process in step S3102 shown in FIG. 31 will be described using FIG. 33.
図33は、要素正規化処理の具体的処理手順の一例を示すフローチャートである。図33のフローチャートにおいて、まず、情報処理装置101は、画面定義情報の要素テーブルの位置(縦)を参照して、小さい順に並び替える(ステップS3301)。つぎに、情報処理装置101は、画面定義情報の要素テーブルの位置(縦、横)を参照して、同じ縦位置にある要素を横位置が小さい順に並べ替える(ステップS3302)。
Figure 33 is a flowchart showing an example of a specific processing procedure for element normalization processing. In the flowchart of Figure 33, first, the
そして、情報処理装置101は、要素名一覧作成処理を実行する(ステップS3303)。要素名一覧作成処理の具体的な処理手順については、図34を用いて後述する。つぎに、情報処理装置101は、正規要素テーブル作成処理を実行する(ステップS3304)。正規要素テーブル作成処理の具体的な処理手順については、図35を用いて後述する。
Then, the
そして、情報処理装置101は、要素分割処理を実行する(ステップS3305)。要素分割処理の具体的な処理手順については、図36を用いて後述する。つぎに、情報処理装置101は、画面定義情報の要素テーブルの位置(縦)を参照して、小さい順に並び替える(ステップS3306)。
Then, the
そして、情報処理装置101は、画面定義情報の要素テーブルの位置(縦、横)を参照して、同じ縦位置にある要素を横位置が小さい順に並べ替える(ステップS3307)。つぎに、情報処理装置101は、正規要素テーブル-要素テーブル作成処理を実行する(ステップS3308)。正規要素テーブル-要素テーブル作成処理の具体的な処理手順については、図37を用いて後述する。
Then, the
そして、情報処理装置101は、空白挿入処理を実行して(ステップS3309)、要素正規化処理を呼び出したステップに戻る。空白挿入処理の具体的な処理手順については、図38を用いて後述する。
The
これにより、画面を構成する要素を、画面構成を検証可能に正規化することができる。 This allows the elements that make up the screen to be normalized so that the screen composition can be verified.
つぎに、図34を用いて、図33に示したステップS3303の要素名一覧作成処理の具体的な処理手順について説明する。 Next, the specific processing steps of the element name list creation process in step S3303 shown in FIG. 33 will be described using FIG. 34.
図34は、要素名一覧作成処理の具体的処理手順の一例を示すフローチャートである。図34のフローチャートにおいて、まず、情報処理装置101は、項目種別、値および要素名を持つ要素名一覧テーブルを作成する(ステップS3401)。つぎに、情報処理装置101は、画面定義情報の要素テーブルの先頭を参照する(ステップS3402)。
Figure 34 is a flowchart showing an example of a specific processing procedure for the element name list creation process. In the flowchart of Figure 34, first, the
そして、情報処理装置101は、要素名一覧テーブルに画面定義情報-要素テーブルの項目種別と要素名が同じ項目があるか否かを判断する(ステップS3403)。ここで、同じ項目がある場合(ステップS3403:Yes)、情報処理装置101は、ステップS3405に移行する。
Then, the
一方、同じ項目がない場合(ステップS3403:No)、情報処理装置101は、要素名一覧テーブルに、項目種別「画面定義情報-要素テーブルの項目種別」、値「画面定義情報-要素テーブルの値」および要素名「(項目種別)-(識別番号)」を追加する(ステップS3404)。ただし、項目種別を表す識別子は、半角英字で設定される。識別番号は、同じ(項目種別)で連番になるように設定される。
On the other hand, if there is no identical item (step S3403: No), the
つぎに、情報処理装置101は、次の画面定義情報-要素テーブルがあるか否かを判断する(ステップS3405)。ここで、次の画面定義情報-要素テーブルがある場合(ステップS3405:Yes)、情報処理装置101は、画面定義情報-要素テーブルを1つ進めて(ステップS3406)、ステップS3403に戻る。
Then, the
一方、次の画面定義情報-要素テーブルがない場合(ステップS3405:No)、情報処理装置101は、要素名一覧作成処理を呼び出したステップに戻る。
On the other hand, if there is no next screen definition information-element table (step S3405: No), the
これにより、画面を構成する要素の要素名一覧を作成することができる。 This allows you to create a list of element names for the elements that make up the screen.
つぎに、図35を用いて、図33に示したステップS3304の正規要素テーブル作成処理の具体的な処理手順について説明する。 Next, the specific processing steps of the regular element table creation process in step S3304 shown in FIG. 33 will be described using FIG. 35.
図35は、正規要素テーブル作成処理の具体的処理手順の一例を示すフローチャートである。図35のフローチャートにおいて、まず、情報処理装置101は、縦方向の位置を記憶する配列Xを宣言する(ステップS3501)。つぎに、情報処理装置101は、配列Xに0を追加する(ステップS3502)。
Fig. 35 is a flowchart showing an example of a specific processing procedure for creating a regular element table. In the flowchart of Fig. 35, first, the
つぎに、情報処理装置101は、配列Xに画面定義情報の画面サイズ(縦)の値を追加する(ステップS3503)。そして、情報処理装置101は、画面定義情報の要素テーブルを順番に参照して、配列Xに各要素の縦位置の値を格納する(ステップS3504)。つぎに、情報処理装置101は、画面定義情報の要素テーブルを順番に参照して、配列Xに各要素の縦位置+サイズ(縦)の値を格納する(ステップS3505)。
The
そして、情報処理装置101は、配列Xを小さい順に並び替える(ステップS3506)。つぎに、情報処理装置101は、配列Xのうち、同じ値をもつ配列を1つにまとめる(ステップS3507)。そして、情報処理装置101は、(配列Xの個数-1)個分の正規要素テーブルを作成する(ステップS3508)。
Then, the
つぎに、情報処理装置101は、配列Xと正規要素テーブルの先頭を参照する(ステップS3509)。そして、情報処理装置101は、正規要素テーブルに、縦位置「配列Xの現在の値」および行幅「配列Xの次の値-配列Xの現在の値」を設定する(ステップS3510)。
Then, the
つぎに、情報処理装置101は、次の正規要素テーブルがあるか否かを判断する(ステップS3511)。ここで、次の正規要素テーブルがある場合(ステップS3511:Yes)、情報処理装置101は、正規要素テーブルと配列Xの参照位置を1つ進めて(ステップS3512)、ステップS3510に戻る。
Next, the
一方、次の正規要素テーブルがない場合(ステップS3511:No)、情報処理装置101は、正規要素テーブル作成処理を呼び出したステップに戻る。
On the other hand, if there is no next regular element table (step S3511: No), the
これにより、正規要素テーブルntを作成することができる。 This allows you to create the regular element table nt.
つぎに、図36を用いて、図33に示したステップS3305の要素分割処理の具体的な処理手順について説明する。 Next, the specific processing steps of the element splitting process in step S3305 shown in FIG. 33 will be described using FIG. 36.
図36は、要素分割処理の具体的処理手順の一例を示すフローチャートである。図36のフローチャートにおいて、まず、情報処理装置101は、正規要素テーブルの先頭を参照する(ステップS3601)。つぎに、情報処理装置101は、画面定義情報-要素テーブルの先頭を参照する(ステップS3602)。
Figure 36 is a flowchart showing an example of a specific processing procedure for element splitting processing. In the flowchart of Figure 36, first, the
そして、情報処理装置101は、参照している要素の縦位置が、正規要素テーブルの縦位置と同じか否かを判断する(ステップS3603)。ここで、正規要素テーブルの縦位置と異なる場合(ステップS3603:No)、情報処理装置101は、正規要素テーブルを1つ進めて(ステップS3604)、ステップS3603に戻る。
Then, the
一方、正規要素テーブルの縦位置と同じ場合(ステップS3603:Yes)、情報処理装置101は、参照している要素の縦サイズが、正規要素テーブルの行幅と同じか否かを判断する(ステップS3605)。ここで、正規要素テーブルの行幅と同じ場合(ステップS3605:Yes)、情報処理装置101は、ステップS3607に移行する。
On the other hand, if the vertical position of the referenced element is the same as that of the regular element table (step S3603: Yes), the
一方、正規要素テーブルの行幅と異なる場合(ステップS3605:No)、情報処理装置101は、参照している画面定義情報-要素テーブルを分割する(ステップS3606)。ただし、分割後の要素1の位置は、縦「分割前と同じ」、横「分割前と同じ」とする。分割後の要素1のサイズは、縦「正規要素テーブルの行幅」、横「分割前と同じ」とする。分割後の要素1の項目種別は、「分割前と同じ」とする。分割後の要素1の値は、「分割前と同じ」とする。
On the other hand, if it is different from the row width of the regular element table (step S3605: No), the
また、分割後の要素2の位置は、縦「分割前の値+正規要素テーブルの行幅」、横「分割前と同じ」とする。分割後の要素2のサイズは、縦「分割前の値-正規要素テーブルの行幅」、横「分割前と同じ」とする。分割後の要素2の項目種別は、「分割前と同じ」とする。分割後の要素2の値は、「分割前と同じ」とする。
Furthermore, the position of
つぎに、情報処理装置101は、次の画面定義情報-要素テーブルがあるか否かを判断する(ステップS3607)。ここで、次の画面定義情報-要素テーブルがある場合(ステップS3607:Yes)、情報処理装置101は、画面定義情報-要素テーブルを1つ進めて(ステップS3608)、ステップS3603に戻る。
Then, the
一方、次の画面定義情報-要素テーブルがない場合(ステップS3607:No)、情報処理装置101は、要素分割処理を呼び出したステップに戻る。
On the other hand, if there is no next screen definition information-element table (step S3607: No), the
これにより、複数行に跨がる要素を分割することができる。 This allows you to split elements that span multiple lines.
つぎに、図37を用いて、図33に示したステップS3308の正規要素テーブル-要素テーブル作成処理の具体的な処理手順について説明する。 Next, the specific processing steps of the regular element table-element table creation process in step S3308 shown in FIG. 33 will be described using FIG. 37.
図37は、正規要素テーブル-要素テーブル作成処理の具体的処理手順の一例を示すフローチャートである。図37のフローチャートにおいて、まず、情報処理装置101は、正規要素テーブルの先頭を参照する(ステップS3701)。つぎに、情報処理装置101は、画面定義情報-要素テーブルの先頭を参照する(ステップS3702)。
Figure 37 is a flowchart showing an example of a specific processing procedure for the regular element table-element table creation process. In the flowchart of Figure 37, the
そして、情報処理装置101は、参照している要素の縦位置が、正規要素テーブルの縦位置と同じか否かを判断する(ステップS3703)。ここで、正規要素テーブルの縦位置と異なる場合(ステップS3703:No)、情報処理装置101は、正規要素テーブルを1つ進めて(ステップS3704)、ステップS3703に戻る。
Then, the
一方、正規要素テーブルの縦位置と同じ場合(ステップS3703:Yes)、情報処理装置101は、正規要素テーブルの要素テーブルに、位置(横)「画面定義情報-要素テーブルの位置(横)」、サイズ(横)「画面定義情報-サイズ(横)」、要素名「要素名一覧のうち、画面定義情報-要素テーブルの項目種別と値が同じテーブルの要素名」を設定する(ステップS3705)。
On the other hand, if the vertical position is the same as that of the regular element table (step S3703: Yes), the
つぎに、情報処理装置101は、次の画面定義情報-要素テーブルがあるか否かを判断する(ステップS3706)。ここで、次の画面定義情報-要素テーブルがある場合(ステップS3706:Yes)、情報処理装置101は、画面定義情報-要素テーブルを1つ進めて(ステップS3707)、ステップS3703に戻る。
Then, the
一方、次の画面定義情報-要素テーブルがない場合(ステップS3706:No)、情報処理装置101は、正規要素テーブル-要素テーブル作成処理を呼び出したステップに戻る。
On the other hand, if there is no next screen definition information-element table (step S3706: No), the
これにより、正規要素テーブルnt-要素テーブルを作成することができる。 This allows you to create a regular element table nt-element table.
つぎに、図38を用いて、図33に示したステップS3309の空白挿入処理の具体的な処理手順について説明する。 Next, the specific processing steps for the space insertion process in step S3309 shown in FIG. 33 will be described using FIG. 38.
図38は、空白挿入処理の具体的処理手順の一例を示すフローチャートである。図38のフローチャートにおいて、まず、情報処理装置101は、次の正規要素テーブルを読み込む(ステップS3801)。そして、情報処理装置101は、読み込んだ正規要素テーブルに要素テーブルがあるか否かを判断する(ステップS3802)。
Figure 38 is a flowchart showing an example of a specific processing procedure for space insertion processing. In the flowchart of Figure 38, first, the
ここで、要素テーブルがない場合(ステップS3802:No)、情報処理装置101は、正規要素テーブル-要素テーブルに、位置(横)「0」、サイズ(横)「画面定義情報 -画面サイズ(横)」、要素名「Space」を追加して(ステップS3803)、ステップS3801に戻る。
If there is no element table (step S3802: No), the
一方、要素テーブルがある場合(ステップS3802:Yes)、情報処理装置101は、横位置を保存する一時変数Yに0を設定する(ステップS3804)。そして、情報処理装置101は、正規要素テーブル-要素テーブルを読み込む(ステップS3805)。つぎに、情報処理装置101は、読み込んだ要素テーブルの位置(横)が一時変数Yと同じか否かを判断する(ステップS3806)。
On the other hand, if an element table is present (step S3802: Yes), the
ここで、一時変数Yと異なる場合(ステップS3806:No)、情報処理装置101は、読み込んだ要素テーブルの次に、位置(横)「Y」、サイズ(横)「Y-”画面定義情報-位置(横)”」、要素名「Space」の要素を追加して(ステップS3807)、ステップS3808に移行する。
If it is different from the temporary variable Y (step S3806: No), the
一方、一時変数Yと同じ場合には(ステップS3806:Yes)、情報処理装置101は、横位置を保存する一時変数Yに、「Y=読み込んだ要素テーブルの位置(横)+サイズ(横)」の値を設定する(ステップS3808)。つぎに、情報処理装置101は、読み込んでいない正規要素テーブル-要素テーブルがあるか否かを判断する(ステップS3809)。
On the other hand, if it is the same as the temporary variable Y (step S3806: Yes), the
ここで、正規要素テーブル-要素テーブルがある場合(ステップS3809:Yes)、ステップS3805に戻る。一方、正規要素テーブル-要素テーブルがない場合(ステップS3809:No)、情報処理装置101は、読み込んでいない正規要素テーブルがあるか否かを判断する(ステップS3810)。
If a regular element table-element table is present (step S3809: Yes), the process returns to step S3805. On the other hand, if a regular element table-element table is not present (step S3809: No), the
ここで、正規要素テーブルがある場合(ステップS3810:Yes)、情報処理装置101は、ステップS3801に戻る。一方、正規要素テーブルがない場合(ステップS3810:No)、情報処理装置101は、空白挿入処理を呼び出したステップに戻る。
If a regular element table is present (step S3810: Yes), the
これにより、何も定義されていない箇所に空白領域を定義することができる。 This allows you to define blank areas where nothing is defined.
つぎに、図39を用いて、図31に示したステップS3103の構成情報出力処理の具体的な処理手順について説明する。 Next, the specific processing steps of the configuration information output process in step S3103 shown in FIG. 31 will be described using FIG. 39.
図39は、構成情報出力処理の具体的処理手順の一例を示すフローチャートである。図39のフローチャートにおいて、まず、情報処理装置101は、正規要素テーブルを読み込む(ステップS3901)。つぎに、情報処理装置101は、正規要素テーブル-要素テーブルを読み込み、要素名を画面構成情報に出力する(ステップS3902)。
Figure 39 is a flowchart showing an example of a specific processing procedure for configuration information output processing. In the flowchart of Figure 39, first, the
そして、情報処理装置101は、画面構成情報に区切り文字”,”を出力する(ステップS3903)。つぎに、情報処理装置101は、未読み込みの正規要素テーブル-要素テーブルがあるか否かを判断する(ステップS3904)。ここで、未読み込みの正規要素テーブル-要素テーブルがある場合(ステップS3904:Yes)、情報処理装置101は、ステップS3902に戻る。
Then, the
一方、未読み込みの正規要素テーブル-要素テーブルがない場合(ステップS3904:No)、情報処理装置101は、画面構成情報に改行を表す”NewLine”を出力する(ステップS3905)。つぎに、情報処理装置101は、画面構成情報に区切り文字”,”を出力する(ステップS3906)。
On the other hand, if there are no unread regular element tables-element tables (step S3904: No), the
そして、情報処理装置101は、未読み込みの正規要素テーブルがあるか否かを判断する(ステップS3907)。ここで、未読み込みの正規要素テーブルがある場合(ステップS3907:Yes)、情報処理装置101は、ステップS3901に戻る。一方、未読み込みの正規要素テーブルがない場合(ステップS3907:No)、情報処理装置101は、構成情報出力処理を呼び出したステップに戻る。
Then, the
これにより、正規要素テーブルntを符号化して、画面構成情報を出力することができる。 This allows the regular element table nt to be encoded and screen configuration information to be output.
以上説明したように、実施の形態にかかる情報処理装置101によれば、第1システムの第1画面と第2システムの第2画面それぞれの画面について、当該画面の構成を定義する画面定義ファイルから、当該画面を構成する複数の要素に関する情報を抽出することができる。そして、情報処理装置101によれば、それぞれの画面について、抽出した複数の要素に関する情報に基づいて、正規化処理を実行し、それぞれの画面について実行した正規化処理の結果を出力することができる。正規化処理は、所定の正規化規則に従って、複数の要素それぞれの種別、複数の要素それぞれの要素名および複数の要素の要素間の相対的な位置関係を区別可能とし、複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する処理である。
As described above, according to the
これにより、画面定義独自の表現の差を吸収して、システムの移行前後で画面の構成要素に漏れがなく、移行前後で画面の構成要素の位置関係に変更がないことを検証可能な情報を提供することができる。 This makes it possible to absorb differences in the unique expressions of screen definitions and provide information that can be used to verify that there are no omissions in screen components before and after the system migration, and that there is no change in the relative positions of screen components before and after the migration.
また、情報処理装置101によれば、それぞれの画面について実行した正規化処理の結果を比較し、比較した結果を出力することができる。
In addition, the
これにより、システムの移行前後で画面の構成要素に漏れがなく、移行前後で画面の構成要素の位置関係に変更がないことを容易に検証することができる。 This makes it easy to verify that there are no omissions in the screen components before and after the system migration, and that there are no changes in the relative positions of the screen components before and after the migration.
また、情報処理装置101によれば、正規化処理において、さらに、複数の要素の要素間の相対的な大小関係を区別可能にすることができる。
In addition, according to the
これにより、移行前の画面構成における要素間の相対的な大小関係が、移行後の画面構成においても維持されているかを検証することができる。 This allows us to verify whether the relative size relationships between elements in the screen configuration before the transition are maintained in the screen configuration after the transition.
また、情報処理装置101によれば、画面を構成する要素として、入力項目、出力項目、リテラル、ボタンおよび画像の少なくともいずれかを表す要素に関する情報を画面定義ファイルから抽出することができる。
In addition, according to the
これにより、入力項目、出力項目、固定リテラル(定数)、ボタン、画像などの構成要素について、移行前後で漏れがなく、移行前後で位置関係に変更がないことを検証することができる。 This allows you to verify that there are no omissions and that there are no changes in the relative positions of components such as input fields, output fields, fixed literals (constants), buttons, and images before and after the migration.
また、情報処理装置101によれば、画面を構成する要素として、空白を表す要素に関する情報を画面定義ファイルから抽出することができる。
In addition, according to the
これにより、例えば、要素間の空白を含めて、移行前後で漏れがなく、移行前後で位置関係に変更がないことを検証することができる。 This makes it possible to verify, for example, that there are no omissions, including white space between elements, and that there are no changes in positional relationships before and after the transition.
また、情報処理装置101によれば、正規化処理において、さらに、複数の要素それぞれの値を区別可能にすることができる。
In addition, according to the
これにより、移行前の画面構成における要素の値(初期値、項目名、ボタン名など)が、移行後の画面構成においても同じであるかを検証することができる。 This allows you to verify that the element values (initial values, item names, button names, etc.) in the screen configuration before migration are the same in the screen configuration after migration.
また、情報処理装置101によれば、それぞれの画面について、複数の要素それぞれの縦位置と縦サイズとに基づき当該画面を行方向に区切って分割した領域ごとに、当該領域に桁方向に出現する要素の種別を含む要素名を羅列し、領域が行方向に切り替わる際に、改行を表す種別を含む要素名を挿入した画面構成情報を作成することができる。例えば、要素の種別が改行、空白以外の場合、要素名は、要素の種別と、当該種別の要素が画面上で宣言された順番(画面上での要素の出現順)を示す識別番号とを含む。
In addition, according to the
これにより、例えば、画面の左上を頂点として、行桁方向に要素を走査した際に、どの種別の要素が、どの順番で出現するかを示す画面構成情報を作成することができる。 This makes it possible to create screen configuration information that indicates, for example, what types of elements appear and in what order when elements are scanned in the row-column direction, starting from the top left corner of the screen.
また、情報処理装置101によれば、それぞれの画面について、複数の要素それぞれの横位置と横サイズとに基づき当該画面を桁方向に区切って分割した領域ごとに、当該領域に行方向に出現する要素の種別を含む要素名を羅列し、領域が桁方向に切り替わる際に、改行を表す種別を含む要素名を挿入した画面構成情報を作成することができる。
In addition, according to the
これにより、例えば、画面の左上を頂点として、桁行方向に要素を走査した際に、どの種別の要素が、どの順番で出現するかを示す画面構成情報を作成することができる。 This makes it possible to create screen configuration information that indicates, for example, what types of elements appear and in what order when elements are scanned row-wise, starting from the top left corner of the screen.
これらのことから、情報処理装置101によれば、移行前後の各画面の画面定義ファイルの構成要素を正規化することで、画面定義ファイル固有の表現や、要素の厳格な位置などに左右されず、移行前後の画面構成を比較することが可能となる。これにより、移行前後の画面構成を容易に検証可能となり、システム移行にともなう画面構成の検証にかかる作業負荷や作業時間を削減することができる。
For these reasons, the
例えば、画面定義ファイルの構成要素を正規化することで、画面キャプチャを用いた画面比較のように、画面定義ファイル固有の表現や要素の厳格な位置の違いにより、画面の構成が同じ画面同士を異なる画面と判断するのを防ぐことができる。また、画面定義ファイルの構成要素を正規化することで、プログラムを起動せずに、移行前後の画面構成を検証することができる。このため、例えば、動作環境の違いにより、移行前後の画面を並べて表示することができない場合であっても、画面構成を検証することができる。また、正規化規則を複数用いることで、多観点での検証を行うことができる。 For example, by normalizing the components of a screen definition file, it is possible to prevent screens with the same configuration from being judged as different screens due to differences in the specific expressions of the screen definition file or the exact positions of elements, as in the case of screen comparison using screen captures. Also, by normalizing the components of a screen definition file, it is possible to verify the screen configuration before and after migration without starting a program. Therefore, for example, even if it is not possible to display the screens before and after migration side by side due to differences in the operating environment, it is possible to verify the screen configuration. Also, by using multiple normalization rules, it is possible to perform verification from multiple perspectives.
なお、本実施の形態で説明した検証方法は、予め用意されたプログラムをパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。本検証プログラムは、ハードディスク、フレキシブルディスク、CD-ROM、DVD、USBメモリ等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また、本検証プログラムは、インターネット等のネットワークを介して配布してもよい。 The verification method described in this embodiment can be realized by executing a prepared program on a computer such as a personal computer or a workstation. This verification program is recorded on a computer-readable recording medium such as a hard disk, flexible disk, CD-ROM, DVD, or USB memory, and is executed by being read from the recording medium by the computer. This verification program may also be distributed via a network such as the Internet.
また、本実施の形態で説明した情報処理装置101は、スタンダードセルやストラクチャードASIC(Application Specific Integrated Circuit)などの特定用途向けICやFPGAなどのPLD(Programmable Logic Device)によっても実現することができる。
The
上述した実施の形態に関し、さらに以下の付記を開示する。 The following additional notes are provided with respect to the above-described embodiment.
(付記1)第1システムの第1画面と前記第1システムを移行する第2システムの第2画面それぞれの画面について、当該画面の構成を定義する画面定義ファイルから、当該画面を構成する複数の要素に関する情報を抽出し、
前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、
前記それぞれの画面について実行した前記正規化処理の結果を出力する、
処理をコンピュータに実行させることを特徴とする検証プログラム。
(Note 1) For each of a first screen of a first system and a second screen of a second system to which the first system is migrated, information on a plurality of elements constituting the screen is extracted from a screen definition file that defines the configuration of the screen;
performing a normalization process for each of the screens based on the extracted information on the plurality of elements and in accordance with a predetermined normalization rule, which makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationship between the plurality of elements, and eliminates differences in display shape and size between the screens of each of the plurality of elements;
outputting a result of the normalization process performed on each of the screens;
A verification program that causes a computer to execute a process.
(付記2)前記それぞれの画面について実行した前記正規化処理の結果を比較する、処理を前記コンピュータに実行させ、
前記出力する処理は、
比較した結果を出力する、ことを特徴とする付記1に記載の検証プログラム。
(Supplementary Note 2) A process is executed by the computer to compare results of the normalization process executed for each of the screens;
The output process includes:
2. The verification program according to
(付記3)前記正規化処理を実行する処理は、
さらに、前記複数の要素の要素間の相対的な大小関係を区別可能にする、ことを特徴とする付記1または2に記載の検証プログラム。
(Additional Note 3) The process of performing the normalization process includes:
The verification program according to
(付記4)前記複数の要素は、入力項目、出力項目、リテラル、ボタンおよび画像の少なくともいずれかを表す要素を含む、ことを特徴とする付記1~3のいずれか一つに記載の検証プログラム。
(Appendix 4) The validation program described in any one of
(付記5)前記複数の要素は、空白を表す要素を含む、ことを特徴とする付記4に記載の検証プログラム。
(Appendix 5) The validation program described in
(付記6)前記正規化処理を実行する処理は、
さらに、前記複数の要素それぞれの値を区別可能にする、ことを特徴とする付記1~5のいずれか一つに記載の検証プログラム。
(Additional Note 6) The process of performing the normalization process includes:
The verification program according to any one of
(付記7)前記正規化処理を実行する処理は、
前記それぞれの画面について、前記複数の要素それぞれの縦位置と縦サイズとに基づき当該画面を行方向に区切って分割した領域ごとに、当該領域に桁方向に出現する要素の種別を含む要素名を羅列し、前記領域が行方向に切り替わる際に、改行を表す種別を含む要素名を挿入した画面構成情報を作成する、ことを特徴とする付記1に記載の検証プログラム。
(Additional Note 7) The process of performing the normalization process includes:
The verification program described in
(付記8)前記正規化処理を実行する処理は、
前記それぞれの画面について、前記複数の要素それぞれの横位置と横サイズとに基づき当該画面を桁方向に区切って分割した領域ごとに、当該領域に行方向に出現する要素の種別を含む要素名を羅列し、前記領域が桁方向に切り替わる際に、改行を表す種別を含む要素名を挿入した画面構成情報を作成する、ことを特徴とする付記1に記載の検証プログラム。
(Additional Note 8) The process of performing the normalization process includes:
The verification program described in
(付記9)第1システムの第1画面と前記第1システムを移行する第2システムの第2画面それぞれの画面について、当該画面の構成を定義する画面定義ファイルから、当該画面を構成する複数の要素に関する情報を抽出し、
前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、
前記それぞれの画面について実行した前記正規化処理の結果を出力する、
処理をコンピュータに実行させることを特徴とする検証方法。
(Appendix 9) For each of the first screen of the first system and the second screen of the second system to which the first system is migrated, information on a plurality of elements constituting the screen is extracted from a screen definition file that defines the configuration of the screen;
performing a normalization process for each of the screens based on the extracted information on the plurality of elements and in accordance with a predetermined normalization rule, which makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationship between the plurality of elements, and eliminates differences in display shape and size between the screens of each of the plurality of elements;
outputting a result of the normalization process performed on each of the screens;
A verification method comprising the steps of: causing a computer to execute a process.
(付記10)第1システムの第1画面と前記第1システムを移行する第2システムの第2画面それぞれの画面について、当該画面の構成を定義する画面定義ファイルから、当該画面を構成する複数の要素に関する情報を抽出し、
前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、
前記それぞれの画面について実行した前記正規化処理の結果を出力する、
制御部を有することを特徴とする情報処理装置。
(Appendix 10) For each of the first screen of the first system and the second screen of the second system to which the first system is migrated, information on a plurality of elements constituting the screen is extracted from a screen definition file that defines the configuration of the screen;
performing a normalization process for each of the screens based on the extracted information on the plurality of elements and in accordance with a predetermined normalization rule, which makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationship between the plurality of elements, and eliminates differences in display shape and size between the screens of each of the plurality of elements;
outputting a result of the normalization process performed on each of the screens;
An information processing device comprising a control unit.
101 情報処理装置
110,120 画面定義ファイル
111,121,2200,2900 画面構成情報
200 バス
201 CPU
202 メモリ
203 ディスクドライブ
204 ディスク
205 通信I/F
206,306 ディスプレイ
207 入力装置
208 可搬型記録媒体I/F
209 可搬型記録媒体
210 ネットワーク
301 取得部
302 抽出部
303 正規化部
304 比較部
305 出力部
400 第1画面
500 第2画面
600 HTMLファイル
1010 画面定義情報
1011,1600,2300 要素テーブル
1020 正規要素テーブル
3000 出力画面
101
202
206, 306
209
Claims (8)
前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、
前記それぞれの画面について実行した前記正規化処理の結果を出力する、
処理をコンピュータに実行させることを特徴とする検証プログラム。 extracting information on a plurality of elements constituting a first screen of a first system and a second screen of a second system to which the first system is migrated from a screen definition file that defines a configuration of the screen;
performing a normalization process for each of the screens based on the extracted information on the plurality of elements and in accordance with a predetermined normalization rule, which makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationship between the plurality of elements, and eliminates differences in display shape and size between the screens of each of the plurality of elements;
outputting a result of the normalization process performed on each of the screens;
A verification program that causes a computer to execute a process.
前記出力する処理は、
比較した結果を出力する、ことを特徴とする請求項1に記載の検証プログラム。 causing the computer to perform a process of comparing results of the normalization process performed on each of the screens;
The output process includes:
2. The verification program according to claim 1, further comprising: outputting a result of the comparison.
さらに、前記複数の要素の要素間の相対的な大小関係を区別可能にする、ことを特徴とする請求項1または2に記載の検証プログラム。 The process of performing the normalization process includes:
3. The verification program according to claim 1, further comprising: making it possible to distinguish relative magnitude relationships between the elements of the plurality of elements.
前記それぞれの画面について、前記複数の要素それぞれの縦位置と縦サイズとに基づき当該画面を行方向に区切って分割した領域ごとに、当該領域に桁方向に出現する要素の種別を含む要素名を羅列し、前記領域が行方向に切り替わる際に、改行を表す種別を含む要素名を挿入した画面構成情報を作成する、ことを特徴とする請求項1に記載の検証プログラム。 The process of performing the normalization process includes:
The verification program according to claim 1, characterized in that for each of the screens, the program divides the screen row-wise based on the vertical position and vertical size of each of the multiple elements, and for each area divided into the screen row-wise, lists element names including the types of elements that appear in the area column-wise, and creates screen configuration information in which element names including a type indicating a line break are inserted when the area switches row-wise.
前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、
前記それぞれの画面について実行した前記正規化処理の結果を出力する、
処理をコンピュータに実行させることを特徴とする検証方法。 extracting information on a plurality of elements constituting a first screen of a first system and a second screen of a second system to which the first system is migrated from a screen definition file that defines a configuration of the screen;
performing a normalization process for each of the screens based on the extracted information on the plurality of elements and in accordance with a predetermined normalization rule, which makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationship between the plurality of elements, and eliminates differences in display shape and size between the screens of each of the plurality of elements;
outputting a result of the normalization process performed on each of the screens;
A verification method comprising the steps of: causing a computer to execute a process.
前記それぞれの画面について、抽出した前記複数の要素に関する情報に基づいて、所定の正規化規則に従って、前記複数の要素それぞれの種別、前記複数の要素それぞれの要素名および前記複数の要素の要素間の相対的な位置関係を区別可能とし、前記複数の要素それぞれの画面間における表示上の形状、大きさの差を除外する正規化処理を実行し、
前記それぞれの画面について実行した前記正規化処理の結果を出力する、
制御部を有することを特徴とする情報処理装置。 extracting information on a plurality of elements constituting a first screen of a first system and a second screen of a second system to which the first system is migrated from a screen definition file that defines a configuration of the screen;
performing a normalization process for each of the screens based on the extracted information on the plurality of elements and in accordance with a predetermined normalization rule, which makes it possible to distinguish the type of each of the plurality of elements, the element name of each of the plurality of elements, and the relative positional relationship between the plurality of elements, and eliminates differences in display shape and size between the screens of each of the plurality of elements;
outputting a result of the normalization process performed on each of the screens;
An information processing device comprising a control unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020119387A JP7529356B2 (en) | 2020-07-10 | 2020-07-10 | Verification program, verification method, and information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020119387A JP7529356B2 (en) | 2020-07-10 | 2020-07-10 | Verification program, verification method, and information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022016101A JP2022016101A (en) | 2022-01-21 |
| JP7529356B2 true JP7529356B2 (en) | 2024-08-06 |
Family
ID=80121513
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020119387A Active JP7529356B2 (en) | 2020-07-10 | 2020-07-10 | Verification program, verification method, and information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7529356B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006276953A (en) | 2005-03-28 | 2006-10-12 | Fujitsu Ltd | Screen definition data difference extraction method, apparatus and program |
| JP2007318688A (en) | 2006-05-29 | 2007-12-06 | Nippon Telegr & Teleph Corp <Ntt> | Video information exchange method, server device, and client device |
| JP2019106107A (en) | 2017-12-14 | 2019-06-27 | 富士通エフ・アイ・ピー株式会社 | Program, information processing apparatus, and screen test system |
-
2020
- 2020-07-10 JP JP2020119387A patent/JP7529356B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006276953A (en) | 2005-03-28 | 2006-10-12 | Fujitsu Ltd | Screen definition data difference extraction method, apparatus and program |
| JP2007318688A (en) | 2006-05-29 | 2007-12-06 | Nippon Telegr & Teleph Corp <Ntt> | Video information exchange method, server device, and client device |
| JP2019106107A (en) | 2017-12-14 | 2019-06-27 | 富士通エフ・アイ・ピー株式会社 | Program, information processing apparatus, and screen test system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022016101A (en) | 2022-01-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2579397B2 (en) | Method and apparatus for creating layout model of document image | |
| JP5460390B2 (en) | Layout conversion apparatus, layout conversion program, and layout conversion method | |
| JP5665128B2 (en) | Static analysis support device, static analysis support method, and program | |
| US20060123345A1 (en) | Platform-independent markup language-based gui format | |
| CN111667231B (en) | Automatic tax return method, device, system, computer equipment and storage medium | |
| JP4544324B2 (en) | Document processing apparatus and program | |
| CN101833548B (en) | Input supporting method of variable name in programming of PLC | |
| CN111079045B (en) | A full-screen display method, storage medium, and system for a customized page | |
| JP6720994B2 (en) | Control system, controller, and control method | |
| JP7529356B2 (en) | Verification program, verification method, and information processing device | |
| US6170079B1 (en) | Power supply circuit diagram design system | |
| CN119847845A (en) | Test method, device and storage medium for automatically checking BMC information | |
| CN115169292A (en) | Document processing method and device, electronic equipment and computer readable storage medium | |
| JPH08329004A (en) | Terminal operability improvement method using application programs | |
| US7627815B2 (en) | Object editing system | |
| JPH08329187A (en) | Document reader | |
| JP4282961B2 (en) | System that defines data input / output in the controller | |
| JP3171363B2 (en) | Programming device | |
| JP6089497B2 (en) | Data creation apparatus and data creation method | |
| JP7666129B2 (en) | Information processing device and program | |
| JP6623709B2 (en) | Information processing apparatus, determination program, and determination method | |
| US20030009478A1 (en) | Logic drawing entry apparatus | |
| EP0315172B1 (en) | Automatic program generation method with a visual data structure display | |
| JP5702824B2 (en) | Program and design document generator | |
| JPS61241866A (en) | Documentation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230407 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20240625 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240722 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7529356 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |