JPH02310733A - Execution control system for program in general purpose terminal system - Google Patents

Execution control system for program in general purpose terminal system

Info

Publication number
JPH02310733A
JPH02310733A JP13362589A JP13362589A JPH02310733A JP H02310733 A JPH02310733 A JP H02310733A JP 13362589 A JP13362589 A JP 13362589A JP 13362589 A JP13362589 A JP 13362589A JP H02310733 A JPH02310733 A JP H02310733A
Authority
JP
Japan
Prior art keywords
program
management means
execution state
execution
managing
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
JP13362589A
Other languages
Japanese (ja)
Inventor
Tatsuo Oshima
大島 達男
Keiji Suzuki
須々木 啓二
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 Software Kansai Ltd
Original Assignee
NEC Software Kansai 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 Software Kansai Ltd filed Critical NEC Software Kansai Ltd
Priority to JP13362589A priority Critical patent/JPH02310733A/en
Publication of JPH02310733A publication Critical patent/JPH02310733A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the malfunction of an electronic computer system from occurring by eliminating the simultaneous start-up of plural programs for which the simultaneous start-up are prohibited by providing a program nonsimultaneous operation managing means and a program execution state managing means. CONSTITUTION:The program nonsimultaneous operation managing means 1 is composed of a memory element or a magnetic file, and stores the combination data of the program to prohibit a simultaneous operation. The program execution state managing means 2 is also composed of the memory element or the magnetic file, and stores data representing an execution state at every program unit, and data representing the program to be executed just before, and data representing the execution state of the program to be executed just before. Thereby, it is possible to automatically perform the control of the nonsimultaneous operation of the program being operated on an electronic computer system and the control of execution sequence, which reduces a load on system management and evades the malfunction of the system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は汎用端末機システムにおけるプログラムの実行
制御方式に関し、特に複数プログラムが同時に動作可能
である汎用端末機システムにおけるプログラムの実行制
御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program execution control method in a general-purpose terminal system, and more particularly to a program execution control method in a general-purpose terminal system in which a plurality of programs can run simultaneously.

〔従来の技術〕[Conventional technology]

従来、マルチプログラミング機能を有する電子計算機シ
ステムにおけるプログラムの実行は、操作者の指示にも
とづき行われている。このとき、上記のシステムにおい
て同時に起動してはならないプログラムの組み合わせと
、一定の実行順序に従わなければならないプログラムの
管理は、操fj者に委ねられていた。
Conventionally, programs in electronic computer systems having multiprogramming functions are executed based on instructions from an operator. At this time, in the above-mentioned system, the combination of programs that must not be started at the same time and the management of programs that must follow a certain execution order are left to the operator.

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

上述した従来の汎用端末機システムにおけるプログラム
の実行制御方式は、操作者が複数人いると、同時に起動
してはならない複数のプログラムを同時起動させてしま
い、電子計算機システムが誤動作を起してしまうという
問題点があった。
In the conventional program execution control method in the general-purpose terminal system described above, when there are multiple operators, multiple programs that should not be started at the same time are started simultaneously, causing the computer system to malfunction. There was a problem.

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

本発明の汎用端末機システムにおけるプログラムの実行
制御方式は、プログラム単位ごとに同時に動作してはな
らない他のプログラムの組み合せを管理するプログラム
非同時動作管理手段と、前記プログラム単位の実行状態
を管理するプログラム実行状態管理手段と、前記プログ
ラムの起動要求を管理するプログラム起動要求管理手段
と、前記プログラムの停止要求を管理するプログラム停
止要求管理手段と、前記プログラムの起動可否を管理す
る起動可否管理手段とを備えて構成されている。
The program execution control method in the general-purpose terminal system of the present invention includes a program non-simultaneous operation management means for managing combinations of other programs that must not be operated simultaneously for each program unit, and a program execution control means for managing the execution state of the program unit. a program execution state management means; a program start request management means for managing a start request for the program; a program stop request management means for managing a stop request for the program; and a startability management means for managing whether the program can be started. It is configured with.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

