JPH06348473A - Method for preparing data flow diagram - Google Patents

Method for preparing data flow diagram

Info

Publication number
JPH06348473A
JPH06348473A JP5140962A JP14096293A JPH06348473A JP H06348473 A JPH06348473 A JP H06348473A JP 5140962 A JP5140962 A JP 5140962A JP 14096293 A JP14096293 A JP 14096293A JP H06348473 A JPH06348473 A JP H06348473A
Authority
JP
Japan
Prior art keywords
input
output
data flow
flow diagram
outside
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
JP5140962A
Other languages
Japanese (ja)
Other versions
JP3251382B2 (en
Inventor
Shuichiro Yamamoto
修一郎 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP14096293A priority Critical patent/JP3251382B2/en
Publication of JPH06348473A publication Critical patent/JPH06348473A/en
Application granted granted Critical
Publication of JP3251382B2 publication Critical patent/JP3251382B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To automatically generate a data flow diagram which is not inconsistent with the depending relation with input and output (I/O) data to be sequentially given. CONSTITUTION:A memory device 4 includes a generated data flow diagram 41 and a process I/O collecting table 42. The table 42 expresses the collection of input data depending upon each process on the data flow diagram 41 and the collection of output data depending only upon the input data. A correcting operation generating part 32 sequentially inputs the addition or deletion of I/O data pairs through a depending relation input part 31, refers to a process I/O collection given through a process collection managing part 34 and instructs a data flow chart editing part 33 to execute the correcting operation of the diagram 41. In addition, the generating part 32 instructs the managing part 34 to update the table 42.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ソフトウェア開発や要
求分析などに用いられるデータフロー図の作成方法に関
し、詳しくは、入力データと出力データとの1組の対に
関して追加削除の指示を逐次的に与えることによってデ
ータフロー図を逐次的に自動作成することができるよう
にしたデータフロー図作成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of creating a data flow diagram used for software development, requirement analysis, etc., and more specifically, it sequentially gives an instruction of addition / deletion for a pair of input data and output data. The present invention relates to a method for creating a data flow diagram, which enables automatic creation of a data flow diagram sequentially by giving the data flow diagram.

【0002】[0002]

【従来の技術】データフロー図はプロセスとその入出力
データの相関を流れ図で表記したものであり、ソフトウ
ェアの要求仕様等を記述するために用いられる。従来、
この種のデータフロー図の自動作成法としては、予め入
出力データ間の依存関係を一意に定義し、それに基づい
て一意的なデータフロー図を自動作成する方法が提案さ
れている(例えば、Adler M.,“An Algebra for D
ata Flow DiagramProcess Decomposition”IEE
E trans.on SE,Vol.14,No.2,pp.169
−183,1988)。
2. Description of the Related Art A data flow chart is a flow chart showing the correlation between a process and its input / output data, and is used for describing required specifications of software. Conventionally,
As a method for automatically creating this kind of data flow diagram, a method has been proposed in which a dependency between input and output data is uniquely defined in advance, and a unique data flow diagram is automatically created based on it. M., “An Algebra for D
ata Flow DiagramProcess Decomposition "IEE
E trans. on SE, Vol. 14, No. 2, pp. 169
-183, 1988).

【0003】[0003]

【発明が解決しようとする課題】上記従来のようなデー
タフロー図の自動作成技術は、入出力データの依存関係
の詳細が予め定義されていることを前提としているた
め、入出力データの依存関係の詳細が決められていない
場合や依存関係の一部を変更する場合など、試行錯誤的
な検討が必要な場合には、適用できないという問題があ
った。また、入出力データの依存関係の一部を変更する
場合でも、変更前の入出力関係に基づいて作成されたデ
ータフロー図の一部を修正するのでなく、変更後の入出
力関係に基づいてデータフロー図をすべて作成し直す必
要があった。
The conventional automatic data flow diagram creation technique described above is based on the premise that the details of the input / output data dependencies are defined in advance. There is a problem that it cannot be applied when trial and error examination is necessary, such as when the details of is not determined or when a part of the dependency is changed. In addition, even if you change part of the input / output data dependency, you should not modify part of the data flow diagram created based on the input / output relationship before the change, but based on the input / output relationship after the change. It was necessary to recreate all data flow diagrams.

【0004】本発明の目的は、このような従来の欠点を
解消し、入出力データ間の依存関係を逐次的に与えるこ
とを可能とし、データフロー図を逐次的に自動作成する
ことをできるようにすることにある。
An object of the present invention is to eliminate such a drawback of the prior art, to make it possible to sequentially provide a dependency relationship between input and output data, and to sequentially and automatically create a data flow diagram. Is to

【0005】[0005]

【課題を解決するための手段】本発明は、すでに作成さ
れているデータフロー図上の各プロセスごとに、当該プ
ロセスが依存する入力データの集合と該入力データだけ
に依存する出力データの集合とをプロセス入出力集合と
して管理するとともに、1個の入力データと1個の出力
データの依存関係の組からなる入出力データ対の追加ま
たは削除を逐次的に入力し、該入力された入出力データ
対と前記すでに作成されているデータフロー図に対応す
る前記プロセス入出力集合に基づいて該データフロー図
を修正し、該修正結果に対応して前記プロセス入出力集
合を更新して、逐次的に与えられる入出力データの依存
関係に矛盾しないデータフロー図の逐次的作成・修正を
可能にしたことである。
According to the present invention, for each process on a data flow diagram that has already been created, a set of input data on which the process depends and a set of output data on which only the input data depends. Is managed as a process input / output set, and addition or deletion of an input / output data pair consisting of a dependency set of one input data and one output data is sequentially input, and the input / output data input The data flow diagram is modified based on the pair and the process input / output set corresponding to the already created data flow diagram, and the process input / output set is updated in accordance with the correction result, and sequentially. This enables the sequential creation and modification of data flow diagrams that are consistent with the given input / output data dependencies.

