JP2013047994A - Peripheral device, and connection method of host device and peripheral device - Google Patents

Peripheral device, and connection method of host device and peripheral device Download PDF

Info

Publication number
JP2013047994A
JP2013047994A JP2012265089A JP2012265089A JP2013047994A JP 2013047994 A JP2013047994 A JP 2013047994A JP 2012265089 A JP2012265089 A JP 2012265089A JP 2012265089 A JP2012265089 A JP 2012265089A JP 2013047994 A JP2013047994 A JP 2013047994A
Authority
JP
Japan
Prior art keywords
usb
connection
peripheral device
interface
type
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.)
Granted
Application number
JP2012265089A
Other languages
Japanese (ja)
Other versions
JP5477456B2 (en
JP2013047994A5 (en
Inventor
Takashi Ishii
俊 石井
Tsukasa Ito
司 伊藤
Kenji Kato
賢治 加藤
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.)
Buffalo Inc
Original Assignee
Buffalo Inc
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 Buffalo Inc filed Critical Buffalo Inc
Priority to JP2012265089A priority Critical patent/JP5477456B2/en
Publication of JP2013047994A publication Critical patent/JP2013047994A/en
Publication of JP2013047994A5 publication Critical patent/JP2013047994A5/ja
Application granted granted Critical
Publication of JP5477456B2 publication Critical patent/JP5477456B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology of performing processing for forming a logical connection with a host device again without connecting/disconnecting a physical connection even when a logical connection with the host device has been formed in a peripheral device.SOLUTION: The peripheral device capable of performing data communication with the host device using any one of first kind and second kind interfaces having different specifications related to the data communication includes: a single connection part capable of being selectively connected with a first kind connector or a second kind connector; and a control part for performing initial connection processing of forming a logical connection with the host device using any one of the first kind and second kind interfaces. The control part is further capable of disconnecting the logical connection formed by the initial connection processing and forming a logical connection again with the host device in the state of maintaining a physical connection.

Description

本発明は、ホスト機器に接続される周辺機器、及び、ホスト機器と周辺機器の接続方法に関する。   The present invention relates to a peripheral device connected to a host device, and a connection method between the host device and the peripheral device.

パーソナルコンピュータ等のホスト機器と外部記憶装置等の周辺機器は、種々のインターフェースを介して接続されデータ通信が行われる。このようなインターフェースとして、例えばUSBインターフェースが知られている(例えば、特許文献1)。USBインターフェースとして、USB2.0に準拠したインターフェース(単に、「USB2.0インターフェース」とも呼ぶ。)に加え、近年、USB3.0に準拠したインターフェース(以下、「USB3.0インターフェース」とも呼ぶ。)が普及しつつある。   A host device such as a personal computer and a peripheral device such as an external storage device are connected via various interfaces to perform data communication. For example, a USB interface is known as such an interface (for example, Patent Document 1). As an USB interface, in addition to an interface conforming to USB 2.0 (also simply referred to as “USB 2.0 interface”), an interface conforming to USB 3.0 in recent years (hereinafter also referred to as “USB 3.0 interface”). It is becoming popular.

USB2.0とUSB3.0では、通信モード(半二重方式、全二重方式)や信号線の本数等のデータ通信に関する仕様が異なる。このため、USB2.0インターフェースのデータ伝送速度は最大で480Mbpsであるのに対し、USB3.0インターフェースのデータ伝送速度は最大で5Gbpsである。このように、USB3.0インターフェースはUSB2.0インターフェースに比べ高速にデータ通信を行うことができる。一方、USB3.0インターフェースは、ポートの物理的使用は下位互換性を有する。すなわち、USB3.0に準拠した凸型のUSBコネクタ(以下、「USB3.0コネクタ」)に加え、USB2.0に準拠した凸型のUSBコネクタ(以下、「USB2.0コネクタ」とも言う。)も、USB3.0に準拠したUSBポート(以下、「USB3.0ポート」とも言う。)に接続することができる(例えば、非特許文献1、2)。   USB 2.0 and USB 3.0 have different specifications relating to data communication such as the communication mode (half duplex method, full duplex method) and the number of signal lines. For this reason, the data transmission speed of the USB 2.0 interface is 480 Mbps at the maximum, whereas the data transmission speed of the USB 3.0 interface is 5 Gbps at the maximum. As described above, the USB 3.0 interface can perform data communication at a higher speed than the USB 2.0 interface. On the other hand, the USB 3.0 interface has backward compatibility for physical use of the port. That is, in addition to a convex USB connector conforming to USB 3.0 (hereinafter referred to as “USB 3.0 connector”), a convex USB connector conforming to USB 2.0 (hereinafter also referred to as “USB 2.0 connector”). Can also be connected to a USB port compliant with USB 3.0 (hereinafter also referred to as “USB 3.0 port”) (for example, Non-Patent Documents 1 and 2).

特開2003−131956号公報JP 2003-131956 A

”Universal Serial Bus”、[Online]、[検索日:平成22年4月13日]、インターネット<URL:http://ja.wikipedia.org/wiki/USB>"Universal Serial Bus", [Online], [Search Date: April 13, 2010], Internet <URL: http: //en.wikipedia.org/wiki/USB> ”知っておきたいUSB3.0のまとめ”、[Online]、[検索日:平成22年4月13日]、インターネット<URL:http://monoist.atmarkit.co.jp/feledev/articles/mononews/05/mononews05_a.html>"Summary of USB 3.0 to know", [Online], [Search date: April 13, 2010], Internet <URL: http://monoist.atmarkit.co.jp/feledev/articles/mononews /05/mononews05_a.html>

ホスト機器と周辺機器のUSB3.0ポートにUSB3.0コネクタをそれぞれ差し込んで物理的に両者を接続した場合、USB3.0に準拠した端子間の接触が完全に行われていない状況で、周辺機器とホスト機器との間の論理的な接続処理が完了してしまう場合があった。この場合、ホスト機器は、USB2.0インターフェースを用いたデータ通信を行うUSB2.0デバイスとして周辺機器を認識してしまう。USB3.0インターフェースを用いたデータ通信を行うためには、再度、両者間で論理的な接続処理を行う必要がある。このためには、USB3.0ケーブルをUSB3.0ポートに対して抜き差しすることが考えられる。しかしながら、ケーブルの抜き差し動作は、利用者にとって面倒な動作であり、抜き差し動作を利用者に強いるのは好ましくない。このような問題は、USB2.0インターフェースとUSB3.0インターフェースを利用可能な周辺機器に拘わらず、データ通信に関する仕様が異なる複数種のインターフェースを接続可能な単一の接続部を有する周辺機器に共通する問題である。   When the USB 3.0 connector is inserted into the USB 3.0 port of the host device and the peripheral device and both are physically connected, the peripheral device is not fully contacted between the USB 3.0 compliant terminals. In some cases, the logical connection process between the host device and the host device is completed. In this case, the host device recognizes the peripheral device as a USB 2.0 device that performs data communication using the USB 2.0 interface. In order to perform data communication using the USB 3.0 interface, it is necessary to perform logical connection processing between the two again. For this purpose, it is conceivable to insert and remove the USB 3.0 cable from the USB 3.0 port. However, the cable insertion / extraction operation is troublesome for the user, and it is not preferable to force the user to perform the insertion / extraction operation. Such a problem is common to peripheral devices having a single connection unit that can connect multiple types of interfaces with different specifications related to data communication, regardless of peripheral devices that can use the USB 2.0 interface and the USB 3.0 interface. It is a problem.

従って本発明は、周辺機器において、ホスト機器との間の論理的な接続が形成された場合でも、物理的な接続の脱着を行うことなく、再度、ホスト機器との間で論理的な接続を形成するための処理を行う技術を提供することを目的とする。   Therefore, according to the present invention, even in the case where a logical connection with the host device is formed in the peripheral device, the logical connection with the host device is performed again without detaching the physical connection. It is an object of the present invention to provide a technique for performing a process for forming.

本発明は、上記の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することができる。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]データ通信に関する仕様が異なる第1種と第2種のインターフェースのいずれかを用いてホスト機器との間でデータ通信を行うことが可能な周辺機器であって、前記第1種のインターフェースに対応する第1種のコネクタと、前記第2種のインターフェースに対応する第2種のコネクタとを選択的に接続可能な単一の接続部と、前記第1種と第2種のコネクタのいずれかを用いて、当該周辺機器と前記ホスト機器とが物理的に接続された場合に、前記ホスト機器から送られる信号で開始される初期接続処理であって、前記第1種と第2種のインターフェースのいずれかを用いて前記ホスト機器との間で論理的な接続を形成する初期接続処理を行う制御部と、を備え、前記制御部は、さらに、前記物理的な接続を維持した状態において、前記初期接続処理により形成された前記論理的な接続を切断して前記ホスト機器との間で前記論理的な接続を再び形成する、再接続処理を行うことが可能である、周辺機器。 Application Example 1 A peripheral device capable of performing data communication with a host device using either the first type or the second type interface having different specifications related to data communication, wherein the first type A single connector that can selectively connect the first type connector corresponding to the interface of the second type and the second type connector corresponding to the second type of interface; and the first type and the second type of connector. An initial connection process started by a signal sent from the host device when the peripheral device and the host device are physically connected using any one of the connectors, the first type and the first type A control unit that performs an initial connection process for forming a logical connection with the host device using one of two types of interfaces, and the control unit further maintains the physical connection. In the state Te, again forming said logical connection between said cutting the initial connection process the logical connection formed by the host device, it is possible to reconnect processing performed, peripherals.

適用例1に記載の周辺機器によれば、物理的な接続を切断する動作をユーザに強いることなく、所望とするインターフェースを用いたデータ通信を行うために、論理的な接続を形成するための処理を再度行うことができる。また、一般に、物理的な接続が行われてから時間が経過した後に論理的な接続を形成するための処理を行った方が、所望とするインターフェースが形成される可能性が高くなる。よって、初期接続処理の後に再接続処理を行うことで、誤ったインターフェースが形成される可能性を低減できる。   According to the peripheral device described in Application Example 1, in order to perform data communication using a desired interface without forcing the user to perform an operation of disconnecting a physical connection, a logical connection is formed. Processing can be performed again. In general, if a process for forming a logical connection is performed after a lapse of time after a physical connection is made, there is a higher possibility that a desired interface is formed. Therefore, by performing the reconnection process after the initial connection process, the possibility of forming an incorrect interface can be reduced.

[適用例2]適用例1に記載の周辺機器であって、前記第2種のインターフェースは、前記第1種のインターフェースに比べデータ伝送速度が速く、前記制御部は、前記初期接続処理により形成された論理的な接続が、前記第1種のインターフェースを用いた接続であると判別した場合は、前記再接続処理を行い、前記初期接続処理により形成された論理的な接続が、前記第2種のインターフェースを用いた接続であると判別した場合は、前記再接続処理を行わない、周辺機器。
適用例2に記載の周辺機器によれば、データ伝送速度の速いインターフェースを用いたデータ通信を行うために、論理的な接続を形成するための処理を再度行うことができる。
Application Example 2 In the peripheral device according to Application Example 1, the second type interface has a higher data transmission speed than the first type interface, and the control unit is formed by the initial connection process. When the determined logical connection is determined to be a connection using the first type interface, the reconnection process is performed, and the logical connection formed by the initial connection process is the second connection. A peripheral device that does not perform the reconnection process when it is determined that the connection is made using a kind of interface.
According to the peripheral device described in the application example 2, in order to perform data communication using an interface having a high data transmission speed, it is possible to perform processing for forming a logical connection again.

[適用例3]適用例2に記載の周辺機器であって、前記制御部は、当該周辺機器と前記ホスト機器との前記物理的な接続が、前記第1種と第2種のコネクタのいずれかを用いて行われたかに拘わらず、前記初期接続処理と前記再接続処理の両方の処理を行う、周辺機器。
適用例3に記載の周辺機器によれば、周辺機器の制御を単純化しつつも、所望とするインターフェースを用いたデータ通信を行うために、論理的な接続を形成するための処理を再度行うことができる。
[Application Example 3] The peripheral device according to Application Example 2, wherein the control unit is configured so that the physical connection between the peripheral device and the host device is either the first type or the second type connector. A peripheral device that performs both the initial connection process and the reconnection process regardless of whether the process is performed using the
According to the peripheral device described in the application example 3, the processing for forming a logical connection is performed again in order to perform data communication using a desired interface while simplifying the control of the peripheral device. Can do.

[適用例4]適用例1乃至適用例3のいずれか1つに記載の周辺機器であって、前記再接続処理は、前記制御部が、前記制御部の状態を初期状態にすることで前記初期接続処理により形成された前記論理的な接続を切断する工程を含む、周辺機器。
適用例4に記載の周辺機器によれば、制御部の状態を初期状態にすることで、ホスト機器との間で形成された論理的な接続を切断することができる。
[Application Example 4] The peripheral device according to any one of Application Examples 1 to 3, wherein the reconnection process is performed by causing the control unit to change the state of the control unit to an initial state. A peripheral device including a step of disconnecting the logical connection formed by the initial connection process.
According to the peripheral device described in the application example 4, the logical connection formed with the host device can be disconnected by setting the state of the control unit to the initial state.

[適用例5]適用例1乃至適用例3のいずれか1つに記載の周辺機器であって、前記再接続処理は、前記制御部が、前記ホスト機器にバスリセット信号を当該周辺機器に対して送信させることで、前記初期接続処理により形成された論理的な接続を切断する工程を含む、周辺機器。
適用例5に記載の周辺機器によれば、ホスト機器に対してバスリセット信号を送信させることによりホスト機器との間で形成された論理的な接続を切断することができる。これにより、制御部を初期状態から起動させる必要がないため、制御部の状態を初期状態にすることで論理的な接続を切断する場合に比べ、より短時間で再接続処理を実行することができる。
[Application Example 5] The peripheral device according to any one of Application Example 1 to Application Example 3, wherein the reconnection process is performed by the control unit sending a bus reset signal to the host device. A peripheral device including a step of disconnecting the logical connection formed by the initial connection processing by transmitting the information.
According to the peripheral device described in Application Example 5, the logical connection formed with the host device can be disconnected by causing the host device to transmit a bus reset signal. As a result, it is not necessary to start the control unit from the initial state, so the reconnection process can be executed in a shorter time than when the logical connection is disconnected by setting the control unit to the initial state. it can.

[適用例6]適用例1乃至適用例5のいずれか1つに記載の周辺機器であって、前記第1種のインターフェースは、USB2.0に準拠しており、前記第2種のインターフェースは、USB3.0に準拠している、周辺機器。
適用例6に記載の周辺機器によれば、物理的な接続を切断する動作をユーザに強いることなく、USB2.0インターフェースとUSB3.0インターフェースの論理的な接続を形成するための処理を再度行うことができる。
Application Example 6 The peripheral device according to any one of Application Examples 1 to 5, wherein the first type interface is compliant with USB 2.0, and the second type interface is Peripheral devices compliant with USB3.0.
According to the peripheral device described in the application example 6, the process for forming the logical connection between the USB 2.0 interface and the USB 3.0 interface is performed again without forcing the user to perform an operation of disconnecting the physical connection. be able to.

本発明は、上述した周辺機器としての構成のほか、周辺機器とホスト機器との間のインターフェース接続方法や、周辺機器の制御方法、周辺機器を制御するためのコンピュータプログラムとしても構成することができる。コンピュータプログラムは、コンピュータが読取可能な記録媒体に記録されていてもよい。記録媒体としては、例えば、磁気ディスクや光ディスク、メモリカード、ハードディスク等の種々の媒体を利用することができる。   In addition to the configuration as the peripheral device described above, the present invention can also be configured as an interface connection method between the peripheral device and the host device, a control method of the peripheral device, and a computer program for controlling the peripheral device. . The computer program may be recorded on a computer-readable recording medium. As the recording medium, for example, various media such as a magnetic disk, an optical disk, a memory card, and a hard disk can be used.

