JPS6385938A - Controller for multiplex parallel operation of program - Google Patents

Controller for multiplex parallel operation of program

Info

Publication number
JPS6385938A
JPS6385938A JP61232124A JP23212486A JPS6385938A JP S6385938 A JPS6385938 A JP S6385938A JP 61232124 A JP61232124 A JP 61232124A JP 23212486 A JP23212486 A JP 23212486A JP S6385938 A JPS6385938 A JP S6385938A
Authority
JP
Japan
Prior art keywords
program
business
started
exclusive control
job
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
JP61232124A
Other languages
Japanese (ja)
Inventor
Shigeyo Terai
寺井 成世
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61232124A priority Critical patent/JPS6385938A/en
Publication of JPS6385938A publication Critical patent/JPS6385938A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of each job program, by retrieving an exclusive control table between the job programs, and a job program number storing table, and discriminating the feasibility of the start up of the program, for the start up request of the job program from a terminal equipment. CONSTITUTION:When the start up request of the job program is issued from the terminal equipments 4a-4n, and a multiplex parallel operation is performed, an exclusive control part 1 refers an inter-job program exclusive control table 2, and discriminates whether the job program requested to start up is possible to be processed in parallel with the job program registered in the job program number storing table 3. If it is possible, the program is started up, and furthermore, the job program number storing table 3 is updated. Also, when a parallel operation is impossible, the program is not started up, and a message informing the impossibility to start up the program is transmitted to the terminal equipment. And when the job program is completed, the identification number of the job program is erased from the job program number storing table 3.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、マルチプログラミング方式による業務プログ
ラムの多重並行動作を制御するプログラムの多重並行動
作制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a program multiple parallel operation control device for controlling multiple parallel operations of business programs using a multiprogramming method.

(従来の技術) 一般にマルチプログラミング方式により、複数のアプリ
ケーションプログラムを同時に動作させる場合には、プ
ログラム相互間で動作可能か否かを識別する排他制御チ
ェックを行う必要がある。
(Prior Art) Generally, when a plurality of application programs are operated simultaneously using a multi-programming method, it is necessary to perform an exclusive control check to determine whether or not the programs can operate with each other.

従来、この排他制御チェックはアプリケーションプログ
ラム自体が行っていたが、この方式によると、動作する
すべてのアプリケーションプログラムに排他制御チェッ
クの機能を持たせなければならないため、プログラムの
容量が増加し、システムの処理効率が大幅に低下してし
まうという問題があった。− (発明が解決しようとする問題点) 本発明は上述したような事情によりなされたもので、各
業務プログラムに排他制御チェツ、りの機能を組込む必
要がなく、システムの処理効率が低下しないプログラム
の多重並行動作制御装置の提供を目的としている。
Conventionally, this exclusive control check was performed by the application program itself, but with this method, all running application programs must have the exclusive control check function, which increases the program capacity and reduces system efficiency. There was a problem in that processing efficiency was significantly reduced. - (Problems to be solved by the invention) The present invention has been made in view of the above-mentioned circumstances, and is a program that does not require the incorporation of exclusive control functions into each business program and does not reduce the processing efficiency of the system. The purpose of this invention is to provide a multi-parallel operation control device.

[発明の構成] (問題点を解決するための手段) 本発明のプログラムの多重並行動作制御装置は、業務プ
ログラムの多重並行動作の可否が登録されている業務プ
ログラム間排他制御テーブルと、各端末ごとに現在実行
中の業務プログラムの識別番号を登録した業務プログラ
ム番号格納テーブルと、ある端末から業務プログラムの
起動要求が出力されたときに前記業務プログラム間排他
制御テーブルと前記業務プログラム番号格納テーブルと
を検索して、そのプログラムの起動の可否を判別し、起
動可の場合はそのプログラムを起動するとともに前記業
務プログラム番号格納テーブル内の該当する端末に対応
したフィールドにそのプログラムの識別番号を登録し、
起動不可の場合には該当する端末に起動不可を示すメツ
セージを送信し、ある端末から業務プログラムの終了要
求が出力されたときには前記業務プログラム番号格納テ
ーブル内の該当する端末に対応したフィールドから該当
するプログラムの識別番号を消去する制御手段とを備え
ている。
[Structure of the Invention] (Means for Solving Problems) The program multiple parallel operation control device of the present invention includes an exclusive control table between business programs in which the availability of multiple parallel operations of business programs is registered, and each terminal. A business program number storage table in which the identification number of the business program currently being executed is registered in each case, and the exclusive control table between business programs and the business program number storage table when a startup request for a business program is output from a certain terminal. is searched to determine whether the program can be started, and if it is possible to start, the program is started and the identification number of the program is registered in the field corresponding to the corresponding terminal in the business program number storage table. ,
If startup is not possible, a message indicating that startup is not possible is sent to the relevant terminal, and when a business program termination request is output from a certain terminal, the corresponding terminal is selected from the field corresponding to the relevant terminal in the business program number storage table. and control means for erasing the program identification number.

(作用) 本発明のプログラムの多重並行動作制御装置では、制御
手段が、ある端末から業務プログラムの起動要求が出力
されたときに業務プログラム間排他制御テーブルと業務
プログラム番号格納テーブルとを検索して、プログラム
の起動の可否を判別するので、各業務プログラムに排仙
制御ヂエツクの機能を組込む必要がない。
(Function) In the program multiple parallel operation control device of the present invention, the control means searches the business program exclusive control table and the business program number storage table when a business program startup request is output from a certain terminal. , it is determined whether the program can be started or not, so there is no need to incorporate the function of a discharge control check into each business program.

(実施例) 以下、本発明の実施例の詳細を図面に基づいて説明する
(Example) Hereinafter, details of an example of the present invention will be described based on the drawings.

第1図は本発明の一実施例装置の構成を示すブロック図
である。、 本実施例装置は中央処理装置(CPU)に接続されてお
り、業務プログラム間、の排他制御を司る排他制御部1
と、後述する業務プログラム間排他制御テーブル2およ
び後述する業務プログラム番号格納テーブル3とを備え
、排他制御部1には端末装置48〜4nが接続されてい
る。
FIG. 1 is a block diagram showing the configuration of an apparatus according to an embodiment of the present invention. The device of this embodiment is connected to a central processing unit (CPU), and includes an exclusive control unit 1 that controls exclusive control between business programs.
, a business program exclusive control table 2 to be described later, and a business program number storage table 3 to be described later, and terminal devices 48 to 4n are connected to the exclusive control unit 1.

第2図は本実施例装置における業務プログラム間排他制
御テーブル2の内容の一例を示す図である。
FIG. 2 is a diagram showing an example of the contents of the business program exclusive control table 2 in the apparatus of this embodiment.

図中P1〜PNは業務プログラム番号を示しており、マ
トリックス状に構成されている。そして「1」および「
0」の組合わせにより、業務プログラム相互間の多重並
行動作の可否が示されている。
In the figure, P1 to PN indicate business program numbers, which are arranged in a matrix. and “1” and “
The combination of "0" indicates whether multiple parallel operations between business programs are possible.

ざらに第3図は本実施例装置における業務プログラム番
号格納テーブル3の内容を示す図である。
Briefly, FIG. 3 is a diagram showing the contents of the business program number storage table 3 in the apparatus of this embodiment.

図中WSOO−WSOnは端末装置4a〜4nのコード
番号を示し、PRnは該当する端末装置で実行されてい
る業務プログラムを示す識別番号が格納される。
In the figure, WSOO-WSOn indicates the code number of the terminal devices 4a to 4n, and PRn stores an identification number indicating the business program being executed on the corresponding terminal device.

なお一つの端末装置における業務プログラムには、フロ
ントパーティションを使用するものと、バックパーティ
ションを使用するものとが存在するため、2種類の業務
プログラム番号格納テーブルが用意されている。
Note that since there are two types of business programs in one terminal device, one using the front partition and the other using the back partition, two types of business program number storage tables are prepared.

以下、各図に基づいて本実施例装置の動作について説明
する。
The operation of the apparatus of this embodiment will be explained below based on each figure.

プログラムの最初の起動は、端末装置4a〜4nにそれ
ぞれ設けられているプログラムファンクションキーの押
圧により指示される。
The initial activation of the program is instructed by pressing a program function key provided on each of the terminal devices 4a to 4n.

まず排他制御部1は第3図に示した業務プログラム番号
格納テーブル3を参照することにより、起動要求された
業務プログラムの起動可否の判定を行う。
First, the exclusive control unit 1 refers to the business program number storage table 3 shown in FIG. 3 to determine whether or not the business program requested to be started can be started.

