JPH03172929A - Automatic patch number picking system - Google Patents

Automatic patch number picking system

Info

Publication number
JPH03172929A
JPH03172929A JP1312468A JP31246889A JPH03172929A JP H03172929 A JPH03172929 A JP H03172929A JP 1312468 A JP1312468 A JP 1312468A JP 31246889 A JP31246889 A JP 31246889A JP H03172929 A JPH03172929 A JP H03172929A
Authority
JP
Japan
Prior art keywords
patch
file
function
language file
patch number
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
JP1312468A
Other languages
Japanese (ja)
Inventor
Etsuko Kanayama
金山 悦子
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1312468A priority Critical patent/JPH03172929A/en
Publication of JPH03172929A publication Critical patent/JPH03172929A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent the double registration of a patch number by providing a function which reads in a patch assembler language file for the purpose of partially correcting a program, a project name retrieving function, and a patch machine language output function. CONSTITUTION:A patching worker reads-in a patch assembler language file 2 for the purpose of partially correcting the program by patching. Project names described in the patch assembler language file 2 are retrieved in a patch number management file 3 for the purpose of deciding whether the patching object is a new project or not, and the result is held. When it is a new project, the patch number is registered in a patch number recording area, and the contents of the patch are rewritten with a machine language and are outputted as a patch machine language file 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパッチ番号自動採番方式に関し、特に新規に作
成するパッチの登録番号を自動的に検索し採番し登録処
理を行うパッチ番号自動採番方式〔従来の技術〕 従来のパッチ番号の採番方式は、自動では行われず、机
上に設けられたパッチ台帳を、パッチ作成者が各自で検
索して採番し登録するという手作業処理により行われて
いた。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an automatic patch numbering method, and in particular to an automatic patch numbering system that automatically searches for and assigns a registration number for a newly created patch and performs registration processing. Numbering method [Conventional technology] The conventional patch numbering method is not automatic; it is a manual process in which each patch creator searches a patch ledger on a desk, assigns numbers, and registers them. It was carried out by

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のパッチ番号採番方式は、机上に設けられ
たパッチ台帳を、パッチ作成者が各自で検索して採番し
登録するという手作業処理により行われているので、パ
ッチ作成者に負担が掛かり、又、万が−、パッチ作成者
が登録を忘れるようなことがあると、パッチ番号の二重
使用が発生し、以後のパッチ管理が正しく行われなくな
る恐れがあるという問題点がある。
The conventional patch numbering method described above is a manual process in which each patch creator searches, assigns, and registers a patch ledger on their desk, which places a burden on the patch creator. In addition, if the patch creator forgets to register, there is a problem that the patch number may be used twice and subsequent patch management may not be performed correctly. .

本発明の目的は、パッチアッセンブラ言語ファイルを読
込むとプロジェクト名ごとにパッチ番号管理ファイルを
検索し、登録されている最新のパッチ番号の次の番号を
新たに採番し登録することにより、パッチ作成者に負担
を掛けずにパッチ番号の二重使用を防止できるパッチ番
号自動採番方式を提供することにある。
The purpose of the present invention is to create a patch by reading a patch assembler language file, searching the patch number management file for each project name, and assigning and registering a new number after the latest registered patch number. To provide an automatic patch number numbering system capable of preventing duplicate use of patch numbers without placing a burden on a person.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のパッチ番号自動採番方式は、パッチによるプロ
グラムの一部修正を行うために作成したパッチアッセン
ブラ言語ファイルを読込むファイル読込み機能と、前記
パッチごとに付されたパッチ番号を管理するために設け
られたパッチ番号管理ファイルを前記パッチアッセンブ
ラ言語ファイル内に記述してあるプロジェクト名を索引
として検索する検索機能と、前記検索機能で検索し前記
プロジェクト名で登録されている最新のパッチ番号の次
の番号を新たに採番し前記パッチ番号管理ファイルに登
録する登録書込み機能と、前記パッチアッセンブラ言語
ファイルの内容に従って前記新たに採番したパッチ番号
のパッチの内容を機械語に書換えパッチ機械語ファイル
として出力するパッチ機械語ファイル出力機能とを備え
る構成である。
The patch number automatic numbering system of the present invention has a file reading function that reads a patch assembler language file created to partially modify a program using a patch, and a file reading function that reads a patch assembly language file created to partially modify a program using a patch, and a function that manages patch numbers assigned to each patch. A search function that searches the provided patch number management file using the project name described in the patch assembler language file as an index, and a search function that searches with the search function to find the next patch number registered with the project name. a registration write function that assigns a new number and registers it in the patch number management file; and a patch machine language file that rewrites the contents of the patch with the newly assigned patch number into machine language according to the contents of the patch assembler language file. This configuration also includes a patch machine language file output function to output as a patch machine language file.

前記登録書込み機能は前記検索機能で前記パッチ番号管
理ファイルを検索した結果索引としたプロジェクト名で
はパッチ番号が検出されない場合には前記索引としたプ
ロジェクト名と最初に採番するパッチ番号とを新たに前
記パッチ番号管理ファイルに登録する新規プロジェクト
採番機能を含んでもよい。
The registration write function searches the patch number management file using the search function, and if a patch number is not detected in the indexed project name, the indexed project name and the first patch number to be assigned are newly updated. It may also include a new project numbering function to be registered in the patch number management file.

前記ファイル読込み機能で先に作成したパッチアッセン
ブラ言語ファイルの修正を行うために新たに作成し該当
するプロジェクト名と修正を行うパッチのパッチ番号と
を記述してあるパッチアッセンブラ言語ファイルを読込
み、前記検索機能で前記該当するプロジェクト名と修正
を行うパッチのパッチ番号とを索引として前記パッチ番
号管理ファイルを検索し、該当するパッチ番号を検出し
た場合に該当するパッチの修正が可であれば前記パッチ
機械語ファイル出力機能で前記該当するプロジェクト名
と修正を行うパッチのパッチ番号とを記述してあるパッ
チアッセンブラ言語ファイルの内容に従って該当のパッ
チ番号のパッチの内容を機械語に書換えパッチ機械語フ
ァイルとして出力してもよい。
In order to modify the patch assembler language file created earlier using the file reading function, a newly created patch assembler language file containing the name of the relevant project and the patch number of the patch to be modified is loaded, and the search is performed as described above. The function searches the patch number management file using the applicable project name and the patch number of the patch to be modified as an index, and if the applicable patch number is detected and the applicable patch can be modified, the patch machine Using the language file output function, rewrite the contents of the patch with the corresponding patch number into machine language and output it as a patch machine language file according to the contents of the patch assembler language file that describes the corresponding project name and the patch number of the patch to be modified. You may.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

パッチアセンブラ処理プログラム1は、パッチによるプ
ログラムの一部修正を行うためにパッチ作成者が作成し
たパッチアッセンブラ言語ファイル2を読込むファイル
読込み機能と、作成したパッチごとに付されたパッチ番
号を管理するために設けられたパッチ番号管理ファイル
3をパッチアッセンブラ言語ファイル2内に記述してあ
るプロジェクト名を索引として検索する検索機能と、こ
の検索機能で検索したプロジェクト名で登録されている
最新のパッチ番号の次の番号を新たに採番しパッチ番号
管理ファイル3に登録する登録書込み機能と、パッチア
ッセンブラ言語ファイル2の内容に従って前述の新たに
採番したバ・ソチ番号のパッチの内容を機械語に書換え
パッチ機械語ファイル4として出力するパッチ機械語フ
ァイル出力機能とを備えている。
The patch assembler processing program 1 has a file reading function that reads a patch assembler language file 2 created by a patch creator in order to partially modify a program using a patch, and manages patch numbers assigned to each created patch. A search function that searches the patch number management file 3 provided for this purpose using the project name described in the patch assembler language file 2 as an index, and the latest patch number registered with the project name searched with this search function. A registration write function that assigns a new number next to and registers it in the patch number management file 3, and converts the content of the patch with the newly assigned Bas/Sochi number into machine language according to the contents of the patch assembler language file 2. It also has a patch machine language file output function that outputs a rewritten patch machine language file 4.

