JPH04128936A - Program execution environment changeover system - Google Patents

Program execution environment changeover system

Info

Publication number
JPH04128936A
JPH04128936A JP25061890A JP25061890A JPH04128936A JP H04128936 A JPH04128936 A JP H04128936A JP 25061890 A JP25061890 A JP 25061890A JP 25061890 A JP25061890 A JP 25061890A JP H04128936 A JPH04128936 A JP H04128936A
Authority
JP
Japan
Prior art keywords
execution environment
program
word processor
information storage
input conversion
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
JP25061890A
Other languages
Japanese (ja)
Inventor
Masahiro Sakaguchi
坂口 真啓
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP25061890A priority Critical patent/JPH04128936A/en
Publication of JPH04128936A publication Critical patent/JPH04128936A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make a program execution environment changeover system possible to execute a plural programs continuously without restarting the system by providing the system with an execution environment definition file, execution environment setting means, execution environment information storage means, and execution environment release means. CONSTITUTION:Execution environment setting means 8 reads and analyzes a word processor execution environment definition file 4, reads out Japanese language input conversion A program 2 and printer control program 3 to execution environment setting area 12, and stores the name of Japanese language input conversion A program 2 and the name of printer control program 3 into execution environment information storage area 9. Further, the object word processor program 1 is executed. When the operation of word processor program 1 is completed, execution environment release program 10 refers to the names of programs preserved in execution environment information storage area 9, terminates processing of these programs, releases the memory of execution environment setting area 12, and clears the execution environment information area 9. With this, a plural programs can be executed without restarting the system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラム実行環境切換え方式に関し、特に電
子計算機システムにおけるプログラム実行環境切換え方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program execution environment switching method, and particularly to a program execution environment switching method in a computer system.

〔従来の技術〕[Conventional technology]

従来のプログラム実行環境切換え方式は、パーソナルコ
ンピュータなどの電子計算機システムの起動時に、アプ
リケーションプログラムに対するプログラムの実行環境
を設定していた。
In the conventional program execution environment switching method, a program execution environment for an application program is set when an electronic computer system such as a personal computer is started up.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラム実行環境切換え方式は、プロ
グラムの実行のたびに、システムを改めて起動しなけれ
ばならず、複数のプログラムを連続して実行することが
できないという欠点を有している。
The conventional program execution environment switching method described above has the disadvantage that the system must be restarted each time a program is executed, and a plurality of programs cannot be executed continuously.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラム実行環境切換え方式は、アプリケー
ションプログラムの実行環境を定義する実行環境定義情
報を有する実行環境定義ファイルと、前記実行環境定義
情報を解析して前記アプリケーションプログラムの実行
環境を設定する実行環境設定手段、設定した前記アプリ
ケーションプログラムの実行環境定義情報を保持する実
行環境情報記憶手段、前記アプリケーションプログラム
の使用を終了したときに前記実行環境情報記憶手段の保
持内容を参照して設定された実行環境を解除する実行環
境解除手段とを有することにより構成されている。
The program execution environment switching method of the present invention includes an execution environment definition file having execution environment definition information that defines an execution environment of an application program, and an execution environment that analyzes the execution environment definition information and sets the execution environment of the application program. a setting means, an execution environment information storage means for holding execution environment definition information of the set application program, and an execution environment set by referring to the contents held in the execution environment information storage means when use of the application program is finished. and an execution environment canceling means for canceling the execution environment.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のプログラム実行環境切換え方式の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the program execution environment switching method of the present invention.

