JP5880905B1 - Connection control device and USB connection device - Google Patents

Connection control device and USB connection device Download PDF

Info

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
Application number
JP2014250719A
Other languages
Japanese (ja)
Other versions
JP2016114972A (en
Inventor
毅 堀川
毅 堀川
麻人 塩安
麻人 塩安
平山 雄也
雄也 平山
梨佐 佐伯
梨佐 佐伯
陽太 高橋
陽太 高橋
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2014250719A priority Critical patent/JP5880905B1/en
Application granted granted Critical
Publication of JP5880905B1 publication Critical patent/JP5880905B1/en
Publication of JP2016114972A publication Critical patent/JP2016114972A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Document 1, when two types of lines such as a USB interface line are selectively switched and connected, it is detected that a device is connected to the USB interface line and the line is automatically switched. An interface selector is disclosed.

特許文献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.

特開2001−296939号公報JP 2001-296939 A 特開2002−222159号公報JP 2002-222159 A 特開2004−334823号公報JP 2004-334823 A 特開2006−202234号公報JP 2006-202234 A

パーソナルコンピュータ、プリンタ等の装置に外部からデータを取り込むために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 claim 1 includes 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 ,
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 .

請求項に係る本発明は、第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接続装置]
請求項に係る本発明は、第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 .

請求項に係る本発明は、前記接続切替制御手段が、
前記第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装置に転送する通信制御手段とを有する請求項記載の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.

請求項に係る本発明は、前記第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.

請求項に係る本発明によれば、接続対象の装置に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.

請求項に係る本発明によれば、接続対象の装置に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.

請求項に係る本発明によれば、接続対象の装置に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.

請求項に係る本発明によれば、接続対象の装置に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.

本発明の一実施形態の切替回路内蔵USBデバイス(USB接続装置)10を用いるシステムのシステム構成を示す図である。1 is a diagram illustrating 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. FIG. 本発明の一実施形態の切替回路内蔵USBデバイス10のハードウェア構成を説明するための図である。It is a figure for demonstrating the hardware constitutions of the USB device 10 with a built-in switching circuit of one Embodiment of this invention. 図2中の切替制御部11の構成を示すブロック図である。It is a block diagram which shows the structure of the switching control part 11 in FIG. 接続検出部41により行われる接続検出処理を説明するためのフローチャートである。4 is a flowchart for explaining connection detection processing performed by a connection detection unit 41; 切替回路内蔵USBデバイス10を画像形成装置30に接続した際の動作を説明するためのフローチャートである。6 is a flowchart for explaining an operation when the switching circuit built-in USB device 10 is connected to the image forming apparatus 30. 汎用USBメモリ20が接続されていない状態の切替回路内蔵USBデバイス10を示す図である。It is a figure which shows the switching device built-in USB device 10 in the state where the general purpose USB memory 20 is not connected. USBバススイッチ13の切替処理を説明するためのフローチャートである。4 is a flowchart for explaining switching processing of a USB bus switch 13; 汎用USBメモリ20が接続された場合の切替回路内蔵USBデバイス10の様子を示す図である。It is a figure which shows the mode of the USB device 10 with a switching circuit when the general purpose USB memory 20 is connected. 切替回路内蔵USBデバイスから画像形成装置30に対してステータス情報を送信するための送信処理を説明するためのフローチャートである。10 is a flowchart for explaining a transmission process for transmitting status information from the USB device with built-in switching circuit to the image forming apparatus 30. 画像形成装置30からの切替指示に基づいて切替制御を行う際の、USBバススイッチ13の切替処理を図説明するためのフローチャートである。4 is a flowchart for illustrating switching processing of a USB bus switch 13 when switching control is performed based on a switching instruction from the image forming apparatus 30. 画像形成装置30が、USBに接続されるメモリをEEPROM12からNAND型フラッシュメモリ21へ切替え、その後にNAND型フラッシュメモリ21からEEPROM12に切替える際の動作を説明するためのシーケンスチャートである。6 is a sequence chart for explaining an operation when the image forming apparatus 30 switches the memory connected to the USB from the EEPROM 12 to the NAND flash memory 21 and then switches from the NAND flash memory 21 to the EEPROM 12. EEPROM12がUSBコネクタ14と接続された切替回路内蔵USBデバイス10の様子を示す図である。2 is a diagram showing a state of a switching circuit built-in USB device 10 in which an EEPROM 12 is connected to a USB connector 14. FIG.

次に、本発明の実施の形態について図面を参照して詳細に説明する。   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 image forming apparatus 30 and the terminal device 40 are connected by a network 50. The switching device built-in USB device 10 of this embodiment is configured to be connected to a USB (Universal Serial Bus) terminal of the image forming apparatus 30.

本実施形態の切替回路内蔵USBデバイス10には、オス型のUSBコネクタとメス型のUSBコネクタとが設けられていて、オス型のUSBコネクタを画像形成装置30に挿入し、メス型のUSBコネクタには、一般的なUSBメモリ等の汎用USBデバイス20を接続するような構成となっている。   The USB device 10 with built-in switching circuit of the present embodiment is provided with a male USB connector and a female USB connector. The male USB connector is inserted into the image forming apparatus 30, and the female USB connector is inserted. Is configured to connect a general-purpose USB device 20 such as a general USB memory.

なお、端末装置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 network 50 to the image forming apparatus 30. The image forming apparatus 30 is a device to be connected to the switching device built-in USB device 10 according to the present embodiment. The image forming apparatus 30 receives print data transmitted from the terminal device 40 and outputs an image corresponding to the print data on a sheet. To do. The image forming apparatus 30 is an apparatus called a so-called multifunction machine having a plurality of functions such as a print function, a scan function, a copy function, and a facsimile function.

そして、本実施形態の切替回路内蔵USBデバイス10は、EEPROM(Electrically Erasable Programmable Read Only Memory)を内臓している。EEPROMは、汎用USBデバイスである一般的なUSBメモリ等に使用されているNAND型フラッシュメモリよりも信頼性が高い。なお、信頼性の高いメモリとしては、EEPROM以外にもNOR型フラッシュメモリ等のメモリがある。   The switching device built-in USB device 10 of this embodiment incorporates an EEPROM (Electrically Erasable Programmable Read Only Memory). The EEPROM has higher reliability than the NAND flash memory used for a general USB memory which is a general-purpose USB device. As a highly reliable memory, there is a memory such as a NOR flash memory in addition to the EEPROM.

次に、本実施形態の切替回路内蔵USBデバイス10のハードウェア構成を図2を参照して説明する。   Next, the hardware configuration of the switching circuit built-in USB device 10 of this embodiment will be described with reference to FIG.

本実施形態の切替回路内蔵USBデバイス10は、図2に示すように、オス型のUSBコネクタ(第1のUSBコネクタ)14と、メス型のUSBコネクタ(第2のUSBコネクタ)15と、切替制御部11と、信頼性の高いメモリであるEEPROM(第1の不揮発性記憶手段)12と、USBバススイッチ13とを備えている。   As shown in FIG. 2, the USB device 10 with a built-in switching circuit according to the present embodiment is switched between a male USB connector (first USB connector) 14 and a female USB connector (second USB connector) 15. The controller 11 includes an EEPROM (first nonvolatile storage means) 12 that is a highly reliable memory, and a USB bus switch 13.

オス型のUSBコネクタ14は、接続対象の装置である画像形成装置30のUSBコネクタ31に接続するための接続部である。   The male USB connector 14 is a connection unit for connecting to the USB connector 31 of the image forming apparatus 30 that is a connection target apparatus.

USBコネクタ15は、EEPROM12よりも信頼性の低いNAND型フラッシュメモリ21を格納した汎用USBデバイス20と接続するための接続部である。   The USB connector 15 is a connection unit for connecting to a general-purpose USB device 20 that stores a NAND flash memory 21 that is less reliable than the EEPROM 12.

切替制御部(接続切替制御手段)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 connector 15, the USB bus switch 13 is connected to the USB connector 14 and the EEPROM 12. Perform switching control. That is, the switching control unit 11 performs switching control such that the A terminal and the B terminal of the USB bus switch 13 are connected.

なお、USBコネクタ14とEEPROM12とを接続するとは、USBコネクタ14とEEPROM12とを電気的に直接接続するという意味ではなく、USBコネクタ14からEEPROM12に対してデータの読取・書込みが可能なように設定するということを意味する。   Note that connecting the USB connector 14 and the EEPROM 12 does not mean that the USB connector 14 and the EEPROM 12 are electrically connected directly, but is set so that data can be read and written from the USB connector 14 to the EEPROM 12. It means to do.

そして、切替制御部11は、USBコネクタ15に他のUSB装置が接続されている場合、USBバススイッチ13をUSBコネクタ14とUSBコネクタ15とが接続されるように切替える制御を行う。つまり、切替制御部11は、USBバススイッチ13のA端子とC端子とが接続されるような切替制御を行う。   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. That is, the switching control unit 11 performs switching control such that the A terminal and the C terminal of the USB bus switch 13 are connected.

さらに、切替制御部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 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.

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 connector 15 or the EEPROM 12.

また、切替回路内蔵USBデバイス10の接続対象の装置である画像形成装置30は、メス型のUSBコネクタ31と、CPU32とを備えている。   In addition, the image forming apparatus 30 that is a connection target device of the USB device 10 with a built-in switching circuit includes a female USB connector 31 and a CPU 32.

また、汎用USBデバイス20は、EEPROM12と比較して信頼性の低いNAND型フラッシュメモリ21と、USB通信制御部22とを備えている。   The general-purpose USB device 20 includes a NAND flash memory 21 that is less reliable than the EEPROM 12 and a USB communication controller 22.

USB通信制御部22は、USB通信を介してNAND型フラッシュメモリ21内のデータを読み出して外部に送信したり、外部からのデータを受信してNAND型フラッシュメモリ21に書き込む等の制御を行っている。   The USB communication control unit 22 performs control such as reading data in the NAND flash memory 21 via USB communication and transmitting the data to the outside, or receiving data from the outside and writing it in the NAND flash memory 21. Yes.

また、切替制御部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 state management unit 42, a USB communication control unit 43, and a USB bus switch control unit 44.

接続検出部41は、USBコネクタ15に他のUSB装置が接続されているか否かを検出する。   The connection detection unit 41 detects whether another USB device is connected to the USB connector 15.

接続状態管理部42は、接続検出部41により検出された他のUSB装置のUSBコネクタ15への接続状態をステータス情報(接続状態情報)として管理する。なお、具体的には、接続状態管理部42は、USBコネクタ15に他のUSB装置が接続されている場合には、ステータス情報の接続検知フラグをオンとし、USBコネクタ15に他のUSB装置が接続されていない場合には、ステータス情報の接続検知フラグをオフとする。   The connection state management unit 42 manages the connection state of the other USB device detected by the connection detection unit 41 with the USB connector 15 as status information (connection state information). Specifically, when another USB device is connected to the USB connector 15, the connection state management unit 42 turns on the connection detection flag in the status information, and the other USB device is connected to the USB connector 15. If not connected, the connection detection flag in the status information is turned off.

USB通信制御部43は、接続対象の装置である画像形成装置30との間でUSB通信を行い、画像形成装置30からの要求に基づいて、接続状態管理部42に管理されているステータス情報を画像形成装置30に転送する。   The USB communication control unit 43 performs USB communication with the image forming apparatus 30 that is a connection target apparatus, and receives status information managed by the connection state management unit 42 based on a request from the image forming apparatus 30. The image is transferred to the image forming apparatus 30.

USBバススイッチ制御部44は、接続状態管理部42におけるステータス情報が、USBコネクタ15に他のUSB装置が接続されていないことを示している場合、つまり接続検知フラグがオフの場合、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。   When the status information in the connection state management unit 42 indicates that no other USB device is connected to the USB connector 15, that is, when the connection detection flag is OFF, the USB bus switch control unit 44 13 is controlled so that the USB connector 14 and the EEPROM 12 are connected.

また、USBバススイッチ制御部44は、接続状態管理部42におけるステータス情報が、USBコネクタ15に他のUSB装置が接続されていることを示している場合、つまり接続検知フラグがオフの場合、USBバススイッチ13をUSBコネクタ14とUSBコネクタ15を接続するよう制御する。   Further, the USB bus switch control unit 44 determines that the status information in the connection state management unit 42 indicates that another USB device is connected to the USB connector 15, that is, if the connection detection flag is OFF. The bus switch 13 is controlled to connect the USB connector 14 and the USB connector 15.

さらに、USBバススイッチ制御部44は、接続対象の装置である画像形成装置30から、EEPROM12への切り替え指示を受信した場合、ステータス情報の接続検知フラグがオンの場合でも、USBバススイッチ13をUSBコネクタ14とEEPROM12とが接続されるように切替える制御を行う。   Further, when the USB bus switch control unit 44 receives an instruction to switch to the EEPROM 12 from the image forming apparatus 30 that is a connection target device, the USB bus switch control unit 44 sets the USB bus switch 13 to USB Control is performed so that the connector 14 and the EEPROM 12 are connected.

