Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3057844B2 - Program execution control method - Google Patents
[go: Go Back, main page]

JP3057844B2 - Program execution control method - Google Patents

Program execution control method

Info

Publication number
JP3057844B2
JP3057844B2 JP3265766A JP26576691A JP3057844B2 JP 3057844 B2 JP3057844 B2 JP 3057844B2 JP 3265766 A JP3265766 A JP 3265766A JP 26576691 A JP26576691 A JP 26576691A JP 3057844 B2 JP3057844 B2 JP 3057844B2
Authority
JP
Japan
Prior art keywords
program
execution
status
condition
flow chart
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 - Lifetime
Application number
JP3265766A
Other languages
Japanese (ja)
Other versions
JPH05108327A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3265766A priority Critical patent/JP3057844B2/en
Publication of JPH05108327A publication Critical patent/JPH05108327A/en
Application granted granted Critical
Publication of JP3057844B2 publication Critical patent/JP3057844B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプログラム実行制御方
式、特に、複数のCADプログラムを使った設計工程の
実行管理システムのプログラム実行制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program execution control system, and more particularly to a program execution control system for an execution management system for a design process using a plurality of CAD programs.

【0002】[0002]

【従来の技術】従来のプログラム実行制御方式は、Cの
ようなプログラム言語やUNIXのshellのような
記述言語で設計フロー毎に専用の実行制御プログラムを
記述する方法がとられている。この方法でCADのよう
な複雑な処理フローを記述するには膨大な記述量が必要
である。またCADの実行制御では、設計者に処理フロ
ーを視覚的に訴えるためにフローチャートを表示し、フ
ローチャート自身をプログラム実行用メニューに使って
利用者にプログラムを起動させる方法の必要性が高い
が、この場合は実行制御プログラムの他に異なった設計
フロー毎にそれぞれフローチャートを表示させるための
プログラムを作成する必要がある。
2. Description of the Related Art In a conventional program execution control method, a method is described in which a dedicated execution control program is described for each design flow in a programming language such as C or a description language such as UNIX shell. In order to describe a complicated processing flow such as CAD by this method, an enormous amount of description is required. In CAD execution control, there is a high need for a method of displaying a flowchart to visually appeal to the designer about the processing flow, and using the flowchart itself for a program execution menu to allow the user to start the program. In this case, it is necessary to create a program for displaying a flowchart for each of different design flows in addition to the execution control program.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のプログ
ラム実行制御方式は、CADプログラムの実行制御のよ
うな複数の多様なプログラムを組み合わせ、あるプログ
ラムの実行結果によって処理フローを制御するような複
雑な処理フローをフローチャートに図示し、実行制御を
行う場合には、設計フローが異なる毎に専用のプログラ
ムを組み直す必要があり、多大な時間と労力を必要とし
ているという欠点があった。
The above-mentioned conventional program execution control method is a complex program in which a plurality of various programs such as the execution control of a CAD program are combined and a processing flow is controlled by an execution result of a certain program. When the processing flow is shown in a flow chart and execution control is performed, it is necessary to rebuild a dedicated program every time the design flow is different, and there is a disadvantage that a great deal of time and labor is required.

【0004】特に近年のCAD設計環境においては、複
数のCADプログラムを統合して一つの大きな処理をさ
せる傾向にあり、自動論理合成、論理検証、自動レイア
ウト等のプログラムの機能の高度化、専門化、細分化が
進み、設計対象、設計手法により、プログラムに与える
パラメータを変えたり、プログラムそのものを選択し、
最適な設計を行う必要がある。このためCADプログラ
ムの実行フローも複雑化し、設計対象毎に変更する必要
がでており、従来の手法では対処が難しい。
In particular, in a recent CAD design environment, there is a tendency that a plurality of CAD programs are integrated to perform one large process, so that program functions such as automatic logic synthesis, logic verification, and automatic layout are advanced and specialized. Depending on the design target and design method, the parameters given to the program can be changed, or the program itself can be selected,
Optimal design must be performed. For this reason, the execution flow of the CAD program is also complicated and needs to be changed for each design object, and it is difficult to cope with the conventional method.

【0005】[0005]

【課題を解決するための手段】本発明のプログラム実行
制御方式は、(A)複数のプログラムの実行処理における
全体の処理の流れを制御する複数の実行制御用ステータ
スと各プログラムの実行開始条件を表した当該ステータ
スの条件式と、プログラムが正常終了,異常終了した場
合のそれぞれのステータスの変化を表現した計算式とを
定義する実行条件定義データとこれらの条件式,計算式
を評価し、任意の時点で次に実行すべきプログラム,実
行可能なプログラム,実行不可能なプログラムを検出す
る実行条件判定部、(B) これらプログラムの終了ステー
タスの計算式を用いてプログラムを仮想的に実行させる
事によりプログラムの処理フローをトレースし、それに
基づいてフローチャートを自動生成するフローチャート
自動生成部、(C) フローチャートをグラフィック表示さ
せ、プログラム実行用メニューおよび、処理ステータス
の表示に用いるフローチャートユーザインターフェイス
部、とを含んで構成される。
According to the program execution control method of the present invention, there are provided (A) a plurality of execution control statuses for controlling the entire processing flow in the execution processing of a plurality of programs and an execution start condition of each program. The execution condition definition data that defines the conditional expression of the status and the calculation expression that expresses the status change when the program terminates normally and abnormally, and evaluates the conditional expression and the computational expression. (B) The execution condition determination unit that detects the program to be executed next, the executable program, and the unexecutable program at the time of (B). A flow chart automatic generation unit that traces the processing flow of the program by using Chart to graphically display, program execution menu and flowcharts user interface unit used for displaying the processing status, and include a city.

【0006】[0006]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0007】図1は、本発明の一実施例を示すブロック
図である。図1に示すプログラム実行制御方式は、実行
条件定義データ1、実行条件判定部2、フローチャート
自動発生部3、フローチャートユーザインターフェイス
部4を含んでで構成される。プログラムの実行は、初期
値を0とする整数値をもつ複数のステータスによって制
御される。すべての実行制御対象プログラムはその実行
開始のステータス条件式と正常終了時および異常終了時
にステータス値をどう変更すべきかのステータスの計算
式とが実行条件定義データに定義されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. The program execution control method shown in FIG. 1 includes execution condition definition data 1, an execution condition determination unit 2, a flowchart automatic generation unit 3, and a flowchart user interface unit 4. The execution of the program is controlled by a plurality of statuses having an integer value whose initial value is 0. In all execution control target programs, the execution condition definition data defines a status condition expression for starting execution and a formula for calculating a status how to change a status value at normal termination and abnormal termination.

【0008】フローチャート自動生成部3は実行条件定
義データ1を読み込んで、実行条件判定部2を用いて、
仮想的にプログラムが正常終了したものとしてステータ
ス値を変化させてフローチャートを生成する。生成され
たフローチャートはフローチャートユーザインターフェ
イス部4でグラフィックディスプレイに表示され、プロ
グラム実行やプログラムの詳細情報の表示用のメニュー
ボタンとして使われる。また現在どこまで処理が進んで
いるかをフローチャートの各ボックスの色を変える事に
よって表現する。
[0008] The flowchart automatic generation unit 3 reads the execution condition definition data 1 and uses the execution condition determination unit 2 to execute
The flowchart is generated by virtually changing the status value on the assumption that the program has been normally completed. The generated flowchart is displayed on the graphic display by the flowchart user interface unit 4, and is used as a menu button for executing a program and displaying detailed information of the program. Also, the current progress of the process is represented by changing the color of each box in the flowchart.

【0009】図2は図1に示す実施例で用いるフローチ
ャート自動生成の基本アルゴリズム例を示すフローチャ
ート、図3は図2のアルゴリズムを説明するための、自
動生成されたフローチャート例を示す図である。図3は
7個のプログラムからなり、STS1,STS2の2つ
のステータスで制御される処理のフローチャートで、各
矩形がプログラムを意味し、矩形中の式の内、上段が実
行開始条件式、下段が正常終了時のステータス計算式を
意味している。
FIG. 2 is a flowchart showing an example of a basic algorithm for automatically generating a flowchart used in the embodiment shown in FIG. 1, and FIG. 3 is a diagram showing an example of an automatically generated flowchart for explaining the algorithm of FIG. FIG. 3 is a flowchart of a process which is composed of seven programs and is controlled by two statuses STS1 and STS2. Each rectangle means a program. Indicates the status calculation formula at the time of normal termination.

【0010】図2のフローチャートの自動生成アルゴリ
ズムを図3の例を用いてを説明する。まずステップ1と
してステータスの初期化を行う。図3の例ではSTS1
=0,STS2=0とする。次に図2のステップ2にお
いて、実行開始条件の真となるプログラムを抽出する。
図3の例においては、プログラム10と20が抽出され
る。次にステップ3として、抽出されたプログラムの全
組合せにおいて各プログラムが仮想的に正常終了したと
してステータスを変更して次に実行開始条件が真となる
プログラムを抽出する。
The automatic generation algorithm of the flowchart of FIG. 2 will be described with reference to the example of FIG. First, as step 1, status initialization is performed. In the example of FIG.
= 0, STS2 = 0. Next, in step 2 of FIG. 2, a program whose execution start condition is true is extracted.
In the example of FIG. 3, programs 10 and 20 are extracted. Next, as step 3, the status is changed assuming that each program virtually ends normally in all combinations of the extracted programs, and a program whose execution start condition is true next is extracted.

【0011】図3の例では、プログラム10のみが正常
終了した場合、プログラム20のみが正常終了した場
合、プログラム10、20の両者が共に正常終了した場
合を調べ、その結果、両者が正常終了した場合にのみプ
ログラム30の実行開始条件が真になる事がわかる。次
にステップ3の処理をプログラム30に対して行い、プ
ログラム40、50、60が抽出される。プログラム4
0、50、60に対しステップ3を実行した場合、プロ
グラム40と60の組合せ、プログラム50と60の組
合せ、プログラム40、50、60の組合せいづれもプ
ログラム70の実行開始条件を真とする。
In the example shown in FIG. 3, it is checked whether only the program 10 has terminated normally, if only the program 20 has terminated normally, or if both the programs 10 and 20 have terminated normally. As a result, both have terminated normally. It can be understood that the execution start condition of the program 30 becomes true only in the case. Next, the process of step 3 is performed on the program 30, and the programs 40, 50, and 60 are extracted. Program 4
When step 3 is executed for 0, 50, and 60, the combination of the programs 40 and 60, the combination of the programs 50 and 60, and the combination of the programs 40, 50, and 60 all make the execution start condition of the program 70 true.

【0012】この様に複数の組合せで同一のプログラム
の実行条件を真とする場合は、プログラム70が複数個
フローチャートに出現しないようマージ処理を行う。こ
の例ではプログラム40、50はいづれかを実行すれば
よいという意味になる。このようにしてステップ3を実
行開始条件が真になるプログラムが発見できなくなるま
で繰り返す。ただし、実行開始条件と正常終了条件式が
無限ループを発生させるような定義になっている場合に
対応してループの検出処理を加えておく必要がある。
When the execution condition of the same program is true in a plurality of combinations as described above, merge processing is performed so that a plurality of programs 70 do not appear in the flowchart. In this example, it means that either one of the programs 40 and 50 should be executed. Step 3 is repeated in this manner until a program whose execution start condition becomes true cannot be found. However, it is necessary to add a loop detection process corresponding to a case where the execution start condition and the normal end condition expression are defined so as to generate an infinite loop.

【0013】[0013]

【発明の効果】本発明のプログラム実行制御方式は、実
行制御対象の各プログラムの実行条件式、正常終了時の
ステータス式を定義しておくことにより、実行制御用の
フローチャートを自動発生させ、設計者にフローチャー
ト形式でプログラムの起動を制御させる事ができ、かつ
プログラムの終了状態によりステータスを変更させる事
により各プログラムの実行可能/不可能を制御できる効
果がある。
According to the program execution control method of the present invention, a flow chart for execution control is automatically generated by defining an execution condition expression of each program to be executed and a status expression at the time of normal termination. This allows the user to control the activation of the program in the form of a flowchart, and control the executable / non-executable of each program by changing the status according to the end state of the program.

【0014】この方法により、すべての処理を設計フロ
ー毎にプログラミングしていた従来の手法に比べ大幅な
効率化が図れ、設計フローの変更に対処可能となる。
According to this method, the efficiency can be greatly improved as compared with the conventional method in which all the processes are programmed for each design flow, and it is possible to cope with a change in the design flow.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】図1のフローチャート自動発生部の基本アルゴ
リズムフロー図である。
FIG. 2 is a basic algorithm flow chart of the flowchart automatic generation unit of FIG. 1;

【図3】図2のアルゴリズムに基づいて自動生成された
フローチャートを示す図である。
FIG. 3 is a diagram showing a flowchart automatically generated based on the algorithm of FIG. 2;

【符号の説明】[Explanation of symbols]

1 実行条件定義データ 2 実行条件判定部 3 フローチャート自動生成部 4 フローチャートユーザインターフェイス部 DESCRIPTION OF SYMBOLS 1 Execution condition definition data 2 Execution condition judgment part 3 Flow chart automatic generation part 4 Flow chart user interface part

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/06,11/36 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 9 / 06,11 / 36

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 (A) 複数のプログラムの実行処理におけ
る全体の処理の流れを制御する複数の実行制御用ステー
タスと各プログラムの実行開始条件を表した当該ステー
タスの条件式と、プログラムが正常終了,異常終了した
場合のそれぞれのステータスの変化を表現した計算式と
を定義する実行条件定義データとこれらの条件式,計算
式を評価し、任意の時点で次に実行すべきプログラム,
実行可能なプログラム,実行不可能なプログラムを検出
する実行条件判定部、 (B) 前記実行条件判定部を用いてステータスの初期化の
後、実行開始条件の真となるプログラムを抽出し、抽出
されたプログラムの全ての組み合わせにおいて各プログ
ラムが仮想的に正常終了したとしてステータスを変更
し、次に実行開始条件が真となるプログラムを抽出する
動作を繰り返すことにより、プログラムの処理フローを
トレースし、それに基づいてフローチャートを自動生成
するフローチャート自動生成部、 (C) フローチャートをグラフィック表示させ、プログラ
ム実行用メニューおよび、処理ステータスの表示に用い
るフローチャートユーザインターフェイス部、 とを含むことを特徴とするプログラム実行制御方式。
(A) A plurality of execution control statuses for controlling the entire processing flow in the execution processing of a plurality of programs, a conditional expression of the status indicating an execution start condition of each program, and a normal termination of the program , Execution condition definition data that defines a calculation expression that expresses a change in each status in the event of abnormal termination, and evaluates these condition expressions and calculation expressions, and a program to be executed next at any time
An execution condition determining unit for detecting an executable program and an unexecutable program; and (B) a status initialization using the execution condition determining unit.
Then, extract and extract the program whose execution start condition is true.
Each program in all combinations of
Change status as ram virtually completed successfully
And then extract the program whose execution start condition is true
A flow chart automatic generation unit that traces the processing flow of the program by repeating the operation and automatically generates a flow chart based on the trace, (C) a graphic display of the flow chart, a program execution menu, and a flow chart user used to display a processing status. A program execution control method, comprising: an interface unit;
JP3265766A 1991-10-15 1991-10-15 Program execution control method Expired - Lifetime JP3057844B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3265766A JP3057844B2 (en) 1991-10-15 1991-10-15 Program execution control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3265766A JP3057844B2 (en) 1991-10-15 1991-10-15 Program execution control method

Publications (2)

Publication Number Publication Date
JPH05108327A JPH05108327A (en) 1993-04-30
JP3057844B2 true JP3057844B2 (en) 2000-07-04

Family

ID=17421729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3265766A Expired - Lifetime JP3057844B2 (en) 1991-10-15 1991-10-15 Program execution control method

Country Status (1)

Country Link
JP (1) JP3057844B2 (en)

Also Published As

Publication number Publication date
JPH05108327A (en) 1993-04-30

Similar Documents

Publication Publication Date Title
US5907706A (en) Interactive modeling agent for an object-oriented system
CN106980597B (en) System-on-chip verification method and system
CN117495894A (en) Image generation and processing method and electronic device
CN117725767B (en) Automatic generation method, plug-in, system, terminal and medium for parameterized component model
Hel-Or et al. Relaxed parametric design with probabilistic constraints
JPH0991338A (en) Parameter input method for verification of logical design
JP2004252873A (en) Partial reprojection method, apparatus and computer program in three-dimensional CAD system
JP3057844B2 (en) Program execution control method
US6633836B1 (en) Design system, design method, and storage medium storing design program for structural analysis after amendment of model form
US20070038947A1 (en) Method and device for generation of a parametric model associated with a 3D geometry
US20100063606A1 (en) Automated derivation of a logic-controller-behavior-model from a mechanical-machine-operation-model
JPH0554277A (en) Plant monitoring equipment
CN117234391A (en) Image generation method and device and electronic equipment
JP2875135B2 (en) Program device for programmable controller
JP6796967B2 (en) Design support method, design support program and design support device
EP1059616B1 (en) Method and apparatus for generation the dimensions of a 3D model
US6823220B2 (en) Design and implementation device for real-time controllers
CN113642148B (en) A modeling language representation method based on equation description
US20260111103A1 (en) Method of generating sticker, electronic device, and medium
US20250139319A1 (en) Techniques for enabling vehicle time-based modeling via a custom import library in vehicle event-based modeling
CN120012667A (en) Graphics processing method, device, electronic device and storage medium
EP4597311A1 (en) Software configuration method and apparatus
US20250363273A1 (en) Design support system, design support method, and program
JP5049804B2 (en) VLIW processor automatic generation method and automatic generation program
JP2776711B2 (en) How to create a 3D model

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000321