JP3348300B2 - Channels and adapters - Google Patents

Channels and adapters

Info

Publication number
JP3348300B2
JP3348300B2 JP31913992A JP31913992A JP3348300B2 JP 3348300 B2 JP3348300 B2 JP 3348300B2 JP 31913992 A JP31913992 A JP 31913992A JP 31913992 A JP31913992 A JP 31913992A JP 3348300 B2 JP3348300 B2 JP 3348300B2
Authority
JP
Japan
Prior art keywords
adapter
channel
cooperation
adapters
information
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
JP31913992A
Other languages
Japanese (ja)
Other versions
JPH06168194A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP31913992A priority Critical patent/JP3348300B2/en
Publication of JPH06168194A publication Critical patent/JPH06168194A/en
Application granted granted Critical
Publication of JP3348300B2 publication Critical patent/JP3348300B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、アダプタ間の連携を制
御するチャネルおよびアダプタであって、異なる機能を
持った複数のアダプタの連携処理を行うチャネルおよび
アダプタに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel and an adapter for controlling coordination between adapters, and more particularly to a channel and an adapter for coordinating a plurality of adapters having different functions.

【0002】[0002]

【従来の技術】従来、図10に示すような、情報処理装
置41が異なる機能を持った複数のアダプタ48に処理
依頼する場合、上位ソフト43とアダプタ48が有する
物理機番を1機番づつ定義(1アダプタで複数の機番を
有するものもある)しておき、上位ソフト43が定義さ
れた機番を用いて入出力処理を行う。この際、上位ソフ
ト43が本体チャネル44を起動すると、アダプタ制御
領域46にその起動要求を設定し、該当するアダプタ4
8を起動して処理依頼する。処理依頼を実行したアダプ
タ48からの処理終了の割込みが発生すると、本体チャ
ネル44はその結果を上位ソフト43に通知する。この
ように、従来は、情報処理装置41とアダプタ48の入
出力処理を通常1機番で1つのアダプタ48の有する機
能の入出力処理を行い、他の機能の入出力処理を行う場
合には更に他のアダプタ48に処理依頼していた。
2. Description of the Related Art Conventionally, when an information processing apparatus 41 requests processing from a plurality of adapters 48 having different functions as shown in FIG. 10, the physical software numbers of the host software 43 and the adapters 48 are assigned one by one. The upper-level software 43 performs input / output processing using the defined device number (there is a case where one adapter has a plurality of device numbers). At this time, when the host software 43 activates the main body channel 44, the activation request is set in the adapter control area 46, and the corresponding adapter 4 is activated.
8 is started and a process is requested. When an interruption of the processing end is generated from the adapter 48 that has executed the processing request, the main body channel 44 notifies the result to the higher-level software 43. As described above, conventionally, the input / output processing of the information processing apparatus 41 and the adapter 48 is usually performed by one machine number to perform the input / output processing of the function of one adapter 48 and the input / output processing of another function is performed. Furthermore, the processing request has been made to another adapter 48.

【0003】以下図10の構成および動作を簡単に説明
する。図10は、従来技術の説明図を示す。図10にお
いて、情報処理装置41は、各種情報を処理するもので
あって、ここでは、アダプタ48に入出力処理を依頼し
て業務処理を行うものであり、OS42、上位ソフト4
3、本体チャネル44、および本体メモリ45などから
構成されるものである。
[0003] The configuration and operation of FIG. 10 will be briefly described below. FIG. 10 shows an explanatory diagram of the prior art. In FIG. 10, an information processing device 41 processes various types of information. In this case, the information processing device 41 requests an adapter 48 for input / output processing to perform business processing.
3, a main body channel 44, a main body memory 45, and the like.

【0004】OS42は、オペレーティングシステムで
あって、全体を統括制御するものである。上位ソフト4
3は、各種業務を行うプログラムであって、ここでは、
アダプタ48に入出力処理を依頼するものである。
[0004] The OS 42 is an operating system that controls the entire system. Upper software 4
3 is a program for performing various tasks.
It requests the adapter 48 for input / output processing.

【0005】本体チャネル44は、上位ソフト43から
の起動要求(アダプタ48を起動して処理を依頼する要
求)を受け付け、アダプタ制御領域46に書き込んで該
当するアダプタ48を割込みで起動して処理依頼したり
などするものである。
The main body channel 44 receives an activation request (a request for activating the adapter 48 and requesting processing) from the higher-level software 43, writes the request in the adapter control area 46, activates the corresponding adapter 48 by an interrupt, and issues a processing request. It is something to do.

【0006】本体メモリ45は、アダプタ制御領域46
などを設けるためのメモリである。アダプタ制御領域4
6は、本体チャネル44とアダプタ48との間でデータ
の授受を行うための領域である。
The main body memory 45 has an adapter control area 46.
It is a memory for providing a memory. Adapter control area 4
Reference numeral 6 denotes an area for exchanging data between the main body channel 44 and the adapter 48.

【0007】データバス47は、情報処理装置41とア
ダプタ48とを接続するバスである。アダプタ48は、
各種入出力処理を行うアダプタである。
[0007] The data bus 47 is a bus connecting the information processing device 41 and the adapter 48. Adapter 48 is
An adapter that performs various input / output processing.

【0008】次に、動作を説明する。 (1) 上位ソフト43が起動要求を本体チャネル44
に通知する。本体チャネル44は、その起動要求をアダ
プタ制御領域46に書込み、該当するアダプタ48を割
込みで起動する。
Next, the operation will be described. (1) The host software 43 sends a start request to the main body channel 44
Notify. The main body channel 44 writes the activation request in the adapter control area 46, and activates the corresponding adapter 48 by interruption.

【0009】(2) 起動された該当するアダプタ48
は、アダプタ制御領域46から起動要求を取出し、入出
力処理を行う。 (3) (2)で入出力処理を終了したアダプタ48
は、アダプタ制御領域46に書込み、本体チャネル44
に割込みで通知する。本体チャネル44は、その処理結
果を上位ソフト43に通知し、一連の処理を終結する。
[0009] (2) The activated adapter 48
Extracts an activation request from the adapter control area 46 and performs input / output processing. (3) Adapter 48 that has completed input / output processing in (2)
Is written into the adapter control area 46 and the main body channel 44
Notify by an interrupt. The main body channel 44 notifies the higher-level software 43 of the processing result, and terminates a series of processing.

【0010】(4) 続いて他の機能を使用する場合、
例えば(1)から(3)でアダプタ48によって回線の
発呼を行った後、続いて他のアダプタ48でデータ通信
を行う場合、(1)から(3)と同様に、上位ソフト4
3が起動要求を行って入出力処理を依頼していた。
(4) Subsequently, when using another function,
For example, after calling a line by the adapter 48 in (1) to (3) and subsequently performing data communication by another adapter 48, as in (1) to (3), the host software 4
No. 3 has made an activation request and has requested input / output processing.

【0011】[0011]

【発明が解決しようとする課題】上述したように、異な
る機能を有する複数のアダプタ48は独立した動作をし
ているが、近年は求められる処理が複雑化し、例えばイ
メージ処理プロセッサで処理したデータをFAX制御プ
ロセッサでFAXデータ送信する場合や、FAX制御プ
ロセッサに着信したFAXデータをイメージ処理プロセ
ッサで処理を行うような要求がある。あるいは上述した
ように、ISDN一次群H1インタフェース通信のよう
に発着呼制御するDチャネルをISDN基本インタフェ
ース用アダプタで行い、データ通信を行うH1チャネル
をISDN一次群インタフェース用アダプタで行う場合
のように、異なるアダプタで1つの通信を実現する場合
がある。
As described above, a plurality of adapters 48 having different functions operate independently, but in recent years the required processing has become complicated, and for example, data processed by an image There is a request to transmit FAX data by the FAX control processor or to process FAX data received by the FAX control processor by the image processing processor. Alternatively, as described above, as in the case where the ISDN primary group interface adapter performs the D channel for originating and terminating calls as in the ISDN primary group H1 interface communication and performs the H1 channel for performing data communication with the ISDN primary group interface adapter, One communication may be realized by different adapters.

【0012】これらの際に、異なるアダプタのデータや
制御を上位ソフト43が処理して連携させる上述した方
法を従来は行っていた。このため、上位ソフト43がア
ダプタ間の連携処理を行うと、処理時間の遅延が大き
く、性能を劣化させてしまうと共に、上位ソフト43の
オーバーヘッドが大となってしまう問題があった。
At this time, the above-described method of processing and coordinating data and control of different adapters by the host software 43 has been conventionally performed. For this reason, when the higher-level software 43 performs the cooperative processing between the adapters, there is a problem that a delay in processing time is large, performance is deteriorated, and overhead of the higher-level software 43 is increased.

【0013】本発明は、これらの問題を解決するため、
本体チャネルにアダプタ間連携機構を設けると共に各ア
ダプタにアダプタ間連携機構を設け、上位ソフトからの
連携指示に対応して、これら連携機構によって複数のア
ダプタ間連携を行い、迅速かつ効率良好に処理すること
を目的としている。
[0013] The present invention solves these problems.
Provide an inter-adapter coordination mechanism in the main unit channel and an inter-adapter coordination mechanism in each adapter, and cooperate with multiple adapters using these coordination mechanisms in response to the coordination instruction from the host software, and process quickly and efficiently It is intended to be.

【0014】[0014]

【課題を解決するための手段】図1は、本発明の原理構
成図を示す。図1において、上位ソフト3は、アダプタ
8に起動要求を行うものである。
FIG. 1 is a block diagram showing the principle of the present invention. In FIG. 1, the host software 3 issues a start request to the adapter 8.

【0015】本体チャネル4は、上位ソフト3からの起
動要求を受け付けて、該当するアダプタ8に割込みでそ
の起動要求を通知したり、アダプタ8からアアダプタ間
連携を通知されたときにアダプタ間連携先のアダプタ8
に起動要求を通知したりなどするものである。
The main body channel 4 accepts a start request from the host software 3 and notifies the corresponding adapter 8 of the start request by an interrupt. Adapter 8 ahead
And a notification of a start request.

【0016】アダプタ8は、各種処理を行うものであ
る。
The adapter 8 performs various processes.

【0017】[0017]

【作用】本発明は、図1に示すように、上位ソフト3か
ら起動要求を通知された本体チャネル4が割込みで該当
するアダプタ8に起動要求を渡し、この起動要求を受け
取ったアダプタ8が自身に対する起動要求のときはその
処理を行い、一方、アダプタ間連携指示のときに本体チ
ャネル4にアダプタ間連携を割込みで通知し、このアダ
プタ間連携を通知された本体チャネル4が該当するアダ
プタ8に割込みでその起動要求を通知し、通知を受けた
アダプタ8がその起動要求に対応する処理を行うように
している。
According to the present invention, as shown in FIG. 1, the main body channel 4 notified of the start request from the host software 3 passes the start request to the corresponding adapter 8 by interruption, and the adapter 8 receiving the start request transmits the start request to itself. In response to an activation request to the adapter, the processing is performed. On the other hand, when an inter-adapter cooperation instruction is given, the main body channel 4 is notified of the inter-adapter cooperation by an interrupt. The activation request is notified by an interrupt, and the adapter 8 that has received the notification performs a process corresponding to the activation request.

【0018】この際、アダプタ8が渡された起動要求に
ついてアダプタ間連携有りと設定されていたときに、本
体チャネル4にアダプタ連携を割込みで通知したときに
監視タイマを起動しておき、所定時間経過しても応答が
なかったときに、その連携先のアダプタ8にエラー発生
として連携処理を停止し、エラー状態を上位ソフト3に
通知するようにしている。
At this time, when the adapter 8 is set to have the inter-adapter cooperation for the passed start request, the monitoring timer is started when the adapter cooperation is notified to the main body channel 4 by an interrupt, and a predetermined time is set. When there is no response even after the elapse, the coordination process is stopped as an error has occurred in the coordination destination adapter 8, and an error state is notified to the host software 3.

【0019】また、アダプタ間連携先のアダプタ8に動
作不能エラーが発生して本体チャネル4に通知があった
ときに当該動作不能エラーを保留しておき、その後、上
位ソフト3より当該動作不能エラーを保留したアダプタ
8への起動要求があったときに、動作不能エラーを上位
ソフト3に応答するようにしている。
Further, when an inoperable error occurs in the adapter 8 of the inter-adapter cooperation destination and the main body channel 4 is notified, the inoperable error is suspended, and then the inoperable error is transmitted from the host software 3. When an activation request is issued to the adapter 8 which has suspended the operation, an inoperable error is responded to the host software 3.

【0020】従って、本体チャネル4にアダプタ間連携
機構を設けると共に各アダプタ8にアダプタ間連携機構
を設け、上位ソフト3からの連携指示に対応して、これ
ら連携機構によって複数のアダプタ間連携を行うことに
より、迅速かつ効率良好に連携した処理を行うことが可
能となる。
Therefore, an inter-adapter coordination mechanism is provided in the main body channel 4 and an inter-adapter coordination mechanism is provided in each of the adapters 8. In response to a coordination instruction from the host software 3, these coordination mechanisms perform coordination between a plurality of adapters. This makes it possible to perform the cooperative processing quickly and efficiently.

【0021】[0021]

【実施例】次に、図1から図9を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
Next, the configuration and operation of an embodiment of the present invention will be sequentially described in detail with reference to FIGS.

【0022】図1は、本発明の原理構成図を示す。図1
において、情報処理装置1は、プログラムに従って各種
情報処理を行う装置であって、ここでは、OS2、上位
ソフト3、本体チャネル4、および本体メモリ5などか
ら構成されるものである。
FIG. 1 is a diagram showing the principle of the present invention. FIG.
The information processing device 1 is a device that performs various types of information processing according to a program, and in this case, includes an OS 2, upper software 3, a main body channel 4, a main body memory 5, and the like.

【0023】OS2は、オペレーティングシステムであ
って、全体を統括制御したり、監視したりなどするもの
である。上位ソフト3は、各種業務処理を行うプログラ
ムであって、ここでは、アダプタ8に起動要求して各種
処理を行わせるものである。
The OS 2 is an operating system that controls and monitors the entire system. The host software 3 is a program for performing various business processes. In this case, the host software 3 requests the adapter 8 to start and perform various processes.

【0024】本体チャネル4は、上位ソフト3からの指
示(実際はOS経由の指示、以下同様に説明を簡単にす
るために省略して説明する)、ここではアダプタ8の起
動要求をアダプタ制御領域6に書き込んだ後に、割込み
でアダプタ8にその起動要求を通知したり、アダプタ8
からのアダプタ間連携を通知されたときにアダプタ間連
携先のアダプタ8に起動要求を通知したりなどするもの
である(図3から図7を用いて後述する)。
The main body channel 4 receives an instruction from the host software 3 (actually via the OS, which will be omitted for the sake of simplicity in the following description). After writing to the adapter, the adapter 8 is notified of the activation request by an interrupt,
When the notification of the inter-adapter cooperation is received from the adapter, the start request is notified to the adapter 8 of the inter-adapter cooperation destination, etc. (described later with reference to FIGS. 3 to 7).

【0025】本体メモリ5は、情報処理装置1側に設け
たメモリであって、ここでは、アダプタ制御領域6を設
けるためのものである。データバス7は、情報処理装置
1と各アダプタ8との間でデータの授受を行うためのバ
スである。
The main body memory 5 is a memory provided on the information processing apparatus 1 side, and is for providing the adapter control area 6 here. The data bus 7 is a bus for exchanging data between the information processing device 1 and each adapter 8.

【0026】アダプタ8は、各種処理を行うアダプタで
あって、例えば入出力処理やイメージ処理などを行うも
のである。図2は、本発明の1実施例構成図を示す。こ
こで、1から7は、図1の1から7と同等であるので、
説明を省略する。
The adapter 8 is an adapter for performing various processing, for example, for performing input / output processing and image processing. FIG. 2 shows a configuration diagram of one embodiment of the present invention. Here, 1 to 7 are equivalent to 1 to 7 in FIG.
Description is omitted.

【0027】図2において、アダプタ8は、ここでは、
通信制御を行うアダプタであって、マイクロプログラム
9、アダプタ管理情報テーブル10、アダプタ間通信制
御領域11、およびバッファ/制御領域12などから構
成されるものである。
In FIG. 2, the adapter 8 is
An adapter that performs communication control, and includes a microprogram 9, an adapter management information table 10, an inter-adapter communication control area 11, a buffer / control area 12, and the like.

【0028】マイクロプログラム9は、アダプタ8のマ
イクロプログラムであって、上位ソフト3からの指示に
対応した各種処理を行うものであって、ここでは、アダ
プタ間連携制御を行うものである(図3から図7を用い
て後述する)。
The microprogram 9 is a microprogram for the adapter 8 and performs various processes corresponding to instructions from the host software 3. Here, it performs inter-adapter cooperation control (FIG. 3). To FIG. 7 to be described later).

【0029】アダプタ管理情報テーブル10は、全ての
アダプタ管理情報を格納したものであって、アダプタ8
の初期化時に本体チャネル4から渡されるものである。
マイクロプログラム9は、上位ソフト3からの動作情報
設定で、連携処理を行うように指定されると、このアダ
プタ管理情報テーブル10を参照して、連携可能か否か
を判断する。
The adapter management information table 10 stores all of the adapter management information.
Is passed from the main body channel 4 at the time of initialization.
When the microprogram 9 is specified to perform the coordination process in the operation information setting from the host software 3, the microprogram 9 refers to the adapter management information table 10 to determine whether or not the coordination is possible.

【0030】アダプタ間通信制御領域11は、アダプタ
制御領域6内のデータバッファ使用領域の管理および相
手機番への起動状態の管理などを行うための領域であ
る。バッファ/制御領域12は、アダプタ8の有する機
能による処理のためのバッファおよび制御領域である。
The inter-adapter communication control area 11 is an area for managing the data buffer use area in the adapter control area 6, managing the activation status for the partner machine number, and the like. The buffer / control area 12 is a buffer and control area for processing by the function of the adapter 8.

【0031】次に、図3から図7を用いて図1および図
2の構成の動作を順次詳細に説明する。まず、図3およ
び図4を用いて、正常時のアダプタ間連携の動作を詳細
に説明する。
Next, the operation of the configuration shown in FIGS. 1 and 2 will be sequentially described in detail with reference to FIGS. First, the operation of inter-adapter cooperation in a normal state will be described in detail with reference to FIGS.

【0032】図3において、S1は、上位ソフト3が起
動される。S2は、起動された上位ソフト3がCAW、
CCW、データ書込みを行う。S3は、S2で書込みを
行った後、本体チャネル4を起動して渡す。
In FIG. 3, in S1, the upper software 3 is started. In S2, the activated upper software 3 is CAW,
Perform CCW and data writing. In S3, after writing in S2, the main body channel 4 is activated and passed.

【0033】S4は、本体チャネル4がCAW、起動コ
ードをアダプタ制御領域6に書き込む。S5は、本体チ
ャネル4がアダプタ(1)を起動する。これは、本体チ
ャネル4がS4でアダプタ制御領域6に書き込んだCA
W、起動コードを渡して起動要求を行うために、上位ソ
フト3から起動要求のあったアダプタ(1)を起動す
る。
At S4, the main body channel 4 writes CAW and an activation code into the adapter control area 6. In S5, the main body channel 4 activates the adapter (1). This is because the CA written by the main body channel 4 in the adapter control area 6 in S4.
W, the adapter (1) that has been requested to be started by the host software 3 is started to pass the start code and make a start request.

【0034】S6は、S5で起動されたアダプタ(1)
がアダプタ制御領域6から起動情報を読み込む。S7
は、S6で読み込んだ起動情報をアダプタ(1)が解析
する。
S6 is the adapter (1) activated in S5
Reads the activation information from the adapter control area 6. S7
Is, the adapter (1) analyzes the startup information read in S6.

【0035】S8は、S7の解析の結果、連携要か判別
する。即ち、上位ソフト3からアダプタ間連携が指示さ
れたか判別する。YESの場合には、アダプタ間連携が
指示されたので、S9で相手情報を設定する。一方、N
Oの場合には、上位ソフト3から指示された処理を実行
する。
In S8, it is determined whether or not cooperation is necessary as a result of the analysis in S7. That is, it is determined whether or not the higher-level software 3 has instructed the cooperation between the adapters. In the case of YES, the coordination between the adapters has been instructed, so that the partner information is set in S9. On the other hand, N
In the case of O, the processing instructed by the host software 3 is executed.

【0036】S10は、アダプタ(1)がアダプタ制御
領域6にアダプタ間通信データを書き込む。S11は、
アダプタ起動コードをアダプタ制御領域6に書き込む。
In step S10, the adapter (1) writes inter-adapter communication data in the adapter control area 6. S11 is
Write the adapter activation code into the adapter control area 6.

【0037】S12は、割込みで本体チャネル4を起動
する。S13は、S12で本体チャネル4を起動してア
ダプタ間連携を依頼したことに対応して、監視タイマス
タートさせる。
In step S12, the main channel 4 is started by an interrupt. In S13, the monitoring timer is started in response to the activation of the main body channel 4 in S12 and the request for inter-adapter cooperation.

【0038】S14は、S13で割込みで起動された本
体チャネル4が渡されたデータを解析する。S15は、
S14の解析の結果、連携か判別する。YESの場合に
は、アダプタ間連携と判別されたので、S16で起動コ
ードをアダプタ制御領域6に書き込む。一方、NOの場
合には、アダプタ間連携でないと判別されたので、指示
された処理を行う。
In step S14, the data passed to the main body channel 4 activated by the interrupt in step S13 is analyzed. S15 is
As a result of the analysis in S14, it is determined whether the cooperation is performed. In the case of YES, it is determined that the connection is between the adapters, so that the activation code is written in the adapter control area 6 in S16. On the other hand, in the case of NO, it is determined that there is no inter-adapter cooperation, so the instructed process is performed.

【0039】S17は、S16でアダプタ制御領域6に
書き込んだ起動要求を渡すために、ここでは該当するア
ダプタ(2)を起動する。S18は、S17で起動され
たアダプタ(2)が渡された起動要求を解析する。
In step S17, the corresponding adapter (2) is started to pass the start request written in the adapter control area 6 in step S16. At step S18, the adapter (2) started at step S17 is analyzed for the passed start request.

【0040】S19は、S18の解析の結果、連携か判
別する。YESの場合には、S20でアダプタ間通信デ
ータをアダプタ制御領域6から読み込み、S21で応答
データをアダプタ制御領域6に書込み、S22で割込み
で本体チャネル4を起動すると共にS31で処理の実行
を開始する。
In step S19, as a result of the analysis in step S18, it is determined whether or not the cooperation is performed. In the case of YES, the inter-adapter communication data is read from the adapter control area 6 in S20, the response data is written in the adapter control area 6 in S21, the main body channel 4 is started by an interrupt in S22, and the execution of the processing is started in S31. I do.

【0041】S23は、S22で割込みで起動された本
体チャネル4がS21で書き込まれた応答データを解析
する。S24は、S23の解析の結果、応答か判別す
る。YESの場合には、S25で応答コードをアダプタ
制御領域6に書き込み、S26で割込みでアダプタ
(1)を起動する。一方、NOの場合には、応答でない
と判明したので、該当する処理を行う。
In S23, the response data written in S21 by the main body channel 4 activated by the interrupt in S22 is analyzed. In S24, it is determined whether the response is a result of the analysis in S23. If YES, the response code is written in the adapter control area 6 in S25, and the adapter (1) is activated by an interrupt in S26. On the other hand, in the case of NO, it is determined that there is no response, and the corresponding processing is performed.

【0042】S27は、S26で起動されたアダプタ
(1)がS25で書き込まれたコードを解析する。S2
8は、S27の解析の結果、応答か判別する。YESの
場合には、S29で開始タイマストップする。これによ
り、アダプタ(1)がS13でアダプタ連携を本体チャ
ネル4に依頼したときにスタートさせた監視タイマを、
S28のYESで応答があったときに正常にアダプタ間
連携が開始されたとしてストップする。ここで、応答が
なかったときは、アダプタ間連携エラー発生として上位
ソフト3に通知する(図5を用いて後述する)。
In step S27, the adapter (1) activated in step S26 analyzes the code written in step S25. S2
8 is a response as a result of the analysis in S27. If YES, the start timer is stopped in S29. Thereby, the monitoring timer started when the adapter (1) requests the main body channel 4 to perform the adapter cooperation in S13,
When a response is received in S28, the inter-adapter cooperation is started normally and the operation is stopped. Here, when there is no response, the upper software 3 is notified that an inter-adapter cooperation error has occurred (described later with reference to FIG. 5).

【0043】S31は、アダプタ(1)からアダプタ間
連携機能によって起動要求されたアダプタ(2)が処理
を開始する。S32は、相手情報を設定する。
In S31, the adapter (2) requested to be activated by the adapter (1) by the inter-adapter cooperation function starts processing. In step S32, partner information is set.

【0044】S33は、終了データをアダプタ制御領域
6に書き込む。これは、アダプタ間連携によって起動要
求を受けたアダプタ(2)が処理を行い、終了したの
で、終了データをアダプタ制御領域6に書き込む。
A step S33 writes the end data to the adapter control area 6. Since the adapter (2) that has received the activation request by the inter-adapter cooperation performs the processing and ends, the end data is written in the adapter control area 6.

【0045】S34は、アダプタ終了コードをアダプタ
制御領域6に書き込む。S35は、アダプタ(2)が割
込みで、S33、S34で書き込んだデータを渡すため
に本体チャネル4を起動すると共に、S36で監視タイ
マスタートさせる。
A step S34 writes the adapter end code in the adapter control area 6. In S35, the adapter (2) is interrupted to activate the main body channel 4 to transfer the data written in S33 and S34, and to start the monitoring timer in S36.

【0046】S37は、S35の割込みで起動された本
体チャネル4が渡されたデータを解析する。S38は、
S37で解析した結果、連携か判別する。YESの場合
には、図4のS39で終了コードをアダプタ制御領域6
に書込み、S40で割込みでアダプタ(1)に起動す
る。一方、NOの場合には、連携でないと判明したの
で、該当する処理を行う。
In step S37, the data passed by the main body channel 4 activated by the interruption in step S35 is analyzed. S38 is
As a result of the analysis in S37, it is determined whether or not the cooperation is performed. If YES, the end code is set in the adapter control area 6 in S39 of FIG.
And the adapter (1) is activated by an interrupt in S40. On the other hand, in the case of NO, it is determined that there is no cooperation, and the corresponding processing is performed.

【0047】S41は、S40で起動されたアダプタ
(1)がS39で渡されたデータを解析する。S42
は、S41で解析した結果、終了か判別する。YESの
場合には、S43でアダプタ間通信データ読み込み、S
44で応答データ書込み、S45で割込みで本体チャネ
ル4を起動すると共に、S53で正常終了処理を行う。
一方、SS42でNOの場合には、終了でないと判別さ
れたので、該当する処理を行う。
In step S41, the adapter (1) activated in step S40 analyzes the data passed in step S39. S42
Is determined as the result of the analysis in S41. In the case of YES, the communication data between adapters is read in S43,
At step S44, response data is written. At step S45, the main body channel 4 is started by interruption. At step S53, normal termination processing is performed.
On the other hand, if NO in SS42, it is determined that the processing is not to be terminated, and the corresponding processing is performed.

【0048】S46は、S45で起動された本体チャネ
ル4がS44で書き込まれたデータを解析する。S47
は、S46の解析の結果、応答か判別する。YESの場
合には、S48で応答コードをアダプタ制御領域6に書
込み、S49で割込みでアダプタ(2)を起動する。一
方、S47でNOの場合には、応答でないと判明したの
で、該当する処理を行う。
In step S46, the main channel 4 activated in step S45 analyzes the data written in step S44. S47
Is a response as a result of the analysis in S46. If YES, the response code is written in the adapter control area 6 in S48, and the adapter (2) is activated by an interrupt in S49. On the other hand, if NO in S47, it is determined that there is no response, and the corresponding processing is performed.

【0049】S50は、S49で起動されたアダプタ
(2)がS48で書き込まれたデータを解析する。S5
1は、S50で解析された結果、応答か判別する。YE
Sの場合には、S52で監視タイマストップする。これ
により、アダプタ(2)がS36でアダプタ連携の応答
を本体チャネル4に依頼したときにスタートさせた監視
タイマを、S51のYESで応答があったときに正常に
アダプタ間連携時の応答があったとしてストップする。
ここで、応答がなかったときは、アダプタ間連携のエラ
ー発生と判断する。
In S50, the adapter (2) started in S49 analyzes the data written in S48. S5
1 is a response as a result of the analysis in S50. YE
In the case of S, the monitoring timer is stopped in S52. Thus, the monitoring timer started when the adapter (2) requests the response of the adapter cooperation to the main body channel 4 in S36, and the response at the time of the inter-adapter cooperation normally occurs when the response is made in YES in S51. Stop as expected.
Here, if there is no response, it is determined that an error has occurred in the cooperation between the adapters.

【0050】S53は、アダプタ(1)が正常処理終了
を行う。S54は、終了コード、CSWをアダプタ制御
領域6に書き込む。S55は、終了割込みで本体チャネ
ル4を起動する。
In step S53, the adapter (1) terminates the normal processing. In step S54, the end code and the CSW are written in the adapter control area 6. In step S55, the main body channel 4 is activated by a termination interrupt.

【0051】S56は、S55で起動された本体チャネ
ル4が終結通知を上位ソフト3に渡す。S57は、S5
6で終結通知を渡された上位ソフト3がホストに終結を
通知する。
In step S56, the main body channel 4 started in step S55 passes a termination notification to the host software 3. S57 is S5
The upper-level software 3 to which the termination notification has been given in step 6 notifies the host of the termination.

【0052】以上によって、S2で上位ソフト3がアダ
プタ間連携の起動要求を本体チャネル4に指示したこと
に対応して、本体チャネル4が該当するここではアダプ
タ(1)を起動してアダプタ間連携を指示し、当該アダ
プタ(1)が本体チャネル4経由でアダプタ連携先のア
ダプタ(2)に起動要求を渡して処理依頼する。そし
て、アダプタ(2)から終了結果を本体チャネル4経由
でアダプタ(1)が受け取り、アダプタ(1)が本体チ
ャネル4経由して起動要求元の上位ソフト3に終結通知
を行う。これにより、上位ソフト3は、アダプタ間連携
を指示するのみで、本体チャネル4がアダプタ(1)と
アダプタ(2)との連携を行うことができ、性能を落と
すことなくアダプタ間連携を実現することが可能とな
る。
As described above, in response to the host software 3 instructing the main body channel 4 to request activation of inter-adapter cooperation in S2, the main body channel 4 starts the adapter (1), which corresponds here, and cooperates with the adapter. And the adapter (1) passes a start request to the adapter (2) of the adapter cooperation destination via the main body channel 4 to request processing. Then, the end result is received from the adapter (2) via the main body channel 4 by the adapter (1), and the adapter (1) notifies the start-up request source upper software 3 via the main body channel 4 of the end result. Thus, the host software 4 can perform the coordination between the adapter (1) and the adapter (2) only by instructing the coordination between the adapters by the host software 3, and realizes the coordination between the adapters without deteriorating the performance. It becomes possible.

【0053】次に、図5を用いてアダプタ間連携のエラ
ー発生時の動作について詳細に説明する。ここで、S6
1からS77は、図3のS1からS17と同一であるの
で、説明を省略する。
Next, the operation when an error occurs in the cooperation between adapters will be described in detail with reference to FIG. Here, S6
Steps 1 to S77 are the same as steps S1 to S17 in FIG.

【0054】図5において、S78は、S77でアダプ
タ(1)からアダプタ間連携の依頼を受けた本体チャネ
ル4がS76で起動コードをアダプタ制御領域6に書き
込み、アダプタ(2)を起動したが、アダプタ(2)に
障害が発生した状態を示す。このアダプタ(2)に障害
が発生した状態では、正常の場合の図3のS18からS
29によって応答をアダプタ(1)に通知して監視タイ
マストップさせることができないこととなる。
In FIG. 5, in S78, the main body channel 4, which has received the request for inter-adapter cooperation from the adapter (1) in S77, writes an activation code in the adapter control area 6 in S76 and activates the adapter (2). Indicates a state in which a failure has occurred in the adapter (2). In a state where a failure has occurred in the adapter (2), the state from S18 to S in FIG.
29, the response cannot be notified to the adapter (1) to stop the monitoring timer.

【0055】S79は、S73で起動した監視タイマに
監視タイムアウト発生する。S80は、アダプタ(2)
異常情報格納する。S81は、エラー終結処理を行う。
In S79, a monitoring timeout occurs in the monitoring timer started in S73. S80 is an adapter (2)
Stores error information. In step S81, an error termination process is performed.

【0056】S82は、アダプタ(1)がエラーデータ
をアダプタ制御領域6に書き込む。S83は、アダプタ
(1)が終結コード、CSWをアダプタ制御領域6に書
き込む。
In S82, the adapter (1) writes error data to the adapter control area 6. In step S83, the adapter (1) writes the termination code and the CSW to the adapter control area 6.

【0057】S84は、アダプタ(1)が終結割込みで
本体チャネル4を起動する。S85は、S84で起動さ
れた本体チャネル4がエラー終結通知を上位ソフト3に
通知する。
In S84, the adapter (1) activates the main body channel 4 by a termination interrupt. In S85, the main body channel 4 started in S84 notifies the host software 3 of an error termination notification.