次に、動作について説明する。Next, the operation will be explained.

第2図はパッチアセンブラ処理プログラムの流れ図であ
る。
FIG. 2 is a flowchart of the patch assembler processing program.

パッチによるプログラムの一部修正を行うため、ステッ
プ(以下Sと記す)11でパッチ作成者は、作成したパ
ッチアッセンブラ言語ファイル2を読込む0次にSi2
でこのパッチが新規10ジエクトに対するものであるか
否かを判定するため、パッチ番号管理ファイル3をパッ
チアッセンブラ言語ファイル2内に記述してあるプロジ
ェクト名を索引として検索し読出した結果を保持してお
く。
In order to partially modify a program using a patch, in step (hereinafter referred to as S) 11, the patch creator reads the created patch assembler language file 2 and uses the 0-order Si2
In order to determine whether this patch is for the new 10 projects, search the patch number management file 3 using the project name described in the patch assembler language file 2 as an index, and retain the read result. put.

この検索の結果、入力したプロジェクト名を検出できな
かった場合は、新規プロジェクトであると判定し、S1
3で新規にプロジェクト名をパッチ番号管理ファイル3
内に登録し、S14でパッチアッセンブラ言語ファイル
2内にパッチ番号が記述してあるか否かを判定する。新
規プロジェクトであれば当然パッチ番号の記述はないの
で、S15で最初のパッチ番号を採番し、このパッチ番
号をパッチアッセンブラ言語ファイル2内の新規に登録
したプロジェクト名のパッチ番号記憶エリアに登録する
。以後S16でパッチアッセンブラ言語ファイル2の内
容に従って前述の新たに採番したパッチ番号のパッチの
内容を機械語に書換え、S17でパッチ機械語ファイル
4として出力する。
As a result of this search, if the input project name cannot be detected, it is determined that it is a new project and S1
3. Create a new project name in the patch number management file 3.
In step S14, it is determined whether the patch number is written in the patch assembler language file 2. Naturally, if it is a new project, there is no description of the patch number, so in S15 the first patch number is assigned and this patch number is registered in the patch number storage area of the newly registered project name in the patch assembler language file 2. . Thereafter, in S16, the content of the patch with the newly assigned patch number is rewritten into machine language according to the content of patch assembler language file 2, and in S17, it is output as patch machine language file 4.

Si2でこのパッチが新規プロジェクトに対するもので
ないと判定した場合は、即S14に飛びパッチアッセン
ブラ言語ファイル2内にパッチ番号が記述してあるか否
かを判定する。この判定結果がパッチ番号の記述なしで
あれば、新規のパッチであるので、S15で該当のプロ
ジェクト名で登録されている先にS12で読出して保持
しているデータから最新のパッチ番号を知り1次の番号
を新たに採番しパッチ番号管理ファイル3に登録する。
If it is determined in Si2 that this patch is not for a new project, the program immediately jumps to S14 and determines whether a patch number is written in the patch assembler language file 2. If the result of this judgment is that there is no description of the patch number, it is a new patch, so in S15, the latest patch number is found from the data registered with the corresponding project name and previously read and held in S12. The next number is newly assigned and registered in the patch number management file 3.

以下前述の説明と同様に316で新たに採番したパッチ
番号のパッチの内容を機械語に書換え、S17でパッチ
機械語ファイル4として出力する。
Thereafter, in the same manner as described above, the contents of the patch with the newly assigned patch number are rewritten into machine language in step 316, and output as patch machine language file 4 in step S17.

S14で判定結果がパッチ番号の記述ありであれば、先
に採番して登録済のパッチの修正であると判断されるの
で、S18で図示されていない表示装置に登録済のパッ
チの修正であることを表示し、この修正の実行の可否を
問い、実行否であればそのまま終了し、実行可であれば
前述の説明と同様に316でパッチアッセンブラ言語フ
ァイル2の内容に従って修正の実行を認められたパッチ
番号のパッチの内容を機械語に書換え、S17でパッチ
機械語ファイル4として出力する。
If the determination result in S14 is that there is a description of the patch number, it is determined that this is a modification of a patch that has been numbered and registered first, and therefore, in S18, it is determined that the modification is a modification of a patch that has been registered on a display device (not shown). It displays that there is a modification, asks whether it is possible to execute this modification, and if it is not executed, ends the process, and if it is possible to execute it, it is approved at 316 to execute the modification according to the contents of the patch assembler language file 2, as described above. The content of the patch corresponding to the patch number is rewritten into machine language and output as a patch machine language file 4 in S17.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、パッチアッセンブラ言
語ファイルを読込むとプロジェクト名ごとにパッチ番号
管理ファイルを検索し、登録されている最新のパッチ番
号の次の番号を新たに採番し登録することにより、パッ
チ作成者に負担を掛けずにパッチ番号の二重使用を防止
できる効果が有る。
As explained above, in the present invention, when a patch assembler language file is read, a patch number management file is searched for each project name, and a new number next to the latest registered patch number is assigned and registered. This has the effect of preventing duplicate use of patch numbers without placing a burden on the patch creator.

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

第1図は本発明の一実施例のブロック図、第2図はパッ
チアセンブラ処理プログラムの流れ図である。 1・・・・・・パッチアセンブラ処理プログラム、2・
・・・・・パッチアッセンブラ言語ファイル、3・・・
・・・パッチ番号管理ファイル、4・・・・・・パッチ
機械語ファイル。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart of a patch assembler processing program. 1...Patch assembler processing program, 2.
...Patch assembler language file, 3...
... Patch number management file, 4... Patch machine language file.

Claims (1)

【特許請求の範囲】 1、パッチによるプログラムの一部修正を行うために作
成したパッチアッセンブラ言語ファイルを読込むファイ
ル読込み機能と、前記パッチごとに付されたパッチ番号
を管理するために設けられたパッチ番号管理ファイルを
前記パッチアッセンブラ言語ファイル内に記述してある
プロジェクト名を索引として検索する検索機能と、前記
検索機能で検索し前記プロジェクト名で登録されている
最新のパッチ番号の次の番号を新たに採番し前記パッチ
番号管理ファイルに登録する登録書込み機能と、前記パ
ッチアッセンブラ言語ファイルの内容に従って前記新た
に採番したパッチ番号のパッチの内容を機械語に書換え
パッチ機械語ファイルとして出力するパッチ機械語ファ
イル出力機能とを備えることを特徴とするパッチ番号自
動採番方式。 2、前記登録書込み機能は前記検索機能で前記パッチ番
号管理ファイルを検索した結果索引としたプロジェクト
名ではパッチ番号が検出されない場合には前記索引とし
たプロジェクト名と最初に採番するパッチ番号とを新た
に前記パッチ番号管理ファイルに登録する新規プロジェ
クト採番機能を含むことを特徴とする請求項1記載のパ
ッチ番号自動採番方式。 3、前記ファイル読込み機能で先に作成したパッチアッ
センブラ言語ファイルの修正を行うために新たに作成し
該当するプロジェクト名と修正を行うパッチのパッチ番
号とを記述してあるパッチアッセンブラ言語ファイルを
読込み、前記検索機能で前記該当するプロジェクト名と
修正を行うパッチのパッチ番号とを索引として前記パッ
チ番号管理ファイルを検索し、該当するパッチ番号を検
出した場合に該当するパッチの修正が可であれば前記パ
ッチ機械語ファイル出力機能で前記該当するプロジェク
ト名と修正を行うパッチのパッチ番号とを記述してある
パッチアッセンブラ言語ファイルの内容に従って該当の
パッチ番号のパッチの内容を機械語に書換えパッチ機械
語ファイルとして出力することを特徴とする請求項1ま
たは請求項2記載のパッチ番号自動採番方式。
[Claims] 1. A file reading function for reading a patch assembler language file created for partially modifying a program using a patch, and a file reading function provided for managing patch numbers assigned to each patch. A search function that searches the patch number management file using the project name described in the patch assembler language file as an index, and a search function that searches the patch number management file using the search function to find the number next to the latest patch number registered with the project name. A registration write function that assigns a new number and registers it in the patch number management file, and rewrites the contents of the patch with the newly assigned patch number into machine language according to the contents of the patch assembler language file and outputs it as a patch machine language file. An automatic patch numbering method characterized by having a patch machine language file output function. 2. The registration write function searches the patch number management file using the search function, and if a patch number is not detected in the indexed project name, the indexed project name and the patch number to be assigned first are used. 2. The patch number automatic numbering method according to claim 1, further comprising a new project numbering function for newly registering in said patch number management file. 3. In order to modify the patch assembler language file created earlier using the file loading function, load a newly created patch assembler language file that describes the name of the relevant project and the patch number of the patch to be modified. The search function searches the patch number management file using the corresponding project name and the patch number of the patch to be modified as an index, and if the corresponding patch number is detected and the corresponding patch can be modified, the above The patch machine language file output function rewrites the contents of the patch with the corresponding patch number into machine language according to the contents of the patch assembler language file that describes the corresponding project name and the patch number of the patch to be modified. 3. The automatic patch numbering system according to claim 1, wherein the automatic patch numbering method is outputted as .
JP1312468A 1989-12-01 1989-12-01 Automatic patch number picking system Pending JPH03172929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1312468A JPH03172929A (en) 1989-12-01 1989-12-01 Automatic patch number picking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1312468A JPH03172929A (en) 1989-12-01 1989-12-01 Automatic patch number picking system

Publications (1)

Publication Number Publication Date
JPH03172929A true JPH03172929A (en) 1991-07-26

Family

ID=18029565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1312468A Pending JPH03172929A (en) 1989-12-01 1989-12-01 Automatic patch number picking system

Country Status (1)

Country Link
JP (1) JPH03172929A (en)

Similar Documents

Publication Publication Date Title
JPH03172929A (en) Automatic patch number picking system
JP4001392B2 (en) Structured document processing device
JPH05151056A (en) Data controller
JP2740238B2 (en) File exclusive control unit
JPS6398029A (en) Application system for automatic patch selection
JPH11120054A (en) Device and method for managing electronic document, and recording medium recorded with electronic document managing program
JPH067400Y2 (en) File search device
JPH0744426A (en) File system file management method
JPS63115234A (en) Automatic program patching system
JP2785966B2 (en) Foreign key dynamic resolution processing method
JPH06203045A (en) Paten managing system
JPH05342074A (en) Information storage device
JPH05120340A (en) Routing address managing method
JPH0447367A (en) Data base retrieval system
JPH09330217A (en) Function expanding method for standard program
JPH02213956A (en) File control system
JPH044428A (en) System for improving redundant execution of patch
JPH03189744A (en) Data base control system
JPH05241814A (en) Patch management device
JPH05342072A (en) Generation managing method for file
JPH0561751A (en) Journal acquisition method
JPH02115936A (en) Object program managing system
JPH03255533A (en) Symbol managing system in programming language processing system
JPH01216423A (en) Record retrieval system
JPH0695941A (en) Method for managing document