JPH0744366A - Method for referring to module - Google Patents

Method for referring to module

Info

Publication number
JPH0744366A
JPH0744366A JP5191543A JP19154393A JPH0744366A JP H0744366 A JPH0744366 A JP H0744366A JP 5191543 A JP5191543 A JP 5191543A JP 19154393 A JP19154393 A JP 19154393A JP H0744366 A JPH0744366 A JP H0744366A
Authority
JP
Japan
Prior art keywords
module
source program
data
processing step
processing
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.)
Withdrawn
Application number
JP5191543A
Other languages
Japanese (ja)
Inventor
Hirobumi Yonetoku
博文 米▲徳▼
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co Ltd
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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP5191543A priority Critical patent/JPH0744366A/en
Publication of JPH0744366A publication Critical patent/JPH0744366A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To refer to respective modules while grasping entire configuration at a module level when analyzing a program. CONSTITUTION:The positioning of the module in a source program is grasped by the module configuration of the source program outputted to a data output means 103 while presenting a data input means 101 for inputting source program data, auxiliary storage means 104 for storing data containing prescribed module configuration diagram data or the like and processing executing means 102 for outputting an image signal by executing processing to display the module configuration contents of the source program as an image through the exchange of data containing the module configuration diagram data or the like while inputting the source program data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はモジュール参照方法に関
し、特にモジュール構成図より、ソースファイルに記述
されているモジュールの詳細内容を参照する際に用いら
れるモジュール参照方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a module reference method, and more particularly to a module reference method used when referring to detailed contents of a module described in a source file from a module configuration diagram.

【0002】[0002]

【従来の技術】従来のモジュール参照方法について、図
8および図9を参照して説明する。図8は、モジュール
参照方法においてよく用いられる用語として、ソースプ
ログラム(801)、ソースファイル(802、803
および804)、モジュールA−1(805)、モジュ
ールA−2(806)、モジュールA−3(807)、
…………、モジュールB−1(808)、モジュールB
−2(809)、モジュールB−3(810)、………
…、およびモジュールC−1(811)、モジュールC
−2(812)、モジュールC−3(813)、………
…等の関係を図示したものであり、また図9(a)およ
び(b)は、従来のモジュール参照方法におけるモジュ
ール一覧表ファイルのイメージ、ならびにモジュール参
照方法のフローチャートを示す図である。
2. Description of the Related Art A conventional module reference method will be described with reference to FIGS. FIG. 8 shows source programs (801) and source files (802, 803) as terms often used in the module reference method.
And 804), module A-1 (805), module A-2 (806), module A-3 (807),
…………, Module B-1 (808), Module B
-2 (809), Module B-3 (810), ...
..., and module C-1 (811), module C
-2 (812), Module C-3 (813), ...
, Etc., and FIGS. 9A and 9B are views showing an image of a module list file in the conventional module reference method and a flowchart of the module reference method.

【0003】まず、図8を参照して用語について説明す
る。通常、情報処理システムにおけるプログラムとは、
コンピュータが処理を行うための一連の処理手続きのこ
とを指しており、特に人間がプログラムを理解しやすく
するために発明された設計規則のことをプログラミング
言語と云い、そのプログラミング言語で記述されたプロ
グラムのことをソースプログラム(801)と云う。ま
た、ソースファイル(802、803および804)と
は、このプログラミング言語で記述されたソースプログ
ラム(801)が実際に格納されているファイルのこと
を指しており、通常は、一つのソースプログラム(80
1)は、複数のソースファイル(802、803および
804)に分散して格納されている。モジュールとは、
ソースプログラム(801)を構成する機能単位の部品
のことを指しており、通常は、一つのソースファイルの
中に複数のモジュールが存在している。
First, terms will be described with reference to FIG. Usually, the program in the information processing system is
This refers to a series of processing procedures for a computer to perform processing. In particular, the design rule invented to make it easier for humans to understand a program is called a programming language, and a program written in that programming language. This is called a source program (801). Further, the source files (802, 803 and 804) refer to files in which the source program (801) described in this programming language is actually stored, and usually one source program (80
1) is distributed and stored in a plurality of source files (802, 803 and 804). What is a module?
It refers to a functional unit that constitutes the source program (801), and normally, a plurality of modules exist in one source file.

【0004】以上の用語説明に続いて、ソースプログラ
ムの解析作業が何故重要になってくるかについて説明す
る。近年、システムの大規模化により一つのシステムの
開発を複数の人数で分担して行う機会が増えてきてお
り、このような状況の下では、システムの構成を記述す
るソースプログラムも大規模化し、他人が作成したソー
スプログラムの改良等を行う機会が増加してきている。
そこで重要となる作業が他人が作成した既存ソースプロ
グラムの解析作業である。ソースプログラムが大規模な
ものになってくると、そのソースプログラムを構成する
各モジュールは、多数のソースファイルに分散して存在
している。そこで、それらのモジュールを速かに検索し
て、ソースプログラムの構造を解析することが重要とな
る。そのソースプログラムの構造を解析することは、ソ
ースプログラムを構成している各モジュールの相互依存
関係を把握し、各々のモジュールの詳細な記述内容を認
識することに相当している。しかし、各モジュールは複
数のソースファイルの中に分散して存在しているため、
各モジュールの記述位置を検索し、詳細内容を参照する
作業に手間がかかる傾向がある。以下に、モジュール記
述位置の検索が容易に行えるようにした従来のモジュー
ル参照方法の動作手順について説明する。
Following the above explanation of terms, why the analysis work of the source program becomes important will be explained. In recent years, due to the increase in the scale of the system, the opportunities for multiple people to share the development of one system have increased, and under such circumstances, the source program that describes the system configuration also increases in scale, Opportunities to improve source programs created by others are increasing.
An important task is the analysis of existing source programs created by others. When a source program becomes large in scale, each module that constitutes the source program exists in many source files in a distributed manner. Therefore, it is important to search those modules quickly and analyze the structure of the source program. Analyzing the structure of the source program is equivalent to ascertaining the interdependence of each module that constitutes the source program and recognizing the detailed description content of each module. However, since each module exists in multiple source files in a distributed manner,
It tends to be time-consuming to search the description position of each module and refer to the detailed contents. The operation procedure of the conventional module reference method that enables easy retrieval of the module description position will be described below.

【0005】従来、ソースプログラムを構成している各
モジュールの詳細内容の参照方法においては、各モジュ
ールがどのソースファイルのどこに記述されているかを
示した一覧表(図9(a)参照)を基にして、各モジュ
ールの詳細内容の参照が行われている。図9(b)の従
来のモジュール詳細内容の参照方法における処理手順を
示すフローチャートに示されるように、従来の技術にお
いては、ソースプログラムを入力して参照手順を開始
し、当該ソースプログラムのモジュール一覧表ファイル
901を作成するステップ91と、モジュールの詳細内
容を参照したい対象モジュールを指定するステップ92
と、前記モジュール一覧表ファイル901から対象モジ
ュールの詳細内容記述位置情報を得るステップ93と、
ステップ93において得られた記述位置情報から対象モ
ジュールの詳細内容を表示するステップ94と、この処
理手順を終了するか否かを判断し、終了する場合には処
理を終了し、終了しない場合には、再度ステップ92に
戻るするステップ95とを有している。
Conventionally, in the method of referring to the detailed contents of each module that constitutes a source program, a list (see FIG. 9A) showing which source file and where each module is described is based on a list. Then, the detailed contents of each module are referred to. In the conventional technique, as shown in the flowchart of FIG. 9B, which shows the processing procedure in the conventional method for referring to the detailed module contents, the source program is input to start the reference procedure, and the module list of the source program is started. Step 91 for creating the table file 901 and step 92 for designating the target module whose detailed contents are to be referred to
And step 93 of obtaining detailed content description position information of the target module from the module list file 901,
Step 94 for displaying the detailed contents of the target module from the description position information obtained in step 93, and it is judged whether or not to end this processing procedure. If it is ended, the processing is ended, and if it is not ended, , And step 95 for returning to step 92 again.

【0006】以下、従来のモジュール参照方法について
詳細に説明する。まず、始めにステップ91において入
力されるソースプログラムの構造について説明する。図
8は、ソースファイルの構造を示す図であり、ソースプ
ログラム801は、一つまたは複数のソースファイル
(802、803および804)のそれぞれに存在する
モジュール群モジュールA−1(805)、モジュール
A−2(806)、モジュールA−3(807)……
…、モジュールB−1(808)、モジュールB−2
(809)、モジュールB−3(810)………、モジ
ュールC−1(811)、モジュールC−2(81
2)、モジュールC−3(813)………等により構成
されている。
The conventional module reference method will be described in detail below. First, the structure of the source program input in step 91 will be described. FIG. 8 is a diagram showing the structure of a source file. The source program 801 includes a module group module A-1 (805) and module A existing in each of one or a plurality of source files (802, 803 and 804). -2 (806), Module A-3 (807) ...
…, Module B-1 (808), Module B-2
(809), module B-3 (810), ..., module C-1 (811), module C-2 (81
2), module C-3 (813) ...

【0007】従来のモジュール参照方法においては、図
9(a)に示される各モジュールと、そのモジュールが
記述されているソースファイル上の位置を表わす関連情
報が記載されているモジュール一覧表ファイル901が
作成され、図9(b)のフローチャートに示されるよう
に、当該モジュール一覧表ファイル901を利用しなが
ら各モジュールの参照が行われている。その処理手順の
流れとしては、まず始めにモジュール一覧表ファイル9
01をステップ91において作成し、その後、参照した
いモジュール名をステップ92において指定し、次いで
ステップ93において、モジュール一覧表ファイル90
1から参照したいモジュールの詳細内容が記述されてい
るソースファイルを特定するとともに、そのソースファ
イル内での具体的な記述位置情報を取得して、その後、
取得した情報に応じたモジュールの詳細内容をステップ
94において表示している。具体的な実施例が図10お
よび図11に示される。
In the conventional module reference method, a module list file 901 in which each module shown in FIG. 9A and related information indicating the position on the source file in which the module is described is described. As shown in the flowchart of FIG. 9B, each module is referenced while using the module list file 901. As the flow of the processing procedure, first, the module list file 9
01 is created in step 91, then the module name to be referred to is specified in step 92, and then the module list file 90 is specified in step 93.
From 1 specify the source file that describes the detailed contents of the module you want to refer to, acquire the specific description position information in the source file, and then
The detailed contents of the module corresponding to the acquired information are displayed in step 94. A specific example is shown in FIGS.

【0008】この図10および図11は、従来のモジュ
ールの詳細内容の参照方法の例を示す図であり、一つの
実用例としては、図10に示されるように、コンピュー
タ画面(1001)に表示されているソースファイルに
記述されているモジュールA−1(1003)を表示し
ているコンピュータ画面(1001)上から、モジュー
ルA−1(1003)の中で用いられているモジュール
A−1−2(1006)のように、対象モジュールとし
たいモジュール名を指定することにより、そのモジュー
ルの詳細内容記述部分(1004)をコンピュータ画面
(1002)上に表示させる方法であり、また、他の例
としては、図11に示されるように、モジュールと各ソ
ースファイルとの関係を表示したコンピュータ画面11
01から、モジュールA−1−2(1103)のような
対象モジュールとしたいモジュールを選択することによ
り、当該モジュールの詳細内容記述部分(1104)
を、コンピュータ画面1102上に表示させる方法であ
る。
FIG. 10 and FIG. 11 are views showing an example of a conventional method of referring to the detailed contents of a module. As one practical example, as shown in FIG. 10, a computer screen (1001) is displayed. From the computer screen (1001) displaying the module A-1 (1003) described in the written source file, the module A-1-2 used in the module A-1 (1003) is displayed. As in (1006), the detailed module description (1004) of the module is displayed on the computer screen (1002) by designating the module name to be the target module, and as another example, , A computer screen 11 displaying the relationship between the modules and each source file, as shown in FIG.
From 01, by selecting a module to be a target module such as module A-1-2 (1103), the detailed content description part (1104) of the module
Is displayed on the computer screen 1102.

【0009】[0009]

【発明が解決しようとする課題】上述した従来のモジュ
ール参照方法においては、プログラム解析時において、
各モジュールごとに詳細内容を参照することは可能であ
るものの、モジュール・レベルにおいて、全体構成を把
握しながら各モジュールの詳細内容を参照することがで
きないという欠点がある。
In the conventional module reference method described above, at the time of program analysis,
Although it is possible to refer to the detailed contents for each module, there is a disadvantage that it is not possible to refer to the detailed contents of each module while grasping the overall configuration at the module level.

【0010】[0010]

【課題を解決するための手段】第1の発明のモジュール
参照方法は、プログラムの改良または改造時におけるソ
ースプログラムの解析時において、当該ソースプログラ
ムを構成するモジュールの詳細内容の参照方法として、
前記ソースプログラムのソースプログラム・データを入
力するデータ入力手段と、所定のモジュール構成図デー
タ等を含むデータを格納する補助記憶手段と、前記デー
タ入力手段より出力されるソースプログラム・データを
入力し、前記補助記憶手段に格納されるモジュール構成
図データ等を含むデータの授受を介して、当該ソースプ
ログラムのモジュール構成内容を画像表示化する処理を
実行し、任意に指定される参照対象モジュールの詳細構
成内容をも含む表示用画像信号を出力する処理実行手段
と、当該処理実行手段の表示用画像信号を入力して、所
定の画面上に前記ソースプログラムのモジュール構成内
容を画像表示するデータ出力手段と、を含む情報処理シ
ステムをモジュールの詳細参照用のツールとして用い、
前記データ出力手段により表示出力される前記ソースプ
ログラムの構成を図示したモジュール構成図の表示画面
によって得られる、モジュールのソースプログラム中に
おける位置付けを把握しながら、当該モジュールの詳細
内容を参照することを特徴としている。
A module referencing method according to the first invention is a method for referencing detailed contents of modules constituting a source program at the time of analysis of the source program at the time of improving or remodeling the program,
Data input means for inputting source program data of the source program, auxiliary storage means for storing data including predetermined module configuration data, etc., and input source program data output from the data input means, A detailed configuration of a reference target module that is arbitrarily designated by executing a process of displaying the module configuration content of the source program as an image through the exchange of data including the module configuration diagram data stored in the auxiliary storage unit. Processing execution means for outputting a display image signal including contents, and data output means for inputting the display image signal of the processing execution means to display the module configuration contents of the source program on a predetermined screen as an image. Using an information processing system including
The detailed contents of the module are referred to while grasping the position of the module in the source program obtained by the display screen of the module configuration diagram showing the configuration of the source program displayed and output by the data output means. I am trying.

【0011】また、第2の発明のモジュール参照方法
は、プログラムの改良または改造時におけるソースプロ
グラムの解析時において、当該ソースプログラムを構成
するモジュールの詳細内容の参照方法として、当該ソー
スプログラム・データを所定の処理実行手段に入力する
第1の処理ステップと、前記ソースプログラム・データ
の入力を受けて、当該ソースプログラムを構成するモジ
ュール構成図を作成し、所定の画像表示面に表示する第
2の処理ステップと、前記第2の処理ステップにおいて
得られたモジュール構成図の画像表示面上において、モ
ジュールの詳細内容を表示させたい対象モジュールを指
定する第3の処理ステップと、前記第3の処理ステップ
において指定された対象モジュールの詳細内容を画面表
示する第4の処理ステップと、前記第4の処理ステップ
以降の処理ステップとして、前記第3の処理ステップに
戻るか、前記第4の処理ステップに戻るか、或は全ての
処理を終了するかの何れかの動作指示を行う第5の処理
ステップと、を有しており、前記第4の処理ステップに
おいて、前記ソースプログラムの構成を図示したモジュ
ール構成図の表示画面によって得られる、モジュールの
ソースプログラム中における位置付けを把握しながら、
当該モジュールの詳細内容を参照することを特徴として
いる。
The module reference method of the second invention uses the source program data as a reference method of the detailed contents of the modules constituting the source program when the source program is analyzed when the program is improved or modified. A first processing step of inputting to a predetermined processing execution means and a second step of receiving the input of the source program data, creating a module configuration diagram for configuring the source program, and displaying it on a predetermined image display surface. Processing step, a third processing step of designating a target module for which detailed module contents are to be displayed on the image display surface of the module configuration diagram obtained in the second processing step, and the third processing step The fourth processing screen that displays the detailed contents of the target module specified in And an operation of returning to the third processing step, returning to the fourth processing step, or terminating all the processing as processing steps subsequent to the fourth processing step. A fifth processing step for giving an instruction, and in the fourth processing step, the position of the module in the source program obtained by the display screen of the module configuration diagram showing the configuration of the source program is determined. While grasping
The feature is that the detailed contents of the module are referred to.

【0012】[0012]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0013】図1(a)は本発明の一実施例における処
理ステップを示すフローチャートであり、図1(b)
は、本実施例において用いられる情報処理システムの基
本構成を示すブロック図である。図1(b)に示される
ように、当該情報処理システムは、ソースプログラム・
データを入力するための磁気ディスク装置等を含むデー
タ入力手段101と、アプリケーション・プログラムが
走る中央処理装置等の処理実行手段102と、モジュー
ル構成図データ等を記憶するために用いられる補助記憶
手段104と、処理結果をコンピュータ画面等に表示す
るためのデータ表示手段103とを備えて構成される。
FIG. 1A is a flowchart showing the processing steps in one embodiment of the present invention, and FIG.
FIG. 3 is a block diagram showing the basic configuration of an information processing system used in this embodiment. As shown in FIG. 1B, the information processing system includes a source program
Data input means 101 including a magnetic disk device for inputting data, processing execution means 102 such as a central processing unit on which an application program runs, auxiliary storage means 104 used for storing module configuration diagram data and the like. And a data display means 103 for displaying the processing result on a computer screen or the like.

【0014】次に、本実施例の動作について説明する。
図1(b)における処理実行手段102においては、デ
ータ入力手段101より入力されるソースプログラム・
データ等の入力を受けて、補助記憶手段104との間の
データの授受を介して、まずステップ11においてモジ
ュール構成図が作成され、ステップ12において、当該
モジュール構成図の画面より、モジュールの詳細内容を
表示させたい対象モジュールが指定される。ステップ1
3において、指定された対象モジュールの詳細内容が表
示されて、ステップ14においては、モジュール構成図
画面に戻るか、または詳細内容表示画面から次の対象モ
ジュール名を指定するか、或はまた処理を終了するかと
いう動作指示入力を選択する判断処理が行われて、Aが
選択される場合にはステップ12に戻り、Bが選択され
る場合にはステップ13に戻り、Cが選択される場合に
は、必要に応じて作成されたモジュール・データ等が補
助記憶装置104に記録されて処理は終了となる。
Next, the operation of this embodiment will be described.
In the process execution means 102 in FIG. 1B, the source program input from the data input means 101
Upon receiving the input of data and the like, the module configuration diagram is first created in step 11 through the exchange of data with the auxiliary storage means 104, and in step 12, the detailed contents of the module are displayed on the screen of the module configuration diagram. The target module for which you want to display is specified. Step 1
In step 3, the detailed contents of the specified target module are displayed, and in step 14, the screen returns to the module configuration diagram screen, or the next target module name is specified from the detailed contents display screen, or another processing is executed. When the determination process of selecting the operation instruction input of whether to finish is performed, the process returns to step 12 when A is selected, the process returns to step 13 when B is selected, and the process returns when step C is selected. The module data and the like created as necessary are recorded in the auxiliary storage device 104, and the process ends.

【0015】図2は、処理実行手段102に入力される
前記ソースプログラム・データの構成例を示す図であ
り、当該ソースプログラム・データを構成する各モジュ
ールそれぞれの構成をも含めて示されている。通常は、
図2に示されるように、トップモジュール(ソースプロ
グラムを構成しているモジュール群の最上位モジュー
ル)(201)は、モジュールA(202)、モジュー
ルB(203)およびモジュール(204)により構成
されているが、トップモジュールを構成するモジュール
A(205)も、またモジュールA−1(206)、モ
ジュールA−2(207)およびモジュールA−3(2
08)により構成されており、同様に、トップモジュー
ルを構成するモジュールA−2(209)も、またモジ
ュールA−2−1(210)、モジュールA−2−2
(211)およびモジュールA−2−3(212)によ
り構成されている。
FIG. 2 is a diagram showing an example of the structure of the source program data input to the process executing means 102, including the structure of each module forming the source program data. . Normally,
As shown in FIG. 2, the top module (the highest module of the module group forming the source program) (201) is composed of a module A (202), a module B (203) and a module (204). However, the module A (205) that constitutes the top module is also the module A-1 (206), the module A-2 (207) and the module A-3 (2
08), and similarly, the module A-2 (209) that constitutes the top module is also the module A-2-1 (210) and the module A-2-2.
(211) and module A-2-3 (212).

【0016】これらのモジュールによる構成を階層的に
繰返して図示したものが、前記ステップ11において作
成されるモジュール全体の構成図であり、図3に示され
ている。即ち、図3におけるモジュールA(302)
は、図2におけるモジュールA(202:参照側)とモ
ジュールA(205:定義側)を重ね合わせたものに等
しく、図3におけるモジュールA−2(304)は、図
2におけるモジュールA−2(207:参照側)とモジ
ュールA−2(209:定義側)を重ね合わせたものに
等しい。
FIG. 3 is a block diagram of the entire module created in step 11, in which the configuration of these modules is repeated hierarchically. That is, module A (302) in FIG.
Is equal to a combination of module A (202: reference side) and module A (205: definition side) in FIG. 2, and module A-2 (304) in FIG. 207: reference side) and module A-2 (209: definition side) are equal to each other.

【0017】次に、ステップ12からステップ14に至
る処理内容について説明する。即ち、図2に示されるモ
ジュール全体構成図から、対象モジュールの詳細内容を
参照する例について説明する。通常、モジュール全体構
成図(図2)は、その廣がりが大きくなると、図4に示
されるように、コンピュータ画面(401)内に各モジ
ュール(402〜411)を全部一度に表示することが
できなくなる。図4においては、その内、モジュール
(402〜409)については、コンピュータ画面40
1内に表示されるが、それ以外のモジュール(410、
411)は、コンピュータ画面401の外にはみ出され
てしまう。このような場合には、図5(a)に示される
ように、コンピュータ画面(501、502、503)
に表示されるモジュール(506〜517)より構成さ
れるモジュール構成図の表示部分を、移動線(531)
に沿って上下左右に変化させることにより、モジュール
構成図の全てがコンピュータ画面(501、502、5
03)内において表示させることができるようになる。
Next, the processing contents from step 12 to step 14 will be described. That is, an example of referring to the detailed contents of the target module from the overall module configuration diagram shown in FIG. 2 will be described. Generally, when the overall structure of the module (FIG. 2) becomes large, as shown in FIG. 4, all the modules (402 to 411) can be displayed at once in the computer screen (401). Disappear. In FIG. 4, among the modules (402 to 409), the computer screen 40 is shown.
1, but other modules (410,
411) is projected outside the computer screen 401. In such a case, as shown in FIG. 5A, computer screens (501, 502, 503) are displayed.
In the display part of the module configuration diagram composed of the modules (506 to 517) displayed in, the movement line (531)
By changing up / down / left / right along the
It will be possible to display in 03).

【0018】また、図5(b)に示されるように、対象
のモジュール(520)を使用している上位のモジュー
ル(518、519)と、対象のモジュール(520)
が使用している下位のモジュール(521、522、5
23)の関係を示す構成図、または図5(c)に示され
るように、モジュール(524)を起点とした上位のモ
ジュール方向(532)についての階層的なモジュール
(525〜529)の構成を示すモジュール構成図のよ
うに、対象とするモジュールに対する構成図の表示形式
(図5(b)および(c)を参照)を変化させたりする
ことにより、対象モジュールのソースプログラム中にお
ける位置付け等が把握される。そして、このモジュール
・レベルでの位置付けを把握することにより、図6に示
されるように、モジュール構成図を表示するコンピュー
タ画面(601)より、対象とするモジュールX(60
6)が指定され、この指定を介して、コンピュータ画面
(602)上に当該対象モジュールX(609)の詳細
内容が表示されて参照される。その後の処置について
は、必要に応じてモジュール構成図が表示されるコンピ
ュータ画面602に戻るか、または、例えば図10に示
されるように、他のモジュール詳細内容を表示するコン
ピュータ画面(1002)に移動するか適宜に選択され
る。
Further, as shown in FIG. 5B, upper modules (518, 519) using the target module (520) and the target module (520).
Lower modules (521, 522, 5) used by
23), or, as shown in FIG. 5C, a hierarchical module (525-529) configuration for the higher module direction (532) starting from the module (524). By changing the display format of the configuration diagram for the target module (see FIGS. 5B and 5C) as shown in the module configuration diagram shown, the position of the target module in the source program is understood. To be done. By grasping the position at the module level, as shown in FIG. 6, the target module X (60) is displayed on the computer screen (601) displaying the module configuration diagram.
6) is designated, and the detailed content of the target module X (609) is displayed and referred to on the computer screen (602) through this designation. For subsequent treatment, if necessary, return to the computer screen 602 displaying the module configuration diagram, or move to the computer screen (1002) displaying other module details as shown in FIG. 10, for example. It is selected as appropriate.

【0019】なお、図6に示されるようなモジュール構
成図のコンピュータ画面(601)から、指定された対
象モジュールの詳細内容を参照するコンピュータ画面
(602)を生成して表示する本発明による処理手順
と、図7に示されるように、コンピュータ画面701、
702および703の対応において、モジュールXの詳
細内容(705)から、モジュールX−1(708)の
詳細内容(706)を参照し、またモジュールX−1の
詳細内容(706)から、モジュールX−1−2(71
1)の詳細内容(707)を参照するという、ソースフ
ァイルを表示するコンピュータ画面により、指定される
モジュールの詳細内容を表示する従来の技術とを組合わ
せることにより、従来は、次々と対象モジュールを参照
してゆくことにより対応しているモジュールの参照軌跡
を、本発明の適用により、図7のコンピュータ画面70
4に示されるように、当該参照軌跡をモジュール構成図
画面上に表示させることによって、それまで逐次参照し
てきたモジュールの軌跡を視覚的に連繋的に把握するこ
とが可能となる。
A processing procedure according to the present invention for generating and displaying a computer screen (602) for referring to detailed contents of a designated target module from a computer screen (601) of a module configuration diagram as shown in FIG. And as shown in FIG. 7, a computer screen 701,
In the correspondence of 702 and 703, the detailed content (705) of the module X is referred to the detailed content (706) of the module X-1 (708), and the detailed content (706) of the module X-1 is referred to as the module X- 1-2 (71
By combining the detailed content (707) of 1) with the conventional technique of displaying the detailed content of the specified module by the computer screen displaying the source file, conventionally, the target module is successively displayed. By applying the present invention, the reference loci of corresponding modules can be changed by referring to the computer screen 70 of FIG.
As shown in FIG. 4, by displaying the reference locus on the module configuration diagram screen, it becomes possible to visually and visually grasp the loci of the modules that have been sequentially referred to until then.

【0020】[0020]

【発明の効果】以上説明したように、本発明は、ソース
プログラムの構成を図示するモジュール構成図と、各モ
ジュールの詳細内容の参照とを関係付けることにより、
ソースプログラム解析における効率的な階層解析が可能
となり、ソースプログラムの全体構成を把握しながら各
モジュールの詳細内容を参照することができるという効
果がある。
As described above, according to the present invention, by associating the module configuration diagram showing the configuration of the source program with the reference of the detailed contents of each module,
It is possible to perform efficient hierarchical analysis in source program analysis, and it is possible to refer to the detailed contents of each module while grasping the overall configuration of the source program.

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

【図1】本発明の一実施例における処理手順および基本
構成を示す図である。
FIG. 1 is a diagram showing a processing procedure and a basic configuration in an embodiment of the present invention.

【図2】各モジュール単位の構成を含むモジュール全体
の構成を示す図である。
FIG. 2 is a diagram showing a configuration of an entire module including a configuration of each module.

【図3】モジュール全体構成を示す図である。FIG. 3 is a diagram showing an overall configuration of a module.

【図4】モジュール全体構成と、コンピュータ画面との
対応関係を示す図である。
FIG. 4 is a diagram showing a correspondence relationship between an overall module configuration and a computer screen.

【図5】本実施例におけるモジュール構成図画面に対応
する表示方法および編集方法を示す図である。
FIG. 5 is a diagram showing a display method and an editing method corresponding to a module configuration diagram screen in the present embodiment.

【図6】本実施例におけるモジュール構成図画面からモ
ジュールの詳細内容を参照する方法を示す図である。
FIG. 6 is a diagram showing a method of referring to the detailed contents of a module from the module configuration screen in this embodiment.

【図7】本実施例におけるモジュール構成図画面からモ
ジュールの詳細内容を参照する他の手法を示す図であ
る。
FIG. 7 is a diagram showing another method for referring to the detailed contents of a module from the module configuration screen in this embodiment.

【図8】ソースプログラムの構成を示す図である。FIG. 8 is a diagram showing a configuration of a source program.

【図9】従来のモジュール一覧表ファイルのイメージ
と、モジュール詳細内容参照フロータートを示す図であ
る。
FIG. 9 is a diagram showing an image of a conventional module list file and a module detailed content reference floatate.

【図10】従来のモジュールの詳細内容画面から他のモ
ジュールの詳細内容を参照する方法のイメージを示す図
である。
FIG. 10 is a diagram showing an image of a method for referring to detailed contents of another module from a conventional detailed contents screen of a module.

【図11】従来のモジュール一覧表画面からモジュール
の詳細内容を参照する方法のイメージを示す図である。
FIG. 11 is a diagram showing an image of a method of referring to detailed contents of a module from a conventional module list screen.

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

11〜14、91〜95 処理ステップ 101 データ入力手段 102 処理実行手段 103 データ出力手段 201、301、402 トップモジュール 202、205、302、403 モジュールA 203、309、410 モジュールB 204、310、411 モジュールC 206、303、404、805、1003 モジュ
ールA−1 207、209、304、405、806 モジュー
ルA−2 208、308、409、807 モジュールA−3 210、305、406 モジュールA−2−1 211、306、407 モジュールA−2−2 212、307、408 モジュールA−2−3 401、501〜505、601、602、701〜7
04、1001、1002、1101、1102 コ
ンピュータ画面 506〜529、603〜608、716、718、7
19 モジュール 609、705、714 モジュールX 610、706、708、715 モジュールX−1 611、709 モジュールX−2 707、711、717 モジュールX−1−2 710 モジュールX−1−1 712 モジュールX−1−2−1 713 モジュールX−1−2−2 801 ソースプログラム 802〜804 ソースファイル 808 モジュールB−1 809 モジュールB−2 810 モジュールB−3 811 モジュールC−1 812 モジュールC−2 813 モジュールC−3 901 モジュール一覧表ファイル 1004、1006、1103、1104 モジュー
ルA−1−2 1005 モジュールA−1−1 1007 モジュールA−1−3 1008、1105 モジュールA−1−2−1 1009、1106 モジュールA−1−2−2
11-14, 91-95 Processing steps 101 Data input means 102 Processing execution means 103 Data output means 201, 301, 402 Top module 202, 205, 302, 403 Module A 203, 309, 410 Module B 204, 310, 411 Module C 206, 303, 404, 805, 1003 Module A-1 207, 209, 304, 405, 806 Module A-2 208, 308, 409, 807 Module A-3 210, 305, 406 Module A-2-1 211 , 306, 407 Module A-2-2 212, 307, 408 Module A-2-3 401, 501-505, 601, 602, 701-7
04, 1001, 1002, 1101, 1102 computer screens 506-529, 603-608, 716, 718, 7
19 modules 609, 705, 714 modules X 610, 706, 708, 715 modules X-1 611, 709 modules X-2 707, 711, 717 modules X-1-2 710 modules X-1-1 712 modules X-1 2-1 713 Module X-1-2-2 801 Source Program 802 to 804 Source File 808 Module B-1 809 Module B-2 810 Module B-3 811 Module C-1 812 Module C-2 813 Module C- 3 901 Module list file 1004, 1006, 1103, 1104 Module A-1-2 1005 Module A-1-1 1007 Module A-1-3 1008, 1105 Module A-1-2-1 1009, 1106 Module A-1-2-2

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの改良または改造時における
ソースプログラムの解析時において、当該ソースプログ
ラムを構成するモジュールの詳細内容の参照方法とし
て、前記ソースプログラムのソースプログラム・データ
を入力するデータ入力手段と、所定のモジュール構成図
データ等を含むデータを格納する補助記憶手段と、前記
データ入力手段より出力されるソースプログラム・デー
タを入力し、前記補助記憶手段に格納されるモジュール
構成図データ等を含むデータの授受を介して、当該ソー
スプログラムのモジュール構成内容を画像表示化する処
理を実行し、任意に指定される参照対象モジュールの詳
細構成内容をも含む表示用画像信号を出力する処理実行
手段と、当該処理実行手段の表示用画像信号を入力し
て、所定の画面上に前記ソースプログラムのモジュール
構成内容を画像表示するデータ出力手段と、を含む情報
処理システムをモジュールの詳細参照用のツールとして
用い、前記データ出力手段により表示出力される前記ソ
ースプログラムの構成を図示したモジュール構成図の表
示画面によって得られる、モジュールのソースプログラ
ム中における位置付けを把握しながら、当該モジュール
の詳細内容を参照することを特徴とするモジュール参照
方法。
1. A data input means for inputting source program data of the source program as a method for referring to detailed contents of a module constituting the source program when the source program is analyzed when the program is improved or modified. Auxiliary storage means for storing data including predetermined module configuration data, etc., and data including module configuration data stored in the auxiliary storage means by inputting the source program / data output from the data input means Through execution of the process of converting the module configuration content of the source program into an image display, and outputting a display image signal that also includes the detailed configuration content of the arbitrarily designated reference target module, The image signal for display of the processing execution means is input, and the image is displayed on a predetermined screen. A module configuration showing the configuration of the source program displayed and output by the data output means, using an information processing system including a data output means for displaying the module configuration content of the source program as an image, as a tool for referring to details of the module. A module referencing method characterized by referring to detailed contents of the module while grasping the position of the module in the source program obtained from the display screen of the figure.
【請求項2】 プログラムの改良または改造時における
ソースプログラムの解析時において、当該ソースプログ
ラムを構成するモジュールの詳細内容の参照方法とし
て、 前記ソースプログラムのソースプログラム・データを所
定の処理実行手段に入力する第1の処理ステップと、 前記ソースプログラム・データの入力を受けて、当該ソ
ースプログラムを構成するモジュール構成図を作成し、
所定の画像表示面に表示する第2の処理ステップと、 前記第2の処理ステップにおいて得られたモジュール構
成図の画像表示面上において、モジュールの詳細内容を
表示させたい対象モジュールを指定する第3の処理ステ
ップと、 前記第3の処理ステップにおいて指定された対象モジュ
ールの詳細内容を画面表示する第4の処理ステップと、 前記第4の処理ステップ以降の処理ステップとして、前
記第3の処理ステップに戻るか、前記第4の処理ステッ
プに戻るか、或は全ての処理を終了するかの何れかの動
作指示を行う第5の処理ステップと、 を有しており、前記第4の処理ステップにおいて、前記
ソースプログラムの構成を図示したモジュール構成図の
表示画面によって得られる、モジュールのソースプログ
ラム中における位置付けを把握しながら、当該モジュー
ルの詳細内容を参照することを特徴とするモジュール参
照方法。
2. When analyzing a source program at the time of improving or remodeling the program, as a method of referring to the detailed contents of a module constituting the source program, the source program data of the source program is input to a predetermined processing execution means. A first processing step for receiving the input of the source program data, and creating a module configuration diagram configuring the source program,
A second processing step of displaying on a predetermined image display surface, and a third module for designating a target module for which detailed module contents are to be displayed on the image display surface of the module configuration diagram obtained in the second processing step. Processing step, a fourth processing step for displaying the detailed content of the target module specified in the third processing step on the screen, and processing steps after the fourth processing step to the third processing step. A fifth processing step for giving an operation instruction to either return, return to the fourth processing step, or end all the processing, and in the fourth processing step , The position of the module in the source program obtained by the display screen of the module configuration diagram showing the configuration of the source program A module referencing method characterized by referring to detailed contents of the module while grasping.
JP5191543A 1993-08-03 1993-08-03 Method for referring to module Withdrawn JPH0744366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5191543A JPH0744366A (en) 1993-08-03 1993-08-03 Method for referring to module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5191543A JPH0744366A (en) 1993-08-03 1993-08-03 Method for referring to module