【0058】S86は、S85でエラー終結通知を受け
た上位ソフト3がホストにエラー終結を通知する。以上
によって、上位ソフト3からアダプタ間連携の指示を本
体チャネル4経由で受けたアダプタ(1)がアダプタ間
連携を本体チャネル4経由してアダプタ(2)に起動要
求したときに監視タイマスタートしておき、所定時間経
過して監視タイムアウト発生したときに、アダプタ
(1)がアダプタ(2)のエラーとして本体チャネル4
経由して上位ソフト3に通知する。これにより、アダプ
タ間連携時に上位ソフト3が起動要求していないアダプ
タからエラー通知を受けることがなく、当該エラーを上
位ソフト3が正常のエラー処理を行うことが可能とな
る。
In step S86, the host software 3 that has received the error termination notification in step S85 notifies the host of the error termination. As described above, the monitoring timer is started when the adapter (1) that has received the instruction for inter-adapter cooperation from the host software 3 via the main channel 4 requests the adapter (2) to start inter-adapter cooperation via the main channel 4. When a monitoring time-out occurs after a lapse of a predetermined time, the adapter (1) detects the
The upper software 3 is notified via the interface. Accordingly, the upper software 3 does not receive an error notification from an adapter to which the upper software 3 has not requested to start at the time of cooperation between the adapters, and the upper software 3 can perform a normal error process for the error.

【0059】次に、図6および図7を用いてアダプタ間
連携先のアダプタの動作不能時の動作について詳細に説
明する。ここで、図6のS91からS107は、図3の
S1からS17と同一であるので、説明を省略する。
Next, referring to FIGS. 6 and 7, the operation when the adapter at the cooperation destination between the adapters cannot be operated will be described in detail. Here, S91 to S107 in FIG. 6 are the same as S1 to S17 in FIG.

【0060】図6において、S108は、S107でア
ダプタ(1)からアダプタ間連携の依頼を受けた本体チ
ャネル4がS1で起動コードをアダプタ制御領域6に書
き込み、アダプタ(2)を起動したが、アダプタ(2)
に動作不能エラー発生(ハードウェアエラー発生)の状
態を示す。このアダプタ(2)に動作不能エラーが発生
した状態では、正常の場合の図3のS18からS29に
よって応答をアダプタ(1)に通知して監視タイマスト
ップできないこととなる。
In FIG. 6, in S108, the main body channel 4, which has received the request for inter-adapter cooperation from the adapter (1) in S107, writes an activation code in the adapter control area 6 in S1 and activates the adapter (2). Adapter (2)
Shows a state in which an inoperable error has occurred (a hardware error has occurred). In the state where the inoperable error has occurred in the adapter (2), the response is notified to the adapter (1) in S18 to S29 of FIG. 3 in a normal case, and the monitoring timer cannot be stopped.

【0061】S109は、エラー情報編集する。S11
0は、動作不能エラー情報をアダプタ制御領域6に書き
込む。S111は、アダプタ(2)が割込みで本体チャ
ネル4を起動する。
In step S109, error information is edited. S11
0 writes inoperable error information in the adapter control area 6. In S111, the adapter (2) starts the main body channel 4 by interruption.

【0062】S112は、S111で起動された本体チ
ャネル4がS110で書き込まれた動作不能エラー情報
を解析する。S113は、S112の解析した結果、動
作不能か判別する。YESの場合には、S114でアダ
プタ(2)エラー情報を保留する。
In step S112, the inoperable error information in which the main body channel 4 started in step S111 is written in step S110 is analyzed. In S113, as a result of the analysis in S112, it is determined whether or not the operation is impossible. If YES, the adapter (2) error information is suspended in S114.

【0063】S115は、監視タイムアウト発生する。
これは、S103で監視タイマスタートし、所定時間経
過しても、アダプタ(2)に動作不能が発生して応答が
アダプタ(1)に返ってこないので、監視タイムアウト
発生する。
In S115, a monitoring timeout occurs.
This is because the monitoring timer starts in S103, and even if a predetermined time has elapsed, the adapter (2) becomes inoperable and a response does not return to the adapter (1), so that a monitoring timeout occurs.

【0064】S116は、アダプタ(2)異常情報を格
納する。S117は、エラー終結処理を行う。S118
は、アダプタ(1)がエラーデータをアダプタ制御領域
6に書き込む。
Step S116 stores the adapter (2) abnormality information. In step S117, an error termination process is performed. S118
The adapter (1) writes error data to the adapter control area 6.

【0065】S119は、アダプタ(1)が終結コー
ド、CSWをアダプタ制御領域6に書き込む。図7のS
120は、アダプタ(1)が終結割込みで本体チャネル
4を起動する。
In step S119, the adapter (1) writes the termination code and the CSW into the adapter control area 6. S in FIG.
At 120, the adapter (1) activates the main body channel 4 at the termination interrupt.

【0066】S121は、S120で起動された本体チ
ャネル4がエラー終結通知を上位ソフト3に通知する。
S122は、S121でエラー終結通知を受けた上位ソ
フト3がホストにエラー終結を通知する。
In step S121, the main body channel 4 started in step S120 notifies the host software 3 of an error termination notification.
In S122, the host software 3 that has received the error termination notification in S121 notifies the host of the error termination.

【0067】S123は、ホストからアダプタ(2)起
動を上位ソフト3が受け付ける。S124は、上位ソフ
ト3がCAW、CCW、データ書込みを行う。S125
は、上位ソフト3が本体チャネル4を起動する。
In S123, the host software 3 receives the activation of the adapter (2) from the host. In S124, the host software 3 performs CAW, CCW, and data writing. S125
, The upper software 3 activates the main body channel 4.

【0068】S126は、本体チャネル4が解析を行
う。S127は、S126の解析の結果、アダプタ
(2)の起動要求か判別する。YESの場合には、S1
28で動作不能エラー通知を上位ソフト3に行う。一
方、NOの場合には、指示された処理を行う。
In S126, the main body channel 4 performs analysis. In S127, as a result of the analysis in S126, it is determined whether the activation request is for the adapter (2). If YES, S1
At 28, an inoperable error notification is sent to the host software 3. On the other hand, in the case of NO, the designated processing is performed.

【0069】S129は、上位ソフト3が動作不能エラ
ー終結をホストに通知する。以上によって、上位ソフト
3からアダプタ間連携の指示を本体チャネル4経由で受
けたアダプタ(1)がアダプタ間連携を本体チャネル4
経由してアダプタ(2)に起動要求したときに監視タイ
マスタートする。この起動要求を受けたアダプタ(2)
が動作不能エラー発生したとき、割込みで当該動作不能
エラーを本体チャネル4に通知して保留する。一方、所
定時間経過して監視タイムアウト発生したときに、アダ
プタ(1)がアダプタ(2)のエラーとして本体チャネ
ル4経由して上位ソフト3に通知する。そして、動作不
能エラー発生したアダプタ(2)への起動要求が本体チ
ャネル4に通知されたとき、当該本体チャネル4が保留
しておいたアダプタ(2)の動作不能エラーを上位ソフ
ト3に通知する。これにより、アダプタ間連携時に上位
ソフト3が起動要求していないアダプタから動作不能エ
ラーの通知を受けることがなく、上位ソフト3が当該ア
ダプタを起動要求したときに本体チャネル4から動作不
能エラーの通知を受け、それ以降当該動作不能エラーの
アダプタ8への起動要求を抑止などする処理を行うこと
ができる。
In step S129, the host software 3 notifies the host that the inoperable error has ended. As described above, the adapter (1) that has received the instruction for the inter-adapter cooperation from the host software 3 via the main channel 4 performs the inter-adapter cooperation on the main channel 4
The monitoring timer is started when an activation request is made to the adapter (2) via the monitoring timer. Adapter (2) that received this activation request
When an inoperable error occurs, the inoperable error is notified to the main body channel 4 by an interrupt and is suspended. On the other hand, when a monitoring time-out occurs after a lapse of a predetermined time, the adapter (1) notifies the host software 3 via the main channel 4 as an error of the adapter (2). Then, when a start request to the adapter (2) in which the inoperable error has occurred is notified to the main channel 4, the inoperable error of the adapter (2) reserved by the main channel 4 is notified to the host software 3. . Thereby, the upper software 3 does not receive the notification of the inoperability error from the adapter to which the upper software 3 has not requested to start at the time of the cooperation between the adapters. After that, it is possible to perform processing for suppressing the activation request to the adapter 8 for the inoperable error thereafter.

【0070】図8は、本発明の情報/テーブルの説明図
を示す。図8の(a)は、アダプタ制御情報例を示す。
これは、アダプタ制御領域6に格納したアダプタ制御情
報例を示す。ここでは、ISDN基本インタフェース用
領域およびISDN一次群インタフェース用領域を設け
ている。ISDN基本インタフェース用領域は、右側に
拡大して示すように、起動/終結インタフェース域およ
び、本発明に係わるアダプタ間通信データ域として相手
側機番、アダプタ間通信コード、データ長を格納する領
域とデータ域とを設けている。
FIG. 8 is an explanatory view of the information / table of the present invention. FIG. 8A shows an example of the adapter control information.
This shows an example of the adapter control information stored in the adapter control area 6. Here, an ISDN basic interface area and an ISDN primary group interface area are provided. The ISDN basic interface area includes an activation / termination interface area and an area for storing a partner device number, an inter-adapter communication code, and a data length as an inter-adapter communication data area according to the present invention, as shown enlarged on the right side. A data area is provided.

【0071】図8の(b)は、アダプタ割込み情報例を
示す。これは、例えばアダプタ(1)からアダプタ間連
携時に割込みを受け付けた本体チャネル4が、アダプタ
割込み情報を設定してアダプタ(2)を起動するときの
情報である。
FIG. 8B shows an example of adapter interrupt information. This is information when, for example, the main body channel 4 that has received an interrupt from the adapter (1) at the time of cooperation between the adapters sets adapter interrupt information and starts the adapter (2).

【0072】図8の(c)は、アダプタ管理テーブル例
を示す。これは、実装されているアダプタ機番およびア
ダプタIDを1組として全て登録したテーブルである。
このアダプタ管理テーブルは、各アダプタ8が初期化時
に本体チャネル4から受け取って内部に保持し、アダプ
タ間連携のときに参照して連携先のアダプタをチェック
するのに使用したりする。
FIG. 8C shows an example of the adapter management table. This is a table in which all mounted adapter model numbers and adapter IDs are registered as one set.
This adapter management table is received by the adapter 8 from the main channel 4 at the time of initialization, is held internally, and is used to check the adapter at the cooperation destination by referring to it during the cooperation between the adapters.

【0073】図8の(d)は、アダプタ連携情報例を示
す。これは、上位ソフト3からのアダプタ連携情報であ
る。図8の(e)は、アダプタ間連携情報例を示す。こ
れは、アダプタ間通信を行う時のアダプタ制御領域6に
書き込むフォーマットである。
FIG. 8D shows an example of the adapter cooperation information. This is adapter cooperation information from the upper software 3. FIG. 8E shows an example of inter-adapter cooperation information. This is a format to be written in the adapter control area 6 when performing communication between adapters.

【0074】図8の(f)は、アダプタ間通信制御情報
例を示す。これは、アダプタ内にあり、アダプタ間通信
時に使用するアダプタ制御領域6のデータ域を管理する
ためのテーブルである。
FIG. 8 (f) shows an example of communication control information between adapters. This is a table for managing the data area of the adapter control area 6 which is provided in the adapter and used at the time of communication between adapters.

【0075】図9は、本発明の具体例構成図を示す。図
9において、ISDN基本インタフェース用アダプタ8
−1は、発着呼制御を行うDチャネルを有するアダプタ
である。
FIG. 9 is a block diagram showing a specific example of the present invention. In FIG. 9, the ISDN basic interface adapter 8
-1 is an adapter having a D channel for controlling incoming and outgoing calls.

【0076】ISDN一次群インタフェースアダプタ8
−2は、データ通信を行うHIチャネルを有するアダプ
タである。他の構成は、図2の構成と同様であるので、
説明を省略する。
ISDN Primary Rate Interface Adapter 8
-2 is an adapter having an HI channel for performing data communication. The other configuration is the same as the configuration in FIG.
Description is omitted.

【0077】次に、動作を説明する。 (1) 情報処理装置1の電源投入後、IMPLでIS
DN基本インタフェース用アダプタ8−1およびISD
N一次群インタフェース要アダプタ8−2にマイクロプ
ログラムをローディングする。ローディング終了後、本
体チャネル4から初期化指示を行い、ISDN基本イン
タフェース用アダプタ8−1およびISDN一次群イン
タフェース用アダプタ8−2のマイクロプログラム9
が、本体メモリ5のアダプタ制御領域6からアダプタ管
理テーブルを各アダプタ内のアダプタ管理情報テーブル
10にそれぞれ転送して格納する。
Next, the operation will be described. (1) After turning on the power of the information processing apparatus 1, IS
Adapter 8-1 for DN basic interface and ISD
A microprogram is loaded into the N primary group interface required adapter 8-2. After the loading is completed, an initialization instruction is issued from the main body channel 4, and the microprogram 9 of the ISDN basic interface adapter 8-1 and the ISDN primary group interface adapter 8-2 is executed.
Transfers and stores the adapter management table from the adapter control area 6 of the main body memory 5 to the adapter management information table 10 in each adapter.

【0078】(2) 次に、IPLを行い、OS2が動
作を開始する。そして、上位ソフト3がISDN基本イ
ンタフェース用アダプタ8−1のDチャネルに一次群イ
ンタフェースの動作を指示する起動を行う。この際、い
ずれのISDN一次群インタフェース用アダプタ8−2
と連携処理するかの機番情報を渡す。
(2) Next, IPL is performed, and the OS 2 starts operating. Then, the host software 3 starts the D channel of the ISDN basic interface adapter 8-1 to instruct the primary channel interface to operate. At this time, any ISDN primary group interface adapter 8-2
Pass the machine number information on whether or not to perform cooperative processing.

【0079】(3) (2)で渡された機番情報から、
アダプタ管理情報テーブル10を参照し、機番情報が一
致したアダプタの種別を判断し、ISDN一次群用アダ
プタであることを確認する。この際、機番情報が不一致
あるいは一致した機番のアダプタがISDN一次群イン
タフェース用アダプタでないとき、情報エラーとして上
位ソフト3に通知する。
(3) From the machine number information passed in (2),
With reference to the adapter management information table 10, the type of the adapter whose device number information matches is determined, and it is confirmed that the adapter is for the ISDN primary group. At this time, if the adapter with the mismatched machine number information or the machine number with the matched machine number is not the adapter for the ISDN primary group interface, it is notified to the host software 3 as an information error.

【0080】(4) 機番情報が一致した場合、自IS
DN基本インタフェース用アダプタ8−1のDチャネル
の動作モードを設定し、正常に設定できると次に動作モ
ードを本体メモリ5のアダプタ制御領域6のアダプタ間
通信用データ域に書き込む。
(4) If the device number information matches, the own IS
The operation mode of the D channel of the DN basic interface adapter 8-1 is set, and when the operation mode can be set normally, the operation mode is written in the data area for communication between adapters in the adapter control area 6 of the main body memory 5.

【0081】(5) 次に、図8の(a)に示す通り、
連携するISDN一次群インタフェース用アダプタ8−
2のレイヤ1制御機番などを設定し、アダプタ制御領域
6に書込み、本体チャネル4に割込む。これと同時に、
ISDN基本インタフェース用アダプタ8−1のマイク
ロプログラム9がタイマを起動し、連携するISDN一
次群インタフェース用アダプタ8−2からの応答を監視
する。
(5) Next, as shown in FIG.
ISDN Primary Group Interface Adapter 8-
2 is set to the layer 1 control device number and the like, written into the adapter control area 6, and interrupted into the main body channel 4. At the same time,
The microprogram 9 of the ISDN basic interface adapter 8-1 starts a timer and monitors a response from the associated ISDN primary group interface adapter 8-2.

【0082】(6) 割込みを受け付けた本体チャネル
4は、割込み情報を確認し、アダプタ間通信の場合は連
携する相手側機番に対し、図8の(b)の起動形式で起
動する。
(6) Upon receiving the interrupt, the main body channel 4 checks the interrupt information, and in the case of inter-adapter communication, activates the partner device number to be linked in the activation format shown in FIG. 8B.

【0083】(7) 起動されたISDN一次群インタ
フェース用アダプタ8−2は起動コードを判断し、アダ
プタ間通信の起動の場合、起動コードで渡されたデータ
のアダプタ制御領域6のアダプタ間通信データ域アドレ
スよりデータを読み込む。読み込みが終了したら起動側
のISDN基本インタフェース用アダプタ8−1に応答
を返すため、アダプタ制御領域6に応答コードを書込
み、本体チャネル4に割り込む。
(7) The activated ISDN primary group interface adapter 8-2 determines the activation code, and in the case of the activation of the inter-adapter communication, the inter-adapter communication data of the adapter control area 6 of the data passed by the activation code. Read data from area address. When the reading is completed, a response code is written in the adapter control area 6 to return a response to the ISDN basic interface adapter 8-1 on the activation side, and the main body channel 4 is interrupted.

【0084】(8) 本体チャネル4は、応答コードを
判断し、起動側のISDN基本インタフェース用アダプ
タ8−1に対し、割り込む。割り込まれたISDN基本
インタフェース用アダプタ8−1は、応答を検出すると
タイマを停止し、使用したアダプタ制御領域6のアダプ
タ間通信データ域を使用可とする。
(8) The main body channel 4 judges the response code and interrupts the ISDN basic interface adapter 8-1 on the starting side. Upon detecting the response, the interrupted ISDN basic interface adapter 8-1 stops the timer and makes the inter-adapter communication data area of the used adapter control area 6 usable.

【0085】(9) 連携側のISDN一次群インタフ
ェース用アダプタ8−2は起動データに従い、ISDN
一次群HIインタフェースのレイヤ1を起動するための
動作モードを設定し、レイヤ1を起動する。
(9) The ISDN primary group interface adapter 8-2 on the coordination side receives the ISDN
An operation mode for activating layer 1 of the primary HI interface is set, and layer 1 is activated.

【0086】(10) レイヤ1の起動を完了した連携
側のISDN一次群インタフェース用アダプタ8−2
は、動作モードの設定およびレイヤ1が正常に起動完了
したことを起動側のISDN基本インタフェース用アダ
プタ8−1に通知する。この際、連携側のISDN一次
群インタフェース用アダプタ8−2のアダプタ間通信処
理は起動側のISDN基本インタフェース用アダプタ8
−1と同様に、相手機番などの情報をアダプタ制御領域
6のアダプタ間通信データ域に書込み、本体チャネル4
に対し割込みを行う。更に応答監視のタイマを起動す
る。
(10) The ISDN primary group interface adapter 8-2 on the cooperation side that has completed the activation of the layer 1
Notifies the activation-side ISDN basic interface adapter 8-1 of the setting of the operation mode and the fact that the activation of the layer 1 has been completed normally. At this time, the inter-adapter communication processing of the ISDN primary group interface adapter 8-2 on the cooperation side is performed by the ISDN basic interface adapter 8 on the activation side.
As in the case of -1, the information such as the partner device number is written into the communication data area between the adapters in the adapter control area 6, and the main body channel 4
An interrupt is issued to Further, a response monitoring timer is started.

【0087】(11) 起動側のISDN基本インタフ
ェース用アダプタ8−1は連携側のISDN一次群イン
タフェース用アダプタ8−2からの完了データを受け取
ると、受け取ったことを示す応答を本体チャネル4を経
由して連携側のISDN一次群インタフェース用アダプ
タ8−2に通知する。これにより、ISDN一次群H1
インタフェースが動作可能となる。
(11) Upon receiving the completion data from the ISDN primary-group interface adapter 8-2 on the cooperative side, the ISDN basic interface adapter 8-1 on the starting side transmits a response indicating the reception via the main body channel 4 Notify to the ISDN primary group interface adapter 8-2 on the cooperation side. Thereby, the ISDN primary group H1
The interface becomes operational.

【0088】(12) 以下に起動側のISDN基本イ
ンタフェース用アダプタ8−1のDチャネル呼制御の発
着呼により通信可能になると、起動側のISDN基本イ
ンタフェース用アダプタ8−1はアダプタ間通信によ
り、タイムスロット指示を連携側のISDN一次群イン
タフェース用アダプタ8−2に対して行い、連携側のI
SDN一次群インタフェース用アダプタ8−2はその指
示をアダプタ間通信で受け取るとまず応答を起動側のI
SDN基本インタフェース用アダプタ8−1に行い、次
にタイムスロットを設定して通信可能となる。
(12) In the following, when communication becomes possible by the originating ISDN basic interface adapter 8-1 by the incoming / outgoing call of the D channel call control, the starting ISDN basic interface adapter 8-1 communicates between the adapters. The time slot is instructed to the ISDN primary group interface adapter 8-2 on the cooperation side, and
Upon receiving the instruction through the inter-adapter communication, the SDN primary group interface adapter 8-2 first responds to the
This is performed on the SDN basic interface adapter 8-1, and then a time slot is set to enable communication.

【0089】(13) その後、H1チャネル機番に動
作モード設定が上位ソフト3より行われ、通信処理が開
始される。 (14) 上記処理において、起動側のISDN基本イ
ンタフェース用アダプタ8−1で連携側のISDN一次
群インタフェース用アダプタ8−2からの応答監視タイ
ムアウトが発生した場合、起動側のISDN基本インタ
フェース用アダプタ8−1は連携側のISDN一次群イ
ンタフェース用アダプタ8−2で何らかの異常が発生し
たと認識し、その機番をエラー情報として上位ソフト3
に通知する。以降、その機番に対し起動は行わない。
(13) After that, the operation mode is set to the H1 channel device number by the host software 3, and the communication process is started. (14) In the above process, when a response monitoring timeout from the ISDN primary group interface adapter 8-2 on the cooperation side occurs in the ISDN basic interface adapter 8-1 on the activation side, the activation ISDN basic interface adapter 8-1 -1 recognizes that some abnormality has occurred in the ISDN primary group interface adapter 8-2 on the cooperation side, and uses the machine number as error information as the upper software 3
Notify. Thereafter, no activation is performed for the machine number.

【0090】(15) 上記処理において、連携側のI
SDN一次群インタフェース用アダプタ8−2でハード
ウェアの動作不可能なエラーが発生した場合、連携側の
ISDN一次群インタフェース用アダプタ8−2はアダ
プタ制御領域6にハードウェアエラー情報を転送する。
本体チャネル4は、その情報を保留する。そして、本体
チャネル4は、H1チャネル機番に動作モード設定起動
が行われたときに、保留しておいたハードウェア情報を
上位ソフト3に通知する。
(15) In the above processing, the I
When a hardware inoperable error occurs in the SDN primary group interface adapter 8-2, the cooperation side ISDN primary group interface adapter 8-2 transfers the hardware error information to the adapter control area 6.
The body channel 4 holds the information. Then, the main body channel 4 notifies the host software 3 of the held hardware information when the operation mode setting activation is performed for the H1 channel device number.

【0091】以上の通信により、ISDN一次群H1イ
ンタフェースでの通信を実現することが可能となる。
With the above communication, it is possible to realize communication through the ISDN primary group H1 interface.

【0092】[0092]

【発明の効果】以上説明したように、本発明によれば、
本体チャネル4にアダプタ間連携機構を設けると共に各
アダプタ8にアダプタ間連携機構を設け、上位ソフト3
からの連携指示に対応して、これら連携機構によって複
数のアダプタ間連携を行うなどの構成を採用しているた
め、複数のアダプタが迅速かつ効率良好に連携して処理
を行うことができる。これらにより、複数のアダプタを
連携処理することが可能となり、マイクロプログラムで
処理することで性能に影響を与えずに処理することがで
きる。また、エラー発生時においても上位ソフト3が意
識しているアダプタの機番より不当な割込みがOS2に
通知されることがなく、上位ソフト3が意識している機
番よりエラーが通知され、正常のエラー処理を行うこと
ができる。
As described above, according to the present invention,
An inter-adapter cooperation mechanism is provided in the main body channel 4 and an inter-adapter cooperation mechanism is provided in each adapter 8.
In response to a coordination instruction from, a configuration such as coordination between a plurality of adapters is adopted by these coordination mechanisms, so that a plurality of adapters can cooperate with each other quickly and efficiently. As a result, a plurality of adapters can be cooperatively processed, and processing can be performed without affecting performance by processing using a microprogram. Further, even when an error occurs, the OS2 does not notify the OS2 of an illegal interrupt than the adapter number recognized by the host software 3, and the error is notified from the host number recognized by the host software 3, and Error processing can be performed.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の1実施例構成図である。FIG. 2 is a configuration diagram of one embodiment of the present invention.

【図3】本発明の動作説明図(正常時、その1)であ
る。
FIG. 3 is an explanatory diagram of the operation of the present invention (No. 1, in a normal state).

【図4】本発明の動作説明図(正常時、その2)であ
る。
FIG. 4 is an explanatory diagram of the operation of the present invention (No. 2, in a normal state).

【図5】本発明の動作説明図(エラー発生時)である。FIG. 5 is an explanatory diagram of the operation of the present invention (when an error occurs).

【図6】本発明の動作説明図(動作不能時、その1)で
ある。
FIG. 6 is an explanatory diagram of the operation of the present invention (No. 1 when operation is not possible).

【図7】本発明の動作説明図(動作不能時、その2)で
ある。
FIG. 7 is an explanatory diagram of the operation of the present invention (when operation is disabled, part 2).

【図8】本発明の情報/テーブルの説明図である。FIG. 8 is an explanatory diagram of information / table of the present invention.

【図9】本発明の具体例構成図である。FIG. 9 is a configuration diagram of a specific example of the present invention.

【図10】従来技術の説明図である。FIG. 10 is an explanatory diagram of a conventional technique.

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

1:情報処理装置 2:OS 3:上位ソフト 4:本体チャネル 5:本体メモリ 6:アダプタ制御領域 7:データバス 8:アダプタ 8−1:ISDN基本インタフェース用アダプタ 8−2:ISDN一次群インタフェース用アダプタ 9:マイクロプログラム 10:アダプタ管理情報テーブル 11:アダプタ間通信制御領域 12:バッファ/制御領域 1: Information processing device 2: OS 3: Host software 4: Main body channel 5: Main body memory 6: Adapter control area 7: Data bus 8: Adapter 8-1: Adapter for ISDN basic interface 8-2: ISDN primary group interface Adapter 9: Microprogram 10: Adapter management information table 11: Communication control area between adapters 12: Buffer / control area

フロントページの続き (56)参考文献 特開 昭59−38865(JP,A) 特開 平4−305750(JP,A) 特開 平3−72755(JP,A) 特開 平2−298140(JP,A) 特開 昭58−97944(JP,A) 特開 平5−334220(JP,A) 特開 平6−161927(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 13/10 H04L 29/00 Continuation of front page (56) References JP-A-59-38865 (JP, A) JP-A-4-305750 (JP, A) JP-A-3-72755 (JP, A) JP-A-2-298140 (JP) JP-A-58-97944 (JP, A) JP-A-5-334220 (JP, A) JP-A-6-161927 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB Name) G06F 13/00 G06F 13/10 H04L 29/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】アダプタ間の連携を制御するチャネルにお
いて、 上位ソフトから起動要求を通知されたときにアダプタ制
御領域に情報を設定した後に割り込みで該当アダプタに
起動要求を通知する手段と、 上記起動要求をアダプタに通知したことに対応して、当
該アダプタが上記アダプタ制御領域の情報を読み込んで
解析してアダプタ間連携が要と判別したときに記アダ
プタ制御領域に相手情報およびアダプタ間通信データを
設定した後、割込みで通知されたアダプタ間連携を受信
する手段と、 上記アダプタ間連携を受信したときに、該受信したアダ
プタ間連携に該当するアダプタに割込みでその起動要求
を通知し、通知したアダプタに上記アダアプタ制御領域
に設定されているアダプタ間通信データをもとに対応す
る処理を行わせる手段とを備えたチャネル。
1. A system for controlling the coordination between adapters when a start request is notified from a host software.
Means for notifying the corresponding adapter of an activation request by an interrupt after setting information in the control area; and responding to notifying the adapter of the activation request, the adapter reads information of the adapter control area and
Top Symbol Ada when analyzed between the adapter and cooperation has been determined that the required
Information and communication data between adapters in the
After setting, means for receiving the inter-adapter cooperation notified by the interrupt, and when receiving the inter-adapter cooperation, the adapter corresponding to the received inter-adapter cooperation is notified of the activation request by an interrupt and notified. The above adapter control area in the adapter
Means for performing a corresponding process based on the inter-adapter communication data set in the channel.
【請求項2】アダプタ間の連携を行うアダプタにおい
て、 チャネルから、アダプタ制御領域に情報を設定した後
、割込みで起動要求が通知されたときに受信する手段
と、 上記受信した起動要求について、上記アダプタ制御領域
に設定されている情報を解析して自身に対する起動要求
のときはその処理を行い、一方、アダプタ間連携指示の
ときは上記チャネルに、上記アダプタ制御領域に相手情
報およびアダプタ間通信データを設定した後に割込みで
通知する手段とを備えたアダプタ。
2. In an adapter for cooperating between adapters, after setting information from a channel to an adapter control area.
The means for receiving when the start request by the interrupt has been notified, the start request thus received, the adapter control region
Analyzes the information set performs its processing when the start request for itself, whereas, in the channel when the adapter between cooperation instruction, destination information to the adapter control region
And an interrupt notification means after setting communication information and communication data between adapters.
【請求項3】上記アダプタが渡された起動要求がアダア
プタ間連携有りと設定されていたときに、上記チャネル
にアダプタ連携有りを割り込みで通知したときに監視タ
イマを起動しておき、所定時間経過しても応答がなかっ
たときに、その連携先アダプタにエラー発生として連携
処理を停止し、エラー状態を上位ソフトに通知するよう
に構成したことを特徴とする請求項1記載のチャネル。
3. The method according to claim 2, wherein the activation request passed to said adapter is an adapter.
The above channel is set when the
Monitor when the adapter is
Ima has started, and there is no response even after the specified time elapses
When an error occurs, the linked adapter is linked
Stop processing and notify error status to host software
2. The channel according to claim 1, wherein the channel is configured as follows.
【請求項4】上記アダプタ間連携先のアダプタに動作不
能エラー発生して本体チャネルに通知があったときに当
該動作不能エラーを保留しておき、その後、上位ソフト
より当該動作不能エラーを保留したアダプタへの起動要
求があったときに、動作不能エラーを上位ソフトに応答
するように構成したことを特徴とする請求項1記載のチ
ャネル。
4. An operation failure of the adapter at the link destination between the adapters.
When an error occurs and the main channel is notified.
Hold the inoperable error and then
It is necessary to start the adapter that has suspended the inoperable error.
When a request is received, an inoperative error is returned to the host software.
2. The switch according to claim 1, wherein
Chanel.
JP31913992A 1992-11-30 1992-11-30 Channels and adapters Expired - Fee Related JP3348300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31913992A JP3348300B2 (en) 1992-11-30 1992-11-30 Channels and adapters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31913992A JP3348300B2 (en) 1992-11-30 1992-11-30 Channels and adapters

Publications (2)

Publication Number Publication Date
JPH06168194A JPH06168194A (en) 1994-06-14
JP3348300B2 true JP3348300B2 (en) 2002-11-20

Family

ID=18106886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31913992A Expired - Fee Related JP3348300B2 (en) 1992-11-30 1992-11-30 Channels and adapters

Country Status (1)

Country Link
JP (1) JP3348300B2 (en)

Also Published As

Publication number Publication date
JPH06168194A (en) 1994-06-14

Similar Documents

Publication Publication Date Title
US6728746B1 (en) Computer system comprising a plurality of machines connected to a shared memory, and control method for a computer system comprising a plurality of machines connected to a shared memory
US5689640A (en) Method and system for downloading data to network nodes
JPH0618371B2 (en) Communication terminal
KR19980020514A (en) Implementing Fault Tolerance of Private Switching System of Integrated Telecommunication Network
JP3348300B2 (en) Channels and adapters
JP2877095B2 (en) Multiprocessor system
KR0161569B1 (en) Method and apparatus for automatic frame transmission on a channel to controller interface in a data processing system
US6049840A (en) System for providing an interrogating host with information including start-up processing status of a peripheral device stored in storing means
KR100253446B1 (en) Data transmission system for transmitting data between plural microcomputer application instruments
JPH10222324A (en) Network system
JPH0756842A (en) Channel sub system
JP3411309B2 (en) Multicast communication system
JPH0623966B2 (en) Data processing system
JP2583169B2 (en) Operation program switching method for communication processing device
JP3465343B2 (en) Printer system host communication interface board
JPH09190317A (en) Printing device and printing method
JP3260435B2 (en) Information communication system
JP2541686B2 (en) Input / output control method
JP3740198B2 (en) Implementation method of operation command processing mechanism in distributed system
JPH04177540A (en) Information processor having automatic call function
JP2001290670A (en) Cluster system
JPH04301945A (en) High efficiency multicast system
JPH11167528A (en) Time-out control method for data processing system
JPH01312658A (en) Computer system
KR20000056407A (en) High speed data backup method using concurrent write formula in duplicating wll

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020813

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080913

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090913

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100913

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100913

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110913

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120913

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees