JP2002140281A - Switching device and its method, and image display device - Google Patents

Switching device and its method, and image display device

Info

Publication number
JP2002140281A
JP2002140281A JP2000336202A JP2000336202A JP2002140281A JP 2002140281 A JP2002140281 A JP 2002140281A JP 2000336202 A JP2000336202 A JP 2000336202A JP 2000336202 A JP2000336202 A JP 2000336202A JP 2002140281 A JP2002140281 A JP 2002140281A
Authority
JP
Japan
Prior art keywords
information processing
usb
electronic device
selection
data transfer
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
JP2000336202A
Other languages
Japanese (ja)
Inventor
Hirotaka Takekoshi
弘孝 竹腰
Yoshiaki Matsubara
義明 松原
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2000336202A priority Critical patent/JP2002140281A/en
Publication of JP2002140281A publication Critical patent/JP2002140281A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To make the connection of a retractable interface such as a USB easily switchable. SOLUTION: When printing is carried out in a computer device 4B unselected in a USB switching device 1 and printing data are supplied to a USB function 13B, the printing data supplied to the USB function 13B are not taken in by means of a control part 11, but a BUSY signal showing that the printer is in processing is supplied to a USB host 21B. The computer device 4B is set in a printing data transmission waiting condition while the BUSY signal is supplied.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、例えばUSB(U
niversal Serial Bus)のように、活線挿抜可能で、且
つ、挿抜時にドライバソフトの読み込みおよび破棄をそ
の都度行うインターフェイスによる接続の切り替えを、
より容易に行えるようにした切替装置および方法、なら
びに、画像表示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
niversal Serial Bus), the connection can be switched by an interface that can be hot-swappable and that reads and destroys driver software each time it is inserted and removed.
The present invention relates to a switching device and a method that can be performed more easily, and an image display device.

【0002】[0002]

【従来の技術】近年、情報処理装置、特にコンピュータ
装置に対する周辺機器などの接続のインターフェイスと
して、USB(Universal Serial Bus)がある。USB
は、複数の転送モードに対応していると共に、接続され
た周辺機器を自動認識し、必要なデバイスドライバを自
動的に組み込むようにされている。そのため、ユーザ
は、接続する周辺機器の種類を意識しなくとも、その周
辺機器をコンピュータ装置などに接続して使用すること
ができる。インターフェイスにUSBが採用された代表
的な周辺機器として、例えば、コンピュータ装置に接続
されて用いられる、キーボード、マウス、プリンタ装
置、スキャナ装置などがある。
2. Description of the Related Art In recent years, there has been a USB (Universal Serial Bus) as an interface for connecting information processing devices, especially computer devices to peripheral devices and the like. USB
Supports a plurality of transfer modes, automatically recognizes connected peripheral devices, and automatically incorporates necessary device drivers. Therefore, the user can connect and use the peripheral device with a computer device or the like without being conscious of the type of the peripheral device to be connected. As typical peripheral devices adopting USB for the interface, for example, there are a keyboard, a mouse, a printer device, a scanner device, and the like, which are used by being connected to a computer device.

【0003】USBは、上述のような接続の容易さに加
えて、データの転送速度が数Mバイト/sec〜数10
Mバイト/sec(あるいは数100Mバイト/se
c)と、従来の、例えばRS−232といったシリアル
インターフェイスに比べて高速であり、さらに、バス接
続が可能とされているため、急速に普及しつつある。
[0003] In addition to the ease of connection as described above, USB has a data transfer speed of several megabytes / sec to several tens of bytes.
Mbytes / sec (or several hundred Mbytes / sec
c), which is faster than a conventional serial interface such as RS-232, and is also rapidly becoming popular because it can be connected to a bus.

【0004】ところで、複数台、例えば2台のコンピュ
ータ装置を保有し、これらを同時に使用する場合、プリ
ンタ装置などの周辺機器を共有して使用することが考え
られる。例えば切替装置を用いて、2台のコンピュータ
装置を、プリンタ装置などの周辺機器を使用する側に切
り替えて使用する。
[0004] By the way, when a plurality of, for example, two computer devices are owned and used simultaneously, it is conceivable to use a peripheral device such as a printer device in common. For example, a switching device is used to switch two computer devices to a side that uses peripheral devices such as a printer device.

【0005】図5は、2台のコンピュータ装置103
A、103Bにより、USBに対応したインターフェイ
スを有する1台のプリンタ装置110を使用する場合の
使用環境を概略的に示す。マウス101Aはキーボード
100Aに接続される。キーボード100Aは、入力ケ
ーブル102Aを介してコンピュータ装置103Aに接
続される。コンピュータ装置103Aの画像出力は、ビ
デオケーブル104Aを介してモニタ105Aに供給さ
れる。コンピュータ装置103AとUSB切替装置10
7とが、USBケーブル106Aを介して接続される。
コンピュータ装置103B側の接続は、コンピュータ装
置103A側の接続と同様であるので、ここでは説明を
省略する。
FIG. 5 shows two computer devices 103.
A and 103B schematically show a use environment when one printer apparatus 110 having a USB-compatible interface is used. The mouse 101A is connected to the keyboard 100A. The keyboard 100A is connected to the computer device 103A via the input cable 102A. An image output from the computer device 103A is supplied to a monitor 105A via a video cable 104A. Computer device 103A and USB switching device 10
7 are connected via a USB cable 106A.
The connection on the computer device 103B side is the same as the connection on the computer device 103A side, and the description is omitted here.

【0006】USB切替装置107には、USBケーブ
ル106Aおよび106Bが接続され、外部スイッチ1
08を操作することで、USBによる信号経路を、US
Bケーブル106A側とUSBケーブル106B側とで
選択的に切り替えることができる。USB切替装置10
8とプリンタ装置110とがUSBケーブル109によ
り接続される。
[0006] To the USB switching device 107, USB cables 106A and 106B are connected.
08, the signal path by USB
It is possible to selectively switch between the B cable 106A side and the USB cable 106B side. USB switching device 10
8 and the printer device 110 are connected by a USB cable 109.

【0007】このような構成において、ユーザは、US
B切替装置107に設けられた外部スイッチ108を操
作することで、コンピュータ装置103Aおよび103
Bのうち何方か一方を選択する。USB切替装置107
により、外部スイッチ108にて選択された側のコンピ
ュータ装置から出力された信号が、プリンタ装置110
に供給される。
In such a configuration, the user can
By operating the external switch 108 provided on the B switching device 107, the computer devices 103A and 103A
One of B is selected. USB switching device 107
The signal output from the computer device selected by the external switch 108 is
Supplied to

【0008】図6は、従来技術によるUSB切替装置1
07の構成を示す。USB切替装置107は、USBケ
ーブルの接続コネクタ(図示しない)を所定に有すると
共に、外部スイッチ108により選択が切り替えられる
機械式のセレクタ122を有する。セレクタ122は、
共通端子に対する一方および他方の選択端子の接続を、
外部スイッチ108から供給された信号選択によって切
り替えるようにされている。
FIG. 6 shows a conventional USB switching device 1.
07 is shown. The USB switching device 107 has a predetermined connector for a USB cable (not shown), and has a mechanical selector 122 that can be selected by an external switch 108. The selector 122
Connection of one and the other select terminals to the common terminal
Switching is performed by selecting a signal supplied from the external switch 108.

【0009】プリンタ装置110は、USBファンクシ
ョン121を有する。USBファンクション121は、
USBケーブル109を介してセレクタ122の共通端
子に接続される。セレクタ122の一方の選択端子は、
USBケーブル106Aを介してコンピュータ装置10
3AのUSBホストコントローラ123Aに接続され
る。同様に、セレクタ121の他方の選択端子は、US
Bケーブル106Bを介してコンピュータ装置103B
のUSBホストコントローラ123Bに接続される。U
SBホストコントローラ123Aおよび124Bは、そ
れぞれ、コンピュータ装置106および109のUSB
インターフェイスを司る部分である。
The printer device 110 has a USB function 121. The USB function 121 is
It is connected to a common terminal of the selector 122 via the USB cable 109. One selection terminal of the selector 122 is
Computer device 10 via USB cable 106A
It is connected to the 3A USB host controller 123A. Similarly, the other selection terminal of the selector 121 is US
Computer device 103B via B cable 106B
USB host controller 123B. U
The SB host controllers 123A and 124B are connected to the USB devices of the computer devices 106 and 109, respectively.
This is the part that controls the interface.

【0010】ユーザは、外部スイッチ108を所定に操
作することで、一方および他方の選択端子を選択するこ
とができ、コンピュータ装置103Aおよびコンピュー
タ装置103Bのどちらか所望する方を選択できる。
By operating the external switch 108 in a predetermined manner, the user can select one of the selection terminals and the other, and can select the desired one of the computer device 103A and the computer device 103B.

【0011】ところで、上述したように、USBは、コ
ンピュータ装置103Aや103Bなどのホストコント
ローラ側の電源が投入された状態でも、コネクタの挿抜
が可能な仕様となっている。このことについて説明す
る。
By the way, as described above, the USB is designed so that the connector can be inserted and removed even when the power of the host controller such as the computer device 103A or 103B is turned on. This will be described.

【0012】例えば、コンピュータ装置103Aにおい
て、USBケーブルでUSB対応のプリンタ装置を接続
して使用し、次にそのUSBケーブルをプリンタ装置か
らUSB対応のスキャナ装置などに繋ぎ替えたような場
合を考える。この場合でも、コンピュータ装置103A
の電源を切る、あるいは、コンピュータ装置103Aを
再起動するなどの、手動による初期化を行わなくても、
繋ぎ替えられたUSBデバイスをコンピュータ装置10
3Aから継続的に使用することが可能とされている。
For example, suppose a case where a USB-compatible printer is connected and used with a USB cable in the computer apparatus 103A, and then the USB cable is connected from the printer to a USB-compatible scanner. Even in this case, the computer device 103A
Without manual initialization such as turning off the power of the computer or restarting the computer device 103A.
Connect the reconnected USB device to the computer 10
It can be used continuously from 3A.

【0013】これを実現するために、コンピュータ装置
103A側では、USBデバイスが接続されたことが認
識されてから、それぞれのUSBデバイスに応じたデバ
イスドライバソフトをロードするようになっている。同
様に、USBデバイスが取り外されたときは、取り外さ
れたことがコンピュータ装置103Aに認識されてか
ら、ロードされているドライバソフトをアンロードする
ようになっている。
To realize this, the computer device 103A loads device driver software corresponding to each USB device after it is recognized that the USB device is connected. Similarly, when the USB device is removed, the computer device 103A recognizes that the USB device has been removed, and then unloads the loaded driver software.

