JP2008310605A - Information processor, information processing method, program, and recording medium - Google Patents
Information processor, information processing method, program, and recording medium Download PDFInfo
- Publication number
- JP2008310605A JP2008310605A JP2007158066A JP2007158066A JP2008310605A JP 2008310605 A JP2008310605 A JP 2008310605A JP 2007158066 A JP2007158066 A JP 2007158066A JP 2007158066 A JP2007158066 A JP 2007158066A JP 2008310605 A JP2008310605 A JP 2008310605A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- information
- output information
- partial
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、設計情報に基づいてプログラムを生成する情報処理装置および情報処理方法およびプログラムおよび記録媒体に関する。 The present invention relates to an information processing apparatus, an information processing method, a program, and a recording medium that generate a program based on design information.
従来より、画面上に配置される項目を定義した設計情報に基づいてプログラムを生成する情報処理装置がある(特許文献1)。このような情報処理装置では、データベース(DB)と結びついて動作するプログラムを生成可能である。 Conventionally, there is an information processing apparatus that generates a program based on design information that defines items to be arranged on a screen (Patent Document 1). Such an information processing apparatus can generate a program that operates in conjunction with a database (DB).
また、一般的に、DBシステムではDBの中に複数のテーブルがあり、テーブル間で共通項目の定義があることがよくある(例えば、更新者、更新日等の項目)。
しかし、画面からの入力をDBに反映させるようなアプリケーションの場合、画面の項目とDBのテーブルのカラムは、1対1になっている必要があるため、それぞれの画面に重複する定義(例;更新者、更新日)が必要となる。 However, in the case of an application in which input from the screen is reflected in the DB, the screen item and the DB table column need to be in a one-to-one relationship. Updater, update date) is required.
従来の情報処理装置では、複数の画面で重複する項目の定義を、画面毎にそれぞれ行う必要があり非常に煩雑であった。 In the conventional information processing apparatus, it is necessary to define items that overlap in a plurality of screens for each screen, which is very complicated.
なお、一般的に、アプリケーション開発では、画面の共通な項目を部品化して、アプリケーション開発における品質と生産性の向上を図ることが行われている。(例.JSPのINCLUDE等)(http://java.sun.com/products/jsp/tags/11/syntaxref117.html#8772参照)
しかし、画面の入力形態で一覧を使用するような場合、一覧の中の一部の項目を部品化する手法を情報処理装置に組み込むことは困難であった。例えば一覧を表示する場合、テーブルの一行毎の項目全てで一塊の表示処理をする必要があるが、他の一覧での共通項目(例:更新者、更新日)を利用したい場合でも、一覧毎に対応するデータベースが異なる為、JSPのINCLUDEは利用出来ない。
In general, in application development, common items on the screen are divided into parts to improve quality and productivity in application development. (Example: JSP INCLUDE, etc.) (See http://java.sun.com/products/jsp/tags/11/syntaxref117.html#8772)
However, when a list is used in the input form of the screen, it is difficult to incorporate a technique for converting some items in the list into parts into the information processing apparatus. For example, when displaying a list, it is necessary to perform a lump display process for all the items in each row of the table. JSP INCLUDE cannot be used because of different databases.
このような状況のため、従来の情報処理装置では、複数の画面で重複する項目の定義も、画面毎にそれぞれ行うといった煩雑な項目定義作業をユーザに強制していた。 In such a situation, the conventional information processing apparatus forces a user to perform complicated item definition work such as defining items that overlap each other on each screen.
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、プログラムの設計情報として、同じ項目をもつ別のDBテーブルに対応する画面を複数定義する場合におけるユーザの項目定義作業を軽減可能な仕組を提供することである。 The present invention has been made to solve the above-described problems, and an object of the present invention is to define a plurality of screens corresponding to different DB tables having the same items as program design information. It is to provide a mechanism that can reduce item definition work.
本発明は、入出力情報に基づいてプログラムを生成する情報処理装置において、プログラムの設計情報として入力される、画面上に配置する項目を定義する複数の前記入出力情報と、前記いずれかの入出力情報に対して該入出力情報の部分入出力として他の入出力情報の項目を定義する1又は複数の部分入出力定義情報とを記憶する記憶手段と、前記部分入出力が定義されている入出力情報に対して、該部分入出力として定義された入出力情報の項目を合成処理する合成手段と、前記合成手段により合成された入出力情報に基づいてプログラムを生成する生成手段とを有することを特徴とする。 The present invention provides an information processing apparatus that generates a program based on input / output information, a plurality of the input / output information defining items to be arranged on a screen, which are input as program design information, and any one of the input information. Storage means for storing one or a plurality of partial input / output definition information for defining items of other input / output information as partial input / output of the input / output information for the output information, and the partial input / output are defined Combining means for synthesizing input / output information items defined as partial input / output with respect to the input / output information, and generating means for generating a program based on the input / output information synthesized by the combining means It is characterized by that.
本発明によれば、プログラムの設計情報として同じ項目をもつ別のDBテーブルに対応する画面を複数定義する場合のユーザの項目定義作業を軽減させることができる。従って、画面毎にそれぞれ重複した定義を行うといった煩雑な項目定義作業の発生を防止することができる等の効果を奏する。 According to the present invention, it is possible to reduce the user's item definition work when defining a plurality of screens corresponding to different DB tables having the same item as program design information. Therefore, there is an effect that it is possible to prevent the occurrence of complicated item definition work such as defining definitions for each screen.
〔第1実施形態〕
以下、図面を用いて詳細に説明する。
[First Embodiment]
Hereinafter, it explains in detail using a drawing.
図1は、本発明の一実施形態を示す情報処理装置の構成を示すブロック図である。 FIG. 1 is a block diagram showing a configuration of an information processing apparatus showing an embodiment of the present invention.
図1において、100は本発明の情報処理装置としてのコンピュータである。103はコンピュータ本体である。101はキーボード,ポインティングデバイス(マウス等)の入力装置である。102はCRTディスプレイや液晶ディスプレイ等の表示装置である。104はハードディスクドライブ(HDD)等の外部記憶装置である。
In FIG. 1,
図1に示すように、ユーザは入力装置101より、表示装置102に表示された画面を通じてコンピュータ本体103に対してプログラム自動生成命令を発行すると、コンピュータ103は、全体制御部105で自動生成処理を行う。以下、詳細に説明する。
As shown in FIG. 1, when the user issues an automatic program generation command to the computer
まず、入力装置101からプログラムの設計情報としてのユーザ定義情報109の入力指示があると、全体制御部105は、入力装置101を介して入力されるユーザ定義情報を外部記憶装置104に格納しておく。
First, when there is an input instruction of
また、入力装置101からプログラム自動生成命令を受けた画面制御部106は、入出力情報合成部107に処理を委譲する。
In addition, the
入出力情報合成部107は、あらかじめユーザが定義していたユーザ定義情報群109に基づいて入出力定義情報群112を生成する。
The input / output
ユーザ定義情報群109は、プログラムの設計情報であり、入出力情報群110と部分入出力定義情報群111から構成される。入力情報群110は、画面毎の入出力情報(例えば図4)と複数の画面で共通部分となる部分入出力情報(例えば図6)の集合を示す。また、部分入出力定義情報群111は、入出力情報毎の部分入出力定義情報の集合を示す。なお、入出力情報と対応する部分入出力定義情報との紐付けは、それぞれ名称(例えば、ファイル名)等で行うものとする。
The user
即ち、入出力情報合成部107は、入出力情報群110内の或る入出力情報(例えば図4)に部分入出力定義情報(図5)が定義されていた場合、該部分入出力定義情報で定義された入出力情報の挿入位置に、他の入出力情報(部分入出力情報(図6))を挿入(合成)して入出力定義情報を作成する。
That is, if the partial input / output definition information (FIG. 5) is defined in certain input / output information (for example, FIG. 4) in the input /
次に、アプリケーション生成部108は、予め作成されて外部記憶装置104に格納されるテンプレート(不図示)に、入出力情報合成部107にて作成されて外部記憶装置104に格納される入出力定義情報群112の各入出力定義情報を適用し、アプリケーションプログラム113を生成し、外部記憶装置104に格納する。なお、上記テンプレートとは、アプリケーションプログラムを生成のためのテンプレート(ひな形)としての役割を持ち、具体的なデータはまだ変数化されている。即ち、アプリケーション生成部108、テンプレートの変数部分に入出力定義情報で定義された情報を組み込んでアプリケーションプログラムを生成する。
Next, the
なお、アプリケーション生成部108による情報処理処理の詳細は、省略する(図1点線枠)。
Details of the information processing by the
次に、図2を参照して、図1に示した情報処理装置としてのコンピュータ100のハードウェア構成について説明する。
Next, the hardware configuration of the
図2は、図1に示した情報処理装置としてのコンピュータ100のハードウェア構成を示すブロック図であり、図1と同一のものには同一の符号を付してある。
2 is a block diagram showing a hardware configuration of the
図2において、201はCPU(中央演算処理装置)201であり、ROM203或いは外部記憶装置104に記憶されている制御プログラムに基づいて、システムバスに接続されている各種デバイスとのアクセスを総括的に制御する構成となっている。
In FIG. 2,
システムバスには、CPU201の主メモリ、ワークエリア等として機能するRAM(ランダム・アクセス・メモリ)202が接続されている。ROM203或いは外部記憶装置104には、CPU201の制御プログラムであるBIOS(BaSic Input / Output SyStem)やオペレーティングシステム(以下、「OS」という。)プログラム、コンピュータ103が実行する処理を実現するために必要な各種プログラム等が記憶されている。
Connected to the system bus is a RAM (Random Access Memory) 202 that functions as the main memory, work area, and the like of the
CPU201は、処理の実行に際して必要な各種プログラム等をRAM202にロードして、当該プログラム等を実行することで図1に示した全体制御部105の機能及び各種動作を実現するものである。
The
外部記憶装置104は、上述した各種プログラムとして、図示しないブートプログラム、各種アプリケーションプログラム、フォントデータ、ユーザーファイル等を記憶する。
The
CPU201は、例えば、RAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、表示装置102上でWYSIWYGを可能としている。また、CPU201は、表示装置102上のマウスカーソル(不図示)等で指示されたコマンドに基づいて、登録された種々なウィンドウを開き、種々のデータ処理を実行する。
For example, the
以下、図3〜図8を参照して、図1で示した入出力情報合成部107で行われる入出力情報合成処理について説明する。
Hereinafter, the input / output information combining process performed by the input / output
図3は、本発明における第1の制御処理手順の一例を示すフローチャートであり、図1で示した入出力情報合成部107で行われる入出力情報合成処理に対応する。なお、このフローチャートの処理は、図2に示したCPU201が外部記憶装置104に格納されたプログラムをRAM202に読み出して実行するプログラム生成部107により実現される。なお、図中、S301〜S309は各ステップを示す。
FIG. 3 is a flowchart showing an example of a first control processing procedure according to the present invention, and corresponds to the input / output information combining process performed by the input / output
なお、図3のフローチャートの説明を行う前に、図4〜図6を参照して、入出力情報,部分入出力定義情報,部分入出力情報について説明する。 Prior to the description of the flowchart of FIG. 3, input / output information, partial input / output definition information, and partial input / output information will be described with reference to FIGS. 4 to 6.
図4は、図1に示した入出力情報群110に含まれる入出力情報の一例を示す図である。
FIG. 4 is a diagram illustrating an example of input / output information included in the input /
図4に示すように、入出力情報は、画面上に配置する項目を定義したものであり、項目タイプ,項目コード,名前,表示,レベル,桁数,小数桁,次入出力,データモデルコード,データモデル項目コード等で構成される。なお、入出力情報の1レコードで1項目が定義される。 As shown in FIG. 4, the input / output information defines items to be placed on the screen, and includes item type, item code, name, display, level, number of digits, decimal digits, next input / output, and data model code. It consists of data model item codes and so on. One item is defined by one record of input / output information.
なお、項目タイプ401に"Gグループ","GEグループエンド"が定義されている場合、"Gグループ"から"GEグループエンド"までの項目が一覧として生成される。
When “G group” and “GE group end” are defined in the
また、データモデルコード404,データモデル項目コード405は、項目に対応して入出力されるデータの登録先となるデータベースのテーブル名,テーブル内の項目名を示すものとする。
Further, the
図5は、図1に示した部分入出力定義情報群111に含まれる部分入出力定義情報の一例を示す図であり、特に図4に示した入出力情報に対応するものを示す。
FIG. 5 is a diagram showing an example of partial input / output definition information included in the partial input / output
図5に示すように、部分入出力定義情報は、入出力情報(図4)に対して該入出力情報の部分入出力として他の入出力情報の項目を定義したものであり、入出力コード500,定義位置501,データモデルコード502から構成される。
As shown in FIG. 5, the partial input / output definition information defines other input / output information items as partial input / output information for the input / output information (FIG. 4). 500, a
入出力コード500は、入出力情報に挿入(合成)する部分入出力情報を特定するものであり、部分入出力情報名(例えばファイル名)、項目名(複数可)で構成される。503,504に示した例では、いずれも後述する図6(ファイル名;IOP1)の601と602で示す部分入出力情報が挿入される。
The input /
定義位置501は、部分入出力情報を挿入(合成)する位置を示す。本実施形態では、定義位置501で示された項目コード(図4の402に対応),項目名(図4の403に対応)によって特定される項目の次の順序の項目として部分入出力情報を挿入するものとする。例えば、503で指定される部分入出力情報は、図4の406に示す項目の次に挿入されることになる。504で指定される部分入出力情報は、図4の407に示す項目の次に挿入されることになる。
The
データモデルコード502は、データモデルコード502は、部分入出力情報を入出力情報に挿入(合成)する際に使用するデータベースのテーブル名を示す。即ち、データモデルコード502は、当該部分入出力定義情報に基づいて項目が合成された場合、当該合成された項目に対応して入出力されるデータの登録先となるデータベースのテーブル情報を示す。
The
なお、本実施形態では、図4に示す入出力情報(ファイル名;GAMEN1)と図5に示す部分入出力定義情報(ファイル名;GAMEN1_PD)とは、ファイル名に含まれる文字列"GAMEN1"で紐付けられている。 In the present embodiment, the input / output information (file name; GAMEN1) shown in FIG. 4 and the partial input / output definition information (file name; GAMEN1_PD) shown in FIG. 5 are the character string “GAMEN1” included in the file name. It is tied.
図6は、図1に示した入出力情報群110に含まれる部分入出力情報の一例を示す図である。
FIG. 6 is a diagram illustrating an example of partial input / output information included in the input /
部分入出力情報も入出力情報であるので、図6に示すように、図5に示した入出力情報と同一の構成となっている。 Since the partial input / output information is also input / output information, as shown in FIG. 6, it has the same configuration as the input / output information shown in FIG.
以下、図3のフローチャートの説明を行う。 Hereinafter, the flowchart of FIG. 3 will be described.
まず、入力装置101から入力されるプログラム自動生成命令の指示を受けると、全体制御部105内の画面制御部106は、入出力情報合成部107に処理を委譲し、ステップS300に処理を進める。
First, upon receiving an instruction of an automatic program generation command input from the
ステップS300では、入出力情報合成部107は、まず外部記憶装置104の入出力定義情報群110から入出力情報(例えば図4)を読み込み、これをRAM202に保管する。
In step S <b> 300, the input / output
次にステップS301において、入出力情報合成部107は、ステップS301で読み込んだ入出力情報に部分入出力が定義されているか否を判定する。詳細には、入出力情報合成部107は、入出力情報に紐付けられた部分入出力定義情報が部分入出力定義情報群111内に存在する場合に部分入出力が定義されていると判定する。一方、入出力情報合成部107は、入出力情報に紐付けられた部分入出力定義情報が部分入出力定義情報群111内に存在しない場合に部分入出力が定義されていないと判定する。
In step S301, the input / output
ステップS301で部分入出力がないと判定した場合には、入出力情報合成部107は、ステップS309において、入出力情報110をそのまま入出力定義情報として外部記憶装置104(入出力定義情報群112)に出力し、本フローチャートの処理を終了する。
When it is determined in step S301 that there is no partial input / output, in step S309, the input / output
一方、ステップS301で部分入出力があると判定した場合には、入出力情報合成部107は、ステップS302に処理を進める。
On the other hand, if it is determined in step S301 that there is partial input / output, the input / output
ステップS302では、入出力情報合成部107は、部分入出力定義情報群112からS300で読み込んだ入出力情報に対応する部分入出力情報(図5)から1レコード読み込み(現在の部分入出力定義と呼ぶ)をRAM202に格納する。
In step S302, the input / output
さらに、ステップS303において、入出力情報合成部107は、現在の部分入出力定義の入出力コード500に対応する部分入出力情報(図6)をRAM202に読み込む。
Further, in step S303, the input / output
次に、ステップS304において、入出力情報合成部107は、現在の部分入出力定義の定義位置情報501に基づいて、S300で読み込んだ入出力情報のどの位置に部分入出力情報を挿入するかを計算する。即ち、入出力情報合成部107は、定義位置情報501にて指定された項目名の次の位置の順番を挿入位置として計算する。
Next, in step S304, the input / output
次に、ステップS305において、入出力情報合成部107は、現在の部分入出力定義のデータモデルコード502にデータモデル指定があるか否かを判定する。
In step S305, the input / output
そして、ステップS305で、現在の部分入出力定義のデータモデルコード502にデータモデル指定があると判定した場合には、入出力情報合成部107は、ステップS306に処理を進める。
If it is determined in step S305 that a data model is specified in the
ステップS306では、入出力情報合成部107は、S303でRAM202に読み込んである部分入出力情報のデータモデルコード600を指定データモデルコード(現在の部分入出力定義のデータモデルコード502)で置換し、ステップS307に処理を進める。
In step S306, the input / output
一方、ステップS305で、現在の部分入出力定義のデータモデルコード502にデータモデル指定がないと判定した場合には、入出力情報合成部107は、そのままステップS307に処理を進める。
On the other hand, if it is determined in step S305 that no data model is specified in the
ステップS307では、入出力情報合成部107は、S300で読み込んである入出力情報(図4)のS304で計算した挿入位置に、RAM202内の部分入出力情報を挿入(合成)する。
In step S307, the input / output
次に、ステップS308において、入出力情報合成部107は、S302で読み込んだ部分入出力定義情報(図5)内の全ての部分入出力定義(レコード)について処理(S302〜S307)を終了したか否かを判定する。
Next, in step S308, has the input / output
そして、ステップS308で、まだ全ての部分入出力定義情報(レコード)について処理を終了していないと判定した場合には、入出力情報合成部107は、ステップS302に処理を戻し、次の部分入出力定義を処理する。即ち、複数の部分入出力が定義されている場合は、定義されている個数分S302〜S307の処理を繰り返す。
If it is determined in step S308 that the processing has not been completed for all the partial input / output definition information (records), the input / output
一方、ステップS308で、全ての部分入出力定義情報(レコード)について処理を終了したと判定した場合には、入出力情報合成部107は、ステップS309に処理を進める。
On the other hand, if it is determined in step S308 that the process has been completed for all partial input / output definition information (records), the input / output
ステップS309では、入出力情報合成部107は、RAM202上に保持された入出力情報110(合成済)を入出力定義情報として外部記憶装置104(入出力定義情報群112)に出力する。
In step S309, the input / output
図7は、部分入出力定義情報(図5)に基づいて入出力情報(図4)に部分入出力情報(図6)を合成した入出力定義情報の一例を示す図である。 FIG. 7 is a diagram showing an example of the input / output definition information obtained by combining the partial input / output information (FIG. 6) with the input / output information (FIG. 4) based on the partial input / output definition information (FIG. 5).
図7において、701は、図5の部分入出力定義503に基づいて図6の部分入出力601,602が挿入された部分入出力情報に対応する。なお、701では、部分入出力定義503にデータモデル"URIAGE売り上げ"が指定されているため、703に示すように、部分入出力601,602のデータモデル"SHIIRE仕入れ"がデータモデル"URIAGE売り上げ"に置換されている。 7, 701 corresponds to the partial input / output information in which the partial input / outputs 601 and 602 in FIG. 6 are inserted based on the partial input / output definition 503 in FIG. In 701, since the data model “URIAGE sales” is specified in the partial input / output definition 503, as shown in 703, the data model “SHIIRE purchase” of the partial input / output 601 and 602 is the data model “URIAGE sales”. Has been replaced.
また、702は、図5の部分入出力定義504に基づいて図6の部分入出力601,602が挿入された部分入出力情報に対応する。なお、702では、部分入出力定義504にデータモデルが指定されていないため、704に示すように、部分入出力601,602のデータモデル"SHIIRE仕入れ"がそのまま使用されている。 702 corresponds to the partial input / output information in which the partial input / outputs 601 and 602 in FIG. 6 are inserted based on the partial input / output definition 504 in FIG. In 702, since the data model is not specified in the partial input / output definition 504, as shown in 704, the data model “SHIIRE purchase” of the partial input / output 601 and 602 is used as it is.
図8は、アプリケーション生成部108が図7に示した入出力定義情報に基づいて生成したアプリケーションプログラムの実行時に表示される画面の一例を示す図である。
FIG. 8 is a diagram illustrating an example of a screen displayed when the
なお、入出力情報合成部107は、図3のフローチャートの処理を、入出力情報群110内の全ての入出力情報に対して実行し、アプリケーション生成部108に処理を委譲する。これを受けて、アプリケーション生成部108では、プア理ケーション生成処理を実行する。
The input / output
なお、本実施形態では、部分入出力情報を挿入する位置を、定義位置501によって特定される項目の次の順序の項目とする構成としているが、部分入出力情報の挿入位置の指定は、これに限られるものではない。例えば、定義位置501によって特定される項目のからの相対位置で指定するように構成してもよい。例えば、定義位置501によって特定される項目の「2つ後」や「3つ前」と指定するようにしてもよい。また、絶対位置で指定するように構成してもよい。例えば、「先頭」、「先頭から3番目」、「最後尾」、「最後尾から2つ前」等と指定してもよい。
In this embodiment, the position where the partial input / output information is inserted is set as an item in the next order of the item specified by the
また、上述したように部分入出力情報も入出力情報であるので、部分入出力情報にさらに部分入出力を定義してもよい。このように部分入出力を何重にも入れ子式に定義してもよい。この場合、図3のフローチャートには示していないが、ステップS303の部分入出力情報を読み取る処理として、該部分入出力情報に対してステップS300〜S809を実行するように構成する。以下、より具体的に説明する。 Since the partial input / output information is also input / output information as described above, partial input / output may be further defined in the partial input / output information. In this way, partial input / output may be defined in a nested manner. In this case, although not shown in the flowchart of FIG. 3, as a process of reading the partial input / output information in step S303, steps S300 to S809 are executed on the partial input / output information. More specific description will be given below.
例えば、入出力情報Aの部分入出力として部分入出力情報Bが定義され、さらに、部分入出力情報Bの部分入出力として部分入出力情報Cが定義され、さらに、部分入出力情報Cの部分入出力として部分入出力情報Dが定義されていた場合について説明する。この場合、ステップS302で部分入出力情報Bを読み取る際に、部分入出力情報Bに対してS300〜S308を実行する(処理1)。さらに、この処理1のS302で部分入出力情報Cを読み取る際にも、部分入出力情報Cに対してS300〜S308を実行する(処理2)。
For example, the partial input / output information B is defined as the partial input / output information A, the partial input / output information C is defined as the partial input / output information B, and the partial input / output information C A case where partial input / output information D is defined as input / output will be described. In this case, when reading the partial input / output information B in step S302, S300 to S308 are executed for the partial input / output information B (processing 1). Further, when the partial input / output information C is read in S302 of the
即ち、まず、部分入出力情報Cに部分入出力情報Dを挿入(合成)し、そして、合成済の部分入出力情報Cを部分入出力情報Bに挿入(合成)し、さらに、合成済の部分入出力情報Bを入出力情報Aに挿入(合成)するようにする。 That is, first, the partial input / output information D is inserted (synthesized) into the partial input / output information C, and the combined partial input / output information C is inserted (synthesized) into the partial input / output information B. Partial input / output information B is inserted (synthesized) into input / output information A.
このように、何重にも入れ子になっている場合には、下位の入出力情報の合成(挿入)を終了した上で、上位の入出力情報への合成(挿入)を行うように構成する。 As described above, when multiple nestings are performed, the composition (insertion) to the higher-order input / output information is performed after the composition (insertion) of the lower-order input / output information is finished. .
以上説明したように、本発明によれば、プログラムの設計情報として同じ項目をもつ別のDBテーブルに対応する画面を複数定義する場合のユーザの項目定義作業を軽減させることができる。従って、画面毎にそれぞれ重複した定義を行うといった煩雑な項目定義作業の発生を防止することができる等の効果を奏する。 As described above, according to the present invention, it is possible to reduce the user's item definition work when defining a plurality of screens corresponding to different DB tables having the same item as program design information. Therefore, there is an effect that it is possible to prevent the occurrence of complicated item definition work such as defining definitions for each screen.
なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。 It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。 Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or recording medium, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device.
以下、図9に示すメモリマップを参照して本発明に係る情報処理装置で読み取り可能なプログラムの構成について説明する。 Hereinafter, the configuration of a program readable by the information processing apparatus according to the present invention will be described with reference to the memory map shown in FIG.
図9は、本発明に係る情報処理装置で読み取り可能なプログラムを格納する記録媒体(記憶媒体)のメモリマップを説明する図である。 FIG. 9 is a diagram illustrating a memory map of a recording medium (storage medium) that stores a program readable by the information processing apparatus according to the present invention.
なお、特に図示しないが、記録媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。 Although not specifically shown, information for managing a program group stored in the recording medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、インストールするプログラムやデータが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。 Further, data depending on various programs is also managed in the directory. In addition, when a program or data to be installed is compressed, a program to be decompressed may be stored.
本実施形態における図3に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記録媒体により、あるいはネットワークを介して外部の記録媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。 The functions shown in FIG. 3 in this embodiment may be performed by the host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a recording medium such as a CD-ROM, a flash memory, or an FD, or from an external recording medium via a network. Is.
以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 As described above, a recording medium in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the program code.
この場合、記録媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。 In this case, the program code itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program code constitutes the present invention.
プログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,DVD−ROM,磁気テープ,不揮発性のメモリカード,ROM,EEPROM,シリコンディスク等を用いることができる。 As a recording medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, A silicon disk or the like can be used.
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program code read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウェアによって表されるプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program represented by software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
さらに、本発明を達成するためのソフトウェアによって表されるプログラムをネットワーク上のサーバ,データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Furthermore, by downloading and reading out a program represented by software for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. It becomes.
なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。 In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
100 コンピュータ
101 入力装置
102 表示装置
103 コンピュータ本体
104 外部記憶装置
105 全体制御部
106 画面制御部
107 入出力情報合成部
108 アプリケーション生成部
109 ユーザ定義情報
110 入出力情報群
111 部分入出力定義情報群
112 入出力定義情報群
113 アプリケーションプログラム
DESCRIPTION OF
Claims (8)
プログラムの設計情報として入力される、画面上に配置する項目を定義する複数の前記入出力情報と、前記いずれかの入出力情報に対して該入出力情報の部分入出力として他の入出力情報の項目を定義する1又は複数の部分入出力定義情報とを記憶する記憶手段と、
前記部分入出力が定義されている入出力情報に対して、該部分入出力として定義された入出力情報の項目を合成処理する合成手段と、
前記合成手段により合成された入出力情報に基づいてプログラムを生成する生成手段と、
を有することを特徴とする情報処理装置。 In an information processing apparatus that generates a program based on input / output information,
A plurality of the input / output information defining items to be arranged on the screen, which are input as program design information, and other input / output information as a partial input / output of the input / output information with respect to any of the input / output information Storage means for storing one or a plurality of partial input / output definition information defining the items of
Combining means for compositing the input / output information item defined as the partial input / output with respect to the input / output information in which the partial input / output is defined;
Generating means for generating a program based on the input / output information synthesized by the synthesizing means;
An information processing apparatus comprising:
前記部分入出力定義情報は、該部分入出力定義情報に基づいて合成される項目に対応して入出力されるデータの登録先となるデータベースのテーブル情報を含み、
前記合成手段は、前記合成処理の際、前記部分入出力として定義された入出力情報の項目に対応するデータベースのテーブル情報を、前記部分入出力定義情報で定義されたデータベースのテーブル情報に置き換えて合成する、ことを特徴とする請求項1に記載の情報処理装置。 The input / output information includes, for each item defined by the input / output information, table information of a database that is a registration destination of data input / output corresponding to the item,
The partial input / output definition information includes table information of a database serving as a registration destination of data input / output corresponding to items synthesized based on the partial input / output definition information,
The synthesizing unit replaces the database table information corresponding to the input / output information item defined as the partial input / output with the database table information defined by the partial input / output definition information during the synthesis process. The information processing apparatus according to claim 1, wherein the information processing apparatuses are combined.
前記合成手段は、前記部分入出力が定義されている入出力情報における前記合成位置に、前記部分入出力として定義された入出力情報の項目を合成処理する、ことを特徴とする請求項1又は2のいずれか1項に記載の情報処理装置。 The partial input / output definition information includes a composite position of the input / output information item defined as the partial input / output,
The input / output information item defined as the partial input / output is combined with the combining position in the input / output information in which the partial input / output is defined. 3. The information processing apparatus according to any one of 2 above.
前記部分入出力が定義されている入出力情報に対して、該部分入出力として定義された入出力情報の項目を合成処理する合成ステップと、
前記入出力情報に基づいてプログラムを生成する生成ステップと、
を有することを特徴とする情報処理方法。 A plurality of input / output information defining items to be arranged on the screen, which are input as program design information, and other input / output information as a partial input / output of the input / output information with respect to any of the input / output information Storing in the storage means one or more partial input / output definition information defining items;
A combining step for combining the input / output information defined as the partial input / output with the input / output information in which the partial input / output is defined;
A generating step for generating a program based on the input / output information;
An information processing method characterized by comprising:
プログラムの設計情報として入力される、画面上に配置する項目を定義する複数の入出力情報と、前記いずれかの入出力情報に対して該入出力情報の部分入出力として他の入出力情報の項目を定義する1又は複数の部分入出力定義情報とを記憶手段に格納するステップと、
前記部分入出力が定義されている入出力情報に対して、該部分入出力として定義された入出力情報の項目を合成処理する合成ステップ、
前記入出力情報に基づいてプログラムを生成する生成ステップ、
を実行させるためのプログラム。 On the computer,
A plurality of input / output information defining items to be arranged on the screen, which are input as program design information, and other input / output information as a partial input / output of the input / output information with respect to any of the input / output information Storing in the storage means one or more partial input / output definition information defining items;
A combining step of combining the input / output information defined as the partial input / output with the input / output information in which the partial input / output is defined;
Generating step for generating a program based on the input / output information;
A program for running
プログラムの設計情報として入力される、画面上に配置する項目を定義する複数の入出力情報と、前記いずれかの入出力情報に対して該入出力情報の部分入出力として他の入出力情報の項目を定義する1又は複数の部分入出力定義情報とを記憶手段に格納するステップと、
前記部分入出力が定義されている入出力情報に対して、該部分入出力として定義された入出力情報の項目を合成処理する合成ステップ、
前記入出力情報に基づいてプログラムを生成する生成ステップ、
を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。 On the computer,
A plurality of input / output information defining items to be arranged on the screen, which are input as program design information, and other input / output information as a partial input / output of the input / output information with respect to any of the input / output information Storing in the storage means one or more partial input / output definition information defining items;
A combining step of combining the input / output information defined as the partial input / output with the input / output information in which the partial input / output is defined;
Generating step for generating a program based on the input / output information;
The computer-readable recording medium which recorded the program for performing this.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007158066A JP2008310605A (en) | 2007-06-14 | 2007-06-14 | Information processor, information processing method, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007158066A JP2008310605A (en) | 2007-06-14 | 2007-06-14 | Information processor, information processing method, program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008310605A true JP2008310605A (en) | 2008-12-25 |
Family
ID=40238146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007158066A Withdrawn JP2008310605A (en) | 2007-06-14 | 2007-06-14 | Information processor, information processing method, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008310605A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018010616A (en) * | 2016-06-30 | 2018-01-18 | キヤノンマーケティングジャパン株式会社 | Information processing device, and processing method and program thereof |
JP2018181075A (en) * | 2017-04-17 | 2018-11-15 | キヤノンマーケティングジャパン株式会社 | Program generation device, control method and computer program |
-
2007
- 2007-06-14 JP JP2007158066A patent/JP2008310605A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018010616A (en) * | 2016-06-30 | 2018-01-18 | キヤノンマーケティングジャパン株式会社 | Information processing device, and processing method and program thereof |
JP2018028948A (en) * | 2016-06-30 | 2018-02-22 | キヤノンマーケティングジャパン株式会社 | Information processing device, and processing method and program thereof |
JP2018181075A (en) * | 2017-04-17 | 2018-11-15 | キヤノンマーケティングジャパン株式会社 | Program generation device, control method and computer program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4812337B2 (en) | Method and apparatus for generating a form using a form type | |
US8136043B2 (en) | GUI generation apparatus and method for generating GUI | |
JP2005346719A (en) | Apparatus and method for generating user interface based on automatic operation with complete flexibility | |
KR20130086138A (en) | Cross-platform application framework | |
RU2004131538A (en) | METHOD AND SYSTEM FOR MANAGEMENT OF BUSINESS ENTERPRISE PROCESS | |
WO2014028324A2 (en) | Enterprise application development tool | |
JP2009223831A (en) | Server device for server base computing system, client device, server control program, and client control program | |
KR20130017337A (en) | Hybrid app development platform architecture and test method of the same, and computer-readable recording medium with program for the same | |
JP2008310605A (en) | Information processor, information processing method, program, and recording medium | |
JP2010108055A (en) | Program for program generation and program generation device | |
JP2016009423A (en) | Information processing device, method for controlling information processing device, and program | |
JP2008287365A (en) | Program generation device, program generation method, program, and recording medium | |
US8566734B1 (en) | System and method for providing visual component layout input in alternate forms | |
JP2007265011A (en) | Screen program layout change method, information processor, program and recording medium | |
JP2006154993A (en) | Web screen creating method, program, and server | |
JP5991365B2 (en) | Form system, information processing apparatus, processing method thereof, and program | |
KR100846203B1 (en) | Method for generating mobile application and record media recorded program for realizing the same | |
JP2011175401A (en) | Device and program for emulation of computer | |
JP5954309B2 (en) | Program generation support apparatus, program generation support method, and program | |
JP6331307B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP2011165051A (en) | Development support device, method and program | |
Dillon et al. | Ready | |
JP2007094453A (en) | Program development support system, program development support method and program | |
JPH06243223A (en) | Interactive processing system | |
JP2004078375A (en) | Information processing apparatus, business form processing method, computer-readable storage medium, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20100907 |