JP2000259400A - Device and method for automatic generation of software and recording medium - Google Patents

Device and method for automatic generation of software and recording medium

Info

Publication number
JP2000259400A
JP2000259400A JP11061877A JP6187799A JP2000259400A JP 2000259400 A JP2000259400 A JP 2000259400A JP 11061877 A JP11061877 A JP 11061877A JP 6187799 A JP6187799 A JP 6187799A JP 2000259400 A JP2000259400 A JP 2000259400A
Authority
JP
Japan
Prior art keywords
data
program
component
sheet
software
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
JP11061877A
Other languages
Japanese (ja)
Inventor
Goji Nishida
剛司 西田
Hiroto Kobayashi
博人 小林
Hideharu Yonekura
秀春 米倉
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP11061877A priority Critical patent/JP2000259400A/en
Publication of JP2000259400A publication Critical patent/JP2000259400A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a software automatic generating device in which productivity and the quality of software development are remarkably and the efficiency of the maintenance is improved and with which the form that a user desires is efficiently and easily obtained. SOLUTION: A sheet 111 of specific spread sheet software is used as a form and a program which actualizes the data processing of parts means corresponding to GUI parts 112a and 112b pasted on the sheet 111 is automatically generated. The generated program is run to automatically print data for the form and outputs them on the sheet.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、特に、帳票を作成
して出力するソフトウェアの自動生成装置、該ソフトウ
ェアの自動生成方法、及びこれを実施するための処理ス
テップをコンピュータが読出可能に格納した記録媒体に
関するものである。
The present invention particularly relates to an automatic software generating apparatus for generating and outputting a form, a method for automatically generating the software, and a computer readable storage of processing steps for executing the method. It relates to a recording medium.

【0002】[0002]

【従来の技術】従来より例えば、請求書や納品書といっ
た種々の帳票が使用されており、これらの帳票に対する
印字には、手書きや和文タイプによる印字が行われてい
る。しかしながら、近年でのパーソナルコンピュータ等
の普及に伴って、プリンタによる印字が多く行われるよ
うになってきた。プリンタによる印字の場合、印字出力
する帳票のフォーマットに従った印字プログラムをシス
テム内に組み込むことによって、プリンタによる該帳票
への印字が可能となる。このときの印字プログラムは、
プログラム作成(プログラミング)の専門家であるプロ
グラマによって作成されるものであり、帳票を紙媒体で
はなく電子化して保存することが可能となった現在では
(電子帳票)、様々な印字用のソフトウェアが出回って
いる。しかしながら、印字させる帳票のフォーマットは
多種多様であり、たとえ同一フォーマットだとしても、
帳票毎に印字させるデータの行数が異なるなど、統一し
たデータ処理を行うことは難しい、といった問題が生じ
てくる。そこで、例えば、特開平10−254984号
公報には、上記の問題を解決するための帳票作成方法が
開示されている。ここでの帳票開示方法は、印字対象と
なる帳票のイメージをイメージスキャナで読み取って画
面表示させ、その画面上でユーザから指定された印字位
置に基づいて実際の帳票上での印字位置を算出すると共
に、同様にしてユーザから指定された印字項目に対応し
たデータを予め用意されたデータベースから取得し、そ
の算出した印字位置及び取得したデータから印字用の書
式データを自動生成する、といった方法である。これに
より、プログラム作成のための特別な知識を必要とする
ことなく、容易に指定帳票用の印字画面の設計を行うこ
とができる。
2. Description of the Related Art Conventionally, various forms such as invoices and delivery notes have been used, and printing on these forms has been performed by handwriting or Japanese type. However, with the spread of personal computers and the like in recent years, printing by a printer has been frequently performed. In the case of printing by a printer, a printing program according to the format of a form to be printed out is incorporated in the system, so that printing on the form by the printer becomes possible. The printing program at this time is
It is created by a programmer who is an expert in program creation (programming), and it is now possible to save forms in electronic form instead of on paper media (electronic form). Circulating. However, the format of the form to be printed is various, and even if the format is the same,
There is a problem that it is difficult to perform unified data processing, such as a different number of lines of data to be printed for each form. Therefore, for example, Japanese Patent Application Laid-Open No. H10-254984 discloses a form creation method for solving the above problem. Here, the form disclosure method reads an image of a form to be printed by an image scanner, displays the image on a screen, and calculates an actual print position on the form based on a print position designated by a user on the screen. Similarly, data corresponding to a print item specified by the user is obtained from a prepared database, and print format data is automatically generated from the calculated print position and the obtained data. . As a result, it is possible to easily design a print screen for a designated form without requiring special knowledge for program creation.

【0003】一方、マイクロソフト社のMS−Exce
l等の表計算ソフトウェアを利用して、様々な情報管理
が行われている。例えば、従来のアプリケーションで
は、図6に示すように、ユーザによりExcelシート
810の所定のセルに対して定義された(S901)、
桁数やホスト側(計算機本体)820のグローバル(G
lobal)名等の情報から、ホスト側820の管理情
報821を自動生成する(S902a)と共に、端末側
(CRT側)830の管理情報831を生成する(S9
02b)ようになされている。したがって、ホスト側8
02は、収集、加工、グローバルセット等の処理を行っ
た印字データを(S903)、本アプリケーションによ
り自動生成された管理情報821に基づいて、端末側8
30に対して送信する(S904)。端末側830は、
ホスト側820からの印字データに対して、本アプリケ
ーションにより自動生成された管理情報821に基づい
て、印字処理を行ってプリント出力(S905,S90
6)する。ここで、本アプリケーションにおいては、ホ
スト側820での印字データ収集、加工、グローバルセ
ット等の処理(S903)を実行するプログラムをプロ
グラミング(コーディング)する必要がある。また、ホ
スト側820での印字データの送信(S904)、及び
端末側830での印字処理(S905)は、パッケージ
化されたものである。
On the other hand, Microsoft's MS-Exce
Various information management is performed using spreadsheet software such as l. For example, in the conventional application, as shown in FIG. 6, the user has defined a predetermined cell of the Excel sheet 810 (S901).
The number of digits and the global (G
The management information 821 of the host side 820 is automatically generated from information such as the (local) name (S902a), and the management information 831 of the terminal side (CRT side) 830 is generated (S9).
02b). Therefore, the host side 8
02, print data that has been subjected to processing such as collection, processing, and global setting (S903), based on the management information 821 automatically generated by this application, the terminal side 8;
30 (S904). The terminal side 830,
Based on the management information 821 automatically generated by this application, the print data from the host 820 is subjected to print processing and printed out (S905, S90).
6) Yes. Here, in this application, it is necessary to program (code) a program for executing processing (S903) such as print data collection, processing, and global setting on the host side 820. The transmission of print data on the host side 820 (S904) and the print processing on the terminal side 830 (S905) are packaged.

【0004】また一方では、表示装置の画面上にテキス
トやグラフ等を表示させる際に、GUI(Graphical Us
er Interface)を利用して、グラフ表示等の機能を持っ
た種々のアイコンを表示画面上に貼り付けることによ
り、ビジュアル的に所望の画面を作成できるようにした
技術が提案されている。その一例として、特開平7−2
00278号公報に開示されたものがある。図7は、上
記の公報に記載された技術の概要を示したものである。
この図7に示すように、ここでは、まず最初に、テキス
ト表示やグラフ表示、或いは図形表示等の機能を有する
HMI部品911a,911b,・・・を数種類作成す
る。これらのHMI部品911a,911b,・・・
は、データ表示に関して1つのまとまったタスクを実行
する演算処理及びデータベースアクセス処理の機能を有
するサブルーチン910のプログラムから成るものであ
る。すなわち、HMI(Human Machine Interface )部
品911a,911b,・・・は、あるデータをどうい
う形で表示すると言った基本的なデータ処理の機能に加
えて、これが表示画面920上に貼り付けられたとき
に、その貼られたHMI部品921a,921bに必要
なデータをデータベース930上のどこから取り込んで
くるか等と言ったデータベースアクセス処理の機能まで
含んだプログラムを有する。このようなHMI部品91
1a,911b,・・・は、専門家であるプログラマに
よって作成され、通常は製品の出荷時に幾つかのHMI
部品が用意されている。したがって、ユーザが実際に所
望の画面を作成する場合には、ユーザは、予め用意され
ている種々のHMI部品911a,911b,・・・の
中から所望のものを表示画面920上に貼り付けてい
く。これにより、表示画面920上に貼り付けられたそ
れぞれのHMI部品921a,921bは、それぞれが
備えているデータ処理やデータベースアクセス処理のプ
ログラムに従って、データベース930上の指定された
場所から必要なデータを取り込み、その取り込んできた
データを当該HMI部品921a,921bの貼られた
位置にグラフ化等をして表示する。
On the other hand, when displaying text, graphs, and the like on the screen of a display device, a GUI (Graphical US) is used.
A technology has been proposed in which a desired screen can be visually created by pasting various icons having functions such as graph display and the like on a display screen by using an er Interface). For example, Japanese Patent Application Laid-Open No. 7-2
There is one disclosed in Japanese Patent No. 00278. FIG. 7 shows an outline of the technology described in the above publication.
As shown in FIG. 7, here, first, several types of HMI parts 911a, 911b,... Having functions such as text display, graph display, and graphic display are created. These HMI parts 911a, 911b,...
Is composed of a program of a subroutine 910 having a function of an arithmetic processing and a database access processing for executing one grouped task for data display. That is, the HMI (Human Machine Interface) components 911a, 911b,..., In addition to the basic data processing function of displaying certain data in some form, when this is pasted on the display screen 920. In addition, a program including a function of a database access process such as a place on the database 930 from which data necessary for the attached HMI parts 921a and 921b is acquired. Such an HMI component 91
1a, 911b,... Are created by a professional programmer and are typically provided with several HMIs at the time of product shipment.
Parts are available. Therefore, when the user actually creates a desired screen, the user pastes a desired one of various prepared HMI parts 911a, 911b,... On the display screen 920. Go. As a result, the respective HMI components 921a and 921b pasted on the display screen 920 fetch necessary data from the designated location on the database 930 according to the data processing and database access processing programs provided for each. The captured data is displayed as a graph at the position where the HMI parts 921a and 921b are attached.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
たような従来の技術を背景に、マイクロソフト社のMS
−Excel等のような表計算ソフトウェアと、GUI
による部品とを組み合わせ、表計算ソフトウェアでのシ
ートを帳票として作成して印字出力するソフトウェアを
自動生成する技術は従来なかった。すなわち、特開平1
0−254984号公報等に記載の従来の帳票作成方法
は、帳票印字用の書式(フォーマット)のみを自動生成
するものである。また、マイクロソフト社のMS−Ex
cel等の表計算ソフトウェアを利用した管理情報生成
の従来の技術は、直接シート上のセルに対して定義され
た情報から管理情報を生成するものであり、その管理情
報に基づいて印字データを収集及び加工するための処理
は、そのためのプログラムをプログラマによって作成す
る必要があり、さらに該印字データの印字出力には、パ
ッケージ化された印字ソフトウェアを使用する必要があ
る。
However, against the background of the prior art described above, Microsoft's MS
-Spreadsheet software such as Excel and GUI
There has not been a technology for automatically generating software for creating a sheet with spreadsheet software as a form and printing out the sheet by combining the parts with the components described in the above. That is, JP
The conventional form creation method described in Japanese Patent Application Publication No. 0-254984 and the like automatically generates only a form for printing a form. Also, Microsoft's MS-Ex
The conventional technology for generating management information using spreadsheet software such as cel generates management information directly from information defined for cells on a sheet, and collects print data based on the management information. For the processing for processing, it is necessary to create a program for that by a programmer, and to print out the print data, it is necessary to use packaged printing software.

【0006】そこで、本発明は、上記の欠点を除去する
ために成されたもので、表計算ソフトウェアとGUI部
品による帳票の作成及び出力のソフトウェアを自動生成
することで、ソフトウェア開発の生産性及び品質を画期
的に向上させると共に、保守業務効率を向上させること
が可能であり、さらにユーザにとっても所望する帳票を
効率的に且つ容易に得ることが可能な、ソフトウェアの
自動生成装置、該ソフトウェアの自動生成方法、及びこ
れを実施するための処理ステップをコンピュータが読出
可能に格納した記録媒体を提供することを目的とする。
Accordingly, the present invention has been made to eliminate the above-mentioned drawbacks, and by automatically generating software for creating and outputting a form using spreadsheet software and GUI parts, the productivity of software development and the efficiency of software development have been improved. An automatic software generation apparatus and software that can dramatically improve quality and improve maintenance work efficiency, and can efficiently and easily obtain desired forms for users. It is an object of the present invention to provide a computer-readable recording medium storing an automatic generation method of the above and a processing step for executing the method.

【0007】[0007]

【課題を解決するための手段】斯かる目的下において、
第1の発明は、所定の表計算ソフトウェアによる(m行
×n列)のセルから構成されるシートを帳票として画面
表示する表示手段と、データ処理の所定機能を有するプ
ログラムをGUI部品に対応させて記憶した部品手段
と、上記表示手段にて画面表示されたシート上の任意の
位置に対して、上記GUI部品を貼付するための部品貼
付手段と、上記部品貼付手段によって上記シート上に貼
付されたGUI部品に対応する部品手段にデータを取り
込んで上記データ処理を行うことで、上記貼付GUI部
品に対応する印字データを作成し、その印字データを上
記貼付GUI部品の上記シート上における貼付位置に対
応して出力することを実現するためのプログラムを生成
するプログラム生成手段とを備えたことを特徴とする。
For such a purpose,
According to a first aspect of the present invention, display means for displaying a sheet composed of (m rows × n columns) of cells by predetermined spreadsheet software as a form on a screen, and a program having a predetermined data processing function corresponding to a GUI component The component means stored and stored, a component attaching means for attaching the GUI component to an arbitrary position on the sheet displayed on the screen by the display means, and a component attaching means for attaching the GUI component on the sheet. By taking data into the component means corresponding to the GUI component and performing the data processing, print data corresponding to the pasted GUI component is created, and the print data is stored in the pasting position of the pasted GUI component on the sheet. Program generating means for generating a program for realizing corresponding output.

【0008】第2の発明は、上記第1の発明において、
上記部品手段が有する所定機能は、上記データ処理の必
要最小機能を含み、上記貼付GUI部品に対応する部品
手段に対して、上記データ処理に必要なデータの移行元
と移行先、及び上記データの処理条件に関する属性情報
を定義するための属性定義手段を更に備え、上記プログ
ラム生成手段は、上記属性定義手段により定義された属
性情報に基づいて、上記貼付GUI部品に対応する部品
手段にデータを取り込んで上記データ処理を行うことを
実現するためのプログラムを生成することを特徴とす
る。
[0008] In a second aspect based on the first aspect,
The predetermined functions of the component means include a minimum function required for the data processing, and a source and a destination of data required for the data processing and a transfer function of the data required for the component means corresponding to the pasted GUI component. The program generating means further includes attribute defining means for defining attribute information relating to processing conditions, wherein the program generating means fetches data into component means corresponding to the pasted GUI component based on the attribute information defined by the attribute defining means. A program for realizing the above data processing is generated.

【0009】第3の発明は、上記第1の発明において、
上記部品手段が有する所定機能は、上記印字データの上
記シート上への出力の際に、上記印字データに基づいて
上記シート上のセル構成を調整する機能を含むことを特
徴とする。
[0009] In a third aspect based on the first aspect,
The predetermined function of the component means includes a function of adjusting a cell configuration on the sheet based on the print data when the print data is output on the sheet.

【0010】第4の発明は、上記第3の発明において、
上記調整する上記シート上のセル構成は、セルの列幅及
び行幅の少なくとも何れかを含むことを特徴とする。
In a fourth aspect based on the third aspect,
The cell configuration on the sheet to be adjusted includes at least one of a column width and a row width of the cell.

【0011】第5の発明は、上記第2の発明において、
上記プログラム生成手段は、上記属性定義手段により定
義された属性情報に基づいて、同じ移行元に対するアク
セスを一度で行うようにしたプログラムを生成すること
を特徴とする。
According to a fifth aspect, in the second aspect,
The program generation means is characterized in that it generates a program that makes access to the same migration source at one time based on the attribute information defined by the attribute definition means.

【0012】第6の発明は、上記第2の発明において、
上記プログラム生成手段は、上記属性定義手段により定
義された属性情報を抽出する抽出手段と、上記抽出手段
により抽出された属性情報を解析して上記プログラムの
アルゴリズムを得る解析手段と、上記解析手段による解
析の結果に基づいて、上記プログラムを生成する生成手
段とを含むことを特徴とする。
[0012] In a sixth aspect based on the second aspect,
The program generating means includes: an extracting means for extracting attribute information defined by the attribute defining means; an analyzing means for analyzing the attribute information extracted by the extracting means to obtain an algorithm of the program; Generating means for generating the program based on the result of the analysis.

【0013】第7の発明は、上記第2の発明において、
上記データの処理条件の情報には、データの抽出条件、
加工条件、採用条件、及び上記シート上への出力態様に
関する情報のうち少なくとも1つ以上が含まれることを
特徴とする。
[0013] In a seventh aspect based on the second aspect,
Information on the data processing conditions includes data extraction conditions,
At least one of the processing condition, the adoption condition, and the information on the output mode on the sheet is included.

【0014】第8の発明は、帳票として画面表示され
た、所定の表計算ソフトウェアによる(m行×n列)の
セルから構成されるシート上の任意の位置に対して、デ
ータ処理の所定機能を有するプログラムを記憶した部品
手段に対応するGUI部品を貼付する部品貼付ステップ
と、上記部品貼付ステップによって上記シート上に貼付
されたGUI部品に対応する部品手段にデータを取り込
んで上記データ処理を行うことで、上記貼付GUI部品
に対応する印字データを作成し、その印字データを上記
貼付GUI部品の上記シート上における貼付位置に対応
して出力することを実現するためのプログラムを生成す
るプログラム生成ステップとを含むことを特徴とする。
According to an eighth invention, a predetermined function of data processing is performed on an arbitrary position on a sheet composed of (m rows × n columns) of cells by predetermined spreadsheet software displayed on a screen as a form. Attaching a GUI component corresponding to the component means storing the program having the program, and performing the data processing by loading data into the component means corresponding to the GUI component attached on the sheet by the component attaching step. A program generating step for generating print data corresponding to the pasted GUI component and outputting the print data corresponding to the pasting position of the pasted GUI component on the sheet; And characterized in that:

【0015】第9の発明は、上記第8の発明において、
上記部品手段が有する所定機能は、上記データ処理の必
要最小機能を含み、上記貼付GUI部品に対応する部品
手段に対して、上記データ処理に必要なデータの移行元
と移行先、及び上記データの処理条件に関する属性情報
を定義するための属性定義ステップを更に含み、上記プ
ログラム生成ステップは、上記属性定義ステップにより
定義された属性情報に基づいて、上記貼付GUI部品に
対応する部品手段にデータを取り込んで上記データ処理
を行うことを実現するためのプログラムを生成するステ
ップを含むことを特徴とする。
According to a ninth aspect, in the eighth aspect,
The predetermined functions of the component means include a minimum function required for the data processing, and a source and a destination of the data necessary for the data processing and a The program generating step further includes an attribute defining step for defining attribute information relating to a processing condition, wherein the program generating step acquires data into a component means corresponding to the pasted GUI component based on the attribute information defined by the attribute defining step. And generating a program for implementing the data processing.

【0016】第10の発明は、上記第8の発明におい
て、上記部品手段が有する所定機能は、上記印字データ
の上記シート上への出力の際に、上記印字データに基づ
いて上記シート上のセル構成を調整する機能を含むこと
を特徴とする。
In a tenth aspect based on the eighth aspect, the predetermined function of the component means is such that, when the print data is output onto the sheet, a cell on the sheet is based on the print data. It is characterized by including a function of adjusting the configuration.

【0017】第11の発明は、上記第10の発明におい
て、上記調整する上記シート上のセル構成は、セルの列
幅及び行幅の少なくとも何れかを含むことを特徴とす
る。
In an eleventh aspect based on the tenth aspect, the cell configuration on the sheet to be adjusted includes at least one of a column width and a row width of the cell.

【0018】第12の発明は、上記第9の発明におい
て、上記プログラム生成ステップは、上記属性定義手段
により定義された属性情報に基づいて、同じ移行元に対
するアクセスを一度で行うようにしたプログラムを生成
するステップを含むことを特徴とする。
In a twelfth aspect based on the ninth aspect, the program generating step includes a step of accessing the same migration source at one time based on the attribute information defined by the attribute defining means. Generating.

【0019】第13の発明は、上記第9の発明におい
て、上記プログラム生成ステップは、上記属性定義ステ
ップにより定義された属性情報を抽出する抽出ステップ
と、上記抽出ステップにより抽出された属性情報を解析
して上記プログラムのアルゴリズムを得る解析ステップ
と、上記解析ステップによる解析の結果に基づいて、上
記プログラムを生成する生成ステップとを含むことを特
徴とする。
In a thirteenth aspect based on the ninth aspect, the program generation step includes an extraction step of extracting attribute information defined by the attribute definition step, and analyzing the attribute information extracted by the extraction step. And an generating step of generating the program based on a result of the analysis by the analyzing step.

【0020】第14の発明は、上記第9の発明におい
て、上記データの処理条件の情報には、データの抽出条
件、加工条件、採用条件、及び上記シート上への出力態
様に関する情報のうち少なくとも1つ以上が含まれるこ
とを特徴とする。
In a fourteenth aspect based on the ninth aspect, the information on the data processing condition includes at least one of data extraction condition, processing condition, adoption condition, and information on an output mode on the sheet. It is characterized in that at least one is included.

【0021】第15の発明は、所定の表計算ソフトウェ
アによる(m行×n列)のセルから構成されるシートを
帳票として、該帳票に対する印字データを作成して出力
するための処理ステップを、コンピュータが読出可能に
格納した記憶媒体であって、上記処理ステップは、請求
項8〜14の何れかに記載のソフトウェアの自動生成方
法の処理ステップを含むことを特徴。
According to a fifteenth aspect, a processing step for creating and outputting print data for a form using a sheet composed of (m rows × n columns) cells by predetermined spreadsheet software as a form, A computer-readable storage medium, wherein the processing step includes a processing step of the automatic software generation method according to any one of claims 8 to 14.

【0022】[0022]

【発明の実施の形態】本発明は、例えば、図1に示すよ
うな、帳票印字ソフトウェアの自動生成装置100に適
用される。この自動生成装置100は、表計算ソフトウ
ェアとしてマイクロソフト社のMS−Excelを使用
し、そのシート111にユーザによって任意に貼り付け
られた部品112a,112b,・・・から、テキスト
やグラフ等の印字データを作成して帳票上に出力するソ
フトウェアを自動生成するものである。すなわち、自動
生成装置100は、m行×n列のセルからなるシート1
11を帳票として使用し、それに貼り付けられた部品
(HMI部品)112a,112b,・・・に基づい
て、帳票の作成及び印字出力のソフトウェアを自動生成
するものであり、上記図1に示すように、シート111
上のHMI部品112a,112b,・・・から後述す
るプロパティ情報を抽出するプロパティ情報抽出部12
0と、プロパティ情報抽出部120にて抽出されたプロ
パティ情報からそれぞれのHMI部品112a,112
b,・・・にて定義されている情報を解析する定義情報
解析部140と、定義情報解析部140での解析結果に
基づいたプログラムを自動生成するプログラム自動生成
部160とを含んでなり、このプログラム自動生成部1
60にて自動生成されたプログラムによって帳票上の印
字データが作成されると共に、これがプリンタ190に
て印字出力或いは表示装置110にて画面表示出力され
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention is applied to, for example, an automatic form printing software generating apparatus 100 as shown in FIG. This automatic generation apparatus 100 uses Microsoft MS-Excel as spreadsheet software, and prints data such as text and graphs from parts 112a, 112b,... And automatically generates software for creating and outputting it on a form. That is, the automatic generation device 100 is configured to control the sheet 1 including the cells of m rows × n columns.
11 is used as a form, and based on the parts (HMI parts) 112a, 112b,... Affixed to the form, software for creating and printing out the form is automatically generated, as shown in FIG. And sheet 111
The property information extraction unit 12 extracts property information described below from the above HMI parts 112a, 112b,.
0 and the HMI components 112a, 112 based on the property information extracted by the property information extraction unit 120.
b,..., and a program automatic generation section 160 for automatically generating a program based on the analysis result of the definition information analysis section 140, This program automatic generation unit 1
The print data on the form is created by the program automatically generated at 60, and this is printed out by the printer 190 or displayed on the screen by the display device 110.

【0023】上述のように、本実施の形態における自動
生成装置100は、表計算ソフトウェアにおけるシート
111を帳票として用い、そのシート111上にユーザ
によって貼り付けられたHMI部品112a,112
b,・・・から、帳票上の印字データの作成及び出力の
ためのプログラムを自動生成するようになされている。
これが、本実施の形態での最も特徴とする構成である。
また、本実施の形態での次の特徴としては、次に説明す
るような、シート111上に貼り付けられるHMI部品
112a,112b,・・・にある。
As described above, the automatic generation apparatus 100 according to the present embodiment uses the sheet 111 of the spreadsheet software as a form, and the HMI parts 112a and 112 pasted on the sheet 111 by the user.
From b,..., a program for creating and outputting print data on a form is automatically generated.
This is the most characteristic configuration of the present embodiment.
The next feature of the present embodiment resides in the HMI components 112a, 112b,... Attached on the sheet 111 as described below.

【0024】まず、シート111上に貼り付けられる部
品としては、上述したような従来よりある部品や、サブ
ルーチンの機能を有する部品等を用いるようにしてもよ
いが、ここでは、桁数や色、文字の大きさ等の属性情報
に加え、印字データの格納先及び出力時の加工条件等の
情報(以下、「データ抽出加工条件情報」と言う)をプ
ロパティ情報として定義可能な部品を用いるものとす
る。このような本実施の形態における部品は、テキスト
関係の部品と、グラフ関係の部品とで、大きく2種類に
分けられる。テキスト関係の部品は、固定的なデータ
(ラベル)を出力する部品、可変的なデータ(テキス
ト)を出力する部品、及びそれぞれの部品に対して定義
された情報に応じてシート111に対して行単位及び列
単位でセルの列幅や行幅等を適切に自動調整する部品
(テーブル部品)を含む。また、グラフ関係の部品は、
折れ線グラフを出力する、棒グラフを出力する、レーダ
ーチャートを出力する、及びX−Yグラフを出力する、
といった部品を含む。
First, as the parts to be pasted on the sheet 111, the above-mentioned conventional parts, parts having a subroutine function, and the like may be used. In addition to the attribute information such as the character size, a component that can define information such as the storage location of print data and processing conditions at the time of output (hereinafter referred to as “data extraction processing condition information”) as property information I do. Such components in the present embodiment are roughly classified into two types: text-related components and graph-related components. Text-related components include components that output fixed data (labels), components that output variable data (text), and rows on the sheet 111 according to information defined for each component. Includes components (table components) that automatically adjust the column width, row width, and the like of cells in units and columns. Also, the parts related to graphs are
Outputting a line graph, outputting a bar graph, outputting a radar chart, and outputting an XY graph,
Including such parts.

【0025】そこで、図2は、上記図1の自動生成装置
100において、部品に対する情報の定義、及び部品の
貼り付けのための構成をも含めた、本装置の構成を示し
たものである。
FIG. 2 shows the configuration of the automatic generation apparatus 100 shown in FIG. 1 including the definition of information for parts and the configuration for pasting parts.

【0026】上記図2に示すように、自動生成装置10
0は、上記図1の構成に加えて、シート111上に部品
を貼り付けるためのHMI部品貼付部220と、HMI
部品貼付部220により貼り付けられた部品に対してプ
ロパティ情報を定義するためのプロパティ情報定義部2
30とを含んでなる。
As shown in FIG. 2, the automatic generation device 10
0 is an HMI component attaching section 220 for attaching components on the sheet 111 in addition to the configuration of FIG.
Property information definition unit 2 for defining property information for the component pasted by component pasting unit 220
30.

【0027】また、上記図2において、複数の部品21
1a,211b,・・・は、シート111上にユーザに
よって貼り付け対象となるHMI部品であり、これらの
HMI部品211a,211b,・・・を含むHMI部
品群210は、本実施の形態での特有のHMI部品の集
合である。個々のHMI部品211a,211b,・・
・は、あるデータ処理に必要な最小限の機能のみを有す
るものである。例えば、上述したような、テキストを出
力する、グラフ(折れ線グラフやX−Yグラフ、棒グラ
フ等)を出力する、図形(レーダーチャート等)を出力
する、帳票を出力する、シート111のセルの調整、と
いった基本的な機能のプログラムのみを有し、データベ
ースに対するアクセス処理や細かい線種や線色等の条件
については、何らプログラム化されていない汎用的な部
品である。したがって、上記図2では、HMI部品貼付
部220によって、HMI部品群210のHMI部品2
11a,211b,・・・の中から2つのHMI部品2
11a,211bが選択され、これらがHMI部品11
2a,112bとしてシート111上に貼り付けられた
状態としている。
Further, in FIG.
Are HMI components to be pasted on the sheet 111 by the user, and an HMI component group 210 including these HMI components 211a, 211b,... A collection of unique HMI parts. Individual HMI parts 211a, 211b,...
Has only the minimum functions necessary for certain data processing. For example, as described above, outputting a text, outputting a graph (line graph, XY graph, bar graph, etc.), outputting a graphic (radar chart, etc.), outputting a form, adjusting a cell of the sheet 111 This is a general-purpose part that has only programs of basic functions such as, and does not program any at all with respect to conditions for access processing to the database and fine line types and line colors. Accordingly, in FIG. 2 described above, the HMI component attaching section 220 causes the HMI component 2
11a, 211b,..., Two HMI parts 2
11a and 211b are selected, and these are the HMI parts 11
2a and 112b are attached to the sheet 111.

【0028】ところで、上記図7に示した従来のHMI
部品は、次のような問題点がある。まず、従来のHMI
部品は、その1個1個がデータベースアクセス処理のプ
ログラムを個別に有するものである。したがって、表示
画面上に複数のHMI部品が貼られた場合、それぞれの
HMI部品に対するデータの取得は、各HMI部品が個
別にデータベースにアクセスすることによって行われる
ことになる。このため、全てのHMI部品がデータを取
得して出力するまでに、データベースに対するアクセス
を何回も行わなければならなくなり、応答性が悪くなる
という問題がある。また、エンドユーザが使用可能なH
MI部品は、予め用意された基本的な数種類のものに限
定されている。すなわち、従来のHMI部品は、その中
で細かいデータ処理やデータベースアクセス処理がサブ
ルーチンプログラムとしてあらかじめ作り込まれてい
る。このため、全く異なる形で画面表示出力をしたい場
合とか、同じ形の画面表示出力でも線種や線色等を変え
て表示したい場合等は、それらの要求に合わせてHMI
部品のプログラムを新たに作ったり、或いは既存のもの
を作り直したりしなければならなくなる。ところが、上
述したように、HMI部品は専門家であるプログラマに
よって作成されるものであり、様々な要求を持つエンド
ユーザ自身が作成することは極めて困難である。したが
って、従来のHMI部品では、ユーザ毎に所望する部品
を作成し、或いは修正することが非常に困難であるた
め、ユーザは、予め用意された限られた機能のHMI部
品の利用に甘受せざるを得ないという問題がある。
By the way, the conventional HMI shown in FIG.
Parts have the following problems. First, the conventional HMI
Each of the components individually has a database access processing program. Therefore, when a plurality of HMI parts are pasted on the display screen, data acquisition for each HMI part is performed by each HMI part individually accessing the database. For this reason, it is necessary to access the database many times before all the HMI parts acquire and output the data, and there is a problem that the responsiveness is deteriorated. In addition, H which can be used by the end user
The MI components are limited to several basic types prepared in advance. That is, in the conventional HMI component, detailed data processing and database access processing are preliminarily created as a subroutine program. For this reason, when it is desired to output a screen display in a completely different form, or to display a screen display output of the same form by changing a line type, a line color, or the like, the HMI is required in accordance with those requirements.
You will have to create new part programs or recreate existing ones. However, as described above, the HMI parts are created by a programmer who is an expert, and it is extremely difficult for an end user who has various requirements to create the HMI parts. Therefore, it is very difficult for a conventional HMI component to create or modify a desired component for each user, and thus the user has to accept the use of HMI components having limited functions prepared in advance. There is a problem that does not get.

【0029】上述のように、上記図7に示した従来のH
MI部品は、基本的な出力処理の他に、上記From−
To情報に相当するデータベースアクセス処理もサブル
ーチンのプログラムとして始めから作り込まれたもので
あった。これに対して、本実施の形態でのHMI部品群
210の中に用意されているHMI部品211a,21
1b,・・・は、基本的な出力処理のみがプログラム化
されており、From−Toに関するデータベースアク
セス処理は、HMI部品211a,211bがシート1
11上に貼り付けられた後で、プロパティ情報として任
意に定義できるようになされている。さらに、このFr
om−To情報だけでなく、種々の処理条件に関する情
報をも、任意に定義できるようになされている。すなわ
ち、本実施の形態でのプロパティ情報は、どこにあるデ
ータをどういう場合にどんな条件で読み出し、それをど
のように加工してどの部品に取り込むかと言った一連の
アクセス処理を、シート111に貼り付けられたそれぞ
れのHMI部品112a,112bについてまとめて定
義される情報である。
As described above, the conventional H shown in FIG.
MI parts are used in addition to the basic output processing.
The database access processing corresponding to the To information was also created from the beginning as a subroutine program. On the other hand, HMI components 211a and 21 provided in HMI component group 210 in the present embodiment are provided.
1b,..., Only the basic output processing is programmed, and the HMI parts 211a, 211b perform the sheet access on the From-To database access processing.
After being pasted on 11, it can be arbitrarily defined as property information. Furthermore, this Fr
In addition to the om-To information, information on various processing conditions can be arbitrarily defined. That is, the property information in the present embodiment is obtained by pasting a series of access processing such as reading data under what conditions and under what conditions, processing the data, and loading it into the sheet 111. This is information that is collectively defined for each of the HMI components 112a and 112b that have been set.

【0030】図3及び図4は、上述したプロパティ情報
の定義画面の一例を示したものである。これらの図3及
び図4に示すように、本実施の形態でのプロパティ情報
は、表形式にて様々な情報を定義するようになってお
り、例えば、マイクロソフト社の表計算ソフトであるM
S−Excelを使用して、Excel形式に従った定
義を行う。これにより、これらの図3及び図4に示す表
の各行にはそれぞれ、1つのデータに関するFrom−
Toおよび処理条件に関する情報が入力される。
FIGS. 3 and 4 show examples of the definition screen of the above-described property information. As shown in FIGS. 3 and 4, the property information in the present embodiment defines various types of information in a table format. For example, M is spreadsheet software of Microsoft Corporation.
The definition according to the Excel format is performed using S-Excel. Thereby, each row of the tables shown in FIG. 3 and FIG.
Information about To and processing conditions is input.

【0031】具体的には、まず、上記図3について、シ
ート111に貼られたHMI部品112a,112bに
関し、どのデータをどこから抽出するかのFrom情報
は「生成元(From)」と表示された欄に定義する。
この欄に定義される内容は、一義的にはHMI部品11
2a,112bで使用するデータの抽出元を示すもので
あるが、「生成元」と表示しているのは、この欄の内容
が後にグラフや図形等を生成する際の元情報となるから
である。また、読み出したデータをどこに取り込むかの
To情報は「生成先(To)」と表示された欄に定義す
る。この欄に定義される内容は、一義的には上記抽出し
たデータの取り込み先を示すものであるが、ここで「生
成先」と表示しているのは、この欄に定義された内容
も、後にグラフや図形等を生成する際の元情報となるか
らである。
More specifically, in FIG. 3, from the HMI components 112a and 112b affixed to the sheet 111, the From information indicating which data is to be extracted from where is displayed as "Origin (From)". Column.
The contents defined in this column are primarily HMI parts 11
2a and 112b indicate the source of the data to be used. The reason why "source" is displayed is that the contents of this column are the source information for generating a graph, a graphic, or the like later. is there. In addition, To information on where to read the read data is defined in a column where “Generation destination (To)” is displayed. Although the contents defined in this column uniquely indicate the destination of the extracted data, the "generation destination" is displayed here because the contents defined in this column are This is because it becomes the original information when a graph, a figure, or the like is generated later.

【0032】上記の「生成元」となるデータは、データ
ベース180のテーブル内に格納されているデータと、
サブルーチン等のプログラム部品により生成されるデー
タとの2種類に大きく分けられる。上記のテーブルとい
うのは、上記図2に示すように、データベース180内
に存在する、種々のデータを格納した幾つかのテーブル
181a,181b,・・・のことを言う。
The data as the “generation source” includes data stored in a table of the database 180,
And data generated by program components such as subroutines. The above tables refer to several tables 181a, 181b,... Which store various data and exist in the database 180, as shown in FIG.

【0033】テーブル181a,181b,・・・から
データを抽出する場合は、どのテーブル内のどの項目か
らデータを抽出するかをテーブル名称、項目名、データ
型等の情報により定義する。また、プログラム部品によ
り生成されたデータを抽出する場合は、上記テーブル名
称、項目名、データ型等の情報の代わりに、対象とする
部品名称を定義する。
When data is to be extracted from the tables 181a, 181b,..., Which item in which table to extract data is defined by information such as a table name, an item name, and a data type. When extracting data generated by a program component, a target component name is defined instead of the information such as the table name, item name, and data type.

【0034】尚、ここではデータベース180の一例と
して、表形式のリレーショナル・データベース(RD
B)を想定し、そのRDBを構成する幾つかのテーブル
181a,181b,・・・内に抽出すべきデータが格
納されているものとしたが、どのデータかを一意に特定
できれば、必ずしもテーブル内に整然と格納されていな
くても良い。よって、データベース180は必ずしもR
DBである必要はない。
Here, as an example of the database 180, a relational database (RD) in the form of a table is used.
B) is assumed and data to be extracted is stored in some tables 181a, 181b,... Constituting the RDB. However, if any data can be uniquely specified, the It does not have to be stored orderly. Therefore, the database 180 is not necessarily R
It does not need to be a DB.

【0035】また、プログラム部品ではなくテーブル1
81a,181b,・・・内からデータを抽出する場合
は、そのデータをどういう条件で抽出し、それをどのよ
うに加工するかといった処理条件を更に定義する。ここ
で言う抽出条件とは、例えば、指定された読出起点から
数えていくつかのデータのうち最新値を抽出するといっ
たように、どういう条件のデータを抽出するか等を定義
したものである。また、加工条件とは、例えば、複数の
データを読んだときに、それらにどんな加工(合計値計
算、平均値計算、最大値選出、最小値選出等)を施すか
について定義したものである。
Table 1 is used instead of program parts.
81a, 181b,..., The processing conditions such as how to extract the data and how to process the data are further defined. Here, the extraction condition defines what condition data is to be extracted, for example, such as extracting the latest value from some data counted from a designated read start point. Further, the processing condition is defined as what processing (total value calculation, average value calculation, maximum value selection, minimum value selection, etc.) is performed on a plurality of data when they are read, for example.

【0036】つぎに、上記図4については、例えば、表
示装置110に画面表示されたシート111を、オンラ
インシステム上で実際に稼働するプロセス制御での操業
解析用の帳票として用いた場合、このシート111上に
貼られたHMI部品112a,112bが使用する印字
データ(データベース180等から抽出すべきデータ)
は、稼働しているプロセスの条件に応じて動的に変化す
るので、同じデータでも、ある状態のときには読まなく
ても良いというような場合がある。そこで、本実施の形
態においては、どのような状態のときにデータを抽出
し、或いは抽出しなくても良いか(抽出するにあたって
の周りの外部状態)を「採用条件」として定義する。上
記図4では、どのテーブル内のどの項目のデータをどの
ような条件で抽出するかを表す「条件」に関する情報
と、その条件をもとに抽出したデータを採用するか否か
を決定するために必要な「判定」に関する情報とを定義
するようになっている。
Next, referring to FIG. 4, for example, when the sheet 111 displayed on the screen of the display device 110 is used as a form for operation analysis in process control actually operating on the online system, Print data used by the HMI parts 112a and 112b pasted on the data 111 (data to be extracted from the database 180 and the like)
Changes dynamically according to the conditions of the running process, so there is a case where the same data need not be read in a certain state. Therefore, in the present embodiment, in what state data is extracted or not required to be extracted (external state around the extraction) is defined as “employment condition”. In FIG. 4 described above, information on “conditions” indicating which items of data in which tables are to be extracted under what conditions, and whether to use the data extracted based on the conditions are determined. And information relating to “judgment” necessary for the application.

【0037】また、上記の採用条件が成立してデータを
読み出したときに、それをどのような条件で出力するか
と言ったデータ処理後の出力態様を「採用条件成立時の
指定」として定義する。例えば、HMI部品がグラフ出
力のための部品の場合、出力の有無、線種、線色、及び
線幅等の条件を定義する。また、グラフの各プロット点
を表すマーカの色およびパターン(○、△、□、・・・
など)を定義する。さらに、貼り付けられたHMI部品
がテキスト出力のための部品の場合、テキストの内部
色、フォント色、及び点滅等のブリンク指定の条件を定
義する。したっがって、上述したテーブル部品がシート
111上に貼り付けられた場合には、上記の「採用条件
成立時の指定」として定義された情報に応じて、グラフ
やテキスト等がシート111に対して適切な形態で出力
されるように、シート111の列幅や行幅等が自動的に
調整されることになる。
When data is read out when the above-mentioned employment condition is satisfied, the output form after data processing, such as what condition to output the data, is defined as "designation when the employment condition is satisfied". . For example, when the HMI component is a component for outputting a graph, conditions such as presence / absence of output, a line type, a line color, and a line width are defined. Also, the colors and patterns of the markers representing the plot points of the graph ((, Δ, □,...)
Etc.) Further, when the pasted HMI component is a component for text output, the conditions for blink specification such as the internal color of the text, the font color, and blinking are defined. Therefore, when the above-described table component is pasted on the sheet 111, a graph, a text, or the like is displayed on the sheet 111 in accordance with the information defined as “designation when the adoption condition is satisfied”. The column width and the row width of the sheet 111 are automatically adjusted so that the sheet 111 is output in an appropriate form.

【0038】上述のように、本実施の形態におけるHM
I部品では、データのFrom−To情報の他に、抽出
条件、加工条件、採用条件、採用条件成立時の指定など
から成るデータの処理条件の情報が定義可能なようにな
されている。これは、オンラインシステムの表示装置1
10のシート111上で実際に稼働するHMI部品11
2a,112bの処理に関し、あるデータを読み出すか
否かを定義された条件に従って決定し、読み出した場合
にはそれを適当に加工し、更にその加工の結果を指定さ
れた条件で表示するといったように、出力すべきデータ
の抽出から可視化までの流れを、上記図3や図4に示し
た定義書上で定義していることに相当する。
As described above, the HM in the present embodiment
In the I-part, information on data processing conditions including extraction conditions, processing conditions, adoption conditions, designation when the adoption conditions are satisfied, and the like can be defined in addition to the From-To information of the data. This is the display device 1 of the online system.
HMI parts 11 actually operating on ten sheets 111
Regarding the processing of 2a and 112b, it is determined whether or not to read out certain data according to a defined condition, and when it is read out, it is appropriately processed and the result of the processing is displayed under the specified condition. In addition, the flow from extraction of data to be output to visualization is equivalent to being defined in the definition documents shown in FIGS.

【0039】図5は、上述したような部品を用いた自動
生成装置100の動作を示示すフローチャートである。
以下、この図5を用いて、自動生成装置100の動作に
ついて説明する。
FIG. 5 is a flowchart showing the operation of the automatic generation apparatus 100 using the above-described components.
Hereinafter, the operation of the automatic generation device 100 will be described with reference to FIG.

【0040】ステップS301:先ず、ユーザは、HM
I部品貼付部220により、予め専門のプログラマ等に
よって作成され用意されているHMI部品群210の中
から、所望のHMI部品を選択してシート111上の所
望の位置に貼り付けるための操作を行う。ここでのHM
I部品貼付部220は、ユーザがHMI部品群210の
中から所望のものを選択し、それをシート111上の所
望の位置に貼り付けていくためのものであり、例えば、
HMI部品群210をメニューとして表示装置110に
表示させ、その中からマウス等(図示せず)のドラッグ
&ドロップ操作によってユーザから指定されたHMI部
品を、シート111上に貼り付ける。上記図2では、H
MI部品群210の中から2つのHMI部品211a,
211bがユーザから選択され、これらをセル111上
にHMI部品112a,112bとして貼り付けた状態
を示している。
Step S301: First, the user sets the HM
An operation for selecting a desired HMI component from a group of HMI components 210 prepared and prepared in advance by a specialized programmer or the like and pasting the HMI component to a desired position on the sheet 111 is performed by the I component pasting unit 220. . HM here
The I component pasting unit 220 is for the user to select a desired component from the HMI component group 210 and paste it at a desired position on the sheet 111.
The HMI component group 210 is displayed as a menu on the display device 110, and the HMI component designated by the user by a drag and drop operation of a mouse or the like (not shown) is pasted on the sheet 111. In the above FIG.
Two HMI parts 211a from the MI parts group 210,
The figure shows a state where the user has selected 211b and pasted them on the cell 111 as HMI parts 112a and 112b.

【0041】ステップS302:次に、必要なHMI部
品を全て貼付し終えたかどうかを判断し、貼付し終える
まで、ステップS301に戻って同様の処理を繰り返
す。
Step S302: Next, it is determined whether or not all necessary HMI parts have been pasted, and the flow returns to step S301 to repeat the same processing until the pasting is completed.

【0042】ステップS303:ステップS303に
て、必要なHMI部品を全てシート111上に貼付し終
えたと判断されると、次に、ユーザは、プロパティ情報
定義部230により、シート111上に貼付したHMI
部品に関するプロパティ情報を定義する。ここでのプロ
パティ情報定義部230は、上述したように、シート1
11上に貼り付けられたHMI部品112a,112b
が帳票の印字データの作成及び出力に必要なデータを取
り込んでくるときに、どこのデータをどのHMI部品に
入力するか等のFrom−Toに関する情報や、取り込
むデータの処理条件に関する情報を、シート111上に
貼り付けられたHMI部品112a,112bに対する
プロパティ情報として定義するものである。
Step S303: If it is determined in step S303 that all necessary HMI parts have been pasted on the sheet 111, then the user uses the property information definition unit 230 to execute the HMI pasting on the sheet 111.
Define the property information about the part. As described above, the property information definition unit 230 here stores the sheet 1
HMI parts 112a and 112b pasted on 11
When fetching data necessary for creating and outputting form print data, information about From-To such as which data is input to which HMI component and information about processing conditions of the data to be fetched are stored in a sheet. It is defined as property information for the HMI components 112a and 112b pasted on the 111.

【0043】ステップS304:次に、シート111上
に貼付された全てのHMI部品についてプロパティ情報
の定義を終了したかどうかを判断し、全てを定義し終え
るまで、ステップS303に戻って同様の処理を繰り返
す。尚、ここで、必要なHMI部品を全て貼付し終えた
後に、プロパティ情報を定義しているが、HMI部品を
1つ貼付する毎にそれに対するプロパティ情報を順次定
義するようにしても良い。
Step S304: Next, it is determined whether or not the definition of property information has been completed for all the HMI parts affixed on the sheet 111. repeat. Here, the property information is defined after all necessary HMI parts have been pasted, but the property information for each HMI part may be sequentially defined each time one HMI part is pasted.

【0044】ステップS305:ステップS304に
て、シート111上に貼付された全てのHMI部品につ
いてプロパティ情報を定義し終えたと判断されると、次
に、ユーザは、本装置に対して、プログラムの自動生成
を指示する。これにより、プロパティ情報抽出部120
は、ユーザから定義された各部品毎のプロパティ情報
を、それぞれの部品から抽出すると共に、それぞれのシ
ート111上での貼付位置(アドレス)をも抽出する。
そして、プロパティ情報抽出部120は、その抽出した
部品毎のプロパティ情報及び貼付位置を部品毎のメモり
130に格納する。このとき、プロパティ情報抽出部1
20は、Excel形式で記述されたプロパティ情報
を、その後の処理を行いやすいフォーマットに変換する
処理も行う。
Step S305: If it is determined in step S304 that the property information has been defined for all the HMI parts affixed on the sheet 111, then the user sends an automatic program Instruct generation. Thereby, the property information extraction unit 120
Extracts the property information for each part defined by the user from each part, and also extracts the pasting position (address) on each sheet 111.
Then, the property information extraction unit 120 stores the extracted property information and the attachment position for each component in the memory 130 for each component. At this time, the property information extraction unit 1
20 also performs a process of converting the property information described in the Excel format into a format in which subsequent processes can be easily performed.

【0045】ステップS306:定義情報解析部140
は、プロパティ情報抽出部120にて抽出されメモリ1
30に格納された部品毎のプロパティ情報から、その情
報中に含まれる各データのFrom−To情報や処理条
件の情報をもとに、シート111上に貼り付けられたH
MI部品112a,112bの位置に出力すべき印字デ
ータのフローがどうなっているか、あるいはその出力形
態をどうすべきか等について解析する。また、定義情報
解析部140は、メモリ130に格納された部品毎の貼
付位置と、それぞれの部品による印字データの出力時に
おける該印字データの出力先の位置との対応付け(アド
レスのマッピング)を行い、これを管理情報とする。そ
して、このような種々の解析結果を、メモリ150にプ
ログラム生成情報として格納する。
Step S306: Definition information analyzer 140
Is extracted by the property information extraction unit 120 and stored in the memory 1
From the property information of each component stored in the H.30, based on the From-To information of each data included in the information and the information of the processing condition, the H pasted on the sheet 111.
An analysis is performed on the flow of print data to be output to the positions of the MI components 112a and 112b, the output form thereof, and the like. Further, the definition information analysis unit 140 associates the attachment position of each component stored in the memory 130 with the output destination position of the print data when each component outputs the print data (address mapping). This is used as management information. Then, such various analysis results are stored in the memory 150 as program generation information.

【0046】ステップS307:プログラム自動生成部
160は、メモリ150に格納されたプログラム生成情
報に基づいて、印字データの出力(表示出力或いは印字
出力)用のメインプログラム170(VBA)と、その
メインプログラム170にて実行される印字データの抽
出及び加工処理のサブルーチンプログラム171とを自
動生成する。すなわち、プログラム自動生成部160
は、定義情報解析部140での解析結果の情報に基づい
て、必要なデータを抽出し、それをHMI部品112
a,112bに組み込んで、帳票の印字データの作成及
び出力(表示出力或いは印字出力)のためのプログラム
を生成する。その生成の際には、まずソースコードを生
成し、そのソースコードをコンパイルおよびリンクする
ことにより、印字データのタ出力(表示出力或いは印字
出力)用のメインプログラム170(VBA)と、その
メインプログラム170にて実行される印字データの抽
出及び加工処理のサブルーチンプログラム171とを生
成する。このようなプログラム自動生成部160にて生
成される、印字データの抽出及び加工処理のサブルーチ
ンプログラム171は、シート111に貼り付けられた
複数のHMI部品のプロパティ情報を解析してデータベ
ース180へのアクセス回数の最小限化を図ったプログ
ラムである。つまり、プログラム自動生成部160は、
同じテーブルに対する同じ条件の下でのアクセスに関し
ては、抽出したデータの移行先が異なるHMI部品であ
っても、一度のアクセスでデータの読み出しを行うよう
なプログラムを生成する。このとき、1つのシート11
1に対して1つのプログラム170,171が生成され
る。
Step S307: The program automatic generation unit 160 generates a main program 170 (VBA) for outputting print data (display output or print output) based on the program generation information stored in the memory 150, A subroutine program 171 for extracting and processing the print data executed at 170 is automatically generated. That is, the program automatic generation unit 160
Extracts the necessary data based on the information of the analysis result in the definition information analysis unit 140 and
a, 112b to generate a program for creating and outputting (display output or print output) of the form print data. At the time of generation, first, a source code is generated, and the source code is compiled and linked, so that a main program 170 (VBA) for outputting print data (display output or print output) and the main program A subroutine program 171 for extracting and processing the print data executed at 170 is generated. The print data extraction and processing subroutine program 171 generated by the program automatic generation unit 160 analyzes the property information of the plurality of HMI components attached to the sheet 111 and accesses the database 180. This is a program that minimizes the number of times. That is, the program automatic generation unit 160
Regarding access to the same table under the same conditions, a program is generated that reads data with a single access even if the destination of the extracted data is a different HMI component. At this time, one sheet 11
One program 170, 171 is generated for one.

【0047】上述のように、本実施の形態では、データ
ベース180等からデータを抽出して印字データを作成
し、それをシート111上に出力する処理を実際に実行
できるような条件をプロパティ情報にて作り出している
ので、このプロパティ情報の内容を解析することによっ
て、プログラム自動生成部160にて生成すべきプログ
ラム170,171におけるデータ処理のアルゴリズム
を簡単に把握することができ、そのプログラムを自動的
に生成することができる。よって、プロパティ情報の定
義内容を様々に変えることによって、1つの汎用的なH
MI部品から様々な条件のプログラム170,171を
簡単に生成することができる。
As described above, in the present embodiment, conditions for extracting print data from the database 180 or the like, creating print data, and outputting the print data on the sheet 111 are included in the property information. By analyzing the contents of the property information, the algorithm of the data processing in the programs 170 and 171 to be generated by the program automatic generation unit 160 can be easily grasped. Can be generated. Therefore, by changing the definition of the property information in various ways, one general-purpose H
Programs 170 and 171 under various conditions can be easily generated from MI components.

【0048】ステップS308:プログラム自動生成部
160によってプログラム170,171が生成された
後、ユーザからプログラム実行の指示があると、プログ
ラム170,171が実行される。これにより、プロパ
ティ情報にて定義された抽出元であるデータベース18
0等から、出力すべきデータが定められた条件に従って
読み出され、同じくプロパティ情報にて定義された通り
に加工(編集)され、これが印字データとされる。
Step S308: After the programs 170 and 171 are generated by the program automatic generation unit 160, when the user instructs to execute the programs, the programs 170 and 171 are executed. Thereby, the database 18 as the extraction source defined in the property information
From 0 or the like, data to be output is read out according to the determined conditions, and is processed (edited) as defined by the property information, and is used as print data.

【0049】ステップS309:その後、プログラム1
70,171の実行により、編集処理された印字データ
は、シート111上のHMI部品へと移行され、プロパ
ティ情報にて指定された出力条件に従って表示される。
また、ユーザから印字要求があった場合には、そのシー
ト111のイメージが帳票としてプリンタ190から印
字出力される。したがって、表示装置110或いはプリ
ンタ190では、シート111上に貼り付けられた部品
112a,112b,・・・の該貼付位置に、それぞれ
の部品に対して定義された情報に従ったかたちで、それ
ぞれに対応する印字データ(テキストやグラフ等)が出
力される。また、このとき、シート111における行幅
や列幅等は、上述したテーブル部品によって、ユーザか
ら定義された情報に従って、最適になるように自動調整
される。
Step S309: Then, program 1
By executing steps 70 and 171, the edited print data is transferred to the HMI component on the sheet 111 and displayed according to the output condition specified by the property information.
Further, when a print request is made by the user, the image of the sheet 111 is printed out from the printer 190 as a form. Therefore, in the display device 110 or the printer 190, each of the parts 112a, 112b,... Pasted on the sheet 111 is placed in the pasting position in accordance with the information defined for each part. The corresponding print data (text, graph, etc.) is output. At this time, the row width, the column width, and the like on the sheet 111 are automatically adjusted by the above-described table components so as to be optimal according to the information defined by the user.

【0050】上述のように、本実施の形態では、表計算
ソフトウェアにおけるシート111を帳票として使用
し、このシート111に貼り付けられたテキストやグラ
フ等の部品に対して定義されているプロパティ情報か
ら、表示出力や印字出力のための印字データを作成し
て、それを画面出力や印字出力するソフトウェアを自動
生成する。すなわち、シート111に貼り付けられた部
品を、それに対してユーザから定義されたプロパティ情
報に従ったかたちで、シート111のセルに展開するソ
フトウェアを自動生成する。このソフトウェアの実行に
より、シート111に入り付けられた部品の該貼付位置
に対応して、それぞれの部品に対応するテキストやグラ
フ等の印字データが、ユーザが所望するかたちで出力さ
れる。 これにより、帳票に対して、テキストのみなら
ずグラフ等の種々の印字データを自動的に作成して出力
することができる。したがって、ユーザへの帳票につい
ての要求仕様に制約を与えることなく、ユーザが満足す
る帳票を提供することができ、このための操作について
も高度化を促進することができる。また、一般のユーザ
でも、操業解析用や報告用等の帳票を容易に作成するこ
と(帳票開発(EUC))ができ、業務の効率化を図る
ことができる。さらに、これらの効果を実現するソフト
ウェアを自動生成できるため、ソフトウェア開発の生産
性及び品質を画期的に向上させることができると共に、
操作形態の変化に柔軟にタイムリーに対応することがで
きる。これにより、保守業務の効率化を図ることができ
る。
As described above, in the present embodiment, the sheet 111 in the spreadsheet software is used as a form, and the property information defined for parts such as texts and graphs pasted on the sheet 111 is used. Then, it creates print data for display output and print output, and automatically generates software for screen output and print output. In other words, software is automatically generated to develop the components pasted on the sheet 111 into cells of the sheet 111 in accordance with the property information defined by the user for the parts. By executing the software, print data such as a text and a graph corresponding to each part is output in a form desired by the user in accordance with the attached position of the part attached to the sheet 111. This makes it possible to automatically create and output not only text but also various print data such as graphs on a form. Therefore, it is possible to provide a form that satisfies the user without restricting the required specification of the form to the user, and to promote the operation for this purpose. In addition, even a general user can easily create a form for operation analysis, report, and the like (form development (EUC)), and can improve work efficiency. Furthermore, since software that realizes these effects can be automatically generated, productivity and quality of software development can be dramatically improved,
It is possible to flexibly respond to changes in the operation mode in a timely manner. Thereby, the efficiency of maintenance work can be improved.

【0051】また、本実施の形態では、グラフ出力やテ
キスト出力等のごく基本的な出力機能のみを持った汎用
的なHMI部品を用いているため、このHMI部品に対
して、シート111上に出力すべきデータの抽出元と移
行先、データの処理条件に関するプロパティ情報を表形
式で定義するだけで、帳票上の印字データの作成及び出
力のプログラム171,171を自動的に生成すること
ができ、上記プロパティ情報に合った帳票を自動的に作
成して画面表示出力や印字出力することができる。これ
により、例えば、グラフの線種や線色等を変えて表示し
たい場合や、抽出したデータの加工の仕方を変えて表示
したい場合、あるいはテキストのフォント等を変えて表
示したい場合等、比較的簡単な変更要求に対しては、そ
の要求に合わせてプロパティ情報の内容を書き換えるだ
けで、ユーザの意図する通りのイメージの帳票を容易に
作ることができる。つまり、プログラマ等の専門家でな
くても、エンドユーザ自身が帳票開発(EUC)等を容
易に行うことができるとともに、操業形態の変化等にも
柔軟かつタイムリーに対応することができる。また、プ
ロパティ情報の変更だけでは対応できないような場合、
例えば、予め用意されている汎用的なHMI部品の出力
機能とは種類が異なる出力をしたいという要求の場合で
あっても、新たに作るHMI部品には、その要求に見合
う基本的な出力機能のプログラムのみを持たせれば良
い。よって、出力機能以外にデータベースアクセス機能
等も持っていた従来のHMI部品に比べて、HMI部品
自身の追加や修正等も非常に簡単に行うことができる。
In this embodiment, since a general-purpose HMI component having only basic output functions such as graph output and text output is used, the HMI component is The program 171 and 171 for creating and outputting print data on a form can be automatically generated only by defining in a table format property information relating to an extraction source and a migration destination of data to be output and processing conditions of the data. It is also possible to automatically create a form corresponding to the property information and output it on a screen or print it out. Thus, for example, when it is desired to display the graph by changing the line type or line color of the graph, when it is desired to display the extracted data by changing the processing method, or when it is desired to display the text by changing the font or the like, In response to a simple change request, a form of an image intended by the user can be easily created simply by rewriting the content of the property information in accordance with the request. In other words, the end user can easily perform the form development (EUC) or the like without being an expert such as a programmer, and can flexibly and timely cope with a change in the operation mode. Also, if changing the property information is not enough,
For example, even in the case of a request to output a type different from the output function of a general-purpose HMI component prepared in advance, a newly created HMI component has a basic output function that meets the requirement. You only need to have a program. Therefore, compared to a conventional HMI component having a database access function in addition to the output function, addition, modification, and the like of the HMI component itself can be performed very easily.

【0052】さらに、本実施の形態では、自動生成され
るプログラム170,171は、データベース10への
アクセス回数がミニマム化されるように作られているた
め、同じ抽出元や抽出条件であれば、データベース10
に対するアクセスはシート111単位で一括して行われ
る。これに対して、従来の技術では、同じ抽出元(例え
ば同じテーブル)であっても、個々のHMI部品が個別
にデータベースにアクセスしていた。したがって、本実
施の形態によれば、データ抽出の際のアクセス回数を従
来に比べて格段に少なくすることができ、データ表示の
応答性を向上させることができる。
Furthermore, in the present embodiment, the programs 170 and 171 that are automatically generated are designed so that the number of accesses to the database 10 is minimized. Database 10
Are performed collectively for each sheet 111. On the other hand, in the related art, even in the same extraction source (for example, the same table), each HMI component individually accesses the database. Therefore, according to the present embodiment, the number of accesses at the time of data extraction can be significantly reduced as compared with the related art, and the responsiveness of data display can be improved.

【0053】尚、上述した実施の形態では、グラフ出力
やテキスト出力等のごく基本的な出力機能のみを持った
汎用的なHMI部品を用いるようにしたが、これに限ら
れることはない。例えば、従来からある部品であって
も、サブルーチンの機能を有する部品であってもよい。
In the above-described embodiment, a general-purpose HMI component having only basic output functions such as graph output and text output is used, but the present invention is not limited to this. For example, a conventional component or a component having a subroutine function may be used.

【0054】また、上述した実施の形態は、何れも本発
明を実施するにあたっての具体化のほんの一例を示した
ものに過ぎず、これらによって本発明の技術的範囲が限
定的に解釈されてはならないものである。すなわち、本
発明は、その精神、又はその主要な特徴から逸脱するこ
となく、様々な形で実施することができる。例えば、上
述した実施の形態では、データベース180から必要な
データを読み出してシート111上に表示出力する、プ
リンタ190によって印字出力する場合について説明し
たが、これとは逆に、シート111上にHMI部品を貼
り付けて設定した画面イメージをデータベース180に
書き込む場合にも適用することができる。この場合、自
動生成装置100の機能構成及び動作は、上述した説明
の通りで良く、プロパティ情報として定義するFrom
情報とTo情報とを上述の実施形態と逆にすれば良い。
Each of the above-described embodiments is merely an example of an embodiment for carrying out the present invention, and the technical scope of the present invention should not be interpreted in a limited manner. It must not be. That is, the present invention can be embodied in various forms without departing from the spirit or main features thereof. For example, in the above-described embodiment, a case has been described in which necessary data is read from the database 180 and displayed on the sheet 111 and printed out by the printer 190. Conversely, the HMI component is printed on the sheet 111. Can be applied to the case where the screen image set by pasting is written in the database 180. In this case, the functional configuration and operation of the automatic generation device 100 may be as described above, and the From
The information and the To information may be reversed from those in the above-described embodiment.

【0055】また、上述した実施の形態において、HM
I部品に対して、例えば、データ演算に関する基本機能
のみを持たせるようにしてもよい。この場合、その部品
に対しては、その演算に必要なデータの抽出元や移行
先、或いはデータの処理条件等のプロパティ情報を定義
することによって、何らかのデータ処理を行うサブルー
チンが作成されることになる。これにより、ある1つの
機能演算機能のみを持った汎用的な部品から、様々な種
類のサブルーチンを簡単に作成することができ、ソフト
開発の生産性や品質を画期的に向上させることができ
る。
In the above embodiment, the HM
For example, the I component may have only a basic function related to data calculation. In this case, for the part, a subroutine for performing some data processing is created by defining property information such as a data extraction source and a migration destination necessary for the calculation, or data processing conditions. Become. As a result, various types of subroutines can be easily created from general-purpose parts having only one function calculation function, and productivity and quality of software development can be dramatically improved. .

【0056】また、上述した実施の形態による自動生成
装置100は、コンピュータのCPUあるいはMPU、
RAM、ROM等で構成されるものであり、RAMやR
OMに記憶されたプログラムが動作することによって実
現できる。したがって、コンピュータが上記機能を果た
すように動作させるプログラムを、例えば、CD−RO
Mのような記録媒体に記録し、コンピュータに読み込ま
せることによって実現できるものである。記録媒体とし
ては、CD−ROM以外に、フロッピーディスク、ハー
ドディスク、磁気テープ、光磁気ディスク、不揮発性メ
モリカード等を用いることができる。また、コンピュー
タが供給されたプログラムを実行することにより、上述
の実施の形態の機能が実現されるだけでなく、そのプロ
グラムがコンピュータにおいて稼働しているOS(オペ
レーティングシステム)或いは他のアプリケーションソ
フト等と共同して、上述の実施の形態の機能が実現され
る場合や、供給されたプログラムの処理の全て或いは一
部がコンピュータの機能拡張ボードや機能拡張ユニット
により行われて、上述の実施の形態の機能が実現される
場合も、かかるプログラムは本発明の実施の形態に含ま
れる。
Further, the automatic generation device 100 according to the above-described embodiment includes a computer CPU or MPU,
It is composed of RAM, ROM, etc.
It can be realized by operating a program stored in the OM. Therefore, a program that causes a computer to perform the above functions is, for example, a CD-RO
This can be realized by recording the data on a recording medium such as M and reading it into a computer. As a recording medium, a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk, a nonvolatile memory card, or the like can be used other than the CD-ROM. When the computer executes the supplied program, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) or other application software running on the computer. In the case where the functions of the above-described embodiment are realized jointly, or all or a part of the processing of the supplied program is performed by the function expansion board or the function expansion unit of the computer, Even when the functions are realized, such a program is included in the embodiment of the present invention.

【0057】[0057]

【発明の効果】以上説明したように本発明では、所定の
表計算ソフトウェアにおけるシートを帳票として使用
し、このシート上に貼り付けられたGUI部品(テキス
トやグラフを出力する部品等)に対応する部品手段のデ
ータ処理を実現するためのプログラムが自動的に作成さ
れ、その作成されたプログラムの実行によって、帳票に
対する印字データ(テキストやグラフ等)が作成され、
それがシート上に出力されることが自動的に行われる。
この結果、シートに入り付けられたGUI部品の該貼付
位置に対応して、それぞれのGUI部品に対応するテキ
ストやグラフ等の印字データが出力される。このような
構成により、帳票に対して、テキストのみならずグラフ
等の種々の印字データを自動的に作成して出力すること
ができる。したがって、ユーザへの帳票についての要求
仕様に制約を与えることなく、ユーザが満足する帳票を
提供することができ、このための操作についても高度化
を促進することができる。また、一般のユーザでも、操
業解析用や報告用等の帳票を容易に作成すること(帳票
開発(EUC))ができ、業務の効率化を図ることがで
きる。さらに、これらの効果を実現するソフトウェアを
自動生成できるため、ソフトウェア開発の生産性及び品
質を画期的に向上させることができると共に、操作形態
の変化に柔軟にタイムリーに対応することができる。こ
れにより、保守業務の効率化のを図ることができる。
As described above, according to the present invention, a sheet in predetermined spreadsheet software is used as a form, and corresponds to a GUI part (a part for outputting a text or a graph) pasted on the sheet. A program for realizing data processing of the component means is automatically created, and by executing the created program, print data (text, graph, etc.) for the form is created,
It will be done automatically on the sheet.
As a result, print data such as texts and graphs corresponding to the respective GUI components is output in accordance with the positions of the GUI components attached to the sheet. With such a configuration, it is possible to automatically create and output not only text but also various print data such as graphs on a form. Therefore, it is possible to provide a form that satisfies the user without restricting the required specification of the form to the user, and to promote the operation for this purpose. In addition, even a general user can easily create a form for operation analysis, report, and the like (form development (EUC)), and can improve work efficiency. Furthermore, since software that realizes these effects can be automatically generated, productivity and quality of software development can be remarkably improved, and a change in operation mode can be flexibly and timely responded. As a result, the efficiency of maintenance work can be improved.

【0058】また、例えば、出力機能等のデータ処理に
最低限必要な機能のみを有する部品手段に対して所定の
属性情報を定義し、定義された属性情報に基づいて、部
品手段におけるデータ処理を実際に行うためのプログラ
ムを生成するように構成すれば、ごく基本的なデータ処
理機能のみを持った部品に対して属性情報を定義するだ
けで、その部品のデータ処理を実現するためのプログラ
ムを自動的に生成することができ、定義した属性情報に
合った帳票を簡単に作成することができる。これによ
り、プログラムの専門家ではないユーザ自身が、自分の
好みや要求に合った帳票を簡単に作ることができる。さ
らに、要求に応じて属性情報の定義内容を変えることに
よって、1つの基本的な部品手段から様々な帳票を簡単
に作ることができ、要求の変化に対して柔軟かつタイム
リーに対応することができる。
Further, for example, predetermined attribute information is defined for a component means having only a minimum necessary function for data processing such as an output function, and data processing in the component means is performed based on the defined attribute information. If it is configured to generate a program for actual execution, it is only necessary to define attribute information for a component that has only a very basic data processing function. The form can be automatically generated, and a form matching the defined attribute information can be easily created. This allows a user who is not a program expert to easily create a form that suits his or her tastes and requirements. Further, by changing the definition of the attribute information according to the request, various forms can be easily created from one basic component means, and it is possible to respond flexibly and timely to the change of the request. it can.

【0059】また、プログラムを生成する際に、シート
上に貼付された少なくとも1つ以上のGUI部品に対応
する属性情報をもとに、同じ移行元に対するアクセスを
一度で行うようにしたプログラムを生成するように構成
すれば、データの移行元へのアクセス回数を最小限に抑
えることができ、データ処理の応答性を向上させること
ができる。
Further, when generating a program, a program is created that allows the same source to be accessed at one time based on attribute information corresponding to at least one or more GUI parts pasted on a sheet. With such a configuration, it is possible to minimize the number of accesses to the data migration source, and to improve the responsiveness of data processing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を適用したソフトウェアの自動生成装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an automatic software generation device to which the present invention is applied.

【図2】上記自動生成装置において、部品の貼付及びそ
れに対する定義のための構成を説明するためのブロック
図である。
FIG. 2 is a block diagram for explaining a configuration for attaching a component and defining the component in the automatic generation device.

【図3】上記自動生成装置でのプロパティ情報定義画面
の一例を示す図である。
FIG. 3 is a diagram showing an example of a property information definition screen in the automatic generation device.

【図4】上記自動生成装置でのプロパティ情報定義画面
の一例を示す図である。
FIG. 4 is a diagram showing an example of a property information definition screen in the automatic generation device.

【図5】上記自動生成装置の動作を説明するためのフロ
ーチャートである。
FIG. 5 is a flowchart for explaining the operation of the automatic generation device.

【図6】従来の表計算ソフトウェアを利用した管理情報
生成の構成について説明するための図である。
FIG. 6 is a diagram for explaining a configuration of management information generation using conventional spreadsheet software.

【図7】従来の部品を用いたプログラミングについて説
明するための図である。
FIG. 7 is a diagram for describing programming using conventional components.

【符号の説明】 100 ソフトウェアの自動生成装置 110 表示装置 111 シート 112a,112b HMI部品 120 プロパティ情報抽出部 130 プロパティ情報用メモリ 140 定義情報解析部 150 プログラム生成情報用メモリ 160 プログラム自動生成部 170,171 帳票作成及び出力プログラム 180 データベース 181a,181b テーブル 190 プリンタ 191 印字出力結果 210 HMI部品群 211a,211b HMI部品 220 HMI部品貼付部 230 プロパティ情報定義部[Description of Signs] 100 Automatic software generation device 110 Display device 111 Sheet 112a, 112b HMI component 120 Property information extraction unit 130 Property information memory 140 Definition information analysis unit 150 Program generation information memory 160 Program automatic generation unit 170, 171 Form creation and output program 180 Database 181a, 181b Table 190 Printer 191 Print output result 210 HMI parts group 211a, 211b HMI parts 220 HMI parts pasting part 230 Property information definition part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 米倉 秀春 富津市新富20−1 新日本製鐵株式会社技 術開発本部内 Fターム(参考) 5B076 DD06 DD10  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Hideharu Yonekura 20-1 Shintomi, Futtsu-shi F-term in the Technology Development Division of Nippon Steel Corporation (reference) 5B076 DD06 DD10

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 所定の表計算ソフトウェアによる(m行
×n列)のセルから構成されるシートを帳票として画面
表示する表示手段と、 データ処理の所定機能を有するプログラムをGUI部品
に対応させて記憶した部品手段と、 上記表示手段にて画面表示されたシート上の任意の位置
に対して、上記GUI部品を貼付するための部品貼付手
段と、 上記部品貼付手段によって上記シート上に貼付されたG
UI部品に対応する部品手段にデータを取り込んで上記
データ処理を行うことで、上記貼付GUI部品に対応す
る印字データを作成し、その印字データを上記貼付GU
I部品の上記シート上における貼付位置に対応して出力
することを実現するためのプログラムを生成するプログ
ラム生成手段とを備えたことを特徴とするソフトウェア
の自動生成装置。
1. A display means for displaying a sheet composed of (m rows × n columns) of cells by predetermined spreadsheet software as a form on a screen, and a program having a predetermined data processing function associated with a GUI component. The stored part means, a part sticking means for sticking the GUI part to an arbitrary position on the sheet displayed on the screen by the display means, and a part stuck on the sheet by the part sticking means. G
By taking the data into the component means corresponding to the UI component and performing the data processing, print data corresponding to the attached GUI component is created, and the print data is converted to the attached GUI component.
An automatic software generation apparatus, comprising: a program generation unit configured to generate a program for realizing output of an I component in accordance with a pasting position on the sheet.
【請求項2】 上記部品手段が有する所定機能は、上記
データ処理の必要最小機能を含み、 上記貼付GUI部品に対応する部品手段に対して、上記
データ処理に必要なデータの移行元と移行先、及び上記
データの処理条件に関する属性情報を定義するための属
性定義手段を更に備え、 上記プログラム生成手段は、上記属性定義手段により定
義された属性情報に基づいて、上記貼付GUI部品に対
応する部品手段にデータを取り込んで上記データ処理を
行うことを実現するためのプログラムを生成することを
特徴とする請求項1記載のソフトウェアの自動生成装
置。
2. The predetermined function of the component means includes a minimum function required for the data processing, and a source and a destination of data required for the data processing are provided to the component means corresponding to the pasted GUI component. And an attribute defining means for defining attribute information relating to a processing condition of the data, wherein the program generating means includes a component corresponding to the pasting GUI component based on the attribute information defined by the attribute defining means. 2. The automatic software generation apparatus according to claim 1, wherein a program for realizing the data processing by taking data into the means is generated.
【請求項3】 上記部品手段が有する所定機能は、上記
印字データの上記シート上への出力の際に、上記印字デ
ータに基づいて上記シート上のセル構成を調整する機能
を含むことを特徴とする請求項1記載のソフトウェアの
自動生成装置。
3. The predetermined function of the component means includes a function of adjusting a cell configuration on the sheet based on the print data when outputting the print data on the sheet. The automatic software generation device according to claim 1.
【請求項4】 上記調整する上記シート上のセル構成
は、セルの列幅及び行幅の少なくとも何れかを含むこと
を特徴とする請求項3記載のソフトウェアの自動生成装
置。
4. The automatic software generation apparatus according to claim 3, wherein the cell configuration on the sheet to be adjusted includes at least one of a column width and a row width of the cell.
【請求項5】 上記プログラム生成手段は、上記属性定
義手段により定義された属性情報に基づいて、同じ移行
元に対するアクセスを一度で行うようにしたプログラム
を生成することを特徴とする請求項2に記載のソフトウ
ェアの自動生成装置。
5. The program according to claim 2, wherein said program generating means generates a program which makes an access to the same migration source at one time based on the attribute information defined by said attribute defining means. Automatic generation device for the described software.
【請求項6】 上記プログラム生成手段は、 上記属性定義手段により定義された属性情報を抽出する
抽出手段と、 上記抽出手段により抽出された属性情報を解析して上記
プログラムのアルゴリズムを得る解析手段と、 上記解析手段による解析の結果に基づいて、上記プログ
ラムを生成する生成手段とを含むことを特徴とする請求
項2に記載のソフトウェアの自動生成装置。
6. The program generating means includes: extracting means for extracting attribute information defined by the attribute defining means; and analyzing means for analyzing the attribute information extracted by the extracting means to obtain an algorithm of the program. 3. The software automatic generation apparatus according to claim 2, further comprising: a generation unit configured to generate the program based on a result of the analysis by the analysis unit.
【請求項7】 上記データの処理条件の情報には、デー
タの抽出条件、加工条件、採用条件、及び上記シート上
への出力態様に関する情報のうち少なくとも1つ以上が
含まれることを特徴とする請求項2に記載のソフトウェ
アの自動生成装置。
7. The information on the data processing condition includes at least one of data extraction condition, processing condition, adoption condition, and information on an output mode on the sheet. An automatic software generation device according to claim 2.
【請求項8】 帳票として画面表示された、所定の表計
算ソフトウェアによる(m行×n列)のセルから構成さ
れるシート上の任意の位置に対して、データ処理の所定
機能を有するプログラムを記憶した部品手段に対応する
GUI部品を貼付する部品貼付ステップと、 上記部品貼付ステップによって上記シート上に貼付され
たGUI部品に対応する部品手段にデータを取り込んで
上記データ処理を行うことで、上記貼付GUI部品に対
応する印字データを作成し、その印字データを上記貼付
GUI部品の上記シート上における貼付位置に対応して
出力することを実現するためのプログラムを生成するプ
ログラム生成ステップとを含むことを特徴とするソフト
ウェアの自動生成方法。
8. A program having a predetermined data processing function for an arbitrary position on a sheet composed of (m rows × n columns) cells by predetermined spreadsheet software displayed on a screen as a form. A component attaching step of attaching a GUI component corresponding to the stored component means, and performing the data processing by importing data into the component means corresponding to the GUI component attached on the sheet by the component attaching step. Generating a print data corresponding to the pasting GUI component, and generating a program for realizing outputting the printing data corresponding to the pasting position of the pasting GUI component on the sheet. A software automatic generation method characterized by the following.
【請求項9】 上記部品手段が有する所定機能は、上記
データ処理の必要最小機能を含み、 上記貼付GUI部品に対応する部品手段に対して、上記
データ処理に必要なデータの移行元と移行先、及び上記
データの処理条件に関する属性情報を定義するための属
性定義ステップを更に含み、 上記プログラム生成ステップは、上記属性定義ステップ
により定義された属性情報に基づいて、上記貼付GUI
部品に対応する部品手段にデータを取り込んで上記デー
タ処理を行うことを実現するためのプログラムを生成す
るステップを含むことを特徴とする請求項8記載のソフ
トウェアの自動生成方法。
9. The predetermined function of the component means includes a minimum function required for the data processing, and provides a source and a destination of data required for the data processing to the component means corresponding to the pasted GUI component. And an attribute defining step for defining attribute information relating to a processing condition of the data, wherein the program generating step includes the attaching GUI based on the attribute information defined by the attribute defining step.
9. The automatic software generation method according to claim 8, further comprising a step of generating a program for realizing the data processing by taking data into a component means corresponding to the component.
【請求項10】 上記部品手段が有する所定機能は、上
記印字データの上記シート上への出力の際に、上記印字
データに基づいて上記シート上のセル構成を調整する機
能を含むことを特徴とする請求項8記載のソフトウェア
の自動生成方法。
10. The predetermined function of the component means includes a function of adjusting a cell configuration on the sheet based on the print data when the print data is output onto the sheet. The method for automatically generating software according to claim 8.
【請求項11】 上記調整する上記シート上のセル構成
は、セルの列幅及び行幅の少なくとも何れかを含むこと
を特徴とする請求項10記載のソフトウェアの自動生成
方法。
11. The automatic software generation method according to claim 10, wherein the cell configuration on the sheet to be adjusted includes at least one of a column width and a row width of the cell.
【請求項12】 上記プログラム生成ステップは、上記
属性定義手段により定義された属性情報に基づいて、同
じ移行元に対するアクセスを一度で行うようにしたプロ
グラムを生成するステップを含むことを特徴とする請求
項9に記載のソフトウェアの自動生成方法。
12. The method according to claim 11, wherein the program generating step includes a step of generating, based on the attribute information defined by the attribute defining means, a program for accessing the same migration source at one time. Item 10. Automatic software generation method according to Item 9.
【請求項13】 上記プログラム生成ステップは、 上記属性定義ステップにより定義された属性情報を抽出
する抽出ステップと、 上記抽出ステップにより抽出された属性情報を解析して
上記プログラムのアルゴリズムを得る解析ステップと、 上記解析ステップによる解析の結果に基づいて、上記プ
ログラムを生成する生成ステップとを含むことを特徴と
する請求項9に記載のソフトウェアの自動生成方法。
13. The program generating step includes: an extracting step of extracting attribute information defined by the attribute defining step; an analyzing step of analyzing the attribute information extracted by the extracting step to obtain an algorithm of the program. 10. The automatic software generation method according to claim 9, further comprising a generation step of generating the program based on a result of the analysis by the analysis step.
【請求項14】 上記データの処理条件の情報には、デ
ータの抽出条件、加工条件、採用条件、及び上記シート
上への出力態様に関する情報のうち少なくとも1つ以上
が含まれることを特徴とする請求項9に記載のソフトウ
ェアの自動生成方法。
14. The data processing condition information includes at least one of data extraction condition, processing condition, adoption condition, and information on an output mode on the sheet. An automatic software generation method according to claim 9.
【請求項15】 所定の表計算ソフトウェアによる(m
行×n列)のセルから構成されるシートを帳票として、
該帳票に対する印字データを作成して出力するための処
理ステップを、コンピュータが読出可能に格納した記憶
媒体であって、 上記処理ステップは、請求項8〜14の何れかに記載の
ソフトウェアの自動生成方法の処理ステップを含むこと
を特徴とする記憶媒体。
15. Using a predetermined spreadsheet software (m
A sheet composed of cells of (row × n columns) is used as a form,
15. A computer-readable storage medium storing processing steps for creating and outputting print data for the form, wherein the processing steps include automatically generating software according to any one of claims 8 to 14. A storage medium comprising the processing steps of the method.
JP11061877A 1999-03-09 1999-03-09 Device and method for automatic generation of software and recording medium Pending JP2000259400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11061877A JP2000259400A (en) 1999-03-09 1999-03-09 Device and method for automatic generation of software and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11061877A JP2000259400A (en) 1999-03-09 1999-03-09 Device and method for automatic generation of software and recording medium

Publications (1)

Publication Number Publication Date
JP2000259400A true JP2000259400A (en) 2000-09-22

Family

ID=13183816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11061877A Pending JP2000259400A (en) 1999-03-09 1999-03-09 Device and method for automatic generation of software and recording medium

Country Status (1)

Country Link
JP (1) JP2000259400A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015129645A1 (en) * 2014-02-27 2015-09-03 石田 祐介 Object selection method, program, and recording medium
US11422833B1 (en) 2017-06-30 2022-08-23 Cognex Corporation System and method for automatic generation of human-machine interface in a vision system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04160635A (en) * 1990-10-25 1992-06-03 Nec Corp Program generation system for slip output
JPH04178735A (en) * 1990-11-13 1992-06-25 Nec Corp State transition table converter
JPH06180646A (en) * 1992-12-11 1994-06-28 Nippon Steel Corp Program construction device
JPH07200278A (en) * 1993-12-28 1995-08-04 Fujitsu Ltd Program system using graphic
JPH0883172A (en) * 1994-09-14 1996-03-26 Toshiba Corp Supporting device for development of software
JPH1139145A (en) * 1997-07-24 1999-02-12 Casio Comput Co Ltd Device to support programming and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04160635A (en) * 1990-10-25 1992-06-03 Nec Corp Program generation system for slip output
JPH04178735A (en) * 1990-11-13 1992-06-25 Nec Corp State transition table converter
JPH06180646A (en) * 1992-12-11 1994-06-28 Nippon Steel Corp Program construction device
JPH07200278A (en) * 1993-12-28 1995-08-04 Fujitsu Ltd Program system using graphic
JPH0883172A (en) * 1994-09-14 1996-03-26 Toshiba Corp Supporting device for development of software
JPH1139145A (en) * 1997-07-24 1999-02-12 Casio Comput Co Ltd Device to support programming and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
居駒 哲夫,他3名著: ""三菱新統合OAシステム"", 三菱電機技報, vol. 第66巻 第7号, CSNH199900170012, 25 July 1992 (1992-07-25), pages 59 - 64, ISSN: 0000781103 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015129645A1 (en) * 2014-02-27 2015-09-03 石田 祐介 Object selection method, program, and recording medium
US11422833B1 (en) 2017-06-30 2022-08-23 Cognex Corporation System and method for automatic generation of human-machine interface in a vision system

Similar Documents

Publication Publication Date Title
US6128633A (en) Method and system for manipulating page-breaks in an electronic document
US8667410B2 (en) Method, system and computer program product for transmitting data from a document application to a data application
US20070268513A1 (en) Method and system for print production conflict visualization
US20070041041A1 (en) Method and computer program product for conversion of an input document data stream with one or more documents into a structured data file, and computer program product as well as method for generation of a rule set for such a method
US20040064786A1 (en) Appparatus and method for creating a workflow for printing and prepressing manufacturing
JPH11154149A (en) Method for displaying structured document
US20020184261A1 (en) Process of inputting and outputting a display table derived from a worksheet and data storage media programmed to perform the same
JP2000011078A (en) Electronic data totalizing method, data graphing method and computer readable recording medium recording program for electronic data totalization and data graphing
US20140136966A1 (en) Method and System for Generating Instructions According to Change of Font Outline
JP2000259400A (en) Device and method for automatic generation of software and recording medium
CN110196697A (en) Information processing equipment, information processing method and storage medium
JP2000231480A (en) Device and method for automatic generation of software, screen generator and recording medium
CN111460767A (en) HMI flow chart generation method and device
CN101350103A (en) Method for implementing medical image multielement packet mark-remaining information
JP3986102B2 (en) Form printing device
JP2770725B2 (en) Conditional cell emphasis / modification method for spreadsheets
JP5063207B2 (en) Color conversion processing apparatus, method, recording medium, and program
JP3997562B2 (en) Electronic sticky note sticking device
JPH10254984A (en) Slip preparing method
Simon et al. Building a Rule-Based Generalisation Service for Geovisualisation of Business Data
CN115757650A (en) Method, device and equipment for marking front-end text entity relationship and storage medium
JPH10207702A (en) Device for preparing software program
JP3014268U (en) CAD device
JPH0233659A (en) Document data processing
JP3004526U (en) Device for creating standard document including figures

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061211

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070116