Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2893868B2 - I/O device control method - Google Patents
[go: Go Back, main page]

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
occupying
occupancy
control method
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

Landscapes

  • Multi Processors (AREA)

Description

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

従来の技術 従来の制御方式は、占有指令によって、特定の入出力
装置を占有させる手段、及び解放指令によって入出力装
置の占有状態を解放する手段と、占有中に入出力装置に
対する他システムからの指令を拒否する手段と、入出力
装置が解放された時点で占有中に指令を拒否されたシス
テムに対し解放報告を行う手段とを有している。
PRIOR ART A conventional control method has a means for occupying a specific I/O device by an occupation command, a means for releasing the occupied state of the I/O device by a release command, a means for rejecting commands from other systems to the I/O device while it is occupied, and a means for reporting the release to the system that rejected the command while it was occupied when the I/O device is 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 Figure 2, systems 7 and 8 are connected to the I/O device control unit 9 and I/O devices 10, 11, 12, and 13 by interfaces. Now, when system 7 attempts to occupy I/O device 10, it issues an occupancy command to control unit 9, and control unit 9 stores the fact that system 7 is occupying I/O device 10. In this state, if system 8 attempts to use I/O device 10, all commands are rejected by control unit 9 and it cannot be used. When system 7 releases I/O device 10, it issues a release command to control unit 9, releasing the occupied state. At this time, while system 8 is occupying I/O device 10,
If there has been a history of denial of use of the I/O device 10, the control unit 9 reports its release to the system 8, informing it that the I/O device 10 is now available for use.

発明が解決しようとする課題 しかしながら、この従来の制御方式では、占有してい
るシステムが、入出力装置を占有した状態で、障害等で
ダウンした場合には、その入出力装置が、他システムか
ら使用不可能になるといった課題があった。
Problems that the Invention is intended to Solve However, with this conventional control method, if the occupying system goes down due to a failure or the like while occupying an I/O device, the I/O device becomes unavailable to other systems.

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

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

実施例 次に本発明をその好ましい一実施例について図面を参
照して具体的に説明する。
BEST MODE FOR CARRYING OUT THE PRESENT DISCLOSURE The present invention will now be described in detail with reference to the accompanying drawings, in which: FIG.

第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 and decodes commands from a higher-level device. A command received by the main control unit 1 is decoded, and if it is an occupancy or release command, it is sent to an occupancy release means 4, and if it is another command, it is sent to a command control unit 6. The occupancy release means 4 stores the occupancy release of each input/output device, and passes the processing to a release reporting means 5. The release reporting means 5 issues a release report to the system that was rejected during the occupancy only if the command is a release command.

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

解放要求を受け取ったシステムは、該入出力装置を引
き続き使用するなら再び占有指令を発行し、使用しない
なら解放指令によって入出力装置を解放する。解放され
た場合には、前述の説明通り解放報告が行われる。解放
要求手段3は、解放要求発行後、時間監視を行ってお
り、一定時間内に占有システムより占有解放指令が来な
ければ、入出力装置を強制的に解放し、解放報告を行う
為に処理を解放報告手段5に渡す。
The system that receives the release request issues another occupancy command if it continues to use the I/O device, or issues a release command to release the I/O device if it will not be used. If the I/O device is released, a release report is made as explained above. The release request means 3 monitors the time after issuing a release request, and if an occupancy release command is not received from the occupying system within a certain time, it forcibly releases the I/O device and passes the process to the release report means 5 to make a release report.

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

【図面の簡単な説明】[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 shows a connection diagram of the input/output devices. 1: main control unit, 2: command rejection means, 3: release request means, 4: exclusive release means, 5: release report means, 6:
...Command control unit, 7, 8...System, 9...Control device,
10, 11, 12, 13.... Input/output devices

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の情報処理システムより同時に使用さ
れる入出力装置の制御装置において、上位システムから
の占有指令によって特定の入出力装置を占有させる手段
と、解放指令によって入出力装置の占有状態を解放する
手段と、占有中の入出力装置に対する他システムからの
指令を拒否する手段と、入出力装置が解放された時点で
占有中に指令を拒否されたシステムに対し解放報告を行
う手段と、占有中の入出力装置に対して他システムから
指令が来た場合に占有しているシステムに対し解放要求
を行う手段と、解放要求に対して一定時間占有システム
より応答の無い場合に入出力装置を解放し前記解放報告
を行う手段とを有することを特徴とした入出力装置の制
御方式。
[Claim 1] A control method for an input/output device which is used simultaneously by a plurality of information processing systems, comprising: means for occupying a specific input/output device in response to an occupancy command from a host system; means for releasing the occupied state of the I/O device in response to a release command; means for refusing commands from other systems to the occupying I/O device; means for reporting the release to the system which rejected the command during the occupancy when the I/O device is released; means for making a release request to the occupying system when a command is received from another system to the occupying I/O device; and means for releasing the I/O device and reporting the release when there is no response from the occupying system to the release request for a certain period of time.
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
KR100201819B1 (en) Recovery device and method of multi-master bus system
JP2893868B2 (en) I/O device control method
DE69803873T2 (en) CONTROL DEVICE FOR DISTRIBUTED MEMORY ACCESS
JPH1153201A (en) Method and device for processing plural interruptions
JP2715678B2 (en) Occupancy control method and control device for input/output device
CN1049752C (en) Programmable multiple bus priority arbitration device
JPS6252346B2 (en)
JP2000177943A (en) Elevator transmission control device
JPS593641Y2 (en) data transmission equipment
JPS63238652A (en) Operation managing system for distributed processing system
JPH0673099B2 (en) File device occupancy control method
JP2571447B2 (en) Control system
KR960013979B1 (en) O.2 Signaling Occupied Line Occupancy Control Method in Parallel Processing Software Architecture
JPH05158861A (en) Information processing system
JPH03266166A (en) Occupation control circuit
JPH0295685A (en) Signal transmitting device for elevator
JPS59202527A (en) Bus control system
JPH0660017A (en) Collision circuit
JPH0262699A (en) Disaster preventing monitor
JPH03188724A (en) Communication channel control system
JPH04304545A (en) Input and output controller
JPH0535408A (en) Magnetic disk device
JPS6095669A (en) Common resources managing circuit
JPH03241451A (en) Multiprocessor control system
JPH04239362A (en) Peripheral controller

Legal Events

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