【0014】例えば、あるUSBデバイスが接続された
ことがコンピュータ装置103Aに認識されたら、例え
ばハードディスクドライブ(HDD)に予め格納されて
いる、当該USBデバイスに対応したドライバソフトが
HDDから読み出される。読み出されたドライバソフト
は、RAM(Random Access Memory)などのメモリ上に展
開される。これにより、ドライバソフトのロードがなさ
れる。以降は、そのUSBデバイスとのデータや制御信
号のやりとりは、メモリ上に展開されたそのドライバソ
フトによって管理される。
For example, when the computer 103A recognizes that a certain USB device is connected, for example, driver software corresponding to the USB device, which is stored in advance in a hard disk drive (HDD), is read from the HDD. The read driver software is developed on a memory such as a RAM (Random Access Memory). Thus, the driver software is loaded. Thereafter, exchange of data and control signals with the USB device is managed by the driver software developed on the memory.

【0015】同様に、USBデバイスがコンピュータ装
置103Aから取り外された場合には、メモリ上に展開
されていた、当該USBデバイスに対応したドライバソ
フトがメモリ上から例えば消去されることでメモリから
破棄され、ドライバソフトのアンロードがなされる。次
に何らかのUSBデバイスが接続された場合は、同様に
して対応するドライバソフトがロードされる。
Similarly, when the USB device is removed from the computer 103A, the driver software corresponding to the USB device, which has been expanded on the memory, is deleted from the memory, for example, and is discarded from the memory. Then, the driver software is unloaded. Next, when any USB device is connected, the corresponding driver software is loaded in the same manner.

【0016】このように、USBデバイスの接続および
取り外しの際には、コンピュータ装置103Aにおい
て、当該USBデバイスに対応したドライバソフトのロ
ードおよびアンロードの処理が行われる。すなわち、接
続されていたUSBデバイスを取り外し、別のUSBデ
バイスを接続する際には、デバイスドライバのアンロー
ドおよびロードが行われることになる。コンピュータ装
置103Aの性能にもよるが、このドライバソフトのロ
ード/アンロードの手続きには、通常で、数秒間の時間
を要する。
As described above, when connecting and disconnecting a USB device, the computer device 103A performs a process of loading and unloading driver software corresponding to the USB device. That is, when removing the connected USB device and connecting another USB device, the device driver is unloaded and loaded. Although depending on the performance of the computer apparatus 103A, the procedure for loading / unloading the driver software usually requires several seconds.

【0017】[0017]

【発明が解決しようとする課題】従来の技術によるUS
B切替装置107では、上述したように、USBの信号
経路を切り替えるセレクタ122が機械式のスイッチで
構成されているので、セレクタ122による経路に切り
替えが行われる毎にUSBによる経路の切り離しおよび
接続がなされ、ドライバソフトのロードおよびアンロー
ドが行われる。そのため、従来のUSB切替装置107
を用いる際には、ユーザが外部スイッチ108を操作し
てUSBの接続切り替えを行ってから、切り替えられた
USBデバイスが使用できるようになるまでに、数秒間
を要しており、ユーザの不満が大変大きかったという問
題点があった。
The prior art US
In the B switching device 107, as described above, the selector 122 that switches the USB signal path is configured by a mechanical switch. Therefore, each time the path is switched by the selector 122, disconnection and connection of the USB path are performed. Then, the driver software is loaded and unloaded. Therefore, the conventional USB switching device 107
When using the device, it takes several seconds from when the user operates the external switch 108 to switch the USB connection to when the switched USB device can be used, and the user is dissatisfied. There was a problem that it was very large.

【0018】また、外部スイッチ108を操作してドラ
イバソフトのロード/アンロード処理が行われている最
中に、再度、外部スイッチ108が操作された場合につ
いて考える。一例として、セレクタ122において、当
初、コンピュータ装置103A側が選択されているもの
とする。この場合、例えば、外部スイッチ108の最初
の操作によりドライバソフトがアンロードあるいはロー
ドされている最中に、同じドライバソフトに対してアン
ロードがなされる。その結果、コンピュータ装置103
Aでは、ドライバソフトのロード/アンロード処理をい
つまでも終えられなくなり、コンピュータ装置103A
がハングアップしてしまう可能性があるという問題点が
あった。
Consider a case where the external switch 108 is operated again while the driver software is being loaded / unloaded by operating the external switch 108. As an example, it is assumed that the computer device 103A is initially selected in the selector 122. In this case, for example, while the driver software is being unloaded or loaded by the first operation of the external switch 108, the same driver software is unloaded. As a result, the computer device 103
In A, the load / unload processing of the driver software cannot be completed forever, and the computer device 103A
There is a problem that may hang up.

【0019】コンピュータ装置103Aは、ハングアッ
プしてしまうと、再起動しない限り次の使用ができな
い。このとき、例えば、コンピュータ装置103Aにお
いて文書作成ソフトなどの作業中のアプリケーションが
起動中であったならば、HDDやフロッピー(登録商
標)ディスクなどに保存されていないデータは、全て失
われてしまう。また、再起動に要する時間は、作業が中
断されてしまうことになる。これらのことは、ユーザに
とって、大きな損失となる。
If the computer device 103A hangs up, it cannot be used again unless it is restarted. At this time, for example, if a working application such as document creation software is running on the computer device 103A, all data not stored in the HDD or the floppy (registered trademark) disk is lost. In addition, the time required for the restart means that the work is interrupted. These things are a great loss for the user.

【0020】そのため、コンピュータ装置103Aおよ
び103Bを交互に切り替えながら作業をしたいときな
どには、ユーザ自身がドライバのロード処理の状況に注
意を払いながら、慎重にUSB切替装置107による切
り替え動作を行う必要があり、大変使い勝手が悪くスト
レスを感じる原因となってしまうという問題点があっ
た。
Therefore, when the user wants to work while alternately switching between the computer devices 103A and 103B, the user needs to carefully perform the switching operation by the USB switching device 107 while paying attention to the situation of the driver loading process. There is a problem that it is very inconvenient to use and causes stress.

【0021】さらに、従来のUSB切替装置107にお
いては、一方のコンピュータ装置を使用している時に、
外部スイッチ108が切り替えられると、印刷途中でエ
ラーになってしまい正常に印刷されないという問題点が
あった。さらには、正常に印刷されないばかりではな
く、コンピュータ装置がハングアップしてしまう場合も
あり、問題とされていた。
Further, in the conventional USB switching device 107, when one computer device is used,
When the external switch 108 is switched, an error occurs during printing and printing is not performed normally. Furthermore, not only printing is not performed normally, but also the computer device may hang up, which has been regarded as a problem.

【0022】したがって、この発明の目的は、USBの
ような挿抜可能なインターフェイスの、接続の切り替え
を容易に行えるようにした切替装置および方法、ならび
に、画像表示装置を提供することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a switching device and a method for easily switching a connection of a pluggable interface such as a USB, and an image display device.

【0023】[0023]

【課題を解決するための手段】この発明は、上述した課
題を解決するために、複数の情報処理装置が活線挿抜可
能に接続可能とされると共に、少なくとも1つの電子機
器が接続可能とされ、複数の情報処理装置より選択され
た1つの情報処理装置から電子機器にデータ転送を行う
ようにした切替装置において、複数の情報処理装置を活
線挿抜可能なバスを介して接続する複数の接続手段と、
電子機器を接続するための電子機器接続手段と、複数の
電子機器接続手段に接続された複数の情報処理装置のう
ちの1を選択する選択手段と、複数の情報処理装置のう
ち選択手段により選択されている情報処理装置と電子機
器接続手段に接続された電子機器との間でデータ転送を
行うようにし、複数の情報処理装置のうち選択手段によ
り選択されていない情報処理装置には電子機器がデータ
処理中であることを示す信号を送信する制御手段とを備
えることを特徴とする切替装置である。
According to the present invention, in order to solve the above-mentioned problems, a plurality of information processing apparatuses can be connected so as to be hot-swappable and at least one electronic device can be connected. In a switching device configured to transfer data from one information processing device selected from a plurality of information processing devices to an electronic device, a plurality of connections for connecting the plurality of information processing devices via a hot-swappable bus Means,
Electronic device connecting means for connecting the electronic device, selecting means for selecting one of the plurality of information processing devices connected to the plurality of electronic device connecting means, and selecting by the selecting means among the plurality of information processing devices The data transfer is performed between the information processing device being connected to the electronic device connected to the electronic device connection means, and the information processing device that is not selected by the selection means among the plurality of information processing devices includes the electronic device. Control means for transmitting a signal indicating that data processing is being performed.

【0024】また、この発明は、複数の情報処理装置が
活線挿抜可能に接続可能とされると共に、少なくとも1
つの電子機器が接続可能とされ、複数の情報処理装置よ
り選択された1つの情報処理装置から電子機器にデータ
転送を行うようにした切替方法において、複数の情報処
理装置を活線挿抜可能なバスを介して接続する複数の接
続のステップと、電子機器を接続するための電子機器接
続のステップと、複数の電子機器接続のステップより接
続された複数の情報処理装置のうちの1を選択する選択
のステップと、複数の情報処理装置のうち選択のステッ
プにより選択されている情報処理装置と電子機器接続の
ステップにより接続された電子機器との間でデータ転送
を行うようにし、複数の情報処理装置のうち選択のステ
ップにより選択されていない情報処理装置には電子機器
がデータ処理中であることを示す信号を送信する制御の
ステップとを備えることを特徴とする切替方法である。
According to the present invention, a plurality of information processing apparatuses can be connected so as to be hot-swappable and at least one information processing apparatus can be connected.
In a switching method in which one electronic device is connectable and data is transferred from one information processing device selected from the plurality of information processing devices to the electronic device, a bus capable of hot-swapping the plurality of information processing devices is provided. Selecting one of the plurality of information processing devices connected from the plurality of electronic device connection steps, the plurality of connection steps for connecting via the PC, the electronic device connection step for connecting the electronic device, and the plurality of electronic device connection steps. And transferring the data between the information processing device selected by the selecting step of the plurality of information processing devices and the electronic device connected by the electronic device connecting step. The information processing device not selected by the selecting step includes a control step of transmitting a signal indicating that the electronic device is performing data processing. It is switching method characterized by.

【0025】また、この発明は、情報処理装置から出力
された画像により表示を行う画像表示装置において、複
数の情報処理装置を活線挿抜可能なバスを介して接続す
る複数の接続手段と、電子機器を接続するための電子機
器接続手段と、複数の電子機器接続手段に接続された複
数の情報処理装置のうちの1を選択する選択手段と、複
数の情報処理装置のうち選択手段により選択されている
情報処理装置と電子機器接続手段に接続された電子機器
との間でデータ転送を行うようにし、複数の情報処理装
置のうち選択手段により選択されていない情報処理装置
には電子機器がデータ処理中であることを示す信号を送
信する制御手段とを備えることを特徴とする画像表示装
置である。
According to the present invention, there is provided an image display device for displaying an image output from an information processing device, a plurality of connecting means for connecting the plurality of information processing devices via a hot-swappable bus, and Electronic device connecting means for connecting the devices, selecting means for selecting one of the plurality of information processing devices connected to the plurality of electronic device connecting means, and selecting means for selecting one of the plurality of information processing devices; The data transfer is performed between the information processing device that is connected to the electronic device connected to the electronic device connection means, and the information processing device that is not selected by the selection unit among the plurality of information processing devices is not A control unit for transmitting a signal indicating that the processing is being performed.

【0026】上述したように、請求項1および6に記載
の発明は、複数の情報処理装置のうち選択部により選択
されている1の情報処理装置と電子機器接続部に接続さ
れた電子機器との間でデータ転送を行うようにし、複数
の情報処理装置のうち選択部により選択されていない情
報処理装置には電子機器がデータ処理中であることを示
す信号を送信するため、選択部において選択された情報
処理装置からの処理のみを受け付け、選択部において選
択されていない情報処理装置からの処理を受け付けない
ようにできる。
As described above, according to the first and sixth aspects of the present invention, one of the plurality of information processing apparatuses selected by the selection unit and the electronic equipment connected to the electronic equipment connection unit are provided. Between the plurality of information processing devices, the information processing device not selected by the selection unit is selected by the selection unit to transmit a signal indicating that the electronic device is performing data processing. Only the process from the selected information processing device is accepted, and the process from the information processing device not selected by the selection unit is not accepted.

【0027】また、請求項7に記載の発明は、情報処理
装置から出力された画像信号による表示を行うデータを
表示する画像表示装置が、複数の情報処理装置を活線挿
抜可能なバスを介して接続する複数の接続部と、電子機
器を接続するための電子機器接続部と、複数の電子機器
接続部に接続された複数の情報処理装置のうちの1を選
択する選択部と、複数の情報処理装置のうち選択部によ
り選択されている情報処理装置と電子機器接続部に接続
された電子機器との間でデータ転送を行うようにし、複
数の情報処理装置のうち選択部により選択されていない
情報処理装置には電子機器がデータ処理中であることを
示す信号を送信する制御部とを備えるようにしたので、
切替装置のスペースを節約できる。
According to a seventh aspect of the present invention, there is provided an image display apparatus for displaying data to be displayed based on an image signal output from an information processing apparatus, via a bus through which a plurality of information processing apparatuses can be hot-plugged. A plurality of connection units for connecting the electronic devices, an electronic device connection unit for connecting the electronic device, a selection unit for selecting one of the plurality of information processing devices connected to the plurality of electronic device connection units, and a plurality of Data transfer is performed between the information processing device selected by the selection unit among the information processing devices and the electronic device connected to the electronic device connection unit, and the data transfer is performed by the selection unit among the plurality of information processing devices. Since the information processing device does not have a control unit that transmits a signal indicating that the electronic device is performing data processing,
Space for the switching device can be saved.

【0028】[0028]

【発明の実施の形態】以下、この発明の実施の第1の形
態を、図面を参照しながら説明する。図1は、この発明
が適用されたUSB切替装置1の一例の構成を示す。な
お、USB切替装置1の使用環境は、従来の技術で図5
を用いて説明した環境と同一であるものとする。プリン
タ装置2はUSBに対応するインターフェイスを有す
る。例えば、図1において、USB切替装置1に対して
プリンタ装置2が、USBケーブル3によって接続され
る。また、コンピュータ装置4AがUSBケーブル9A
によってUSB切替装置1に接続されると共に、コンピ
ュータ装置4BがUSBケーブル9BによってUSB切
替装置1に接続される。図1では省略されているが、コ
ンピュータ装置4Aおよび4Bには、それぞれモニタ装
置が接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a configuration of an example of a USB switching device 1 to which the present invention is applied. Note that the usage environment of the USB switching device 1 is the conventional technology shown in FIG.
It is assumed that the environment is the same as that described with reference to FIG. The printer device 2 has an interface corresponding to USB. For example, in FIG. 1, a printer device 2 is connected to a USB switching device 1 by a USB cable 3. The computer device 4A is connected to a USB cable 9A.
And the computer device 4B is connected to the USB switching device 1 by the USB cable 9B. Although not shown in FIG. 1, a monitor device is connected to each of the computer devices 4A and 4B.

【0029】この実施の一形態によるUSB切替装置1
は、内部バス10で互いに接続された一つのUSBホス
トコントローラ12と複数のUSBファンクション13
A、13Bを有する。USBファンクション13A、1
3Bを例えばコンピュータ装置4A、4Bとそれぞれ接
続し、コンピュータ装置4A、4BにおいてUSBファ
ンクション13A、13Bに対応したドライバソフトが
常にロードされた状態にしておく。
A USB switching device 1 according to one embodiment of the present invention
Is a single USB host controller 12 and a plurality of USB functions 13 connected to each other via an internal bus 10.
A, 13B. USB function 13A, 1
3B is connected to, for example, each of the computer devices 4A and 4B, and driver software corresponding to the USB functions 13A and 13B is always loaded in the computer devices 4A and 4B.

【0030】そして、USBファンクション13A、1
3Bの選択された側からの信号のみをUSBホストコン
トローラ12に出力し、選択されていない側からの信号
はUSBホストコントローラ12に出力しないように、
コンピュータ装置4A、4Bの切り替えが行われる。こ
うすることで、コンピュータ装置4A、4Bにおいてド
ライバソフトのロード/アンロード処理が起こらず、U
SB信号の切り替えをスムースに行うことができる。
Then, the USB function 13A, 1
Only the signal from the selected side of 3B is output to the USB host controller 12, and the signal from the non-selected side is not output to the USB host controller 12.
Switching of the computer devices 4A and 4B is performed. By doing so, the load / unload processing of the driver software does not occur in the computer devices 4A and 4B,
The switching of the SB signal can be performed smoothly.

【0031】USB切替装置1の構成について、より詳
細に説明する。図1において、USB切替装置1は、制
御部11、USBホストコントローラ12、USBファ
ンクション13Aおよび13Bが、内部バス10によっ
てそれぞれ相互に接続される。USBホストコントロー
ラ12は、USBデバイスとのUSBによるデータや制
御信号(USB信号)のやりとりを制御する。また、U
SBファンクション13Aおよび13Bは、USBデバ
イスそのものである。
The configuration of the USB switching device 1 will be described in more detail. In FIG. 1, in the USB switching device 1, a control unit 11, a USB host controller 12, and USB functions 13A and 13B are mutually connected by an internal bus 10. The USB host controller 12 controls exchange of data and control signals (USB signals) with USB devices via USB. Also, U
The SB functions 13A and 13B are USB devices themselves.

【0032】制御部11は、例えばCPU(Central Pro
cessing Unit)を有し、外部スイッチ14からの出力が
供給されると共に、メモリ15が接続される。外部スイ
ッチ14は、操作に応じて選択信号が出力される。この
選択信号に基づき、制御部11によりUSBファンクシ
ョン13Aおよび13BによるUSB信号の出力が制御
されることで、ユーザは、USB切替装置1に接続され
たコンピュータ装置6Aおよび6Bのうち所望の側を選
択することができる。
The control unit 11 is, for example, a CPU (Central Pro
cessing unit), an output from the external switch 14 is supplied, and a memory 15 is connected. The external switch 14 outputs a selection signal in accordance with an operation. The output of the USB signal by the USB functions 13A and 13B is controlled by the control unit 11 based on the selection signal, so that the user selects a desired one of the computer devices 6A and 6B connected to the USB switching device 1. can do.

【0033】プリンタ装置2は、USBファンクション
20を有する。USBファンクション20とUSBホス
トコントローラ12とがUSBケーブル3により接続さ
れる。
The printer device 2 has a USB function 20. The USB function 20 and the USB host controller 12 are connected by the USB cable 3.

【0034】コンピュータ装置4Aおよび4Bは、それ
ぞれUSBホストコントローラ21Aおよび21Bを有
する。図1の例では、USB切替装置1のUSBファン
クション13Aとコンピュータ装置4AのUSBホスト
コントローラ21AとがUSBケーブル9Aで接続され
る。同様に、USB切替装置1のUSBファンクション
13Bとコンピュータ装置4BのUSBホストコントロ
ーラ21BとがUSBケーブル9Bで接続される。
The computer devices 4A and 4B have USB host controllers 21A and 21B, respectively. In the example of FIG. 1, the USB function 13A of the USB switching device 1 and the USB host controller 21A of the computer device 4A are connected by a USB cable 9A. Similarly, the USB function 13B of the USB switching device 1 and the USB host controller 21B of the computer device 4B are connected by the USB cable 9B.

【0035】入力装置5Aが入力ケーブル8Aを介して
コンピュータ装置4Aに接続され、入力装置5Bが入力
ケーブル8Bを介してコンピュータ装置4Bに接続され
る。ここで、入力装置5Aは例えばキーボード6Aおよ
びマウス7Aからなり、入力装置5Bは例えばキーボー
ド6Bおよびマウス7Bからなる。マウス7Aから出力
される座標情報およびボタン押下情報(まとめてマウス
情報と称する)は、キーボード6Aに供給される。マウ
ス7Aから出力されるマウス情報とキーボード6Aによ
るキー入力情報とは共に、入力ケーブル8Aを介してコ
ンピュータ装置4Aに供給される。入力装置5Bは、入
力装置5Aと同様の構成を有するので、ここでは説明を
省略する。
The input device 5A is connected to the computer device 4A via the input cable 8A, and the input device 5B is connected to the computer device 4B via the input cable 8B. Here, the input device 5A includes, for example, a keyboard 6A and a mouse 7A, and the input device 5B includes, for example, a keyboard 6B and a mouse 7B. The coordinate information and button press information (collectively referred to as mouse information) output from the mouse 7A are supplied to the keyboard 6A. Both the mouse information output from the mouse 7A and the key input information from the keyboard 6A are supplied to the computer device 4A via the input cable 8A. The input device 5B has the same configuration as the input device 5A, and thus the description is omitted here.

【0036】図2は、コンピュータ装置4Aあるいは4
Bの一例の構成を示す。コンピュータ装置4Aおよび4
Bは、同様の構成で実現可能であるため、ここでは、コ
ンピュータ装置4Aを例にとって説明する。コンピュー
タ装置4Aは、例えばパーソナルコンピュータである。
コンピュータ装置4Aにおいて、内部バス30に対し
て、CPU31、ハードディスクドライブ(HDD)3
3、グラフィックボード34およびUSBホストコント
ローラ21Aがそれぞれ接続される。また、CPU31
には、CPUバス35を介してRAM(Random Access M
emory)およびROM(Read Only Memory)などのメモリ3
2が接続される。
FIG. 2 shows a computer device 4A or 4A.
3 shows an example of the configuration of B. Computer devices 4A and 4
Since B can be realized by the same configuration, the computer device 4A will be described here as an example. The computer device 4A is, for example, a personal computer.
In the computer device 4A, the CPU 31, the hard disk drive (HDD) 3
3. The graphic board 34 and the USB host controller 21A are respectively connected. Also, the CPU 31
RAM (Random Access M) via the CPU bus 35
memory 3 such as emory) and ROM (Read Only Memory)
2 are connected.

【0037】HDD33には、予め幾種類かのUSBド
ライバソフトが格納されている。USBホストコントロ
ーラ21Aは、常にUSBデバイスの接続を監視してお
り、USBコントローラ21AにUSBに対応したデバ
イスが接続されると、接続されたUSBデバイスの種類
などが調べられる。その結果に基づき、CPU31の制
御により、接続されたUSBデバイスに対応したドライ
バソフトがHDD33から読み出される。読み出された
ドライバソフトは、CPU31を介してメモリ32に格
納され、ドライバソフトがロードされる。ドライバソフ
トのアンロードは、例えばロードされたドライバソフト
のメモリ32上でのアドレスが解放されメモリ32上か
ら破棄されることによってなされる。
Several types of USB driver software are stored in the HDD 33 in advance. The USB host controller 21A constantly monitors the connection of the USB device. When a USB-compatible device is connected to the USB controller 21A, the type of the connected USB device is checked. Based on the result, the driver software corresponding to the connected USB device is read from the HDD 33 under the control of the CPU 31. The read driver software is stored in the memory 32 via the CPU 31, and the driver software is loaded. The unloading of the driver software is performed, for example, by releasing the address of the loaded driver software on the memory 32 and discarding the address from the memory 32.

【0038】所定のプログラムに基づきCPU31で表
示制御信号が生成される。表示制御信号は、グラフィッ
クボード34に供給される。グラフィックボード34で
は、供給された表示制御信号に基づき画像信号を生成
し、出力する。この画像信号は、図示されないモニタ装
置に供給され、画面に所定の表示がなされる。
A display control signal is generated by the CPU 31 based on a predetermined program. The display control signal is supplied to the graphic board 34. The graphic board 34 generates and outputs an image signal based on the supplied display control signal. This image signal is supplied to a monitor device (not shown), and a predetermined display is made on a screen.

【0039】次に、上述の構成における動作および処理
について説明する。先ず、USB切替装置1の、電源投
入などによる起動時の動作および処理について説明す
る。なお、USB切替装置1におけるUSBケーブル接
続時のセットアップ処理も、同様の動作および処理とな
る。
Next, the operation and processing in the above configuration will be described. First, the operation and processing of the USB switching device 1 at the time of startup by turning on power or the like will be described. It should be noted that the setup processing when the USB cable is connected in the USB switching device 1 has the same operation and processing.

【0040】USB規格におけるセットアップ処理につ
いて概略的に説明する。USB規格においては、コンピ
ュータ装置側のUSBホストコントローラと特定のUS
Bファンクションとの間の通信手続は、USBホストコ
ントローラにより、通信するUSBファンクションと転
送タイプを指示するトークンパケットが発行されること
で開始される。このトークンパケットで指定されたUS
Bファンクションは、指定された転送タイプに基づき、
USBホストコントローラとの間で通信を行う。
The setup process in the USB standard will be schematically described. In the USB standard, a USB host controller on a computer device side and a specific USB
The communication procedure with the B function is started when the USB host controller issues a token packet indicating the USB function to communicate with and the transfer type. US specified in this token packet
The B function, based on the specified transfer type,
It communicates with the USB host controller.

【0041】装置の起動時(電源投入時)やUSBケー
ブルの接続時には、接続先のUSBファンクションの持
つ機能や転送タイプといった、当該USBデバイスの動
作のために必要な情報(標準ディスクリプタと称され
る)が未だUSBホストコントローラに通知されていな
い。そこで、USB規格では、上述の起動時や接続時の
セットアップの方法として、まず最初にコントロール転
送と称される通信をUSBホストコントローラとUSB
ファンクションとの間で行い、USBホストコントロー
ラがUSBファンクションから標準ディスクリプタを取
得するようにしている。
When the apparatus is started (when power is turned on) or a USB cable is connected, information necessary for the operation of the USB device (such as a function and transfer type of the USB function to be connected) (referred to as a standard descriptor). ) Has not yet been notified to the USB host controller. Therefore, according to the USB standard, communication called control transfer is first performed by the USB host controller and the USB as a setup method at the time of startup or connection.
The USB host controller acquires the standard descriptor from the USB function.

【0042】なお、標準ディスクリプタには、デバイス
ディスクリプタ、コンフィグレーションディスクリプ
タ、インターフェイスディスクリプタ、エンドポイント
ディスクリプタおよびストリングディスクリプタがあ
る。
The standard descriptor includes a device descriptor, a configuration descriptor, an interface descriptor, an endpoint descriptor, and a string descriptor.

【0043】図3は、例えばUSB切替装置1が起動さ
れた際の、この実施の第1の形態によるセットアップ処
理を示す一例のフローチャートである。なお、図3中
で、コンピュータ装置は、「PC」と略記されている。
先ず、最初のステップS10で、USBホストコントロ
ーラ12とUSBファンクション20との間でコントロ
ール転送がなされ、USBファンクション20の標準デ
ィスクリプタがUSBホストコントローラ12に取り込
まれる。取り込まれたUSBファンクション20の標準
ディスクリプタは、制御部11に接続されたメモリ15
に格納される。
FIG. 3 is a flowchart showing an example of a setup process according to the first embodiment when the USB switching device 1 is activated, for example. In FIG. 3, the computer device is abbreviated as “PC”.
First, in the first step S10, control transfer is performed between the USB host controller 12 and the USB function 20, and the standard descriptor of the USB function 20 is taken into the USB host controller 12. The captured standard descriptor of the USB function 20 is stored in the memory 15 connected to the control unit 11.
Is stored in

【0044】次のステップS11では、コンピュータ装
置4Aおよび4Bのうち一方(ここではコンピュータ装
置4Aとする)によりUSB切替装置1の起動およびU
SBケーブル9Aの接続が認識されると、コンピュータ
装置4AのUSBホストコントローラ21AからUSB
切替装置1のUSBファンクション13Aに対し、デバ
イスディスクリプタのコントロール転送が要求される。
この要求は、USBファンクション13Aで受信され、
制御部11に送られる。ステップS12において、制御
部11では、この要求に対して、上述のステップS10
の処理によりメモリ15に格納された、USBファンク
ション20の標準ディスクリプタのうちデバイスディス
クリプタを取り出し、USBファンクション13Aを介
してコンピュータ装置4AのUSBホストコントローラ
21Aに返す。
In the next step S11, one of the computer devices 4A and 4B (here, the computer device 4A) activates the USB switching device 1 and sends the
When the connection of the SB cable 9A is recognized, the USB host controller 21A of the computer device 4A sends the USB
Control transfer of the device descriptor is requested to the USB function 13A of the switching device 1.
This request is received by the USB function 13A,
It is sent to the control unit 11. In step S12, the control unit 11 responds to this request in step S10 described above.
The device descriptor is taken out of the standard descriptor of the USB function 20 stored in the memory 15 by the above processing, and returned to the USB host controller 21A of the computer device 4A via the USB function 13A.

【0045】次のステップS13では、USB切替装置
1の全てのUSBファンクション13Aおよび13Bに
対してステップS11およびS12の処理が行われたか
どうかが制御部11により判断される。
In the next step S13, the control section 11 determines whether or not the processing in steps S11 and S12 has been performed on all the USB functions 13A and 13B of the USB switching device 1.

【0046】若し、ステップS13において、全てのU
SBファンクション13Aおよび13Bに対して処理が
行われていないと判断されたら、処理はステップS11
に移行し、次のUSBファンクション13Bについて、
同様の処理がなされる。したがって、USBファンクシ
ョン13Bに対する処理においても、上述のUSBファ
ンクション13Aの場合と同様に、USBファンクショ
ン20のデバイスディスクリプタがUSBファンクショ
ン13Bを介して、コンピュータ装置4BのUSBホス
トコントローラ21Bに返される。
If it is determined in step S13 that all U
If it is determined that the process has not been performed on the SB functions 13A and 13B, the process proceeds to step S11.
To the next USB function 13B,
Similar processing is performed. Therefore, in the process for the USB function 13B, the device descriptor of the USB function 20 is returned to the USB host controller 21B of the computer device 4B via the USB function 13B, as in the case of the USB function 13A described above.

【0047】一方、ステップS13において、全てのU
SBファンクション13Aおよび13Bに対して処理が
行われていると判断されれば、処理はステップS14に
移行する。ステップS14では、例えばコンピュータ装
置4Aにおいて、上述のステップS12の処理で取得さ
れたデバイスディスクリプタが、CPU31によりメモ
リ32に格納される。
On the other hand, in step S13, all U
If it is determined that the process is being performed on the SB functions 13A and 13B, the process proceeds to step S14. In step S14, for example, in the computer device 4A, the device descriptor obtained in the process of step S12 is stored in the memory 32 by the CPU 31.

【0048】次のステップS15では、例えばコンピュ
ータ装置4Aにおいて、CPU31により、ステップS
14でメモリ32に格納されたデバイスディスクリプタ
からIDコードが取り出され、HDD33に格納された
ドライバソフトの中で、取り出されたIDコードに対応
しているものがあるかどうかが調べられる。若し、対応
するドライバソフトがあれば、当該ドライバソフトがH
DD33から読み出され、メモリ32上に読み込まれ、
ドライバソフトのロードがなされる。
In the next step S15, for example, in the computer device 4A, the CPU 31
In step 14, the ID code is extracted from the device descriptor stored in the memory 32, and it is checked whether any of the driver software stored in the HDD 33 corresponds to the extracted ID code. If there is a corresponding driver software, the driver software is H
Read from the DD 33, read into the memory 32,
The driver software is loaded.

【0049】なお、図示しないが、ステップS15でデ
バイスディスクリプタから取り出されたIDコードに対
応するドライバソフトがHDD33に無い場合には、例
えばその旨示す所定の表示を行う表示制御信号がCPU
31で生成され、グラフィックボードに供給され、コン
ピュータ装置4Aに接続される図示されないモニタに表
示される。
Although not shown, if there is no driver software corresponding to the ID code extracted from the device descriptor in step S15 in the HDD 33, for example, a display control signal for performing a predetermined display indicating this is sent to the CPU.
It is generated at 31, supplied to the graphic board, and displayed on a monitor (not shown) connected to the computer device 4A.

【0050】ステップS15でドライバソフトのロード
が終了されると、ステップS16で、CPU31により
ドライバソフトが実行される。実行の最初に、上述のス
テップS12で取得された標準ディスクリプタの残りの
部分がコンピュータ装置6Aに取り込まれ、メモリ32
に格納される。このときの処理は、上述したステップS
12およびS14と同様である。
When the loading of the driver software is completed in step S15, the driver software is executed by the CPU 31 in step S16. At the beginning of the execution, the remaining part of the standard descriptor obtained in step S12 described above is loaded into the computer device 6A and stored in the memory 32A.
Is stored in The processing at this time is the same as that in step S
12 and S14.

【0051】例えばUSB切替装置1の起動時には、こ
の一連の処理が完了した時点で、動作が可能な状態とな
る。
For example, when the USB switching device 1 is started, the operation is enabled when the series of processing is completed.

【0052】なお、USBホストコントローラ12に接
続される機器が前もって決められている場合には、当該
機器のUSBファンクション内の標準ディスクリプタ
を、制御部11に接続されたメモリ15内に予め取り込
んでおけばよい。こうすることで、上述の図10のステ
ップS10による処理を省略することができる。
When a device to be connected to the USB host controller 12 is determined in advance, a standard descriptor in the USB function of the device is previously stored in the memory 15 connected to the control unit 11. I just need. By doing so, the processing in step S10 of FIG. 10 described above can be omitted.

【0053】次に、USB切替装置1の動作時の処理に
ついて説明する。ここでは、例として、USB切替装置
1においてコンピュータ装置4Aが選択されている例に
ついて説明する。
Next, the processing during the operation of the USB switching device 1 will be described. Here, an example in which the computer device 4A is selected in the USB switching device 1 will be described.

【0054】コンピュータ装置4Aにおいて印刷が実行
されると、USBケーブル9Aを介してUSBホストコ
ントローラ21AからUSBファンクション13Aに印
刷データの転送が開始される。USBファンクション1
3Aに供給された印刷データは、内部バス10を介して
制御部11に供給され、内部バス10を介してUSBホ
ストコントローラ12に供給される。USBホストコン
トローラ12に供給された印刷データは、USBケーブ
ル3を介してUSBファンクション20に転送される。
USBファンクション20に供給された印刷データに基
づき、プリンタ装置2において印刷が実行される。これ
により、コンピュータ装置4Aあるいは4Bからプリン
タ装置2への印刷データの転送が行われる。
When printing is performed in the computer device 4A, transfer of print data from the USB host controller 21A to the USB function 13A via the USB cable 9A is started. USB function 1
The print data supplied to 3A is supplied to the control unit 11 via the internal bus 10, and is supplied to the USB host controller 12 via the internal bus 10. The print data supplied to the USB host controller 12 is transferred to the USB function 20 via the USB cable 3.
Printing is executed in the printer device 2 based on the print data supplied to the USB function 20. Thus, print data is transferred from the computer device 4A or 4B to the printer device 2.

【0055】一方、USB切替装置1において選択され
ていないコンピュータ装置4Bにおいて印刷が実行さ
れ、印刷データがUSBファンクション13Bに供給さ
れた場合には、制御部11によりUSBファンクション
13Bに供給された印刷データが取り込まれず、BUS
Y信号がUSBホスト21Bに供給される。ここで、B
USY信号はプリンタ装置2が処理中であることを示す
信号である。なお、コンピュータ装置4Bは、BUSY
信号が供給されている間、印刷データの送信待ち状態に
なる。これにより、USB切替装置1において選択され
ていないコンピュータ装置4Bからの印刷を禁止でき
る。
On the other hand, when printing is executed in the computer device 4B that is not selected in the USB switching device 1 and the print data is supplied to the USB function 13B, the print data supplied to the USB function 13B by the control unit 11 Is not taken in, BUS
The Y signal is supplied to the USB host 21B. Where B
The USY signal is a signal indicating that the printer device 2 is processing. The computer device 4B is a BUSY
While the signal is being supplied, the print data transmission wait state is set. Thus, printing from the computer device 4B that is not selected in the USB switching device 1 can be prohibited.

【0056】上述した処理により、USB切替装置1に
おいて選択されたコンピュータ装置からの処理のみを受
け付け、選択されていないコンピュータ装置からの処理
を受け付けない選択動作が実現できる。
By the above-described processing, a selection operation can be realized in which only the processing from the computer device selected by the USB switching device 1 is accepted, and the processing from the non-selected computer device is not received.

【0057】コンピュータ装置4AのUSBホスト21
AからUSB切替装置1のUSBファンクション13A
に印刷データが転送されている最中に、外部スイッチ1
4が切り替えられた場合には、USBホスト21Aから
の印刷データの転送が終了するまで印刷データの転送処
理が維持され、この印刷データの転送処理が終了した後
に、制御部11における選択あるいは非選択の切り替え
が行われる。
USB host 21 of computer device 4A
A to USB function 13A of USB switching device 1
While the print data is being transferred to the
4 is switched, the print data transfer process is maintained until the transfer of the print data from the USB host 21A is completed, and after the print data transfer process is completed, the selection or non-selection in the control unit 11 is performed. Is switched.

【0058】一方、USBホスト21Aからのデータ転
送処理が維持されている間に、コンピュータ装置4Bよ
り処理要求があった場合には、USB切替装置1からコ
ンピュータ装置4BにBUSY信号が供給され、コンピ
ュータ装置4Bからの処理要求は、USB切替装置1に
受け付けられない。
On the other hand, when a processing request is received from the computer device 4B while the data transfer process from the USB host 21A is maintained, a BUSY signal is supplied from the USB switching device 1 to the computer device 4B, and The processing request from the device 4B is not accepted by the USB switching device 1.

【0059】USBホストコントローラ21Aからプリ
ンタ装置2への印刷データの転送が完了すると、コンピ
ュータ装置4Bの処理がUSB切替装置1に受け付けら
れるようになるコンピュータ4Bが処理中には、コンピ
ュータ装置4Aからの処理要求に対して、BUSY信号
がコンピュータ装置4Aに供給され、コンピュータ装置
4Aからの処理要求が受け付けられない。上述した処理
により、印刷途中において外部スイッチ14が切り替え
られても印刷エラーが生じないようにできる。
When the transfer of the print data from the USB host controller 21A to the printer device 2 is completed, the process of the computer device 4B is accepted by the USB switching device 1. During the process of the computer 4B, the process from the computer device 4A is performed. The BUSY signal is supplied to the computer device 4A in response to the processing request, and the processing request from the computer device 4A is not accepted. With the above-described processing, it is possible to prevent a printing error from occurring even when the external switch 14 is switched during printing.

【0060】制御部11は、コンピュータ装置4Aある
いは4Bからプリンタ装置2へのデータ転送がある一定
期間ない場合には、データ転送が終了したと判断する。
具体的には、USBのデータ転送は1msec毎に行わ
れるので、制御部11は、例えば20msecの間デー
タ転送がない場合には、データ転送が終了したものと判
断する。
If there is no data transfer from the computer device 4A or 4B to the printer device 2 for a certain period, the control section 11 determines that the data transfer has been completed.
Specifically, the USB data transfer is performed every 1 msec. Therefore, if there is no data transfer for 20 msec, the control unit 11 determines that the data transfer has been completed.

【0061】あるいは、制御部11が、転送データ中の
データを監視し、データサイズ、終了コードなど情報を
検知することにより、コンピュータ装置4Aあるいは4
Bからプリンタ装置2へのデータ転送終了を判断するよ
うにしてもよい。具体的には、USBプリンタにおいて
は、例えばPDL(Page Description Language)ある
いはPCL(Printer Control Language)などのデータ
フォーマットにより印刷データが転送されるため、制御
部11がこれらのデータフォーマットにより転送される
データの中からデータサイズ、終了コードなどの情報を
検知することにより、コンピュータ装置4Aあるいは4
Bからプリンタ装置2へのデータ転送終了を判断する。
Alternatively, the control unit 11 monitors the data in the transfer data, and detects information such as the data size and the end code, so that the computer device 4A or 4
The end of data transfer from B to the printer device 2 may be determined. Specifically, in a USB printer, print data is transferred in a data format such as PDL (Page Description Language) or PCL (Printer Control Language). Of the computer device 4A or 4A by detecting information such as a data size and an end code from
It is determined that the data transfer from B to the printer device 2 has been completed.

【0062】なお、USB切替装置1において選択され
ていないコンピュータ装置4Bから、例えばプリンタ装
置2の設定に関するリクエストが制御部11に供給され
た場合には、制御部11においてこのリクエストに対す
る処理が行われる。より具体的には、プリンタ装置2の
設定の変更がコントロール転送によりリクエストされた
場合、プリンタ装置2の設定に関するリクエストは、制
御部11に記憶される。例えば、リクエストはメモリ1
5に格納される。外部スイッチ14によりコンピュータ
装置4Bが選択された後に、制御部11によりメモリ1
5からプリンタ装置2の設定に関するリクエストが読み
出され、プリンタ装置2に転送される。プリンタ装置2
の設定変更に関するリクエストは、例えばプリンタ用紙
サイズの設定変更に関するリクエストである。
When, for example, a request for the setting of the printer device 2 is supplied to the control unit 11 from the computer device 4B that is not selected in the USB switching device 1, the control unit 11 performs processing for this request. . More specifically, when a change in the settings of the printer device 2 is requested by control transfer, a request related to the settings of the printer device 2 is stored in the control unit 11. For example, the request is memory 1
5 is stored. After the computer device 4B is selected by the external switch 14, the controller 1
5, a request related to the settings of the printer device 2 is read and transferred to the printer device 2. Printer device 2
Is a request for changing the setting of the printer paper size, for example.

【0063】次に、この発明の実施の第2の形態につい
て説明する。図4は、この発明が適用されたUSB切替
装置1の一例の構成を示す。実施の第1の形態では、U
SB切替装置1にプリンタ装置2が接続される例につい
て示したが、実施の第2の形態では、USB切替装置
1’にスキャナ装置40が接続される例について示す。
より詳しくは、スキャナ装置40は、USBファンクシ
ョン41を有し、USBファンクション41とUSBホ
ストコントローラ12とがUSBケーブル3により接続
される。なお、図4において、上述した図1と共通する
部分には同一の符号を付し、詳細な説明を省略する。こ
こで、USB切替装置1’の使用環境は、従来の技術で
図5を用いて説明した環境と同様であるものとする。
Next, a second embodiment of the present invention will be described. FIG. 4 shows a configuration of an example of the USB switching device 1 to which the present invention is applied. In the first embodiment, U
Although the example in which the printer device 2 is connected to the SB switching device 1 has been described, the second embodiment shows an example in which the scanner device 40 is connected to the USB switching device 1 '.
More specifically, the scanner device 40 has a USB function 41, and the USB function 41 and the USB host controller 12 are connected by the USB cable 3. In FIG. 4, the same reference numerals are given to the same parts as those in FIG. 1 described above, and detailed description will be omitted. Here, it is assumed that the usage environment of the USB switching device 1 'is the same as the environment described with reference to FIG.

【0064】USBホストコントローラ12に入力され
たUSB信号を、USBファンクション13A、13B
の選択された側からのみ出力し、選択されていない側か
らは出力しないように、コンピュータ装置4A、4Bの
切り替えを行う。こうすることで、コンピュータ装置4
A、4Bにおいてドライバソフトのロード/アンロード
処理が起こらず、USB信号の切り替えをスムースに行
うことができる。
The USB signals input to the USB host controller 12 are transmitted to the USB functions 13A and 13B.
The computer devices 4A and 4B are switched so as to output only from the selected side and not output from the non-selected side. In this way, the computer device 4
In A and 4B, the load / unload processing of the driver software does not occur, and the switching of the USB signal can be performed smoothly.

【0065】以下、この実施の第2の形態によるUSB
切替装置1’の動作時の処理について説明する。なお、
USB規格におけるセットアップ処理は、上述した実施
の第1の形態によるUSB切替装置1と同様であるの
で、ここでは説明を省略する。ここでは、例として、U
SB切替装置1’においてコンピュータ装置4Aが選択
されている例について説明する。
Hereinafter, a USB according to the second embodiment will be described.
The processing during the operation of the switching device 1 'will be described. In addition,
The setup process according to the USB standard is the same as that of the USB switching device 1 according to the above-described first embodiment, and a description thereof will not be repeated. Here, as an example, U
An example in which the computer device 4A is selected in the SB switching device 1 'will be described.

【0066】コンピュータ装置4Aにおけるアプリケー
ションにより、スキャナ装置40からの画像の取り込み
操作が行われると、USBホストコントローラ21Aか
らUSBファンクション13Aに、データ取り込み開始
信号が送信される。この信号はUSBファンクション1
3Aに受信され、内部バス10を介して制御部11に供
給される。制御部11に供給された信号は、内部バス1
0を介してUSBホストコントローラ12に供給され
る。USBホストコントローラ12に供給された信号
は、USBケーブル3を介してUSBファンクション4
1に転送される。USBファンクション41に転送され
た信号に基づき、スキャナ装置40において画像データ
取り込みが開始される。
When an image capturing operation from the scanner device 40 is performed by an application in the computer device 4A, a data capturing start signal is transmitted from the USB host controller 21A to the USB function 13A. This signal is USB function 1
3A, and supplied to the control unit 11 via the internal bus 10. The signal supplied to the control unit 11 is
0 to the USB host controller 12. The signal supplied to the USB host controller 12 is transmitted to the USB function controller 4 via the USB cable 3.
Transferred to 1. Based on the signal transferred to the USB function 41, the scanner device 40 starts capturing image data.

【0067】スキャナ装置40において取り込まれた画
像データは、USBファンクション41からUSBホス
トコントローラ12に送信され、内部バス10を介して
制御部11に供給される。制御部11に供給された画像
データは、内部バス10を介してUSBファンクション
13Aに供給され、USBケーブル9Aを介してUSB
ホストコントローラ21Aに転送される。これにより、
スキャナ装置40で取り込まれた画像データがコンピュ
ータ装置4Aへ送信可能になる。
The image data captured by the scanner device 40 is transmitted from the USB function 41 to the USB host controller 12 and supplied to the control unit 11 via the internal bus 10. The image data supplied to the control unit 11 is supplied to the USB function 13A via the internal bus 10 and is transmitted to the USB function 13A via the USB cable 9A.
The data is transferred to the host controller 21A. This allows
The image data captured by the scanner device 40 can be transmitted to the computer device 4A.

【0068】一方、コンピュータ装置4Aによる画像取
り込みがなされている間に、USB切替装置1’におい
て選択されていないコンピュータ装置4Bのアプリケー
ションにより、スキャナ装置40からの画像取り込み操
作が行われると、USBホストコントローラ21Bから
USBファンクション13Bにデータ取り込み開始信号
が送信される。このデータ取り込み開始信号がUSBフ
ァンクション13Bに受信されると、それに応じてBU
SY信号が制御部11よりUSBファンクション13B
に供給され、USBホストコントローラ21Bに送信さ
れる。ここで、BUSY信号はスキャナ装置40が処理
中であることを示す信号である。なお、コンピュータ装
置4Bは、BUSY信号が供給されている間、データ受
信待ち状態になる。これにより、USB切替装置1’に
より選択されていないコンピュータ装置からの画像デー
タの取り込み操作を禁止することができる。
On the other hand, while an image is being captured by the computer device 4A, if an image capturing operation from the scanner device 40 is performed by an application of the computer device 4B not selected by the USB switching device 1 ', the USB host A data capture start signal is transmitted from the controller 21B to the USB function 13B. When this data capture start signal is received by the USB function 13B, the BU is
The SY signal is sent from the control unit 11 to the USB function 13B.
And transmitted to the USB host controller 21B. Here, the BUSY signal is a signal indicating that the scanner device 40 is processing. Note that the computer device 4B waits for data reception while the BUSY signal is being supplied. As a result, it is possible to prohibit an operation of taking in image data from a computer device not selected by the USB switching device 1 '.

【0069】上述した処理により、USB切替装置1’
において選択されたコンピュータ装置からの処理のみを
受け付け、選択されていないコンピュータ装置からの処
理を受け付けない選択操作が実現できる。
By the above processing, the USB switching device 1 ′
In this case, a selection operation can be realized in which only processing from the selected computer device is accepted, and processing from the non-selected computer device is not accepted.

【0070】コンピュータ装置4Aにおいて画像データ
の取り込みが行われている最中に外部スイッチ14が操
作され、コンピュータ装置4Aからコンピュータ装置4
Bに選択が切り替えられた場合には、スキャナ装置40
からコンピュータ装置4Aへの画像データの転送が終了
するまで処理が維持され、この画像データ転送処理が終
了した後に、制御部11によって信号の経路が切り替え
られる。
The external switch 14 is operated while the image data is being taken in the computer device 4A, and the computer device 4A transmits the image data to the computer device 4A.
When the selection is switched to B, the scanner device 40
The processing is maintained until the transfer of the image data from the computer to the computer device 4A is completed, and after the image data transfer processing is completed, the control unit 11 switches the signal path.

【0071】スキャナ装置40からコンピュータ装置4
Aに画像データが転送されている最中に外部スイッチ1
4が切り替えられ、スキャナ装置40からコンピュータ
装置4Aへの画像データの転送が維持されている間に、
コンピュータ装置4BからUSB切替装置1’に対して
処理要求があった場合には、USB切替装置1’からコ
ンピュータ装置4BにBUSY信号が送信され、コンピ
ュータ装置4Bからの処理は受け付けられない。
The scanner device 40 to the computer device 4
A while the image data is being transferred to A
4, while the transfer of image data from the scanner device 40 to the computer device 4A is maintained,
When there is a processing request from the computer device 4B to the USB switching device 1 ', a BUSY signal is transmitted from the USB switching device 1' to the computer device 4B, and the processing from the computer device 4B is not accepted.

【0072】スキャナ装置40からコンピュータ装置4
Aへの画像データの転送が完了すると、コンピュータ装
置4Bの処理がUSB切替装置1’に受け付けられるよ
うになるコンピュータ装置4Aからの処理要求に対し
て、BUSY信号がコンピュータ装置4Aに供給され、
コンピュータ装置4Aからの処理要求が受け付けられな
い。上述した処理により、スキャナ装置40による画像
取り込み処理途中において、外部スイッチ14が切り替
えられた場合にも、画像データの取り込みエラーが生じ
ないようにできる。
From the scanner device 40 to the computer device 4
When the transfer of the image data to A is completed, a BUSY signal is supplied to the computer device 4A in response to a processing request from the computer device 4A that allows the process of the computer device 4B to be accepted by the USB switching device 1 ′,
The processing request from the computer device 4A is not accepted. According to the above-described processing, even when the external switch 14 is switched during the image capturing processing by the scanner device 40, it is possible to prevent an image data capturing error from occurring.

【0073】制御部11は、スキャナ装置40からコン
ピュータ装置4Aあるいは4Bにデータ転送終了がある
一定期間ない場合には、データ転送が終了したと判断す
る。具体的には、USBのデータ転送は1msec毎に
行われるので、制御部11は、例えば20msecの間
データ転送がない場合には、データ転送が終了したもの
と判断する。
If there is no data transfer from the scanner device 40 to the computer device 4A or 4B for a certain period, the control unit 11 determines that the data transfer has been completed. Specifically, the USB data transfer is performed every 1 msec. Therefore, if there is no data transfer for 20 msec, the control unit 11 determines that the data transfer has been completed.

【0074】あるいは、制御部11が、転送データ中の
データを監視し、データサイズ、終了コードなど情報を
検知することにより、スキャナ装置40からコンピュー
タ装置4Aあるいは4Bへのデータ転送終了を判断する
ようにしてもよい。
Alternatively, the control unit 11 monitors the data in the transfer data and detects information such as the data size and the end code to determine the end of the data transfer from the scanner device 40 to the computer device 4A or 4B. It may be.

【0075】なお、選択されていないコンピュータ装置
4Bから、例えばスキャナ装置40の設定変更に関する
リクエストが制御部11に供給された場合には、制御部
11においてこのリクエストに関する処理が行われる。
より具体的には、スキャナ装置40の設定の変更がコン
トロール転送によりリクエストされた場合、スキャナ装
置40の設定変更に関するリクエストが制御部11に記
憶される。例えばリクエストはメモリ15に格納され
る。外部スイッチ14によりコンピュータ装置14Bが
選択された後に、メモリ15からスキャナ装置40の設
定変更に関するリクエストが読み出され、スキャナ装置
40に転送される。スキャナ装置40の設定変更に関す
るリクエストは、例えば解像度の設定変更に関するリク
エストである。
When a request for changing the settings of the scanner device 40 is supplied to the control unit 11 from a computer device 4B that has not been selected, the control unit 11 performs processing relating to this request.
More specifically, when a change in the settings of the scanner device 40 is requested by control transfer, a request for a change in the settings of the scanner device 40 is stored in the control unit 11. For example, the request is stored in the memory 15. After the computer device 14B is selected by the external switch 14, a request for setting change of the scanner device 40 is read from the memory 15 and transferred to the scanner device 40. The request regarding the setting change of the scanner device 40 is, for example, a request regarding the setting change of the resolution.

【0076】以上、この発明の実施形態について具体的
に説明したが、この発明は、上述の一実施形態に限定さ
れるものではなく、この発明の技術的思想に基づく各種
の変形が可能である。
Although the embodiment of the present invention has been specifically described above, the present invention is not limited to the above-described embodiment, and various modifications based on the technical idea of the present invention are possible. .

【0077】上述した実施形態においては、2台のコン
ピュータ装置、すなわちコンピュータ装置4Aおよびコ
ンピュータ装置4BがUSB切替装置1およびUSB切
替装置1’に接続される構成について示したが、2台以
上のコンピュータ装置をUSB切替装置1およびUSB
切替装置1’に接続可能な構成にすることも可能であ
る。
In the above-described embodiment, the configuration in which the two computer devices, that is, the computer device 4A and the computer device 4B are connected to the USB switching device 1 and the USB switching device 1 'has been described. Connect the device to USB switching device 1 and USB
It is also possible to adopt a configuration connectable to the switching device 1 '.

【0078】また、上述した実施形態においては、電子
機器としてプリンタ装置2およびスキャナ装置40がU
SB切替装置1およびUSB切替装置1’に接続される
構成について示したが、コンピュータ装置などのアプリ
ケーションからの要求に応じてデータ転送が行われるよ
うな電子機器、例えばデジタルカメラあるいはMP3
(MPEG-1 audio layer 3)プレーヤなどの電子機器がU
SB切替装置1およびUSB切替装置1’に接続される
ような構成にすることも可能である。
In the above-described embodiment, the printer device 2 and the scanner device 40 are used as electronic devices.
Although the configuration connected to the SB switching device 1 and the USB switching device 1 'has been described, an electronic device such as a digital camera or an MP3 that performs data transfer in response to a request from an application such as a computer device.
(MPEG-1 audio layer 3) Electronic devices such as players
It is also possible to adopt a configuration that is connected to the SB switching device 1 and the USB switching device 1 ′.

【0079】また、上述した実施形態においては、US
B切替装置1およびUSB切替装置1’が独立した筐体
に収納される装置であるように説明したが、これはこの
例に限定されない。USB切替装置1およびUSB切替
装置1’は、他の機器に組み込むようにすることも可能
である。例えば、USB切替装置1およびUSB切替装
置1’をコンピュータ装置4Aあるいは4Bに接続され
るモニタ装置に組み込むことができる。これにより、U
SB切替装置1およびUSB切替装置1’のスペースが
節約される。
In the above embodiment, the US
Although the B switching device 1 and the USB switching device 1 'have been described as devices housed in independent housings, this is not limited to this example. The USB switching device 1 and the USB switching device 1 'can be incorporated in another device. For example, the USB switching device 1 and the USB switching device 1 'can be incorporated in a monitor device connected to the computer device 4A or 4B. This allows U
Space for the SB switching device 1 and the USB switching device 1 'is saved.

【0080】また、上述した実施形態においては、外部
スイッチ14の操作に応じて出力された信号に基づき制
御部11が、コンピュータ装置4Aあるいはコンピュー
タ装置4Bと、プリンタ装置2あるいはスキャナ装置4
0とのデータ転送を制御する構成について示したが、コ
ンピュータ装置4Aあるいはコンピュータ装置4Bから
出力された信号に基づき、制御部11がコンピュータ装
置4Aあるいはコンピュータ装置4Bと、プリンタ装置
2あるいはスキャナ装置40とのデータ転送を制御する
構成にしてもよい。すなわち、外部スイッチ14なし
で、データ転送の制御が行われるような構成にすること
も可能である。
Further, in the above-described embodiment, the control unit 11 controls the computer 4A or 4B and the printer 2 or the scanner 4 based on the signal output in response to the operation of the external switch 14.
Although the configuration for controlling the data transfer to 0 has been shown, the control unit 11 controls the computer device 4A or the computer device 4B, the printer device 2 or the scanner device 40 based on the signal output from the computer device 4A or the computer device 4B. May be configured to control the data transfer. In other words, a configuration in which data transfer control is performed without the external switch 14 is also possible.

【0081】また、上述した実施形態において説明され
たUSB切替装置1およびUSB切替装置1’は、同一
の構成により実施することが可能である。
Further, the USB switching device 1 and the USB switching device 1 ′ described in the above-described embodiment can be implemented by the same configuration.

【0082】[0082]

【発明の効果】以上説明したように、この発明によれ
ば、コンピュータ装置側では、常にUSB切替装置のU
SBファンクションに対応したドライバソフトがロード
された状態が保たれる。そのため、切替の際のドライバ
ソフトのロードおよびアンロードに要する時間を節約で
きるという効果があると共に、切替のタイミングによる
ハングアップを防止することができる効果がある。
As described above, according to the present invention, the computer device always uses the USB switching device U
The state where the driver software corresponding to the SB function is loaded is maintained. Therefore, there is an effect that the time required for loading and unloading the driver software at the time of switching can be saved, and there is an effect that hang-up due to switching timing can be prevented.

【0083】また、この発明によれば、USB切替装置
において選択されているコンピュータ装置と電子機器と
の間でデータ転送が行われ、USB切替装置において選
択されていない情報処理装置には電子機器がデータを処
理中であることを示す信号を送信するようにしたので、
電子機器を使用時にUSB切替装置が切り替えられた場
合に発生するデータ転送エラーを未然に防ぐことができ
る。
According to the present invention, data transfer is performed between the computer device selected in the USB switching device and the electronic device, and the information processing device not selected in the USB switching device includes the electronic device. Since we send a signal indicating that data is being processed,
It is possible to prevent a data transfer error occurring when the USB switching device is switched when using the electronic device.

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

【図1】 この発明が適用されたUSB切替装置の一例
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an example of a USB switching device to which the present invention has been applied.

【図2】コンピュータ装置の一例の構成を示すブロック
図である。
FIG. 2 is a block diagram illustrating a configuration of an example of a computer device.

【図3】USB切替装置が起動された際のセットアップ
処理を示す一例のフローチャートである。
FIG. 3 is a flowchart illustrating an example of a setup process when a USB switching device is activated.

【図4】実施の第2の形態によるUSB切替装置の一例
の構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of an example of a USB switching device according to a second embodiment;

【図5】2台のコンピュータ装置により1台のプリンタ
装置をUSB切替装置を介して使用する場合の使用環境
を概略的に示す略線図である。
FIG. 5 is a schematic diagram schematically showing a use environment when one printer device is used by two computer devices via a USB switching device.

【図6】従来技術によるUSB切替装置の一例の構成を
示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of an example of a conventional USB switching device.

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

1・・・USB切替装置、2・・・プリンタ装置、3・
・・USBケーブル、4A,4B・・・コンピュータ装
置、5・・・入力装置、6A,6B・・・キーボード、
7A,7B・・・マウス、8A,8B・・・入力USB
ケーブル、9A,9B・・・USBケーブル、10・・
・内部バス、11・・・制御部、12・・・USBホス
トコントローラ、13A,13B・・・USBファンク
ション、14・・・外部スイッチ、15・・・メモリ、
20・・・USBファンクション、21A,21B・・
・USBホストコントローラ
1 ... USB switching device, 2 ... Printer device, 3 ...
..USB cable, 4A, 4B: computer device, 5: input device, 6A, 6B: keyboard,
7A, 7B ... mouse, 8A, 8B ... input USB
Cable, 9A, 9B ... USB cable, 10 ...
-Internal bus, 11 ... control unit, 12 ... USB host controller, 13A, 13B ... USB function, 14 ... external switch, 15 ... memory,
20 ... USB function, 21A, 21B ...
・ USB host controller

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B014 HA07 5B069 AA01 BA01 BA04 JA01 JA02 KA02 LA02 5B077 BB05 HH01 NN02 5C025 AA30 BA14 BA18 BA21 BA27 DA08  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B014 HA07 5B069 AA01 BA01 BA04 JA01 JA02 KA02 LA02 5B077 BB05 HH01 NN02 5C025 AA30 BA14 BA18 BA21 BA27 DA08

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 複数の情報処理装置が活線挿抜可能に接
続可能とされると共に、少なくとも1つの電子機器が接
続可能とされ、複数の情報処理装置より選択された1つ
の情報処理装置から電子機器にデータ転送を行うように
した切替装置において、 複数の情報処理装置を活線挿抜可能なバスを介して接続
する複数の接続手段と、 電子機器を接続するための電子機器接続手段と、 上記複数の接続手段に接続された上記複数の情報処理装
置のうちの1を選択する選択手段と、 上記複数の情報処理装置のうち上記選択手段により選択
されている上記情報処理装置と上記電子機器接続手段に
接続された電子機器との間でデータ転送を行うように
し、上記複数の情報処理装置のうち上記選択手段により
選択されていない上記情報処理装置には上記電子機器が
データ処理中であることを示す信号を送信する制御手段
とを備えることを特徴とする切替装置。
A plurality of information processing devices are connectably connectable to hot-swap, and at least one electronic device is connectable, and an electronic device is connected to one of the information processing devices selected from the plurality of information processing devices. A switching device configured to perform data transfer to a device; a plurality of connection means for connecting a plurality of information processing devices via a hot-swappable bus; an electronic device connection means for connecting an electronic device; Selecting means for selecting one of the plurality of information processing apparatuses connected to the plurality of connecting means; and connecting the information processing apparatus selected by the selecting means to the electronic apparatus among the plurality of information processing apparatuses Means for transferring data to and from an electronic device connected to the information processing means, wherein the information processing apparatus which is not selected by the selection means among the plurality of information processing apparatuses is the electronic equipment. Vessel switching device, characterized in that it comprises a control means for transmitting a signal indicating that data is being processed.
【請求項2】 請求項1に記載の切替装置において、 上記バスは、活線挿抜が可能で、上記バスの一方に接続
された機器の動作に必要な情報を、上記バスの他方に接
続された情報処理装置が取得することで、上記機器の制
御を上記情報処理装置によって行うことを可能とし、且
つ、上記機器の非接続時には上記機器の動作に必要な情
報を破棄するようにされた通信経路であることを特徴と
する切替装置。
2. The switching device according to claim 1, wherein the bus is hot-swappable, and information necessary for operation of a device connected to one of the buses is connected to the other of the buses. The information processing device obtains the information so that the device can be controlled by the information processing device, and discards information necessary for the operation of the device when the device is not connected. A switching device, which is a route.
【請求項3】 請求項1に記載の切替装置において、 上記バスは、USBであることを特徴とする切替装置。3. The switching device according to claim 1, wherein the bus is a USB. 【請求項4】 請求項1に記載の切替装置において、 上記制御手段は、上記データ転送中に上記選択手段によ
って情報処理装置の選択の変更が行われた場合には、上
記データ転送終了後に上記選択手段による上記選択の変
更先の情報処理装置と上記電子機器との間でデータ転送
が行われるようにすることを特徴とする切替装置。
4. The switching device according to claim 1, wherein the control unit, when the selection of the information processing device is changed by the selection unit during the data transfer, after the completion of the data transfer. A switching device, wherein data transfer is performed between the information processing device to which the selection is changed by the selection means and the electronic device.
【請求項5】 請求項1記載の切替装置において、 上記制御手段は、上記複数の情報処理装置のうちの上記
選択手段で選択されていない情報処理装置から上記電子
機器の設定を変更するためのリクエストを受信した場合
には該リクエストを記憶しておき、上記リクエストを送
信した上記情報処理装置が上記選択手段によって選択さ
れた後に上記電子機器に該リクエストを送信することを
特徴とする切替装置。
5. The switching device according to claim 1, wherein the control unit is configured to change a setting of the electronic device from an information processing device that is not selected by the selection unit among the plurality of information processing devices. A switching device, wherein when a request is received, the request is stored, and the request is transmitted to the electronic device after the information processing device that has transmitted the request is selected by the selection unit.
【請求項6】 複数の情報処理装置が活線挿抜可能に接
続可能とされると共に、少なくとも1つの電子機器が接
続可能とされ、複数の情報処理装置より選択された1つ
の情報処理装置から電子機器にデータ転送を行うように
した切替方法において、 複数の情報処理装置を活線挿抜可能なバスを介して接続
する複数の接続のステップと、 上記電子機器を接続するための電子機器接続のステップ
と、 上記複数の電子機器接続のステップにより接続された上
記複数の情報処理装置のうちの1を選択する選択のステ
ップと、 上記複数の情報処理装置のうち上記選択のステップによ
り選択されている1の上記情報処理装置と上記電子機器
接続のステップにより接続された電子機器との間でデー
タ転送を行うようにし、上記複数の情報処理装置のうち
上記選択のステップにより選択されていない上記情報処
理装置には上記電子機器がデータ処理中であることを示
す信号を送信する制御のステップとを備えることを特徴
とする切替方法。
6. A plurality of information processing devices are connectable so as to be hot-swappable, and at least one electronic device is connectable. In a switching method for performing data transfer to a device, a plurality of connection steps for connecting a plurality of information processing devices via a hot-swappable bus, and an electronic device connection step for connecting the electronic device A step of selecting one of the plurality of information processing devices connected by the plurality of electronic device connection steps; and a step of selecting one of the plurality of information processing devices by the selection step. Data transfer between the information processing device and the electronic device connected in the step of connecting the electronic device. Switching method characterized by the above-mentioned information processing apparatus which is not selected by the selection step and a step of controlling to transmit a signal indicating that the electronic device is in data processing.
【請求項7】 情報処理装置から出力された画像信号に
よる表示を行うデータを表示する画像表示装置におい
て、 複数の情報処理装置を活線挿抜可能なバスを介して接続
する複数の接続手段と、 上記電子機器を接続するための電子機器接続手段と、 上記複数の電子機器接続手段に接続された上記複数の情
報処理装置のうちの1を選択する選択手段と、 上記複数の情報処理装置のうち上記選択手段により選択
されている上記情報処理装置と上記電子機器接続手段に
接続された電子機器との間でデータ転送を行うように
し、上記複数の情報処理装置のうち上記選択手段により
選択されていない上記情報処理装置には上記電子機器が
データ処理中であることを示す信号を送信する制御手段
とを備えることを特徴とする画像表示装置。
7. An image display device for displaying data to be displayed by an image signal output from an information processing device, comprising: a plurality of connection means for connecting the plurality of information processing devices via a hot-pluggable bus; An electronic device connection unit for connecting the electronic device; a selection unit for selecting one of the plurality of information processing devices connected to the plurality of electronic device connection units; Data transfer is performed between the information processing device selected by the selection means and the electronic device connected to the electronic device connection means, and data transfer is performed by the selection means among the plurality of information processing devices. An image display device, wherein the information processing device includes a control unit that transmits a signal indicating that the electronic device is performing data processing.
【請求項8】 請求項7に記載の画像表示装置におい
て、 上記バスは、活線挿抜が可能で、上記バスの一方に接続
された機器の動作に必要な情報を、上記バスの他方に接
続された情報処理装置が取得することで、上記機器の制
御を上記情報処理装置によって行うことを可能とし、且
つ、上記機器の非接続時には上記機器の動作に必要な情
報を破棄するようにされた通信経路であることを特徴と
する画像表示装置。
8. The image display device according to claim 7, wherein the bus is hot-swappable, and information necessary for operation of a device connected to one of the buses is connected to the other of the buses. Acquired by the information processing device obtained, it is possible to control the device by the information processing device, and to discard information necessary for the operation of the device when the device is not connected An image display device, which is a communication path.
【請求項9】 請求項7に記載の画像表示装置におい
て、 上記バスは、USBであることを特徴とする画像表示装
置。
9. The image display device according to claim 7, wherein the bus is a USB.
【請求項10】 請求項7に記載の画像表示装置におい
て、 上記制御手段は、上記データ転送中に上記選択手段によ
って情報処理装置の選択の変更が行われた場合には、上
記データ転送終了後に上記選択手段による上記選択の変
更先の情報処理装置と上記電子機器との間でデータ転送
が行われるようにすることを特徴とする画像表示装置。
10. The image display device according to claim 7, wherein the control unit, after changing the selection of the information processing device by the selection unit during the data transfer, after the data transfer is completed. An image display device, wherein data transfer is performed between the information processing device to which the selection is changed by the selection means and the electronic device.
【請求項11】 請求項7記載の画像表示装置におい
て、 上記制御手段は、上記複数の情報処理装置のうちの上記
選択手段で選択されていない情報処理装置から上記電子
機器の設定を変更するためのリクエストを受信した場合
には該リクエストを記憶しておき、上記リクエストを送
信した上記情報処理装置が上記選択手段によって選択さ
れた後に上記電子機器に該リクエストを送信することを
特徴とする画像表示装置。
11. The image display device according to claim 7, wherein the control unit changes a setting of the electronic device from an information processing device that is not selected by the selection unit among the plurality of information processing devices. Receiving the request of (1), storing the request, and transmitting the request to the electronic device after the information processing apparatus that has transmitted the request is selected by the selection unit. apparatus.
JP2000336202A 2000-11-02 2000-11-02 Switching device and its method, and image display device Pending JP2002140281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000336202A JP2002140281A (en) 2000-11-02 2000-11-02 Switching device and its method, and image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000336202A JP2002140281A (en) 2000-11-02 2000-11-02 Switching device and its method, and image display device

Publications (1)

Publication Number Publication Date
JP2002140281A true JP2002140281A (en) 2002-05-17

Family

ID=18811819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000336202A Pending JP2002140281A (en) 2000-11-02 2000-11-02 Switching device and its method, and image display device

Country Status (1)

Country Link
JP (1) JP2002140281A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176152A (en) * 2008-01-25 2009-08-06 Sony Corp Information processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176152A (en) * 2008-01-25 2009-08-06 Sony Corp Information processing apparatus
US7930463B2 (en) 2008-01-25 2011-04-19 Sony Corporation Information processing apparatus

Similar Documents

Publication Publication Date Title
JP4346853B2 (en) Electronic device and control method thereof
KR101251250B1 (en) System for performing remote control using remote device driver and method for performing the same
US8665474B2 (en) Method, system, apparatus and medium for minimizing unnecessary processing associated with connection/disconnection of a same host
US20050237568A1 (en) Method of and apparatus to print image directly
JP2005292922A (en) Deployment machine of os image and method thereof
JP2005018781A (en) Method and apparatus for interfacing wired and wireless data
JP6977419B2 (en) Electronic devices, programs and wireless communication methods
CN102314214A (en) Use system, server unit and the method for peripherals
JP3937434B2 (en) Electronic equipment with a communication controller that can selectively set the roles of both the host and the device
EP1916606A2 (en) Storage interfacing method and apparatus
JP2002140281A (en) Switching device and its method, and image display device
JP6977428B2 (en) Electronic devices, communication systems and wireless communication methods
US8675230B2 (en) Recognizing an image forming apparatus as a printer and an external storage device to reduce an initialization time of the image forming apparatus
JP2002149583A (en) Changeover device, its method and picture display device
KR20030057250A (en) USB Camera System with Host Function
JP2002140282A (en) Switching device and its method, image display device, and information processing device
JP2004280636A (en) Information processing system including communication connection type information processing apparatus excluding user interface and its control method
JP2001184296A (en) Usb communication interface, computer, hub, electronic equipment, and function switching method in the electronic equipment
JP2001290753A (en) Electronic equipment
JP2000222340A (en) Data transmitting and receiving device
JP2001067157A (en) Computer system, its peripheral equipment and computer, controlling method, and storage medium
JPH05327951A (en) Facsimile equipment
JPH11161591A (en) Data communication equipment, data communication method, storage medium and device driver
JP2003274272A (en) Image transfer equipment of digital camera
JP2005130316A (en) Image input device and method for switching communication protocols