Publications (1)

Publication Number Publication Date
JPH0744366A true JPH0744366A (en) 1995-02-14

Family

ID=16276428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5191543A Withdrawn JPH0744366A (en) 1993-08-03 1993-08-03 Method for referring to module

Country Status (1)

Country Link
JP (1) JPH0744366A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6239670B1 (en) 1998-03-06 2001-05-29 Nec Corporation Short-stub matching circuit
CN118094688A (en) * 2023-12-22 2024-05-28 上海建工四建集团有限公司 Intelligent layout and drawing system for disc-type scaffolding plan

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6239670B1 (en) 1998-03-06 2001-05-29 Nec Corporation Short-stub matching circuit
CN118094688A (en) * 2023-12-22 2024-05-28 上海建工四建集团有限公司 Intelligent layout and drawing system for disc-type scaffolding plan

Similar Documents

Publication Publication Date Title
US5544305A (en) System and method for creating and executing interactive interpersonal computer simulations
US6523048B2 (en) Computer system and method for abstracting and accessing a chronologically-arranged collection of information
US7316000B2 (en) Interactive agent for a topological multi-tier business application composer
JPH08137678A (en) How to create a program
US6091416A (en) Method, apparatus and computer program product for graphical user interface control and generating a multitool icon
JPH04337843A (en) Program operation display method
JP2005202863A (en) Information display program, method and device, and recording medium
US20090271661A1 (en) Status transition test support device, status transition test support method, and recording medium
JPH0954669A (en) Dynamic dialog box functionality for graphical user interface
JP4701124B2 (en) Information processing apparatus and information processing method
TW200406692A (en) Semiconductor test data analysis system
JP2574985B2 (en) Digital data processing system and error handling method
JP2001103415A (en) Slide show device
JPH0744366A (en) Method for referring to module
JPS6136868A (en) Information retriever
JPH06259312A (en) Network type document processor using two-dimensionally defined tree structure
JPH0667838A (en) Display processor
JP3463331B2 (en) Menu selection method
JP2003076545A (en) Program development assisting device
JP2718782B2 (en) Figure creation device
JPS6315322A (en) Command history acquisition reuse method
JPH0738204B2 (en) Calculation method
JP3064296B2 (en) Method and apparatus for controlling display screen of hierarchical structure data
JP3125706B2 (en) Tag jump method and editing device for text editing of object-oriented programming language program
JP3637606B2 (en) Data processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001003