JPH04220721A - Prograom specification generation device - Google Patents

Prograom specification generation device

Info

Publication number
JPH04220721A
JPH04220721A JP2413861A JP41386190A JPH04220721A JP H04220721 A JPH04220721 A JP H04220721A JP 2413861 A JP2413861 A JP 2413861A JP 41386190 A JP41386190 A JP 41386190A JP H04220721 A JPH04220721 A JP H04220721A
Authority
JP
Japan
Prior art keywords
program
difference
difference information
old
specifications
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
JP2413861A
Other languages
Japanese (ja)
Inventor
Shigeki Naota
直田 繁樹
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2413861A priority Critical patent/JPH04220721A/en
Publication of JPH04220721A publication Critical patent/JPH04220721A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To take over comments, etc., that a user adds to an old program by automatically generating the specification of a program from the program and distinctively displaying alteration parts when the program is updated. CONSTITUTION:A specification generation part 3 generates the specification 5 from the new-version program 4. A difference extraction part 6 extracts remarks added to old specification in hypertext form together with their positions and puts them in difference information 7. Then the newly generated specification 5 are compared with the old specification 2 after the remarks are removed and their differences are added to the difference information 7. Then difference patch parts 8 are fitted according to the position information included in the difference information so that the remarks of the old version and difference points are linked with the specification 5 in the hypertext form. A hypertext control part 10 displays the filling difference information.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はプログラムから該プログ
ラムについての仕様書を生成する装置に関し、特にプロ
グラムが更新されたため、仕様書を作成し直すとき、そ
の変更部分を明確に表示することが可能で、かつ、旧プ
ログラムの仕様書に、ユーザ等が特に加えたコメント等
を引き継ぐことの可能なプログラム仕様書自動生成装置
に係る。
[Industrial Application Field] The present invention relates to a device that generates specifications for a program from a program, and in particular, when the program has been updated, it is possible to clearly display the changed parts when re-creating the specifications. The present invention relates to an automatic program specification generation device that is capable of inheriting comments, etc. particularly added by a user or the like to the specifications of an old program.

【0002】0002

【従来の技術】銀行システムのような大きなシステムは
大形の情報処理装置と非常に多くの量のソフトウェア(
OS,パッケージ,アプリケーション等)から成ってい
る。この膨大な既存のプログラムの保守作業を容易にす
るために、その仕様書を電子的に管理し、参照検索を容
易にすることが要求されている。ところが、既存のプロ
グラムの仕様書の多くは手書きであり、電子的に管理で
きる仕様書を作るために、プログラムから仕様情報を抽
出して仕様書を自動生成する必要がある。このようなプ
ログラムから該プログラムの仕様書を生成する方法は従
来から各種のものが考えられている。従来、プログラム
が更新されると、その都度上述のような方法を使って、
仕様書を生成し、旧版の仕様書と置き替えると言うこと
が行なわれていた。
[Prior Art] A large system such as a banking system uses large information processing equipment and an extremely large amount of software (
(OS, packages, applications, etc.) In order to facilitate the maintenance work of this huge amount of existing programs, it is required to electronically manage their specifications and facilitate reference searches. However, many existing program specifications are handwritten, and in order to create specifications that can be managed electronically, it is necessary to extract specification information from the program and automatically generate specifications. Conventionally, various methods have been considered for generating specifications for a program from such a program. Traditionally, whenever a program is updated, the method described above is used to update the program.
The practice was to generate a specification document and replace it with the old version of the specification document.

【0003】0003

【発明が解決しようとする課題】上述したような、従来
のプログラムが更新されたとき、その都度該プログラム
についての仕様書を生成する方式においては、更新後の
プログラムから仕様書を全く新らたに生成するので、従
来のプログラムの仕様との相違部分が分かり難く、また
、元の仕様書に対して、参考または理解を容易にするな
どの目的をもって、ユーザが特に追加した貴重な注釈情
報等を捨て去られてしまうため自動生成後の仕様書が、
その利用者にとって理解が困難なものになってしまうと
言う問題点があった。
[Problem to be Solved by the Invention] In the conventional method described above, in which a specification for the program is generated each time the program is updated, the specification is completely new from the updated program. This makes it difficult to understand differences from conventional program specifications, and valuable annotation information added by the user to the original specifications for reference or ease of understanding. Because the specifications are discarded, the automatically generated specifications are
There was a problem in that it was difficult for users to understand.

【0004】本発明はこのような従来の問題点に鑑み、
更新されたプログラムについて、該プログラムの仕様書
を自動生成する際に旧版のプログラムの仕様との相違点
を明確に表示することが可能で、また、旧版のプログラ
ムの仕様書に付加された注釈情報等を付加して、理解の
容易な仕様書を生成することのできるプログラム仕様書
の生成装置を提供することを目的としている。
[0004] In view of these conventional problems, the present invention
When automatically generating the specifications for an updated program, it is possible to clearly display the differences from the specifications of the old version of the program, and also to display the annotation information added to the specifications of the old version of the program. It is an object of the present invention to provide a program specification generation device that can generate an easy-to-understand specification by adding information such as the following information.

【0005】[0005]

【課題を解決するための手段】本発明によれば上述の目
的は前記特許請求の範囲に記載した手段により達成され
る。すなわち、本発明は、プログラムから該プログラム
の仕様書を自動的に生成する装置であって、新版のプロ
グラムについて該プログラムの仕様書を生成した後、該
仕様書と上記プログラムに対応する旧版のプログラムの
仕様書との差分情報を抽出する手段と、上記手段により
抽出した差分情報をハイパーテキスト方式で保存する手
段と、新版のプログラムの仕様書の生成に際し、前記差
分情報を該仕様書に付加する手段とを設けたプログラム
仕様書生成装置である。
According to the invention, the above-mentioned objects are achieved by the means set out in the appended claims. That is, the present invention is an apparatus that automatically generates a specification for a program from a program, and after generating a specification for a new version of the program, the specification and an old version of the program corresponding to the program are generated. means for extracting difference information from the specifications of the above-described means, means for storing the difference information extracted by the means in a hypertext format, and adding the difference information to the specifications when a new version of the program specifications is generated. This is a program specification generation device provided with means.

【0006】[0006]

【作用】図1は本発明の動作原理説明図である。図中数
字符1は旧版のプログラム、2はそれに対応する旧版の
仕様書、3は新版のプログラム、4は仕様書生成部、5
は新版の仕様書、6は差分抽出部、7は差分情報(この
差分情報には、自動生成されていた部分の変更の情報と
旧版の仕様書に追加された注釈が含まれている。)、8
は差分埋め込み部(この差分埋め込み部8は差分情報7
を新版の仕様書5にハイパーテキスト化して追加する。 )、9はその結果の仕様書、10はハイパーテキスト管
理部を表わしている。
[Operation] FIG. 1 is an explanatory diagram of the operating principle of the present invention. In the figure, the number 1 is the old version of the program, 2 is the corresponding old version of the specification, 3 is the new version of the program, 4 is the specification generator, 5
is the new version of the specification, 6 is the difference extraction part, and 7 is the difference information (this difference information includes information on changes to automatically generated parts and notes added to the old version of the specification.) , 8
is the difference embedding part (this difference embedding part 8 is the difference information 7
will be converted into hypertext and added to the new version of Specification 5. ), 9 represents the resulting specification, and 10 represents a hypertext management section.

【0007】本発明では、図1に示すように、仕様書生
成部4は新版のプログラム3から仕様書5を生成する。 差分抽出部6では、まず古い仕様書2にハイパーテキス
ト形式で付加されている注釈をその位置とともに取り出
し、差分情報7に入れる。次に新しく生成された仕様書
5と注釈を取り除いた古い仕様書2とを比較して、その
相違を差分情報7に追加する。次に、差分埋め込み部8
は、差分情報に含まれる位置情報を元に仕様書5に旧版
の注釈と相違点をハイパーテキストのリンクをつなぐ形
で埋め込む。10のハイパーテキスト管理部では、その
ようにして埋め込まれた差分情報の表示を行なう。また
、ハイパーテキスト管理部10では、ユーザが注釈を埋
め込み、編集する機能も提供する。
In the present invention, as shown in FIG. 1, the specification generation unit 4 generates the specification 5 from the new version of the program 3. The difference extraction unit 6 first extracts the annotations added to the old specification 2 in hypertext format along with their positions, and stores them in the difference information 7. Next, the newly generated specification 5 is compared with the old specification 2 from which the annotations have been removed, and the difference is added to the difference information 7. Next, the difference embedding section 8
embeds the annotations and differences of the previous version in the specification 5 in the form of connecting hypertext links based on the position information included in the difference information. The hypertext management section 10 displays the difference information embedded in this way. The hypertext management unit 10 also provides a function for the user to embed and edit annotations.

【0008】[0008]

【実施例】図2は本発明の一実施例の系の構成を示すブ
ロック図であって、11はCPU、12はメモリ、13
はチャネル装置、14は入出力制御装置、15−1〜1
5−nは磁気ディスク装置、16は印刷装置、17は入
力装置、18は表示装置を表わしている。図1において
示した旧版プログラム1、旧版仕様書2、新版プログラ
ム4、新版仕様書5、差分情報7、仕様書9等は、図2
における磁気ディスク装置15−1〜15−nのいずれ
かに収納され、必要に応じてメモリ12に読み出され処
理される。
[Embodiment] FIG. 2 is a block diagram showing the configuration of a system according to an embodiment of the present invention, in which 11 is a CPU, 12 is a memory, and 13 is a CPU.
is a channel device, 14 is an input/output control device, 15-1 to 1
5-n represents a magnetic disk device, 16 a printing device, 17 an input device, and 18 a display device. The old version program 1, old version specification 2, new version program 4, new version specification 5, difference information 7, specification 9, etc. shown in Fig. 1 are shown in Fig. 2.
The data is stored in any one of the magnetic disk drives 15-1 to 15-n, and is read out to the memory 12 and processed as needed.

【0009】また、仕様書生成部3、差分抽出部6、差
分埋め込み部8、ハイパーテキスト管理部10等プログ
ラムによる制御から成るもので、該プログラムは、図2
の磁気ディスク装置15−1〜15−nのいずれかに格
納されていて、入力装置17と表示装置18を用いて利
用者が指示したとき、メモリ12上に展開され、これを
CPU11が実行することによって動作する。
[0009] Also, it consists of a specification generation section 3, a difference extraction section 6, a difference embedding section 8, a hypertext management section 10, etc., which are controlled by a program, which is shown in FIG.
is stored in one of the magnetic disk devices 15-1 to 15-n, and when the user gives an instruction using the input device 17 and display device 18, it is developed on the memory 12 and executed by the CPU 11. It works by:

【0010】以下具体的な例に基づいて、本実施例の動
作について説明する。図3は、旧版(バージョン1)の
入力プログラムを示す図である(言語はCOBOLを用
いている)。このプログラムから仕様書が自動生成され
、それにユーザがコメントを加えて、その仕様書が、図
4に示すようになっていたとする。同図において*印を
付したコメント(例えば*入力なしエラー、*コードエ
ラーなど)は仕様書生成後ユーザが付加したものである
The operation of this embodiment will be explained below based on a specific example. FIG. 3 is a diagram showing an old version (version 1) of the input program (COBOL is used as the language). Assume that a specification sheet is automatically generated from this program, and the user adds comments to it, so that the specification sheet becomes as shown in FIG. 4. In the figure, comments marked with * (for example, *no input error, *code error, etc.) are added by the user after the specification is generated.

【0011】これらは、実際にはハイパーテキストで管
理されており、そのハイパーテキストによる表示は図5
(a)に示すようになる。すなわち、ディスプレイ19
上の表示は、同図に反転表示20として示すように「1
の時  処理(1001)」を選択してコメント表示コ
マンドを実行するとマルチウインドウ21内に「入力な
しエラー」が表示される。これは先の図4中で英字符A
で示した部分に対応している。
[0011] These are actually managed by hypertext, and the hypertext display is shown in FIG.
The result is as shown in (a). That is, the display 19
The above display is "1" as shown as the reverse display 20 in the same figure.
When you select "Process (1001)" and execute the comment display command, "No input error" is displayed in the multi-window 21. This is the letter A in Figure 4 above.
It corresponds to the part shown.

【0012】そして、このときのハイパーテキストの内
部表現は図5(b)に示すようになっている。すなわち
、同図において、22は仕様書ファイルを、また、23
は注釈ファイルを示している。
[0012]The internal representation of the hypertext at this time is as shown in FIG. 5(b). That is, in the same figure, 22 is the specification file, and 23 is the specification file.
indicates an annotation file.

【0013】先に図3で示したプログラムが図6に示す
ように新版の入力プログラム(バージョン2)として変
更された場合について説明する。図6に示すプログラム
から、自動生成した仕様書は図7で示すようになる。図
7に示す新版(バージョン2)のプログラムの仕様書と
、図4に示した旧版(バージョン1)のプログラムの仕
様書についての差分情報(図1の差分抽出部6で抽出さ
れる)は図8のようになる。
The case where the program shown in FIG. 3 is changed as a new version input program (version 2) as shown in FIG. 6 will be described. The specifications automatically generated from the program shown in FIG. 6 are as shown in FIG. Difference information (extracted by the difference extraction unit 6 in FIG. 1) between the new version (version 2) program specifications shown in FIG. 7 and the old version (version 1) program specifications shown in FIG. It will look like 8.

【0014】同図に見られるように、ここでの差分情報
は、旧版のプログラムの仕様書に存在した注釈(コメン
ト)が、コメント部として英字符Bで示すように、また
旧版のプログラムの仕様書と新版のプログラムの仕様書
を行単位で比較して、その相違点が相違部として英字符
Cで示すように、行の追加、削除、変更等に分けて抽出
される(これらの情報は図1の差分情報7に相当する)
As can be seen in the same figure, the difference information here includes comments that existed in the specifications of the old version of the program, as shown in the comment part by the alphabetic character B, and the specifications of the old version of the program. The new version of the program specifications are compared line by line, and the differences are extracted by adding, deleting, changing lines, etc., as indicated by the letter C. (This information is (corresponds to difference information 7 in Figure 1)
.

【0015】図1の差分埋め込み部8では、上述した差
分情報を、先に図7で示した新版の入力プログラムから
生成した仕様書に付加する。その結果図9に示すような
仕様書が生成される。同図において*印の付加されたコ
メントは注釈であり、これは実際にはハイパーテキスト
で管理されている。
The difference embedding unit 8 in FIG. 1 adds the above-mentioned difference information to the specification generated from the new version of the input program shown in FIG. As a result, a specification sheet as shown in FIG. 9 is generated. In the figure, comments marked with * are annotations, which are actually managed by hypertext.

【0016】すなわち、このときのハイパーテキストに
よる表示は、図10(a)に示すようにディスプレイ2
4上の表示文字「OTHER  処理1(1002)」
を選択してコメント表示コマンドを実行することにより
、「OTHER  処理1(1002)」が数字符25
で示すように反転表示され、マルチウインドウ26内に
コメントが表示される。また、このときのハイパーテキ
ストの内部表現は仕様書ファイルでは数字符27で示す
ように、また注釈ファイルでは数字符28で示すように
なっている。
That is, the hypertext display at this time is displayed on the display 2 as shown in FIG. 10(a).
The characters displayed above 4 “OTHER processing 1 (1002)”
By selecting and executing the comment display command, "OTHER process 1 (1002)" will be changed to number 25.
The comment is displayed in reverse video as shown in the multi-window 26. Further, the internal representation of the hypertext at this time is shown by the number 27 in the specification file, and by the number 28 in the annotation file.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
プログラムから自動生成される仕様書に旧版と異なる箇
所の情報を自動的に付け加えることができるのでプログ
ラム保守上の利便性が増し、また、ユーザが入力した注
釈等を引き継ぐことができるから、より質の高い仕様書
を生成できる利点がある。
[Effects of the Invention] As explained above, according to the present invention,
It is possible to automatically add information on parts that differ from the previous version to the specifications automatically generated from the program, increasing convenience in program maintenance. Also, since annotations entered by the user can be carried over, quality is improved. It has the advantage of being able to generate high specification documents.

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

【図1】本発明の動作原理図である。FIG. 1 is a diagram showing the principle of operation of the present invention.

【図2】本発明の一実施例の系の構成を示すブロック図
である。
FIG. 2 is a block diagram showing the configuration of a system according to an embodiment of the present invention.

【図3】旧版の入力プログラムを示す図である。FIG. 3 is a diagram showing an old version of the input program.

【図4】旧版の入力プログラムの仕様書を示す図である
FIG. 4 is a diagram showing the specifications of an old version of the input program.

【図5】ハイパーテキストの表示について説明する図で
ある。
FIG. 5 is a diagram illustrating display of hypertext.

【図6】新版の入力プログラムを示す図である。FIG. 6 is a diagram showing a new version of the input program.

【図7】新版の入力プログラムを示す図である。FIG. 7 is a diagram showing a new version of the input program.

【図8】差分情報を示す図である。FIG. 8 is a diagram showing difference information.

【図9】差分情報を埋め込んだ仕様書を示す図である。FIG. 9 is a diagram showing a specification document in which difference information is embedded.

【図10】ハイパーテキストの表示について説明する図
である。
FIG. 10 is a diagram illustrating display of hypertext.

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

1    旧版プログラム 2    旧版仕様書 3    仕様書生成部 4    新版プログラム 5    新版仕様書 6    差分抽出部 7    差分情報 8    差分埋め込み部 9    仕様書 10    ハイパーテキスト管理部 11    CPU 12    メモリ 13    チャネル装置 14    入出力制御装置 15−1〜15−n    磁気ディスク装置16  
  印刷装置 17    入力装置 18,19,24    表示装置 20,25    反転表示 21,26    マルチウインドウ 22,27    仕様書ファイル 23,28    注釈ファイル
1 Old version program 2 Old version specification 3 Specification generation section 4 New version program 5 New version specification 6 Difference extraction section 7 Difference information 8 Difference embedding section 9 Specification 10 Hypertext management section 11 CPU 12 Memory 13 Channel device 14 Input/output control device 15-1 to 15-n magnetic disk device 16
Printing device 17 Input device 18, 19, 24 Display device 20, 25 Reverse display 21, 26 Multi-window 22, 27 Specification file 23, 28 Comment file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  プログラムから該プログラムの仕様書
を自動的に生成する装置であって、新版のプログラムに
ついて該プログラムの仕様書を生成した後、該仕様書と
上記プログラムに対応する旧版のプログラムの仕様書と
の差分情報を抽出する手段と、上記手段により抽出した
差分情報をハイパーテキスト方式で保存する手段と、新
版のプログラムの仕様書の生成に際し、前記差分情報を
該仕様書に付加する手段とを設けたことを特徴とするプ
ログラム仕様書生成装置。
Claim 1: A device that automatically generates a specification for a program from a program, which after generating a specification for a new version of the program, generates a specification between the specification and an old version of the program corresponding to the program. means for extracting difference information from the specifications; means for storing the difference information extracted by the means in a hypertext format; and means for adding the difference information to the specifications when generating a new version of the program specifications. A program specification generation device characterized by comprising:
JP2413861A 1990-12-20 1990-12-20 Prograom specification generation device Withdrawn JPH04220721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2413861A JPH04220721A (en) 1990-12-20 1990-12-20 Prograom specification generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2413861A JPH04220721A (en) 1990-12-20 1990-12-20 Prograom specification generation device

Publications (1)

Publication Number Publication Date
JPH04220721A true JPH04220721A (en) 1992-08-11

Family

ID=18522416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2413861A Withdrawn JPH04220721A (en) 1990-12-20 1990-12-20 Prograom specification generation device

Country Status (1)

Country Link
JP (1) JPH04220721A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744432A (en) * 1993-07-26 1995-02-14 Nec Corp Version management system
JP2018173822A (en) * 2017-03-31 2018-11-08 株式会社Screenホールディングス Managing device, model version managing method and managing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744432A (en) * 1993-07-26 1995-02-14 Nec Corp Version management system
JP2018173822A (en) * 2017-03-31 2018-11-08 株式会社Screenホールディングス Managing device, model version managing method and managing program

Similar Documents

Publication Publication Date Title
JP3798014B2 (en) Balloon help system
Grosskurth et al. Architecture and evolution of the modern web browser
JP3793226B2 (en) Atomic command system
CN105528418B (en) A kind of design documentation generation method and device
JP3808020B2 (en) Web server having Java servlet function, Java program update method, and computer program
JP4007562B2 (en) Programming support method and apparatus
US20040041818A1 (en) Design system for website text graphics
JP2008146664A (en) Menu item display method and device
JP2008181541A (en) Method and device for providing object-oriented application interface in computer system
JP7055064B2 (en) Database migration support system and program
US20070157087A1 (en) Method and system for automatically generating user interfaces for integration
JPH04220721A (en) Prograom specification generation device
KR100261265B1 (en) Apparatus for making a web document and method of operating it
CN107491466A (en) client device, information processing system and information processing method
JP2003241964A (en) Software maintenance data generation device and generation program
JP3598594B2 (en) Document processing apparatus and document processing method
EP4261678A1 (en) Generation of a technical instruction
WO2023248307A1 (en) Operation support system, operation support method, and operation support program
US20220413688A1 (en) Seamless Content Presentation
JP2619487B2 (en) File operation method
JP2008225883A (en) Data processor and program for the same
JP4452867B2 (en) Form creation method and apparatus, and recording medium
JP4945378B2 (en) Web application session management processing design / implementation support system
JP2012118812A (en) Information processing apparatus, control method and program
JPH10269068A (en) Software development method for automatically generating graphical document

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980312