JPH0667771A - Switchover control system - Google Patents

Switchover control system

Info

Publication number
JPH0667771A
JPH0667771A JP4216725A JP21672592A JPH0667771A JP H0667771 A JPH0667771 A JP H0667771A JP 4216725 A JP4216725 A JP 4216725A JP 21672592 A JP21672592 A JP 21672592A JP H0667771 A JPH0667771 A JP H0667771A
Authority
JP
Japan
Prior art keywords
circuit
switching
signal
unconnected
pattern
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.)
Granted
Application number
JP4216725A
Other languages
Japanese (ja)
Other versions
JP3049955B2 (en
Inventor
Masaaki Chinju
正昭 鎮守
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4216725A priority Critical patent/JP3049955B2/en
Publication of JPH0667771A publication Critical patent/JPH0667771A/en
Application granted granted Critical
Publication of JP3049955B2 publication Critical patent/JP3049955B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent logic abnormality from occurring in a main body device and an interface fault due to an unknown cause by a switching operation on the middle way of data transfer from occurring in an information processing system using plural main body devices and one peripheral unit by switching. CONSTITUTION:A switching operation control circuit 22 is provided in a switching device 20, and also, an unconnection pattern transmission circuit 24 which sends out a specific signal pattern set in an unconnected state and a selection circuit 25 which selects an input/output signal from a connected device or a signal from the pattern transmission circuit are provided at each of ports 41-4n connected to the main body devices 1-n. Furthermore, a pattern detection circuit 12 which detects the signal from the unconnection pattern transmission circuit 24 and outputs an interruption signal to a host CPU 11 is provided in each of the main body devices 1-n, and a connection state with the peripheral unit 30 is outputted until an unconnected pattern is re-connected after separation is completed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、切替制御方式、特に1
台の周辺装置を切替装置により複数の本体装置と切り替
えて共有する情報処理システムにおける切替制御方式に
関する。
BACKGROUND OF THE INVENTION The present invention relates to a switching control system, especially
The present invention relates to a switching control method in an information processing system in which one peripheral device is switched and shared with a plurality of main devices by a switching device.

【0002】[0002]

【従来の技術】従来のこの種の切替制御方式は、切替装
置内の切替スイッチをオペレーションにより切り替え、
切替動作制御回路からの指示でデータ切替回路の接続先
ポートの選択が変更され、周辺装置と本体装置との信号
ルートが切り替わることで、接続/切り離しの動作を行
い、上位装置の本体装置へ接続状態の通知を行っていな
い。
2. Description of the Related Art In the conventional switching control system of this kind, a changeover switch in a changeover device is changed by an operation,
When the selection of the connection destination port of the data switching circuit is changed by the instruction from the switching operation control circuit and the signal route between the peripheral device and the main unit is switched, the connection / disconnection operation is performed and the main unit of the host device is connected. The status has not been notified.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の切替制
御方式では、一台の周辺装置とN台の本体装置とのイン
タフェースの接続/切り離しの切り替え動作のみ制御す
るため、ある一台の本体装置が周辺装置との接続状態に
あり、データ転送がない間に切り替え動作を行い接続変
更すると周辺装置が切り離されるが、上位装置である本
体装置(CPU)は切り離されたことの通知がないため
論理的に異常となることがある。また周辺装置とデータ
転送中に切り替え動作が行われるとインタフェース障害
が発生し、不明障害となる可能性がある。
In the above-mentioned conventional switching control system, since only the switching operation of connecting / disconnecting the interface between one peripheral device and N main units is controlled, one main unit is controlled. Is connected to the peripheral device, and the peripheral device is disconnected if the switching operation is performed and the connection is changed while there is no data transfer, but the main unit (CPU) that is the higher-level device has no notification that it has been disconnected. May be abnormal. Further, if a switching operation is performed during data transfer with a peripheral device, an interface failure may occur, resulting in an unknown failure.

【0004】[0004]

【課題を解決するための手段】本発明の方式は、1台の
周辺装置を切替装置により複数台の本体装置と切り替え
て共有する情報処理システムにおける切替制御方式にお
いて、前記切替装置内に、切替スイッチにより切り替え
動作を実行させる切替動作制御回路を設けることと、前
記本体装置と接続される各ポート毎に、未接続状態にあ
る特定の信号パターンを送出する未接続パターン発信回
路と、周辺装置からの入出力信号と前記未接続パターン
発信回路からの信号を選択する選択回路とを設けること
と、前記本体装置内に、前記未接続パターン発信回路か
らの信号を検出して上位の中央処理部に割込み信号を出
力するパターン検出回路を設けることを特徴とし、前記
切替スイッチにて接続先が変更されると、前記切替動作
制御回路の指示により周辺装置との接続状態が切り離さ
れるポートは切り離し完了後、未接続パターンが再接続
されるまで出力されるように動作することを特徴とす
る。
A method of the present invention is a switching control method in an information processing system in which one peripheral device is switched and shared by a plurality of main devices by a switching device. A switching operation control circuit for executing a switching operation by a switch is provided, and an unconnected pattern transmission circuit for transmitting a specific signal pattern in an unconnected state for each port connected to the main body device, and a peripheral device. And a selection circuit for selecting a signal from the unconnected pattern transmission circuit are provided, and a signal from the unconnected pattern transmission circuit is detected in the main body device, and the upper central processing unit is detected. A pattern detection circuit for outputting an interrupt signal is provided, and when the connection destination is changed by the changeover switch, an instruction of the changeover operation control circuit is given. After the port is disconnected completed connection between the peripheral device is disconnected Ri, characterized in that it operates as unconnected pattern is outputted until reconnection.

【0005】[0005]

【実施例】図1は本発明の第1の実施例の切替制御方式
を適用した切替装置のブロック図を示す。
1 is a block diagram of a switching device to which a switching control system according to a first embodiment of the present invention is applied.

【0006】本切替装置20は、切替制御を行う共通部
と、n個の本体装置1〜nとのインタフェースを個別に
持つポート41〜4nとからなる。共通部は、切替スイ
ッチ21と、切替スイッチ21からの切り替え信号によ
り本切替装置20の切り替え動作のシーケンス制御を行
う切替動作制御回路22と、切替動作制御回路22から
の信号により周辺装置30とのインタフェースをポート
41〜4nに接続するデータ切替回路23から構成され
る。各ポート41〜4nは、自ポートがデータ切替回路
23を介して周辺装置30と接続されていない時に未接
続パターンを出力する未接続パターン発信回路24と、
データ切替回路23と接続パターン発信回路24との信
号を選択する選択回路25を有する。
The switching device 20 is composed of a common part for performing switching control and ports 41 to 4n each having an interface with the n main devices 1 to n. The common section includes a changeover switch 21, a changeover operation control circuit 22 that performs sequence control of a changeover operation of the present changeover device 20 by a changeover signal from the changeover switch 21, and a peripheral device 30 by a signal from the changeover operation control circuit 22. It is composed of a data switching circuit 23 that connects the interface to the ports 41 to 4n. Each of the ports 41 to 4n is an unconnected pattern transmitting circuit 24 that outputs an unconnected pattern when its own port is not connected to the peripheral device 30 via the data switching circuit 23,
It has a selection circuit 25 for selecting the signals of the data switching circuit 23 and the connection pattern transmission circuit 24.

【0007】本体装置1〜nの各各は、切替装置20内
の選択回路25からの入出力データ及び出力パターンを
検出するパターン検出回路12とCPU11からなる。
Each of the main units 1 to n comprises a pattern detecting circuit 12 for detecting input / output data and an output pattern from the selecting circuit 25 in the switching device 20 and a CPU 11.

【0008】次に本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0009】現在、周辺装置30は、切替装置20を介
して本体装置1に接続されている状態とする。切替スイ
ッチ21をオペレーションにより、切り替え状態0から
切り替え状態1に変更すると、切替動作制御回路22へ
切り替え動作開始信号が出力される。動作開始信号を受
けた切替動作制御回路22は、データ切替回路23へ出
力している選択信号を0から1に変更すると共に、報と
41内の選択回路25へ未接続パターン発信回路24が
選択されるように選択信号を出力する。本動作により、
切り替え動作実行前には本体装置1に接続されていた周
辺装置30が本体装置1〜nの全てに接続されない状態
になる。
At present, the peripheral device 30 is in a state of being connected to the main body device 1 via the switching device 20. When the changeover switch 21 is changed from the changeover state 0 to the changeover state 1 by operation, a changeover operation start signal is output to the changeover operation control circuit 22. Upon receiving the operation start signal, the switching operation control circuit 22 changes the selection signal output to the data switching circuit 23 from 0 to 1, and the unconnected pattern transmission circuit 24 selects the selection circuit 25 in the alarm and 41. The selection signal is output as described above. By this operation,
Before the switching operation is executed, the peripheral device 30 connected to the main body device 1 becomes a state in which it is not connected to all the main body devices 1 to n.

【0010】次にポート41と同一回路より構成される
ポート42に対して、データ切替回路23の信号が本体
装置2へ出力されるようポート42内の選択回路へ選択
信号を出力する。本動作完了後、周辺装置30は本体装
置2にポート42を介して接続されることになる。一
方、ポート41は未接続パターン発信回路24から出力
される信号が選択回路25を介して本体装置1へ出力さ
れる。この信号はオペレーションにより、再び切り替え
状態を1から0に変更するまで出力されることになる。
本体装置1内のパターン検出回路12で信号を検出する
と、パターン検出回路12よりCPU11へ割込み信号
1を出力する。CPU11は本割込み信号を検出するこ
とで、周辺装置30が切り離されたことを認識できる。
Next, a selection signal is output to the selection circuit in the port 42 so that the signal of the data switching circuit 23 is output to the main body device 2 with respect to the port 42 constituted by the same circuit as the port 41. After this operation is completed, the peripheral device 30 is connected to the main body device 2 through the port 42. On the other hand, in the port 41, the signal output from the unconnected pattern transmitting circuit 24 is output to the main body device 1 via the selecting circuit 25. This signal will be output until the switching state is changed again from 1 to 0 by the operation.
When the pattern detection circuit 12 in the main body device 1 detects a signal, the pattern detection circuit 12 outputs an interrupt signal 1 to the CPU 11. The CPU 11 can recognize that the peripheral device 30 has been disconnected by detecting this interrupt signal.

【0011】また、本動作と逆に切り替え状態を1から
0に変更した場合は、前述した動作と逆になり、本体装
置1内のパターン検出回路12で未接続パターン受け、
周辺装置の切り離しを検出してCPU11へ割込む。パ
ターン検出回路12はポート41からの周辺装置未接続
を示す信号がなくなることを検出し、CPU11に対し
割込み信号を出力する。CPU11はこの割込み信号を
検出することで周辺装置30が再接続されたことを認識
できることになる。
When the switching state is changed from 1 to 0, which is the reverse of this operation, the operation is the reverse of that described above, and the pattern detection circuit 12 in the main unit 1 receives the unconnected pattern,
It detects the disconnection of the peripheral device and interrupts the CPU 11. The pattern detection circuit 12 detects that the signal indicating the non-connection of the peripheral device from the port 41 disappears, and outputs an interrupt signal to the CPU 11. By detecting this interrupt signal, the CPU 11 can recognize that the peripheral device 30 has been reconnected.

【0012】図2は本発明の第2の実施例の切替制御方
式を適用した切替装置のブロック図を示す。本切替装置
50は、図1に示した切替装置20における各ポート4
1〜4n内の未接続パターン発信回路24の代りに、接
続割込回路26および切離割込回路を設けている。他の
部分は第1の実施例と同構成である。
FIG. 2 is a block diagram of a switching device to which the switching control system of the second embodiment of the present invention is applied. The switching device 50 includes the ports 4 in the switching device 20 shown in FIG.
A connection interrupt circuit 26 and a disconnection interrupt circuit are provided in place of the unconnected pattern transmitting circuit 24 in 1 to 4n. The other parts have the same structure as in the first embodiment.

【0013】接続割込み回路26は、データ切替装置2
3を介して周辺装置30と接続される時に一定期間割込
みを発生させ、また切離割込回路27は、データ切替装
置23を介して周辺装置30が切り離される時に一定期
間割込みを発生させる。
The connection interrupt circuit 26 is provided in the data switching device 2
When the peripheral device 30 is disconnected via the data switching device 23, the disconnection interrupt circuit 27 generates an interrupt for a fixed period when the peripheral device 30 is connected via the data switching device 23.

【0014】次に本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0015】現在周辺装置30は、切替装置20を介し
て本体装置1に接続されている状態とする。切替スイッ
チ21をオペレーションにより切り替え状態0から切り
替え状態1に変更すると、切替動作制御回路22へ切り
替え動作開始信号が出力される。動作開始信号を受けた
切替動作制御回路22は、データ切替回路23へ出力し
ている選択信号を0から1に変更すると共にポート41
内の選択回路28へ切離割込回路7が選択されるよう選
択信号を出力する。本動作により、切り替え動作実行前
には本体装置1に接続されていた周辺装置30本体装置
1〜nの全てに接続されない状態になる。
The peripheral device 30 is currently connected to the main unit 1 via the switching device 20. When the changeover switch 21 is changed from the changeover state 0 to the changeover state 1 by operation, a changeover operation start signal is output to the changeover operation control circuit 22. Upon receiving the operation start signal, the switching operation control circuit 22 changes the selection signal output to the data switching circuit 23 from 0 to 1 and the port 41.
A selection signal is output to the selection circuit 28 therein so that the disconnection interrupt circuit 7 is selected. By this operation, the peripheral device 30 connected to the main device 1 before the switching operation is not connected to all the main devices 1 to n.

【0016】次にポート41と同一回路より構成される
ポート42内の選択回路28へ接続割込み信号が一定期
間出力されるよう選択信号を出力し、その後データ切替
回路23からの信号が選択されるよう選択信号を出力す
る。本動作完了後、周辺装置30は本体装置2にポート
42を介して接続されることになる。一方、ポート41
は切離割込回路27から出力される信号が選択回路8を
介して一定期間、本体装置1へ出力される。本体装置1
内にあるパターン検出回路12で割込み信号を検出する
と、パターン検出回路12よりCPU11へ割込み信号
1を出力する。CPU11は本割込み信号1を検出する
ことで、周辺装置30が切り離されたことを認識でき
る。
Next, the selection signal is output to the selection circuit 28 in the port 42 formed of the same circuit as the port 41 so that the connection interrupt signal is output for a certain period, and then the signal from the data switching circuit 23 is selected. Output the selection signal. After this operation is completed, the peripheral device 30 is connected to the main body device 2 through the port 42. On the other hand, port 41
The signal output from the disconnection interrupt circuit 27 is output to the main body device 1 via the selection circuit 8 for a certain period. Main unit 1
When the internal pattern detection circuit 12 detects an interrupt signal, the pattern detection circuit 12 outputs an interrupt signal 1 to the CPU 11. By detecting this interrupt signal 1, the CPU 11 can recognize that the peripheral device 30 has been disconnected.

【0017】また、本動作と逆に切り替え状態を1から
0に変更した場合は、前述した動作と逆になり、パター
ン検出回路12で切り離し割込み信号を受け、周辺装置
30の切り離しを検出してCPU11へ割込む。パター
ン検出回路12はポート41からの接続割込み信号を一
定期間検出し、CPU11に対し割込み信号2を出力す
る。CPU11は割込み信号を検出することで周辺装置
30が再接続されたことを認識できることになる。その
後、切替動作制御回路22からの指示により、ポート4
1内の選択回路28データ切替回路23からの信号を選
択するため、CPU11が周辺装置30の接続を認識
後、実際の周辺装置再接続が可能となる。
When the switching state is changed from 1 to 0, which is the reverse of this operation, the operation is opposite to that described above, and the pattern detection circuit 12 receives the disconnection interrupt signal and detects the disconnection of the peripheral device 30. Interrupt the CPU 11. The pattern detection circuit 12 detects the connection interrupt signal from the port 41 for a certain period and outputs the interrupt signal 2 to the CPU 11. The CPU 11 can recognize that the peripheral device 30 is reconnected by detecting the interrupt signal. Then, in response to an instruction from the switching operation control circuit 22, the port 4
Since the signal from the selection circuit 28 data switching circuit 23 in 1 is selected, after the CPU 11 recognizes the connection of the peripheral device 30, the actual peripheral device can be reconnected.

【0018】[0018]

【発明の効果】以上説明したように、本発明の切替制御
方式によれば、一台の本体装置が周辺装置との接続状態
にあり、データ転送がない間に切り替え動作を行い接続
変更し周辺装置を切り離すが、上位装置である本体装置
は切り離されたことの通知を受けているため論理的に異
常となることが防止でき、また周辺装置とデータ転送中
に切り替え動作が行われるとインタフェース障害が発生
しても本体装置内の割込みのトレース情報周辺装置の切
り離し/接続情報が残るための不明障害となることの防
止が可能である。
As described above, according to the switching control system of the present invention, one main unit is in a connected state with the peripheral device, and the switching operation is performed to change the connection while the data transfer is not performed. Although the device is disconnected, the main unit, which is a higher-level device, has received a notification that the device has been disconnected, which can prevent a logical error, and if a switching operation is performed during data transfer with peripheral devices, an interface failure occurs. Even if the error occurs, it is possible to prevent an unknown failure due to the disconnection / connection information of the trace information peripheral device of the interrupt in the main device.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】本発明の第2の実施例のブロック図である。FIG. 2 is a block diagram of a second embodiment of the present invention.

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

1〜n 本体装置 11 CPU 12 パターン検出回路 20,50 切替装置 21 切替スイッチ 22 切替動作制御回路 23 データ切替回路 24 未接続パターン発信回路 25 選択(SEL)回路 26 接続割込み発信回路 27 切り離し割込み発信回路 28 選択回路 30 周辺回路 41〜41n ポート 1 to n Main unit 11 CPU 12 Pattern detection circuit 20, 50 Switching device 21 Changeover switch 22 Switching operation control circuit 23 Data switching circuit 24 Unconnected pattern transmission circuit 25 Selection (SEL) circuit 26 Connection interrupt transmission circuit 27 Disconnection interrupt transmission circuit 28 selection circuit 30 peripheral circuit 41 to 41n port

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】1台の周辺装置を切替装置により複数台の
本体装置と切り替えて共有する情報処理システムにおけ
る切替制御方式において、 前記切替装置内に、切替スイッチにより切り替え動作を
実行させる切替動作制御回路を設けることと、 前記本体装置と接続される各ポート毎に、未接続状態に
ある特定の信号パターンを送出する未接続パターン発信
回路と、周辺装置からの入出力信号と前記未接続パター
ン発信回路からの信号を選択する選択回路とを設けるこ
とと、 前記本体装置内に、前記未接続パターン発信回路からの
信号を検出して上位の中央処理部に割込み信号を出力す
るパターン検出回路を設けることを特徴とし、 前記切替スイッチにて接続先が変更されると、前記切替
動作制御回路の指示により周辺装置との接続状態が切り
離されるポートは切り離し完了後、未接続パターンが再
接続されるまで出力されるように動作する切替制御方
式。
1. A switching control method in an information processing system in which one peripheral device is switched and shared with a plurality of main devices by a switching device, and a switching operation control is executed in the switching device by a switching switch. A circuit is provided, and for each port connected to the main unit, an unconnected pattern transmission circuit that sends out a specific signal pattern in an unconnected state, an input / output signal from a peripheral device, and the unconnected pattern transmission. A selection circuit for selecting a signal from a circuit is provided, and a pattern detection circuit for detecting a signal from the unconnected pattern transmission circuit and outputting an interrupt signal to a higher-level central processing unit is provided in the main body device. When the connection destination is changed by the changeover switch, the connection state with the peripheral device is disconnected according to an instruction from the changeover operation control circuit. A switching control method that operates so that the port to be released is output until the unconnected pattern is reconnected after disconnection is completed.
【請求項2】前記未接続ポート発信回路の代りに、未接
続状態から接続状態への変化の割込みを発信する接続割
込回路と、接続状態から未接続への変化の割込みを発信
する切離割込回路とを設けたことを特徴とする請求項1
記載の切替制御方式。
2. A connection interrupt circuit for transmitting an interrupt for a change from an unconnected state to a connected state, and a disconnection for transmitting an interrupt for a change from a connected state to an unconnected state instead of the unconnected port transmitting circuit. An interrupt circuit is provided.
Switch control method described.
JP4216725A 1992-08-14 1992-08-14 Switching control method Expired - Fee Related JP3049955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4216725A JP3049955B2 (en) 1992-08-14 1992-08-14 Switching control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4216725A JP3049955B2 (en) 1992-08-14 1992-08-14 Switching control method

Publications (2)

Publication Number Publication Date
JPH0667771A true JPH0667771A (en) 1994-03-11
JP3049955B2 JP3049955B2 (en) 2000-06-05

Family

ID=16692949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4216725A Expired - Fee Related JP3049955B2 (en) 1992-08-14 1992-08-14 Switching control method

Country Status (1)

Country Link
JP (1) JP3049955B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065865A (en) * 2004-08-24 2006-03-09 Lg Electronics Inc External device detection method for mobile communication terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065865A (en) * 2004-08-24 2006-03-09 Lg Electronics Inc External device detection method for mobile communication terminal

Also Published As

Publication number Publication date
JP3049955B2 (en) 2000-06-05

Similar Documents

Publication Publication Date Title
US6754762B1 (en) Redundant bus switching
US6038681A (en) Multi-array disk apparatus
JP2001060160A (en) Cpu duplex system for controller
JPH0667771A (en) Switchover control system
JP3125864B2 (en) Redundant system
JPH02122730A (en) Signal line terminating system
KR100278703B1 (en) Device access bus redundancy control circuit at exchange
JPH09212388A (en) Method for monitoring operation of cpu
JP2518514B2 (en) Automatic fault detection system
JPS60134942A (en) Backup system for abnormal state
JP4246856B2 (en) Redundant switching method for control devices
JPS60245001A (en) Multiplexing controller
KR100306482B1 (en) N:1 Duplex System And Duplex Control Method In That System
JPH04235656A (en) Channel device control system
KR100197439B1 (en) Apparatus for communicating processor with device in switching system
JP4788469B2 (en) Redundant CPU system
JP2750165B2 (en) Method and apparatus for selecting a normal trunk line in a duplex trunk line
JP2735074B2 (en) Redundant configuration
JPH02177619A (en) System switching system
JPS63231656A (en) Common bus system
JP2725503B2 (en) Line monitoring signal detection method
JP2865047B2 (en) Bus monitoring method
JPH08191319A (en) Data communication system
JPH0563802A (en) Duplicate equipment for exchange
JP2000068988A (en) External control clock signal and multiplexer

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: 20000229

LAPS Cancellation because of no payment of annual fees