JPH06161719A - Program executing device - Google Patents

Program executing device

Info

Publication number
JPH06161719A
JPH06161719A JP31315392A JP31315392A JPH06161719A JP H06161719 A JPH06161719 A JP H06161719A JP 31315392 A JP31315392 A JP 31315392A JP 31315392 A JP31315392 A JP 31315392A JP H06161719 A JPH06161719 A JP H06161719A
Authority
JP
Japan
Prior art keywords
program
function
storage device
execution
programs
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
JP31315392A
Other languages
Japanese (ja)
Inventor
Yukio Shinogi
幸夫 篠儀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP31315392A priority Critical patent/JPH06161719A/en
Publication of JPH06161719A publication Critical patent/JPH06161719A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently store programs duplicated partially in functions in an auxiliary storage device when there are the programs having the duplication functions. CONSTITUTION:Plural modules 23D, 23E, 23F... and description files 221, 222... are stored in the auxiliary storage device 21. When an execution program 272 for a function D and fa function E is generated, a program read means 26 accesses the description file 222 to read the two modules 23D and 23E out, and they are merged in a main storage device 25. Consequently, the execution program 272 is generated and executed. When an execution program 271 consisting of a function F and the function D is generated, two modules 23E and 23F are read out and merged. At this time, the modules 23E is common, so the storage in the auxiliary storage device is made efficient correspondingly.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプログラム実行装置に係
わり、特にプログラムの一部の機能が重複するような複
数のプログラムを選択して実行するようにしたプログラ
ム実行装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program execution device, and more particularly to a program execution device for selecting and executing a plurality of programs such that some functions of the programs overlap.

【0002】[0002]

【従来の技術】従来からコンピュータシステムでは補助
記憶装置内に複数のプログラムを格納しておき、このう
ち必要なものを主記憶装置に読み出して実行するように
なっている。
2. Description of the Related Art Conventionally, in a computer system, a plurality of programs are stored in an auxiliary storage device, and a necessary one of these programs is read into a main storage device and executed.

【0003】図4は従来のこのような装置の概要を表わ
したものである。プログラム実行装置は補助記憶装置1
1と、ここから実行対象となるプログラムを読み出して
記憶する主記憶装置12から構成されている。主記憶装
置12には必要に応じて補助記憶装置11からプログラ
ムの読み込みを行うためのプログラム読込手段13が設
けられている。
FIG. 4 shows an outline of such a conventional device. The program execution device is the auxiliary storage device 1.
1 and a main storage device 12 for reading and storing a program to be executed from here. The main storage device 12 is provided with a program reading means 13 for reading a program from the auxiliary storage device 11 as needed.

【0004】このような従来のプログラム実行装置で
は、例えば機能A、機能Bおよび機能Cの3つの機能を
備えたプログラムが実行されるとき、プログラム読込手
段13がそのような機能を備えたプログラム14をアク
セスして補助記憶装置11から読み出し、これを実行プ
ログラム15として主記憶装置12内に格納するように
なっている。
In such a conventional program execution device, when a program having three functions, function A, function B and function C, is executed, the program reading means 13 causes the program 14 having such function. Is read from the auxiliary storage device 11 and stored in the main storage device 12 as the execution program 15.

【0005】[0005]

【発明が解決しようとする課題】ところが、このような
従来のプログラム実行装置では、機能が一部重複したよ
うな複数のプログラムを実行する場合、補助記憶装置と
して比較的大容量のものが要求されるといった問題があ
る。
However, in such a conventional program execution device, when executing a plurality of programs whose functions partially overlap, a relatively large capacity of the auxiliary storage device is required. There is a problem that

【0006】図5は従来のこのような問題を説明するた
めのものである。図4と同一部分には同一の符号を付し
ており、これらの説明を適宜省略する。この図5では、
プログラム読込手段13が機能Fと機能Eを備えたプロ
グラム16と、機能Dと機能Eを備えたプログラム17
をそれぞれ読み込む場合を示している。プログラム16
は主記憶装置12内で実行プログラム18として格納さ
れ、他のプログラム17は他の実行プログラム19とし
て格納される。しかしながら、このような別々の実行プ
ログラム18、19も基となる機能Eが共通しており、
補助記憶装置11ではこの重複した機能のプログラム部
分だけ余計な記憶容量を必要とすることになった。
FIG. 5 is for explaining such a conventional problem. The same parts as those in FIG. 4 are designated by the same reference numerals, and the description thereof will be appropriately omitted. In this Figure 5,
The program reading means 13 has a program 16 having a function F and a function E, and a program 17 having a function D and a function E.
Shows the case where each is read. Program 16
Is stored as an execution program 18 in the main storage device 12, and the other program 17 is stored as another execution program 19. However, these separate execution programs 18 and 19 also have the same basic function E,
In the auxiliary storage device 11, an extra storage capacity is required only for the program part having the duplicated function.

