JP2008059135A - Apparatus, method and program for automatically creating software - Google Patents

Apparatus, method and program for automatically creating software Download PDF

Info

Publication number
JP2008059135A
JP2008059135A JP2006233527A JP2006233527A JP2008059135A JP 2008059135 A JP2008059135 A JP 2008059135A JP 2006233527 A JP2006233527 A JP 2006233527A JP 2006233527 A JP2006233527 A JP 2006233527A JP 2008059135 A JP2008059135 A JP 2008059135A
Authority
JP
Japan
Prior art keywords
software
keyword
description line
specification definition
line
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
JP2006233527A
Other languages
Japanese (ja)
Inventor
Mitsunobu Nezu
光伸 根津
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.)
Biglobe Inc
Original Assignee
NEC Biglobe Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Biglobe Ltd filed Critical NEC Biglobe Ltd
Priority to JP2006233527A priority Critical patent/JP2008059135A/en
Publication of JP2008059135A publication Critical patent/JP2008059135A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically create software based on a variety of required specification information such as a screen transition table, a state transition table, a data definition table, a data correspondence table and an input/output table. <P>SOLUTION: An apparatus 1 for automatically creating software includes a specification definition means 12 for creating specification definition tables 16-1 to 16-4 in the form of decision tables on the basis of the required specification information, and a software creation means 13 for automatically creating generation software 18 on the basis of the specification definition tables 16-1 to 16-4 and software information 17. Each of the specification definition tables 16-1 to 16-4 has a column for defining and describing the content written in each line on the table. The software creation means 13 interprets the columns and creates the software. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はソフトウェアの自動生成装置とソフトウェア自動生成方法、およびプログラムに関し、特に業務システム等のシステムの仕様を表形式で定義した仕様定義表に基づきシステムのソフトウェアを自動生成するソフトウェア自動生成装置とソフトウェア自動生成方法、およびプログラムに関する。   The present invention relates to an automatic software generation apparatus, software automatic generation method, and program, and in particular, an automatic software generation apparatus and software that automatically generate system software based on a specification definition table that defines system specifications such as business systems in a tabular format. The present invention relates to an automatic generation method and a program.

従来のソフトウェアの自動生成装置の一例が、特許文献1に記載されている。この従来のソフトウェアの自動生成装置は、仕様情報定義部と、定義情報抽出部と、定義情報解析部と、プログラム生成部と、プログラム生成情報とから構成されている。   An example of a conventional automatic software generation apparatus is described in Patent Document 1. This conventional automatic software generation apparatus is composed of a specification information definition unit, a definition information extraction unit, a definition information analysis unit, a program generation unit, and program generation information.

このような構成を有する従来のソフトウェアの自動生成装置はつぎのように動作する。すなわち、仕様情報としてデータ処理で使用する計算式、データの抽出元、計算結果の移行先、データ処理条件の定義を読み込み、データ処理を行うソフトウェアを生成する。   The conventional automatic software generation apparatus having such a configuration operates as follows. That is, the calculation formula used in the data processing, the data extraction source, the destination of the calculation result, and the definition of the data processing condition are read as the specification information, and software for performing the data processing is generated.

特開2000−231478号公報(第1ページ)JP 2000-231478 A (first page)

しかし、上記従来の表形式からのソフトウェア自動生成装置では、業務システムを構築する上で必要となる、画面遷移表、状態遷移表、データ定義表、データ対応表、入出力表といった要求仕様情報を、そのままに近い形で入力することができないという問題点がある。その理由は、従来のソフトウェア自動生成装置が、特定の固定形式の表からのソフトウェア生成しかできず、表の形式自体を定義する欄(行や列)を提供しておらず、また前記定義する欄の記述を解釈する手段を備えていないためである。   However, in the above conventional automatic software generation device from the table format, required specification information such as a screen transition table, a state transition table, a data definition table, a data correspondence table, and an input / output table necessary for building a business system is stored. , There is a problem that it is not possible to input as it is. The reason is that a conventional automatic software generation device can only generate software from a table in a specific fixed format, does not provide a column (row or column) for defining the table format itself, and is defined above. This is because there is no means for interpreting the description in the column.

本発明の目的は、上記問題点を解決したソフトウェア自動生成装置と方法、およびプログラムを提供することにある。   An object of the present invention is to provide an automatic software generation apparatus and method, and a program that solve the above-described problems.

本発明の第1のソフトウェア自動生成装置は、システムの仕様を表形式で定義し、表の列毎に当該列の記載内容を定義し記述する記述行を有する仕様定義表を作成する仕様定義手段と、前記仕様定義表の前記記述行の内容に基づいてソフトウェアを生成するソフトウェア生成手段とを備える。   A first software automatic generation apparatus according to the present invention defines a specification of a system in a table format, and defines a specification definition table for defining a description content of the column for each column of the table and creating a specification definition table having a description row for the description. And software generation means for generating software based on the contents of the description line of the specification definition table.

本発明の第2のソフトウェア自動生成装置は、前記第1のソフトウェア自動生成装置であって、前記仕様定義表を、前記システムの状態と前記システムに発生したイベントとの組合せに応じた決定表形式とし、かつ前記仕様定義表に記述される複数の処理内容を、前記組合せによる条件判定処理と、条件ごとに実施の可否、およびそのパラメータを指定した条件対応の処理とし、前記ソフトウェア生成手段が、前記記述行の内容により、前記仕様定義表に記述される前記条件判定処理と前記条件対応の処理とを解釈しソフトウェアを生成する処理とを有する。   The second software automatic generation device according to the present invention is the first software automatic generation device, wherein the specification definition table is a decision table format corresponding to a combination of a state of the system and an event generated in the system. And a plurality of processing contents described in the specification definition table, a condition determination process based on the combination, a process corresponding to a condition designating whether or not each condition can be executed, and a parameter thereof, and the software generation unit includes: A process for generating software by interpreting the condition determination process described in the specification definition table and the process corresponding to the condition according to the contents of the description line.

本発明の第3のソフトウェア自動生成装置は、前記第2のソフトウェア自動生成装置であって、前記仕様定義表には、それぞれが同じ種類の処理命令に対応した複数の処理内容記述列と、前記各列の各行の種別を表すキーワードが記述された行種別記述列とを含み、前記行の種別は、処理内容を示すキーワードが記述された処理内容記述行と、変数名や他のソフトウェア呼出しをする際のパラメータが記述された共通パラメータ記述行と、前記処理内容を実行するかどうかの区別と実行する場合のパラメータが記述された実行パラメータ記述行とを含み、前記ソフトウェア生成手段が、前記処理内容記述行、前記共通パラメータ記述行、前記実行パラメータ記述行の区別を前記行種別記述列のキーワードにより行う手段を有する。   The third software automatic generation device of the present invention is the second software automatic generation device, wherein the specification definition table includes a plurality of processing content description strings each corresponding to a processing instruction of the same type, A row type description column in which a keyword indicating the type of each row in each column is described. The type of row includes a processing content description line in which a keyword indicating processing content is described, a variable name, and other software calls. A common parameter description line in which parameters for execution are described, and an execution parameter description line in which a parameter for execution is described and whether or not to execute the processing contents is described, and the software generation means includes the process Means for distinguishing a content description line, the common parameter description line, and the execution parameter description line by a keyword of the line type description column.

本発明の第4のソフトウェア自動生成装置は、前記第3のソフトウェア自動生成装置であって、前記処理内容を表すキーワードは、条件分岐を表す第1のキーワードと、変数への代入を表す第2のキーワードと、端末やデータベースへの入出力を行う標準関数の呼び出しを表す第3のキーワードとを含み、前記ソフトウェア生成手段が、前記第1のキーワードが処理内容記述行に記述されている場合にはその列の共通パラメータの値が実行パラメータの示す値や範囲であることを条件とする条件分岐命令を生成する手段と、前記第2のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値を共通パラメータ記述行で指定された変数に代入する命令を生成する手段と、前記第3のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値と共通パラメータの値をパラメータとして前記キーワードに対応する標準関数を呼び出す手段とを有する。   A fourth software automatic generation device according to the present invention is the third software automatic generation device, wherein the keyword representing the processing content is a first keyword representing a conditional branch and a second representing substitution to a variable. And a third keyword representing a call to a standard function that performs input / output to a terminal or a database, and the software generation means describes that the first keyword is described in a processing content description line Means for generating a conditional branch instruction on condition that the value of the common parameter in the column is the value or range indicated by the execution parameter, and when the second keyword is described in the processing content description line Means for generating an instruction for assigning the value of the execution parameter of the column to a variable designated in the common parameter description line; and the third keyword is described in the process content description line. Is the case have a means to call a standard function that corresponds to the keyword values of the common parameters of the execution parameters of the column as a parameter.

本発明の第5のソフトウェア自動生成装置は、前記第3、または第4のソフトウェア自動生成装置であって、前記仕様定義表において、前記処理内容記述行は、前記キーワードまたは他の仕様定義表に基づき生成されたソフトウェア識別情報が記述され、前記ソフトウェア生成手段は、前記仕様定義表の処理内容記述行の記述が前記キーワードでなければ、当該処理内容記述行に他の仕様定義表対応のソフトウェア識別情報が記載されていると判断し、当該ソフトウェア識別情報に対応するソフトウェアを呼び出す処理命令を生成する。   A fifth software automatic generation device according to the present invention is the third or fourth software automatic generation device, wherein in the specification definition table, the processing content description line is in the keyword or another specification definition table. If the software identification information generated based on the description is described and the description of the processing content description line of the specification definition table is not the keyword, the software identification corresponding to another specification definition table is included in the processing content description line. It is determined that the information is described, and a processing instruction for calling the software corresponding to the software identification information is generated.

本発明の第6のソフトウェア自動生成装置は、前記第3、または第4のソフトウェア自動生成装置であって、前記ソフトウェア生成手段は、前記処理内容記述行に条件分岐を表す第1のキーワードを記述した列が連続してい場合に、連続した複数段の条件分岐を生成する手段を有する。   A sixth software automatic generation device according to the present invention is the third or fourth software automatic generation device, wherein the software generation means describes a first keyword representing a conditional branch in the processing content description line. Means for generating a plurality of continuous conditional branches when the sequence is continuous.

