JPH06110667A - Patch applying system - Google Patents

Patch applying system

Info

Publication number
JPH06110667A
JPH06110667A JP14581392A JP14581392A JPH06110667A JP H06110667 A JPH06110667 A JP H06110667A JP 14581392 A JP14581392 A JP 14581392A JP 14581392 A JP14581392 A JP 14581392A JP H06110667 A JPH06110667 A JP H06110667A
Authority
JP
Japan
Prior art keywords
information
patch
program
loading
processor
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
JP14581392A
Other languages
Japanese (ja)
Inventor
Reiko Sato
玲子 佐藤
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 JP14581392A priority Critical patent/JPH06110667A/en
Publication of JPH06110667A publication Critical patent/JPH06110667A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To arbitrarily select the loading of patch information corresponding to the state of a processor such as the one at the time of operation in the case of IMPL. CONSTITUTION:In the case of loading a program 2a, a control means 1a of a processor 1 loads the program 2a into an internal memory 1b and judges whether or not it is required to load patch information 2c or which patch information is required to be loaded based on the present state of the processor 1 and the information of a patch application information storage part 2b. Based on the judged result, the patch information 2c is selectively loaded from an external storage device 2 to the internal memory 1b.

Description

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

【0001】[0001]

【産業上の利用分野】プログラムを修正した際、その修
正量が多くプログラムと同一のモジュール内に入りきら
ない場合には、その修正情報をパッチ情報として、外部
記憶装置に格納しておき、プログラムの実行時、プログ
ラムとともに、パッチ情報をローティングし実行してい
る。
[Industrial application] When a program is modified and the amount of modification is too large to fit in the same module as the program, the modification information is stored as patch information in an external storage device. When executing, the patch information is rotated and executed along with the program.

【0002】本発明は上記した外部記憶装置に格納され
たプログラムの修正情報であるパッチ情報の適用方式に
関するものである。
The present invention relates to an application system of patch information which is correction information of a program stored in the above-mentioned external storage device.

【0003】[0003]

【従来の技術】従来、パッチ情報を持つプログラムを実
行する場合には、どのような条件においても、実行する
プログラムとともに、そのパッチ情報を無条件でローデ
ィングしてプログラムを実行していた。したがって、プ
ログラムをローディングする場合には、常に同一のパッ
チ情報がローディングされ、ローディング時のプロセッ
サの状況によってパッチ情報を選択的にローディングす
ることは出来なかった。
2. Description of the Related Art Conventionally, when a program having patch information is executed, the patch information is unconditionally loaded together with the program to be executed under any condition. Therefore, when the program is loaded, the same patch information is always loaded, and it was not possible to selectively load the patch information depending on the situation of the processor at the time of loading.

【0004】[0004]

【発明が解決しようとする課題】ところで、プログラム
を実行する際、そのプログラムに関連したパッチ情報を
全て必要するわけではなく、パッチ情報によっては、プ
ログラムのイニシャル・マイクロ・プログラム・ロード
(以下、IMPLという)時のみ必要となるもの、ある
いは運用中にのみ必要となるものなどがある。
By the way, when a program is executed, not all the patch information related to the program is required. Depending on the patch information, the initial micro program load (hereinafter referred to as IMPL) of the program may be required. There is something that is needed only when, or something that is needed only during operation.

【0005】しかしながら、上記従来技術では、プログ
ラムを実行する際全てのパッチ情報を無条件でローディ
ングしているため、上記のように種々の状況に適切に対
応することができず、また、プログラムに関連したパッ
チ情報を無条件でローディングすることにより、内部メ
モリの占有量が増加するとともに、ローディング時間が
増加するという欠点があった。
However, in the above-mentioned conventional technique, all the patch information is unconditionally loaded when the program is executed, so that it is not possible to appropriately deal with various situations as described above, and the program is not properly handled. By unconditionally loading the related patch information, the occupied amount of the internal memory increases and the loading time also increases.

【0006】本発明は上記した従来技術の欠点に鑑みな
されたものであって、IMPL時、運用時などのプロセ
ッサの状態によって、パッチ情報のローディングを任意
に選択できるようにした、パッチ情報適用方式を提供す
ることを目的とする。
The present invention has been made in view of the above-mentioned drawbacks of the prior art, and is a patch information application system in which the loading of patch information can be arbitrarily selected according to the state of the processor at the time of IMPL and during operation. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。上記課題を解決するため、本発明の請求
項1の発明は、外部記憶装置2に記憶されているプログ
ラム2aおよびパッチ情報2cをプロセッサ1の内部メ
モリ1bにローディングして実行する計算機システムに
おいて、パッチ情報2cの適用に関する情報を記憶する
パッチ適用情報記憶部2bをプロセッサ1もしくは外部
記憶装置2に設けるとともに、プログラム2aのローデ
ィング時に、パッチ適用情報記憶部2bに予め記憶され
た情報およびプロセッサ1の状態を参照して、パッチ情
報2cを外部記憶装置2からローディングする制御手段
1aをプロセッサ1に設けたものである。
FIG. 1 is a block diagram showing the principle of the present invention. In order to solve the above-mentioned problems, the invention of claim 1 of the present invention is a computer system that loads a program 2a and patch information 2c stored in an external storage device 2 into an internal memory 1b of a processor 1 and executes the program. A patch application information storage unit 2b that stores information about application of the information 2c is provided in the processor 1 or the external storage device 2, and the information stored in advance in the patch application information storage unit 2b and the state of the processor 1 when the program 2a is loaded. 2, the processor 1 is provided with control means 1a for loading the patch information 2c from the external storage device 2.

【0008】そして、制御手段1aは、プロセッサ1の
状態とパッチ適用情報記憶部2bに記憶された情報とに
より、パッチ情報2cの適用の必要性、あるいは、ロー
ディングする必要のあるパッチ情報2cを判断し、その
判断結果に基づきパッチ情報2cを外部記憶装置2より
ローディングする。本発明の請求項2の発明は、請求項
1の発明において、パッチ適用情報記憶部2bに、プロ
セッサ1の状態に対応させて読み込む必要のあるパッチ
情報2cを記憶させ、制御手段1aは、プロセッサ1の
状態によって、複数のパッチ情報2cのうちから条件に
あったパッチ情報2cを選択してローディングするよう
に構成したものである。
Then, the control means 1a determines the necessity of applying the patch information 2c or the patch information 2c that needs to be loaded, based on the state of the processor 1 and the information stored in the patch application information storage section 2b. Then, based on the determination result, the patch information 2c is loaded from the external storage device 2. According to a second aspect of the present invention, in the first aspect of the invention, the patch application information storage unit 2b stores the patch information 2c that needs to be read in association with the state of the processor 1, and the control unit 1a is the processor. According to the state 1, the patch information 2c that meets the conditions is selected from the plurality of patch information 2c and loaded.

【0009】本発明の請求項3の発明は、請求項1また
は請求項2の発明において、外部記憶装置2に設けられ
たパッチ適用情報記憶部2bにローディング回数、起動
プロセス名、イニシャル・マイクロ・プログラム・ロー
ドあるいは運用中などのシステム状態とそれらに対応し
たパッチ情報2cのローディング条件を記憶させるよう
に構成したものである。
According to a third aspect of the present invention, in the first or second aspect of the invention, the patch application information storage section 2b provided in the external storage device 2 is loaded with the number of times of loading, the starting process name, and the initial micro. The system is configured to store a system state such as program loading or operation and a loading condition of the patch information 2c corresponding thereto.

【0010】[0010]

【作用】本発明の請求項1の発明において、プログラム
2aのローディングに際して、プロセッサ1の制御手段
1bはプログラム2aをローディングするとともに、プ
ロセッサ1の現在の状態と、バッチ適用情報記憶部2b
の情報に基づき、外部記憶装置2よりパッチ情報2cを
ローディングする必要があるか否か、あるいは、どのパ
ッチ情報をローディングする必要があるかを判断して、
パッチ情報を選択的にローディングする。
In the first aspect of the present invention, when loading the program 2a, the control means 1b of the processor 1 loads the program 2a, and the current state of the processor 1 and the batch application information storage unit 2b.
Based on the information, it is determined whether the patch information 2c needs to be loaded from the external storage device 2 or which patch information needs to be loaded,
Selectively load patch information.

【0011】パッチ情報2cの適用に関する情報を記憶
するパッチ適用情報記憶部2bを設けるとともに、プロ
グラム2aのローディング時に、パッチ適用情報記憶部
2bに予め記憶された情報およびプロセッサ1の状態を
参照して、パッチ情報2cを外部記憶装置2からローデ
ィングする制御手段1aを設けたので、パッチ情報2c
を選択的にローディングすることができる。
A patch application information storage unit 2b for storing information about application of the patch information 2c is provided, and at the time of loading the program 2a, the information previously stored in the patch application information storage unit 2b and the state of the processor 1 are referred to. Since the control means 1a for loading the patch information 2c from the external storage device 2 is provided, the patch information 2c
Can be selectively loaded.

【0012】本発明の請求項2の発明においては、パッ
チ適用情報記憶部2bに、プロセッサ1の状態とそれに
対応した読み込む必要のあるパッチ情報2cを記憶させ
るようにしたので、複数のパッチ情報2cのうちから条
件にあったパッチ情報2cを選択してローディングする
ことが可能となる。また、本発明の請求項3の発明にお
いては、外部記憶装置2に設けられたパッチ適用情報記
憶部2bにローディング回数、起動プロセス名、イニシ
ャル・マイクロ・プログラム・ロードあるいは運用中な
どのシステム状態とそれらに対応したパッチ情報2cの
ローディング条件を記憶させるようにしたので、複数の
パッチ情報の内から、上記条件にあったパッチ情報2c
を選択してローディングすることが可能となる。
According to the second aspect of the present invention, the patch application information storage section 2b stores the state of the processor 1 and the corresponding patch information 2c that needs to be read. It is possible to select and load the patch information 2c that meets the conditions from the above. Further, in the invention of claim 3 of the present invention, the patch application information storage unit 2b provided in the external storage device 2 is provided with a system status such as the number of times of loading, a starting process name, an initial micro program load, or an operating state. Since the loading condition of the patch information 2c corresponding to them is stored, the patch information 2c satisfying the above condition is selected from the plurality of patch information.
Can be selected and loaded.

【0013】[0013]

【実施例】図2は本発明のシステム構成を示す図であ
る。同図において、11はプロセッサ、11aは内部シ
ステム変数、11bは制御プログラム、11c−1は第
1のローディング・エリア、11c−2は第2のローデ
ィング・エリア、12は外部記憶装置、12aは外部記
憶装置12に格納されたプログラム、12bは外部記憶
装置12に格納されたパッチ条件情報、12cは外部記
憶装置12に格納されたパッチ選択情報、12d−1な
いし12d−nは外部記憶装置12に格納されたパッチ
情報である。
FIG. 2 is a diagram showing the system configuration of the present invention. In the figure, 11 is a processor, 11a is an internal system variable, 11b is a control program, 11c-1 is a first loading area, 11c-2 is a second loading area, 12 is an external storage device, and 12a is an external device. A program stored in the storage device 12, 12b is patch condition information stored in the external storage device 12, 12c is patch selection information stored in the external storage device 12, and 12d-1 to 12d-n are stored in the external storage device 12. This is the stored patch information.

【0014】同図において、内部システム変数11a
は、システム状態(例えば、IMPL時か、あるいは、
運用中か、等)に関する情報であり、プロセッサ11の
内部メモリに格納されている。制御プログラム11bは
外部記憶装置からプログラム12aをローディングする
際、そのためのローディング・エリアを確保するととも
に、内部システム変数11aを参照して必要なプログラ
ムないしパッチ情報をローディングして実行する手段で
あり、プロセッサ11の内部メモリに格納されている。
In the figure, the internal system variable 11a
Is the system state (eg at IMPL, or
Information regarding whether or not it is in operation, etc.) and is stored in the internal memory of the processor 11. The control program 11b is a means for securing a loading area for loading the program 12a from an external storage device and loading and executing a necessary program or patch information by referring to the internal system variable 11a. It is stored in 11 internal memories.

【0015】第1のローディング・エリア11c−1は
外部記憶装置12に格納されているプログラムをローデ
ィングする領域、第2のローディング・エリア11c−
2は外部記憶装置12によりパッチ情報をローディング
する領域である。外部記憶装置12に格納されたプログ
ラム12aは実行の対象となるプログラムであり、その
プログラムの修正情報として、パッチ情報12d−1な
いし12d−nを持つ。
The first loading area 11c-1 is an area for loading a program stored in the external storage device 12, and the second loading area 11c-
Reference numeral 2 is an area for loading patch information by the external storage device 12. The program 12a stored in the external storage device 12 is a program to be executed, and has patch information 12d-1 to 12d-n as correction information of the program.

【0016】外部記憶装置12に格納されたパッチ条件
情報12bは、制御プログラム11bがパッチ情報をロ
ーディングする際、プロセッサの状態を判別して、パッ
チ情報12d−1ないし12d−nを読み込む必要があ
るか否かを判断するための情報であり、例えば、ローデ
ィング回数、起動プロセス名、システム状態などのパッ
チを必要とする条件が記録されている。
In the patch condition information 12b stored in the external storage device 12, when the control program 11b loads the patch information, it is necessary to determine the state of the processor and read the patch information 12d-1 to 12d-n. This is information for determining whether or not there is recorded a condition that requires a patch, such as the number of times of loading, the name of a startup process, and the system state.

【0017】外部記憶装置12に格納されたパッチ選択
情報12cは、制御プログラム11bがパッチ情報をロ
ーディングする際、プロセッサの状態を判別して、どの
パッチ情報12d−1ないし12d−nを読み込む必要
があるかを判断するための情報であり、例えば、ローデ
ィング回数、起動プロセス名、システム状態と、それぞ
れの状態において、どのパッチ情報12d−1ないし1
2d−nが必要であるかが記録されている。
In the patch selection information 12c stored in the external storage device 12, when the control program 11b loads the patch information, it is necessary to determine the state of the processor and read which patch information 12d-1 to 12d-n. This is information for determining whether or not there is, for example, the number of times of loading, the name of the boot process, the system state, and which patch information 12d-1 to 12d in each state.
It is recorded whether 2d-n is required.

【0018】パッチ情報12d−1ないし12d−nは
前記したようにプログラム12aの修正情報であり、本
実施例においては、プログラム12aがn個のパッチ情
報12d−1ないし12d−nを持つ例が示されてい
る。次に、本実施例におけるパッチ情報の適用方式につ
いて説明する。例えば、プログラム12aのIMPL時
にのみパッチ情報12d−1をローディングしたい場合
には、外部記憶装置12のパッチ条件情報12bにIM
PL時にのみパッチ情報12d−1のローディングが必
要であるという情報を書き込んでおく。
The patch information 12d-1 to 12d-n is the correction information of the program 12a as described above. In this embodiment, the program 12a has n pieces of patch information 12d-1 to 12d-n. It is shown. Next, a method of applying patch information in this embodiment will be described. For example, if the patch information 12d-1 is to be loaded only during the IMPL of the program 12a, the IM is added to the patch condition information 12b of the external storage device 12.
Information that the loading of the patch information 12d-1 is necessary only at the time of PL is written.

【0019】プログラム12aのローディングに際し
て、プロセッサ11の制御プログラム11bはプログラ
ム12aのローディングエリア11c−1を確保し、プ
ログラム12aをローディングする。次いでプロセッサ
11の内部システム変数11aを参照して、プロセッサ
11の現在の状態を認識し、外部記憶装置12からバッ
チ条件情報12bを読み込む。
When loading the program 12a, the control program 11b of the processor 11 secures the loading area 11c-1 of the program 12a and loads the program 12a. Next, the current state of the processor 11 is recognized by referring to the internal system variable 11a of the processor 11, and the batch condition information 12b is read from the external storage device 12.

【0020】そして、内部システム変数11aがIMP
Lか運用中かを判断し、IMPLの場合には、外部記憶
装置12よりパッチ情報12d−1をローディングす
る。また、内部システム変数11aが運用中の場合に
は、パッチ情報の適用は必要でないとして、パッチ情報
をローディングしない。また、例えば、プログラム12
aのIMPL時にはパッチ情報12d−iをローディン
グし、プログラム12aの運用中にはパッチ情報12d
−jをローディングしたい場合には、外部記憶装置12
のパッチ選択情報12cにIMPL時にはパッチ情報1
2d−iのローディングが必要であり、運用中にはパッ
チ情報12d−jのローディングが必要であるという情
報を書き込んでおく。
Then, the internal system variable 11a is IMP
Whether it is L or in operation is determined, and in the case of IMPL, the patch information 12d-1 is loaded from the external storage device 12. When the internal system variable 11a is in operation, it is not necessary to apply the patch information and the patch information is not loaded. In addition, for example, the program 12
The patch information 12d-i is loaded during the IMPL of a, and the patch information 12d is loaded during the operation of the program 12a.
If the user wants to load -j, the external storage device 12
The patch selection information 12c is the patch information 1 at the time of IMPL.
Information that 2d-i needs to be loaded and patch information 12d-j needs to be loaded during operation is written in advance.

【0021】プログラム12aのローディングに際し
て、プロセッサ11の制御プログラム11bはプログラ
ム12aのローディングエリア11c−1を確保し、プ
ログラム12aをローディングする。次いでプロセッサ
11の内部システム変数11aを参照して、プロセッサ
11の現在の状態を認識し、外部記憶装置12からバッ
チ選択情報12bを読み込む。
When loading the program 12a, the control program 11b of the processor 11 secures the loading area 11c-1 of the program 12a and loads the program 12a. Next, by referring to the internal system variable 11a of the processor 11, the current state of the processor 11 is recognized and the batch selection information 12b is read from the external storage device 12.

【0022】そして、内部システム変数11aがIMP
Lか運用中かを判断し、IMPL時には、外部記憶装置
12よりパッチ情報12d−iをローディングすべきで
あるとして、パッチ情報12d−iをローディングす
る。また、内部システム変数11aが運用中の場合に
は、パッチ情報12d−jをローディングすべきである
として、パッチ情報12d−jをローディングする。
Then, the internal system variable 11a is IMP
If it is L or not, it is determined that the patch information 12d-i should be loaded from the external storage device 12 at the time of IMPL, and the patch information 12d-i is loaded. If the internal system variable 11a is in operation, it is determined that the patch information 12d-j should be loaded, and the patch information 12d-j is loaded.

【0023】また、上記と同様にして、例えば、ローデ
ィング回数がm回目の場合のみパッチ情報を読み込ませ
たり、あるいは、ローディング回数がm回目の場合に所
定のパッチ情報を読み込ませたい場合には、上記と同様
に、パッチ条件情報12bあるいはパッチ選択情報12
cにその旨を書き込んでおくことにより、必要とするパ
ッチ情報のローディングを行うことができる。
Further, in the same manner as described above, for example, when it is desired to read the patch information only when the number of times of loading is m or to read the predetermined patch information when the number of times of loading is m, Similar to the above, the patch condition information 12b or the patch selection information 12
By writing that fact in c, necessary patch information can be loaded.

【0024】図3,図4は本発明の実施例を示すフロー
チャートであり、図3はパッチ条件情報12bにパッチ
情報の必要の有無を書き込んでおいた場合の実施例のフ
ローチャート、また、図4はパッチ選択情報12cにど
のパッチ情報を読み込む必要があるかを書き込んでおい
た場合の実施例のフローチャートである。図3におい
て、ステップS21において、プログラム12aのロー
ディング・エリア11c−1を確保し、ステップS22
において、プログラム12aのローディングを行う。
FIGS. 3 and 4 are flow charts showing an embodiment of the present invention, and FIG. 3 is a flow chart of an embodiment in the case where the necessity of patch information is written in the patch condition information 12b, and FIG. Is a flowchart of an embodiment in which which patch information needs to be read is written in the patch selection information 12c. In FIG. 3, in step S21, the loading area 11c-1 of the program 12a is secured, and in step S22
At, the program 12a is loaded.

【0025】ステップS23において、システム変数1
1aを参照して現在の状態を認識する。ステップS24
において、パッチ条件情報12bの読込みを行う。ステ
ップS25において、パッチ条件情報12bを参照して
パッチ情報が必要か否かを判別し、必要でない場合に
は、ステップS28に行く。また、パッチ情報が必要で
ある場合には、ステップS26に行き、パッチ情報のロ
ーディング・エリア11c−2を確保し、ステップS2
7において、パッチ条件情報12bに書き込まれている
パッチ情報のローディングを行う。
In step S23, the system variable 1
The current state is recognized by referring to 1a. Step S24
At, the patch condition information 12b is read. In step S25, it is determined whether or not the patch information is necessary by referring to the patch condition information 12b, and if it is not necessary, the process proceeds to step S28. If the patch information is necessary, the procedure goes to step S26 to secure the loading area 11c-2 for the patch information, and then to step S2.
7, the patch information written in the patch condition information 12b is loaded.

【0026】次いで、ステップS28において、ローデ
ィングされたプログラム12aの実行を行う。図4にお
いて、ステップS31において、プログラム12aのロ
ーディング・エリア11c−1を確保し、ステップS3
2において、プログラム12aのローディングを行う。
Next, in step S28, the loaded program 12a is executed. In FIG. 4, in step S31, the loading area 11c-1 of the program 12a is secured, and in step S3
At 2, the program 12a is loaded.

【0027】ステップS33において、システム変数1
1aを参照して現在の状態を認識する。ステップS34
において、パッチ選択情報12cの読込みを行う。ステ
ップS35において、パッチ選択情報12cを参照して
現時点での条件を満たしているパッチ情報をサーチす
る。ステップS36に行き、パッチ情報のローディング
・エリア11c−2を確保し、ステップS37におい
て、パッチ選択情報12cに書き込まれているパッチ情
報のローディングを行う。
In step S33, the system variable 1
The current state is recognized by referring to 1a. Step S34
At, the patch selection information 12c is read. In step S35, the patch selection information 12c is referred to search for patch information satisfying the current condition. In step S36, the patch information loading area 11c-2 is secured, and in step S37, the patch information written in the patch selection information 12c is loaded.

【0028】次いで、ステップS38において、ローデ
ィングされたプログラム12aの実行を行う。なお、上
記実施例においては、パッチ条件情報12bおよびパッ
チ選択情報12cの両方を外部記憶装置12に記憶させ
る例を示したが、本発明においては、パッチ条件情報1
2bあるいはパッチ選択情報12cのいずれかを外部記
憶装置に記憶させてもよい。
Then, in step S38, the loaded program 12a is executed. In the above embodiment, an example in which both the patch condition information 12b and the patch selection information 12c are stored in the external storage device 12 is shown, but in the present invention, the patch condition information 1
Either 2b or the patch selection information 12c may be stored in the external storage device.

【0029】また、上記実施例においては、外部記憶装
置にパッチ条件情報、パッチ選択情報を記憶させるよう
に構成した例を示したが、本発明は上記実施例に限定さ
れるものではなく、上記情報をプロセッサの内部メモリ
に記憶させてもよい。
Further, in the above embodiment, an example in which the external storage device is configured to store the patch condition information and the patch selection information is shown, but the present invention is not limited to the above embodiment, and The information may be stored in the processor's internal memory.

【0030】[0030]

【発明の効果】以上説明したことから明らかなように、
本発明においては、パッチ情報の適用に関する情報を記
憶するパッチ適用情報記憶部を設けるとともに、プログ
ラムのローディング時に、パッチ適用情報記憶部に予め
記憶された情報およびプロセッサの状態を参照して、パ
ッチ情報を外部記憶装置からローディングする制御手段
を設けたので、パッチ情報を選択的にローディングする
ことができ、また、それによって、パッチ情報による内
部メモリの占有量を減少させることができるとともに、
ローディング時間を短縮することが可能となる。
As is apparent from the above description,
According to the present invention, a patch application information storage unit that stores information about application of patch information is provided, and at the time of loading a program, the patch information is stored by referring to the information previously stored in the patch application information storage unit and the state of the processor. Since the control means for loading the patch information from the external storage device is provided, the patch information can be selectively loaded, and thereby, the occupation amount of the internal memory by the patch information can be reduced, and
It is possible to shorten the loading time.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の実施例を示す図である。FIG. 2 is a diagram showing an example of the present invention.

【図3】本発明のフローチャート(その1)である。FIG. 3 is a flowchart (1) of the present invention.

【図4】本発明のフローチャート(その2)である。FIG. 4 is a flowchart (2) of the present invention.

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

1,11 プロセッサ 1a 制御手段 1b 内部メモリ 2b パッチ適用情報記憶部 11a 内部システム変数 11b 制御プログラム 11c−1、11c−2 ローディング・エリア 2,12 外部記憶装置 2a,12a プログラム 12b パッチ条件情報 12c パッチ選択情報 2c,12d−1,12d−n パッチ情報 1, 11 processor 1a control means 1b internal memory 2b patch application information storage unit 11a internal system variable 11b control programs 11c-1, 11c-2 loading area 2, 12 external storage device 2a, 12a program 12b patch condition information 12c patch selection Information 2c, 12d-1, 12d-n patch information

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年10月28日[Submission date] October 28, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項3[Name of item to be corrected] Claim 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】発明の詳細な説明[Name of item to be amended] Detailed explanation of the invention

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【0001】[0001]

【産業上の利用分野】プログラムを修正した際、その修
正量が多くプログラムと同一のモジュール内に入りきら
ない場合には、その修正情報をパッチ情報として、外部
記憶装置に格納しておき、プログラムの実行時、プログ
ラムとともに、パッチ情報をローティングし実行してい
る。
[Industrial application] When a program is modified and the amount of modification is too large to fit in the same module as the program, the modification information is stored as patch information in an external storage device. When executing, the patch information is rotated and executed along with the program.

【0002】本発明は上記した外部記憶装置に格納され
たプログラムの修正情報であるパッチ情報の適用方式に
関するものである。
The present invention relates to an application system of patch information which is correction information of a program stored in the above-mentioned external storage device.

【0003】[0003]

【従来の技術】従来、パッチ情報を持つプログラムを実
行する場合には、どのような条件においても、実行する
プログラムとともに、そのパッチ情報を無条件でローデ
ィングしてプログラムを実行していた。したがって、プ
ログラムをローディングする場合には、常に同一のパッ
チ情報がローディングされ、ローディング時のプロセッ
サの状況によってパッチ情報を選択的にローディングす
ることは出来なかった。
2. Description of the Related Art Conventionally, when a program having patch information is executed, the patch information is unconditionally loaded together with the program to be executed under any condition. Therefore, when the program is loaded, the same patch information is always loaded, and it was not possible to selectively load the patch information depending on the situation of the processor at the time of loading.

