JP2011238151A - Screen program generation device - Google Patents

Screen program generation device Download PDF

Info

Publication number
JP2011238151A
JP2011238151A JP2010110798A JP2010110798A JP2011238151A JP 2011238151 A JP2011238151 A JP 2011238151A JP 2010110798 A JP2010110798 A JP 2010110798A JP 2010110798 A JP2010110798 A JP 2010110798A JP 2011238151 A JP2011238151 A JP 2011238151A
Authority
JP
Japan
Prior art keywords
screen
definition information
structure fragment
storage unit
fragment
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
JP2010110798A
Other languages
Japanese (ja)
Inventor
Takanobu Asai
孝宣 浅井
Masato Hoshi
昌人 星
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2010110798A priority Critical patent/JP2011238151A/en
Publication of JP2011238151A publication Critical patent/JP2011238151A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To automatically modify specification definition information common to each screen when a system is enhanced.SOLUTION: The device comprises: a screen UI component definition storage section 105 to store display UI component definition information unique to each screen and the screen UI component definition information common to each screen; a screen structure fragment definition storage section 106 to store screen structure fragment definition information unique to each screen and the screen structure fragment definition information common to each screen; a screen configuration definition information storage section 107 to store screen configuration definition information on a connection point between a portion common to each screen and the portion unique to each screen; and a definition information edition section 104 to edit specification definition information stored in each of the storage section. The specification information edition section 104 also modifies, at the time of enhancing a system, each of the screen UI component definition information as well as the screen structure fragment definition information common to each screen.

Description

本発明は、画面プログラムを自動生成するための画面プログラム生成装置に関するものである。   The present invention relates to a screen program generation device for automatically generating a screen program.

業務システムなどの画面プログラムの開発において、開発の生産性を向上させる手法として、画面プログラムの自動生成のアプローチがある。 In the development of screen programs such as business systems, there is an approach for automatically generating screen programs as a method for improving development productivity.

従来、そのような画面プログラムの自動生成装置および方法として、特開2004−302571号公報および特開2002−215393号公報に記載のように、画面の設計情報に基づき画面プログラムを自動生成することで、プログラミング工数を削減するのに加え、設計情報とプログラムの同期を人手で行う手間を省くことにより、開発生産性を向上させるものがある。 Conventionally, as such an apparatus and method for automatically generating a screen program, as described in JP-A-2004-302571 and JP-A-2002-215393, a screen program is automatically generated based on screen design information. In addition to reducing programming man-hours, there is a technique that improves development productivity by eliminating the manual labor of synchronizing design information and programs.

一般に画面プログラムでは、ユーザ操作性の観点から、画面デザインが統一されていることが重要である。そのため、画面を共通的なフレームで構成し、例えば、画面上部に画面タイトルやクラムトレイルのようなグローバルナビゲーションといった要素を含む共通領域を全画面に構成し、画面の共通的なUI(User Interface)部品を画面によらず同一デザインにする、例えば、ログアウトするためのボタンは画面によらず同じ「ログアウト」にするなど、画面設計を共通化することが望ましい。 In general, in screen programs, it is important that the screen design is unified from the viewpoint of user operability. For this reason, the screen is composed of a common frame. For example, a common area including elements such as a screen title and a global navigation such as a crumb trail is formed on the entire screen, and a common UI (User Interface) of the screen is formed. It is desirable to make the screen design common, for example, to make the parts have the same design regardless of the screen, for example, the button for logging out is the same “logout” regardless of the screen.

ところが、特開2004−302571号に記載の装置では、画面プログラムを構成する各画面について画面の設計情報を定義し、個々の画面設計情報を入力として個々の画面プログラムを自動生成するため、画面の共通部分の仕様は、個々の画面の設計情報に分散する。そのため、プログラムのエンハンス(新しい機能の追加)の際に、共通部分の仕様を変更しようとしたとき、各画面設計情報に散在した共通仕様の情報を個々に修正する必要がある。 However, in the apparatus described in Japanese Patent Application Laid-Open No. 2004-302571, screen design information is defined for each screen constituting the screen program, and each screen program is automatically generated by inputting each screen design information. The specifications of the common part are distributed in the design information of each screen. Therefore, when changing the specification of the common part during program enhancement (addition of a new function), it is necessary to individually correct the information of the common specification scattered in each screen design information.

このような作業は、一貫性を保つように人手で注意深く行う必要があり、人為的な誤りを生じる危険があるため、仕様書のメンテナンスに余分な工数を要する。 Such work needs to be done carefully by hand to maintain consistency, and there is a risk of human error, so extra work is required to maintain the specifications.

即ち、プログラムのエンハンスまで含めた開発ライフサイクル全体で考えた場合、特開2004−302571号に記載の装置では、仕様書のメンテナンス工数の点で開発の生産性が阻害されることがある。 That is, when considering the entire development life cycle including the enhancement of the program, the productivity described in Japanese Patent Application Laid-Open No. 2004-302571 may impede development productivity in terms of maintenance man-hours for specifications.

一方、特開2002−215393号に記載の方法では、画面プログラム全体で1つのテンプレートを用意し、各画面個別の設計情報については、画面個別に定義する仕組みとなっている。この方法によれば、画面が全体で1つの共通的なフレームを持つような画面プログラムについては、共通部分の画面設計情報を1箇所に集約して、仕様書のメンテナンス工数の問題を回避できる。 On the other hand, in the method described in Japanese Patent Laid-Open No. 2002-215393, one template is prepared for the entire screen program, and design information for each screen is defined for each screen. According to this method, with respect to a screen program in which the screen has one common frame as a whole, the screen design information of the common part can be aggregated in one place, and the problem of the maintenance man-hour of the specification can be avoided.

特開2004−302571号公報JP 2004-302571 A 特開2002−215393号公報JP 2002-215393 A

しかし、一般に画面プログラムでは、画面グループごとに異なるフレームをもつケースや、フレームが階層的になるケースといったような、テンプレートで表現できない共通性を持つケースもあり、そのようなケースには、特開2002−215393号に記載の方法では、対応できない。 However, in general, there are cases in which screen programs have commonality that cannot be expressed by templates, such as cases having different frames for each screen group and cases in which frames are hierarchical, in such cases, The method described in 2002-215393 cannot respond.

さらに、特開2002−215393号に記載の方法のようなテンプレートによる手法では、画面プログラムの仕様情報を定義する際、全画面の共通部分を切り出すために、全画面の仕様が明確である必要がある。 Furthermore, in the method using a template such as the method described in Japanese Patent Laid-Open No. 2002-215393, when defining the specification information of the screen program, the specification of the entire screen needs to be clear in order to cut out the common part of the entire screen. is there.

しかも、近年、一般的に行われつつある反復型の開発プロセスでは、全画面の仕様を最初の段階で明確にすることは難しく、そのようなプロセスにテンプレート手法を適用した場合、開発が進むにつれてテンプレートに適合しない画面が出た場合、テンプレートと全画面の仕様定義を修正するのに多くの手間が必要になる。 Moreover, in the iterative development process that is generally performed in recent years, it is difficult to clarify the specifications of the full screen at the first stage, and when the template method is applied to such a process, as the development progresses When a screen that does not match the template appears, it takes a lot of work to modify the template and full screen specification definition.

本発明の目的は、複数の画面の仕様定義情報を各画面共通の仕様定義情報と各画面固有の仕様定義情報に区別して管理し、エンハンス時に各画面共通の仕様定義情報を自動で修正することができる画面プログラム生成装置を提供することにある。 An object of the present invention is to manage specification definition information of a plurality of screens by distinguishing them between specification definition information common to each screen and specification definition information specific to each screen, and automatically correct the specification definition information common to each screen during enhancement. An object of the present invention is to provide a screen program generation apparatus capable of

上記目的を達成するため、本発明は、複数の画面に関する画面仕様定義情報を、各画面に共通する部分に関する画面仕様定義情報と各画面固有の部分に関する画面仕様定義情報に区別して記憶するとともに、各画面に共通する部分に関する画面仕様定義情報のうち画面インタフェース部品に関する画面仕様定義情報と構造に関する画面仕様定義情報をそれぞれ1つの画面仕様定義情報として記憶するようにしたものである。この際、プログラムのエンハンス時に、複数画面で共通の画面仕様定義情報を変更する必要が生じたときには、それぞれ1つの画面仕様定義情報を自動で修正可能とするものである。 In order to achieve the above object, the present invention stores the screen specification definition information related to a plurality of screens separately in the screen specification definition information related to a part common to each screen and the screen specification definition information related to a part specific to each screen, Of the screen specification definition information related to the portions common to each screen, the screen specification definition information related to the screen interface component and the screen specification definition information related to the structure are stored as one screen specification definition information. At this time, when it is necessary to change the screen specification definition information common to a plurality of screens during program enhancement, each of the screen specification definition information can be automatically corrected.

本発明によれば、エンハンス時に各画面共通の仕様定義情報を、人手を確保することなく自動で修正することができる。 According to the present invention, it is possible to automatically correct the specification definition information common to each screen at the time of enhancement without securing manpower.

本発明に係る画面プログラム生成装置を適用した画面プログラム生成システムの構成図である。1 is a configuration diagram of a screen program generation system to which a screen program generation device according to the present invention is applied. グリッドの階層構造の一例を示す分解斜視図である。It is a disassembled perspective view which shows an example of the hierarchical structure of a grid. 画面に共通部分があるような画面プログラムの自動生成を行う場合の全体動作を説明するためのフローチャートである。It is a flowchart for demonstrating the whole operation | movement in the case of performing automatic generation of the screen program which has a common part in a screen. 共通のフレーム部分を有する2つの画面の構成を説明するための構成図である。It is a block diagram for demonstrating the structure of two screens which have a common frame part. 画面UI部品定義情報記憶部に記憶される画面UI部品定義情報の構成図である。It is a block diagram of screen UI component definition information memorize | stored in a screen UI component definition information storage part. 画面構造断片定義情報記憶部に記憶される画面構造断片定義情報の構成図である。It is a block diagram of the screen structure fragment definition information memorize | stored in a screen structure fragment definition information storage part. 構造断片定義内容のXMLスキーマの一例を示す図である。It is a figure which shows an example of the XML schema of a structure fragment definition content. 画面共通の構造断片の定義情報の一例を示す図である。It is a figure which shows an example of the definition information of the structure fragment common to a screen. 画面の固有部分の構造断片の定義情報の一例を示す図である。It is a figure which shows an example of the definition information of the structure fragment | piece of the specific part of a screen. 画面の他の固有部分の構造断片の定義情報の一例を示す図である。It is a figure which shows an example of the definition information of the structure fragment | piece of the other specific part of a screen. 画面構成定義記憶部に記憶される画面構成定義情報の構成図である。It is a block diagram of the screen structure definition information memorize | stored in a screen structure definition memory | storage part. グリッドに対応するコードの生成処理を説明するためのフローチャートである。It is a flowchart for demonstrating the production | generation process of the code | cord | chord corresponding to a grid. 画面UI部品コード生成規則記憶部に記憶される画面UI部品コード生成規則の構成図である。It is a block diagram of a screen UI part code generation rule stored in a screen UI part code generation rule storage unit. 画面構造断片コード生成規則記憶部に記憶される画面構造断片コード生成規則の構成図である。It is a block diagram of the screen structure fragment code production | generation rule memorize | stored in a screen structure fragment code production | generation rule memory | storage part. 2つの画面の構造断片の構成を説明するための構成図である。It is a block diagram for demonstrating the structure of the structure fragment | piece of two screens. 既存の共通フレーム構造を再構成して新たな画面の画面仕様定義を追加する場合の全体動作を説明するためのフローチャートである。It is a flowchart for demonstrating the whole operation | movement at the time of reconfiguring the existing common frame structure and adding the screen specification definition of a new screen. 図15の画面を分割したときの構造断片の構成を説明するための構成図である。It is a block diagram for demonstrating the structure of the structure fragment when the screen of FIG. 15 is divided | segmented. (a)及び(b)は、図15の画面に対して画面構成定義の更新を行ったときの画面構成定義情報の構成図である。(A) And (b) is a block diagram of screen structure definition information when the screen structure definition is updated with respect to the screen of FIG.

以下、本発明の一実施形態を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

本実施例は、複数の表示領域と、いずれかの表示領域内に配置される画面UI部品を構成要素とする複数の画面の画面プログラムを生成するに際して、各画面共通の画面UI部品定義情報を一つの画面UI部品定義情報として記憶し、各画面共通の画面構造断片定義情報を一つの画面構造断片定義情報として記憶し、各画面共通の仕様定義情報を修正するときには、一つの画面UI部品定義情報と一つの画面構造断片定義情報をそれぞれ修正するものである。 In this embodiment, when generating a screen program of a plurality of screens having a plurality of display areas and screen UI parts arranged in any of the display areas as component elements, the screen UI part definition information common to the screens is generated. Store as one screen UI component definition information, store screen structure fragment definition information common to each screen as one screen structure fragment definition information, and modify one screen UI component definition Information and one screen structure fragment definition information are each corrected.

図1は、本発明に係る画面プログラム生成装置を適用した画面プログラム生成システムの一実施例を示す構成図である。図1において、画面プログラム生成システムは、表示装置101と、入力装置102と、本実施形態の画面プログラム生成装置103から構成される。 FIG. 1 is a configuration diagram showing an embodiment of a screen program generation system to which a screen program generation device according to the present invention is applied. In FIG. 1, the screen program generation system includes a display device 101, an input device 102, and a screen program generation device 103 of the present embodiment.

表示装置101は、画面プログラム生成装置103と接続されており、画面仕様定義情報の編集操作を行う際に、利用者にグラフィカルに情報を提示する。また、表示装置101は、画面プログラムのプログラムコード生成処理の実行状況の通知など、生成処理の実行状況の情報についても利用者に通知する。 The display device 101 is connected to the screen program generation device 103, and presents information graphically to the user when editing the screen specification definition information. The display device 101 also notifies the user of information on the execution status of the generation process, such as notification of the execution status of the program code generation process of the screen program.

入力装置102は、画面プログラム生成装置103と接続されており、画面仕様定義情報の編集を行う際、利用者の操作に応答して、画面仕様定義情報を対話形式で画面プログラム生成装置103に入力する。また、入力装置102は、画面プログラムのプログラムコード生成処理の実行や停止、実行状況の把握といった生成処理の制御を対話的に行う。 The input device 102 is connected to the screen program generation device 103. When editing the screen specification definition information, the screen specification definition information is interactively input to the screen program generation device 103 in response to a user operation. To do. The input device 102 interactively controls generation processing such as execution and stop of the program code generation processing of the screen program and grasping the execution status.

画面プログラム生成装置103は、定義情報編集部104と、画面UI(ユーザインタフェース)部品定義情報記憶部105と、画面構造断片定義情報記憶部106と、画面構成定義情報記憶部107と、画面プログラムコード生成部108と、画面UI部品コード生成規則記憶部109と、画面構造断片コード生成規則記憶部110と、画面プログラムコード記憶部111と、画面仕様定義情報再構成部112から構成される。 The screen program generation device 103 includes a definition information editing unit 104, a screen UI (user interface) part definition information storage unit 105, a screen structure fragment definition information storage unit 106, a screen configuration definition information storage unit 107, and a screen program code. A generation unit 108, a screen UI part code generation rule storage unit 109, a screen structure fragment code generation rule storage unit 110, a screen program code storage unit 111, and a screen specification definition information reconfiguration unit 112 are configured.

定義情報編集部104と、画面プログラムコード生成部108および画面仕様定義情報再構成部112は、例えば、CPU(Central Processing Unit)またはマイクロプロセッサを有し、CPUまたはマイクロプロセッサが、定義情報編集プログラム、画面プログラムコード生成プログラムまたは画面仕様定義情報再構成プログラムを起動することで、定義情報編集部104、画面プログラムコード生成部108または画面仕様定義情報再構成部112が構成される。 The definition information editing unit 104, the screen program code generation unit 108, and the screen specification definition information reconfiguration unit 112 include, for example, a CPU (Central Processing Unit) or a microprocessor, and the CPU or microprocessor includes a definition information editing program, The definition information editing unit 104, the screen program code generation unit 108, or the screen specification definition information reconfiguration unit 112 is configured by starting the screen program code generation program or the screen specification definition information reconfiguration program.

画面UI部品定義情報記憶部105と、画面構造断片定義情報記憶部106と、画面構成定義情報記憶部107と、画面UI部品コード生成規則記憶部109と、画面構造断片コード生成規則記憶部110および画面プログラムコード記憶部111は、例えば、RAM(Random Access Memory)なでのメモリで構成される。   Screen UI part definition information storage unit 105, screen structure fragment definition information storage unit 106, screen configuration definition information storage unit 107, screen UI part code generation rule storage unit 109, screen structure fragment code generation rule storage unit 110, The screen program code storage unit 111 is configured by a memory such as a RAM (Random Access Memory), for example.

定義情報編集部104は、例えば、画面プログラムを生成するための画面が複数の画面で構成されている場合、各画面の仕様を定義した情報である画面仕様定義情報の編集を行う。画面仕様定義情報は、画面UI部品定義情報と、画面構造断片定義情報および画面構成定義情報の3種類の情報から構成される。 For example, when the screen for generating the screen program is composed of a plurality of screens, the definition information editing unit 104 edits the screen specification definition information that is information defining the specifications of each screen. The screen specification definition information includes three types of information: screen UI component definition information, screen structure fragment definition information, and screen configuration definition information.

定義情報編集部104は、これら各記憶部105、106、107に記憶された画面仕様定義情報を表示装置101および入力装置102を介して入出力する。例えば、定義情報編集部104は、3種類の画面仕様定義情報を入力装置102から入力し、画面UI部品定義情報を画面UI部品定義情報記憶部105に記憶し、画面構造断片定義情報を画面構造断片定義情報記憶部106に記憶し、画面構成定義情報を画面構成定義情報記憶部107に記憶する。 The definition information editing unit 104 inputs and outputs the screen specification definition information stored in each of the storage units 105, 106, and 107 via the display device 101 and the input device 102. For example, the definition information editing unit 104 inputs three types of screen specification definition information from the input device 102, stores the screen UI component definition information in the screen UI component definition information storage unit 105, and stores the screen structure fragment definition information in the screen structure. The information is stored in the fragment definition information storage unit 106, and the screen configuration definition information is stored in the screen configuration definition information storage unit 107.

画面UI部品定義情報記憶部105は、例えば、各画面が、複数の表示領域といずれかの表示領域内に配置される画面UI部品を構成要素とする場合、画面UI部品、例えば、ボタンやラベルなどに関する仕様の定義情報である画面UI部品定義情報を記憶する。画面UI部品定義情報記憶部105は、画面プログラム生成装置103の生成対象とする画面プログラムが、例えば、複数画面を構成するための画面プログラムであった場合、全画面の画面UI部品定義情報を一元的に管理して記憶する。 For example, when each screen includes a plurality of display areas and screen UI parts arranged in one of the display areas, the screen UI part definition information storage unit 105 includes screen UI parts such as buttons and labels. The screen UI component definition information, which is the definition information of the specifications relating to the above, is stored. When the screen program to be generated by the screen program generation device 103 is, for example, a screen program for configuring a plurality of screens, the screen UI component definition information storage unit 105 unifies all screen UI component definition information. Manage and remember.

この際、複数の画面で共通的に使われる画面UI部品に関しては、画面UI部品定義情報は1つの定義情報として記憶する。即ち、画面UI部品定義情報記憶部105は、画面UI部品定義情報を、各画面固有の画面UI部品定義情報と各画面共通の画面UI部品定義情報に区別して記憶し、各画面共通の画面UI部品定義情報を1つの定義情報として記憶する。 At this time, regarding the screen UI parts that are commonly used in a plurality of screens, the screen UI part definition information is stored as one definition information. That is, the screen UI component definition information storage unit 105 stores the screen UI component definition information by distinguishing the screen UI component definition information into the screen UI component definition information unique to each screen and the screen UI component definition information common to each screen. The part definition information is stored as one definition information.

画面構造断片定義情報記憶部106は、各画面の構造断片に関する画面仕様定義情報である画面構造断片定義情報を記憶する。各画面は、構成要素、例えば、UI部品や矩形領域などの互いの包含により構造を作る。構造断片とは、各画面の画面構造の部分構造である。例えば、HTML(HyperText Markup Language)で画面を構成する場合を例にとると、画面は、グリッドの階層構造により表現できるため、構造断片は、グリッドの部分階層構造となる。   The screen structure fragment definition information storage unit 106 stores screen structure fragment definition information that is screen specification definition information related to the structure fragment of each screen. Each screen forms a structure by mutual inclusion of components such as UI parts and rectangular areas. The structural fragment is a partial structure of the screen structure of each screen. For example, in the case where the screen is configured with HTML (HyperText Markup Language), for example, the screen can be expressed by the hierarchical structure of the grid, so the structural fragment has a partial hierarchical structure of the grid.

この際、画面の表示領域を規定する線、例えば、鉛直方向の線、水平方向の線をそれぞれグリッドとし、鉛直方向のグリッドと水平方向のグリッドで囲まれた表示領域(矩形領域)内をセルとすると、このセル内を鉛直方向の複数のグリッドと水平方向の複数のグリッドで複数の表示領域に分割したときには、この分割により得られた各表示領域内には、それぞれ小さいセルが形成されることになる。 At this time, lines defining the display area of the screen, for example, vertical lines and horizontal lines are set as grids, and cells are displayed in the display area (rectangular area) surrounded by the vertical grid and the horizontal grid. Then, when this cell is divided into a plurality of display areas by a plurality of vertical grids and a plurality of horizontal grids, small cells are formed in the respective display areas obtained by this division. It will be.

図2は、グリッドの階層構造の例である。最も上位のグリッド201は、鉛直方向にセル211、212が2つ並ぶグリッドである。グリッド201を親のグリッドとした場合、上側のセル211には、子のグリッド202が含まれ、下側のセル212には、子のグリッド203が含まれる。子のグリッド202は、水平方向にセル213、214、215が3つ並ぶグリッドであり、各セル213、214、215には、グリッドは含まれていない。子のグリッド203は、鉛直方向にセル216、217が2つ並ぶグリッドであり、下側のセル217には、子のグリッド204が含まれる。 FIG. 2 is an example of the hierarchical structure of the grid. The uppermost grid 201 is a grid in which two cells 211 and 212 are arranged in the vertical direction. When the grid 201 is a parent grid, the upper cell 211 includes a child grid 202, and the lower cell 212 includes a child grid 203. The child grid 202 is a grid in which three cells 213, 214, and 215 are arranged in the horizontal direction, and each cell 213, 214, and 215 does not include a grid. The child grid 203 is a grid in which two cells 216 and 217 are arranged in the vertical direction, and the lower cell 217 includes a child grid 204.

グリッド201と、グリッド202と、グリッド203およびグリッド204を全て含むグリッドで構成される構造も構造断片であり、また、各部分構造、例えば、グリッド203とグリッド204から構成される構造も構造断片である。なお、各画面のUI要素である画面UI部品は、いずれかのセル内に配置される。 A structure including a grid 201, a grid 202, and a grid including all of the grid 203 and the grid 204 is also a structural fragment, and each partial structure, for example, a structure including the grid 203 and the grid 204 is also a structural fragment. is there. Note that a screen UI component that is a UI element of each screen is arranged in any cell.

画面構造断片定義情報記憶部106は、画面プログラム生成装置103が生成対象とする1セットの画面プログラム、例えば、複数画面を構成する画面プログラムの場合、全画面の部分構造を一元的に管理する。複数の画面で共通的な部分構造は、画面構造断片定義情報記憶部106では、1つの定義情報として記憶する。即ち、画面構造断片定義情報記憶部106は、各画面の部分階層構造を示す構造断片に関する画面仕様定義情報である画面構造断片定義情報を、各画面固有の画面構造断片定義情報と各画面共通の画面構造断片定義情報に区別して記憶するとともに、各画面共通の画面構造断片定義情報を1つの画面構造断片定義情報として記憶する。 In the case of a set of screen programs to be generated by the screen program generation device 103, for example, a screen program constituting a plurality of screens, the screen structure fragment definition information storage unit 106 manages the partial structure of all the screens. A partial structure common to a plurality of screens is stored as one definition information in the screen structure fragment definition information storage unit 106. That is, the screen structure fragment definition information storage unit 106 displays the screen structure fragment definition information, which is the screen specification definition information related to the structure fragment indicating the partial hierarchical structure of each screen, and the screen structure fragment definition information common to each screen. The screen structure fragment definition information is distinguished and stored, and the screen structure fragment definition information common to each screen is stored as one screen structure fragment definition information.

画面構成定義情報記憶部107は、画面の構成に関する仕様定義情報である画面構成定義情報を記憶する。画面構成定義情報記憶部107は、画面プログラム生成装置103が生成対象とする1セットの画面プログラム、例えば、複数画面を構成するための画面プログラムの場合、各画面の構造定義情報を画面ごとに1つずつ記憶する。   The screen configuration definition information storage unit 107 stores screen configuration definition information that is specification definition information related to the screen configuration. In the case of a set of screen programs to be generated by the screen program generation apparatus 103, for example, a screen program for configuring a plurality of screens, the screen configuration definition information storage unit 107 stores the structure definition information of each screen for each screen. Remember one by one.

この際、画面構成定義情報記憶部107は、各画面の構成に関する画面仕様定義情報であって、各画面固有の部分と各画面共通の部分との結合点に関する情報を含む画面構成定義情報を記憶する。   At this time, the screen configuration definition information storage unit 107 stores screen configuration definition information that includes screen specification definition information related to the configuration of each screen and includes information related to a connection point between a portion unique to each screen and a portion common to each screen. To do.

画面プログラムコード生成部108は、画面UI部品定義情報記憶部105、画面構造断片記憶部106、および、画面構成定義情報記憶部107に記憶された画面仕様定義情報を入力し、入力した画面仕様定義情報をコード生成規則に従ってコードに変換して、画面プログラムコードを機械的に生成し、生成した画面プログラムコードを画面プログラムコード記憶部111に格納する。 The screen program code generation unit 108 inputs the screen specification definition information stored in the screen UI part definition information storage unit 105, the screen structure fragment storage unit 106, and the screen configuration definition information storage unit 107, and the input screen specification definition. The information is converted into a code according to a code generation rule, a screen program code is mechanically generated, and the generated screen program code is stored in the screen program code storage unit 111.

画面UI部品コード生成規則記憶部109は、画面UI部品定義情報記憶部105に記憶された画面UI部品定義情報について、画面UI部品のタイプごとに画面UI部品定義情報からプログラムコードの断片を生成するためのコード生成規則である画面UI部品コード生成規則を記憶する。   The screen UI component code generation rule storage unit 109 generates program code fragments from the screen UI component definition information for each type of screen UI component for the screen UI component definition information stored in the screen UI component definition information storage unit 105. A screen UI part code generation rule, which is a code generation rule for storing the screen UI, is stored.

画面構造断片コード生成規則記憶部110は、画面構造断片定義情報記憶部106に記憶された画面構造断片定義情報からプログラムコードの断片を生成するためのコード生成規則である画面構造断片コード生成規則を記憶する。   The screen structure fragment code generation rule storage unit 110 generates a screen structure fragment code generation rule that is a code generation rule for generating a program code fragment from the screen structure fragment definition information stored in the screen structure fragment definition information storage unit 106. Remember.

画面プログラムコード記憶部111は、画面プログラムコード生成部108が生成した画面プログラムコードを記憶する。 The screen program code storage unit 111 stores the screen program code generated by the screen program code generation unit 108.

画面仕様定義情報再構成部112は、画面構造断片定義情報記憶部106に記憶された画面構造断片定義情報の分割を行い、画面構成定義情報記憶部107に記憶されている画面構成定義情報のうち、分割した画面構造断片定義情報を参照していた画面構成定義情報を、分割後の構造断片定義情報を参照するように再構成する。 The screen specification definition information reconfiguration unit 112 divides the screen structure fragment definition information stored in the screen structure fragment definition information storage unit 106, and includes the screen configuration definition information stored in the screen configuration definition information storage unit 107. Then, the screen configuration definition information that has referred to the divided screen structure fragment definition information is reconfigured so as to refer to the divided structure fragment definition information.

次に、本実施形態において、複数の画面を構成するための画面プログラムであって、各画面共通の部分と各画面固有の部分を有する複数の画面を構成するための画面プログラムを自動生成する場合の全体動作を、図3に基づいて説明する。   Next, in this embodiment, when a screen program for configuring a plurality of screens and automatically generating a screen program for configuring a plurality of screens having a portion common to each screen and a portion specific to each screen The overall operation will be described with reference to FIG.

まず、定義情報編集部104は、利用者が編集した画面仕様定義情報を表示装置101と入力装置102から入力し、入力した画面仕様定義情報を識別して、画面UI部品定義情報記憶部105と、画面構造断片定義情報記憶部106および、画面構成定義記憶部107に記憶する(S301)。 First, the definition information editing unit 104 inputs the screen specification definition information edited by the user from the display device 101 and the input device 102, identifies the input screen specification definition information, and the screen UI component definition information storage unit 105. The screen structure fragment definition information storage unit 106 and the screen configuration definition storage unit 107 are stored (S301).

次に、画面プログラムコード生成部108は、画面UI部品定義情報記憶部105、画面構造断片定義情報記憶部106、および、画面構成定義記憶部107にそれぞれ記憶された画面仕様定義情報から、画面UI部品コード生成規則記憶部109に記憶された画面UI部品コード生成規則と画面構造断片コード生成規則記憶部110に記憶された画面構造断片コード生成規則に従って画面プログラムコードを生成し、生成した画面プログラムコードを画面プログラムコード記憶部111に記憶する(S302)。以下、各ステップS301、S302における具体的内容について説明する。   Next, the screen program code generation unit 108 uses the screen UI definition information stored in the screen UI part definition information storage unit 105, the screen structure fragment definition information storage unit 106, and the screen configuration definition storage unit 107, respectively, to generate a screen UI. The screen program code generated by generating the screen program code according to the screen UI part code generation rule stored in the part code generation rule storage unit 109 and the screen structure fragment code generation rule stored in the screen structure fragment code generation rule storage unit 110 Is stored in the screen program code storage unit 111 (S302). Hereinafter, specific contents in steps S301 and S302 will be described.

まず、画面UI部品定義情報記憶部105、画面構造断片定義情報記憶部106、および、画面構成定義情報記憶部107にそれぞれ記憶する画面仕様定義情報について、図4に示す画面プログラムを例に説明する。 First, the screen specification definition information stored in each of the screen UI component definition information storage unit 105, the screen structure fragment definition information storage unit 106, and the screen configuration definition information storage unit 107 will be described using the screen program shown in FIG. 4 as an example. .

図4は、共通のフレーム部分を有する2つの画面の構成の例を示す。各画面(第1の画面と第2の画面)は、共通のフレーム部分(各画面共通のグリッド)403を持ち、画面上部404の画面タイトル401と終了ボタン402は各画面共通である。この場合、画面上部404を構成するグリッドで囲まれた2つの表示領域(セル)内に、画面UI部品の画面タイトル401と終了ボタン402が配置される。 FIG. 4 shows an example of the configuration of two screens having a common frame portion. Each screen (the first screen and the second screen) has a common frame portion (a grid common to each screen) 403, and the screen title 401 and the end button 402 in the upper screen 404 are common to each screen. In this case, the screen title 401 of the screen UI component and the end button 402 are arranged in two display areas (cells) surrounded by the grid constituting the upper screen 404.

画面下部405は、各画面により異なる。例えば、第1の画面固有の部分408は、第1の画面固有の画面UI部品として、テキストフィールド406や検索ボタン407などを含む構成である。第2の画面固有の部分409は、第2の画面固有の画面UI部品として、編集ボタン410や取消ボタン411などを含む構成である。 The lower screen portion 405 is different for each screen. For example, the first screen-specific portion 408 includes a text field 406 and a search button 407 as screen UI parts specific to the first screen. The second screen-specific portion 409 includes an edit button 410, a cancel button 411, and the like as screen UI parts specific to the second screen.

図5は、画面UI部品定義情報記憶部105に記憶される画面UI部品定義情報を示す。1つの画面UI部品に関する画面UI部品定義情報は、画面仕様定義情報の一要素として、画面UI部品ID(IDentifier)501、名称502、タイプ503、表示文字列504、0セット以上の属性値を含む属性(属性と属性値がペアとなる)505〜508で構成される。 FIG. 5 shows screen UI component definition information stored in the screen UI component definition information storage unit 105. The screen UI component definition information related to one screen UI component includes a screen UI component ID (IDentifier) 501, a name 502, a type 503, a display character string 504, and zero or more attribute values as one element of the screen specification definition information. It consists of attributes (attributes and attribute values are paired) 505-508.

画面UI部品ID501は、画面UI部品を一意に識別する識別子である。名称502は、画面UI部品の名称であり、利用者の理解を助けるためのものである。タイプ503は、ボタンや1行テキスト入力など、画面UI部品の種別を示す識別子である。表示文字列504は、画面UI部品が画面表示される際の文字列表現である。属性値を含む属性505〜508は、画面UI部品の詳細な振る舞いや見た目を決定する情報であり、タイプ503によって指定すべき属性は異なる。 The screen UI component ID 501 is an identifier for uniquely identifying the screen UI component. A name 502 is a name of the screen UI component and is intended to help the user understand. A type 503 is an identifier indicating the type of the screen UI component, such as a button or one-line text input. The display character string 504 is a character string expression when the screen UI component is displayed on the screen. Attributes 505 to 508 including attribute values are information for determining the detailed behavior and appearance of the screen UI component, and the attributes to be specified differ depending on the type 503.

レコード509は、図4の画面タイトル401に対応する画面UI部品定義情報である。レコード509には、画面UI部品ID501として、「ELM0001」が定義され、名称502として、「画面タイトル」が定義され、タイプ503として、「ラベル」が定義され、表示文字列504として、「検索画面」が定義され、これらに対して、属性505として、「フォントサイズ」が定義され、属性505の属性値として、「18pt」が定義され、属性506として、「文字スタイル」が定義され、属性506の属性値として、「bold」が定義されている。 A record 509 is screen UI component definition information corresponding to the screen title 401 of FIG. In the record 509, “ELM0001” is defined as the screen UI component ID 501, “screen title” is defined as the name 502, “label” is defined as the type 503, and “search screen” is defined as the display character string 504. ”Is defined, and“ font size ”is defined as the attribute 505,“ 18pt ”is defined as the attribute value of the attribute 505,“ character style ”is defined as the attribute 506, and the attribute 506 “Bold” is defined as the attribute value of.

レコード510は、図4の終了ボタン402に対応する画面UI部品定義情報である。レコード510には、画面UI部品ID501として、「ELM0002」が定義され、名称502として、「終了ボタン」が定義され、タイプ503として、「ボタン」が定義され、表示文字列504として、「終了」が定義され、これらに対して、属性505として、「ボタンタイプ」が定義され、属性505の属性値として、「button」が定義され、属性506として、「起動スクリプト」が定義され、属性506の属性値として、「logout()」が定義され、属性507として、「文字スタイル」が定義され、属性507の属性値として、「bold」が定義されている。 A record 510 is screen UI component definition information corresponding to the end button 402 in FIG. In the record 510, “ELM0002” is defined as the screen UI component ID 501, “End button” is defined as the name 502, “Button” is defined as the type 503, and “End” as the display character string 504. And “button type” is defined as the attribute 505, “button” is defined as the attribute value of the attribute 505, “startup script” is defined as the attribute 506, and “Logout ()” is defined as the attribute value, “character style” is defined as the attribute 507, and “bold” is defined as the attribute value of the attribute 507.

レコード511は、図4の検索フィールド406に対応する画面UI部品定義情報である。レコード511には、画面UI部品ID501として、「ELM0003」が定義され、名称502として、「検索条件フィールド」が定義され、タイプ503として、「1行テキスト入力」が定義され、表示文字列504として、「(なし)」が定義され、これらに対して、属性505として、「データ長」が定義され、属性505の属性値として、「64」が定義され、属性506として、「表示長」が定義され、属性506の属性値として、「32」が定義され、属性507として、「項目名」が定義され、属性507の属性値として、「SearchCond」が定義され、属性508として、「初期値」が定義され、属性508の属性値として、「0011」が定義されている。 A record 511 is screen UI component definition information corresponding to the search field 406 in FIG. In the record 511, “ELM0003” is defined as the screen UI component ID 501, “search condition field” is defined as the name 502, “single line text input” is defined as the type 503, and the display character string 504 is defined. , “(None)” is defined, “Data length” is defined as attribute 505, “64” is defined as the attribute value of attribute 505, and “Display length” is defined as attribute 506. “32” is defined as the attribute value of the attribute 506, “item name” is defined as the attribute 507, “SearchCond” is defined as the attribute value of the attribute 507, and “initial value” is defined as the attribute 508. ”Is defined, and“ 0011 ”is defined as the attribute value of the attribute 508.

画面タイトル401と終了ボタン402は、複数の画面に存在するが、画面UI部品定義情報記憶部105では、1つの画面UI部品定義情報として記憶する。この際、定義情報編集部104は、例えば、画面プログラムのエンハンス等の際に、複数画面で共通のUI部品の仕様を変更する必要が生じ、編集要求元である入力装置102から、各画面共通の仕様定義情報に関する修正の指示を受けた場合、1つの画面UI部品定義情報を修正の指示に従って自動で修正することができる。このため、エンハンス時に、各画面共通の画面仕様定義情報を、人手を確保することなく自動で修正することができるとともに、修正すべき画面UI部品定義情報も1つで済む利点がある。 Although the screen title 401 and the end button 402 exist on a plurality of screens, the screen UI component definition information storage unit 105 stores them as one screen UI component definition information. At this time, for example, the definition information editing unit 104 needs to change the specifications of a common UI component on a plurality of screens when enhancing a screen program. When a modification instruction regarding the specification definition information is received, one screen UI component definition information can be automatically modified according to the modification instruction. Therefore, at the time of enhancement, there is an advantage that the screen specification definition information common to each screen can be automatically corrected without securing manpower, and only one screen UI component definition information needs to be corrected.

図6は、画面構造断片定義情報記憶部106に記憶される画面構造断片定義情報を示す。1つの画面構造断片定義情報は、画面仕様定義情報の一要素として、構造断片ID601と構造断片定義内容602で構成される。構造断片ID601は、構造断片を一意に識別するための識別子である。構造断片定義内容602は、構造断片の定義内容である。 FIG. 6 shows screen structure fragment definition information stored in the screen structure fragment definition information storage unit 106. One screen structure fragment definition information includes a structure fragment ID 601 and a structure fragment definition content 602 as one element of the screen specification definition information. The structural fragment ID 601 is an identifier for uniquely identifying the structural fragment. The structure fragment definition content 602 is the definition content of the structure fragment.

レコード603は、図4における各画面共通のフレーム部分403の画面構造断片定義情報であり、その構造断片定義内容の詳細を図8に示す。レコード604は、図4における第1の画面固有の部分408の画面構造断片定義情報であり、その構造断片定義内容を図9に示す。レコード605は、図4における第2の画面固有の部分409の画面構造断片定義情報であり、その構造断片定義内容を図10に示す。 A record 603 is screen structure fragment definition information of the frame portion 403 common to each screen in FIG. 4, and details of the structure fragment definition contents are shown in FIG. A record 604 is the screen structure fragment definition information of the first screen-specific portion 408 in FIG. 4, and the contents of the structure fragment definition are shown in FIG. A record 605 is screen structure fragment definition information of the portion 409 unique to the second screen in FIG. 4, and the contents of the structure fragment definition are shown in FIG.

図8〜図10における構造断片定義内容は、表現方法としてXML(Extensible Markup Language)を利用した場合の例を示している。そのXMLスキーマを図7に示す。図7に示されるように、グリッドは、グリッドエレメントに対応し、行エレメントと列エレメントの2階層で1つのセルを表現する。セルは、グリッドエレメント、画面UI部品IDエレメントまたは、結合点IDエレメントのいずれか1つを持つ。 The structure fragment definition contents in FIGS. 8 to 10 show an example in which XML (Extensible Markup Language) is used as an expression method. The XML schema is shown in FIG. As shown in FIG. 7, the grid corresponds to the grid element, and expresses one cell in two layers of a row element and a column element. The cell has any one of a grid element, a screen UI component ID element, and a connection point ID element.

グリッドエレメントの場合、グリッドの再帰構造を表現する。画面UI部品IDエレメントの場合、当該セルにその画面UI部品IDを持つ別の画面UI部品が配置されることを表現する。結合点IDエレメントの場合、当該のセルに、他の構造断片のルートノードが結合可能であることを示し、結合点IDの値により、1つの構造断片中で結合点を一意にする。 For grid elements, it represents the recursive structure of the grid. In the case of the screen UI component ID element, it represents that another screen UI component having the screen UI component ID is arranged in the cell. In the case of the connection point ID element, it indicates that the root node of another structural fragment can be combined with the cell, and the connection point is made unique in one structural fragment by the value of the connection point ID.

図8の例では、図4における各画面共通のフレーム部分403に配置される画面UI要素ELM0001とELM0002の画面UI要素がセルに配置されることや、結合点ID「LNK0001」の結合点が定義されている。即ち、画面UI要素ELM0001とELM0002の画面UI要素となるセルにそれぞれ画面タイトル401、終了ボタン402が配置され、結合点ID「LNK0001」の結合点に第1の画面固有の部分408が結合されることが定義されている。 In the example of FIG. 8, the screen UI elements ELM0001 and ELM0002 arranged in the frame portion 403 common to each screen in FIG. 4 are arranged in the cell, and the connection point of the connection point ID “LNK0001” is defined. Has been. That is, the screen title 401 and the end button 402 are arranged in the cells that are the screen UI elements of the screen UI elements ELM0001 and ELM0002, respectively, and the first screen-specific portion 408 is coupled to the coupling point of the coupling point ID “LNK0001”. It is defined.

図9の例では、図4における第1の画面固有の部分408に配置される画面UI要素ELM0003とELM0004の画面UI要素がセルに配置されることが定義されている。 In the example of FIG. 9, it is defined that the screen UI elements ELM0003 and ELM0004 arranged in the first screen-specific portion 408 in FIG. 4 are arranged in the cell.

図10の例では、図4における第2の画面固有の部分409に配置される画面UI要素ELM0005とELM0006の画面UI要素がセルに配置されることが定義されている。 In the example of FIG. 10, it is defined that the screen UI elements ELM0005 and ELM0006 arranged in the portion 409 unique to the second screen in FIG. 4 are arranged in the cell.

図11は、画面構成定義情報記憶部107に記憶される画面構成定義情報を示す。1つの画面構成定義情報は、画面仕様定義情報の一要素として、画面構成ID1101と、1セット以上の構造断片ID・親構造断片ID・結合点IDの3つを含む画面構成定義内容1102〜1104で構成される。 FIG. 11 shows screen configuration definition information stored in the screen configuration definition information storage unit 107. One screen configuration definition information includes, as one element of the screen specification definition information, screen configuration definition contents 1102 to 1104 including a screen configuration ID 1101 and three or more sets of a structure fragment ID, a parent structure fragment ID, and a connection point ID. Consists of.

