JP2007183785A - Program tree display method, program generation device, and program generation program - Google Patents

Program tree display method, program generation device, and program generation program Download PDF

Info

Publication number
JP2007183785A
JP2007183785A JP2006001182A JP2006001182A JP2007183785A JP 2007183785 A JP2007183785 A JP 2007183785A JP 2006001182 A JP2006001182 A JP 2006001182A JP 2006001182 A JP2006001182 A JP 2006001182A JP 2007183785 A JP2007183785 A JP 2007183785A
Authority
JP
Japan
Prior art keywords
program
tree
node
data flow
generation
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.)
Granted
Application number
JP2006001182A
Other languages
Japanese (ja)
Other versions
JP4848772B2 (en
Inventor
Hirokazu Tokuda
寛和 徳田
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Holdings 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 Fuji Electric Holdings Ltd filed Critical Fuji Electric Holdings Ltd
Priority to JP2006001182A priority Critical patent/JP4848772B2/en
Publication of JP2007183785A publication Critical patent/JP2007183785A/en
Application granted granted Critical
Publication of JP4848772B2 publication Critical patent/JP4848772B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To display a program element having a data flow and an external program as one program tree in a program tree display method. <P>SOLUTION: A node storage means 1a stores nodes corresponding to the types of program elements. A tree generation means 1b connects nodes corresponding to program elements having a program element having a data flow showing the flow of processing and a program element having a data flow showing the flow of processing in a low order in a tree-form to generate a program tree showing a hierarchical structure between the program elements. An external program setting means 1c sets the external program as a program element which does not have any data flow as a node for the program tree generated by the tree generation means 1b. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プログラムツリー表示方法、プログラム生成装置、およびプログラム生成プログラムに関し、特にプログラムの構成要素であるプログラム要素をツリーの各ノードとしてプログラムをツリー状に表すプログラムツリー表示方法、およびプログラムの構成要素であるプログラム要素を結合することによってプログラムを生成するプログラム生成装置、およびプログラム生成プログラムに関する。   The present invention relates to a program tree display method, a program generation device, and a program generation program, and in particular, a program tree display method for representing a program in a tree shape by using program elements as program components as nodes of the tree, and program components The present invention relates to a program generation device that generates a program by combining program elements, and a program generation program.

従来から、プログラムを開発する方法として、テキストエディタを使用してC言語などのテキストベースの言語でプログラムを記述し、コンパイラなどのツールを使用してコンピュータが処理できる形式のロードモジュールに変換する方法が知られている。   Conventionally, as a method of developing a program, a program is described in a text-based language such as C language using a text editor, and converted into a load module in a format that can be processed by a computer using a tool such as a compiler. It has been known.

上記の方法では、プログラムを作成すると同時にドキュメントを別途製作することが多く、この別途製作されたドキュメントは視覚的に把握しやすいように図形を多用した形式で記載されることが多い。   In the above-described method, a document is often produced separately at the same time as creating a program, and this separately produced document is often described in a form using many figures so that it can be easily grasped visually.

こうして製作されたドキュメントは、プログラムとは1対1で対応している。また、図形ベースのドキュメントからC言語などのテキストベースプログラムへ変換する操作には機械的な操作が多くあり、操作実行中に人的誤りが含まれてしまうことが多い。そのため、この操作に費やす時間や間違いが問題視されてきた。   The document thus produced has a one-to-one correspondence with the program. Further, there are many mechanical operations for converting a figure-based document into a text-based program such as C language, and human errors are often included during the operation. Therefore, the time and mistakes spent on this operation have been regarded as problems.

そこで、図形ベースのドキュメントをテキストベースのプログラムに自動的に変換し、これらの時間の浪費や、人的誤りの混入を防止するシステムが開発されてきた。たとえば、プログラムを複数の図面で表現し、そのデータからソースコードを生成するプログラミング装置が提案されている(特許文献1参照)。図式を用いて記述したプログラムから、テキスト型のプログラミング言語を生成するプログラミング方法が提案されている(特許文献2参照)。   Therefore, systems have been developed that automatically convert figure-based documents into text-based programs and prevent these waste of time and human error. For example, there has been proposed a programming device that expresses a program in a plurality of drawings and generates a source code from the data (see Patent Document 1). A programming method for generating a text-type programming language from a program described using a diagram has been proposed (see Patent Document 2).

また、データフロー図とスケジュール表から、プログラム作成を行うプログラム装置が提案されている(特許文献3参照)。データフロー図を用いて記述したプログラムコードを生成するソフトウェア開発方式が提案されている(特許文献4参照)。プログラムを階層的な図的表現で表現するソフトウェア設計・試験支援装置が提案されている(特許文献5参照)。   Further, a program device for creating a program from a data flow diagram and a schedule table has been proposed (see Patent Document 3). A software development method for generating a program code described using a data flow diagram has been proposed (see Patent Document 4). A software design / test support apparatus that represents a program in a hierarchical graphical representation has been proposed (see Patent Document 5).

ところで、このような図式プログラムにおいては、上述の機械的操作や人的誤りの軽減というメリットがあるものの、図で記述するのにそぐわないアルゴリズムを記述しようとすると不都合が生じるというデメリットも併せ持っている。   By the way, although such a diagrammatic program has the merits of the above-described mechanical operation and reduction of human error, it has a demerit that an inconvenience arises when trying to describe an algorithm that is not suitable for description in the figure.

たとえば、データフロー図は、信号の流れなどを記述するのには非常に便利であるが、繰り返しループなどの制御構造を記述するのには困難がある。
そのため、複数の手段により製作したプログラムを結合してプログラムを作成する方法が提案されている。たとえば、入力と出力とだけに限定して他のモジュールと関連づけることによってプログラムを作成するプログラム作成支援方法が提案されている(特許文献6参照)。
For example, a data flow diagram is very convenient for describing a signal flow and the like, but it is difficult to describe a control structure such as an iterative loop.
Therefore, a method for creating a program by combining programs produced by a plurality of means has been proposed. For example, a program creation support method has been proposed in which a program is created by associating other modules with only input and output (see Patent Document 6).

また、プログラムが自動生成される第1領域と、それ以外のプログラムである第2領域にわけて取り扱うソフトウエア開発支援システムが提案されている(特許文献7参照)。複数の手段で製作されたプログラムを統一的な形式の中間オブジェクトに変換してから、組み合わせて1つのプログラムにまとめるシーケンスプログラム生成方法が提案されている(特許文献8参照)。
特開平10−307716号公報 特開平8−55019号公報 特許第3007248号公報 特開昭63−219036号公報 特開平10−171641号公報 特開平4−102919号公報 特開2000−89945号公報 特開2000−227854号公報
In addition, a software development support system has been proposed that handles a first area where a program is automatically generated and a second area that is another program (see Patent Document 7). There has been proposed a sequence program generation method in which a program produced by a plurality of means is converted into an intermediate object of a unified format and then combined into one program (see Patent Document 8).
JP-A-10-307716 JP-A-8-55019 Japanese Patent No. 3007248 JP 63-219036 A Japanese Patent Laid-Open No. 10-171641 Japanese Patent Laid-Open No. 4-102919 JP 2000-89945 A JP 2000-227854 A

しかし、上記特許文献6記載のプログラム作成支援方法では、入出力インタフェースのみで関連づけられており、他のモジュールの持つ変数などの他の情報を、図式プログラムの製作装置内部のプログラムと同じように利用することができなかった。したがって、統一的なプログラム製作手法にのっとってプログラムを製作することができなかった。   However, in the program creation support method described in Patent Document 6 described above, it is related only by the input / output interface, and other information such as variables of other modules is used in the same manner as the program inside the schematic program production apparatus. I couldn't. Therefore, the program could not be produced according to the unified program production method.

また、上記特許文献8記載のシーケンスプログラム生成方法では、中間オブジェクトの段階で結合可能となるため、プログラマがプログラムを作成している段階では、統一的なプログラム製作手法にのっとってプログラムを製作することができなかった。   Further, in the sequence program generation method described in Patent Document 8 above, since it can be combined at the intermediate object stage, at the stage where the programmer is creating the program, the program is produced according to a unified program production technique. I could not.

また、上記特許文献7記載のソフトウエア開発支援システムでは、既存のプログラムと図式プログラムからの自動生成結果が1つのファイルに合成されてしまい、既存のプログラムを改変せずに再利用することができず、再利用によるテスト工程の低減のメリットを得ることができなかった。   Further, in the software development support system described in Patent Document 7, the automatic generation result from the existing program and the schematic program is combined into one file, and the existing program can be reused without modification. Therefore, the merit of reducing the test process by reuse could not be obtained.

本発明はこのような点に鑑みてなされたものであり、データフローを持つプログラム要素と、外部プログラムを1つのプログラムツリーで表示することが可能なプログラムツリー表示方法を提供することを目的とする。   The present invention has been made in view of these points, and an object thereof is to provide a program tree display method capable of displaying a program element having a data flow and an external program in a single program tree. .

また、本発明の他の目的は、外部プログラムをデータフローに変換することなくデータフローを持つプログラム要素とともにプログラミングを行うことが可能なプログラム生成装置を提供することである。   Another object of the present invention is to provide a program generation device capable of programming together with program elements having a data flow without converting the external program into the data flow.

また、本発明の他の目的は、外部プログラムをデータフローに変換することなくデータフローを持つプログラム要素とともにプログラミングを行うことが可能なプログラム生成プログラムを提供することである。   Another object of the present invention is to provide a program generation program capable of programming together with program elements having a data flow without converting the external program into the data flow.

本発明では上記問題を解決するために、プログラムの構成要素であるプログラム要素をツリーの各ノードとして前記プログラムをツリー状に表すプログラムツリー表示方法において、ノード記憶手段が、前記プログラム要素の種類に応じた前記ノードを記憶するステップと、ツリー生成手段が、処理の流れを表すデータフローを有する前記プログラム要素、もしくは下位に処理の流れを表すデータフローを有する前記プログラム要素を有する前記プログラム要素に対応するノードをツリー状に接続することで、前記プログラム要素間の階層構造を表すプログラムツリーを生成するステップと、外部プログラム設定手段が、前記ツリー生成手段が生成した前記プログラムツリーに対して、前記データフローを持たない前記プログラム要素である外部プログラムを前記ノードとして設定するステップとを含むことを特徴とするプログラムツリー表示方法が提供される。   In the present invention, in order to solve the above-mentioned problem, in a program tree display method for representing the program in a tree shape with each program element being a program component as a node of the tree, the node storage means is adapted to the type of the program element. The step of storing the node and the tree generation means correspond to the program element having a data flow representing a processing flow or the program element having a data flow representing a processing flow at a lower level. A step of generating a program tree representing a hierarchical structure between the program elements by connecting nodes in a tree shape; and an external program setting means for the data flow with respect to the program tree generated by the tree generation means The program element does not have Program tree display method characterized by the part program and a step of setting as the node is provided.

これにより、ノード記憶手段が、プログラム要素の種類に応じたノードを記憶する。ツリー生成手段が、処理の流れを表すデータフローを有するプログラム要素、もしくは下位に処理の流れを表すデータフローを有するプログラム要素を有するプログラム要素に対応するノードをツリー状に接続することで、プログラム要素間の階層構造を表すプログラムツリーを生成する。外部プログラム設定手段が、ツリー生成手段が生成したプログラムツリーに対して、データフローを持たないプログラム要素である外部プログラムをノードとして設定する。   Thereby, the node storage means stores a node corresponding to the type of program element. The tree generation means connects program elements having a data flow representing a processing flow or nodes corresponding to a program element having a data flow representing a processing flow at a lower level in the form of a tree. A program tree representing the hierarchical structure between them is generated. The external program setting means sets an external program, which is a program element having no data flow, as a node for the program tree generated by the tree generation means.

また、本発明では、プログラムの構成要素であるプログラム要素を結合することによって前記プログラムを生成するプログラム生成装置において、前記プログラム要素に応じたノードが記憶されているノード記憶手段と、処理の流れを表すデータフローを有する前記プログラム要素、もしくは下位に処理の流れを表すデータフローを有する前記プログラム要素を有する前記プログラム要素に対応するノードをツリー状に接続することで、前記プログラム要素間の階層構造を表すプログラムツリーを生成するツリー生成手段と、前記ツリー生成手段が生成した前記プログラムツリーに対して、前記データフローを持たない前記プログラム要素である外部プログラムを前記ノードとして設定する外部プログラム設定手段と、前記データフローと、前記外部プログラムとから前記プログラムを生成するプログラム生成手段とを有することを特徴とするプログラム生成装置が提供される。   According to the present invention, in a program generation device that generates the program by combining program elements that are constituent elements of a program, a node storage unit that stores a node corresponding to the program element, and a processing flow By connecting the nodes corresponding to the program elements having the data flow representing the processing flow or the program elements having the data flow representing the processing flow at a lower level in a tree shape, the hierarchical structure between the program elements is represented. A tree generation unit that generates a program tree to be represented; an external program setting unit that sets, as the node, an external program that is the program element that does not have the data flow with respect to the program tree generated by the tree generation unit; The data flow; Program generating device is provided, characterized in that it comprises a program generating unit that generates the program from the Kigaibu program.

これにより、ノード記憶手段が、プログラム要素に応じたノードを記憶する。ツリー生成手段が、処理の流れを表すデータフローを有するプログラム要素、もしくは下位に処理の流れを表すデータフローを有するプログラム要素を有するプログラム要素に対応するノードをツリー状に接続することで、プログラム要素間の階層構造を表すプログラムツリーを生成する。外部プログラム設定手段が、ツリー生成手段が生成したプログラムツリーに対して、データフローを持たないプログラム要素である外部プログラムをノードとして設定する。プログラム生成手段が、データフローと、外部プログラムとからプログラムを生成する。   Thereby, the node storage means stores the node corresponding to the program element. The tree generation means connects program elements having a data flow representing a processing flow or nodes corresponding to a program element having a data flow representing a processing flow at a lower level in the form of a tree. A program tree representing the hierarchical structure between them is generated. The external program setting means sets an external program, which is a program element having no data flow, as a node for the program tree generated by the tree generation means. Program generation means generates a program from the data flow and the external program.

また、本発明では、プログラムの構成要素であるプログラム要素を結合することによって前記プログラムを生成するプログラム生成プログラムにおいて、コンピュータを、前記プログラム要素に応じたノードが記憶されているノード記憶手段、処理の流れを表すデータフローを有する前記プログラム要素、もしくは下位に処理の流れを表すデータフローを有する前記プログラム要素を有する前記プログラム要素に対応するノードをツリー状に接続することで、前記プログラム要素間の階層構造を表すプログラムツリーを生成するツリー生成手段、前記ツリー生成手段が生成した前記プログラムツリーに対して、前記データフローを持たない前記プログラム要素である外部プログラムを前記ノードとして設定する外部プログラム設定手段、前記データフローと、前記外部プログラムとから前記プログラムを生成するプログラム生成手段として機能させることを特徴とするプログラム生成プログラムが提供される。   Further, according to the present invention, in a program generation program that generates the program by combining program elements that are constituent elements of the program, the computer includes a node storage unit in which a node corresponding to the program element is stored, A hierarchy between the program elements by connecting nodes corresponding to the program elements having a data flow representing a flow, or nodes corresponding to the program elements having a data flow representing a processing flow at a lower level. Tree generating means for generating a program tree representing a structure, external program setting means for setting, as the node, an external program that is the program element having no data flow for the program tree generated by the tree generating means; Above And Tafuro, the program generation program for causing to function as a program generation means for generating the program from the external program is provided.

これにより、ノード記憶手段が、プログラム要素に応じたノードを記憶する。ツリー生成手段が、処理の流れを表すデータフローを有するプログラム要素、もしくは下位に処理の流れを表すデータフローを有するプログラム要素を有するプログラム要素に対応するノードをツリー状に接続することで、プログラム要素間の階層構造を表すプログラムツリーを生成する。外部プログラム設定手段が、ツリー生成手段が生成したプログラムツリーに対して、データフローを持たないプログラム要素である外部プログラムをノードとして設定する。プログラム生成手段が、データフローと、外部プログラムとからプログラムを生成する。   Thereby, the node storage means stores the node corresponding to the program element. The tree generation means connects program elements having a data flow representing a processing flow or nodes corresponding to a program element having a data flow representing a processing flow at a lower level in the form of a tree. A program tree representing the hierarchical structure between them is generated. The external program setting means sets an external program, which is a program element having no data flow, as a node for the program tree generated by the tree generation means. Program generation means generates a program from the data flow and the external program.

本発明のプログラムツリー表示方法によれば、データフローを持つプログラム要素と、外部プログラムを1つのプログラムツリーで表示することができるので、データフローを持つプログラム要素と、データフローを持たないプログラム要素を構成要素に含むプログラムのプログラム要素間の階層構造を見ることが可能となる。   According to the program tree display method of the present invention, since a program element having a data flow and an external program can be displayed in one program tree, a program element having a data flow and a program element not having a data flow are displayed. It becomes possible to see the hierarchical structure between program elements of the program included in the constituent elements.

また、本発明のプログラム生成装置によれば、外部プログラムをデータフローに変換することなくデータフローを持つプログラム要素とともにプログラムを生成することができるので、外部プログラムをデータフローに変換することに伴う作業工数が削減できる。したがって、プログラムを生成するためのコストを削減することができる。また、外部プログラムをデータフローに変換するときに発生する作業に伴うミスをなくすことができるので、生成されるプログラムの信頼性を向上することができる。   In addition, according to the program generation device of the present invention, a program can be generated with a program element having a data flow without converting the external program into a data flow. Therefore, work associated with converting an external program into a data flow Man-hours can be reduced. Therefore, the cost for generating the program can be reduced. In addition, since it is possible to eliminate errors associated with work that occurs when an external program is converted into a data flow, the reliability of the generated program can be improved.

また、本発明のプログラム生成プログラムによれば、外部プログラムをデータフローに変換することなくデータフローを持つプログラム要素とともにプログラムを生成することができるので、外部プログラムをデータフローに変換することに伴う作業工数が削減できる。したがって、プログラムを生成するためのコストを削減することができる。また、外部プログラムをデータフローに変換するときに発生する作業に伴うミスをなくすことができるので、生成されるプログラムの信頼性を向上することができる。   In addition, according to the program generation program of the present invention, a program can be generated together with program elements having a data flow without converting the external program into a data flow. Therefore, work associated with converting an external program into a data flow Man-hours can be reduced. Therefore, the cost for generating the program can be reduced. In addition, since it is possible to eliminate errors associated with work that occurs when an external program is converted into a data flow, the reliability of the generated program can be improved.

以下、本発明の実施の形態を図面を参照して詳細に説明する。
図1は、本実施の形態に適用される発明の概念図である。図1に示すように、コンピュータ1は、ノード記憶手段1a、ツリー生成手段1b、および外部プログラム設定手段1cを備えている。また、コンピュータ1には、入力手段2と表示手段3が接続されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a conceptual diagram of the invention applied to this embodiment. As shown in FIG. 1, the computer 1 includes a node storage unit 1a, a tree generation unit 1b, and an external program setting unit 1c. The computer 1 is connected with an input unit 2 and a display unit 3.

コンピュータ1は、入力手段2から入力された指示信号を受けて、プログラム全体をツリー状に表したプログラムツリーを生成し、そのプログラムツリーを表示手段3へ出力する。このプログラムツリーのノードは、プログラムの構成要素であるプログラム要素に対応づけられている。   The computer 1 receives the instruction signal input from the input unit 2, generates a program tree representing the entire program in a tree shape, and outputs the program tree to the display unit 3. The nodes of the program tree are associated with program elements that are program components.

また、コンピュータ1は、プログラム要素の1つである機能単位の処理の流れを示すデータフローから部分プログラムを生成し、生成した部分プログラムを結合することによって所望のプログラムを生成する。   In addition, the computer 1 generates a partial program from a data flow indicating a functional unit process flow which is one of program elements, and generates a desired program by combining the generated partial programs.

また、生成された部分プログラムとは別に、あらかじめ用意された部分プログラムを用いてプログラムを生成するときには、データフローから生成した部分プログラムと、あらかじめ用意された部分プログラムを結合することによって所望のプログラムを生成する。   In addition, when generating a program using a partial program prepared in advance separately from the generated partial program, a desired program can be obtained by combining the partial program generated from the data flow with the partial program prepared in advance. Generate.

あらかじめ用意された部分プログラムとは、たとえば、プログラミングを行うときに頻繁に使用するために、プログラミング時に流用できるようにあらかじめ用意された部分プログラムであり、十分な回数使用されることによって信頼性が高く、もう修正の必要がないためデータフローに作り替えるメリットがない部分プログラムである。   For example, a partial program prepared in advance is a partial program prepared in advance so that it can be used during programming for frequent use during programming. This is a partial program that does not need to be modified anymore and therefore has no merit of recreating the data flow.

ノード記憶手段1aには、プログラムツリーを表示するときに用いられる、プログラムツリーのノードを示すアイコンが記憶されている。このアイコンは、プログラム要素の種類ごとに用意されている。たとえば、プログラムが1つ以上のコンパイル単位と、1つ以上の機能単位から構成されているとき、ノード記憶手段1aには、プログラム全体、コンパイル単位、および機能単位を示すアイコンが記憶されている。   The node storage means 1a stores an icon indicating a node of the program tree used when displaying the program tree. This icon is prepared for each type of program element. For example, when a program is composed of one or more compilation units and one or more functional units, the node storage unit 1a stores icons indicating the entire program, the compilation units, and the functional units.

したがって、プログラムツリーが表示されているときに、プログラムツリーのノードとして表示されているアイコンの種類を見ることで、各ノードがどの種類のプログラム要素に対応づけられているかを一目で判断することが可能となる。   Therefore, when the program tree is displayed, it is possible to determine at a glance which type of program element each node is associated with by looking at the type of icon displayed as a node of the program tree. It becomes possible.

ツリー生成手段1bは、プログラムツリーに設定したいプログラム要素の親ノードとなるノードに対して、設定したいプログラム要素を子ノードとして設定する旨の操作を行うと、親ノードの一段下位に子ノードを形成し、親子ノード間の接続関係を設定する。   When the tree generation unit 1b performs an operation to set a program element to be set as a child node on a node that is a parent node of the program element to be set in the program tree, a child node is formed one level lower than the parent node. Then, the connection relationship between the parent and child nodes is set.

そして、子ノードとして設定されるプログラム要素の種類に応じてノード記憶手段1aからアイコンを取得し、表示手段3に表示する。また、必要であれば、プログラム要素の属性情報をノードに関連づけて受け付け、記憶する。   Then, an icon is acquired from the node storage unit 1 a according to the type of program element set as a child node, and displayed on the display unit 3. If necessary, the attribute information of the program element is received in association with the node and stored.

これを繰り返すことによってプログラム全体を表すノードを頂点とするツリー構造が形成され、このプログラムツリーを表示手段3に表示することによって、プログラム全体のプログラム要素の関係が一目でわかるようになる。   By repeating this process, a tree structure having nodes representing the entire program as vertices is formed. By displaying this program tree on the display means 3, the relationship between program elements of the entire program can be understood at a glance.

外部プログラム設定手段1cは、ツリー生成手段1bからツリー生成手段1bによって生成されたプログラムツリーを受け取り、プログラムツリーの所望の位置にデータフローに作り替えるメリットがないプログラム要素である外部プログラムを設定する。   The external program setting unit 1c receives the program tree generated by the tree generation unit 1b from the tree generation unit 1b, and sets an external program which is a program element that does not have the merit of recreating the data flow at a desired position in the program tree.

具体的には、外部プログラム設定手段1cは、外部プログラムの親ノードとなるノードに対して、設定したいプログラム要素を子ノードとして設定する旨の操作を行うと、親ノードの一段下位に子ノードを形成し、親子ノード間の接続関係を設定する。   Specifically, when the external program setting unit 1c performs an operation for setting a program element to be set as a child node on a node that is a parent node of the external program, the external program setting unit 1c sets the child node one level below the parent node. Create and set the connection relationship between parent and child nodes.

そして、子ノードとして設定されるプログラム要素の種類に応じてノード記憶手段1aからアイコンを取得し、表示手段3に表示する。また、必要であれば、外部プログラムの属性情報をノードに関連づけて受け付け、記憶する。   Then, an icon is acquired from the node storage unit 1 a according to the type of program element set as a child node, and displayed on the display unit 3. If necessary, external program attribute information is received in association with the node and stored.

このとき、ノード記憶手段1aには、データフローがある部分プログラムのコンパイル単位を示すアイコンとは別に、データフローに作り替えるメリットがない部分プログラムのコンパイル単位を示すアイコンが記憶されている。   At this time, in addition to the icon indicating the compilation unit of the partial program having the data flow, the node storage unit 1a stores an icon indicating the compilation unit of the partial program that does not have the merit of being converted into the data flow.

これにより、ツリー生成手段1bによって生成されたプログラムツリーに対して、外部プログラムに対応するノードを設定することができるので、データフローを持つプログラム要素と、データフローを持たないプログラム要素を構成要素に含むプログラムのプログラム要素間の階層構造を見ることが可能となる。   As a result, a node corresponding to the external program can be set for the program tree generated by the tree generation means 1b, so that a program element having a data flow and a program element having no data flow are used as constituent elements. It becomes possible to see the hierarchical structure between the program elements of the containing program.

なお、外部プログラム設定手段1cがツリー生成手段1bからプログラムツリーを取得し、そのプログラムツリーに対して外部プログラムに対応するノードを設定する旨の説明をしたが、外部プログラムに対応するノードを設定した後に、外部プログラムに対応するノードが設定されたプログラムツリーをツリー生成手段1bが取得し、データフローがあるプログラム要素をさらに設定するなど、外部プログラム設定手段1cとツリー生成手段1bが交互にノードの追加を行ってもよい。   It has been described that the external program setting unit 1c acquires a program tree from the tree generation unit 1b and sets a node corresponding to the external program for the program tree. However, the node corresponding to the external program is set. Later, the tree generation unit 1b acquires a program tree in which a node corresponding to the external program is set, and further sets a program element having a data flow. For example, the external program setting unit 1c and the tree generation unit 1b You may add.

次に、本発明のプログラムツリー表示方法をプログラム生成装置に適用した場合の実施の形態について図面を参照して詳細に説明する。
図2は、本実施の形態に用いるプログラム生成装置のハードウェア構成例を示す図である。プログラム生成装置100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス106を介してRAM(Random Access Memory)102、ハードディスクドライブ(HDD:Hard Disk Drive)103、グラフィック処理装置104、および入力インタフェース105が接続されている。
Next, an embodiment when the program tree display method of the present invention is applied to a program generation device will be described in detail with reference to the drawings.
FIG. 2 is a diagram illustrating a hardware configuration example of the program generation apparatus used in the present embodiment. The entire program generating apparatus 100 is controlled by a CPU (Central Processing Unit) 101. A random access memory (RAM) 102, a hard disk drive (HDD) 103, a graphics processing device 104, and an input interface 105 are connected to the CPU 101 via a bus 106.

RAM102には、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、RAM102には、CPU101による処理に必要な各種データが格納される。HDD103には、OSやアプリケーションプログラムが格納される。   The RAM 102 temporarily stores at least part of an OS (Operating System) program and application programs to be executed by the CPU 101. The RAM 102 stores various data necessary for processing by the CPU 101. The HDD 103 stores an OS and application programs.

グラフィック処理装置104には、モニタ13が接続されている。グラフィック処理装置104は、CPU101からの命令に従って、画像をモニタ13の画面に表示させる。入力インタフェース105には、キーボード12とマウス11とが接続されている。入力インタフェース105は、キーボード12やマウス11から送られてくる信号を、バス106を介してCPU101に送信する。   A monitor 13 is connected to the graphic processing device 104. The graphic processing device 104 displays an image on the screen of the monitor 13 in accordance with a command from the CPU 101. A keyboard 12 and a mouse 11 are connected to the input interface 105. The input interface 105 transmits a signal sent from the keyboard 12 or the mouse 11 to the CPU 101 via the bus 106.

以上のようなハードウェア構成によって、本実施の形態の処理機能を実現することができる。
次に、プログラム生成装置100が有する処理機能について説明する。
With the hardware configuration as described above, the processing functions of the present embodiment can be realized.
Next, processing functions of the program generation device 100 will be described.

図3は、プログラム生成装置の処理機能を示す図である。図3に示すように、プログラム生成装置100は、図式プログラム管理部110、位置関係情報記憶部120、ライブラリ130、属性情報記憶部140、外部プログラム設定部150、およびプログラム自動生成部160を備えている。また、図式プログラム管理部110は、データフロー生成部111、およびプログラムツリー生成部112を備えている。   FIG. 3 is a diagram illustrating processing functions of the program generation device. As shown in FIG. 3, the program generation apparatus 100 includes a schematic program management unit 110, a positional relationship information storage unit 120, a library 130, an attribute information storage unit 140, an external program setting unit 150, and an automatic program generation unit 160. Yes. The graphical program management unit 110 includes a data flow generation unit 111 and a program tree generation unit 112.

データフロー生成部111は、ユーザからデータフロー生成指示を受けると、指示信号に従ってプログラムを構成する機能単位の処理の流れを示すデータフローを生成する。具体的には、ユーザからの指示信号に基づいて、ライブラリ130からデータフローの構成要素である各種の単位ブロックを読み出し、各種単位ブロックを配列することによってデータフローを生成する。   Upon receiving a data flow generation instruction from the user, the data flow generation unit 111 generates a data flow indicating a processing flow of functional units constituting the program according to the instruction signal. Specifically, based on an instruction signal from the user, various unit blocks that are constituent elements of the data flow are read from the library 130, and a data flow is generated by arranging the various unit blocks.

そして、生成したデータフローの各種単位ブロック間の接続関係を位置関係情報記憶部120に記憶する。また、機能単位や各種単位ブロックに設定された属性情報を属性情報記憶部140に記憶する。   Then, the connection relationship between the various unit blocks of the generated data flow is stored in the positional relationship information storage unit 120. Also, attribute information set for the functional unit and various unit blocks is stored in the attribute information storage unit 140.

プログラムツリー生成部112は、ユーザからプログラムツリー指示を受けると、指示信号に従ってプログラムのプログラム要素をノードとしてツリー状に表したプログラムツリーを生成する。具体的には、ユーザからの指示信号に基づいて、ライブラリ130からプログラムツリーのノードアイコンを読み出し、指示された順番に各種アイコンを配列することによってプログラムツリーを生成する。   When receiving a program tree instruction from the user, the program tree generation unit 112 generates a program tree that represents a program element of the program in a tree shape according to the instruction signal. Specifically, based on an instruction signal from the user, a program tree is generated by reading out the node icons of the program tree from the library 130 and arranging various icons in the instructed order.

そして、生成したプログラムツリーの各種ノード間の接続関係を位置関係情報記憶部120に記憶する。また、各種ノードに設定された属性情報を属性情報記憶部140に記憶する。   Then, the connection relationship between the various nodes of the generated program tree is stored in the positional relationship information storage unit 120. Further, the attribute information set in the various nodes is stored in the attribute information storage unit 140.

位置関係情報記憶部120は、データフローの各構成要素の位置関係を記憶する。また、プログラムツリーの各ノードの位置関係を記憶する。
ライブラリ130には、データフロー生成部111がデータフローを生成するときに必要となるすべての機能単位に関する情報が記憶されている。また、プログラムツリー生成部112がプログラムツリーを生成するときに必要となるすべてのノードのアイコンが記憶されている。なお、すべての機能単位に関する情報とは、図形の種類、名称、機能単位が必要とするパラメータの属性、および機能単位が機能を実現するためのアルゴリズムである。
The positional relationship information storage unit 120 stores the positional relationship of each component of the data flow. Also, the positional relationship of each node in the program tree is stored.
The library 130 stores information on all functional units necessary when the data flow generation unit 111 generates a data flow. In addition, icons of all nodes necessary for the program tree generating unit 112 to generate the program tree are stored. Note that the information on all functional units is the type of graphic, name, attribute of parameter required by the functional unit, and algorithm for realizing the function of the functional unit.

属性情報記憶部140は、機能単位が必要とする属性の属性情報を記憶している。
外部プログラム設定部150は、ユーザから外部プログラム設定指示を受けると、指示信号に従ってプログラムツリーに対して外部プログラムを設定する。具体的には、ユーザからの指示信号に基づいて、ライブラリ130からプログラムツリーに設定する外部プログラムを読み出し、プログラムツリーの指示された場所に外部プログラムを設定する。この外部プログラムは、ユーザが追加したものであってもよい。
The attribute information storage unit 140 stores attribute information of attributes required by the functional unit.
When receiving an external program setting instruction from the user, the external program setting unit 150 sets an external program in the program tree according to the instruction signal. Specifically, based on an instruction signal from the user, an external program to be set in the program tree is read from the library 130, and the external program is set at a designated location in the program tree. This external program may be added by the user.

プログラム自動生成部160は、データフロー、外部プログラム、およびデータフローと外部プログラムの属性情報からプログラムを生成する。具体的には、データフロー生成部111が生成したデータフローを、位置関係情報記憶部120に記憶されている位置関係情報と、属性情報記憶部140に記憶されている属性情報とともに取得し、取得したすべての情報からデータフローに対応するプログラム要素を生成する。   The program automatic generation unit 160 generates a program from the data flow, the external program, and the attribute information of the data flow and the external program. Specifically, the data flow generated by the data flow generation unit 111 is acquired together with the positional relationship information stored in the positional relationship information storage unit 120 and the attribute information stored in the attribute information storage unit 140. A program element corresponding to the data flow is generated from all the information.

また、ライブラリ130から外部プログラムを取得する。そして、データフローから生成したプログラム要素と、外部プログラムをリンカで結合することによってプログラムを生成する。   Also, an external program is acquired from the library 130. Then, the program is generated by linking the program element generated from the data flow and the external program with a linker.

以上のような機能を有しているプログラム生成装置100により、以下の処理が行われる。
図4は、プログラム生成装置100によるプログラムを生成する処理の手順を示すフローチャートである。以下、図4に示す処理をステップ番号に沿って説明する。
The following processing is performed by the program generation device 100 having the above functions.
FIG. 4 is a flowchart showing a procedure of processing for generating a program by the program generating apparatus 100. In the following, the process illustrated in FIG. 4 will be described in order of step number.

〔ステップS11〕プログラムツリー生成部112は、ユーザからマウス11もしくはキーボード12を介してプログラムツリーを生成するようにプログラムツリー生成指示を受け付ける。   [Step S11] The program tree generation unit 112 receives a program tree generation instruction from the user so as to generate a program tree via the mouse 11 or the keyboard 12.

〔ステップS12〕プログラムツリー生成部112は、プログラムツリー生成指示に基づいてプログラムツリーを生成する。
〔ステップS13〕図式プログラム管理部110は、データフローを持つプログラム要素に関係をツリー状に表したプログラムツリーの生成が完了したか否かを判断する。プログラムツリーの生成が完了したと判断した場合には、処理をステップS14へ進め、完了していないと判断した場合には、処理をステップS11へ進める。
[Step S12] The program tree generator 112 generates a program tree based on a program tree generation instruction.
[Step S13] The diagrammatic program management unit 110 determines whether or not the generation of a program tree in which relations between program elements having data flows are represented in a tree shape is completed. If it is determined that the generation of the program tree has been completed, the process proceeds to step S14. If it is determined that the generation of the program tree has not been completed, the process proceeds to step S11.

〔ステップS14〕データフロー生成部111は、ユーザからマウス11もしくはキーボード12を介してデータフローを生成するようにデータフロー生成指示を受け付ける。
〔ステップS15〕データフロー生成部111は、データフロー生成指示に基づいてデータフローを生成する。
[Step S14] The data flow generation unit 111 receives a data flow generation instruction so as to generate a data flow from the user via the mouse 11 or the keyboard 12.
[Step S15] The data flow generation unit 111 generates a data flow based on the data flow generation instruction.

〔ステップS16〕図式プログラム管理部110は、プログラムを生成するのに必要なデータフローの生成が完了したか否かを判断する。データフローの生成が完了したと判断した場合には、処理をステップS17へ進め、完了していないと判断した場合には、処理をステップS14へ進める。   [Step S16] The graphical program management unit 110 determines whether or not generation of a data flow necessary for generating a program has been completed. If it is determined that the data flow generation has been completed, the process proceeds to step S17. If it is determined that the data flow has not been completed, the process proceeds to step S14.

〔ステップS17〕外部プログラム設定部150は、ユーザからマウス11もしくはキーボード12を介して外部プログラムをプログラムツリー生成部112が生成したプログラムツリーに対して設定するように外部プログラム設定指示を受け付ける。   [Step S17] The external program setting unit 150 receives an external program setting instruction from the user so as to set an external program for the program tree generated by the program tree generation unit 112 via the mouse 11 or the keyboard 12.

〔ステップS18〕外部プログラム設定部150は、外部プログラム設定指示に基づいて外部プログラムをプログラムツリー生成部112が生成したプログラムツリーに設定する。   [Step S18] The external program setting unit 150 sets an external program in the program tree generated by the program tree generation unit 112 based on the external program setting instruction.

〔ステップS19〕プログラム自動生成部160は、ユーザからマウス11もしくはキーボード12を介して、データフロー生成部111が生成したデータフローと外部プログラムからプログラムを自動生成するようにプログラム自動生成指示を受け付ける。   [Step S19] The automatic program generation unit 160 receives an automatic program generation instruction from the user via the mouse 11 or the keyboard 12 so as to automatically generate a program from the data flow generated by the data flow generation unit 111 and an external program.

〔ステップS20〕プログラム自動生成部160は、データフロー生成部111からデータフローを受け取る。そのとき、データフローとともに、データフローに関連づけられている属性情報を受け取る。そして、データフローからプログラム要素を生成する。たとえば、データフローからC言語形式のソースコードを生成する。そして、データフローから生成したソースコードをコンパイルし、外部プログラムとリンカやリンケージ・エディタと呼ばれるツールを用いて結合することによって所望のプログラムを生成する。なお、この場合、外部プログラムがC言語形式のときには、外部プログラムもコンパイルする必要がある。   [Step S20] The automatic program generation unit 160 receives the data flow from the data flow generation unit 111. At that time, along with the data flow, attribute information associated with the data flow is received. Then, a program element is generated from the data flow. For example, C language source code is generated from the data flow. Then, the source code generated from the data flow is compiled, and a desired program is generated by combining the external program with a tool called a linker or a linkage editor. In this case, when the external program is in the C language format, it is also necessary to compile the external program.

なお、上記ステップS11からステップS13までの処理をプログラムツリー生成処理と呼び、上記ステップS14からステップS16までの処理をデータフロー生成処理と呼び、上記ステップS17、18の処理を外部プログラム設定処理と呼ぶものとする。   The processing from step S11 to step S13 is called program tree generation processing, the processing from step S14 to step S16 is called data flow generation processing, and the processing from steps S17 and S18 is called external program setting processing. Shall.

上記図4のフローチャートで示した処理の順番は、あくまで一例であり、たとえば、データフローを生成している途中に、再度プログラムツリーを生成したくなったような場合には、データフロー生成処理の後に再度プログラムツリー生成処理を行ってもよい。   The order of the processing shown in the flowchart of FIG. 4 is merely an example. For example, when it is desired to generate a program tree again during data flow generation, the data flow generation processing The program tree generation process may be performed again later.

また、外部プログラムをプログラムツリーに設定した後で、さらにプログラムツリーにノードを追加したくなったような場合には、外部プログラム設定処理の後に再度プログラムツリー生成処理を行ってもよい。   If it is desired to add a node to the program tree after setting the external program in the program tree, the program tree generation process may be performed again after the external program setting process.

次に、プログラム生成装置100がモニタ13に表示する画面表示例について説明する。
図5は、プログラムを自動生成するときの画面表示例を示す図である。図5に示すように、画面表示例200には、プログラムツリー表示部210とデータフロー表示部220を備えている。
Next, a screen display example displayed on the monitor 13 by the program generation device 100 will be described.
FIG. 5 is a diagram showing a screen display example when a program is automatically generated. As shown in FIG. 5, the screen display example 200 includes a program tree display unit 210 and a data flow display unit 220.

プログラムツリー表示部210には、プログラム全体を示すノード211、データフローを持つプログラム要素がコンパイル単位であることを示すノード212、および外部プログラムのコンパイル単位であることを示すノード213が表示されている。本実施の形態においては、コンパイル単位を分離可能なソフトウェア部品であるモジュールと捉える。   The program tree display unit 210 displays a node 211 indicating the entire program, a node 212 indicating that a program element having a data flow is a compile unit, and a node 213 indicating that a compile unit of an external program. . In the present embodiment, the compilation unit is regarded as a module that is a separable software component.

プログラムツリー表示部210では、インバータ制御処理を行うプログラムのプログラム要素の階層構造を示しており、インバータ制御のプログラムは、入力制御、故障検出、および電源同期のコンパイル単位から構成されていることを示している。   The program tree display unit 210 shows a hierarchical structure of program elements of a program that performs inverter control processing, and indicates that the inverter control program is composed of compilation units for input control, fault detection, and power supply synchronization. ing.

ノード211の右に「インバータ制御」と表示されている文字211aは、ノード211がインバータ制御のプログラム全体を表すノードであることを示している。また、ノード212の右に「入力制御」と表示されている文字212aは、ノード212が入力制御の処理を行うモジュールを表すノードであり、ノード213の右に「電源同期」と表示されている文字213aは、ノード213が電源同期の処理を行う外部プログラムを表すノードであることを示している。   A character 211 a displayed as “inverter control” on the right side of the node 211 indicates that the node 211 represents a whole program of inverter control. A character 212 a displayed as “input control” on the right side of the node 212 is a node representing a module on which the node 212 performs input control processing, and “power supply synchronization” is displayed on the right side of the node 213. The character 213a indicates that the node 213 represents an external program that performs power supply synchronization processing.

このように、各ノードの右側にノードの内容を表す文字を表示することにより、各ノードがどのような機能のプログラム要素と対応づけられているかを一目で判断することが可能となる。   In this way, by displaying characters representing the contents of a node on the right side of each node, it is possible to determine at a glance what function the program element is associated with.

ノード211の右側に表示されている文字211aは、ノード211に関連づけられており、プログラム自動生成部160によって最終的に生成されるプログラムのファイル名として設定される。   A character 211 a displayed on the right side of the node 211 is associated with the node 211, and is set as a file name of a program finally generated by the automatic program generation unit 160.

また、ノード212の右側に表示されている文字212aは、ノード212に関連づけられており、プログラム自動生成部160によってモジュールから生成されるプログラムのファイル名として設定される。   The character 212 a displayed on the right side of the node 212 is associated with the node 212 and is set as the file name of the program generated from the module by the automatic program generation unit 160.

ただし、このようにノードに対して文字を関連づけると、使用するCコンパイラなどのツールによっては、データを受け付けられない場合がある。たとえば、日本語を表すための2バイト系の文字が使えないときには、ノードに関連づけて設定された文字に対してさらに関連づけたファイル名を別途設定する。このような属性情報は、属性情報記憶部140に格納される。   However, if characters are associated with nodes in this way, data may not be accepted depending on the tool such as the C compiler used. For example, when a 2-byte character for representing Japanese cannot be used, a file name further associated with the character set in association with the node is set separately. Such attribute information is stored in the attribute information storage unit 140.

また、これらのノード211、212には、プログラムを生成するときに用いられる属性情報が関連づけられている。これらのノード211、212の右に表示される文字211a、212aを含めた属性情報は、たとえば、対応するノードから属性情報を入力するための入力窓を呼びだし、その入力窓に属性情報を入力することによって行う。以下に、ノードに関連づけて記憶する属性情報を入力するための入力窓の一例を説明する。   Further, attribute information used when generating a program is associated with these nodes 211 and 212. The attribute information including the characters 211a and 212a displayed to the right of these nodes 211 and 212, for example, calls an input window for inputting attribute information from the corresponding node, and inputs the attribute information to the input window. By doing. Hereinafter, an example of an input window for inputting attribute information stored in association with a node will be described.

図6は、ノードに関連づけて記憶する属性情報を入力するための入力窓の一例を示す図である。図6に示すように、入力窓300は、たとえば、入力制御のモジュールを表すノード212を右クリックして、ノード212に関連づけられている入力窓を呼び出したものであり、入力欄310、入力欄の説明320、入力を確定する入力ボタン330、および入力を取り消す取消ボタン340を備えている。   FIG. 6 is a diagram illustrating an example of an input window for inputting attribute information stored in association with a node. As shown in FIG. 6, the input window 300 is obtained by, for example, right-clicking a node 212 representing an input control module and calling an input window associated with the node 212. , An input button 330 for confirming the input, and a cancel button 340 for canceling the input.

入力窓300は、コンパイル単位の名称を入力する入力欄311と、生成C言語プログラム名を入力する入力欄312が表示されている。入力欄311に入力された文字列は、入力ボタン330が選択されることにより入力が確定されると、コンパイル単位の名称として、ノード212に関連づけて属性情報記憶部140に記憶される。そして、プログラムツリー表示部210のノード212の右には、入力欄311から入力された文字列が表示される。   The input window 300 displays an input field 311 for inputting the name of a compilation unit and an input field 312 for inputting a generated C language program name. When the input is confirmed by selecting the input button 330, the character string input in the input field 311 is stored in the attribute information storage unit 140 in association with the node 212 as the name of the compilation unit. A character string input from the input field 311 is displayed to the right of the node 212 in the program tree display unit 210.

また、入力欄312に入力された文字列は、入力ボタン330が選択されることにより入力が確定されると、ノード212に関連づけられているモジュールが、プログラム自動生成部160により生成されるC言語形式のプログラムのプログラム名として設定されるために、ノード212に関連づけて属性情報記憶部140に記憶される。   When the input of the character string input in the input field 312 is confirmed by selecting the input button 330, the module associated with the node 212 is generated by the automatic program generation unit 160. In order to be set as the program name of the format program, it is stored in the attribute information storage unit 140 in association with the node 212.

次に、プログラムツリーとして、コンパイル単位内の機能単位をも表示するときの表示例を示す。
図7は、コンパイル単位内の機能単位をも表示する画面表示例を示す図である。図7に示すように、画面表示例201は、データフロー表示部220とプログラムツリー表示部230を備えている。
Next, a display example when displaying functional units in a compilation unit as a program tree is shown.
FIG. 7 is a diagram illustrating a screen display example that also displays functional units in a compilation unit. As illustrated in FIG. 7, the screen display example 201 includes a data flow display unit 220 and a program tree display unit 230.

プログラムツリー表示部230には、プログラム全体を示すノード211、データフローを持つプログラム要素がコンパイル単位であることを示すノード212、外部プログラムのコンパイル単位であることを示すノード213、および機能単位を示すノード214、215が表示されている。   The program tree display section 230 shows a node 211 indicating the entire program, a node 212 indicating that a program element having a data flow is a compilation unit, a node 213 indicating a compilation unit of an external program, and a functional unit. Nodes 214 and 215 are displayed.

ところで、電流制御の機能単位は、入力制御のコンパイル単位に属するものである。そこで、その従属関係を明確にするために、電流制御の機能単位を表すノード214は、入力制御のコンパイル単位を表すノード212の下位に従属するように表示している。また、コンパイル単位は、機能単位を入れる器のように考えるため、直接コンパイル単位に属する処理機能というのは存在せず、必ず処理機能は機能単位に属する。   By the way, the functional unit of current control belongs to the compile unit of input control. Therefore, in order to clarify the dependency, the node 214 representing the current control functional unit is displayed so as to be subordinate to the node 212 representing the input control compilation unit. In addition, since the compile unit is considered as a container for inserting a functional unit, there is no processing function that directly belongs to the compile unit, and the processing function always belongs to the functional unit.

また、機能単位の中には、さらに細かな機能単位が含まれていることがある。これは、構造化プログラミングの考え方におけるプログラムの構造化に伴う機能の詳細分割に相当する考え方である。   Further, the functional unit may include a finer functional unit. This is an idea corresponding to the detailed division of the function accompanying the structuring of the program in the idea of the structured programming.

プログラムツリー表示部230に表示されているプログラムツリー上においては、その様子は電流制御の機能単位を表すノード214と、電流指令演算の機能単位を表すノード215の関係において示している。   On the program tree displayed in the program tree display section 230, the situation is shown in the relationship between a node 214 representing a functional unit for current control and a node 215 representing a functional unit for current command calculation.

つまり、電流指令演算の機能単位は、電流制御の機能単位に属する部分機能であり、お互いの機能単位同士の従属関係の視認性を向上するために、ノード215をノード214の下位に従属するように表示する。   That is, the functional unit of the current command calculation is a partial function belonging to the functional unit of current control, and the node 215 is subordinate to the lower level of the node 214 in order to improve the visibility of the dependency relationship between the functional units. To display.

このことは、細分化され、下位の機能単位においても同様に起こりうることであり、その場合には、再帰的に下位の部分機能単位を表すノードを、属する上位の機能単位に従属するように表示する。   This can be the same in subordinate functional units, and in this case, recursively subordinate nodes representing subordinate functional units to subordinate functional units to which they belong. indicate.

機能単位の実装の形は、C言語では関数と呼ばれ、他のプログラミング言語では、サブルーチン、プロシージャなどと呼ばれていることもある副プログラムに相当するものである。   The form of functional unit implementation corresponds to a subprogram which is called a function in the C language and sometimes called a subroutine or a procedure in other programming languages.

関数には、関数名、引数リスト、および返却値などの属性があるが、機能単位に関連づけられたプログラムはデータフローで表示しているため、これらの属性は図に記述されているものとすることができる。なお、関数名などの属性を別個に設定したい場合には、図6に示したような入力窓から属性を入力し、設定できるようにしてもよい。   Functions have attributes such as function name, argument list, and return value, but since the program associated with the functional unit is displayed in the data flow, these attributes are described in the figure. be able to. If it is desired to set an attribute such as a function name separately, it may be set by inputting the attribute from an input window as shown in FIG.

ところで、コンパイル単位は、コンパイルした結果として1つのファイルを出力するものである。より具体的には、C言語形式のプログラムにおいて、コンパイル単位は拡張子が通常「c」で表されるC言語のソースファイルであり、これをコンパイルすることにより、拡張子が通常「o」や「obj」で表されるオブジェクトファイルが生成される。   By the way, the compile unit outputs one file as a result of compilation. More specifically, in a C language format program, the compilation unit is a C language source file whose extension is usually represented by “c”. An object file represented by “obj” is generated.

この出力ファイルは、直接CPUが解釈して実行できるバイナリファイルとなっている場合もありうるが、バイナリファイルで出力すると中・大規模プログラムの製作や、プログラムの再利用が容易でないため、通常はコンパイルが終了した段階ではメモリ上での絶対位置が決定されておらず、モジュールの先頭からの相対位置でアドレスが記述されているようなリロケータブル・オブジェクトが生成される。   This output file may be a binary file that can be directly interpreted and executed by the CPU. However, if a binary file is output, it is not easy to produce medium- or large-scale programs and to reuse programs. When the compilation is completed, the absolute position in the memory is not determined, and a relocatable object in which an address is described at a relative position from the top of the module is generated.

このようなリロケータブル・オブジェクトを1つ以上必要な分だけ製作してから、実行環境のメモリ環境に合致したリンク用のメモリマップコマンドなどの情報を与える。そして、リンカもしくはリンゲージ・エディタと呼ばれるツールでこれらを結合して、最終的な実行可能な形式のプログラムとする。   After producing one or more such relocatable objects as required, information such as a memory map command for a link that matches the memory environment of the execution environment is given. These are combined with a tool called a linker or a language editor to form a final executable program.

ところで、ノード213に関連づけられている外部プログラムとは、データフローを持たないのでデータフロー表示部220には表示できない形式の部分プログラムである。たとえば、あらかじめ完全な形でC言語のプログラムが用意されているときにおける用意されているプログラムを指す。   By the way, the external program associated with the node 213 is a partial program in a format that cannot be displayed on the data flow display unit 220 because it has no data flow. For example, it refers to a prepared program when a C language program is prepared in a complete form in advance.

たとえば、このC言語ファイルには、機能単位として同期演算機能と、同期異常検出機能とが関数の形で実装されているものとすると、それらの関数名や引数リストや返却値の型をプログラムツリー表示部230に表示されているプログラムツリー上の機能単位の属性として記憶すれば、データフロー表示部220により表示できる形式のモジュールに属する機能単位と同様に扱うことができる。   For example, in this C language file, assuming that a synchronous operation function and a synchronous abnormality detection function are implemented as functional units in the form of functions, the function name, argument list, and return value type are set in the program tree. If it is stored as an attribute of a functional unit on the program tree displayed on the display unit 230, it can be handled in the same manner as a functional unit belonging to a module of a format that can be displayed by the data flow display unit 220.

つまり、データフロー内で他のモジュールの機能単位を呼び出すようなプログラムを書いた場合には、プログラムツリーの機能単位に関連づけて属性である関数名や、引数リストや、返却値の型を記憶しているので、データフロー同士でプログラムを接続してプログラムを記述することができる。   In other words, if you write a program that calls the functional unit of another module in the data flow, the function name, argument list, and return value type that are attributes are stored in association with the functional unit of the program tree. Therefore, it is possible to describe a program by connecting programs with data flows.

それと同じように、外部プログラムに属する機能単位の属性もノードに関連づけて記憶することにより、データフローから同じようにその機能単位を呼び出すことが可能となる。   Similarly, by storing the attribute of the functional unit belonging to the external program in association with the node, the functional unit can be similarly called from the data flow.

ただし、外部プログラムの機能単位の属性は、プログラムツリーにノードを設定したときには関連づけができていないので、別途上述したような入力窓から入力することによって属性をノードに関連づけて記憶させるか、C言語パーサを用いて情報を拾い出し、ノードに関連づけて記憶させる必要がある。   However, since the function unit attribute of the external program is not associated when the node is set in the program tree, the attribute is stored in association with the node by inputting it separately from the input window as described above, or in the C language. Information needs to be picked up using a parser and stored in association with the node.

プログラムツリー表示部230に表示されているプログラムツリーとして表されたプログラムは、3つのコンパイル単位を有しているが、コンパイル後にリンケージ・エディタを使って最終的な実行可能な形式のプログラム製作が目的であるから、リンケージ・エディタで結合する単位を表す概念を設けておくと有用である。   The program represented as the program tree displayed in the program tree display section 230 has three compilation units. The purpose is to produce a final executable program using a linkage editor after compilation. Therefore, it is useful to provide a concept that represents the units to be combined in the linkage editor.

そこで、コンパイル単位を1つ以上含み、各コンパイル単位から生成される出力を結合してできるロードモジュールに対応する単位をプロジェクトと定義する。プロジェクトは、プログラムツリー表示部230に表示されているプログラムツリー上にノード211として示される記号で表している。   Therefore, a unit corresponding to a load module including one or more compilation units and combining outputs generated from the respective compilation units is defined as a project. The project is represented by a symbol shown as a node 211 on the program tree displayed in the program tree display unit 230.

以上のことから、プログラムツリー表示部230に表示されたプログラムツリーは、インバータ制御のプロジェクトを構成するモジュールに分けてツリー状に図式化したものであるといえる。   From the above, it can be said that the program tree displayed in the program tree display unit 230 is divided into modules constituting the inverter control project and is graphically represented in a tree shape.

上記のとおり、プログラム生成装置100によれば、画面表示例にプログラムツリーが表示され、プログラムの構造を簡易に読み取ることが可能となるので、構造化プログラミングによるプログラムの製作が容易になる。   As described above, according to the program generation device 100, the program tree is displayed in the screen display example, and the structure of the program can be easily read. Therefore, the program can be easily produced by the structured programming.

ユーザは、プログラムツリー表示部210に表示されるプログラムツリーを見ることによって、プログラム生成装置100から生成されるプログラムのプログラム要素間の階層構造を見ることが可能となる。   The user can see the hierarchical structure between the program elements of the program generated from the program generation device 100 by looking at the program tree displayed on the program tree display unit 210.

また、データフロー表示部220に表示されるデータフローは、プログラムツリー表示部210に表示されるプログラムツリーのノードに関連づけられており、プログラムツリーのどのノードに関連づけられているデータフローを見ているかも容易に知ることが可能である。   The data flow displayed on the data flow display unit 220 is associated with a node of the program tree displayed on the program tree display unit 210, and the data flow associated with which node of the program tree is viewed. Moreover, it is possible to know easily.

また、データフローがプログラムツリーのノードに関連づけられているので、ノードごとのデータフローをデータフロー表示部220に表示させることによって、プログラムツリーのノードごとにプログラミングすることができる。   Further, since the data flow is associated with the node of the program tree, the data flow for each node is displayed on the data flow display unit 220, so that programming can be performed for each node of the program tree.

また、データフロー表示部220に表示できない部分プログラムをもプログラムツリー表示部230に表示できるようにすることによって、たとえば、ノード212に関連づけられている入力制御モジュールと、ノード213に関連づけられている電源同期プログラムという形式の異なるプログラムを1つのプログラムツリー上に表し、同様の操作によって扱うことができるようになる。   Further, by enabling the partial program that cannot be displayed on the data flow display unit 220 to be displayed on the program tree display unit 230, for example, the input control module associated with the node 212 and the power supply associated with the node 213 are displayed. Different programs in the form of synchronous programs are displayed on one program tree and can be handled by similar operations.

なお、外部プログラムのプログラムへの取り込み方は2パターン考えられる。外部プログラムのコンパイル単位の実体をプログラムの一部として取り込む場合と、外部プログラムのコンパイル単位の実体をプログラムの一部として取り込まずに、属性情報のみを登録する場合である。   Note that there are two possible ways to import external programs. There are a case where the entity of the compilation unit of the external program is fetched as a part of the program and a case where only the attribute information is registered without fetching the entity of the compilation unit of the external program as a part of the program.

上記2パターンで、表示の異なるアイコンを用いることによりそれぞれのパターンを区別してもよい。以下に、プログラムツリー表示部210もしくは230に示した外部プログラムのノードとは異なるアイコンが表示されているプログラムツリーを示す。   Each of the two patterns may be distinguished by using icons with different displays. The following shows a program tree in which an icon different from the external program node shown in the program tree display section 210 or 230 is displayed.

図8は、プログラムツリー表示部の表示例を示す図である。図8に示すように、プログラムツリー表示部231は、プログラム全体を示すノード211、データフローを持つプログラム要素がコンパイル単位であることを示すノード212、機能単位を示すノード214、215、および外部プログラムのコンパイル単位であることを示すノード216が表示されている。   FIG. 8 is a diagram illustrating a display example of the program tree display unit. As shown in FIG. 8, the program tree display unit 231 includes a node 211 indicating the entire program, a node 212 indicating that a program element having a data flow is a compilation unit, nodes 214 and 215 indicating functional units, and an external program. A node 216 indicating that this is a compilation unit is displayed.

ノード216は、プログラムツリー表示部210、およびプログラムツリー表示部230で示したプログラムツリーのノード213とは区別するためにノードの周りが太線になっている。   In order to distinguish the node 216 from the program tree display unit 210 and the node 213 of the program tree shown by the program tree display unit 230, the periphery of the node is a thick line.

上述した、外部プログラムの取り込み方の2パターンを第1の方法、第2の方法とすると、第1の方法は、図式プログラムのデータを保存するディスク領域に外部プログラムもコピーし、第2の方法は、ファイルのコピーは行われない。   Assuming that the above-described two patterns of how to load an external program are the first method and the second method, the first method also copies the external program to the disk area for storing the data of the schematic program, and the second method. Does not copy the file.

また、コンパイル時には、第2の方法の場合には、プログラム生成装置100で、データフローを持たない形式のコンパイル単位に属する機能単位の情報を用いて、プログラムツリーが書かれていた場合には、プログラムツリーからC言語形式のプログラムを生成するときに外部プログラムの機能単位の情報を用いて生成するだけであるが、第1の方法の場合には、それに加え、プログラムツリーの出力結果と同列に、登録したC言語ファイルもコピーする動作が付け加えられる。   Also, at the time of compiling, in the case of the second method, when the program generation apparatus 100 has written a program tree using information on functional units belonging to a compiling unit in a format having no data flow, When the C language format program is generated from the program tree, it is only generated using the function unit information of the external program. In the case of the first method, in addition to this, the same result as the output result of the program tree is added. The operation of copying the registered C language file is also added.

なお、外部プログラムとして、あらかじめ用意されているC言語形式のファイルを用いる旨の説明をしたが、外部プログラムはあらかじめ用意されているファイルだけに限らない。たとえば、プログラム生成装置100に直接入力されるC言語形式のプログラムを用いてもよい。また、外部プログラム設定部150は、プログラム自動生成部160がデータフローから生成したC言語ファイルを直接受け取り、受け取ったファイルを外部プログラムとしてプログラムツリーに設定してもよい。   Although it has been described that a C language file prepared in advance is used as an external program, the external program is not limited to a file prepared in advance. For example, a C language format program that is directly input to the program generation device 100 may be used. The external program setting unit 150 may directly receive the C language file generated from the data flow by the automatic program generation unit 160 and set the received file as an external program in the program tree.

また、外部プログラムに属する機能単位を示すノードは、データフローを持つモジュールの機能単位を示すノードと一緒のアイコンを使い、その上位にあるコンパイル単位のノードのアイコンのみ変更することによって区別する旨の説明をしたが、機能単位のノードのアイコンを変更してもよい。   In addition, a node indicating a functional unit belonging to an external program is distinguished by using an icon together with a node indicating a functional unit of a module having a data flow, and changing only the icon of a node of a compile unit at a higher level. Although described, the icon of the node of the functional unit may be changed.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、プログラム生成装置が有すべき機能の処理内容を記述したプログラム生成プログラムが提供される。そのプログラム生成プログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラム生成プログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、HDD、フレキシブルディスク、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disc)、DVD−RAM、CD−ROM(Read Only Memory)、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録装置には、MO(Magneto Optical disk)などがある。   The above processing functions can be realized by a computer. In that case, a program generation program describing the processing contents of the functions that the program generation apparatus should have is provided. The processing function is realized on the computer by executing the program generation program on the computer. The program generation program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Magnetic recording devices include HDDs, flexible disks, magnetic tapes, and the like. Optical discs include DVD (Digital Versatile Disc), DVD-RAM, CD-ROM (Read Only Memory), CD-R (Recordable) / RW (ReWritable), and the like. Examples of the magneto-optical recording device include an MO (Magneto Optical disk).

プログラム生成プログラムを流通させる場合には、たとえば、そのプログラム生成プログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラム生成プログラムを転送することもできる。   When distributing the program generation program, for example, a portable recording medium such as a DVD or a CD-ROM in which the program generation program is recorded is sold. It is also possible to store the program in a storage device of a server computer and transfer the program generation program from the server computer to another computer via a network.

プログラム生成プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラム生成プログラムもしくはサーバコンピュータから転送されたプログラム生成プログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラム生成プログラムを読み取り、プログラム生成プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラム生成プログラムを読み取り、そのプログラム生成プログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラム生成プログラムが転送されるごとに、逐次、受け取ったプログラム生成プログラムに従った処理を実行することもできる。   The computer that executes the program generation program stores, for example, the program generation program recorded on the portable recording medium or the program generation program transferred from the server computer in its own storage device. Then, the computer reads the program generation program from its own storage device and executes processing according to the program generation program. The computer can also read the program generation program directly from the portable recording medium and execute processing according to the program generation program. Further, each time the program generation program is transferred from the server computer, the computer can sequentially execute processing according to the received program generation program.

なお、本発明は、上述の実施の形態にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変更を加えることができる。
上記については単に本発明の原理を示すものである。さらに、多数の変形、変更が当業者にとって可能であり、本発明は上記に示し、説明した正確な構成および応用例に限定されるものではなく、対応するすべての変形例および均等物は、添付の請求項およびその均等物による本発明の範囲とみなされる。
The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.
The above merely illustrates the principle of the present invention. In addition, many modifications and changes can be made by those skilled in the art, and the present invention is not limited to the precise configuration and application shown and described above, and all corresponding modifications and equivalents may be And the equivalents thereof are considered to be within the scope of the invention.