本発明の第7のソフトウェア自動生成装置は、前記第4のソフトウェア自動生成装置であって、端末から入力された処理要求に応じて、端末から入力されたデータを既定変数に代入した上で、前記生成するソフトウェアを呼び出す機能を有し、前記既定変数には現在処理中の表の名前を示す“layer”、現在表示中の画面名を示す“sheet”、ユーザが行なった操作の名前を示す“event”を有する標準関数を持つ。   The seventh automatic software generation device according to the present invention is the fourth automatic software generation device, wherein the data input from the terminal is substituted into a predetermined variable in response to a processing request input from the terminal. It has a function to call the generated software, and the default variable indicates “layer” indicating the name of the table currently being processed, “sheet” indicating the name of the currently displayed screen, and the name of the operation performed by the user Has a standard function with "event".

本発明の第1のプログラムは、システムの仕様を表形式で定義し、表の列毎に当該列の記載内容を定義し記述する記述行を有する仕様定義表を作成する仕様定義手順と、前記仕様定義表の前記記述行の内容に基づいてソフトウェアを生成するソフトウェア生成手順とをコンピュータに実行させる。   The first program of the present invention defines a specification of a system in a table format, defines a description content of the column for each column of the table, and creates a specification definition table having a description line to describe the specification definition procedure, A computer is caused to execute a software generation procedure for generating software based on the contents of the description line of the specification definition table.

本発明の第2のプログラムは、前記第1のプログラムであって、前記仕様定義表を、前記システムの状態と前記システムに発生したイベントとの組合せに応じた決定表形式とし、かつ前記仕様定義表に記述される複数の処理内容を、前記組合せによる条件判定処理と、条件ごとに実施の可否、およびそのパラメータを指定した条件対応の処理とし、前記ソフトウェア生成手順が、前記記述行の内容により、前記仕様定義表に記述される前記条件判定処理と前記条件対応の処理とを解釈しソフトウェアを生成する。   The second program of the present invention is the first program, wherein the specification definition table is in a decision table format according to a combination of a state of the system and an event generated in the system, and the specification definition A plurality of processing contents described in the table are a condition determination process based on the combination, a process corresponding to a condition designating whether or not each condition can be executed, and parameters thereof, and the software generation procedure depends on the contents of the description line. And interpreting the condition determination process described in the specification definition table and the process corresponding to the condition to generate software.

本発明の第3のプログラムは、前記第2のプログラムであって、前記仕様定義表には、それぞれが同じ種類の処理命令に対応した複数の処理内容記述列と、前記各列の各行の種別を表すキーワードが記述された行種別記述列とを含み、前記行の種別は、処理内容を示すキーワードが記述された処理内容記述行と、変数名や他のソフトウェア呼出しをする際のパラメータが記述された共通パラメータ記述行と、前記処理内容を実行するかどうかの区別と実行する場合のパラメータが記述された実行パラメータ記述行とを含み、前記ソフトウェア生成手順が、前記処理内容記述行、前記共通パラメータ記述行、前記実行パラメータ記述行の区別を前記行種別記述列のキーワードにより行う。   The third program of the present invention is the second program, wherein the specification definition table includes a plurality of processing content description columns each corresponding to a processing instruction of the same type, and a type of each row in each column. Including a line type description string in which a keyword representing the process is described, and the type of the line is described by a process content description line in which a keyword indicating the process content is described, a variable name, and a parameter for calling another software A common parameter description line, and whether or not to execute the process contents and an execution parameter description line in which parameters for execution are described, and the software generation procedure includes the process content description line and the common The parameter description line and the execution parameter description line are distinguished by a keyword in the line type description column.

本発明の第4のプログラムは、前記第3のプログラムであって、前記処理内容を表すキーワードは、条件分岐を表す第1のキーワードと、変数への代入を表す第2のキーワードと、端末やデータベースへの入出力を行う標準関数の呼び出しを表す第3のキーワードとを含み、前記ソフトウェア生成手順が、前記第1のキーワードが処理内容記述行に記述されている場合にはその列の共通パラメータの値が実行パラメータの示す値や範囲であることを条件とする条件分岐命令を生成する手順と、前記第2のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値を共通パラメータ記述行で指定された変数に代入する命令を生成する手順と、前記第3のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値と共通パラメータの値をパラメータとして前記キーワードに対応する標準関数を呼び出す手順とを含む。   The fourth program of the present invention is the third program, wherein the keyword representing the processing content is a first keyword representing a conditional branch, a second keyword representing assignment to a variable, a terminal, A third keyword representing a call to a standard function that performs input / output to / from the database, and when the software generation procedure is described in the processing content description line, the common parameter of the column The procedure for generating a conditional branch instruction on the condition that the value of the execution parameter is the value or range indicated by the execution parameter, and if the second keyword is described in the processing content description line, the execution parameter of the column A procedure for generating an instruction for assigning a value to a variable specified in a common parameter description line, and, if the third keyword is described in a processing content description line, And a procedure to call a standard function that corresponds to the keyword values of the common parameters and the values of line parameters as parameters.

本発明の第5のプログラムは、前記第3または第4のプログラムであって、前記仕様定義表において、前記処理内容記述行は、前記キーワードまたは他の仕様定義表に基づき生成されたソフトウェア識別情報が記述され、前記ソフトウェア生成手順は、前記仕様定義表の処理内容記述行の記述が前記キーワードでなければ、当該処理内容記述行に他の仕様定義表対応のソフトウェア識別情報が記載されていると判断し、当該ソフトウェア識別情報に対応するソフトウェアを呼び出す処理命令を生成する。   The fifth program of the present invention is the third or fourth program, wherein the processing content description line in the specification definition table is software identification information generated based on the keyword or another specification definition table. If the description of the processing content description line of the specification definition table is not the keyword, software identification information corresponding to another specification definition table is described in the processing content description line. A processing instruction for determining and calling software corresponding to the software identification information is generated.

本発明の第6のプログラムは、前記第3または第4のプログラムであって、前記ソフトウェア生成手順は、前記処理内容記述行に条件分岐を表す第1のキーワードを記述した列が連続している場合に、連続した複数段の条件分岐を生成する手順を有する。   The sixth program of the present invention is the third or fourth program, and in the software generation procedure, a column describing a first keyword representing a conditional branch is continuous in the processing content description line. In some cases, it has a procedure for generating a conditional branch of a plurality of consecutive stages.

本発明の第7のプログラムは、前記第4のプログラムであって、端末から入力された処理要求に応じて、端末から入力されたデータを既定変数に代入した上で、前記生成するソフトウェアを呼び出す手順を有し、前記既定変数には現在処理中の表の名前を示す“layer”、現在表示中の画面名を示す“sheet”、ユーザが行なった操作の名前を示す“event”を有する標準関数を持つ。   The seventh program according to the present invention is the fourth program, wherein the generated software is called after substituting the data input from the terminal into a predetermined variable in response to a processing request input from the terminal. A standard having “layer” indicating the name of the table currently being processed, “sheet” indicating the name of the currently displayed screen, and “event” indicating the name of the operation performed by the user. Has a function.

本発明の第1のソフトウェア自動生成方法は、システムの仕様を表形式で定義し、表の列毎に当該列の記載内容を定義し記述する記述行を有する仕様定義表を作成する仕様定義手順と、前記仕様定義表の前記記述行の内容に基づいてソフトウェアを生成するソフトウェア生成手順と、を含む。   A first software automatic generation method according to the present invention is a specification definition procedure for defining a specification of a system in a table format, defining a description content of the column for each column of the table, and creating a specification definition table having a description line for the description. And a software generation procedure for generating software based on the contents of the description line of the specification definition table.

本発明の第2のソフトウェア自動生成方法は、前記第1のソフトウェア自動生成方法であって、前記仕様定義表を、前記システムの状態と前記システムに発生したイベントとの組合せに応じた決定表形式とし、かつ前記仕様定義表に記述される複数の処理内容を、前記組合せによる条件判定処理と、条件ごとに実施の可否、およびそのパラメータを指定した条件対応の処理とし、前記ソフトウェア生成手順が、前記記述行の内容により、前記仕様定義表に記述される前記条件判定処理と前記条件対応の処理とを解釈しソフトウェアを生成する処理とを含む。   A second software automatic generation method of the present invention is the first software automatic generation method, wherein the specification definition table is a decision table format corresponding to a combination of a state of the system and an event generated in the system. And a plurality of processing contents described in the specification definition table, a condition determination process based on the combination, a process corresponding to a condition that specifies whether or not to execute each condition, and a parameter thereof, and the software generation procedure includes: A process for generating software by interpreting the condition determination process described in the specification definition table and the process corresponding to the condition according to the contents of the description line.

本発明の第3のソフトウェア自動生成方法は、前記第2のソフトウェア自動生成方法であって、前記仕様定義表には、それぞれが同じ種類の処理命令に対応した複数の処理内容記述列と、前記各列の各行の種別を表すキーワードが記述された行種別記述列とを含み、前記行の種別は、処理内容を示すキーワードが記述された処理内容記述行と、変数名や他のソフトウェア呼出しをする際のパラメータが記述された共通パラメータ記述行と、前記処理内容を実行するかどうかの区別と実行する場合のパラメータが記述された実行パラメータ記述行とを含み、前記ソフトウェア生成手順が、前記処理内容記述行、前記共通パラメータ記述行、前記実行パラメータ記述行の区別を前記行種別記述列のキーワードにより行う処理を含む。   The third software automatic generation method of the present invention is the second software automatic generation method, wherein the specification definition table includes a plurality of processing content description strings each corresponding to a processing instruction of the same type, A row type description column in which a keyword indicating the type of each row in each column is described. The type of row includes a processing content description line in which a keyword indicating processing content is described, a variable name, and other software calls. Including a common parameter description line in which parameters for execution are described, and an execution parameter description line in which parameters for execution are described and whether or not to execute the processing contents, and the software generation procedure includes the process This includes processing for distinguishing a content description line, the common parameter description line, and the execution parameter description line by using a keyword in the line type description column.

本発明の第4のソフトウェア自動生成方法は、前記第3のソフトウェア自動生成方法であって、前記処理内容を表すキーワードは、条件分岐を表す第1のキーワードと、変数への代入を表す第2のキーワードと、端末やデータベースへの入出力を行う標準関数の呼び出しを表す第3のキーワードとを含み、前記ソフトウェア生成手順が、前記第1のキーワードが処理内容記述行に記述されている場合にはその列の共通パラメータの値が実行パラメータの示す値や範囲であることを条件とする条件分岐命令を生成する処理と、前記第2のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値を共通パラメータ記述行で指定された変数に代入する命令を生成する処理と、前記第3のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値と共通パラメータの値をパラメータとして前記キーワードに対応する標準関数を呼び出す処理とを含む。   The fourth software automatic generation method of the present invention is the third software automatic generation method, wherein the keyword representing the processing content is a first keyword representing a conditional branch and a second representing a substitution to a variable. And a third keyword that represents a call to a standard function that performs input / output to a terminal or a database, and the software generation procedure includes a case where the first keyword is described in a processing content description line Is a process for generating a conditional branch instruction on the condition that the value of the common parameter in the column is the value or range indicated by the execution parameter, and when the second keyword is described in the process description line A process of generating an instruction for assigning the value of the execution parameter of the column to a variable specified in the common parameter description line; and the third keyword is described in the process content description line. If it is includes a process of calling a standard function that corresponds to the keyword values of the common parameters and the value of the execution parameters of the column as a parameter.

本発明の第5のソフトウェア自動生成方法は、前記第3、または第4のソフトウェア自動生成方法であって、前記仕様定義表において、前記処理内容記述行は、前記キーワードまたは他の仕様定義表に基づき生成されたソフトウェア識別情報が記述され、前記ソフトウェア生成手順は、前記仕様定義表の処理内容記述行の記述が前記キーワードでなければ、当該処理内容記述行に他の仕様定義表対応のソフトウェア識別情報が記載されていると判断し、当該ソフトウェア識別情報に対応するソフトウェアを呼び出す処理命令を生成する。   The fifth automatic software generation method of the present invention is the third or fourth automatic software generation method, wherein in the specification definition table, the processing content description line is in the keyword or another specification definition table. If the software identification information generated based on the specification is described and the description of the processing content description line of the specification definition table is not the keyword, the software generation procedure is associated with another specification definition table corresponding software identification It is determined that the information is described, and a processing instruction for calling the software corresponding to the software identification information is generated.

本発明の第6のソフトウェア自動生成方法は、前記第3、または第4のソフトウェア自動生成方法であって、前記ソフトウェア生成手順は、前記処理内容記述行に条件分岐を表す第1のキーワードを記述した列が連続している場合に、連続した複数段の条件分岐を生成する手順を有する。   The sixth software automatic generation method of the present invention is the third or fourth software automatic generation method, wherein the software generation procedure describes a first keyword representing a conditional branch in the processing content description line. In the case where the trained columns are continuous, there is a procedure for generating a plurality of continuous conditional branches.

本発明の第7のソフトウェア自動生成方法は、前記第4のソフトウェア自動生成方法であって、端末から入力された処理要求に応じて、端末から入力されたデータを既定変数に代入した上で、前記生成するソフトウェアを呼び出す手順を有し、前記既定変数には現在処理中の表の名前を示す“layer”、現在表示中の画面名を示す“sheet”、ユーザが行なった操作の名前を示す“event”を有する標準関数を持つ。   The seventh software automatic generation method of the present invention is the fourth software automatic generation method, wherein the data input from the terminal is substituted into a predetermined variable in response to the processing request input from the terminal. A procedure for calling the software to be generated, and the default variable indicates “layer” indicating the name of the table currently being processed, “sheet” indicating the name of the currently displayed screen, and the name of the operation performed by the user Has a standard function with "event".

本発明によれば、仕様定義表に、表の形式自体を定義する欄(行や列)を含み、また前記定義する欄の記述を解釈しプログラムを生成する手段を備えているので、業務要件情報の各種表に近い形式の仕様定義表を作成するだけで、その仕様定義表に従った画面入出力およびデータ処理を実現するためのプログラムを自動的に生成できる。   According to the present invention, the specification definition table includes columns (rows and columns) that define the table format itself, and includes means for interpreting the description of the columns to be defined and generating a program. By creating a specification definition table in a format close to various information tables, a program for realizing screen input / output and data processing according to the specification definition table can be automatically generated.

次に、発明を実施するための最良の形態について図面を参照して詳細に説明する。図1に本発明の実施の形態であるソフトウェア自動生成装置1の構成を示す。また図1には、ソフトウェア自動生成装置1により作成されたソフトウェアを実行する業務システム2も示している。   Next, the best mode for carrying out the invention will be described in detail with reference to the drawings. FIG. 1 shows a configuration of an automatic software generation apparatus 1 according to an embodiment of the present invention. FIG. 1 also shows a business system 2 that executes software created by the automatic software generation apparatus 1.

図1を参照し、本発明のソフトウェア自動生成装置1は、プログラム制御で動作する情報処理装置であり、仕様定義手段12とソフトウェア生成手段13と配信手段14をデータ処理部11に備え、記憶部15にはソフトウェア情報17を保持している。また、記憶部15には複数の仕様定義表16−1〜16−4と、生成ソフトウェア18も格納される。   Referring to FIG. 1, an automatic software generation apparatus 1 according to the present invention is an information processing apparatus that operates under program control, and includes a specification definition unit 12, a software generation unit 13, and a distribution unit 14 in a data processing unit 11, and a storage unit 15 holds software information 17. The storage unit 15 also stores a plurality of specification definition tables 16-1 to 16-4 and generated software 18.

ここで、データ処理部11は、ハードウェアとしては、図示してないがCPUと主メモリとキーボード等の入力デバイスと表示装置を備えている。また、記憶部15は磁気ディスク装置等の不揮発性の補助記憶装置でありファイルを記憶する。   The data processing unit 11 includes a CPU, a main memory, an input device such as a keyboard, and a display device (not shown) as hardware. The storage unit 15 is a non-volatile auxiliary storage device such as a magnetic disk device and stores files.

仕様定義手段12は表作成ソフトウェア、或いは表計算ソフトウェアであり、仕様定義表16−1〜16−4を作成する。仕様定義表16−1〜16−4の各表は、図2に示すように処理内容記述行111と、共通パラメータ記述行112と、実行パラメータ記述行113と、行種別記述列114と、処理内容記述列115を含む。尚、実行パラメータ記述領域における破線は、ブロックが個々の升目が結合されたものであることを示している。   The specification definition means 12 is a table creation software or a spreadsheet software, and creates specification definition tables 16-1 to 16-4. As shown in FIG. 2, each of the specification definition tables 16-1 to 16-4 includes a processing content description line 111, a common parameter description line 112, an execution parameter description line 113, a line type description column 114, a process A content description column 115 is included. A broken line in the execution parameter description area indicates that the block is a combination of individual cells.

ソフトウェア生成手段13は、仕様定義表16−1を読み込み、表の升目を順に走査しながら対応するソフトウェアを生成し、以降同様にして仕様定義表16−4まで対応するソフトウェアを生成しこれらと、標準関数を含む定義済みソフトウェアであるソフトウェア情報17を結合し、生成ソフトウェア18とし記憶部15に格納する。   The software generation unit 13 reads the specification definition table 16-1, generates corresponding software while sequentially scanning the cells of the table, generates software corresponding to the specification definition table 16-4 in the same manner, and The software information 17 that is predefined software including the standard function is combined, and the generated software 18 is stored in the storage unit 15.

配信手段14は、生成ソフトウェア18をLAN等のネットワーク100を通じ、ソフトウェア実行装置21に配信する。   The distribution unit 14 distributes the generated software 18 to the software execution device 21 through the network 100 such as a LAN.

ソフトウェア実行装置21は、サーバ等の情報処理装置であり、配信されたソフトウェアの制御により、パーソナルコンピュータ等の端末23に、データベース22の参照や更新に関するサービスを提供する。サービスはネットワーク101を通じて行う。   The software execution device 21 is an information processing device such as a server, and provides services related to reference and update of the database 22 to a terminal 23 such as a personal computer under the control of distributed software. Service is performed through the network 101.

次に、仕様定義表16−1〜16−4、生成ソフトウェア18の詳細や、ソフトウェア自動生成装置1の各手段の概略動作を説明する。仕様定義表16−1〜16−4のそれぞれは、業務システム2の仕様を定義した表形式の文書データであり、図2に示す様に、処理内容記述行111と共通パラメータ記述行112と実行パラメータ記述行113の3種類の行に分かれ、この順に配列される。   Next, the details of the specification definition tables 16-1 to 16-4 and the generation software 18 and the schematic operation of each means of the software automatic generation apparatus 1 will be described. Each of the specification definition tables 16-1 to 16-4 is tabular document data that defines the specifications of the business system 2. As shown in FIG. 2, the processing content description line 111, the common parameter description line 112, and the execution are executed. The parameter description line 113 is divided into three types of lines and arranged in this order.

また横方向には行種別記述列114と、処理内容記述列115の2種類の列に分かれ、この順に配列される。   In the horizontal direction, the row type description column 114 and the processing content description column 115 are divided into two types of columns, which are arranged in this order.

行種別記述列114には、仕様定義手段12により行の種別を識別するためのキーワードが自動記述される。即ち、処理内容記述行111であることを示す”action”、共通パラメータ記述行112であることを示す”common”、実行パラメータ記述行113であることを示す”pattern”が記述される。   In the line type description column 114, a keyword for identifying the line type is automatically described by the specification defining means 12. That is, “action” indicating the processing content description line 111, “common” indicating the common parameter description line 112, and “pattern” indicating the execution parameter description line 113 are described.

仕様定義手段12は、指示入力に従い、処理内容記述列115に次に示す内容を記述する。処理内容記述行111には、処理内容を示すキーワード、あるいは他の仕様定義表16−2〜16−4の何れかに対応したソフトウェア(モジュール)の名前を記述する。   The specification defining unit 12 describes the following contents in the processing content description column 115 in accordance with the instruction input. The processing content description line 111 describes a keyword indicating the processing content or the name of software (module) corresponding to any of the other specification definition tables 16-2 to 16-4.

共通パラメータ記述行112には各処理の必要に応じてパラメータを記述する。図2の例では、変数名をパラメータとして取る処理”case”、“set”に対して、パラメータとして変数名である”layer”、”sheet”、”event”、”var1”を記述し、文字列をパラメータとしてとる処理“VCMAP”、“C”に対して、パラメータとして文字列“HHHH”、“EEEE”を記述している。   In the common parameter description line 112, parameters are described as necessary for each process. In the example of FIG. 2, “layer”, “sheet”, “event”, and “var1” that are variable names are described as parameters for the processes “case” and “set” that take the variable names as parameters. For processes “VCMAP” and “C” that take a column as a parameter, character strings “HHHH” and “EEEE” are described as parameters.

一部の変数はシステムが自動的に値を代入するものもあり、例えば“layer”には現在処理中の表の名前、“sheet”には現在表示中の画面名、“event”にはユーザが行った操作の名前、などが自動的に代入される。   Some variables are automatically assigned values by the system. For example, “layer” is the name of the table currently being processed, “sheet” is the name of the currently displayed screen, and “event” is the user name. The name of the operation performed by is automatically substituted.

実行パラメータ記述行113に記述する内容は、その同じ列の処理内容記述行111の内容によって次のように意味が変わる。   The meaning of the contents described in the execution parameter description line 113 changes as follows depending on the contents of the processing contents description line 111 in the same column.

実行パラメータ記述行113に条件分岐を示すキーワード“case”が記入されている場合には、その行が実行されるかどうかを決める条件値を記述する。実行パラメータ記述行113にキーワード“case”以外が記入されている場合には、キーワードに示された処理内容を実行するかどうかの区別、および実行する場合のパラメータを記述する。   When the keyword “case” indicating a conditional branch is entered in the execution parameter description line 113, a condition value that determines whether or not the line is executed is described. When a keyword other than the keyword “case” is entered in the execution parameter description line 113, whether or not to execute the processing content indicated by the keyword and the parameters for execution are described.

ソフトウェア生成手段13は、仕様定義表16−1を読み込み、表の升目を順に走査しながら生成ソフトウェア18を生成する。生成にあたってはまず行種別記述列114の内容(キーワード)から、処理内容記述行111と、共通パラメータ記述行112と、実行パラメータ記述行113を識別する。   The software generation unit 13 reads the specification definition table 16-1 and generates the generation software 18 while scanning the cells in the table in order. In the generation, first, the processing content description line 111, the common parameter description line 112, and the execution parameter description line 113 are identified from the contents (keywords) of the line type description column 114.

ソフトウェア生成手段13は、次に実行パラメータ記述行113の処理内容記述列115内の全ての升目を走査しながら生成ソフトウェア18に処理命令を追加していく。走査は実行パラメータ領域の左上端の升目である走査開始位置116から開始し、左から右へ、また右端に達した後は、実行パラメータ領域の次の行の左端という順で行い、実行パラメータ記述行113の下端まで行う。   Next, the software generation unit 13 adds processing instructions to the generation software 18 while scanning all the cells in the processing content description column 115 of the execution parameter description row 113. Scanning starts from the scanning start position 116, which is the upper left corner of the execution parameter area. From the left to the right, and after reaching the right end, the scanning is performed in the order of the left end of the next line in the execution parameter area. Continue to the bottom of line 113.

このとき空欄の升目については、その升目がパラメータ値を持つ升目に結合された升目でなくパラメータ値がヌルの升目(例えば升目117)であれば無視して次の升目に進む。それぞれの升目で追加する処理命令は、その升目と同じ列の処理内容記述行111の内容によって決定する。処理内容記述行111の内容が条件分岐を示すキーワード“case”である場合には処理命令として条件分岐を示す制御構造を追加する。例えばC言語の場合には“if”文を追加する。このとき上の行の制御構造が継続している場合があるため適切に条件分岐の制御構造を完結させる。   At this time, a blank cell is ignored if it is not a cell combined with a cell having a parameter value and the parameter value is a null cell (for example, cell 117), and proceeds to the next cell. The processing instruction added in each cell is determined by the content of the processing content description line 111 in the same column as that cell. When the content of the processing content description line 111 is a keyword “case” indicating a conditional branch, a control structure indicating a conditional branch is added as a processing instruction. For example, in the case of C language, an “if” sentence is added. At this time, the control structure in the upper row may be continued, so that the conditional branch control structure is appropriately completed.

処理内容記述行111の内容があらかじめ定義された処理命令を示すキーワードである場合には、キーワードに対応する処理命令を生成ソフトウェア18に追加する。処理内容記述行111の内容があらかじめ定義されたキーワード対応の処理命令でない場合には、別の仕様定義表より生成されたソフトウェアモジュールの呼び出しを行う関数(calltable)を生成ソフトウェア18に追加する。   If the content of the processing content description line 111 is a keyword indicating a predefined processing command, a processing command corresponding to the keyword is added to the generation software 18. When the content of the processing content description line 111 is not a processing command corresponding to a predefined keyword, a function (callable) for calling a software module generated from another specification definition table is added to the generation software 18.

ソフトウェア生成手段13は、以降、仕様定義表16−2を読み込み、同様にソフトウェアを生成し、生成ソフトウェア18に追加ないし結合する。仕様定義表16−4の分まで処理すると 最後に、生成ソフトウェア18にソフトウェア情報17に含まれるソフトウェアを追加し、ソフトウェアの生成を完了する。   Thereafter, the software generation unit 13 reads the specification definition table 16-2, generates the software in the same manner, and adds to or combines with the generation software 18. After processing up to the specification definition table 16-4, finally, the software included in the software information 17 is added to the generation software 18, and the generation of the software is completed.

ソフトウェア情報17は、標準関数等のあらかじめ定義された処理を実行するためのソフトウェアを含み、ソフトウェア自動生成装置の使用者が予め定義した”calltable”等の関数も含む。   The software information 17 includes software for executing a predefined process such as a standard function, and also includes a function such as “calltable” defined in advance by a user of the software automatic generation apparatus.

生成ソフトウェア18は、ソフトウェア生成手段13が生成したソフトウェアであり、ダウンロード要求を受け、配信手段14がソフトウェア実行装置21に配信することでシステムとして動作する。   The generated software 18 is software generated by the software generating unit 13, and operates as a system when receiving a download request and distributing the distribution unit 14 to the software execution device 21.

次に、具体的な実施例を用いて本発明を実施するための最良の形態の動作を説明する。
先ず、作成される仕様定義表の内容を図2に示す内容とする第1の実施例について説明する。図3はソフトウェア生成手段13の動作を示すフローチャートである。
Next, the operation of the best mode for carrying out the present invention will be described using specific examples.
First, a description will be given of a first embodiment in which the content of the created specification definition table is as shown in FIG. FIG. 3 is a flowchart showing the operation of the software generation means 13.

仕様定義手段12を用いて、仕様情報の画面遷移表が入力され、図2の仕様定義表16−1が作成される。ここで、図2の仕様定義表16−1の第1列は、処理中の表がV(画面処理)であることを前提とするものである。次に他の仕様定義表も同様に作成される。   The specification definition means 12 is used to input the screen transition table of the specification information, and the specification definition table 16-1 of FIG. 2 is created. Here, the first column of the specification definition table 16-1 in FIG. 2 is based on the premise that the table being processed is V (screen processing). Next, other specification definition tables are created in the same manner.

ここで、仕様定義表16−1〜16−4の各ファイルは、表サイズ(行識別最大値と列識別最大値)と、各升目の位置(行識別と列識別)に対応して升目の内容が有効な値(文字列等)か、ヌルに設定されている。また升目の結合に関する情報(ブロックを構成する複数の升目の位置か識別)も設定されている。   Here, each file of the specification definition tables 16-1 to 16-4 corresponds to a table size (row identification maximum value and column identification maximum value) and a grid position (row identification and column identification). The content is set to a valid value (such as a character string) or null. In addition, information related to the combination of the cells (identification of the positions of a plurality of cells constituting the block) is also set.

以下図3に沿って第1の実施例の動作を詳細に説明する。ソフトウェア生成手段13は開始すると、まず初期化処理として、仕様定義表16−1〜16−4の各ファイルを読み出し可能な状態とし、また生成ソフトウェア18用の領域を初期化して書き込み可能な状態とする(ステップ201)。   The operation of the first embodiment will be described in detail below with reference to FIG. When the software generation means 13 is started, first, as initialization processing, each file in the specification definition tables 16-1 to 16-4 is made readable, and the area for the generated software 18 is initialized and writable. (Step 201).

次に変数「現在の升目」に、走査開始位置116を示す値をセットする(ステップ202)。次に生成ソフトウェア18に処理開始の処理命令を書き込む。例えばC言語を生成する場合は関数の定義宣言などである(ステップ203)。   Next, a value indicating the scanning start position 116 is set in the variable “current grid” (step 202). Next, a processing instruction for starting processing is written in the generation software 18. For example, in the case of generating C language, it is a function definition declaration or the like (step 203).

次に前行までの条件分岐の制御構造の段数を示す変数「最終分岐レベル」に0をセットする(ステップ204)。次に実行パラメータ記述行113に含まれる全ての行についての走査を行うため、変数「現在の升目」を1行ずつ下に移動させながら、ステップ221までの処理を繰り返す(ステップ205)。   Next, 0 is set to the variable “final branch level” indicating the number of stages of the control structure of the conditional branch up to the previous line (step 204). Next, in order to scan all the lines included in the execution parameter description line 113, the process up to step 221 is repeated while moving the variable “current grid” downward line by line (step 205).

次にその行での条件分岐の制御構造の段数を示す変数「分岐レベル」に0をセットする(ステップ206)。次に処理内容記述列115に含まれる全ての列についての走査を行うため、変数「現在の升目」を1列ずつ右に移動させながら、ステップ220までの処理を繰り返す。繰り返しの終わりでは変数「現在の升目」の列位置は元の位置に戻す(ステップ207)。   Next, 0 is set to the variable “branch level” indicating the number of stages of the control structure of the conditional branch in the row (step 206). Next, in order to scan all the columns included in the processing content description column 115, the processing up to step 220 is repeated while moving the variable “current grid” to the right by one column. At the end of the repetition, the column position of the variable “current cell” is returned to the original position (step 207).

次に「現在の升目」が指し示す升目の内容を参照し、升目が空欄(升目の値がヌル)であればステップ216に移る(ステップ208)。   Next, the contents of the cell pointed by “current cell” are referred to. If the cell is blank (the cell value is null), the process proceeds to step 216 (step 208).

次に処理内容での分岐を行う。そのため「現在の升目」と同じ列の処理内容記述行111に書かれた処理内容を参照し、以降のそれぞれの場合に分岐する。   Next, the processing contents are branched. Therefore, the processing content written in the processing content description line 111 in the same column as the “current cell” is referred to, and the process branches in each of the following cases.

参照したキーワードが文字列”case”であれば(ステップ209)、生成ソフトウェア18に対して書き込み途中となっている条件分岐の制御構造を完結させるため、(最終分岐レベル−分岐レベル)の回数だけ、分岐終了の処理命令を生成ソフトウェア18に書き込む。分岐終了の処理命令は例えばC言語を生成する場合は“return;}”となる(ステップ210)。   If the referred keyword is the character string “case” (step 209), in order to complete the control structure of the conditional branch that is being written to the generation software 18, the number of times is (the final branch level−the branch level). The branch end processing instruction is written in the generation software 18. The branch end processing instruction is, for example, “return;}” when generating C language (step 210).

次に条件分岐の制御構造命令を生成ソフトウェア18に書き込む。このとき「現在の升目」の内容と、「現在の升目」と同じ列の共通パラメータ記述行112の内容を使って判断条件を生成する。例えばC言語を生成する場合は、”if(“+共通パラメータ記述行112の内容+“==”+「現在の升目」の内容+“){”となる(ステップ211)。ここで「+」は文字列の結合を示している。   Next, the control structure instruction for the conditional branch is written into the generation software 18. At this time, the determination condition is generated using the contents of the “current cell” and the content of the common parameter description line 112 in the same column as the “current cell”. For example, when the C language is generated, “if (“ + content of common parameter description line 112 + “==” + content of “current cell” + “) {” is obtained (step 211). Here, “+” indicates a combination of character strings.

次に条件分岐の制御構造の段数を示す変数「分岐レベル」に1を加える(ステップ212)。次に次行以降で条件分岐の制御構造を完結させられるよう、変数「最終分岐レベル」に変数「分岐レベル」の内容を代入する(ステップ213)。   Next, 1 is added to the variable “branch level” indicating the number of stages of the control structure of the conditional branch (step 212). Next, the contents of the variable “branch level” are substituted into the variable “final branch level” so that the control structure of the conditional branch can be completed in the next line and thereafter (step 213).

参照したキーワードが、定義済みのキーワードの一つであれば(ステップ209)、キーワードに対応する処理命令を、生成ソフトウェア18に書き込む(ステップ214)。ここで、定義済みのキーワードとは、ソフトウェア自動生成装置1としてあらかじめ用意してある命令を示す名前であり、キーワードに対応する処理命令があらかじめ決まっている。定義済みキーワードの例としては変数への代入を示す“set”などを用意する。   If the referenced keyword is one of the defined keywords (step 209), a processing instruction corresponding to the keyword is written in the generation software 18 (step 214). Here, the predefined keyword is a name indicating an instruction prepared in advance as the software automatic generation apparatus 1, and a processing instruction corresponding to the keyword is determined in advance. As an example of a predefined keyword, “set” indicating assignment to a variable is prepared.

参照したキーワードが、定義済みのキーワードでなければ(ステップ209)、他の仕様定義表により生成されるモジュールを呼び出す場合であり、他の仕様定義表により生成されるモジュールを呼び出す処理命令を、生成ソフトウェア18に書き込む。   If the referenced keyword is not a defined keyword (step 209), it is a case where a module generated by another specification definition table is called, and a processing instruction for calling a module generated by another specification definition table is generated. Write to software 18.

このとき処理内容記述行111の内容、共通パラメータ記述行112の内容、および「現在の升目」の内容を、呼び出し先に伝えることができるように処理命令を生成する。例えばC言語を生成する場合は、”calltable(“+処理内容記述行111の内容+“,”+共通パラメータ記述行112の内容+“,”+「現在の升目」の内容+“);”となる(ステップ215)。   At this time, a processing instruction is generated so that the content of the processing content description line 111, the content of the common parameter description line 112, and the content of “current grid” can be transmitted to the call destination. For example, when generating the C language, “calltable (“ + contents of the processing content description line 111 + “,” + contents of the common parameter description line 112 + “,” + contents of “current cell” + “);” (Step 215).

ステップ208で升目が空欄であった場合には、その升目が前の行の升目に結合されていれば(ステップ216)、「現在の升目」と同じ列の処理内容記述行111に書かれた処理内容を参照し、キーワードが文字列”case”であれば(ステップ217)、条件分岐の制御構造の段数を示す変数「分岐レベル」に1を加える(ステップ218)。   If the cell is blank in step 208, if the cell is combined with the cell in the previous row (step 216), the cell is written in the processing content description line 111 in the same column as the “current cell”. With reference to the processing content, if the keyword is the character string “case” (step 217), 1 is added to the variable “branch level” indicating the number of stages in the control structure of the conditional branch (step 218).

ステップ217で、前記処理内容記述が”case”でなければ、実行パラメータ値を、結合元升目の実行パラメータ値とし、ステップ209に進む(ステップ219)。ステップ216で、その升目が結合された升目でなければ、なにもせず(無視して)次の升目に進む。   If the processing content description is not “case” in step 217, the execution parameter value is set as the execution parameter value of the binding source cell, and the process proceeds to step 209 (step 219). In step 216, if the cell is not a combined cell, do nothing (ignore) and proceed to the next cell.

「現在の升目」が処理中の行の最後の列でなければ、ステップ207に進み、最後の列であれば、ステップ221に進む(ステップ220)。「現在の升目」が最後の行でなければ、ステップ205に進み、最後の行であれば、ステップ222に進む(ステップ221)。   If the “current grid” is not the last column of the row being processed, the process proceeds to step 207, and if it is the last column, the process proceeds to step 221 (step 220). If the “current grid” is not the last line, the process proceeds to step 205, and if it is the last line, the process proceeds to step 222 (step 221).

次に生成ソフトウェア18に対して書き込み途中となっている条件分岐の制御構造を完結させるため、(最終分岐レベル−分岐レベル)の回数だけ、分岐終了の処理命令を生成ソフトウェア18に書き込む(ステップ222)。   Next, in order to complete the control structure of the conditional branch that is being written to the generation software 18, a branch end processing instruction is written in the generation software 18 as many times as (final branch level−branch level) (step 222). ).

次に生成ソフトウェア18に対して処理終了の処理命令を書き込む(ステップ223)。全ての仕様定義表を処理済みでなければ(ステップ224)、ステップ202に進み次の仕様定義表16−2を処理し、全ての仕様定義表を処理すると(ステップ224)、後処理に進む。後処理として、生成ソフトウェア18をソフトウェア実行装置21が読み込めるようにするための処理を行う。例えば生成ソフトウェア18にソフトウェア情報17に含まれる標準関数のソフトウェアを追加する等を行う(ステップ225)。   Next, a processing instruction for finishing the processing is written in the generation software 18 (step 223). If all the specification definition tables have not been processed (step 224), the process proceeds to step 202, the next specification definition table 16-2 is processed, and if all the specification definition tables are processed (step 224), the process proceeds to post-processing. As post-processing, processing for enabling the software execution device 21 to read the generated software 18 is performed. For example, standard function software included in the software information 17 is added to the generated software 18 (step 225).

以上により、本発明の第1の実施例の動作が終了する。   This completes the operation of the first embodiment of the present invention.

この実施例の様に、画面遷移表に近い形の仕様定義表を作成すると、業務システム用のソフトウェアが生成されることになる。   When a specification definition table having a form close to a screen transition table is created as in this embodiment, software for a business system is generated.

次に本発明の第2の実施例について説明する。仕様情報として、状態遷移表とデータ対応表が作成されており、これらより仕様定義表を作成し、それに対応したプログラムを生成する例を説明する。   Next, a second embodiment of the present invention will be described. As the specification information, a state transition table and a data correspondence table are created. An example of creating a specification definition table from these and generating a program corresponding to the specification definition table will be described.

先ず状態遷移表は「初期」状態でアクセス要求(REQ)を受信するとユーザ属性取得を行い「取得画面」状態に、この状態で応答(REPLY)を受信すると、取得されたユーザ属性(性別と年齢層)に応じた商品情報群の提供を行い「提供画面」状態に、購入要求(PUR−REQ)を受信すると、申込画面を送信し「申込画面」状態にそれぞれ遷移することが記述されている。   First, when the state transition table receives the access request (REQ) in the “initial” state, the user attribute is acquired, and when the response (REPLY) is received in the “acquire screen” state, the acquired user attribute (gender and age) is acquired. It is described that the product information group corresponding to the layer is provided and the purchase screen (PUR-REQ) is received in the “provision screen” state, and the application screen is transmitted and transitions to the “application screen” state. .

ここで商品情報群を提供する前に、ユーザの性別と年令層に応じ前記群(グループ)番号を決める必要があり、データ対応表がユーザ属性(性別と年令層)データと「提供商品情報群のグループ指定情報」データの対応を示している。   Before providing the product information group here, it is necessary to determine the group (group) number according to the gender and age group of the user, the data correspondence table is the user attribute (gender and age group) data and "provided product The correspondence of “group designation information of information group” data is shown.

図6に、上記状態遷移表をほぼそのままの形で入力し仕様定義手段12により作成された仕様定義表を示す。第1列には、処理内容記述を”case”とし、共通パラメータをlayer(処理中の表)とし、実行パラメータには”S”(上位の状態遷移管理層)を記述する。   FIG. 6 shows a specification definition table created by the specification definition means 12 by inputting the state transition table as it is. In the first column, the processing content description is “case”, the common parameter is “layer” (table being processed), and the execution parameter is “S” (higher state transition management layer).

第2列には、処理内容記述を”case”とし、共通パラメータをsheetとし、実行パラメータの各行に状態遷移表の各状態値を設定する。第3列には、処理内容記述を”case”とし、共通パラメータを”event”とし、実行パラメータの各行に状態遷移表の各遷移条件を設定する。第8列には、処理内容記述を”chsheet”(画面を更新し表示する標準関数名)とし、共通パラメータをsheet(画面区分の変数)とし、実行パラメータの各行に、遷移する状態値(新状態値)を設定する。ここで状態値はテキスト値としているが、これは番号でもよい。   In the second column, the processing content description is “case”, the common parameter is “sheet”, and each state value of the state transition table is set in each row of the execution parameter. In the third column, the processing content description is “case”, the common parameter is “event”, and each transition condition of the state transition table is set in each row of the execution parameter. In the eighth column, the processing content description is “chsheet” (standard function name to update and display the screen), the common parameter is “sheet” (screen section variable), and the state value (new) that transitions to each line of the execution parameter Set the status value. Here, the state value is a text value, but this may be a number.

図6の実行パラメータの1行目は、最初のアクセス要求で取得画面を表示する(chsheet関数に所得画面表示を指示)。取得画面には、「性別入力値」、「年齢入力値」の2つの入力欄と、「応答」ボタンがある。「応答」ボタンを押すときに入力欄に記入されていた文字列はそれぞれ「性別入力値」、「年齢入力値」にシステムが自動的に入れる。   The first line of the execution parameter in FIG. 6 displays the acquisition screen with the first access request (instructing the chsheet function to display the income screen). The acquisition screen includes two input fields for “sex input value” and “age input value” and a “response” button. The character strings entered in the input field when the “response” button is pressed are automatically entered in the “sex input value” and “age input value”, respectively.

図6の実行パラメータの2行目は応答受信を契機としそれらの入力値を、sex、ageのそれぞれの変数にコピーする。KETTEI表を呼び出す。(システムは表名”KETTEI”を変数layerにセットし、全ての表を走査しなおすことで結果的にKETTEI表を呼び出す。)
図8のKETTEI表にしたがいsex,ageからgrpを決定しsetする。図6の”S”の表に戻り、grpを変数「商品表示値」にsetする。次に「提供画面」を表示する(chsheet関数に指示する)。変数「商品表示値」の値は「提供画面」を表示する際に自動的に商品表示欄に表示される。
The second line of the execution parameter in FIG. 6 copies the input values to the variables of sex and age when receiving a response. Call the KETTEI table. (The system sets the table name “KETTEI” to the variable layer, and scans all the tables again, thereby calling the KETTEI table.)
According to the KETTEI table of FIG. 8, grp is determined from set and age and set. Returning to the table of “S” in FIG. 6, set grp to the variable “product display value”. Next, a “provision screen” is displayed (instructed to the chsheet function). The value of the variable “product display value” is automatically displayed in the product display column when the “providing screen” is displayed.

ソフトウェア生成手段13は、前記第1の実施例と同様にして、ソフトウェアを生成する。図7に、図6の仕様定義表から生成された生成ソフトウェア18を示す。   The software generation unit 13 generates software in the same manner as in the first embodiment. FIG. 7 shows the generation software 18 generated from the specification definition table of FIG.

ここで図8の仕様定義表は、前記データ対応表から作成したものである。データ対応表の属性データ内容を図8の仕様定義表の第3列と4列に埋め込む。即ち、第3列の処理内容記述を”case”とし、共通変数をsexとし、実行パラメータの各ブロックに’1’(男)と’0’(女)を記入する。第4列の処理内容記述を”case”とし、共通変数をageとし、実行パラメータ領域の内の「’1’(男)」と「’0’(女)」に対応した各ブロックにそれぞれ年齢層「〜20」、「20〜40」、「40〜」を設定する。   Here, the specification definition table of FIG. 8 is created from the data correspondence table. The attribute data contents of the data correspondence table are embedded in the third and fourth columns of the specification definition table of FIG. That is, the processing content description in the third column is “case”, the common variable is sex, and “1” (male) and “0” (female) are entered in each block of the execution parameter. The processing content description in the fourth column is “case”, the common variable is “age”, and each block corresponding to “'1” (male) ”and“ “0” (female) ”in the execution parameter area has an age. Layers “˜20”, “20-40”, “40˜” are set.

ソフトウェア生成手段13は図8の仕様定義表を読み込み、図9に示すモジュールを生成ソフトウェア18に追加し、更にソフトウェア情報17(標準関数、calltable、chsheet等)を追加し生成ソフトウェア18とし完成させる。   The software generation unit 13 reads the specification definition table of FIG. 8, adds the module shown in FIG. 9 to the generation software 18, and further adds software information 17 (standard function, callable, chsheet, etc.) to complete the generation software 18.

上記説明では、データ対応表から仕様定義表を作成する例を示したが、データ対応表の代わりに、入力をユーザの性別と年齢とし、出力を商品グループi(iは1〜6)の商品情報提供とする入出力表から、仕様定義表を作成することもできる。   In the above description, an example of creating a specification definition table from a data correspondence table has been shown, but instead of a data correspondence table, the input is the user's gender and age, and the output is a product group i (i is 1 to 6). A specification definition table can also be created from an input / output table for providing information.

以上により、本発明の第2の実施例の動作が終了する。   This completes the operation of the second embodiment of the present invention.

この実施例の様に、状態遷移表、データ対応表、入出力表に近い形の仕様定義表を作成するだけで、業務システム用のソフトウェアが生成されることになる。   As in this embodiment, business system software is generated simply by creating a specification definition table similar to a state transition table, data correspondence table, and input / output table.

以上により、本発明の実施の形態の動作が完了する。   Thus, the operation of the embodiment of the present invention is completed.

本発明によれば、仕様定義表に、表の形式自体を定義する欄(行や列)を含み、また前記定義する欄の記述を解釈しプログラムを生成する手段を備えているので、業務要件情報の各種表に近い形式の仕様定義表を作成するだけで、その仕様定義表に従った画面入出力およびデータ処理を実現するためのプログラムを自動的に生成できる。そして、その結果としてソフトウェア開発の生産性と品質を向上させることができる。   According to the present invention, the specification definition table includes columns (rows and columns) that define the table format itself, and includes means for interpreting the description of the columns to be defined and generating a program. By creating a specification definition table in a format close to various information tables, a program for realizing screen input / output and data processing according to the specification definition table can be automatically generated. As a result, the productivity and quality of software development can be improved.

また、仕様定義表の内容を変えることによって、生成するソフトウェアの変更も簡単に行うことができ、適用すべき業務形態の変化等に応じて、ソフトウェアを柔軟かつタイムリーに変更することができる。   In addition, by changing the contents of the specification definition table, the software to be generated can be easily changed, and the software can be changed flexibly and in a timely manner according to a change in the business form to be applied.

本発明は、データベースのデータに端末画面から参照・更新を行う業務システムや、バッチ処理によるデータ処理の用途に適用できる。   The present invention can be applied to a business system for referring / updating data in a database from a terminal screen and a data processing application by batch processing.

本発明のソフトウェア自動生成装置1の構成を示すブロック図である。It is a block diagram which shows the structure of the software automatic generation apparatus 1 of this invention. 本発明の第1の実施例の仕様定義表16−1の内容例を示す図である。It is a figure which shows the example of the content of the specification definition table 16-1 of 1st Example of this invention. 本発明のソフトウェア生成手段13の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the software production | generation means 13 of this invention. 本発明のソフトウェア生成手段13の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the software production | generation means 13 of this invention. 本発明の第1の実施例の生成ソフトウェア18の内容例を示す図である。It is a figure which shows the example of the content of the production | generation software 18 of 1st Example of this invention. 本発明の第2の実施例の仕様定義表16−1の内容例を示す図である。It is a figure which shows the example of the content of the specification definition table 16-1 of 2nd Example of this invention. 本発明の第2の実施例の生成ソフトウェア18の内容例を示す図である。It is a figure which shows the example of the content of the production | generation software 18 of the 2nd Example of this invention. 本発明の第2の実施例の別の仕様定義表の内容例を示す図である。It is a figure which shows the example of the content of another specification definition table | surface of the 2nd Example of this invention. 本発明の第2の実施例の生成ソフトウェア18の内容例を示す図である。It is a figure which shows the example of the content of the production | generation software 18 of the 2nd Example of this invention.

符号の説明Explanation of symbols

1 ソフトウェア自動生成装置
11 データ処理部
12 仕様定義手段
13 ソフトウェア生成手段
14 配信手段
15 記憶部
16−1〜16−4 仕様定義表
17 ソフトウェア情報
18 生成ソフトウェア
2 業務システム
21 ソフトウェア実行装置
22 データベース
23 端末
100、101 ネットワーク
111 処理内容記述行
112 共通パラメータ記述行
113 実行パラメータ記述行
114 行種別記述列
115 処理内容記述列
DESCRIPTION OF SYMBOLS 1 Software automatic generation apparatus 11 Data processing part 12 Specification definition means 13 Software generation means 14 Distribution means 15 Storage part 16-1 to 16-4 Specification definition table 17 Software information 18 Generation software 2 Business system 21 Software execution apparatus 22 Database 23 Terminal 100, 101 Network 111 Processing content description line 112 Common parameter description line 113 Execution parameter description line 114 Line type description string 115 Processing content description string

Claims (21)

システムの仕様を表形式で定義し、表の列毎に当該列の記載内容を定義し記述する記述行を有する仕様定義表を作成する仕様定義手段と、
前記仕様定義表の前記記述行の内容に基づいてソフトウェアを生成するソフトウェア生成手段とを備えたことを特徴とするソフトウェア自動生成装置。
A specification definition means for defining a system specification in a table format, creating a specification definition table having a description line for defining and describing the description contents of the column for each column of the table;
An automatic software generation device comprising: software generation means for generating software based on the contents of the description line of the specification definition table.
前記仕様定義表を、前記システムの状態と前記システムに発生したイベントとの組合せに応じた決定表形式とし、かつ前記仕様定義表に記述される複数の処理内容を、前記組合せによる条件判定処理と、条件ごとに実施の可否、およびそのパラメータを指定した条件対応の処理とし、
前記ソフトウェア生成手段が、前記記述行の内容により、前記仕様定義表に記述される前記条件判定処理と前記条件対応の処理とを解釈しソフトウェアを生成する処理とを有することを特徴とする請求項1記載のソフトウェア自動生成装置。
The specification definition table is in the form of a decision table according to a combination of the system state and an event that has occurred in the system, and a plurality of processing contents described in the specification definition table include a condition determination process based on the combination. , Whether it can be implemented for each condition, and a process corresponding to the condition that specifies the parameter,
The software generation means includes a process of generating software by interpreting the condition determination process described in the specification definition table and the process corresponding to the condition according to the contents of the description line. The software automatic generation device according to 1.
前記仕様定義表には、それぞれが同じ種類の処理命令に対応した複数の処理内容記述列と、前記各列の各行の種別を表すキーワードが記述された行種別記述列とを含み、
前記行の種別は、処理内容を示すキーワードが記述された処理内容記述行と、変数名や他のソフトウェア呼出しをする際のパラメータが記述された共通パラメータ記述行と、前記処理内容を実行するかどうかの区別と実行する場合のパラメータが記述された実行パラメータ記述行とを含み、
前記ソフトウェア生成手段が、前記処理内容記述行、前記共通パラメータ記述行、前記実行パラメータ記述行の区別を前記行種別記述列のキーワードにより行う手段を有することを特徴とする請求項2記載のソフトウェア自動生成装置。
The specification definition table includes a plurality of processing content description columns each corresponding to a processing instruction of the same type, and a row type description column in which a keyword representing a type of each row in each column is described,
The type of the line includes a process content description line in which a keyword indicating the process content is described, a common parameter description line in which a variable name and other software call parameters are described, and whether the process content is executed. Including the distinction of whether or not and the execution parameter description line describing the parameters for execution,
3. The software automatic according to claim 2, wherein the software generation means includes means for distinguishing the processing content description line, the common parameter description line, and the execution parameter description line by a keyword of the line type description column. Generator.
前記処理内容を表すキーワードは、条件分岐を表す第1のキーワードと、変数への代入を表す第2のキーワードと、端末やデータベースへの入出力を行う標準関数の呼び出しを表す第3のキーワードとを含み、
前記ソフトウェア生成手段が、前記第1のキーワードが処理内容記述行に記述されている場合にはその列の共通パラメータの値が実行パラメータの示す値や範囲であることを条件とする条件分岐命令を生成する手段と、前記第2のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値を共通パラメータ記述行で指定された変数に代入する命令を生成する手段と、前記第3のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値と共通パラメータの値をパラメータとして前記キーワードに対応する標準関数を呼び出す手段とを有することを特徴とする請求項3記載のソフトウェア自動生成装置。
The keyword representing the processing content includes a first keyword representing a conditional branch, a second keyword representing assignment to a variable, a third keyword representing a call to a standard function for input / output to a terminal or a database, Including
When the first keyword is described in the processing content description line, the software generation unit outputs a conditional branch instruction on the condition that the value of the common parameter in the column is a value or a range indicated by the execution parameter. Means for generating, if the second keyword is described in the processing content description line, means for generating an instruction for assigning the value of the execution parameter of the column to a variable designated in the common parameter description line; Means for invoking a standard function corresponding to the keyword by using the value of the execution parameter of the column and the value of the common parameter as parameters when the third keyword is described in the processing content description line, The software automatic generation apparatus according to claim 3.
前記仕様定義表において、前記処理内容記述行は、前記キーワードまたは他の仕様定義表に基づき生成されたソフトウェア識別情報が記述され、
前記ソフトウェア生成手段は、前記仕様定義表の処理内容記述行の記述が前記キーワードでなければ、当該処理内容記述行に他の仕様定義表対応のソフトウェア識別情報が記載されていると判断し、当該ソフトウェア識別情報に対応するソフトウェアを呼び出す処理命令を生成することを特徴とする請求項3、または4に記載のソフトウェア自動生成装置。
In the specification definition table, the processing content description line describes software identification information generated based on the keyword or another specification definition table,
If the description of the processing content description line of the specification definition table is not the keyword, the software generation means determines that software identification information corresponding to another specification definition table is described in the processing content description line, and 5. The software automatic generation apparatus according to claim 3, wherein a processing instruction for calling software corresponding to the software identification information is generated.
前記ソフトウェア生成手段は、前記処理内容記述行に条件分岐を表す第1のキーワードを記述した列が連続してい場合に、連続した複数段の条件分岐を生成する手段を有することを特徴とする請求項3、または4に記載のソフトウェア自動生成装置。 The software generation means includes means for generating a plurality of continuous conditional branches when a column describing a first keyword representing a conditional branch is continuous in the processing content description line. Item 5. The software automatic generation device according to Item 3 or 4. 端末から入力された処理要求に応じて、端末から入力されたデータを既定変数に代入した上で、前記生成するソフトウェアを呼び出す機能を有し、
前記既定変数には現在処理中の表の名前を示す“layer”、現在表示中の画面名を示す“sheet”、ユーザが行なった操作の名前を示す“event”を有する標準関数を持つことを特徴とする請求項4記載のソフトウェア自動生成装置。
In accordance with a processing request input from the terminal, after substituting the data input from the terminal into a default variable, has a function to call the software to be generated,
The default variable has a standard function having “layer” indicating the name of the table currently being processed, “sheet” indicating the name of the currently displayed screen, and “event” indicating the name of the operation performed by the user. 5. The software automatic generation apparatus according to claim 4, wherein
システムの仕様を表形式で定義し、表の列毎に当該列の記載内容を定義し記述する記述行を有する仕様定義表を作成する仕様定義手順と、
前記仕様定義表の前記記述行の内容に基づいてソフトウェアを生成するソフトウェア生成手順とをコンピュータに実行させるためのプログラム。
A specification definition procedure for defining a system specification in a table format, creating a specification definition table having a description line for defining and describing the contents of each column of the table,
A program for causing a computer to execute a software generation procedure for generating software based on the contents of the description line of the specification definition table.
前記仕様定義表を、前記システムの状態と前記システムに発生したイベントとの組合せに応じた決定表形式とし、かつ前記仕様定義表に記述される複数の処理内容を、前記組合せによる条件判定処理と、条件ごとに実施の可否、およびそのパラメータを指定した条件対応の処理とし、
前記ソフトウェア生成手順が、前記記述行の内容により、前記仕様定義表に記述される前記条件判定処理と前記条件対応の処理とを解釈しソフトウェアを生成することを特徴とする請求項8記載のプログラム。
The specification definition table is in the form of a decision table according to a combination of the system state and an event that has occurred in the system, and a plurality of processing contents described in the specification definition table include a condition determination process based on the combination. , Whether it can be implemented for each condition, and a process corresponding to the condition that specifies the parameter,
9. The program according to claim 8, wherein the software generation procedure generates software by interpreting the condition determination process described in the specification definition table and the condition corresponding process according to the contents of the description line. .
前記仕様定義表には、それぞれが同じ種類の処理命令に対応した複数の処理内容記述列と、前記各列の各行の種別を表すキーワードが記述された行種別記述列とを含み、
前記行の種別は、処理内容を示すキーワードが記述された処理内容記述行と、変数名や他のソフトウェア呼出しをする際のパラメータが記述された共通パラメータ記述行と、前記処理内容を実行するかどうかの区別と実行する場合のパラメータが記述された実行パラメータ記述行とを含み、
前記ソフトウェア生成手順が、前記処理内容記述行、前記共通パラメータ記述行、前記実行パラメータ記述行の区別を前記行種別記述列のキーワードにより行うことを特徴とする請求項9記載のプログラム。
The specification definition table includes a plurality of processing content description columns each corresponding to a processing instruction of the same type, and a row type description column in which a keyword representing a type of each row in each column is described,
The type of the line includes a process content description line in which a keyword indicating the process content is described, a common parameter description line in which a variable name and other software call parameters are described, and whether the process content is executed. Including the distinction of whether or not and the execution parameter description line describing the parameters for execution,
10. The program according to claim 9, wherein the software generation procedure distinguishes the processing content description line, the common parameter description line, and the execution parameter description line by a keyword of the line type description column.
前記処理内容を表すキーワードは、条件分岐を表す第1のキーワードと、変数への代入を表す第2のキーワードと、端末やデータベースへの入出力を行う標準関数の呼び出しを表す第3のキーワードとを含み、
前記ソフトウェア生成手順が、前記第1のキーワードが処理内容記述行に記述されている場合にはその列の共通パラメータの値が実行パラメータの示す値や範囲であることを条件とする条件分岐命令を生成する手順と、前記第2のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値を共通パラメータ記述行で指定された変数に代入する命令を生成する手順と、前記第3のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値と共通パラメータの値をパラメータとして前記キーワードに対応する標準関数を呼び出す手順とを含むことを特徴とする請求項10記載のプログラム。
The keyword representing the processing content includes a first keyword representing a conditional branch, a second keyword representing assignment to a variable, a third keyword representing a call to a standard function for input / output to a terminal or a database, Including
In the software generation procedure, when the first keyword is described in the processing content description line, a conditional branch instruction is provided on condition that the value of the common parameter in the column is a value or range indicated by the execution parameter. A procedure for generating, a procedure for generating an instruction for assigning the value of the execution parameter of the column to a variable designated in the common parameter description line when the second keyword is described in the processing content description line; A step of calling a standard function corresponding to the keyword by using the value of the execution parameter of the column and the value of the common parameter when the third keyword is described in the processing content description line, The program according to claim 10.
前記仕様定義表において、前記処理内容記述行は、前記キーワードまたは他の仕様定義表に基づき生成されたソフトウェア識別情報が記述され、
前記ソフトウェア生成手順は、前記仕様定義表の処理内容記述行の記述が前記キーワードでなければ、当該処理内容記述行に他の仕様定義表対応のソフトウェア識別情報が記載されていると判断し、当該ソフトウェア識別情報に対応するソフトウェアを呼び出す処理命令を生成することを特徴とする請求項10または11記載のプログラム。
In the specification definition table, the processing content description line describes software identification information generated based on the keyword or another specification definition table,
If the description of the processing content description line of the specification definition table is not the keyword, the software generation procedure determines that software identification information corresponding to another specification definition table is described in the processing content description line, and 12. The program according to claim 10, wherein a processing instruction for calling software corresponding to the software identification information is generated.
前記ソフトウェア生成手順は、前記処理内容記述行に条件分岐を表す第1のキーワードを記述した列が連続している場合に、連続した複数段の条件分岐を生成する手順を有することを特徴とする請求項10または11記載のプログラム。 The software generation procedure includes a procedure of generating a plurality of consecutive conditional branches when a column describing a first keyword representing a conditional branch is continuous in the processing content description line. The program according to claim 10 or 11. 端末から入力された処理要求に応じて、端末から入力されたデータを既定変数に代入した上で、前記生成するソフトウェアを呼び出す手順を有し、前記既定変数には現在処理中の表の名前を示す“layer”、現在表示中の画面名を示す“sheet”、ユーザが行なった操作の名前を示す“event”を有する標準関数を持つことを特徴とする請求項11記載のプログラム。 In response to a processing request input from a terminal, the procedure includes a step of calling the software to be generated after substituting data input from the terminal into a default variable, and the default variable is a name of a table currently being processed. 12. The program according to claim 11, further comprising a standard function having “layer” indicating “screen” indicating a currently displayed screen name and “event” indicating a name of an operation performed by the user. システムの仕様を表形式で定義し、表の列毎に当該列の記載内容を定義し記述する記述行を有する仕様定義表を作成する仕様定義手順と、
前記仕様定義表の前記記述行の内容に基づいてソフトウェアを生成するソフトウェア生成手順と、
を含むことを特徴とするソフトウェア自動生成方法。
A specification definition procedure for defining a system specification in a table format, creating a specification definition table having a description line for defining and describing the contents of each column of the table,
A software generation procedure for generating software based on the contents of the description line of the specification definition table;
An automatic software generation method comprising:
前記仕様定義表を、前記システムの状態と前記システムに発生したイベントとの組合せに応じた決定表形式とし、かつ前記仕様定義表に記述される複数の処理内容を、前記組合せによる条件判定処理と、条件ごとに実施の可否、およびそのパラメータを指定した条件対応の処理とし、
前記ソフトウェア生成手順が、前記記述行の内容により、前記仕様定義表に記述される前記条件判定処理と前記条件対応の処理とを解釈しソフトウェアを生成する処理とを含むことを特徴とする請求項15記載のソフトウェア自動生成方法。
The specification definition table is in the form of a decision table according to a combination of the system state and an event that has occurred in the system, and a plurality of processing contents described in the specification definition table include a condition determination process based on the combination. , Whether it can be implemented for each condition, and a process corresponding to the condition that specifies the parameter,
The software generation procedure includes a process of generating software by interpreting the condition determination process described in the specification definition table and the process corresponding to the condition according to the contents of the description line. 15. The software automatic generation method according to 15.
前記仕様定義表には、それぞれが同じ種類の処理命令に対応した複数の処理内容記述列と、前記各列の各行の種別を表すキーワードが記述された行種別記述列とを含み、
前記行の種別は、処理内容を示すキーワードが記述された処理内容記述行と、変数名や他のソフトウェア呼出しをする際のパラメータが記述された共通パラメータ記述行と、前記処理内容を実行するかどうかの区別と実行する場合のパラメータが記述された実行パラメータ記述行とを含み、
前記ソフトウェア生成手順が、前記処理内容記述行、前記共通パラメータ記述行、前記実行パラメータ記述行の区別を前記行種別記述列のキーワードにより行う処理を含むことを特徴とする請求項16記載のソフトウェア自動生成方法。
The specification definition table includes a plurality of processing content description columns each corresponding to a processing instruction of the same type, and a row type description column in which a keyword representing a type of each row in each column is described,
The type of the line includes a process content description line in which a keyword indicating the process content is described, a common parameter description line in which a variable name and other software call parameters are described, and whether the process content is executed. Including the distinction of whether or not and the execution parameter description line describing the parameters for execution,
17. The software automatic according to claim 16, wherein the software generation procedure includes a process of distinguishing the processing content description line, the common parameter description line, and the execution parameter description line by a keyword of the line type description column. Generation method.
前記処理内容を表すキーワードは、条件分岐を表す第1のキーワードと、変数への代入を表す第2のキーワードと、端末やデータベースへの入出力を行う標準関数の呼び出しを表す第3のキーワードとを含み、
前記ソフトウェア生成手順が、前記第1のキーワードが処理内容記述行に記述されている場合にはその列の共通パラメータの値が実行パラメータの示す値や範囲であることを条件とする条件分岐命令を生成する処理と、前記第2のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値を共通パラメータ記述行で指定された変数に代入する命令を生成する処理と、前記第3のキーワードが処理内容記述行に記述されている場合にはその列の実行パラメータの値と共通パラメータの値をパラメータとして前記キーワードに対応する標準関数を呼び出す処理とを含むことを特徴とする請求項17記載のソフトウェア自動生成方法。
The keyword representing the processing content includes a first keyword representing a conditional branch, a second keyword representing assignment to a variable, a third keyword representing a call to a standard function for input / output to a terminal or a database, Including
In the software generation procedure, when the first keyword is described in the processing content description line, a conditional branch instruction is provided on condition that the value of the common parameter in the column is a value or range indicated by the execution parameter. A process for generating, a process for generating an instruction for assigning the value of the execution parameter of the column to a variable designated in the common parameter description line when the second keyword is described in the process content description line; Including a process of calling a standard function corresponding to the keyword using the value of the execution parameter of the column and the value of the common parameter when the third keyword is described in a processing content description line as a parameter, The software automatic generation method according to claim 17.
前記仕様定義表において、前記処理内容記述行は、前記キーワードまたは他の仕様定義表に基づき生成されたソフトウェア識別情報が記述され、
前記ソフトウェア生成手順は、前記仕様定義表の処理内容記述行の記述が前記キーワードでなければ、当該処理内容記述行に他の仕様定義表対応のソフトウェア識別情報が記載されていると判断し、当該ソフトウェア識別情報に対応するソフトウェアを呼び出す処理命令を生成することを特徴とする請求項17、または18に記載のソフトウェア自動生成方法。
In the specification definition table, the processing content description line describes software identification information generated based on the keyword or another specification definition table,
If the description of the processing content description line of the specification definition table is not the keyword, the software generation procedure determines that software identification information corresponding to another specification definition table is described in the processing content description line, and 19. The software automatic generation method according to claim 17, wherein a processing instruction for calling software corresponding to the software identification information is generated.
前記ソフトウェア生成手順は、前記処理内容記述行に条件分岐を表す第1のキーワードを記述した列が連続している場合に、連続した複数段の条件分岐を生成する手順を有することを特徴とする請求項17、または18に記載のソフトウェア自動生成方法。 The software generation procedure includes a procedure of generating a plurality of consecutive conditional branches when a column describing a first keyword representing a conditional branch is continuous in the processing content description line. The software automatic generation method according to claim 17 or 18. 端末から入力された処理要求に応じて、端末から入力されたデータを既定変数に代入した上で、前記生成するソフトウェアを呼び出す手順を有し、前記既定変数には現在処理中の表の名前を示す“layer”、現在表示中の画面名を示す“sheet”、ユーザが行なった操作の名前を示す“event”を有する標準関数を持つことを特徴とする請求項18記載のソフトウェア自動生成方法。
In response to a processing request input from a terminal, the procedure includes a step of calling the software to be generated after substituting data input from the terminal into a default variable, and the default variable is a name of a table currently being processed. 19. The automatic software generation method according to claim 18, further comprising a standard function having “layer” indicating “screen” indicating the name of a currently displayed screen and “event” indicating a name of an operation performed by the user.
JP2006233527A 2006-08-30 2006-08-30 Apparatus, method and program for automatically creating software Pending JP2008059135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006233527A JP2008059135A (en) 2006-08-30 2006-08-30 Apparatus, method and program for automatically creating software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006233527A JP2008059135A (en) 2006-08-30 2006-08-30 Apparatus, method and program for automatically creating software

Publications (1)

Publication Number Publication Date
JP2008059135A true JP2008059135A (en) 2008-03-13

Family

ID=39241821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006233527A Pending JP2008059135A (en) 2006-08-30 2006-08-30 Apparatus, method and program for automatically creating software

Country Status (1)

Country Link
JP (1) JP2008059135A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016510442A (en) * 2012-12-10 2016-04-07 アビニシオ テクノロジー エルエルシー Transform generation system
JP6318327B1 (en) * 2017-09-21 2018-04-25 義尚 神山 Recording medium on which code automatic description software is recorded
JP6347023B1 (en) * 2018-03-09 2018-06-20 義尚 神山 Recording medium with code automatic description 2 software recorded

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108334A (en) * 1991-10-18 1993-04-30 Nec Corp State transition table editor
JPH06250882A (en) * 1993-02-26 1994-09-09 Hitachi Ltd Program test execution system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108334A (en) * 1991-10-18 1993-04-30 Nec Corp State transition table editor
JPH06250882A (en) * 1993-02-26 1994-09-09 Hitachi Ltd Program test execution system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016510442A (en) * 2012-12-10 2016-04-07 アビニシオ テクノロジー エルエルシー Transform generation system
US10817503B2 (en) 2012-12-10 2020-10-27 Ab Initio Technology Llc System for transform generation
JP6318327B1 (en) * 2017-09-21 2018-04-25 義尚 神山 Recording medium on which code automatic description software is recorded
JP6347023B1 (en) * 2018-03-09 2018-06-20 義尚 神山 Recording medium with code automatic description 2 software recorded

Similar Documents

Publication Publication Date Title
AU2019369301B2 (en) Refinement of machine learning engines for automatically generating component-based user interfaces
US10466971B2 (en) Generation of an application from data
US11210111B2 (en) Automatic user interface architecture
US10963694B2 (en) Duplicate user interface design identification
KR101773574B1 (en) Method for chart visualizing of data table
JP2022529178A (en) Features of artificial intelligence recommended models Processing methods, devices, electronic devices, and computer programs
CN104252359A (en) Systems and methods for presentations with live application integration
US20240160410A1 (en) Application Development Platform, Micro-program Generation Method, and Device and Storage Medium
JP5506176B2 (en) Information processing apparatus and information processing method
CN113407284A (en) Navigation interface generation method and device, storage medium and electronic equipment
CN116523479A (en) Collaborative creation method for digital works, task release method and device
Gómez et al. An approach to the co-creation of models and metamodels in Enterprise Architecture Projects.
KR20180135654A (en) Intuitive method of making a program
KR101910179B1 (en) Web-based chart library system for data visualization
JP2008059135A (en) Apparatus, method and program for automatically creating software
US11531465B2 (en) Display control apparatus, non-transitory recording medium and display controlling method for creating first tag, second tag not overlapping other tags displayed, and indicator correlating second tag with first tag
US8869048B2 (en) Declarative and multi-mode wizard framework
CN115756692A (en) Method for automatically combining and displaying pages based on style attributes and related equipment thereof
JP6948492B2 (en) Information management device and file management method
WO2016190444A1 (en) Information management device, and file management method
JP4885569B2 (en) Style sheet generating apparatus and style sheet generating program
CN101676905A (en) Layout for modifying resource contents based on customized rules
KR20190011186A (en) Web-based chart library system for data visualization
CN108563621A (en) A kind of PDF report form generation methods, device, equipment and storage medium
WO2023119609A1 (en) Information processing device, layout assistance method, and assistance program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080617

RD01 Notification of change of attorney

Effective date: 20090601

Free format text: JAPANESE INTERMEDIATE CODE: A7421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110405