画面ID1101は、画面構成定義情報を一意に識別する識別子である。画面構成定義内容1103の構造断片IDは、各画面の構成要素となる構造断片の識別子であり、画面構造断片定義情報記憶部106に記憶される構造断片ID601に対応する。画面構成定義内容1103の親構造断片IDと結合点IDは、構造断片IDで指定した構造断片のルートノードが連結する別の構造断片の構造断片IDおよびその構造断片中の結合点IDであり、定義情報記憶部106に記憶される構造断片ID601およびその構造断片定義内容602で定義された結合点IDに対応する。 The screen ID 1101 is an identifier that uniquely identifies screen configuration definition information. The structure fragment ID of the screen configuration definition content 1103 is an identifier of a structure fragment that is a component of each screen, and corresponds to the structure fragment ID 601 stored in the screen structure fragment definition information storage unit 106. The parent structure fragment ID and the connection point ID of the screen configuration definition content 1103 are the structure fragment ID of another structure fragment connected by the root node of the structure fragment specified by the structure fragment ID and the connection point ID in the structure fragment. This corresponds to the structure fragment ID 601 stored in the definition information storage unit 106 and the connection point ID defined by the structure fragment definition content 602.

画面構成定義内容1102の親構造断片IDと結合点IDは、各画面を構成する構造断片のうち最上位の構造断片については値なしである。画面構成定義内容1102〜1103は、1つの画面構成定義に対して、各画面を構成する構造断片の個数と同じ数だけある。 The parent structure fragment ID and the connection point ID of the screen configuration definition content 1102 have no value for the topmost structure fragment among the structure fragments constituting each screen. There are as many screen configuration definition contents 1102 to 1103 as the number of structural fragments constituting each screen for one screen configuration definition.

レコード1105は、図4における第1の画面固有の部分408の画面構成定義情報である。レコード1105では、第1の画面は、2つの構造断片STR0001とSTR0002で構成され、構造断片STR0002は、構造断片STR0001の結合点LNK0001に結合することが定義されている。レコード1106は、図4における第2の画面固有の部分409の画面構成定義情報である。レコード1106では、第2の画面は、2つの構造断片STR0001とSTR0003で構成され、構造断片STR0003は、構造断片STR0001の結合点LNK0001に結合することが定義されている。 A record 1105 is screen configuration definition information of the portion 408 unique to the first screen in FIG. In the record 1105, the first screen is composed of two structural fragments STR0001 and STR0002, and the structural fragment STR0002 is defined to be coupled to the coupling point LNK0001 of the structural fragment STR0001. A record 1106 is screen configuration definition information of the portion 409 unique to the second screen in FIG. In the record 1106, the second screen is composed of two structural fragments STR0001 and STR0003, and the structural fragment STR0003 is defined to be coupled to the connection point LNK0001 of the structural fragment STR0001.

即ち、第1の画面は、各画面共通のフレーム部分403に対応する構造断片STR0001と第1の画面固有の部分408に対応する構造断片STR0002で構成され、構造断片STR0002は、構造断片STR0001の結合点LNK0001に結合されている。第2の画面は、各画面共通のフレーム部分403に対応する構造断片STR0001と第2の画面固有の部分409に対応する構造断片STR0003で構成され、構造断片STR0003は、構造断片STR0001の結合点LNK0001に結合されている。   That is, the first screen includes a structural fragment STR0001 corresponding to the frame portion 403 common to each screen and a structural fragment STR0002 corresponding to the first screen specific portion 408. The structural fragment STR0002 is a combination of the structural fragments STR0001. Connected to point LNK0001. The second screen includes a structural fragment STR0001 corresponding to the frame portion 403 common to each screen and a structural fragment STR0003 corresponding to the second screen specific portion 409. The structural fragment STR0003 is a connection point LNK0001 of the structural fragment STR0001. Is bound to.

この際、画面構成定義情報記憶部107は、各画面の構成に関する画面仕様定義情報として、各画面固有の部分と各画面共通の部分との結合点に関する情報を含む画面構成定義情報を記憶することになる。また、画面構造断片定義情報記憶部106は、画面構造断片定義情報を、各画面固有の画面構造断片定義情報と各画面共通の画面構造断片定義情報に区別して記憶するとともに、画面UI部品定義情報と画面構成定義情報に関連付けて記憶することになる。 At this time, the screen configuration definition information storage unit 107 stores screen configuration definition information including information about a connection point between a portion unique to each screen and a portion common to each screen as screen specification definition information regarding the configuration of each screen. become. In addition, the screen structure fragment definition information storage unit 106 stores the screen structure fragment definition information separately in screen structure fragment definition information unique to each screen and screen structure fragment definition information common to each screen, and screen UI component definition information. Are stored in association with the screen configuration definition information.

次に、図4における第1の画面固有の部分408について、画面プログラムコードを生成する動作の流れを説明する。 Next, an operation flow for generating a screen program code for the first screen-specific portion 408 in FIG. 4 will be described.

画面プログラムコード生成部108は、画面構成定義情報記憶部107から、当該画面(第1の画面固有の部分408)に関する画面構成定義情報1105を取得し、取得した画面構成定義情報1105から最上位の構造断片のID「STR0001」を取得する。最も上位の構造断片は、親構造断片IDが値をもたないことから判別できる。取得した構造断片のID「STR0001」をキーに、画面構造断片定義記憶部106から、レコード603の構造断片定義情報として、レコード603の構造断片定義内容602のXMLデータ(図8の構造断片定義内容から得られるデータ)を取得する。 The screen program code generation unit 108 acquires the screen configuration definition information 1105 related to the screen (the first screen-specific portion 408) from the screen configuration definition information storage unit 107, and the highest order from the acquired screen configuration definition information 1105. The ID “STR0001” of the structure fragment is acquired. The highest structural fragment can be identified from the fact that the parent structural fragment ID has no value. Using the acquired structure fragment ID “STR0001” as a key, the XML data of the structure fragment definition content 602 of the record 603 (the structure fragment definition content of FIG. 8) as the structure fragment definition information of the record 603 from the screen structure fragment definition storage unit 106. Data obtained from).

画面プログラムコード生成部108は、取得したXMLデータの構造断片エレメント直下のグリッドエレメントに対して、図12フローチャートに示される、グリッドに対応するコードの生成処理を行う。 The screen program code generation unit 108 generates a code corresponding to the grid shown in the flowchart of FIG. 12 for the grid element immediately below the structural fragment element of the acquired XML data.

まず、グリッド開始コード生成処理(S1201)では、画面プログラムコード生成部108は、画面構造断片コード生成規則記憶部110に記憶された画面構造断片コード生成規則(図14参照)から、種別1402が「グリッド開始」のコード生成規則1403を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈table〉」を生成する。 First, in the grid start code generation process (S1201), the screen program code generation unit 108 determines that the type 1402 is “from the screen structure fragment code generation rule (see FIG. 14) stored in the screen structure fragment code generation rule storage unit 110”. The code generation rule 1403 of “grid start” is acquired, and the code “<table>” having the contents stored in the generation program code fragment 1402 is generated.

ループ部分では、グリッドエレメント下の各行エレメントについてループ処理(S1202〜S1204)を行う。 In the loop portion, loop processing (S1202 to S1204) is performed for each row element under the grid element.

即ち、行開始コード生成処理(S1203)では、画面構造断片コード生成規則記憶部110から種別1401が「行開始」のコード生成規則1405を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈tr〉」を生成する。 That is, in the line start code generation process (S1203), the code generation rule 1405 having the type “line start” 1401 is acquired from the screen structure fragment code generation rule storage unit 110, and the code of the content stored in the generation program code fragment 1402 is stored. “<Tr>” is generated.

次のループ部分では、行エレメント下の各列エレメントについてループ処理(S1204〜S1212)を行う。 In the next loop portion, loop processing (S1204 to S1212) is performed for each column element under the row element.

即ち、列開始コード生成1205では、画面構造断片コード生成規則記憶部110から種別1401が「列開始」のコード生成規則1407を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈td〉」を生成する。 That is, in the column start code generation 1205, the code generation rule 1407 whose type 1401 is “column start” is acquired from the screen structure fragment code generation rule storage unit 110, and the code “<td” of the content stored in the generation program code fragment 1402 > ”Is generated.

ステップS1206〜S1210では、列エレメント下のエレメントの種類によって処理が分岐し、画面プログラムコード生成部108は、列エレメント下のエレメントの種類によって以下の処理を実行する。 In steps S1206 to S1210, the process branches depending on the element type below the column element, and the screen program code generation unit 108 executes the following process depending on the element type below the column element.

(1)グリッドエレメントの場合
当該グリッドについて、ステップS1201〜S1206を再帰呼び出しして、当該グリッドに対応する画面プログラムコードを生成する(S1207)。
(1) In the case of a grid element For the grid, steps S1201 to S1206 are recursively called to generate a screen program code corresponding to the grid (S1207).

(2)画面UI部品IDエレメントの場合
画面UI部品定義情報記憶部105から、画面UI部品ID501をキーに、当該画面UI部品の画面UI部品定義情報を取得し、画面UI部品コード生成規則記憶部109に記憶された画面UI部品コード生成規則(図13)から、タイプ1301が、当該の画面UI部品のタイプ503に対応する生成プログラムコード断片1302を取得し、取得した生成プログラムコード断片1302に従って画面プログラムコードを生成する(S1209)。
(2) In the case of a screen UI component ID element From the screen UI component definition information storage unit 105, the screen UI component ID 501 is used as a key to acquire the screen UI component definition information of the screen UI component, and the screen UI component code generation rule storage unit From the screen UI part code generation rule (FIG. 13) stored in 109, the type 1301 acquires the generated program code fragment 1302 corresponding to the type 503 of the screen UI part, and the screen according to the generated generated program code fragment 1302 A program code is generated (S1209).

例えば、画面UI部品ID510が「ELM0001」であれば、画面UI部品定義情報のレコード509において、タイプ503が「ラベル」であるため、画面UI部品コード生成規則のレコード1303が対応し、レコード1303の生成プログラムコード断片1302の内容のうち、属性パラメータ「[フォントサイズ]」の部分と「[文字スタイル]」の部分を、図5の画面UI部品定義情報のレコード509で定義された属性505のフォントサイズの属性値「18pt」と属性506の文字スタイルの属性値「bold」で置換する。 For example, if the screen UI component ID 510 is “ELM0001”, since the type 503 is “label” in the record 509 of the screen UI component definition information, the record 1303 of the screen UI component code generation rule corresponds to the record 1303. Of the contents of the generated program code fragment 1302, the attribute parameter “[font size]” and “[character style]” are replaced with the font of the attribute 505 defined in the record 509 of the screen UI component definition information in FIG. The attribute value “18pt” of the size is replaced with the attribute value “bold” of the character style of the attribute 506.