本実施の形態に適用される発明の概念図である。It is a conceptual diagram of the invention applied to this Embodiment. 本実施の形態に用いるプログラム生成装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the program generation apparatus used for this Embodiment. プログラム生成装置の処理機能を示す図である。It is a figure which shows the processing function of a program production | generation apparatus. プログラム生成装置によるプログラムを生成する処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process which produces | generates the program by a program production | generation apparatus. プログラムを自動生成するときの画面表示例を示す図である。It is a figure which shows the example of a screen display when producing | generating a program automatically. ノードに関連づけて記憶する属性情報を入力するための入力窓の一例を示す図である。It is a figure which shows an example of the input window for inputting the attribute information memorize | stored in association with a node. コンパイル単位内の機能単位をも表示する画面表示例を示す図である。It is a figure which shows the example of a screen display which also displays the functional unit in a compilation unit. プログラムツリー表示部の表示例を示す図である。It is a figure which shows the example of a display of a program tree display part.

符号の説明Explanation of symbols

1 コンピュータ
1a ノード記憶手段
1b ツリー生成手段
1c 外部プログラム設定手段
2 入力手段
3 表示手段
DESCRIPTION OF SYMBOLS 1 Computer 1a Node memory | storage means 1b Tree production | generation means 1c External program setting means 2 Input means 3 Display means

Claims (10)

プログラムの構成要素であるプログラム要素をツリーの各ノードとして前記プログラムをツリー状に表すプログラムツリー表示方法において、
ノード記憶手段が、前記プログラム要素の種類に応じた前記ノードを記憶するステップと、
ツリー生成手段が、処理の流れを表すデータフローを有する前記プログラム要素、もしくは下位に処理の流れを表すデータフローを有する前記プログラム要素を有する前記プログラム要素に対応するノードをツリー状に接続することで、前記プログラム要素間の階層構造を表すプログラムツリーを生成するステップと、
外部プログラム設定手段が、前記ツリー生成手段が生成した前記プログラムツリーに対して、前記データフローを持たない前記プログラム要素である外部プログラムを前記ノードとして設定するステップと、
を含むことを特徴とするプログラムツリー表示方法。
In a program tree display method for representing the program in a tree shape with each program element being a program component as a node of the tree,
Node storage means for storing the node according to the type of the program element;
The tree generation means connects the program elements having a data flow representing a processing flow or nodes corresponding to the program elements having the program element having a data flow representing a processing flow in a tree form. Generating a program tree representing a hierarchical structure between the program elements;
An external program setting means for setting, as the node, an external program that is the program element having no data flow for the program tree generated by the tree generation means;
A program tree display method comprising:
前記外部プログラム設定手段が、前記ツリー生成手段が生成した前記プログラムツリーの前記ノードとは表示が異なるノードを前記プログラムツリーに設定することを特徴とする請求項1記載のプログラムツリー表示方法。   2. The program tree display method according to claim 1, wherein the external program setting unit sets, in the program tree, a node whose display is different from the node of the program tree generated by the tree generation unit. 前記外部プログラム設定手段が、前記外部プログラムを設定する方法に応じて前記ノードを前記プログラムツリーに設定することを特徴とする請求項1記載のプログラムツリー表示方法。   2. The program tree display method according to claim 1, wherein the external program setting means sets the node in the program tree in accordance with a method of setting the external program. プログラムの構成要素であるプログラム要素を結合することによって前記プログラムを生成するプログラム生成装置において、
前記プログラム要素に応じたノードが記憶されているノード記憶手段と、
処理の流れを表すデータフローを有する前記プログラム要素、もしくは下位に処理の流れを表すデータフローを有する前記プログラム要素を有する前記プログラム要素に対応するノードをツリー状に接続することで、前記プログラム要素間の階層構造を表すプログラムツリーを生成するツリー生成手段と、
前記ツリー生成手段が生成した前記プログラムツリーに対して、前記データフローを持たない前記プログラム要素である外部プログラムを前記ノードとして設定する外部プログラム設定手段と、
前記データフローと、前記外部プログラムとから前記プログラムを生成するプログラム生成手段と、
を有することを特徴とするプログラム生成装置。
In a program generation device that generates the program by combining program elements that are constituent elements of the program,
Node storage means for storing nodes according to the program elements;
By connecting the program elements having a data flow representing a processing flow, or nodes corresponding to the program elements having the data flow representing a processing flow at a lower level, in a tree shape, the program elements Tree generating means for generating a program tree representing the hierarchical structure of
External program setting means for setting, as the node, an external program that is the program element that does not have the data flow for the program tree generated by the tree generation means;
Program generation means for generating the program from the data flow and the external program;
A program generation apparatus comprising:
前記プログラムツリーの前記ノードに対応づけて、対応する前記プログラム要素の属性を受け付けて記憶する属性記憶手段をさらに有することを特徴とする請求項4記載のプログラム生成装置。   5. The program generation apparatus according to claim 4, further comprising attribute storage means for receiving and storing an attribute of the corresponding program element in association with the node of the program tree. 前記プログラム生成手段は、前記属性を参照して前記プログラムを生成することを特徴とする請求項5記載のプログラム生成装置。   6. The program generation apparatus according to claim 5, wherein the program generation unit generates the program with reference to the attribute. 前記プログラム生成手段は、前記外部プログラムの実体を前記プログラムに取り込み、前記プログラムを生成することを特徴とする請求項4記載のプログラム生成装置。   5. The program generation apparatus according to claim 4, wherein the program generation means takes the entity of the external program into the program and generates the program. 前記プログラム生成手段は、前記外部プログラムの実体を前記プログラムに取り込まず、前記外部プログラムの属性を取り込んで前記プログラムを生成することを特徴とする請求項4記載のプログラム生成装置。   5. The program generation apparatus according to claim 4, wherein the program generation means generates the program by taking in the attributes of the external program without taking the entity of the external program into the program. 前記プログラム要素には、プロジェクトと、コンパイル単位と、機能単位があることを特徴とする請求項4記載のプログラム生成装置。   5. The program generation apparatus according to claim 4, wherein the program element includes a project, a compilation unit, and a functional unit. プログラムの構成要素であるプログラム要素を結合することによって前記プログラムを生成するプログラム生成プログラムにおいて、
コンピュータを、
前記プログラム要素に応じたノードが記憶されているノード記憶手段、
処理の流れを表すデータフローを有する前記プログラム要素、もしくは下位に処理の流れを表すデータフローを有する前記プログラム要素を有する前記プログラム要素に対応するノードをツリー状に接続することで、前記プログラム要素間の階層構造を表すプログラムツリーを生成するツリー生成手段、
前記ツリー生成手段が生成した前記プログラムツリーに対して、前記データフローを持たない前記プログラム要素である外部プログラムを前記ノードとして設定する外部プログラム設定手段、
前記データフローと、前記外部プログラムとから前記プログラムを生成するプログラム生成手段、
として機能させることを特徴とするプログラム生成プログラム。
In a program generation program that generates the program by combining program elements that are constituent elements of the program,
Computer
Node storage means in which nodes corresponding to the program elements are stored;
By connecting the program elements having a data flow representing a processing flow or nodes corresponding to the program elements having a data flow representing a processing flow at a lower level in a tree shape, the program elements are connected to each other. A tree generating means for generating a program tree representing the hierarchical structure of
External program setting means for setting, as the node, an external program that is the program element that does not have the data flow with respect to the program tree generated by the tree generation means;
Program generation means for generating the program from the data flow and the external program;
A program generation program characterized by functioning as
JP2006001182A 2006-01-06 2006-01-06 Program generating apparatus and program generating program Active JP4848772B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006001182A JP4848772B2 (en) 2006-01-06 2006-01-06 Program generating apparatus and program generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006001182A JP4848772B2 (en) 2006-01-06 2006-01-06 Program generating apparatus and program generating program

Publications (2)

Publication Number Publication Date
JP2007183785A true JP2007183785A (en) 2007-07-19
JP4848772B2 JP4848772B2 (en) 2011-12-28

Family

ID=38339821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006001182A Active JP4848772B2 (en) 2006-01-06 2006-01-06 Program generating apparatus and program generating program

Country Status (1)

Country Link
JP (1) JP4848772B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075788A (en) * 2007-09-20 2009-04-09 Fuji Electric Systems Co Ltd Software development support device
KR101585048B1 (en) * 2014-04-15 2016-01-13 주식회사 셈웨어 Algorithm simulation system based on diagram
KR101602658B1 (en) * 2014-04-15 2016-03-21 주식회사 셈웨어 Diagram automatic alignment module for algorithm simulation system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04268635A (en) * 1991-02-25 1992-09-24 Nec Corp Tree structure display management method
JP2000112736A (en) * 1998-10-01 2000-04-21 Seiko Epson Corp Program generating device
JP2000311007A (en) * 1999-04-27 2000-11-07 Mazda Motor Corp Program generation support device and computer readable storage medium
JP2002189507A (en) * 2000-12-19 2002-07-05 Omron Corp Controller
JP2003067185A (en) * 2001-08-14 2003-03-07 Internatl Business Mach Corp <Ibm> Application editing device and data processing method and program
JP2003076545A (en) * 2001-08-31 2003-03-14 Mitsubishi Electric Corp Program development assisting device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04268635A (en) * 1991-02-25 1992-09-24 Nec Corp Tree structure display management method
JP2000112736A (en) * 1998-10-01 2000-04-21 Seiko Epson Corp Program generating device
JP2000311007A (en) * 1999-04-27 2000-11-07 Mazda Motor Corp Program generation support device and computer readable storage medium
JP2002189507A (en) * 2000-12-19 2002-07-05 Omron Corp Controller
JP2003067185A (en) * 2001-08-14 2003-03-07 Internatl Business Mach Corp <Ibm> Application editing device and data processing method and program
JP2003076545A (en) * 2001-08-31 2003-03-14 Mitsubishi Electric Corp Program development assisting device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075788A (en) * 2007-09-20 2009-04-09 Fuji Electric Systems Co Ltd Software development support device
KR101585048B1 (en) * 2014-04-15 2016-01-13 주식회사 셈웨어 Algorithm simulation system based on diagram
KR101602658B1 (en) * 2014-04-15 2016-03-21 주식회사 셈웨어 Diagram automatic alignment module for algorithm simulation system