第1図に示す汎用端末機システムにおけるプログラムの
実行制御方式は、プログラム単位ごとに同時に動作して
はならない他のプログラムの組み合せを管理するプログ
ラム非同時動作管理手段1、プログラム単位の実行状態
を管理するプログラム実行状態管理手段2、プログラム
の起動要求を管理するプログラム起動要求管理手段3、
プログラムの停止要求を管理するプログラム停止要求管
理手段4、プログラムの起動可否を管理する起動可否管
理手段5から構成されている。
The program execution control method in the general-purpose terminal system shown in Fig. 1 includes a program non-simultaneous operation management means 1 that manages combinations of other programs that must not run simultaneously for each program unit, and a program execution control means 1 that manages the execution state of each program unit. program execution state management means 2 for managing program activation requests; program activation request management means 3 for managing program activation requests;
It is comprised of a program stop request management means 4 for managing program stop requests, and a startability management means 5 for managing whether a program can be started.

次に、動作を説明する。Next, the operation will be explained.

第1図において、プログラム非同時動作管理手段1は、
メモリ素子又は、磁気ファイルにより構成され、プログ
ラム非同時動作管理手段1には同時動作を禁止するプロ
グラムの組み合せデータが格納されている。プログラム
実行状態管理手段2も、メモリ素子又は、磁気ファイル
により構成され、プログラム実行状態管理手段2にはプ
ログラム承位ごとに実行状態を示すデータと、直前に実
行されるべきプログラムを示すデータと、直前に実行さ
れるべきプログラムの実行状態を示すデータとが格納さ
れている。
In FIG. 1, the program non-simultaneous operation management means 1 includes:
The non-simultaneous program operation management means 1, which is composed of a memory element or a magnetic file, stores combination data of programs that prohibit simultaneous operation. The program execution state management means 2 is also constituted by a memory element or a magnetic file, and the program execution state management means 2 contains data indicating the execution state for each program acceptance, data indicating the program to be executed immediately before, Data indicating the execution state of the program to be executed immediately before is stored.

又、プログラム起動要求管理手段3では、プログラム又
はオペレーティングシステムからの起動要求を受け、1
0グラム実行状態管理手段2に格納されている該当プロ
グラムの実行状態を示すデータを、そのプログラムが実
行中であることを示す「実行中」のデータで置換する。
Further, the program startup request management means 3 receives a startup request from a program or an operating system, and
The data indicating the execution status of the corresponding program stored in the zero-gram execution status management means 2 is replaced with the data "currently running" indicating that the program is being executed.

又、プログラム停止要求管理手段4では、プログラム又
はオペレーティングシステムからの停止要求を受け、プ
ログラム実行状態管理手段3の該当するプログラムの実
行状態を示すデータを、そのプログラムが停止中である
ことを示す「停止中コのデータで置換する。
In addition, the program stop request management means 4 receives a stop request from a program or the operating system, and converts the data indicating the execution state of the corresponding program in the program execution state management means 3 to "", which indicates that the program is being stopped. Replace with the data of the stopped program.

−さらに、起動可否管理手段5では、プログラム又はオ
ペレーティングシステムからの起動要求を受け、プログ
ラム非同時動作管理手段1とプログラム実行状態管理手
段2との各データにもとづき、プログラムが実行条件を
満しているか否かを判断する。条件を満していれば、「
実行可能」のデータをプログラム又はオペレーティング
システムに対してパラメータとして通知し、条件を満し
ていなければ、「実行不可能」のデータをプログラム又
はオペレーティングシステムに対して通知するので、こ
のパラメータにもとづきプログラム又はオペレーティン
グシステムにおいて、プログラムの起動を制御すること
ができる。
-Furthermore, the activation permission management means 5 receives a activation request from a program or an operating system, and determines whether the program satisfies the execution conditions based on each data of the program non-simultaneous operation management means 1 and the program execution state management means 2. Determine whether or not there is. If the conditions are met,
"Executable" data is notified to the program or operating system as a parameter, and if the conditions are not met, "unexecutable" data is notified to the program or operating system. Based on this parameter, the program Alternatively, the operating system can control program startup.

第2図は第1図の汎用端末機システムにおけるプログラ
ムの実行制御方式の処理を示す流れ図である。
FIG. 2 is a flowchart showing the processing of the program execution control method in the general-purpose terminal system of FIG.

第2図には、上記のプログラム又はオペレーティングシ
ステムからの起動要求プログラムが起動可能か否かを判
断する処理手順が示されている。
FIG. 2 shows a processing procedure for determining whether the above-mentioned program or a program requesting startup from the operating system can be started.

まず、プログラム実行状態管理手段2に格納されている
該当プログラムの実行状態を示すデータを「実行中コの
データで置換する(ステップ20)。次に、起動要求プ
ログラムに対してプログラム非同時動作管理手段1で定
義されている非同時動作プログラムの実行状態を示すデ
ータを調べて、プログラム実行状態管理手段2の非同時
動作プログラムの実行状態を示すデータがすべて[停止
中コのデータならばステップ22へ進み、プログラム実
行状態管理手段2の非同時動作プログラムの実行状態を
示すデータがすべて「実行中コのデータならばステップ
28へ進む(ステップ21)。
First, the data indicating the execution state of the corresponding program stored in the program execution state management means 2 is replaced with the data of the program currently being executed (step 20). Check the data indicating the execution state of the non-simultaneous operation program defined in the means 1, and if all the data indicating the execution state of the non-simultaneous operation program in the program execution state management means 2 are stopped, step 22 If all the data indicating the execution status of the non-simultaneously operating programs in the program execution status management means 2 are "currently running" data, the process advances to step 28 (step 21).

さらに、プログラム実行状態管理手段2に格納されてい
る、起動要求プログラムの直前プログラムを示すデータ
により、直前プログラムが定義されているか否かを判断
し、直前プログラムが未定義のときはステップ24へ進
み、定義されていれば、ステップ23へ進む(ステップ
22)。ステップ23では、先行プログラム状態を示す
データが「実行完了」であればステップ24へ進み、又
、「未実行」であればステップ28へ進む。
Furthermore, it is determined whether or not the immediately preceding program is defined based on the data indicating the immediately preceding program of the activation request program stored in the program execution state management means 2. If the immediately preceding program is undefined, the process proceeds to step 24. , if defined, the process advances to step 23 (step 22). In step 23, if the data indicating the preceding program status is "completed", the process advances to step 24, and if it is "not executed", the process advances to step 28.

ステップ24では、プログラム又はオペレーティングシ
ステムに対し「プログラム起動可能」を示すデータが通
知される。「プログラム起動可能」を示すデータが通知
されると、プログラムがこれにより起動される(ステッ
プ25)。プログラム又はオペレーティングシステムよ
りプログラム停止要求を受けてプログラムが停止すると
くステップ26)、これに該当するプログラムのプログ
ラム実行状態管理手段2の実行状態を示すデータを「停
止中」を示すデータで置換し、先行プログラムの実行状
態を示すデータを「実行完了」又は「未実行」で置換す
る(ステップ27〉。
In step 24, the program or operating system is notified of data indicating that the program can be started. When data indicating that "program can be started" is notified, the program is started (step 25). When the program stops in response to a program stop request from the program or the operating system, in step 26), data indicating the execution state of the program execution state management means 2 of the corresponding program is replaced with data indicating "stopped", The data indicating the execution state of the preceding program is replaced with "execution completed" or "not executed" (step 27).

ステップ28では、プログラム又はオペレーティングシ
ステムに対し「プログラム起動不可能」を示すデータが
通知され、これによりプログラムは起動することができ
ない。ステップ20にて置換された「実行中」のデータ
を「停止中」のデータで再び置換する(ステップ2つ)
In step 28, the program or the operating system is notified of data indicating that "program cannot be started," so that the program cannot be started. Replace the “running” data replaced in step 20 with “stopped” data (2 steps)
.

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

以上説明しなように、本発明は、電子計算機システム上
で動作するプログラムの非同時動作の制御と、実行順序
の制御を自動的に行うことにより、操作者の電子計算機
システム管理の負荷を軽減し、システムの誤動作を回避
させることができるという効果を有する。
As described above, the present invention reduces the burden of computer system management on the operator by automatically controlling non-simultaneous operations of programs running on a computer system and controlling the execution order. This has the effect that malfunctions of the system can be avoided.

