JPH03237547A - Peripheral device switching system - Google Patents

Peripheral device switching system

Info

Publication number
JPH03237547A
JPH03237547A JP3269690A JP3269690A JPH03237547A JP H03237547 A JPH03237547 A JP H03237547A JP 3269690 A JP3269690 A JP 3269690A JP 3269690 A JP3269690 A JP 3269690A JP H03237547 A JPH03237547 A JP H03237547A
Authority
JP
Japan
Prior art keywords
peripheral device
switching
data
peripheral
host computer
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.)
Pending
Application number
JP3269690A
Other languages
Japanese (ja)
Inventor
Yuuko Inomata
猪俣 有子
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3269690A priority Critical patent/JPH03237547A/en
Publication of JPH03237547A publication Critical patent/JPH03237547A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a need of a special processing means by switching a peripheral device to another designated peripheral device after sending a trans mission stop request signal to peripheral devices, which transmit data at present, at the time of a switching request designating the peripheral device. CONSTITUTION:A host computer 11 generates a required instruction to transmit and receive data to an from low order devices and a peripheral device switching device 13 is connected to this computer 11 by a transmission line 12. This device 13 has a function to connect the computer 11 and a designated device, for exam ple, a peripheral device 14 by switching at the time of the issue of a switching request designating the specific peripheral device 14 from the computer 11. If a peripheral device 15 transmits and receives data to and from the computer 11 at the time of the issue of this switching request, the device 13 sends the transmission stop request signal to the peripheral device 15, and switching to the peripheral device 14 is performed when the stop response comes there after.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野] 本発明は特定の周辺機器を切替選択して上位計算機、ホ
ストコンピュータ等(以下、上位コンピュータと呼ぶ)
に接続する周辺機器切替方式の改良に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Field of Application) The present invention switches and selects specific peripheral devices, such as a host computer, a host computer, etc. (hereinafter referred to as a host computer).
This paper relates to improvements in peripheral device switching methods connected to .

(従来の技術) 従来、上位コンピュータに周辺機器切替装置を介して複
数の周辺機器が接続され、上位コンピュータと特定の周
辺機器との間でデータの授受を行うデータ伝送システム
は種々の分野で広く利用されている。
(Prior Art) Conventionally, data transmission systems in which multiple peripheral devices are connected to a host computer via a peripheral device switching device and data is exchanged between the host computer and a specific peripheral device have been widely used in various fields. It's being used.

ところで、このようなデータ伝送システムの周辺機器切
替装置では、上位コンピュータから周辺機器切替要求が
あった場合、現在地の周辺機器と上位コンピュータとの
間でデータの授受を行っているにも拘らず、上位コンピ
ュータにその切替要求のあった周辺機器を切替接続する
ようにしている。
By the way, in the peripheral device switching device of such a data transmission system, when there is a peripheral device switching request from the host computer, even though data is being exchanged between the peripheral device at the current location and the host computer, Peripheral devices that have received a switching request are switched and connected to the host computer.

(発明が解決しようとする課題) 従って、以上のようなデータ伝送システムでは、上位コ
ンピュータと周辺機器との間で現にデータの送受信を行
っているときに切替操作が行われると、上位コンピュー
タでは全く異なったブタとして認識し、そのためにデー
タを正確に認識する判断手段が必要となり、或いは意味
を有しない不要なデータであると判断した場合にはその
データをメモリから消去する必要があり、信号処理が非
常に煩雑なものとなる。
(Problem to be Solved by the Invention) Therefore, in the data transmission system as described above, if a switching operation is performed while data is actually being sent and received between the host computer and the peripheral device, the host computer will not be able to access the data at all. To recognize the pig as a different pig, a judgment method is required to accurately recognize the data, or if it is determined that the data is unnecessary and has no meaning, it is necessary to erase the data from memory, and signal processing is required. becomes extremely complicated.

本発明は上記実情に鑑みてなされたもので、切替要求が
あったとき、送受信データとのタイミングをとって適切
に切替えることにより、違うデータとして認識させない
ようにする周辺機器切替方式を提供することを目的とす
る。
The present invention has been made in view of the above circumstances, and provides a peripheral device switching method that prevents the data from being recognized as different data by appropriately switching the timing with the transmitted and received data when a switching request is made. With the goal.

[発明の構成コ (課題を解決するための手段および作用)本発明は上記
課題を解決するために、上位コンピュータに周辺機器切
替装置を介して複数の周辺機器が接続され、切替要求を
受けて前記周辺機器切替装置が特定の周辺機器と前記上
位コンピュータとを接続してデータの授受動作を可能と
する周辺機器切替方式において、前記周辺機器切替装置
は、前記上位コンピュータから周辺機器を指定して切替
要求があったとき、現在データ送信中の周辺機器があれ
ば、その送信中の周辺機器に対して送信停止要求信号を
送出し、そのデータ送信中の周辺機器から送信を停止し
た旨の信号を受けたとき、前記指定周辺機器に切替接続
することにより、送信停止要求信号を受けた周辺機器で
は適宜な送信終了処置等を取ることができ、間違ったデ
ータとして認識させることがない。
[Structure of the Invention (Means and Effects for Solving the Problems) In order to solve the above problems, the present invention provides a system in which a plurality of peripheral devices are connected to a host computer via a peripheral device switching device, and when a switching request is received, In the peripheral device switching method in which the peripheral device switching device connects a specific peripheral device and the host computer to enable data exchange operations, the peripheral device switching device specifies the peripheral device from the host computer. When a switching request is made, if there is a peripheral device currently transmitting data, a transmission stop request signal is sent to the peripheral device currently transmitting data, and a signal indicating that the peripheral device currently transmitting data has stopped transmitting data. By switching the connection to the specified peripheral device when receiving the transmission stop request signal, the peripheral device that has received the transmission stop request signal can take appropriate transmission termination measures, etc., and the data will not be recognized as incorrect data.

(実施例) 以下、本発明に係わる周辺機器切替方式を適用してなる
データ伝送システムについて第1図を参照して説明する
。同図において11は必要な命令を発生して下位機器と
の間でデータの授受を行う上位コンピュータであって、
この上位コンピュータ11には伝送ライン12を介して
周辺機器切替装置13が接続されている。
(Embodiment) Hereinafter, a data transmission system to which a peripheral device switching method according to the present invention is applied will be described with reference to FIG. In the figure, 11 is a host computer that generates necessary commands and exchanges data with lower-order devices;
A peripheral device switching device 13 is connected to this host computer 11 via a transmission line 12 .

この周辺機器切替装置13は、上位コンピュータ11か
ら特定の周辺機器14を指定するための切替要求があっ
たとき、前記上位コンピュータ11とその指定機器であ
る例えば周辺機器14とを切替接続する機能をもってい
る。しかも、この周辺機器切替装置13は、切替要求が
あったとき、現在上位コンピュータ11とデータの授受
を行っている周辺機器15があれば、その周辺機器15
に対して送信停止要求信号を送出し、その後停止応答が
あったとき初めて周辺機器14側に切替る構成となって
いる。
This peripheral device switching device 13 has a function of switching and connecting the host computer 11 and its designated device, for example, the peripheral device 14, when there is a switching request from the host computer 11 to designate a specific peripheral device 14. There is. Moreover, when there is a switching request, this peripheral device switching device 13 switches the peripheral device 15 that is currently exchanging data with the host computer 11, if there is one.
The configuration is such that a transmission stop request signal is sent to the peripheral device 14, and the switch is made to the peripheral device 14 side only when a stop response is received thereafter.

これら周辺機器14,15.・・・は、例えばプラント
計装であればプロセスラインの各所に設置される例えば
デジタルコントローラ等に相当し、プロセス量の検出お
よびプロセス量の操作機能のほか、マイクロコンピュー
タやデータの伝送手段をもっている。
These peripheral devices 14, 15. For example, in the case of plant instrumentation, this corresponds to, for example, a digital controller installed at various locations on a process line, and in addition to the functions of detecting and manipulating process quantities, it also has a microcomputer and data transmission means. .

従って、以上のようなデータ伝送システムの構成によれ
ば、周辺機器切替装置13では、第2図および第3図に
示すように、所定時間ごとに上位コンピュータ11から
周辺機器を指定して切替要求があったか否かを判断する
(STI)。ここで、切替要求があったと判断したとき
、その周辺機器の指定データをメモリに記憶する(Sr
1)。しかる後、次のステップST3に移行し、ここで
現在送信中の周辺機器があるか否かを判断し、送信中の
周辺機器が無いと判断したときには指定周辺機器側に切
替える(Sr4)。第2図において81は送信データを
示す。ステップST3において送信中の周辺機器がある
と判断した場合には当該周辺機器に送信停止要求信号S
2を送出する(Sr5)。
Therefore, according to the configuration of the data transmission system as described above, the peripheral device switching device 13 specifies the peripheral device from the host computer 11 at predetermined intervals and requests switching, as shown in FIGS. 2 and 3. (STI). Here, when it is determined that there is a switching request, the specified data of the peripheral device is stored in the memory (Sr
1). Thereafter, the process moves to the next step ST3, where it is determined whether there is a peripheral device currently transmitting data or not, and when it is determined that there is no peripheral device currently transmitting data, it is switched to the designated peripheral device side (Sr4). In FIG. 2, 81 indicates transmission data. If it is determined in step ST3 that there is a peripheral device currently transmitting, a transmission stop request signal S is sent to the peripheral device.
2 is sent (Sr5).

そして、送信停止要求信号S2を送出した後、タイマを
駆動させて予め定めた所定時間を経過したか否かを判断
しく5T6)、所定時間を経過していないときには前記
当該周辺機器から停止応答S3があったかどうかを判断
しく5T7) 、停止応答S3がなければステップST
6に戻って再度同様な処理を実行し、一方、停止応答S
3があったときには上位コンピュータ11から指定され
た周辺機器側に接続する。なお、ステップS6において
所定時間を経過しても停止応答がない場合には当該周辺
機器が異常であると判断し、その旨を上位コンピュータ
11に知らせるとともに、周辺機器側に操作員がいる場
合には警報等の手段で報知する(Sr1)。
After sending the transmission stop request signal S2, a timer is driven to determine whether a predetermined time has elapsed (5T6), and if the predetermined time has not elapsed, the peripheral device responds with a stop response S3. 5T7), and if there is no stop response S3, proceed to step ST.
Return to step 6 and execute the same process again, while the stop response S
3, the connection is made to the peripheral device specified by the host computer 11. Note that if there is no stop response even after a predetermined period of time has elapsed in step S6, it is determined that the peripheral device is abnormal, and this is notified to the host computer 11, and if there is an operator on the peripheral device side, is notified by means such as an alarm (Sr1).

従って、切替要求があったときに他の周辺機器でデータ
送信中である場合、その周辺機器に送信停止要求信号S
2を送出した後停止応答s3を受けるまで、切替要求の
あった周辺機器側に切替えないので、送信中の周辺機器
は適切な状態でデータの送信を終了させて停止応答S3
を送出できるばかりでなく、相手機器つまり上位コンピ
ュータ11でもその適切な状態で送信データが終了した
ことを知ることが可能であり、ひいては上位コンピュー
タ11において間違ったデータとして認識したり、或い
は不要なデータとして既に格納されたデータを消去する
ことがない。
Therefore, if another peripheral device is transmitting data when a switching request is made, a transmission stop request signal S is sent to that peripheral device.
Since the peripheral device that made the switching request will not switch to the side that made the switch request until it receives the stop response s3 after sending 2, the peripheral device that is currently transmitting will finish transmitting data in an appropriate state and respond to the stop response S3.
Not only can the destination device, that is, the higher-level computer 11, also know that the transmitted data has ended in an appropriate state, and the higher-level computer 11 can recognize it as incorrect data or send unnecessary data. It does not erase data that has already been stored.

なお、上記実施例では、周辺機器14,15゜・・・と
してデジタルコントローラを想定したが、特にその機器
の種類を問うものでなく、例えばコンピュータであって
もよい。その他、本発明はその要旨を逸脱しない範囲で
種々変形して実施できる。
In the above embodiment, digital controllers are assumed as the peripheral devices 14, 15°, . . . , but there is no particular limitation on the type of the devices; for example, they may be computers. In addition, the present invention can be implemented with various modifications without departing from the gist thereof.

[発明の効果] 以上説明したように本発明によれば、周辺機器を指定し
て切替要求があったとき、現在送信中の他の周辺機器が
あれば、その周辺機器に対して送信停止要求信号を送出
した後停止応答を受けたとき、指定周辺機器側に切替え
るようにしたので、上位コンピュータで特別な処理手段
を持つ必要がなく、また間違ったデータを送受信するこ
とがなく、常に正しいデータとして取り扱うことができ
る。
[Effects of the Invention] As explained above, according to the present invention, when a switching request is made by specifying a peripheral device, if there is another peripheral device currently transmitting, a transmission stop request is sent to that peripheral device. When a stop response is received after sending a signal, the switch is made to the designated peripheral device side, so there is no need for special processing means on the host computer, and there is no need to send or receive incorrect data, so the data is always correct. It can be treated as

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

第1図ないし第3図は本発明に係わる周辺機器切替方式
の一実施例を説明するために示したもので、第1図は本
発明方式を適用してなるデータ伝送システムの構成図、
第2図は周辺機器切替装置と周辺機器との間のデータの
やり取りを示す図、第3図は本発明方式の動作を説明す
るフローチャートである。 11・・・上位コンピュータ、12・・・伝送ライン、
13・・・周辺機器切替装置、14,15.・・・周辺
機器。
1 to 3 are shown to explain an embodiment of the peripheral device switching method according to the present invention, and FIG. 1 is a configuration diagram of a data transmission system to which the method of the present invention is applied;
FIG. 2 is a diagram showing the exchange of data between the peripheral equipment switching device and the peripheral equipment, and FIG. 3 is a flowchart explaining the operation of the system of the present invention. 11... Upper computer, 12... Transmission line,
13... Peripheral device switching device, 14, 15. ···Peripheral equipment.

Claims (1)

【特許請求の範囲】 上位コンピュータに周辺機器切替装置を介して複数の周
辺機器が接続され、切替要求を受けて前記周辺機器切替
装置が特定の周辺機器と前記上位コンピュータとを接続
してデータの授受動作を可能とする周辺機器切替方式に
おいて、 前記周辺機器切替装置は、 前記上位コンピュータから特定の周辺機器を指定するた
めの切替要求があったとき、現在データ送信中の他の周
辺機器がある場合には当該他の周辺機器に送信停止要求
信号を送出し、前記データ送信中の他の周辺機器から送
信を停止した旨の信号を受けたとき、前記指定された特
定の周辺機器に切替えるようにしたことを特徴とする周
辺機器切替方式。
[Scope of Claims] A plurality of peripheral devices are connected to a host computer via a peripheral device switching device, and upon receiving a switching request, the peripheral device switching device connects a specific peripheral device and the host computer to transfer data. In a peripheral device switching method that enables sending and receiving operations, the peripheral device switching device determines that, when a switching request is received from the host computer to specify a specific peripheral device, there is another peripheral device that is currently transmitting data. In this case, a transmission stop request signal is sent to the other peripheral device, and when a signal indicating that transmission has been stopped is received from the other peripheral device that is currently transmitting data, it is instructed to switch to the specified specific peripheral device. A peripheral device switching method characterized by the following.
JP3269690A 1990-02-14 1990-02-14 Peripheral device switching system Pending JPH03237547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3269690A JPH03237547A (en) 1990-02-14 1990-02-14 Peripheral device switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3269690A JPH03237547A (en) 1990-02-14 1990-02-14 Peripheral device switching system

Publications (1)

Publication Number Publication Date
JPH03237547A true JPH03237547A (en) 1991-10-23

Family

ID=12366018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3269690A Pending JPH03237547A (en) 1990-02-14 1990-02-14 Peripheral device switching system

Country Status (1)

Country Link
JP (1) JPH03237547A (en)

Similar Documents

Publication Publication Date Title
US4562533A (en) Data communications system to system adapter
US5900824A (en) Method for transferring data detected by a plurality of sensors
JPH03237547A (en) Peripheral device switching system
KR920008444B1 (en) Communication method between central process units
KR910008451B1 (en) Method for data exchange between a first and second processor
US5125079A (en) Method for controlling the data transmission of a central unit interfacing control circuit and circuit arrangement for the implementation of the method
JPH0576821B2 (en)
JP2944111B2 (en) Request control method and storage control device
JPH02311099A (en) Malfunction prevention control system
JP2733283B2 (en) Serial transmission control device
JPH02288442A (en) Plural protocol controller
JPH04301952A (en) Communication equipment
JPS6152749A (en) System supervisory system
JPS61216546A (en) Transmission stopping and transmission restarting control system
JPS6118292A (en) Interruption control system of electronic exchange
JPS61118803A (en) Programmable controller system
JPH062407U (en) Control device
KR20000043347A (en) Data input/output device
JPS6260051A (en) Transfer control system
JPH02146639A (en) Collecting system for fault information
JPH0669977A (en) Information distribution management system
JPH04268652A (en) Filing device
JPS5977565A (en) Information processor
JPH05265795A (en) Shared memory control system
JPH01205363A (en) Direct memory access state decision circuit