JP2655549B2 - Text generation management processor - Google Patents

Text generation management processor

Info

Publication number
JP2655549B2
JP2655549B2 JP3152094A JP15209491A JP2655549B2 JP 2655549 B2 JP2655549 B2 JP 2655549B2 JP 3152094 A JP3152094 A JP 3152094A JP 15209491 A JP15209491 A JP 15209491A JP 2655549 B2 JP2655549 B2 JP 2655549B2
Authority
JP
Japan
Prior art keywords
generation
text
information
generation management
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.)
Expired - Fee Related
Application number
JP3152094A
Other languages
Japanese (ja)
Other versions
JPH05143414A (en
Inventor
和男 小川
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 FIP Corp
Original Assignee
Fujitsu FIP 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 Fujitsu FIP Corp filed Critical Fujitsu FIP Corp
Priority to JP3152094A priority Critical patent/JP2655549B2/en
Publication of JPH05143414A publication Critical patent/JPH05143414A/en
Application granted granted Critical
Publication of JP2655549B2 publication Critical patent/JP2655549B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機におけるプログ
ラムのテキストの更新履歴を示す世代を管理するため
の、テキストの世代管理処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text generation management apparatus for managing a generation indicating an update history of a program text in a computer.

【0002】計算機のプログラムシステムが大きくな
り、又プログラムの部品化、再利用等が進められると、
プログラムの開発、保守過程における、プログラムの更
新履歴を管理するいわゆる世代管理が確実に行われるこ
とが特に必要になる。
[0002] As computer program systems have become larger and program parts have been developed and reused,
It is particularly necessary that the so-called generation management for managing the update history of the program in the course of developing and maintaining the program be performed reliably.

【0003】又、世代管理がプログラムの実状を反映す
るように確実に行われていれば、その世代管理情報から
プログラム開発プロジェクトの状況を把握することが可
能になる。
If the generation management is performed reliably so as to reflect the actual state of the program, it is possible to grasp the status of the program development project from the generation management information.

【0004】[0004]

【従来の技術と発明が解決しようとする課題】図3は世
代管理ファイルに生成される、世代管理情報の一例を示
す図であり、世代情報と更新管理情報からなる。
2. Description of the Related Art FIG. 3 is a diagram showing an example of generation management information generated in a generation management file, which is composed of generation information and update management information.

【0005】世代情報は例えば図のように、最新世代の
情報を先頭にして初期世代までの世代情報が保存され、
各世代情報は世代番号と更新記録からなり、世代番号は
世代を表す連続番号であり、更新記録には当世代でのテ
キストの更新量(例えばテキスト行数)や更新の日付等
の情報を記録する。
[0005] As shown in the figure, for example, generation information is stored from the latest generation information to the initial generation.
Each generation information is composed of a generation number and an update record. The generation number is a serial number indicating the generation, and the update record records information such as a text update amount (for example, the number of text lines) and an update date in the current generation. I do.

【0006】更新管理情報は、原始プログラムのテキス
トの更新内容を示す情報であって、削除であれば更新区
分「D」とその削除を実施する世代番号からなる更新情
報と、所定の「更新の終わり」を示す行とで、削除対象
の前世代のテキストの行を挟んで表す。
[0006] The update management information is information indicating the update content of the text of the source program. In the case of deletion, the update information includes an update category "D" and a generation number for performing the deletion. The line indicating “end” is sandwiched between lines of text of the previous generation to be deleted.

【0007】挿入であれば更新区分「I」とその挿入を
実施する世代番号からなる更新情報と、「更新の終わ
り」行とで、挿入するテキストの行を挟んだものを、前
世代テキストの挿入位置に置いて表す。行を新しい内容
に置き換える、置換の場合は削除と挿入を組み合わせて
表す。図には削除対象及び挿入対象の内容行を一括し
て、更新内容行として示してある。
[0007] In the case of insertion, update information consisting of an update category "I" and a generation number at which the insertion is performed, and an "end of update" line sandwiching the line of the text to be inserted are replaced with the previous generation text. Show at the insertion position. Replace a line with new content, in the case of replacement, a combination of deletion and insertion. In the figure, content lines to be deleted and inserted are collectively shown as updated content lines.

【0008】ここで前世代テキストとは、削除及び挿入
を行う部分についての最新世代のテキストであって、変
更が無い部分については初期登録内容のまゝの内容行で
あり、変更があった部分については、その部分の挿入テ
キストの最近の世代の内容行が対象となる。
[0008] Here, the previous generation text is the latest generation text for the part to be deleted and inserted, and the part that has not been changed is the same content line as the initial registration contents, and the part that has been changed. For, the content line of the latest generation of the inserted text in that part is targeted.

【0009】公知のように、原始プログラムのテキスト
の修正は、いわゆるテキスト・エディタを使用して行わ
れる。そこで、前記のような世代管理情報を生成して登
録する処理を、テキスト・エディタによる修正作業と連
動させ、修正作業の終了時に世代管理情報を登録するよ
うにしている。
As is well known, the modification of the text of a source program is performed using a so-called text editor. Therefore, the process of generating and registering the generation management information as described above is linked with the correction work by the text editor, and the generation management information is registered at the end of the correction work.

【0010】しかし、ある一連の修正のための修正作業
を、テキスト・エディタを何回かに分けて使用して進め
ることはしばしばあり、又そのプログラムの実行コード
を生成するためのコード変換において異常が検出される
と、更に修正が必要になるので、テキスト・エディタに
よる修正作業の繰り返しと、プログラムの実質的な更新
とは単純に対応しない。
However, it is often the case that the correction work for a certain series of corrections is carried out by using a text editor in several steps, and that the code conversion for generating the execution code of the program is abnormal. Is detected, further correction is required, so that repetition of the correction operation by the text editor does not simply correspond to substantial updating of the program.

【0011】従って前記のようにして得られる世代管理
情報では、プログラムの実状を確実に反映することがで
きず、ある実行コードに対応する世代のテキストを前記
の世代管理情報から復元することは容易でなく、又世代
管理情報を開発プロジェクト等の管理資料に利用するこ
とも困難である。
Therefore, the generation management information obtained as described above cannot reliably reflect the actual state of the program, and it is easy to restore the text of the generation corresponding to a certain execution code from the generation management information. In addition, it is difficult to use generation management information as management data for development projects and the like.

【0012】本発明は、世代管理情報の登録を、実行コ
ードの生成と連動させることにより、プログラムの実質
的な修正に同期させると共に、コード変換で検出される
異常の有無を、世代管理情報に反映させて正常と異常の
ある世代を識別できるようにした、テキストの世代管理
処理装置を目的とする。
The present invention synchronizes the registration of the generation management information with the generation of the execution code, thereby synchronizing with the substantial correction of the program, and determining whether there is an abnormality detected by the code conversion in the generation management information. It is an object of the present invention to provide a text generation management processing apparatus that can reflect normal and abnormal generations by reflecting them.

【0013】[0013]

【課題を解決するための手段】図1は、本発明の構成を
示すブロック図である。図はテキストの世代管理処理装
置の構成であって、コード変換部1と、世代管理登録部
2とを有する。
FIG. 1 is a block diagram showing the configuration of the present invention. FIG. 1 shows a configuration of a text generation management processing apparatus, which includes a code conversion unit 1 and a generation management registration unit 2.

【0014】コード変換部1は、原始プログラムの所定
のテキスト3の変換処理を実行して、所定の実行コード
4からなるプログラムを生成し、該変換処理で検出する
該テキストの所定の状態に従って、テキスト3が正常か
異常かの区分を示す情報5を世代管理登録部2に通知す
る。
The code conversion unit 1 executes a conversion process of a predetermined text 3 of a source program, generates a program consisting of a predetermined execution code 4, and according to a predetermined state of the text detected in the conversion process. Information 5 indicating whether the text 3 is normal or abnormal is notified to the generation management registration unit 2.

【0015】世代管理登録部2は、コード変換部1から
該区分を示す情報5を受け取って起動し、テキスト3に
ついて所定の世代管理情報6を生成し、世代管理情報5
には、該テキストの区分表示7を該区分に従って生成す
る。
The generation management registration section 2 receives the information 5 indicating the classification from the code conversion section 1 and starts up, generates predetermined generation management information 6 for the text 3, and generates the generation management information 5.
Generates a section display 7 of the text according to the section.

【0016】[0016]

【作用】本発明の世代管理処理装置により、テキストの
コード変換による実行コードの生成と、テキストの世代
の進行とを同期させて、世代管理情報が採られ、且つ世
代管理情報には当世代のテキストが正常か異常かを示す
区分表示が、コード変換の処理結果に基づいて付けられ
る。
With the generation management processing device of the present invention, generation management information is obtained by synchronizing the generation of an execution code by code conversion of a text with the progress of a text generation, and the generation management information is included in the generation management information. A classification display indicating whether the text is normal or abnormal is attached based on the processing result of the code conversion.

【0017】従って、テキストの修正作業のやり方等に
関わらず、実質的なテキストの変更に対応した世代管理
情報が確実に採取される。従って実行コードに対応させ
てテキストの世代を管理することが容易になり、更に世
代管理情報から、区分表示によって例えば正常な変更の
みを有効な世代の更新として取り出す等が可能になるの
で、プログラム開発、保守状況を把握する管理資料とし
て、より有効な利用が可能になる。
Therefore, irrespective of the manner of text correction, the generation management information corresponding to the substantial text change can be reliably collected. Therefore, it is easy to manage the generation of the text corresponding to the execution code, and it is possible to extract, for example, only a normal change as a valid update of the generation from the generation management information by displaying the divisions. Thus, it can be used more effectively as a management material for grasping the maintenance status.

【0018】[0018]

【実施例】図1において、テキスト3は別に従来と同様
のテキスト・エディタによって作成及び修正される原始
プログラムである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 1, a text 3 is a source program separately created and modified by a conventional text editor.

【0019】コード変換部1は、原始プログラムを実行
コードのプログラムに変換するコンパイラの機能を実行
して、テキスト3から実行コード4を生成する。その際
にテキスト3で検出するエラーの有無等に従って、テキ
スト3の正常か異常かを示す区分情報5を生成し、コー
ド変換処理が終わると世代管理登録部2を起動して区分
情報5を渡す。
The code conversion unit 1 executes a function of a compiler for converting a source program into an execution code program, and generates an execution code 4 from the text 3. At this time, according to the presence / absence of an error detected in the text 3, the section information 5 indicating whether the text 3 is normal or abnormal is generated. .

【0020】そこで世代管理登録部2は、テキスト3と
現在の世代管理情報6を参照して、テキスト3の新世代
の世代管理情報6を、従来と同様に生成する。但し本発
明により、区分情報5に基づく区分表示を各世代に対応
して付加する。
Therefore, the generation management registration unit 2 refers to the text 3 and the current generation management information 6 and generates the new generation generation management information 6 of the text 3 in the same manner as in the related art. However, according to the present invention, a section display based on the section information 5 is added corresponding to each generation.

【0021】即ち、世代管理情報6は、例えば従来と同
様に世代情報と更新管理情報からなり、更新管理情報は
例えば図3に示すような従来と同様のデータによって構
成する。
That is, the generation management information 6 is composed of, for example, generation information and update management information as in the conventional case, and the update management information is composed of the same data as in the conventional case as shown in FIG. 3, for example.

【0022】世代情報も、基本的には図3と同様に、最
新世代の情報を先頭にして初期世代までの世代情報が保
存され、各世代の世代情報には従来と同様の世代番号と
更新記録を設けるが、その他に正常/異常区分の欄を設
けて図2のように構成し、この欄には区分情報5に従っ
て、正常の場合には「0」、異常の場合には「1」を区
分表示として記録する。
The generation information is basically the same as in FIG. 3, and the generation information is stored up to the initial generation with the latest generation information at the top. The generation information of each generation is the same as the conventional generation number and update information. A record is provided, and a column of normal / abnormal classification is provided in addition to the configuration shown in FIG. 2. According to the classification information 5, this column is “0” for normal and “1” for abnormal. Is recorded as a divisional display.

【0023】[0023]

【発明の効果】以上の説明から明らかなように本発明に
よれば、計算機プログラムの世代管理において、その世
代の登録をプログラムの実質的な修正に同期させると共
に、コード変換で検出される異常の有無を、世代管理情
報に反映させて正常と異常のある世代を識別できるの
で、実行コードに対応してテキストを管理することが容
易になり、又世代管理情報をプログラム開発、保守の作
業管理に有効に利用できるという著しい工業的効果があ
る。
As is apparent from the above description, according to the present invention, in the generation management of a computer program, the registration of the generation is synchronized with the substantial modification of the program, and the abnormality detected by the code conversion is eliminated. The presence / absence is reflected in the generation management information so that normal and abnormal generations can be identified, making it easier to manage the text in accordance with the execution code, and using the generation management information for program development and maintenance work management. There is a remarkable industrial effect that it can be used effectively.

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

【図1】 本発明の構成を示すブロック図FIG. 1 is a block diagram showing the configuration of the present invention.

【図2】 本発明の世代情報の例を説明する図FIG. 2 is a diagram illustrating an example of generation information according to the present invention.

【図3】 従来の世代管理情報の例を説明する図FIG. 3 illustrates an example of conventional generation management information.

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

1 コード変換部 2 世代管理登録部 3 テキスト 4 実行コード 5 区分情報 6 世代管理情報 7 区分表示 DESCRIPTION OF SYMBOLS 1 Code conversion part 2 Generation management registration part 3 Text 4 Execution code 5 Division information 6 Generation management information 7 Division display

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コード変換部(1)と、世代管理登録部(2)
とを有し、 該コード変換部(1)は、原始プログラムの所定のテキス
ト(3)の変換処理を実行して、所定の実行コード(4)か
らなるプログラムを生成し、該変換処理で検出する該テ
キストの所定の状態に従って、該テキストが正常か異常
かの区分示す情報(5)を該世代管理登録部(2)に通知し、 該世代管理登録部(2)は、該コード変換部(1)から該区
分を示す情報(5)を受け取って起動し、該テキスト(3)に
ついて所定の世代管理情報(6)を生成し、該世代管理情
報には、該テキストの区分表示(7)を該区分に従って生
成するように構成されていることを特徴とするテキスト
の世代管理処理装置。
A code conversion unit (1) and a generation management registration unit (2)
The code conversion unit (1) executes a conversion process of a predetermined text (3) of the source program, generates a program including a predetermined execution code (4), and detects the program by the conversion process. In accordance with a predetermined state of the text, the generation management registration unit (2) is notified of information (5) indicating whether the text is normal or abnormal, and the generation management registration unit (2) Upon receiving the information (5) indicating the classification from (1), the system starts up, generates predetermined generation management information (6) for the text (3), and includes a division display (7 ) According to the classification.
JP3152094A 1991-06-25 1991-06-25 Text generation management processor Expired - Fee Related JP2655549B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3152094A JP2655549B2 (en) 1991-06-25 1991-06-25 Text generation management processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3152094A JP2655549B2 (en) 1991-06-25 1991-06-25 Text generation management processor

Publications (2)

Publication Number Publication Date
JPH05143414A JPH05143414A (en) 1993-06-11
JP2655549B2 true JP2655549B2 (en) 1997-09-24

Family

ID=15532919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3152094A Expired - Fee Related JP2655549B2 (en) 1991-06-25 1991-06-25 Text generation management processor

Country Status (1)

Country Link
JP (1) JP2655549B2 (en)

Also Published As

Publication number Publication date
JPH05143414A (en) 1993-06-11

Similar Documents

Publication Publication Date Title
US6775827B1 (en) Real-time program audit software
JPH06324928A (en) Log generating device, device for arbitrating versions different in file and device for arbitrating version different in computer file being at different places
JP2655549B2 (en) Text generation management processor
JP3937736B2 (en) Document management device
JP3284539B2 (en) Program library management system
JPH04362735A (en) Source program collation system
JP2000293519A (en) Document processor
JP3123400B2 (en) Automatic asset correction history generation system
JP2930008B2 (en) Document revision standardization method and method
JP3016109B2 (en) Program document maintenance device
JP3771753B2 (en) Integrated resource management method
EP0859985B1 (en) Local and zone time data conversion processing for date-dependent information which spans one or two centuries
JP3295930B2 (en) Executing program management method and apparatus, and recording medium
JP2005157967A (en) Equipment management system, method and program therefor
JP2000132380A (en) Version management device/method and medium storing version management program
JP2023160170A (en) Train constitution information extraction apparatus, train constitution information extraction system and train constitution information extraction method
JP3247846B2 (en) Medical practice input device
JP2642015B2 (en) Network configuration information creation device
JPS6220040A (en) File updating system
JPH06139061A (en) Program specification inverse preparing method
JP3667459B2 (en) Power generation system registration control information copying device
JPH08153024A (en) Log data display method
JPS63318646A (en) File artificial updating system in on-line system
JP2003005962A (en) Method for displaying text change history
JPH11161478A (en) Method for generating alteration information on environment element in system environment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090530

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350