【0006】[0006]

【作用】データフロー図上のプロセスPに到る外部から
の入力の集合αとプロセスPから外部へ到る出力の集合
θからなる集合(α、θ)を、プロセスPに対するプロ
セス入出力集合という。データフロー図上のすべてのプ
ロセスについて、このプロセス入出力集合を管理する。
A set (α, θ) consisting of a set α of inputs from the outside reaching the process P on the data flow diagram and a set θ of outputs from the process P to the outside is called a process input / output set for the process P. . This process input / output set is managed for all processes on the data flow diagram.

【0007】データフロー図へ依存関係を追加する場合
の編集操作手順は以下の如くである。
An editing operation procedure for adding a dependency relationship to a data flow diagram is as follows.

【0008】(1) 外部からaだけを入力するプロセ
スを以下のようにして抽出する。 (1−1) 次の判定条件1を満足するプロセスPを、
外部からaを入力するプロセスとして抽出する。 <判定条件1> プロセスPの入力集合が、すべてのプ
ロセスの入力集合の内でaを要素とする最小の入力集合
であること (1−2) 外部からaを入力するプロセスの入力集合
がa以外の入力を外部から入力するかどうかを調べる。
すなわち、次の判定条件2が成立するとき、a以外の入
力を外部から入力すると判定する。そうでないとき、a
以外の入力を外部から入力しないと判断する。 <判定条件2> プロセスPの入力集合が、すべてのプ
ロセスの入力集合の内でa以外の任意の入力bについ
て、bを要素とする最小の入力集合でないこと もし、外部からaを入力するプロセスが、a以外の入力
を外部から入力するとき、外部からaだけを入力するプ
ロセスとa以外を入力するプロセスに、次のようにして
分割する。すなわち、Pの入出力集合を(α∪{a},
θ)とするとき、入出力集合({a},θ)を持つ外部
からaだけを入力するプロセスと、入出力集合(α,
θ)を持つa以外の入力を外部から入力するプロセスを
生成する。また、プロセスPを削除する。もし、a以外
を外部から入力しなければ、プロセスを分割しない。
(1) A process of inputting only a from the outside is extracted as follows. (1-1) Process P that satisfies the following determination condition 1 is
It is extracted as a process of inputting a from the outside. <Judgment condition 1> The input set of the process P is the minimum input set having a as an element among the input sets of all processes (1-2) The input set of the process that inputs a from the outside is a Check whether input other than is input from outside.
That is, when the following determination condition 2 is satisfied, it is determined that an input other than a is input from the outside. Otherwise, a
It is determined that no other input is input from outside. <Judgment condition 2> The input set of the process P is not the minimum input set having b as an element for any input b other than a in the input set of all processes. However, when an input other than a is input from the outside, it is divided into a process of inputting only a from the outside and a process of inputting other than a as follows. That is, the input / output set of P is (α ∪ {a},
θ), the process of inputting only a from the outside having the input / output set ({a}, θ) and the input / output set (α,
A process for inputting an input other than a having θ) from the outside is generated. Also, the process P is deleted. If nothing other than a is input from the outside, the process is not divided.

【0009】(2) 外部へzだけを出力するプロセス
を以下のようにして抽出する。 (2−1) 次の判定条件3を満足するプロセスPを、
外部へzを出力するプロセスとして抽出する。 <判定条件3> プロセスPの入力集合が、すべてのプ
ロセスの出力集合の内で要素とする最小の出力集合であ
ること (2−2) 外部へzを出力するプロセスの出力集合が
z以外の出力を外部へ出力するかどうか調べる。すなわ
ち、次の判定条件4が成立するとき、z以外の出力を外
部へ出力すると判定する。そうでないとき、z以外の出
力を外部へ出力しないと判定する。 <判定条件4> プロセスPの出力集合が、すべてのプ
ロセスの出力集合の内でz以外の任意の出力yについ
て、yを要素とする最小の出力集合でないこと もし、外部へzを出力するプロセスがz以外の出力を外
部へ出力するとき、外部へzだけを出力するプロセスと
z以外を出力するプロセスに、次のようにして分割す
る。すなわち、Pの入出力集合を(α,θ∪{z})と
するとき、入出力集合(α,{z})を持つ外部へzだ
けを出力するプロセスと、入出力集合(α,θ)を持つ
z以外の出力を外部へ出力するプロセスを生成する。ま
た、プロセスPを削除する。もし、z以外を外部に出力
しなければ、プロセスを分割しない。
(2) A process for outputting only z to the outside is extracted as follows. (2-1) Process P satisfying the following determination condition 3 is
Extract as a process that outputs z to the outside. <Judgment condition 3> The input set of the process P is the minimum output set that is an element of the output sets of all processes (2-2) The output set of the process that outputs z to the outside is other than z Check whether the output is output to the outside. That is, when the following determination condition 4 is satisfied, it is determined that outputs other than z are output to the outside. If not, it is determined that outputs other than z are not output to the outside. <Determination condition 4> The output set of the process P is not the minimum output set having y as an element for any output y other than z in the output set of all processes. When an output other than z is output to the outside, it is divided into a process for outputting only z to the outside and a process for outputting other than z as follows. That is, when the input / output set of P is (α, θ∪ {z}), the process of outputting only z to the outside having the input / output set (α, {z}) and the input / output set (α, θ) ) Is output to the outside except z. Also, the process P is deleted. If only z is output to the outside, the process is not divided.

【0010】(3) 外部からaだけを入力するプロセ
スから、外部へzだけを出力するプロセスへのデータフ
ローを追加した場合、もしあれば互いに等価になるプロ
セスを以下のようにして統合する。 (3−1) まず、次のようにして外部からaだけを入
力するプロセスと外部へzだけを出力するプロセスの入
出力集合を修正する。すなわち、外部へzだけを出力す
るプロセスの入力集合にaを追加し、外部からaだけを
入力するプロセスの出力集合にzを追加する。 (3−2) 互いに等価なプロセスを次のようにして抽
出する。すなわち、プロセスP、Qについて、次の判定
条件5が成立するとき、P,Qを互いに等価なプロセス
であると判断する。 <判定条件5> プロセスPの入出力集合の組を(α,
θ),Qの入出力集合の組を(β,ζ)とするとき、α
=βまたはθ=ζであること もし、プロセスPとQが互いに等価なプロセスであると
き、それぞれの入力集合と出力集合の和を統合した入出
力集合(α∪β,θ∪ζ)を統合したプロセスの入出力
集合とする。このとき、プロセスPおよびQを削除し、
統合プロセスを追加する。
(3) When a data flow from a process that inputs only a from the outside to a process that outputs only z to the outside is added, processes that are equivalent to each other are integrated as follows. (3-1) First, the input / output sets of the process that inputs only a from the outside and the process that outputs only z to the outside are modified as follows. That is, a is added to the input set of the process that outputs only z to the outside, and z is added to the output set of the process that inputs only a from the outside. (3-2) Extract processes equivalent to each other as follows. That is, regarding the processes P and Q, when the following determination condition 5 is satisfied, it is determined that the processes P and Q are equivalent to each other. <Judgment condition 5> The set of input / output sets of the process P is (α,
When the set of input / output sets of θ) and Q is (β, ζ), α
= Β or θ = ζ If processes P and Q are mutually equivalent processes, the input / output set (α ∪ β, θ ∪ ζ) obtained by integrating the sums of the respective input sets and output sets is integrated. It is the input / output set of the process. At this time, delete processes P and Q,
Add an integration process.

【0011】(4) 外部からaを入力するプロセスと
外部へzを出力するプロセスに関するデータフローを次
のようにして修正する。 (4−1) 外部からaを入力するプロセスならびに、
外部へzを出力するプロセスについて、次の判定条件6
が成立するとき、プロセス間のデータフローを追加す
る。 <判定条件6> プロセスPの入出力集合の組を(α,
θ),Qの入出力集合の組を(β,ζ)とするとき、次
の各条件が成立すること 1)α⊆βかつθ⊇ζであること 2)α⊆γ⊆βかつθ⊇δ⊇ζとなる入出力集合(γ,
δ)を持つプロセスがないこと 判定条件6が成立することをFLOW(P,Q)で表
す。 (4−2) 外部からaを入力するプロセスならびに、
外部へzを出力するプロセスについて、外部とのデータ
フローを次のようにして修正する。(1−2)および
(2−2)で作成したプロセスについて外部からの入力
データフローを生成する。すなわち、作成したプロセス
の入力集合が、その要素eについて、その要素eを含む
最小な入力集合であれば、その要素eを外部から入力す
るデータフローを作成する。また、(1−2)および
(2−2)で作成したプロセスについて外部への出力デ
ータフローを生成する。すなわち、作成したプロセスの
出力集合が、その要素xについて、その要素xを含む最
小な出力集合であれば、その要素xを外部へ出力するデ
ータフローを作成する。
(4) The data flow relating to the process of inputting a from the outside and the process of outputting z to the outside is modified as follows. (4-1) Process of inputting a from the outside, and
Regarding the process of outputting z to the outside, the following judgment condition 6
When is satisfied, add data flow between processes. <Judgment condition 6> The set of input / output sets of the process P is (α,
When the set of input / output sets of θ) and Q is (β, ζ), the following conditions must be satisfied: 1) α ⊆ β and θ ⊇ ζ 2) α ⊆ γ ⊆ β and θ ⊇ Input / output set (γ,
There is no process with δ) FLOW (P, Q) indicates that the determination condition 6 is satisfied. (4-2) Process of inputting a from the outside, and
For the process of outputting z to the outside, the data flow with the outside is modified as follows. An input data flow from the outside is generated for the processes created in (1-2) and (2-2). That is, if the input set of the created process is the minimum input set including the element e for the element e, a data flow for inputting the element e from the outside is created. Also, an output data flow to the outside is generated for the processes created in (1-2) and (2-2). That is, if the output set of the created process is the minimum output set including the element x for the element x, a data flow for outputting the element x to the outside is created.

【0012】データフロー図から依存関係を削除する場
合の編集操作手順は以下の如くである。ここでは、デー
タフロー図からシステム入出力関係(a,z)を削除す
るとする。
An editing operation procedure for deleting a dependency from a data flow diagram is as follows. Here, it is assumed that the system input / output relationship (a, z) is deleted from the data flow diagram.

【0013】(1) aに依存し、zに影響するプロセ
スを抽出する。すなわち、各プロセスの入力集合がaを
含み、出力集合がzを含むプロセスを、aに依存し、z
に影響するプロセスとして抽出する。
(1) A process that depends on a and affects z is extracted. That is, a process in which the input set of each process contains a and the output set contains z depends on a, and z
Extract as a process that affects.

