JPH06149665A - Expansive reading method for compressed program data - Google Patents

Expansive reading method for compressed program data

Info

Publication number
JPH06149665A
JPH06149665A JP4302502A JP30250292A JPH06149665A JP H06149665 A JPH06149665 A JP H06149665A JP 4302502 A JP4302502 A JP 4302502A JP 30250292 A JP30250292 A JP 30250292A JP H06149665 A JPH06149665 A JP H06149665A
Authority
JP
Japan
Prior art keywords
program
page
stored
storage device
data
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
JP4302502A
Other languages
Japanese (ja)
Inventor
Kiyoshi Ito
清 伊藤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4302502A priority Critical patent/JPH06149665A/en
Publication of JPH06149665A publication Critical patent/JPH06149665A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To provide a compressed program data expansive reading method capable of expansively reading out only a required page out of program data compressed and stored in a secondary storage device. CONSTITUTION:When a page fault is generated, an exceptional processing control means 49e checks whether a page of a program or data generating the page fault is stored in a buffer storage device 47 or not, and when the page is not stored, a reading means 49a reads out a program block including the page concerned from the secondary storage device 43 and temporarily stores the read data in the device 47. When the means 49e confirms the existence of the page concerned in the means 47, an expansive reading means 49b reads out the page from the means 47 and stores the read page in a prescribed area of a main storage device 41 while expanding the contents of the page.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、必要に応じてプログラ
ムの実行時にページングを行う仮想記憶のデマンドペー
ジング方式を利用し、二次記憶装置に圧縮して格納され
ているプログラム・データの中から必要とするプログラ
ム・データのページのみを伸張読込みすることができる
圧縮済みプログラム・データの伸張読込み方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention utilizes a demand paging method of virtual storage that performs paging when a program is executed as needed, and selects from among program data compressed and stored in a secondary storage device. The present invention relates to a method for decompressing and reading compressed program data capable of decompressing and reading only a page of required program data.

【0002】[0002]

【従来の技術】実行形式プログラムやデータを二次記憶
装置に格納する場合には、二次記憶装置の使用領域を少
なくし、二次記憶装置の見掛上の記憶容量を増加させる
ために実行形式プログラムやデータを圧縮して格納する
ことが行われている。図5は従来の実行形式プログラム
の伸張読込み方法に使用される装置のブロック図であ
る。図において、1はCPUが直接読み書きする実行形
式プログラムが格納される主記憶装置、3はプログラム
が格納される二次記憶装置であり、磁気ディスク等から
構成されている。5は主記憶装置1と二次記憶装置3と
の間のプログラムの転送を行う制御部であり、制御部5
は圧縮手段5a、伸張プログラム付加手段5b、書込手
段5c、読込手段5d、およびプログラム起動手段5e
を備えている。
2. Description of the Related Art When an executable program or data is stored in a secondary storage device, it is executed to reduce the used area of the secondary storage device and increase the apparent storage capacity of the secondary storage device. Format programs and data are compressed and stored. FIG. 5 is a block diagram of an apparatus used in a conventional method of decompressing and reading an executable program. In the figure, reference numeral 1 is a main storage device in which an executable program directly read and written by the CPU is stored, and 3 is a secondary storage device in which the program is stored, which is composed of a magnetic disk or the like. Reference numeral 5 denotes a control unit that transfers a program between the main storage device 1 and the secondary storage device 3.
Is a compression means 5a, a decompression program addition means 5b, a writing means 5c, a reading means 5d, and a program starting means 5e.
Is equipped with.

【0003】圧縮手段5aは繰り返し出現する文字をコ
ード化等することによって実行形式プログラムを圧縮す
る。伸張プログラム付加手段5bは圧縮されたプログラ
ムを元の状態に伸張するための伸張プログラムを圧縮さ
れたプログラムに付加する。書込手段5cは書き込み指
示のあったプログラムを二次記憶装置3の所定の領域に
書き込む。読込手段5dは読み出し指示があったプログ
ラムを二次記憶装置3から読み出して主記憶装置1に格
納する。プログラム起動手段5eは主記憶装置1に格納
されているプログラムを起動する。
The compression means 5a compresses the executable program by encoding the characters that appear repeatedly. The decompression program adding means 5b adds a decompression program for decompressing the compressed program to the original state to the compressed program. The writing unit 5c writes the program instructed to write in a predetermined area of the secondary storage device 3. The reading means 5d reads the program instructed to be read from the secondary storage device 3 and stores it in the main storage device 1. The program activation means 5e activates the program stored in the main storage device 1.

【0004】図6および図7は図5に示した装置の処理
を示すフローチャートであり、図6はプログラムの格納
の工程を示し、図7はプログラムの起動の工程を示して
いる。図5乃至図7に基づいて従来のプログラムの伸張
読込み方法をあるプログラムAを格納、起動する場合を
例に挙げて説明する。まず、プログラムAの格納の工程
について説明する。プログラムAの格納指示があると、
圧縮手段5aはプログラムAを受け取り圧縮を行う(S
11)。プログラムA全体の圧縮が完了したかどうかを
確認し(S13)、圧縮が完了したことを確認すると、
伸張プログラム付加手段5bがプログラム伸張用のプロ
グラムを圧縮されたプログラムAに付加する(S1
5)。伸張用のプログラムが付加されたプログラムAは
書込手段5cによって二次記憶装置3の所定の領域に書
き込まれて格納される(S17)。
FIGS. 6 and 7 are flowcharts showing the processing of the apparatus shown in FIG. 5, FIG. 6 shows the process of storing the program, and FIG. 7 shows the process of starting the program. A conventional program decompression reading method will be described with reference to FIGS. 5 to 7 by taking as an example the case where a certain program A is stored and activated. First, the process of storing the program A will be described. When there is an instruction to store program A,
The compression means 5a receives the program A and compresses it (S
11). After confirming whether the compression of the entire program A is completed (S13), and confirming that the compression is completed,
The decompression program adding means 5b adds the program for program decompression to the compressed program A (S1).
5). The program A to which the decompression program is added is written and stored in a predetermined area of the secondary storage device 3 by the writing means 5c (S17).

【0005】次に、プログラムAの起動の工程について
説明する。プログラム起動手段5eはプログラムAの起
動指示を受けると(S21)、二次記憶装置3を検索し
てプログラムAの有無を確認する(S23)。プログラ
ムAが二次記憶装置3に無い場合にはその旨のメッセー
ジを出力し(S25)、次の指示を待つ。プログラムA
が二次記憶装置3内に在る場合は、読込手段5dがプロ
グラムAを読み出して、主記憶装置1の所定の領域に書
き込む(S27)。主記憶装置1への書き込みが完了す
ると、伸張用プログラムに実行が移り、プログラムAが
元の実行形式に伸張され(S29)、伸張が完了したか
どうかを確認し(S31)、完了したことを確認すると
プログラムAに実行が移る(S33)。伸張完了が確認
されない場合には、主記憶装置1の記憶領域に空き領域
があるか否かを確認し(S35)、空き領域が無い場合
にはエラーメッセージを出力する(S37)。S35の
確認において空き領域が有れば伸張処理を続行する。
Next, the process of starting the program A will be described. When the program activation means 5e receives the instruction to activate the program A (S21), it searches the secondary storage device 3 to confirm the presence or absence of the program A (S23). If the program A is not in the secondary storage device 3, a message to that effect is output (S25) and the next instruction is awaited. Program A
In the secondary storage device 3, the reading means 5d reads the program A and writes it in a predetermined area of the main storage device 1 (S27). When the writing to the main storage device 1 is completed, the execution is transferred to the decompression program, the program A is decompressed to the original execution format (S29), and it is confirmed whether the decompression is completed (S31). If confirmed, the execution shifts to the program A (S33). If the completion of decompression is not confirmed, it is confirmed whether or not there is a free area in the storage area of the main storage device 1 (S35), and if there is no free area, an error message is output (S37). If there is a free area in the confirmation of S35, the expansion processing is continued.

【0006】また、文字フォントやかな漢字変換辞書等
の読込み専用データであって圧縮して格納されたものを
起動する場合には各処理プログラムによって伸張を行っ
ていた。
Further, when activating read-only data such as a character font or a kana-kanji conversion dictionary which is stored in a compressed form, it is expanded by each processing program.

【0007】[0007]

【発明が解決しようとする課題】上記のような従来の圧
縮済みプログラム・データの伸張読込み方法では、下記
のような問題点があった。第1に圧縮したプログラムA
に伸張用プログラムを付加して格納しなければならない
ために伸張用プログラムのサイズ分だけプログラムのサ
イズが大きくなり、二次記憶装置3の記憶領域を無駄に
していた。第2に圧縮して格納されたプログラムAの読
み出しは、プログラムA全体を読み出して伸張するた
め、主記憶装置1にプログラムA全体を伸張した状態で
格納するだけの領域がなければ伸張が完了せず結局プロ
グラムAを実行することができなかった。しかも、プロ
グラムA全体を伸張した状態で主記憶装置1に格納でき
るか否かは実際に伸張を実行しなければ判断できないの
で、伸張したが格納しきれないような場合は結果として
無駄な読込みを行う場合が生じていた。第3にデータを
伸張する場合は読み出すデータが圧縮されていることを
処理プログラムが意識して行わなければならないため、
各処理プログラムに伸張用のプログラムを付属させなけ
ればならなかった。
The above-described conventional decompression reading method for compressed program data has the following problems. First compressed program A
Since the decompression program has to be added to and stored in, the size of the program is increased by the size of the decompression program, and the storage area of the secondary storage device 3 is wasted. Secondly, since the entire program A is read and expanded when reading the compressed and stored program A, if there is no area in the main memory 1 to store the entire program A in the expanded state, the expansion is completed. After all, Program A could not be executed. Moreover, it cannot be determined whether or not the entire program A can be stored in the main storage device 1 in a decompressed state unless the decompression is actually executed. There was a case to do. Third, when decompressing data, the processing program must be aware that the data to be read is compressed,
A decompression program had to be attached to each processing program.

【0008】本発明はかかる課題を解決するためになさ
れたものであり、二次記憶装置の格納領域を有効に使用
すると共に、プログラム・データ実行時に、そのプログ
ラム・データを伸張した結果が総て格納できるだけの主
記憶装置の空領域が無くてもプログラム・データを実行
することができる圧縮済みプログラム・データの伸張読
込み方法を提供することを目的としている。
The present invention has been made to solve the above problems, and effectively uses the storage area of the secondary storage device, and at the time of executing program data, all the results of expanding the program data are An object of the present invention is to provide a method for decompressing and reading compressed program data that can execute program data even if there is no free area in the main storage device that can be stored.

【0009】[0009]

【課題を解決するための手段】本発明にかかる圧縮済み
プログラム・データの伸張読込み方法は、ページフォル
トが発生すると、ページフォルトの原因となったページ
がバッファ記憶手段に格納されているかどうかを確認
し、格納されていないときは該ページを含んだプログラ
ムのブロックを、プログラム又はデータが圧縮されて格
納されている二次記憶手段から読み出して一旦バッファ
記憶手段に格納する工程と、前記バッファ記憶手段に前
記ページが格納されていることを確認した後、前記ペー
ジが格納される物理ページを割り当て、割り当て結果を
論理空間にマッピングする工程と、前記バッファ記憶手
段に格納されている前記ページを読み出して伸張し、前
記マッピングによって特定された物理ページに伸張され
た前記ページを書き込む工程とを備えたものである。
According to the method of decompressing and reading compressed program data according to the present invention, when a page fault occurs, it is confirmed whether the page causing the page fault is stored in the buffer storage means. If not stored, the block of the program including the page is read from the secondary storage means in which the program or data is compressed and stored and temporarily stored in the buffer storage means, and the buffer storage means. After confirming that the page is stored in, the step of allocating a physical page in which the page is stored and mapping the allocation result in a logical space, and reading the page stored in the buffer storage means Decompress and write the decompressed page to the physical page identified by the mapping It is obtained by a free process.

