JP3570870B2 - System construction apparatus, system construction method, and medium recording system construction program - Google Patents

System construction apparatus, system construction method, and medium recording system construction program Download PDF

Info

Publication number
JP3570870B2
JP3570870B2 JP26594497A JP26594497A JP3570870B2 JP 3570870 B2 JP3570870 B2 JP 3570870B2 JP 26594497 A JP26594497 A JP 26594497A JP 26594497 A JP26594497 A JP 26594497A JP 3570870 B2 JP3570870 B2 JP 3570870B2
Authority
JP
Japan
Prior art keywords
program
variable
design
system construction
fixed
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.)
Expired - Fee Related
Application number
JP26594497A
Other languages
Japanese (ja)
Other versions
JPH11110201A (en
Inventor
直樹 今崎
智 関根
誠 加納
恭子 牧野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP26594497A priority Critical patent/JP3570870B2/en
Publication of JPH11110201A publication Critical patent/JPH11110201A/en
Application granted granted Critical
Publication of JP3570870B2 publication Critical patent/JP3570870B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、システム構築装置及びシステム構築方法に係り、特に、単一のツールで、高速かつ柔軟な処理を可能とすべく改良を施したシステム構築装置及びシステム構築方法に関する。
【0002】
【従来の技術】
従来、CAD( Computer Aided Design)ツールで設計したシステムには、大別して次の2種類の実現形態がある。すなわち、第1の実現形態は、一般に固定型プログラムとよばれるもので、設計結果を所定のプログラム言語(例えば、C++言語)で記述されるプログラムに変換するものである。この実現形態は、採用する言語にもよるが、一般に高速な処理が可能である。しかし、システムの設定を変更したい場合には、再度システム全体をCADツールにて修正し、変換し直さなければならないという欠点があった。
【0003】
一方、第2の実現形態は、一般に可変型プログラムとよばれるもので、設計結果を別途あらかじめ用意する実行プログラムのためのデータファイルとして出力するものである。この実現形態においては、実行プログラムは、前記データファイルを読み込み・解析することにより、設計結果を内部に再現する。
この場合、データファイルを差し換えることにより、再変換することなく設定の変更が可能であるが、実行プログラムを汎用的に作成する必要があるため、プログラムサイズが大きくなり、また、実行速度が遅くなるという欠点があった。
【0004】
【発明が解決しようとする課題】
従来から用いられているCADツール等のシステム構築装置は、通常、固定型プログラムと可変型プログラムのいずれか一方のみを提供するものであったため、ユーザは、「高速性」あるいは「柔軟性」のいずれを重視するかによって、ツールの選択を行わなくてはならなかった。
【0005】
一方、同じシステムに対して、上記2つの実現形態を可能とするためには、固定型プログラムと可変型プログラムのそれぞれのプログラムを作成することのできる2種類のツールを用意しなければならなかった。しかも、この場合、異なるツール間のデータの互換性は保証されないことが多いため、それぞれのツールごとに設計作業が必要となっていた。
【0006】
また、可変型プログラムを作成するCADツールとしても、次のような問題点があった。すなわち、可変型プログラムでは、前記のように実行プログラムは設計結果をデータファイルとして読み込むが、このプログラムが読み込むデータファイルのフォーマットと、CADツールそのものがプログラムの設計時に使用するファイルのフォーマットとが異なっていた。そのため、実行プログラムが読み込むデータファイルを、プログラム設計用のCADツールを利用して作成あるいは修正することができず、専用のツールが必要であった。
【0007】
例えば、ファジィ推論システムなどをCADツールで作る場合、ルールなどは可変としておき、後で専用のツールを利用して、そのルール部分を作成する方法が用いられている。
しかし、この場合、CADツールでシステムを作成したり、保存するときのファイル構造としては、CADツールに適したフォーマットが使用され、一方、システム完成後、専用ツールで作成される可変部分のファイル構造としては、その専用ツールに適したフォーマットが使用されていた。
【0008】
その理由は、CADツールでシステムを構築するには多くの操作が必要とされるため、ファイル構造もそのような多くの処理に適したものが使用され、一方、システム完成後に、プログラムの一部を修正、補完するには高速性や操作性が要求されるため、各プログラムごとに特化されたフォーマットの方が使用しやすいからである。
【0009】
このように、従来のシステム構築装置において上記2つの実現形態を可能とするためには2種類のツールを用意しなければならず、また、各ツールごとにそのファイル構造は異なっていたため、互いにファイルを共有することもできず、CADツールとしての汎用性に乏しかった。
【0010】
本発明は、上述したような従来技術の問題点を解消するために提案されたもので、その目的は、単一のツールで、高速かつ柔軟な処理を可能としたシステム構築装置、システム構築方法及びシステム構築プログラムを記録した媒体を提供することにある。
【0011】
【課題を解決するための手段】
上記の目的を達成するために、請求項1に記載のシステム構築装置は、設計対象システムの設計結果を所定の処理プログラムに変換する固定型プログラム変換手段と、前記設計対象システムの設定を変更するための可変部を有する可変型プログラムを生成する可変型プログラム生成手段を有し、固定型プログラム生成モードあるいは可変型プログラム生成モードに応じて、前記固定型プログラム変換手段あるいは可変型プログラム生成手段を選択的に起動できるようにしたシステム構築装置において、前記固定型プログラム変換手段は、前記設計対象システムの設計結果を所定のプログラム言語に変換する機能を有し、固定型プログラム生成モードが指定された場合には、前記設計対象システムの設計結果をすべてを所定のプログラム言語によるソースコードに変換し、変換結果を固定型プログラムとして出力し、可変型プログラム生成モードが指定された場合には、ユーザが可変プログラムとするよう指定した部分のみ、その設定を可変とすることを示す記述に置き換え、他の部分は所定のプログラム言語によるソースコードに変換して、可変型プログラム生成手段に出力し、前記可変型プログラム生成手段は、前記設計対象システムの設計結果のうちユーザが可変プログラムとするよう指定した部分について、所定のファイルを読み込み・解析する命令を有するソースコードを生成し、前記固定型プログラム変換手段が変換した前記プログラム言語によるソースコードの出力と合成して、可変型プログラムを出力することを特徴とする。又、請求項5の発明は前記請求項1の発明を方法の観点から把握したものであり、請求項9の発明は前記請求項1の発明をコンピュータより取り可能な記録媒体の観点から把握したものである。
【0012】
上記の様な構成を有する請求項1、請求項5及び請求項9の発明によれば、目的の環境にプログラムを実装した後に、その設定を変更する可能性が低い場合には、ユーザの指示により、システムの設計結果すべてをソースコードに変換した固定型プログラムを出力することができる。一方、実装後に設定を変更する可能性が高い場合には、ユーザの指示により、実装後に設定を変更できる可変部を生成し、その可変部を組み込んだ可変型プログラムを出力することができる。これにより、単一のツールで、固定型プログラムと可変型プログラムの双方を、選択的に出力することが可能となる。また、設計するシステムの設定可変部分をユーザが自由に指定できるため、実装後にシステムの変更を行う可能性の大小に応じた、的確な構成の変換プログラムを得ることができる。
【0013】
請求項2に記載の発明は、請求項1記載のシステム構築装置において、設計対象システムの設計結果のすべてまたは一部を、設計情報として所定のフォーマットに基づいて記録する保存手段と、前記設計情報を読み込み、再現する再現手段を備えたことを特徴とするものである。
また、請求項6に記載の発明は、上記請求項2に記載の発明を方法の観点から捉えたものであって、請求項5記載のシステム構築方法において、設計対象システムの設計結果のすべてまたは一部を、設計情報として所定のフォーマットに基づいて記録する保存ステップと、前記設計情報を読み込み、再現する再現ステップを含むことを特徴とするものである。
上記の様な構成を有する請求項2に記載のシステム構築装置及び請求項6に記載のシステム構築方法によれば、設計対象システムの設計結果のすべてまたは一部を、設計情報として所定のフォーマットで記録媒体に記録し、また、この設計情報を適宜読み込み、再現することができるので、他のツールによって当該記録媒体に記録された情報を、システムの構築に際して利用することができる。
【0014】
請求項3に記載の発明は、請求項2記載のシステム構築装置において、前記可変部が、前記記録された設計情報を読み込む機能を有することを特徴とするものである。
また、請求項7に記載の発明は、上記請求項3に記載の発明を方法の観点から捉えたものであって、請求項6記載のシステム構築方法において、前記可変部が、前記記録された設計情報を読み込む機能を有することを特徴とするものである。
【0015】
上記の様な構成を有する請求項3に記載のシステム構築装置及び請求項7に記載のシステム構築方法によれば、可変型プログラムの可変部が、設計対象システムの設計結果のすべてまたは一部を設計情報として記録した記録媒体から、ユーザの指示により所定の設計情報を読み出し、可変型プログラム上に再現することができる。
これにより、実装後に設定を変更する場合でも、プログラム自体を変更せずに、ファイルを書き換えるだけで、プログラムが処理するデータを変更することができる。
【0016】
請求項4に記載の発明は、請求項第3項記載のシステム構築装置において、前記再現手段が読み込む設計情報のフォーマットと、前記可変型プログラムの可変部が読み込む設計情報のフォーマットとが同一であることを特徴とするものである。
また、請求項8に記載の発明は、上記請求項4に記載の発明を方法の観点から捉えたものであって、請求項7記載のシステム構築方法において、前記再現ステップにおいて読み込まれる設計情報のフォーマットと、前記可変型プログラムの可変部が読み込む設計情報のフォーマットとが同一であることを特徴とするものである。
【0017】
上記の様な構成を有する請求項4に記載のシステム構築装置及び請求項8に記載のシステム構築方法によれば、システムの構築に際して読み込まれる設計情報のフォーマットと、可変型プログラムの可変部が読み込む設計情報のフォーマットとが同一であるため、いったん完成したプログラムを修正・補完した際に作成したファイルをシステムの構築の際に読み出し、他の設計結果と組み合わせることにより、プログラムで修正・補完した内容を取り込んだ設計結果を、プログラムに再度変換することもできる。また、同じシステム構築装置で可変型プログラムの可変部分の補完もできるので、一つの装置でプログラムの構築と修正・補完の両方を行うことができる。
【0018】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照して具体的に説明する。
なお、以下に示す実施の形態の各機能は、所定のソフトウェアがコンピュータ及び周辺機器を制御することで実現されるものであり、本明細書では、発明及び実施の形態を、各機能や各処理に対応する「〜手段」などの仮想的回路ブロックを想定して説明している。このため、各ブロックに対して、各ハードウェア要素やソフトウェア要素は1対1には対応しない。
【0019】
[1.第1実施形態]
[1−1.構成]
図1は、第1実施形態におけるシステム構築装置1の構成を示す機能ブロック図である。すなわち、図1において、2はユーザインタフェース部であり、ユーザがシステムを設計するために必要な手段、例えば、CRTディスプレイなどの表示装置や、キーボード等の入力装置を有している。
前記システム構築装置1は、このユーザインタフェース部2を介してユーザと情報のやり取りを行うように構成されており、後述する「固定型プログラム生成モード」あるいは「可変型プログラム生成モード」の指定も、このユーザインタフェース部2を介して行われる。
【0020】
次に、データ処理部3は、ユーザがユーザインタフェース部2を介して所望のシステムを設計する際に、ユーザより入力される情報を解析し、入力された設計情報の加工等の処理を実行し、その処理結果をシステム設計データ(SDD)としてデータ格納部4に格納する。
また、データ処理部3は、前記データ格納部4に格納されたシステム設計データを読み出して、ユーザインタフェース部2からの要求に応じて、システム構築装置1内の各部(ユーザインタフェース部2,保存手段5,再現手段6,固定型プログラム変換手段7,可変型プログラム生成手段8)に選択的に送出する。
【0021】
保存手段5は、前記データ格納部4から読み出されたシステム設計データを、所定のフォーマットで設計結果ファイル9に出力する。
これに対し、再現手段6は、前記設計結果ファイル9に所定のフォーマットで記録されているシステム設計データを読み出し、前記データ格納部4中に再現する。
【0022】
また、固定型プログラム変換手段7は、データ格納部4から読み出されたシステム設計データを、所定のプログラム言語に変換する機能を有し、固定型プログラム生成モードが指定された場合には、前記システム設計データのすべてをソースコードに変換し、変換結果をシステム構築装置1外部に固定型プログラム10として出力する。
一方、可変型プログラム生成モードが指定された場合には、ユーザが可変プログラムとするよう指定した部分のみ、その設定を可変とすることを示す記述に置き換え、他の部分は所定のプログラム言語によるソースコードに変換して、可変型プログラム生成手段8に出力する。
【0023】
次に、可変型プログラム生成手段8は、ユーザが可変プログラムとするよう指定した部分について、ファイル読み込み部として、所定のファイルを読み込み・解析する命令を有するソースコードを生成し、前記固定型プログラム変換手段7の出力と合成して、システム構築装置1外部に可変型プログラム11として出力する。
【0024】
[1−2.作用]
上述したような構成を有する本実施形態のシステム構築装置は、以下に述べるように作用する。
ここで、ユーザが作成しようとするシステムSは、図2(A)に示したように、4つのサブシステムS1,S21,S22,S23から構成されており、このうちS21,S22,S23は全体としてひとつのまとまった機能を表しているとする。なお、上記「システム」と「サブシステム」には明確な区別がなく、どちらも外部からの入力を受け、この入力と内部に保有する設定条件から、あらかじめ決められた処理を実行して、その処理結果を出力するものである。
【0025】
[1−2−1.システムの構成と設計]
上述したように、図2(A)に示したシステムSにおいては、サブシステムS21,S22,S23から構成される部分は、全体としてひとつのまとまった機能を表しているため、新たなサブシステムS2とみなすことができる。すなわち、システムSは、図2(B)に示したように、サブシステムS1およびS2から構成されるとともに、サブシステムS2は階層構造をもって、サブシステムS21,S22,S23を格納する構成と捉えることもできる。なお、この場合、サブシステムS1およびS2の階層を「レベル1」、サブシステムS21,S22,S23の階層を「レベル2」と呼ぶことにする。
【0026】
なお、本実施形態のシステム構築装置1においては、システムSを図2(A)あるいは図2(B)のいずれの形式でも設計することができる。また、GUI(グラフィカルユーザインタフェース)をもつシステム構築装置1では、設計対象システムの階層ごとに独立したウィンドウを設けることもできる。
ここでは、図2(B)に示した形式で、システムを設計するものとする。
【0027】
[1−2−2.設計結果の保存]
本装置を用いてシステムの構築を行う場合、システム構築途中で作成された設計データは、保存手段5によって所定のフォーマットで設計結果ファイル9に保存される。このとき、各設計結果ファイル9では、以下の情報が記述される。
(1)サブシステム接続定義…同一階層内に定義されているサブシステムの接続関係(信号の流れ)
(2)各サブシステム内部定義…同一階層内に定義されているサブシステムそれぞれについての内部設定情報
この(2)サブシステム内部定義に用いられる内部設定の記述には次の3種類がある。
(a)再帰的記述…図2(A)のサブシステムS2のように、サブシステムが他のサブシステムのグループから成立しているような場合、内部設定の記述として、サブシステム接続定義および各サブシステム内部定義が採用できる。
(b)機能詳細記述…サブシステムに固有に与えられる処理機能の種類や、当該処理機能の実行に必要な設定条件を記述する。
(c)階層情報記述…図2(B)中のサブシステムS2のように、自分自身が階層構造をもっており、その詳細定義が他のファイルになされている場合に、そのファイルの所在を記述する。
【0028】
図2(B)のようにシステムSを設計した場合、設計結果ファイル9は、図2(C)に示したようにシステムSがもつ階層の数だけ生成される。すなわち、システムSの設計結果は2つの設計結果ファイルdeffile1およびdeffile2に保存される。なお、deffile1にはレベル1、deffile2にはレベル2がそれぞれ対応している。
【0029】
ここで、図2(C)に示した2つの設計結果ファイル(deffile1、deffile2)に保存されたシステムSの設計結果について説明する。すなわち、deffile1(レベル1)には、入力→S1→S2→出力という信号の流れを表すサブシステム接続定義およびサブシステムS1,S2の内部設定が記述されている。この場合、サブシステムS2定義として前記階層情報記述がなされ、サブシステムS2の詳細設計情報が記述されている設計結果ファイルdeffile2の所在が示されている。
一方、deffile2(レベル2)には、入力→(S21,S22,S23)→出力という信号の流れを表すサブシステム接続定義およびサブシステムS21,S22,S23それぞれの内部設定が記述されている。
【0030】
[1−2−3.設計結果の再現]
システム構築装置1は、システムの構築を再開する場合、あるいは完成されたシステムからプログラムを生成する場合に、ユーザからシステムSの設計情報を読み込むよう指示を受けると、再現手段6を介して、設計結果ファイルdeffile1およびdeffile2を読み込み・解析して、その設計結果をシステム構築装置1内のデータ格納部4に再現することができる。
【0031】
[1−2−4.設計結果のソースコードへの変換]
システム構築装置1上で設計されたシステムSの機能を目的の環境に実装するためには、システム設計データを処理プログラムに変換する必要がある。この場合、本実施形態のシステム構築装置1は、設計結果をソースコードに変換するために、2つのモードを有している。すなわち、第1のモードは固定型プログラム生成モードであり、第2のモードは可変型プログラム生成モードである。また、これら2つのモードは、前記ユーザインタフェース部2を介して、ユーザが指定することができるように構成されている。
なお、ここでは、処理プログラムへの変換結果は、所定のプログラム言語(例えば、C++言語)によるソースコードを指すものとするが、他の形式、例えば、実行可能なバイナリコードでも同様である。
【0032】
[a.固定型プログラムの生成]
システムSの設計結果が確実なもので、実装後に設定変更を行う可能性が低い場合には、ユーザは、システム構築装置1に対しユーザインタフェース部2を介して固定型プログラム生成モードを選択する。データ処理部3は、これに応じてシステムS全体を指定して固定型プログラム変換手段7を起動し、システムSの設計結果すべてをソースコードに変換し、固定型プログラム10を得る。また、ユーザは、当該変換結果を別途用意するコンパイラ等に与えることで、実行可能な形式に再変換し、目的の環境に実装する。
なお、図3は、固定型プログラム変換手段7による変換後のイメージを示したものである。
【0033】
[b.可変型プログラムの生成]
一方、システムSの実装後に設定を変更する可能性が高い場合には、ユーザは、可変型プログラム生成モードを選択して、設計結果をソースコードに変換する。すなわち、ユーザは、ユーザインタフェース部2を介して、実装後可変にしたいサブシステムの組を指定したうえで、可変型プログラム生成モードを選択する。
【0034】
例えば、サブシステムS2を可変にしたいとする。この場合、データ処理部3は、サブシステムS2を可変にすることを指定して固定型プログラム変換手段7を起動する。固定型プログラム変換手段7は、サブシステムS2の部分のみ、その設定を可変とすることを示す記述に置き換えて、固定型プログラムのソースコードを可変型プログラム生成手段8に出力する。
一方、データ処理部3は、サブシステムS2を指定して可変型プログラム生成手段8を起動する。可変型プログラム生成手段8は、サブシステムS2の設計結果ファイルdeffile2を読み込み・解析する機能を有するソースコードをファイル読み込み部として生成し、前記固定型プログラム変換手段7の出力と合成して、可変型プログラム11を出力する。
【0035】
なお、本実施形態では、可変型プログラム11のファイル読み込み部は、システム構築装置1の再現手段6のソースプログラムを、可変型プログラムの所定の位置に組込むことにより構成されている。
また、設定可変部分の指定に当たっては、設計対象システムの一部分を指定することもできるし、設計対象システムが階層構造を有する場合には、その階層ごとに行うこともできる。
なお、図4は、可変型プログラム生成手段8により出力される可変型プログラム11のイメージを示したものである。
【0036】
[1−3.効果]
本実施形態のシステム構築装置1によれば、単一のツールで、固定型プログラムと可変型プログラムの双方を、選択的に出力することが可能となる。
また、設計するシステムの設定可変部分をユーザが自由に指定できるため、実装後にシステムの変更を行う可能性の大小に応じた、的確な構成の変換プログラムを得ることができる。
さらに、設定可変部分には、ファイル読み込みの指示がなされているだけなので、プログラム自体を変更しなくても、ファイルを書き換えるだけで、プログラムが処理するデータを変更することができる。
【0037】
また、可変型プログラムに組み込まれたファイル読み込み部は、システム構築装置1に設けられた再現手段6と同機能であるため、サブシステムS2の定義はシステム構築装置1の設計結果ファイル9であるdeffile2がそのまま利用できる。これにより、可変型プログラムを目的の環境に実装した後も、deffile1での定義(つまり、レベル1の定義)が変らない限り、システム構築装置1上でサブシステムS2内(つまり、レベル2内)の設計変更が自由に行え、この変更されたファイルを読み込むことにより、再変換を行うことなく設計変更を行うことができる。
【0038】
[2.他の実施形態]
本発明は、上述した実施形態に限定されるものではなく、以下の態様が考えられる。
すなわち、上記の実施形態においては、システム構築装置1で扱う設計結果ファイル9をそのまま可変型プログラム11が読み込む定義ファイルとして用いたが、これに限らず、可変型プログラム11が読み込む定義ファイルとして他のフォーマットの定義ファイルを採用してもよい。ただし、この場合は、システム構築装置1内の再現手段6と可変型プログラム11内のファイル読み込み部とは、機能的には同等でも、処理は異なるものとする必要がある。これにより、システムの設定可変部分の指定が、システム構築装置1で設計したシステムの階層構造に依存しないようにすることが可能となる。
【0039】
また、上記の実施形態においては、可変型プログラム生成手段8は、再現手段6のソースプログラムを可変型プログラム11に組込むようにしたが、再現手段6をライブラリとして実現し、システム構築装置1および可変型プログラム11の双方から、これをリンクするように構成してもよい。なお、この場合には、再現手段6のソースプログラムは不要となる。
【0040】
さらに、プログラムの複数の部分を可変としておき、その後、固定として良い部分ができた場合には、その部分のみを固定とすることも可能である。この場合に、プログラム可変用のファイルとCADツール用のファイルとが同一のフォーマットであるので、いったん完成したプログラムを修正・補完した際に作成したファイルを、CADツール側から読み出して、CADツールで利用していた他の設計結果保存用のファイルの内容と組み合わせることにより、プログラムで修正・補完した内容を取り込んだ設計結果を、CADツールからプログラムに再度変換することもできる。
【0041】
また、可変型プログラム生成手段8が、プログラムの固定部分と可変部分の両方を生成するように構成することもできる。この場合には、固定型プログラム変換手段7からの出力との合成処理は不要となる。
【0042】
なお、本発明のシステム構築方法に係る処理は、コンピュータプログラムがコンピュータを制御することによって実現され、このプログラムは記録媒体に記録されて提供される。
【0043】
【発明の効果】
以上のように本発明によれば、単一のツールで、高速かつ柔軟な処理を可能としたシステム構築装置、システム構築方法及びシステム構築プログラムを記録した媒体を提供することができる。
【図面の簡単な説明】
【図1】本発明によるシステム構築装置の一実施形態の構成を示すブロック図
【図2】(A)、(B)は、システム設計の一例を示す図、(C)は、設計結果ファイルに保存されたシステムの設計結果データの一例を示す図
【図3】固定型プログラム生成モードにおいて、システムSの設計結果をソースコードに変換した後の、固定型プログラムのイメージを示す図
【図4】可変型プログラム生成モードにおいて、システムSの設計結果をソースコードに変換した後の、可変型プログラムのイメージを示す図であって、(A)は固定型プログラム変換手段による変換部分、(B)は可変型プログラム生成手段による変換部分を示す図
【符号の説明】
1…システム構築装置
2…ユーザインタフェース部
3…データ処理部
4…データ格納部
5…保存手段
6…再現手段
7…固定型プログラム変換手段
8…可変型プログラム生成手段
9…設計結果ファイル
10…固定型プログラム
11…可変型プログラム
SDD…システム設計データ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a system construction apparatus and a system construction method, and more particularly to a system construction apparatus and a system construction method improved to enable high-speed and flexible processing with a single tool.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, systems designed using a CAD (Computer Aided Design) tool are roughly classified into the following two types of implementation modes. That is, the first mode of realization is generally called a fixed-type program, and converts a design result into a program described in a predetermined program language (for example, C ++ language). This mode of implementation generally allows high-speed processing, depending on the language employed. However, when it is desired to change the system settings, there is a disadvantage that the entire system must be corrected again by the CAD tool and converted again.
[0003]
On the other hand, the second mode of implementation is generally called a variable program, and outputs a design result as a data file for an execution program separately prepared in advance. In this embodiment, the execution program reads and analyzes the data file to reproduce the design result therein.
In this case, the setting can be changed without re-conversion by replacing the data file.However, since the execution program needs to be created for general use, the program size becomes large, and the execution speed becomes slow. There was a disadvantage of becoming.
[0004]
[Problems to be solved by the invention]
Conventionally, a system construction apparatus such as a CAD tool usually provides only one of a fixed program and a variable program. You had to choose a tool depending on which one you wanted to focus on.
[0005]
On the other hand, in order to enable the above two forms of implementation for the same system, two types of tools that can create each of a fixed program and a variable program had to be prepared. . Moreover, in this case, data compatibility between different tools is often not guaranteed, so that a design work is required for each tool.
[0006]
In addition, there are the following problems as a CAD tool for creating a variable program. That is, in the variable program, as described above, the execution program reads the design result as a data file, but the format of the data file read by this program differs from the format of the file used by the CAD tool itself when designing the program. Was. Therefore, the data file read by the execution program cannot be created or modified using a CAD tool for program design, and a dedicated tool is required.
[0007]
For example, when a fuzzy inference system or the like is made by a CAD tool, a method is used in which rules are made variable, and a rule part is created later by using a special tool.
However, in this case, as a file structure when a system is created or saved by the CAD tool, a format suitable for the CAD tool is used. On the other hand, after the system is completed, a file structure of a variable portion created by a dedicated tool is used. As a result, a format suitable for the dedicated tool was used.
[0008]
The reason is that many operations are required to build a system with a CAD tool, and a file structure suitable for such many processes is used. It is because high-speed and operability are required to correct and complement the format, and a format specialized for each program is easier to use.
[0009]
As described above, two types of tools must be prepared in order to make the above-mentioned two realization modes possible in the conventional system construction apparatus, and the file structure is different for each tool. Could not be shared, and the versatility as a CAD tool was poor.
[0010]
SUMMARY OF THE INVENTION The present invention has been proposed to solve the above-described problems of the related art, and an object of the present invention is to provide a system construction apparatus and a system construction method capable of performing high-speed and flexible processing with a single tool. And a medium recording a system construction program.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, a system construction apparatus according to claim 1 changes fixed program conversion means for converting a design result of a design target system into a predetermined processing program, and changes a setting of the design target system. Having a variable program generating means for generating a variable program having a variable section forIn a system construction apparatus which is capable of selectively starting the fixed program conversion means or the variable program generation means according to a fixed program generation mode or a variable program generation mode, the fixed program conversion means comprises: It has a function of converting the design result of the design target system into a predetermined program language, and when the fixed program generation mode is designated, all the design results of the design target system are converted into source code in a predetermined program language. Convert, output the conversion result as a fixed program, and if the variable program generation mode is specified, replace only the part specified by the user to be a variable program with a description indicating that the setting is variable And other parts are converted to source code in a predetermined programming language Output to the variable-type program generating means, and the variable-type program generating means reads and analyzes a predetermined file for a part of the design result of the design target system which is designated by the user as a variable program. And generating a variable program by combining the generated source code with an output of the source code in the program language converted by the fixed program conversion means. Also, the invention of claim 5 grasps the invention of claim 1 from the viewpoint of a method, and the invention of claim 9 grasps the invention of claim 1 from the viewpoint of a computer-readable recording medium. Things.
[0012]
According to the first, fifth and ninth aspects of the present invention having the above configuration,If it is unlikely that the settings will be changed after the program is installed in the target environment, a fixed program in which all of the system design results are converted into source code can be output according to a user instruction. On the other hand, when there is a high possibility that the setting is changed after the mounting, a variable unit capable of changing the setting after the mounting is generated according to a user's instruction, and a variable program incorporating the variable unit can be output. This makes it possible to selectively output both the fixed program and the variable program with a single tool. In addition, since the user can freely specify the variable setting portion of the system to be designed, it is possible to obtain a conversion program having an appropriate configuration according to the possibility of changing the system after mounting.
[0013]
According to a second aspect of the present invention, in the system construction apparatus according to the first aspect, storage means for recording all or a part of the design result of the design target system as design information based on a predetermined format; And reproducing means for reading and reproducing the data.
According to a sixth aspect of the present invention, the invention of the second aspect is captured from the viewpoint of a method. In the system construction method of the fifth aspect, all or all of the design results of the system to be designed are obtained. The method is characterized by including a storage step of recording part of the design information as design information based on a predetermined format, and a reproduction step of reading and reproducing the design information.
According to the system construction apparatus according to the second aspect and the system construction method according to the sixth aspect having the above-described configuration, all or a part of the design result of the design target system is converted into design information in a predetermined format. Since the design information can be recorded on the recording medium and the design information can be read and reproduced as appropriate, the information recorded on the recording medium by another tool can be used when constructing the system.
[0014]
According to a third aspect of the present invention, in the system construction apparatus according to the second aspect, the variable section has a function of reading the recorded design information.
According to a seventh aspect of the present invention, the invention of the third aspect is grasped from the viewpoint of a method, and in the system construction method of the sixth aspect, the variable section stores the recorded information. It has a function of reading design information.
[0015]
According to the system construction apparatus according to the third aspect and the system construction method according to the seventh aspect having the above-described configuration, the variable part of the variable-type program causes all or part of the design result of the system to be designed to be changed. Predetermined design information can be read from a recording medium recorded as design information in accordance with a user's instruction, and reproduced on a variable program.
Thus, even when the setting is changed after mounting, the data processed by the program can be changed only by rewriting the file without changing the program itself.
[0016]
According to a fourth aspect of the present invention, in the system construction apparatus according to the third aspect, the format of the design information read by the reproducing means is the same as the format of the design information read by the variable part of the variable program. It is characterized by the following.
According to an eighth aspect of the present invention, there is provided the system according to the seventh aspect, wherein the invention according to the fourth aspect is captured from the viewpoint of a method. The format and the format of the design information read by the variable section of the variable program are the same.
[0017]
According to the system construction apparatus according to the fourth aspect and the system construction method according to the eighth aspect, the format of the design information read at the time of constructing the system and the variable part of the variable program are read. Since the format of the design information is the same, the file created when the completed program was modified or supplemented is read out when building the system, and combined with other design results, the contents modified and supplemented by the program Can be converted into a program again. In addition, since the same system construction device can also supplement the variable part of the variable program, both the construction of the program and the correction / supplement can be performed by one device.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.
Each function of the embodiment described below is realized by predetermined software controlling a computer and peripheral devices. In this specification, the invention and the embodiment are referred to as each function and each processing. In the description, a virtual circuit block such as “-means” corresponding to “. Therefore, each hardware element and each software element do not correspond one-to-one to each block.
[0019]
[1. First Embodiment]
[1-1. Constitution]
FIG. 1 is a functional block diagram illustrating a configuration of the system construction device 1 according to the first embodiment. That is, in FIG. 1, reference numeral 2 denotes a user interface unit, which includes means necessary for a user to design a system, for example, a display device such as a CRT display and an input device such as a keyboard.
The system construction apparatus 1 is configured to exchange information with a user via the user interface unit 2, and a designation of a “fixed program generation mode” or a “variable program generation mode”, which will be described later, This is performed via the user interface unit 2.
[0020]
Next, when the user designs a desired system via the user interface unit 2, the data processing unit 3 analyzes information input by the user and executes processing such as processing of the input design information. Then, the processing result is stored in the data storage unit 4 as system design data (SDD).
Further, the data processing unit 3 reads out the system design data stored in the data storage unit 4 and responds to a request from the user interface unit 2 to each unit (the user interface unit 2, the storage unit 5, reproducing means 6, fixed type program converting means 7, and variable type program generating means 8).
[0021]
The storage unit 5 outputs the system design data read from the data storage unit 4 to a design result file 9 in a predetermined format.
On the other hand, the reproducing means 6 reads out the system design data recorded in the design result file 9 in a predetermined format and reproduces it in the data storage unit 4.
[0022]
The fixed program conversion means 7 has a function of converting the system design data read from the data storage unit 4 into a predetermined program language, and when the fixed program generation mode is designated, All of the system design data is converted into a source code, and the conversion result is output to the outside of the system construction device 1 as a fixed program 10.
On the other hand, when the variable program generation mode is specified, only the portion designated by the user to be a variable program is replaced with a description indicating that the setting is variable, and the other portions are sourced in a predetermined programming language. It is converted into a code and output to the variable program generation means 8.
[0023]
Next, the variable program generation means 8 generates, as a file reading section, a source code having an instruction to read and analyze a predetermined file for a portion designated by the user as a variable program, The output is combined with the output of the means 7 and output as a variable program 11 outside the system construction apparatus 1.
[0024]
[1-2. Action]
The system construction apparatus of the present embodiment having the above-described configuration operates as described below.
Here, the system S to be created by the user is composed of four subsystems S1, S21, S22 and S23 as shown in FIG. 2 (A), of which S21, S22 and S23 Represents a single set of functions. Note that there is no clear distinction between the above “system” and “subsystem”, both of which receive input from the outside, execute predetermined processing from this input and the internal setting conditions, Outputs the processing result.
[0025]
[1-2-1. System configuration and design]
As described above, in the system S shown in FIG. 2A, the part including the subsystems S21, S22, and S23 represents one integrated function as a whole. Can be considered. That is, as shown in FIG. 2B, the system S includes subsystems S1 and S2, and the subsystem S2 has a hierarchical structure and stores subsystems S21, S22, and S23. You can also. In this case, the hierarchy of the subsystems S1 and S2 is called "level 1", and the hierarchy of the subsystems S21, S22, and S23 is called "level 2".
[0026]
In the system construction device 1 of the present embodiment, the system S can be designed in either of the formats shown in FIGS. 2A and 2B. In the system construction apparatus 1 having a GUI (graphical user interface), an independent window can be provided for each hierarchy of the system to be designed.
Here, it is assumed that the system is designed in the format shown in FIG.
[0027]
[1-2-2. Saving design results]
When a system is constructed using this apparatus, the design data created during the system construction is stored in the design result file 9 by the storage unit 5 in a predetermined format. At this time, the following information is described in each design result file 9.
(1) Subsystem connection definition: Connection relationship between subsystems defined in the same hierarchy (signal flow)
(2) Each subsystem internal definition: Internal setting information for each subsystem defined in the same hierarchy
There are the following three types of descriptions of internal settings used in this (2) subsystem internal definition.
(A) Recursive description... When a subsystem is made up of a group of other subsystems like the subsystem S2 in FIG. 2A, the subsystem connection definition and each Subsystem internal definitions can be employed.
(B) Detailed description of function: type of processing function uniquely given to the subsystem and setting conditions necessary for executing the processing function are described.
(C) Hierarchical information description... When the file itself has a hierarchical structure and its detailed definition is made in another file as in the subsystem S2 in FIG. 2B, the location of the file is described. .
[0028]
When the system S is designed as shown in FIG. 2B, the design result files 9 are generated by the number of layers included in the system S as shown in FIG. 2C. That is, the design result of the system S is stored in the two design result files “defle1” and “deffile2”. It should be noted that level 1 corresponds to "defle1", and level 2 corresponds to "defle2".
[0029]
Here, the design results of the system S stored in the two design result files (defile1, difffile2) shown in FIG. 2C will be described. That is, defle1 (level 1) describes a subsystem connection definition representing a signal flow of input → S1 → S2 → output and internal settings of the subsystems S1 and S2. In this case, the hierarchical information description is made as the subsystem S2 definition, and the location of the design result file "deffile2" in which the detailed design information of the subsystem S2 is described is shown.
On the other hand, define2 (level 2) describes a subsystem connection definition indicating a signal flow of input → (S21, S22, S23) → output, and internal settings of each of the subsystems S21, S22, S23.
[0030]
[1-2-3. Reproduction of design result]
When resuming system construction or generating a program from a completed system, the system construction apparatus 1 receives a command from a user to read design information of the system S, and performs design via the reproduction means 6. By reading and analyzing the result files “deffile1” and “deffile2”, the design results can be reproduced in the data storage unit 4 in the system construction apparatus 1.
[0031]
[1-2-4. Conversion of design results to source code]
In order to implement the function of the system S designed on the system construction apparatus 1 in a target environment, it is necessary to convert system design data into a processing program. In this case, the system construction device 1 of the present embodiment has two modes for converting a design result into a source code. That is, the first mode is a fixed type program generation mode, and the second mode is a variable type program generation mode. These two modes are configured so that the user can specify them via the user interface unit 2.
Here, the result of conversion into the processing program indicates a source code in a predetermined program language (for example, C ++ language), but the same applies to other formats, for example, executable binary code.
[0032]
[A. Generate Fixed Program]
If the design result of the system S is reliable and the possibility of changing the setting after mounting is low, the user selects the fixed program generation mode for the system construction apparatus 1 via the user interface unit 2. The data processing unit 3 designates the entire system S in response thereto and activates the fixed program conversion means 7, converts all the design results of the system S into source code, and obtains the fixed program 10. Further, the user gives the conversion result to a separately prepared compiler or the like to re-convert the conversion result into an executable format, and implements the conversion in a target environment.
FIG. 3 shows an image after the conversion by the fixed-type program conversion means 7.
[0033]
[B. Generating a variable program]
On the other hand, when there is a high possibility that the setting is changed after the system S is mounted, the user selects the variable-type program generation mode and converts the design result into the source code. That is, the user designates a set of subsystems that are desired to be variable after mounting via the user interface unit 2, and then selects the variable program generation mode.
[0034]
For example, assume that the user wants to make the subsystem S2 variable. In this case, the data processing unit 3 activates the fixed program conversion means 7 by designating that the subsystem S2 is variable. The fixed-type program conversion means 7 outputs the source code of the fixed-type program to the variable-type program generation means 8, replacing only the part of the subsystem S2 with a description indicating that the setting is variable.
On the other hand, the data processing unit 3 activates the variable program generation means 8 by designating the subsystem S2. The variable-type program generating means 8 generates a source code having a function of reading and analyzing the design result file “deffile2” of the subsystem S2 as a file reading unit, synthesizes the source code with the output of the fixed-type program converting means 7, and The program 11 is output.
[0035]
In the present embodiment, the file reading unit of the variable program 11 is configured by incorporating the source program of the reproducing means 6 of the system construction apparatus 1 at a predetermined position of the variable program.
In addition, when the setting variable portion is specified, a part of the system to be designed can be specified, and when the system to be designed has a hierarchical structure, it can be performed for each hierarchy.
FIG. 4 shows an image of the variable program 11 output by the variable program generating means 8.
[0036]
[1-3. effect]
According to the system construction apparatus 1 of the present embodiment, it is possible to selectively output both fixed programs and variable programs with a single tool.
In addition, since the user can freely specify the variable setting portion of the system to be designed, it is possible to obtain a conversion program having an appropriate configuration according to the possibility of changing the system after mounting.
Further, since the setting variable portion is only instructed to read a file, the data processed by the program can be changed only by rewriting the file without changing the program itself.
[0037]
Further, since the file reading unit incorporated in the variable-type program has the same function as the reproducing unit 6 provided in the system construction apparatus 1, the definition of the subsystem S2 is defined by the file "deffile2" which is the design result file 9 of the system construction apparatus 1. Can be used as is. As a result, even after the variable program is implemented in the target environment, unless the definition in defle1 (that is, the definition of level 1) changes, the subsystem S2 (that is, in level 2) on the system construction apparatus 1 does not change. The design can be freely changed, and by reading the changed file, the design can be changed without re-conversion.
[0038]
[2. Other Embodiments]
The present invention is not limited to the embodiments described above, and the following aspects can be considered.
That is, in the above embodiment, the design result file 9 handled by the system construction apparatus 1 is used as it is as the definition file read by the variable program 11, but the present invention is not limited to this. A format definition file may be adopted. However, in this case, it is necessary that the reproducing means 6 in the system construction apparatus 1 and the file reading unit in the variable program 11 be functionally equivalent but have different processing. As a result, it is possible to prevent the specification of the variable setting part of the system from depending on the hierarchical structure of the system designed by the system construction apparatus 1.
[0039]
Further, in the above embodiment, the variable program generation means 8 incorporates the source program of the reproduction means 6 into the variable program 11, but the reproduction means 6 is realized as a library, and the system construction apparatus 1 and the variable This may be configured to be linked from both of the type programs 11. In this case, the source program of the reproducing means 6 becomes unnecessary.
[0040]
Further, it is also possible to make a plurality of portions of the program variable and then, when a portion that can be fixed is created, fix only that portion. In this case, since the file for changing the program and the file for the CAD tool have the same format, the file created when the completed program has been corrected or supplemented is read from the CAD tool side, and is read by the CAD tool. By combining it with the contents of another design result storage file used, the design results obtained by taking in the contents modified / supplemented by the program can be converted again from the CAD tool into the program.
[0041]
Further, the variable program generation means 8 may be configured to generate both the fixed part and the variable part of the program. In this case, the synthesizing process with the output from the fixed type program conversion means 7 becomes unnecessary.
[0042]
The processing according to the system construction method of the present invention is realized by a computer program controlling a computer, and this program is provided by being recorded on a recording medium.
[0043]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a system construction apparatus, a system construction method, and a medium recording a system construction program, which enable high-speed and flexible processing with a single tool.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of a system construction apparatus according to the present invention.
2A and 2B are diagrams illustrating an example of a system design, and FIG. 2C is a diagram illustrating an example of system design result data stored in a design result file;
FIG. 3 is a diagram showing an image of a fixed program after a design result of the system S is converted into a source code in a fixed program generation mode.
FIG. 4 is a diagram showing an image of a variable program after converting a design result of a system S into a source code in a variable program generation mode, wherein FIG. (B) is a diagram showing a conversion part by the variable program generation means.
[Explanation of symbols]
1. System construction equipment
2 ... User interface
3. Data processing unit
4: Data storage unit
5. Storage means
6 ... Reproduction means
7: Fixed type program conversion means
8. Variable program generation means
9 Design file
10. Fixed program
11 ... Variable program
SDD: System design data

Claims (10)

設計対象システムの設計結果を所定の処理プログラムに変換する固定型プログラム変換手段と、前記設計対象システムの設定を変更するための可変部を有する可変型プログラムを生成する可変型プログラム生成手段を有し、固定型プログラム生成モードあるいは可変型プログラム生成モードに応じて、前記固定型プログラム変換手段あるいは可変型プログラム生成手段を選択的に起動できるようにしたシステム構築装置において、
前記固定型プログラム変換手段は、前記設計対象システムの設計結果を所定のプログラム言語に変換する機能を有し、固定型プログラム生成モードが指定された場合には、前記設計対象システムの設計結果をすべてを所定のプログラム言語によるソースコードに変換し、変換結果を固定型プログラムとして出力し、可変型プログラム生成モードが指定された場合には、ユーザが可変プログラムとするよう指定した部分のみ、その設定を可変とすることを示す記述に置き換え、他の部分は所定のプログラム言語によるソースコードに変換して、可変型プログラム生成手段に出力し、
前記可変型プログラム生成手段は、前記設計対象システムの設計結果のうちユーザが可変プログラムとするよう指定した部分について、所定のファイルを読み込み・解析する命令を有するソースコードを生成し、前記固定型プログラム変換手段が変換した前記プログラム言語によるソースコードの出力と合成して、可変型プログラムを出力することを特徴とするシステム構築装置。
A fixed program conversion unit that converts a design result of the design target system into a predetermined processing program; and a variable program generation unit that generates a variable program having a variable unit for changing the setting of the design target system. In a system construction apparatus which can selectively activate the fixed program conversion means or the variable program generation means according to a fixed program generation mode or a variable program generation mode,
The fixed program conversion means has a function of converting a design result of the design target system into a predetermined program language, and when the fixed program generation mode is designated, all the design results of the design target system are converted. Is converted into source code in a predetermined programming language, and the conversion result is output as a fixed-type program. When the variable-type program generation mode is specified, only the setting specified by the user as a variable program is changed. Replaced with a description indicating that it is variable, the other parts are converted to source code in a predetermined programming language, and output to the variable-type program generation means,
The variable program generation means generates a source code having an instruction to read and analyze a predetermined file for a part of the design result of the design target system which is designated by the user as a variable program, and A system construction apparatus which combines a source code output by the conversion means with the source code in the program language and outputs a variable program .
設計対象システムの設計結果のすべてまたは一部を、設計情報として所定のフォーマットに基づいて記録する保存手段と、前記設計情報を読み込み、再現する再現手段を備えたことを特徴とする請求項1記載のシステム構築装置。2. A storage device for recording all or a part of the design result of the design target system as design information based on a predetermined format, and a reproducing device for reading and reproducing the design information. System construction equipment. 前記可変部が、前記記録された設計情報を読み込む機能を有することを特徴とする請求項2記載のシステム構築装置。3. The system construction apparatus according to claim 2, wherein the variable unit has a function of reading the recorded design information. 前記再現手段が読み込む設計情報のフォーマットと、前記可変型プログラムの可変部が読み込む設計情報のフォーマットとが同一であることを特徴とする請求項3記載のシステム構築装置。4. The system construction apparatus according to claim 3, wherein the format of the design information read by the reproducing means is the same as the format of the design information read by the variable part of the variable program. 設計対象システムの設計結果を所定の処理プログラムに変換する固定型プログラム変換ステップと、前記設計対象システムの設定を変更するための可変部を有する可変型プログラムを生成する可変型プログラム生成ステップを有し、固定型プログラム生成モードあるいは可変型プログラム生成モードに応じて、前記固定型プログラム変換ステップあるいは可変型プログラム生成ステップを選択的に起動するステップを備えたシステム構築方法において、
前記固定型プログラム変換ステップは、固定型プログラム生成モードが指定された場合には、前記設計対象システムの設計結果をすべてを所定のプログラム言語によるソースコードに変換し、変換結果を固定型プログラムとして出力し、可変型プログラム生成モードが指定された場合には、ユーザが可変プログラムとするよう指定した部分のみ、その設定を可変とすることを示す記述に置き換え、他の部分は所定のプログラム言語によるソースコードに変換し、
前記可変型プログラム生成ステップは、前記設計対象システムの設計結果のうちユーザが可変プログラムとするよう指定した部分について、所定のファイルを読み込み・解析する命令を有するソースコードを生成し、前記固定型プログラム変換手段が変換した前記プログラム言語によるソースコードの出力と合成して、可変型プログラムを出力することを特徴とするシステム構築方法。
A fixed program conversion step of converting a design result of the design target system into a predetermined processing program; and a variable program generation step of generating a variable program having a variable unit for changing the setting of the design target system. A system construction method comprising a step of selectively starting the fixed program conversion step or the variable program generation step according to a fixed program generation mode or a variable program generation mode,
When the fixed program generation mode is designated, the fixed program conversion step converts all the design results of the design target system into source code in a predetermined program language, and outputs the conversion results as a fixed program. If the variable program generation mode is specified, only the part specified by the user as a variable program is replaced with a description indicating that the setting is variable, and the other parts are sourced in a predetermined programming language. Convert to code
The variable program generating step generates a source code having an instruction to read and analyze a predetermined file for a part of the design result of the design target system specified by the user as a variable program, and A method for constructing a system , comprising: combining with output of a source code in the program language converted by a conversion unit to output a variable program .
設計対象システムの設計結果のすべてまたは一部を、設計情報として所定のフォーマットに基づいて記録する保存ステップと、前記設計情報を読み込み、再現する再現ステップを含むことを特徴とする請求項5記載のシステム構築方法。6. The method according to claim 5, further comprising a storing step of recording all or a part of the design result of the system to be designed as design information based on a predetermined format, and a reproducing step of reading and reproducing the design information. System construction method. 前記可変部が、前記記録された設計情報を読み込む機能を有することを特徴とする請求項6記載のシステム構築方法。7. The system construction method according to claim 6, wherein the variable unit has a function of reading the recorded design information. 前記再現ステップにおいて読み込まれる設計情報のフォーマットと、前記可変型プログラムの可変部が読み込む設計情報のフォーマットとが同一であることを特徴とする請求項7記載のシステム構築方法。8. The system construction method according to claim 7, wherein the format of the design information read in the reproducing step is the same as the format of the design information read by the variable part of the variable program. システム構築プログラムを記録した媒体であって、
前記プログラムが、設計対象システムの設計結果を所定の処理プログラムに変換する固定型プログラム変換ステップと、前記設計対象システムの設定を変更するための可変部を有する可変型プログラムを生成する可変型プログラム生成ステップを有し、固定型プログラム生成モードあるいは可変型プログラム生成モードに応じて、前記固定型プログラム変換ステップあるいは可変型プログラム生成ステップを選択的に起動するステップを備え、
前記固定型プログラム変換ステップは、固定型プログラム生成モードが指定された場合には、前記設計対象システムの設計結果をすべてを所定のプログラム言語によるソースコードに変換し、変換結果を固定型プログラムとして出力し、可変型プログラム生成モードが指定された場合には、ユーザが可変プログラムとするよう指定した部分のみ、その設定を可変とすることを示す記述に置き換え、他の部分は所定のプログラム言語によるソースコードに変換し、
前記可変型プログラム生成ステップは、前記設計対象システムの設計結果のうちユーザが可変プログラムとするよう指定した部分について、所定のファイルを読み込み・解析する命令を有するソースコードを生成し、前記固定型プログラム変換手段が変換した前記プログラム言語によるソースコードの出力と合成して、可変型プログラムを出力するステップを含むことを特徴とするシステム構築プログラムを記録した媒体。
A medium recording a system construction program,
A fixed program conversion step of converting a design result of the design target system into a predetermined processing program, and a variable program generation generating a variable program having a variable unit for changing settings of the design target system Comprising a step of selectively activating the fixed program conversion step or the variable program generation step according to a fixed program generation mode or a variable program generation mode,
When the fixed program generation mode is designated, the fixed program conversion step converts all the design results of the design target system into source code in a predetermined program language, and outputs the conversion results as a fixed program. If the variable program generation mode is specified, only the part specified by the user as a variable program is replaced with a description indicating that the setting is variable, and the other parts are sourced in a predetermined programming language. Convert to code
The variable program generating step generates a source code having an instruction to read and analyze a predetermined file for a part of the design result of the design target system specified by the user as a variable program, and A medium for recording a system construction program, comprising a step of combining the output with a source code in the program language converted by the conversion means and outputting a variable program .
前記プログラムが、設計対象システムの設計結果のすべてまたは一部を、設計情報として所定のフォーマットに基づいて記録させる保存ステップと、前記設計情報を読み込ませ、再現させる再現ステップを含むことを特徴とする請求項9記載のシステム構築プログラムを記録した媒体。The program includes a storage step of recording all or a part of the design result of the design target system as design information based on a predetermined format, and a reproduction step of reading and reproducing the design information. A medium on which the system construction program according to claim 9 is recorded.
JP26594497A 1997-09-30 1997-09-30 System construction apparatus, system construction method, and medium recording system construction program Expired - Fee Related JP3570870B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26594497A JP3570870B2 (en) 1997-09-30 1997-09-30 System construction apparatus, system construction method, and medium recording system construction program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26594497A JP3570870B2 (en) 1997-09-30 1997-09-30 System construction apparatus, system construction method, and medium recording system construction program

Publications (2)

Publication Number Publication Date
JPH11110201A JPH11110201A (en) 1999-04-23
JP3570870B2 true JP3570870B2 (en) 2004-09-29

Family

ID=17424257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26594497A Expired - Fee Related JP3570870B2 (en) 1997-09-30 1997-09-30 System construction apparatus, system construction method, and medium recording system construction program

Country Status (1)

Country Link
JP (1) JP3570870B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0766342B2 (en) * 1985-11-12 1995-07-19 オムロン株式会社 Program test equipment

Also Published As

Publication number Publication date
JPH11110201A (en) 1999-04-23

Similar Documents

Publication Publication Date Title
JPWO2004079583A1 (en) Data transfer control device and DMA data transfer control method
JP2004102500A (en) Gui application development supporting device and method and computer program
JP2004102498A (en) Gui application development supporting device, gui display device and method, and its computer program
JP2006301989A (en) Method, apparatus and program for automatically generating program in computer language from block diagram
JP3570870B2 (en) System construction apparatus, system construction method, and medium recording system construction program
JP2008204341A (en) Interface composite device
JP3330122B2 (en) Function-variable DSP program creation device, DSP program creation method, recording medium recording DSP program creation program, and DSP device
JP2659264B2 (en) Command option specification processor
JP2669387B2 (en) Database driven automatic program generation system
JP2845875B2 (en) Defined object creation processing device
JPH0954688A (en) Gui design supporting method
JP3114884B2 (en) Fuzzy inference processing compilation system
JP3041919B2 (en) Program combination processor
JPH10228492A (en) Cad system
JP2000181695A (en) Device and method for managing software part updating and recording medium
JP2000268160A (en) Image computation device and method, program supply medium for supplying image computing program and recording medium
JP2002287981A (en) Program preparing device and method and program
JPH04178836A (en) Format editing processing system
JP2007133772A (en) Device, method and program for generating object-oriented program
JP2004013483A (en) Information processing method and control method thereof
JP2001216339A (en) Integrated process rtl description generation system
JPH09101899A (en) Processing system for procedure
JP2000137637A (en) Picture processor, picture processing method and computer readable memory
JPH04153759A (en) Development system for network defining program
JP2004038319A (en) Program source code generation method and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040316

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040517

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040615

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040622

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees