JPH0887403A - Program development support device - Google Patents

Program development support device

Info

Publication number
JPH0887403A
JPH0887403A JP22056194A JP22056194A JPH0887403A JP H0887403 A JPH0887403 A JP H0887403A JP 22056194 A JP22056194 A JP 22056194A JP 22056194 A JP22056194 A JP 22056194A JP H0887403 A JPH0887403 A JP H0887403A
Authority
JP
Japan
Prior art keywords
function
standard function
standard
information
program
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
JP22056194A
Other languages
Japanese (ja)
Inventor
Seiichi Tanada
清一 棚田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP22056194A priority Critical patent/JPH0887403A/en
Publication of JPH0887403A publication Critical patent/JPH0887403A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To easily set and change a standard function when software for a computer is generated by using the standard function. CONSTITUTION: This device is provided with a function dependency relation table 14 which stores the relation between call-source standard functions and call-destination standard functions, and equipped with a function dependency information registration part 2 which registers the relation of a call-source standard function and a call-destination standard function in the function dependency relation table 14 when a standard function commanded through an interface part 1 is called by a standard function registered in a standard function information file 5 or calls a registered standard function when the standard function commanded through the interface part 15 is registered, a function dependency information analysis part 4 which retrieves the call-source standard function or call-destination standard function corresponding to the standard function in the function dependency relation table 14 when the standard function is altered, and a library generation part 16 which generates a library on the basis of the retrieved relative information in the function dependency relation table when the standard function is altered.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータ向けソフト
ウエアの開発を支援するプログラム開発支援装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program development support device for supporting the development of computer software.

【0002】[0002]

【従来の技術】コンピュータで使用されるアプリケーシ
ョンプログラム等のソフトウエアを作成する場合に、標
準関数を定義して、この標準関数をアプリケーションプ
ログラムに組込むことによって、この標準関数をアプリ
ケーションプログラムプログラム内において、共通に利
用でき、ソフトウエアの作成能率を向上できる。
2. Description of the Related Art When creating software such as an application program used in a computer, by defining a standard function and incorporating this standard function into the application program, the standard function is It can be used in common and the efficiency of creating software can be improved.

【0003】この場合、各標準関数の具体的処理手順等
を記述するプログラムを記憶するソースファイルの名
称,各標準関数の意味を説明したドキュメントを記憶す
るドキュメントファイルの名称,各所属ライブラリの名
称等の該当標準関数に関する各種の情報を例えば標準関
数情報ファイルに記憶保持してる。
In this case, the name of a source file that stores a program that describes the specific processing procedure of each standard function, the name of a document file that stores a document that describes the meaning of each standard function, the name of each library to which it belongs, etc. Various information relating to the relevant standard function of is stored and held in, for example, a standard function information file.

【0004】[0004]

【発明が解決しようとする課題】しかし、上述した標準
関数の管理手法においてもまだ解消すべき次のような課
題があった。すなわち、各標準関数は単独で使用される
場合の他に、他の標準関数と相互に関連して使用される
場合がある。すなわち、ある標準関数を前述したプログ
ラムを用いて実際に実行する場合に、このプログラム内
に他の標準関数を例えば引用形式(サブルーチン形式)
で使用する場合がある。
However, the above-mentioned standard function management method still has the following problems to be solved. That is, each standard function may be used alone or in correlation with another standard function. That is, when a certain standard function is actually executed by using the above-mentioned program, another standard function in this program, for example, in the reference form (subroutine form)
May be used in.

【0005】このように、各標準関数は、自己が動作を
実行する場合に他の標準関数を呼出す呼出元標準関数に
なる場合と、他の標準関数が実行される場合に自己が呼
出される呼出先標準関数になる場合との2種類の場合が
存在する。
As described above, each standard function is called as a calling standard function which calls another standard function when the standard function is executed, and when each standard function is executed, the standard function is called by itself. There are two types of cases, that is, it becomes a callee standard function.

【0006】一方、各標準関数を記述するプログラム
は、一旦作成されると、永遠に書替えられないことはな
く、改良のために仕様変更される場合がある。また、新
規に設定される場合もある。
On the other hand, once a program describing each standard function is created, it is not permanently rewritten, and the specifications may be changed for improvement. Also, it may be newly set.

【0007】したがって、既に登録されている標準関数
が修正や削除されると、プログラムの中でこの修正され
た標準関数を呼出している他の標準関数すべてを見直し
て、そのプログラムに修正された標準関数がそのまま使
用可能か否かを調べで、必要であれば、該当プログラム
を修正する必要がある。
Therefore, when the already registered standard function is modified or deleted, all other standard functions calling this modified standard function in the program are reviewed and the standard modified by the program is reviewed. It is necessary to check whether the function can be used as it is and modify the corresponding program if necessary.

【0008】しかし、上述した標準関数情報ファイルを
用いた管理手法においては、上述した各標準関数相互間
の関係が不明であるので、一つの標準関数を変更.削除
した場合は、全ての標準関数の各プログラムを設計者や
プログラマーがマニアル操作で順番に変更,削除する必
要のある標準関数が含まれるか否かを調べる必要があ
る。
However, in the management method using the standard function information file described above, one standard function is changed because the relationship between the standard functions described above is unknown. When deleted, it is necessary for designers and programmers to check each standard function program by manual operation to see whether or not a standard function that needs to be deleted is included.

【0009】よって、標準関数の変更,削除又は新規設
定に多大の労力と作業時間が必要となる。また、検索見
逃し等の人為的ミスの発生確率が増大する。さらに、標
準関数を記述したプログラムの修正に対する排他的手段
が講じられていないので、複数の設計者が同じ標準関数
のプログラムに対して、それぞれ違う内容の修正を同時
に実施する危険性があった。
Therefore, a great deal of labor and working time are required for changing, deleting or newly setting the standard function. In addition, the probability of occurrence of human error such as missed retrieval increases. Furthermore, since no exclusive measure is taken for the modification of the program in which the standard function is described, there is a risk that a plurality of designers simultaneously modify the programs of the same standard function with different contents.

【0010】本発明はこのような事情に鑑みてなされた
ものであり、呼出し元標準関数と呼出し先標準関数との
関係を記憶するテーブルを設けることによって、各標準
関数に対して変更,削除等を実施した場合には、関係す
る他の標準関数を確実に検出でき、関係する各標準関数
のプログラムに対して漏れなく修正作業を実施でき、標
準関数の設定,変更作業能率を大幅に向上でき、かつ検
索見逃し等の人為的ミスの発生を未然に防止でき装置全
体の信頼性を向上できるプログラム開発支援装置を提供
することを目的とする。
The present invention has been made in view of such circumstances, and by providing a table for storing the relationship between the caller standard function and the callee standard function, the standard function can be changed or deleted. In case of executing, it is possible to detect other related standard functions without fail, and it is possible to correct the programs of each related standard function without omission, and it is possible to greatly improve the efficiency of setting and changing standard functions. It is also an object of the present invention to provide a program development support device capable of preventing occurrence of human error such as missed retrieval and improving reliability of the entire device.

【0011】[0011]

【課題を解決するための手段】上記課題を解消するため
に本発明は、コンピュータ向けソフトウエアの開発を支
援するプログラム開発支援装置において、ソフトウエア
で用いられる各標準関数を記述するプログラム名称,各
標準関数の意味を示す各ドキュメント及び各所属ライブ
ラリ名等の各標準関数に関する情報を記憶する標準関数
情報ファイルを管理する標準関数情報部と、各標準関数
における呼出元標準関数と呼出先標準関数との関係を記
憶する関数依存関係テーブルと、各種情報を操作入力
し、かつ読出された情報を表示出力するためのインタフ
ェース部と、インタフェース部を介して指令された標準
関数の登録時、該当標準関数が標準関数情報ファイルの
登録済標準関数から呼出されている場合又は登録済標準
関数を呼出している場合に、呼出元標準関数と呼出先標
準関数との関係を関数依存関係テーブルに登録する関数
依存情報登録部と、インタフェース部を介して指令され
た標準関数の変更時、関数依存関係テーブル内の該当標
準関数に対応する呼出元標準関数又は呼出先標準関数を
検索する関数依存情報分析部と、標準関数の変更時、検
索された関数依存関係テーブルの関連情報に基づいてラ
イブラリを作成するライブラリ作成部と、標準関数を記
述するプログラムの保存管理を行うプログラム管理部
と、ドキュメントの保存管理を行うドキュメント管理部
とを備えている。
In order to solve the above problems, the present invention provides a program development supporting apparatus for supporting the development of software for a computer, in which a program name for describing each standard function used in the software, A standard function information section that manages a standard function information file that stores information about each standard function such as each document indicating the meaning of the standard function and each affiliated library name, and a caller standard function and a callee standard function in each standard function Function relationship table that stores the relationship between the functions, an interface unit for operating and inputting various information, and displaying and outputting the read information, and a standard function when the standard function instructed through the interface unit is registered. Is called from a registered standard function in the standard function information file, or a registered standard function is called In this case, the function dependency information registration unit that registers the relationship between the caller standard function and the callee standard function in the function dependency relationship table, and when changing the standard function instructed via the interface unit, Creating a library that creates a library based on the relevant information in the function dependency table that was searched when the standard function was changed and the function dependency information analysis unit that searches the caller standard function or callee standard function corresponding to the relevant standard function And a document management unit that manages the storage of documents.

【0012】[0012]

【作用】このように構成されたプログラム開発支援装置
においては、標準関数情報ファイル内に、ソフトウエア
で用いられる各標準関数を記述するプログラム名称,各
標準関数の意味を示す各ドキュメント及び各所属ライブ
ラリ名等の各標準関数に関する情報が記憶されている。
In the program development support device configured as described above, in the standard function information file, the program name describing each standard function used in software, each document indicating the meaning of each standard function, and each associated library Information about each standard function such as name is stored.

【0013】また、関数依存関係テーブル内には各標準
関数における呼出元標準関数と呼出先標準関数との関係
が記憶されている。そして、インタフェース部を介して
標準関数の登録指令が入力されると、該当標準関数が標
準関数情報ファイルの登録済標準関数から呼出されてい
る場合又は登録済標準関数を呼出している場合に、呼出
元標準関数と呼出先標準関数との関係が関数依存関係テ
ーブルに登録される。
Further, the relationship between the caller standard function and the callee standard function in each standard function is stored in the function dependency table. When a standard function registration command is input via the interface unit, the standard function is called when the corresponding standard function is called from the registered standard function in the standard function information file or when the registered standard function is called. The relationship between the original standard function and the called standard function is registered in the function dependency table.

【0014】また、インタフェース部を介して標準関数
の変更指令が入力されると、関数依存情報分析部によっ
て、関数依存関係テーブル内の該当標準関数に対応する
呼出元標準関数又は呼出先標準関数が検索される。
When a standard function change command is input via the interface unit, the function dependence information analysis unit determines the caller standard function or the callee standard function corresponding to the standard function in the function dependence relation table. To be searched.

【0015】そして、検索された関数依存関係テーブル
の関連情報に基づいてライブラリが作成される。よっ
て、標準関数が新たに設定された場合は、この標準関数
に関連する他の標準関数と共に関数依存関係テーブルに
登録される。また、標準関数に変更が発生した場合に
は、この関数依存関係テーブルに該当標準関数と関連す
る標準関数が登録されているか否かを調べ、登録されて
いた場合は、登録された関連情報に基づいてライプラリ
が作成される。
Then, a library is created based on the relevant information in the retrieved function dependency table. Therefore, when a standard function is newly set, it is registered in the function dependency table together with other standard functions related to this standard function. Also, when a change occurs in the standard function, it is checked whether or not the standard function related to the relevant standard function is registered in this function dependency table. If it is registered, the registered related information is added. A liplari is created based on this.

【0016】[0016]

【実施例】以下本発明の一実施例を図面を用いて説明す
る。図1は実施例のプログラム開発支援装置の概略構成
を示すブロック図である。インタフェース部1には、C
TR表示装置とキーボードとからなる操作部1aが接続
されている。そして、このインタフェース部1は操作部
1aから入力された標準関数に関する情報を必要とする
プログラム設計者の要求を受けると、標準関数情報部3
へ要求内容を伝える。
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 program development support device of the embodiment. The interface unit 1 has a C
An operation unit 1a including a TR display device and a keyboard is connected. Then, when the interface unit 1 receives a request from the program designer who needs the information about the standard function input from the operation unit 1a, the standard function information unit 3
Tell the request contents to.

【0017】また、標準関数情報部3から指示がない状
態においては、操作部1aのCRT表示装置の表示画面
には図2に示す1〜5の標準関数の管理作業メニューが
表示されている。このプログラム開発支援装置において
は、 1.新規ライブラリ作成 2.標準関数の登録 3.標準関数の修正 4.標準関数一覧表示 5.ドキュメント修正 の合計5つの作業を選択実行させることが可能である。
When there is no instruction from the standard function information section 3, the standard function management work menus 1 to 5 shown in FIG. 2 are displayed on the display screen of the CRT display device of the operation section 1a. In this program development support device, 1. Creating a new library 2. Registration of standard functions 3. Modification of standard functions 4. List of standard functions 5. It is possible to selectively execute a total of five tasks of document modification.

【0018】標準関数情報部3には標準関数情報ファイ
ル5が接続されており、標準関数情報部3は、この標準
関数情報ファイル5から必要な情報を読出して前記イン
タフェース部1へ送出したり、関数依存関係分析部4,
ライプラリ作成部16へ送出する。
A standard function information file 5 is connected to the standard function information section 3, and the standard function information section 3 reads out necessary information from the standard function information file 5 and sends it to the interface section 1. Function dependency analysis unit 4,
It is sent to the liplari creating unit 16.

【0019】さらに、標準関数情報部3にプログラム管
理部7及びドキュメント管理部9が接続されている。プ
ログラム管理部7は、前記標準関数情報ファイル5に登
録されている各標準関数の具体的処理手順を記述する各
プログラムを記憶するプログラム保存領域6を管理す
る。また、ドキュメント管理部9は、前記標準関数情報
ファイル5に登録されている各標準関数の意味を示す各
ドキュメントを記憶するドキュメント保存領域8を管理
する。
Further, a program management unit 7 and a document management unit 9 are connected to the standard function information unit 3. The program management unit 7 manages a program storage area 6 that stores each program that describes a specific processing procedure of each standard function registered in the standard function information file 5. Further, the document management unit 9 manages the document storage area 8 for storing each document indicating the meaning of each standard function registered in the standard function information file 5.

【0020】標準関数情報ファイル5内には、関数一覧
テーブル10,ライブラリ一覧テーブル11,ソースフ
ァイル一覧テーブル12及びドキュメント一覧テーブル
13が設けられている。
In the standard function information file 5, a function list table 10, a library list table 11, a source file list table 12 and a document list table 13 are provided.

【0021】関数一覧テープル10内には、図3に示す
ように、このプログラム開発支援装置で定義されて使用
される各標準関数の関数名毎に、該当標準関数を記述す
るプログラムを記憶するプログラム保存領域6内のソー
スファイルの名称,該当標準関数の意味を説明する各ド
キュメントが記憶されたドキュメントを記憶する前記ド
キュメント保存部8におけるドキュメントファイルの名
称,該当標準関数が所属するライプラリの名称、及び関
数タイトルが記憶されている。
In the function list table 10, as shown in FIG. 3, for each function name of each standard function defined and used by the program development support apparatus, a program for storing a program describing the corresponding standard function is stored. The name of the source file in the storage area 6, the name of the document file in the document storage unit 8 that stores the document in which each document that describes the meaning of the corresponding standard function is stored, the name of the library to which the corresponding standard function belongs, and The function title is stored.

【0022】また、ライブラリ一覧テーブル11内に
は、図4に示すように、関数一覧テーブル10における
所属ライブラリ名称毎に、該当ライブラリの新規作成
日,最終作成日及びライブラリバージョンが記憶されて
いる。
Further, in the library list table 11, as shown in FIG. 4, a new creation date, a final creation date and a library version of the corresponding library are stored for each belonging library name in the function list table 10.

【0023】さらに、ソースファイル一覧テーブル12
内には、図5に示すように、関数一覧テーブル10にお
けるソースファイル名称毎に、該当ソースファイルの作
成日,ソースファイルバージョン、変更担当者12aが
記憶されている。なお、変更担当者12aの欄に3桁の
担当者コード(ID)が設定されていれば、このソース
ファイルは変更作業中であり、変更担当者12aの欄に
[−1]が設定されていれば、このソースファイルは変
更作業中でなくて、何時でも変更修正作業が可能である
ことを意味する。
Further, the source file list table 12
As shown in FIG. 5, the created date of the corresponding source file, the source file version, and the person in charge of change 12a are stored for each source file name in the function list table 10. If a three-digit person-in-charge code (ID) is set in the change person in charge 12a field, this source file is being changed, and [-1] is set in the change person in charge 12a. This means that this source file can be modified and modified at any time, not during modification.

【0024】ドキュメント一覧テーブル13内には、図
6に示すように、関数一覧テーブル10におけるドキュ
メントファイル名称毎に、該当ドキュメントファイルの
作成日及びドキュメントバージョンが記憶されている。
As shown in FIG. 6, the document list table 13 stores the creation date and document version of the corresponding document file for each document file name in the function list table 10.

【0025】また、関数依存情報登録部2には、関数依
存関係テーブル14及び未定義関数テーブル15が接続
されている。関数依存関係テーブル14内には、図7に
示すように、前記標準関数情報ファイル5の関数一覧テ
ーブル10内に設定された各標準関数における呼出元標
準関数と呼出先標準関数との関係が記憶されている。
Further, the function dependency information registration section 2 is connected with a function dependency relationship table 14 and an undefined function table 15. As shown in FIG. 7, the function dependency relationship table 14 stores the relationship between the caller standard function and the callee standard function in each standard function set in the function list table 10 of the standard function information file 5. Has been done.

【0026】さらに、未定義関数テーブル15内には、
図8に示すように、この装置においてまだ定義されてい
ない各標準関数に対してこの標準関数を呼出す呼出し元
標準関数名が記憶されている。
Further, in the undefined function table 15,
As shown in FIG. 8, a caller standard function name that calls this standard function is stored for each standard function that is not yet defined in this device.

【0027】そして、関数依存情報登録部2は、インタ
フェース部1から入力された標準関数の設定指令に応動
して、該当標準関数が標準関数情報ファイル5の登録済
標準関数から呼出されている場合又は登録済標準関数を
呼出している場合に、呼出元標準関数と呼出先標準関数
との関係を関数依存関係テーブル14に登録する。
Then, the function dependence information registration unit 2 responds to the standard function setting command input from the interface unit 1 and calls the standard function from the registered standard function of the standard function information file 5. Alternatively, when the registered standard function is called, the relationship between the caller standard function and the callee standard function is registered in the function dependency relationship table 14.

【0028】また、関数依存関係分析部4は、インタフ
ェース部1を介して指令された標準関数の変更時に、関
数依存関係テーブル14内の該当標準関数に対応する呼
出元標準関数又は呼出先標準関数を検索して、標準関数
情報部3へ送出する。またライブラリ作成部16は検索
された関数依存関係テーブル14の関連情報に基づいて
ライブラリを作成する。
The function dependency analysis unit 4 also calls the standard function or the callee standard function corresponding to the relevant standard function in the function dependency table 14 when the standard function instructed via the interface unit 1 is changed. Is retrieved and sent to the standard function information section 3. Further, the library creating unit 16 creates a library based on the relevant information in the retrieved function dependency relationship table 14.

【0029】このように構成されたプログラム開発装置
を用いて設計者が行う基準関数の登録作業手順及び基準
関数の変更作業手順を図9〜図12の流れ図を用いて説
明する。
The procedure for registering the reference function and the procedure for changing the reference function performed by the designer using the program development apparatus configured as described above will be described with reference to the flowcharts of FIGS.

【0030】標準関数情報を利用する設計者はインタフ
ェース部1が提供する図2に示す標準関数の管理メニュ
ーから今回実行すべき作業を選択する。2番の「標準関
数の登録」業務を指定すると、図9及び図10の作業手
順に従って、新規の標準関数の登録作業を実行する。
The designer who uses the standard function information selects the work to be executed this time from the standard function management menu shown in FIG. When the No. 2 “Registration of standard function” job is designated, the new standard function registration operation is executed according to the operation procedure of FIGS. 9 and 10.

【0031】すなわち、図9の流れ図において、S(ス
テップ)1において、「標準関数の登録」業務を指定す
る。「標準関数の登録」が選択されたなら、設計者はそ
の関数のソースプログラムおよびドキュメント、関数
名、その関数が属しているライブラリー名、関数タイト
ル、関数説明を外部から入力し、ソースプログラムおよ
びドキュメントのバージョン番号を登録する(S2)。
標準関数情報部2は標準関数情報ファイル5の図3の関
数一覧テーブル10に関数名、ソースファイル名、ドキ
ュメントファイル名、所属ライブラリ名を追加する(S
3)。
That is, in the flow chart of FIG. 9, in S (step) 1, the task of "registration of standard function" is designated. If "Register standard function" is selected, the designer externally inputs the source program and document of the function, the function name, the library name to which the function belongs, the function title, and the function description, and the source program and The version number of the document is registered (S2).
The standard function information unit 2 adds the function name, the source file name, the document file name, and the belonging library name to the function list table 10 of the standard function information file 5 in FIG. 3 (S
3).

【0032】例えば、図3の関数一覧テーブル10に登
録されている関数名を disp string、関数タイトルを
“ois 文字列を画面に表示する”、所属ライブラリ名を
“ois”とする。すると、図4に示すライブラリ一覧テ
ーブル11を検索して、ライブラリが未登録の場合はこ
こで新たに追加する。
For example, it is assumed that the function name registered in the function list table 10 of FIG. 3 is disp string, the function title is “display ois character string on screen”, and the belonging library name is “ois”. Then, the library list table 11 shown in FIG. 4 is searched, and if the library is not registered, it is newly added here.

【0033】ソースプログラムを入力する場合、図5に
示すソースファイル一覧テーブル12にソースファイル
名、作成日、ソースファイルバージョンを追加する。ま
た、ドキュメントを入力する場合、図6に示すドキュメ
ント一覧テーブル13にドキュメントファイル名、作成
日、ドキュメントバージョンを追加する。
When the source program is input, the source file name, the creation date, and the source file version are added to the source file list table 12 shown in FIG. When a document is input, the document file name, creation date, and document version are added to the document list table 13 shown in FIG.

【0034】次に、ソースプログラムファイルをプログ
ラム管理部7へ渡す。プログラム管理部7は、受領した
ソースプログラムファイルの容量を小さくするため圧縮
した後、プログラム保存領域6へ書込む。その後、ライ
ブラリ作成部16が起動して、書込まれたソースプログ
ラムをコンパイルし、コンパイルされたオブジェクトプ
ログラムの集まりであるライブラリに追加する。
Next, the source program file is passed to the program management section 7. The program management unit 7 writes the received source program file in the program storage area 6 after compressing it in order to reduce its capacity. After that, the library creating unit 16 is activated to compile the written source program and add it to the library which is a collection of the compiled object programs.

【0035】同様に、ドキュメントファイルをドキュメ
ント管理部9へ渡す。ドキュメント管理部9はこのドキ
ュメントファイルをドキュメント保存領域8へ書込む。
正常に書込まれると、正常書込み終了が標準関数情報部
3へ伝達される。また、ドキュメント管理部9はドキュ
メント保存領域8に新規に登録されたドキュメントファ
イルを読出し、関数のタイトルを関数一覧テーブル10
に保存する。
Similarly, the document file is passed to the document management section 9. The document management unit 9 writes this document file in the document storage area 8.
When written normally, the completion of normal writing is transmitted to the standard function information unit 3. Further, the document management unit 9 reads the document file newly registered in the document storage area 8 and displays the title of the function in the function list table 10
Save to.

【0036】次に、S4〜S7において、図1の関数依
存情報登録部2が起動され、新規に登録する関数の記述
を分析し、新規登録しようとする関数が呼出している関
数を子関数として図7に示す関数依存関係テーブル14
に依存関係を登録する。
Next, in S4 to S7, the function dependence information registration section 2 of FIG. 1 is activated, the description of the function to be newly registered is analyzed, and the function called by the function to be newly registered is called as a child function. Function dependency table 14 shown in FIG.
Register the dependency with.

【0037】すなわち、ソースファイルの記述を分析し
て呼出し関数名を検索し(S4)、検索された関数名が
標準関数として関数一覧テーブル10既に設定されてい
れば(S5)、図7の関数依存関係テーブル14に呼出
し元標準関数名及び呼出し先標準関数名を登録する(S
6)。例えば、呼出し元関係名が disp stringであり、
呼出し先関数名がそれぞれの関数名が入力される。
That is, the description of the source file is analyzed and the calling function name is searched (S4). If the searched function name is already set as the standard function in the function list table 10 (S5), the function of FIG. The caller standard function name and the callee standard function name are registered in the dependency relationship table 14 (S
6). For example, if the caller relationship name is disp string,
The name of each called function is entered.

【0038】もし、S5において、関数一覧テーブル1
0に登録されていない場合は、この標準関数を未定義関
数として図8に示す未定義関数テーブル15に登録する
(S7)。
If, in S5, the function list table 1
If not registered in 0, this standard function is registered in the undefined function table 15 shown in FIG. 8 as an undefined function (S7).

【0039】次に、図10のS8へ進み、逆に新しく登
録しようとする関数 disp stringを呼出している関数を
調べる。そして、未定義関数テーブル15から未定義関
数名が“ disp string”であるデータを捜し(S9)、
呼出し元標準関数名と共に関数依存関係テーブルに登録
する(S10)。標準関数情報部3は、ソースファイル
をプログラム管理部7へ送付する(S11)。プログラ
ム管理部7はソースファイルをプログラム保存領域6へ
書込む。
Next, proceeding to S8 in FIG. 10, the function calling the function disp string to be newly registered is checked. Then, the data whose undefined function name is "disp string" is searched from the undefined function table 15 (S9),
It is registered in the function dependency table together with the caller standard function name (S10). The standard function information section 3 sends the source file to the program management section 7 (S11). The program management unit 7 writes the source file in the program storage area 6.

【0040】以上の処理が終了すると、インタフェース
部1は操作部1aのCRT表示装置の表示画面に標準関
数の登録処理か終了したことを表示する。次に、標準関
数の変更作業手順を図11及び図12の流れ図を用いて
説明する。
When the above processing is completed, the interface section 1 displays on the display screen of the CRT display device of the operation section 1a that the standard function registration processing has been completed. Next, the procedure for changing the standard function will be described with reference to the flowcharts of FIGS. 11 and 12.

【0041】すなわち、操作部1aのCRT表示装置に
図2に示す管理メニューが表示された状態において、設
計者が3番の「標準関数の修正」を選択すると(S2
1)、インタフェース部1は標準関数の一覧表示要求を
標準関数情報部3へ送出する(S22)。標準関数情報
部3は図3に示す関数一覧テーブル10をインタフェー
ス部1へ送信する(S23)。インタフェース部1は受
理した関数一覧テーブル10を操作部1aのCRT表示
装置に表示出力する。設計者が修正すべさ関数名を指定
すると(S24)、インタフェース部1は指定された標
準関数を標準関数情報部3へ送信する(S25)。
That is, when the designer selects No. 3 "correct standard function" while the management menu shown in FIG. 2 is displayed on the CRT display device of the operation unit 1a (S2
1), the interface unit 1 sends a standard function list display request to the standard function information unit 3 (S22). The standard function information section 3 transmits the function list table 10 shown in FIG. 3 to the interface section 1 (S23). The interface unit 1 displays and outputs the accepted function list table 10 on the CRT display device of the operation unit 1a. When the designer specifies the corrected smoothness function name (S24), the interface section 1 sends the specified standard function to the standard function information section 3 (S25).

【0042】標準関数情報部3は、標準関数情報ファイ
ル5のソースファイル一覧テーフル12を検索して、該
当標準関数を記述したプロクラムを記憶するソースファ
イルが現在更新作業中であるか否かを調べる(S2
6)。
The standard function information section 3 searches the source file list table 12 of the standard function information file 5 to check whether or not the source file storing the program describing the relevant standard function is currently being updated. (S2
6).

【0043】すなわち、通常状態においては、修正標準
関数が指定されると、直ちにソースプログラムファイル
の修正作業に入ることができる。しかし、プログラムの
同時更新防止のため同時に複数の担当者が修正できない
ように排他処理を備えている。すなわち、プログラム保
存領域6からソースファイルを読出するときに他の設計
者により修正作業中である否かをソースファイル一覧テ
ーブル21でチェックする。
That is, in the normal state, when the correction standard function is designated, the work of correcting the source program file can be immediately started. However, in order to prevent simultaneous updating of the program, exclusive processing is provided so that multiple persons cannot modify it at the same time. That is, when reading the source file from the program storage area 6, it is checked in the source file list table 21 whether another designer is in the process of modification.

【0044】ソースファイル一覧テーブル12の更担当
者21aの欄をみて[−1]以外の3桁の[ID]が設
定されていた場合は、該当ソースファイルは他の担当者
が修正中であることを示す。設計者は、[−1]の場合
には(S27)、変更担当者欄に自己のIDを設定して
ソースファイルの出力を受け、かつ編集作業を開始でき
る。
If the person in charge of updating 21a of the source file list table 12 is checked and a 3-digit [ID] other than [-1] is set, the corresponding source file is being modified by another person in charge. Indicates that. In the case of [-1] (S27), the designer can set his own ID in the change person field to receive the output of the source file and start the editing work.

【0045】しかし、変更担当者12aの欄に他の担当
者IDが記入されていれば(S27)、そのIDを持つ
担当者がソースファイル変更作業中であるので、出力は
キャンセルされる。また、変更作業中であることがイン
タフェース部1を介して操作部1aのCRT表示装置に
表示出力される(S28)。
However, if another person-in-charge ID is entered in the column of the person in charge of change 12a (S27), the person in charge with that ID is in the process of changing the source file, so the output is canceled. Further, the fact that the changing work is in progress is displayed and output to the CRT display device of the operation unit 1a via the interface unit 1 (S28).

【0046】例えば、ソースファイル一覧テーブル12
が図5に示す状態の場合、ソースファイル名“soft ke
y.c”は変更担当者欄が[−1]でないので他の担当者
が修正中であることになり修正できない。
For example, the source file list table 12
In the state shown in Fig. 5, the source file name "soft ke
Since "yc" is not [-1] in the person in charge of change, it cannot be corrected because another person in charge is making corrections.

【0047】修正可能の場合は、S29へ進み、標準関
数管理部3は、プログラム管理部7に該当ソーイファイ
ルを要求する。プログラム管理部7は、ブログラム保存
領域6に保存されたソースファイルを読出して、標準関
数管理部3を経由してインタフェース部1へ送出する
(S30)。インタフーェス部1は受領したソースファ
イルのプログラムを操作部1aのCRT表示装置に表示
出力する。
If it can be modified, the process proceeds to S29, and the standard function management unit 3 requests the program management unit 7 for the corresponding source file. The program management unit 7 reads the source file stored in the program storage area 6 and sends it to the interface unit 1 via the standard function management unit 3 (S30). The interface unit 1 displays and outputs the received source file program on the CRT display device of the operation unit 1a.

【0048】設計者はCRT表示装置に表示された変更
対象の標準関数を記述したプログラムに対する変更,編
集作業を行う。設計者におけるソースファイルの修正作
業が終了すると、修正されたソースファイルを標準関数
管理部3経由で、プログラム管理部7へ送出する。プロ
グラム管理部7は受領した修正済みのソースファイルを
プログラム保存領域6へ書込む(S31)。
The designer changes or edits the program that describes the standard function to be changed displayed on the CRT display device. When the designer completes the modification of the source file, the modified source file is sent to the program management unit 7 via the standard function management unit 3. The program management unit 7 writes the received corrected source file in the program storage area 6 (S31).

【0049】次に、標準関数管理部3は、関数依存関係
テーブル14を読出して関数依存関係分析部4へ送信す
る(S32)。関数依存関係分析部4は、変更対象標準
関数が関数依存関係テーブル14に登録されているか否
かを調べて、登録されていれぱ、呼出し元標準関数,呼
出し先標準関数となる標準関数を標準関数情報部3へ送
信する(S33)。
Next, the standard function management unit 3 reads the function dependency relationship table 14 and sends it to the function dependency relationship analysis unit 4 (S32). The function dependency analyzing unit 4 checks whether or not the standard function to be changed is registered in the function dependency table 14, and if it is registered, the standard functions to be the caller standard function and the callee standard function are standardized. It is transmitted to the function information section 3 (S33).

【0050】その後、標準関数情報部3はインタフェー
ス部1に対して修正対象となる標準関数名を送信して、
操作部1aのCRT表示装置に表示出力させる。そし
て、設計者に、修正の是非を再確認させる(S34)。
Thereafter, the standard function information section 3 sends the standard function name to be corrected to the interface section 1,
The display is output to the CRT display device of the operation unit 1a. Then, the designer is made to reconfirm whether the correction is proper or not (S34).

【0051】設計者の承認が得られれば、この修正処理
を終了する。また、設計者の指示によりまだ修正すべき
事項が発見されるとS25へ戻る。上記のように、すべ
てのソースファイルの修正または不変更の確認が終了す
ればコンパイル、リンクの手順を経て新しくライブラリ
を作成する。ライブラリが更新されればライブラリ一覧
テーブルの最終変更日、ライブラリバージョンを更新す
る。
If the designer's approval is obtained, this correction process is terminated. Further, if a matter to be corrected is still found by the designer's instruction, the process returns to S25. As described above, if all source files have been checked for modification or unchanged, a new library is created through the steps of compiling and linking. When the library is updated, the last modified date of the library list table and the library version are updated.

【0052】このように構成されたプログラム開発支援
装置によれば、各標準関数における呼出元標準関数と呼
出先標準関数との関係が記憶されている関数依存関係テ
ーブル14を設けている。
According to the program development support apparatus thus configured, the function dependency relationship table 14 is provided in which the relationship between the caller standard function and the callee standard function in each standard function is stored.

【0053】そして、インタフェース部1を介して標準
関数の登録指令が入力されると、該当標準関数が標準関
数情報ファイル5の登録済標準関数から呼出されている
場合又は登録済標準関数を呼出している場合に、呼出元
標準関数と呼出先標準関数との関係が関数依存関係テー
ブル14に登録される。
When a standard function registration command is input via the interface unit 1, if the corresponding standard function is called from the registered standard function of the standard function information file 5, or the registered standard function is called. If so, the relationship between the caller standard function and the callee standard function is registered in the function dependency relationship table 14.

【0054】また、インタフェース部を介して標準関数
の変更指令が入力されると、関数依存情報分析部4によ
って、関数依存関係テーブル14内の該当標準関数に対
応する呼出元標準関数又は呼出先標準関数が検索され
る。
When a standard function change command is input through the interface unit, the function dependence information analysis unit 4 causes the caller standard function or callee standard function corresponding to the corresponding standard function in the function dependence relation table 14 to be input. The function is searched.

【0055】したがって、標準関数の新規設定又は変更
が発生した場合には、呼出し元及び呼出し先のこの標準
関数に関連する各標準関数が把握され、必要な場合に
は、この関連する標準関数のプログラムも確実に修正す
ることが可能である。
Therefore, when a new setting or change of the standard function occurs, each standard function related to this standard function of the caller and the callee is grasped, and if necessary, this standard function The program can be surely modified.

【0056】よって、標準関数の新規登録及び変更の作
業能率を向上できると共に、関連する標準関数の検索漏
れ等の人為的ミスも未然に防止できる。さらに、標準関
数のプログラムを一元管理したことにより、複数の担当
者が同時に同一プログラムの修正を行うことが確実に防
止される。すなわち、標準関数のプログラムのバージョ
ンの合わない標準関数どうしでライブラリを作成する単
純ミスをなくすことができ、装置全体の信頼性をさらに
向上できる。
Therefore, the work efficiency of new registration and modification of the standard function can be improved, and human error such as omission of retrieval of the related standard function can be prevented. Further, by centrally managing the program of the standard function, it is possible to surely prevent a plurality of persons in charge from simultaneously modifying the same program. That is, it is possible to eliminate a simple mistake of creating a library between standard functions that do not match the version of the standard function program, and further improve the reliability of the entire apparatus.

【0057】[0057]

【発明の効果】以上説明したように、本発明のプログラ
ム開発支援装置においては、呼出し元標準関数と呼出し
先標準関数との関係を記憶するテーブルを設けている。
したがって、各標準関数に対して変更,削除等を実施し
た場合には、関係する他の標準関数を確実に検出でき、
関係する各標準関数のプログラムに対して漏れなく修正
作業を実施でき、標準関数の設定.変更作業能率を大幅
に向上でき、かつ検索漏れ等の人為的ミスの発生を未然
に防止でき装置全体の信頼性を向上できる。
As described above, the program development support apparatus of the present invention is provided with the table for storing the relationship between the caller standard function and the callee standard function.
Therefore, if you change or delete each standard function, you can reliably detect other related standard functions.
Corrective work can be carried out without fail for each related standard function program, and standard function settings can be made. The change work efficiency can be greatly improved, human error such as omission of search can be prevented, and the reliability of the entire apparatus can be improved.

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

【図1】 本発明の一実施例に係わるプログラム開発支
援装置の概略構成を示すプロック図
FIG. 1 is a block diagram showing a schematic configuration of a program development support device according to an embodiment of the present invention.

【図2】 同実施例装置における操作部に表示された標
準関数の作業管理メニューを示す図
FIG. 2 is a diagram showing a work management menu of standard functions displayed on an operation unit of the apparatus of the embodiment.

【図3】 同実施例装置内に形成された関数一覧テーブ
ルを示す図
FIG. 3 is a diagram showing a function list table formed in the apparatus of the embodiment.

【図4】 同実施例装置内に形成されたライブラリ一覧
テーブルを示す図
FIG. 4 is a diagram showing a library list table formed in the apparatus of the embodiment.

【図5】 同実施例装置内に形成されたソースファイル
一覧テーブルを示す図
FIG. 5 is a diagram showing a source file list table formed in the apparatus of the embodiment.

【図6】 同実施例装置内に形成されたドキュメント一
覧テーブルを示す図
FIG. 6 is a diagram showing a document list table formed in the apparatus of the embodiment.

【図7】 同実施例装置内に形成された関数依存関係テ
ーブルを示す図
FIG. 7 is a diagram showing a function dependency relationship table formed in the apparatus of the embodiment.

【図8】 同実施例装置内に形成された未定義関数テー
ブルを示す図
FIG. 8 is a diagram showing an undefined function table formed in the apparatus of the embodiment.

【図9】 同実施例装置における標準関数を新規登録す
る場合の操作手順を示す流れ図
FIG. 9 is a flowchart showing an operation procedure when newly registering a standard function in the apparatus of the embodiment.

【図10】 同じく標準関数を新規登録する場合の操作
手順を示す流れ図
FIG. 10 is a flow chart showing an operation procedure when newly registering a standard function.

【図11】 同実施例装置における標準関数を修正する
場合の操作手順を示す流れ図
FIG. 11 is a flowchart showing an operation procedure for modifying a standard function in the apparatus of the embodiment.

【図12】 同じく標準関数を修正する場合の操作手順
を示す流れ図
FIG. 12 is a flow chart showing an operating procedure for modifying a standard function.

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

1…インタフェース部、2…関数依存情報登録部、3…
標準関数情報部、4…関数依存関係分析部、5…標準関
数情報ファイル、6…プログラム保存領域、7…プログ
ラム管理部、8…ドキュメント保存領域、9…ドキュメ
ント管理部、10…関数一覧テーブル、11…ライブラ
リ一覧テーブル、12…リソースファイル一覧テーブ
ル、13…ドキュメント一覧テーブル、14…関数依存
関係テーブル、15…未定義関数テーブル
1 ... Interface part, 2 ... Function dependence information registration part, 3 ...
Standard function information section, 4 ... Function dependency analysis section, 5 ... Standard function information file, 6 ... Program storage area, 7 ... Program management section, 8 ... Document storage area, 9 ... Document management section, 10 ... Function list table, 11 ... Library list table, 12 ... Resource file list table, 13 ... Document list table, 14 ... Function dependency table, 15 ... Undefined function table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータ向けソフトウエアの開発を
支援するプログラム開発支援装置において、 前記ソフトウエアで用いられる各標準関数を記述するプ
ログラム名称,各標準関数の意味を示す各ドキュメント
及び各所属ライブラリ名等の各標準関数に関する情報を
記憶する標準関数情報ファイルを管理する標準関数情報
部と、 前記各標準関数における呼出元標準関数と呼出先標準関
数との関係を記憶する関数依存関係テーブルと、 各種情報を操作入力し、かつ読出された情報を表示出力
するためのインタフェース部と、 このインタフェース部を介して指令された標準関数の登
録時、該当標準関数が標準関数情報ファイルの登録済標
準関数から呼出されている場合又は登録済標準関数を呼
出している場合に、呼出元標準関数と呼出先標準関数と
の関係を前記関数依存関係テーブルに登録する関数依存
情報登録部と、 前記インタフェース部を介して指令された前記標準関数
の変更時、前記関数依存関係テーブル内の該当標準関数
に対応する呼出元標準関数又は呼出先標準関数を検索す
る関数依存情報分析部と、 前記標準関数の変更時、前記検索された関数依存関係テ
ーブルの関連情報に基づいてライブラリを作成するライ
ブラリ作成部と、 前記標準関数を記述するプログラムの保存管理を行うプ
ログラム管理部と、 前記ドキュメントの保存管理を行うドキュメント管理部
とを備えたプログラム開発支援装置。
1. A program development support device for supporting the development of software for a computer, in which a program name describing each standard function used in the software, each document indicating the meaning of each standard function, each library name, etc. A standard function information section that manages a standard function information file that stores information about each standard function, a function dependency table that stores the relationship between a calling standard function and a called standard function in each standard function, and various information When registering a standard function commanded via this interface section and an interface section for displaying and outputting the read information, the relevant standard function is called from the registered standard function in the standard function information file. If the standard function is called or the registered standard function is called, the calling standard function and the calling standard A function dependency information registration unit for registering a relationship with a number in the function dependency table, and a change corresponding to the standard function in the function dependency table when the standard function is instructed via the interface unit. A function dependence information analysis unit that searches for an original standard function or a callee standard function; a library creation unit that creates a library based on the related information of the searched function dependence relationship table when the standard function is changed; A program development support device comprising: a program management unit that manages the storage of programs that describe functions; and a document management unit that stores and manages the documents.
JP22056194A 1994-09-14 1994-09-14 Program development support device Pending JPH0887403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22056194A JPH0887403A (en) 1994-09-14 1994-09-14 Program development support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22056194A JPH0887403A (en) 1994-09-14 1994-09-14 Program development support device

Publications (1)

Publication Number Publication Date
JPH0887403A true JPH0887403A (en) 1996-04-02

Family

ID=16752925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22056194A Pending JPH0887403A (en) 1994-09-14 1994-09-14 Program development support device

Country Status (1)

Country Link
JP (1) JPH0887403A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011170419A (en) * 2010-02-16 2011-09-01 Mitsubishi Electric Corp Control program creation device
US11762363B2 (en) 2019-03-13 2023-09-19 Omron Corporation Graph display device, graph display method, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011170419A (en) * 2010-02-16 2011-09-01 Mitsubishi Electric Corp Control program creation device
US11762363B2 (en) 2019-03-13 2023-09-19 Omron Corporation Graph display device, graph display method, and recording medium

Similar Documents

Publication Publication Date Title
US6651240B1 (en) Object-oriented software development support apparatus and development support method
US5878262A (en) Program development support system
CN108762743B (en) Data table operation code generation method and device
JP3521147B2 (en) User interface customizing method and apparatus
JP4826120B2 (en) Business specification creation support system and method
US5781905A (en) Program generating method combining data item part with database manipulation part
JPH0887403A (en) Program development support device
JP2007226685A (en) Application maintenance support device, application generation device, application maintenance support method and computer program
JP3516843B2 (en) Database access method
JPH02204885A (en) Character reading system
JPH10254688A (en) Program generation support device
JP2004362495A (en) Method for supporting of error log information analysis, executing system thereof, and processing program thereof
JPH1185491A (en) Automatic generation system for plural documents
JP3476338B2 (en) Information processing apparatus and computer-readable recording medium recording information processing program
JPH11353162A (en) Program correction result comparing method
JP2701781B2 (en) Document editing device
JPH07129371A (en) Operation supporting system for information processor
JP2534433B2 (en) Message verification method
JPH11259460A (en) Document processor
JPH05298077A (en) Customizing development procedure support method
JPH11203031A (en) Data input device and its control method and storage medium
JPH07146787A (en) Method for retrieving influence program
JP2000181691A (en) Program structure analysis system
JPH04190423A (en) Information control assisting device using function-classified pointer
JP3371434B2 (en) Layout editing device