【0004】[0004]

【発明が解決しようとする課題】ところで、プログラム
を実行する際、そのプログラムに関連したパッチ情報を
全て必要するわけではなく、パッチ情報によっては、プ
ログラムのイニシャル・マイクロ・プログラム・ロード
(以下、IMPLという)時のみ必要となるもの、ある
いは運用中にのみ必要となるものなどがある。
By the way, when a program is executed, not all the patch information related to the program is required. Depending on the patch information, the initial micro program load (hereinafter referred to as IMPL) of the program may be required. There is something that is needed only when, or something that is needed only during operation.

【0005】しかしながら、上記従来技術では、プログ
ラムを実行する際全てのパッチ情報を無条件でローディ
ングしているため、上記のように種々の状況に適切に対
応することができず、また、プログラムに関連したパッ
チ情報を無条件でローディングすることにより、内部メ
モリの占有量が増加するとともに、ローディング時間が
増加するという欠点があった。
However, in the above-mentioned conventional technique, all the patch information is unconditionally loaded when the program is executed, so that it is not possible to appropriately deal with various situations as described above, and the program is not properly handled. By unconditionally loading the related patch information, the occupied amount of the internal memory increases and the loading time also increases.

【0006】本発明は上記した従来技術の欠点に鑑みな
されたものであって、IMPL時、運用時などのプロセ
ッサの状態によって、パッチ情報のローディングを任意
に選択できるようにした、パッチ情報適用方式を提供す
ることを目的とする。
The present invention has been made in view of the above-mentioned drawbacks of the prior art, and is a patch information application system in which the loading of patch information can be arbitrarily selected according to the state of the processor at the time of IMPL and during operation. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。上記課題を解決するため、本発明の請求
項1の発明は、外部記憶装置2に記憶されているプログ
ラム2aおよびパッチ情報2cをプロセッサ1の内部メ
モリ1bにローディングして実行する計算機システムに
おいて、パッチ情報2cの適用に関する情報を記憶する
パッチ適用情報記憶部2bをプロセッサ1もしくは外部
記憶装置2に設けるとともに、プログラム2aのローデ
ィング時に、パッチ適用情報記憶部2bに予め記憶され
た情報およびプロセッサ1の状態を参照して、パッチ情
報2cを外部記憶装置2からローディングする制御手段
1aをプロセッサ1に設けたものである。
FIG. 1 is a block diagram showing the principle of the present invention. In order to solve the above-mentioned problems, the invention of claim 1 of the present invention is a computer system that loads a program 2a and patch information 2c stored in an external storage device 2 into an internal memory 1b of a processor 1 and executes the program. A patch application information storage unit 2b that stores information about application of the information 2c is provided in the processor 1 or the external storage device 2, and the information stored in advance in the patch application information storage unit 2b and the state of the processor 1 when the program 2a is loaded. 2, the processor 1 is provided with control means 1a for loading the patch information 2c from the external storage device 2.

【0008】そして、制御手段1aは、プロセッサ1の
状態とパッチ適用情報記憶部2bに記憶された情報とに
より、パッチ情報2cの適用の必要性、あるいは、ロー
ディングする必要のあるパッチ情報2cを判断し、その
判断結果に基づきパッチ情報2cを外部記憶装置2より
ローディングする。本発明の請求項2の発明は、請求項
1の発明において、パッチ適用情報記憶部2bに、プロ
セッサ1の状態に対応させて読み込む必要のあるパッチ
情報2cを記憶させ、制御手段1aは、プロセッサ1の
状態によって、複数のパッチ情報2cのうちから条件に
あったパッチ情報2cを選択してローディングするよう
に構成したものである。
Then, the control means 1a determines the necessity of applying the patch information 2c or the patch information 2c that needs to be loaded, based on the state of the processor 1 and the information stored in the patch application information storage section 2b. Then, based on the determination result, the patch information 2c is loaded from the external storage device 2. According to a second aspect of the present invention, in the first aspect of the invention, the patch application information storage unit 2b stores the patch information 2c that needs to be read in association with the state of the processor 1, and the control unit 1a is the processor. According to the state 1, the patch information 2c that meets the conditions is selected from the plurality of patch information 2c and loaded.

【0009】本発明の請求項3の発明は、請求項1また
は請求項2の発明において、外部記憶装置2に設けられ
たパッチ適用情報記憶部2bにローディング回数、起動
プロセス名、イニシャル・マイクロ・プログラム・ロー
ドあるいは運用中などのシステム状態とそれらに対応し
たパッチ情報2cのローディング条件を記憶させるよう
に構成したものである。
According to a third aspect of the present invention, in the first or second aspect of the invention, the patch application information storage section 2b provided in the external storage device 2 is loaded with the number of times of loading, the starting process name, and the initial micro. The system is configured to store a system state such as program loading or operation and a loading condition of the patch information 2c corresponding thereto.

【0010】[0010]

【作用】本発明の請求項1の発明において、プログラム
2aのローディングに際して、プロセッサ1の制御手段
1bはプログラム2aをローディングするとともに、プ
ロセッサ1の現在の状態と、バッチ適用情報記憶部2b
の情報に基づき、外部記憶装置2よりパッチ情報2cを
ローディングする必要があるか否か、あるいは、どのパ
ッチ情報をローディングする必要があるかを判断して、
パッチ情報を選択的にローディングする。
In the first aspect of the present invention, when loading the program 2a, the control means 1b of the processor 1 loads the program 2a, and the current state of the processor 1 and the batch application information storage unit 2b.
Based on the information, it is determined whether the patch information 2c needs to be loaded from the external storage device 2 or which patch information needs to be loaded,
Selectively load patch information.

【0011】パッチ情報2cの適用に関する情報を記憶
するパッチ適用情報記憶部2bを設けるとともに、プロ
グラム2aのローディング時に、パッチ適用情報記憶部
2bに予め記憶された情報およびプロセッサ1の状態を
参照して、パッチ情報2cを外部記憶装置2からローデ
ィングする制御手段1aを設けたので、パッチ情報2c
を選択的にローディングすることができる。
A patch application information storage unit 2b for storing information about application of the patch information 2c is provided, and at the time of loading the program 2a, the information previously stored in the patch application information storage unit 2b and the state of the processor 1 are referred to. Since the control means 1a for loading the patch information 2c from the external storage device 2 is provided, the patch information 2c
Can be selectively loaded.

【0012】本発明の請求項2の発明においては、パッ
チ適用情報記憶部2bに、プロセッサ1の状態とそれに
対応した読み込む必要のあるパッチ情報2cを記憶させ
るようにしたので、複数のパッチ情報2cのうちから条
件にあったパッチ情報2cを選択してローディングする
ことが可能となる。また、本発明の請求項3の発明にお
いては、外部記憶装置2に設けられたパッチ適用情報記
憶部2bにローディング回数、起動プロセス名、イニシ
ャル・マイクロ・プログラム・ロードあるいは運用中な
どのシステム状態とそれらに対応したパッチ情報2cの
ローディング条件を記憶させるようにしたので、複数の
パッチ情報の内から、上記条件にあったパッチ情報2c
を選択してローディングすることが可能となる。
According to the second aspect of the present invention, the patch application information storage section 2b stores the state of the processor 1 and the corresponding patch information 2c that needs to be read. It is possible to select and load the patch information 2c that meets the conditions from the above. Further, in the invention of claim 3 of the present invention, the patch application information storage unit 2b provided in the external storage device 2 is provided with a system status such as the number of times of loading, a starting process name, an initial micro program load, or an operating state. Since the loading condition of the patch information 2c corresponding to them is stored, the patch information 2c satisfying the above condition is selected from the plurality of patch information.
Can be selected and loaded.

【0013】[0013]

【実施例】図2は本発明のシステム構成を示す図であ
る。同図において、11はプロセッサ、11aは内部シ
ステム変数、11bは制御プログラム、11c−1は第
1のローディング・エリア、11c−2は第2のローデ
ィング・エリア、12は外部記憶装置、12aは外部記
憶装置12に格納されたプログラム、12bは外部記憶
装置12に格納されたパッチ条件情報、12cは外部記
憶装置12に格納されたパッチ選択情報、12d−1な
いし12d−nは外部記憶装置12に格納されたパッチ
情報である。
FIG. 2 is a diagram showing the system configuration of the present invention. In the figure, 11 is a processor, 11a is an internal system variable, 11b is a control program, 11c-1 is a first loading area, 11c-2 is a second loading area, 12 is an external storage device, and 12a is an external device. A program stored in the storage device 12, 12b is patch condition information stored in the external storage device 12, 12c is patch selection information stored in the external storage device 12, and 12d-1 to 12d-n are stored in the external storage device 12. This is the stored patch information.

【0014】同図において、内部システム変数11a
は、システム状態(例えば、IMPL時か、あるいは、
運用中か、等)に関する情報であり、プロセッサ11の
内部メモリに格納されている。制御プログラム11bは
外部記憶装置からプログラム12aをローディングする
際、そのためのローディング・エリアを確保するととも
に、内部システム変数11aを参照して必要なプログラ
ムないしパッチ情報をローディングして実行する手段で
あり、プロセッサ11の内部メモリに格納されている。
In the figure, the internal system variable 11a
Is the system state (eg at IMPL, or
Information regarding whether or not it is in operation, etc.) and is stored in the internal memory of the processor 11. The control program 11b is a means for securing a loading area for loading the program 12a from an external storage device and loading and executing a necessary program or patch information by referring to the internal system variable 11a. It is stored in 11 internal memories.

【0015】第1のローディング・エリア11c−1は
外部記憶装置12に格納されているプログラムをローデ
ィングする領域、第2のローディング・エリア11c−
2は外部記憶装置12によりパッチ情報をローディング
する領域である。外部記憶装置12に格納されたプログ
ラム12aは実行の対象となるプログラムであり、その
プログラムの修正情報として、パッチ情報12d−1な
いし12d−nを持つ。
The first loading area 11c-1 is an area for loading a program stored in the external storage device 12, and the second loading area 11c-
Reference numeral 2 is an area for loading patch information by the external storage device 12. The program 12a stored in the external storage device 12 is a program to be executed, and has patch information 12d-1 to 12d-n as correction information of the program.

【0016】外部記憶装置12に格納されたパッチ条件
情報12bは、制御プログラム11bがパッチ情報をロ
ーディングする際、プロセッサの状態を判別して、パッ
チ情報12d−1ないし12d−nを読み込む必要があ
るか否かを判断するための情報であり、例えば、ローデ
ィング回数、起動プロセス名、システム状態などのパッ
チを必要とする条件が記録されている。
In the patch condition information 12b stored in the external storage device 12, when the control program 11b loads the patch information, it is necessary to determine the state of the processor and read the patch information 12d-1 to 12d-n. This is information for determining whether or not there is recorded a condition that requires a patch, such as the number of times of loading, the name of a startup process, and the system state.

【0017】外部記憶装置12に格納されたパッチ選択
情報12cは、制御プログラム11bがパッチ情報をロ
ーディングする際、プロセッサの状態を判別して、どの
パッチ情報12d−1ないし12d−nを読み込む必要
があるかを判断するための情報であり、例えば、ローデ
ィング回数、起動プロセス名、システム状態と、それぞ
れの状態において、どのパッチ情報12d−1ないし1
2d−nが必要であるかが記録されている。
In the patch selection information 12c stored in the external storage device 12, when the control program 11b loads the patch information, it is necessary to determine the state of the processor and read which patch information 12d-1 to 12d-n. This is information for determining whether or not there is, for example, the number of times of loading, the name of the boot process, the system state, and which patch information 12d-1 to 12d in each state.
It is recorded whether 2d-n is required.

【0018】パッチ情報12d−1ないし12d−nは
前記したようにプログラム12aの修正情報であり、本
実施例においては、プログラム12aがn個のパッチ情
報12d−1ないし12d−nを持つ例が示されてい
る。次に、本実施例におけるパッチ情報の適用方式につ
いて説明する。例えば、プログラム12aのIMPL時
にのみパッチ情報12d−1をローディングしたい場合
には、外部記憶装置12のパッチ条件情報12bにIM
PL時にのみパッチ情報12d−1のローディングが必
要であるという情報を書き込んでおく。
The patch information 12d-1 to 12d-n is the correction information of the program 12a as described above. In this embodiment, the program 12a has n pieces of patch information 12d-1 to 12d-n. It is shown. Next, a method of applying patch information in this embodiment will be described. For example, if the patch information 12d-1 is to be loaded only during the IMPL of the program 12a, the IM is added to the patch condition information 12b of the external storage device 12.
Information that the loading of the patch information 12d-1 is necessary only at the time of PL is written.

【0019】プログラム12aのローディングに際し
て、プロセッサ11の制御プログラム11bはプログラ
ム12aのローディングエリア11c−1を確保し、プ
ログラム12aをローディングする。次いでプロセッサ
11の内部システム変数11aを参照して、プロセッサ
11の現在の状態を認識し、外部記憶装置12からバッ
チ条件情報12bを読み込む。
When loading the program 12a, the control program 11b of the processor 11 secures the loading area 11c-1 of the program 12a and loads the program 12a. Next, the current state of the processor 11 is recognized by referring to the internal system variable 11a of the processor 11, and the batch condition information 12b is read from the external storage device 12.

【0020】そして、内部システム変数11aがIMP
Lか運用中かを判断し、IMPLの場合には、外部記憶
装置12よりパッチ情報12d−1をローディングす
る。また、内部システム変数11aが運用中の場合に
は、パッチ情報の適用は必要でないとして、パッチ情報
をローディングしない。また、例えば、プログラム12
aのIMPL時にはパッチ情報12d−iをローディン
グし、プログラム12aの運用中にはパッチ情報12d
−jをローディングしたい場合には、外部記憶装置12
のパッチ選択情報12cにIMPL時にはパッチ情報1
2d−iのローディングが必要であり、運用中にはパッ
チ情報12d−jのローディングが必要であるという情
報を書き込んでおく。
Then, the internal system variable 11a is IMP
Whether it is L or in operation is determined, and in the case of IMPL, the patch information 12d-1 is loaded from the external storage device 12. When the internal system variable 11a is in operation, it is not necessary to apply the patch information and the patch information is not loaded. In addition, for example, the program 12
The patch information 12d-i is loaded during the IMPL of a, and the patch information 12d is loaded during the operation of the program 12a.
If the user wants to load -j, the external storage device 12
The patch selection information 12c is the patch information 1 at the time of IMPL.
Information that 2d-i needs to be loaded and patch information 12d-j needs to be loaded during operation is written in advance.

【0021】プログラム12aのローディングに際し
て、プロセッサ11の制御プログラム11bはプログラ
ム12aのローディングエリア11c−1を確保し、プ
ログラム12aをローディングする。次いでプロセッサ
11の内部システム変数11aを参照して、プロセッサ
11の現在の状態を認識し、外部記憶装置12からバッ
チ選択情報12bを読み込む。
When loading the program 12a, the control program 11b of the processor 11 secures the loading area 11c-1 of the program 12a and loads the program 12a. Next, by referring to the internal system variable 11a of the processor 11, the current state of the processor 11 is recognized and the batch selection information 12b is read from the external storage device 12.

【0022】そして、内部システム変数11aがIMP
Lか運用中かを判断し、IMPL時には、外部記憶装置
12よりパッチ情報12d−iをローディングすべきで
あるとして、パッチ情報12d−iをローディングす
る。また、内部システム変数11aが運用中の場合に
は、パッチ情報12d−jをローディングすべきである
として、パッチ情報12d−jをローディングする。
Then, the internal system variable 11a is IMP
If it is L or not, it is determined that the patch information 12d-i should be loaded from the external storage device 12 at the time of IMPL, and the patch information 12d-i is loaded. If the internal system variable 11a is in operation, it is determined that the patch information 12d-j should be loaded, and the patch information 12d-j is loaded.

【0023】また、上記と同様にして、例えば、ローデ
ィング回数がm回目の場合のみパッチ情報を読み込ませ
たり、あるいは、ローディング回数がm回目の場合に所
定のパッチ情報を読み込ませたい場合には、上記と同様
に、パッチ条件情報12bあるいはパッチ選択情報12
cにその旨を書き込んでおくことにより、必要とするパ
ッチ情報のローディングを行うことができる。
Further, in the same manner as described above, for example, when it is desired to read the patch information only when the number of times of loading is m or to read the predetermined patch information when the number of times of loading is m, Similar to the above, the patch condition information 12b or the patch selection information 12
By writing that fact in c, necessary patch information can be loaded.

【0024】図3,図4は本発明の実施例を示すフロー
チャートであり、図3はパッチ条件情報12bにパッチ
情報の必要の有無を書き込んでおいた場合の実施例のフ
ローチャート、また、図4はパッチ選択情報12cにど
のパッチ情報を読み込む必要があるかを書き込んでおい
た場合の実施例のフローチャートである。図3におい
て、ステップS21において、プログラム12aのロー
ディング・エリア11c−1を確保し、ステップS22
において、プログラム12aのローディングを行う。
FIGS. 3 and 4 are flow charts showing an embodiment of the present invention, and FIG. 3 is a flow chart of an embodiment in the case where the necessity of patch information is written in the patch condition information 12b, and FIG. Is a flowchart of an embodiment in which which patch information needs to be read is written in the patch selection information 12c. In FIG. 3, in step S21, the loading area 11c-1 of the program 12a is secured, and in step S22
At, the program 12a is loaded.

【0025】ステップS23において、システム変数1
1aを参照して現在の状態を認識する。ステップS24
において、パッチ条件情報12bの読込みを行う。ステ
ップS25において、パッチ条件情報12bを参照して
パッチ情報が必要か否かを判別し、必要でない場合に
は、ステップS28に行く。また、パッチ情報が必要で
ある場合には、ステップS26に行き、パッチ情報のロ
ーディング・エリア11c−2を確保し、ステップS2
7において、パッチ条件情報12bに書き込まれている
パッチ情報のローディングを行う。
In step S23, the system variable 1
The current state is recognized by referring to 1a. Step S24
At, the patch condition information 12b is read. In step S25, it is determined whether or not the patch information is necessary by referring to the patch condition information 12b, and if it is not necessary, the process proceeds to step S28. If the patch information is necessary, the procedure goes to step S26 to secure the loading area 11c-2 for the patch information, and then to step S2.
7, the patch information written in the patch condition information 12b is loaded.

【0026】次いで、ステップS28において、ローデ
ィングされたプログラム12aの実行を行う。図4にお
いて、ステップS31において、プログラム12aのロ
ーディング・エリア11c−1を確保し、ステップS3
2において、プログラム12aのローディングを行う。
Next, in step S28, the loaded program 12a is executed. In FIG. 4, in step S31, the loading area 11c-1 of the program 12a is secured, and in step S3
At 2, the program 12a is loaded.

【0027】ステップS33において、システム変数1
1aを参照して現在の状態を認識する。ステップS34
において、パッチ選択情報12cの読込みを行う。ステ
ップS35において、パッチ選択情報12cを参照して
現時点での条件を満たしているパッチ情報をサーチす
る。ステップS36に行き、パッチ情報のローディング
・エリア11c−2を確保し、ステップS37におい
て、パッチ選択情報12cに書き込まれているパッチ情
報のローディングを行う。
In step S33, the system variable 1
The current state is recognized by referring to 1a. Step S34
At, the patch selection information 12c is read. In step S35, the patch selection information 12c is referred to search for patch information satisfying the current condition. In step S36, the patch information loading area 11c-2 is secured, and in step S37, the patch information written in the patch selection information 12c is loaded.

【0028】次いで、ステップS38において、ローデ
ィングされたプログラム12aの実行を行う。なお、上
記実施例においては、パッチ条件情報12bおよびパッ
チ選択情報12cの両方を外部記憶装置12に記憶させ
る例を示したが、本発明においては、パッチ条件情報1
2bあるいはパッチ選択情報12cのいずれかを外部記
憶装置に記憶させてもよい。
Then, in step S38, the loaded program 12a is executed. In the above embodiment, an example in which both the patch condition information 12b and the patch selection information 12c are stored in the external storage device 12 is shown, but in the present invention, the patch condition information 1
Either 2b or the patch selection information 12c may be stored in the external storage device.

【0029】また、上記実施例においては、外部記憶装
置にパッチ条件情報、パッチ選択情報を記憶させるよう
に構成した例を示したが、本発明は上記実施例に限定さ
れるものではなく、上記情報をプロセッサの内部メモリ
に記憶させてもよい。
Further, in the above embodiment, an example in which the external storage device is configured to store the patch condition information and the patch selection information is shown, but the present invention is not limited to the above embodiment, and The information may be stored in the processor's internal memory.

【0030】[0030]

【発明の効果】以上説明したことから明らかなように、
本発明においては、パッチ情報の適用に関する情報を記
憶するパッチ適用情報記憶部を設けるとともに、プログ
ラムのローディング時に、パッチ適用情報記憶部に予め
記憶された情報およびプロセッサの状態を参照して、パ
ッチ情報を外部記憶装置からローディングする制御手段
を設けたので、パッチ情報を選択的にローディングする
ことができ、また、それによって、パッチ情報による内
部メモリの占有量を減少させることができるとともに、
ローディング時間を短縮することが可能となる。
As is apparent from the above description,
According to the present invention, a patch application information storage unit that stores information about application of patch information is provided, and at the time of loading a program, the patch information is stored by referring to the information previously stored in the patch application information storage unit and the state of the processor. Since the control means for loading the patch information from the external storage device is provided, the patch information can be selectively loaded, and thereby, the occupation amount of the internal memory by the patch information can be reduced, and
It is possible to shorten the loading time.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置(2) に記憶されているプロ
グラム(2a)およびパッチ情報(2c)をプロセッサ(1) の内
部メモリ(1b)にローディングして実行する計算機システ
ムにおいて、 パッチ情報(2c)の適用に関する情報を記憶するパッチ適
用情報記憶部(2b)をプロセッサ(1) もしくは外部記憶装
置(2) に設けるとともに、 プログラム(2a)のローディング時に、パッチ適用情報記
憶部(2b)に予め記憶された情報およびプロセッサ(1) の
状態を参照して、パッチ情報(2c)を外部記憶装置(2) か
らローディングする制御手段(1a)をプロセッサ(1) に設
け、 制御手段(1a)は、プロセッサ(1) の状態とパッチ適用情
報記憶部(2b)に記憶された情報とにより、パッチ情報(2
c)の適用の必要性、あるいは、ローディングする必要の
あるパッチ情報(2c)を判断し、その判断結果に基づきパ
ッチ情報(2c)を外部記憶装置(2) よりローディングする
ことを特徴とするパッチ適用方式。
1. A computer system which loads a program (2a) and patch information (2c) stored in an external storage device (2) into an internal memory (1b) of a processor (1) and executes the program (2). A patch application information storage unit (2b) that stores information related to the application of 2c) is provided in the processor (1) or the external storage device (2), and the patch application information storage unit (2b) is loaded in the program (2a) at the time of loading. The processor (1) is provided with a control means (1a) for loading the patch information (2c) from the external storage device (2) with reference to the information stored in advance and the state of the processor (1), and the control means (1a) The patch information (2) according to the state of the processor (1) and the information stored in the patch application information storage section (2b).
A patch characterized by determining the necessity of applying c) or the patch information (2c) that needs to be loaded and loading the patch information (2c) from the external storage device (2) based on the determination result. Application method.
【請求項2】 パッチ適用情報記憶部(2b)に、プロセッ
サ(1) の状態に対応させて読み込む必要のあるパッチ情
報(2c)を記憶させ、制御手段(1a)は、プロセッサ(1) の
状態によって、複数のパッチ情報(2c)のうちから条件に
あったパッチ情報(2c)を選択してローディングすること
を特徴とする請求項1のパッチ適用方式。
2. The patch application information storage unit (2b) stores patch information (2c) that needs to be read in correspondence with the state of the processor (1), and the control means (1a) is a processor of the processor (1). 2. The patch application system according to claim 1, wherein patch information (2c) satisfying a condition is selected from a plurality of patch information (2c) and loaded according to a state.
【請求項3】 外部記憶装置(2) に設けられたパッチ適
用情報記憶部(2b)がローディング回数、起動プロセス
名、イニシャル・マイクロ・プログラム・ロードあるい
は運用中などのシステム状態とそれらに対応したパッチ
情報(2c)のローディング条件を記憶していることを特徴
とする請求項1または請求項2のパッチ適用方式。
3. The patch application information storage section (2b) provided in the external storage device (2) corresponds to the number of times of loading, the name of the starting process, the system status such as initial micro program loading or operating, and their correspondence. The patch application method according to claim 1 or 2, wherein a loading condition of the patch information (2c) is stored.
JP14581392A 1992-06-05 1992-06-05 Patch applying system Withdrawn JPH06110667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14581392A JPH06110667A (en) 1992-06-05 1992-06-05 Patch applying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14581392A JPH06110667A (en) 1992-06-05 1992-06-05 Patch applying system

Publications (1)

Publication Number Publication Date
JPH06110667A true JPH06110667A (en) 1994-04-22

Family

ID=15393738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14581392A Withdrawn JPH06110667A (en) 1992-06-05 1992-06-05 Patch applying system

Country Status (1)

Country Link
JP (1) JPH06110667A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327276A (en) * 2004-05-11 2005-11-24 Microsoft Corp Efficient patching

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327276A (en) * 2004-05-11 2005-11-24 Microsoft Corp Efficient patching

Similar Documents

Publication Publication Date Title
EP0622732B1 (en) Microcomputer
EP0383518B1 (en) Method of receiving program down-loaded to IC card and IC card thereof
US4462086A (en) Loading system in numerical controller
US6564177B1 (en) Electronic device
JPH06110667A (en) Patch applying system
JPH09319665A (en) Data backup system for writable/readable non-volatile memory
JPH10333898A (en) Microcomputer
JPH0464139A (en) Program loading device
KR100222620B1 (en) Multiprogram download method
JPH06187200A (en) File share control system
JPH0333928A (en) Program patch system
JPS60171537A (en) Microprogram controller
JPS6046747B2 (en) Initial program loading method
JPS6345636A (en) Program loading system
JPH03189726A (en) Data processor
KR0164143B1 (en) Korean font loading control method
JP2000250747A (en) Program rewriting method for microcomputer, microcomputer and audio equipment using the same
JPH03256128A (en) Method for loading program
JPH03121551A (en) Program loading system
JPH01124041A (en) Information processor
KR20010019731A (en) On-board programming method using random access memory in microcontroller having flash memory
JPH10133720A (en) Programmable controller
JPS63269235A (en) Cpu system testing method
JPH02129745A (en) Computer
JPH03229323A (en) Data processor

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: 19990831