JPH0844551A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0844551A
JPH0844551A JP6176284A JP17628494A JPH0844551A JP H0844551 A JPH0844551 A JP H0844551A JP 6176284 A JP6176284 A JP 6176284A JP 17628494 A JP17628494 A JP 17628494A JP H0844551 A JPH0844551 A JP H0844551A
Authority
JP
Japan
Prior art keywords
data
stored
storage device
storage
microprogram
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
JP6176284A
Other languages
Japanese (ja)
Inventor
Nobuyuki Shimura
伸之 志村
Koichi Hiroki
光一 広木
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.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering Co 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP6176284A priority Critical patent/JPH0844551A/en
Publication of JPH0844551A publication Critical patent/JPH0844551A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To correct the compressed data at low cost and to use these data by correcting partly the data stored in a 2nd storage to store them in a 1st storage before the data of the 2nd storage are expanded and stored in the 1st storage. CONSTITUTION:When the data stored in a 1st storage 102 are partly corrected, these data are previously held by a correcting data holding means. In an initial state such as the application of a power supply, etc., the data stored in a 2nd storage 120 are expanded by a data expanding means 112. Then the expanded data are compared with the partly corrected data before the former data are stored in the storage 102. If both data are related to the same storage address, the partly corrected data are stored in the storage 102 in place of the data expanded by the means 112. In other words, the data stored in the storage 120 are partly corrected and stored in the storage 102 before the data of the storage 120 are expanded and stored in the storage 102.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、処理手順や内容を規定
するデータまたは処理対象のデータを圧縮して第2の記
憶装置に記憶させておき、情報処理の実行前に伸長して
第1の記憶装置に記憶させ、この第1の記憶装置に記憶
されたデータを使用して情報処理を行う情報処理装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention compresses data defining a processing procedure or contents or data to be processed and stores the compressed data in a second storage device, and decompresses the data before execution of the first information processing. The present invention relates to an information processing device that stores information in the storage device and performs information processing using the data stored in the first storage device.

【0002】[0002]

【従来の技術】従来、この種の情報処理装置としてマイ
クロプログラム制御方式の情報処理装置がある。
2. Description of the Related Art Conventionally, as this type of information processing apparatus, there is a micro program control type information processing apparatus.

【0003】このマイクロプログラム制御方式の情報処
理装置にあっては、マイクロプログラムはRAMなどの
比較的高速の記憶装置に格納される。しかし、この種の
記憶装置は揮発性であるため、非揮発性の記憶装置にマ
イクロプログラムを予め記憶させておき、電源投入時ま
たは情報処理の開始時に非揮発性の記憶装置から読出
し、RAMなどの記憶装置に格納するのが一般的となっ
ている。
In this microprogram control type information processing apparatus, the microprogram is stored in a relatively high speed storage device such as a RAM. However, since this kind of storage device is volatile, the microprogram is stored in advance in the non-volatile storage device, and is read from the non-volatile storage device at the time of power-on or the start of information processing, such as RAM. It is generally stored in the storage device.

【0004】しかし、処理内容の高度化に伴ってマイク
ロプログラムの規模も大きくなり、それを記憶しておく
ための記憶媒体の記憶容量も増大の一途を辿っている。
However, as the processing contents become more sophisticated, the scale of the microprogram also increases, and the storage capacity of the storage medium for storing the microprogram is also increasing.

【0005】そこで、マイクロプログラムを圧縮して非
揮発性の記憶装置に予め記憶しておき、電源投入時また
は情報処理の開始時に読出し、RAMなどの記憶装置に
格納する方法が採用されつつある。
Therefore, a method is being adopted in which the microprogram is compressed and stored in advance in a non-volatile storage device, read at power-on or when information processing starts, and stored in a storage device such as a RAM.

【0006】これは、パーソナルコンピュータにおいて
も同様であり、100M〜300M程度の大容量のハー
ドディスク装置を有効に活用するために、プログラムを
予め圧縮して記憶させる方法が採用されつつある。
This is also the case with personal computers, and in order to effectively utilize a large-capacity hard disk device of about 100M to 300M, a method of pre-compressing and storing a program is being adopted.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、マイク
ロプログラムあるいはプログラムを圧縮して記憶させる
方法を採った場合、その部分修正を行うのが困難にな
る。
However, when the method of compressing and storing the microprogram or the program is adopted, it is difficult to make a partial correction.

【0008】すなわち、圧縮しない場合は該当部分のみ
を直接修正可能であるが、圧縮した場合、修正内容は圧
縮前のデータに対して作成されているので、直接修正す
ることはできない。
That is, when the data is not compressed, only the corresponding portion can be directly corrected. However, when the data is compressed, the correction content is created for the data before the compression, and therefore it cannot be directly corrected.

【0009】また、データ圧縮処理はファイル全体、あ
るいは特定個所の前後のデータに影響されるため、これ
に変更を加えると、圧縮後のデータ全体の変更になりか
ねない。
Further, since the data compression process is affected by the entire file or the data before and after a specific portion, if the change is added to this, the entire data after compression may be changed.

【0010】従って、圧縮したデータ(マイクロプログ
ラムあるいはプログラム)を一旦伸長し、この伸長した
データを部分修正し、その修正後のデータを再度圧縮し
て記憶させる方法を採らざるを得なくなる。
Therefore, there is no choice but to employ a method in which the compressed data (microprogram or program) is once expanded, the expanded data is partially corrected, and the corrected data is compressed again and stored.

【0011】しかし、そのためには圧縮処理を常備させ
ておかなければならないうえ、圧縮処理を行うための大
きな補助記憶空間を確保しておくことが必要になり、低
コストで部分修正を行うことができないという問題があ
る。
However, in order to do so, it is necessary to always have a compression process, and it is necessary to secure a large auxiliary storage space for performing the compression process, so that partial correction can be performed at low cost. There is a problem that you cannot do it.

【0012】この場合、マイクロプログラムを圧縮する
方法として、特開平5−20086号公報に開示された
技術があるが、この公報では圧縮データの部分修正方法
については何等開示されていない。
In this case, there is a technique disclosed in Japanese Patent Laid-Open No. 5-20086 as a method for compressing a microprogram, but this publication does not disclose a partial correction method for compressed data.

【0013】本発明の目的は、マイクロプログラムある
いはプログラム等の圧縮したデータを低コストで部分修
正することができる情報処理装置を提供することであ
る。
An object of the present invention is to provide an information processing apparatus capable of partially modifying compressed data such as a microprogram or a program at low cost.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、基本的には、第1の記憶装置に転送記憶
させるデータを圧縮して記憶した第2の記憶装置と、こ
の第2の記憶装置に記憶されたデータを読出した後、伸
長して前記第1の記憶装置に記憶させるデータ伸長手段
とを有し、前記第1の記憶装置に記憶されたデータを用
いて情報処理を行う情報記憶装置において、前記第1の
記憶装置に記憶させるデータの部分修正データを保持す
る修正データ保持手段と、前記データ伸長手段で伸長さ
れたデータと前記部分修正データとを比較し、両者が同
一記憶アドレスに関するデータであれば前記データ伸長
手段で伸長されたデータに代えて部分修正データを前記
第1の記憶装置に記憶させるデータ修正手段とを備える
ことを特徴とする。
In order to achieve the above-mentioned object, the present invention basically comprises a second storage device in which data to be transferred and stored in a first storage device is compressed and stored, and A data decompression means for decompressing the data stored in the second storage device and decompressing the data to store it in the first storage device, and using the data stored in the first storage device for information In an information storage device that performs processing, a correction data holding unit that holds partial correction data of data to be stored in the first storage device, and the data expanded by the data expansion unit and the partial correction data are compared, If both are data relating to the same storage address, the data decompression means is provided to replace the data decompressed by the data decompression means with partial correction data stored in the first storage device.

【0015】[0015]

【作用】本発明によれば、第1の記憶装置に記憶させる
データを部分修正する場合、その部分修正データを修正
データ保持手段に予め保持させておく。そして、電源投
入時などの初期状態において、第2の記憶装置に記憶さ
れたデータをデータ伸長手段で伸長させるが、伸長され
たデータを第1の記憶装置に記憶させる前に、伸長され
たデータと部分修正データとを比較し、両者が同一記憶
アドレスに関するデータであれば前記データ伸長手段で
伸長されたデータに代えて部分修正データを前記第1の
記憶装置に記憶させる。
According to the present invention, when the data to be stored in the first storage device is partially modified, the partially modified data is held in the modified data holding means in advance. Then, in the initial state such as when the power is turned on, the data stored in the second storage device is expanded by the data expansion means, but the expanded data is stored before the expanded data is stored in the first storage device. And the partial correction data are compared, and if both are data relating to the same storage address, the partial correction data is stored in the first storage device instead of the data expanded by the data expansion means.

【0016】すなわち、第2の記憶装置に記憶されたデ
ータを伸長して第1の記憶装置に記憶させる前に、修正
部分を修正して第1の記憶装置に記憶させる。
That is, before the data stored in the second storage device is expanded and stored in the first storage device, the correction portion is modified and stored in the first storage device.

【0017】これにより、データ圧縮処理を必要とせ
ず、低コストで圧縮されたデータを修正して利用するこ
とができる。
As a result, it is possible to correct and use the compressed data at low cost without the need for data compression processing.

【0018】[0018]

【実施例】以下、本発明を図示する実施例に基づいて詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to illustrated embodiments.

【0019】図1は、本発明の一実施例を示す機能ブロ
ック図であり、制御装置101、補助制御装置110、
補助記憶装置120とから構成され、制御装置101と
補助制御装置110とは転送・制御手段130で結合さ
れ、補助制御装置110と補助記憶装置120とは転送
・制御手段131で結合されている。
FIG. 1 is a functional block diagram showing an embodiment of the present invention. A control device 101, an auxiliary control device 110,
The auxiliary storage device 120 and the control device 101 and the auxiliary control device 110 are connected by a transfer / control means 130, and the auxiliary control device 110 and the auxiliary storage device 120 are connected by a transfer / control means 131.

【0020】制御装置101は情報処理の中心的な機能
部位であり、マイクロプログラム制御を採る制御装置で
ある。
The control device 101 is a central functional part of information processing, and is a control device that employs microprogram control.

【0021】制御装置101は、制御記憶102を具備
し、動作時には制御記憶102に格納されているマイク
ロプログラムに処理手順が制御される。
The control device 101 has a control memory 102, and the processing procedure is controlled by a microprogram stored in the control memory 102 during operation.

【0022】補助制御装置110は、制御装置101の
補助的役割を担う制御装置であり、その重要な機能の1
つとして、補助記憶装置120のアクセス制御並びに補
助記憶装置120が保持する各ファイルの管理、および
本実施例に示す情報処理装置全体の電源制御等がある。
The auxiliary control device 110 is a control device that plays an auxiliary role of the control device 101, and has one of its important functions.
Examples include access control of the auxiliary storage device 120, management of each file held by the auxiliary storage device 120, and power control of the entire information processing apparatus shown in this embodiment.

【0023】補助記憶装置120は、例えばハードディ
スク装置であり、マイクロプログラムファイル121と
パッチ情報ファイル122を保持している。
The auxiliary storage device 120 is, for example, a hard disk device, and holds a micro program file 121 and a patch information file 122.

【0024】補助制御装置110は、電源投入時に補助
記憶装置120内にあるマイクロプログラムファイル1
20よりマイクロプログラムを読出し、制御装置内10
1内の制御記憶102へ格納する制御を行う。この場
合、制御記憶(第1の記憶装置)102はRAMで構成
される。
The auxiliary control unit 110 stores the microprogram file 1 stored in the auxiliary storage unit 120 when the power is turned on.
The microprogram is read from 20 and the control device 10
The control for storing in the control memory 102 in 1 is performed. In this case, the control memory (first memory device) 102 is composed of RAM.

【0025】この構成における情報処理装置の動作は以
下の通りである。
The operation of the information processing apparatus having this configuration is as follows.

【0026】(1)補助制御装置110は、補助記憶装
置120のマイクロプログラムファイル121に保持さ
れたマイクロプログラムを転送・制御手段131を介し
て読み出す。
(1) The auxiliary control device 110 reads the microprogram stored in the microprogram file 121 of the auxiliary storage device 120 via the transfer / control means 131.

【0027】(2)読出されたマイクロプログラムは圧
縮されているので、そのまま制御記憶102へ格納する
ことはできない。そこで、補助制御装置110は、読み
出されたマイクロプログラムを伸長手段112を用いて
伸長させた後、転送・制御手段130を介して制御記憶
102へ格納する。
(2) Since the read microprogram is compressed, it cannot be stored in the control memory 102 as it is. Therefore, the auxiliary control device 110 decompresses the read microprogram using the decompression means 112 and then stores it in the control memory 102 via the transfer / control means 130.

【0028】制御装置101は、制御記憶102に記憶
されたマイクロプログラムに従って処理を実行する。
The control device 101 executes processing in accordance with the microprogram stored in the control storage 102.

【0029】次に、制御記憶102に記憶させるマイク
ロプログラムを修正する場合の手順について図4を参照
して説明する。
Next, the procedure for modifying the microprogram stored in the control memory 102 will be described with reference to FIG.

【0030】図4において、旧データ201は修正前の
マイクロプログラムを記述したものであり、その意味す
るところは以下の通りである。
In FIG. 4, the old data 201 is a description of a microprogram before modification, and its meaning is as follows.

【0031】(1)Address:100 当マイクロプログラムステップのマイクロプログラムア
ドレスは100(16進)である。
(1) Address: 100 The microprogram address of this microprogram step is 100 (hexadecimal).

【0032】(2)A=B+A 当マイクロプログラムステップで実行する処理の命令を
意味する。
(2) A = B + A means an instruction of a process executed in this microprogram step.

【0033】(3)Next=110 次に実行するマイクロプログラムステップのアドレスは
110(16進)である。
(3) Next = 110 The address of the microprogram step to be executed next is 110 (hexadecimal).

【0034】この内容に従ってコード化されたものが旧
コード202である。
The old code 202 is coded according to this content.

【0035】制御記憶102に格納されるマイクロプロ
グラムとは、このようなコードがマイクロプログラムア
ドレス順に連なっているものである。
The microprogram stored in the control memory 102 is such a code in which the codes are arranged in the order of the microprogram address.

【0036】ここで、旧データ201を新データ211
のように修正する事態が生じたとする。
Here, the old data 201 is replaced with the new data 211.
Suppose there is a situation in which the correction is made as follows.

【0037】新データ211の意味するところは以下の
通りである。
The meaning of the new data 211 is as follows.

【0038】(1)Address:100 当マイクロプログラムステップのマイクロプログラムア
ドレスは100(16進)である。
(1) Address: 100 The microprogram address of this microprogram step is 100 (hexadecimal).

【0039】(2)C=D+A 当マイクロプログラムステップで実行する処理の命令を
意味する。
(2) C = D + A means an instruction of a process executed in this microprogram step.

【0040】(3)Next=110 次に実行するマイクロプログラムステップのアドレスは
110(16進)である。
(3) Next = 110 The address of the microprogram step to be executed next is 110 (hexadecimal).

【0041】この内容に従ってコード化されたものが新
コード212である。
The new code 212 is coded according to this content.

【0042】旧コード202と新コード212とは当然
のことながら異なる。
The old code 202 and the new code 212 are naturally different.

【0043】この差分のみ修正しようとする場合、原始
的手法ではあるが、以下のような手順で実施されるのが
一般的である。
When only this difference is to be corrected, it is a primitive method, but it is generally carried out by the following procedure.

【0044】(1)手順220:当マイクロプログラム
アドレスの100(16進)からマイクロプログラムフ
ァイル121内でのアドレスを求める。
(1) Procedure 220: An address in the microprogram file 121 is obtained from 100 (hexadecimal) of this microprogram address.

【0045】本実施例においては、1マイクロプログラ
ムステップのコード長は8バイドなので、単純にマイク
ロプログラムアドレスを8倍すればよい。
In this embodiment, since the code length of one microprogram step is 8 bytes, it is sufficient to simply multiply the microprogram address by 8.

【0046】この例の場合、 100(16進)x8=800(16進) となる。In the case of this example, 100 (hexadecimal) × 8 = 800 (hexadecimal).

【0047】(2)手順221:旧コード202より旧
データを得る。
(2) Procedure 221: Old data is obtained from the old code 202.

【0048】(3)手順222:新コード212より新
データを得る。
(3) Step 222: Obtain new data from the new code 212.

【0049】(4)パッチ情報シート230へ上記手順
220、221および222で得たデータを記入する。
(4) Write the data obtained in steps 220, 221 and 222 on the patch information sheet 230.

【0050】このようにして得たパッチ情報シート23
0を用いて実際にパッチ修正を実施するが、図4の例に
おいてはマイクロプログラムファイル121が保持して
いるマイクロプログラムは、圧縮されていないものとす
る。
The patch information sheet 23 thus obtained
Although patch correction is actually performed using 0, in the example of FIG. 4, the microprogram held by the microprogram file 121 is not compressed.

【0051】まず、パッチ情報シート230に従い、例
えば保守員が操作卓等を操作して補助記憶装置120を
操作し、マイクロプログラムファイル121を修正す
る。
First, according to the patch information sheet 230, for example, a maintenance person operates the auxiliary storage device 120 by operating the operation console or the like to modify the micro program file 121.

【0052】マイクロプログラムファイル121−1
(更新前)にたいし保守員が修正を加えるとする。
Micro program file 121-1
It is assumed that maintenance personnel make corrections (before updating).

【0053】(5)手順223:パッチ情報シート23
0に従い、マイクロプログラムファイル121−1(更
新前)のアドレス800(16進)のデータを得る。
(5) Step 223: Patch information sheet 23
According to 0, the data of the address 800 (hexadecimal) of the microprogram file 121-1 (before updating) is obtained.

【0054】(6)手順224:パッチ情報シート23
0の旧データと更新前コード232とが一致しているこ
とを確認する。
(6) Step 224: Patch information sheet 23
It is confirmed that the old data of 0 and the pre-update code 232 match.

【0055】(7)手順225:パッチ情報シート23
0の新データに従いマイクロプログラムファイル121
−2(更新後)のように更新する。
(7) Step 225: Patch information sheet 23
Micro program file 121 according to new data of 0
-2 (after updating).

【0056】データ圧縮されていない場合、以上のよう
な従来手順でなんら問題なく部分修正を行うことができ
る。
If the data is not compressed, the partial correction can be performed without any problem by the conventional procedure as described above.

【0057】図5は、マイクロプログラムを圧縮してマ
イクロプログラムファイル121−3に格納してある場
合に、図4で説明した修正手順がいかなる問題を引き起
こすかを説明するものである。
FIG. 5 illustrates what kind of problem the correction procedure described in FIG. 4 causes when the microprogram is compressed and stored in the microprogram file 121-3.

【0058】図4で説明した通り、旧データ201を新
データ211に修正するとする。
As described with reference to FIG. 4, it is assumed that the old data 201 is modified to the new data 211.

【0059】旧コード202を新コード212へ変更す
るのであるが、図4で説明した通りの手順を適用するこ
とはできない。
The old code 202 is changed to the new code 212, but the procedure described in FIG. 4 cannot be applied.

【0060】なぜならば、マイクロプログラムファイル
121−3に格納されているデータは圧縮されているも
のであり、旧コード202のままではないからである。
This is because the data stored in the micro program file 121-3 is compressed and is not the old code 202.

【0061】(1)圧縮処理310:旧コード202を
圧縮アルゴリズムに従って圧縮する。その結果、圧縮旧
データ311を得る。
(1) Compression processing 310: The old code 202 is compressed according to the compression algorithm. As a result, the compressed old data 311 is obtained.

【0062】(2)圧縮処理312:新コード212を
圧縮アルゴリズムに従って圧縮する。その結果、圧縮旧
データ313を得る。
(2) Compression processing 312: The new code 212 is compressed according to the compression algorithm. As a result, the compressed old data 313 is obtained.

【0063】次に、マイクロプログラムファイル121
−3内の圧縮旧データ311のアドレスを求めなければ
ならない。
Next, the micro program file 121
The address of the compressed old data 311 in -3 must be obtained.

【0064】これは、マイクロプログラムアドレス00
0からOFF(16進)までのすべてのマイクロプログ
ラムステップのコードの圧縮結果に依存するので簡単に
はわからない。
This is the microprogram address 00
It is difficult to know because it depends on the compression result of the code of all the microprogram steps from 0 to OFF (hexadecimal).

【0065】(3)圧縮処理計算314:マイクロプロ
グラムファイル121−3(圧縮)を伸長処理を行いな
がら目的とするマイクロプログラムアドレス「100」
が納められているアドレスを計算する。
(3) Compression processing calculation 314: Micro program file 121-3 (compression) is expanded while the target micro program address is "100".
Calculates the address where is stored.

【0066】本例の場合、「0471(16進)」と求
まったものとする。
In the case of this example, it is assumed that "0471 (hexadecimal)" is obtained.

【0067】(4)パッチ情報シート230へ圧縮処理
310、312および圧縮処理計算314で得たデータ
を記入する。
(4) Fill the patch information sheet 230 with the data obtained by the compression processes 310 and 312 and the compression process calculation 314.

【0068】このようにしてえたパッチ情報シート23
0を用いて実際にパッチ修正を実施する手順は、以下の
通りとなる。
The patch information sheet 23 thus obtained
The procedure for actually performing patch correction using 0 is as follows.

【0069】パッチ情報シート230に従い、例えば保
守員が操作卓等を操作して補助記憶装置120を操作
し、マイクロプログラムファイル121−3の修正を試
みる。
According to the patch information sheet 230, for example, a maintenance person operates the auxiliary storage device 120 by operating the operation console or the like, and tries to correct the micro program file 121-3.

【0070】(5)パッチ情報シート230に従い、更
新前マイクロプログラムファイル121−3(圧縮)の
アドレス「0471(16進)」のデータを得る。
(5) According to the patch information sheet 230, the data of the address "0471 (hexadecimal)" of the pre-update microprogram file 121-3 (compression) is obtained.

【0071】(6)パッチ情報シート230の旧データ
と更新前コード311とが一致していることを確認す
る。
(6) Confirm that the old data on the patch information sheet 230 and the pre-update code 311 match.

【0072】(7)パッチ情報シート230の新データ
に従いマイクロプログラムファイル121−3(圧縮)
を更新しようとする。
(7) Micro program file 121-3 (compressed) according to the new data on the patch information sheet 230
Try to update.

【0073】しかし、圧縮新コード313は圧縮旧コー
ド311よりも長い。
However, the compressed new code 313 is longer than the compressed old code 311.

【0074】従って、旧圧縮コード311は新圧縮コー
ド313で置き換えることはできない。
Therefore, the old compression code 311 cannot be replaced with the new compression code 313.

【0075】このように、圧縮されたマイクロプログラ
ムを保持しているマイクロプログラムファイル121へ
は、従来の手順では部分修正は行えない。
As described above, the microprogram file 121 holding the compressed microprogram cannot be partially modified by the conventional procedure.

【0076】次に、図2を用いて本発明がかかる問題点
を如何に解決するかを説明する。
Next, how the present invention solves such a problem will be described with reference to FIG.

【0077】なお、図4で説明した手順でパッチ情報シ
ート230は作成されているものとして説明する。
It is assumed that the patch information sheet 230 has been created by the procedure described with reference to FIG.

【0078】パッチ情報シート230を受け取った保守
員が行うべきことは、操作卓を操作し、パッチ情報ファ
イル122に対し、そのパッチ情報シート230のデー
タを入力することである。
What the maintenance person who receives the patch information sheet 230 should do is to operate the operator console and input the data of the patch information sheet 230 to the patch information file 122.

【0079】この後は、本発明に固有の諸機能が部分修
正を行う。
After that, the functions peculiar to the present invention make partial corrections.

【0080】マイクロプログラムファイル121−4
(圧縮)を読み出すときの補助制御装置110の動作を
以下説明する。
Micro program file 121-4
The operation of the auxiliary control device 110 when reading (compressed) will be described below.

【0081】処理410:補助制御装置110は、転送
・制御手段131を介してマイクロプログラムファイル
121−4(圧縮)のマイクロプログラムを読み出す。
Process 410: The auxiliary control device 110 reads the microprogram of the microprogram file 121-4 (compressed) via the transfer / control means 131.

【0082】読み出したマイクロプログラム(圧縮デー
タ)はデータ伸長手段122で伸長される。
The read microprogram (compressed data) is expanded by the data expansion means 122.

【0083】この読出し動作は、マイクロプログラムフ
ァイル121−4(圧縮)のアドレス「0」から順次進
められる。
This read operation is sequentially started from the address "0" of the micro program file 121-4 (compressed).

【0084】そして、パッチ修正すべき圧縮旧データ3
11のアドレスの処理に移る。
The compressed old data 3 to be patch-corrected
Processing for the address 11 is started.

【0085】データ伸長処理420:処理410でマイ
クロプログラムファイル121(圧縮)から読み出され
た圧縮旧データ311は、伸長手段112で伸長され
る。
Data decompression process 420: The compressed old data 311 read from the microprogram file 121 (compressed) in process 410 is decompressed by the decompression means 112.

【0086】伸長された結果は、アドレスが伸長結果4
12、データが伸長結果413へ渡される。
The decompressed result is the address decompressed result 4
12, the data is passed to the decompression result 413.

【0087】一方、パッチ修正手段111は補助制御装
置110の制御のもと、以下処理を行う。
On the other hand, the patch correction means 111 performs the following processing under the control of the auxiliary control device 110.

【0088】アドレス一致414:パッチ修正手段11
1は、伸長結果412より得られるアドレスと、パッチ
情報ファイル122より転送・制御手段131を介して
読み出したアドレス「0800」とを比較する。
Address match 414: patch correction means 11
1 compares the address obtained from the decompression result 412 with the address “0800” read from the patch information file 122 via the transfer / control means 131.

【0089】この時、圧縮旧データ311が処理されて
いるとすると、処理結果412より得られるアドレスは
「0800」であり、両者のアドレスは一致する。
At this time, if the compressed old data 311 is processed, the address obtained from the processing result 412 is "0800", and both addresses match.

【0090】旧データ一致415:パッチ修正手段11
1は、伸長結果413より得られる伸長後旧データ40
1と、パッチ情報ファイル122より転送・制御手段1
31を介して読み出した旧データ「8D0000」とを
比較する。
Old data match 415: Patch correction means 11
1 is the old data 40 after decompression obtained from the decompression result 413.
1 and transfer / control means 1 from the patch information file 122
The old data “8D0000” read via 31 is compared.

【0091】この時、圧縮旧データ311が処理されて
いるのであるから、処理結果413より得られるデータ
は、「8D0000」であり、両者のデータは一致す
る。
At this time, since the compressed old data 311 has been processed, the data obtained from the processing result 413 is "8D0000", and both data match.

【0092】パッチ修正手段111は、(a)アドレス
一致414で、アドレスが一致し、かつ、(b)旧デー
タ一致415で、旧データが一致した、とき、該部分修
正を適用すべきと判定する。
The patch correction means 111 determines that the partial correction should be applied when (a) the address matches 414, the addresses match, and (b) the old data match 415 matches the old data. To do.

【0093】そこで、新データ変更416:パッチ修正
手段111は、伸長結果413より得られる伸長後旧デ
ータ401の一部「8D0000」を、パッチ情報ファ
イル122より転送・制御手段131を介して読み出し
た新データ「8F0040」で置き換える。
Therefore, the new data change 416: the patch correction means 111 reads out a part “8D0000” of the expanded old data 401 obtained from the expansion result 413 from the patch information file 122 via the transfer / control means 131. Replace with new data “8F0040”.

【0094】処理417:パッチ修正手段111は、伸
長後旧データ401の変更されない部分「000000
8110」は、そのまま使用する。
Process 417: The patch correction means 111 causes the unmodified portion "000000" of the old data 401 after decompression.
8110 ”is used as it is.

【0095】この結果、パッチ修正後データ402が得
られる。
As a result, patch-corrected data 402 is obtained.

【0096】補助制御装置110は、上記のようにして
得られたパッチ修正後データ402を転送・制御手段1
31を介して制御記憶102へ格納する。
The auxiliary control device 110 transfers the patch-corrected data 402 obtained as described above to the transfer / control means 1
It is stored in the control memory 102 via 31.

【0097】以上のようにして、圧縮されたマイクロプ
ログラムの部分修正が可能となる。次に、圧縮されたプ
ログラムファイルのデータ(命令列データ)を部分修正
する場合の実施例について図3を用いて説明する。
As described above, the compressed microprogram can be partially modified. Next, an embodiment in which the data (instruction string data) of the compressed program file is partially modified will be described with reference to FIG.

【0098】図3において、補助記憶装置120はプロ
グラムファイル510とパッチ情報ファイル511を保
持する。
In FIG. 3, the auxiliary storage device 120 holds a program file 510 and a patch information file 511.

【0099】このうち、プログラムファイル510は圧
縮されたプログラムデータを保持し、パッチ情報ファイ
ル511はパッチ修正情報を保持している。
Of these, the program file 510 holds compressed program data, and the patch information file 511 holds patch correction information.

【0100】伸長手段111は転送・制御手段531を
介してプログラムファイル510より圧縮されたプログ
ラムを読出し、伸長する。伸長されたプログラムデータ
は、転送・制御手段532を介してパッチ修正手段11
2へ転送される。
The decompression means 111 reads the compressed program from the program file 510 via the transfer / control means 531 and decompresses it. The decompressed program data is transferred to the patch correction means 11 via the transfer / control means 532.
2 is transferred.

【0101】パッチ修正手段112は転送・制御手段5
32を介してパッチ情報ファイル511より読出したパ
ッチ修正情報をもとに、転送・制御手段533を介して
伸長手段111より転送されてくる伸長後のプログラム
データをパッチ修正する。
The patch correction means 112 is the transfer / control means 5.
Based on the patch correction information read from the patch information file 511 via 32, the expanded program data transferred from the expansion means 111 via the transfer / control means 533 is patch-corrected.

【0102】パッチ修正手段112は、転送・制御手段
534を介してパッチ修正後のプログラムデータを主記
憶装置501へ転送する。
The patch correction means 112 transfers the program data after the patch correction to the main storage device 501 via the transfer / control means 534.

【0103】このようにして、補助記憶装置120内に
圧縮されて保持されているプログラムファイル510の
データは、パッチ情報ファイル511の部分修正情報で
修正された後、主記憶装置501に格納される。
In this way, the data of the program file 510 compressed and held in the auxiliary storage device 120 is stored in the main storage device 501 after being corrected by the partial correction information of the patch information file 511. .

【0104】以上のように、上記各実施例によれば、デ
ータ圧縮処理を必要とせず、低コストで圧縮されたデー
タを修正して利用することができる。
As described above, according to each of the above embodiments, the data compression processing is not required, and the compressed data can be corrected and used at low cost.

【0105】なお、実施例においては、マイクロプログ
ラムファイルおよびプログラムファイルのデータを部分
修正する場合について説明したが、本発明はこれに限定
されるものではなく、例えばデータベースに圧縮して格
納されたデータを部分修正する場合についても同様に適
用することができる。
In the embodiment, the case where the microprogram file and the data of the program file are partially modified has been described, but the present invention is not limited to this. For example, data compressed and stored in a database is stored. The same can be applied to the case of partially modifying.

【0106】[0106]

【発明の効果】以上説明したように本発明によれば、第
2の記憶装置に記憶されたデータを伸長して第1の記憶
装置に記憶させる前に、修正部分を修正して第1の記憶
装置に記憶させるようにしたので、データ圧縮処理を必
要とせず、低コストで圧縮されたデータを修正して利用
することができる。
As described above, according to the present invention, before the data stored in the second storage device is decompressed and stored in the first storage device, the correction portion is modified to correct the first data. Since the data is stored in the storage device, the data compression process is not required, and the compressed data can be modified and used at low cost.

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

【図1】本発明を適用した情報処理装置の一実施例を示
す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of an information processing apparatus to which the present invention has been applied.

【図2】マイクロプログラムファイルの圧縮データを部
分修正する場合の手順を示す説明図である。
FIG. 2 is an explanatory diagram showing a procedure for partially correcting compressed data of a microprogram file.

【図3】プログラムファイルの圧縮データを部分修正す
る場合の手順を示す説明図である。
FIG. 3 is an explanatory diagram showing a procedure for partially modifying compressed data of a program file.

【図4】マイクロプログラムファイルの非圧縮データを
従来方法によって部分修正する手順の説明図である。
FIG. 4 is an explanatory diagram of a procedure of partially correcting uncompressed data of a microprogram file by a conventional method.

【図5】マイクロプログラムファイルの圧縮データを従
来方法によって部分修正する手順の説明図である。
FIG. 5 is an explanatory diagram of a procedure of partially correcting the compressed data of a microprogram file by a conventional method.

【符号の説明】 101…制御装置、102…制御記憶、110…補助制
御装置、111…パッチ修正手段、112…伸長手段、
120…補助記憶装置、121…マイクロプログラムフ
ァイル、122…パッチ情報ファイル、510…プログ
ラムファイル、511…パッチ情報ファイル。
[Explanation of reference numerals] 101 ... Control device, 102 ... Control storage, 110 ... Auxiliary control device, 111 ... Patch correction means, 112 ... Decompression means,
120 ... Auxiliary storage device, 121 ... Micro program file, 122 ... Patch information file, 510 ... Program file, 511 ... Patch information file.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 第1の記憶装置に転送記憶させるデータ
を圧縮して記憶した第2の記憶装置と、この第2の記憶
装置に記憶されたデータを読出した後、伸長して前記第
1の記憶装置に記憶させるデータ伸長手段とを有し、前
記第1の記憶装置に記憶されたデータを用いて情報処理
を行う情報記憶装置において、 前記第1の記憶装置に記憶させるデータの部分修正デー
タを保持する修正データ保持手段と、前記データ伸長手
段で伸長されたデータと前記部分修正データとを比較
し、両者が同一記憶アドレスに関するデータであれば前
記データ伸長手段で伸長されたデータに代えて部分修正
データを前記第1の記憶装置に記憶させるデータ修正手
段とを備えることを特徴とする情報処理装置。
1. A second storage device in which data to be transferred and stored in a first storage device is compressed and stored, and data stored in the second storage device is read out and then expanded to obtain the first data. A data decompression unit for storing the data in the first storage device and performing information processing using the data stored in the first storage device. Partial correction of the data stored in the first storage device. The correction data holding means for holding data is compared with the data expanded by the data expansion means and the partial correction data, and if both are data relating to the same storage address, the data expanded by the data expansion means is replaced And a data correction unit for storing the partial correction data in the first storage device.
【請求項2】 前記データは、マイクロコードまたは命
令列データであることを特徴とする請求項1記載の情報
処理装置。
2. The information processing apparatus according to claim 1, wherein the data is microcode or instruction string data.
JP6176284A 1994-07-28 1994-07-28 Information processor Pending JPH0844551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6176284A JPH0844551A (en) 1994-07-28 1994-07-28 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6176284A JPH0844551A (en) 1994-07-28 1994-07-28 Information processor

Publications (1)

Publication Number Publication Date
JPH0844551A true JPH0844551A (en) 1996-02-16

Family

ID=16010896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6176284A Pending JPH0844551A (en) 1994-07-28 1994-07-28 Information processor

Country Status (1)

Country Link
JP (1) JPH0844551A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330712B1 (en) * 1997-11-12 2001-12-11 Nec Corporation Compressed data patch system
WO2004034250A1 (en) * 2002-10-08 2004-04-22 Matsushita Electric Industrial Co., Ltd. Program updating method and terminal device
CN100339823C (en) * 2002-10-08 2007-09-26 松下电器产业株式会社 Program updating method and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6330712B1 (en) * 1997-11-12 2001-12-11 Nec Corporation Compressed data patch system
WO2004034250A1 (en) * 2002-10-08 2004-04-22 Matsushita Electric Industrial Co., Ltd. Program updating method and terminal device
CN100339823C (en) * 2002-10-08 2007-09-26 松下电器产业株式会社 Program updating method and terminal device

Similar Documents

Publication Publication Date Title
US6076134A (en) Memory patching device
JP2868543B2 (en) Computer equipment
JPH02214994A (en) Ic card
US7188278B1 (en) Method, system, and apparatus for utilizing compressed program code in the boot block portion of a computer BIOS
US9391636B2 (en) Method and system
JPH0844551A (en) Information processor
JPH11143704A (en) Compressed data patch correction system
CN112083944A (en) System upgrading device and method for Linux equipment
JPH0394377A (en) Map file updating system
JP2790594B2 (en) How to compress and decompress database records
JP2994268B2 (en) Information processing device
JP3715631B2 (en) Information processing apparatus, CPU frequency control method, and program
JPH064167A (en) Restoring system for fault of disk medium
JP4066406B2 (en) File system management method, management method, management program, and storage medium
JP4561028B2 (en) START DEVICE, COMPUTER START PROGRAM, RECORDING MEDIUM, AND COMPUTER START METHOD
JPH11212846A (en) Data retreat restoration method
JPH09219648A (en) File processor
KR20000073581A (en) Embedded system and its operating method
JPH04160537A (en) Information processor
JP2001092713A (en) Device and method for writing data
JP2000137634A (en) Electronic compression and storage device
JP2776773B2 (en) Data compression / decompression device and data compression / decompression method
CN113296830A (en) Parameter configuration and data synchronization method in time-frequency time system embedded application
JP2004013790A5 (en)
JP3166690B2 (en) Data transfer system, data transfer method, and recording medium recording data transfer program