JPH05334227A - Assignment system for input/output device for computer system - Google Patents

Assignment system for input/output device for computer system

Info

Publication number
JPH05334227A
JPH05334227A JP14272292A JP14272292A JPH05334227A JP H05334227 A JPH05334227 A JP H05334227A JP 14272292 A JP14272292 A JP 14272292A JP 14272292 A JP14272292 A JP 14272292A JP H05334227 A JPH05334227 A JP H05334227A
Authority
JP
Japan
Prior art keywords
input
output device
workstation
output
program
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
JP14272292A
Other languages
Japanese (ja)
Inventor
Yutaka Kondo
豊 近藤
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 JP14272292A priority Critical patent/JPH05334227A/en
Publication of JPH05334227A publication Critical patent/JPH05334227A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 入出力装置の割当てを入出力装置を意識する
ことなく自動的に割当てる。 【構成】 入出力装置を使用可能な複数のワークステー
ションWS00,WS01,WS02を識別するための
識別番号が格納されたワークステーションIDテーブル
11と、各ワークステーションWS00,WS01,W
S02が使用する入出力装置の種類を分類記号を用いて
設定するデバイスIDテーブル12と、デバイスIDテ
ーブル12で設定された入出力装置毎に、プログラムで
割り当てる入出力装置の識別番号を優先度順に格納する
デバイス番号テーブル13とから成る。
(57) [Summary] [Purpose] Automatically allocate I / O devices without being aware of them. [Structure] A workstation ID table 11 storing identification numbers for identifying a plurality of workstations WS00, WS01, WS02 that can use an input / output device, and each workstation WS00, WS01, W
The device ID table 12 that sets the type of the input / output device used in S02 using the classification symbol, and the identification number of the input / output device assigned by the program for each input / output device set in the device ID table 12 in order of priority. And a device number table 13 to be stored.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムにおけ
るプリンタやフロッピーディスク装置等の入出力装置を
自動的に割り当てる割当て方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an allocation system for automatically allocating input / output devices such as printers and floppy disk devices in computer systems.

【0002】[0002]

【従来の技術】従来より、計算機システムにおいて、プ
リンタやフロッピーディスク装置等の入出力装置は、プ
ログラム毎に予め固定された装置を使用する方法(静的
割当て)か、プログラム実行中にユーザが任意の装置を
指定する方法(動的割当て)が一般的であった。
2. Description of the Related Art Conventionally, in a computer system, an input / output device such as a printer or a floppy disk device uses a device fixed in advance for each program (static allocation), or a user arbitrarily selects it while executing the program. The method of specifying the device (dynamic allocation) was common.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
ような入出力装置の割当ては、非常に多数の入出力装置
が接続され、それら入出力装置が複数のワークステーシ
ョンから共通に使用される可能性のあるシステムにおい
ては、以下のような問題があった。
However, the assignment of the input / output devices as described above has a possibility that a large number of input / output devices are connected and the input / output devices are commonly used by a plurality of workstations. In some systems, there were the following problems.

【0004】すなわち、使用する入出力装置をプログラ
ムの実行中にユーザワークステーションから指定して割
当てる動的方式は、各入出力装置の名称をユーザが常に
意識しなければならない。特に、入出力装置が広域に分
散配置されている場合、ユーザは自分の近辺の入出力装
置を選んで指定する必要があるが、そのプログラムで使
用する入出力装置がプリンタ,フロッピーディスク装置
等、何種類も存在する場合は、各入出力装置の名称を指
定するのが繁雑である。
That is, in the dynamic method in which the input / output device to be used is designated and assigned from the user workstation during execution of the program, the user must always be aware of the name of each input / output device. In particular, when the I / O devices are distributed over a wide area, the user needs to select and specify the I / O devices in the vicinity of the user, but the I / O devices used by the program are printers, floppy disk devices, etc. When there are many types, it is complicated to specify the name of each input / output device.

【0005】一方、使用する入出力装置を固定的に割り
当てる方式では、ユーザの負担は解消されるが、使用し
たい入出力装置が他のプログラムで使用されている場
合、あるいはこの入出力装置が故障している場合に使用
できないという不都合が生じる。
On the other hand, in the method of fixedly allocating the input / output device to be used, the burden on the user is eliminated, but when the input / output device desired to be used is used by another program, or this input / output device fails. However, there is an inconvenience that it cannot be used when

【0006】本発明は上記の事情に鑑みてなされたもの
であり、その目的は、入出力装置の割当てを入出力装置
を意識することなく自動的に割当てることが可能な計算
機システムにおける入出力装置の割当て方式を提供する
ことにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an input / output device in a computer system capable of automatically allocating the input / output device without being aware of the input / output device. It is to provide the allocation method of.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに本発明は、複数のワークステーションが共通に使用
する複数の入出力装置を備えた計算機システムにおい
て、前記ワークステーション毎に使用する入出力装置を
決定するために設けられ、各ワークステーションから参
照可能なデバイス制御テーブルと、各ワークステーショ
ン毎に設けられ、前記デバイス制御テーブルを参照する
手段と、参照結果に応じて使用可能な入出力装置を割り
当てる割当て手段とを具備することを特徴とする。
In order to achieve the above object, the present invention provides a computer system having a plurality of input / output devices commonly used by a plurality of workstations, which is used for each workstation. A device control table that is provided to determine the output device and that can be referenced from each workstation, a unit that is provided for each workstation and that refers to the device control table, and an input / output that can be used according to the reference result And assigning means for assigning the device.

【0008】[0008]

【作用】本発明によれば、各ワークステーションが入出
力装置を使用する場合には、自身のプログラムからデバ
イス制御テーブルをアクセスして使用可能な入出力装置
を参照する。参照結果に応じて使用可能な入出力装置が
自動的に割当てられる。
According to the present invention, when each workstation uses an input / output device, it accesses the device control table from its own program and refers to the available input / output device. Available input / output devices are automatically assigned according to the reference result.

【0009】[0009]

【実施例】図1は、本発明に係る計算機システムにおけ
る入出力装置の割当方式の一実施例を示す構成図であ
る。
1 is a block diagram showing an embodiment of an input / output device allocation system in a computer system according to the present invention.

【0010】この実施例は、3台のワークステーション
WS00,WS01,WS02から使用可能な3台のプ
リンタとフロッピーディスク装置を備えている。
This embodiment comprises three printers and a floppy disk device which can be used by three workstations WS00, WS01, WS02.

【0011】これらの装置を使用するために、デバイス
制御テーブル10が設けられており、このテーブル10
は、ワークステーションIDテーブル11と、デバイス
IDテーブル12と、デバイス番号テーブル13とを備
え、これら各テーブル11,12,13は、各ワークス
テーションWS00,WS01,WS02からアクセス
可能な共通メモリ領域に設定可能である。
A device control table 10 is provided in order to use these devices.
Includes a workstation ID table 11, a device ID table 12, and a device number table 13, and these tables 11, 12, 13 are set in a common memory area accessible from the workstations WS00, WS01, WS02. It is possible.

【0012】ワークステーションIDテーブル11は、
入出力装置を使用可能な複数(本実施例では3台)のワ
ークステーションを識別するための識別番号が格納され
たテーブルである。
The workstation ID table 11 is
6 is a table in which identification numbers for identifying a plurality of workstations (three in this embodiment) that can use input / output devices are stored.

【0013】デバイスIDテーブル12は、各ワークス
テーションWS00,WS01,WS02が使用する入
出力装置の種類を分類記号を用いて設定するテーブルで
ある。この分類記号としては、例えば、GPはプリン
タ、FDはフロッピーディスク装置を差している。
The device ID table 12 is a table for setting the type of the input / output device used by each of the workstations WS00, WS01, WS02 by using a classification symbol. As the classification symbol, for example, GP is a printer and FD is a floppy disk device.

【0014】デバイス番号テーブル13は、デバイスI
Dテーブル12で設定された入出力装置毎にプログラム
で割り当てる入出力装置の識別番号を優先度順に格納す
るテーブルである。例えば、3台のプリンタGP00,
GP01,GP02が使用可能でかつ優先度がこの順番
であれば、その識別番号00,01,02を格納する。
The device number table 13 shows the device I
It is a table for storing the identification numbers of the input / output devices assigned by the program for each input / output device set in the D table 12 in order of priority. For example, three printers GP00,
If GP01 and GP02 are available and the priority is in this order, the identification numbers 00, 01 and 02 are stored.

【0015】各ワークステーションWS00,WS0
1,WS02は、前記各テーブル11,12,13を参
照して実行中のプログラムから使用する入出力装置を自
動割当することができる。
Each workstation WS00, WS0
1, WS02 can automatically assign the input / output device to be used from the program being executed by referring to each of the tables 11, 12, and 13.

【0016】本実施例で使用可能な入出力装置として
は、前記プリンタやフロッピーディスク装置の他に、磁
気ディスク装置、スキャナ装置、光ディスク装置、ファ
ックス等、種々の装置が考えられる。
As the input / output device which can be used in this embodiment, various devices such as a magnetic disk device, a scanner device, an optical disk device, a fax machine and the like can be considered in addition to the printer and the floppy disk device.

【0017】次に本実施例の作用を図2のフローチャー
トを参照して説明する。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG.

【0018】今、ワークステーションWS01で実行中
のプログラムから入出力装置を自動割り当てする場合に
ついて説明する。ワークステーションWS01のプログ
ラムが起動されると、ワークステーションWS01は、
先ず、自身のワークステーション番号をワークステーシ
ョンIDテーブル11を参照して確認し(ステップST
1)。確認が終了すると(ステップST2)、現在使用
中のプログラムがどの入出力装置を使用するのかを検索
する。この場合には、ワークステーションIDテーブル
11内のワークステーションID番号からこのID番号
に対応した使用可能な入出力装置をデバイスIDテーブ
ル12から調べることにより可能である(ステップST
3)。この例では、ワークステーションWS01には、
GP(プリンタ)とFD(フロッピーディスク装置)が
割り当てられているので、もし、プログラムで使用する
入出力装置が磁気ディスク装置であれば、“磁気ディス
ク装置は使用できません”というメッセージが出力され
る(ステップST4,ST5)。
Now, a case will be described in which an input / output device is automatically assigned from a program running on the workstation WS01. When the program of the workstation WS01 is started, the workstation WS01
First, the own workstation number is confirmed by referring to the workstation ID table 11 (step ST
1). When the confirmation is completed (step ST2), the I / O device used by the program currently in use is searched. In this case, from the workstation ID number in the workstation ID table 11, the usable input / output device corresponding to this ID number can be searched from the device ID table 12 (step ST).
3). In this example, workstation WS01 has
Since GP (printer) and FD (floppy disk device) are assigned, if the I / O device used in the program is a magnetic disk device, the message "The magnetic disk device cannot be used" is output ( Steps ST4 and ST5).

【0019】どの入出力装置を使用するかが決定される
と(ステップST4YES)、次に、その入出力装置が
現在使用可能かが検索される(ステップST6)。この
検索処理は、デバイス番号テーブル13を参照すること
により検索される。この例では、プリンタの割り当て
は、最初はGP01であり、このGP01が使用中また
は使用不能の時にはGP02が割り当てられる。また、
フロッピーディスク装置の割り当ては、FD01のみで
ある。もし、全てのの入出力装置が使用中または使用不
能であれば、その旨のメッセージが出力される(ステッ
プST5)。
When it is determined which input / output device is to be used (YES in step ST4), it is then searched whether or not the input / output device is currently usable (step ST6). This search processing is searched by referring to the device number table 13. In this example, the printer is initially assigned GP01, and when the GP01 is in use or unavailable, GP02 is assigned. Also,
The allocation of the floppy disk device is FD01 only. If all input / output devices are in use or unavailable, a message to that effect is output (step ST5).

【0020】このようにして、ワークステーションの入
出力装置の割り当てが終了する(ステップST7YE
S)と、ワークステーションWS01の入出力処理が実
行され(ステップST8)、プリンタGP01を使用し
た印刷処理が実行されるとともに、フロッピーディスク
装置FD01を使用した保存処理が実行される。一連の
入出力処理が終了すると(ステップST9YES)、使
用していた入出力装置が開放されて処理を終了する(ス
テップST10)。
In this way, the assignment of the input / output device of the workstation is completed (step ST7YE).
S), the input / output process of the workstation WS01 is executed (step ST8), the printing process using the printer GP01 is executed, and the saving process using the floppy disk device FD01 is executed. When the series of input / output processing is completed (YES in step ST9), the input / output device used is released and the processing is completed (step ST10).

【0021】このように本実施例によれば、各ワークス
テーションは、自身のプログラムから自身がどの入出力
装置を使用できるかを自動的に割り当て設定することが
できるので、煩瑣な割り当て作業を人手を介することな
く行うことができる。
As described above, according to this embodiment, each workstation can automatically assign and set which input / output device it can use from its own program, so that the laborious assignment work is manually performed. Can be done without going through.

【0022】また、入出力装置が広域に分散している場
合には、自身のワークステーションの近くに存在する装
置の識別番号を優先的に割り当てることができるので、
使用者の作業負担を軽減することができる。
Further, when the input / output devices are distributed over a wide area, the identification numbers of the devices existing near the own workstation can be preferentially assigned.
The work load on the user can be reduced.

【0023】さらに、1つの種類の入出力装置に対して
複数の候補を設定することにより、入出力装置を他のプ
ログラムが使用中、または入出力装置の故障といった事
態に際して、ユーザーが別の入出力装置を指定すること
なく代替装置に切り替えて使用することができる。
Further, by setting a plurality of candidates for one type of input / output device, the user can make another input when the input / output device is being used by another program or the input / output device is out of order. You can switch to an alternative device and use it without specifying the output device.

【0024】[0024]

【発明の効果】以上説明したように本発明によれば、各
ワークステーションは、自プログラムからどの入出力装
置を使用できるかを使用者が入出力装置を意識すること
なく自動的に割り当て設定することができるので、煩瑣
な割り当て作業を人手を介することなく行うことができ
る。
As described above, according to the present invention, each workstation automatically assigns and sets which input / output device can be used from its own program without the user being aware of the input / output device. Therefore, it is possible to perform a complicated assignment work without human intervention.

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

【図1】本発明に係る計算機システムにおける入出力装
置の割当方式の一実施例を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of an input / output device allocation system in a computer system according to the present invention.

【図2】同実施例の処理手順を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a processing procedure of the embodiment.

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

10 デバイス制御テーブル 11 ワークステーションIDテーブル 12 デバイスIDテーブル 13 デバイス番号テーブル WS ワークステーション GP プリンタ FD フロッピーディスク装置 10 device control table 11 workstation ID table 12 device ID table 13 device number table WS workstation GP printer FD floppy disk device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のワークステーションが共通に使用
する複数の入出力装置を備えた計算機システムにおい
て、 前記ワークステーション毎に使用する入出力装置を決定
するために設けられ、各ワークステーションから参照可
能なデバイス制御テーブルと、 各ワークステーション毎に設けられ、前記デバイス制御
テーブルを参照する手段と、 参照結果に応じて使用可能な装置を割り当てる割当て手
段と、 を具備することを特徴とする計算機システムにおける入
出力装置の割当て方式。
1. A computer system having a plurality of input / output devices commonly used by a plurality of workstations, the computer system being provided for determining the input / output device to be used for each workstation, and being referable from each workstation. A device control table, a means for referencing the device control table provided for each workstation, and an allocating means for allocating an available device according to a reference result. I / O device allocation method.
JP14272292A 1992-06-03 1992-06-03 Assignment system for input/output device for computer system Pending JPH05334227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14272292A JPH05334227A (en) 1992-06-03 1992-06-03 Assignment system for input/output device for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14272292A JPH05334227A (en) 1992-06-03 1992-06-03 Assignment system for input/output device for computer system

Publications (1)

Publication Number Publication Date
JPH05334227A true JPH05334227A (en) 1993-12-17

Family

ID=15322062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14272292A Pending JPH05334227A (en) 1992-06-03 1992-06-03 Assignment system for input/output device for computer system

Country Status (1)

Country Link
JP (1) JPH05334227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096598A (en) * 1995-06-14 1997-01-10 Nec Software Ltd Automatic resources allotting device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH096598A (en) * 1995-06-14 1997-01-10 Nec Software Ltd Automatic resources allotting device

Similar Documents

Publication Publication Date Title
EP0473913A2 (en) Method and apparatus for providing a service pool of virtual machines for a plurality of VM users
EP0248403A2 (en) Distributed interactive processing method in complex system including plural work stations and plural host computers and apparatus using the same
EP0326671A2 (en) A computer system and a method of monitoring transient data structures of a computer system
JPS62281039A (en) Dynamic provision of virtual memory source to control program
JPH08221226A (en) Self-constituted network/printer system
US5408334A (en) Method and apparatus for having a processor execute a job utilizing an electronic mail system
JPH10289066A (en) Image processing apparatus and method
JP4157376B2 (en) Information processing apparatus, image forming apparatus, control method, and program
US5062046A (en) Multiple processor system having a correspondence table for transferring processing control between instruction processors
JPH11338719A (en) Computer system
JPH05265977A (en) I / O control method
JP3353312B2 (en) Memory area management method
JPH0660040A (en) Multiserver program control system
JPH04370838A (en) Virtual machine startup method
JPH0395661A (en) Process assignment device for parallel computer
JP3415641B2 (en) Control device
JPH0251740A (en) Control system for process allocation
JPS63279327A (en) Control system for allocation of resources designated by job control sentence
JPH04107640A (en) Computer system
JP3792191B2 (en) Digital multifunction device
JPS63109555A (en) Dynamic conversion system for virtual storage space size
JPH03225417A (en) Input/output control system for extended storage device
JPH02300938A (en) Multi-terminal task control system
JPH04310166A (en) Job file allocation system for remote batch job
JPH10289118A (en) I / O channel control method for virtual machine system