【0007】そこで本発明の目的は、一部重複した機能
のプログラムが存在する場合に、これらを効率良く補助
記憶装置に記憶しておくことのできるプログラム実行装
置を提供することにある。
Therefore, an object of the present invention is to provide a program execution device capable of efficiently storing a program having a partially duplicated function in an auxiliary storage device.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明で
は、複数の機能プログラムをそれぞれ独立した形態で格
納した機能プログラム格納手段と、これらの機能プログ
ラムを組み合わせて実行対象となるプログラムを作成す
る際の機能プログラムの組み合わせ内容をこの実行対象
となるプログラムと対応付けて記述した記述ファイルを
格納する記述ファイル格納手段と、実行対象となるプロ
グラムの読み込みが要求されたとき記述ファイルを参照
して必要とされる機能プログラムの組み合わせ内容を判
読する判読手段と、判読された機能プログラムを機能プ
ログラム格納手段から読み出して実行対象となるプログ
ラムを作成するプログラム結合手段と、この作成された
プログラムを実行のために格納する主記憶装置とをプロ
グラム実行装置に具備させる。ここで、記述ファイルに
よって判読された複数の機能プログラムはプログラムの
実行時に主記憶装置で結合されるようにすることが有効
である。
According to a first aspect of the invention, a function program storage means for storing a plurality of function programs in an independent form and a combination of these function programs to create a program to be executed. Needed by referring to the description file storage means that stores the description file that describes the combination of the function programs in this case in association with this execution target program and the description file when the execution target program is requested to be read. For reading the combination contents of the functional programs, a program combining unit for reading the read functional programs from the functional program storage unit to create a program to be executed, and executing the created program. The main storage device stored in the Make. Here, it is effective that a plurality of function programs read by the description file are combined in the main memory when the programs are executed.

【0009】すなわち請求項1記載の発明では、1つ1
つの実行プログラムに対応させてプログラムを補助記憶
装置に記憶させておくのではなく、これらを必要に応じ
て機能別に分解した機能プログラムとして格納してお
く。そして、これらの機能プログラムの組み合わせと主
記憶装置に読み込まれるプログラムとの関係をあらかじ
め記述した記述ファイルを用意しておき、プログラムの
読み込みが指示されたときにはそのプログラムの構成に
必要な機能プログラムを読み出して結合し、実行プログ
ラムとするようになっている。機能プログラムの結合
は、例えば主記憶内で行ってもよい。
That is, in the invention according to claim 1, one by one
Instead of storing the programs in the auxiliary storage device in association with one execution program, these programs are stored as a function program decomposed according to the function as needed. Then, prepare a description file that describes in advance the relationship between the combinations of these functional programs and the programs to be read into the main storage device, and read the functional programs necessary for the configuration of the programs when instructed to read the programs. Are combined into an executable program. The function programs may be combined in the main memory, for example.

【0010】[0010]

【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.

【0011】図1は本発明の一実施例におけるプログラ
ム実行装置の概要を表わしたものである。この装置で補
助記憶装置21内には、複数の記述ファイル221 、2
2……と、複数のモジュール23A 、23B 、……が
格納されている。ただし、図1ではこのうちの3つのモ
ジュール23D 、23E 、23F を例示的に示してい
る。モジュール23D は図5で示したプログラム16ま
たはプログラム17の機能Dの部分をいう。同様にモジ
ュール23E は、プログラム17の機能Eの部分であ
り、モジュール23F は、プログラム16の機能Fの部
分をいう。
FIG. 1 shows an outline of a program execution device according to an embodiment of the present invention. In this device, a plurality of description files 22 1 , 2 are stored in the auxiliary storage device 21.
2 2 ... And a plurality of modules 23 A , 23 B ,. However, FIG. 1 exemplifies three modules 23 D , 23 E , and 23 F among them. The module 23 D is the function D portion of the program 16 or the program 17 shown in FIG. Similarly, the module 23 E is the function E part of the program 17, and the module 23 F is the function F part of the program 16.

【0012】主記憶装置25には、複数の記述ファイル
221 、222 、……を選択して指定するためのプログ
ラム読込手段26が配置されており、読み込まれたモジ
ュール23が結合されて、所望の実行プログラム27が
得られるようになっている。ここでは、実行プログラム
271 または272 が得られる場合を示している。
A program reading means 26 for selecting and designating a plurality of description files 22 1 , 22 2 , ... Is arranged in the main storage device 25, and the read module 23 is connected to the main memory 25. A desired execution program 27 can be obtained. Here, the case where the execution program 27 1 or 27 2 is obtained is shown.

【0013】ここでプログラム271 は図5における実
行プログラム18に相当するもので、機能Fと機能Eを
結合した形となっている。また、他のプログラム272
は図5における実行プログラム19に相当するもので、
機能Dと機能Eを結合した形となっている。
Here, the program 27 1 corresponds to the execution program 18 in FIG. 5, and has a form in which the function F and the function E are combined. In addition, other programs 27 2
Corresponds to the execution program 19 in FIG.
It is a form in which the function D and the function E are combined.

【0014】図2は、補助記憶装置における2つの記述
ファイルの内容を具体的に表わしたものである。一方の
記述ファイル221 には、組み合わせの対象として2つ
のモジュール23F 、23E が記述されている。他の記
述ファイル222 には、組み合わせの対象として2つの
モジュール23D 、23E が記述されている。
FIG. 2 specifically shows the contents of two description files in the auxiliary storage device. In one description file 22 1 , two modules 23 F and 23 E are described as targets of combination. In the other description file 22 2 , two modules 23 D and 23 E are described as targets of combination.

【0015】今、プログラム読込手段26が実行プログ
ラム271 の生成のための読み込みを行うものとする。
この場合には、プログラム読込手段26がこれに対応す
る記述ファイル221 をアクセスする。記述ファイル2
1 には、図2に示したように2つのモジュール2
F 、23E が記述されている。そこで、これら2つの
モジュール23F 、23E がプログラム読込手段26に
よって読み出され、主記憶装置25内でこれらの結合が
行われる。この結果として実行プログラム271 が生成
され実行される。
Now, it is assumed that the program reading means 26 performs reading for generating the execution program 27 1 .
In this case, the program reading means 26 accesses the description file 22 1 corresponding to this. Description file 2
2 1 has two modules 2 as shown in FIG.
3 F and 23 E are described. Then, these two modules 23 F and 23 E are read by the program reading means 26, and these are combined in the main storage device 25. As a result, the execution program 27 1 is generated and executed.

【0016】また、プログラム読込手段26が他の実行
プログラム272 の生成のための読み込みを行うものと
する。この場合、プログラム読込手段26は対応する記
述ファイル222 をアクセスする。すると、記述ファイ
ル222 には、図2に示したように2つのモジュール2
D 、23E が記述されているので、これらのモジュー
ル23D 、23E が読み出されることになる。主記憶装
置25では、2つのモジュール23D 、23E を結合し
て実行プログラム272 を生成し実行する。
Further, it is assumed that the program reading means 26 reads in to generate another execution program 27 2 . In this case, the program reading means 26 accesses the corresponding description file 22 2 . Then, the description file 22 2 contains two modules 2 as shown in FIG.
Since 3 D and 23 E are described, these modules 23 D and 23 E will be read. In the main memory 25, the two modules 23 D and 23 E are combined to generate and execute the execution program 27 2 .

【0017】以上、2つのモジュールを結合して実行プ
ログラムを生成し実行する場合について説明したが、こ
れに限るものではないことは当然である。すなわち、結
合されるモジュールは2つ以上であれば何個であっても
よい。
The case where the two modules are combined to generate and execute the execution program has been described above, but the invention is not limited to this. That is, any number of modules may be combined as long as the modules are two or more.

【0018】図3は、図4に対応するもので、このプロ
グラム実行装置で3つのモジュールを結合して実行プロ
グラムが生成される場合を示したものである。図面を分
かり易くするために、この図の補助記憶装置21内には
1つの記述ファイル223 と、これに記述されている3
つのモジュール23A 、23B 、23C のみを表わして
いる。
FIG. 3 corresponds to FIG. 4 and shows a case where an execution program is generated by combining three modules in this program execution device. In order to make the drawing easy to understand, one description file 22 3 and the 3 described in this file are stored in the auxiliary storage device 21 of this figure.
Only one module 23 A , 23 B , 23 C is represented.

【0019】この例では、プログラム読込手段26が実
行プログラム273 の生成のための読み込みを行うもの
とし、記述ファイル223 がアクセスされる。記述ファ
イル223 には、この実行プログラム273 を生成する
ために3つのモジュール23 A 、23B 、23C を結合
すべきことが記述されている。そこでこれら3つのモジ
ュール23A 、23B 、23C がプログラム読込手段2
6によって主記憶装置25内に読み込まれ、これらの結
合が行われて目的とする実行プログラム273が得られ
ることになる。この後、これが実行される。
In this example, the program reading means 26 is implemented.
Line program 273To read for the generation of
And the description file 223Is accessed. Description file
IL 223This execution program 273Generate
For three modules 23 A, 23B, 23CCombine
It describes what to do. So these three moji
Tulle 23A, 23B, 23CIs program reading means 2
6 is loaded into the main storage device 25 by
Execution program 273Is obtained
Will be. After this this is done.

【0020】以上の説明で記述ファイル221 、2
2 、……はモジュール23の組み合わせを指示するだ
けなので、補助印刷装置21内に占める容量はごくわず
かである。なお、本実施例では個々の実行プログラム2
1 、272 、……に対応させた形で記述ファイル22
1 、222 、……を用意することにしたが、それぞれの
実行プログラムと必要なモジュールを対比させたテーブ
ルのような記述ファイルを用意してもよいことはもちろ
んである。
With the above description, the description files 22 1 , 2
Since 2 2 , ... only indicate the combination of the modules 23, the capacity occupied in the auxiliary printing device 21 is very small. In this embodiment, each execution program 2
Description file 22 in a form corresponding to 7 1 , 27 2 , ...
1 , 22 2 , ... Are prepared, but it goes without saying that a description file such as a table in which each execution program is compared with necessary modules may be prepared.

【0021】[0021]

【発明の効果】以上説明したように本発明では機能別に
分けられたモジュール(機能プログラム)を幾つか用意
しておき、これらを適宜組み合わせて実行対象となるプ
ログラムを生成することにした。したがって、すでに補
助記憶装置に格納されている機能プログラムを用いて新
たなあるいは改造された実行プログラムを生成すること
ができる。また、本発明ではモジュールを改造した場合
には、これが自動的に実行プログラムにも及ぶので、改
造されたモジュールと他のモジュールを結合することで
新たなプログラムを作成する必要がない。
As described above, according to the present invention, some modules (functional programs) classified by function are prepared, and these are appropriately combined to generate a program to be executed. Therefore, a new or modified execution program can be generated using the function program already stored in the auxiliary storage device. Further, in the present invention, when a module is modified, this automatically extends to the execution program, so that it is not necessary to create a new program by combining the modified module with another module.

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

【図1】本発明の一実施例におけるプログラム実行装置
の概要を表わした説明図である。
FIG. 1 is an explanatory diagram showing an outline of a program execution device according to an embodiment of the present invention.

【図2】本実施例の補助記憶装置における2つの記述フ
ァイルの内容を具体的に表わした説明図である。
FIG. 2 is an explanatory diagram concretely showing the contents of two description files in the auxiliary storage device of the present embodiment.

【図3】本実施例で3つのモジュールを結合して実行プ
ログラムが生成される場合のプログラム実行装置の処理
の様子を表わした説明図である。
FIG. 3 is an explanatory diagram showing a state of processing of a program execution device when an execution program is generated by combining three modules in this embodiment.

【図4】従来のプログラム実行装置の概要を表わした説
明図である。
FIG. 4 is an explanatory diagram showing an outline of a conventional program execution device.

【図5】従来のプログラム実行装置で補助記憶装置にプ
ログラムが効率的に格納されない原因を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a reason why a program is not efficiently stored in an auxiliary storage device in a conventional program execution device.

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

21 補助記憶装置 22 記述ファイル 23 モジュール(機能プログラム) 25 主記憶装置 26 プログラム読込手段 27 実行プログラム 21 auxiliary storage device 22 description file 23 module (functional program) 25 main storage device 26 program reading means 27 execution program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の機能プログラムをそれぞれ独立し
た形態で格納した機能プログラム格納手段と、 これらの機能プログラムを組み合わせて実行対象となる
プログラムを作成する際の機能プログラムの組み合わせ
内容をこの実行対象となるプログラムと対応付けて記述
した記述ファイルを格納する記述ファイル格納手段と、 実行対象となるプログラムの読み込みが要求されたとき
前記記述ファイルを参照して必要とされる機能プログラ
ムの組み合わせ内容を判読する判読手段と、 判読された機能プログラムを前記機能プログラム格納手
段から読み出して実行対象となるプログラムを作成する
プログラム結合手段と、 この作成されたプログラムを実行のために格納する主記
憶装置とを具備することを特徴とするプログラム実行装
置。
1. A function program storage means for storing a plurality of function programs in an independent form, and a combination content of the function programs when a program to be executed is created by combining these function programs as the execution target. Description file storing means for storing the description file described in association with the program, and when the reading of the program to be executed is requested, the contents of the combination of the required functional programs are read by referring to the description file. The program includes a reading unit, a program combining unit that reads the read function program from the function program storage unit to create a program to be executed, and a main storage device that stores the created program for execution. A program execution device characterized by the above.
【請求項2】 記述ファイルによって判読された複数の
機能プログラムはプログラムの実行時に前記主記憶装置
で結合されることを特徴とする請求項1記載のプログラ
ム実行装置。
2. The program execution device according to claim 1, wherein a plurality of function programs read by the description file are combined in the main storage device when the program is executed.
JP31315392A 1992-11-24 1992-11-24 Program executing device Pending JPH06161719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31315392A JPH06161719A (en) 1992-11-24 1992-11-24 Program executing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31315392A JPH06161719A (en) 1992-11-24 1992-11-24 Program executing device

Publications (1)

Publication Number Publication Date
JPH06161719A true JPH06161719A (en) 1994-06-10

Family

ID=18037754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31315392A Pending JPH06161719A (en) 1992-11-24 1992-11-24 Program executing device

Country Status (1)

Country Link
JP (1) JPH06161719A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085693A (en) * 1995-02-13 2006-03-30 Intertrust Technologies Corp Method for safely assembling and executing component assembly
US7752466B2 (en) 1995-02-13 2010-07-06 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085693A (en) * 1995-02-13 2006-03-30 Intertrust Technologies Corp Method for safely assembling and executing component assembly
US7752466B2 (en) 1995-02-13 2010-07-06 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection
JP4643398B2 (en) * 1995-02-13 2011-03-02 インタートラスト テクノロジーズ コーポレイション How to safely assemble and execute component assemblies

Similar Documents

Publication Publication Date Title
JPH08171482A (en) System for generating version of program
JP2927180B2 (en) Debugging method of information processing program and debugger therefor
US5553286A (en) System and method for preparing a computer program for execution
JPH1185526A (en) Program loading method
JPH10171665A (en) Jump code generator, interrupt program selection device and system, and computer
JPH06161719A (en) Program executing device
JPS62126451A (en) Initial program load system for distributed processor
JPH0651989A (en) Fast loading system of operating system in computer system
JP3461185B2 (en) Method and apparatus for registering source code line number to load module
JPH06214803A (en) Virtual space block arranging system
JPH1153249A (en) Memory managing method
JPS58197557A (en) Message control system
JP3149904B2 (en) OS switching device
JPH06161720A (en) Computer system
JPS62143150A (en) Program execution control system
JPH0287227A (en) Data processor
JPH05189209A (en) Initial program loading system
JPH07141189A (en) Overlay linking system
JP2663600B2 (en) Control table relocation processing method
JP3255139B2 (en) High-level synthesis system, method and recording medium
JPH01267746A (en) Logic file access device
JPH0719208B2 (en) Message text assembly edit information load method
JPH06222933A (en) Computer system
JPH03139723A (en) Data processor
JPH06236264A (en) Load module generating system