【0014】(2) aに依存するプロセスと、zに影
響するプロセスに分割する。すなわち、aに依存し、z
に影響するプロセスの入出力集合が(α∪{a},θ∪
{z})であるとき、({a},θ)を入出力集合とす
るプロセスと(α,{z})を入出力集合とする2つの
プロセスに分割する。
(2) Divide into processes that depend on a and processes that affect z. That is, depending on a, z
The input / output set of the process that influences (α∪ {a}, θ∪
When {z}), the process is divided into a process having ({a}, θ) as an input / output set and two processes having (α, {z}) as an input / output set.

【0015】(3) aに依存するプロセスと、zに影
響するプロセスに関するデータフローを次のようにして
生成する。 (3−1) aに依存するプロセスPならびに、zに影
響するプロセスQについて、FLOW(P,Q)が成立
するとき、プロセスPからQへのデータフローを作成す
る。 (3−2) aに依存するプロセスならびに、zに影響
するプロセスについて外部とのデータフローを次のよう
にして修正する。(2)で作成したプロセスについて外
部からの入力データフローを生成する。すなわち、作成
したプロセスの入力集合が、その要素eについて、その
要素eを含む最小な入力集合であれば、その要素eを外
部から入力するデータフローを作成する。また、(2)
で作成したプロセスについて外部への出力データフロー
を生成する。すなわち、作成したプロセスの出力集合
が、その要素xについて、その要素xを含む最小な出力
集合であれば、その要素xを外部へ出力するデータフロ
ーを作成する。
(3) A data flow relating to a process dependent on a and a process affecting z is generated as follows. (3-1) For the process P that depends on a and the process Q that affects z, when FLOW (P, Q) is established, a data flow from the process P to the process Q is created. (3-2) The data flow with the outside for the process that depends on a and the process that affects z is modified as follows. An external input data flow is generated for the process created in (2). That is, if the input set of the created process is the minimum input set including the element e for the element e, a data flow for inputting the element e from the outside is created. Also, (2)
Generate an output data flow to the outside for the process created in. That is, if the output set of the created process is the minimum output set including the element x for the element x, a data flow for outputting the element x to the outside is created.

【0016】[0016]

【実施例】以下、本発明の一実施例について図面により
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0017】図1は本発明の一実施例のデータフロー図
作成装置を示す機能ブロック図である。本データフロー
図作成装置は、キーボード等の入力装置1、CRTディ
スプレイ等の表示装置2、処理装置3、及びメモリ装置
4からなる。ここで、処理装置3は依存関係入力部3
1、修正操作生成部32、データフロー図編集部33、
プロセス入出力集合管理部34で構成される。メモリ装
置4には、すでに生成されたデータフロー図41、該デ
ータフロー図上の各プロセスのプロセス入出力集合を記
述したプロセス入出力集合テーブル42が格納されてい
る。
FIG. 1 is a functional block diagram showing a data flow diagram creating apparatus according to an embodiment of the present invention. The data flow diagram creation device includes an input device 1 such as a keyboard, a display device 2 such as a CRT display, a processing device 3, and a memory device 4. Here, the processing device 3 uses the dependency relationship input unit 3
1, correction operation generation unit 32, data flow diagram editing unit 33,
It is configured by the process input / output set management unit 34. The memory device 4 stores a data flow diagram 41 that has already been generated and a process input / output set table 42 that describes the process input / output set of each process on the data flow diagram.

【0018】依存関係入力部31は、入力装置1から1
個の入力データと1個の出力データの依存関係の組から
なる入出力データ対の追加または削除を逐次的に入力す
る。修正操作生成部32は、入力された入出力データ対
とプロセス入出力集合管理部34からのデータフロー図
に対するプロセス入出力集合に基づいて、依存関係の追
加や削除で必要となるデータフロー図の修正操作を生成
する。この生成手順については後述する。データフロー
編集部3は、生成された修正操作に基づいてデータフロ
ー図41を修正し、さらに該データフロー図を表示装置
2に表示する。プロセス入出力集合管理部34では、デ
ータフロー図のプロセスごとに必要な入力データの集合
と影響を与える出力データの集合を、メモリ装置4上に
プロセス入出力集合テーブル42として管理し、修正操
作生成部32の指示に基づいて該プロセス入出力集合テ
ーブル42を参照・更新し、また必要に応じて表示装置
2に表示する。
The dependency input unit 31 includes the input devices 1 to 1
Addition or deletion of an input / output data pair consisting of a set of dependency relationships between one input data and one output data is sequentially input. Based on the input / output data pair and the process input / output set for the data flow diagram from the process input / output set management unit 34, the correction operation generation unit 32 creates a data flow diagram required for adding or deleting a dependency relationship. Generate a fix operation. This generation procedure will be described later. The data flow editing unit 3 corrects the data flow diagram 41 based on the generated correction operation, and further displays the data flow diagram on the display device 2. The process input / output set management unit 34 manages, as a process input / output set table 42 on the memory device 4, a set of input data necessary for each process of the data flow diagram and a set of output data that influences the process, and generates a correction operation. The process input / output set table 42 is referred to / updated based on an instruction from the unit 32, and is displayed on the display device 2 as necessary.

【0019】図2はデータフロー図の一例を示したもの
で、(a)は入出力依存関係(a,z)がないデータフ
ロー図、(b)は入出力依存関係(a,z)があるデー
タフロー図である。ここで、(a)のデータフロー図で
依存関係(a,z)を追加すると(b)のデータフロー
図に一致する。逆に、(b)のデータフロー図から依存
関係(a,z)を削除すると(a)のデータフロー図に
一致する。
FIG. 2 shows an example of a data flow diagram. (A) is a data flow diagram without input / output dependency (a, z), and (b) shows input / output dependency (a, z). It is a certain data flow diagram. Here, if the dependency (a, z) is added in the data flow diagram of (a), it matches the data flow diagram of (b). On the contrary, when the dependency (a, z) is deleted from the data flow diagram of (b), it matches the data flow diagram of (a).

【0020】次に、図2のデータフロー図を例にして、
図1の修正操作生成部32でのデータフロー図の修正操
作生成手順を詳述する。
Next, taking the data flow diagram of FIG. 2 as an example,
The procedure for generating the correction operation of the data flow diagram in the correction operation generating unit 32 of FIG.

【0021】図3は、図2(a)のデータフロー図で依
存関係(a,z)を追加して図2(b)のデータフロー
図に修正する場合の修正操作生成部32における修正操
作生成手順を示したものである。前提として、修正操作
生成部32へは、依存関係入力部31から依存関係対
(a,z)が追加として与えられ、プロセス入出力集合
管理部34からは図2(a)のデータフロー図の各プロ
セスの入出力集合が与えられているとする。
FIG. 3 is a modification operation in the modification operation generation unit 32 when the dependency (a, z) is added to the data flow diagram of FIG. 2A to modify the data flow diagram of FIG. 2B. It shows a generation procedure. As a premise, the modification operation generation unit 32 is additionally provided with the dependency relationship pair (a, z) from the dependency relationship input unit 31, and the process input / output set management unit 34 displays the data flow diagram of FIG. It is assumed that the input / output set of each process is given.

【0022】(1) 外部からaだけを入力するプロセ
スを抽出 プロセス入出力集合管理部34から与えられた各プロセ
スの入出力集合を参照すると、以下のようである。 P1:({b},{x,y,z,w}) P2:({a,b},{y,w}) P31:({a,b,c},{y}) P32:({b,c},{z,y}) P4:({a,b,d},{w}) (1−1) 外部からaを入力するプロセスを抽出す
る。各プロセスの入出力集合のうちで、aを要素とする
入力集合でP2の入力集合が最も小さいから、外部から
aを入力するプロセスとしてP2を抽出する。 (1−2) 外部からaだけを入力するプロセスと、a
以外を入力するプロセスに分割する。P2は、a以外を
外部から入力しないから分割する必要がない。ただし、
bを外部から入力するP1からのP2へのデータフロー
があるので、P2の入力集合は{a、b}となることを
注意しておく。
(1) Extracting a process for inputting only a from the outside Referring to the input / output set of each process given from the process input / output set management unit 34, it is as follows. P1: ({b}, {x, y, z, w}) P2: ({a, b}, {y, w}) P31: ({a, b, c}, {y}) P32: ( {B, c}, {z, y}) P4: ({a, b, d}, {w}) (1-1) Extract the process of inputting a from the outside. Of the input / output sets of each process, the input set of P2 is the smallest in the input set having a as an element, so P2 is extracted as the process of inputting a from the outside. (1-2) Process of inputting only a from the outside, and a
Divide into processes that input other than. P2 does not need to be divided because it is not input from outside except a. However,
Note that there is a data flow from P1 to P2 that inputs b from the outside, so the input set of P2 is {a, b}.

【0023】(2) 外部へzだけを出力するプロセス
を抽出 (2−1) 外部へzを出力するプロセスを抽出する。
各プロセスの入力集合のうちで、zを要素とする出力集
合でP32の出力集合が最も小さいから、P32を外部
へzを出力するプロセスとして抽出する。 (2−2) 外部へzだけを出力するプロセスとz以外
を出力するプロセスに分割する。P32は、z以外を外
部に出力しないから分割する必要がない。ただし、yを
出力するP31へのP32からのデータフローがあるの
で、P32の出力集合は{z,y}となることを注意し
ておく。
(2) Extract the process that outputs only z to the outside (2-1) Extract the process that outputs z to the outside.
Among the input sets of each process, the output set of P32 is the smallest output set having z as an element, so P32 is extracted as a process that outputs z to the outside. (2-2) It is divided into a process for outputting only z to the outside and a process for outputting other than z. P32 does not need to be divided because it does not output other than z to the outside. Note, however, that there is a data flow from P32 to P31 that outputs y, so the output set for P32 is {z, y}.

【0024】(3) 外部からaだけを入力するプロセ
スから、外部へzだけを出力するプロセスへのデータフ
ローを追加した場合、互いに等価になるプロセスを統合 (3−1) 外部へzだけ出力するプロセスの入力集合
にaを追加し、外部からaだけを入力するプロセスの出
力集合にzを追加する。P2の出力集合にzを追加する
と、P2の入出力集合は、({a,b},{y,w,
z})となる。P32の入力集合にzを追加すると、P
32の入出力集合は、({b,c,a},{z,y})
となる。 (3−2) 互いに等価なプロセスを抽出し、それぞれ
の入力集合と出力集合の和を統合したプロセスの入出力
集合とする。P31の入力集合が{a,b,c}だか
ら、P32の入力集合と一致する。したがって、それぞ
れの入力集合と出力集合の和を統合したプロセスの入出
力集合({a,b,c},{z,y})を作成し、統合
したプロセスP3の入出力集合とする。また、P31と
P32に対する入出力集合を削除する。このとき、P3
を追加し、P31とP32を削除する編集操作を生成す
る。
(3) When a data flow from a process that inputs only a from the outside to a process that outputs only z to the outside is added, processes that are equivalent to each other are integrated. (3-1) Only z is output to the outside. A is added to the input set of the process to be input, and z is added to the output set of the process to which only a is input from the outside. If z is added to the output set of P2, the input / output set of P2 becomes ({a, b}, {y, w,
z}). If z is added to the input set of P32, P
The 32 input / output sets are ({b, c, a}, {z, y})
Becomes (3-2) Processes that are equivalent to each other are extracted, and the sum of the input set and the output set is integrated into the input / output set of the process. Since the input set of P31 is {a, b, c}, it matches the input set of P32. Therefore, an input / output set ({a, b, c}, {z, y}) of the process in which the sum of the input set and the output set is integrated is created, and is set as the input / output set of the integrated process P3. Also, the input / output set for P31 and P32 is deleted. At this time, P3
Is added, and an edit operation for deleting P31 and P32 is generated.

【0025】(4) 外部からaを入力するプロセスと
外部へzを出力するプロセスに関するデータフローを修
正 (4−1) 外部からaを入力するプロセスならびに、
外部へzを出力するプロセスについて、プロセス間のデ
ータフローを修正する。外部からaを入力するプロセス
はP2である。また、外部へzを出力するプロセスはP
3である。このとき、P2の入出力集合が({a,
b},{y,w,z})で、P3の入出力集合が
({a,b,c},{z,y})である。これらの入出
力集合は、データフローの存在条件FLOW(P2,P
3)を満たすので、P2からP3へのデータフローを作
成するための編集操作を生成する。 (4−2) 外部からaを入力するプロセスならびに、
外部へzを出力するプロセスについて、プロセス間のデ
ータフローを修正する。P2の入力集合{a,b}がa
を含む最小な入出力集合だから、P2へ外部からaを入
力するための編集操作を生成する。P3の出力集合
{z,y}がzを含む最小な出力集合だから、P3から
zを外部へ出力するための編集操作を生成する。P3の
入力集合{a,b,c}がcを含む最小な入力集合だか
ら、P3へ外部からcを入力するための編集操作を生成
する。P3の出力集合{z,y}がyを含む最小な出力
集合だから、P3からyを外部へ出力するための編集操
作を生成する。
(4) Corrected the data flow relating to the process of inputting a from the outside and the process of outputting z to the outside (4-1) The process of inputting a from the outside, and
Modify the data flow between processes for processes that output z to the outside. The process of inputting a from the outside is P2. The process of outputting z to the outside is P
It is 3. At this time, the input / output set of P2 is ({a,
b}, {y, w, z}), and the input / output set of P3 is ({a, b, c}, {z, y}). These input / output sets are the data flow existence conditions FLOW (P2, P
Since 3) is satisfied, an edit operation for creating the data flow from P2 to P3 is generated. (4-2) Process of inputting a from the outside, and
Modify the data flow between processes for processes that output z to the outside. The input set {a, b} of P2 is a
Since it is the minimum input / output set including, an edit operation for inputting a into P2 from the outside is generated. Since the output set {z, y} of P3 is the minimum output set including z, an edit operation for outputting z from P3 to the outside is generated. Since the input set {a, b, c} of P3 is the minimum input set containing c, an edit operation for externally inputting c to P3 is generated. Since the output set {z, y} of P3 is the minimum output set including y, an edit operation for outputting y from P3 to the outside is generated.

【0026】データフロー図編集部33では、上記修正
操作生成部32で生成された修正操作指示にしたがって
図2(a)のデータフロー図を図2(b)のように修正
する。同様に、プロセス入出力集合管理部34では修正
操作生成部32の指示に基づいてプロセス入出力集合を
更新する。
The data flow diagram editing unit 33 corrects the data flow diagram of FIG. 2A as shown in FIG. 2B in accordance with the correction operation instruction generated by the correction operation generating unit 32. Similarly, the process input / output set management unit 34 updates the process input / output set based on the instruction from the correction operation generation unit 32.

【0027】図4は、図2(b)のデータフロー図で依
存関係(a,z)を削除して図2(a)のデータフロー
図に修正する場合の修正操作生成部32における修正操
作生成手順を示したものである。ここでも、前提とし
て、修正操作生成部32へは、依存関係入力部31から
依存関係対(a,z)が削除として与えられ、プロセス
入出力集合管理部34からは図2(b)のデータフロー
図の各プロセスの入出力集合が与えられているとする。
FIG. 4 is a modification operation in the modification operation generation unit 32 when the dependency (a, z) is deleted in the data flow diagram of FIG. 2 (b) to modify the data flow diagram of FIG. 2 (a). It shows a generation procedure. Here again, as a premise, the modification operation generation unit 32 is given the dependency relationship pair (a, z) as a deletion from the dependency relationship input unit 31 and the process input / output set management unit 34 receives the data of FIG. 2B. It is assumed that the input / output set of each process in the flow diagram is given.

【0028】(1) aに依存し、zに影響するプロセ
スを抽出 プロセス入出力集合管理部34から与えられた各プロセ
スの入出力集合を参照とすると、以下のようである。 P1:({b},{x,y,z,w}) P2:({a,b},{y,w,z}) P3:({a,b,c},{z,y}) P4:({a,b,d},{w}) 外部からaを入力するプロセスは、aを含む最小な入力
集合を持つのがP2だから、P2である。P2の入出力
集合は、({a,b},{y,z,w})である。外部
へzを出力するプロセスは、zを含む最小な出力集合を
持つのがPSだから、P3である。なお、P3の場合、
zを外部に出力するだけでなく、yも外部へ出力してい
る。
(1) Extracting a Process that Depends on a and Affects z Referring to the input / output set of each process given from the process input / output set management unit 34, it is as follows. P1: ({b}, {x, y, z, w}) P2: ({a, b}, {y, w, z}) P3: ({a, b, c}, {z, y} ) P4: ({a, b, d}, {w}) The process of inputting a from the outside is P2, because P2 has the smallest input set including a. The input / output set of P2 is ({a, b}, {y, z, w}). The process of outputting z to the outside is P3 because PS has the smallest output set including z. In the case of P3,
Not only is z output to the outside, but y is also output to the outside.

【0029】(2) aに依存するプロセスと、zに影
響するプロセスに分割 P2は、a以外を外部から入力しないから、プロセスを
分割する必要はない。この場合、外部からaだけを入力
するプロセスP2の出力集合からzを削除する。すなわ
ち、P2の入出力集合は({a,b},{y,w})と
なる。これは、他のプロセスの入出力集合と異なる。P
3は、z以外にyを外部に出力しているので、次の2つ
に分割する必要がある。まず、aに依存するプロセスの
出力集合がzを含まないように、P3の出力集合からz
を削除した入出力集合を持つプロセスをP31とする。
すなわち、P31の入出力集合は({a,b,c},
y})である。次に、zに影響するプロセスの入力集合
がaを含まないように、P3の入力集合からaを削除し
た入出力集合を持つプロセスをP32とする。すなわ
ち、P32の入出力集合は({b,c},{z,y})
である。このとき、P3を削除し、P31とP32を追
加する編集操作を生成する。
(2) Divide into processes that depend on a and processes that affect z. Since P2 does not input anything other than a from the outside, it is not necessary to divide the process. In this case, z is deleted from the output set of the process P2 in which only a is input from the outside. That is, the input / output set of P2 is ({a, b}, {y, w}). This is different from the I / O set of other processes. P
Since 3 outputs y in addition to z to the outside, it needs to be divided into the following two. First, from the output set of P3, z is set so that the output set of the process dependent on a does not include z.
A process having an input / output set in which is deleted is P31.
That is, the input / output set of P31 is ({a, b, c},
y}). Next, a process having an input / output set obtained by deleting a from the input set of P3 is defined as P32 so that the input set of the process affecting z does not include a. That is, the input / output set of P32 is ({b, c}, {z, y})
Is. At this time, an edit operation for deleting P3 and adding P31 and P32 is generated.

【0030】(3) aに依存するプロセスと、zに影
響するプロセスに関するデータフローを修正 (3−1) aに依存するプロセスならびに、zに影響
するプロセスについて、プロセス間のデータフローを修
正する。外部からaを入力するプロセスはP2である。
また、zに影響するプロセスはP31とP32である。
このとき、P2の入出力集合が({a,b},{y,
w})で、P31の入出力集合が({a,b,c},
{y,})、P32の入出力集合が({b,c},
{z,y})である。まず、P32とP31の入出力集
合が、データフローの存在条件FLOW(P32,P3
1)を満たすので、P32からP31へのデータフロー
を作成するための編集操作を生成する。次に、P2とP
31の入出力集合が、データフローの存在条件FLOW
(P2,P31)を満たすので、P2からP31へのデ
ータフローを作成するための編集操作を生成する。最後
に、zに影響するプロセスP1とP32の入出力集合
が、データフローの存在条件FLOW(P1,P32)
を満たすので、P1からP32へのデータフローを作成
するための編集操作を生成する。 (3−2) aに依存するプロセスならびに、zに影響
するプロセスについて外部とのデータフローを修正す
る。P31の出力集合{y}がを含む最小な出力集合だ
から、P31から外部へyを出力するための編集操作を
生成する。P32の出力集合{z,y}がyを含む最小
な出力集合だから、P31から外部へyを出力するため
の編集操作を生成する。P32の入力集合{b,c}が
cを含む最小な出力集合だから、P32へ外部からcを
入力するための編集操作を生成する。
(3) Modify the data flow related to the process dependent on a and the process affecting z (3-1) Modify the data flow between processes for the process dependent on a and the process affecting z. . The process of inputting a from the outside is P2.
The processes that affect z are P31 and P32.
At this time, the input / output set of P2 is ({a, b}, {y,
w}), the input / output set of P31 is ({a, b, c},
{Y,}), the input / output set of P32 is ({b, c},
{Z, y}). First, the input / output set of P32 and P31 is the existence condition FLOW (P32, P3 of the data flow).
Since 1) is satisfied, an edit operation for creating the data flow from P32 to P31 is generated. Next, P2 and P
31 input / output sets are data flow existence conditions FLOW
Since (P2, P31) is satisfied, an edit operation for creating a data flow from P2 to P31 is generated. Finally, the input / output set of processes P1 and P32 that influences z is the existence condition FLOW (P1, P32) of the data flow.
Since the above condition is satisfied, an edit operation for creating the data flow from P1 to P32 is generated. (3-2) Modify the data flow with the outside for the process that depends on a and the process that affects z. Since the output set {y} of P31 is the minimum output set including, an edit operation for outputting y from P31 to the outside is generated. Since the output set {z, y} of P32 is the minimum output set including y, an edit operation for outputting y from P31 to the outside is generated. Since the input set {b, c} of P32 is the minimum output set containing c, an edit operation for inputting c to P32 from the outside is generated.

【0031】データフロー図編集部33では、上記修正
操作生成部32で生成された修正操作指示にしたがって
図2(b)のデータフロー図を図2(a)のように修正
する。同様に、プロセス入出力集合管理部34では修正
操作生成部32の指示に基づいてプロセス入出力集合を
更新する。
The data flow diagram editing unit 33 corrects the data flow diagram of FIG. 2B as shown in FIG. 2A according to the correction operation instruction generated by the correction operation generating unit 32. Similarly, the process input / output set management unit 34 updates the process input / output set based on the instruction from the correction operation generation unit 32.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
逐次的に与えられる入出力データの依存関係に矛盾しな
い正しいデータフロー図を自動生成できるので、入出力
データの依存関係を予め完全に定義する必要がなくな
り、データフロー図の試行錯誤的な作成作業の効率を大
幅に改為できる利点がある。
As described above, according to the present invention,
Correct data flow diagram that does not contradict input / output data dependency that is given sequentially can be automatically generated, so it is not necessary to completely define the input / output data dependency in advance, and trial and error creation work of data flow diagram is possible. There is an advantage that the efficiency of can be changed significantly.

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

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

【図2】本発明を説明するためのデータフロー図の一例
である。
FIG. 2 is an example of a data flow diagram for explaining the present invention.

【図3】データフロー図に入力された依存関係を追加す
るための編集操作生成手順の一例を示す図である。
FIG. 3 is a diagram showing an example of an edit operation generation procedure for adding a dependency entered in a data flow diagram.

【図4】データフロー図から入力された依存関係を削除
するための編集操作生成手順の一例を示す図である。
FIG. 4 is a diagram showing an example of an editing operation generation procedure for deleting a dependency input from a data flow diagram.

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

1 入力装置 2 表示装置 3 処理装置 31 依存関係入力部 32 修正操作生成部 33 データフロー図編集部 34 プロセス入出力集合管理部 4メモリ装置 41 データフロー図 42 プロセス入出力集合テーブル 1 Input Device 2 Display Device 3 Processing Device 31 Dependency Relationship Input Unit 32 Correction Operation Generation Unit 33 Data Flow Diagram Editing Unit 34 Process Input / Output Set Management Unit 4 Memory Device 41 Data Flow Diagram 42 Process Input / Output Set Table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プロセスとその入出力データの相関を流
れ図で表記したデータフロー図を自動作成する方法にお
いて、 すでに作成されているデータフロー図上の各プロセスご
とに、当該プロセスが依存する入力データの集合と該入
力データだけに依存する出力データの集合とをプロセス
入出力集合として管理するとともに、 1個の入力データと1個の出力データの依存関係の組か
らなる入出力データ対の追加または削除を逐次的に入力
し、該入力された入出力データ対と前記すでに作成され
ているデータフロー図に対応する前記プロセス入出力集
合に基づいて該データフロー図を修正し、該修正結果に
対応して前記プロセス入出力集合を更新する、ことを特
徴とするデータフロー図作成方法。
1. A method for automatically creating a data flow diagram in which a correlation between a process and its input / output data is represented by a flow diagram, in which input data on which the process depends on each process on the already created data flow diagram. And a set of output data depending only on the input data are managed as a process input / output set, and an input / output data pair consisting of a set of dependency relationships of one input data and one output data is added or Deletes are sequentially input, and the data flow diagram is corrected based on the input / output data pair and the process input / output set corresponding to the already created data flow diagram, and the correction result is corresponded. And then updating the process input / output set.
JP14096293A 1993-06-11 1993-06-11 Data flow diagram creation method Expired - Lifetime JP3251382B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14096293A JP3251382B2 (en) 1993-06-11 1993-06-11 Data flow diagram creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14096293A JP3251382B2 (en) 1993-06-11 1993-06-11 Data flow diagram creation method

Publications (2)

Publication Number Publication Date
JPH06348473A true JPH06348473A (en) 1994-12-22
JP3251382B2 JP3251382B2 (en) 2002-01-28

Family

ID=15280870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14096293A Expired - Lifetime JP3251382B2 (en) 1993-06-11 1993-06-11 Data flow diagram creation method

Country Status (1)

Country Link
JP (1) JP3251382B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882765B (en) * 2010-05-11 2012-08-22 湖南大学 Traveling mechanism of robot on high voltage transmission line
CN101859990B (en) * 2010-06-02 2012-07-25 武汉大学 Robot for polling transmission line
CN105094829B (en) * 2015-07-29 2018-03-20 北京空间飞行器总体设计部 A kind of method for automatically generating Satellite TT information flow chart

Also Published As

Publication number Publication date
JP3251382B2 (en) 2002-01-28

Similar Documents

Publication Publication Date Title
JP4296421B2 (en) Signal processing device
US8086642B2 (en) Apparatus, system, and method for processing hierarchical data in disparate data repositories
KR101201019B1 (en) Declarative sequenced report parameterization
US9064065B2 (en) Coupling architectural and implementation/behavioral models of a computer-based system
JPH02264329A (en) Automatic program generating device
US9323729B2 (en) Coordinating the management of the layout and design of portal pages with the management of its associated web content
Li et al. Commutativity-based concurrency control in groupware
US7013246B1 (en) Parametric exchange of data between a modeling system and an external application program
JPH06348473A (en) Method for preparing data flow diagram
CN117111924A (en) Data processing engine system driven by data model and working method thereof
JP2001134423A (en) Method for outputting picture information of new system using interactive existing system
Ristić et al. Resolving Database Constraint Collisions Using IIS* Case Tool
JP2003099284A (en) Degrading check system
JPH01191233A (en) Automatic program generating system
Prasanthan et al. Low Code Backend As A Service Platform
Ikumapayi et al. A Proprietary Language-Based Automatic Code Generation Expert System with Wider Business Applications
CN117827950A (en) Online database processing method and device based on MySQL and electronic equipment
KR100949596B1 (en) Modeling method of information technology architecture using internet
CN117313331A (en) Method for converting Civil3D model into Revit model
Chen et al. Software architecture matching by meta-model extension and refinement
JPS63223920A (en) Link system
JP2000056956A (en) Device and method for converting request specification model into other system model
CN110647317A (en) Template-based application framework generation method
Savola et al. Object-oriented enhancement of real-time software using a heterogeneous re-engineering approach
JPH1021271A (en) Logic circuit design supporting system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071116

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091116

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 12

EXPY Cancellation because of completion of term