JPS62169243A - Program loading system - Google Patents

Program loading system

Info

Publication number
JPS62169243A
JPS62169243A JP61009963A JP996386A JPS62169243A JP S62169243 A JPS62169243 A JP S62169243A JP 61009963 A JP61009963 A JP 61009963A JP 996386 A JP996386 A JP 996386A JP S62169243 A JPS62169243 A JP S62169243A
Authority
JP
Japan
Prior art keywords
program
area
storage device
virtual space
memory device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61009963A
Other languages
Japanese (ja)
Inventor
Katsushi Asami
可津志 浅見
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61009963A priority Critical patent/JPS62169243A/en
Publication of JPS62169243A publication Critical patent/JPS62169243A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To load a program at the program execution time quickly by providing a function which loads a program on an external memory device to a main memory device and a function which controls plural virtual storage spaces. CONSTITUTION:A program 3a in the external memory device 3 is read into the main memory device 4 by a prepreparation program 5. When the loading of the program 3a is requested in a virtual space 10, a copy program 6 refers to the program 3a existing in the main memory device 4 through an area 11. The second area 12 is secured, and contents of the program 3a are copied to the area 12. Address information included in the contents of the program 3a is rearranged in accordance with the position of the second area 12. Thus, the load processing is performed by data movement on the main memory device and the virtual space to shorten the loading time.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、外部記憶装置上のプログラムを主記憶装置
上にロードして実行する機能と複数の仮想空間を管理す
る仮想記憶制御機能とを有する情報処理システムにおけ
る、高速なプログラムロード方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] This invention provides a function to load and execute a program on an external storage device onto a main storage device, and a virtual storage control function to manage a plurality of virtual spaces. The present invention relates to a high-speed program loading method for an information processing system having a computer.

[従来の技術] 第2図は従来のプログラムロード方式を示すブロック図
である0図において、(1)は仮想空間、(2)は仮想
空間(1)からのロード要求に応じて仮想空間上の領域
(1a)にプログラム(3a)のロードを行うロードプ
ログラム、(3)はプログラム(3a)が記憶された外
部記憶装置である。
[Prior Art] FIG. 2 is a block diagram showing a conventional program loading method. In FIG. (3) is an external storage device in which the program (3a) is stored.

従来のプログラムロード方式は上記のように構成され、
仮想空間(1)において特定のプログラム(3&)を実
行する場合は、実行に先立って外部記憶袋ff(3)か
ら該当するプログラム(3a)を仮想空間上の領域(1
a)に読み込む必要がある0通常、このプログラム(3
a)のロード処理は、実行時にロードプログラム(2)
を介して必要に応じて行なわれるようになっている。
The conventional program loading method is configured as above,
When executing a specific program (3&) in the virtual space (1), the corresponding program (3a) is transferred from the external storage bag ff (3) to the area (1) in the virtual space prior to execution.
a) Normally this program (3
The load process in a) is executed by the load program (2) at the time of execution.
This is done as necessary via .

[発明が解決しようとする問題点] 従来のプログラムロード方式は以上のように、実行に必
要となった時点で外部記憶装置(3)上めプログラム(
3a)を仮想空間(1)上の領域(1a)に読み込む処
理が行なわれていたので、このロード処理に時間がかか
り、実行時の性能を低下させるという問題点があった。
[Problems to be Solved by the Invention] As described above, the conventional program loading method loads the upper program (
3a) into the area (1a) on the virtual space (1), this loading process takes time and causes a problem in that performance during execution is degraded.

この発明は上記のような問題点を解決するためになされ
たもので、仮想空間からのロード要求時に、外部記憶装
置からプログラムを読み込むというロード処理をなくし
、高速なプログラムロード方式を得ることを目的とする
This invention was made to solve the above-mentioned problems, and aims to provide a high-speed program loading method by eliminating the loading process of reading a program from an external storage device when a load request is made from a virtual space. shall be.

[問題点を解決するための手段] この発明に係るプログラムロード方式は、外部記憶装置
に記憶されたプログラムを主記憶装置の一部に読み込む
ための前準備プログラムと、主記憶装置の一部に読み込
まれたプログラムを参照する仮想空間上の第1の領域と
、この第1の領域を介して参照されたプログラムを仮想
空間上の第2の領域に複写するための複写プログラムと
を備えたものである。
[Means for Solving the Problems] The program loading method according to the present invention includes a preparatory program for loading a program stored in an external storage device into a part of the main storage device, and a preparatory program for loading a program stored in an external storage device into a part of the main storage device. A device comprising a first area in a virtual space that refers to a loaded program, and a copying program that copies the program referenced through the first area to a second area in the virtual space. It is.

[作用] この発明においては、前準備プログラムが予め外部記憶
装置上のプログラムを主記憶装置の一部に読み込んでお
き、プログラムのロード要求時に、複写プログラムが、
主記憶装置の一部に予め読み込まれたプログラムをロー
ド要求を出した仮想空間より第1の領域を介して参照可
能とし、更に、第1の領域を介して参照されたプログラ
ムを第2の領域にロードする。
[Operation] In the present invention, the preparatory program loads the program on the external storage device into a part of the main storage device in advance, and when the program is requested to be loaded, the copy program
A program loaded in advance into a part of the main storage device can be referenced via a first area from the virtual space that issued the load request, and the program referenced via the first area can be referenced via a second area. Load into.

[実施−] 以下、この発明の一実施例を図について説明する。第1
図はこの発明の実施例を示すブロック図である0図にお
いて、(3)は前述の従来方式と同様のものであり、(
10)は仮想空間(1)に対応している。
[Implementation] An embodiment of the present invention will be described below with reference to the drawings. 1st
In Figure 0, which is a block diagram showing an embodiment of the present invention, (3) is similar to the conventional method described above;
10) corresponds to virtual space (1).

(4)は主記憶装置の一部、(5)はロード要求に先立
って、予め外部記憶装置(3)上のプログラム(3a)
を主記憶装置に一部(4)に読み込むための前準備プロ
グラム、(6)は仮想空間(10)上の第1の領域(1
1)を介して、主記憶装置の一部(4)上のプログラム
(3a)を第2の領域(12)に複写するための複写プ
ログラムである。
(4) is a part of the main storage device, and (5) is a program (3a) stored in the external storage device (3) in advance of the load request.
(6) is a preparatory program for loading part (4) into the main memory, and (6) is the first area (1
This is a copying program for copying a program (3a) on a part (4) of the main storage device to a second area (12) via the main storage device (1).

次に、第1図に示したこの発明の実施例の動作について
説明する。まず、外部記憶装置(3)上のプログラム(
3a)は、予め前準備プログラム(5)によって主記憶
装置の一部(4)に読み込まれる。
Next, the operation of the embodiment of the invention shown in FIG. 1 will be explained. First, the program (
3a) is read in advance into a part (4) of the main storage device by a preparatory program (5).

次に、仮想空間(10)においてプログラム(3a)の
ロード要求が生じると、複写プログラム(6)は、既に
主記憶装置の一部(4)に存在するプログラム(3a)
の内容を、第1の領域(11)を介して参照できるよう
にする。
Next, when a request to load the program (3a) occurs in the virtual space (10), the copy program (6) loads the program (3a) that already exists in the part (4) of the main storage device.
The contents can be referenced through the first area (11).

続いて、複写プログラム(6)は仮想空間(10)内に
プログラム(3a)をロードする第2の領域を確保し、
この第2の領域(12)に、第1の領域(11)を通し
て参照したプログラム(3a)の内容を複写する。
Next, the copying program (6) secures a second area in the virtual space (10) to load the program (3a),
The contents of the program (3a) referenced through the first area (11) are copied to this second area (12).

このとき、プログラム(3a)の内容に含まれるアドレ
ス情報は、第2の領域(12)の位置に従って再配置さ
れる。
At this time, the address information included in the contents of the program (3a) is rearranged according to the position of the second area (12).

尚、上記実施例では外部記憶装置(3)上のプログラム
(3&)が1個の場合を示したが、複数の場合であって
も、予め複数のプログラムを主記憶装置(4)上に読み
込んでおくことにより同様の方式で処理できる。
Incidentally, in the above embodiment, the case where there is one program (3&) on the external storage device (3) is shown, but even if there is a plurality of programs, it is necessary to read the plurality of programs into the main storage device (4) in advance. It can be processed in the same way by setting it to .

又、ロード要求を発生する仮想空m (10)が1個に
場合を示したが、仮想空間が複数の場合であっても、各
々の仮想空間において同様に処理できることは言うまで
もない。
Further, although the case where one virtual space m (10) generates a load request is shown, it goes without saying that even if there is a plurality of virtual spaces, the same processing can be performed in each virtual space.

[発明の効果] 以上のようにこの発明によれば、予めプログラムを主記
憶装置の一部に読み込み、ロード要求時には複写プログ
ラムが仮想空間上の第1の領域を介して主記憶装置の一
部上のプログラムを参照して第2の領域に複写するよう
にしたので、ロード処理は単に主記憶装置の一部及び仮
想空間上のデータ移動で実現でき、ロード時間を短縮し
た高速なプログラムロード方式が得られる効果がある。
[Effects of the Invention] As described above, according to the present invention, a program is loaded into a part of the main storage device in advance, and when a load request is made, the copy program is loaded into a part of the main storage device via the first area in the virtual space. Since the above program is referenced and copied to the second area, the loading process can be achieved by simply moving data in a part of the main storage device and in the virtual space, resulting in a high-speed program loading method that reduces loading time. There is an effect that can be obtained.

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

第1図はこの発明に一実施例を示すブロック図、第2図
は従来のプログラムロード方式を示すブロック図である
6 (3)・・・外部記憶装置  (3a)・・・プログラ
ム(4)・・・主記憶装置の一部 (5)・・・前準備プログラム (6)・・・複写プログラム (10)・・・仮想空間
(11)・・・第1の領域   (12)・・・第2の
領域面、図中、同一符号は同−又は相当部分を示す。 3:外部虻+W:長置
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional program loading method.6 (3)...External storage device (3a)...Program (4) ... Part of main storage (5) ... Preparation program (6) ... Copy program (10) ... Virtual space (11) ... First area (12) ... In the second area surface, the same reference numerals indicate the same or corresponding parts in the drawings. 3: External fly + W: Nagaoki

Claims (3)

【特許請求の範囲】[Claims] (1)外部記憶装置に記憶されたプログラムを主記憶装
置の一部に読み込むための前準備プログラムと、前記主
記憶装置の一部に読み込まれた前記プログラムを参照す
る仮想空間上の第1の領域と、この第1の領域を介して
参照された前記プログラムを前記仮想空間上の第2の領
域に複写するための複写プログラムとを備え、前記プロ
グラムのロード要求時に、前記主記憶装置の一部に予め
読み込まれた前記プログラムを、ロード要求を出した前
記仮想空間より前記第1の領域を介して参照可能とし、
前記第2の領域にロードするようにしたことを特徴とす
るプログラムロード方式。
(1) A preparatory program for loading a program stored in an external storage device into a part of the main storage device, and a first preparatory program in a virtual space that refers to the program loaded into a part of the main storage device. an area, and a copy program for copying the program referenced through the first area to a second area in the virtual space; The program loaded in advance into the unit can be referenced from the virtual space that issued the load request via the first area;
A program loading method characterized in that the program is loaded into the second area.
(2)主記憶装置の一部に読み込まれるプログラムが複
数であることを特徴とする特許請求の範囲第1項記載の
プログラムロード方式。
(2) The program loading method according to claim 1, wherein a plurality of programs are loaded into a part of the main storage device.
(3)ロード要求を出す仮想空間が複数であることを特
徴とする特許請求の範囲第1項又は第2項記載のプログ
ラムロード方式。
(3) The program loading method according to claim 1 or 2, wherein a plurality of virtual spaces issue load requests.
JP61009963A 1986-01-22 1986-01-22 Program loading system Pending JPS62169243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61009963A JPS62169243A (en) 1986-01-22 1986-01-22 Program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61009963A JPS62169243A (en) 1986-01-22 1986-01-22 Program loading system

Publications (1)

Publication Number Publication Date
JPS62169243A true JPS62169243A (en) 1987-07-25

Family

ID=11734591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61009963A Pending JPS62169243A (en) 1986-01-22 1986-01-22 Program loading system

Country Status (1)

Country Link
JP (1) JPS62169243A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989000729A1 (en) * 1987-07-22 1989-01-26 Fanuc Ltd Method of preserving and loading data
JPH0193848A (en) * 1987-10-05 1989-04-12 Hitachi Ltd Overlay controlling system
JPH07152641A (en) * 1993-11-29 1995-06-16 Fujitsu Ltd Program cache device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1989000729A1 (en) * 1987-07-22 1989-01-26 Fanuc Ltd Method of preserving and loading data
JPH0193848A (en) * 1987-10-05 1989-04-12 Hitachi Ltd Overlay controlling system
JPH07152641A (en) * 1993-11-29 1995-06-16 Fujitsu Ltd Program cache device

Similar Documents

Publication Publication Date Title
KR100413915B1 (en) Computer system based on microprocessor, its driving method and backup system therefor
US5701493A (en) Exception handling method and apparatus in data processing systems
JPS62169243A (en) Program loading system
JP2000276363A (en) Method and device for swapping processing in storage hierarchy system
JPS583177A (en) Data processing system
JPS63825B2 (en)
JP2572435B2 (en) Instruction execution method of demand paging computer
JPS63180156A (en) Program loading system
JPH04107634A (en) Memory data bypass control system
JPH03147147A (en) Dump processing system
JPH01281531A (en) Program loading system
JPS5845683A (en) Program loading system
JPH0447340A (en) Reading method for master file
JPS6252333B2 (en)
JPS63231545A (en) File transfer system
JPH0844570A (en) System and method for program execution
JP2604706B2 (en) Duplex file control method
JPH01282646A (en) Fixing memory access system for segment base register
JPH01128149A (en) Loading control system for control program of work station
JPH01185733A (en) Input/output emulation system
JPH01234950A (en) Restoration/restart processing system for program
JPS63168753A (en) High-speed swapping system
JPH0754481B2 (en) Overlay control method
JPH0216652A (en) Missing page processing system
JPH03109647A (en) Duplex system