(3)結合点IDエレメントの場合
当該画面に関する画面構成定義情報1105から当該の結合点を結合先とする構造断片の構造断片ID「STR0002」を取得し、取得した構造断片ID「STR0002」をキーに、画面構造断片定義情報記憶部106から、図6の画面構造断片定義情報のレコード604に対応した構造断片定義内容602を取得し、その構造断片定義内容602のXMLデータ(図9の構造断片定義内容から得られるデータ)を取得する。
(3) In the case of the connection point ID element, the structure fragment ID “STR0002” of the structure fragment having the connection point as the connection destination is acquired from the screen configuration definition information 1105 related to the screen, and the acquired structure fragment ID “STR0002” is the key Next, the structure fragment definition content 602 corresponding to the record 604 of the screen structure fragment definition information in FIG. 6 is acquired from the screen structure fragment definition information storage unit 106, and the XML data (structure fragment in FIG. 9) of the structure fragment definition content 602 is obtained. Data obtained from definition contents).

取得したXMLデータの構造断片エレメント直下のグリッドエレメントに対して、当該グリッドエレメントに対応する画面プログラムコードを生成する(S1210)。 For the grid element immediately below the structure fragment element of the acquired XML data, a screen program code corresponding to the grid element is generated (S1210).

次に、列終了コード生成処理では、画面構造断片コード生成規則記憶部110から、種別1401が「列終了」のレコード1408の内容を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈/td〉」を生成する(S1211)。 Next, in the column end code generation process, the content of the record 1408 whose type 1401 is “column end” is acquired from the screen structure fragment code generation rule storage unit 110, and the content code “1” stored in the generated program code fragment 1402 is stored. </ Td> "is generated (S1211).

この後、ループ部分では、グリッドエレメント下の各行エレメントについてループ処理(S1212〜S1214)を行う。 Thereafter, in the loop portion, loop processing (S1212 to S1214) is performed for each row element under the grid element.

行終了コード生成処理では、画面構造断片コード生成規則記憶部110から、種別1401が「行終了」のレコード1406の内容を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈/tr〉」を生成する(S1213)。 In the line end code generation process, the content of the record 1406 whose type 1401 is “line end” is acquired from the screen structure fragment code generation rule storage unit 110, and the code “</ tr” of the content stored in the generated program code fragment 1402 is obtained. > "Is generated (S1213).

次に、グリッド終了コード生成処理では、画面構造断片コード生成規則記憶部110から、種別1401が「グリッド終了」のレコード1404の内容を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈/table〉」を生成する(S1215)。 Next, in the grid end code generation processing, the content of the record 1404 whose type 1401 is “grid end” is acquired from the screen structure fragment code generation rule storage unit 110, and the code “of the content stored in the generated program code fragment 1402“ </ Table> "is generated (S1215).

ステップS1201〜S1215までの処理が完了したら、画面プログラムコード生成部108は、生成された画面プログラムコードを画面プログラムコード記憶部111に記憶する。 When the processing of steps S1201 to S1215 is completed, the screen program code generation unit 108 stores the generated screen program code in the screen program code storage unit 111.

上述したように、複数の画面のうち、例えば、第1の画面に関する画面プログラムコードを生成するに際しては、各画面共通のフレーム部分403の画面構造断片定義情報を参照し、各画面共通のフレーム部分403の構造断片STR0001に関するXMLデータを画面プログラムコードに順次変換し、この過程で、例えば、画面UI要素IDをXMLデータが存在するときには、図5の画面UI部品定義情報を参照し、画面UI部品定義情報に関するXMLデータを画面プログラムコードに順次変換し、結合点IDを示すXMLデータが存在するときには、図11の画面構成定義情報を参照し、第1の画面固有の部分408の構造断片STR0002に関するXMLデータを画面プログラムコードに順次変換し、これらの変換処理が終了した後、各画面共通のフレーム部分403の構造断片STR0001に関するXMLデータを画面プログラムコードに順次変換することになる。   As described above, among the plurality of screens, for example, when generating the screen program code related to the first screen, the screen structure fragment definition information of the frame portion 403 common to each screen is referred to, and the frame portion common to each screen is referred to. XML data related to the structural fragment STR0001 403 is sequentially converted into a screen program code. In this process, for example, when the screen UI element ID includes XML data, the screen UI component definition information in FIG. When the XML data related to the definition information is sequentially converted into the screen program code and there is XML data indicating the coupling point ID, the screen configuration definition information in FIG. 11 is referred to and the structural fragment STR0002 of the first screen specific portion 408 is related. After the XML data is sequentially converted into the screen program code and these conversion processes are completed, the frame portion 403 common to each screen is configured. XML data related to the structure fragment STR0001 is sequentially converted into a screen program code.

本実施例においては、画面仕様定義情報を各記憶部に記憶するに際して、各画面の共通部分に関する画面仕様定義情報のうち、画面UI部品に関するものであれば、画面UI部品定義情報記憶部105に、構造に関するものであれば、画面構造断片定義情報記憶部106に、それぞれ1つの画面仕様定義情報として記憶しているので、定義情報編集部104は、例えば、画面プログラムのエンハンス等の際に、複数画面で共通の画面仕様定義情報を変更する必要が生じ、編集要求元である入力装置102から各画面共通の画面仕様定義情報に関する修正の指示を受けた場合、それぞれ1つの画面仕様定義情報を修正の指示に従って自動で修正することができる。 In the present embodiment, when the screen specification definition information is stored in each storage unit, if the screen specification definition information related to the common part of each screen is related to the screen UI component, the screen UI component definition information storage unit 105 stores the screen specification definition information. Since the screen structure fragment definition information storage unit 106 stores one piece of the screen specification definition information, the definition information editing unit 104, for example, enhances the screen program. When it is necessary to change the screen specification definition information common to a plurality of screens, and when an instruction to modify the screen specification definition information common to each screen is received from the input device 102 that is the editing request source, one piece of screen specification definition information is It can be automatically corrected according to the instruction for correction.

このため、本実施例によれば、画面プログラムのエンハンスを行う際などに、各画面共通部分の仕様を変更する場合、1か所のみ修正すれば済み、各画面共通部分の画面仕様定義情報の一貫性を確保するのに人手を必要としないという利点がある。   Therefore, according to this embodiment, when changing the specifications of each screen common part, for example, when enhancing the screen program, only one place needs to be corrected, and the screen specification definition information of each screen common part is changed. The advantage is that no human intervention is required to ensure consistency.

また、本実施例によれば、2つの画面構造に関する仕様を構造断片の階層的な結合で定義できるため、従来のようなテンプレートで表現できない画面グループごとに異なるフレームを持つケースやフレームが階層的になるケースでも、共通仕様を集約して定義できるという利点がある。 In addition, according to the present embodiment, since specifications relating to two screen structures can be defined by hierarchical combination of structural fragments, cases and frames having different frames for each screen group that cannot be represented by a template as in the past are hierarchical. Even in this case, there is an advantage that common specifications can be defined collectively.

本実施例は、画面の共通的なフレーム構造が画面構造断片定義としてすでに画面構造断片定義情報記憶部105に記憶されているとき、そのフレーム構造に一部適合しない部分構造をもった新たな画面を追加する必要が生じた際に、既存の共通フレーム構造を再構成して、新たな画面の画面仕様定義を追加するものである。 In this embodiment, when a common frame structure of a screen is already stored in the screen structure fragment definition information storage unit 105 as a screen structure fragment definition, a new screen having a partial structure that does not partially match the frame structure When it becomes necessary to re-add, the existing common frame structure is reconfigured and a screen specification definition of a new screen is added.

図15は、本実施例における2つの画面(第1の画面と第2の画面)の構造断片の例を示す。グリッド1501を最上位とする画面構造断片は、各画面の共通フレームである。グリッド1501に属する2つのセル1521、1522のうち上側のセル1521には、グリッド1503が含まれ、下側のセル1522には、グリッド1502が含まれる。グリッド1502に属する2つのセル1523、1524のうち上側のセル1523にはグリッド1504が含まれ、下側のセル1524には結合点1505が含まれる。この結合点1505に、各画面固有(個別)の部分グリッド構造(第1の画面固有の部分グリッド構造または第2の画面固有の部分グリッド構造)が結合する。グリッド1501を最上位とする画面構造断片定義情報は、すでに画面構造断片定義情報記憶部105に記憶されているものとする。 FIG. 15 shows an example of a structural fragment of two screens (first screen and second screen) in the present embodiment. The screen structure fragment having the grid 1501 as the highest level is a common frame of each screen. Of the two cells 1521, 1522 belonging to the grid 1501, the upper cell 1521 includes a grid 1503, and the lower cell 1522 includes a grid 1502. Of the two cells 1523, 1524 belonging to the grid 1502, the upper cell 1523 includes the grid 1504, and the lower cell 1524 includes the connection point 1505. Each screen-specific (individual) partial grid structure (the first screen-specific partial grid structure or the second screen-specific partial grid structure) is connected to the connection point 1505. It is assumed that the screen structure fragment definition information having the grid 1501 as the highest level is already stored in the screen structure fragment definition information storage unit 105.

グリッド1506は、新たに追加される画面の画面構造断片である。グリッド1506、1507、1508は、それぞれ各画面の共通フレームのグリッド1501、1502、1503と同一であり、グリッド1507の上側のセル1533に属するグリッド1509のみが、各画面の共通フレームのグリッド1504と異なっている。 A grid 1506 is a screen structure fragment of a newly added screen. The grids 1506, 1507, and 1508 are the same as the grids 1501, 1502, and 1503 of the common frame of each screen, respectively, and only the grid 1509 that belongs to the cell 1533 above the grid 1507 is different from the grid 1504 of the common frame of each screen. ing.

なお、グリッド1506に属する2つのセル1531、1532のうち上側のセル1531には、グリッド1508が含まれ、下側のセル1532には、グリッド1507が含まれる。グリッド1507に属する2つのセル1533、1534のうち上側のセル1533には、グリッド1509が含まれ、下側のセル1534には、結合点1510が含まれる。 Of the two cells 1531 and 1532 belonging to the grid 1506, the upper cell 1531 includes the grid 1508, and the lower cell 1532 includes the grid 1507. Of the two cells 1533, 1534 belonging to the grid 1507, the upper cell 1533 includes the grid 1509, and the lower cell 1534 includes the connection point 1510.

図16は、既存の共通フレーム構造を再構成して新たな画面の画面仕様定義情報を追加する場合の全体動作の流れを示す。 FIG. 16 shows the flow of the entire operation when reconstructing an existing common frame structure and adding screen specification definition information for a new screen.

まず、定義情報編集部103は、対象構造断片定義の選択処理を実行し、表示装置101と入力装置102を介して、再構成する対象の画面フレーム構造に対応する画面構造断片定義の構造断片ID1101に関する情報を利用者から受け付ける(S1601)。 First, the definition information editing unit 103 executes processing for selecting a target structure fragment definition, and via the display device 101 and the input device 102, the structure fragment ID 1101 of the screen structure fragment definition corresponding to the target screen frame structure to be reconfigured. The information regarding is received from the user (S1601).

次に、定義情報編集部103は、差異グリッドの選択処理を実行し、利用者によって選択された画面フレーム構造と新たに追加する画面のフレーム構造とで異なる部分構造の最上位のグリッドである差異グリッドに関する情報として、例えば、グリッド1504の情報を利用者から受け付ける(S1602)。 Next, the definition information editing unit 103 executes a difference grid selection process, and the difference is a top-level grid having a partial structure that is different between the screen frame structure selected by the user and the frame structure of the newly added screen. As information about the grid, for example, information on the grid 1504 is received from the user (S1602).

次に、画面仕様定義情報再構成部112は、画面構造断片の分割処理を実行し、差異グリッドに関する情報として選択された構造断片IDをキーとして、画面構造断片定義情報を画面構造断片定義情報記憶部106から取得し、以下の手順で構造断片を分割する。 Next, the screen specification definition information reconstructing unit 112 executes a screen structure fragment division process, and stores the screen structure fragment definition information in the screen structure fragment definition information storage using the selected structure fragment ID as information regarding the difference grid. Obtained from the unit 106, the structure fragment is divided by the following procedure.

(1)差異グリッドの親グリッドを最上位とする構造断片定義情報を画面構造断片定義情報記憶部106に新たに追加する。
(2)対象となる構造断片定義情報に関して、差異グリッドの親グリッドを結合点に置換する。
(1) The structure fragment definition information having the highest parent grid of the difference grid is newly added to the screen structure fragment definition information storage unit 106.
(2) For the target structural fragment definition information, replace the parent grid of the difference grid with a connection point.

図17は、図15に示す画面の例に対して、上述の構造断片の分割を実施した場合の例を示す。グリッド1502を最上位とする構造断片は、差異グリッドであるグリッド1504の親グリッド1502を最上位とする構造断片から、新たに追加される構造断片である。グリッド1501を最上位とする構造断片は、差異グリッド1504の親グリッド1502が結合点1505に置換される。 FIG. 17 shows an example in which the above-described structural fragment division is performed on the example of the screen shown in FIG. The structure fragment having the grid 1502 as the highest level is a structure fragment newly added from the structure fragment having the parent grid 1502 as the highest level of the grid 1504 that is the difference grid. In the structural fragment having the grid 1501 as the highest level, the parent grid 1502 of the difference grid 1504 is replaced with the connection point 1505.

次に、画面仕様定義情報再構成部112は、画面構成定義の更新処理を実行し、画面構成定義情報記憶部107に記憶されている画面構成定義情報のうち対象となる画面構造断片定義情報を、参照していた全ての画面構成定義情報に、分割により追加した画面構造断片定義情報を追加する更新を行う(S1604)。 Next, the screen specification definition information reconfiguration unit 112 executes a screen configuration definition update process, and sets target screen structure fragment definition information among the screen configuration definition information stored in the screen configuration definition information storage unit 107. Then, update is performed to add the screen structure fragment definition information added by the division to all the screen configuration definition information referred to (S1604).

図18は、図15に示す画面の例に対して、画面構成定義情報の更新を行った場合の例を示す。図18の(a)に示す画面構成定義情報は、更新前の情報であり、図18の(b)に示す画面構成定義情報は、更新後の情報である。 FIG. 18 shows an example when the screen configuration definition information is updated with respect to the screen example shown in FIG. The screen configuration definition information shown in (a) of FIG. 18 is information before update, and the screen configuration definition information shown in (b) of FIG. 18 is information after update.

図18の(a)に示す更新前の画面構成定義情報において、画面構成定義内容1102の構造断片ID「STR1001」は、グリッド1501を最上位とする構造断片、画面構成定義内容1103の構造断片ID「STR1002」は、画面構成定義内容1103の親構造断片ID「STR1001」に結合点ID「LNK1001」で結合していた別の構造断片である。 In the screen configuration definition information before update shown in FIG. 18A, the structural fragment ID “STR1001” of the screen configuration definition content 1102 is the structural fragment with the grid 1501 as the highest level, and the structural fragment ID of the screen configuration definition content 1103. “STR1002” is another structural fragment that is coupled to the parent structural fragment ID “STR1001” of the screen configuration definition content 1103 by the coupling point ID “LNK1001”.

図18の(b)に示す更新後の画面構成定義情報において、画面構造断片の分割処理で追加された構造断片ID「STR1003」が、画面構成定義情報に追加されている。それに伴い、親構造断片ID「STR1001」の結合点LNK1001に結合する構造断片が、「STR1002」から「STR1003」に更新され、構造断片ID「STR1002」の結合先が、構造断片ID「STR1003」の結合点LNK1001に更新される。また、構造断片ID「STR1002」が、画面構成定義情報に追加されている。それに伴い、親構造断片ID「STR1002」の結合点LNK1001に結合する構造断片として、「STR1003」が追加される。 In the updated screen configuration definition information shown in (b) of FIG. 18, the structure fragment ID “STR1003” added in the screen structure fragment dividing process is added to the screen configuration definition information. Along with this, the structural fragment that is coupled to the coupling point LNK1001 of the parent structural fragment ID “STR1001” is updated from “STR1002” to “STR1003”, and the coupling destination of the structural fragment ID “STR1002” is the structural fragment ID “STR1003”. Updated to join point LNK1001. Further, the structure fragment ID “STR1002” is added to the screen configuration definition information. Along with this, “STR1003” is added as a structural fragment that binds to the binding point LNK1001 of the parent structural fragment ID “STR1002”.

次に、画面仕様定義情報再構成部112は、追加画面の画面仕様の定義処理を実行し、追加する画面の画面仕様定義情報を編集する(S1605)。例えば、図15に示す画面の例では、追加する画面の画面固有部分の構造断片であるグリッド1507を最上位とする構造断片に関する画面構造断片定義情報を画面構造断片定義情報記憶部106に記憶し、グリッド1507を最上位とする構造断片が、グリッド1501を最上位とする構造断片を分割したときの結合点1505に結合するような画面構成定義情報を画面構成定義情報記憶部107に記憶する。 Next, the screen specification definition information reconfiguration unit 112 executes a screen specification definition process for the additional screen, and edits the screen specification definition information for the screen to be added (S1605). For example, in the example of the screen shown in FIG. 15, the screen structure fragment definition information storage unit 106 stores the screen structure fragment definition information related to the structure fragment having the grid 1507 as the structure fragment of the screen-specific portion of the screen to be added. The screen configuration definition information storage unit 107 stores screen configuration definition information such that the structural fragment having the grid 1507 as the highest level is combined with the connection point 1505 when the structural fragment having the grid 1501 as the highest level is divided.

即ち、画面仕様定義情報再構成部112は、新たに追加される画面と各画面共通の部分との差異を示す情報(グリッド1504に関する情報)を基に、各画面共通の画面に属する画面構造断片定義情報を、新たに追加される画面に流用できる部分に関する画面構造断片定義情報(グリッド1501に関する画面構造断片情報)と、新たに追加される画面と各画面共通の部分との差異に関する画面構造断片定義情報(グリッド1504に関する画面構造断片情報)とに分割し、新たに追加される画面に流用できる部分に関する画面構造断片定義情報を、新たに追加される画面固有の画面構造断片定義情報との結合点として、新たに追加される画面に関する画面構成定義情報を画面構成定義情報記憶部107に記憶し、既存の共通フレーム構造の再構成と関連する画面構成定義情報の変更を自動的に実行する。 That is, the screen specification definition information reconfiguration unit 112, based on information (information on the grid 1504) indicating the difference between the newly added screen and the common part of each screen, the screen structure fragment belonging to the common screen. Screen structure fragment definition information (screen structure fragment information related to the grid 1501) relating to a portion where the definition information can be diverted to a newly added screen, and a screen structure fragment relating to a difference between a newly added screen and a common portion of each screen It is divided into definition information (screen structure fragment information related to the grid 1504), and the screen structure fragment definition information related to a portion that can be diverted to a newly added screen is combined with the newly added screen-specific screen structure fragment definition information As a point, the screen configuration definition information related to the newly added screen is stored in the screen configuration definition information storage unit 107, and the existing common frame structure Configured automatically executes changes associated screen configuration definition information.

本実施例によれば、各画面で共通なフレーム構造が画面構造断片定義情報として既に画面構造断片定義情報記憶部106に記憶されている場合、各画面で共通なフレーム構造に一部適合しない部分構造をもった新たな画面を追加する必要が生じた際に、既存の共通フレーム構造の再構成と関連する画面構成定義情報の変更を自動的に行うことができる。 According to the present embodiment, when a frame structure common to each screen is already stored in the screen structure fragment definition information storage unit 106 as screen structure fragment definition information, a portion that does not partially match the frame structure common to each screen When it becomes necessary to add a new screen having a structure, it is possible to automatically change the screen configuration definition information related to the reconfiguration of the existing common frame structure.

このため、本実施例によれば、反復型の開発プロセスのように仕様が当初からすべて明確でなく、後で画面を追加する際に、共通フレームの共通範囲の変更を行うような開発方法でも、全画面の画面仕様定義情報を変更する手戻りが不要であるという利点がある。 For this reason, according to the present embodiment, the specification is not completely clear from the beginning as in an iterative development process, and even when a screen is added later, a development method in which the common range of the common frame is changed is also used. There is an advantage that rework for changing the screen specification definition information of the entire screen is unnecessary.

また、本実施例によれば、フレーム部分に対応する画面共通の構造の仕様定義がなされた状態で、フレーム部分の共通範囲の変更が必要になったとき、定義済みのフレーム部分の共通構造を分割するとともに、そのフレーム部分に関係する定義済みの画面仕様情報を一括して更新できるため、本発明を反復型の開発プロセスに適用しても、共通範囲変更が必要になった際の各画面の仕様定義の修正の手戻りが不要になる利点がある。 In addition, according to the present embodiment, when the specification of the structure common to the screen corresponding to the frame portion is defined and the common range of the frame portion needs to be changed, the common structure of the defined frame portion is changed. As the screen specification information related to the frame part can be updated at once, it is possible to update the screen at once, so even if the present invention is applied to an iterative development process, each screen when a common range change is required There is an advantage that reworking of the revision of the specification definition is unnecessary.

なお、本発明において、画面プログラムコード生成部108は、画面ごとに1つずつのプログラムモジュールとして画面プログラムコードを生成することもできるとともに、画面共通の部分に対応する画面プログラムコードを1つのモジュールに共通化したものとして生成することもできる。即ち、画面プログラムコード生成部108は、画面プログラムコードを、各画面共通の画面プログラムコードと各画面固有の画面プログラムコードに分けて生成することができる。後者の場合、画面プログラムのサイズを、前者に比べて小さくできる為、画面プログラムの実行時のメモリサイズを削減できる利点がある。 In the present invention, the screen program code generation unit 108 can also generate the screen program code as one program module for each screen, and the screen program code corresponding to the common portion of the screen into one module. It can also be generated as a common one. That is, the screen program code generation unit 108 can generate the screen program code by dividing it into a screen program code common to each screen and a screen program code unique to each screen. In the latter case, since the size of the screen program can be made smaller than that of the former, there is an advantage that the memory size when executing the screen program can be reduced.

101 表示装置
102 入力装置
103 画面プログラム生成装置
104 定義情報編集部
105 画面UI部品定義情報記憶部
106 画面構成断片定義情報記憶部
107 画面構成定義情報記憶部
108 画面プログラムコード生成部
109 画面UI部品コード生成規則記憶部
110 画面構造断片コード生成規則記憶部
111 画面プログラムコード記憶部
112 画面仕様定義情報再構成部
DESCRIPTION OF SYMBOLS 101 Display apparatus 102 Input apparatus 103 Screen program generation apparatus 104 Definition information edit part 105 Screen UI component definition information storage part 106 Screen structure fragment definition information storage part 107 Screen structure definition information storage part 108 Screen program code generation part 109 Screen UI part code Generation rule storage unit 110 Screen structure fragment code generation rule storage unit 111 Screen program code storage unit 112 Screen specification definition information reconfiguration unit

Claims (5)

複数の表示領域と前記いずれかの表示領域内に配置される画面ユーザインタフェース部品を構成要素とする複数の画面を構成するための画面プログラムを生成する画面プログラム生成装置であって、
前記画面ユーザインタフェース部品に関する画面仕様定義情報である画面ユーザインタフェース部品定義情報を、前記各画面固有の画面ユーザインタフェース部品定義情報と前記各画面共通の画面ユーザインタフェース部品定義情報に区別して記憶する画面ユーザインタフェース部品定義情報記憶部と、
前記各画面の構成に関する画面仕様定義情報であって、前記各画面固有の部分と前記各画面共通の部分との結合点に関する情報を含む画面構成定義情報を記憶する画面構成定義情報記憶部と、
前記各画面の部分階層構造を示す構造断片に関する画面仕様定義情報である画面構造断片定義情報を、前記各画面固有の画面構造断片定義情報と前記各画面共通の画面構造断片定義情報に区別して記憶するとともに、前記画面ユーザインタフェース部品定義情報と前記画面構成定義情報に関連付けて記憶する画面構造断片定義情報記憶部と、
前記各記憶部に記憶された画面仕様定義情報を編集する定義情報編集部と、を有することを特徴とする画面プログラム生成装置。
A screen program generation device for generating a screen program for configuring a plurality of screens having a plurality of display areas and screen user interface components arranged in any one of the display areas as components,
A screen user that stores screen user interface component definition information, which is screen specification definition information related to the screen user interface component, separately into screen user interface component definition information unique to each screen and screen user interface component definition information common to each screen An interface component definition information storage unit;
Screen configuration definition information related to the configuration of each screen, a screen configuration definition information storage unit that stores screen configuration definition information including information about a connection point between a part unique to each screen and a part common to each screen;
Screen structure fragment definition information, which is screen specification definition information related to a structure fragment indicating a partial hierarchical structure of each screen, is stored separately in screen structure fragment definition information unique to each screen and screen structure fragment definition information common to each screen. And a screen structure fragment definition information storage unit for storing the screen user interface component definition information and the screen configuration definition information in association with each other;
And a definition information editing unit that edits the screen specification definition information stored in each storage unit.
請求項1に記載の画面プログラム生成装置において、
前記画面ユーザインタフェース部品定義情報記憶部は、前記各画面共通の画面ユーザインタフェース部品定義情報を1つの画面ユーザインタフェース部品定義情報として記憶し、
前記画面構造断片定義情報記憶部は、前記各画面共通の画面構造断片定義情報を1つの画面構造断片定義情報として記憶してなることを特徴とする画面プログラム生成装置。
The screen program generation device according to claim 1,
The screen user interface component definition information storage unit stores screen user interface component definition information common to the screens as one screen user interface component definition information,
The screen structure fragment definition information storage unit stores screen structure fragment definition information common to the screens as one screen structure fragment definition information.
請求項2に記載の画面プログラム生成装置において、
前記定義情報編集部は、編集要求元から前記各画面共通の仕様定義情報に関する修正の指示を受けた場合、前記1つの画面ユーザインタフェース部品定義情報と前記1つの画面構造断片定義情報をそれぞれ前記修正の指示に従って修正してなることを特徴とする画面プログラム生成装置。
The screen program generation device according to claim 2,
When the definition information editing unit receives an instruction to modify the specification definition information common to each screen from an editing request source, the one screen user interface component definition information and the one screen structure fragment definition information are respectively modified. A screen program generation device, wherein the screen program generation device is modified according to the instructions.
請求項1に記載の画面プログラム生成装置において、
前記画面構造断片定義情報記憶部に記憶された画面構造断片定義情報と画面ユーザインタフェース部品定義情報記憶部に記憶された画面ユーザインタフェース部品定義情報をそれぞれコード生成規則に従ってコードに変換して画面プログラムコードを生成する画面プログラムコード生成部を有し、
前記画面プログラムコード生成部は、前記画面プログラムコードを、前記各画面共通の画面プログラムコードと前記各画面固有の画面プログラムコードに分けて生成してなることを特徴とする画面プログラム生成装置。
The screen program generation device according to claim 1,
Screen program code by converting the screen structure fragment definition information stored in the screen structure fragment definition information storage unit and the screen user interface component definition information stored in the screen user interface component definition information storage unit into codes according to the code generation rules, respectively. A screen program code generation unit for generating
The screen program code generation unit is characterized in that the screen program code is generated by dividing the screen program code into a screen program code common to each screen and a screen program code unique to each screen.
請求項1に記載の画面プログラム生成装置において、
新たに追加される画面に関する画面仕様定義情報を再構成する画面仕様定義情報再構成部を有し、
前記画面仕様定義情報再構成部は、前記新たに追加される画面と前記各画面共通の部分との差異を示す情報を基に前記複数の画面のうち何れか1つの画面に属する前記画面構造断片定義情報を、前記新たに追加される画面に流用できる部分に関する画面構造断片定義情報と前記差異に関する画面構造断片定義情報とに分割し、前記新たに追加される画面に流用できる部分に関する画面構造断片定義情報を、前記新たに追加される画面固有の画面構造断片定義情報との結合点として、前記新たに追加される画面に関する画面構成定義情報を前記画面構成定義情報記憶部に記憶してなることを特徴とする画面プログラム生成装置。
The screen program generation device according to claim 1,
It has a screen specification definition information reconfiguration unit that reconfigures screen specification definition information related to newly added screens,
The screen specification definition information reconfiguring unit, the screen structure fragment belonging to any one of the plurality of screens based on information indicating a difference between the newly added screen and a common portion of each screen The screen structure fragment relating to the part that can be diverted to the newly added screen by dividing the definition information into the screen structure fragment definition information relating to the part that can be diverted to the newly added screen and the screen structure fragment definition information relating to the difference The screen configuration definition information storage unit stores the screen configuration definition information related to the newly added screen as a coupling point with the screen structure fragment definition information unique to the newly added screen. A screen program generation device characterized by the above.
JP2010110798A 2010-05-13 2010-05-13 Screen program generation device Pending JP2011238151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010110798A JP2011238151A (en) 2010-05-13 2010-05-13 Screen program generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010110798A JP2011238151A (en) 2010-05-13 2010-05-13 Screen program generation device

Publications (1)

Publication Number Publication Date
JP2011238151A true JP2011238151A (en) 2011-11-24

Family

ID=45326038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010110798A Pending JP2011238151A (en) 2010-05-13 2010-05-13 Screen program generation device

Country Status (1)

Country Link
JP (1) JP2011238151A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077124A (en) * 2013-03-27 2014-10-01 株式会社捷太格特 Screen definition device for operating panel
KR101489762B1 (en) 2012-10-15 2015-02-04 삼성에스디에스 주식회사 System and method for constructing layout
JP2015038669A (en) * 2012-09-25 2015-02-26 株式会社東芝 Screen specification data generation device and program
JP2016019717A (en) * 2014-06-20 2016-02-04 株式会社スクウェア・エニックス Game program, game execution method, and game system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015038669A (en) * 2012-09-25 2015-02-26 株式会社東芝 Screen specification data generation device and program
KR101489762B1 (en) 2012-10-15 2015-02-04 삼성에스디에스 주식회사 System and method for constructing layout
CN104077124A (en) * 2013-03-27 2014-10-01 株式会社捷太格特 Screen definition device for operating panel
US20140298225A1 (en) * 2013-03-27 2014-10-02 Jtekt Corporation Screen definition device for operating panel
JP2014191566A (en) * 2013-03-27 2014-10-06 Jtekt Corp Screen definition device of operation panel
EP2808765A1 (en) * 2013-03-27 2014-12-03 Jtekt Corporation Screen definition device for operating panel
US9830053B2 (en) 2013-03-27 2017-11-28 Jtekt Corporation Screen definition device for operating panel
JP2016019717A (en) * 2014-06-20 2016-02-04 株式会社スクウェア・エニックス Game program, game execution method, and game system

Similar Documents

Publication Publication Date Title
US8464229B2 (en) Creation of form-based software application in a graphical user interface (GUI) environment
US8549353B2 (en) Batch processing error handling modes
US8683431B2 (en) Applying rules to data
US9678719B1 (en) System and software for creation and modification of software
CN104424338B (en) The automatically generating device and automatic generation method of web system
US20110161916A1 (en) Transformation of data between hierarchical data formats
US20160170719A1 (en) Software database system and process of building and operating the same
KR101572509B1 (en) the operating method of user interface framework for web-based application construction
US8140894B2 (en) Transaction regions in graphical computer-implemented methods of processing data
WO2004086222A2 (en) Development of software systems
JP5005510B2 (en) Software design support method, design support apparatus, and design support program
JP4613214B2 (en) Software automatic configuration device
US20080028328A1 (en) System and method to dynamically change object data patterns
US8732596B2 (en) Transformation of hierarchical data formats using graphical rules
CN101799754A (en) Method and system for developing web application
US20110161917A1 (en) Processing collections of data items
EP1895407A1 (en) HMI development support apparatus, HMI development support method and HMI development support program
JP2011238151A (en) Screen program generation device
US20110161934A1 (en) Generating and monitoring data items
Cicchetti et al. Supporting incremental synchronization in hybrid multi-view modelling
JP2001325098A (en) Method for preparing application program method for operating database, method for managing item object, method for controlling module operation and computer- readable recording medium recorded with program for realizing operation, management and control methods
US20100011018A1 (en) Custom database system and method of building the same
JP4629183B2 (en) Requirement specification description support apparatus and method, and recording medium
JP4686117B2 (en) Source code conversion apparatus, source code conversion method, and program
Elodie et al. Lightweight model-based testing for enterprise IT