JP5880905B1 - Connection control device and USB connection device - Google Patents
Connection control device and USB connection device Download PDFInfo
- Publication number
- JP5880905B1 JP5880905B1 JP2014250719A JP2014250719A JP5880905B1 JP 5880905 B1 JP5880905 B1 JP 5880905B1 JP 2014250719 A JP2014250719 A JP 2014250719A JP 2014250719 A JP2014250719 A JP 2014250719A JP 5880905 B1 JP5880905 B1 JP 5880905B1
- Authority
- JP
- Japan
- Prior art keywords
- usb
- connection
- switching
- usb connector
- switching circuit
- 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.)
- Active
Links
Images
Abstract
【課題】接続対象の装置に1つのUSBコネクタしか存在しない場合でも、信頼性の異なる2つの不揮発性メモリを抜き差し不要で接続することを可能にする。【解決手段】切替制御部11は、USBコネクタ15に他のUSB装置が接続されていない場合、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。そして、切替制御部11は、USBコネクタ15に他のUSB装置が接続されている場合、USBバススイッチ13をUSBコネクタ14とUSBコネクタ15とが接続されるように切替える制御を行う。さらに、切替制御部11は、接続対象の装置である画像形成装置30から、EEPROM12への切替指示を受信した場合、USBコネクタ15に他のUSB装置が接続されている場合でも、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。【選択図】図2Even when there is only one USB connector in a device to be connected, it is possible to connect two non-volatile memories having different reliability without connecting or disconnecting them. When no other USB device is connected to the USB connector, the switching control unit 11 performs control to switch the USB bus switch 13 so that the USB connector 14 and the EEPROM 12 are connected. Then, when another USB device is connected to the USB connector 15, the switching control unit 11 performs control to switch the USB bus switch 13 so that the USB connector 14 and the USB connector 15 are connected. Furthermore, when the switching control unit 11 receives an instruction to switch to the EEPROM 12 from the image forming apparatus 30 that is a connection target apparatus, even when another USB apparatus is connected to the USB connector 15, the USB bus switch 13. Is controlled so that the USB connector 14 and the EEPROM 12 are connected. [Selection] Figure 2
Description
本発明は、接続制御装置およびUSB接続装置に関する。 The present invention relates to a connection control device and a USB connection device.
特許文献1には、USBインタフェース回線等の2種類の回線を選択的に切り換えて接続する際に、USBインタフェース回線に機器が接続されたことを検知して自動的に回線の切り換えを行うようにしたインタフェースセレクタが開示されている。
In
特許文献2には、状態検出部により機器の接続状態を検出し、USBホスト機器に対してはUSBターゲット機器として動作し、USBターゲット機器に対してはUSBホスト機器として動作することにより、USBホスト機器とUSBターゲット機器と1つの装置により制御可能なUSBコントロールシステムが開示されている。 In Patent Document 2, a connection state of a device is detected by a state detection unit, the USB host device operates as a USB target device, and the USB target device operates as a USB host device. A USB control system that can be controlled by a device, a USB target device, and a single device is disclosed.
特許文献3には、複数の通信デバイスがアナログスイッチ等の切り替え手段を介してホストコントローラに接続されており、通信デバイスの接続端子間に無接続の端子が設けられており、通信デバイスの切り替えの際に無接続の期間を設けるようにした通信線切り替え回路が開示されている。 In Patent Document 3, a plurality of communication devices are connected to a host controller via switching means such as an analog switch, and a non-connected terminal is provided between the connection terminals of the communication device. A communication line switching circuit is disclosed in which a non-connection period is provided.
特許文献4には、デジタルカメラ等のデータ保持手段を、パソコン等のホスト情報処理装置を介さずに直接ストレージ装置やプリンタ等と接続して、USB回線の入れ替えを必要とせずにストレージ装置とプリンタにデータを転送することができるようにしたUSB通信経路切り換え制御装置が開示されている。 In Patent Document 4, a data holding unit such as a digital camera is directly connected to a storage device, a printer, or the like without using a host information processing device such as a personal computer, and the storage device and the printer are not required to replace the USB line. A USB communication path switching control device that can transfer data is disclosed.
パーソナルコンピュータ、プリンタ等の装置に外部からデータを取り込むためにUSB(Universal Serial Bus)メモリが広く用いられている。しかし、一般的に用いられるUSBメモリは、NAND型フラッシュメモリを用いているため、大容量のデータを扱うためには適しているが、メモリ素子自体の信頼性が低いという課題がある。 A USB (Universal Serial Bus) memory is widely used for taking data from the outside into apparatuses such as personal computers and printers. However, since a commonly used USB memory uses a NAND flash memory, it is suitable for handling a large amount of data, but there is a problem that the reliability of the memory element itself is low.
そのため、オプションソフトウェアやアプリケーションソフトウェア等を有効化するための認証キーや、電子証明書データ等の破壊されると再入手することが困難または手間がかかるようなデータをNAND型フラッシュメモリを用いた一般的なUSBメモリ等に保管して移動することは原則として推奨されない。 For this reason, an authentication key for activating optional software, application software, etc., or data that is difficult or troublesome to re-obtain when electronic certificate data, etc. is destroyed is generally used with NAND flash memory. In principle, it is not recommended to store and move in a conventional USB memory.
そのため、EEPROM(Electrically Erasable Programmable Read Only Memory)等の信頼性の高いメモリを用いてデータの保管や移動を行うことが行われている。しかし、EEPROM等のメモリは大容量のデータを保管することが難しいという問題点がある。 Therefore, data is stored and moved using a highly reliable memory such as an EEPROM (Electrically Erasable Programmable Read Only Memory). However, a memory such as an EEPROM has a problem that it is difficult to store a large amount of data.
上記のような理由により、各種装置に後からオプションソフトウェア等の大容量のデータを読み込ませる際には、NAND型フラッシュメモリを用いたUSBメモリを用い、認証キーや電子証明書データ等の重要なデータを各種装置に入力する際にはEEPROM等の信頼性の高いメモリを用いたUSBメモリが用いられる。 For the above reasons, when a large amount of data such as optional software is read later into various devices, a USB memory using a NAND flash memory is used, and an important key such as an authentication key or electronic certificate data is used. When inputting data to various devices, a USB memory using a highly reliable memory such as an EEPROM is used.
しかし、接続対象の装置にUSBコネクタが1つしか存在しない場合、2種類のUSBメモリを必要に応じて抜き差ししなければならないという手間がある。また、接続対象の装置にUSBハブを設けて複数のUSBコネクタを設けるようにした場合、接続対象の装置のコストアップを招いてしまう。 However, when there is only one USB connector in the device to be connected, there is a trouble that two types of USB memories must be inserted and removed as necessary. Further, when a USB hub is provided in the connection target device and a plurality of USB connectors are provided, the cost of the connection target device is increased.
また、コストアップの要因となるUSBハブを用いずに、接続対象の装置にUSBバススイッチを設けて複数のUSBコネクタの切り替えを行うようにした場合、どのUSBコネクタにどのUSBメモリを挿入すれば良いのかが分かり難くなり、ユーザが挿入するUSBコネクタを間違えると正常に通信することができなくなってしまう。 In addition, when a USB bus switch is provided in a device to be connected and a plurality of USB connectors are switched without using a USB hub that causes an increase in cost, what USB memory should be inserted into which USB connector? It becomes difficult to know whether it is good, and if the user inserts the wrong USB connector, communication cannot be performed normally.
本発明の目的は、接続対象の装置に1つのUSBコネクタのみしか存在しない場合でも、特性の異なる2つの不揮発性メモリを抜き差し不要で接続することが可能な接続制御装置およびUSB接続装置を提供することである。 An object of the present invention is to provide a connection control device and a USB connection device capable of connecting two non-volatile memories having different characteristics without connection / disconnection even when only one USB connector exists in the device to be connected. That is.
[接続制御装置]
請求項1に係る本発明は、第1メモリと、
外部装置と接続する第1接続部と、
第2メモリを格納した装置と接続する第2接続部と、
前記第2接続部に装置が接続されているか否かを検出する検出手段を有する切替回路と、
前記第2接続部に装置が接続されている場合、前記切替回路を、前記第1接続部と前記第2メモリとが接続されるよう切替え、前記第2接続部に装置が接続されていない場合、前記切替回路を、前記第1接続部と前記第1メモリとが接続されるよう切替える切替制御手段とを有し、
前記接続切替制御手段は、前記接続対象の装置から前記第1の不揮発性記憶手段への切替え指示を受信した場合、前記第2の接続部に他の装置が接続されている場合でも、前記切替回路を前記第1の接続部と前記第1の不揮発性記憶手段とが接続されるように切替える制御を行う接続制御装置である。
[Connection control device]
The present invention according to
A first connection unit connected to an external device;
A second connection for connecting to the device storing the second memory;
A switching circuit having detection means for detecting whether or not a device is connected to the second connection unit;
When the device is connected to the second connection unit, the switching circuit is switched so that the first connection unit and the second memory are connected, and the device is not connected to the second connection unit. And a switching control means for switching the switching circuit so that the first connection unit and the first memory are connected ,
The connection switching control means receives the switching instruction from the device to be connected to the first nonvolatile storage means, and even when another device is connected to the second connection unit, the switching It is a connection control device that performs control to switch a circuit so that the first connection unit and the first nonvolatile storage unit are connected .
請求項2に係る本発明は、第1の不揮発性記憶手段と、
接続対象の装置に接続するための第1の接続部と、
前記第1の不揮発性記憶手段よりも信頼性の低い第2の不揮発性記憶手段を格納した装置と接続するための第2の接続部と、
前記第2の接続部に他の装置が接続されているか否かを検出する検出手段を有し、前記第1の接続部を、前記第2の接続部または前記第1の不揮発性記憶手段との間で切替えて接続するための切替回路と、
前記第2の接続部に他の装置が接続されていない場合、前記切替回路を前記第1の接続部と前記第1の不揮発性記憶手段とが接続されるように切替える制御を行い、前記第2の接続部に他の装置が接続されている場合、前記切替回路を前記第1の接続部と前記第2の接続部とが接続されるよう切替える制御を行う接続切替制御手段とを有し、
前記接続切替制御手段は、前記接続対象の装置から前記第1の不揮発性記憶手段への切替え指示を受信した場合、前記第2の接続部に他の装置が接続されている場合でも、前記切替回路を前記第1の接続部と前記第1の不揮発性記憶手段とが接続されるように切替える制御を行う接続制御装置である。
The present invention according to claim 2 includes first non-volatile storage means;
A first connection for connecting to a device to be connected;
A second connection portion for connecting to a device storing a second nonvolatile memory means having lower reliability than the first nonvolatile memory means;
It has a detection means for detecting whether or not another device is connected to the second connection portion, and the first connection portion is connected to the second connection portion or the first nonvolatile storage means. A switching circuit for switching between and connecting,
When no other device is connected to the second connection unit, the switching circuit is controlled to be connected so that the first connection unit and the first nonvolatile storage unit are connected, If another device on the second connection portion are connected, and a connection switching control means for controlling to switch to the switching circuit and the first connecting portion and the second connecting portion are connected ,
The connection switching control means receives the switching instruction from the device to be connected to the first nonvolatile storage means, and even when another device is connected to the second connection unit, the switching It is a connection control device that performs control to switch a circuit so that the first connection unit and the first nonvolatile storage unit are connected .
[USB接続装置]
請求項3に係る本発明は、第1の不揮発性記憶手段と、
接続対象の装置に接続するための第1のUSBコネクタと、
前記第1の不揮発性記憶手段よりも信頼性の低い第2の不揮発性記憶手段を格納したUSB装置と接続するための第2のUSBコネクタと、
前記第2のUSBコネクタに他のUSB装置が接続されているか否かを検出する検出手段を有し、前記第1のUSBコネクタを、前記第2のUSBコネクタまたは前記第1の不揮発性記憶手段との間で切替えて接続するためのUSBバス切替回路と、
前記第2のUSBコネクタに他のUSB装置が接続されていない場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行い、前記第2のUSBコネクタに他のUSB装置が接続されている場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第2のUSBコネクタとが接続されるように切替える制御を行う接続切替制御手段とを有し、
前記接続切替制御手段は、前記接続対象の装置から、第1の不揮発性記憶手段への切替指示を受信した場合、前記第2のUSBコネクタに他のUSB装置が接続されている場合でも、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行うUSB接続装置である。
[USB connection device]
The present invention according to claim 3 includes first non-volatile storage means;
A first USB connector for connecting to a device to be connected;
A second USB connector for connecting to a USB device storing a second nonvolatile storage means having lower reliability than the first nonvolatile storage means;
And detecting means for detecting whether or not another USB device is connected to the second USB connector, wherein the first USB connector is connected to the second USB connector or the first nonvolatile storage means. A USB bus switching circuit for switching between and connecting to,
When no other USB device is connected to the second USB connector, control is performed to switch the USB bus switching circuit so that the first USB connector and the first nonvolatile storage means are connected. Connection for performing control to switch the USB bus switching circuit so that the first USB connector and the second USB connector are connected when another USB device is connected to the second USB connector Switching control means ,
The connection switching control unit receives the switching instruction to the first nonvolatile storage unit from the connection target device, and even when another USB device is connected to the second USB connector, A USB connection device that performs control to switch a USB bus switching circuit so that the first USB connector and the first nonvolatile storage unit are connected .
請求項4に係る本発明は、前記接続切替制御手段が、
前記第2のUSBコネクタに他のUSB装置が接続されているか否かを検出する検出手段と、
前記検出手段により検出された他のUSB装置の前記第2のUSBコネクタへの接続状態を接続状態情報として管理する管理手段と、
前記管理手段における前記接続状態情報が、前記第2のUSBコネクタに他のUSB装置が接続されていないことを示している場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行い、前記第2のUSBコネクタに他のUSB装置が接続されていることを示している場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第2のUSBコネクタを接続するよう制御し、前記接続対象の装置から、第1の不揮発性記憶手段への切り替え指示を受信した場合、前記第2のUSBコネクタに他のUSB装置が接続されていることを示している場合でも、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行うUSBバス切替回路制御手段と、
接続対象のUSB装置との間でUSB通信を行い、前記接続対象のUSB装置からの要求に基づいて、前記管理手段に管理されている前記接続状態情報を前記接続対象のUSB装置に転送する通信制御手段とを有する請求項3記載のUSB接続装置である。
The present invention according to claim 4 is characterized in that the connection switching control means comprises:
Detecting means for detecting whether another USB device is connected to the second USB connector;
Management means for managing the connection state of the other USB device detected by the detection means to the second USB connector as connection state information;
When the connection state information in the management means indicates that no other USB device is connected to the second USB connector, the USB bus switching circuit is connected to the first USB connector and the first USB connector. If the control is performed so that the non-volatile storage means is connected, and the other USB device is connected to the second USB connector, the USB bus switching circuit is connected to the first USB. When control is performed to connect the connector and the second USB connector and a switching instruction to the first nonvolatile storage means is received from the connection target device, another USB device is connected to the second USB connector. Even in the case where connection is indicated, the USB bus switching circuit is connected to the first USB connector and the first nonvolatile storage means. A USB bus switching circuit control means for changing control,
Communication that performs USB communication with a USB device to be connected, and transfers the connection status information managed by the management means to the USB device to be connected based on a request from the USB device to be connected The USB connection device according to claim 3 , further comprising a control unit.
請求項5に係る本発明は、前記第1の不揮発性記憶手段が、EEPROMである請求項3または4記載のUSB接続装置である。 The present invention according to claim 5 is the USB connection device according to claim 3 or 4 , wherein the first nonvolatile storage means is an EEPROM.
請求項1に係る本発明によれば、接続対象の装置に1つの接続部しか存在しない場合でも、特性の異なる2つのメモリを抜き差し不要で接続することが可能な接続制御装置を提供することができる。
また、請求項1に係る本発明によれば、第2メモリを格納した装置を接続したままで、第1メモリに格納されているデータの読み出しが可能な接続制御装置を提供することができる。
According to the first aspect of the present invention, it is possible to provide a connection control device capable of connecting two memories having different characteristics without connection and disconnection even when only one connection portion exists in the device to be connected. it can.
According to the first aspect of the present invention, it is possible to provide a connection control device capable of reading data stored in the first memory while the device storing the second memory is connected.
請求項2に係る本発明によれば、接続対象の装置に1つの接続部しか存在しない場合でも、特性の異なる2つの不揮発性メモリを抜き差し不要で接続することが可能な接続制御装置を提供することができる。
また、請求項2に係る本発明によれば、第2の不揮発性記憶手段を格納した装置を接続したままで、第1の不揮発性記憶手段に格納されているデータの読み出しが可能な接続制御装置を提供することができる。
According to the second aspect of the present invention, there is provided a connection control device capable of connecting two non-volatile memories having different characteristics without connection and disconnection even when only one connection portion exists in the connection target device. be able to.
According to the second aspect of the present invention, the connection control is capable of reading the data stored in the first non-volatile storage means while the device storing the second non-volatile storage means is connected. An apparatus can be provided.
請求項3に係る本発明によれば、接続対象の装置に1つのUSBコネクタしか存在しない場合でも、信頼性の異なる2つの不揮発性メモリを抜き差し不要で接続することが可能なUSB接続装置を提供することができる。
また、請求項3に係る本発明によれば、第2の不揮発性記憶手段を格納したUSB接続装置を接続したままで、第1の不揮発性記憶手段に格納されているデータの読み出しが可能なUSB接続装置を提供することができる。
According to the third aspect of the present invention, there is provided a USB connection device capable of connecting two non-volatile memories having different reliability without requiring insertion / extraction even when the device to be connected has only one USB connector. can do.
According to the third aspect of the present invention, it is possible to read data stored in the first non-volatile storage means while the USB connection device storing the second non-volatile storage means is connected. A USB connection device can be provided.
請求項4に係る本発明によれば、接続対象の装置に1つのUSBコネクタしか存在しない場合でも、信頼性の異なる2つの不揮発性メモリを抜き差し不要で接続することが可能なUSB接続装置を提供することができる。 According to the fourth aspect of the present invention, there is provided a USB connection device capable of connecting two nonvolatile memories having different reliability without connecting / disconnecting them even when the device to be connected has only one USB connector. can do.
請求項5に係る本発明によれば、接続対象の装置に1つのUSBコネクタしか存在しない場合でも、EEPROMとEEPROMよりも信頼性の低い2つの不揮発性メモリを抜き差し不要で接続することが可能なUSB接続装置を提供することができる。
According to the fifth aspect of the present invention, even when there is only one USB connector in the device to be connected, it is possible to connect the EEPROM and the two nonvolatile memories having lower reliability than the EEPROM without connecting / disconnecting them. A USB connection device can be provided.
次に、本発明の実施の形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
図1は本発明の一実施形態の切替回路内蔵USBデバイス(USB接続装置)10を用いるシステムのシステム構成を示す図である。 FIG. 1 is a diagram showing a system configuration of a system using a switching circuit built-in USB device (USB connection device) 10 according to an embodiment of the present invention.
図1に示したシステムでは、画像形成装置30および端末装置40がネットワーク50により接続されている。そして、本実施形態の切替回路内蔵USBデバイス10が、画像形成装置30のUSB(Universal Serial Bus)端子に接続されるような構成となっている。
In the system shown in FIG. 1, the
本実施形態の切替回路内蔵USBデバイス10には、オス型のUSBコネクタとメス型のUSBコネクタとが設けられていて、オス型のUSBコネクタを画像形成装置30に挿入し、メス型のUSBコネクタには、一般的なUSBメモリ等の汎用USBデバイス20を接続するような構成となっている。
The
なお、端末装置40は、印刷データを生成して、ネットワーク50経由にて生成した印刷データを画像形成装置30に対して送信する装置である。また、画像形成装置30は、本実施形態の切替回路内蔵USBデバイス10の接続対象の装置であり、端末装置40から送信された印刷データを受け付けて、印刷データに応じた画像を用紙上に出力する。なお、画像形成装置30は、印刷(プリント)機能、スキャン機能、複写(コピー)機能、ファクシミリ機能等の複数の機能を有するいわゆる複合機と呼ばれる装置である。
The terminal device 40 is a device that generates print data and transmits the print data generated via the
そして、本実施形態の切替回路内蔵USBデバイス10は、EEPROM(Electrically Erasable Programmable Read Only Memory)を内臓している。EEPROMは、汎用USBデバイスである一般的なUSBメモリ等に使用されているNAND型フラッシュメモリよりも信頼性が高い。なお、信頼性の高いメモリとしては、EEPROM以外にもNOR型フラッシュメモリ等のメモリがある。
The switching device built-in
次に、本実施形態の切替回路内蔵USBデバイス10のハードウェア構成を図2を参照して説明する。
Next, the hardware configuration of the switching circuit built-in
本実施形態の切替回路内蔵USBデバイス10は、図2に示すように、オス型のUSBコネクタ(第1のUSBコネクタ)14と、メス型のUSBコネクタ(第2のUSBコネクタ)15と、切替制御部11と、信頼性の高いメモリであるEEPROM(第1の不揮発性記憶手段)12と、USBバススイッチ13とを備えている。
As shown in FIG. 2, the
オス型のUSBコネクタ14は、接続対象の装置である画像形成装置30のUSBコネクタ31に接続するための接続部である。
The male USB connector 14 is a connection unit for connecting to the
USBコネクタ15は、EEPROM12よりも信頼性の低いNAND型フラッシュメモリ21を格納した汎用USBデバイス20と接続するための接続部である。
The
切替制御部(接続切替制御手段)11は、マイクロコントローラにより構成され、USBコネクタ15に他のUSB装置が接続されていない場合、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。つまり、切替制御部11は、USBバススイッチ13のA端子とB端子とが接続されるような切替制御を行う。
The switching control unit (connection switching control means) 11 is constituted by a microcontroller, and when no other USB device is connected to the
なお、USBコネクタ14とEEPROM12とを接続するとは、USBコネクタ14とEEPROM12とを電気的に直接接続するという意味ではなく、USBコネクタ14からEEPROM12に対してデータの読取・書込みが可能なように設定するということを意味する。
Note that connecting the USB connector 14 and the
そして、切替制御部11は、USBコネクタ15に他のUSB装置が接続されている場合、USBバススイッチ13をUSBコネクタ14とUSBコネクタ15とが接続されるように切替える制御を行う。つまり、切替制御部11は、USBバススイッチ13のA端子とC端子とが接続されるような切替制御を行う。
Then, when another USB device is connected to the
さらに、切替制御部11は、接続対象の装置である画像形成装置30から、EEPROM12への切替指示を受信した場合、USBコネクタ15に他のUSB装置が接続されている場合でも、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。
Furthermore, when the switching control unit 11 receives an instruction to switch to the
USBバススイッチ(USBバス切替回路)13は、USBコネクタ14を、USBコネクタ15またはEEPROM12との間で切替えて接続するためのスイッチである。
The USB bus switch (USB bus switching circuit) 13 is a switch for switching and connecting the USB connector 14 to or from the
また、切替回路内蔵USBデバイス10の接続対象の装置である画像形成装置30は、メス型のUSBコネクタ31と、CPU32とを備えている。
In addition, the
また、汎用USBデバイス20は、EEPROM12と比較して信頼性の低いNAND型フラッシュメモリ21と、USB通信制御部22とを備えている。
The general-
USB通信制御部22は、USB通信を介してNAND型フラッシュメモリ21内のデータを読み出して外部に送信したり、外部からのデータを受信してNAND型フラッシュメモリ21に書き込む等の制御を行っている。
The USB
また、切替制御部11は、図3に示すように、接続検出部41と、接続状態管理部42と、USB通信制御部43と、USBバススイッチ制御部44とを備えている。
As shown in FIG. 3, the switching control unit 11 includes a connection detection unit 41, a connection
接続検出部41は、USBコネクタ15に他のUSB装置が接続されているか否かを検出する。
The connection detection unit 41 detects whether another USB device is connected to the
接続状態管理部42は、接続検出部41により検出された他のUSB装置のUSBコネクタ15への接続状態をステータス情報(接続状態情報)として管理する。なお、具体的には、接続状態管理部42は、USBコネクタ15に他のUSB装置が接続されている場合には、ステータス情報の接続検知フラグをオンとし、USBコネクタ15に他のUSB装置が接続されていない場合には、ステータス情報の接続検知フラグをオフとする。
The connection
USB通信制御部43は、接続対象の装置である画像形成装置30との間でUSB通信を行い、画像形成装置30からの要求に基づいて、接続状態管理部42に管理されているステータス情報を画像形成装置30に転送する。
The USB
USBバススイッチ制御部44は、接続状態管理部42におけるステータス情報が、USBコネクタ15に他のUSB装置が接続されていないことを示している場合、つまり接続検知フラグがオフの場合、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。
When the status information in the connection
また、USBバススイッチ制御部44は、接続状態管理部42におけるステータス情報が、USBコネクタ15に他のUSB装置が接続されていることを示している場合、つまり接続検知フラグがオフの場合、USBバススイッチ13をUSBコネクタ14とUSBコネクタ15を接続するよう制御する。
Further, the USB bus
さらに、USBバススイッチ制御部44は、接続対象の装置である画像形成装置30から、EEPROM12への切り替え指示を受信した場合、ステータス情報の接続検知フラグがオンの場合でも、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。
Further, when the USB bus
次に、図面を参照して本実施形態の切替回路内蔵USBデバイス10の動作を詳細に説明する。
Next, the operation of the switching device built-in
先ず、図4を参照して、接続検出部41により行われる接続検出処理について説明する。 First, the connection detection process performed by the connection detection unit 41 will be described with reference to FIG.
接続検出部41は、USBラインを監視することによりUSBコネクタ15に汎用USBデバイス20等の他のUSB装置が接続されているか否かを検出する(ステップS101)。
The connection detection unit 41 detects whether another USB device such as the general-
そして、USBコネクタ15に他のUSB装置が検出されていることが検出された場合(ステップS102においてyes)、接続状態管理部42は、管理しているステータス情報の接続検知フラグをオンとする(ステップS103)。
If it is detected that another USB device is detected at the USB connector 15 (yes in step S102), the connection
なお、USBコネクタ15に他のUSB装置が検出されていないことが検出された場合(ステップS102においてno)、接続状態管理部42は、管理しているステータス情報の接続検知フラグをオフとする(ステップS104)。
When it is detected that no other USB device is detected in the USB connector 15 (no in step S102), the connection
次に、切替回路内蔵USBデバイス10を画像形成装置30に接続した際の動作を図5を参照して説明する。
Next, operations when the switching circuit built-in
汎用USBデバイス20が接続されていない切替回路内蔵USBデバイス10を画像形成装置30に接続すると(ステップS201)、USBコネクタ15には他のUSB装置が接続されていないため、切替制御部11は、図6に示すように、USBバススイッチ13の端子Aと端子Bとが接続されるような切替制御を行う(ステップS202)。
When the switching circuit built-in
その結果、USBコネクタ14は切替制御部11を介してEEPROM12と接続されUSB動作が開始される(ステップS203)。
As a result, the USB connector 14 is connected to the
次に、USBバススイッチ13の切替処理を図7のフローチャートを参照して説明する。
Next, switching processing of the
切替制御部11におけるUSBバススイッチ制御部44は、接続状態管理部42のステータス情報における接続検知フラグの状態を一定間隔で把握して、接続検知フラグが変化していないかを監視している(ステップS301、S302)。
The USB bus
そして、接続検知フラグが変化した場合(ステップS302においてyes)、USBバススイッチ制御部44は、その接続検知フラグがオン状態であれば(ステップS303においてyes)、USBバススイッチ13の端子Aと端子Cとが接続されるような切替制御を行う(ステップS305)。
If the connection detection flag changes (yes in step S302), the USB bus
つまり、汎用USBメモリ20が切替回路内蔵USBデバイス10に接続された場合には、図8に示すように、USBコネクタ14とUSBコネクタ15とが接続された状態となる。
That is, when the general-
また、接続検知フラグがオフ状態の場合には(ステップS303においてno)、USBバススイッチ制御部44は、図6に示したように、USBバススイッチ13の端子Aと端子Bとが接続されるような切替制御を行う(ステップS304)。
If the connection detection flag is off (no in step S303), the USB bus
次に、切替回路内蔵USBデバイスから画像形成装置30に対してステータス情報を送信するための送信処理を図9のフローチャートを参照して説明する。
Next, transmission processing for transmitting status information from the USB device with built-in switching circuit to the
切替制御部11におけるUSB通信制御部43は、USB通信を介して画像形成装置30からステータス情報の送信要求を受信すると(ステップS401においてyes)、接続状態管理部42に管理されているステータス情報を画像形成装置30に送信する(ステップS402)。
When the USB
次に、画像形成装置30からの切替指示に基づいて切替制御を行う際の、USBバススイッチ13の切替処理を図10のフローチャートを参照して説明する。
Next, switching processing of the
USBバススイッチ13を介してUSBコネクタ14とEEPROM12とが接続された状態において、USB通信制御部43が画像形成装置30から汎用USBデバイス20への切替指示を受信すると(ステップS501)、USB通信制御部43はEEPROM12の接続解除処理を行う(ステップS502)。そして、USBバススイッチ制御部44は、USBバススイッチ13を制御して、端子Aと端子Cとが接続されるよう切替える(ステップS503)。
When the USB
本実施形態の切替回路内蔵USBデバイス10は、汎用USBメモリ20が接続された状態では、画像形成装置30からの切替指示に基づいて、USBに接続されるメモリを、EEPROM12からNAND型フラッシュメモリ21へ切替えたり、NAND型フラッシュメモリ21からEEPROM12へ切替えたりすることが可能な構成となっている。
When the general-
次に、画像形成装置30が、USBに接続されるメモリをEEPROM12からNAND型フラッシュメモリ21へ切替え、その後にNAND型フラッシュメモリ21からEEPROM12に切替える際の動作を図11のシーケンスチャートを参照して説明する。
Next, the operation when the
先ず、画像形成装置30では、汎用USBデバイス20が切替回路内蔵USBデバイス10に接続されていることを確認するために、切替回路内蔵USBデバイス10に対してステータス情報の送信要求を行う(ステップS601)。
First, in the
すると、このステータス情報の送信要求を受信した切替回路内蔵USBデバイス10は、接続状態管理部42において管理されているステータス情報を画像形成装置30に送信する(ステップS602)。
Then, the switching circuit built-in
このステータス情報の接続検知フラグにより汎用USBデバイス20が切替回路内蔵USBデバイス10に接続されていることを確認した画像形成装置30は、接続するメモリをEEPROM12からNAND型フラッシュメモリ21へ切替える旨の切替指示を切替回路内蔵USBデバイス10に送信する(ステップS603)。
The
この切替指示を受信した切替回路内蔵USBデバイス10では、USBバススイッチ13において接続端子Aと接続端子Cとを接続するような切替処理が行われる(ステップS604)。
In the switching circuit built-in
この結果、NAND型フラッシュメモリ21がUSBコネクタ14と接続され、画像形成装置30は、汎用USBメモリ20との間でUSB通信を行って、NAND型フラッシュメモリ21内のオプションソフトウェア等の大容量のデータを読み取ることが可能となる(ステップS605)。
As a result, the
その後、画像形成装置30が、EEPROM12内の認証キー等のデータを入手しようとした場合、汎用USBデバイス20に対して接続解除指示を行う(ステップS606)。
Thereafter, when the
すると、汎用USBデバイス20は、USBラインから接続を切り離す処理を実行する(ステップS607)。
Then, the general-
その結果、切替回路内蔵USBデバイス10の接続検出部41は、USBコネクタ15にUSB装置が接続されていない状態であることを検出し、ステータス情報の接続検知フラグはオフとなる(ステップS608)。
As a result, the connection detection unit 41 of the switching circuit built-in
そのため、USBバススイッチ制御部44は、USBバススイッチ13を、接続端子Aと接続端子Bとが接続されるような切替処理を行う(ステップS609)。
Therefore, the USB bus
この結果、図12に示すように、EEPROM12がUSBコネクタ14と接続され、画像形成装置30は、切替回路内蔵USBデバイス10との間でUSB通信を行って、EEPROM12内の認証キー等の重要なデータを読み取ることが可能となる(ステップS610)。
As a result, as shown in FIG. 12, the
EEPROM12内に格納されているデータの種類によっては、画像形成装置30が一度だけ読み込めばいいわけではなく、電源オンする毎、省電力モードから復帰する毎、動作中のある特定のタイミング毎に読み込む必要がある場合もある。このような場合、その度毎にユーザがUSB装置の抜き差しをしたのでは動作に支障が起きる可能性がある。
Depending on the type of data stored in the
そのため、上記で説明したように画像形成装置30が、EEPROM12内に格納されているデータまたはNAND型フラッシュメモリ21内に格納されているデータを選択的に読み込むことができるようにすることにより、ユーザがUSB装置の抜き差しを行う手間を省くとともに人為的なミスの発生を防ぐことにもなる。
Therefore, as described above, the
[変形例]
上記実施形態では、USB通信を介して画像形成装置30と切替回路内蔵USBデバイス10、汎用USBデバイス20との間を接続してデータの送受信を行う場合を用いて説明したが、本発明はこれに限定されるものではなく、USB規格以外の通信規格を用いた通信によりデータの送受信を行う場合でも同様に本発明を適用することができるものである。
[Modification]
In the above-described embodiment, the case where the
10 切替回路内蔵USBデバイス
11 切替制御部
12 EEPROM
13 USBバススイッチ
14 USBコネクタ
15 USBコネクタ
20 汎用USBデバイス
21 NAND型フラッシュメモリ
22 USB通信制御部
30 画像形成装置
31 USBコネクタ
32 CPU
40 端末装置
41 接続検出部
42 接続状態管理部
43 USB通信制御部
44 USBバススイッチ制御部
50 ネットワーク
10 USB device with built-in switching circuit 11
DESCRIPTION OF
40 Terminal Device 41
Claims (5)
外部装置と接続する第1接続部と、
第2メモリを格納した装置と接続する第2接続部と、
前記第2接続部に装置が接続されているか否かを検出する検出手段を有する切替回路と、
前記第2接続部に装置が接続されている場合、前記切替回路を、前記第1接続部と前記第2メモリとが接続されるよう切替え、前記第2接続部に装置が接続されていない場合、前記切替回路を、前記第1接続部と前記第1メモリとが接続されるよう切替える切替制御手段とを有し、
前記切替制御手段は、前記外部装置から前記第1メモリへの切替指示を受信した場合、前記第2接続部に装置が接続されている場合でも、前記切替回路を前記第1接続部と前記第1メモリとが接続されるように切替える接続制御装置。 A first memory;
A first connection unit connected to an external device;
A second connection for connecting to the device storing the second memory;
A switching circuit having detection means for detecting whether or not a device is connected to the second connection unit;
When the device is connected to the second connection unit, the switching circuit is switched so that the first connection unit and the second memory are connected, and the device is not connected to the second connection unit. And a switching control means for switching the switching circuit so that the first connection unit and the first memory are connected ,
When the switching control means receives an instruction to switch to the first memory from the external device, even when a device is connected to the second connection unit, the switching control unit connects the switching circuit with the first connection unit and the first connection unit. A connection control device for switching so that one memory is connected .
接続対象の装置に接続するための第1の接続部と、
前記第1の不揮発性記憶手段よりも信頼性の低い第2の不揮発性記憶手段を格納した装置と接続するための第2の接続部と、
前記第2の接続部に他の装置が接続されているか否かを検出する検出手段を有し、前記第1の接続部を、前記第2の接続部または前記第1の不揮発性記憶手段との間で切替えて接続するための切替回路と、
前記第2の接続部に他の装置が接続されていない場合、前記切替回路を前記第1の接続部と前記第1の不揮発性記憶手段とが接続されるように切替える制御を行い、前記第2の接続部に他の装置が接続されている場合、前記切替回路を前記第1の接続部と前記第2の接続部とが接続されるよう切替える制御を行う接続切替制御手段とを有し、
前記接続切替制御手段は、前記接続対象の装置から前記第1の不揮発性記憶手段への切替え指示を受信した場合、前記第2の接続部に他の装置が接続されている場合でも、前記切替回路を前記第1の接続部と前記第1の不揮発性記憶手段とが接続されるように切替える制御を行う接続制御装置。 First non-volatile storage means;
A first connection for connecting to a device to be connected;
A second connection portion for connecting to a device storing a second nonvolatile memory means having lower reliability than the first nonvolatile memory means;
It has a detection means for detecting whether or not another device is connected to the second connection portion, and the first connection portion is connected to the second connection portion or the first nonvolatile storage means. A switching circuit for switching between and connecting,
When no other device is connected to the second connection unit, the switching circuit is controlled to be connected so that the first connection unit and the first nonvolatile storage unit are connected, If another device on the second connection portion are connected, and a connection switching control means for controlling to switch to the switching circuit and the first connecting portion and the second connecting portion are connected ,
The connection switching control means receives the switching instruction from the device to be connected to the first nonvolatile storage means, and even when another device is connected to the second connection unit, the switching A connection control device that performs control to switch a circuit so that the first connection unit and the first nonvolatile storage unit are connected .
接続対象の装置に接続するための第1のUSBコネクタと、
前記第1の不揮発性記憶手段よりも信頼性の低い第2の不揮発性記憶手段を格納したUSB装置と接続するための第2のUSBコネクタと、
前記第2のUSBコネクタに他のUSB装置が接続されているか否かを検出する検出手段を有し、前記第1のUSBコネクタを、前記第2のUSBコネクタまたは前記第1の不揮発性記憶手段との間で切替えて接続するためのUSBバス切替回路と、
前記第2のUSBコネクタに他のUSB装置が接続されていない場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行い、前記第2のUSBコネクタに他のUSB装置が接続されている場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第2のUSBコネクタとが接続されるように切替える制御を行う接続切替制御手段とを有し、
前記接続切替制御手段は、前記接続対象の装置から、第1の不揮発性記憶手段への切替指示を受信した場合、前記第2のUSBコネクタに他のUSB装置が接続されている場合でも、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行うUSB接続装置。 First non-volatile storage means;
A first USB connector for connecting to a device to be connected;
A second USB connector for connecting to a USB device storing a second nonvolatile storage means having lower reliability than the first nonvolatile storage means;
And detecting means for detecting whether or not another USB device is connected to the second USB connector, wherein the first USB connector is connected to the second USB connector or the first nonvolatile storage means. A USB bus switching circuit for switching between and connecting to,
When no other USB device is connected to the second USB connector, control is performed to switch the USB bus switching circuit so that the first USB connector and the first nonvolatile storage means are connected. Connection for performing control to switch the USB bus switching circuit so that the first USB connector and the second USB connector are connected when another USB device is connected to the second USB connector Switching control means ,
The connection switching control unit receives the switching instruction to the first nonvolatile storage unit from the connection target device, and even when another USB device is connected to the second USB connector, A USB connection device that performs control to switch a USB bus switching circuit so that the first USB connector and the first nonvolatile storage unit are connected .
前記検出手段により検出された他のUSB装置の前記第2のUSBコネクタへの接続状態を接続状態情報として管理する管理手段と、
前記管理手段における前記接続状態情報が、前記第2のUSBコネクタに他のUSB装置が接続されていないことを示している場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行い、前記第2のUSBコネクタに他のUSB装置が接続されていることを示している場合、前記USBバス切替回路を前記第1のUSBコネクタと前記第2のUSBコネクタを接続するよう制御し、前記接続対象の装置から、第1の不揮発性記憶手段への切り替え指示を受信した場合、前記第2のUSBコネクタに他のUSB装置が接続されていることを示している場合でも、前記USBバス切替回路を前記第1のUSBコネクタと前記第1の不揮発性記憶手段とが接続されるように切替える制御を行うUSBバス切替回路制御手段と、
接続対象のUSB装置との間でUSB通信を行い、前記接続対象のUSB装置からの要求に基づいて、前記管理手段に管理されている前記接続状態情報を前記接続対象のUSB装置に転送する通信制御手段とを有する請求項3記載のUSB接続装置。 The connection switching control means;
Management means for managing the connection state of the other USB device detected by the detection means to the second USB connector as connection state information;
When the connection state information in the management means indicates that no other USB device is connected to the second USB connector, the USB bus switching circuit is connected to the first USB connector and the first USB connector. If the control is performed so that the non-volatile storage means is connected, and the other USB device is connected to the second USB connector, the USB bus switching circuit is connected to the first USB. When control is performed to connect the connector and the second USB connector and a switching instruction to the first nonvolatile storage means is received from the connection target device, another USB device is connected to the second USB connector. Even in the case where connection is indicated, the USB bus switching circuit is connected to the first USB connector and the first nonvolatile storage means. A USB bus switching circuit control means for changing control,
Communication that performs USB communication with a USB device to be connected, and transfers the connection status information managed by the management means to the USB device to be connected based on a request from the USB device to be connected The USB connection device according to claim 3 , further comprising a control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014250719A JP5880905B1 (en) | 2014-12-11 | 2014-12-11 | Connection control device and USB connection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014250719A JP5880905B1 (en) | 2014-12-11 | 2014-12-11 | Connection control device and USB connection device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP5880905B1 true JP5880905B1 (en) | 2016-03-09 |
JP2016114972A JP2016114972A (en) | 2016-06-23 |
Family
ID=55453354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014250719A Active JP5880905B1 (en) | 2014-12-11 | 2014-12-11 | Connection control device and USB connection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5880905B1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05134817A (en) * | 1991-11-13 | 1993-06-01 | Nec Corp | Information processor |
JP2001282508A (en) * | 2000-03-28 | 2001-10-12 | Asahi Optical Co Ltd | Image data input device |
JP2002215338A (en) * | 2001-01-16 | 2002-08-02 | Tokyu Car Corp | Information processing system |
JP2003150285A (en) * | 2001-11-13 | 2003-05-23 | Nec Access Technica Ltd | Usb peripheral equipment setup device |
JP2004029885A (en) * | 2002-06-21 | 2004-01-29 | Sharp Corp | Connecting device |
JP2013050859A (en) * | 2011-08-31 | 2013-03-14 | Nec Access Technica Ltd | Usb device and control method of usb device |
-
2014
- 2014-12-11 JP JP2014250719A patent/JP5880905B1/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05134817A (en) * | 1991-11-13 | 1993-06-01 | Nec Corp | Information processor |
JP2001282508A (en) * | 2000-03-28 | 2001-10-12 | Asahi Optical Co Ltd | Image data input device |
JP2002215338A (en) * | 2001-01-16 | 2002-08-02 | Tokyu Car Corp | Information processing system |
JP2003150285A (en) * | 2001-11-13 | 2003-05-23 | Nec Access Technica Ltd | Usb peripheral equipment setup device |
JP2004029885A (en) * | 2002-06-21 | 2004-01-29 | Sharp Corp | Connecting device |
JP2013050859A (en) * | 2011-08-31 | 2013-03-14 | Nec Access Technica Ltd | Usb device and control method of usb device |
Also Published As
Publication number | Publication date |
---|---|
JP2016114972A (en) | 2016-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102665022A (en) | Information processing apparatus capable of appropriately executing shutdown processing, and method of controlling the information processing apparatus | |
JP2015174375A (en) | Image forming device and control method for the same, and program | |
CN104604212A (en) | Communication control apparatus and method for controlling the same | |
JP2009176152A (en) | Information processing apparatus | |
JP2011232973A (en) | Peripheral device and method of connecting peripheral device with host device | |
JP4976839B2 (en) | Electronic device and control method thereof | |
CN104219409A (en) | Image forming apparatus having hibernation function, control method therefor, and storage medium | |
CN105391893B (en) | Printing equipment and print system | |
JP5880905B1 (en) | Connection control device and USB connection device | |
JP2019113933A (en) | Electronic device, control method in electronic device, and program | |
JP6569631B2 (en) | Electronic device and HDD disconnection program | |
JP2006185359A (en) | Usb appliance system, digital printer and digital camera | |
JP2007034614A (en) | Communication device and control method | |
JP6172182B2 (en) | Program, information processing apparatus, output management system, and output management method | |
JP2017212529A (en) | Image formation apparatus, firmware update method and computer program | |
JP2013047994A (en) | Peripheral device, and connection method of host device and peripheral device | |
CN103092794B (en) | Transmission method and electronic equipment | |
JP2009205561A (en) | Usb connection device, and method of vbus output control in usb connection device | |
JP6969298B2 (en) | Communication equipment, restoration method, restoration program and image forming equipment | |
EP3267591B1 (en) | Communication system, communication method, and image forming device | |
JP2016127313A (en) | Information processing unit, memory control method and program of information processing unit | |
JP2015215643A (en) | Electronic equipment and recovery control method from power saving state | |
US20170270021A1 (en) | Repair of failed firmware through an unmodified dual-role communication port | |
JP2020016927A (en) | Information processing device, and control method and program of information processing device | |
JP2006085248A (en) | Portable apparatus having host function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160106 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160119 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5880905 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |