JP2004157927A - Creating system for business form input, creating program and creating method - Google Patents

Creating system for business form input, creating program and creating method Download PDF

Info

Publication number
JP2004157927A
JP2004157927A JP2002325253A JP2002325253A JP2004157927A JP 2004157927 A JP2004157927 A JP 2004157927A JP 2002325253 A JP2002325253 A JP 2002325253A JP 2002325253 A JP2002325253 A JP 2002325253A JP 2004157927 A JP2004157927 A JP 2004157927A
Authority
JP
Japan
Prior art keywords
program
information
screen
input
item
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
JP2002325253A
Other languages
Japanese (ja)
Inventor
Akiko Mochizuki
亜希子 望月
Akiyo Tezaki
明世 手崎
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2002325253A priority Critical patent/JP2004157927A/en
Publication of JP2004157927A publication Critical patent/JP2004157927A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a creating system for business form input, creating program and creating method in which items printed in a business form are managed by a management table, the business form input program is automatically created from the management table (a program to have an operator input the item data through an input screen of a business form image and fetching to a system) by describing attributes of the item, the number of digits and component names making rules for data check into components, creating a specimen of the input screen of the business form image and editing to facilitate the use. <P>SOLUTION: A constitution table creating part 2 creating a constitution table 3 by separating into program creation purpose and screen constitution purpose from the management table 1, a template 5 in which the framework of the program is described, a component DB6 storing a component group, a program creating part 4 creating the program 7 based on the program constituting information from the constituting table 3, the template 5 and the component DB6, a screen constituting rule table 9 containing screen size, an arranged direction of the items (vertical / horizontal) and information of the starting position of a heading and item frame (input range) and a screen creating part 8 by which placement coordinates for each element (the heading and the item frame) of screen constituting information of the constituting table 3 are made the specimen information for the input screen, it is displayed and adjusting of placement and addition of ruled lines are carried out on instruction from an input output device 11 are provided. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は帳票入力用のプログラムを生成する方式、生成ツールとしてのプログラム及び生成方法に関し、特に注文伝票等の帳票から容易に作成できる情報を元にした帳票入力用のプログラムの生成方式、生成プログラム及び生成方法に関する。
【0002】
【従来の技術】
従来、受注システムを作成するには、注文伝票等の帳票に記載等された各項目データを操作者に読み取らせ、帳票イメージの入力画面の対応する入力枠(或いは入力域)に入力させ各項目データをシステムに取り込む処理が必要になる。
【0003】
ここで操作者が注文伝票等の帳票の記載に依らず他のメデイア等の情報に基づき各項目データを帳票イメージの入力画面の対応する入力枠(或いは入力域)に入力しシステムに取り込む処理であってもよい。
【0004】
何れにおいても、操作者に、帳票イメージの入力画面を通じ項目データを入力させシステムに取り込む帳票入力用処理が必要となる。
【0005】
従って、帳票毎に専用のプログラムを作成するか、帳票入力専用のユーティリティを用いて、データを入力するのが通例であるが、専用のプログラムを作成するには専任者によるプログラム製造が伴ない開発費用と時間が掛かる。
【0006】
また、帳票入力専用のユーティリティを利用する場合、きめ細かなデータチェックを行うためには、ユーティリティが持つチェック機能に加え、入力されたデータに対して専用のチェックプログラムを作成することになり、利用面での制約(システム運用の処理が増える等)と開発費用が掛かる。
【0007】
又、これらを回避しようとして帳票の種類を減らしたり、共用した帳票に統合したりするなどの方式では既存の利用形態とかけ離れたシステムになりかねない。そこで、既存の業務を継承し簡単に帳票入力用プログラムが作成できるシステムないし、作成ツールプログラムが期待をされている。
【0008】
一方、従来より入力画面生成プログラムに関する技術がある(例えば、特許文献1参照。)。
【0009】
上記技術は伝票入力の為の入力画面生成プログラムに関するもので、項目設定ダイアログに項目名、階層、データ型、桁数を設定し、項目の並べる形式を縦、もしくは横を選択することでデータ入力画面の自動生成を行う発明で、入力画面の項目レイアウトを変えることで効率的なデータ入力を行える様にしたものである。
【0010】
【特許文献1】
特開平11−066184号公報(図6〜図8)
【0011】
【発明が解決しようとする課題】
しかしながら上記技術では入力したデータのチェックについてはデータ型、桁数をチェックできてもよりきめ細かいチェックや妥当性等のチェックは出来ないと言う問題がある。
【0012】
例えば入力された担当者や、納入先コードが定義されたものである/否をテーブルを参照してチェックし、誤っていればエラーメッセージを出力することは出来ないし、入力される数値の最大値や最小値チェックを指定出来ない。
【0013】
又、複数の入力項目の内、入力されなかった項目があってもそれを許容する/否は指定出来ないし、入力前の初期値も設定出来ない。
【0014】
又、項目名と入力域の配列を縦にするか横にするかを指定でき、オーバフローした場合は複数列の縦や複数行の横で自動配置されるが、各項目を自由に配置したり、調整は出来ず、同種のデータ入力枠が数行あるいは数列になる場合に罫線等を追加出来ないという問題もある。
【0015】
本発明の目的は、帳票に印刷される項目を管理表で管理し、項目の属性や桁数およびデータチェックを行うルールを部品化した部品名を記述することにより、管理表から帳票入力用プログラム(操作者に、帳票イメージの入力画面を通じ項目データを入力させシステムに取り込むプログラム)を自動生成したり、帳票イメージの入力画面の雛形を生成し、利用し易い様に編集することができる帳票入力用プログラムの生成方式、生成プログラム及び生成方法を提供することにある。
【0016】
【課題を解決するための手段】
本発明の第1の帳票入力用プログラムの生成方式は、帳票に含まれる構成要素を記述した管理表を元にして帳票入力用のプログラムを自動生成する方式であって、前記管理表よりプログラム構成情報と画面構成情報を抽出し、プログラム生成用の情報と画面構成用の情報に分けて構成表を作成する構成表作成部と、プログラムの骨格が記述されているテンプレートと、部品群が格納されている部品データベースと、構成表のプログラム構成情報と前記テンプレートと前記部品データベースを基にプログラムを生成するプログラム生成部と、画面構成上のルールとして画面サイズと項目の配置方向を含む画面構成ルール表と、構成表の画面構成情報と前記画面構成ルール表に従って、画面の各構成要素の配置座標を生成して画面構成情報に付加し入力画面の雛形情報を作成し画面表示ファイルとして出力する画面生成部とを備えたことを特徴とする。
【0017】
本発明の第2の帳票入力用プログラムの生成方式は、前記第1の帳票入力用プログラムの生成方式に於いて、前記画面生成部が、前記作成した入力画面の雛形情報をディスプレイに表示し、画面上の構成要素の配置の修正や罫線の追加、修正の指示を入力デバイスを通じて受け、構成表内の配置座標情報の変更や、罫線要素の追加変更を行い、更新後の画面構成情報を画面表示ファイルとする画面レイアウト編集部も有することを特徴とする。
【0018】
本発明の第3の帳票入力用プログラムの生成方式は、前記第1、又は第2の帳票入力用プログラムの生成方式に於いて、前記画面生成部が、画面構成情報から画面表示ファイルを作成する際に、入力枠の表示を指示し、それに入力されたデータを項目識別、或いは項目番号に対応付け取得し、プログラムに渡す手続き、プログラムから表示データに伴って受ける項目識別、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する手段を有することを特徴とする。
【0019】
本発明の第4の帳票入力用プログラムの生成方式は、前記第1、又は第2の帳票入力用プログラムの生成方式に於いて、前記テンプレートには前記画面表示ファイルを参照し表示を実行する入力画面表示処理の雛形を含み、前記生成されるプログラムには対応する画面表示ファイルを参照し入力画面の表示を実行する処理を含むことを特徴とする。
【0020】
本発明の第5の帳票入力用プログラムの生成方式は、前記第1、第2、第3、又は第4の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、前記管理表より、項目に対応した見出し、項目識別、項目に入力又は出力されるデータの型属性や桁数指定を抽出し、前記項目対応の項目識別、前記データの型属性や桁数指定をプログラム構成情報とする手段と、項目対応に入力枠又は出力枠の元情報を作成し、見出し情報との対応付け情報を付加し、項目の見出しと合わせこれらを画面構成情報とする手段を有することを特徴とする。
【0021】
本発明の第6の帳票入力用プログラムの生成方式は、前記第5の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、前記管理表より項目の繰り返しの有無と回数を指定する情報も抽出してこれをプログラム構成情報に含める手段と、画面構成情報の作成の際に項目対応の入力枠又は出力枠の元情報を繰り返し回数に従って複製展開し、繰り返し部分に繰り返し順を付加し、画面構成情報を作成する手段を有し、前記プログラム生成部が構成表の前記繰り返し情報を検出し、それを項目処理回数に反映する様にテンプレートへの情報の埋め込みや追加を行なう手段を有することを特徴とする。
【0022】
本発明の第7の帳票入力用プログラムの生成方式は、前記第6の帳票入力用プログラムの生成方式に於いて、前記画面構成ルール表には、繰り返し部分の入力枠又は出力枠の配置形式の指定を含み、前記画面生成部が構成表の画面構成情報内の前記繰り返し順情報を検出すると、画面構成ルール表の繰り返し部分の配置形式指定に応じ、見出しに対する項目の枠の配置方向を、繰り返しでない部分と同じにする/否を決める手段と、それに従って繰り返し部分の構成要素の配置座標を生成して画面構成情報に付加して、入力画面の雛形情報を作成する手段を有することを特徴とする。
【0023】
本発明の第8の帳票入力用プログラムの生成方式は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、前記管理表を解析し、項目への入力データに対し行うチェック指示をチェック部品名、パラメータとして抽出し、これらをプログラム構成情報に含める手段を有し、前記プログラム生成部が構成表のチェック部品名、パラメータを検出し、前記部品データベースより該当部品を読込み、これと前記パラメータをテンプレートの該当個所に組み込む手段を有することを特徴とする。
【0024】
本発明の第9の帳票入力用プログラムの生成方式は、前記第8の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、管理表を解析し、項目への入力データに対し行う最小値チェック或いは最大値チェック指示を、対応する部品名と下限値或いは上限値として抽出し、これらをプログラム構成情報に含める手段を有し、プログラム生成部がこれらを検出し、前記部品データベースより最小値チェック部品或いは最大値チェック部品を読込み、これと下限値或いは上限値をテンプレートの該当個所に組み込む手段を有することを特徴とする。
【0025】
本発明の第10の帳票入力用プログラムの生成方式は、前記第8の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、管理表を解析し、項目への入力データがテーブルに登録されているかのチェック指示を、対応する部品名とテーブル識別やテーブル内項目識別として抽出し、これらをプログラム構成情報に含める手段を有し、プログラム生成部がこれらを検出し、前記部品データベースより対応部品を読込み、これとテーブル識別やテーブル内項目識別をテンプレートの該当個所に組み込む手段を有することを特徴とする。
【0026】
本発明の第11の帳票入力用プログラムの生成方式は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、管理表を解析し、必須の入力項目を指定する情報を抽出し、これをプログラム構成情報に含める手段を有し、前記プログラム生成部が構成表の前記指定情報を検出し、前記部品データベースより項目への入力有無チェックを行う部品を読込み、これと必須入力の項目指定情報をテンプレートに組み込む手段を有することを特徴とする。
【0027】
本発明の第12の帳票入力用プログラムの生成方式は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、管理表を解析し、幾通りかの必須入力項目パターンによる入力有無チェックを指示していれば、対応する部品名を抽出し、これをプログラム構成情報に含める手段を有し、前記プログラム生成部が構成表の前記部品を検出し前記部品データベースより該当部品を読込み、これをテンプレートに組み込む手段を有することを特徴とする。
【0028】
本発明の第13の帳票入力用プログラムの生成方式は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方式に於いて、前記構成表作成部が、管理表を解析し、一つ以上の他の項目の項目値を入力として加工した結果をその項目の項目値とする指示を、加工用の部品名、入力となる項目識別として抽出し、これらをプログラム構成情報に含める手段を有し、前記プログラム生成部がこれらの情報を検出し、前記部品データベースより該当部品を読込み、これと入力の項目識別をテンプレートの該当個所に組み込む手段と、その項目をデータ出力項目とする設定をテンプレートに埋め込む手段を有することを特徴とする。
【0029】
本発明の第1の帳票入力用プログラムの生成プログラムは、帳票に含まれる構成要素を記述した管理表よりプログラム構成情報と画面構成情報を抽出し、プログラム生成用の情報と画面構成用の情報に分けて構成表を作成する構成表作成手順と、プログラムの骨格が記述されているテンプレート、部品群が格納されている部品データベース、前記構成表のプログラム構成情報とを基にしプログラムを生成するプログラム生成手順と、前記構成表の画面構成情報、画面サイズと項目の配置方向を含む画面構成ルール表に従って、画面の各構成要素の配置座標を生成して画面構成情報に付加し入力画面の雛形情報を作成し画面表示ファイルとして出力する画面生成手順とを備えたことを特徴とする。
【0030】
本発明の第2の帳票入力用プログラムの生成プログラムは、前記第1の帳票入力用プログラムの生成プログラムに於いて、前記画面生成手順が、前記作成した入力画面の雛形情報をディスプレイに表示し、画面上の構成要素の配置の修正や罫線の追加、修正の指示を入力デバイスを通じて受け、構成表内の配置座標情報の変更や、罫線要素の追加変更を行い、更新後の画面構成情報を画面表示ファイルとする画面レイアウト編集手順を有することを特徴とする。
【0031】
本発明の第3の帳票入力用プログラムの生成プログラムは、前記第1、又は第2の帳票入力用プログラムの生成プログラムに於いて、前記画面生成手順が、画面構成情報から画面表示ファイルを作成する際に、入力枠の表示を指示し、それに入力されたデータを項目識別、或いは項目番号に対応付け取得し、プログラムに渡す手続き、プログラムから表示データに伴って受ける項目識別、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する手順を有することを特徴とする。
【0032】
本発明の第4の帳票入力用プログラムの生成プログラムは、前記第1、又は第2の帳票入力用プログラムの生成プログラムに於いて、前記プログラム生成手順が、前記画面表示ファイルを参照し表示を実行する入力画面表示処理の雛形を含むテンプレートに基づき、対応する画面表示ファイルを参照し入力画面表示を行う手順を含むプログラムを生成することを特徴とする。
【0033】
本発明の第5の帳票入力用プログラムの生成プログラムは、前記第1、第2、第3、又は第4の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が前記管理表より項目対応の見出し、項目識別、入力又は出力されるデータの型属性や桁数の指定を抽出する手順と、項目対応の項目識別、データの型属性や桁数情報をプログラム構成情報とする手順と、項目対応に入力枠又は出力枠の元情報を作成し、見出し情報との対応付けを付加し、見出し情報と合わせ画面構成情報とする手順とを有することを特徴とする。
【0034】
本発明の第6の帳票入力用プログラムの生成プログラムは、前記第5の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し、項目の繰り返しの有無と回数情報を抽出し、これをプログラム構成情報に含める手順と、画面構成情報の作成の際に項目対応の入力枠又は出力枠の元情報を繰り返し回数に従って複製展開し、繰り返し部分に繰り返し順を付加し、画面構成情報を作成する手順を有し、前記プログラム生成手順が構成表の前記繰り返し情報を検出し、それを項目処理回数に反映する様にテンプレートへの情報の埋め込みや追加を行なう手順を有することを特徴とする。
【0035】
本発明の第7の帳票入力用プログラムの生成プログラムは、前記第6の帳票入力用プログラムの生成プログラムに於いて、前記画面生成手順が構成表の画面構成情報内の前記繰り返し順情報を検出すると、画面構成ルール表の繰り返し部分の配置形式指定に応じ、見出しに対する項目の枠の配置方向を、繰り返しでない部分と同じにする/否を決める手順と、これに従い繰り返し部分の各構成要素の配置座標を生成し画面構成情報に付加し、入力画面の雛形情報を作成する手順を有することを特徴とする。
【0036】
本発明の第8の帳票入力用プログラムの生成プログラムは、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し項目への入力データに対し行うチェック指示を、対応する部品名とパラメータとして抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順が構成表のチェック部品名、パラメータを検出し、前記部品データベースより該当部品を読込み、これとパラメータをテンプレートの該当個所に組み込む手順を有することを特徴とする。
【0037】
本発明の第9の帳票入力用プログラムの生成プログラムは、前記第8の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し、項目への入力データに対し行う最小値チェック或いは最大値チェック指示を、対応する部品名と下限値或いは上限値として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより最小値チェック部品或いは最大値チェック部品を読込み、これと下限値或いは上限値をテンプレートの該当個所に組み込む手順を有することを特徴とする。
【0038】
本発明の第10の帳票入力用プログラムの生成プログラムは、前記第8の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し、項目への入力データがテーブルに登録されているかのチェック指示を、対応する部品名とテーブル識別やテーブル内項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより対応部品を読込み、これとテーブル識別やテーブル内項目識別をテンプレートの該当個所に組み込む手順を有することを特徴とする。
【0039】
本発明の第11の帳票入力用プログラムの生成プログラムは、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し、必須の入力項目を指定する情報を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記指示情報を検出し、前記部品データベースより項目への入力有無チェックを行う部品を読込み、該当部品と必須の入力項目指定情報をテンプレートに組み込む手順を有することを特徴とする。
【0040】
本発明の第12の帳票入力用プログラムの生成プログラムは、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し、幾通りかの必須入力項目パターンによる入力有無チェックを指示していれば、対応する部品名を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記部品を検出し前記部品データベースより該当部品を読込み、これをテンプレートに組み込む手順を有することを特徴とする。
【0041】
本発明の第13の帳票入力用プログラムの生成プログラムは、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成プログラムに於いて、前記構成表作成手順が、管理表を解析し、一つ以上の他の項目の項目値を入力として加工した結果をその項目の項目値とする指示を、加工用の部品名、入力となる項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、前記プログラム生成手順がこれらの情報を検出し、前記部品データベースより該当部品を読込み、これと入力の項目識別をテンプレートの該当個所に組み込む手順と、その項目をデータ出力項目とする設定をテンプレートに埋め込む手順を有することを特徴とする。
【0042】
本発明の第1の帳票入力用プログラムの生成方法は、帳票に含まれる構成要素を記述した管理表よりプログラム構成情報と画面構成情報を抽出し、プログラム生成用の情報と画面構成用の情報に分けて構成表を作成する構成表作成手順と、プログラムの骨格が記述されているテンプレート、部品群が格納されている部品データベース、前記構成表のプログラム構成情報とを基にしプログラムを生成するプログラム生成手順と、前記構成表の画面構成情報、画面サイズと項目の配置方向を含む画面構成ルール表に従って、画面の各構成要素の配置座標を生成して画面構成情報に付加し入力画面の雛形情報を作成し画面表示ファイルとして出力する画面生成手順とを備えたことを特徴とする。
【0043】
本発明の第2の帳票入力用プログラムの生成方法は、前記第1の帳票入力用プログラムの生成方法に於いて、前記画面生成手順が、前記作成した入力画面の雛形情報をディスプレイに表示し、画面上の構成要素の配置の修正や罫線の追加、修正の指示を入力デバイスを通じて受け、構成表内の配置座標情報の変更や、罫線要素の追加変更を行い、更新後の画面構成情報を画面表示ファイルとする画面レイアウト編集手順を有することを特徴とする。
【0044】
本発明の第3の帳票入力用プログラムの生成方法は、前記第1、又は第2の帳票入力用プログラムの生成方法に於いて、前記画面生成手順が、画面構成情報から画面表示ファイルを作成する際に、入力枠の表示を指示し、それに入力されたデータを項目識別、或いは項目番号に対応付け取得し、プログラムに渡す手続き、プログラムから表示データに伴って受ける項目識別、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する手順を有することを特徴とする。
【0045】
本発明の第4の帳票入力用プログラムの生成方法は、前記第1、又は第2の帳票入力用プログラムの生成方法に於いて、前記プログラム生成手順が、前記画面表示ファイルを参照し表示を実行する入力画面表示処理の雛形を含むテンプレートに基づき、対応する画面表示ファイルを参照し入力画面表示を行う手順を含むプログラムを生成することを特徴とする。
【0046】
本発明の第5の帳票入力用プログラムの生成方法は、前記第1、第2、第3、又は第4の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が前記管理表より項目対応の見出し、項目識別、入力又は出力されるデータの型属性や桁数の指定を抽出する手順と、項目対応の項目識別、データの型属性や桁数情報をプログラム構成情報とする手順と、項目対応に入力枠又は出力枠の元情報を作成し、見出し情報との対応付けを付加し、見出し情報と合わせ画面構成情報とする手順とを有することを特徴とする。
【0047】
本発明の第6の帳票入力用プログラムの生成方法は、前記第5の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し、項目の繰り返しの有無と回数情報を抽出し、これをプログラム構成情報に含める手順と、画面構成情報の作成の際に項目対応の入力枠又は出力枠の元情報を繰り返し回数に従って複製展開し、繰り返し部分に繰り返し順を付加し、画面構成情報を作成する手順を有し、前記プログラム生成手順が構成表の前記繰り返し情報を検出し、それを項目処理回数に反映する様にテンプレートへの情報の埋め込みや追加を行なう手順を有することを特徴とする。
【0048】
本発明の第7の帳票入力用プログラムの生成方法は、前記第6の帳票入力用プログラムの生成方法に於いて、前記画面生成手順が構成表の画面構成情報内の前記繰り返し順情報を検出すると、画面構成ルール表の繰り返し部分の配置形式指定に応じ、見出しに対する項目の枠の配置方向を、繰り返しでない部分と同じにする/否を決める手順と、これに従い繰り返し部分の各構成要素の配置座標を生成し画面構成情報に付加し、入力画面の雛形情報を作成する手順を有することを特徴とする。
【0049】
本発明の第8の帳票入力用プログラムの生成方法は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し項目への入力データに対し行うチェック指示を、対応する部品名とパラメータとして抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順が構成表のチェック部品名、パラメータを検出し、前記部品データベースより該当部品を読込み、これとパラメータをテンプレートの該当個所に組み込む手順を有することを特徴とする。
【0050】
本発明の第9の帳票入力用プログラムの生成方法は、前記第8の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し、項目への入力データに対し行う最小値チェック或いは最大値チェック指示を、対応する部品名と下限値或いは上限値として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより最小値チェック部品或いは最大値チェック部品を読込み、これと下限値或いは上限値をテンプレートの該当個所に組み込む手順を有することを特徴とする。
【0051】
本発明の第10の帳票入力用プログラムの生成方法は、前記第8の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し、項目への入力データがテーブルに登録されているかのチェック指示を、対応する部品名とテーブル識別やテーブル内項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより対応部品を読込み、これとテーブル識別やテーブル内項目識別をテンプレートの該当個所に組み込む手順を有することを特徴とする。
【0052】
本発明の第11の帳票入力用プログラムの生成方法は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し、必須の入力項目を指定する情報を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記指示情報を検出し、前記部品データベースより項目への入力有無チェックを行う部品を読込み、該当部品と必須の入力項目指定情報をテンプレートに組み込む手順を有することを特徴とする。
【0053】
本発明の第12の帳票入力用プログラムの生成方法は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し、幾通りかの必須入力項目パターンによる入力有無チェックを指示していれば、対応する部品名を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記部品を検出し前記部品データベースより該当部品を読込み、これをテンプレートに組み込む手順を有することを特徴とする。
【0054】
本発明の第13の帳票入力用プログラムの生成方法は、前記第1、第3、第4、又は第6の帳票入力用プログラムの生成方法に於いて、前記構成表作成手順が、管理表を解析し、一つ以上の他の項目の項目値を入力として加工した結果をその項目の項目値とする指示を、加工用の部品名、入力となる項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、前記プログラム生成手順がこれらの情報を検出し、前記部品データベースより該当部品を読込み、これと入力の項目識別をテンプレートの該当個所に組み込む手順と、その項目をデータ出力項目とする設定をテンプレートに埋め込む手順を有することを特徴とする。
【0055】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して詳細に説明する。本発明の第1の実施例を説明する。
【0056】
図1は本発明の帳票入力用プログラムの生成方式の全体構成を示した図である。
【0057】
図1を参照し、帳票入力用プログラムの生成方式は、帳票(伝票等)の構成要素が格納されている管理表1からプログラム生成用の情報と画面組み立て用の情報に分けて構成表3を作成する構成表作成部2と、作成された構成表3とプログラムの骨格が記述されているテンプレート5と部品群が格納されている部品DB6を基にプログラム7を生成するプログラム生成部4と、作成された構成表3と画面構成ルール表9から生成された画面をマウス、キーボードやディスプレイからなる入出力装置11を使って画面表示ファイル10を作成する画面生成部8を備えている。
【0058】
生成されるプログラム7の概要は、操作者に、帳票イメージの入力画面を通じ項目データを入力させ入力データのチェックや加工(既入力項目データを用いデータベースを索引した結果、或いは、既入力項目データ間の演算結果等を他の項目データとして取得し表示する等)を行い、項目データをシステムに取り込むプログラムであり、画面表示ファイル10は帳票イメージの入力画面表示を行うファイルである。
【0059】
構成表作成部2は、管理表読み込み部21と管理表解析部22と構成表書き込み部23を含み、又これら個々の機能を制御する。
【0060】
プログラム生成部4は、構成表読み込み部41とテンプレート読み込み部42と部品読み込み部43と合成部44とプログラムオブジェクト生成部45を含み、またこれら個々の機能を制御する。
【0061】
画面生成部8は、構成表読み込み部81と画面構成ルール表読み込み部82と画面構成組み立て部83と画面レイアウト編集部84を含み、またこれら個々の機能を制御する。
【0062】
尚、構成表作成部2、プログラム生成部4、画面生成部8は情報処理装置のプログラムで実現される。
【0063】
構成表作成部2は、管理表読み込み部21と管理表解析部22と構成表書き込み部23を制御し、処理の流れを監視する。また、構成表3に情報が登録されればプログラム生成部4と画面生成部8を起動する。
【0064】
管理表読み込み部21は、管理表1から帳票入力用プログラムを生成するための情報を読み込みメモリ上に展開する。
【0065】
管理表解析部22は、展開された情報を解析し、記述内容のチェックやプログラム生成に必要となる情報と画面生成に必要となる情報を抽出し、プログラム生成用と画面生成用情報を分離する。
【0066】
構成表書き込み部23は、プログラム生成用の情報と画面生成用の情報を構成表3として登録する。
【0067】
管理表1は、帳票入力用プログラムを生成するために必要となる情報を表形式の定義方法により、帳票を構成する要素である個々の項目の属性や桁数および入力データのチェック方法や加工するための部品名が指定されている。
【0068】
構成表3は、テンプレート5を使ってプログラム生成を行うために必要となる情報と画面生成に必要となる情報である。
【0069】
プログラム生成部4は、構成表読み込み部41とテンプレート読み込み部42と部品読み込み部43と合成部44とプログラムオブジェクト生成部45を制御し、処理の流れを監視する。
【0070】
構成表読み込み部41は、構成表3からプログラム生成を行うために必要となる情報を読み込みメモリ上に展開する。
【0071】
テンプレート読み込み部42は、プログラムを生成するためのプログラムの骨格をテンプレート5から読み込みメモリ上に展開する。
【0072】
部品読み込み部43は、構成表3のプログラム構成情報の中に記載されている部品名、や各種のチェック指定有無を検索条件として、必要な部品を部品DB6から読み込みメモリ上に展開する。
【0073】
合成部44は、テンプレート5にプログラム作成用の構成表3の情報と部品を組み込んでプログラムソースを作成し、メモリに展開する。
【0074】
プログラムオブジェクト生成部45は、プログラムソースをコンパイルしてプログラムオブジェクトを作成し、プログラム7に登録する。
【0075】
テンプレート5は、プログラムの骨格となるプログラムであり、項目数、入力項目数や個々の項目で異なる部分を置換したり、可変要素を追加することでプログラムを完成出来る様な構造を持っている。
【0076】
例えば(1)変数の宣言ブロック、(2)表示処理ルーチン、(3−1)入力項目の入力データ取得ブロック、(3−2)入力項目単位のチェック処理、(4−1)出力項目の設定データ取得ブロック、(4−2)出力項目単位の基本チェクルーチン(5)入力終了検出ルーチン、(6)上記(3)(4)(5)の繰り返し制御、(7)終了検出後のチェックや加工用部品のダミー、(8)入力変数等に取得したデータのファイルやDBへの出力ルーチンを含む。
【0077】
ここで(1)変数の宣言ブロックには各項目の入力変数のデータ型を宣言する部分を含む。例えば、%項目名1 as %入力形式1、・・・・・、%項目名50 as %入力形式50の様に50行の記載があり、%項目名1は”order_no”に、%入力形式1は”N”に置換される。
【0078】
(2)表示処理ルーチンは、画面表示ファイル10の各項の初期値(項目名称や項目値の初期値)、入力枠(或いは入力域)、罫線情報等の1画面分ないし1ウィンドウ分の表示情報と、表示座標を渡し表示を指示し、入力枠(或いは入力域)の座標群をカーソルの移動先チェーンとする様GUI関連ドライバーに指示する。
【0079】
ここで画面表示ファイル10の入力枠対応の元情報を入力ボックスとサイズに変換してから指示する。
【0080】
(3−1)項目の入力データ取得ブロックは、GUI関連ドライバから入力データ、座標か項目番号を受け、座標で受ける場合は一覧表等の検索で項目番号に変換し、入力項目毎の個別部(3−2)に分岐する。
【0081】
(3−2)入力項目単位のチェック処理は入力データを入力変数(項目名)に取得し、入力データが入力形式(データ型)のデータであるかをチェックする。
【0082】
又、入力変数値の桁数をチェックする。これらが不適合であればエラーと修正要求メッセージないし警告メッセージを出力する。
【0083】
又、入力データを表示形式にしてGUI関連ドライバにバックし枠に再表示させる。入力変数に対応した変数に編集文字(上位のゼロサプレスや位を示すコンマの挿入等)が指定されていればそれに従って変換し、その他はそのままの値で共に右詰め(ディフォルト指定)にしバックする。
【0084】
この処理の後半部分にはオプショナルチェック等を行うためのチェック部品呼出のダミーを持つ。項目1ではCALL %XX11、CALL %XX12、等であり、必要に応じ%XX11は項目1のチェック(最小、最大、テーブルに登録されている値/否)をする部品名と引数、返値の変数に置換されるか、ダミー全体が削除される。
【0085】
最後には妥当な項目値が入力されれば項目確定フラグ配列の対応ビットを「1」にする。
【0086】
(4−1)出力項目の設定データ取得ブロックは部品の出力が設定される項目について、部品の入力となる他項目の確定を検出し、対応する加工用部品や参照するテーブルを呼び出す。
【0087】
即ち、部品の入力となる他項目を示すマスク配列(当該他項目に対応するビットを「0」とし他ビットを「1」とする)と項目確定フラグ配列の対応ビット間の論理和を演算し、全ての論理和の論理積を演算し結果が「1」であれば部品やテーブルを呼び出すダミーが幾つか用意されている。
【0088】
(4−2)出力項目単位の基本チェクルーチンは(3−2)の前半と同様であり、最後には妥当な項目値が設定されれば自項目の確定フラグをtrueにする。
【0089】
(5)入力終了検出ルーチンは入力動作の終了を検出し、繰り返しから抜ける。尚タイムアウトチェックとその際の操作者との応答処理他のエラー処理を含ませてもよい。
【0090】
(7)終了検出後のチェックや加工用部品のダミーとは、CALL %XXL1、CALL %XXL2等であり、必要に応じ%XXL1は必須項目が全て入力或いは部品で設定されたかをチェックする部品名と引数、返値の変数に置換されるか、ダミー全体が削除される。
【0091】
(8)出力ルーチンとは、入力変数に取得した値を出力ファイル、DBの入力変数の対応域へ出力する。或いは入力変数名と取得データの対を出力ファイルやDBへ出力する。
【0092】
部品DB6には、集計や取得済み項目値間の計算、日付チェック、入力値と指定された値の大小関係のチェック、入力値が指定されたテーブルに存在するかのチェック、必須項目のすべてが入力されたかのチェック等の処理部品が部品として登録されている。
【0093】
プログラム7は、帳票入力用プログラムのオブジェクトが登録される。画面生成部8は、構成表読み込み部81と画面構成ルール表読み込み部82と画面構成組み立て部83と画面レイアウト編集部84を制御し、処理の流れを監視する。
【0094】
構成表読み込み部81は、構成表3から画面生成を行うために必要となる情報を読み込みメモリ上に展開する。
【0095】
画面構成ルール表読み込み部82は、画面構成ルール表9を読み込みメモリ上に展開する。
【0096】
画面構成組み立て部83は、画面構成ルール表9に従って、画面内に構成情報を配置し、配置した情報を構成表3に登録する。
【0097】
画面レイアウト編集部84は、マウス、キーボードやディスプレイからなる入出力装置11を使って、画面構成組み立て部83で作成された画面内の項目の配置を変更し、変更情報を構成表3に登録し、変更した画面を画面表示ファイル10に登録する。
【0098】
画面構成ルール表9は、画面の構成要素をどの様に配置するかを指示する情報が格納されている。画面表示ファイル10には、ディスプレイに表示するための画面情報が登録されている。
【0099】
入出力装置11は、キーボードやディスプレイおよびマウスを用いた入出力装置である。
【0100】
次に図2を参照し、管理表1の情報例を説明する。管理表1には生成するプログラム名と表の名前が付加されている。この例ではプログラム名は「order」であり、表名は「order_tbl」である。
【0101】
管理表1本体には帳票を構成する項目の情報や個々の項目をどの様にチェックするかまたは処理するかを表形式のテーブルで記述している。
【0102】
属性欄のN、C、Jは数字(Numeric)、文字(Character)、漢字や仮名やカタカナ(Japanese)を示し入力されるデータの型属性を示す。ここで示すと言っているのは構成表作成部2が解釈するということである。
【0103】
1行目の項目は項目名称が「オーダNo.」であり、項目値を「Order_no」という変数で扱うことを示し、項目値は最大8桁の数値で整数であり、この項目値の入力が必須(省略不可)であることを示している。
【0104】
これらに適合しない入力がされればエラーメッセージを出し、適合する項目値となる様修正入力させることを要求している。
【0105】
2行目の項目「日付」は更に入力形式がDATEであり13/02等は13月2日となり、エラーメッセージを出し、修正入力させることを要求している。
【0106】
3行目の項目「顧客コード」は入力されたコードが「Cust_tbl/Cust_code」に登録されていることのチェックを示している。
【0107】
4行目の項目「顧客名」はプライマリキーがCust_codeでテーブル「Cust_tbl/Cust_name」に登録されている名前を表示することを要求している(顧客名の項目枠は入力枠でなく表示枠となる)。
【0108】
又、「商品コード」から「金額」迄の項目は繰り返し欄が「1*5」となっておりそれぞれ入力枠(或いは表示枠)を5回繰り返すことを示している。
【0109】
「単価」の行の編集文字「Z,ZZ9」は数値の上位の0はサプレスし残った桁が4桁以上であれば下位から3桁毎にカンマを挿入することを示している。
【0110】
「金額」の行の部品欄の=MUL(単価,数量)は項目名称「単価」の項目値と「数量」の項目値をMULで計算した値を金額の項目値にすることを示している(金額の項目枠は入力枠でなく表示枠となる)。
【0111】
ここで部品欄の記載に「=」がなくチェック等の部品名と入力項目名であればその項目は入力される項目であることに変わりはない。
【0112】
又、「必須有無」の指定は、複数の項目の何れかに入力すればよいとか、ある項目に入力した場合に其の項目の詳細なり、属性を指定する項目への入力が必須となり、ある項目に入力されなければ省略するといった項目間の依存関係等がある場合には部品欄で、必須入力項目パターン情報を含む部品名により必須項目への入力チェックを指示する。
【0113】
この様に当管理表は表形式のテーブルで構成されており 帳票入力用プログラムを生成するための要件が全て定義されている。従って、当管理表は、プログラムを作成するための定義書としても利用可能である。
【0114】
図3は、画面生成部8が画面生成を行うための画面構成ルールを表したものである。画面構成ルール表には生成する画面の大きさや見出し、項目などの配置開始位置や展開形態などが登録されている。
【0115】
次に、本発明の実施の形態の動作について図面を参照して説明する。図4、5は帳票入力用プログラム生成方式の処理手順を示したフローチャートである。
【0116】
図4を参照し、管理表読み込み部21は図2に示す管理表1を読み込みメモリ上に展開する(ステップ1)。
【0117】
管理表解析部22は、展開された情報より、先ずプログラム名、テーブル名を取得し構成表作成部2が所有する管理レコードに登録する(図6参照)。この際プログラム構成ファイル名、画面構成ファイル名の欄にはそれぞれプログラム名に”_prog_file”、”_scrn_file”等を付加し派生する(ステップ2)。
【0118】
次に展開された情報を解析し記述誤りをチェックし、少なくとも誤りがあれば修正要求メッセージを出す。例えば、項目名称、項目名、属性、桁数が空白(NIL)でないこと、属性が定義されている文字であること、桁数が数値であること、入力形式の指定がある時は、定義された語や文字であること、繰り返しの指定があれば所定の書式であること等をチェックする(ステップ3)。
【0119】
次にプログラム生成や画面生成に必要となる情報を抽出し、プログラム生成用情報と画面生成用情報別に整理する。
【0120】
この例では管理表1の項目名称(見出し)を除いた他の全ての情報をプログラム生成用情報として取り出し、項番を付加する。又、必須有無指定を「1」、「0」に変換し、入力形式欄の指定のないものは属性欄の指定をコピーし、繰り返しの「1*5」を「レベル=1」と「回数=5」に変換する(図7参照)(ステップ4)。
【0121】
画面生成用情報としては、先ず入力画面上の見出しや、入力枠等の内に表示する初期値を抽出する。
【0122】
管理表1の各行の項目名称(見出し)を取り出し、見出し語の属性、桁数を抽出し付加する。即ち、「オーダNo.」を取り出し、Japanese(漢字、カタカナ、かな、アルファベット、数字)で6桁を抽出する。
【0123】
また管理表1で指定のある初期値を取り出し、初期値語より属性、桁数を抽出し付加する。この際どの入力枠への初期値かを示す情報として其の行の項目名を取り出し対応付けておく。更に其の行に繰り返し情報があれば取り出す。
【0124】
初期値語、属性、桁数、項目名、繰り返し回数を行当たりの情報とし、繰り返し指定のある行は回数分となる様にコピーし、回数情報を何回目かを示す順番に書き換えておく(図8参照)。
【0125】
次に入力画面上の項目対応の入力枠ないし表示枠(入力域ないし表示域)の元となる情報を抽出する。
【0126】
管理表1の各行の項目名、属性、桁数、繰り返し情報を取り出す。そして繰り返し指定のある行は回数分となる様にコピーし、回数情報を何回目かを示す順番に書き換えておく(図9、10参照)(ステップ5)。
【0127】
図4のフローに戻り、構成表書き込み部23は、プログラム生成用の情報と画面生成用の情報を構成表3として登録する。この際ファイル名は管理レコードの示す名称とする(ステップ6)。
【0128】
この様にし、作成された構成表3のプログラム構成情報を図7に示す。又、画面構成情報を図8〜10に示す(但しこの時点では配置位置情報は欄のみで空白である)。
【0129】
構成表読み込み部41が、構成表3からプログラム構成情報を読み込みメモリ上に展開し、テンプレート読み込み部42が、プログラムを生成するためのプログラムの骨格をテンプレート5から読み込みメモリ上に展開する(ステップ7)。
【0130】
部品読み込み部43が、構成表3のプログラム構成情報の中に記載されている部品名とチェックが指定されているチェック用の部品の名称とで、必要な部品を部品DB6から読み込みメモリ上に展開する(ステップ8)。
【0131】
合成部44が、テンプレート5にプログラム作成用の構成表3の情報と部品を組み込んでプログラムソースを作成し、メモリに展開する。
【0132】
例えば、テンプレート5のメイン部(前記(1)変数の宣言ブロック、・・、(7)終了検出後のチェックや加工用部品のダミー)には置換の対象となる画面表示ファイル名、項目数、入力項目数、入力変数名、部品名が%画面表示ファイル、%項目数、%入力項目数、%項目名1、・・、%項目名100、%XX11、%XX12、・・、%XX501、・・、%XX502、%XXL1、%XXL2の様に埋め込まれいる。
【0133】
ここで%は以降が置換対象であることを示し、以降には構成表3のプログラム構成情報のどの情報で置換するべきかを識別可能に記載されており、これに従って必要な置換をする。
【0134】
即ち、%画面表示ファイルは”Order_prog_file”に置換し、%項目数、%入力項目数は30(5+5*5)、14(4+5*2)に置換し、%項目名1、・・、%項目名6、・・、%項目名10は、”Order_no”、・・、”Goods_code()”、・・、”total()”に置換し、”Goods_code()”、・・、”total()”は添え字が1から5の配列定義を追加する。
【0135】
又、項番3の例では%入力形式3を”C”に、%桁数3を5に置換し、%XX31を”登録有無(Cust_code,Cust_tbl/Cust_code”,result31)に置換する。ここで登録有無は引数1の値が引数2、のテーブルの指定欄に登録されているかをチェックし、登録されてなければメッセージ出力し、結果をresult31に返す部品の名称である。
【0136】
この様に置換し、置換されなかった部分はコメント化する或いは削除する(テンプレート5の可変部分の行の行頭或いは行末に最初からコメント化マークを入れておき、置換時に置換の入った機能単位でコメント化マークを削除し、必要に応じ最後にコメントマークのみの行を削除する)。メインの後にコールされる部品を付加する(ステップ9)。
【0137】
プログラムオブジェクト生成部45は、プログラムソースをコンパイルしてプログラムオブジェクトを作成し、プログラム7に登録する(ステップ10)。
【0138】
図5のフローチャートに移り、構成表読み込み部81が、構成表3から画面生成を行うために必要となる情報(図8〜10)を読み込みメモリ上に展開する。又、画面構成ルール表読み込み部82が、画面構成ルール表9(図3)を読み込みメモリ上に展開する(ステップ11)。
【0139】
画面構成組み立て部83が、画面構成ルール表9に従って、画面内に構成情報を配置し、配置した座標位置を構成表3に登録する。この処理動作を詳細に説明する。
【0140】
メモリ上の構成表3の項番0000の見出し情報(図8)の最初の行の配置座標に画面構成ルール表9(メモリ上)の見出し開始位置の座標値を記入する。次にこの見出し対応の入力枠或いは表示枠(以下枠と省略)の情報を取得する。即ち、項番0001以降を対象とし項目名「Order_no」を持つ行を検索し図9の項番0001の行を割り出し、この行の情報を取得する。
【0141】
「繰り返し欄の回数値=NIL」より得た「繰り返し:無し」、画面構成ルール表9の「項目配置:縦」より枠は見出しの右側と決め、項番0001のX座標を項目開始位置のX座標とし、Y座標は見出しのY座標と同じとし記入する。
【0142】
項番0000の次行を取得し、前回の見出し対応の枠が右側につきこの見出しは前回見出しの下側になり、前回見出しのY座標に行間隔値(=0.5)と項目間隔値(=0)を加算し今回見出しのY座標とし、X座標は前回見出しのX座標と同じとし記入する。見出し「納品日」とこれの枠までが同様に処理される。
【0143】
尚、見出しや枠の座標を決めた都度、それらのY座標が画面のサイズのY座標以下であり、X座標に見出し長や枠長を加算した値が画面サイズのX座標以下であるチェックをしており、サイズ越えになればメッセージを出し処理を中止する。
【0144】
項番0000の「商品コード」の行では、見出しは前回見出しの下側に配置されるが対応する枠情報である項番0006の行の「繰り返し:有り」と、「項目配置:縦」と、「繰り返し配置:表形式」より、この枠は繰り返される枠の一つであり表形式にするので、見出しに対する枠の基本的相対位置(項目配置:縦から決まる右側)を否定し見出しの下側と決める(相対位置の論理値trueで右側、falseで下側とする)。
【0145】
項番0006の枠のX座標を見出しのX座標に同じとし、Y座標は見出しのY座標に行間隔(=0.5)に項目間隔(=0)を加算した値とし記入する。
【0146】
又、項番0006の「繰り返し回数=00」より「繰り返しの項番=0006」で「繰り返しの回数=01」の行を検索し、図9の項番0011の行に辿り着く。
【0147】
この行の示す「繰り返し:有り」と、「項目配置:縦」と「繰り返し配置:表形式」より枠は前回の枠の下側と決め、この行のX座標を項番0006のX座標に同じとし、Y座標は項番0006のY座標に行間隔(=0.5)に項目間隔(=0)を加算した値とし記入する。以下同様にし項番0016、・・、項番0026の座標が記入される。
【0148】
項番0000の「商品名」の行では、前回見出しの対応枠を前回見出しの下側としたので今回の見出しは前回見出しの右側と決める。対応する枠の項番0007の配置処理では項番0006の配置処理と同様に見出しの下に決められる(ステップ12)。
【0149】
この様にして座標の入った構成表3の画面構成情報による初期生成画面イメージを図11に示す。
【0150】
図5のフローチャートに戻り、画面レイアウト編集部84は、マウス、キーボードやディスプレイからなる入出力装置11とGUIドライバーを使って、画面構成組み立て部83で作成された画面内の項目の配置を変更し、変更情報を構成表3に登録し、変更した画面を画面表示ファイル10に登録する。
【0151】
即ち、画面レイアウト編集部84は前記テンプレート5の(2)表示処理ルーチンと類似のルーチンと、見出しや枠のオブジェクトを移動したり、罫線情報を追加するルーチンのオブジェクトプログラム(機械語プログラム)を持っている。
【0152】
画面構成情報による画面イメージを表示実行し、その後オペレータのマウスカーソル位置とクリック或いはドラッグ開始で指定されると移動対象を特定し、移動終了をクリック或いはドラッグオフで指定されるとその時のカーソル位置を座標位置に変換し、構成表3の移動対象オブジェクトの座標位置を更新する。
【0153】
或いは移動対象にカーソルを合わせリターンキーを押下し、シフトキー押下状態で左右上下の矢印キーでカーソルを移動させ移動終了後にリターンキーを押下する操作でも同様に構成表3の移動対象オブジェクトの座標位置を更新する。
【0154】
又、その後の画面上での罫線の追加を罫線1本を1項目とし構成表3の画面構成情報に追加する。更新後の画面構成情報をオブジェクト形式の画面表示ファイル10にする(ステップ13)。
【0155】
図12は、画面レイアウト編集部84で、入出力装置を使って画面内の見出し項目の位置変更や罫線の追加を行った後の画面イメージである。
【0156】
次に本発明の第2の実施例を説明する。本実施例では画面生成部8が画面構成情報より画面表示ファイル10を作成する際に、入力画面の入力枠の表示を指示し、それに入力されたデータを項目名、或いは項目番号に対応付け取得し、プログラム7に渡す手続き、プログラム7から表示データに伴って受ける項目名、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する。
【0157】
これらの手続きをHTML(Hyper Text Markup Language)等の静的記述、或いは動的記述で作成し端末等のブラウザ等で実行される画面表示ファイル10とする。
【0158】
テンプレート5に(2)表示処理ルーチンを含める必要はなく、(3−1)入力データ取得ブロックは、GUI関連ドライバでなく画面表示ファイル10から入力データを項目名或いは項目番号と共に受け、(4−1)出力項目の設定データ取得ブロックは項目名、或いは項目番号を伴って表示データを画面表示ファイル10に送出する。
【0159】
その他については前記第1の実施例と同様である。
【0160】
【発明の効果】
以上説明した様に本発明によれば、帳票より容易に作成できる管理表と、画面上での見出し(項目名称)や入力枠等の配置調整指示や罫線追加指示とを入力とし帳票入力用プログラムを自動生成するので、プログラム作成技術を持たない者でも既存の帳票を基に帳票入力用プログラムを作成することができる。
【0161】
又、プログラム作成技術の有無に拘わらず帳票入力用プログラムを作成する工数を大幅に低減し得る。
【0162】
又、きめ細かなデータチェックを行わせるには、そのチェックルーチンを部品化しその部品の呼び出しにより処理記述、プログラムへの埋め込みができる。
【0163】
又、画面の雛形が自動的にできこれを利用しやすいように画面上で編集することができるため、専任のプログラマでなくても、簡単に帳票入力用プログラムを作成することができる。
【0164】
又、帳票入力用プログラムの生成用のテンプレートの表示処理部分が画面表示ファイルを参照し表示実行する方式とする、或いは画面表示ファイルとプログラムが項目名ないし項目番号を伴って入力データや表示データを受け渡す方式とすることで、画面上の見出し(項目名称)や入力枠等の配置調整や罫線追加削除の改版を行ってもプログラムの変更を不要に出来る。
【図面の簡単な説明】
【図1】本発明の帳票入力用プログラム生成方式の全体構成を示した図。
【図2】図1の管理表1の情報例を示した図。
【図3】図1の画面構成ルール表9の内容例を示した図。
【図4】本発明の帳票入力用プログラム生成方式の処理手順を示したフローチャート。
【図5】本発明の帳票入力用プログラム生成方式の処理手順を示したフローチャート。
【図6】構成表作成部2が所有する管理レコードの内容例を示した図。
【図7】構成表3のプログラム構成情報の例を示した図。
【図8】構成表3の画面構成情報の例を示した図。
【図9】構成表3の画面構成情報の図8の続きの部分を示した図。
【図10】構成表3の画面構成情報の図9よりの続きの部分を示した図。
【図11】初期生成画面のイメージを示す図。
【図12】画面内の見出し項目の位置変更や罫線の追加を行った後の画面イメージを示す図。
【符号の説明】
1 管理表
2 構成表作成部
21 管理表読み込み部
22 管理表解析部
23 構成表書き込み部
3 構成表
4 プログラム生成部
41 構成表読み込み部
42 テンプレート読み込み部
43 部品読み込み部
44 合成部
45 プログラムオブジェクト生成部
5 テンプレート
6 部品DB
7 プログラム
8 画面生成部
81 構成表読み込み部
82 画面構成ルール表読み込み部
83 画面構成組み立て部
84 画面レイアウト編集部
9 画面構成ルール表
10 画面表示ファイル
11 入出力装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for generating a form input program, a program as a generation tool, and a generation method, and particularly to a method for generating a form input program based on information that can be easily created from a form such as an order slip, and a generation program. And a generation method.
[0002]
[Prior art]
Conventionally, in order to create an order receiving system, an operator reads each item data described in a form such as an order slip and inputs the data into a corresponding input frame (or input area) of a form image input screen. A process for taking data into the system is required.
[0003]
Here, the operator inputs each item data to a corresponding input frame (or input area) of a form image input screen based on information of other media or the like without depending on the description of the form such as an order slip and the like, and takes in the system. There may be.
[0004]
In any case, a form input process is required in which an operator inputs item data through a form image input screen and takes it into the system.
[0005]
Therefore, it is customary to create a dedicated program for each form or to enter data using a utility dedicated to form entry. However, creating a dedicated program requires development by a dedicated person without program production. Costly and time consuming.
[0006]
In addition, when using a utility dedicated to form input, in order to perform a detailed data check, in addition to the check function of the utility, a dedicated check program must be created for the input data. (Restrictions on system operation, etc.) and development costs.
[0007]
Further, in order to avoid these problems, a method of reducing the types of forms or integrating them into a shared form may result in a system that is far from the existing usage form. Therefore, a system or creation tool program that can easily create a form input program by inheriting the existing business is expected.
[0008]
On the other hand, there is a technique related to an input screen generation program from the past (for example, see Patent Document 1).
[0009]
The above technology relates to an input screen generation program for slip entry. Set the item name, hierarchy, data type, and number of digits in the item setting dialog, and select the vertical or horizontal format for arranging the items. In the invention of automatically generating a screen, an efficient data input can be performed by changing an item layout of an input screen.
[0010]
[Patent Document 1]
JP-A-11-066184 (FIGS. 6 to 8)
[0011]
[Problems to be solved by the invention]
However, in the above-mentioned technology, there is a problem that even if the data type and the number of digits can be checked, the input data cannot be checked more finely and the validity cannot be checked.
[0012]
For example, the input person in charge and the delivery code are defined / checked with reference to the table, and if incorrect, an error message cannot be output, and the maximum value of the input numerical value And minimum value check cannot be specified.
[0013]
In addition, even if there is an item that has not been input among a plurality of input items, it is not possible to specify whether or not to allow it, and it is not possible to set an initial value before input.
[0014]
In addition, you can specify whether the array of item names and input areas is vertical or horizontal. If an overflow occurs, it is automatically arranged vertically in multiple columns and horizontal in multiple rows, but each item can be arranged freely. However, there is a problem that it is not possible to make adjustments and to add a ruled line or the like when the same type of data input frame is several rows or several columns.
[0015]
SUMMARY OF THE INVENTION An object of the present invention is to manage items to be printed on a form in a management table, and to describe the attribute of the item, the number of digits, and a part name which is a part of a rule for performing data check, thereby forming a form input program from the management table. (Program that allows the operator to input item data through the form image input screen and import it into the system), or to generate a form for the form image input screen and edit it for easy use. It is an object of the present invention to provide a generation method, a generation program, and a generation method of an application program.
[0016]
[Means for Solving the Problems]
A first method for generating a form input program according to the present invention is a method for automatically generating a form input program based on a management table describing constituent elements included in the form, and the program configuration is based on the management table. A configuration table creation unit that extracts information and screen configuration information and creates a configuration table by dividing it into information for program generation and information for screen configuration, a template describing a framework of the program, and a group of parts are stored. Component database, a program generation unit that generates a program based on the program configuration information of the configuration table, the template and the component database, and a screen configuration rule table including screen sizes and item arrangement directions as screen configuration rules According to the screen configuration information of the configuration table and the screen configuration rule table, the arrangement coordinates of each component of the screen are generated and added to the screen configuration information. Characterized by comprising a screen generating unit to output as the created screen display file template information input screen.
[0017]
According to a second form input program generation method of the present invention, in the first form input program generation method, the screen generation unit displays the created input screen template information on a display; Receives instructions for modifying the arrangement of components on the screen, adding ruled lines, and modifying through the input device, changing the arrangement coordinate information in the composition table, adding and changing ruled line elements, and displaying the updated screen configuration information on the screen. It is also characterized in that it has a screen layout editing unit as a display file.
[0018]
According to a third form input program generation method of the present invention, in the first or second form input program generation method, the screen generation unit generates a screen display file from screen configuration information. At this time, the input frame is instructed to be displayed, and the data input thereto is associated with the item identification or the item number, and acquired and associated with the procedure to be passed to the program, the item identification received from the program with the display data, or the item number. It is characterized by having means for creating a procedure for converting the coordinates into the layout coordinates of the frame and displaying the display data in the corresponding frame.
[0019]
In a fourth form of generating a form input program according to the present invention, in the method of generating a first or second form input program, an input for executing display by referring to the screen display file is included in the template. It includes a model of a screen display process, and the generated program includes a process of displaying an input screen with reference to a corresponding screen display file.
[0020]
According to a fifth form input program generation method of the present invention, in the first, second, third, or fourth form input program generation method, the configuration table creation unit may include the management table. By extracting the heading corresponding to the item, the item identification, the type attribute and the number of digits of the data input or output to the item, and extracting the item identification corresponding to the item, the type attribute of the data and the number of digits, the program configuration information And means for creating original information of an input frame or an output frame corresponding to an item, adding information associated with heading information, combining the heading of the item with these, and using these as screen configuration information. I do.
[0021]
According to a sixth form input program generation method of the present invention, in the fifth form input program generation method, the configuration table creation unit specifies whether or not to repeat items and the number of times from the management table. Means to extract the information to be included in the program configuration information, and when creating the screen configuration information, duplicate and develop the original information of the input frame or output frame corresponding to the item according to the number of repetitions, and add the repetition order to the repetition part Means for creating screen configuration information, wherein the program generation unit detects the repetition information in the configuration table and embeds or adds information to the template so as to reflect the information in the item processing count. It is characterized by having.
[0022]
According to a seventh form input program generation method of the present invention, in the sixth form input program generation method, the screen configuration rule table includes an arrangement format of an input frame or an output frame of a repeated portion. When the screen generating unit detects the repetition order information in the screen configuration information of the configuration table, the screen generation unit repeats the layout direction of the frame of the item with respect to the heading according to the layout format specification of the repeated portion of the screen configuration rule table. Means for deciding whether or not to be the same as a non-portion part, and means for generating layout coordinates of components of the repetition part according to the means and adding it to the screen configuration information to create template information of the input screen. I do.
[0023]
An eighth form input program generation method according to the present invention is the above-described first, third, fourth, or sixth form input program generation method, wherein the configuration table creation unit includes the management table. And a means for extracting a check instruction to be performed on the input data to the item as a check part name and a parameter, and including these in the program configuration information. The apparatus further comprises means for detecting, reading a corresponding part from the part database, and incorporating this and the parameter in a corresponding part of the template.
[0024]
A ninth form input program generation method according to the present invention is the method according to the eighth form input program generation method, wherein the composition table creating unit analyzes a management table, and inputs data to items. There is a means for extracting a minimum value check or a maximum value check instruction to be performed as a corresponding component name and a lower limit value or an upper limit value, and including these in program configuration information. It is characterized by having means for reading a minimum value check component or a maximum value check component, and incorporating this and a lower limit value or an upper limit value in a corresponding portion of the template.
[0025]
According to a tenth form input program generation method of the present invention, in the eighth form input program generation method, the configuration table creation unit analyzes a management table, and input data to an item is stored in a table. Has a means for extracting a check instruction as to whether or not it is registered as a corresponding part name, table identification or table item identification, and including these in the program configuration information. There is provided a means for reading a corresponding part, and incorporating the corresponding part and the table identification and the item identification in the table in a corresponding part of the template.
[0026]
An eleventh form input program generation method according to the present invention is the method according to the first, third, fourth, or sixth form input program generation method, wherein: It has means for analyzing and extracting information designating essential input items, and including this in program configuration information. The program generation unit detects the designation information in the configuration table and inputs the information to the items from the component database. It is characterized in that it has means for reading a part for which presence / absence check is to be performed, and incorporating this and the required item specification information into a template.
[0027]
A twelfth form input program generation method according to the present invention is the method according to the first, third, fourth, or sixth form input program generation method, wherein the configuration table creation unit stores the management table. If there is an instruction to perform an analysis and check for the presence or absence of input based on several required input item patterns, a corresponding part name is extracted and included in the program configuration information. There is provided a means for detecting the component, reading the corresponding component from the component database, and incorporating the component into a template.
[0028]
In a thirteenth form of generating a form input program according to the present invention, in the method of generating a first, third, fourth, or sixth form input program, the configuration table creating unit may store a management table. Analyze and extract the instruction to use the result of processing with the item value of one or more other items as the input as the item value of the item as the part name for processing and the item identification to be input, and extract these as program configuration information Means for the program generation unit to detect such information, read the corresponding part from the part database, and incorporate this and the input item identification into a corresponding part of the template; And a means for embedding the setting to be set in the template.
[0029]
A first program for generating a form input program according to the present invention extracts program configuration information and screen configuration information from a management table describing components included in a form, and converts the information into program generation information and screen configuration information. Program generation for generating a program based on a configuration table creation procedure for separately generating a configuration table, a template describing a framework of the program, a component database storing a group of components, and program configuration information of the configuration table In accordance with the procedure and the screen configuration information of the configuration table, the screen configuration rule table including the screen size and the arrangement direction of the items, the layout coordinates of each component of the screen are generated and added to the screen configuration information, and the template information of the input screen is generated. A screen generation procedure for creating and outputting the screen display file.
[0030]
The program for generating a second form input program according to the present invention is the program for generating a first form input program, wherein the screen generation procedure displays the created template information of the input screen on a display, Receives instructions for modifying the arrangement of components on the screen, adding ruled lines, and modifying through the input device, changing the arrangement coordinate information in the composition table, adding and changing ruled line elements, and displaying the updated screen configuration information on the screen. It has a screen layout editing procedure for a display file.
[0031]
In a third form input program generation program according to the present invention, in the first or second form input program generation program, the screen generation procedure generates a screen display file from screen configuration information. At this time, the input frame is instructed to be displayed, and the data input thereto is associated with the item identification or the item number, and acquired and associated with the procedure to be passed to the program, the item identification received from the program with the display data, or the item number. It is characterized in that it has a procedure for creating a procedure for converting the coordinates to the arrangement coordinates of the frame and displaying the display data in the corresponding frame.
[0032]
According to a fourth form input program generation program of the present invention, in the first or second form input program generation program, the program generation procedure refers to the screen display file and executes display. A program including a procedure for displaying an input screen with reference to a corresponding screen display file is generated based on a template including a template of an input screen display process to be performed.
[0033]
According to a fifth form input program generation program of the present invention, in the first, second, third, or fourth form input program generation program, the configuration table creation procedure is based on the management table. A procedure for extracting the designation of the heading of the item, the item identification, the type attribute and the number of digits of the input or output data, and the procedure of using the item identification, the data type attribute and the number of digits information of the corresponding item as the program configuration information. And generating the original information of the input frame or the output frame for each item, adding a correspondence with the heading information, and combining the heading information with the heading information to make the screen configuration information.
[0034]
According to a sixth form input program generation program of the present invention, in the fifth form input program generation program, the composition table creation step analyzes the management table, and determines whether or not the item is repeated. Procedure for extracting information and including it in program configuration information, and when creating screen configuration information, duplicate and develop the original information of the input frame or output frame corresponding to the item according to the number of repetitions, and add the repetition order to the repetition part. Has a procedure for creating screen configuration information, and has a procedure for embedding or adding information to a template so that the program generation procedure detects the repetition information in the configuration table and reflects it in the number of item processes. It is characterized by the following.
[0035]
According to a seventh form input program generation program of the present invention, in the sixth form input program generation program, the screen generation procedure detects the repetition order information in the screen configuration information of the configuration table. A procedure for deciding whether or not to arrange the frame of the item with respect to the heading in the same manner as the non-repeating part according to the layout format specification of the repeating part of the screen configuration rule table, and the layout coordinates of each component of the repeating part according to this Is generated and added to the screen configuration information to create template information of the input screen.
[0036]
An eighth form input program generation program according to the present invention is the first, third, fourth, or sixth form input program generation program, wherein the configuration table creation procedure includes a management table. It has a procedure to extract the check instruction to be performed on the input data to the item as the corresponding part name and parameter, and to include them in the program configuration information. The program generation procedure detects the check part name and parameter in the configuration table The method further comprises a step of reading a corresponding part from the part database and incorporating the corresponding part in a corresponding part of the template.
[0037]
According to a ninth form input program generation program of the present invention, in the eighth form input program generation program, the composition table creation procedure analyzes a management table and performs a process for input data to an item. A procedure for extracting a minimum value check or a maximum value check instruction to be performed as a corresponding component name and a lower limit value or an upper limit value, and including these in the program configuration information, is detected by the program generation procedure, and is detected from the component database. It is characterized in that it has a procedure of reading a minimum value check component or a maximum value check component, and incorporating the minimum value check component or the maximum value check component into a corresponding portion of the template.
[0038]
According to a tenth form input program generation program of the present invention, in the eighth form input program generation program, the composition table creation procedure analyzes a management table, and input data to an item is stored in a table. Has a procedure for extracting a check instruction as to whether or not it is registered as a corresponding part name and table identification or table item identification, and including these in program configuration information. A program generation procedure detects these, It is characterized in that it has a procedure of reading a corresponding part, and incorporating the corresponding part and the table identification and the item identification in the table into a corresponding part of the template.
[0039]
An eleventh form input program generation program according to the present invention is the first, third, fourth, or sixth form input program generation program, wherein the configuration table creation procedure includes a management table. The method includes a step of analyzing, extracting information designating a required input item, and including the same in program configuration information. The program generation procedure detects the instruction information in the configuration table and inputs the information to the item from the component database. It is characterized in that it has a procedure of reading a component for which presence / absence check is to be performed, and incorporating the relevant component and essential input item designation information into a template.
[0040]
According to a twelfth form input program generation program of the present invention, in the first, third, fourth, or sixth form input program generation program, the configuration table creation procedure includes a management table. If the analysis is performed and an input presence / absence check is instructed by using several required input item patterns, a procedure for extracting a corresponding component name and including the same in the program configuration information is included. It is characterized in that the method includes a step of detecting the part, reading a corresponding part from the part database, and incorporating the part into a template.
[0041]
According to a thirteenth form input program generation program of the present invention, in the first, third, fourth, or sixth form input program generation program, the configuration table creation procedure includes a management table. Analyze and extract the instruction to use the result of processing with the item value of one or more other items as the input as the item value of the item as the part name for processing and the item identification to be input, and extract these as program configuration information The program generation procedure detects such information, reads the corresponding component from the component database, and incorporates this and the input item identification into the corresponding location of the template, and the data output item Is embedded in the template.
[0042]
A first method of generating a form input program according to the present invention extracts program configuration information and screen configuration information from a management table describing components included in a form, and converts the program configuration information and screen configuration information into program generation information and screen configuration information. Program generation for generating a program based on a configuration table creation procedure for separately generating a configuration table, a template describing a framework of the program, a component database storing a group of components, and program configuration information of the configuration table In accordance with the procedure and the screen configuration information of the configuration table, the screen configuration rule table including the screen size and the arrangement direction of the items, the layout coordinates of each component of the screen are generated and added to the screen configuration information, and the template information of the input screen is generated. A screen generation procedure for creating and outputting the screen display file.
[0043]
A second method for generating a form input program according to the present invention is the method for generating a first form input program, wherein the screen generating step includes displaying the created template information of the input screen on a display; Receives instructions for modifying the arrangement of components on the screen, adding ruled lines, and modifying through the input device, changing the arrangement coordinate information in the composition table, adding and changing ruled line elements, and displaying the updated screen configuration information on the screen. It has a screen layout editing procedure for a display file.
[0044]
In a third method for generating a form input program according to the present invention, in the first or second method for generating a form input program, the screen generating procedure generates a screen display file from screen configuration information. At this time, the display of the input frame is instructed, the input data is associated with the item identification or the item number, and the obtained data is associated with the procedure, the procedure to be passed to the program, the item identification received with the display data from the program, or the item number is associated. It is characterized in that it has a procedure for creating a procedure for converting the coordinates into the arrangement coordinates of the frame and displaying the display data in the corresponding frame.
[0045]
According to a fourth form input program generation method of the present invention, in the first or second form input program generation method, the program generation procedure refers to the screen display file to execute display. A program including a procedure for displaying an input screen with reference to a corresponding screen display file is generated based on a template including a template of an input screen display process to be performed.
[0046]
According to a fifth form input program generation method of the present invention, in the first, second, third, or fourth form input program generation method, the configuration table creation procedure is performed based on the management table. A procedure for extracting the designation of the heading of the item, the item identification, the type attribute and the number of digits of the input or output data, and the procedure of using the item identification, the data type attribute and the number of digits information of the corresponding item as the program configuration information. And generating the original information of the input frame or the output frame for each item, adding a correspondence with the heading information, and combining the heading information with the heading information to make the screen configuration information.
[0047]
According to a sixth form input program generation method of the present invention, in the fifth form input program generation method, the composition table creating step analyzes the management table, and determines whether or not the item is repeated. A procedure for extracting information and including it in the program configuration information, and, when creating screen configuration information, duplicating and developing the original information of the input frame or output frame corresponding to the item according to the number of repetitions, and adding the repetition order to the repetition part Has a procedure for creating screen configuration information, and has a procedure for embedding or adding information to a template so that the program generation procedure detects the repetition information in the configuration table and reflects it in the number of item processes. It is characterized by the following.
[0048]
According to a seventh form input program generation method of the present invention, in the sixth form input program generation method, the screen generation procedure detects the repetition order information in the screen configuration information of the configuration table. A procedure for deciding whether or not to arrange the frame of the item with respect to the heading in the same manner as the non-repeating part according to the layout format specification of the repeating part of the screen configuration rule table, and the layout coordinates of each component of the repeating part according to this Is generated and added to the screen configuration information to create template information of the input screen.
[0049]
According to an eighth form input program generation method of the present invention, in the first, third, fourth, or sixth form input program generation method, the configuration table creation procedure includes the steps of: It has a procedure to extract the check instruction to be performed on the input data to the item as the corresponding part name and parameter, and to include them in the program configuration information. The program generation procedure detects the check part name and parameter in the configuration table The method further comprises a step of reading a corresponding part from the part database and incorporating the corresponding part in a corresponding part of the template.
[0050]
According to a ninth form input program generation method of the present invention, in the eighth form input program generation method, the composition table creation procedure analyzes a management table and performs a process for input data to an item. A procedure for extracting a minimum value check or a maximum value check instruction to be performed as a corresponding component name and a lower limit value or an upper limit value, and including these in the program configuration information, is detected by a program generation procedure, and is detected from the component database. It is characterized in that it has a procedure of reading a minimum value check component or a maximum value check component, and incorporating the minimum value check component or the maximum value check component into a corresponding portion of the template.
[0051]
In a tenth method for generating a form input program according to the present invention, in the eighth method for generating a form input program, the composition table creating procedure analyzes a management table, and the input data to the item is stored in a table. Has a procedure for extracting a check instruction as to whether or not it is registered as a corresponding part name and table identification or table item identification, and including these in program configuration information. A program generation procedure detects these, It is characterized in that it has a procedure of reading a corresponding part, and incorporating the corresponding part and the table identification and the item identification in the table into a corresponding part of the template.
[0052]
An eleventh method for generating a form input program according to the present invention is the method for generating a first, third, fourth, or sixth form input program according to the first aspect, wherein the configuration table creating step includes the steps of: The method includes a step of analyzing, extracting information designating a required input item, and including the information in program configuration information. The program generation procedure detects the instruction information in the configuration table, and inputs the information to the item from the component database. It is characterized in that it has a procedure of reading a component for which presence / absence check is to be performed, and incorporating the relevant component and essential input item designation information into a template.
[0053]
A twelfth form input program generation method according to the present invention is the method according to the first, third, fourth, or sixth form input program generation method, wherein If the analysis is performed and an input presence / absence check is instructed by using several required input item patterns, a procedure for extracting a corresponding component name and including the same in the program configuration information is included. It is characterized in that the method includes a step of detecting the part, reading a corresponding part from the part database, and incorporating the part into a template.
[0054]
According to a thirteenth method for generating a form input program according to the present invention, in the first, third, fourth, or sixth method for generating a form input program, the configuration table creating step includes the steps of: Analyze and extract the instruction to use the result of processing with the item value of one or more other items as the input as the item value of the item as the part name for processing and the item identification to be input, and extract these as program configuration information The program generation procedure detects such information, reads the corresponding component from the component database, and incorporates this and the input item identification into the corresponding location of the template, and the data output item Is embedded in the template.
[0055]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings. A first embodiment of the present invention will be described.
[0056]
FIG. 1 is a diagram showing an entire configuration of a method for generating a form input program according to the present invention.
[0057]
Referring to FIG. 1, a method of generating a form input program is as follows. The configuration table 3 is divided into information for generating a program and information for assembling a screen from a management table 1 in which components of a form (a slip or the like) are stored. A configuration table creation unit 2 to be created, a program creation unit 4 that creates a program 7 based on the created configuration table 3, a template 5 describing a framework of the program, and a parts DB 6 storing a group of parts; A screen generation unit 8 is provided for generating a screen display file 10 for a screen generated from the generated configuration table 3 and the screen configuration rule table 9 using an input / output device 11 including a mouse, a keyboard, and a display.
[0058]
The outline of the generated program 7 is as follows. An operator inputs item data through a form image input screen, and checks and processes the input data (the result of indexing the database using the already input item data, or the processing between the already input item data). Is obtained and displayed as other item data, and the item data is imported into the system. The screen display file 10 is a file for displaying a form image input screen.
[0059]
The configuration table creation unit 2 includes a management table reading unit 21, a management table analysis unit 22, and a configuration table writing unit 23, and controls each of these functions.
[0060]
The program generating unit 4 includes a configuration table reading unit 41, a template reading unit 42, a component reading unit 43, a synthesizing unit 44, and a program object generating unit 45, and controls these individual functions.
[0061]
The screen generation unit 8 includes a configuration table reading unit 81, a screen configuration rule table reading unit 82, a screen configuration assembling unit 83, and a screen layout editing unit 84, and controls these individual functions.
[0062]
Note that the configuration table creation unit 2, the program creation unit 4, and the screen creation unit 8 are realized by a program of the information processing device.
[0063]
The configuration table creation unit 2 controls the management table reading unit 21, the management table analysis unit 22, and the configuration table writing unit 23, and monitors the flow of processing. When the information is registered in the configuration table 3, the program generator 4 and the screen generator 8 are started.
[0064]
The management table reading unit 21 reads information for generating a form input program from the management table 1 and expands the information on a memory.
[0065]
The management table analysis unit 22 analyzes the expanded information, extracts information necessary for checking description contents and generating a program and information necessary for generating a screen, and separates information for generating a program and information for generating a screen. .
[0066]
The configuration table writing unit 23 registers the information for generating the program and the information for generating the screen as the configuration table 3.
[0067]
In the management table 1, information necessary for generating a form input program is checked and processed according to a table defining method for attributes and digits of individual items which are elements constituting the form and input data. Part name is specified.
[0068]
The configuration table 3 is information necessary for generating a program using the template 5 and information required for generating a screen.
[0069]
The program generation unit 4 controls the configuration table reading unit 41, the template reading unit 42, the component reading unit 43, the synthesizing unit 44, and the program object generating unit 45, and monitors the flow of processing.
[0070]
The configuration table reading unit 41 reads information necessary for generating a program from the configuration table 3 and develops the information on a memory.
[0071]
The template reading unit 42 reads a skeleton of a program for generating a program from the template 5 and expands the skeleton on the memory.
[0072]
The component reading unit 43 reads necessary components from the component DB 6 and expands them on the memory using the component names described in the program configuration information of the configuration table 3 and the presence or absence of various check designations as search conditions.
[0073]
The synthesizing unit 44 creates a program source by incorporating the information and components of the configuration table 3 for creating a program into the template 5, and develops the program source in the memory.
[0074]
The program object generation unit 45 compiles a program source to create a program object, and registers the program object in the program 7.
[0075]
The template 5 is a program serving as a skeleton of the program, and has a structure such that the program can be completed by replacing different parts with the number of items, the number of input items, and individual items, or adding variable elements.
[0076]
For example, (1) a variable declaration block, (2) a display processing routine, (3-1) an input data acquisition block for input items, (3-2) a check process for each input item, and (4-1) an output item setting Data acquisition block, (4-2) basic check routine for each output item, (5) input end detection routine, (6) repetition control of (3), (4) and (5), (7) check after end detection It includes a routine for outputting dummy data of processing parts and (8) data obtained as input variables or the like to a file or DB.
[0077]
Here, (1) the variable declaration block includes a part for declaring the data type of the input variable of each item. For example, there are 50 lines such as% item name 1 as% input format 1,...,% Item name 50 as% input format 50, and% item name 1 is written in "order_no" and% input format. 1 is replaced by "N".
[0078]
(2) The display processing routine displays one screen or one window of an initial value (an initial value of an item name or an item value), an input frame (or an input area), ruled line information, etc. of each item of the screen display file 10. The information and the display coordinates are passed to instruct the display, and the GUI related driver is instructed to use the coordinate group of the input frame (or the input area) as the destination chain of the cursor.
[0079]
Here, the original information corresponding to the input frame of the screen display file 10 is converted into an input box and a size, and then an instruction is given.
[0080]
(3-1) The item input data acquisition block receives input data, coordinates or item numbers from a GUI-related driver, and if received by coordinates, converts them into item numbers by searching a list or the like. Branch to (3-2).
[0081]
(3-2) In the check processing for each input item, the input data is obtained as an input variable (item name), and it is checked whether the input data is data of an input format (data type).
[0082]
Also, check the number of digits of the input variable value. If they do not match, an error and a correction request message or a warning message are output.
[0083]
Further, the input data is displayed in a display format, and is sent back to the GUI-related driver and displayed again in the frame. If an edit character (such as high-order zero suppression or insertion of a comma indicating a position) is specified in the variable corresponding to the input variable, conversion is performed in accordance with that, and the other values are right-justified (default specification) together with the same value and backed.
[0084]
In the latter half of this processing, there is a dummy of a check component call for performing an optional check and the like. Item 1 is CALL% XX11, CALL% XX12, etc. If necessary,% XX11 checks the item 1 (minimum, maximum, value / not registered in the table), component name and argument, return value It is replaced by a variable or the entire dummy is deleted.
[0085]
Finally, if a valid item value is input, the corresponding bit of the item determination flag array is set to "1".
[0086]
(4-1) Output item setting data acquisition block detects, for an item for which component output is to be set, determination of another item that is an input of a component, and calls a corresponding processing component and a table to be referred to.
[0087]
That is, a logical sum between a mask array indicating other items to be input of parts (bits corresponding to the other items is set to “0” and other bits are set to “1”) and corresponding bits of the item determination flag array is calculated. There are prepared some dummies for calculating the logical product of all the logical sums and calling the parts or tables if the result is "1".
[0088]
(4-2) The basic check routine for each output item is the same as in the first half of (3-2). At the end, if a valid item value is set, the determination flag of the own item is set to true.
[0089]
(5) The input end detection routine detects the end of the input operation and exits from the repetition. Note that a timeout check and a response process with the operator at that time, and other error processes may be included.
[0090]
(7) Dummy of a check or machining part after the end detection is CALL% XXL1, CALL% XXL2, etc., where necessary,% XXL1 is a part name for checking whether all required items are input or set in the part. And the argument, return variable, or delete the entire dummy.
[0091]
(8) The output routine outputs the value acquired as the input variable to the output file or DB in the area corresponding to the input variable. Alternatively, a pair of the input variable name and the acquired data is output to an output file or DB.
[0092]
The part DB 6 includes all of the calculations between the tabulated and acquired item values, the date check, the magnitude relationship between the input value and the specified value, the check whether the input value exists in the specified table, and all the required items. A processing component such as a check as to whether it has been input is registered as a component.
[0093]
In the program 7, objects of a form input program are registered. The screen generation unit 8 controls the configuration table reading unit 81, the screen configuration rule table reading unit 82, the screen configuration assembling unit 83, and the screen layout editing unit 84, and monitors the flow of processing.
[0094]
The configuration table reading unit 81 reads information necessary for generating a screen from the configuration table 3 and develops the information on a memory.
[0095]
The screen configuration rule table reading unit 82 reads the screen configuration rule table 9 and develops it on a memory.
[0096]
The screen configuration assembling unit 83 arranges the configuration information in the screen according to the screen configuration rule table 9 and registers the arranged information in the configuration table 3.
[0097]
The screen layout editing unit 84 changes the arrangement of items in the screen created by the screen configuration assembling unit 83 using the input / output device 11 including a mouse, a keyboard, and a display, and registers the change information in the configuration table 3. Then, the changed screen is registered in the screen display file 10.
[0098]
The screen configuration rule table 9 stores information instructing how to arrange the components of the screen. Screen information for display on the display is registered in the screen display file 10.
[0099]
The input / output device 11 is an input / output device using a keyboard, a display, and a mouse.
[0100]
Next, an example of information in the management table 1 will be described with reference to FIG. The name of the program to be generated and the name of the table are added to the management table 1. In this example, the program name is “order” and the table name is “order_tbl”.
[0101]
In the main body of the management table 1, information on items constituting a form and how to check or process each item are described in a table format.
[0102]
N, C, and J in the attribute column indicate numbers (Numeric), characters (Character), kanji, kana, and katakana (Japanese), and indicate type attributes of input data. What is indicated here is that the configuration table creation unit 2 interprets.
[0103]
The item on the first line indicates that the item name is “Order No.” and that the item value is handled by a variable “Order_no”. The item value is an integer of up to eight digits, and the input of this item value is Indicates that it is mandatory (cannot be omitted).
[0104]
If an input that does not conform to the above is made, an error message is issued, and a request is made to correct the input so that the item value matches.
[0105]
In the item "date" on the second line, the input format is DATE, and 13/02 or the like becomes 13/2, an error message is issued, and a request for correction input is made.
[0106]
The item “customer code” on the third line indicates a check that the input code is registered in “Cust_tbl / Cust_code”.
[0107]
The item “customer name” on the fourth line requests that the primary key be displayed as “Cust_code” and the name registered in the table “Cust_tbl / Cust_name”. Become).
[0108]
In the items from "product code" to "amount", the repetition column is "1 * 5", which indicates that the input frame (or display frame) is to be repeated five times.
[0109]
The editing character "Z, ZZ9" in the line of "unit price" indicates that the upper 0 of the numerical value suppresses the value and inserts a comma every 3 digits from the lower if the remaining digits are 4 or more.
[0110]
= MUL (unit price, quantity) in the parts column of the "money" row indicates that the value calculated by the MUL of the item value of the item name "unit price" and the item value of "quantity" is used as the item value of the money amount. (The item frame of the amount is a display frame, not an input frame.)
[0111]
Here, if there is no “=” in the description of the parts column and the name of a part such as a check and an input item name, the item is still an input item.
[0112]
In addition, the specification of "required / not required" means that it is necessary to enter in any of a plurality of items, or if an entry is made in a certain item, the details of that item will be required, and input to the item to specify the attribute is indispensable. If there is a dependency relationship between the items that is omitted if not entered in the item, an input check for the required item is instructed by a component name including the required input item pattern information in the component column.
[0113]
In this way, this management table is composed of a table in the form of a table, and all the requirements for generating a form input program are defined. Therefore, this management table can also be used as a definition document for creating a program.
[0114]
FIG. 3 illustrates a screen configuration rule for the screen generation unit 8 to generate a screen. In the screen configuration rule table, the size of the screen to be generated, the heading, the arrangement start position of the item and the like, the development form, and the like are registered.
[0115]
Next, the operation of the embodiment of the present invention will be described with reference to the drawings. 4 and 5 are flowcharts showing the processing procedure of the form input program generation method.
[0116]
Referring to FIG. 4, the management table reading unit 21 reads the management table 1 shown in FIG. 2 and expands it on the memory (step 1).
[0117]
The management table analysis unit 22 first obtains a program name and a table name from the expanded information, and registers them in a management record owned by the configuration table creation unit 2 (see FIG. 6). At this time, “_prog_file”, “_scrn_file”, etc. are added to the program configuration file name and screen configuration file name fields, respectively, to derive them (step 2).
[0118]
Next, the expanded information is analyzed to check for a description error, and if there is at least an error, a correction request message is issued. For example, if the item name, item name, attribute, and number of digits are not blank (NIL), the attribute is a defined character, the number of digits is numeric, and the input format is specified, It is checked whether the word or character is used, and if a repetition is specified, it is in a predetermined format (step 3).
[0119]
Next, information necessary for program generation and screen generation is extracted, and organized according to program generation information and screen generation information.
[0120]
In this example, all information other than the item names (headings) in the management table 1 is extracted as program generation information, and an item number is added. Also, the required / unnecessary designation is converted into “1” and “0”, and if there is no designation in the input format column, the designation in the attribute column is copied, and the repeated “1 * 5” is changed to “level = 1” and “number of times”. = 5 "(see FIG. 7) (step 4).
[0121]
As screen generation information, first, an initial value to be displayed in a heading on an input screen, an input frame, or the like is extracted.
[0122]
The item name (heading) of each row of the management table 1 is extracted, and the attribute and the number of digits of the heading word are extracted and added. That is, "Order No." is extracted, and six digits are extracted using Japanese characters (kanji, katakana, kana, alphabets, and numbers).
[0123]
In addition, an initial value specified in the management table 1 is extracted, and an attribute and the number of digits are extracted from the initial value word and added. At this time, the item name of the line is taken out as information indicating which input frame is the initial value and associated therewith. Further, if there is repeated information in that line, it is extracted.
[0124]
The initial value word, attribute, number of digits, item name, and number of repetitions are used as information per line. Lines with repetition are copied so as to be the number of times, and the number information is rewritten in the order indicating the number of times ( See FIG. 8).
[0125]
Next, the information which is the source of the input frame or display frame (input area or display area) corresponding to the item on the input screen is extracted.
[0126]
The item name, attribute, number of digits, and repetition information of each row of the management table 1 are extracted. Then, the line for which repetition is specified is copied so as to be the number of times, and the number information is rewritten in an order indicating the number of times (see FIGS. 9 and 10) (step 5).
[0127]
Returning to the flow of FIG. 4, the configuration table writing unit 23 registers the information for program generation and the information for screen generation as the configuration table 3. At this time, the file name is the name indicated by the management record (step 6).
[0128]
FIG. 7 shows the program configuration information of the configuration table 3 thus created. The screen configuration information is shown in FIGS. 8 to 10 (however, at this point, the arrangement position information is blank only in the column).
[0129]
The configuration table reading unit 41 reads the program configuration information from the configuration table 3 and expands it on the memory, and the template reading unit 42 reads the skeleton of the program for generating the program from the template 5 and expands it on the memory (step 7). ).
[0130]
The component reading unit 43 reads necessary components from the component DB 6 based on the component names described in the program configuration information of the configuration table 3 and the names of the components for checking for which the check is specified, and expands them on the memory. (Step 8).
[0131]
The synthesizing unit 44 creates a program source by incorporating the information and components of the configuration table 3 for creating a program into the template 5, and develops the program source in the memory.
[0132]
For example, the main part of the template 5 (the (1) variable declaration block,..., (7) the check after the end detection or the dummy of the machining part) has a screen display file name to be replaced, the number of items, The number of input items, input variable names, and component names are% screen display files,% items,% input items,% item names 1, ...,% item names 100,% XX11,% XX12, ...,% XX501, .., embedded in the form of% XX502,% XXL1,% XXL2.
[0133]
Here,% indicates that the following is to be replaced, and thereafter, which information of the program configuration information in the configuration table 3 is to be replaced is identifiably described, and the necessary replacement is performed according to this.
[0134]
That is, the% screen display file is replaced with "Order_prog_file", the number of% items and the number of% input items are replaced with 30 (5 + 5 * 5) and 14 (4 + 5 * 2), and the% item name 1,. %, Item name 10 is replaced with “Order_no”,..., “Goods_code ()”,..., “Total ()”, and “Goods_code ()”,. "Adds an array definition with a subscript of 1 to 5.
[0135]
In the example of item No. 3,% input format 3 is replaced with "C",% digit number 3 is replaced with 5, and% XX31 is replaced with "registration (Cust_code, Cust_tbl / Cust_code", result31). Here, the presence / absence of registration is the name of the component that checks whether the value of argument 1 is registered in the specification column of the table of argument 2, outputs a message if it is not registered, and returns the result to result31.
[0136]
Replacement is performed in this way, and the part that is not replaced is commented out or deleted (a commenting mark is inserted from the beginning at the beginning or end of the line of the variable part of the template 5, and the replacement is performed in the unit of function at the time of replacement. Remove the comment mark and, if necessary, delete the comment-only line at the end). A part to be called after the main is added (step 9).
[0137]
The program object generator 45 compiles the program source to create a program object and registers the program object in the program 7 (step 10).
[0138]
Referring to the flowchart of FIG. 5, the configuration table reading unit 81 reads information (FIGS. 8 to 10) necessary for generating a screen from the configuration table 3 and expands the information on the memory. Further, the screen configuration rule table reading unit 82 reads the screen configuration rule table 9 (FIG. 3) and develops it on the memory (step 11).
[0139]
The screen configuration assembling unit 83 arranges the configuration information in the screen according to the screen configuration rule table 9 and registers the arranged coordinate positions in the configuration table 3. This processing operation will be described in detail.
[0140]
The coordinate value of the heading start position of the screen configuration rule table 9 (on the memory) is written in the arrangement coordinates of the first row of the heading information (FIG. 8) of the item number 0000 of the configuration table 3 on the memory. Next, information on the input frame or display frame (hereinafter abbreviated as frame) corresponding to the headline is acquired. That is, a line having the item name “Order_no” is searched for the item number 0001 and thereafter, the line of the item number 0001 in FIG. 9 is determined, and the information of this line is acquired.
[0141]
The frame is determined to be on the right side of the heading based on “Repeat: None” obtained from “Number of times of repetition column = NIL” and “Item arrangement: Vertical” in the screen configuration rule table 9, and the X coordinate of item number 0001 is set as the item start position The X coordinate is entered, and the Y coordinate is the same as the Y coordinate of the heading.
[0142]
The next line of the item number 0000 is obtained, the frame corresponding to the previous heading is on the right side, and this heading is below the previous heading, and the Y coordinate of the previous heading is a line spacing value (= 0.5) and an item spacing value ( = 0) is added to make the Y coordinate of the current headline, and the X coordinate is the same as the X coordinate of the previous headline. The heading “delivery date” and the frame up to this are processed in the same manner.
[0143]
Each time the coordinates of a heading or a frame are determined, check that the Y coordinate is equal to or smaller than the Y coordinate of the screen size, and the value obtained by adding the heading length or the frame length to the X coordinate is equal to or smaller than the X coordinate of the screen size. If the size is exceeded, a message is issued and the processing is stopped.
[0144]
In the line of “product code” of item number 0000, the heading is arranged below the previous heading, but “repeated: present” and “item arrangement: vertical” of line of item number 0006 which is the corresponding frame information From "Repeat Arrangement: Table Format", this frame is one of the repeated frames and is in tabular format, so the basic relative position of the frame with respect to the heading (item layout: right side determined from the vertical) is denied and (The logical value true of the relative position is on the right side and false is on the lower side).
[0145]
The X coordinate of the frame of the item number 0006 is the same as the X coordinate of the heading, and the Y coordinate is a value obtained by adding the item interval (= 0) to the Y coordinate of the heading and the line interval (= 0.5).
[0146]
Further, a line of “number of repetitions = 01” is searched for “number of repetitions = 0006” from “number of repetitions = 00” of item number 0006, and a line of item number 0011 in FIG. 9 is reached.
[0147]
Based on “Repeat: Present”, “Item arrangement: Vertical” and “Repeat arrangement: Table format” shown in this line, the frame is determined to be below the previous frame, and the X coordinate of this line is set to the X coordinate of item number 0006. The same is assumed, and the Y coordinate is entered as a value obtained by adding the item interval (= 0) to the line interval (= 0.5) to the Y coordinate of the item number 0006. Similarly, the coordinates of the item numbers 0016,..., 0026 are entered.
[0148]
In the line of “product name” of item number 0000, since the corresponding frame of the previous heading is below the previous heading, the current heading is determined to the right of the previous heading. In the arrangement process of the item number 0007 of the corresponding frame, it is determined under the heading, similarly to the arrangement process of the item number 0006 (step 12).
[0149]
FIG. 11 shows an initial generation screen image based on the screen configuration information of the configuration table 3 containing the coordinates as described above.
[0150]
Returning to the flowchart of FIG. 5, the screen layout editing unit 84 changes the arrangement of items in the screen created by the screen configuration assembling unit 83 using the input / output device 11 including a mouse, a keyboard, and a display and a GUI driver. The change information is registered in the configuration table 3, and the changed screen is registered in the screen display file 10.
[0151]
That is, the screen layout editing unit 84 has a routine similar to the (5) display processing routine of the template 5, and an object program (machine language program) of a routine for moving a heading or frame object or adding ruled line information. ing.
[0152]
Display and execute the screen image according to the screen configuration information, and then specify the mouse cursor position of the operator and the movement target if specified by clicking or dragging start, and specify the cursor position by clicking or dragging off the movement end. The coordinate position is converted, and the coordinate position of the movement target object in the configuration table 3 is updated.
[0153]
Alternatively, by moving the cursor to the object to be moved and pressing the return key, moving the cursor with the left, right, up and down arrow keys in a state where the shift key is pressed, and pressing the return key after the movement is completed, the coordinate position of the object to be moved in the configuration table 3 is similarly set. Update.
[0154]
Further, the subsequent addition of a ruled line on the screen is added to the screen configuration information of the configuration table 3 with one ruled line as one item. The updated screen configuration information is converted into the object-format screen display file 10 (step 13).
[0155]
FIG. 12 shows a screen image after the screen layout editing unit 84 has changed the position of a heading item on the screen and added a ruled line using an input / output device.
[0156]
Next, a second embodiment of the present invention will be described. In the present embodiment, when the screen generation unit 8 creates the screen display file 10 from the screen configuration information, the screen generation unit 8 instructs the display of the input frame of the input screen, and acquires the data input thereto in association with the item name or the item number. Then, a procedure to be passed to the program 7 and a procedure to convert an item name or an item number received from the program 7 with the display data into arrangement coordinates of the corresponding frame and display the display data in the corresponding frame are also created.
[0157]
These procedures are created as static description such as HTML (Hyper Text Markup Language) or dynamic description, and the screen display file 10 is executed by a browser or the like of a terminal.
[0158]
It is not necessary to include (2) the display processing routine in the template 5, and (3-1) the input data acquisition block receives the input data from the screen display file 10 together with the item name or the item number instead of the GUI-related driver, and 1) The setting data acquisition block for the output item sends display data to the screen display file 10 together with the item name or item number.
[0159]
Others are the same as in the first embodiment.
[0160]
【The invention's effect】
As described above, according to the present invention, a management table which can be easily created from a form, a heading (item name) on the screen, an arrangement adjustment instruction of an input frame, etc., and a ruled line addition instruction are input and a form input program is used. Is automatically generated, even a person who does not have the program creation technology can create a form input program based on an existing form.
[0161]
Further, the number of steps for creating a form input program can be significantly reduced regardless of the presence or absence of the program creation technology.
[0162]
In order to perform a detailed data check, the check routine can be made into a component, and the process can be described and embedded in a program by calling the component.
[0163]
In addition, since a screen template can be automatically created and edited on the screen so that it can be easily used, a form input program can be easily created without a dedicated programmer.
[0164]
Also, the display processing part of the template for generating the form input program may be configured to display and execute by referring to the screen display file, or the screen display file and the program may perform the input data or the display data together with the item names or the item numbers. By adopting the transfer method, it is possible to eliminate the need to change the program even if the layout (heading (item name), input frame, etc.) on the screen is adjusted or ruled lines are added or deleted.
[Brief description of the drawings]
FIG. 1 is a diagram showing an overall configuration of a form input program generation method according to the present invention.
FIG. 2 is a diagram showing an example of information in a management table 1 of FIG.
FIG. 3 is a view showing an example of the contents of a screen configuration rule table 9 of FIG. 1;
FIG. 4 is a flowchart showing a processing procedure of a form input program generation method according to the present invention.
FIG. 5 is a flowchart showing a processing procedure of a form input program generation method according to the present invention.
FIG. 6 is a diagram showing an example of the contents of a management record owned by the configuration table creation unit 2.
FIG. 7 is a diagram showing an example of program configuration information of a configuration table 3.
FIG. 8 is a diagram showing an example of screen configuration information of a configuration table 3.
FIG. 9 is a view showing a continuation part of FIG. 8 of the screen configuration information of the configuration table 3.
FIG. 10 is a diagram showing a portion subsequent to FIG. 9 of the screen configuration information of the configuration table 3.
FIG. 11 is a diagram showing an image of an initial generation screen.
FIG. 12 is a diagram showing a screen image after a position of a heading item in a screen is changed or a ruled line is added.
[Explanation of symbols]
1 management table
2 Composition table creation section
21 Management table reading section
22 Management table analysis unit
23 Configuration table writing unit
3 Composition table
4 Program generator
41 Configuration table reading unit
42 Template reading unit
43 Parts reading unit
44 Synthesizing unit
45 Program Object Generator
5 templates
6 Parts DB
7 programs
8 Screen generation unit
81 Configuration table reading unit
82 Screen Configuration Rule Table Reading Unit
83 Screen Configuration Assembly Unit
84 Screen Layout Editing Department
9 Screen composition rule table
10. Screen display file
11 I / O device

Claims (39)

帳票に含まれる構成要素を記述した管理表を元にして帳票入力用のプログラムを自動生成する方式であって、前記管理表よりプログラム構成情報と画面構成情報を抽出し、プログラム生成用の情報と画面構成用の情報に分けて構成表を作成する構成表作成部と、プログラムの骨格が記述されているテンプレートと、部品群が格納されている部品データベースと、構成表のプログラム構成情報と前記テンプレートと前記部品データベースを基にプログラムを生成するプログラム生成部と、画面構成上のルールとして画面サイズと項目の配置方向を含む画面構成ルール表と、構成表の画面構成情報と前記画面構成ルール表に従って、画面の各構成要素の配置座標を生成して画面構成情報に付加し入力画面の雛形情報を作成し画面表示ファイルとして出力する画面生成部とを備えたことを特徴とする帳票入力用プログラムの生成方式。A method for automatically generating a program for form input based on a management table describing constituent elements included in a form, extracting program configuration information and screen configuration information from the management table, A composition table creating unit for creating a composition table by dividing the information into information for screen composition, a template describing a framework of a program, a component database storing a group of components, program configuration information of the composition table, and the template A program generation unit that generates a program based on the component database, a screen configuration rule table including screen sizes and item arrangement directions as screen configuration rules, screen configuration information of the configuration table, and the screen configuration rule table. Generates the layout coordinates of each component of the screen, adds it to the screen configuration information, creates the template information of the input screen, and creates a screen display file Generation method of a form input program characterized by comprising a screen generating unit to output. 前記画面生成部が、前記作成した入力画面の雛形情報をディスプレイに表示し、画面上の構成要素の配置の修正や罫線の追加、修正の指示を入力デバイスを通じて受け、構成表内の配置座標情報の変更や、罫線要素の追加変更を行い、更新後の画面構成情報を画面表示ファイルとする画面レイアウト編集部も有することを特徴とする請求項1記載の帳票入力用プログラムの生成方式。The screen generation unit displays the created template information of the input screen on a display, receives an instruction to correct the arrangement of components on the screen, add a ruled line, and corrects through an input device, and receives arrangement coordinate information in a configuration table. 2. A method for generating a form input program according to claim 1, further comprising a screen layout editing unit which changes the screen configuration information and adds / changes ruled line elements and uses the updated screen configuration information as a screen display file. 前記画面生成部が、画面構成情報から画面表示ファイルを作成する際に、入力枠の表示を指示し、それに入力されたデータを項目識別、或いは項目番号に対応付け取得し、プログラムに渡す手続き、プログラムから表示データに伴って受ける項目識別、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する手段を有することを特徴とする請求項1、又は2記載の帳票入力用プログラムの生成方式。A procedure in which the screen generation unit instructs display of an input frame when creating a screen display file from screen configuration information, acquires data input thereto in association with an item identification or an item number, and passes the acquired data to a program; 3. The apparatus according to claim 1, further comprising means for converting an item identification or an item number received from the program along with the display data into an arrangement coordinate of the corresponding frame and creating a procedure for displaying the display data in the corresponding frame. Generation method of the form input program. 前記テンプレートには前記画面表示ファイルを参照し表示を実行する入力画面表示処理の雛形を含み、前記生成されるプログラムには対応する画面表示ファイルを参照し入力画面の表示を実行する処理を含むことを特徴とする請求項1、又は2記載の帳票入力用プログラムの生成方式。The template includes a template of an input screen display process of executing display by referring to the screen display file, and the generated program includes a process of executing display of the input screen by referring to a corresponding screen display file. 3. The method of generating a form input program according to claim 1, wherein 前記構成表作成部が、前記管理表より、項目に対応した見出し、項目識別、項目に入力又は出力されるデータの型属性や桁数指定を抽出し、前記項目対応の項目識別、前記データの型属性や桁数指定をプログラム構成情報とする手段と、項目対応に入力枠又は出力枠の元情報を作成し、見出し情報との対応付け情報を付加し、項目の見出しと合わせこれらを画面構成情報とする手段を有することを特徴とする請求項1、2、3、又は4記載の帳票入力用プログラムの生成方式。The configuration table creation unit extracts, from the management table, a heading corresponding to an item, an item identification, a type attribute and a digit number designation of data input or output to the item, and identifies the item corresponding to the item, A means for setting the type attribute and the number of digits as the program configuration information, and creating the original information of the input frame or the output frame for each item, adding the information associated with the heading information, and combining them with the heading of the item, and configuring these on the screen. 5. The method according to claim 1, further comprising means for making information. 前記構成表作成部が、前記管理表より項目の繰り返しの有無と回数を指定する情報も抽出してこれをプログラム構成情報に含める手段と、画面構成情報の作成の際に項目対応の入力枠又は出力枠の元情報を繰り返し回数に従って複製展開し、繰り返し部分に繰り返し順を付加し、画面構成情報を作成する手段を有し、前記プログラム生成部が構成表の前記繰り返し情報を検出し、それを項目処理回数に反映する様にテンプレートへの情報の埋め込みや追加を行なう手段を有することを特徴とする請求項5記載の帳票入力用プログラムの生成方式。Means for extracting the information for specifying whether or not to repeat the item and the number of times from the management table, and including the information in the program configuration information, and an input frame corresponding to the item when creating the screen configuration information, Means for duplicating and expanding the original information of the output frame according to the number of repetitions, adding a repetition order to the repetition part, and creating screen configuration information, wherein the program generation unit detects the repetition information in the configuration table, and 6. The method according to claim 5, further comprising means for embedding or adding information to the template so as to reflect the number of item processing. 前記画面構成ルール表には、繰り返し部分の入力枠又は出力枠の配置形式の指定を含み、前記画面生成部が構成表の画面構成情報内の前記繰り返し順情報を検出すると、画面構成ルール表の繰り返し部分の配置形式指定に応じ、見出しに対する項目の枠の配置方向を、繰り返しでない部分と同じにする/否を決める手段と、それに従って繰り返し部分の構成要素の配置座標を生成して画面構成情報に付加して、入力画面の雛形情報を作成する手段を有することを特徴とする請求項6記載の帳票入力用プログラムの生成方式。The screen configuration rule table includes designation of an arrangement format of an input frame or an output frame of a repetition portion, and when the screen generation unit detects the repetition order information in the screen configuration information of the configuration table, the screen configuration rule table Means for determining whether or not to arrange the frame of the item with respect to the heading in the same manner as the non-repeated part in accordance with the arrangement format of the repeated part, and generating the arrangement coordinates of the constituent elements of the repeated part in accordance with the means; 7. A method for generating a form input program according to claim 6, further comprising means for creating template information of the input screen in addition to the above. 前記構成表作成部が、前記管理表を解析し、項目への入力データに対し行うチェック指示をチェック部品名、パラメータとして抽出し、これらをプログラム構成情報に含める手段を有し、前記プログラム生成部が構成表のチェック部品名、パラメータを検出し、前記部品データベースより該当部品を読込み、これと前記パラメータをテンプレートの該当個所に組み込む手段を有することを特徴とする請求項1、3、4、又は6記載の帳票入力用プログラムの生成方式。The configuration table creation unit has means for analyzing the management table, extracting check instructions to be performed on input data to items as check component names and parameters, and including these in program configuration information. 5. The apparatus according to claim 1, further comprising means for detecting a check component name and a parameter in a configuration table, reading a corresponding component from the component database, and incorporating the parameter and the parameter in a corresponding location of a template. 6. A method for generating a form input program according to 6. 前記構成表作成部が、管理表を解析し、項目への入力データに対し行う最小値チェック或いは最大値チェック指示を、対応する部品名と下限値或いは上限値として抽出し、これらをプログラム構成情報に含める手段を有し、プログラム生成部がこれらを検出し、前記部品データベースより最小値チェック部品或いは最大値チェック部品を読込み、これと下限値或いは上限値をテンプレートの該当個所に組み込む手段を有することを特徴とする請求項8記載の帳票入力用プログラムの生成方式。The configuration table creator analyzes the management table and extracts a minimum value check or a maximum value check instruction for input data to an item as a corresponding component name and a lower limit value or an upper limit value, and extracts these as program configuration information. The program generation unit detects these, reads the minimum value check component or the maximum value check component from the component database, and incorporates this and the lower limit value or the upper limit value into a corresponding part of the template. The method for generating a form input program according to claim 8, wherein: 前記構成表作成部が、管理表を解析し、項目への入力データがテーブルに登録されているかのチェック指示を、対応する部品名とテーブル識別やテーブル内項目識別として抽出し、これらをプログラム構成情報に含める手段を有し、プログラム生成部がこれらを検出し、前記部品データベースより対応部品を読込み、これとテーブル識別やテーブル内項目識別をテンプレートの該当個所に組み込む手段を有することを特徴とする請求項8記載の帳票入力用プログラムの生成方式。The composition table creator analyzes the management table, extracts a check instruction as to whether input data to an item is registered in the table as a corresponding part name and table identification or item identification in a table, and extracts these as a program configuration. The program generating unit detects these components, reads corresponding components from the component database, and incorporates the corresponding components into a corresponding portion of the template. A method for generating a form input program according to claim 8. 前記構成表作成部が、管理表を解析し、必須の入力項目を指定する情報を抽出し、これをプログラム構成情報に含める手段を有し、前記プログラム生成部が構成表の前記指定情報を検出し、前記部品データベースより項目への入力有無チェックを行う部品を読込み、これと必須入力の項目指定情報をテンプレートに組み込む手段を有することを特徴とする請求項1、3、4、又は6記載の帳票入力用プログラムの生成方式。The composition table creation unit has means for analyzing a management table, extracting information designating essential input items, and including the information in program configuration information, and the program generation unit detecting the designation information in the composition table. 7. The apparatus according to claim 1, further comprising means for reading a component for checking whether an item is input from the component database, and incorporating the component and required item specification information into a template. Generation method of form input program. 前記構成表作成部が、管理表を解析し、幾通りかの必須入力項目パターンによる入力有無チェックを指示していれば、対応する部品名を抽出し、これをプログラム構成情報に含める手段を有し、前記プログラム生成部が構成表の前記部品を検出し前記部品データベースより該当部品を読込み、これをテンプレートに組み込む手段を有することを特徴とする請求項1、3、4、又は6記載の帳票入力用プログラムの生成方式。If the configuration table creating unit analyzes the management table and instructs the input presence / absence check by using several required input item patterns, a means for extracting a corresponding component name and including this in the program configuration information is provided. 7. The form according to claim 1, further comprising means for detecting the component in the configuration table, reading the corresponding component from the component database, and incorporating the component into a template. Generation method of input program. 前記構成表作成部が、管理表を解析し、一つ以上の他の項目の項目値を入力として加工した結果をその項目の項目値とする指示を、加工用の部品名、入力となる項目識別として抽出し、これらをプログラム構成情報に含める手段を有し、前記プログラム生成部がこれらの情報を検出し、前記部品データベースより該当部品を読込み、これと入力の項目識別をテンプレートの該当個所に組み込む手段と、その項目をデータ出力項目とする設定をテンプレートに埋め込む手段を有することを特徴とする請求項1、3、4、又は6記載の帳票入力用プログラムの生成方式。The configuration table creator analyzes the management table, and inputs an item value of one or more other items and processes the result as an item value of the item. It has a means for extracting as identification and including them in the program configuration information, the program generation unit detects these information, reads the corresponding part from the part database, and stores this and the input item identification in the corresponding part of the template. 7. The method for generating a form input program according to claim 1, further comprising: means for incorporating, and means for embedding, in a template, settings for setting the item as a data output item. 帳票に含まれる構成要素を記述した管理表よりプログラム構成情報と画面構成情報を抽出し、プログラム生成用の情報と画面構成用の情報に分けて構成表を作成する構成表作成手順と、プログラムの骨格が記述されているテンプレート、部品群が格納されている部品データベース、前記構成表のプログラム構成情報とを基にしプログラムを生成するプログラム生成手順と、前記構成表の画面構成情報、画面サイズと項目の配置方向を含む画面構成ルール表に従って、画面の各構成要素の配置座標を生成して画面構成情報に付加し入力画面の雛形情報を作成し画面表示ファイルとして出力する画面生成手順とを備えたことを特徴とする帳票入力用プログラムの生成プログラム。A table creation procedure for extracting program configuration information and screen configuration information from a management table describing the components included in the form and creating a configuration table by dividing the information into information for program generation and information for screen configuration; A program generation procedure for generating a program based on a template describing a skeleton, a component database storing a group of components, and program configuration information of the configuration table, screen configuration information of the configuration table, screen size and items A screen generation procedure for generating layout coordinates of each component of the screen according to the screen configuration rule table including the layout direction of the screen, adding the layout coordinates to the screen configuration information, creating template information of the input screen, and outputting it as a screen display file. A program for generating a form input program, characterized in that: 前記画面生成手順が、前記作成した入力画面の雛形情報をディスプレイに表示し、画面上の構成要素の配置の修正や罫線の追加、修正の指示を入力デバイスを通じて受け、構成表内の配置座標情報の変更や、罫線要素の追加変更を行い、更新後の画面構成情報を画面表示ファイルとする画面レイアウト編集手順を有することを特徴とする請求項14記載の帳票入力用プログラムの生成プログラム。The screen generation procedure displays the created input screen template information on a display, receives an instruction to correct the arrangement of components on the screen, add a ruled line, and corrects the input device through an input device, and receives the arrangement coordinate information in the configuration table. 15. The program for generating a form input program according to claim 14, further comprising a screen layout editing procedure in which a screen layout editing procedure is performed to change the screen configuration information and add / change ruled line elements and use the updated screen configuration information as a screen display file. 前記画面生成手順が、画面構成情報から画面表示ファイルを作成する際に、入力枠の表示を指示し、それに入力されたデータを項目識別、或いは項目番号に対応付け取得し、プログラムに渡す手続き、プログラムから表示データに伴って受ける項目識別、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する手順を有することを特徴とする請求項14、又は15記載の帳票入力用プログラムの生成プログラム。The screen generation procedure, when creating a screen display file from the screen configuration information, instructing the display of an input frame, acquiring the data input thereto in association with the item identification or the item number, and passing the acquired data to the program; 16. The method according to claim 14, further comprising a procedure for converting an item identification or an item number received from the program along with the display data into an arrangement coordinate of the corresponding frame and creating a procedure for displaying the display data in the corresponding frame. Generation program for form input program. 前記プログラム生成手順が、前記画面表示ファイルを参照し表示を実行する入力画面表示処理の雛形を含むテンプレートに基づき、対応する画面表示ファイルを参照し入力画面表示を行う手順を含むプログラムを生成することを特徴とする請求項14、又は15記載の帳票入力用プログラムの生成プログラム。The program generating step generates a program including a step of referring to a corresponding screen display file and displaying an input screen based on a template including a template of an input screen display process of executing display by referring to the screen display file. The program for generating a form input program according to claim 14 or 15, wherein 前記構成表作成手順が前記管理表より項目対応の見出し、項目識別、入力又は出力されるデータの型属性や桁数の指定を抽出する手順と、項目対応の項目識別、データの型属性や桁数情報をプログラム構成情報とする手順と、項目対応に入力枠又は出力枠の元情報を作成し、見出し情報との対応付けを付加し、見出し情報と合わせ画面構成情報とする手順とを有することを特徴とする請求項14、15、16、又は17記載の帳票入力用プログラムの生成プログラム。A step of extracting the heading of the item corresponding to the item, the item identification, the designation of the type attribute and the number of digits of the input or output data from the management table, and the item identification of the corresponding item, the type attribute and the digit of the data from the management table. A procedure to make the number information the program configuration information and a procedure to create the original information of the input frame or the output frame corresponding to the item, add the association with the heading information, and make the screen configuration information combined with the heading information 18. The program for generating a form input program according to claim 14, 15, 16, or 17. 前記構成表作成手順が、管理表を解析し、項目の繰り返しの有無と回数情報を抽出し、これをプログラム構成情報に含める手順と、画面構成情報の作成の際に項目対応の入力枠又は出力枠の元情報を繰り返し回数に従って複製展開し、繰り返し部分に繰り返し順を付加し、画面構成情報を作成する手順を有し、前記プログラム生成手順が構成表の前記繰り返し情報を検出し、それを項目処理回数に反映する様にテンプレートへの情報の埋め込みや追加を行なう手順を有することを特徴とする請求項18記載の帳票入力用プログラムの生成プログラム。The composition table creation procedure analyzes the management table, extracts information on whether or not the item is repeated and the number of times, and includes the information in the program composition information, and an input frame or output corresponding to the item when creating the screen composition information. A step of duplicating and expanding the original information of the frame in accordance with the number of repetitions, adding a repetition order to the repetition part, and creating screen configuration information, wherein the program generation procedure detects the repetition information of the configuration table, and 19. The program for generating a form input program according to claim 18, further comprising a procedure for embedding or adding information to a template so as to reflect the number of times of processing. 前記画面生成手順が構成表の画面構成情報内の前記繰り返し順情報を検出すると、画面構成ルール表の繰り返し部分の配置形式指定に応じ、見出しに対する項目の枠の配置方向を、繰り返しでない部分と同じにする/否を決める手順と、これに従い繰り返し部分の各構成要素の配置座標を生成し画面構成情報に付加し、入力画面の雛形情報を作成する手順を有することを特徴とする請求項19記載の帳票入力用プログラムの生成プログラム。When the screen generation procedure detects the repetition order information in the screen configuration information of the configuration table, the arrangement direction of the frame of the item with respect to the heading is the same as the non-repeated part according to the arrangement format specification of the repeated part of the screen configuration rule table. 20. The method according to claim 19, further comprising: a procedure of determining whether or not to perform the setting, and a procedure of generating arrangement coordinates of each component of the repetition part according to the procedure, adding the coordinates to the screen configuration information, and creating template information of the input screen. Generation program for form input program. 前記構成表作成手順が、管理表を解析し項目への入力データに対し行うチェック指示を、対応する部品名とパラメータとして抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順が構成表のチェック部品名、パラメータを検出し、前記部品データベースより該当部品を読込み、これとパラメータをテンプレートの該当個所に組み込む手順を有することを特徴とする請求項14、16、17、又は19記載の帳票入力用プログラムの生成プログラム。The configuration table creation step includes a step of analyzing a management table and extracting a check instruction to be performed on input data to an item as a corresponding component name and parameter, and including these in program configuration information. 20. The apparatus according to claim 14, further comprising a procedure of detecting a check component name and a parameter in a configuration table, reading a corresponding component from the component database, and incorporating the component and the parameter in a corresponding location of a template. Generation program for form input program. 前記構成表作成手順が、管理表を解析し、項目への入力データに対し行う最小値チェック或いは最大値チェック指示を、対応する部品名と下限値或いは上限値として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより最小値チェック部品或いは最大値チェック部品を読込み、これと下限値或いは上限値をテンプレートの該当個所に組み込む手順を有することを特徴とする請求項21記載の帳票入力用プログラムの生成プログラム。The configuration table creation procedure analyzes the management table, extracts a minimum value check or a maximum value check instruction for input data to an item as a corresponding component name and a lower limit value or an upper limit value, and extracts these as program configuration information. That the program generation procedure detects these, reads the minimum value check component or the maximum value check component from the component database, and incorporates this and the lower limit value or upper limit value into the corresponding part of the template. 22. The program for generating a form input program according to claim 21. 前記構成表作成手順が、管理表を解析し、項目への入力データがテーブルに登録されているかのチェック指示を、対応する部品名とテーブル識別やテーブル内項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより対応部品を読込み、これとテーブル識別やテーブル内項目識別をテンプレートの該当個所に組み込む手順を有することを特徴とする請求項21記載の帳票入力用プログラムの生成プログラム。The configuration table creation procedure analyzes the management table, extracts a check instruction as to whether input data to an item is registered in the table as a corresponding part name, table identification, or item identification in a table, and extracts these as a program configuration. The method includes a step of including the information in the information, a step of generating the program, detecting the information, reading a corresponding part from the part database, and incorporating the corresponding part into the corresponding part of the template. A program for generating a form input program according to claim 21. 前記構成表作成手順が、管理表を解析し、必須の入力項目を指定する情報を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記指示情報を検出し、前記部品データベースより項目への入力有無チェックを行う部品を読込み、該当部品と必須の入力項目指定情報をテンプレートに組み込む手順を有することを特徴とする請求項14、16、17、又は19記載の帳票入力用プログラムの生成プログラム。The configuration table creation step includes a step of analyzing a management table, extracting information designating required input items, and including the information in program configuration information, and the program generation procedure detecting the instruction information of the configuration table. 20. The method according to claim 14, further comprising a step of reading a component to be checked for the presence or absence of input to an item from the component database, and incorporating the relevant component and essential input item designation information into a template. Generation program for form input program. 前記構成表作成手順が、管理表を解析し、幾通りかの必須入力項目パターンによる入力有無チェックを指示していれば、対応する部品名を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記部品を検出し前記部品データベースより該当部品を読込み、これをテンプレートに組み込む手順を有することを特徴とする請求項14、16、17、又は19記載の帳票入力用プログラムの生成プログラム。If the configuration table creation procedure analyzes the management table and instructs input presence / absence check by using several required input item patterns, there is a procedure for extracting a corresponding component name and including this in the program configuration information. 20. The form according to claim 14, wherein the program generating step includes a step of detecting the part in the configuration table, reading the corresponding part from the part database, and incorporating the part in a template. Generation program for input program. 前記構成表作成手順が、管理表を解析し、一つ以上の他の項目の項目値を入力として加工した結果をその項目の項目値とする指示を、加工用の部品名、入力となる項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、前記プログラム生成手順がこれらの情報を検出し、前記部品データベースより該当部品を読込み、これと入力の項目識別をテンプレートの該当個所に組み込む手順と、その項目をデータ出力項目とする設定をテンプレートに埋め込む手順を有することを特徴とする請求項14、16、17、又は19記載の帳票入力用プログラムの生成プログラム。The configuration table creation procedure analyzes the management table, and inputs an item value of one or more other items as input, and designates a result of processing as an item value of the item. It has a procedure of extracting as identification and including them in the program configuration information.The program generation procedure detects such information, reads the corresponding part from the part database, and inserts this and the input item identification in the corresponding place of the template. 20. The form input program generation program according to claim 14, further comprising a step of incorporating the setting and a step of embedding a setting of setting the item as a data output item in a template. 帳票に含まれる構成要素を記述した管理表よりプログラム構成情報と画面構成情報を抽出し、プログラム生成用の情報と画面構成用の情報に分けて構成表を作成する構成表作成手順と、プログラムの骨格が記述されているテンプレート、部品群が格納されている部品データベース、前記構成表のプログラム構成情報とを基にしプログラムを生成するプログラム生成手順と、前記構成表の画面構成情報、画面サイズと項目の配置方向を含む画面構成ルール表に従って、画面の各構成要素の配置座標を生成して画面構成情報に付加し入力画面の雛形情報を作成し画面表示ファイルとして出力する画面生成手順とを備えたことを特徴とする帳票入力用プログラムの生成方法。A table creation procedure for extracting program configuration information and screen configuration information from a management table describing the components included in the form and creating a configuration table by dividing the information into information for program generation and information for screen configuration; A program generation procedure for generating a program based on a template describing a skeleton, a component database storing a group of components, and program configuration information of the configuration table, screen configuration information of the configuration table, screen size and items A screen generation procedure for generating layout coordinates of each component of the screen according to the screen configuration rule table including the layout direction of the screen, adding the layout coordinates to the screen configuration information, creating template information of the input screen, and outputting it as a screen display file. A method for generating a form input program. 前記画面生成手順が、前記作成した入力画面の雛形情報をディスプレイに表示し、画面上の構成要素の配置の修正や罫線の追加、修正の指示を入力デバイスを通じて受け、構成表内の配置座標情報の変更や、罫線要素の追加変更を行い、更新後の画面構成情報を画面表示ファイルとする画面レイアウト編集手順を有することを特徴とする請求項27記載の帳票入力用プログラムの生成方法。The screen generation procedure displays the created input screen template information on a display, receives an instruction to correct the arrangement of components on the screen, add a ruled line, and corrects the input device through an input device, and receives the arrangement coordinate information in the configuration table. 28. The method for generating a form input program according to claim 27, further comprising a screen layout editing procedure for changing the screen configuration information and adding and changing ruled line elements, and using the updated screen configuration information as a screen display file. 前記画面生成手順が、画面構成情報から画面表示ファイルを作成する際に、入力枠の表示を指示し、それに入力されたデータを項目識別、或いは項目番号に対応付け取得し、プログラムに渡す手続き、プログラムから表示データに伴って受ける項目識別、或いは項目番号を対応枠の配置座標に変換し表示データを該当枠に表示する手続きも作成する手順を有することを特徴とする請求項27、又は28記載の帳票入力用プログラムの生成方法。The screen generation procedure, when creating a screen display file from the screen configuration information, instructing the display of an input frame, acquiring the data input thereto in association with the item identification or the item number, and passing the acquired data to the program; 29. The apparatus according to claim 27, further comprising a procedure for converting an item identification or an item number received from the program along with the display data into an arrangement coordinate of the corresponding frame and creating a procedure for displaying the display data in the corresponding frame. How to generate a form entry program. 前記プログラム生成手順が、前記画面表示ファイルを参照し表示を実行する入力画面表示処理の雛形を含むテンプレートに基づき、対応する画面表示ファイルを参照し入力画面表示を行う手順を含むプログラムを生成することを特徴とする請求項27、又は28記載の帳票入力用プログラムの生成方法。The program generating step generates a program including a step of referring to a corresponding screen display file and displaying an input screen based on a template including a template of an input screen display process of executing display by referring to the screen display file. The method for generating a form input program according to claim 27 or claim 28. 前記構成表作成手順が前記管理表より項目対応の見出し、項目識別、入力又は出力されるデータの型属性や桁数の指定を抽出する手順と、項目対応の項目識別、データの型属性や桁数情報をプログラム構成情報とする手順と、項目対応に入力枠又は出力枠の元情報を作成し、見出し情報との対応付けを付加し、見出し情報と合わせ画面構成情報とする手順とを有することを特徴とする請求項27、28、29、又は30記載の帳票入力用プログラムの生成方法。A step of extracting the heading of the item corresponding to the item, the item identification, the designation of the type attribute and the number of digits of the input or output data from the management table, and the item identification of the corresponding item, the type attribute and the digit of the data from the management table. A procedure to make the number information the program configuration information and a procedure to create the original information of the input frame or the output frame corresponding to the item, add the association with the heading information, and make the screen configuration information combined with the heading information 31. The method according to claim 27, 28, 29 or 30, wherein the form input program is generated. 前記構成表作成手順が、管理表を解析し、項目の繰り返しの有無と回数情報を抽出し、これをプログラム構成情報に含める手順と、画面構成情報の作成の際に項目対応の入力枠又は出力枠の元情報を繰り返し回数に従って複製展開し、繰り返し部分に繰り返し順を付加し、画面構成情報を作成する手順を有し、前記プログラム生成手順が構成表の前記繰り返し情報を検出し、それを項目処理回数に反映する様にテンプレートへの情報の埋め込みや追加を行なう手順を有することを特徴とする請求項31記載の帳票入力用プログラムの生成方法。The composition table creation procedure analyzes the management table, extracts information on whether or not the item is repeated and the number of times, and includes the information in the program composition information, and an input frame or output corresponding to the item when creating the screen composition information. A step of duplicating and expanding the original information of the frame in accordance with the number of repetitions, adding a repetition order to the repetition part, and creating screen configuration information, wherein the program generation procedure detects the repetition information of the configuration table, and 32. The method according to claim 31, further comprising a step of embedding or adding information to a template so as to reflect the number of processing. 前記画面生成手順が構成表の画面構成情報内の前記繰り返し順情報を検出すると、画面構成ルール表の繰り返し部分の配置形式指定に応じ、見出しに対する項目の枠の配置方向を、繰り返しでない部分と同じにする/否を決める手順と、これに従い繰り返し部分の各構成要素の配置座標を生成し画面構成情報に付加し、入力画面の雛形情報を作成する手順を有することを特徴とする請求項32記載の帳票入力用プログラムの生成方法。When the screen generation procedure detects the repetition order information in the screen configuration information of the configuration table, the arrangement direction of the frame of the item with respect to the heading is the same as the non-repeated part according to the arrangement format specification of the repeated part of the screen configuration rule table. 33. The method according to claim 32, further comprising: a step of determining whether or not to perform the setting, and a step of generating the layout coordinates of each component of the repetition part according to the procedure, adding the coordinates to the screen configuration information, and generating the template information of the input screen. How to generate a form entry program. 前記構成表作成手順が、管理表を解析し項目への入力データに対し行うチェック指示を、対応する部品名とパラメータとして抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順が構成表のチェック部品名、パラメータを検出し、前記部品データベースより該当部品を読込み、これとパラメータをテンプレートの該当個所に組み込む手順を有することを特徴とする請求項27、29、30、又は32記載の帳票入力用プログラムの生成方法。The configuration table creation step includes a step of analyzing a management table and extracting a check instruction to be performed on input data to an item as a corresponding component name and parameter, and including these in program configuration information. 33. The method according to claim 27, further comprising the steps of: detecting a check component name and a parameter in a configuration table; reading a corresponding component from the component database; and incorporating the component and the parameter in a corresponding location of a template. How to generate a form entry program. 前記構成表作成手順が、管理表を解析し、項目への入力データに対し行う最小値チェック或いは最大値チェック指示を、対応する部品名と下限値或いは上限値として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより最小値チェック部品或いは最大値チェック部品を読込み、これと下限値或いは上限値をテンプレートの該当個所に組み込む手順を有することを特徴とする請求項34記載の帳票入力用プログラムの生成方法。The configuration table creation procedure analyzes the management table, extracts a minimum value check or a maximum value check instruction for input data to an item as a corresponding component name and a lower limit value or an upper limit value, and extracts these as program configuration information. That the program generation procedure detects these, reads the minimum value check component or the maximum value check component from the component database, and incorporates this and the lower limit value or upper limit value into the corresponding part of the template. 35. The method for generating a form input program according to claim 34. 前記構成表作成手順が、管理表を解析し、項目への入力データがテーブルに登録されているかのチェック指示を、対応する部品名とテーブル識別やテーブル内項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、プログラム生成手順がこれらを検出し、前記部品データベースより対応部品を読込み、これとテーブル識別やテーブル内項目識別をテンプレートの該当個所に組み込む手順を有することを特徴とする請求項34記載の帳票入力用プログラムの生成方法。The configuration table creation procedure analyzes the management table, extracts a check instruction as to whether input data to an item is registered in the table as a corresponding part name, table identification, or item identification in a table, and extracts these as a program configuration. A step of including in the information, a step of generating a program, detecting these, reading a corresponding part from the part database, and incorporating this and a table identification and an item identification in the table into a corresponding part of the template. A method for generating a form input program according to claim 34. 前記構成表作成手順が、管理表を解析し、必須の入力項目を指定する情報を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記指示情報を検出し、前記部品データベースより項目への入力有無チェックを行う部品を読込み、該当部品と必須の入力項目指定情報をテンプレートに組み込む手順を有することを特徴とする請求項27、29、30、又は32記載の帳票入力用プログラムの生成方法。The configuration table creation step includes a step of analyzing a management table, extracting information designating required input items, and including the information in program configuration information, and the program generation procedure detecting the instruction information of the configuration table. 33. The method according to claim 27, further comprising a step of reading a component to be checked for the presence or absence of input to an item from the component database, and incorporating the relevant component and essential input item designation information into a template. How to generate a form entry program. 前記構成表作成手順が、管理表を解析し、幾通りかの必須入力項目パターンによる入力有無チェックを指示していれば、対応する部品名を抽出し、これをプログラム構成情報に含める手順を有し、前記プログラム生成手順が構成表の前記部品を検出し前記部品データベースより該当部品を読込み、これをテンプレートに組み込む手順を有することを特徴とする請求項27、29、30、又は32記載の帳票入力用プログラムの生成方法。If the configuration table creation procedure analyzes the management table and instructs input presence / absence check by using several required input item patterns, there is a procedure for extracting a corresponding component name and including this in the program configuration information. 33. The form according to claim 27, wherein said program generating step includes a step of detecting said part in a configuration table, reading said part from said part database, and incorporating it into a template. How to generate input programs. 前記構成表作成手順が、管理表を解析し、一つ以上の他の項目の項目値を入力として加工した結果をその項目の項目値とする指示を、加工用の部品名、入力となる項目識別として抽出し、これらをプログラム構成情報に含める手順を有し、前記プログラム生成手順がこれらの情報を検出し、前記部品データベースより該当部品を読込み、これと入力の項目識別をテンプレートの該当個所に組み込む手順と、その項目をデータ出力項目とする設定をテンプレートに埋め込む手順を有することを特徴とする請求項27、29、30、又は32記載の帳票入力用プログラムの生成方法。The configuration table creation procedure analyzes the management table, and inputs an item value of one or more other items as input, and designates a result of processing as an item value of the item. It has a procedure of extracting as identification and including them in the program configuration information.The program generation procedure detects such information, reads the corresponding part from the part database, and inserts this and the input item identification in the corresponding place of the template. 33. The method for generating a form input program according to claim 27, further comprising a step of embedding and a step of embedding a setting for setting the item as a data output item in a template.
JP2002325253A 2002-11-08 2002-11-08 Creating system for business form input, creating program and creating method Pending JP2004157927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002325253A JP2004157927A (en) 2002-11-08 2002-11-08 Creating system for business form input, creating program and creating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002325253A JP2004157927A (en) 2002-11-08 2002-11-08 Creating system for business form input, creating program and creating method

Publications (1)

Publication Number Publication Date
JP2004157927A true JP2004157927A (en) 2004-06-03

Family

ID=32804539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002325253A Pending JP2004157927A (en) 2002-11-08 2002-11-08 Creating system for business form input, creating program and creating method

Country Status (1)

Country Link
JP (1) JP2004157927A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041676A (en) * 2005-08-01 2007-02-15 Canon Software Inc Program creating device, program creating method, program, and recording medium
JP2007265011A (en) * 2006-03-28 2007-10-11 Canon Software Inc Screen program layout change method, information processor, program and recording medium
JP2008181208A (en) * 2007-01-23 2008-08-07 Nec Corp Generator service providing system, method for reusing/accumulating design information, and program for generator service
JP2009193213A (en) * 2008-02-13 2009-08-27 Toshiba Corp Picture generation system and picture generation program
JP2011186929A (en) * 2010-03-10 2011-09-22 Hitachi Information Systems Ltd System for automatic generation processing of screen
JP2011243152A (en) * 2010-05-21 2011-12-01 Mitsubishi Electric Corp Business form system construction support device
JP2013090322A (en) * 2011-10-14 2013-05-13 I-On Communications Co Ltd Integrated authentication system using electronic written contract
JP2015115037A (en) * 2013-12-16 2015-06-22 株式会社日立システムズ Screen layout generation system, and generating method for the same
JP2017157078A (en) * 2016-03-03 2017-09-07 株式会社プロフィールド Table information processor, table information processing method, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041676A (en) * 2005-08-01 2007-02-15 Canon Software Inc Program creating device, program creating method, program, and recording medium
JP2007265011A (en) * 2006-03-28 2007-10-11 Canon Software Inc Screen program layout change method, information processor, program and recording medium
JP2008181208A (en) * 2007-01-23 2008-08-07 Nec Corp Generator service providing system, method for reusing/accumulating design information, and program for generator service
JP2009193213A (en) * 2008-02-13 2009-08-27 Toshiba Corp Picture generation system and picture generation program
JP2011186929A (en) * 2010-03-10 2011-09-22 Hitachi Information Systems Ltd System for automatic generation processing of screen
JP2011243152A (en) * 2010-05-21 2011-12-01 Mitsubishi Electric Corp Business form system construction support device
JP2013090322A (en) * 2011-10-14 2013-05-13 I-On Communications Co Ltd Integrated authentication system using electronic written contract
JP2015115037A (en) * 2013-12-16 2015-06-22 株式会社日立システムズ Screen layout generation system, and generating method for the same
JP2017157078A (en) * 2016-03-03 2017-09-07 株式会社プロフィールド Table information processor, table information processing method, and program

Similar Documents

Publication Publication Date Title
CN106886418B (en) HTML interface control label
US7124398B2 (en) Rapid GUI refacing of a legacy application
EP1879106A2 (en) Source code generation method, apparatus and program
JP4872529B2 (en) Reverse engineering support method
JP2973913B2 (en) Input sheet system
EP1768034A1 (en) Document processing device and document processing method
JP4826120B2 (en) Business specification creation support system and method
JP2004157927A (en) Creating system for business form input, creating program and creating method
JPH0869380A (en) Source program check device
JP5747698B2 (en) Requirements management support device
Coppit et al. Spotlight: A prototype tool for software plans
JP2004094487A (en) Support system for preparing document
JP2763453B2 (en) Circuit diagram creation apparatus and circuit diagram creation method
JP4288972B2 (en) Layout system, layout support system, layout support program, and layout support method
JP4960188B2 (en) Screen transition diagram display method and system
JP2000029677A (en) Automatic generating device for screen constitution
JP3337763B2 (en) Drawing description generator
JP2005276159A (en) Device for creating circuit drawing display data, its program, and method for creating circuit drawing display data
JPH0588863A (en) Program development supporting system
JP6531855B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM
JP2997666B1 (en) Data printing program generation method
CN101364399A (en) Method generating object property related to user interface
JPH01108670A (en) Mathematical formula input and edit system
JPH03141427A (en) Preparation of information on standard record specifications
CN113743071A (en) Method and system for determining PDF invoice template by WEB terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040420

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061107