【0010】[0010]

【作用】伸張手段はオペレーティングシステムに付属
し、圧縮されたプログラムまたはデータを元の実行形式
に伸張する。このとき、プログラムまたはデータは必要
なページのみ伸張手段によって伸張されるので実際には
実行されないプログラムの部分や不必要なデータを伸張
することがない。
The expansion means is attached to the operating system and expands the compressed program or data to the original execution format. At this time, since the program or data is expanded only by a necessary page by the expansion means, a part of the program which is not actually executed and unnecessary data are not expanded.

【0011】[0011]

【実施例】図1は本発明の一実施例に使用する装置の特
徴部分のブロック図である。図において、41はCPU
が直接読み書きする主記憶装置であり、41a,41b
…は主記憶装置41の記憶領域を適当な容量に分割した
ページフレームである。43は磁気ディスク等からなる
二次記憶装置であり、二次記憶装置43にはブロック4
3a,43b…からなるプログラムが格納されている。
45はあるプログラムのページが主記憶装置41に格納
されているかどうか、格納されているとすればどのペー
ジフレームに格納されているかという情報が入っている
ページテーブルである。47は二次記憶装置43と主記
憶装置41との間にあって、圧縮されたプログラム・デ
ータを一時的に格納するバッファ記憶装置である。
1 is a block diagram of a characteristic portion of an apparatus used in an embodiment of the present invention. In the figure, 41 is a CPU
41a, 41b, which is the main memory device for direct reading and writing.
Is a page frame obtained by dividing the storage area of the main storage device 41 into an appropriate capacity. Reference numeral 43 denotes a secondary storage device including a magnetic disk or the like, and the secondary storage device 43 has a block 4
A program including 3a, 43b, ... Is stored.
Reference numeral 45 is a page table which contains information as to whether a page of a certain program is stored in the main storage device 41, and if so, in which page frame it is stored. A buffer storage device 47 is provided between the secondary storage device 43 and the main storage device 41 and temporarily stores the compressed program data.

【0012】49は主記憶装置41と二次記憶装置43
との間のプログラム・データの転送を行う制御部であ
り、制御部49は読込手段49a、伸張読込手段49
b、圧縮書込手段49c、およびプログラム起動手段4
9dを備えている。読込手段49aは二次記憶装置43
に格納されているプログラム・データを読み出してバッ
ファ記憶手段47に格納する。伸張読込手段49bはバ
ッファ記憶手段47に格納されているプログラム・デー
タを読み出して元の状態に伸張し、主記憶装置41へ書
き込む。圧縮書込手段49cは主記憶装置41からプロ
グラム・データを読み出して圧縮し、二次記憶装置43
に格納する。プログラム起動手段49dは、二次記憶装
置43上のプログラムファイルを参照してそのプログラ
ムを実行させる為に必要なページテーブルを作成し、そ
のプログラムを論理アドレス空間へマッピングし、その
プログラムを起動する。
Reference numeral 49 is a main storage device 41 and a secondary storage device 43.
Is a control unit for transferring program data to and from the control unit 49. The control unit 49 includes a reading unit 49a and an expansion reading unit 49.
b, compression writing means 49c, and program starting means 4
It is equipped with 9d. The reading means 49a is the secondary storage device 43.
The program data stored in is stored in the buffer storage means 47. The decompression read means 49b reads the program data stored in the buffer storage means 47, decompresses it to the original state, and writes it in the main storage device 41. The compression writing means 49c reads the program data from the main storage device 41 and compresses it, and the secondary storage device 43
To store. The program activation means 49d refers to the program file on the secondary storage device 43, creates a page table necessary for executing the program, maps the program to a logical address space, and activates the program.

【0013】図2乃至図4は図1に示した装置の処理を
示すフローチャートであり、それぞれ図2はプログラム
の格納の工程、図3はプログラム起動の工程、図4はプ
ログラムの読込みの工程を示している。図1乃至図4に
基づいて本発明のプログラムの伸張読込み方法を、ある
プログラムBを格納、読込みする場合を例に挙げて説明
する。まず、プログラムBの格納の工程を図2に基づい
て説明する。プログラムBの格納指示があると、圧縮書
込手段49cは主記憶装置41からプログラムBを読み
出して圧縮を開始し(S61)、プログラムB全体の圧
縮が完了したかどうかを確認する(S63)。圧縮書込
手段49cは圧縮の完了を確認後圧縮されたプログラム
Bを二次記憶装置43の所定の領域に格納する(S6
5)。
2 to 4 are flowcharts showing the processing of the apparatus shown in FIG. 1. FIG. 2 shows a program storing step, FIG. 3 shows a program starting step, and FIG. 4 shows a program reading step. Shows. A program decompression reading method according to the present invention will be described with reference to FIGS. 1 to 4 by taking a case of storing and reading a certain program B as an example. First, the process of storing the program B will be described with reference to FIG. When there is an instruction to store the program B, the compression writing means 49c reads the program B from the main storage device 41 and starts compression (S61), and confirms whether the compression of the entire program B is completed (S63). After confirming the completion of compression, the compression writing means 49c stores the compressed program B in a predetermined area of the secondary storage device 43 (S6).
5).

【0014】次に、プログラムBの起動の工程を図3に
基づいて説明する。本発明では必要に応じてプログラム
の実行時にページングを行うデマンドページング方式を
採用しているので、プログラムBの起動時にはプログラ
ムBは主記憶装置41上には読み込まれず、プログラム
が実行されるに従って必要になった時点で必要なページ
のみが読み込まれる。プログラムの起動要求があると
(S71)、プログラム起動手段49dが二次記憶装置
43を検索してプログラムBの有無を確認する(S7
3)。プログラムBが二次記憶装置43に無い場合はそ
の旨のメッセージを出力し(S74)、次の要求を待
つ。プログラムBがある場合は、プログラム起動手段4
9dはページテーブルを作成し、プログラムBを論理ア
ドレス空間にマッピングする。次に、論理アドレス空間
にマッピングされたプログラムBへ実行を移す(S7
7)。
Next, the process of starting the program B will be described with reference to FIG. In the present invention, the demand paging method is adopted in which paging is performed when the program is executed as needed. Therefore, when the program B is started up, the program B is not read into the main storage device 41, and is required as the program is executed. Only the required pages will be loaded at the time. When a program activation request is issued (S71), the program activation means 49d searches the secondary storage device 43 to confirm the presence or absence of the program B (S7).
3). If the program B does not exist in the secondary storage device 43, a message to that effect is output (S74), and the next request is awaited. If there is a program B, the program starting means 4
9d creates a page table and maps program B into the logical address space. Next, the execution is transferred to the program B mapped in the logical address space (S7).
7).

【0015】プログラムBが起動されプログラムBへ実
行が移ると、ページテーブルにページが登録されている
かどうかを調べるが、この段階ではいずれのページもペ
ージテーブルに登録されていないのでページフォルトが
起こり、図4に示す例外処理が実行される。
When the program B is started and the execution is shifted to the program B, it is checked whether or not the page is registered in the page table. At this stage, no page is registered in the page table, so a page fault occurs, The exception process shown in FIG. 4 is executed.

【0016】以下に図4の例外処理について説明する。
ページフォルトが発生すると、例外処理制御手段49e
は読み出し指示のあったページがバッファ記憶装置47
に格納されているかどうかを確認し(S81)、格納さ
れていない場合は読込手段49aによって二次記憶装置
43から該当するページを含んだブロック読み出してバ
ッファ記憶装置47に格納する(S83)。例外処理制
御手段49eはバッファ記憶装置47に該当ページが在
ることを確認すると、バッファ記憶装置47に在るペー
ジが格納されるべき物理ページを割り当て、割り当て結
果をページテーブル45に書き込む(S85)。
The exception processing of FIG. 4 will be described below.
When a page fault occurs, exception handling control means 49e
Is the buffer storage device 47.
(S81), and if not, the reading means 49a reads the block including the corresponding page from the secondary storage device 43 and stores it in the buffer storage device 47 (S83). When the exception processing control means 49e confirms that the corresponding page exists in the buffer storage device 47, it allocates the physical page in which the page in the buffer storage device 47 should be stored, and writes the allocation result in the page table 45 (S85). .

【0017】次に、伸張読込手段49がバッファ記憶装
置47内の要求のあったページを読み出して元の状態に
伸張し、割り当てられた物理ページにそのデータを書き
込む(S87)。この書き込みが完了すると、例外処理
は終了し、ページフォルトを起こしたプログラムの実行
が再開される(S89)。
Next, the decompression reading means 49 reads the requested page in the buffer storage device 47, decompresses it to the original state, and writes the data to the allocated physical page (S87). When this writing is completed, the exception processing ends, and the execution of the program that caused the page fault is restarted (S89).

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、読
込み指示のあったプログラムやデータをページ毎に読み
出して伸張するようにしたので、実際には実行されない
プログラムの部分を伸張する必要がなく実行効率がよ
い。また、プログラムやデータの伸張を統一的に行うよ
うにしたので、各処理プログラムは自分自身の伸張やデ
ータの伸張を考慮する必要がなく、圧縮の工程が容易に
なる。さらに、プログラムを圧縮する際に伸張用プログ
ラムを付属させる必要がなくなるので、二次記憶手段の
記憶容量を効率的に使用することができる。
As described above, according to the present invention, the program or data for which a read instruction has been issued is read page by page and expanded. Therefore, it is necessary to expand the portion of the program that is not actually executed. There is no execution efficiency. Further, since the programs and data are decompressed uniformly, each processing program does not need to consider the decompression of its own or the decompression of data, and the compression process becomes easy. Furthermore, since it is not necessary to attach a decompression program when compressing the program, the storage capacity of the secondary storage means can be used efficiently.

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

【図1】本発明の一実施例に使用する装置の特徴部分の
ブロック図である。
FIG. 1 is a block diagram of a characteristic part of an apparatus used in an embodiment of the present invention.

【図2】図1によるプログラムの格納工程の処理を示す
フローチャートである。
FIG. 2 is a flowchart showing a process of storing a program according to FIG.

【図3】図1によるプログラムの起動工程の処理を示す
フローチャートである。
FIG. 3 is a flowchart showing a process of starting a program according to FIG.

【図4】図1によるプログラムの読込み工程(例外処
理)を示すフローチャートである。
FIG. 4 is a flowchart showing a program reading process (exception process) according to FIG. 1;

【図5】従来のプログラムの伸張読込み方法に使用され
る装置のブロック図である。
FIG. 5 is a block diagram of an apparatus used in a conventional program decompression reading method.

【図6】図5のプログラムの格納の工程の処理を示すフ
ローチャートである。
FIG. 6 is a flowchart showing a process of storing a program of FIG.

【図7】図5のプログラムの起動工程の処理を示すフロ
ーチャートである。
FIG. 7 is a flowchart showing a process of a starting process of the program of FIG.

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

41 主記憶装置(主記憶手段) 41a.41b ページフレーム 43 二次記憶装置(二次記憶手段) 43a,43b プログラムファイルを構成するブロッ
ク 45 ページテーブル 47 バッファ記憶装置(バッファ記憶手段) 49a 読込手段 49b 伸張読込手段 49c 圧縮書込手段 49d プログラム起動手段 49e 例外処理制御手段
41 main storage device (main storage means) 41a. 41b Page frame 43 Secondary storage device (secondary storage means) 43a, 43b Blocks constituting program file 45 Page table 47 Buffer storage device (buffer storage means) 49a Reading means 49b Decompression reading means 49c Compression writing means 49d Program activation Means 49e Exception handling control means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 必要に応じてプログラムの実行時にペー
ジングを行う仮想記憶のデマンドページング方式による
プログラム読込み方法において、 ページフォルトが発生すると、ページフォルトの原因と
なったページがバッファ記憶手段に格納されているかど
うかを確認し、格納されていないときは該ページを含ん
だプログラムのブロックを、プログラム又はデータが圧
縮されて格納されている二次記憶手段から読み出して一
旦バッファ記憶手段に格納する工程と、 前記バッファ記憶手段に前記ページが格納されているこ
とを確認した後、前記ページが格納される物理ページを
割り当て、割り当て結果を論理空間にマッピングする工
程と、 前記バッファ記憶手段に格納されている前記ページを読
み出して伸張し、前記マッピングによって特定された物
理ページに伸張された前記ページを書き込む工程とを備
えた圧縮済みプログラム・データの伸張読込み方法。
1. In a program reading method by a demand paging method of a virtual memory that performs paging when a program is executed as needed, when a page fault occurs, the page causing the page fault is stored in a buffer storage means. Whether or not it is stored, and if not stored, the block of the program including the page is read from the secondary storage means in which the program or data is stored in a compressed state and temporarily stored in the buffer storage means, Confirming that the page is stored in the buffer storage means, allocating a physical page in which the page is stored, and mapping the allocation result in a logical space; and storing the page in the buffer storage means. Read the page, decompress it, and identify it by the mapping Writing the decompressed physical page to a stored physical page, and decompressing the compressed program data.
JP4302502A 1992-11-12 1992-11-12 Expansive reading method for compressed program data Pending JPH06149665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4302502A JPH06149665A (en) 1992-11-12 1992-11-12 Expansive reading method for compressed program data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4302502A JPH06149665A (en) 1992-11-12 1992-11-12 Expansive reading method for compressed program data

Publications (1)

Publication Number Publication Date
JPH06149665A true JPH06149665A (en) 1994-05-31

Family

ID=17909738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4302502A Pending JPH06149665A (en) 1992-11-12 1992-11-12 Expansive reading method for compressed program data

Country Status (1)

Country Link
JP (1) JPH06149665A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017537384A (en) * 2014-10-29 2017-12-14 クアルコム,インコーポレイテッド An efficient decompression locality system for demand paging

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017537384A (en) * 2014-10-29 2017-12-14 クアルコム,インコーポレイテッド An efficient decompression locality system for demand paging

Similar Documents

Publication Publication Date Title
JPH06149665A (en) Expansive reading method for compressed program data
JPH1027127A (en) Data compression storage arithmetic unit
JP6080492B2 (en) Information processing apparatus, activation method, and program
JPWO1991016685A1 (en) printer
JPH07129079A (en) How to install the programming loader
JPH10207662A (en) Image processor, image processing method, and image processing program storage medium
JP2000163264A (en) Program storage device for CPU
JP6080490B2 (en) Information processing apparatus, activation method, and program
JPH01319870A (en) image file device
JP2008193146A (en) Decoding circuit
JP2003122647A (en) Information processing equipment
JP6080491B2 (en) Information processing apparatus, activation method, and program
JP2001166945A (en) Semiconductor device and compression program generation method
JPH07191822A (en) Data storage device and data system
JPH04160537A (en) Information processor
JPH04364547A (en) Information storage system of auxiliary storage device
JPH05165691A (en) File control system
JP3146197B2 (en) Data transfer device and storage device
JPH05298183A (en) Virtual storage processor
JP2005038180A (en) Program starting method, program starting program, computer-readable storage medium
JPH06303439A (en) Image data processor
JPH08230247A (en) Page printer controller
JPH02308329A (en) Program correcting system
JPH10177491A (en) Synchronous memory file device and its method
JPH03112668A (en) printing device