本発明の第1実施例としての周辺機器の概略構成を説明するための図である。It is a figure for demonstrating schematic structure of the peripheral device as 1st Example of this invention. 周辺機器がホスト機器と行う初期接続処理を説明するための図である。It is a figure for demonstrating the initial connection process which a peripheral device performs with a host device. 外部記憶装置100がPC200と行う一連の接続処理を説明するための図である。FIG. 5 is a diagram for explaining a series of connection processes performed by the external storage device 100 with a PC 200. 外部記憶装置100がPC200と行う再接続処理を説明するための図である。6 is a diagram for explaining a reconnection process performed by the external storage device 100 with a PC 200. FIG. 第2実施例における外部記憶装置100がPC200と行う一連の接続処理を説明するための図である。It is a figure for demonstrating a series of connection processing which the external storage device 100 in 2nd Example performs with PC200. 一連の接続処理の第1変形例を説明するための図である。It is a figure for demonstrating the 1st modification of a series of connection processes.

次に、本発明の実施の形態を以下の順序で説明する。
A.第1実施例:
B.第2実施例:
C.変形例:
Next, embodiments of the present invention will be described in the following order.
A. First embodiment:
B. Second embodiment:
C. Variations:

A.実施例:
A−1.周辺機器の概略構成:
図1は、本発明の第1実施例としての周辺機器の概略構成を説明するための図である。図1では、説明の容易のために、周辺機器100とホスト機器200がケーブル300を介して物理的に接続されている状態を示している。第1実施例の周辺機器100には、外付け型の外部記憶装置100を用いている。ホスト機器200には、パーソナルコンピュータ(以下、「PC」ともいう。)200を用いている。
A. Example:
A-1. Schematic configuration of peripheral devices:
FIG. 1 is a diagram for explaining a schematic configuration of a peripheral device as a first embodiment of the present invention. FIG. 1 shows a state in which the peripheral device 100 and the host device 200 are physically connected via a cable 300 for ease of explanation. As the peripheral device 100 of the first embodiment, an external external storage device 100 is used. As the host device 200, a personal computer (hereinafter also referred to as “PC”) 200 is used.

外部記憶装置100は、メインコントローラ20と、ハードディスクドライブ(以下、「HDD」ともいう。)60と、USBポート70とを備えている。   The external storage device 100 includes a main controller 20, a hard disk drive (hereinafter also referred to as “HDD”) 60, and a USB port 70.

USBポート70は、USB3.0に準拠した形状を有しており、USB2.0に準拠した凸型のコネクタとUSB3.0に準拠した凸型のコネクタとを選択的に接続することができる。具体的には、USBポート70は、USB2.0に準拠したStandard−B(以下、「USB2.0Bコネクタ」ともいう。)と、USB3.0に準拠したStandard−B(以下、「USB3.0Bコネクタ」ともいう。)を選択的に接続できるポートである。ここで、「選択的に接続できる」とは、USB2.0Bコネクタと、USB3.0Bコネクタを同時に接続することはできないが、いずれか一方ずつであれば両者共に接続するできることを指す。   The USB port 70 has a shape conforming to USB 3.0, and can selectively connect a convex connector conforming to USB 2.0 and a convex connector conforming to USB 3.0. Specifically, the USB port 70 includes Standard-B (hereinafter also referred to as “USB2.0B connector”) compliant with USB2.0 and Standard-B (hereinafter referred to as “USB3.0B”) compliant with USB3.0. It is also a port that can be selectively connected. Here, “selectively connectable” means that the USB 2.0B connector and the USB 3.0B connector cannot be connected simultaneously, but if either one is connected, both can be connected.

メインコントローラ20は内部に、USB制御回路21と、HDD制御回路30と、ROM40と、RAM45と、CPU50とを備えている。これらは、内部バスを介して相互に接続されている。   The main controller 20 includes a USB control circuit 21, an HDD control circuit 30, a ROM 40, a RAM 45, and a CPU 50 therein. These are connected to each other via an internal bus.

USB制御回路21は、USBケーブル300と信号線320を介して論理的に接続されたPC200との間でUSB2.0とUSB3.0のいずれかに準拠したデータ通信を行う。USB制御回路21は、USB2.0物理層回路22と、USB3.0物理層回路24とを備える。USB2.0物理層回路22は、PC200からケーブル300を介して転送されるUSB2.0に準拠する差動信号をデジタル信号に変換する。USB3.0物理層回路24は、PC200からケーブル300を介して転送されるUSB3.0に準拠する差動信号をデジタル信号に変換する。   The USB control circuit 21 performs data communication conforming to either USB 2.0 or USB 3.0 between the USB cable 300 and the PC 200 logically connected via the signal line 320. The USB control circuit 21 includes a USB 2.0 physical layer circuit 22 and a USB 3.0 physical layer circuit 24. The USB 2.0 physical layer circuit 22 converts a differential signal conforming to USB 2.0 transferred from the PC 200 via the cable 300 into a digital signal. The USB 3.0 physical layer circuit 24 converts a differential signal conforming to USB 3.0 transferred from the PC 200 via the cable 300 into a digital signal.

HDD60は、信号線350を介してメインコントローラ20と接続されている。HDD制御回路30は、HDD60に対するデータの読み出しと書き込みとを制御する回路である。ROM40は、後述するCPU50が実行する各種プログラムを記憶している。外部記憶装置100が起動されると、各種プログラムがROM40からRAM45にロードされる。   The HDD 60 is connected to the main controller 20 via a signal line 350. The HDD control circuit 30 is a circuit that controls reading and writing of data with respect to the HDD 60. The ROM 40 stores various programs executed by the CPU 50 described later. When the external storage device 100 is activated, various programs are loaded from the ROM 40 to the RAM 45.

CPU50は、ロードした各種プログラムに従って、USB制御回路21を通じたPC200とのデータ通信や、HDD制御回路30を通じたHDD60へのデータの読み書きを制御する。   The CPU 50 controls data communication with the PC 200 through the USB control circuit 21 and data reading / writing to the HDD 60 through the HDD control circuit 30 according to the loaded various programs.

CPU50は、各種プログラムとして実行される機能として、コマンド変換部52と、リセット部54と、I/F判別部56とを備える。コマンド変換部52は、USBインターフェースの信号からSATAインターフェースの信号への変換や、SATAインターフェースの信号からUSBインターフェースの信号への変換を行う。すなわち、コマンド変換部52は、異なる複数種のインターフェースの信号を、各インターフェースに対応した信号に変換する機能を有する。   The CPU 50 includes a command conversion unit 52, a reset unit 54, and an I / F determination unit 56 as functions executed as various programs. The command conversion unit 52 performs conversion from a USB interface signal to a SATA interface signal, and conversion from a SATA interface signal to a USB interface signal. That is, the command conversion unit 52 has a function of converting signals of different types of interfaces into signals corresponding to the interfaces.

リセット部54は、後述する再接続処理の一部の工程を行うために用いられる。なお、再接続処理は、外部記憶装置100がPC200との間で行う論理的な接続を形成するための処理(以下、「初期接続処理」ともいう。)の後に行われる。この詳細は後述する。   The reset unit 54 is used to perform a part of the reconnection process described later. The reconnection process is performed after a process for forming a logical connection between the external storage device 100 and the PC 200 (hereinafter also referred to as “initial connection process”). Details of this will be described later.

I/F判別部56は、外部記憶装置100とPC200間で形成されたインターフェースの種類を判別する。   The I / F determination unit 56 determines the type of interface formed between the external storage device 100 and the PC 200.

PC200は、USBポート80と、USB制御回路90とを備える。USBポート80とUSB制御回路90は信号線360により接続されている。USBポート80は、USB3.0に準拠した形状を有しており、USB2.0に準拠した凸型のコネクタとUSB3.0に準拠した凸型のコネクタとを選択的に接続することができる。具体的には、USBポート80は、USB2.0に準拠したStandard−A(以下、「USB2.0Aコネクタ」ともいう。)と、USB3.0に準拠したStandard−A(以下、「USB3.0Aコネクタ」ともいう。)を選択的に接続できるポートである。USB制御回路90は、USBケーブル300と信号線320を介して論理的に接続された外部記憶装置100との間でUSB2.0とUSB3.0のいずれかに準拠したデータ通信を行う。USB制御回路90は、USB2.0物理層回路92と、USB3.0物理層回路94とを備える。各物理層回路92,94は、上述した外部記憶装置100の各物理層回路22,24と同様、USB2.0とUSB3.0に準拠する差動信号をそれぞれデジタル信号に変換する。なお、PC200の内部構成は上述した構成の他にCPUやROM等を備えるが、ここでは、説明に必要な内部構成のみを図示している。   The PC 200 includes a USB port 80 and a USB control circuit 90. The USB port 80 and the USB control circuit 90 are connected by a signal line 360. The USB port 80 has a shape conforming to USB 3.0, and can selectively connect a convex connector conforming to USB 2.0 and a convex connector conforming to USB 3.0. Specifically, the USB port 80 includes Standard-A (hereinafter also referred to as “USB2.0A connector”) compliant with USB 2.0 and Standard-A (hereinafter referred to as “USB 3.0A”) compliant with USB 3.0. It is also a port that can be selectively connected. The USB control circuit 90 performs data communication conforming to either USB 2.0 or USB 3.0 between the external storage device 100 logically connected via the USB cable 300 and the signal line 320. The USB control circuit 90 includes a USB 2.0 physical layer circuit 92 and a USB 3.0 physical layer circuit 94. Each physical layer circuit 92, 94 converts a differential signal conforming to USB 2.0 and USB 3.0 into a digital signal, similarly to each physical layer circuit 22, 24 of the external storage device 100 described above. Note that the internal configuration of the PC 200 includes a CPU, a ROM, and the like in addition to the above-described configuration, but only the internal configuration necessary for explanation is illustrated here.

A−2.初期接続処理:
図2は、周辺機器がホスト機器と行う初期接続処理(ステップS1)を説明するための図である。図2(A)は、USB3.0準拠のケーブル300を用いて外部記憶装置100とPC200を物理的に接続したにも拘わらず、初期接続処理の結果、USB2.0インターフェースが形成された場合の図である。図2(B)は、USB3.0準拠のケーブル300を用いて外部記憶装置100とPC200を物理的に接続した場合に、初期接続処理の結果、USB3.0インターフェースが形成された場合の図である。以下に説明する初期接続処理は、外部記憶装置100のメインコントローラ20が、PC200のメインコントローラ(図示せず)との間で行う処理である。ここでは、USBケーブル300の一端側のUSB3.0Bコネクタは、USBポート70に物理的に接続され、USB3.0に準拠したUSBポート70とUSB3.0Bコネクタの各端子が接触している状態で、利用者がケーブル300の他端側のUSB3.0AコネクタをUSBポート80(図1)に差し込んだ場合について説明する。なお、これ以降、物理的な接続を単に「接続」ともいう。
A-2. Initial connection processing:
FIG. 2 is a diagram for explaining an initial connection process (step S1) performed by the peripheral device with the host device. FIG. 2A shows a case where the USB 2.0 interface is formed as a result of the initial connection process even though the external storage device 100 and the PC 200 are physically connected using the USB 3.0 compliant cable 300. FIG. FIG. 2B is a diagram when the USB 3.0 interface is formed as a result of the initial connection process when the external storage device 100 and the PC 200 are physically connected using the USB 3.0 compliant cable 300. is there. The initial connection process described below is a process that the main controller 20 of the external storage device 100 performs with the main controller (not shown) of the PC 200. Here, the USB 3.0B connector on one end side of the USB cable 300 is physically connected to the USB port 70, and the USB port 70 conforming to USB 3.0 and the terminals of the USB 3.0B connector are in contact with each other. A case where the user inserts the USB 3.0A connector at the other end of the cable 300 into the USB port 80 (FIG. 1) will be described. Hereinafter, the physical connection is also simply referred to as “connection”.

図2(A)に示すように、周辺機器である外部記憶装置100とホスト機器であるPC200とがUSBケーブル300により接続されると、PC200から外部記憶装置100に対してUSB2.0インターフェースを用いた論理的な接続を形成するためのUSB2.0接続要求信号が送信される(ステップS10)。外部記憶装置100がUSB2.0接続要求信号を正常に受け付けた場合、外部記憶装置100はPC200に正常に信号を受け付けたことを示すACK信号を返信する(ステップS12)。これにより、外部記憶装置100とPC200との間で、USB2.0インターフェースを用いた論理的な接続が形成される。USB2.0インターフェースを用いた論理的な接続が形成されることで、外部記憶装置100とPC200間でUSB2.0インターフェースを用いたデータ通信が可能となる。   As shown in FIG. 2A, when the external storage device 100 that is a peripheral device and the PC 200 that is a host device are connected by a USB cable 300, a USB 2.0 interface is used from the PC 200 to the external storage device 100. A USB 2.0 connection request signal for forming a logical connection is transmitted (step S10). When the external storage device 100 normally receives the USB 2.0 connection request signal, the external storage device 100 returns an ACK signal indicating that the signal has been normally received to the PC 200 (step S12). Thereby, a logical connection using the USB 2.0 interface is formed between the external storage device 100 and the PC 200. By forming a logical connection using the USB 2.0 interface, data communication using the USB 2.0 interface is possible between the external storage device 100 and the PC 200.

USB2.0接続要求信号に対するACK信号を受信したPC200は、USB3.0インターフェースを用いた論理的な接続を形成するためのUSB3.0接続要求信号を外部記憶装置100に送信する(ステップS14)。外部記憶装置100がUSB3.0接続要求信号を正常に受け付けなかった場合、外部記憶装置100はPC200に正常に受け付けられなかったことを示すNACK信号を返信する(ステップS16)。これにより、USB3.0インターフェースを用いた論理的な接続が形成されず、USB2.0インターフェースが維持される。すなわち、図2(A)に示す初期接続処理の結果、PC200は、外部記憶装置100をUSB2.0デバイスとして誤って認識したことになる。   The PC 200 that has received the ACK signal for the USB 2.0 connection request signal transmits a USB 3.0 connection request signal for forming a logical connection using the USB 3.0 interface to the external storage device 100 (step S14). If the external storage device 100 does not normally accept the USB 3.0 connection request signal, the external storage device 100 returns a NACK signal indicating that the external storage device 100 has not been accepted normally (step S16). Thereby, a logical connection using the USB 3.0 interface is not formed, and the USB 2.0 interface is maintained. That is, as a result of the initial connection process shown in FIG. 2A, the PC 200 erroneously recognizes the external storage device 100 as a USB 2.0 device.

一方、図2(B)に示すように、外部記憶装置100がPC200からのUSB3.0接続要求信号を正常に受け付けた場合は、ACK信号をPC200に返信する(ステップS16a)。これにより、USB2.0インターフェースに代えてUSB3.0インターフェースを用いた論理的な接続が形成され、USB3.0インターフェースを用いたデータ通信が行える状態になる。   On the other hand, as shown in FIG. 2B, when the external storage device 100 normally receives the USB 3.0 connection request signal from the PC 200, an ACK signal is returned to the PC 200 (step S16a). As a result, a logical connection using the USB 3.0 interface is formed instead of the USB 2.0 interface, and data communication using the USB 3.0 interface can be performed.

このように、電気的仕様が異なるUSB2.0コネクタとUSB3.0コネクタを選択的に接続可能な単一のUSBポート70,80を用いた場合に、図2(A)に示すように、誤ったUSBインターフェース(図2(A)の場合、USB2.0インターフェース)を用いたデータ通信が開始される一因について以下に説明する。   Thus, when a single USB port 70, 80 capable of selectively connecting a USB 2.0 connector and a USB 3.0 connector with different electrical specifications is used, an error occurs as shown in FIG. One reason why data communication using the USB interface (USB 2.0 interface in the case of FIG. 2A) is started will be described below.

ホスト機器であるPC200のUSBポート80に接続されるUSB3.0Aコネクタは、USB2.0で使用される4本の信号線に加え、USB3.0準拠の信号線5本を有する内部構造となっている。このUSB3.0準拠の信号線5本は、USB2.0で使用される4本の信号線よりもUSB3.0Aコネクタの奥側に配置されている。よって、USBポート70にUSB3.0Bコネクタが正常に接続されている状態(すなわち、USBポート70の各端子とUSB3.0Bコネクタの各端子が接触している状態)で、USB3.0AコネクタをPC200が備えるUSBポート80に利用者が差し込んだ場合、USBポート80が有するUSB2.0準拠の各端子とUSB3.0AコネクタのUSB2.0準拠の各端子が先に接続される。すなわち、外部記憶装置100とPC200との間においてUSB2.0準拠の各端子が導通し、USB3.0準拠の各端子が導通していない状態が発生し得る。   The USB 3.0A connector connected to the USB port 80 of the PC 200 as the host device has an internal structure having five signal lines conforming to USB 3.0 in addition to the four signal lines used in USB 2.0. Yes. The five USB3.0 compliant signal lines are arranged on the back side of the USB3.0A connector with respect to the four signal lines used in USB 2.0. Therefore, the USB 3.0A connector is connected to the PC 200 in a state in which the USB 3.0B connector is normally connected to the USB port 70 (that is, each terminal of the USB port 70 is in contact with each terminal of the USB 3.0B connector). When the user plugs in the USB port 80 included in the USB port 80, the USB 2.0 compliant terminals of the USB port 80 and the USB 2.0 compliant terminals of the USB 3.0A connector are connected first. That is, there may occur a state in which each USB2.0 compliant terminal is conductive between the external storage device 100 and the PC 200 and each USB3.0 compliant terminal is not conductive.

一般に、USB2.0準拠の各端子の少なくとも一部が導通した時点で、PC200から外部記憶装置100にUSB2.0接続要求信号が送信され、初期接続処理が開始される。すなわち、USB3.0準拠の各端子が導通していない状態で初期接続処理が完了すると、PC200は、外部記憶装置100をUSB2.0デバイスであると認識する。また、初期接続処理後にUSB3.0準拠の各端子が導通したとしても、データ通信はUSB2.0インターフェースを用いて行われる。   In general, when at least a part of each USB2.0-compliant terminal becomes conductive, a USB2.0 connection request signal is transmitted from the PC 200 to the external storage device 100, and an initial connection process is started. That is, when the initial connection process is completed in a state where the USB 3.0-compliant terminals are not conductive, the PC 200 recognizes the external storage device 100 as a USB 2.0 device. Even if each terminal conforming to the USB 3.0 becomes conductive after the initial connection processing, data communication is performed using the USB 2.0 interface.

なお、上記のような誤認識は、USBポート80にUSB3.0Bコネクタが正常に接続されている状態(すなわち、USBポート80の各端子とUSB3.0Aコネクタの各端子が接触している状態)で、USB3.0Bコネクタを外部記憶装置100が備えるUSBポート70に差し込む場合においても発生し得る。利用者がUSB3.0BコネクタをUSBポート70に差し込んだ場合に、利用者がUSB3.0Bコネクタを未だ保持した状態で初期接続処理が開始されると、USB3.0BコネクタのUSB3.0準拠の各端子と、USBポート70のUSB3.0準拠の各端子が安定的に接触していない状態が起こり得るからである。   Note that the erroneous recognition as described above is a state in which the USB 3.0B connector is normally connected to the USB port 80 (that is, each terminal of the USB port 80 is in contact with each terminal of the USB 3.0A connector). Therefore, this may occur even when the USB 3.0B connector is inserted into the USB port 70 of the external storage device 100. When the user inserts the USB 3.0B connector into the USB port 70 and the initial connection processing is started with the user still holding the USB 3.0B connector, each USB 3.0 compliant USB 3.0 connector is This is because a state in which the terminal and each USB 3.0-compliant terminal of the USB port 70 are not in stable contact may occur.

このように、初期接続処理の結果、PC200が外部記憶装置100をUSB2,0デバイスとして認識すると、初期接続処理の後にUSB3.0準拠の各端子が外部記憶装置100とPC200間で導通したとしても、両者間ではUSB2.0インターフェースを用いたデータ通信が行われることになる。そこで、本実施例の外部記憶装置100はPC200との間で、以下に説明する一連の接続処理を行う。   As described above, if the PC 200 recognizes the external storage device 100 as a USB 2, 0 device as a result of the initial connection process, even if each terminal conforming to USB 3.0 becomes conductive between the external storage device 100 and the PC 200 after the initial connection process. Data communication using the USB 2.0 interface is performed between the two. Therefore, the external storage device 100 according to the present embodiment performs a series of connection processes described below with the PC 200.

A−3.一連の接続処理:
図3は、外部記憶装置100がPC200と行う一連の接続処理を説明するための図である。
A-3. A series of connection processing:
FIG. 3 is a diagram for explaining a series of connection processing performed by the external storage device 100 with the PC 200.

PC200と行う初期接続処理の後(ステップS1)、外部記憶装置100のI/F判別部56(図1)は、外部記憶装置100とPC200との間で形成されたインターフェースの種類を判別する(ステップS2)。   After the initial connection process performed with the PC 200 (step S1), the I / F determination unit 56 (FIG. 1) of the external storage device 100 determines the type of interface formed between the external storage device 100 and the PC 200 ( Step S2).

形成されたインターフェースがUSB3.0インターフェースである場合、外部記憶装置100は、PC200からのUSB2.0接続要求信号を再度送出させることなく、USB3.0インターフェースを用いたデータ通信を行える状態になる(ステップS3)。すなわち、形成されたインターフェースがUSB3.0インターフェースである場合、外部記憶装置100はPC200と後述する再接続処理を行うことなく、接続処理を終了する。   When the formed interface is a USB 3.0 interface, the external storage device 100 can perform data communication using the USB 3.0 interface without sending the USB 2.0 connection request signal from the PC 200 again ( Step S3). That is, when the formed interface is a USB 3.0 interface, the external storage device 100 ends the connection process without performing the reconnection process described later with the PC 200.

一方、形成されたインターフェースがUSB2.0インターフェースである場合、外部記憶装置100は、リセット部54を用いてPC200に対しUSB2.0接続要求信号を送出させる工程を含む、再接続処理を行う(ステップS4)。この再接続処理において、外部記憶装置100は、PC200と再び論理的な接続を形成する。すなわち、再接続処理(ステップS4)は、初期接続処理(ステップS1)により形成された論理的な接続を一旦切断し、再度、接続処理を行う処理である。この、再接続処理(ステップS4)の詳細は後述する。   On the other hand, when the formed interface is a USB 2.0 interface, the external storage device 100 performs a reconnection process including a step of sending a USB 2.0 connection request signal to the PC 200 by using the reset unit 54 (step) S4). In this reconnection process, the external storage device 100 forms a logical connection with the PC 200 again. That is, the reconnection process (step S4) is a process for once disconnecting the logical connection formed by the initial connection process (step S1) and performing the connection process again. Details of the reconnection process (step S4) will be described later.

再接続処理の後、I/F部56は、再接続処理により形成されたインターフェースの種類を判別する(ステップS5)。形成されたインターフェースがUSB3.0インターフェースである場合、USB3.0インターフェースを用いたデータ通信をPC200との間で行うことが可能となる(ステップS6)。一方、形成されたインターフェースがUSB2.0インターフェースである場合、USB2.0インターフェースを用いたデータ通信をPC200との間で行うことが可能となる(ステップS7)。   After the reconnection process, the I / F unit 56 determines the type of interface formed by the reconnection process (step S5). If the formed interface is a USB 3.0 interface, data communication using the USB 3.0 interface can be performed with the PC 200 (step S6). On the other hand, when the formed interface is a USB 2.0 interface, data communication using the USB 2.0 interface can be performed with the PC 200 (step S7).

A−4.再接続処理:
図4は、外部記憶装置100がPC200と行う再接続処理を説明するための図である。この再接続処理は、外部記憶装置100とPC200との間の物理的な接続を切断することなく行われる。すなわち、外部記憶装置100とPC200とを接続するケーブル300を抜き差しすることなく行われる。
A-4. Reconnection process:
FIG. 4 is a diagram for explaining reconnection processing performed by the external storage device 100 with the PC 200. This reconnection process is performed without disconnecting the physical connection between the external storage device 100 and the PC 200. That is, it is performed without connecting / disconnecting the cable 300 that connects the external storage device 100 and the PC 200.

ステップS1において形成されたインターフェースがUSB2.0インターフェースである場合、外部記憶装置100のリセット部54は、メインコントローラ20をリセットする(ステップS20)。すなわち、リセット部54は、一旦、メインコントローラ20を初期状態にする。ここで「初期状態」とは、外部記憶装置100の電源がOFFの時のメインコントローラ20の状態をいう。すなわち、「初期状態」とはROM40のプログラムがRAM45にロードされる前の状態であるとも言える。ステップS20により、初期接続処理(ステップS1)により形成された外部記憶装置100とPC200との間の論理的な接続が切断される。   When the interface formed in step S1 is a USB 2.0 interface, the reset unit 54 of the external storage device 100 resets the main controller 20 (step S20). That is, the reset unit 54 once sets the main controller 20 in an initial state. Here, the “initial state” refers to the state of the main controller 20 when the external storage device 100 is powered off. That is, it can be said that the “initial state” is a state before the program in the ROM 40 is loaded into the RAM 45. In step S20, the logical connection between the external storage device 100 and the PC 200 formed by the initial connection process (step S1) is disconnected.

論理的な接続が切断されると、図2(A),(B)で説明した初期接続処理と同様の工程が行われる。すなわち、PC200から外部記憶装置100に対してUSB2.0接続要求信号とUSB3.0接続要求信号が送信され、各信号に対する応答を外部記憶装置100がPC200に行う(ステップS30,32,34,36)。   When the logical connection is disconnected, the same process as the initial connection process described with reference to FIGS. 2A and 2B is performed. That is, a USB 2.0 connection request signal and a USB 3.0 connection request signal are transmitted from the PC 200 to the external storage device 100, and the external storage device 100 responds to each signal to the PC 200 (steps S30, 32, 34, and 36). ).

上記のように、本実施例の外部記憶装置100は、ケーブル300の抜き差しを利用者に強いることなく、一旦形成された論理的な接続を切断して、再度、論理的な接続を形成することができる。また、再接続処理(ステップS4)は、初期接続処理(ステップS1)よりも後に行われる。これにより、再接続処理(ステップS4)を行う際には、初期接続処理(ステップS1)を行う際に比べ、USB3.0準拠の各端子と、USBポート70,80の各端子が安定的に接触している可能性が高い。よって、再接続処理(ステップS4)を行うことで、PC200が外部記憶装置100をUSB2.0デバイスであると誤って認識する可能性を低減できる。これにより、データ伝送速度の速い所望とするインターフェース(本実施例の場合、USB3.0インターフェース)を用いて外部記憶装置100はFC200との間でデータ通信を行うことができる。   As described above, the external storage device 100 according to the present embodiment disconnects the logical connection that has been once formed and forms a logical connection again without forcing the user to connect or disconnect the cable 300. Can do. The reconnection process (step S4) is performed after the initial connection process (step S1). As a result, when performing the reconnection process (step S4), the USB 3.0-compliant terminals and the USB ports 70 and 80 are more stable than when performing the initial connection process (step S1). There is a high possibility of contact. Therefore, by performing the reconnection process (step S4), the possibility that the PC 200 erroneously recognizes the external storage device 100 as a USB 2.0 device can be reduced. As a result, the external storage device 100 can perform data communication with the FC 200 using a desired interface having a high data transmission rate (in the present embodiment, a USB 3.0 interface).

ここで、USBポート70が課題を解決するための手段に記載の「単一の接続部」に相当し、ホストコントローラ20が課題を解決するための手段に記載の「制御部」に相当する。   Here, the USB port 70 corresponds to the “single connection unit” described in the means for solving the problem, and the host controller 20 corresponds to the “control unit” described in the means for solving the problem.

B.第2実施例:
図5は、第2実施例における外部記憶装置100がPC200と行う再接続処理を説明するための図である。なお、第1実施例の外部記憶装置100との違いは、リセット部54のソフトウェア上の構成の違いであり、ハードウェア上の構成は第1実施例と同一である。よって、リセット部54のソフトウェア上の構成の違いについて図5を用いて説明する。なお、第1実施例の一連の接続処理と第2実施例の一連の接続処理との違いは、再接続処理で行う処理内容である。
B. Second embodiment:
FIG. 5 is a diagram for explaining reconnection processing performed by the external storage device 100 with the PC 200 in the second embodiment. The difference from the external storage device 100 of the first embodiment is the difference in the software configuration of the reset unit 54, and the hardware configuration is the same as in the first embodiment. Therefore, a difference in software configuration of the reset unit 54 will be described with reference to FIG. The difference between the series of connection processes of the first embodiment and the series of connection processes of the second embodiment is the contents of the process performed in the reconnection process.

ステップS1(図3)により形成されたインターフェースがUSB2.0インターフェースである場合、リセット部54は、PC200に対してバスリセットコマンドを発行させる処理を行う。初期接続処理(ステップS1、図3)の後に、PC200は、外部記憶装置100の存在を確認するためのコマンド(「テストユニットレディコマンド」ともいう。)を外部記憶装置100に送信する(ステップS24)。これに対し、予め定められた制限時間内に外部記憶装置100が応答を行わないようにリセット部54は外部記憶装置100を制御する(ステップS26)。これにより、PC200はバスリセットコマンドを外部記憶装置100に送信し、バスリセットが行われる。すなわち、バスリセットにより、初期接続処理により形成された論理的な接続が切断される。換言すれば、USBケーブル300を仮想的に抜いた状態と同等の状態となる。論理的な接続が切断されると、第1実施例と同様に、外部記憶装置100は、初期接続処理と同様の工程をPC200との間で行う(ステップS30,32,34,36)。   When the interface formed in step S1 (FIG. 3) is a USB 2.0 interface, the reset unit 54 performs processing for causing the PC 200 to issue a bus reset command. After the initial connection process (step S1, FIG. 3), the PC 200 transmits a command (also referred to as “test unit ready command”) for confirming the existence of the external storage device 100 to the external storage device 100 (step S24). ). On the other hand, the reset unit 54 controls the external storage device 100 so that the external storage device 100 does not respond within a predetermined time limit (step S26). As a result, the PC 200 transmits a bus reset command to the external storage device 100, and the bus reset is performed. That is, the logical connection formed by the initial connection process is disconnected by the bus reset. In other words, the state is equivalent to the state in which the USB cable 300 is virtually removed. When the logical connection is disconnected, as in the first embodiment, the external storage device 100 performs the same process as the initial connection process with the PC 200 (steps S30, 32, 34, and 36).

上記のように、第2実施例の外部記憶装置100のリセット部54は、PC200にバスリセット信号を発行させ、一旦形成された論理的な接続を切断することで、再度、論理的な接続を形成するための処理を外部記憶装置100に行わせている。すなわち、再接続処理の中で、メインコントローラ20を初期状態にする工程を行う必要が無いため、ROMに格納されている各種プログラムをRAM45に再びロードする必要がない。これにより、第2実施例の外部記憶装置100は、第1実施例で奏する効果に加え、より短時間に再接続処理を完了することができるという効果を奏する。   As described above, the reset unit 54 of the external storage device 100 according to the second embodiment causes the PC 200 to issue a bus reset signal and disconnects the logical connection once formed, so that the logical connection is made again. The external storage device 100 is caused to perform a process for forming. That is, since it is not necessary to perform a process of initializing the main controller 20 during the reconnection process, it is not necessary to load various programs stored in the ROM into the RAM 45 again. As a result, the external storage device 100 of the second embodiment has an effect that the reconnection process can be completed in a shorter time in addition to the effect of the first embodiment.

C.変形例:
なお、上記実施例における構成要素の中の、特許請求の範囲の独立項に記載した要素以外の要素は、付加的な要素であり、適宜省略可能である。また、本発明の上記実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の形態において実施することが可能であり、例えば次のような変形も可能である。
C. Variations:
In addition, elements other than the elements described in the independent claims of the claims in the constituent elements in the above-described embodiments are additional elements and can be omitted as appropriate. Further, the present invention is not limited to the above-described examples and embodiments, and can be implemented in various forms without departing from the gist thereof. For example, the following modifications are possible.