次に、図面を参照して本実施形態の切替回路内蔵USBデバイス10の動作を詳細に説明する。   Next, the operation of the switching device built-in USB device 10 of this embodiment will be described in detail with reference to the drawings.

先ず、図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-purpose USB device 20 is connected to the USB connector 15 by monitoring the USB line (step S101).

そして、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 state management unit 42 turns on the connection detection flag of the managed status information ( Step S103).

なお、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 state management unit 42 turns off the connection detection flag of the managed status information ( Step S104).

次に、切替回路内蔵USBデバイス10を画像形成装置30に接続した際の動作を図5を参照して説明する。   Next, operations when the switching circuit built-in USB device 10 is connected to the image forming apparatus 30 will be described with reference to FIG.

汎用USBデバイス20が接続されていない切替回路内蔵USBデバイス10を画像形成装置30に接続すると(ステップS201)、USBコネクタ15には他のUSB装置が接続されていないため、切替制御部11は、図6に示すように、USBバススイッチ13の端子Aと端子Bとが接続されるような切替制御を行う(ステップS202)。   When the switching circuit built-in USB device 10 to which the general-purpose USB device 20 is not connected is connected to the image forming apparatus 30 (step S201), since no other USB device is connected to the USB connector 15, the switching control unit 11 As shown in FIG. 6, switching control is performed such that the terminal A and the terminal B of the USB bus switch 13 are connected (step S202).

その結果、USBコネクタ14は切替制御部11を介してEEPROM12と接続されUSB動作が開始される(ステップS203)。   As a result, the USB connector 14 is connected to the EEPROM 12 via the switching control unit 11 and the USB operation is started (step S203).

次に、USBバススイッチ13の切替処理を図7のフローチャートを参照して説明する。   Next, switching processing of the USB bus switch 13 will be described with reference to the flowchart of FIG.

切替制御部11におけるUSBバススイッチ制御部44は、接続状態管理部42のステータス情報における接続検知フラグの状態を一定間隔で把握して、接続検知フラグが変化していないかを監視している(ステップS301、S302)。   The USB bus switch control unit 44 in the switching control unit 11 grasps the state of the connection detection flag in the status information of the connection state management unit 42 at regular intervals and monitors whether the connection detection flag has changed ( Steps S301 and S302).

そして、接続検知フラグが変化した場合(ステップS302においてyes)、USBバススイッチ制御部44は、その接続検知フラグがオン状態であれば(ステップS303においてyes)、USBバススイッチ13の端子Aと端子Cとが接続されるような切替制御を行う(ステップS305)。   If the connection detection flag changes (yes in step S302), the USB bus switch control unit 44 determines that the connection detection flag is in the on state (yes in step S303), and the terminal A and the terminal of the USB bus switch 13 Switching control is performed such that C is connected (step S305).

つまり、汎用USBメモリ20が切替回路内蔵USBデバイス10に接続された場合には、図8に示すように、USBコネクタ14とUSBコネクタ15とが接続された状態となる。   That is, when the general-purpose USB memory 20 is connected to the switching circuit built-in USB device 10, the USB connector 14 and the USB connector 15 are connected as shown in FIG.

また、接続検知フラグがオフ状態の場合には(ステップS303においてno)、USBバススイッチ制御部44は、図6に示したように、USBバススイッチ13の端子Aと端子Bとが接続されるような切替制御を行う(ステップS304)。   If the connection detection flag is off (no in step S303), the USB bus switch control unit 44 connects the terminal A and the terminal B of the USB bus switch 13 as shown in FIG. Such switching control is performed (step S304).

次に、切替回路内蔵USBデバイスから画像形成装置30に対してステータス情報を送信するための送信処理を図9のフローチャートを参照して説明する。   Next, transmission processing for transmitting status information from the USB device with built-in switching circuit to the image forming apparatus 30 will be described with reference to the flowchart of FIG.

切替制御部11におけるUSB通信制御部43は、USB通信を介して画像形成装置30からステータス情報の送信要求を受信すると(ステップS401においてyes)、接続状態管理部42に管理されているステータス情報を画像形成装置30に送信する(ステップS402)。   When the USB communication control unit 43 in the switching control unit 11 receives a status information transmission request from the image forming apparatus 30 via USB communication (yes in step S401), the USB communication control unit 43 displays the status information managed by the connection state management unit 42. The image is transmitted to the image forming apparatus 30 (step S402).

次に、画像形成装置30からの切替指示に基づいて切替制御を行う際の、USBバススイッチ13の切替処理を図10のフローチャートを参照して説明する。   Next, switching processing of the USB bus switch 13 when switching control is performed based on a switching instruction from the image forming apparatus 30 will be described with reference to a flowchart of FIG.

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 communication control unit 43 receives a switching instruction from the image forming apparatus 30 to the general-purpose USB device 20 in a state where the USB connector 14 and the EEPROM 12 are connected via the USB bus switch 13 (step S501), USB communication control is performed. The unit 43 performs a connection release process of the EEPROM 12 (step S502). Then, the USB bus switch control unit 44 controls the USB bus switch 13 to switch the terminal A and the terminal C so as to be connected (step S503).

本実施形態の切替回路内蔵USBデバイス10は、汎用USBメモリ20が接続された状態では、画像形成装置30からの切替指示に基づいて、USBに接続されるメモリを、EEPROM12からNAND型フラッシュメモリ21へ切替えたり、NAND型フラッシュメモリ21からEEPROM12へ切替えたりすることが可能な構成となっている。   When the general-purpose USB memory 20 is connected, the USB device 10 with a built-in switching circuit according to the present embodiment changes the memory connected to the USB from the EEPROM 12 to the NAND flash memory 21 based on a switching instruction from the image forming apparatus 30. Or the NAND flash memory 21 can be switched to the EEPROM 12.

次に、画像形成装置30が、USBに接続されるメモリをEEPROM12からNAND型フラッシュメモリ21へ切替え、その後にNAND型フラッシュメモリ21からEEPROM12に切替える際の動作を図11のシーケンスチャートを参照して説明する。   Next, the operation when the image forming apparatus 30 switches the memory connected to the USB from the EEPROM 12 to the NAND flash memory 21 and then switches from the NAND flash memory 21 to the EEPROM 12 will be described with reference to the sequence chart of FIG. explain.

先ず、画像形成装置30では、汎用USBデバイス20が切替回路内蔵USBデバイス10に接続されていることを確認するために、切替回路内蔵USBデバイス10に対してステータス情報の送信要求を行う(ステップS601)。   First, in the image forming apparatus 30, in order to confirm that the general-purpose USB device 20 is connected to the switching device built-in USB device 10, a request for transmission of status information is made to the switching circuit built-in USB device 10 (step S601). ).

すると、このステータス情報の送信要求を受信した切替回路内蔵USBデバイス10は、接続状態管理部42において管理されているステータス情報を画像形成装置30に送信する(ステップS602)。   Then, the switching circuit built-in USB device 10 that has received the status information transmission request transmits the status information managed by the connection state management unit 42 to the image forming apparatus 30 (step S602).

このステータス情報の接続検知フラグにより汎用USBデバイス20が切替回路内蔵USBデバイス10に接続されていることを確認した画像形成装置30は、接続するメモリをEEPROM12からNAND型フラッシュメモリ21へ切替える旨の切替指示を切替回路内蔵USBデバイス10に送信する(ステップS603)。   The image forming apparatus 30 that has confirmed that the general-purpose USB device 20 is connected to the USB device 10 with a built-in switching circuit based on the connection detection flag of the status information switches the memory to be connected from the EEPROM 12 to the NAND flash memory 21. The instruction is transmitted to the switching device built-in USB device 10 (step S603).

この切替指示を受信した切替回路内蔵USBデバイス10では、USBバススイッチ13において接続端子Aと接続端子Cとを接続するような切替処理が行われる(ステップS604)。   In the switching circuit built-in USB device 10 that has received this switching instruction, the USB bus switch 13 performs a switching process to connect the connection terminal A and the connection terminal C (step S604).

この結果、NAND型フラッシュメモリ21がUSBコネクタ14と接続され、画像形成装置30は、汎用USBメモリ20との間でUSB通信を行って、NAND型フラッシュメモリ21内のオプションソフトウェア等の大容量のデータを読み取ることが可能となる(ステップS605)。   As a result, the NAND flash memory 21 is connected to the USB connector 14, and the image forming apparatus 30 performs USB communication with the general-purpose USB memory 20, and has a large capacity such as optional software in the NAND flash memory 21. Data can be read (step S605).

その後、画像形成装置30が、EEPROM12内の認証キー等のデータを入手しようとした場合、汎用USBデバイス20に対して接続解除指示を行う(ステップS606)。   Thereafter, when the image forming apparatus 30 tries to obtain data such as an authentication key in the EEPROM 12, the general USB device 20 is instructed to release the connection (step S606).

すると、汎用USBデバイス20は、USBラインから接続を切り離す処理を実行する(ステップS607)。   Then, the general-purpose USB device 20 executes processing for disconnecting the connection from the USB line (step S607).

その結果、切替回路内蔵USBデバイス10の接続検出部41は、USBコネクタ15にUSB装置が接続されていない状態であることを検出し、ステータス情報の接続検知フラグはオフとなる(ステップS608)。   As a result, the connection detection unit 41 of the switching circuit built-in USB device 10 detects that the USB device is not connected to the USB connector 15, and the status information connection detection flag is turned off (step S608).

そのため、USBバススイッチ制御部44は、USBバススイッチ13を、接続端子Aと接続端子Bとが接続されるような切替処理を行う(ステップS609)。   Therefore, the USB bus switch control unit 44 performs a switching process such that the connection terminal A and the connection terminal B are connected to the USB bus switch 13 (step S609).

この結果、図12に示すように、EEPROM12がUSBコネクタ14と接続され、画像形成装置30は、切替回路内蔵USBデバイス10との間でUSB通信を行って、EEPROM12内の認証キー等の重要なデータを読み取ることが可能となる(ステップS610)。   As a result, as shown in FIG. 12, the EEPROM 12 is connected to the USB connector 14, and the image forming apparatus 30 performs USB communication with the USB device 10 with a built-in switching circuit, and the important key such as an authentication key in the EEPROM 12. Data can be read (step S610).

EEPROM12内に格納されているデータの種類によっては、画像形成装置30が一度だけ読み込めばいいわけではなく、電源オンする毎、省電力モードから復帰する毎、動作中のある特定のタイミング毎に読み込む必要がある場合もある。このような場合、その度毎にユーザがUSB装置の抜き差しをしたのでは動作に支障が起きる可能性がある。   Depending on the type of data stored in the EEPROM 12, the image forming apparatus 30 does not have to read only once. It is necessary to read at every specific timing during operation every time the power is turned on or the power saving mode is restored. There can be. In such a case, if the user inserts and removes the USB device each time, there is a possibility that the operation may be hindered.

そのため、上記で説明したように画像形成装置30が、EEPROM12内に格納されているデータまたはNAND型フラッシュメモリ21内に格納されているデータを選択的に読み込むことができるようにすることにより、ユーザがUSB装置の抜き差しを行う手間を省くとともに人為的なミスの発生を防ぐことにもなる。   Therefore, as described above, the image forming apparatus 30 can selectively read the data stored in the EEPROM 12 or the data stored in the NAND flash memory 21, thereby enabling the user to read the data. However, this eliminates the trouble of inserting / removing the USB device and prevents the occurrence of human error.

[変形例]
上記実施形態では、USB通信を介して画像形成装置30と切替回路内蔵USBデバイス10、汎用USBデバイス20との間を接続してデータの送受信を行う場合を用いて説明したが、本発明はこれに限定されるものではなく、USB規格以外の通信規格を用いた通信によりデータの送受信を行う場合でも同様に本発明を適用することができるものである。
[Modification]
In the above-described embodiment, the case where the image forming apparatus 30 is connected to the switching circuit built-in USB device 10 and the general-purpose USB device 20 via USB communication to transmit and receive data has been described. However, the present invention can be similarly applied even when data is transmitted and received by communication using a communication standard other than the USB standard.

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 Switching control unit 12 EEPROM
DESCRIPTION OF SYMBOLS 13 USB bus switch 14 USB connector 15 USB connector 20 General-purpose USB device 21 NAND type flash memory 22 USB communication control part 30 Image forming apparatus 31 USB connector 32 CPU
40 Terminal Device 41 Connection Detection Unit 42 Connection State Management Unit 43 USB Communication Control Unit 44 USB Bus Switch Control Unit 50 Network

Claims (5)

第1メモリと、
外部装置と接続する第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の接続部と、
前記第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の不揮発性記憶手段と、
接続対象の装置に接続するための第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装置に転送する通信制御手段とを有する請求項記載の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.
前記第1の不揮発性記憶手段が、EEPROMである請求項3または4記載のUSB接続装置。 5. The USB connection device according to claim 3 , wherein the first nonvolatile storage means is an EEPROM.
JP2014250719A 2014-12-11 2014-12-11 Connection control device and USB connection device Active JP5880905B1 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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