図面の簡単な説明 第1図は本発明の一実施例の構成を示す説明図、第2図
は第1図の汎用端末機システムにおけるプログラムの実
行制御方式の処理を示す流れ図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an explanatory diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing processing of a program execution control system in the general-purpose terminal system of FIG.

1・・・プログラム非同時動作管理手段、2・・・プロ
グラム実行状態管理手段、3・・・プログラム起動要求
管理手段、4・・・プログラム停止要求管理手段、5・
・・起動可否管理手段。
DESCRIPTION OF SYMBOLS 1... Program non-simultaneous operation management means, 2... Program execution state management means, 3... Program start request management means, 4... Program stop request management means, 5.
...Startability management means.

Claims (1)

【特許請求の範囲】[Claims] プログラム単位ごとに同時に動作してはならない他のプ
ログラムの組み合せを管理するプログラム非同時動作管
理手段と、前記プログラム単位の実行状態を管理するプ
ログラム実行状態管理手段と、前記プログラムの起動要
求を管理するプログラム起動要求管理手段と、前記プロ
グラムの停止要求を管理するプログラム停止要求管理手
段と、前記プログラムの起動可否を管理する起動可否管
理手段とを備えたことを特徴とする汎用端末機システム
におけるプログラムの実行制御方式。
program non-simultaneous operation management means for managing combinations of other programs that must not run simultaneously for each program unit; program execution state management means for managing the execution state of said program unit; and management of startup requests for said program. A program in a general-purpose terminal system characterized by comprising a program start request management means, a program stop request management means for managing a stop request of the program, and a start possibility management means for managing whether the program can be started. Execution control method.
JP13362589A 1989-05-26 1989-05-26 Execution control system for program in general purpose terminal system Pending JPH02310733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13362589A JPH02310733A (en) 1989-05-26 1989-05-26 Execution control system for program in general purpose terminal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13362589A JPH02310733A (en) 1989-05-26 1989-05-26 Execution control system for program in general purpose terminal system

Publications (1)

Publication Number Publication Date
JPH02310733A true JPH02310733A (en) 1990-12-26

Family

ID=15109194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13362589A Pending JPH02310733A (en) 1989-05-26 1989-05-26 Execution control system for program in general purpose terminal system

Country Status (1)

Country Link
JP (1) JPH02310733A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037638A (en) * 1997-07-19 2009-02-19 Robert Bosch Gmbh Control device for system and driving method of control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037638A (en) * 1997-07-19 2009-02-19 Robert Bosch Gmbh Control device for system and driving method of control device

Similar Documents

Publication Publication Date Title
JP2692609B2 (en) Multitask program debugging method and apparatus
CN101211272B (en) Dynamic virtual machine generation, virtual machine generation method and virtual machine supervisor
US6735716B1 (en) Computerized diagnostics and failure recovery
JPH02310733A (en) Execution control system for program in general purpose terminal system
JPH07225694A (en) Virtual computer system
JP3192692B2 (en) Remote maintenance diagnosis system
JP4149619B2 (en) Priority conversion system
JP2697817B2 (en) Job processing system
JPH0546452A (en) Commitment control system
JP2705522B2 (en) Business execution management method
JPS63201756A (en) File replacing method for on-line system
CN112306822A (en) Control method and device and electronic equipment
JP2023071103A (en) Process schedule method
JP2005284925A (en) Computer system and program update method
JPS60252966A (en) File access possible time advance notice processing system
JPH0667903A (en) Pseudo task swapping system
JPH113231A (en) Software processing method
JPH0589049A (en) Command executing device
JPH0378034A (en) Program parallel execution device
JPH05210506A (en) Office processor
JPS6234251A (en) File restoration system
JPH08241279A (en) Dbms control system
JPS62269239A (en) Control system for cancel/interruption suppression of job
JPH04102960A (en) Multi-cpu control system
JPH04127332A (en) Program debug start processing system