1はアプリケーションプログラムの一つであるワードプ
ロセッサプログラム、2はワードプロセッサプログラム
1の実行に必要な日本語入力変換Aプログラム、3もワ
ードプロセッサプログラム1の実行に必要なプリンタ制
御プログラム、4はワードプロセッサプログラム1を実
行するために必要な環境を実現する日本語入力変換Aプ
ログラム2およびプリンタ制御プログラム3のプログラ
ム名を格納しているワードプロセッサ実行環境定義ファ
イル、5はアプリケーションプログラムの一つである図
形作成プログラム、6は図形作成プログラム5の実行に
必要な日本語入力変換Bプログラム、7は図形作成プロ
グラム5を実行するために必要な環境を実現する日本語
入力変換Bプログラム6のプログラム名を格納している
図形作成プログラム実行環境定義ファイル、8は日本語
入力変換Aプログラム2やプリンタ制御プログラム3を
読出したり日本語入力変換Bプログラム6を読出したり
する実行環境設定プログラム、9は現在の実行環境を示
すプログラム名を保存する実行環境情報記憶領域、10
は実行環境情報記憶領域9に保存されているプログラム
名のプログラムを解除する実行環境解除プログラム、1
1はオペレーティングシステム、12はアプリケーショ
ンプログラムの実行環境を設定するための実行環境設定
領域、Mは主記憶である。
1 is a word processor program which is one of the application programs, 2 is a Japanese input conversion A program necessary for executing the word processor program 1, 3 is also a printer control program necessary for executing the word processor program 1, and 4 is a program for executing the word processor program 1. A word processor execution environment definition file that stores the program names of the Japanese input conversion A program 2 and the printer control program 3 that realize the environment necessary for The figure creation program 7 stores the program name of the Japanese input conversion B program 6 that realizes the environment necessary to execute the figure creation program 5. A program execution environment definition file, 8 is an execution environment setting program that reads the Japanese input conversion A program 2 and the printer control program 3, and reads the Japanese input conversion B program 6, 9 is the program name indicating the current execution environment. Execution environment information storage area to save, 10
1 is an execution environment cancellation program that cancels the program with the program name stored in the execution environment information storage area 9;
1 is an operating system, 12 is an execution environment setting area for setting the execution environment of an application program, and M is a main memory.

第2図は本実施例でワードプロセッサプログラム1を実
行するための実行環境設定プログラム8の処理の一例を
示す流れ図である。また、第3図は本実施例でワードプ
ロセッサプログラム1の実行後に行う実行環境解除プロ
グラム10の処理の一例を示す流れ図である。
FIG. 2 is a flowchart showing an example of the processing of the execution environment setting program 8 for executing the word processor program 1 in this embodiment. Further, FIG. 3 is a flowchart showing an example of the processing performed by the execution environment cancellation program 10 after the execution of the word processor program 1 in this embodiment.

次に、本実施例でワードプロセッサプログラム1を実行
する動作を説明し、続いて、図形作成プログラム5を実
行する動作について説明する。
Next, the operation of executing the word processor program 1 in this embodiment will be explained, and then the operation of executing the graphic creation program 5 will be explained.

まず、ワードプロセッサプログラム1を実行するために
は、その実行環境を実現するプログラムである日本語入
力変換Aプログラム2.プリンタ制御プログラム3を実
行できるように読出しておく必要がある。
First, in order to run word processor program 1, Japanese input conversion A program 2. It is necessary to read the printer control program 3 so that it can be executed.

そこで、実行環境設定プログラム8に対して、ワードプ
ロセッサ実行環境定義ファイル4のファイル名を与えて
実行する。実行環境設定プログラム8は、第2図のステ
ップ21で、ワードプロセッサ実行環境定義ファイル4
を読み込み解析する。
Therefore, the execution environment setting program 8 is given the file name of the word processor execution environment definition file 4 and executed. In step 21 of FIG. 2, the execution environment setting program 8 sets the word processor execution environment definition file 4.
Load and analyze.

ワードプロセッサ実行環境定義ファイル4には、日本語
入力変換Aプログラム2およびプリンタ制御プログラム
3のプログラム名が格納されており、実行環境設定プロ
グラム8は、ステップ22で、日本語入力変換Aプログ
ラム2およびプリンタ制御プログラム3の実行環境設定
領域12への読出しを実行する。
The word processor execution environment definition file 4 stores the program names of the Japanese input conversion A program 2 and the printer control program 3, and the execution environment setting program 8 stores the Japanese input conversion A program 2 and the printer control program in step 22. The control program 3 is read into the execution environment setting area 12.

これにより、ワードプロセッサプログラム1を実行する
ための環境が整う。そして、実行環境設定プログラム8
は、ステップ23で、日本語入力変換Aプログラム2お
よびプリンタ制御プログラム3のプログラム名を実行環
境情報記憶領域9に格納して処理を終了する。そして、
目的のワードプロセッサプログラム1を実行する。
This prepares the environment for executing the word processor program 1. And execution environment setting program 8
At step 23, the program names of the Japanese input conversion A program 2 and the printer control program 3 are stored in the execution environment information storage area 9, and the process ends. and,
Execute the target word processor program 1.

次に、ワードプロセッサプログラム1が動作を終了する
と、その実行環境を解除するために実行環境解除プログ
ラム10を実行する。実行環境解除プログラム10は、
第3図のステップ31で、実行環境情報記憶領域9に保
存されている日本語入力変換Aプログラム2とプリンタ
制御プログラム3とのプログラム名を参照して、ステッ
プ32で、これらのプログラムの処理を終了させて実行
環境設定領域12のメモリを解放する。そして、ステッ
プ33で、実行環境情報領域9をクリアして終了する。
Next, when the word processor program 1 finishes its operation, the execution environment cancellation program 10 is executed to cancel its execution environment. The execution environment release program 10 is
In step 31 of FIG. 3, the program names of the Japanese input conversion A program 2 and the printer control program 3 stored in the execution environment information storage area 9 are referred to, and in step 32, the processing of these programs is executed. The process is terminated and the memory in the execution environment setting area 12 is released. Then, in step 33, the execution environment information area 9 is cleared and the process ends.

また、図形作成プログラム5を実行するためには、その
実行環境を実現するプログラムである日本語入力変換B
プログラム6を実行できるように読出しておく必要があ
る。そこで、実行環境設定プログラム8に対して、図形
作成プログラム実行環境定義ファイル7のファイル名を
与えて実行する。実行環境設定プログラム8は、図形作
成プログラム実行環境定義ファイル7を読み込んで解析
する。
In addition, in order to execute the figure creation program 5, it is necessary to use the Japanese input conversion B, which is a program that realizes the execution environment.
It is necessary to read the program 6 so that it can be executed. Therefore, the execution environment setting program 8 is given the file name of the graphic creation program execution environment definition file 7 and executed. The execution environment setting program 8 reads and analyzes the graphic creation program execution environment definition file 7.

図形作成プログラム実行環境定義ファイル7には、日本
語入力変換Bプログラム6のプログラム名が格納されて
おり、実行環境設定プログラム8は、日本語入力変換B
プログラム6の実行環境設定領域12への読出しを実行
する。これにより、図形作成プログラム5を実行するた
めの環境が整う。
The graphic creation program execution environment definition file 7 stores the program name of the Japanese input conversion B program 6, and the execution environment setting program 8 stores the Japanese input conversion B program name.
Reading of the program 6 into the execution environment setting area 12 is executed. This prepares the environment for executing the graphic creation program 5.

そこで、実行環境設定プログラム8は、日本語入力変換
Bプログラム6のプログラム名を実行環境情報記憶領域
9に格納して処理を終了する。そして、目的の図形作成
プログラム5を実行する。
Therefore, the execution environment setting program 8 stores the program name of the Japanese input conversion B program 6 in the execution environment information storage area 9, and ends the process. Then, the target graphic creation program 5 is executed.

図形作成プログラム5の動作が終了すると、その実行環
境を解除するため実行環境解除プログラム10を実行す
る。実行環境解除プログラム10は、実行環境情報記憶
領域9に保存されている日本語入力変換Bプログラム6
のプログラム名をもとに、日本語入力変換Bプログラム
6の処理を終了させて実行環境設定領域12のメモリを
解放する。そして、実行環境情報記憶領域9をクリアし
て終了する。
When the operation of the graphic creation program 5 is completed, an execution environment cancellation program 10 is executed to cancel the execution environment. The execution environment cancellation program 10 is the Japanese input conversion B program 6 stored in the execution environment information storage area 9.
Based on the program name, the processing of the Japanese input conversion B program 6 is terminated and the memory in the execution environment setting area 12 is released. Then, the execution environment information storage area 9 is cleared and the process ends.

以上のように、本実施例では、システムを起動しなおす
ことなく、アプリケーションプログラムであるワードプ
ロセッサプログラム1と図形作成プログラム5とを連続
して実行することができる。
As described above, in this embodiment, the word processor program 1 and the graphic creation program 5, which are application programs, can be executed continuously without restarting the system.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のプログラム実行環境切換
え方式は、アプリケーションプログラムの実行前に、プ
ログラム実行環境を設定し、プログラムの実行後に、プ
ログラム実行環境を解除することにより、システムの再
起動なしに複数のプログラムを連続して実行することが
できるという効果を有している。
As explained above, the program execution environment switching method of the present invention sets the program execution environment before executing an application program, and cancels the program execution environment after executing the program, thereby eliminating the need to restart the system. This has the advantage that multiple programs can be executed consecutively.

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

