JP2001282514A - Hcp chart generation device, its method and recording medium recording hcp chart generation program - Google Patents

Hcp chart generation device, its method and recording medium recording hcp chart generation program

Info

Publication number
JP2001282514A
JP2001282514A JP2000089573A JP2000089573A JP2001282514A JP 2001282514 A JP2001282514 A JP 2001282514A JP 2000089573 A JP2000089573 A JP 2000089573A JP 2000089573 A JP2000089573 A JP 2000089573A JP 2001282514 A JP2001282514 A JP 2001282514A
Authority
JP
Japan
Prior art keywords
chart
hcp
hcp chart
program
source
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
JP2000089573A
Other languages
Japanese (ja)
Inventor
Kazuma Otsuka
一馬 大塚
Hitoshi Yamakawa
均 山川
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.)
NTT Comware Corp
Original Assignee
NTT Comware 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 NTT Comware Corp filed Critical NTT Comware Corp
Priority to JP2000089573A priority Critical patent/JP2001282514A/en
Publication of JP2001282514A publication Critical patent/JP2001282514A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily grasp structure by generating an HCP chart from an STDL program and to generate an HCP chart of higher generality. SOLUTION: A source list of a program described by an STDL including comment data is read out, an HCP chart constituted of text data corresponding to an HCP chart symbol corresponding to the program is generated on the basis of the read source list and source codes constituting the source list and the comment data are outputted so as to correspond to the HCP chart.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は、HCPチャート生
成装置、HCPチャート生成方法およびHCPチャート
生成用プログラムを記録した記録媒体に係り、特にST
DL(StructuredTransaction Definition Language)
言語で記述されたプログラムからHCPチャート(Hier
archical and ComPact description chart)を生成する
ためのHCPチャート生成装置、HCPチャート生成方
法およびHCPチャート生成用プログラムを記録した記
録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an HCP chart generation apparatus, an HCP chart generation method, and a recording medium on which an HCP chart generation program is recorded.
DL (Structured Transaction Definition Language)
HCP chart (Hier chart)
The present invention relates to an HCP chart generation device, an HCP chart generation method, and a recording medium storing an HCP chart generation program for generating an archical and ComPact description chart).

【0002】[0002]

【従来の技術】従来より分散トランザクション処理アプ
リケーションを作成するための高水準トランザクション
処理(TP)言語としてSTDL(Structured Transac
tion Definition Language)が知られている。STDL
においては、標準のC言語、COBOL(COmmon Busin
ess OrientedLanguage)あるいはSQL(Structured Q
uery Language)等の高水準言語には組み込まれていな
いトランザクション制御や例外処理などが言語の構文に
組み込まれている。
2. Description of the Related Art Conventionally, as a high-level transaction processing (TP) language for creating a distributed transaction processing application, STDL (Structured Transac
tion Definition Language) is known. STDL
In the standard C language, COBOL (COMmon Busin
ess Oriented Language) or SQL (Structured Q)
Transaction control and exception handling that are not built into high-level languages such as uery Language are built into the language syntax.

【0003】また、STDLは、複雑な処理、データベ
ースやファイルに対するすべての操作およびディスプレ
イ、I/Oデバイス等へのアクセスを行う機能を持ってい
ないため、もしそれらが必要なときには,各高水準言語
のプロシージャを呼び出すことによりそれらを実現する
こととなる。このような構成を採ることにより、各高水
準言語はトランザクション制御などの機能を追加をする
必要がない。また、特定のトランザクション処理モニタ
に依存したAPIを使用することなくトランザクション
処理を記述することができるために、トランザクション
処理アプリケーションの移植性を高めることができると
いう利点がある。
Also, since the STDL does not have a function for performing complicated processing, all operations on databases and files, and access to displays, I / O devices, and the like, if these are required, each high-level language is used. These procedures are realized by calling the procedure. By adopting such a configuration, each high-level language does not need to add functions such as transaction control. Further, since transaction processing can be described without using an API depending on a specific transaction processing monitor, there is an advantage that portability of a transaction processing application can be improved.

【0004】[0004]

【発明が解決しようとする課題】ところで、作成したS
TDLプログラムのアルゴリズムが所期のアルゴリズム
通りとなっているかを確認するために、従来はSTDL
プログラムのソースプログラムリストに基づいて確認を
行っていた。従って、確認作業のために多くの時間が必
要となってしまうという問題点があった。ところで、構
造化プログラミングの構造を記述するためのチャートと
してHCPチャート(Hierarchical and ComPact descr
iption chart)が知られており、このHCPチャートを
STDLプログラムのアルゴリズム確認に用いることが
考えられる。
By the way, the created S
Conventionally, to confirm whether the algorithm of the TDL program is as expected,
The check was based on the source program list of the program. Therefore, there is a problem that much time is required for the checking operation. By the way, an HCP chart (Hierarchical and ComPact descr) is used as a chart for describing the structure of structured programming.
An HCP chart is known, and it is conceivable to use this HCP chart for checking the algorithm of the STDL program.

【0005】しかしながら、従来のHCPチャートは、
バイナリー形式のファイルとして生成されるため、得ら
れるHCPチャートを有効に利用するためには、所定の
エディタを用いる必要があり、利用場所が限られてしま
うという問題点も生じることとなる。そこで、本発明の
目的は、STDLプログラムからHCPチャートを生成
して構造把握を容易にするとともに、より汎用性の高い
HCPチャートを生成することが可能なHCPチャート
生成装置、HCPチャート生成方法およびHCPチャー
ト生成用プログラムを記録した記録媒体を提供すること
にある。
However, the conventional HCP chart is
Since the file is generated as a binary file, it is necessary to use a predetermined editor in order to effectively use the obtained HCP chart, and there is also a problem that the use place is limited. Therefore, an object of the present invention is to generate an HCP chart from an STDL program to facilitate understanding of a structure, and to generate an HCP chart with higher versatility, an HCP chart generation method, an HCP chart generation method, and an HCP chart. An object of the present invention is to provide a recording medium on which a chart generating program is recorded.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、請求項1記載の構成は、STDLで記述されたプロ
グラムからHCPチャートを生成するHCPチャート生
成装置であって、STDLで記述されたプログラムのソ
ースリストを読み込むソース読込手段と、前記ソースリ
ストに基づいて、前記プログラムに対応するHCPチャ
ート用シンボルに対応するテキストデータにより構成さ
れたHCPチャートを生成するチャート生成手段と、を
備えたことを特徴としている。
According to an aspect of the present invention, there is provided an HCP chart generating apparatus for generating an HCP chart from a program described in STDL, the program comprising: Source reading means for reading the source list of the above, and chart generating means for generating an HCP chart composed of text data corresponding to the symbol for the HCP chart corresponding to the program based on the source list. Features.

【0007】請求項2記載の構成は、請求項1記載の構
成において、前記ソースリストは、コメントデータを含
み、 前記ソースリストを構成するソースコードおよび
前記コメントデータを前記HCPチャートに対応づけて
予め定めた所定の出力フォーマットで出力するHCPチ
ャート出力手段を備えたことを特徴としている。
According to a second aspect of the present invention, in the configuration of the first aspect, the source list includes comment data, and a source code and the comment data constituting the source list are associated with the HCP chart in advance. An HCP chart output means for outputting in a predetermined output format is provided.

【0008】請求項3記載の構成は、請求項2記載の構
成において、前記HCPチャート出力手段は、前記ソー
スリストから前記コメントデータを抽出するコメントデ
ータ抽出手段を備えたことを特徴としている。
A third aspect of the present invention is characterized in that, in the second aspect, the HCP chart output means includes comment data extracting means for extracting the comment data from the source list.

【0009】請求項4記載の構成は、請求項2記載の構
成において、前記HCPチャート出力手段は、1ライン
の前記ソースリスト毎に生成した前記HCPチャートを
生成し、前記コメントデータを対応させて出力すること
を特徴としている。
According to a fourth aspect of the present invention, in the configuration of the second aspect, the HCP chart output means generates the HCP chart generated for each source list of one line, and associates the comment data with the HCP chart. It is characterized by outputting.

【0010】請求項5記載の構成は、STDLで記述さ
れたプログラムからHCPチャートを生成するHCPチ
ャート生成方法であって、コメントデータを含むSTD
Lで記述されたプログラムのソースリストを読み込むソ
ース読込過程と、前記ソースリストに基づいて、前記プ
ログラムに対応するHCPチャート用シンボルに対応す
るテキストデータにより構成されたHCPチャートを生
成するチャート生成過程と、前記ソースリストを構成す
るソースコードおよび前記コメントデータを前記HCP
チャートに対応づけて出力するHCPチャート出力過程
と、を備えたことを特徴としている。
According to a fifth aspect of the present invention, there is provided an HCP chart generating method for generating an HCP chart from a program described in STDL, wherein the STD includes comment data.
A source reading step of reading a source list of a program described in L; a chart generating step of generating an HCP chart composed of text data corresponding to an HCP chart symbol corresponding to the program based on the source list; , The source code constituting the source list and the comment data are stored in the HCP
And outputting the HCP chart in association with the chart.

【0011】請求項6記載の構成は、STDLで記述さ
れたプログラムからHCPチャートを生成するためのH
CPチャート生成用プログラムを記録した記録媒体であ
って、コメントデータを含むSTDLで記述されたプロ
グラムのソースリストを読み込ませ、前記ソースリスト
に基づいて、前記プログラムに対応するHCPチャート
用シンボルに対応するテキストデータにより構成された
HCPチャートを生成させ、前記ソースリストを構成す
るソースコードおよび前記コメントデータを前記HCP
チャートに対応づけて出力させる、ためのHCPチャー
ト生成用プログラムを記録したことを特徴としている。
[0011] According to a sixth aspect of the present invention, an H for generating an HCP chart from a program described in STDL is provided.
A recording medium on which a program for generating a CP chart is recorded, wherein a source list of a program described in STDL including comment data is read, and a symbol corresponding to an HCP chart corresponding to the program is read based on the source list. An HCP chart composed of text data is generated, and the source code and the comment data constituting the source list are stored in the HCP chart.
It is characterized in that an HCP chart generation program for outputting in association with a chart is recorded.

【0012】[0012]

【発明の実施の形態】次に本発明の好適な実施形態につ
いて説明する。 [1] 実施形態の構成 図1に実施形態のチャート生成装置1の概要構成ブロッ
ク図を示す。チャート生成装置1は、チャート装置全体
を制御するマイクロプロセッサユニット(MPU)2
と、マイクロプロセッサユニットの制御用プログラムお
よび各種制御用データを格納したROM3と、各種デー
タを一時的に格納したり処理用プログラムを格納するR
AM4と、STDL(Structured Transaction Definit
ion Language)で記述されたプログラムをHCPチャー
ト(Hierarchical and ComPact description chart)に
変換するためのテーブル等を格納したハードディスク等
の外部記憶装置5と、STDLで記述されたプログラム
をリムーバブルな記録媒体(フレキシブルディスクなど
の磁気記録媒体、光ディスクなどの光記録媒体)から読
み込み、あるいは、変換後のHCPチャートを書き込む
ためのリムーバブル記録装置6と、各種データを外部の
通信装置との間でやりとりするための通信インターフェ
ース部7と、ユーザが各種操作、データ入力を行うため
のキーボード、マウスなどの操作入力部8と、変換後の
HCPチャートをプリントアウトするためのプリンタ9
と、各種データを表示するためのディスプレイ10と、
を備えて構成されている。
Next, a preferred embodiment of the present invention will be described. [1] Configuration of Embodiment FIG. 1 shows a schematic configuration block diagram of a chart generation device 1 of an embodiment. The chart generation device 1 includes a microprocessor unit (MPU) 2 that controls the entire chart device.
A ROM 3 for storing a control program for the microprocessor unit and various control data, and an R 3 for temporarily storing various data and storing a processing program.
AM4 and STDL (Structured Transaction Definit)
ion Language), an external storage device 5 such as a hard disk storing a table for converting a program described in an HCP chart (Hierarchical and Compact description chart), and a removable recording medium (flexible) for storing the program described in STDL. (A magnetic recording medium such as a disk, an optical recording medium such as an optical disk) or a removable recording device 6 for writing a converted HCP chart and communication for exchanging various data with an external communication device. An interface unit 7, an operation input unit 8 such as a keyboard and a mouse for the user to perform various operations and data input, and a printer 9 for printing out the converted HCP chart
And a display 10 for displaying various data;
It is provided with.

【0013】[2] 実施形態の機能構成 図2を参照して実施形態のチャート生成装置の機能構成
を説明する。チャート生成装置1は、入力されたチャー
ト生成候補のプログラムの記述言語がチャート生成対象
記述言語(=STDL)であるか否かを識別する言語識
別機能21と、言語識別機能において、チャート生成対
象記述言語以外のファイル名が指定された場合にエラー
を出力するエラー出力機能22と、入力されたチャート
生成候補のプログラムの記述言語がSTDLである場合
に、当該プログラムを読み込むプログラム読込機能23
と、読み込んだプログラムからHCPチャートを生成す
るHCPチャート生成機能24と、生成したHCPチャ
ートを所定フォーマットでソースプログラムおよびソー
スプログラムに含まれるコメントとともに出力する生成
結果出力機能25と、を備えて構成されている。
[2] Functional Configuration of Embodiment A functional configuration of the chart generating apparatus of the embodiment will be described with reference to FIG. The chart generation device 1 includes a language identification function 21 for identifying whether or not a description language of an input chart generation candidate program is a chart generation target description language (= STDL). An error output function 22 that outputs an error when a file name other than the language is specified, and a program reading function 23 that reads the input chart generation candidate program when the description language of the program is STDL.
And an HCP chart generation function 24 for generating an HCP chart from a read program, and a generation result output function 25 for outputting the generated HCP chart in a predetermined format together with a source program and comments included in the source program. ing.

【0014】[3] HCPチャート用シンボル 本実施形態では、HCPチャートをテキストデータとし
て出力するため、テキストデータに含まれていないHC
Pチャート用シンボルを、テキストデータに変換するた
めのテーブルが外部記憶装置5内に格納されている。以
下、その一部について図3を参照して説明する。処理の
開始を表す処理開始シンボルSB1は、図3(a)に示
すように、罫線テキストデータ「┬」、テキストデータ
「○」、罫線テキストデータ「┴」により表される。ま
た、主として処理説明を記述するシンボルSB2は、図
3(b)に示すように、テキストデータ「○」により表
される。また、条件分岐を記述するシンボルSB3は、
図3(c)に示すように、テキストデータ「▽」により
表される。
[3] Symbol for HCP Chart In this embodiment, since the HCP chart is output as text data, the HC not included in the text data is used.
A table for converting the P chart symbol into text data is stored in the external storage device 5. Hereinafter, a part thereof will be described with reference to FIG. The processing start symbol SB1 indicating the start of the processing is represented by ruled line text data “┬”, text data “デ ー タ”, and ruled line text data “┴”, as shown in FIG. Further, the symbol SB2 mainly describing the process description is represented by text data “○” as shown in FIG. The symbol SB3 describing the conditional branch is
As shown in FIG. 3C, it is represented by text data "@".

【0015】またサブルーチン呼び出し、関数呼び出し
を記述するシンボルSB4は、図3(d)に示すよう
に、テキストデータ「◎」により表される。また、ルー
プを記述するためのシンボルSB5は、図3(e)に示
すように、テキストデータ「@」により表される。ま
た、処理の終端を示すためのシンボルSB6は、図3
(f)に示すように、テキストデータ「┴」により表さ
れる。また、本実施形態においては、HCPチャート本
来のシンボルではないが、STDLで記述されたソース
には、関数呼び出しを行う際のパラメータ(引数)の制
約条件が記載されていることを表すテキストデータが設
けられており、図3(g)に示すように、テキストデー
タ「■」により表される。このシンボルSB6の詳細に
ついては後述する。また、各シンボル相互を結ぶ線(リ
ンク)については、罫線テキストデータ「─」、
「│」、「┐」、「┬」、「├」などによって表される
こととなる。
A symbol SB4 describing a subroutine call and a function call is represented by text data "「 "as shown in FIG. Further, the symbol SB5 for describing the loop is represented by text data “@” as shown in FIG. Further, the symbol SB6 for indicating the end of the processing is shown in FIG.
As shown in (f), it is represented by text data "@". Further, in the present embodiment, text data indicating that constraints of parameters (arguments) at the time of calling a function are described in the source described in STDL, although the symbol is not an original symbol of the HCP chart. 3 and is represented by text data “■” as shown in FIG. The details of the symbol SB6 will be described later. Also, for lines (links) connecting the symbols, ruled line text data “─”,
It is represented by “|”, “┐”, “┬”, “├”, etc.

【0016】[4] 実施形態の動作 次に図4の処理フローチャートを参照して、実施形態の
チャート生成装置の動作について説明する。まず、MP
U2は、リムーバブル記録装置6または通信インターフ
ェース部7を介して入力された変換対象のファイルがS
TDLで記述されたファイルであるか否かをファイルの
拡張子、すなわち、ファイルの拡張子=stdlである
か否かを言語識別機能21により判別する。そして、変
換対象のファイルがSTDLで記述されたファイルでは
ない場合には、その旨を告知するエラー処理をエラー出
力機能22により行う。入力対象のファイルがSTDL
で記述されたファイルである場合には、当該ファイルを
オープンしてソースプログラムリストをメモリ上のテン
ポラリ領域に読み込む(ステップS1)。
[4] Operation of Embodiment Next, the operation of the chart generating apparatus of the embodiment will be described with reference to the processing flowchart of FIG. First, MP
U2 indicates that the file to be converted input via the removable recording device 6 or the communication interface unit 7 is S
Whether or not the file is a file described in TDL is determined by the language identification function 21 whether or not the file extension, that is, whether or not the file extension = stdl. If the file to be converted is not a file described in STDL, the error output function 22 performs error processing notifying the fact. Input target file is STDL
If the file is described in step (1), the file is opened and the source program list is read into a temporary area on the memory (step S1).

【0017】次に外部記憶装置5に一旦読み込んだソー
スプログラムリストの1ライン分をRAM4内に読み込
む(ステップS2)。この場合において、ソースプログ
ラムリストには、コメントデータも含まれているものと
する。次にソースプログラムリストが終了したか否かを
判別する(ステップS3)。ステップS3の判別におい
てソースプログラムリストの読み込みが終了した場合に
は、処理を終了する。ステップS3の判別において、ソ
ースプログラムリストの読み込みが終了していない場合
には、外部記憶装置5内のテーブルを参照して当該1ラ
イン分のソースプログラムリストに対応するHCPチャ
ート用シンボルを特定するとともに、当該特定したHC
Pチャート用シンボルに相当するテキストデータに変換
し、ソースプログラムリストに含まれるコメントデータ
を抽出する(ステップS4)。この場合において、ソー
スプログラムリストのHCPチャートへの変換は、プロ
グラムリストからフローチャートを生成する場合と同様
に既知の様々な手法を用いることが可能である。
Next, one line of the source program list once read into the external storage device 5 is read into the RAM 4 (step S2). In this case, it is assumed that the source program list also includes comment data. Next, it is determined whether or not the source program list has been completed (step S3). If the reading of the source program list has been completed in the determination of step S3, the process is terminated. If it is determined in step S3 that the reading of the source program list has not been completed, the symbol for the HCP chart corresponding to the source program list for one line is specified by referring to the table in the external storage device 5, and , The identified HC
The data is converted into text data corresponding to the P chart symbol, and comment data included in the source program list is extracted (step S4). In this case, the conversion of the source program list into the HCP chart can use various known methods as in the case of generating a flowchart from the program list.

【0018】次にMPU2は、得られたテキストデー
タ、ソースプログラムリスト及びコメントデータを予め
定められた所定の出力フォーマットにより、ディスプレ
イ10(および必要に応じてプリンタ9)に出力する
(ステップS5)。ここで、出力フォーマットについて
図5及び図6を参照して説明する。図5は、出力例を示
す図であり、図6は、図5中のA部の拡大図である。図
5に示すように、出力されたHCPチャートは、テキス
トデータを用いて表現されているとともに、HCPチャ
ートの右側には、対応するソースプログラムリストが表
示され、さらに右側には、対応するコメントデータが表
示される。
Next, the MPU 2 outputs the obtained text data, source program list, and comment data to the display 10 (and, if necessary, the printer 9) in a predetermined output format (step S5). Here, the output format will be described with reference to FIGS. FIG. 5 is a diagram showing an output example, and FIG. 6 is an enlarged view of a portion A in FIG. As shown in FIG. 5, the output HCP chart is expressed using text data, a corresponding source program list is displayed on the right side of the HCP chart, and a corresponding comment data is further displayed on the right side. Is displayed.

【0019】より具体的には、図6に矢印LN1で示す
ように、出力されたHCPチャートの左側には、関数呼
び出しを行う際のパラメータ(引数)の制約条件が記載
されていることを表すテキストデータ「■」が表示さ
れ、その右側には、STDLで記述されたソースリスト
「CHECK_IN GSWP0401 NO
T TRANSACTIONAL PRIVATE,」
が表示され、対応するコメントデータ「閉塞チェック入
力」が表示されている。ここで、「CHECK_IN」
はデータ名の表示であり、「GSWP0401」は、デ
ータ型の表示であり、「GSWP0401 NOT T
RANSACTIONAL PRIVATE」の記載
は、「GSWP0401」のデータ型で定義されている
データ名「CHECK_IN」は、一つのトランザクシ
ョンでのみ用いることができる旨を表している。以上の
説明のように、ソースリストに対応するHCPチャート
を容易に得ることができるとともに、その対応関係も容
易に把握することができる。 [5] 実施形態の効果 以上の説明のように、本実施形態によれば、STDLで
記述されたプログラムからテキストデータ形式のHCP
チャートを自動生成することができ、作成したSTDL
プログラムの確認を容易に行うことができる。
More specifically, as shown by the arrow LN1 in FIG. 6, on the left side of the output HCP chart, it is indicated that the constraint condition of the parameter (argument) when calling the function is described. The text data “@” is displayed, and on the right side, a source list “CHECK_IN GSWP0401 NO described in STDL”
T TRANSACTIONAL PRIVATE, "
Is displayed, and the corresponding comment data “block check input” is displayed. Here, "CHECK_IN"
Is a display of a data name, “GSWP0401” is a display of a data type, and “GSWP0401 NOT T
The description of “RANSACTIONAL PRIVATE” indicates that the data name “CHECK_IN” defined by the data type of “GSWP0401” can be used in only one transaction. As described above, the HCP chart corresponding to the source list can be easily obtained, and the correspondence can be easily grasped. [5] Effects of the Embodiment As described above, according to the embodiment, the HCP in the text data format can be converted from the program described in the STDL.
A chart can be automatically generated and the created STDL
The program can be easily checked.

【0020】この場合において、STDLソースリスト
に含まれるコメントデータもHCPチャート及びSTD
Lプログラムに対応づけて表示されるので、より容易に
確認作業を行うことができる。さらに得られるHCPチ
ャートを含む出力結果は、テキストデータにより構成さ
れているので、各種テキストエディタ、ワードプロセッ
サ等において、利用することが可能となり、特殊なバイ
ナリエディタを用いることなく、HCPチャートの加
工、編集を容易に行うことができる。また、STDLソ
ースリストから自動的にHCPチャートを生成すること
ができるため、STDLプログラムを修正した場合で
も、HCPチャートの生成時間を短縮でき、開発効率を
向上することができる。
In this case, the comment data included in the STDL source list is also stored in the HCP chart and the STD.
Since the information is displayed in association with the L program, the checking operation can be performed more easily. Furthermore, since the obtained output result including the HCP chart is constituted by text data, it can be used in various text editors, word processors, etc., and can process and edit the HCP chart without using a special binary editor. Can be easily performed. Further, since the HCP chart can be automatically generated from the STDL source list, even when the STDL program is modified, the time for generating the HCP chart can be reduced, and the development efficiency can be improved.

【0021】[0021]

【発明の効果】本発明によれば、STDLで記述された
プログラムからテキストデータ形式のHCPチャートを
自動生成することができ、作成したSTDLプログラム
の確認を容易に行うことができ、得られるHCPチャー
トは、各種テキストエディタ、ワードプロセッサ等にお
いて、利用することが可能となり、特殊なバイナリエデ
ィタを用いることなく、HCPチャートの加工、編集を
容易に行うことができる。
According to the present invention, an HCP chart in a text data format can be automatically generated from a program described in STDL, the created STDL program can be easily confirmed, and the obtained HCP chart can be obtained. Can be used in various text editors, word processors, etc., and can easily process and edit the HCP chart without using a special binary editor.

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

【図1】 HCPチャート生成装置の概要構成ブロック
図である。
FIG. 1 is a schematic configuration block diagram of an HCP chart generation device.

【図2】 HCPチャート生成装置の機能構成ブロック
図である。
FIG. 2 is a functional configuration block diagram of an HCP chart generation device.

【図3】 HCPチャートに用いるシンボルと本実施形
態のテキスト形式のシンボルとの対応関係の一例を説明
する図である。
FIG. 3 is a diagram illustrating an example of a correspondence relationship between symbols used for an HCP chart and symbols in a text format according to the present embodiment.

【図4】 実施形態の動作処理フローチャートである。FIG. 4 is an operation processing flowchart of the embodiment.

【図5】 HCPチャートの出力フォーマットを説明す
るための図である。
FIG. 5 is a diagram for explaining an output format of an HCP chart.

【図6】 図5の部分拡大図である。6 is a partially enlarged view of FIG.

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

1…チャート生成装置 2…MPU 3…RAM 4…ROM 5…外部記憶装置 6…リムーバブル記憶装置 7…通信インターフェース 8…操作入力部 9…プリンタ 10…ディスプレイ 21…言語識別機能 22…エラー出力機能 23…プログラム読込機能 24…HCPチャート生成機能 25…生成結果出力機能 DESCRIPTION OF SYMBOLS 1 ... Chart generation device 2 ... MPU 3 ... RAM 4 ... ROM 5 ... External storage device 6 ... Removable storage device 7 ... Communication interface 8 ... Operation input unit 9 ... Printer 10 ... Display 21 ... Language identification function 22 ... Error output function 23 ... Program reading function 24 ... HCP chart generation function 25 ... Generation result output function

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 STDLで記述されたプログラムからH
CPチャートを生成するHCPチャート生成装置であっ
て、 STDLで記述されたプログラムのソースリストを読み
込むソース読込手段と、 前記ソースリストに基づいて、前記プログラムに対応す
るHCPチャート用シンボルに対応するテキストデータ
により構成されたHCPチャートを生成するチャート生
成手段とを備えたことを特徴とするHCPチャート生成
装置。
1. A program described in STDL and H
An HCP chart generation device for generating a CP chart, comprising: source reading means for reading a source list of a program described in STDL; and text data corresponding to an HCP chart symbol corresponding to the program based on the source list. And a chart generating means for generating an HCP chart constituted by the following.
【請求項2】 請求項1記載のHCPチャート生成装置
において、 前記ソースリストは、コメントデータを含み、 前記ソースリストを構成するソースコードおよび前記コ
メントデータを前記HCPチャートに対応づけて予め定
めた所定の出力フォーマットで出力するHCPチャート
出力手段を備えたことを特徴とするHCPチャート生成
装置。
2. The HCP chart generation device according to claim 1, wherein the source list includes comment data, and a source code and the comment data constituting the source list are predetermined in association with the HCP chart. An HCP chart generation device, comprising: an HCP chart output unit that outputs in an output format of (1).
【請求項3】 請求項2記載のHCPチャート生成装置
において、 前記HCPチャート出力手段は、前記ソースリストから
前記コメントデータを抽出するコメントデータ抽出手段
を備えたことを特徴とするHCPチャート生成装置。
3. The HCP chart generation device according to claim 2, wherein the HCP chart output means includes comment data extraction means for extracting the comment data from the source list.
【請求項4】 請求項2記載のHCPチャート生成装置
において、 前記HCPチャート出力手段は、1ラインの前記ソース
リスト毎に前記HCPチャートを生成し、前記コメント
データを対応させて出力することを特徴とするHCPチ
ャート生成装置。
4. The HCP chart generation device according to claim 2, wherein the HCP chart output means generates the HCP chart for each one-line source list, and outputs the HCP chart in association with the comment data. HCP chart generation device.
【請求項5】 STDLで記述されたプログラムからH
CPチャートを生成するHCPチャート生成方法であっ
て、 コメントデータを含むSTDLで記述されたプログラム
のソースリストを読み込むソース読込過程と、 前記ソースリストに基づいて、前記プログラムに対応す
るHCPチャート用シンボルに対応するテキストデータ
により構成されたHCPチャートを生成するチャート生
成過程と、 前記ソースリストを構成するソースコードおよび前記コ
メントデータを前記HCPチャートに対応づけて出力す
るHCPチャート出力過程と、 を備えたことを特徴とするHCPチャート生成方法。
5. From a program described in STDL, H
An HCP chart generation method for generating a CP chart, comprising: a source reading step of reading a source list of a program described in STDL including comment data; and an HCP chart symbol corresponding to the program based on the source list. A chart generating step of generating an HCP chart constituted by corresponding text data; and an HCP chart outputting step of outputting the source code and the comment data constituting the source list in association with the HCP chart. HCP chart generation method characterized by the above-mentioned.
【請求項6】 STDLで記述されたプログラムからH
CPチャートを生成するためのHCPチャート生成用プ
ログラムを記録した記録媒体であって、 コメントデータを含むSTDLで記述されたプログラム
のソースリストを読み込ませ、 前記ソースリストに基づいて、前記プログラムに対応す
るHCPチャート用シンボルに対応するテキストデータ
により構成されたHCPチャートを生成させ、 前記ソースリストを構成するソースコードおよび前記コ
メントデータを前記HCPチャートに対応づけて出力さ
せる、 ためのHCPチャート生成用プログラムを記録した記録
媒体。
6. From a program described in STDL, H
A recording medium recording an HCP chart generation program for generating a CP chart, wherein a source list of a program described in STDL including comment data is read, and based on the source list, a program corresponding to the program is read. An HCP chart generation program for generating an HCP chart composed of text data corresponding to the HCP chart symbol, and outputting the source code and the comment data constituting the source list in association with the HCP chart. The recording medium on which it was recorded.
JP2000089573A 2000-03-28 2000-03-28 Hcp chart generation device, its method and recording medium recording hcp chart generation program Pending JP2001282514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000089573A JP2001282514A (en) 2000-03-28 2000-03-28 Hcp chart generation device, its method and recording medium recording hcp chart generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000089573A JP2001282514A (en) 2000-03-28 2000-03-28 Hcp chart generation device, its method and recording medium recording hcp chart generation program

Publications (1)

Publication Number Publication Date
JP2001282514A true JP2001282514A (en) 2001-10-12

Family

ID=18605312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000089573A Pending JP2001282514A (en) 2000-03-28 2000-03-28 Hcp chart generation device, its method and recording medium recording hcp chart generation program

Country Status (1)

Country Link
JP (1) JP2001282514A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257665A (en) * 1992-03-12 1993-10-08 Shikoku Nippon Denki Software Kk Hcp chart/source program interlocking editing device
JPH05313870A (en) * 1992-05-12 1993-11-26 Nec Corp Preparation system for program structure diagram

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05257665A (en) * 1992-03-12 1993-10-08 Shikoku Nippon Denki Software Kk Hcp chart/source program interlocking editing device
JPH05313870A (en) * 1992-05-12 1993-11-26 Nec Corp Preparation system for program structure diagram

Similar Documents

Publication Publication Date Title
US6182029B1 (en) System and method for language extraction and encoding utilizing the parsing of text data in accordance with domain parameters
JP4565585B2 (en) Data processing apparatus, data processing method, and recording medium
JP2007079906A (en) Source code generator
JP2001282514A (en) Hcp chart generation device, its method and recording medium recording hcp chart generation program
JP2892351B2 (en) Source program converter
JP2005032047A (en) Device, method, program and storage medium for automatically generating file
CN110515653A (en) Document structure tree method, apparatus, electronic equipment and computer readable storage medium
JP3886726B2 (en) PROGRAM SPECIFICATION CREATION DEVICE, PROGRAM SPECIFICATION CREATION METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM SPECIFICATION CREATION PROGRAM
JP3003459B2 (en) Program creation support device
JP2009230450A (en) Document attribute information register and program
JPH11327887A (en) Compiler system with automatic parts converting function and recording medium
JPH11154093A (en) Program compiler and storage medium recording compiler program
JPH11238006A (en) Data cleaning method and device therefor and recording medium recording data cleaning processing program
JP2005149083A (en) Electronic medical record input support apparatus
JPH06149894A (en) Schema definition information generating method
JPH07175791A (en) Document converter
JPH0981377A (en) Automatic generation device for specifications of reusing program
JP2003263315A (en) Automatic program creating device
JP2000222259A (en) Sql automatic generation system
JP2001125793A (en) Compiler system, compile method and recording medium
JPH0667872A (en) Commnet extracting system in source program
JPS63188242A (en) Production/control system for program error information
JP2000242483A (en) Device and method for correcting program for dealing with y2k and storage medium
JP2004252890A (en) Text data creation method, text data creation device and computer program
JPH0540638A (en) Vocabulary analyzing/editing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040928

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050208