Also Published As

Publication number Publication date
JP4848772B2 (en) 2011-12-28

Similar Documents

Publication Publication Date Title
Grönninger et al. Textbased modeling
JP4195479B2 (en) Incremental generation system
US8566782B2 (en) Generating application data editors
US8249732B2 (en) System and method for developing automated templates for knowledge capture
Rodriguez-Echeverria et al. Towards a language server protocol infrastructure for graphical modeling
WO2001082072A1 (en) Methods and systems for generating source code for object-oriented elements
US20070079299A1 (en) Method, apparatus and program storage device for representing eclipse modeling framework (EMF) ecore models in textual form
JP5147240B2 (en) Method and system for reversible design tree transformation
García Frey et al. UsiComp: an extensible model-driven composer
US20110126171A1 (en) Dynamic native editor code view facade
JP4848772B2 (en) Program generating apparatus and program generating program
JP2007011507A (en) Display method of program tree and program generation system
Bendisposto et al. Developing Camille, a text editor for Rodin
Djukić et al. Handling complex representations in visual modeling tools for MDSD/DSM by means of code generator languages
Vitzthum SSIML/AR: A visual language for the abstract specification of augmented reality user interfaces
CN112181483B (en) Plasma control system software development platform and method
Anquetil et al. Modular Moose: A new generation software reverse engineering environment
Vieritz et al. Access to UML diagrams with the HUTN
Beaudoux et al. Using Model Driven Engineering technologies for building authoring applications
Schröpfer et al. A Framework for Projectional Multi-variant Model Editors.
JPH0683594A (en) Graphical user interface, wherein withy-wig type edditer and compiler are integrated
EP4261678A1 (en) Generation of a technical instruction
Alvaro et al. Computer music cloud
Victorova et al. Metamodel-Driven Design of Microservice Architecture Applications
JP4670724B2 (en) Source code generation apparatus, source code generation method, and source code generation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110829

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: 20110920

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111003

R150 Certificate of patent or registration of utility model

Ref document number: 4848772

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250