C−1.第1変形例:
図6は、一連の接続処理の第1変形例を説明するための図である。上記実施例の接続処理(図3)との違いは、ステップS2及びステップS3を行わない点であり、その他の工程については同様の工程が行われるため、同一の工程については同一符号を付すと共に説明を省略する。
C-1. First modification:
FIG. 6 is a diagram for explaining a first modification of a series of connection processes. The difference from the connection process of the above embodiment (FIG. 3) is that step S2 and step S3 are not performed. Since the same process is performed for the other processes, the same process is denoted by the same reference numeral. Description is omitted.

第1変形例の一連の接続処理では、初期接続処理(ステップS1)により形成されたインターフェースがUSB3.0インターフェースであるか否かに拘わらず、外部記憶装置100は、PC200との間で再接続処理を行う(ステップS4)。なお、再接続処理は、第2実施例の再接続処理を行っても良い(図5、ステップS4a)。このようにしても、第1変形例は、上記実施例と同様の効果を奏する。さらに、第1変形例の一連の接続処理は、初期接続処理の後に、I/F判別部56が形成されたインターフェースの種類を判別し、判別した種類によって再接続処理を行うか否かをメインコントローラ20に制御させる必要がない。よって、上記実施例に比べ、接続処理の制御を単純化することができる。   In the series of connection processes of the first modification, the external storage device 100 is reconnected to the PC 200 regardless of whether the interface formed by the initial connection process (step S1) is a USB 3.0 interface. Processing is performed (step S4). The reconnection process may be the reconnection process of the second embodiment (FIG. 5, step S4a). Even if it does in this way, the 1st modification has the same effect as the above-mentioned example. Further, the series of connection processing of the first modification example determines whether the interface type in which the I / F determination unit 56 is formed after the initial connection processing, and whether to perform the reconnection processing according to the determined type. The controller 20 does not need to be controlled. Therefore, control of connection processing can be simplified compared to the above embodiment.

C−2.第2変形例:
上記実施例では、本発明の周辺機器としてHDD60を内蔵した外付け型の外部記憶装置100を例に挙げて説明を行ったが、本発明の周辺機器はこれに限られるものではない。例えば、フラッシュメモリや光ディスク等の各種記録媒体を内蔵した外部記憶装置に本発明を適用することができる。更に、外部記憶装置、プリンタ、カメラ、デジタルテレビ用チューナー等の電子機器に本発明を適用するができる。また、ホスト機器はパーソナルコンピュータに限られず、計算機としての各種コンピュータ装置をホスト機器として用いることができる。
C-2. Second modification:
In the above embodiment, the external type external storage device 100 incorporating the HDD 60 has been described as an example of the peripheral device of the present invention, but the peripheral device of the present invention is not limited to this. For example, the present invention can be applied to an external storage device incorporating various recording media such as a flash memory and an optical disk. Furthermore, the present invention can be applied to electronic devices such as external storage devices, printers, cameras, digital TV tuners, and the like. The host device is not limited to a personal computer, and various computer devices as computers can be used as the host device.

C−3.第3変形例:
上記実施例として通信方式が異なる2種類のインターフェースとして、USB2.0インターフェースとUSB3.0インターフェースを用いて説明を行ったが、特にこれに限定されるものではない。すなわち、単一の接続部(ポート)で選択的に利用可能な各種インターフェースを本発明に適用することができる。
C-3. Third modification:
Although the USB 2.0 interface and the USB 3.0 interface have been described as the two types of interfaces having different communication methods in the above embodiment, the present invention is not particularly limited to this. That is, various interfaces that can be selectively used by a single connection (port) can be applied to the present invention.

C−4.第4変形例:
上記第2実施例の再接続処理ではPC200に対しバスリセットコマンドを送信させるために、リセット部54は所定のコマンドに対し応答しないこととしたが(図5、ステップS24〜S28)、これに限定されるものではない。例えば、リセット部54が、バスリセットコマンドを送信させる信号をPC200へ送信しても良い。このようにしても、上記第2実施例と同様の効果を奏する。
C-4. Fourth modification:
In the reconnection process of the second embodiment, the reset unit 54 does not respond to a predetermined command in order to cause the PC 200 to transmit a bus reset command (FIG. 5, steps S24 to S28). Is not to be done. For example, the reset unit 54 may transmit a signal for transmitting a bus reset command to the PC 200. Even if it does in this way, there exists an effect similar to the said 2nd Example.

C−5.第5変形例:
上記実施例において、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよく、逆に、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよい。
C-5. Fifth modification:
In the above embodiment, a part of the configuration realized by software may be replaced with hardware. Conversely, a part of the configuration realized by hardware may be replaced with software.

20…メインコントローラ
21…USB制御回路
22…USB2.0物理層回路
24…USB3.0物理層回路
30…HDD制御回路
40…ROM
45…RAM
50…CPU
52…コマンド変換部
54…リセット部
56…I/F判別部
70…USBポート
80…USBポート
90…USB制御回路
92…USB2.0物理層回路
94…USB3.0物理層回路
100…外部記憶装置
200…PC
300…ケーブル
320…信号線
350…信号線
360…信号線
DESCRIPTION OF SYMBOLS 20 ... Main controller 21 ... USB control circuit 22 ... USB2.0 physical layer circuit 24 ... USB3.0 physical layer circuit 30 ... HDD control circuit 40 ... ROM
45 ... RAM
50 ... CPU
52 ... Command conversion unit 54 ... Reset unit 56 ... I / F determination unit 70 ... USB port 80 ... USB port 90 ... USB control circuit 92 ... USB 2.0 physical layer circuit 94 ... USB 3.0 physical layer circuit 100 ... External storage device 200 ... PC
300 ... Cable 320 ... Signal line 350 ... Signal line 360 ... Signal line

Claims (7)

データ通信に関する仕様が異なる第1種と第2種のインターフェースのいずれかを用いてホスト機器との間でデータ通信を行うことが可能な周辺機器であって、
前記第1種のインターフェースに対応する第1種のコネクタと、前記第2種のインターフェースに対応する第2種のコネクタとを選択的に接続可能な単一の接続部と、
前記第1種と第2種のコネクタのいずれかを用いて、当該周辺機器と前記ホスト機器とが物理的に接続された場合に、前記ホスト機器から送られる信号で開始される初期接続処理であって、前記第1種と第2種のインターフェースのいずれかを用いて前記ホスト機器との間で論理的な接続を形成する初期接続処理を行う制御部と、を備え、
前記制御部は、さらに、
前記物理的な接続を維持した状態において、前記初期接続処理により形成された前記論理的な接続を切断して前記ホスト機器との間で前記論理的な接続を再び形成する、再接続処理を行うことが可能である、周辺機器。
A peripheral device capable of performing data communication with a host device using either the first type or the second type interface having different specifications related to data communication,
A single connection portion capable of selectively connecting a first type connector corresponding to the first type interface and a second type connector corresponding to the second type interface;
An initial connection process started by a signal sent from the host device when the peripheral device and the host device are physically connected using either the first type or the second type connector. A control unit for performing an initial connection process for forming a logical connection with the host device using either the first type or the second type interface;
The control unit further includes:
In a state where the physical connection is maintained, a reconnection process is performed in which the logical connection formed by the initial connection process is disconnected and the logical connection is formed again with the host device. It is possible, peripheral equipment.
請求項1に記載の周辺機器であって、
前記第2種のインターフェースは、前記第1種のインターフェースに比べデータ伝送速度が速く、
前記制御部は、
前記初期接続処理によって形成された論理的な接続が、前記第1種のインターフェースを用いた接続であると判別した場合は、前記再接続処理を行い、
前記初期接続処理によって形成された論理的な接続が、前記第2種のインターフェースを用いた接続であると判別した場合は、前記再接続処理を行わない、周辺機器。
The peripheral device according to claim 1,
The second type interface has a higher data transmission speed than the first type interface,
The controller is
When it is determined that the logical connection formed by the initial connection process is a connection using the first type interface, the reconnection process is performed,
A peripheral device that does not perform the reconnection process when it is determined that the logical connection formed by the initial connection process is a connection using the second type interface.
請求項1に記載の周辺機器であって、
前記制御部は、
当該周辺機器と前記ホスト機器との前記物理的な接続が、前記第1種と第2種のコネクタのいずれかを用いて行われたかに拘わらず、前記初期接続処理と前記再接続処理の両方の処理を行う、周辺機器。
The peripheral device according to claim 1,
The controller is
Regardless of whether the physical connection between the peripheral device and the host device is performed using either the first type or the second type connector, both the initial connection process and the reconnection process are performed. Peripheral devices that perform processing.
請求項1乃至請求項3のいずれか1項に記載の周辺機器であって、
前記再接続処理は、
前記制御部が、前記制御部の状態を初期状態にすることで前記初期接続処理により形成された前記論理的な接続を切断する工程を含む、周辺機器。
The peripheral device according to any one of claims 1 to 3,
The reconnection process includes:
A peripheral device comprising a step in which the control unit disconnects the logical connection formed by the initial connection process by setting the state of the control unit to an initial state.
請求項1乃至請求項3のいずれか1項に記載の周辺機器であって、
前記再接続処理は、
前記制御部が、前記ホスト機器にバスリセット信号を当該周辺機器に対して送信させることで、前記初期接続処理により形成された論理的な接続を切断する工程を含む、周辺機器。
The peripheral device according to any one of claims 1 to 3,
The reconnection process includes:
The peripheral device includes a step in which the control unit causes the host device to transmit a bus reset signal to the peripheral device, thereby disconnecting a logical connection formed by the initial connection process.
請求項1乃至請求項5のいずれか1項に記載の周辺機器であって、
前記第1種のインターフェースは、USB2.0に準拠しており、
前記第2種のインターフェースは、USB3.0に準拠している、周辺機器。
The peripheral device according to any one of claims 1 to 5,
The first type interface is compliant with USB 2.0,
The second type interface is a peripheral device that conforms to USB3.0.
データ通信に関する仕様が異なる第1種と第2種のインターフェースのいずれかを選択的に用いてデータ通信を行うことが可能なホスト機器及び周辺機器の間の論理的な接続方法であって、
前記第1種のインターフェースに対応する第1種のコネクタと前記第2種のインターフェースに対応する第2種のコネクタのいずれかを用いて、前記ホスト機器と前記周辺機器とが物理的に接続された場合に、前記ホスト機器から前記周辺機器に送られる信号で開始される初期接続処理工程であって、前記第1種と第2種のインターフェースのいずれかを用いて前記ホスト機器と前記周辺機器との間で論理的な接続を形成する初期接続処理工程と、
前記物理的な接続を維持した状態において、前記初期接続処理工程により形成された前記論理的な接続を切断して前記周辺機器と前記ホスト機器との間で前記論理的な接続を再び形成する再接続処理工程と、を備える、接続方法。
A logical connection method between a host device and a peripheral device capable of performing data communication selectively using either the first type or the second type interface having different specifications relating to data communication,
The host device and the peripheral device are physically connected using either the first type connector corresponding to the first type interface or the second type connector corresponding to the second type interface. An initial connection processing step that starts with a signal sent from the host device to the peripheral device, using either the first type or the second type interface. An initial connection processing step for forming a logical connection with
In a state where the physical connection is maintained, the logical connection formed by the initial connection processing step is disconnected, and the logical connection is re-established between the peripheral device and the host device. A connection processing step.
JP2012265089A 2012-12-04 2012-12-04 Peripheral device and method for connecting host device and peripheral device Active JP5477456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012265089A JP5477456B2 (en) 2012-12-04 2012-12-04 Peripheral device and method for connecting host device and peripheral device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012265089A JP5477456B2 (en) 2012-12-04 2012-12-04 Peripheral device and method for connecting host device and peripheral device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010103073A Division JP5153822B2 (en) 2010-04-28 2010-04-28 Peripheral device and method for connecting host device and peripheral device

Publications (3)

Publication Number Publication Date
JP2013047994A true JP2013047994A (en) 2013-03-07
JP2013047994A5 JP2013047994A5 (en) 2013-05-16
JP5477456B2 JP5477456B2 (en) 2014-04-23

Family

ID=48010914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012265089A Active JP5477456B2 (en) 2012-12-04 2012-12-04 Peripheral device and method for connecting host device and peripheral device

Country Status (1)

Country Link
JP (1) JP5477456B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018205836A (en) * 2017-05-30 2018-12-27 キヤノン株式会社 Electronic equipment and control method thereof
US11632476B2 (en) 2021-03-17 2023-04-18 Pfu Limited Image reading apparatus to manage transmission destination of input image
US11729335B2 (en) 2021-03-17 2023-08-15 Pfu Limited Image reading apparatus to manage transmission destination of input image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09512369A (en) * 1994-10-12 1997-12-09 株式会社セガ・エンタープライゼス Improving data collection from its peripherals by a data processor
JP2005173820A (en) * 2003-12-09 2005-06-30 I-O Data Device Inc Peripheral device and reconnection program
JP2006277123A (en) * 2005-03-28 2006-10-12 Canon Inc Network connection equipment
JP2008052438A (en) * 2006-08-23 2008-03-06 Seiko Epson Corp Information processor, printing device, information processing method and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09512369A (en) * 1994-10-12 1997-12-09 株式会社セガ・エンタープライゼス Improving data collection from its peripherals by a data processor
JP2005173820A (en) * 2003-12-09 2005-06-30 I-O Data Device Inc Peripheral device and reconnection program
JP2006277123A (en) * 2005-03-28 2006-10-12 Canon Inc Network connection equipment
JP2008052438A (en) * 2006-08-23 2008-03-06 Seiko Epson Corp Information processor, printing device, information processing method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018205836A (en) * 2017-05-30 2018-12-27 キヤノン株式会社 Electronic equipment and control method thereof
US11632476B2 (en) 2021-03-17 2023-04-18 Pfu Limited Image reading apparatus to manage transmission destination of input image
US11729335B2 (en) 2021-03-17 2023-08-15 Pfu Limited Image reading apparatus to manage transmission destination of input image

Also Published As

Publication number Publication date
JP5477456B2 (en) 2014-04-23

Similar Documents

Publication Publication Date Title
JP5153822B2 (en) Peripheral device and method for connecting host device and peripheral device
JP5138743B2 (en) Peripheral equipment
US9104821B2 (en) Universal serial bus host to host communications
JP6083672B2 (en) Memory card controller and host device equipped with it
JP5889904B2 (en) Device, system, method and computer readable storage medium for utilization of USB resources
US8533380B2 (en) Apparatus for peer-to-peer communication over a universal serial bus link
US10162723B2 (en) Electronic card and detecting method thereof
EP2659549B1 (en) Adaptive interconnection scheme for multimedia devices
CN108008980B (en) Method and apparatus for initiating re-enumeration of USB3.0 compatible devices
WO2009042771A2 (en) High speed connector and receptacle with backward compatibility to usb 2.0
US10380049B2 (en) Multi-host supported universal serial bus hub and automobile head unit using the same
US8864527B2 (en) Universal serial bus memory device and method of manufacturing the same
JP2009176152A (en) Information processing apparatus
JP5477456B2 (en) Peripheral device and method for connecting host device and peripheral device
JP3140192U (en) Transmission cable for transmitting E-SATA signal and power
CN101520767B (en) Data transmission speed self-adapting method and device
US7597592B2 (en) Automatic configuration of an interface to a host or client
JP2013047994A5 (en)
US8972625B2 (en) Electronic apparatus and host determination method
US10372645B2 (en) Universal serial bus type C transmission line and transmission device
JP5492844B2 (en) Interface connection method and computer
JP5743484B2 (en) COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
TWI580968B (en) Testing Tool and Testing Method of Connection of Universal Serial Bus Type C (USB Type C) Port
WO2012075655A1 (en) Electronic device which can automatically resume interrupted transmission and method thereof
US11513978B2 (en) Dual data ports with shared detection line

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130401

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130401

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131225

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: 20140114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140127

R150 Certificate of patent or registration of utility model

Ref document number: 5477456

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250