JPH11212879A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPH11212879A JPH11212879A JP10016803A JP1680398A JPH11212879A JP H11212879 A JPH11212879 A JP H11212879A JP 10016803 A JP10016803 A JP 10016803A JP 1680398 A JP1680398 A JP 1680398A JP H11212879 A JPH11212879 A JP H11212879A
- Authority
- JP
- Japan
- Prior art keywords
- line
- data processing
- abnormality
- personal computer
- scanner
- 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
Links
- 230000005856 abnormality Effects 0.000 claims abstract description 19
- 238000004891 communication Methods 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 31
- 230000004044 response Effects 0.000 abstract description 14
- 238000001514 detection method Methods 0.000 abstract description 3
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000015654 memory Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はデータ処理装置に関
し、特に回線が異常を起こしても正常なデータ転送を確
保できるようにした装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus, and more particularly to a data processing apparatus capable of securing a normal data transfer even if a line is abnormal.
【0002】[0002]
【従来の技術】例えば、パーソナルコンピュータに画像
を取り込む場合、スキャナをパーソナルコンピュータに
接続して行うことがある。かかる場合、制御信号と画像
データを送受信できる1本のケーブルを用いてパーソナ
ルコンピュータとスキャナとを接続し、パーソナルコン
ピュータからの読み取り指示によってスキャナが起動し
て原稿を読み取り、読み取った画像をパーソナルコンピ
ュータに送信することが行われる。2. Description of the Related Art For example, when an image is taken in a personal computer, a scanner is sometimes connected to the personal computer. In such a case, the personal computer and the scanner are connected using a single cable capable of transmitting and receiving the control signal and the image data, and the scanner is activated by the reading instruction from the personal computer to read the original, and the read image is transmitted to the personal computer. Sending is performed.
【0003】[0003]
【発明が解決しようとする課題】しかし、ケーブルが不
意に装置から外れたり、切断されたり、破損したり、あ
るいはケーブル接続部が破損したりすると、パーソナル
コンピュータへの画像の取り込みは行えなくなる。However, if the cable is suddenly disconnected from the device, cut or broken, or the cable connection is damaged, it becomes impossible to capture the image into the personal computer.
【0004】本発明はかかる問題点に鑑み、回線が異常
を起こしても正常なデータ転送を保証できるようにした
データ処理装置を提供することを課題とする。[0004] In view of the above problems, it is an object of the present invention to provide a data processing device capable of guaranteeing normal data transfer even if an abnormality occurs in a line.
【0005】[0005]
【課題を解決するための手段】そこで、本発明に係るデ
ータ処理装置は、データ処理装置と外部入出力機器とを
複数のデータ通信回線で接続するとともに、上記複数の
データ通信回線のうち、データ通信に使用する回線につ
いて異常の有無を検出する回線異常検出手段と、異常が
検出されたときに、異常が検出された回線とは別の回線
に切替える回線切替手段とを備えたことを特徴とする。Therefore, a data processing apparatus according to the present invention connects a data processing apparatus and an external input / output device via a plurality of data communication lines, and includes a Line abnormality detecting means for detecting the presence or absence of an abnormality in a line used for communication, and line switching means for switching to a line different from the line in which the abnormality is detected when an abnormality is detected. I do.
【0006】本発明の特徴の1つはデータ処理装置と外
部入出力機器との間を複数の回線で接続し、使用すべき
回線の異常を要求信号の送信にて検知して切替えるよう
にした点にある。これにより、いずれかの回線に異常が
発生しても他の回線に自動的に切替わり、正常なデータ
転送が確保されることとなる。One of the features of the present invention is that a data processing device and an external input / output device are connected by a plurality of lines, and an abnormality in a line to be used is detected and transmitted by transmitting a request signal. On the point. As a result, even if an abnormality occurs in one of the lines, the line is automatically switched to another line, and normal data transfer is secured.
【0007】データ処理装置と外部入出力機器との間を
複数の回線で接続する上で、データ処理装置及び外部入
出力機器は複数のポートを備えていることが必要であ
る。ポートの数は2つ以上であればよい。In order to connect the data processing device and the external input / output device with a plurality of lines, the data processing device and the external input / output device need to have a plurality of ports. The number of ports may be two or more.
【0008】データ処理装置とはデータを処理しうる機
能を有する装置を意味し、外部入出力機器とはデータ処
理装置に接続される機器をいう。画像形成システムの場
合、パーソナルコンピュータ、スキャナ、プリンタのい
ずれもデータ処理を行う機能を有するので、その意味で
は本発明ではすべてをデータ処理装置として扱うことも
可能である。即ち、パーソナルコンピュータをデータ処
理装置とする場合、スキャナ及びプリンタを外部入出力
機器とし、スキャナをデータ処理装置とする場合にはパ
ーソナルコンピュータ及びプリンタを外部入出力機器と
し、プリンタをデータ処理装置とする場合にはパーソナ
ルコンピュータ及びスキャナを外部入出力機器として扱
うことができる。[0008] The data processing device refers to a device having a function of processing data, and the external input / output device refers to a device connected to the data processing device. In the case of an image forming system, all of a personal computer, a scanner, and a printer have a function of performing data processing, and in this sense, in the present invention, all of them can be treated as a data processing device. That is, when the personal computer is a data processing device, the scanner and the printer are external input / output devices. When the scanner is a data processing device, the personal computer and the printer are external input / output devices, and the printer is a data processing device. In this case, a personal computer and a scanner can be handled as external input / output devices.
【0009】また、代替の回線を使用している場合、操
作者にそれを表示するのが好ましい。そこで、データ処
理装置に設けられ、使用すべき回線の異常時に他の回線
を使用していることを表示する表示手段を更に備えるの
がよい。When an alternative line is used, it is preferable to display it to the operator. Therefore, it is preferable that the data processing device further include a display unit that displays that another line is being used when the line to be used is abnormal.
【0010】さらに、代替の回線を使用している間に異
常の回線を交換できるようにすることが好ましい。この
ため、各回線をデータ処理装置および外部入出力機器に
対し独立に着脱できるようにすればよい。[0010] Further, it is preferable that the abnormal line can be replaced while the alternative line is being used. For this reason, it is sufficient that each line can be independently attached to and detached from the data processing device and the external input / output device.
【0011】[0011]
【作用及び発明の効果】本発明によれば、データ処理装
置と外部入出力機器との間を複数の回線で接続し、使用
すべき回線の異常の有無を検知し、回線の異常時には使
用すべき回線を切替えるようにしたので、いずれかの回
線に異常が発生しても他の回線に自動的に切替わる結
果、正常なデータ転送を保証できる。According to the present invention, the data processing apparatus and the external input / output device are connected by a plurality of lines, and the presence or absence of an abnormality in a line to be used is detected. Since the line to be switched is switched, even if an error occurs in one of the lines, the line is automatically switched to another line, so that normal data transfer can be guaranteed.
【0012】[0012]
【発明の実施の形態】以下、本発明を図面に示す具体例
に基づいて詳細に説明する。図1ないし図6は本発明に
係るデータ通信回線制御装置の好ましい実施形態を示
し、これはスキャナを用いたパーソナルコンピュータへ
画像の取り込みを行うシステムに適用した例である。図
1は上記システムの全体構成を示す。本システムはパー
ソナルコンピュータ10、スキャナ20及び両者を接続
する複数の回線30から構成されている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to specific examples shown in the drawings. FIGS. 1 to 6 show a preferred embodiment of a data communication line control apparatus according to the present invention, which is an example applied to a system for taking in an image to a personal computer using a scanner. FIG. 1 shows the overall configuration of the above system. The system comprises a personal computer 10, a scanner 20, and a plurality of lines 30 connecting the two.
【0013】パーソナルコンピュータ10は各種の演算
処理を行うCPU11、プログラム及び/又はデータを
記憶するROM12、RAM13及び記憶装置14、C
PU11の操作を行うための操作部15、複数の入出力
ポート18、ポート18の切替えを行うセレクタ16、
各種の表示を行う表示部17から構成されている。The personal computer 10 includes a CPU 11 for performing various arithmetic processing, a ROM 12 for storing programs and / or data, a RAM 13, a storage device 14,
An operation unit 15 for operating the PU 11, a plurality of input / output ports 18, a selector 16 for switching the ports 18,
It comprises a display unit 17 for performing various displays.
【0014】他方、スキャナ20は各種の演算処理を行
うCPU21、画像の読み取りを行う読み取り部22、
プログラム及び/又はデータを記憶するROM23及び
RAM24、複数の入出力ポート26、ポート26の切
替えを行うセレクタ25から構成されている。On the other hand, a scanner 20 includes a CPU 21 for performing various arithmetic processing, a reading unit 22 for reading an image,
It comprises a ROM 23 and a RAM 24 for storing programs and / or data, a plurality of input / output ports 26, and a selector 25 for switching the ports 26.
【0015】回線30はパーソナルコンピュータ10の
複数の各入出力ポート18とスキャナ20の複数の各入
出力ポート26との間に接続されている。各回線(ケー
ブル)1,2…は、各々独立したものであって、各入出
力ポート18,26に対して独立に着脱可能になってい
る。The line 30 is connected between the plurality of input / output ports 18 of the personal computer 10 and the plurality of input / output ports 26 of the scanner 20. Each of the lines (cables) 1, 2,... Is independent, and can be detachably attached to each of the input / output ports 18, 26 independently.
【0016】図6はセレクタ16の構成を示す。セレク
タ16は入力バッファメモリ160、スイッチング回路
161及び複数の出力バッファメモリ162・・・から
構成されており、スイッチング回路161で回線30を
切替える一方、入力バッファメモリ160で画像データ
を受け、入力バッファメモリ160にある画像データを
選択した出力バッファメモリ162・・・を介して回線
30に送信するようになっている。FIG. 6 shows the structure of the selector 16. The selector 16 includes an input buffer memory 160, a switching circuit 161, and a plurality of output buffer memories 162... The switching circuit 161 switches the line 30, while the input buffer memory 160 receives image data and The image data at 160 is transmitted to the line 30 via the selected output buffer memory 162.
【0017】次に、図2ないし図5を用いて回線制御方
法について説明する。図2はパーソナルコンピュータ1
0における処理のフローチャート、図3はスキャナ20
における処理のフローチャート、図4はパーソナルコン
ピュータ10の表示部17の画面、図5は画像読み取り
アプリケーションのプログラムにおける信号テーブルの
例を示す。Next, a line control method will be described with reference to FIGS. FIG. 2 shows a personal computer 1
0 is a flowchart of the processing in FIG.
4 shows a screen of the display unit 17 of the personal computer 10, and FIG. 5 shows an example of a signal table in a program of the image reading application.
【0018】まず、パーソナルコンピュータ10の表示
部17の画面において「読み込み」を指定すると、画像
読み取りアプリケーションのプログラムが起動し、セレ
クタ16が通常使用すべき第1の入出力ポート18を選
択しており、第1の回線30を介してスキャナ20に要
求信号Reqを送信する(図2のステップS10)。スキ
ャナ20では第1の回線30を通して送られてきた要求
信号Reqを受信すると、応答信号Ackを回線30に向けて
発生する(図3のステップS20及びステップS2
1)。First, when "read" is designated on the screen of the display unit 17 of the personal computer 10, an image reading application program is started, and the selector 16 selects the first input / output port 18 to be normally used. Then, a request signal Req is transmitted to the scanner 20 via the first line 30 (step S10 in FIG. 2). Upon receiving the request signal Req sent through the first line 30, the scanner 20 generates a response signal Ack toward the line 30 (steps S20 and S2 in FIG. 3).
1).
【0019】パーソナルコンピュータ10が要求信号Re
qの送信した後、所定時間内にスキャナ20から通常使
用すべき第1の回線30を介して応答信号Ackが送信さ
れてきた場合、通常使用すべき第1の回線30は正常で
あるので、後は通常の画像読み取り動作が行われ、スキ
ャナ20で読み取り部22が画像を読み取り、その画像
データが第1の回線30を介して送信され、パーソナル
コンピュータ10に取り込まれて記憶装置14に記憶さ
れる(図2のステップS11及びステップS12)。The personal computer 10 receives the request signal Re.
After the transmission of q, if the response signal Ack is transmitted from the scanner 20 via the first line 30 to be normally used within a predetermined time, the first line 30 to be normally used is normal. Thereafter, a normal image reading operation is performed, the reading unit 22 reads an image with the scanner 20, the image data is transmitted via the first line 30, is captured by the personal computer 10, and is stored in the storage device 14. (Steps S11 and S12 in FIG. 2).
【0020】しかし、所定時間が経過しても通常使用す
べき第1の回線30を介しても何も応答がない場合、他
の1つ、例えば第2の回線30を介してReq信号を送信
する(図2のステップS11及びステップS13)。However, if no response is received even after a predetermined time has passed through the first line 30, which is to be used normally, a Req signal is transmitted via another one, for example, the second line 30. (Steps S11 and S13 in FIG. 2).
【0021】他の1つの回線30を介して要求信号Req
を送信した後、所定時間内にスキャナ20からいずれか
の回線30を介して応答信号Ackが送信されてきたら、
その回線30を用いて画像データの受信(又は送信)を
行う。例えば、このとき第2の回線30を介して応答信
号Ackが送信されてきたら、第2の回線30を用いて画
像データの受信(又は送信)を行う。また、通常使用す
べき第1の回線30が異常となった場合には使用すべき
代替回線30が選択されると、パーソナルコンピュータ
10の表示部17の画面には回線のモニター表示が現
れ、「回線1:使用不可(要調査)、回線2:使用中」
の表示がなされる(図2のステップS13、ステップS
14及びステップS15)。The request signal Req via another line 30
Is transmitted, and if a response signal Ack is transmitted from any one of the lines 30 from the scanner 20 within a predetermined time,
The image data is received (or transmitted) using the line 30. For example, if a response signal Ack is transmitted via the second line 30 at this time, the image data is received (or transmitted) using the second line 30. Further, when the first line 30 to be used normally becomes abnormal, when the alternative line 30 to be used is selected, a line monitor display appears on the screen of the display unit 17 of the personal computer 10, and “ Line 1: Unavailable (needs investigation), Line 2: Busy "
Is displayed (steps S13 and S13 in FIG. 2).
14 and step S15).
【0022】上記のように、異常が検出された回線(ケ
ーブル)は表示されるので、ユーザは直ちに新たな回線
と交換することができる。この回線ケーブルの交換は、
他の回線を用いたデータ通信中にも行うことができ、次
の使用に待機することができる。なお、上記実施例のフ
ローチャートには回線ケーブルの交換が行われた際の処
理について記載されていないが、上記交換が行われた際
には、当該回線の異常表示を消すようにすることが好ま
しい。As described above, the line (cable) in which the abnormality is detected is displayed, so that the user can immediately exchange the line with a new line. This line cable replacement
It can also be performed during data communication using another line, and can wait for the next use. Although the processing in the case where the line cable is exchanged is not described in the flowchart of the above embodiment, it is preferable that the abnormal display of the line is erased when the exchange is performed. .
【0023】さらに、所定時間経過しても要求信号Req
を送信した回線30を介して何も応答がない場合には要
求信号Reqを送ってない回線を介してスキャナ20に要
求信号Req を送り、応答を待つ、という一連の作業を繰
り返す(図2のステップS13、ステップS14、ステ
ップS15及びステップS16)。Further, even if a predetermined time has passed, the request signal Req
If there is no response via the line 30 that has transmitted the request signal, a series of operations of sending a request signal Req to the scanner 20 via a line not sending the request signal Req and waiting for a response is repeated (FIG. 2). Steps S13, S14, S15 and S16).
【0024】最後に、すべての回線30を介して要求信
号Reqを送信しても、どの回線30からも応答がない場
合にはパーソナルコンピュータ10の表示部17の画面
における回線のモニター表示に「全回線で失敗」の表示
がなされる(図2のステップS17)。Lastly, even if the request signal Req is transmitted through all the lines 30 and there is no response from any of the lines 30, the line monitor display on the screen of the display unit 17 of the personal computer 10 displays "all lines". "Fail on line" is displayed (step S17 in FIG. 2).
【0025】図5は画像読み取りアプリケーションのプ
ログラムにおける信号テーブルの例を示す。この場合、
まず通常使用すべき第1の回線30を介してスキャナ2
0に要求信号Reqを送信したが、スキャナ20からは応
答信号Ackが返ってこないので、第2の回線30を介し
て要求信号Reqを送信し、第2の回線30から応答信号A
ckが返ってきたことを示すので、第2の回線30を介し
て画像データの受信(又は送信)が行われる。FIG. 5 shows an example of a signal table in an image reading application program. in this case,
First, the scanner 2 is connected via the first line 30 to be normally used.
0, the response signal Aq is not returned from the scanner 20. Therefore, the request signal Req is transmitted through the second line 30, and the response signal A is transmitted from the second line 30.
Since the ck is returned, image data is received (or transmitted) via the second line 30.
【図1】 本発明に係るデータ転送用回線制御装置の好
ましい実施形態を示す構成図である。FIG. 1 is a configuration diagram showing a preferred embodiment of a data transfer line controller according to the present invention.
【図2】 上記実施形態におけるパーソナルコンピュー
タの処理を示すフローチャート図である。FIG. 2 is a flowchart showing processing of the personal computer in the embodiment.
【図3】 上記実施形態におけるスキャナの処理を示す
フローチャート図である。FIG. 3 is a flowchart illustrating processing of a scanner according to the embodiment.
【図4】 上記実施形態におけるパーソナルコンピュー
タの表示部の画面の例を示す図である。FIG. 4 is a diagram illustrating an example of a screen of a display unit of the personal computer in the embodiment.
【図5】 上記パーソナルコンピュータでの画像読み取
りアプリケーションのプログラムにおける信号テーブル
の例を示す図である。FIG. 5 is a diagram showing an example of a signal table in a program of an image reading application in the personal computer.
【図6】 上記パーソナルコンピュータにおけるセレク
タを示す構成図である。FIG. 6 is a configuration diagram showing a selector in the personal computer.
10 パーソナルコンピュータ(データ処理装置) 11 CPU(回線異常検出手段) 16 セレクタ(回線切替手段) 17 表示部(表示手段) 20 スキャナ(外部入出力機器) 21 CPU(応答手段) 30 回線 Reference Signs List 10 personal computer (data processing device) 11 CPU (line abnormality detection means) 16 selector (line switching means) 17 display unit (display means) 20 scanner (external input / output device) 21 CPU (response means) 30 lines
Claims (3)
数のデータ通信回線で接続するとともに、 上記複数のデータ通信回線のうち、データ通信に使用す
る回線について異常の有無を検出する回線異常検出手段
と、 異常が検出されたときに、異常が検出された回線とは別
の回線に切替える回線切替手段とを備えた、データ処理
装置。1. A line abnormality detector for connecting a data processing device and an external input / output device by a plurality of data communication lines and detecting whether or not there is an abnormality in a line used for data communication among the plurality of data communication lines. A data processing device, comprising: a unit; and a line switching unit that, when an abnormality is detected, switches to a line different from the line in which the abnormality is detected.
する表示手段を更に備えた、請求項1記載のデータ処理
装置。2. The data processing apparatus according to claim 1, further comprising display means for displaying that said another line is being used.
および外部入出力機器に対し着脱自在である、請求項1
又は2記載のデータ処理装置。3. The system according to claim 1, wherein each of the plurality of lines is detachable from a data processing device and an external input / output device.
Or the data processing device according to 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10016803A JPH11212879A (en) | 1998-01-29 | 1998-01-29 | Data processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10016803A JPH11212879A (en) | 1998-01-29 | 1998-01-29 | Data processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11212879A true JPH11212879A (en) | 1999-08-06 |
Family
ID=11926324
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10016803A Pending JPH11212879A (en) | 1998-01-29 | 1998-01-29 | Data processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11212879A (en) |
-
1998
- 1998-01-29 JP JP10016803A patent/JPH11212879A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH11184812A (en) | Message handling device | |
| JPS6215649A (en) | Means for selective connection between several boats and several channels | |
| JPH11212879A (en) | Data processor | |
| JPH02151926A (en) | Terminal equipment switching system | |
| JPH08275266A (en) | Remote control system and remote control method | |
| JPH07182261A (en) | Information processor | |
| JPH0884211A (en) | Facsimile equipment | |
| JPH1023234A (en) | Facsimile server | |
| JPH09307685A (en) | Image data reading system | |
| JPH0783419B2 (en) | Fax system | |
| JP2663713B2 (en) | Bus connection device | |
| JP3099799B2 (en) | Facsimile delivery method | |
| JPH0514574A (en) | Image communication system | |
| JPWO2009153849A1 (en) | Diagnostic result display system, display device, and diagnostic result display method | |
| JPH02213953A (en) | Error monitor device | |
| JPH07175744A (en) | Channel control system | |
| JPS6175463A (en) | Information processing system | |
| JPS62127935A (en) | printer control device | |
| JPH0125459B2 (en) | ||
| JPH10178630A (en) | Image center system | |
| JPH0229141A (en) | Procedure switching processing system | |
| JP2002063128A (en) | Information processor | |
| JPH05181775A (en) | Line monitor terminal | |
| JP2001157235A (en) | Automatic switchboard with storage program control | |
| JPH10254810A (en) | Peripheral equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20040423 |