JPH0481927A - Pad generating device - Google Patents

Pad generating device

Info

Publication number
JPH0481927A
JPH0481927A JP19646090A JP19646090A JPH0481927A JP H0481927 A JPH0481927 A JP H0481927A JP 19646090 A JP19646090 A JP 19646090A JP 19646090 A JP19646090 A JP 19646090A JP H0481927 A JPH0481927 A JP H0481927A
Authority
JP
Japan
Prior art keywords
pad
symbol
description language
created
character string
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
JP19646090A
Other languages
Japanese (ja)
Inventor
Tetsuya Kiyozumi
清住 哲也
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 JP19646090A priority Critical patent/JPH0481927A/en
Publication of JPH0481927A publication Critical patent/JPH0481927A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To improve the (problem analysis diagram) (PAD) generation efficiency by analyzing PAD description language and generating a PAD, when a symbol used in the PAD and a processing name described in the symbol are inputted by a document format (PAD description language). CONSTITUTION:The device is constituted of a PAD description language storage part 1, a monitor 2, a keyboard 3, a PAD converting part 4, a PAD storage part 5, and a printer 6. In such a state, when a symbol for constituting a PAD, and a processing name in its symbol are inputted by a document format, its document information is analyzed, and the PAD is generated automatically. Accordingly, it is unnecessary to plot directly the PAD on the monitor 2, and also, in the case of executing a correction, as well, it can be executed by a document format. In such a way, the time required for generating the PAD and user's labor spent therefor can be reduced.

Description

【発明の詳細な説明】 A、産業上の利用分野 この発明は、コンピュータのソフトウェアの開発工程に
おいて作成される仕様書、特に、ソフトウェアの処理構
造を図形式で表現したPAD(proble+s an
alysis diagramで問題解析図と訳される
)を作成するための装置に関する。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application This invention relates to specifications created in the process of developing computer software, and in particular to PAD (Proble+SAN), which expresses the processing structure of software in a diagram format.
It relates to a device for creating an lysis diagram (translated as a problem analysis diagram).

B、従来技術 ソフトウェアの仕様を記述するときに、そのソフトウェ
アの処理構造を図形式でわかりやすく表現する手段とし
て、最近、PADと呼ばれる図面が利用されるようにな
った。このPADの一例を第5図に示す、この第5図の
PADは、ソフトウェア開発の処理手順を例にしたもの
である。
B. Prior Art When describing the specifications of software, drawings called PAD have recently come to be used as a means to express the processing structure of the software in an easy-to-understand diagram format. An example of this PAD is shown in FIG. 5. The PAD in FIG. 5 is an example of a processing procedure for software development.

図中、符号に1〜に4はPADで用いられる図記号(シ
ンボル)を指しており、K1は処理開始や処理終了を表
すシンボル、に2はループ処理(繰り返し処理)を表す
シンボルで、図面の右側へと続く処理記号に3の処理を
、シンボル内に書かれた条件を満たすまで、繰り返すこ
とを表したものである。に4は分岐処理を表すシンボル
で、シンボルの右側の「ひだ」の数がその分岐数に対応
しており、シンボル内に記述されている条件に応じて「
ひだ」の先につながれている処理を実行することを表し
たものである。
In the figure, numerals 1 to 4 refer to symbols used in PAD, K1 is a symbol that represents the start or end of processing, and 2 is a symbol that represents loop processing (repetitive processing). The processing symbol that continues to the right of the symbol indicates that the process 3 is repeated until the condition written in the symbol is satisfied. 4 is a symbol that represents branch processing, and the number of folds on the right side of the symbol corresponds to the number of branches, and depending on the conditions described in the symbol,
This represents the execution of the process connected to the end of the fold.

このようなPADを作成する手法として、次の2つのタ
イプの装置を利用する手法が知られている。
As a method for creating such a PAD, methods using the following two types of devices are known.

■図形作成機能をもった文書作成袋W(ワープロ)や、
図形作成ソフトを組み込んだコンピュータなどを利用し
てPADを作成していく。
■Document creation bag W (word processor) with graphic creation function,
A PAD is created using a computer equipped with graphic creation software.

■PAD作成用のソフトを利用して、コンピュータ上で
PADを作成していく。このPAD作成用ソフトは、第
5図に示したようなシンボルを予め基本図形として記憶
しており、ユーザによって指定されたシンボルをモニタ
デイスプレィ上に表示して編集する機能をもったもので
ある。
■Create a PAD on your computer using PAD creation software. This PAD creation software stores symbols as shown in Figure 5 in advance as basic shapes, and has a function to display and edit symbols specified by the user on the monitor display. .

C0発明が解決しようとする課題 しかしながら、上述した従来装置には次のような問題点
がある。
Problems to be Solved by the C0 Invention However, the above-mentioned conventional device has the following problems.

■の装置を利用してPADの作成を行うには、第5図に
示したようなシンボルをその図形作成機能を用いて作成
し、さらに作成したシンボル中に処理名を記入していく
というプロセスを経る必要がある。このため、作成にか
なりの手間がかかるという欠点があった。
To create a PAD using the device described in (2), the process of creating a symbol as shown in Figure 5 using its graphic creation function, and then writing the process name in the created symbol. It is necessary to go through. For this reason, there was a drawback that it took a considerable amount of time and effort to create.

■の装置の場合、予めシンボルが登録されているので、
シンボルを作成する手間を省くことはできるが、PAD
作成用ソフト、つまり専用ソフトの使い方を習得しなけ
ればならず、その習得にある程度の時間や労力が費やさ
れてしまう。
In the case of the device shown in ■, the symbol is registered in advance, so
Although it is possible to save the trouble of creating symbols, PAD
It is necessary to learn how to use the creation software, that is, dedicated software, and a certain amount of time and effort is spent on learning it.

また、■、■とも、PADの修正(削除、移動挿入)を
行うときには、すでに作成されているPADを読み出し
てモニタデイスプレィに表示し、表示画面上で直接PA
Dの再編集や描画を行う必要があり、これも手間のかか
るものであった。
Also, in both ■ and ■, when modifying (delete, move and insert) a PAD, the already created PAD is read out and displayed on the monitor display, and the PAD can be edited directly on the display screen.
It was necessary to re-edit and draw D, which was also time-consuming.

この発明は、このような事情に鑑みてなされたものであ
って、PADの作成および修正の作業効率の向上を図る
ことができるPAD作成装置を提供することを目的とし
ている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a PAD creation device that can improve the work efficiency of creating and modifying a PAD.

D1課程を解決するための手段 この発明は、上記目的を達成するために次のような構成
を備えている。
Means for Solving Process D1 The present invention has the following configuration to achieve the above object.

即ち、この発明は、コンピュータ・ソフトウェアがもつ
処理構造を図形式で表現したPADを作成するPAD作
成装置において、前記PAD内で使用される各種の図記
号(シンボル)およびそのシンボル内に記述される処理
名を文書形式で表現したPAD記述言語を入力する入力
手段と、前記入力されたPAD記述言語を格納するPA
D記述言語記憶部と、前記PAD記述言語を解析しPA
Dを作成するPAD変換手段と、前記作成されたPAD
を格納するPAD記憶手段と、前記作成されたPADを
外部に出力する出力手段とを備えたことを特徴としてい
る。
That is, the present invention provides a PAD creation device that creates a PAD that represents the processing structure of computer software in a diagram form, and provides various graphical symbols (symbols) used in the PAD and descriptions in the symbols. an input means for inputting a PAD description language in which a process name is expressed in a document format; and a PA for storing the input PAD description language.
D description language storage unit and the PAD description language are analyzed and PA
PAD converting means for creating D, and the created PAD
The invention is characterized by comprising a PAD storage means for storing the PAD, and an output means for outputting the created PAD to the outside.

80作用 この発明によれば、入力手段が、PAD内で使用される
シンボルおよびシンボル内に記述される処理名を文書形
式(PAD記述言語)で入力すると、PAD変換手段が
PAD記述言語を解析してPADを作成する。
80 Effects According to this invention, when the input means inputs a symbol used in PAD and a process name described in the symbol in a document format (PAD description language), the PAD conversion means analyzes the PAD description language. Create a PAD.

また、−度作成したPADの修正を行うときは、PAD
記述言語記憶部内に記憶されているPAD記述言語を読
み出して出力手段の1つであるモニタに出力する。ユー
ザはモニタ画面を見ながら、その言語上で修正を行い、
修正後のPAD記述言語でPAD記述言語記憶部を更新
する。PAD変換−手段はその修正後のPAD記述言語
を解析して新たなPADを作成する。
Also, when modifying a PAD that has been created, the PAD
The PAD description language stored in the description language storage section is read out and output to a monitor which is one of the output means. The user makes corrections in the language while looking at the monitor screen,
Update the PAD description language storage unit with the corrected PAD description language. The PAD conversion means analyzes the modified PAD description language and creates a new PAD.

したがって、従来のようにモニタ上で直接PADを描画
したり、修正したりする必要がなく、手間がかからない
Therefore, there is no need to draw or modify the PAD directly on the monitor as in the past, which saves time and effort.

このようにして生成されたPADは、PAD記憶部内に
格納される一方、必要に応じてPAD出力手段から外部
に出力される。
The PAD generated in this manner is stored in the PAD storage section, and is outputted to the outside from the PAD output means as necessary.

F、実施例 以下、この発明の実施例を図面に基づいて説明する。F. Example Embodiments of the present invention will be described below based on the drawings.

第1図は、この発明の一実施例の構成の概略を示したブ
ロック図である。
FIG. 1 is a block diagram schematically showing the configuration of an embodiment of the present invention.

PAD記述言語記憶部1は、ユーザがモニタ2およびキ
ーボード3を介して入力したPAD記述言語を格納する
記憶部である(モニタ2−およびキーボード3が入力手
段に相当し、モニタ2は出力手段としても用いられる)
The PAD description language storage unit 1 is a storage unit that stores the PAD description language input by the user via the monitor 2 and keyboard 3 (the monitor 2 and the keyboard 3 correspond to input means, and the monitor 2 serves as output means). is also used)
.

このPAD記述言語記憶部1内には、1枚のPADに対
するPAD記述言語が1つの文書ファイルとして格納さ
れる。PAD記述言語は、シンボルを表す文字列(Ll
)と、シンボル内に表記される処理名を表した文字列(
L2)とを1行毎に収録した文書情報である。
In this PAD description language storage unit 1, a PAD description language for one PAD is stored as one document file. The PAD description language uses character strings (Ll
) and a string (
This is document information in which ``L2'' and ``L2'' are recorded line by line.

このPAD記述言語の一例を第2図に示す0辺の図のP
AD記述言語は第5図のPADを作成するときに入力さ
れる言語を示している。
An example of this PAD description language is P in the 0-side diagram shown in Figure 2.
The AD description language indicates the language input when creating the PAD shown in FIG.

1行目のrstart Jが、最初に作成される処理開
始のシンボル(第5図のKl)を表す文字列Llであり
、「°・・・°J部分に記述されているのが処理名を表
す文字列L2である。
The rstart J in the first line is the character string Ll that represents the symbol for starting the process that is created first (Kl in Figure 5). This is the character string L2 representing.

2行目のruntil Jはループ処理のシンボル(第
5図のに2)を表す文字列L1であり、「。
runtil J on the second line is a character string L1 representing the loop processing symbol (2 in Figure 5), and is ".

・・・”」部分に記述されているのが処理名を表す文字
列L2である。つまり、この2行目は「仕様書を完成」
するまで、以下の処理を繰り返すというループ処理を記
述したもので、次の行(3行目)に記述されているのが
、ループすべき処理の記述言語である。その行の初めに
「、(ピリオド)」が打たれているが、このピリオドの
数はレベル数を表し、第5図のpyが「0」レベルでそ
こからのレベル数で表している。ピリオドが1つの処理
は次のレベル(図面の1段右側)に作成し、ピリオドが
2つの処理はそのまた次のレベル(図面の2段右側)に
作成せよという命令コードである。
What is written in the "..." portion is a character string L2 representing the process name. In other words, this second line "completes the specification"
This is a description of a loop process that repeats the following process until the process is executed.What is written in the next line (third line) is the description language for the process to be looped. At the beginning of that line is a ", (period)", and the number of periods represents the number of levels, and py in FIG. 5 is the "0" level and the number of levels from there. This instruction code indicates that a process with one period should be created at the next level (one level to the right in the drawing), and a process with two periods should be created at the next level (two levels to the right in the drawing).

4行目や5行目のように、単に「°・・・”Jで記述し
ているのは、処理記号(第5図のに3)を表すもので、
「・・・」は同様にその処理名を表した文字列L2であ
る。
As in the 4th and 5th lines, the simple "°..." J represents a processing symbol (3 in Figure 5).
Similarly, "..." is a character string L2 representing the process name.

6行目のrselect」は分岐処理のシンボル(第3
図のに4)を表す文字列L1で、「”・・パ」の部分が
処理名を表した文字列L2である。つまり、この6行目
はr (PADの)抜けがないか」を分岐処理の判断と
したもので、次の行に記述されているのが分岐条件文で
ある。この例では、[No]、すなわち、「抜けがある
」場合に、その次の行の処理に移行するということを記
述している。
"rselect" on the 6th line is the branch processing symbol (3rd
In the character string L1 representing 4) in the figure, the part "...pa" is a character string L2 representing the process name. In other words, the 6th line makes a decision on the branch process, ``Is there a missing r (PAD)?'', and what is written in the next line is the branch condition statement. In this example, it is written that if [No] is selected, that is, there is an omission, the process moves to the next line.

二のように、本実施例で定義したPAD記述言語は、シ
ンボルを表す文字列Llにそのシンボルのもつ意味をも
たせるようにしているので、比較的に簡単な入力が行え
る。
As shown in item 2, the PAD description language defined in this embodiment allows the character string Ll representing a symbol to have the meaning of that symbol, so that relatively simple input can be performed.

第1図にもどって、符号4はPAD記述言語を解析して
PADを作成するPAD変換手段としてのPAD変換部
、5は作成されたPADデータファイルを格納するPA
D記憶手段としてのPAD記憶部、6は出力手段として
のプリンタ、7はインターフェイスである。
Returning to FIG. 1, reference numeral 4 is a PAD conversion unit that analyzes the PAD description language and creates a PAD, and 5 is a PA that stores the created PAD data file.
D is a PAD storage section as a storage means, 6 is a printer as an output means, and 7 is an interface.

次に、PAD作成の動作(PADAD変換部動作)につ
いて、第3図のフローチャートを参照しながら説明する
Next, the PAD creation operation (PADAD converter operation) will be explained with reference to the flowchart of FIG.

ステップSlで、PAD記述言語記憶部1に格納されて
いる1つのPAD記述言語ファイル内のすべての言語の
解析が終了したかどうかを判断し、終了しないうちはス
テップS2に進み、そのファイルから1行分のPAD記
述言語を読み込む、読み込んだPAD記述言語をLとし
ておく。
In step Sl, it is determined whether or not the analysis of all the languages in one PAD description language file stored in the PAD description language storage unit 1 has been completed. Read the PAD description language for the line, and let L be the read PAD description language.

ステップS3で、PAD記述言語りの中から、シンボル
を表す文字列L1と、処理名を表す文字列L2とを取り
出す。
In step S3, a character string L1 representing a symbol and a character string L2 representing a process name are extracted from the PAD description language.

ステップS4で、取り出したL2の表示領域Hの四隅の
座標値を算出する。
In step S4, the coordinate values of the four corners of the display area H of the extracted L2 are calculated.

表示領域Hは、文字列L2を包括する四角の領域のこと
で、モニタ2の表示画面をX−Y座標系(横方向がX、
縦方向がY)に対応させて、表示領域Hの四隅の座al
l値H1〜H4(第4図(a)参照)を算出する。
The display area H is a square area that includes the character string L2, and the display screen of the monitor 2 is arranged in the X-Y coordinate system (horizontal direction is
The four corners of the display area H correspond to Y) in the vertical direction.
l values H1 to H4 (see FIG. 4(a)) are calculated.

ステップ85〜7の処理で、文字列L1の種類を判断し
、各種の文字列L 1’に応じた処理に移行していく。
In the processes of steps 85 to 7, the type of character string L1 is determined, and the process proceeds to processes corresponding to various character strings L1'.

すなわち、文字列L1がrstart’ Jであるなら
ば、ステップ38〜9の処理に移行し、文字列Llがr
until Jであるならば、ステップSho〜13の
処理に移行し、 文字列L1がrselect」であるならば、ステップ
314〜17の処理に移行し、 文字列L1が上記3つの文字でない場合は、ステップ3
18〜19の処理に移行する。
That is, if the character string L1 is rstart' J, the process moves to steps 38 to 9 and the character string L1 is rstart' J.
If the character string L1 is "until J", the process moves to steps Sho~13; if the character string L1 is "rselect", the process moves to steps 314~17; if the character string L1 is not the above three characters, Step 3
The process moves to steps 18 and 19.

その各文字列Llの処理について個別に説明する。The processing of each character string Ll will be explained individually.

(イ)文字列L1がrstart Jの場合、ステップ
S8で、表示領域Hの位置、サイズに応じた処理開始の
シンボル(第5図のKl)を作成する。
(a) If the character string L1 is rstart J, in step S8, a processing start symbol (Kl in FIG. 5) is created according to the position and size of the display area H.

すなわち、表示領域HのH1→H2,H3→H4の座標
値間に線分データを、H1→H3,H2→H4の座標間
に円弧データを生成することによって、処理開始シンボ
ルKlを作成する(第4図(ロ)参照)。
That is, the processing start symbol Kl is created by generating line segment data between the coordinate values of H1→H2 and H3→H4 of the display area H, and arc data between the coordinates of H1→H3 and H2→H4 ( (See Figure 4 (b)).

ステップS9で、作成したシンボルKlの中に文字列L
2を挿入した図形データを出力ファイルに出力する。こ
の出力ファイルが第1図のPAD図面記憶部5に格納さ
れるPADデータファイルとなる。
In step S9, the character string L is added to the created symbol Kl.
Output the graphic data with 2 inserted to the output file. This output file becomes a PAD data file stored in the PAD drawing storage section 5 of FIG.

(ロ)文字列L1がruntil Jの場合、ステップ
510で、表示領域Hの位置、サイズに応じたループ処
理のシンボル(第5図のに2)を作成する。
(b) When the character string L1 is runtil J, in step 510, a loop processing symbol (2 in FIG. 5) is created according to the position and size of the display area H.

すなわち、表示領域Hの各座標値H1〜H4を囲む四角
の図形データを作成し、さらに、その四角の右側に微小
な四角に2′ (第4図(C)参照)の図形を付加した
ものをループ処理シンボルに2として作成する。
In other words, graphic data of a square surrounding each coordinate value H1 to H4 of the display area H is created, and a tiny square 2' (see Fig. 4 (C)) is added to the right side of the square. Create the loop processing symbol as 2.

ステップSllで、作成したシンボルに2の中に文字列
L2を挿入した図形データを出力ファイルに出力する。
In step Sll, graphic data in which the character string L2 is inserted into 2 in the created symbol is output to an output file.

ステップS12で、微小な四角に2’の最古側の中心位
置座標を始点とした線分lxのデータを出力する(第4
図(C)参照)、これは、ループ処理シンボルの右側に
は必ず次の処理(ループすべき処理)のシンボルが記述
されるからで、線分lxはそれらのシンボルをつなぐ接
続線である0次のステップS13で、そのループすべき
処理部分のPADを作成する。
In step S12, the data of the line segment lx whose starting point is the center position coordinates of the oldest side of 2' is output to a minute square (the fourth
(See figure (C)), this is because the symbol of the next process (process to be looped) is always written on the right side of the loop processing symbol, and the line segment lx is the connecting line that connects these symbols. In the next step S13, a PAD for the processing portion to be looped is created.

ステップS13では、まず、読み出しアドレスを一つカ
ウントアツプ(L+1→L)して次の行に記述されてい
るPAD記述言語を読み込む。
In step S13, first, the read address is counted up by one (L+1→L) and the PAD description language written in the next line is read.

読み込んだPAD記述言語を文字列L1とL2に分解し
、文字列Llが示すシンボル中に、文字列L2を挿入し
た図形データを線分lxの終点位置に出力する。
The read PAD description language is decomposed into character strings L1 and L2, and graphic data in which the character string L2 is inserted into the symbol indicated by the character string Ll is output to the end point position of the line segment lx.

このループ処理部分のように、PADの右側に続くシン
ボルを、PAD記述言語では先頭に「ピリオド」を付加
することによって表現しているので、以後、「ピリオド
」が付加されている行についての図形データを作成し、
順番に出力していく。
As shown in this loop processing part, the symbol that continues on the right side of PAD is expressed by adding a "period" to the beginning in the PAD description language, so from now on, the figure for the line to which "period" is added will be expressed. create data,
Output in order.

「ピリオド」が先頭にある文書の解析が終われば、ルー
プ処理部分のPADは完成する。
When the analysis of the document starting with a "period" is completed, the PAD of the loop processing part is completed.

(ハ)文字列L1がrselectJの場合、ステップ
S14で、まず、rselectJの次の行に記述され
ている条件文の歓、つまり、[・・・]の数をカウント
する。これは、条件文の数によって、分岐シンボル(第
5図のに4)の形状が異なる(「ひだ」の数が興なる)
ためである、ただし、「ひだ」の数は最低2つ存在する
(c) When the character string L1 is rselectJ, in step S14, first, the number of conditional statements written in the line following rselectJ, that is, the number of [...] is counted. This means that the shape of the branching symbol (4 in Figure 5) differs depending on the number of conditional statements (the number of folds changes).
However, the number of "folds" is at least two.

そして、カウント数に応じた「ひだ」部をもつ分岐シン
ボルに4を作成する。第4図(d)に分岐シンボルに4
の一例を示しており、この図では「ひだJの数が最低の
2つとなっている。
Then, 4 is created as a branch symbol having a "fold" portion corresponding to the count number. In Figure 4(d), the branch symbol is 4.
In this figure, the number of pleats J is the lowest, two.

ステップS15で、作成した分岐シンボルに4の中に文
字列L2を挿入し、「ひだ」部分の中に、条件文、つま
り[・・弓の・・・の文字を挿入した図形データを出力
ファイルに出力する。
In step S15, the character string L2 is inserted into 4 in the created branch symbol, and the conditional statement, that is, the characters [...bow...] is inserted into the "fold" part. Output to.

ステップS16で、「ひだ」の先端を始点とする線分l
×を条件文の数に応じて出力ファイルに出力する。これ
は、分岐された後に続く処理と、分岐シンボルに4とつ
なぐ接続線である(第4図(d)参照)、そして、次の
ステップ517で分岐後の処理のPADを作成する。
In step S16, a line segment l whose starting point is the tip of the "fold"
Output × to the output file according to the number of conditional statements. This is a connection line that connects the process that follows the branch with 4 to the branch symbol (see FIG. 4(d)), and in the next step 517, the PAD of the process after the branch is created.

ステップS17の処理は、ステップS13の処理と同様
で、各条件文の次の行に書かれている文書(「ピリオド
」で始まる文書)を解析して、その図形データを作成し
、出力ファイルに出力していく。
The process in step S17 is similar to the process in step S13, and the document written in the next line of each conditional statement (the document starting with "period") is analyzed, the graphic data is created, and the output file is created. Output.

(ニ)文字列Llが、(イ)〜(ハ)の文字ではなかっ
た場合・つまり、単に「゛・・パJで始まる文字列であ
った場合には、ステップ31Bで、表示領域Hの各座標
値H1〜H4を囲む四角形の処理シンボル(第5図のに
3)を作成する。
(d) If the character string Ll is not one of the characters (a) to (c), that is, if it is simply a character string starting with "゛...pa J," in step 31B, the display area H is A rectangular processing symbol (3 in FIG. 5) surrounding each coordinate value H1 to H4 is created.

ステップS19で、作成した処理シンボルに3の中に文
字列L2を挿入した図形データを出力ファイルに出力す
る(第4図(e)参照)。
In step S19, the graphic data obtained by inserting the character string L2 into 3 in the created processing symbol is output to an output file (see FIG. 4(e)).

以上のように、各種の文字列L1に応じたシンボルの図
形データを予め登録しておくのではなく、文字列L2の
サイズに合わせて作成するようにしたので、いかなるサ
イズの処理名にも合致したシンボルが作成される。
As described above, instead of registering the graphic data of symbols corresponding to various character strings L1 in advance, we created them according to the size of the character string L2, so that they match processing names of any size. A symbol is created.

各種の文字列L1に応したシンボルを作成して、出力フ
ァイル中に書き込むと、ステップ320で、線分1yを
出力ファイルに出力する。これは、各シンボルを縦接続
するための接続線で、第5図に示したものである。
After creating symbols corresponding to various character strings L1 and writing them into the output file, in step 320, the line segment 1y is output to the output file. This is a connection line for vertically connecting each symbol, and is shown in FIG.

ステップS21で、PAD記述言語の読み出しアドレス
を1つカウントアツプして、ステップS1にもどり、以
上の処理を繰り返す。
In step S21, the read address of the PAD description language is counted up by one, and the process returns to step S1 to repeat the above processing.

上述した各ステップの動作の一例を第2図に示したPA
D記述言語の一部について説明すると、1行目の’5t
art“ソフトウェアの開発“」が読み込まれ、°ソフ
トウェアの開発“ という文字列を包括する表示領域H
の四隅の座標値が算出される。その座標値を囲む処理開
始シンボルに1を作成し、シンボルKl中に「ソフトウ
ェアの開発」を挿入した図形データと、線分zyとを出
力ファイルに書き込む。そして、2行目の’until
°・・・′」が読み込まれ、同様にして、「仕様書の完
成」という文字列を挿入したループシンボルに2が線分
zyの終点位置に作成される。そして、次の行の「、゛
仕様書の作成・修正゛」が読み込まれて、ループシンボ
ルに2の右側に作成される。以下、3行目以降、同様に
して、各シンボルの図形データが出力ファイルに書き込
まれ、1つの文書ファイル中のPAD記述言語全てにつ
いて終了すると、その出力ファイルはPADデータファ
イルとして、PAD記憶部5に格納される。
An example of the operation of each step described above is shown in FIG.
To explain part of the D description language, '5t in the first line
The art “Software Development” is loaded, and the display area H that includes the character string “Software Development” is displayed.
The coordinate values of the four corners of are calculated. 1 is created as a processing start symbol surrounding the coordinate value, and the graphic data in which "software development" is inserted in the symbol Kl and the line segment zy are written to the output file. And 'until' on the second line
'...' is read, and in the same way, 2 is created at the end position of the line segment zy in the loop symbol into which the character string 'Completion of specifications' is inserted. Then, the next line ``Create/modify specifications'' is read and created on the right side of 2 in the loop symbol. From the third line onward, the graphic data of each symbol is written to the output file in the same way, and when all the PAD description languages in one document file are written, the output file is stored as a PAD data file in the PAD storage unit 5. is stored in

格納されたPADの図面データは、モニタ2に表示され
た後、必要に応じてプリンタ6から印刷物として出力さ
れる。
The stored drawing data of the PAD is displayed on the monitor 2, and then output as printed matter from the printer 6 as required.

なお、上述したPAD変換部4の動作、つまりPAD記
述言語の作成手法は、紹介したものに限らず、その他の
作成手法が考えられ、適用することができる。
Note that the operation of the PAD converter 4 described above, that is, the method of creating the PAD description language, is not limited to the one described above, and other creating methods can be considered and applied.

次に、−度作成したPADの修正(移動、削除。Next, modify (move, delete) the PAD you created.

挿入など)を行う場合は、PAD記述言語記憶部Iから
、該当するPAD記述言語の文書ファイルを読み出し、
キーボード3を使ってPAD記述言語上で修正を行う、
つまり、PADに対して直接修正を施すのではなく、P
AD記述言語を用いて修正を行うから、いちいち修正の
対象となるシンボルの位置を指定して移動や削除処理な
どを行うことなく、手早く修正を行うことができる。
(insertion, etc.), read the document file of the corresponding PAD description language from the PAD description language storage unit I,
Make corrections on the PAD description language using keyboard 3,
In other words, instead of directly modifying PAD,
Since corrections are made using the AD description language, corrections can be made quickly without specifying the position of each symbol to be corrected and moving or deleting it.

そして、修正したPAD記述言語でその文書ファイルを
更新する。PAD変換部4は更新された文書ファイル中
のPAD記述言語にを上述のように解析して、修正後の
PADデータを作成し、それでPAD記憶部5内のPA
Dデータファイルを更新する。更新されたPADデータ
は、モニタ2に表示され、必要に応じてプリンタ6から
出力される。
Then, the document file is updated with the modified PAD description language. The PAD conversion unit 4 analyzes the PAD description language in the updated document file as described above, creates corrected PAD data, and converts the PAD data in the PAD storage unit 5.
D Update the data file. The updated PAD data is displayed on the monitor 2 and output from the printer 6 as necessary.

G0発明の効果 以上の説明から明らかなように、この発明に係るPAD
作成装置は、PADを構成するシンボルと、そのシンボ
ル内の処理名とを文書形式で入力すれば、その文書情報
を解析して、自動的にPADを作成するように構成した
から、従来のようにモニタ上で直接PADを描面する必
要がなく、また、修正を行う場合も、文書形式で行うこ
とができるので、PADの作成時間とこれに費やすユー
ザの労力を大幅に低減することができた。
Effects of the G0 invention As is clear from the above explanation, the PAD according to this invention
The creation device is configured to analyze the document information and automatically create a PAD by inputting the symbols that make up the PAD and the process name within the symbol in a document format, so it does not work as before. Since there is no need to draw the PAD directly on the monitor, and corrections can be made in document format, the time required to create the PAD and the user's effort can be significantly reduced. Ta.

したがって、コンピュータ・ソフトウェアの開発工程で
ある仕様書(PADを含む)の作成工程を効率よく寛行
することができ、ソフトウェアの開発工程の効率化に寄
与することができる。
Therefore, the process of creating specifications (including PAD), which is a computer software development process, can be carried out efficiently, contributing to the efficiency of the software development process.

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

第1図ないし第5図は、この発明の一実施例に係り、第
1図は装置の概略構成を示したブロック図、第2図はP
AD記述言語の一例を示した図、第3図はPAD作成処
理のフローチャート、第4図はPAD作成を説明する図
、第5図はPADの一例図である。 1・・・PAD記述言語記憶部 2・・・モニタ     3・・・キーボード4・・・
PAD変換部 5・・・PAD記憶部 6・・・プリンタ
1 to 5 relate to an embodiment of the present invention, FIG. 1 is a block diagram showing the schematic configuration of the device, and FIG. 2 is a block diagram showing the schematic configuration of the device.
FIG. 3 is a flowchart of PAD creation processing, FIG. 4 is a diagram illustrating PAD creation, and FIG. 5 is an example of a PAD. 1... PAD description language storage unit 2... Monitor 3... Keyboard 4...
PAD conversion unit 5...PAD storage unit 6...Printer

Claims (1)

【特許請求の範囲】[Claims] (1)コンピュータ・ソフトウェアがもつ処理構造を図
形式で表現したPADを作成するPAD作成装置におい
て、前記PAD内で使用される各種の図記号(シンボル
)およびそのシンボル内に記述される処理名を文書形式
で表現したPAD記述言語を入力する入力手段と、前記
入力されたPAD記述言語を格納するPAD記述言語記
憶部と、前記PAD記述言語を解析しPADを作成する
PAD変換手段と、前記作成されたPADを格納するP
AD記憶手段と、前記作成されたPADを外部に出力す
る出力手段とを備えたことを特徴とするPAD作成装置
(1) In a PAD creation device that creates a PAD that expresses the processing structure of computer software in a diagram format, various graphical symbols (symbols) used in the PAD and the processing names described in the symbols are an input means for inputting a PAD description language expressed in a document format; a PAD description language storage section for storing the inputted PAD description language; a PAD conversion means for analyzing the PAD description language and creating a PAD; P to store the PAD
A PAD creation device comprising an AD storage means and an output means for outputting the created PAD to the outside.
JP19646090A 1990-07-25 1990-07-25 Pad generating device Pending JPH0481927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19646090A JPH0481927A (en) 1990-07-25 1990-07-25 Pad generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19646090A JPH0481927A (en) 1990-07-25 1990-07-25 Pad generating device

Publications (1)

Publication Number Publication Date
JPH0481927A true JPH0481927A (en) 1992-03-16

Family

ID=16358177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19646090A Pending JPH0481927A (en) 1990-07-25 1990-07-25 Pad generating device

Country Status (1)

Country Link
JP (1) JPH0481927A (en)

Similar Documents

Publication Publication Date Title
JPH02109127A (en) Specification processing method
WO2009098739A1 (en) Program optimization device and program optimization method
US9519463B1 (en) Application for automatically generating graphical flowcharts based on configurable means
US20080104088A1 (en) Apparatus, method, and program for visualizing boolean expressions
JPH0481927A (en) Pad generating device
JP5458065B2 (en) Device and program for supporting structural analysis of module
JP2946715B2 (en) Program generation method and specification input method for it
JP2006285754A (en) Program source code automatic generation system
JP2707962B2 (en) Operation line visualization device
JP3674905B2 (en) Document editing device
JPS63109578A (en) Processing system for logic diagram outline display
JPS62145424A (en) Program managing method
JPH07334216A (en) Programming device
JP2001325096A (en) Method for displaying error information, and device for the same
JP2001076023A (en) Device and method for converting language and storage medium
JP2973906B2 (en) Character user interface device
JPS62145423A (en) Automatically generating method for program specification
CN116363256A (en) Method and device for realizing visual display of code pictures
JPH1083417A (en) Cad system and its language display conversion method
JPH08194706A (en) Structural sentence generation device
JP2001005703A (en) Method and system for generating text type file
JPS62145422A (en) Automatically generating method for source program
JPH04167053A (en) Text editor
JPH05241987A (en) Testing method
JPH04532A (en) Binary data editing device