すなわち、このプログラム番号格納テーブルに一件もプ
ログラムの識別番号が登録されていない場合には、要求
された業務プログラムを無条件に起動するとともに、そ
の業務プログラム番号をデープル内の該当する端末に対
応したフィールドに登録する。
In other words, if no program identification number is registered in this program number storage table, the requested business program is started unconditionally, and the business program number is associated with the corresponding terminal in the table. registered in the specified field.

一方、このプログラム番号格納テーブルに既にプログラ
ムが登録されている場合、すなわち多重並行処理が行わ
れる場合には、排他制御部1は第2図に示した業務プロ
グラム間排他制御テーブル2を参照し、起動要求のあっ
た業務プログラムが業務プログラム番号格納テーブル3
に登録されている業務プログラムと並行動作可能である
かを判別し、可能であれば起動させ、さらに業務プログ
ラム番号格納テーブル3を更新する。なお並行動作が不
可の場合には起動させず、該当する端末装置へ起動不可
のメツセージを送信する。
On the other hand, if a program is already registered in this program number storage table, that is, if multiple parallel processing is performed, the exclusive control unit 1 refers to the inter-business program exclusive control table 2 shown in FIG. The business program for which the startup request was made is in the business program number storage table 3.
It is determined whether the program can run in parallel with the business program registered in , and if possible, it is activated, and the business program number storage table 3 is updated. Note that if parallel operation is not possible, the device is not activated and a message indicating that activation is not possible is sent to the corresponding terminal device.

本実施例装置では、複数の端末から業務プログラムの起
動要求があるごとに上述した処理を行い、アプリケーシ
ョンプログラム自体は排他制御に関する処理を一切行わ
ない。
In the device of this embodiment, the above-described process is performed every time there is a request to start a business program from a plurality of terminals, and the application program itself does not perform any process related to exclusive control.

そして業務プログラムの終了時には、業務プログラム番
号格納テーブル3から該当する業務プログラムの識別番
号が消去される。
When a business program ends, the identification number of the corresponding business program is deleted from the business program number storage table 3.

かくして本実施例装置によれば、排他制御チェックの機
能を各アプリケーションプログラム自体に持たせる必要
がないため、プログラミングが容易になり、また各プロ
グラムの容量を小さくすることができる。
Thus, according to the device of this embodiment, since it is not necessary to provide each application program itself with the function of exclusive control check, programming becomes easy and the capacity of each program can be reduced.

さらに業務プログラムの多重並行処理動作の可否判定が
迅速に行なわれるようになる。
Furthermore, it is possible to quickly determine whether multiple parallel processing operations of a business program are possible.

[発明の効果] 以上説明したように本発明のプログラムの多重並行動作
制御装置は、制御手段が、ある端末から業務プログラム
の起動要求が出力されたときに、業務プログラム間排他
制御テーブルと業務プログラム番号格納テーブルとを検
索して、プログラムの起動の可否を判別するので、各業
務プログラムに排他制御チェックの機能を組込む必要が
なくなり、各業務プログラムの容量を小ざくすることが
でき、システムの処理効率が飛躍的に向上する。
[Effects of the Invention] As explained above, in the program multiple parallel operation control device of the present invention, when the control means outputs a start request for a business program from a certain terminal, Since it determines whether a program can be started by searching the number storage table, there is no need to incorporate an exclusive control check function into each business program, the capacity of each business program can be reduced, and the system processing speed is reduced. Efficiency improves dramatically.

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

第1図は本発明の一実施例装置の構成を示すブロック図
、第2図は同実施例装置における業務プログラム間排他
制御テーブルの内容の一例を示す図、第3図は同実施例
装置における業務プログラム番号格納テーブルの一例を
示す図である。 1・・・・・・・・・排他制御部 2・・・・・・・・・業務プログラム間排他制御テーブ
ル3・・・・・・・・・業務プログラム番1納デープル
4a〜4n・・・端末装置 出願人     株式会社 東 芝 代理人 弁理士 須 山 佐 − 第1図
FIG. 1 is a block diagram showing the configuration of a device according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of the contents of an exclusive control table between business programs in the device according to the embodiment, and FIG. FIG. 3 is a diagram showing an example of a business program number storage table. 1... Exclusive control unit 2... Inter-business program exclusive control table 3... Business program number 1 data 4a to 4n...・Terminal device applicant Toshiba Corporation Representative Patent attorney Sasu Suyama - Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)業務プログラムの多重並行動作の可否が登録され
ている業務プログラム間排他制御テーブルと、各端末ご
とに現在実行中の業務プログラムの識別番号を登録した
業務プログラム番号格納テーブルと、ある端末から業務
プログラムの起動要求が出力されたときに前記業務プロ
グラム間排他制御テーブルと前記業務プログラム番号格
納テーブルとを検索して、そのプログラムの起動の可否
を判別し、起動可の場合はそのプログラムを起動すると
ともに前記業務プログラム番号格納テーブル内の該当す
る端末に対応したフィールドにそのプログラムの識別番
号を登録し、起動不可の場合には該当する端末に起動不
可を示すメッセージを送信し、ある端末から業務プログ
ラムの終了要求が出力されたときには前記業務プログラ
ム番号格納テーブル内の該当する端末に対応したフィー
ルドから該当するプログラムの識別番号を消去する制御
手段とを備えてなることを特徴とするプログラムの多重
並行動作制御装置。
(1) A business program exclusive control table in which the availability of multiple parallel operations of business programs is registered, a business program number storage table in which the identification number of the business program currently being executed for each terminal is registered, and a When a request to start a business program is output, the business program exclusive control table and the business program number storage table are searched to determine whether the program can be started, and if the program can be started, the program is started. At the same time, the identification number of the program is registered in the field corresponding to the corresponding terminal in the business program number storage table, and if the program cannot be started, a message indicating that startup is not possible is sent to the corresponding terminal, and the program is started from a certain terminal. and a control means for erasing the identification number of the applicable program from the field corresponding to the applicable terminal in the business program number storage table when a program termination request is output. Motion control device.
JP61232124A 1986-09-30 1986-09-30 Controller for multiplex parallel operation of program Pending JPS6385938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61232124A JPS6385938A (en) 1986-09-30 1986-09-30 Controller for multiplex parallel operation of program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61232124A JPS6385938A (en) 1986-09-30 1986-09-30 Controller for multiplex parallel operation of program

Publications (1)

Publication Number Publication Date
JPS6385938A true JPS6385938A (en) 1988-04-16

Family

ID=16934378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61232124A Pending JPS6385938A (en) 1986-09-30 1986-09-30 Controller for multiplex parallel operation of program

Country Status (1)

Country Link
JP (1) JPS6385938A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0530953U (en) * 1991-06-25 1993-04-23 株式会社田村電機製作所 Terminal device
JPH0713649A (en) * 1993-06-28 1995-01-17 Nec Corp Job execution management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0530953U (en) * 1991-06-25 1993-04-23 株式会社田村電機製作所 Terminal device
JPH0713649A (en) * 1993-06-28 1995-01-17 Nec Corp Job execution management system

Similar Documents

Publication Publication Date Title
EP0147574A2 (en) Resource sharing method between workstations
CN112817748A (en) Task processing method based on android virtual machine and computer equipment
JPS6385938A (en) Controller for multiplex parallel operation of program
EP0223463A2 (en) Multiprocessor data processing system
JPS62290952A (en) Display terminal
JP3046887B2 (en) Output file generation method in OCR data entry system
EP0867811A1 (en) Accounting-information outputting device
JPH01258135A (en) Transaction execution control system
JP3496436B2 (en) Programmable controller
JPH05165796A (en) Software developing tool starting system in distributed type computer network
JPH02127732A (en) Job control system
JPH02244228A (en) Job start control method
JPH01169635A (en) Job activating system
JPS59197915A (en) System for responding to operator message
JPH02195468A (en) Device control unit and information processing terminal equipment using the control unit
JPH113231A (en) Software processing method
JPH04107640A (en) Computer system
JPH0378837A (en) Task control system
JPH0259951A (en) Batch job start control system based upon on-line
JPH0769838B2 (en) Job start control method
JPH06230982A (en) Transaction processing control system
JPH02165340A (en) Job schedule device
JP2000056884A (en) Menu display control unit
JPH07219785A (en) Device and method for controlling operating system
JPH11194978A (en) Priority control system for transmission data