JP2893868B2 - I / O device control method - Google Patents

I / O device control method

Info

Publication number
JP2893868B2
JP2893868B2 JP14075090A JP14075090A JP2893868B2 JP 2893868 B2 JP2893868 B2 JP 2893868B2 JP 14075090 A JP14075090 A JP 14075090A JP 14075090 A JP14075090 A JP 14075090A JP 2893868 B2 JP2893868 B2 JP 2893868B2
Authority
JP
Japan
Prior art keywords
release
command
input
output device
occupied
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.)
Expired - Fee Related
Application number
JP14075090A
Other languages
Japanese (ja)
Other versions
JPH0433149A (en
Inventor
篤志 盛岡
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP14075090A priority Critical patent/JP2893868B2/en
Publication of JPH0433149A publication Critical patent/JPH0433149A/en
Application granted granted Critical
Publication of JP2893868B2 publication Critical patent/JP2893868B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、入出力装置の制御方式に関し、特に、複数
システム間での入出力装置の占有、解放に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method of an input / output device, and more particularly, to occupation and release of an input / output device among a plurality of systems.

従来の技術 従来の制御方式は、占有指令によって、特定の入出力
装置を占有させる手段、及び解放指令によって入出力装
置の占有状態を解放する手段と、占有中に入出力装置に
対する他システムからの指令を拒否する手段と、入出力
装置が解放された時点で占有中に指令を拒否されたシス
テムに対し解放報告を行う手段とを有している。
2. Description of the Related Art Conventional control methods include a means for occupying a specific input / output device by an occupation command, a means for releasing an occupation state of an input / output device by a release command, and The system includes means for rejecting the command and means for reporting the release to the system in which the command was rejected while being occupied when the input / output device was released.

第2図に示す様に、システム7、8と入出力装置の制
御装置9及び入出力装置10、11、12、13は、それぞれイ
ンタフェースで接続されている。今システム7が入出力
装置10を占有しようとするとき、システム7は、制御装
置9に対して占有指令を発行し、制御装置9はシステム
7が入出力装置10を占有していることを記憶する。この
状態でシステム8より入出力装置10を使用しようとする
と、指令は全て制御装置9によって拒否されて使用出来
ない。システム7は、入出力装置10を解放するときには
制御装置9に対して解放指令を発行し、占有状態を解放
する。この時、入出力装置10を占有状態中にシステム8
より使用しようとして拒否された経歴があれば、制御装
置9は、システム8に対して解放報告を行い、入出力装
置10が使用可能になったことを知らせる。
As shown in FIG. 2, the systems 7, 8 and the control device 9 of the input / output devices and the input / output devices 10, 11, 12, 13 are connected by interfaces. Now, when the system 7 attempts to occupy the I / O device 10, the system 7 issues an occupation command to the control device 9, and the control device 9 stores that the system 7 occupies the I / O device 10. I do. In this state, if the user tries to use the input / output device 10 from the system 8, all commands are rejected by the control device 9 and cannot be used. When releasing the input / output device 10, the system 7 issues a release command to the control device 9 to release the occupation state. At this time, while the I / O device 10 is occupied, the system 8
If there is a history of being rejected for further use, the control device 9 sends a release report to the system 8 to notify that the input / output device 10 is available.

発明が解決しようとする課題 しかしながら、この従来の制御方式では、占有してい
るシステムが、入出力装置を占有した状態で、障害等で
ダウンした場合には、その入出力装置が、他システムか
ら使用不可能になるといった課題があった。
However, in the conventional control method, when the occupied system occupies the I / O device and goes down due to a failure or the like, the I / O device is disconnected from other systems. There was a problem that it could not be used.

本発明は従来の上記実情に鑑みてなされたものであ
り、従って本発明の目的は、従来の技術に内在する上記
課題を解決することを可能とした入出力装置の新規な制
御方式を提供することにある。
The present invention has been made in view of the above-described conventional circumstances, and accordingly, an object of the present invention is to provide a novel control method for an input / output device which can solve the above-described problems inherent in the conventional technology. It is in.

課題を解決するための手段 上記目的を達成する為に、本発明に係る入出力装置の
制御方式は、占有中の入出力装置に対して他システムか
ら指令が来た場合に占有しているシステムに対して解放
要求を行う手段と、解放要求に対して一定時間応答の無
い場合に入出力装置を解放し他システムへ解放報告を行
う手段とを有している。
Means for Solving the Problems In order to achieve the above-mentioned object, a control method of an input / output device according to the present invention uses a system occupied when a command is received from another system to an occupied input / output device. And a means for releasing an input / output device when there is no response to the release request for a certain period of time and reporting the release to another system.

実施例 次に本発明をその好ましい一実施例について図面を参
照して具体的に説明する。
Next, a preferred embodiment of the present invention will be specifically described with reference to the drawings.

第1図は本発明に係る制御装置ファームウェアの一実
施例を示すブロック構成図である。第1図を参照する
に、参照番号1は、主制御部であり、上位装置からの指
令の受け取りデコード等を行っている。主制御部1で受
け取られた指令は、デコードされ、占有、解放指令であ
れば占有解放手段4に送られ、他の指令ならば指令制御
部6に送られる。占有解放手段4は、各入出力装置の占
有解放の記憶を行い、処理を解放報告手段5に渡す。解
放報告手段5は、指令が解放指令の場合にのみ、占有中
に指令拒否されたシステムに対して解放報告を行う。
FIG. 1 is a block diagram showing an embodiment of the control device firmware according to the present invention. Referring to FIG. 1, reference numeral 1 denotes a main control unit, which receives a command from a higher-level device and performs decoding and the like. The command received by the main control unit 1 is decoded and sent to the occupation release unit 4 if the command is an occupation / release command, and is sent to the command control unit 6 if the command is another command. The occupation release means 4 stores the occupation release of each input / output device, and passes the processing to the release report means 5. The release reporting unit 5 reports a release to a system whose command is rejected during occupation only when the command is a release command.

また、主制御部1は、指令のデコードの結果、指令を
受け取ったシステム以外のシステムによって占有されて
いる入出力装置に対する指令であった場合には、処理を
指令拒否手段2に渡す。指令拒否手段2は、指令を受け
取ったシステムへ入出力装置が占有中の為に指令が拒否
された旨の報告を行い、処理を解放要求手段3に渡す。
解放要求手段3は、該入出力装置を占有中のシステムへ
入出力装置の解放要求を行う。
If the command is decoded, the main control unit 1 passes the process to the command rejection unit 2 if the command is for an input / output device occupied by a system other than the system that received the command. The command rejection unit 2 reports to the system that has received the command that the command has been rejected because the input / output device is occupied, and passes the processing to the release requesting unit 3.
The release request means 3 issues a release request of the input / output device to the system occupying the input / output device.

解放要求を受け取ったシステムは、該入出力装置を引
き続き使用するなら再び占有指令を発行し、使用しない
なら解放指令によって入出力装置を解放する。解放され
た場合には、前述の説明通り解放報告が行われる。解放
要求手段3は、解放要求発行後、時間監視を行ってお
り、一定時間内に占有システムより占有解放指令が来な
ければ、入出力装置を強制的に解放し、解放報告を行う
為に処理を解放報告手段5に渡す。
The system receiving the release request issues the occupation command again if the input / output device is to be used continuously, and releases the input / output device by the release command if not used. When released, a release report is made as described above. The release request means 3 monitors the time after the release request is issued, and if the occupation release command is not received from the occupation system within a predetermined time, the release request means 3 forcibly releases the input / output device and performs processing to release the release. To the release reporting means 5.

発明の効果 以上説明したように、本発明によれば、システムから
制御装置へ出される入出力装置に関する指令が、他シス
テムによって占有中の為に拒否された場合に、占有して
いるシステムに対し、制御装置が解放要求を行い、解放
要求後時間監視し、無応答時に、入出力装置を強制的に
解放することによって、入出力装置を占有したまま上位
システムが動作不能になった場合でも他システムから使
用出来るようにするという効果が得られる。
Effects of the Invention As described above, according to the present invention, when an instruction relating to an input / output device issued from a system to a control device is rejected because it is being occupied by another system, The control unit issues a release request, monitors the time after the release request, and forcibly releases the I / O device when there is no response, so that even if the host system becomes inoperable while occupying the I / O device, The effect that the system can be used is obtained.

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

第1図は本発明の一実施例を示すブロック構成図、第2
図は入出力装置の接続図である。 1……主制御部、2……指令拒否手段、3……解放要求
手段、4……占有解放手段、5……解放報告手段、6…
…指令制御部、7、8……システム、9……制御装置、
10、11、12、13……入出力装置
FIG. 1 is a block diagram showing an embodiment of the present invention.
The figure is a connection diagram of the input / output device. 1 ... main control unit, 2 ... command rejection means, 3 ... release request means, 4 ... occupation release means, 5 ... release report means, 6 ...
... command control unit, 7, 8 ... system, 9 ... control device,
10,11,12,13 ... I / O device

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の情報処理システムより同時に使用さ
れる入出力装置の制御装置において、上位システムから
の占有指令によって特定の入出力装置を占有させる手段
と、解放指令によって入出力装置の占有状態を解放する
手段と、占有中の入出力装置に対する他システムからの
指令を拒否する手段と、入出力装置が解放された時点で
占有中に指令を拒否されたシステムに対し解放報告を行
う手段と、占有中の入出力装置に対して他システムから
指令が来た場合に占有しているシステムに対し解放要求
を行う手段と、解放要求に対して一定時間占有システム
より応答の無い場合に入出力装置を解放し前記解放報告
を行う手段とを有することを特徴とした入出力装置の制
御方式。
1. A control device for an input / output device used simultaneously by a plurality of information processing systems, means for occupying a specific input / output device by an occupation command from a host system, and an occupation state of the input / output device by a release command. Means for rejecting commands from other systems to the occupied I / O device, and means for reporting release to the system rejected while occupied when the I / O device is released. Means for issuing a release request to the occupied system when a command is received from another system to the occupied I / O device, and input / output when there is no response from the occupied system for a fixed time to the release request Means for releasing the device and reporting the release.
JP14075090A 1990-05-30 1990-05-30 I / O device control method Expired - Fee Related JP2893868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14075090A JP2893868B2 (en) 1990-05-30 1990-05-30 I / O device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14075090A JP2893868B2 (en) 1990-05-30 1990-05-30 I / O device control method

Publications (2)

Publication Number Publication Date
JPH0433149A JPH0433149A (en) 1992-02-04
JP2893868B2 true JP2893868B2 (en) 1999-05-24

Family

ID=15275867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14075090A Expired - Fee Related JP2893868B2 (en) 1990-05-30 1990-05-30 I / O device control method

Country Status (1)

Country Link
JP (1) JP2893868B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11149357A (en) * 1997-11-18 1999-06-02 Minolta Co Ltd Network printer and its printing job managing method
JP6156217B2 (en) * 2014-03-25 2017-07-05 富士ゼロックス株式会社 Image forming system, relay device, and program

Also Published As

Publication number Publication date
JPH0433149A (en) 1992-02-04

Similar Documents

Publication Publication Date Title
US5528767A (en) Programmable multi-level bus arbitration apparatus in a data processing system
JP2893868B2 (en) I / O device control method
US5682485A (en) Deadlock avoidance for switched interconnect bus systems
JPS6252346B2 (en)
JPS63248254A (en) Communication control equipment
JPH0568085A (en) Station data setting system for automatic exchange
JPH01103046A (en) Communication control system
JPS593641Y2 (en) data transmission equipment
JPS63238652A (en) Operation managing system for distributed processing system
JPH0673099B2 (en) File device occupancy control method
JPH0314155A (en) Instruction control system for local area network
JPH0457027B2 (en)
JPS6290097A (en) Key telephone system
JPH04301952A (en) Communication equipment
JPH05210613A (en) Peripheral equipment connecting system
JPS63132360A (en) Input and output processing system
JPH04301945A (en) High efficiency multicast system
JPH04148262A (en) Multi-address transfer device
JPH04938A (en) Data collecting device
JPH01248899A (en) Remote supervisory and controlling system
JPS62245362A (en) Resetting system for multiprocessor system
JPH03266166A (en) Occupation control circuit
JPH0535645A (en) Peripheral device connecting system
JP2002271352A (en) Data transmission system
JPH04125739A (en) Online information processing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees