JPH0594290A - Data flow chart verifying device - Google Patents

Data flow chart verifying device

Info

Publication number
JPH0594290A
JPH0594290A JP3280800A JP28080091A JPH0594290A JP H0594290 A JPH0594290 A JP H0594290A JP 3280800 A JP3280800 A JP 3280800A JP 28080091 A JP28080091 A JP 28080091A JP H0594290 A JPH0594290 A JP H0594290A
Authority
JP
Japan
Prior art keywords
data flow
flow chart
processes
flow diagram
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3280800A
Other languages
Japanese (ja)
Inventor
Fujio Inoue
藤男 井上
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP3280800A priority Critical patent/JPH0594290A/en
Publication of JPH0594290A publication Critical patent/JPH0594290A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To automatically verify the description error of an executing order by chasing the executing order of processes set to a table by developing it to a route list, and executing error display by judging the circulation of the executing order when the same process appears. CONSTITUTION:A monitor display 9 used for preparing a data flow chart, keyboard 10 and mouse 11 or the like are connected through an interface 8 to a data flow chart preparation part 6, and the data flow chart prepared at the data flow chart preparation part 6 is stored in a data flow chart file 7. In this case, a data flow chart verifying device 1 extracts the executing order relation of processes from the data flow chart in the data flow chart file 7 by using an executing order extraction part 2. The extracted executing order relation is registered on a table 3, and the route of data flowing between processes is developed from the contents to a route list 5 on a memory. During the process, it is verified whether the data flow chart can be successively executed or not and when it can not be executed, error output is executed.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、情報処理システムを
分析,設計する際に作成されるデータフロー図の記述誤
りを検証する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for verifying a description error in a data flow diagram created when analyzing and designing an information processing system.

【0002】[0002]

【従来の技術】データフロー図は、情報処理システムに
おける処理を機能単位ごとに分割し、各処理(以下、プ
ロセスという)間でのデータの流れを図式化したもので
ある。データの流れだけに注目して作成されたものであ
るため、そのデータが何回ループ処理をうけるとか、ど
んな条件で分岐していくのか、というデータの制御構造
を表記することはできない。データの制御構造を表記す
るには、フローチャートのようなプロセスフロー図が別
にある。ゆえに、データフロー図において、少なくとも
データの流れがプロセスの間を循環することはなく、仮
に、そのような記述であれば、データフロー図の実行順
序に誤りがあると判断される。従来では、その実行順序
の記述誤りの検証を人手に頼っている。
2. Description of the Related Art A data flow diagram is a diagram in which a process in an information processing system is divided into functional units and a data flow between the processes (hereinafter referred to as a process) is illustrated. Since it was created by paying attention only to the flow of data, it is not possible to describe the control structure of data such as how many times the data is looped and under what conditions it branches. There is another process flow diagram such as a flowchart for describing the control structure of data. Therefore, in the data flow diagram, at least the data flow does not circulate between the processes, and if such a description is made, it is determined that the execution order of the data flow diagram is incorrect. Conventionally, humans rely on verification of the description error of the execution order.

【0003】[0003]

【発明が解決しようとする課題】したがって、記述誤り
を見落とすなどの検証ミスの発生を完全に避けることは
できず、データフロー図が複雑化すればするほど、検証
ミスの発生の確率は高くなる。また、検証を行う人の労
力や時間も多大に費やされてしまう。
Therefore, it is impossible to completely avoid the occurrence of a verification error such as overlooking a description error, and the more complicated the data flow diagram is, the higher the probability of occurrence of the verification error becomes. .. In addition, the labor and time of the person who performs the verification is also greatly consumed.

【0004】この発明は、このような事情に鑑みてなさ
れたものであって、自動的にデータフロー図の実行順序
の記述誤りを検証できるデータフロー図検証装置を提供
することを目的としている。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a data flow diagram verification apparatus capable of automatically verifying a description error in the execution order of a data flow diagram.

【0005】[0005]

【課題を解決するための手段】この発明は、上記目的を
達成するために次のような構成をとる。すなわち、この
発明は、情報処理システムにおける処理を機能単位ごと
に分割し、各処理(プロセス)間でのデータの流れを図
式化したデータフロー図の実行順序の記述誤りを検証す
る装置であって、データの流れに基づく各プロセスの実
行順序を抽出する手段と、前記抽出されたプロセスの実
行順序を追跡してデータの流れがプロセスの間で循環し
ているかを判断する手段と、前記データの流れの循環が
判断されたときに外部に対してエラー出力を行う手段と
を備えたことを特徴とする。
In order to achieve the above object, the present invention has the following constitution. That is, the present invention is a device that divides processing in an information processing system into functional units and verifies a description error in the execution order of a data flow diagram in which a data flow between each processing (process) is diagrammed. Means for extracting the execution order of each process based on the data flow, means for tracking the execution order of the extracted processes to determine whether the data flow is circulating between the processes, and And a means for outputting an error to the outside when the circulation of the flow is judged.

【0006】[0006]

【作用】この発明の構成による作用は、次のとおりであ
る。データフロー図のデータの流れから各プロセスの実
行順序を抽出し、その実行順序を追跡することで、デー
タの流れがプロセスの間を循環しているか否かを判断す
る。判断の結果、循環していれば、データフロー図の実
行順序に記述誤りがあるとして外部にエラー出力を行
う。
The function of the present invention is as follows. By extracting the execution order of each process from the data flow of the data flow diagram and tracing the execution order, it is determined whether or not the data flow circulates among the processes. If there is a circulation as a result of the judgment, it is determined that there is a description error in the execution order of the data flow diagram, and an error is output to the outside.

【0007】[0007]

【実施例】以下、この発明の一実施例を図面に基づいて
説明する。図1はこの実施例におけるデータフロー図検
証装置の概略構成および、装置に取り付けられる周辺機
器を示したブロック図である。データフロー図の作成に
用いられるモニタディスプレイ9,キーボード10, マウ
ス11などがインターフェイス8を介して、データフロー
図作成部6に接続されている。データフロー図作成部6
で作成されたデータフロー図はデータフロー図ファイル
7に格納される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a data flow diagram verification apparatus in this embodiment and peripheral devices attached to the apparatus. A monitor display 9, a keyboard 10, a mouse 11 and the like used for creating the data flow diagram are connected to the data flow diagram creating unit 6 via the interface 8. Data flow diagram creation unit 6
The data flow diagram created in step 1 is stored in the data flow diagram file 7.

【0008】データフロー図検証装置1は、データフロ
ー図ファイル7内のデータフロー図から、プロセスの実
行順序関係を抽出する実行順序抽出部2と、抽出された
実行順序関係を登録するテーブル3と、テーブル3の内
容からプロセス間を流れるデータの経路をメモリ上の経
路リスト5に展開し、その過程でデータフロー図が順次
実行可能か否かを検証して、否の場合にインターフェイ
ス8を介してモニタディスプレイにエラー出力を行う実
行順序検証部4とを備えている。
The data flow diagram verification apparatus 1 includes an execution order extraction unit 2 for extracting process execution order relations from a data flow diagram in a data flow diagram file 7, and a table 3 for registering the extracted execution order relations. , The path of data flowing between processes is expanded from the contents of Table 3 to the path list 5 on the memory, and in the process, it is verified whether or not the data flow diagram can be sequentially executed. And an execution order verification unit 4 that outputs an error to a monitor display.

【0009】図2に検証の対象となるデータフロー図の
一例を示す。丸枠で囲まれた要素がプロセスを表してお
り、丸枠内にはプロセス名が記述される。各プロセスを
結合する矢印線がデータの流れ(以下、フローと称す
る)を示している。図では、プロセスP2→P3→P4
→P2というようにフローがプロセスの間を循環してお
り、実行順序の記述誤りの例となっている。
FIG. 2 shows an example of a data flow diagram to be verified. Elements surrounded by a circle represent a process, and the process name is described in the circle. An arrow line connecting each process indicates a data flow (hereinafter referred to as a flow). In the figure, processes P2 → P3 → P4
→ The flow circulates between processes such as P2, which is an example of a description error in the execution order.

【0010】次に、図2のデータフロー図の実行順序の
記述誤りを検証する動作について説明する。上記のよう
に、データフロー図は特定の記述形式で作成されている
ので、実行順序抽出部2は、その記述形式にしたがって
データフロー図を解析する。すなわち、丸枠で囲まれた
図形要素をプロセスであると判断し、矢印線をフロー、
矢印線の基部にある丸枠の図形要素を接続元プロセス、
矢印線の先にある丸枠の図形要素を接続先プロセスであ
ると判断する。
Next, the operation of verifying the description error of the execution order in the data flow diagram of FIG. 2 will be described. As described above, since the data flow diagram is created in the specific description format, the execution order extraction unit 2 analyzes the data flow diagram according to the description format. That is, the graphic element surrounded by the circle is judged to be a process, and the arrow line is flowed.
The process element that connects the graphic element with a circular frame at the base of the arrow line,
The round frame graphic element at the end of the arrow line is determined to be the connection destination process.

【0011】その判断に基づいて、各フローの接続元プ
ロセスと、接続先プロセスとを抽出し、図3に示すよう
なフォーマットのテーブル3にセットしていく。このと
き、各プロセスを識別番号で表す。例えば、データフロ
ーの先頭にあるプロセスP1(このP1は実際には処理
名となっている)を番号「1」で表すと、以下のプロセ
スを全てその続き番号として表す。図2のフローAの接
続元プロセスP1の識別番号を「1」とすると、その接
続先にあるプロセスの識別番号を「2」で表すという具
合である。
Based on the determination, the connection source process and the connection destination process of each flow are extracted and set in the table 3 having the format as shown in FIG. At this time, each process is represented by an identification number. For example, if the process P1 at the beginning of the data flow (this P1 is actually a process name) is represented by the number "1", all the following processes are represented by the consecutive numbers. When the identification number of the connection source process P1 in the flow A of FIG. 2 is "1", the identification number of the process at the connection destination is represented by "2".

【0012】図2のデータフロー図から、図3に示すテ
ーブル3が完成すると、実行順序検証部4が起動してデ
ータフロー図の実行順序の記述誤り(フローが循環して
いるか否か)を検証する。その動作を図5のフローチャ
ートに示して説明する。
When the table 3 shown in FIG. 3 is completed from the data flow diagram of FIG. 2, the execution sequence verification unit 4 is activated to detect an error in the execution sequence of the data flow diagram (whether or not the flow is circulating). Verify. The operation will be described with reference to the flowchart of FIG.

【0013】まず、ステップS1で、テーブル3の先頭
にあるフローAの接続元プロセスの識別番号「1」(以
下、プロセス番号「1」と記す)と、接続先のプロセス
番号「2」とを読み出し、図示しないメモリ上の経路リ
スト5に格納する。
First, in step S1, the identification number "1" (hereinafter referred to as process number "1") of the connection source process of the flow A at the top of the table 3 and the process number "2" of the connection destination are set. It is read and stored in the route list 5 on the memory (not shown).

【0014】ステップS2で、経路リスト5を読み込
み、接続先のプロセス番号を読み出す。ここでは、プロ
セス番号「2」が読み出される。読み出したプロセス番
号「2」をキーとして、テーブル3の接続元プロセスの
欄にセットされているプロセス番号とのマッチングをと
り、マッチングしたフローを読み出す(ステップS
3)。プロセス番号「2」を接続元プロセスとしてもつ
フローBが読み出される。
In step S2, the route list 5 is read and the process number of the connection destination is read. Here, the process number “2” is read. Using the read process number “2” as a key, a match is made with the process number set in the connection source process column of Table 3, and the matched flow is read (step S
3). The flow B having the process number “2” as the connection source process is read.

【0015】ステップS4で、読み出したフローBの接
続先のプロセス番号をテーブル3から読み出す。プロセ
ス番号「3」が読み出されて、ステップS5に進み、そ
のプロセス番号「3」がすでに経路リスト5中に格納さ
れているかどうかを判断する。格納されていなければ、
ステップS6で、経路リスト5に格納して、ステップS
2にリターンする。もし、経路リスト5内にすでに同じ
プロセス番号が格納されていれば、データフロー図の中
にフローが循環している部分があるとし、ステップS7
に進んで、モニタディスプレイ9にエラー表示を行う。
In step S4, the read process number of the connection destination of the flow B is read from the table 3. The process number "3" is read out, and the process proceeds to step S5 to judge whether or not the process number "3" is already stored in the route list 5. If not stored,
In step S6, it is stored in the route list 5, and in step S6
Return to 2. If the same process number is already stored in the route list 5, it is assumed that there is a part in which the flow circulates in the data flow diagram, and step S7
Then, an error is displayed on the monitor display 9.

【0016】いま、経路リスト5には、ステップS1で
格納したプロセス番号「1」とプロセス番号「2」しか
格納されていないので、ステップS5の判断処理からス
テップS6に進んで、経路リスト5にプロセス番号
「3」が格納される。そして、ステップS2に戻って、
経路リスト5の接続先のプロセス番号、すなわち、
「3」が読み出されて、ステップS3でプロセス番号
「3」を接続元とするフローCが読み出される。次のス
テップS4でフローCの接続先のプロセス番号「4」が
読み出されてステップS5からステップS6に進み、経
路リスト5に格納される。ここまでの処理で、経路リス
ト5の内容は図4に示すようになる。
Since only the process number "1" and the process number "2" stored in step S1 are stored in the route list 5, the process proceeds from the determination process in step S5 to step S6, and the route list 5 is displayed. The process number “3” is stored. Then, returning to step S2,
Process number of connection destination of route list 5, that is,
"3" is read, and in step S3, the flow C having the process number "3" as the connection source is read. In the next step S4, the process number "4" of the connection destination of the flow C is read out, the process proceeds from step S5 to step S6, and is stored in the route list 5. By the processing up to this point, the contents of the route list 5 are as shown in FIG.

【0017】もう一度、ステップS2にリターンして上
記の処理を繰り返すと、経路リスト5の接続先にあるプ
ロセス番号「4」を元とするフローCの接続先のプロセ
ス番号「2」が読み出される。プロセス番号「2」はす
でに、図4の経路リスト5の中に存在しているからステ
ップS5の判断処理でフローの循環が判明する。すなわ
ち、フローの接続先のプロセスを追跡した結果、すでに
通過したプロセスに帰着することになるため、フローの
循環が判断され、ステップS7でエラーの表示が行われ
る。
When the process returns to step S2 again and the above process is repeated, the process number "2" of the connection destination of the flow C based on the process number "4" of the connection destination of the route list 5 is read. Since the process number “2” already exists in the route list 5 of FIG. 4, the circulation of the flow is found by the determination processing of step S5. That is, as a result of tracing the process of the connection destination of the flow, the process will be returned to the process that has already passed, so that the circulation of the flow is determined and an error is displayed in step S7.

【0018】[0018]

【発明の効果】以上の説明から明らかなように、この発
明のデータフロー図検証装置は、プロセスの実行順序に
基づいて、データの流れがプロセスの間を循環している
か否かを自動的に判断することにより、データフロー図
の実行順序の記述誤りの検証を自動化した。したがっ
て、人手による見落としなどの検証ミスがなく、また、
検証を行う人の時間や労力を大幅に削減できる。データ
フロー図が複雑になればなるほどこの発明の効果は顕著
に現れる。
As is apparent from the above description, the data flow diagram verification device of the present invention automatically determines whether or not the data flow circulates among the processes based on the execution order of the processes. By making a judgment, the verification of the description error of the execution order of the data flow diagram was automated. Therefore, there are no verification errors such as manual oversight, and
The time and labor of the person who performs the verification can be significantly reduced. The effect of the present invention becomes more remarkable as the data flow diagram becomes more complicated.

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

【図1】この発明の一実施例に係るデータフロー図検証
装置の概略構成を示したブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a data flow diagram verification device according to an embodiment of the present invention.

【図2】検証の対象となるデータフロー図の一例であ
る。
FIG. 2 is an example of a data flow diagram to be verified.

【図3】実施例におけるテーブルのフォーマットの一例
を模式化した図である。
FIG. 3 is a diagram schematically showing an example of a format of a table in the embodiment.

【図4】実施例における経路リストの一例を模式化した
図である。
FIG. 4 is a diagram schematically showing an example of a route list in the embodiment.

【図5】記述誤りの検証手順を示したフローチャートで
ある。
FIG. 5 is a flowchart showing a procedure for verifying a description error.

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

1・・・データフロー図検証装置 2・・・実行順序抽出部 3・・・テーブル 4・・・実行順序検証部 5・・・経路リスト 1 ... Data Flow Diagram Verification Device 2 ... Execution Order Extraction Section 3 ... Table 4 ... Execution Order Verification Section 5 ... Route List

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 情報処理システムにおける処理を機能単
位ごとに分割し、各処理(プロセス)間でのデータの流
れを図式化したデータフロー図の実行順序の記述誤りを
検証する装置であって、データの流れに基づく各プロセ
スの実行順序を抽出する手段と、前記抽出されたプロセ
スの実行順序を追跡してデータの流れがプロセスの間で
循環しているかを判断する手段と、前記データの流れの
循環が判断されたときに外部に対してエラー出力を行う
手段とを備えたことを特徴とするデータフロー図検証装
置。
1. An apparatus for verifying a description error in an execution order of a data flow diagram in which a process in an information processing system is divided into functional units and a data flow between the respective processes (processes) is illustrated. Means for extracting the execution order of each process based on the flow of data, means for tracking the execution order of the extracted processes to determine whether the data flow is circulating between the processes, and the data flow And a means for outputting an error to the outside when the circulation of the data flow is judged.
JP3280800A 1991-09-30 1991-09-30 Data flow chart verifying device Pending JPH0594290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3280800A JPH0594290A (en) 1991-09-30 1991-09-30 Data flow chart verifying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3280800A JPH0594290A (en) 1991-09-30 1991-09-30 Data flow chart verifying device

Publications (1)

Publication Number Publication Date
JPH0594290A true JPH0594290A (en) 1993-04-16

Family

ID=17630151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3280800A Pending JPH0594290A (en) 1991-09-30 1991-09-30 Data flow chart verifying device

Country Status (1)

Country Link
JP (1) JPH0594290A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519965B2 (en) 2003-10-17 2009-04-14 Fujitsu Limited Computer-readable medium recorded with a deadlock pre-detection program
JP2009193313A (en) * 2008-02-14 2009-08-27 Hiroshima Univ Apparatus, method and program for supporting design of bugless software system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519965B2 (en) 2003-10-17 2009-04-14 Fujitsu Limited Computer-readable medium recorded with a deadlock pre-detection program
JP2009193313A (en) * 2008-02-14 2009-08-27 Hiroshima Univ Apparatus, method and program for supporting design of bugless software system

Similar Documents

Publication Publication Date Title
US20050235260A1 (en) User interface application development device and development method
JPS59154538A (en) Method of building screen control system
JPH05135121A (en) Diagram recognition system
JPH07191840A (en) Automatic program generator
JPH0594290A (en) Data flow chart verifying device
CN112347723A (en) ROM code extraction verification method and device based on layout
JPH06195216A (en) Automatic generation device for verification program
CN109710476A (en) A kind of system interface robustness testing method and apparatus
JP2932987B2 (en) Automatic test equipment for computer systems
JPH09223110A (en) Command data base preparing device
JP2845744B2 (en) Test circuit generator for verification
JPH07319936A (en) Flow chart generating device
JPH11175580A (en) Integrated circuit designing device
JPH01125634A (en) Module incorporation test system
JP2000200297A (en) Analog component deletion information imparting system
JPH0424722B2 (en)
JPH07121576A (en) Failure simulation device
JPH0736953A (en) Logic simulation result analyzer
JPH0895827A (en) Microprogram verifying method
JPH06168167A (en) Input data management system
JPH06168294A (en) Design supporting device
JPS59183432A (en) Output display system of software
JP2003132114A (en) Cad system
JPH04220787A (en) Character reader
JPH0415759A (en) Preparation of connection data from pattern preparing diagram of printed board