JPH067378B2 - Start-up control method - Google Patents

Start-up control method

Info

Publication number
JPH067378B2
JPH067378B2 JP9639985A JP9639985A JPH067378B2 JP H067378 B2 JPH067378 B2 JP H067378B2 JP 9639985 A JP9639985 A JP 9639985A JP 9639985 A JP9639985 A JP 9639985A JP H067378 B2 JPH067378 B2 JP H067378B2
Authority
JP
Japan
Prior art keywords
input
output
control device
ioc
activation
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 - Lifetime
Application number
JP9639985A
Other languages
Japanese (ja)
Other versions
JPS61255453A (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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9639985A priority Critical patent/JPH067378B2/en
Publication of JPS61255453A publication Critical patent/JPS61255453A/en
Publication of JPH067378B2 publication Critical patent/JPH067378B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明はデータ処理システムに係り、特に、入出力装置
と中央処理装置との間にあって起動パス自動選択機能付
き起動キューイング機構を持つチャネル処理装置におけ
る起動キューイング制御方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system, and more particularly, to channel processing having an activation queuing mechanism with an activation path automatic selection function between an input / output device and a central processing unit. The present invention relates to an activation queuing control method in a device.

〔従来の技術〕[Conventional technology]

従来、データ処理システムにおける入出力制御方式の一
つに、複数のチャネルを管理するチャネル処理装置を通
して各チャネルの下位に接続された入出力制御装置の2
つ以上に同一の入出力装置を接続し、使用中でない入出
力制御装置の接続経路により該当入出力装置を起動する
方式がある。第3図はかゝるデータ処理システムの概略
構成を示したものであって、101は中央処理装置、1
02はチャネル処理装置、103は主記憶装置、111
−113はチャネル(CH)、121−124は入出力
制御装置(IOC)、131−134は入出力装置であ
る。
2. Description of the Related Art Conventionally, one of input / output control methods in a data processing system is an input / output control device that is connected to a lower level of each channel through a channel processing device that manages a plurality of channels.
There is a method in which two or more same I / O devices are connected and the corresponding I / O device is started by the connection path of the I / O control device that is not in use. FIG. 3 shows a schematic configuration of such a data processing system, 101 is a central processing unit, 1
02 is a channel processing device, 103 is a main storage device, 111
Reference numeral 113 is a channel (CH), 121-124 are input / output control devices (IOC), and 131-134 are input / output devices.

第3図のデータ処理システムにおいて、中央処理装置1
01は入出力開始命令により、チャネル111−入出力
制御装置121の経路を介するか、あるいはチャネル1
12−入出力制御装置122の経路を介するかのいずれ
でもよいということでチャネル処理装置102に対し、
例えば入出力装置131に対する入出力起動を要求す
る。チャネル処理装置102は、入出力装置131に対
する該起動要求をいったん主記憶装置103上の起動キ
ューにエンキューし、入出力開始命令とは非同期に該起
動要求を起動キューから選択していずれかの経路を選択
し、起動が成功すれば起動キューからデキューする。ま
た、チャネル処理装置102は1つの経路を選択した
後、起動に対する初期ステータスとしてIOC使用中を
受け取った場合、入出力割込みを起こさず、該初期ステ
ータスを捨てゝ、別の経路を選択する。IOC使用中を
報告した入出力制御装置121あるいは122は、その
後使用中状態が解除すると、IOC使用中報告した経路
に対してIOC終了のステータスを報告する。チャネル
処理装置102は、該IOC終了のステータスを受け取
っても入出力割込みを起こさず、該ステータスを捨て
る。
In the data processing system of FIG. 3, the central processing unit 1
01 is an input / output start command, and goes through the route of channel 111-input / output control unit 121 or channel 1
12-to the channel processing device 102 by either of the route of the input / output control device 122,
For example, it requests input / output activation for the input / output device 131. The channel processing device 102 once enqueues the activation request for the input / output device 131 in the activation queue on the main storage device 103, selects the activation request from the activation queue asynchronously with the input / output start instruction, and selects one of the routes. Select and dequeue from the boot queue if the boot is successful. Further, when the channel processor 102 selects one path and then receives IOC busy as an initial status for activation, it does not cause an input / output interrupt, discards the initial status, and selects another path. The I / O control device 121 or 122 which has reported the IOC busy state reports the IOC end status to the route reported as the IOC busy state when the busy state is released thereafter. The channel processing unit 102 does not cause an input / output interrupt even when it receives the IOC end status, and discards the status.

今、チャネル処理装置102が起動キューから入出力装
置131に対する入出力起動要求を選択し、最初にチャ
ネル111−入出力制御装置121の経路を選択して起
動を試みたところ、初期ステータスとしてIOC使用中
を受け取ったとする。この時、チャネル処理装置102
は入出力割込みを起さず、該初期ステータスを捨て、チ
ャネル112−入出力制御装置122の経路を選択し
て、再び起動を試みる。該起動に成功すると、入出力装
置131に対する入出力起動要求を起動キューからデキ
ューする。
Now, when the channel processing device 102 selects an input / output activation request to the input / output device 131 from the activation queue and first attempts to activate by selecting the path of the channel 111-the input / output control device 121, the IOC is used as the initial status. Suppose you receive the inside. At this time, the channel processing device 102
Does not cause an I / O interrupt, discards the initial status, selects the channel 112-I / O controller 122 path, and tries to start again. When the activation is successful, the input / output activation request for the input / output device 131 is dequeued from the activation queue.

ところで、チャネル111−入出力制御装置121の経
路で受け取ったIOC使用中のステータスに対する解除
報告であるIOC終了のステータスを、チャネル処理装
置102がまだ受け取っていない間に、チャネル処理装
置102が起動キューから入出力装置132に対する入
出力起動要求を選択した場合、最初にチャネル111−
入出力制御装置121の経路を選択することがありう
る。この場合、チャネル111−入出力制御装置121
の経路からの起動は当該不成功であるので、チャネル処
理装置102はチャネル112−入出力制御装置122
の経路から起動を再び試みることになる。
By the way, while the channel processing device 102 has not yet received the IOC end status, which is a release report for the status of the IOC in use received on the channel 111-input / output control device 121 path, the channel processing device 102 starts the activation queue. When an input / output activation request to the input / output device 132 is selected from the channel 111-
It is possible that the path of the input / output control device 121 is selected. In this case, channel 111-input / output control device 121
Since it is unsuccessful to start from the path of, the channel processing unit 102 sets channel 112-input / output control unit 122.
Will try again from the path of.

一方、近年の電子機器の発展に伴い、従来ハードロジッ
クで構成されていた入出力制御装置の対チャネルのイン
タフェース制御部に、最近安価で入手の容易なマイクロ
プロセッサを用いるようになってきたゝめ、逆にチャネ
ル−入出力制御装置間のインタロックにかゝる時間は増
加する傾向にある。また、最近のファイル装置では、1
台の入出力制御装置に接続できる入出力装置台数が増加
しており、さらに他の系と共有する使い方が多くなって
きているので、入出力制御装置の使用率が増加し、チャ
ネル処理装置からの起動に対して入出力制御装置がIO
C使用中となることが多くなってきている。従って、上
述のように、チャネル処理装置IOC使用中になる無駄
な起動を行うと、システム全体の性能に影響を及ぼすこ
とゝなる。
On the other hand, with the recent development of electronic devices, inexpensive and easily available microprocessors have recently been used for the interface control unit of the input / output control device, which is conventionally composed of hard logic, for the channel. On the contrary, the time required for the interlock between the channel and the input / output control device tends to increase. In recent file devices, 1
Since the number of I / O devices that can be connected to one I / O controller is increasing and the usage shared with other systems is also increasing, the usage rate of the I / O controller increases and I / O control device responds to the startup of
In many cases, C is in use. Therefore, as described above, when the channel processor IOC is in use and is unnecessarily activated, the performance of the entire system is affected.

〔発明の目的〕[Object of the Invention]

本発明の目的は、チャネル処理装置がIOC使用中にな
る無駄な起動を行うことを抑止し、システム全体の性能
向上を図ることにある。
An object of the present invention is to prevent the channel processing device from performing useless activation when the IOC is in use, and improve the performance of the entire system.

〔発明の特徴〕[Characteristics of the Invention]

本発明は、複数のチャネルを管理するチャネル処理装置
を通し、各チャネルの下位に接続された入出力制御装置
の2つ以上に接続された入出力装置に対して中央処理装
置から入出力命令を与え、チャネル処理装置では、該入
出力命令とは非同期に、該入出力命令の要求による該入
出力装置への起動を、可能な接続経路を選択した後開始
し、起動中に該経路で入出力制御装置が使用中(IOC
使用中)であることを検出すると他の可能な接続経路を
選択して起動を繰り返し、起動が成功するまで該入出力
命令による該入出力装置への起動の要求をスタックする
とゝもに、同時に前記入出力装置以外の複数の入出力装
置への起動の要求もスタックするシステムにおいて、I
OC使用中を受け取った後IOC終了を受け取るまで、
該IOC使用中を受け取った入出力制御装置に対する起
動を抑制するとゝもに、異常によってIOC終了が喪失
されても一定時間経過後に該入出力制御装置を含む経路
を再び選択可能としたことである。
According to the present invention, a central processing unit sends an input / output command to an input / output device connected to two or more of the input / output control devices connected to the lower level of each channel through a channel processing device that manages a plurality of channels. In the channel processing device, asynchronously with the input / output instruction, the activation to the input / output device by the request of the input / output instruction is started after selecting a possible connection path, and the input is made on the path during the activation. Output controller is in use (IOC
If it is in use), another possible connection path is selected and the activation is repeated, and a request for activation to the I / O device by the I / O command is stacked until the activation is successful. In a system in which requests for activation to a plurality of input / output devices other than the input / output device are also stacked,
After receiving OC busy, until receiving IOC end,
This is to suppress the activation of the I / O control device that has received the IOC busy state, and to make it possible to select the path including the I / O control device again after a certain period of time even if the IOC end is lost due to an abnormality. .

〔発明の実施例〕Example of Invention

第1図は本発明の一実施例を示す図であり、図中、、第
3図と同一部分は同一符号で示している。201は主記
憶装置103内のハードウェア専用領域に存在するIO
C制御テーブルであり、202はIOC制御テーブル2
01を制御するIOC使用中制御部である。
FIG. 1 is a diagram showing an embodiment of the present invention, in which the same parts as those in FIG. 3 are designated by the same reference numerals. Reference numeral 201 denotes an IO existing in a dedicated hardware area in the main storage device 103.
C control table, 202 is IOC control table 2
IOC control unit for controlling 01.

第2図はIOC制御テーブル201のエントリを示す。
即ち、IOC制御テーブル201は、チャネル処理装置
102が配下に接続するすべての入出力制御装置対応に
それぞれIOC使用中フラグとIOC使用中受け付時刻
を保持するフィールドを持つ。IOC使用中フラグフィ
ールドは常に有効であり、IOC使用中受け付け時刻フ
ィールドはIOC使用中フラグが“1”の時のみ有効で
ある。
FIG. 2 shows an entry in the IOC control table 201.
That is, the IOC control table 201 has fields for holding an IOC busy flag and an IOC busy acceptance time for each of the input / output control devices connected under the channel processing device 102. The IOC busy flag field is always valid, and the IOC busy acceptance time field is valid only when the IOC busy flag is "1".

以下、本発明による起動キューイング制御動作を説明す
る。
The activation queuing control operation according to the present invention will be described below.

チャネル処理装置102が起動キュー中から1つの入出
力起動要求を選択し、さらに該要求の入出力装置への1
つの経路を選択した後、IOC使用中制御部202が働
き、IOC制御テーブル201内の該経路の含まれる入
出力制御装置に対応するIOC使用中フラグフィールド
をチェックし、該フラグが“0”ならば、該経路で起動
を開始する。該フラグが“1”ならば、対応するIOC
使用中受け付け時刻フィールドの値と現在時刻とを比較
し、一定時間以下しか経過していないならば、該経路の
起動は中止して他の経路を選択しなおす。逆に、一定時
間以上経過しているならば、該IOC使用中フラグフィ
ールドを“0”にリセットし、該経路で起動を開始す
る。これは、異常等でIOC使用中解除のステータスで
あるIOC終了が喪失しても、チャネル処理装置102
は、制御プログラムの介入もなく、喪失したIOC終了
に関連する入出力制御装置を含む経路を再び正常に使用
することができるようにするためである。
The channel processing unit 102 selects one input / output start request from the start queue, and further sends the request to the input / output unit.
After selecting one path, the IOC busy control unit 202 operates to check the IOC busy flag field corresponding to the input / output control device including the path in the IOC control table 201. If the flag is "0", In this case, the activation is started on the route. If the flag is "1", the corresponding IOC
The value in the busy acceptance time field is compared with the current time. If only a certain time or less has passed, the activation of the route is stopped and another route is selected again. On the contrary, if a certain time or more has elapsed, the IOC busy flag field is reset to "0", and the activation is started on the route. This is because even if the IOC end, which is the status of the IOC in-use cancellation, is lost due to an error or the like, the channel processor 102
This is so that the path including the I / O controller associated with the lost IOC termination can be normally used again without intervention of the control program.

チャネル処理装置102が起動キュー中から1つの入出
力起動要求を選択し、さらに該要求の入出力装置への1
つの経路を選択した後、該経路で起動を開始することを
IOC使用中制御部202が決定し、該経路での起動の
初期ステータスとしてIOC使用中を受け取ると、IO
C使用中制御部202はIOC制御テーブル201内の
該経路に含まれる入出力制御装置に対応するIOC使用
中フラグフィールドを“1”にセットし、さらにIOC
使用中受け付け時刻フィールドにその時の時刻をセット
した後、他の経路を選択しなおす。いずれのケースでも
チャネル処理装置102は、受け取ったIOC使用中の
ステータスを捨て、入出力割込みを生成しない。
The channel processing unit 102 selects one input / output start request from the start queue, and further sends the request to the input / output unit.
After selecting one of the routes, the IOC busy control unit 202 determines to start the boot on the route, and when the IOC busy is received as the initial status of the boot on the route, the IO
The C busy control unit 202 sets the IOC busy flag field corresponding to the input / output control device included in the path in the IOC control table 201 to "1", and further sets the IOC
After setting the time at that time in the busy reception time field, select another route again. In either case, the channel processor 102 discards the received IOC busy status and does not generate an I / O interrupt.

チャネル処理装置102が1つの入出力制御装置からI
OC終了のステータスを受け取る時、IOC使用中制御
部202が働き、IOC制御テーブル201内の該入出
力制御装置に対応するIOC使用中フラグフィールドを
“0”にリセットする。チャネル処理装置102は受け
取ったIOC終了のステータスを捨て、入出力割込みを
生成しない。
The channel processing unit 102 receives I / O
When the OC end status is received, the IOC busy control unit 202 operates and resets the IOC busy flag field corresponding to the input / output control device in the IOC control table 201 to "0". The channel processor 102 discards the received IOC end status and does not generate an I / O interrupt.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、IOC使用中フ
ラグが“1”の間は対応する入出力制御装置を含む経路
の起動を抑止するようにしたゝめ、いったん入出力制御
装置が使用中であることを検出した後で、該入出力制御
装置からの使用中の解除の報告を検出するまでの間に該
入出力制御装置を含む経路に対する無駄な起動を抑止で
きるという利点がある。
As described above, according to the present invention, while the IOC busy flag is "1", the activation of the path including the corresponding I / O controller is suppressed, so that the I / O controller once uses it. There is an advantage that it is possible to prevent useless activation of a path including the input / output control device after detecting that the input is in progress and before detecting a report of cancellation of use from the input / output control device.

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

第1図は本発明の一実施例のシステム構成図、第2図は
IOC制御テーブルのエントリを示す図、第3図は従来
のシステム構成図である。 101…中央処理装置、102…チャネル処理装置、1
03…主記憶装置、 111〜113…チャネル、121〜124…入出力制
御装置、131〜134…入出力装置、201…IOC
制御テーブル、 202…IOC使用中テーブル。
FIG. 1 is a system configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram showing entries of an IOC control table, and FIG. 3 is a conventional system configuration diagram. 101 ... Central processing unit, 102 ... Channel processing unit, 1
03 ... Main storage device, 111-113 ... Channel, 121-124 ... Input / output control device, 131-134 ... Input / output device, 201 ... IOC
Control table, 202 ... IOC in-use table.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置と、複数のチャネルを管理す
るチャネル処理装置と、前記チャネルに接続された入出
力制御装置と、該入出力制御装置の2つ以上に接続され
た入出力装置とを具備し、中央処理装置から入出力装置
に対しチャネル処理装置を通して入出力命令が発行され
た時、チャネル処理装置では、該入出力命令とは非同期
に該入出力命令の要求による該当入出力装置への起動を
可能な接続経路を選択した後起動を開始し、起動中に該
経路で入出力制御装置が使用中であることを検出すると
他の可能な接続経路を選択して起動を繰り返し、起動が
成功するまで該入出力命令による該当入出力装置への起
動要求をスタックする構成のデータ処理システムにおい
て、前記入出力制御装置対応に当該入出力制御装置が使
用中であるかどうか表示するフラグを設け、選択された
経路で起動中に該経路に含まれる入出力制御装置が使用
中であることを検出すると当該入出力制御装置に対応す
る前記フラグをセットし、入出力制御装置からの使用中
を解除されたことの報告を検出すると当該入出力制御装
置に対応する前記フラグをリセットし、かつ、前記フラ
グがセットされた後、一定時間経過するとフラグをリセ
ットし、前記フラグがセットの間は対応する入出力制御
装置を含む経路の起動を抑止することを特徴とする起動
キューイング制御方式。
1. A central processing unit, a channel processing unit for managing a plurality of channels, an input / output control unit connected to the channel, and an input / output unit connected to two or more of the input / output control units. When an input / output command is issued from the central processing unit to the input / output device through the channel processing device, the channel processing device has a corresponding input / output device requested by the input / output command asynchronously with the input / output command. After starting a start-up after selecting a connection path that can be started to, and when it is detected that the I / O controller is in use during the start-up, select another possible connection path and repeat the start-up, In a data processing system configured to stack a startup request to the corresponding input / output device by the input / output command until the startup is successful, whether the input / output control device is in use corresponding to the input / output control device. A flag to be displayed is provided, and when it is detected that the I / O control device included in the selected route is in use during activation, the flag corresponding to the I / O control device is set, and the I / O control device is set. When the report indicating that the busy state is released is detected, the flag corresponding to the input / output control device is reset, and after the flag is set, the flag is reset when a certain time has elapsed, and the flag is reset. An activation queuing control method that suppresses the activation of the path including the corresponding input / output control device during the set.
JP9639985A 1985-05-07 1985-05-07 Start-up control method Expired - Lifetime JPH067378B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9639985A JPH067378B2 (en) 1985-05-07 1985-05-07 Start-up control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9639985A JPH067378B2 (en) 1985-05-07 1985-05-07 Start-up control method

Publications (2)

Publication Number Publication Date
JPS61255453A JPS61255453A (en) 1986-11-13
JPH067378B2 true JPH067378B2 (en) 1994-01-26

Family

ID=14163884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9639985A Expired - Lifetime JPH067378B2 (en) 1985-05-07 1985-05-07 Start-up control method

Country Status (1)

Country Link
JP (1) JPH067378B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2794787B2 (en) * 1989-05-26 1998-09-10 富士通株式会社 Storage controller
JP2567983B2 (en) * 1990-09-17 1996-12-25 富士通株式会社 Input / output start control device and input / output start control method

Also Published As

Publication number Publication date
JPS61255453A (en) 1986-11-13

Similar Documents

Publication Publication Date Title
JP2003196152A (en) Memory pool management method
EP0013740A1 (en) Data processing apparatus having a system reset capability
CN107977269B (en) Method, device and equipment for processing timeout event in message forwarding system
JPH067378B2 (en) Start-up control method
JPS63236152A (en) I/o queuing control method
JP2008225641A (en) Computer system, interrupt control method and program
JPS6235150B2 (en)
CN109361620B (en) Data sending method, device, equipment and storage medium
JPH09223032A (en) Resource lock control mechanism
JP3876816B2 (en) Method of restricting the use of shared resources on computers
JP3082297B2 (en) Task control method
JPH11327793A (en) Storage controller
US20250384057A1 (en) Dynamic Allocation of Partitions in a Distributed Data Processing System
JPH04162155A (en) File transfer control system
JP2534797B2 (en) Curing control system
JP3235207B2 (en) Line controller
CN115174689A (en) Access processing method and device for edge node
JPH0448336A (en) Interruption control system
JP2007323256A (en) Interrupt control method and information processing apparatus
JPS62219055A (en) Temporary blocking control system for message queue
CN117406634A (en) Task execution method, device, readable storage medium and electronic device of controller
JP2976343B2 (en) Startup acceptance method
JPS593530A (en) Input/output control device
JPH0760417B2 (en) Input/Output Processor
JPS5958552A (en) Slowdown control system