第1図は本発明のプログラム実行環境切換え方式の一実
施例を示すブロック図、第2図は本実施例でワードプロ
セッサプログラム1を実行するための実行環境設定プロ
グラム8の処理の一例を示す流れ図、第3図は本実施例
でワードプロセッサプログラム1の実行後に行う実行環
境解除プログラム10の処理の一例を示す流れ図である
。 1・・・ワードプロセッサプログラム、2・・・日本語
入力変換Aプログラム、3・・・プリンタ制御プログラ
ム、4・・・ワードプロセッサ実行環境定義ファイル、
5・・・図形作成プログラム、6・・・日本語入力変換
Bプログラム、7・・・図形作成プログラム実行環境定
義ファイル、8・・・実行環境設定プログラム、9・・
・実行環境情報記憶領域、10・・・実行環境解除プロ
グラム、11・・・オペレーティングシステム、12・
・・実行環境設定領域、M・・・主記憶。
FIG. 1 is a block diagram showing an embodiment of the program execution environment switching method of the present invention, and FIG. 2 is a flowchart showing an example of the processing of the execution environment setting program 8 for executing the word processor program 1 in this embodiment. FIG. 3 is a flowchart showing an example of the processing performed by the execution environment release program 10 after the word processor program 1 is executed in this embodiment. 1... Word processor program, 2... Japanese input conversion A program, 3... Printer control program, 4... Word processor execution environment definition file,
5... Graphic creation program, 6... Japanese input conversion B program, 7... Graphic creation program execution environment definition file, 8... Execution environment setting program, 9...
- Execution environment information storage area, 10... Execution environment release program, 11... Operating system, 12.
...Execution environment setting area, M...main memory.

Claims (1)

【特許請求の範囲】[Claims] アプリケーションプログラムの実行環境を定義する実行
環境定義情報を有する実行環境定義ファイルと、前記実
行環境定義情報を解析して前記アプリケーションプログ
ラムの実行環境を設定する実行環境設定手段、設定した
前記アプリケーションプログラムの実行環境定義情報を
保持する実行環境情報記憶手段、前記アプリケーション
プログラムの使用を終了したときに前記実行環境情報記
憶手段の保持内容を参照して設定された実行環境を解除
する実行環境解除手段とを有することを特徴とするプロ
グラム実行環境切換え方式。
an execution environment definition file having execution environment definition information that defines an execution environment for an application program; an execution environment setting means for analyzing the execution environment definition information and setting an execution environment for the application program; and execution of the set application program. Execution environment information storage means for holding environment definition information, and execution environment cancellation means for canceling the set execution environment by referring to the contents held in the execution environment information storage means when use of the application program is finished. A program execution environment switching method characterized by:
JP25061890A 1990-09-20 1990-09-20 Program execution environment changeover system Pending JPH04128936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25061890A JPH04128936A (en) 1990-09-20 1990-09-20 Program execution environment changeover system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25061890A JPH04128936A (en) 1990-09-20 1990-09-20 Program execution environment changeover system

Publications (1)

Publication Number Publication Date
JPH04128936A true JPH04128936A (en) 1992-04-30

Family

ID=17210535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25061890A Pending JPH04128936A (en) 1990-09-20 1990-09-20 Program execution environment changeover system

Country Status (1)

Country Link
JP (1) JPH04128936A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2458005A (en) * 2009-02-12 2009-09-09 Gzero Ltd Shutting down unnecessary programs in a computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2458005A (en) * 2009-02-12 2009-09-09 Gzero Ltd Shutting down unnecessary programs in a computer system
GB2458005B (en) * 2009-02-12 2010-01-20 Gzero Ltd Removing non-essential programs identified by a server from memory

Similar Documents

Publication Publication Date Title
JP3318051B2 (en) Translation processing method
JPH04128936A (en) Program execution environment changeover system
JPH11184828A (en) Test system for multiprocessor system
JP2000353100A (en) Task processing system
JPS63138427A (en) Processing system for scheduling instruction to array
JP2000076095A (en) Device and method for tracing program and storage medium storing program therefor
JPS58166468A (en) Interrupt dump output processing system
JP2591818B2 (en) Auxiliary function selection control method
JPH05241890A (en) Data trace system
JPH05127945A (en) Program execution situation analysis system
JPH04289927A (en) Extended command generating system for debugger
JPH0368417B2 (en)
JPH0675757A (en) Link system for virtual space resident program
JPS61245232A (en) Automatic editing method
JPS63276629A (en) Sorting system for record in file
JPH01185729A (en) Overlay structure program execution system
JPH0581214A (en) Temporary file processing system by local processor
JPH03160547A (en) Input/output buffer control method for data processor
JPH03233634A (en) Job reprocessing system
JPH04326427A (en) Multiple processing system for multiprocessor
JPH04222035A (en) Method for evading dead lock in computer system
JPS63228341A (en) Program syntax checking system
JPS63180156A (en) Program loading system
JPS63228207A (en) Function key setting system
JPS60134994A (en) Output system of data