JPS63115234A - Automatic program patching system - Google Patents

Automatic program patching system

Info

Publication number
JPS63115234A
JPS63115234A JP61261059A JP26105986A JPS63115234A JP S63115234 A JPS63115234 A JP S63115234A JP 61261059 A JP61261059 A JP 61261059A JP 26105986 A JP26105986 A JP 26105986A JP S63115234 A JPS63115234 A JP S63115234A
Authority
JP
Japan
Prior art keywords
patch
information
program
patch information
storage device
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
JP61261059A
Other languages
Japanese (ja)
Inventor
Akihiko Shimohata
下畑 明彦
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 JP61261059A priority Critical patent/JPS63115234A/en
Publication of JPS63115234A publication Critical patent/JPS63115234A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To resolve the disaccord by automatically patching a patch object program on the basis of patch information which is registered when the patch object program is loaded. CONSTITUTION:When a patch information register means 11 is started, patch information 16 is read from an input device 4 and is registered in an auxiliary storage device 3. When a patch object program 15 is started, a program loading means 12 loads the patch object program 15 from the auxiliary storage device 3 to a main storage device 2 and calls a patch information retrieving means 13. This means 13 retrieves whether patch information 16 for the path object program 15 exists or not; and if it exists, a patching means 14 is called and the patch object program 15 loaded to the main storage device 2 is patched on the basis of retrieved patch information 16.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は自動プログラムパッチ方式に関し、特にあらか
じめパッチ情報を登録しておいてパッチ対象プログラム
の実行直前にパッチを施行するようにした自動プログラ
ムパッチ方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an automatic program patching method, and in particular to an automatic program patching method in which patch information is registered in advance and the patch is executed immediately before execution of a program to be patched. Regarding the method.

〔従来の技術〕[Conventional technology]

従来、この種のプログラムパッチ方式は、情報処理シス
テム内で実行するパッチ対象プログラムの一部を修正し
たい場合、パッチ対象プログラムの実行前にファイル上
のパッチ対象プログラムにパッチを施行する方式となっ
ていた。
Conventionally, in this type of program patching method, if you want to modify a part of a patched program running in an information processing system, the patch is applied to the patched program on a file before the patched program is executed. Ta.

このため、パッチを行ったプログラムについてパッチの
施行状況を管理する必要があり、情報処理システム内の
パッチ施行プログラム数および施行パッチ数が増加する
につれてこれらの管理が非常に煩雑となっていた。
For this reason, it is necessary to manage the status of patch implementation for programs that have been patched, and as the number of patch programs and patches in an information processing system increases, the management of these has become extremely complicated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のプログラムパッチ方式は、パッチ対象プ
ログラムの実行前にファイル上のパッチ対象プログラム
にパッチを施行する方式となっていたので、パッチの施
行状況の管理が非常に煩雑となり、パッチの管理情報と
プログラム上のパッチ施行状況とが不一致になりやすい
という欠点がある。
In the conventional program patching method described above, the patch is applied to the patch target program in a file before the patch target program is executed, which makes managing the patch implementation status very complicated and requires patch management information. The disadvantage is that there is a tendency for discrepancies between the patch implementation status and the patch implementation status on the program.

本発明の目的は、上述の点に鑑み、パッチ情報をあらか
じめ登録しておきパッチの施行をパッチ対象プログラム
のロード時にあらかしめ登録されたパッチ情報に基づい
て行うことにより、登録されているパッチ情報と実際の
プログラムへの施行状況との不一致が発生しないように
した自動プログラムパッチ方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to register patch information in advance and execute a patch based on the registered patch information when a program to be patched is loaded. An object of the present invention is to provide an automatic program patching method that prevents discrepancies between the program and the actual program implementation status.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の自動プログラムパッチ方式は、パッチ対象プロ
グラムに施行するパッチ情報を登録および更新するパッ
チ情報登録手段と、前記パッチ対象プログラムがロード
されたときに前記パッチ対象プログラムに対応する前記
パッチ情報を検索するパッチ情報検索手段と、このパッ
チ情報検索手段により前記パッチ情報が検索されたとき
に検索された前記パッチ情報に基づいて前記パッチ対象
プログラムにパッチを施行するパッチ施行手段とを有す
る。
The automatic program patching method of the present invention includes a patch information registration means for registering and updating patch information to be applied to a patch target program, and a search for the patch information corresponding to the patch target program when the patch target program is loaded. and patch enforcement means for applying a patch to the patch target program based on the patch information retrieved when the patch information is retrieved by the patch information retrieval means.

〔作用〕[Effect]

本発明の自動プログラムパッチ方式では、パッチ情報登
録手段がパッチ対象プログラムに施行するパッチ情報を
登録および更新し、パッチ情報検索手段がパッチ対象プ
ログラムがロードされたときにパッチ対象プログラムに
対応するパッチ情報を検索し、バッチ施行手段がパッチ
情報検索手段によりパッチ情報が検索されたときに検索
されたパッチ情報に基づいてパッチ対象プログラムにパ
ッチを施行する。
In the automatic program patching method of the present invention, the patch information registration means registers and updates patch information to be applied to the patch target program, and the patch information search means registers and updates patch information to be applied to the patch target program, and the patch information search means registers and updates patch information corresponding to the patch target program when the patch target program is loaded. and the batch enforcement means applies the patch to the patch target program based on the patch information retrieved when the patch information is retrieved by the patch information retrieval means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第2図を参照すると、本発明の一実施例の自動プログラ
ムパッチ方式が適用される情報処理システムは、パッチ
対象プログラム15(第1図参照)が実行される中央処
理袋Wlと、パッチ対象プログラム15がロードされる
主記憶装置2と、パッチ対象プログラム15およびパッ
チ情報16(第1図参照)があらかじめ記憶されている
補助記憶装置3と、キーボードなどからなる入力装置4
とを含んで構成されている。
Referring to FIG. 2, the information processing system to which the automatic program patching method of one embodiment of the present invention is applied includes a central processing bag Wl in which a patch target program 15 (see FIG. 1) is executed, and a patch target program 15 (see FIG. 1). 15 is loaded, an auxiliary storage device 3 in which the patch target program 15 and patch information 16 (see FIG. 1) are stored in advance, and an input device 4 consisting of a keyboard or the like.
It is composed of:

第1図を参照すると、本実施例の自動プログラムパッチ
方式は、パッチ対象プログラム15に施行するパッチ情
報16を補助記憶装置3に登録および更新するパッチ情
報登録手段11と、オペレーティングシステム(図示せ
ず)より提供されパッチ対象プログラム15を主記憶袋
w2にロードするプログラムロード手段12と、パッチ
対象プログラム15が主記憶装置2にロードされたとき
にパッチ対象プログラム15に対応するパッチ情報16
を補助記憶装置3から検索するパッチ情報検索手段13
と、パッチ情報検索手段13により補助記憶装置3から
パッチ情報16が検索されたときに検索されたパッチ情
報16に基づいて主記憶装置2上にロードされたパッチ
対象プログラム15に対してパッチを施行するバッチ施
行手段14とから構成されている。
Referring to FIG. 1, the automatic program patch method of this embodiment includes a patch information registration means 11 for registering and updating patch information 16 to be applied to a patch target program 15 in an auxiliary storage device 3, and an operating system (not shown). ) for loading the patch target program 15 into the main memory bag w2, and patch information 16 corresponding to the patch target program 15 when the patch target program 15 is loaded into the main storage device 2.
patch information retrieval means 13 for retrieving from the auxiliary storage device 3
When patch information 16 is retrieved from the auxiliary storage device 3 by the patch information search means 13, a patch is applied to the patch target program 15 loaded onto the main storage device 2 based on the retrieved patch information 16. It consists of a batch enforcement means 14.

次に、このように構成された本実施例の自動プログラム
パッチ方式の動作について説明する。
Next, the operation of the automatic program patch system of this embodiment configured as described above will be explained.

パッチ情報登録手段11が中央処理装置1上で起動され
ると、入力装置4から必要なパッチ情報16を読み込み
、補助記憶装置3に読み込んだパッチ情報16を登録す
る。なお、すでにパッチ情報16が補助記憶装置3上に
登録されている場合は、パッチ情報登録手段11はパッ
チ情報16の更新を行う。
When the patch information registration means 11 is activated on the central processing unit 1, it reads necessary patch information 16 from the input device 4 and registers the read patch information 16 in the auxiliary storage device 3. Note that if the patch information 16 has already been registered on the auxiliary storage device 3, the patch information registration means 11 updates the patch information 16.

この後、中央処理袋Nl上でパッチ対象プログラム15
の起動が行われると、パッチ対象プログラム15を補助
記憶装置3より主記憶装置2にロードするためにプログ
ラムロード手段12が起動される。
After this, patch target program 15 on the central processing bag Nl.
, the program loading means 12 is activated to load the patch target program 15 from the auxiliary storage device 3 to the main storage device 2.

プログラムロード手段12は、補助記憶装置3から主記
憶装置2にパッチ対象プログラム15をロードし、しか
る後にパッチ情報検索手段13を呼び出す。
The program loading means 12 loads the patch target program 15 from the auxiliary storage device 3 to the main storage device 2, and then calls the patch information searching means 13.

パッチ情報検索手段13は、パッチ情報登録手段11が
補助記憶装置3に登録したパッチ情報16の中にプログ
ラムロード手段12が主記憶装置2にロードしたパッチ
対象プログラム15に施行すべきパッチ情報16が有る
か否かを検索し、施行すべきパ・7チ情報16が有れば
バッチ施行手段14を呼び出す。
The patch information search means 13 detects, among the patch information 16 registered in the auxiliary storage device 3 by the patch information registration device 11, patch information 16 to be applied to the patch target program 15 loaded into the main storage device 2 by the program loading device 12. A search is made to see if there is any batch execution means 14, and if there is patch information 16 to be executed, the batch execution means 14 is called.

パッチ施行手段14は、パッチ情報検索手段13が検索
したパッチ情報16に基づいてプログラムロード手段1
2が主記憶装置2にロードしたバッチ対象プログラム1
5に対してパッチを施行する。
The patch enforcement means 14 executes the program loading means 1 based on the patch information 16 searched by the patch information search means 13.
Batch target program 1 loaded by 2 into main storage 2
5 will be patched.

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

以上説明したように本発明は、パッチ情報を情報処理シ
ステムにあらかじめ登録しておきパッチ対象プログラム
のロード時に登録したパッチ情報に基づいて自動的にパ
ッチ対象プログラムにバッチを施行することにより、情
報処理システムに登録したバッチ情報と実際のバッチ対
象プログラムへのパッチ施行状況とが不一致のままパッ
チ対象プログラムが実行されることをさけることができ
る効果がある。
As explained above, the present invention registers patch information in an information processing system in advance and automatically applies a batch to a patch target program based on the registered patch information when the patch target program is loaded. This has the effect of preventing a patch target program from being executed without a mismatch between the batch information registered in the system and the actual patch execution status of the batch target program.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は本実施例の自動プログラムパッチ方式が適用さ
れる情報処理システムの一例を示すブロック図である。 図において、 1・・・中央処理装置、 2・・・主記憶装置、 3・・・補助記憶装置、 4・・・入力装置、 11・・・パッチ情報登録手段、 12・・・プログラムロード手段、 13・・・バッチ情報検索手段、 14・・・バッチ施行手段、  ′ 15・・・パッチ対象プログラム、 16・・・パッチ情報である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of an information processing system to which the automatic program patch method of this embodiment is applied. In the figure, 1...Central processing unit, 2...Main storage device, 3...Auxiliary storage device, 4...Input device, 11...Patch information registration means, 12...Program loading means , 13...Batch information search means, 14...Batch execution means, '15...Patch target program, 16...Patch information.

Claims (1)

【特許請求の範囲】 パッチ対象プログラムに施行するパッチ情報を登録およ
び更新するパッチ情報登録手段と、前記パッチ対象プロ
グラムがロードされたときに前記パッチ対象プログラム
に対応する前記パッチ情報を検索するパッチ情報検索手
段と、 このパッチ情報検索手段により前記パッチ情報が検索さ
れたときに検索された前記パッチ情報に基づいて前記パ
ッチ対象プログラムにパッチを施行するパッチ施行手段
と、 を有することを特徴とする自動プログラムパッチ方式。
[Scope of Claims] Patch information registration means for registering and updating patch information to be applied to a patch target program, and patch information for searching the patch information corresponding to the patch target program when the patch target program is loaded. An automated system comprising: a search means; and a patch enforcement means for applying a patch to the patch target program based on the patch information searched when the patch information is searched by the patch information search means. Program patch method.
JP61261059A 1986-10-31 1986-10-31 Automatic program patching system Pending JPS63115234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61261059A JPS63115234A (en) 1986-10-31 1986-10-31 Automatic program patching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61261059A JPS63115234A (en) 1986-10-31 1986-10-31 Automatic program patching system

Publications (1)

Publication Number Publication Date
JPS63115234A true JPS63115234A (en) 1988-05-19

Family

ID=17356501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61261059A Pending JPS63115234A (en) 1986-10-31 1986-10-31 Automatic program patching system

Country Status (1)

Country Link
JP (1) JPS63115234A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915512B1 (en) 1999-11-29 2005-07-05 Fujitsu Limited Software editing with indication of format and processing state of each process of the software
JP2005327276A (en) * 2004-05-11 2005-11-24 Microsoft Corp Efficient patching

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6915512B1 (en) 1999-11-29 2005-07-05 Fujitsu Limited Software editing with indication of format and processing state of each process of the software
JP2005327276A (en) * 2004-05-11 2005-11-24 Microsoft Corp Efficient patching

Similar Documents

Publication Publication Date Title
GB2320343A (en) computer system with checkpoint facility
JPS63115234A (en) Automatic program patching system
CN111324373B (en) Method and device for sub-coding warehouse on multiple engineering files and computing equipment
JP2555920B2 (en) Online real-time processor
JPH02304635A (en) Program runaway detecting system
JPH03164934A (en) Module control method
JPH02272496A (en) Standard pattern registering system for pattern recognizing device
JPH04363721A (en) Program switching system
JP2002024037A (en) Method for updating dynamic link library file
JPH0731595B2 (en) Online load module replacement method
JP2740238B2 (en) File exclusive control unit
JPH05143427A (en) Information processing system
JPS6150356B2 (en)
JP2887488B2 (en) Multi-process processing equipment
JPH0322152A (en) File restoring system
JPH0264756A (en) System rising system
JPH05334156A (en) Closing system in data operating instruction
JPH03172929A (en) Automatic patch number picking system
JPH01263723A (en) Simplified program patch system
JPH0327439A (en) Shared module managing system for program
JPH01196627A (en) System for updating software
JPH0553886A (en) Table access managing system
JPS6337435A (en) Program patch history management system
JPH02114329A (en) Terminal software path execution system
JPS63136227A (en) System for retrieving program storing file