Movatterモバイル変換


[0]ホーム

URL:


JP2006277420A - USB host device, USB device device, USB device, and authentication method - Google Patents

USB host device, USB device device, USB device, and authentication method
Download PDF

Info

Publication number
JP2006277420A
JP2006277420AJP2005096584AJP2005096584AJP2006277420AJP 2006277420 AJP2006277420 AJP 2006277420AJP 2005096584 AJP2005096584 AJP 2005096584AJP 2005096584 AJP2005096584 AJP 2005096584AJP 2006277420 AJP2006277420 AJP 2006277420A
Authority
JP
Japan
Prior art keywords
usb
encrypted data
power supply
usb host
host device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005096584A
Other languages
Japanese (ja)
Inventor
Shinichi Egashira
振一 江頭
Akira Sakai
亮 酒井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co LtdfiledCriticalMatsushita Electric Industrial Co Ltd
Priority to JP2005096584ApriorityCriticalpatent/JP2006277420A/en
Publication of JP2006277420ApublicationCriticalpatent/JP2006277420A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromJapanese

【課題】 安全なUSB暗号送信を可能とすることを目的とする。
【解決手段】 USBホスト機器1の電源端子から出力される電源成分に暗号データを合成することが可能なUSBホスト機器1と、暗号データを合成された電源成分から電源成分と暗号データを分離することが可能なUSBデバイス機器11によりUSB装置を構成することにより、暗号データが電源成分に合成されており、プロトコルアナライザを用いても暗号データの解析が不可能になるので、安全な暗号送信が可能となる。
【選択図】 図1
PROBLEM TO BE SOLVED: To enable secure USB encryption transmission.
A USB host device capable of synthesizing encrypted data with a power supply component output from a power supply terminal of the USB host device, and a power supply component and encrypted data separated from the combined power component of the encrypted data. By configuring the USB device with the USB device device 11 capable of encryption, the encrypted data is synthesized with the power supply component, and it becomes impossible to analyze the encrypted data using a protocol analyzer. It becomes possible.
[Selection] Figure 1

Description

Translated fromJapanese

本発明は、コンピュータに代表されるUSBホスト機器とUSBデバイス機器の間で、セキュリティ機能を実現するための認証処理に必要なパスワード等の暗号データを送受信するUSBホスト機器,USBデバイス機器およびUSB装置ならびに認証方法に関するものである。  The present invention relates to a USB host device, a USB device device, and a USB device that transmit and receive encrypted data such as a password required for authentication processing for realizing a security function between a USB host device represented by a computer and a USB device device. And an authentication method.

USBデバイス機器の中には機器の持つ機能やデータ、接続されるUSBホスト機器(例えばコンピュータ)自体へのアクセスを保護することができるものがあり、それらはパスワード等による認証処理を用いたセキュリティ機能によって実現できている。  Some USB device devices can protect the functions and data of the device and access to the connected USB host device (for example, a computer) itself, and these are security functions that use authentication processing using a password or the like. It has been realized by.

従来のUSBシステムでは、認証処理に必要なパスワード等の暗号データが、全て、USBコネクタのデータ端子を経由して送信されるようになっている(例えば、特許文献1参照)。
特開2001−273059号公報
In a conventional USB system, all encrypted data such as a password required for authentication processing is transmitted via a data terminal of a USB connector (see, for example, Patent Document 1).
JP 2001-273059 A

従来の暗号データの受け渡し方法では、開発時に使用されるUSBプロトコルアナライザを用いれば、データの流れを直接見ることができるため、暗号処理に必要な鍵やパスワード等の暗号データの解析が可能であり、情報漏洩の危険があると言う問題点があった。  With the conventional encryption data delivery method, if the USB protocol analyzer used at the time of development is used, the data flow can be seen directly, so it is possible to analyze encryption data such as keys and passwords required for encryption processing. There was a problem that there was a risk of information leakage.

本発明は、従来の問題点を解決し、安全な暗号送信を可能とすることを目的とする。  An object of the present invention is to solve the conventional problems and to enable secure encrypted transmission.

前記目的を達成するために、請求項1記載のUSBホスト機器は、USBホスト動作を制御するUSBホストコントローラ部と、USB転送の対象となるUSBデバイス機器に暗号データを送信する暗号データ送信部と、前記USBデバイス機器にUSBの規格に定められた電圧を供給する電源供給部と、前記暗号データ送信部と前記電源供給部から送られる二つの信号成分をUSBコネクタの電源端子上に合成した合成データを送信する信号成分合成回路部とを有することを特徴とする。  In order to achieve the object, the USB host device according toclaim 1 includes a USB host controller unit that controls a USB host operation, and an encrypted data transmission unit that transmits encrypted data to a USB device device that is a target of USB transfer. , A power supply unit that supplies a voltage stipulated in the USB standard to the USB device device, and a combination of two signal components sent from the encrypted data transmission unit and the power supply unit on the power terminal of the USB connector And a signal component synthesis circuit unit for transmitting data.

請求項2記載のUSBデバイス機器は、USBデバイス動作を制御するUSBデバイスコントローラ部と、USB転送の対象となるUSBホスト機器からUSBコネクタの電源端子を介して受信した合成データを電源成分と暗号データとに分離して取り出す信号成分分離回路部と、前記暗号データを受信する暗号データ受信部と、前記電源成分を機器内へ供給する電源部とを有することを特徴とする。  The USB device device according toclaim 2, wherein the composite data received via the USB connector power source terminal from the USB device controller unit for controlling the USB device operation and the USB host device subject to USB transfer is a power component and encrypted data. A signal component separation circuit unit that separates and extracts the encrypted data, an encrypted data reception unit that receives the encrypted data, and a power supply unit that supplies the power supply component into the device.

請求項3記載のUSB装置は、請求項1記載のUSBホスト機器と1または複数の請求項2記載のUSBデバイス機器の対応する端子を接続し、前記暗号データによる認証処理を有するUSB転送を、前記USBホスト機器から前記USBデバイス機器へ電源端子を介して電源成分に合成された暗号データを送信することにより行うことを特徴とする。  A USB device according toclaim 3 connects a USB host device according toclaim 1 to a corresponding terminal of one or a plurality of USB device devices according toclaim 2, and performs USB transfer having authentication processing by the encrypted data. This is performed by transmitting encryption data combined with a power supply component from the USB host device to the USB device device via a power supply terminal.

請求項4記載のUSBホスト機器は、USBホスト動作を制御するUSBホストコントローラ部と、USB転送の対象となるUSBデバイス機器に暗号データを送信する暗号データ送信部と、前記USBデバイス機器にUSBの規格に定められた電圧を供給する電源供給部と、前記暗号データ送信部より出力する暗号データの出力を制御する出力制御バッファと、前記出力制御バッファと前記電源供給部から送られる二つの信号成分をUSBコネクタの電源端子上に合成した合成データを送信し、前記USBデバイス機器からUSBコネクタの電源端子を介して受信した暗号データを取り出す信号成分合成分離回路部と、前記信号成分合成回路部で分離した暗号データを受信する暗号データ受信部とを有することを特徴とする。  According to a fourth aspect of the present invention, there is provided a USB host device that controls a USB host operation, an encrypted data transmission unit that transmits encrypted data to a USB device that is a target of USB transfer, and a USB A power supply unit that supplies a voltage defined in the standard, an output control buffer that controls output of encrypted data output from the encrypted data transmission unit, and two signal components sent from the output control buffer and the power supply unit Is transmitted on the power terminal of the USB connector, and the signal component synthesizing / separating circuit unit extracts the encrypted data received from the USB device device via the power terminal of the USB connector. And an encrypted data receiving unit that receives the separated encrypted data.

請求項5記載のUSBデバイス機器は、USBデバイス動作を制御するUSBデバイスコントローラ部と、USB転送の対象となるUSBホスト機器に暗号データを送信する暗号データ送信部と、前記USBホスト機器からUSBコネクタの電源端子を介して受信した合成データを電源成分と暗号データとに分離して取り出し、前記USBホスト機器へ送信する暗号データを電源端子上の信号成分に載せる信号成分合成分離回路部と、前記信号成分分離回路部で分離した暗号データを受信する暗号データ受信部と、前記電源成分を機器内へ供給する電源部とを有することを特徴とする。  6. The USB device device according to claim 5, wherein a USB device controller unit that controls USB device operation, an encryption data transmission unit that transmits encryption data to a USB host device that is a target of USB transfer, and a USB connector from the USB host device. The component data received via the power terminal is separated into the power component and the encrypted data, and the signal component combining / separating circuit unit for placing the encrypted data to be transmitted to the USB host device on the signal component on the power terminal; and An encryption data receiving unit that receives the encrypted data separated by the signal component separation circuit unit, and a power supply unit that supplies the power supply component into the device.

請求項6記載のUSB装置は、請求項4記載のUSBホスト機器と1または複数の請求項5記載のUSBデバイス機器の対応する端子を接続し、前記暗号データによる認証処理を有するUSB転送を、前記USBホスト機器と前記USBデバイス機器間で電源端子を介して電源成分に合成されたデータを送受信することにより行うことを特徴とする。  A USB device according toclaim 6 connects a USB host device according toclaim 4 to a corresponding terminal of one or a plurality of USB device devices according to claim 5, and performs USB transfer having authentication processing by the encrypted data. This is performed by transmitting / receiving data combined with a power supply component via a power supply terminal between the USB host device and the USB device device.

請求項7記載の認証方法は、請求項3記載のUSB装置を用いたUSB転送における認証処理を行うに際し、前記USBデバイス機器を検索する工程と、前記USBホスト機器が複数のポートを備える場合にはUSBデバイス機器が接続されたポートを検索する工程と、前記USBホスト機器にて前記暗号データと電源成分を合成した合成データを電源端子から送信する工程と、前記USBデバイス機器にて前記合成データより前記暗号データと前記電源成分を分離する工程とを有し、前記暗号データにより認証処理を行うことを特徴とする。  The authentication method according to claim 7 includes a step of searching for the USB device device and a case where the USB host device has a plurality of ports when performing authentication processing in USB transfer using the USB device according toclaim 3. Searching for a port to which a USB device device is connected, sending the synthesized data obtained by synthesizing the encrypted data and the power supply component from the USB host device from a power supply terminal, and the synthesized data by the USB device device A step of separating the encrypted data and the power source component, and performing an authentication process using the encrypted data.

請求項8記載の認証方法は、請求項6記載のUSB装置を用いたUSB転送における認証処理を行うに際し、前記USBデバイス機器を検索する工程と、前記USBホスト機器が複数のポートを備える場合にはUSBデバイス機器が接続されたポートを検索する工程と、前記USBホスト機器にて前記暗号データと電源成分を合成した合成データを電源端子から送信する工程と、前記USBデバイス機器にて前記合成データより前記暗号データと前記電源成分を分離する工程とを有し、前記暗号データにより認証処理を行うことを特徴とする。  An authentication method according to claim 8 includes a step of searching for the USB device device and a case where the USB host device has a plurality of ports when performing authentication processing in USB transfer using the USB device according toclaim 6. Searching for a port to which a USB device device is connected, sending the synthesized data obtained by synthesizing the encrypted data and the power supply component from the USB host device from a power supply terminal, and the synthesized data by the USB device device A step of separating the encrypted data and the power source component, and performing an authentication process using the encrypted data.

請求項9記載の認証方法は、請求項7記載の認証方法において、前記USBホスト機器からのベンダユニークなデバイスリクエストに対し、前記USBデバイス機器がNAK応答を続ける間に、前記認証処理を行うことを特徴とする。  The authentication method according to claim 9 is the authentication method according to claim 7, wherein the USB device device performs the authentication process while continuing the NAK response to the vendor unique device request from the USB host device. It is characterized by.

請求項10記載の認証方法は、請求項7または請求項8または請求項9のいずれかに記載の認証方法において、前記合成データを送信する前に、前記USBホスト機器から電源端子を介して、データ転送における同期をとるためのクロックを送信することを特徴とする。  The authentication method according to claim 10 is the authentication method according to claim 7, claim 8, or claim 9, before transmitting the composite data, via the power supply terminal from the USB host device. A clock for synchronization in data transfer is transmitted.

請求項11記載の認証方法は、請求項7または請求項8または請求項9または請求項10のいずれかに記載の認証方法において、前記USB装置が、複数のポートを備える請求項1または4のいずれかに記載のUSBホスト機器に1または複数の請求項2または5のいずれかに記載のUSBデバイス機器が接続さる場合には、前記USBホスト機器よりポート毎にUSBコネクタの電源端子を経由して任意のデータを送信し、前記USBデバイス機器から正しい応答があることを確認することにより、前記USBデバイス機器が接続されたポートを検索することを特徴とする。  The authentication method according to claim 11 is the authentication method according to any one of claims 7, 8, 9, or 10, wherein the USB device includes a plurality of ports. When one or more USB device devices according to any one ofclaims 2 and 5 are connected to any of the USB host devices, the USB host device passes through a power connector of a USB connector for each port. Then, by transmitting arbitrary data and confirming that there is a correct response from the USB device device, the port to which the USB device device is connected is searched.

請求項12記載の認証方法は、請求項7または請求項8または請求項9または請求項10のいずれかに記載の認証方法において、前記USBホスト機器がポートを1つのみ備える場合に、前記USBホスト機器で管理しているUSBデバイス機器群の接続情報を読み取ることにより、前記USBデバイス機器が前記USBホスト機器に直接接続されることを確認することを特徴とする。  The authentication method according toclaim 12 is the authentication method according to claim 7 or claim 8 or claim 9 or claim 10, wherein the USB host device has only one port. By reading connection information of a group of USB device devices managed by the host device, it is confirmed that the USB device device is directly connected to the USB host device.

請求項13記載の認証方法は、請求項7または請求項8または請求項9または請求項10または請求項11または請求項12のいずれかに記載の認証方法において、ベンダーID及びプロダクトIDより前記USBデバイス機器を検索し、ベンダユニークなデバイスリクエストを送信した時の応答により前記USBデバイス機器であることを確認することを特徴とする。  The authentication method according to claim 13 is the authentication method according to any one ofclaims 7, 8, 9, 10, 11, or 12, wherein the USB is determined from the vendor ID and the product ID. A device device is searched, and it is confirmed that the device is the USB device device by a response when a vendor-unique device request is transmitted.

請求項14記載の認証方法は、請求項7または請求項8または請求項9または請求項10または請求項11または請求項12または請求項13のいずれかに記載の認証方法において、前記USBデバイス機器が前記USBホスト機器以外の機器に接続されている場合には、前記USBデバイス機器が有する暗号データ受信機能部を無効とし、USBデバイスコントローラ部のみを有効にして動作することを特徴とする。  The authentication method according to claim 14 is the authentication method according to any one ofclaims 7, 8, 9, 10, 11, 12, or 13. Is connected to a device other than the USB host device, the encrypted data reception function unit of the USB device device is disabled and only the USB device controller unit is enabled for operation.

請求項15記載の認証方法は、請求項7または請求項8または請求項9または請求項10または請求項11または請求項12または請求項13または請求項14のいずれかに記載の認証方法において、前記USBホスト機器が前記USBデバイス機器以外の機器に接続されている場合には、前記USBホスト機器が有する暗号データ送信部を無効とし、USBホスト機能部のみを有効にして動作することを特徴とする。  The authentication method according to claim 15 is the authentication method according to any one ofclaims 7, 8, 9, 10, 11, 12, 13, or 14. When the USB host device is connected to a device other than the USB device device, the encrypted data transmission unit included in the USB host device is disabled and only the USB host function unit is enabled to operate. To do.

以上により、暗号データが電源成分に合成されており、プロトコルアナライザを用いても暗号データの解析が不可能になるので、安全な暗号送信が可能となる。  As described above, the encrypted data is combined with the power supply component, and even if a protocol analyzer is used, it becomes impossible to analyze the encrypted data, so that secure encrypted transmission is possible.

本発明により、USBホスト機器の電源端子から出力される電源成分に暗号データを合成することが可能なUSBホスト機器と、暗号データを合成された電源成分から電源成分と暗号データを分離することが可能なUSBデバイス機器によりUSB装置を構成することにより、暗号データが電源成分に合成されており、プロトコルアナライザを用いても暗号データの解析が不可能になるので、安全な暗号送信が可能となる。  According to the present invention, a USB host device capable of combining encrypted data with a power supply component output from a power supply terminal of the USB host device, and separating a power supply component and encrypted data from a power supply component combined with encrypted data. By configuring the USB device with possible USB device devices, the encrypted data is synthesized with the power supply component, and it becomes impossible to analyze the encrypted data even if a protocol analyzer is used, thus enabling safe encrypted transmission. .

(実施の形態1)
以下、本発明のUSBホスト機器,USBデバイス機器、および、USBホスト機器とUSBデバイス機器が接続されて構成されるUSB装置ならびにUSB装置における認証方法について、図1,図2を用いて説明する。
(Embodiment 1)
The USB host device, USB device device, USB device configured by connecting the USB host device and the USB device device, and an authentication method in the USB device will be described below with reference to FIGS.

図1は実施の形態1におけるUSB装置の構成を示す図、図2は実施の形態1におけるUSB装置の暗号送信方法を説明するフロー図である。
図1に示すように、本発明のUSB装置の構成として、コンピュータに代表されるUSBホスト機器1には、USBホストの機能を有するUSBホストコントローラ部2と、暗号データ送信部3と電源供給部4と、暗号データ送信部3と電源供給部4から出力される二つの信号成分を電源端子上に合成して送信する信号成分合成回路部5を有し、USBデバイス機器11には、USBデバイスの機能を有するUSBデバイスコントローラ部12と、USBコネクタの電源端子から電源成分と暗号データを分離して取り出す信号成分分離回路15と、暗号データを受信する暗号データ受信部13と前記電源成分を機器内へ供給する電源部14を有する。そして、USBホスト機器1と1または複数のUSBデバイス機器11の電源端子およびデータ端子が接続されて、USBデータ転送を行うUSB装置を構成する。
FIG. 1 is a diagram illustrating a configuration of a USB device according to the first embodiment, and FIG. 2 is a flowchart for explaining an encryption transmission method of the USB device according to the first embodiment.
As shown in FIG. 1, as a configuration of the USB device of the present invention, aUSB host device 1 represented by a computer includes a USBhost controller unit 2 having a USB host function, an encrypteddata transmission unit 3 and a power supply unit. 4 and a signal component synthesis circuit unit 5 that synthesizes and transmits two signal components output from the encrypteddata transmission unit 3 and thepower supply unit 4 on a power supply terminal. A USBdevice controller unit 12 having the above functions, a signal component separation circuit 15 for separating and extracting a power component and encrypted data from a power terminal of a USB connector, an encrypted data receiving unit 13 for receiving encrypted data, and the power component It has the power supply part 14 supplied in. TheUSB host device 1 and the power terminal and data terminal of one or more USB device devices 11 are connected to form a USB device that performs USB data transfer.

アクセスする際には、まず、本発明の構成を有するUSBホスト機器とUSBデバイス機器を接続し、互いに本発明の機能を有しているかどうかを確認した後、間にUSBハブなどが介在して暗号送信機能による通信を阻害されないかどうかを確認する。次に、USBホスト機器が接続ポートを複数持っていた場合には、本発明の構成を有するUSBデバイス機器が接続されているポートを特定した後に、目的のポートの電源端子のみに対して、パスワード等の暗号データを送信する。そして、認証処理で問題が無ければ、保護されているリソースへのアクセスが可能となる。  When accessing, first connect the USB host device and the USB device device having the configuration of the present invention, confirm whether or not they have the functions of the present invention, and then insert a USB hub or the like between them. Check if communication by the encryption transmission function is not hindered. Next, when the USB host device has a plurality of connection ports, after identifying the port to which the USB device device having the configuration of the present invention is connected, only the power supply terminal of the target port has a password. Send encrypted data such as. If there is no problem in the authentication process, it is possible to access a protected resource.

次に、USB装置の認証方法および認証処理を備えた暗号送信方法を詳細に説明する。
USBホスト機器1とUSBデバイス機器11は、接続前は暗号データ送信部3及び暗号データ受信部13の機能が無効となっており、両者は1対1で接続されているものとする。また、保護されたリソースはUSBデバイス機器11の中に1つだけあるものとし、暗号データであるパスワードをUSBデバイス機器11が受信し、正しいものと判定されれば保護されたリソースにアクセスできるものとする。
Next, a USB device authentication method and an encryption transmission method including an authentication process will be described in detail.
It is assumed that theUSB host device 1 and the USB device device 11 have the functions of the encrypteddata transmission unit 3 and the encrypted data reception unit 13 disabled before connection, and the two are connected one-on-one. In addition, it is assumed that there is only one protected resource in the USB device device 11, and the USB device device 11 receives the password that is encrypted data, and can access the protected resource if it is determined to be correct. And

図2に示すように、まず、USBデバイス機器11をUSBホスト機器1に接続すると、USBホスト機器1は接続されたUSBデバイス機器11を使用可能な状態にするために、エニュメレーション処理を開始する(ステップ51)。  As shown in FIG. 2, first, when the USB device device 11 is connected to theUSB host device 1, theUSB host device 1 starts enumeration processing so that the connected USB device device 11 can be used. (Step 51).

エニュメレーション処理において、USBホスト機器1はUSBデバイス機器11からプロダクトIDやベンダーID、USBデバイス機器の種類を示すデバイスクラス情報を取得する。続いて、適切な制御ドライバがUSBホスト機器へインストールされ、接続されたUSBデバイス機器11が使用可能な状態となる。しかし、この状態では、保護されたリソースにはアクセスできない(ステップ52)。  In the enumeration process, theUSB host device 1 acquires device class information indicating the product ID, the vendor ID, and the type of the USB device device from the USB device device 11. Subsequently, an appropriate control driver is installed in the USB host device, and the connected USB device device 11 becomes usable. However, in this state, the protected resource cannot be accessed (step 52).

次に、USBホスト機器1上で本発明の暗号送信機能を制御するための認証処理用アプリケーションソフトを起動する(ステップ53)。
次に、USBホスト機器1が持つ接続ポート数を確認し、USBホスト機器1が持つ接続ポート数が一つの場合は、USBホスト機器1内で管理しているUSBデバイス機器群の接続情報(コンピュータの場合はOSのレジストリ情報)を検索することで確認できる。一つでもハブが登録されていれば、USBホスト機器1とUSBデバイス機器11の間にハブが存在すると判断でき、認証処理を中断することができる。逆に、ハブ等の暗号送信機能を阻害するものが無いとわかれば、すぐに認証処理58に移ることもできる。
Next, authentication processing application software for controlling the encryption transmission function of the present invention is activated on the USB host device 1 (step 53).
Next, the number of connection ports possessed by theUSB host device 1 is confirmed. If the number of connection ports possessed by theUSB host device 1 is one, the connection information (computer) of the USB device device group managed in theUSB host device 1 is confirmed. Can be confirmed by searching the OS registry information). If at least one hub is registered, it can be determined that a hub exists between theUSB host device 1 and the USB device device 11, and the authentication process can be interrupted. On the contrary, if it is found that there is nothing that hinders the encryption transmission function such as a hub, it is possible to immediately move to the authentication processing 58.

USBホスト機器1が持つ接続ポート数が複数の場合は、前記アプリケーションソフトは、まず、USBホスト機器1が持つ接続されたUSBデバイス機器11の情報(コンピュータの場合はOSのレジストリ情報)より、ベンダーIDやプロダクトIDにて本発明の機能を有するUSBデバイス機器11を検索する。さらに、特定のベンダユニークなデバイスリクエストをUSBデバイス機器11へ送信し、データ端子を解して返送されるその応答の内容が本発明の機能をサポートしている旨のものであれば、次の処理へ進む(ステップ54)。  When theUSB host device 1 has a plurality of connection ports, the application software first determines the vendor from the information of the USB device device 11 connected to the USB host device 1 (OS registry information in the case of a computer). The USB device device 11 having the function of the present invention is searched by ID or product ID. Furthermore, if a specific vendor-unique device request is transmitted to the USB device device 11 and the content of the response returned through the data terminal supports the function of the present invention, The process proceeds (step 54).

次に、前記アプリケーションソフトは、本発明のUSBデバイス機器11が接続されているポートの位置検索(USBホスト機器1が複数のポートを持つ場合)、及び、USBホスト機器1とUSBデバイス機器11の間にハブ等が介在することにより本発明によるUSBコネクタの電源端子を使った通信(以降、暗号送信機能による通信と称す)が不可能な状態になっていないかどうかの確認を行う(以降、暗号送信機能確認フェーズと称す)。  Next, the application software searches for the position of the port to which the USB device device 11 of the present invention is connected (when theUSB host device 1 has a plurality of ports), and theUSB host device 1 and the USB device device 11. It is confirmed whether or not communication using the power supply terminal of the USB connector according to the present invention (hereinafter referred to as communication by the encryption transmission function) is not possible due to an intervening hub or the like (hereinafter referred to as “transmission”). This is called the encryption transmission function confirmation phase).

ここで、USBデバイス機器11が接続されているポートの位置検索は、検索処理にて特定されたポートに対してのみ暗号送信機能による通信を行うことで、他に接続されている従来のUSBデバイス機器への電源電圧の変化による影響を最小限に抑えることが目的であり、そのためには、あらかじめ、それぞれのポートに対して個々に制御可能な暗号送信機能を有しておく必要がある。  Here, the position search of the port to which the USB device device 11 is connected is performed by performing communication using the encryption transmission function only for the port specified in the search process, so that a conventional USB device connected to the other is connected. The purpose is to minimize the influence of changes in the power supply voltage on the device. To this end, it is necessary to have an encryption control function that can be individually controlled for each port in advance.

暗号送信機能確認フェーズとして、まず、USBホスト機器1は、接続されている個々のUSBデバイス機器の情報については把握しているが、どのポートにどのようなUSBデバイス機器が接続されているかといった接続関係を把握するための情報については持っていないため、別途調べる必要がある。そこで、例えば、USBホスト機器1とUSBデバイス機器11の間で、転送確認を兼ねて実際に任意のデータを送信してみることでUSBデバイス機器11の接続ポートの位置を調べる。はじめに送信準備として、暗号送信機能確認フェーズに入ることをベンダユニークなデバイスリクエストにてUSBデバイス機器へ通知する(ステップ55)。  In the encryption transmission function confirmation phase, first, theUSB host device 1 grasps information of each connected USB device device, but the connection such as which USB device device is connected to which port. I do not have the information to understand the relationship, so I need to investigate it separately. Thus, for example, the position of the connection port of the USB device device 11 is checked by actually transmitting arbitrary data between theUSB host device 1 and the USB device device 11 while confirming the transfer. First, as a preparation for transmission, the USB device device is notified by a vendor-unique device request that the encryption transmission function confirmation phase is entered (step 55).

次に、USBデバイス機器11はUSBコネクタの電源端子からのデータ受信待ち状態となり、前記ベンダユニークなデバイスリクエストに対して、データ端子を介して受信準備ができていないことを意味するNAK応答を返し続けるようになる(ステップ56)。  Next, the USB device 11 waits for data reception from the power terminal of the USB connector, and returns a NAK response indicating that it is not ready for reception via the data terminal in response to the vendor unique device request. Continue (step 56).

次に、暗号送信機能確認フェーズの1つの方法として、例えば、USBホスト機器1は、ポート上のUSBコネクタにある電源端子に対して同期用のクロックを送信後、任意のデータを送信する。USBデバイス機器11が送信されたデータを取得できれば、前記ベンダユニークなデバイスリクエストに対して応答可能であることを意味するACK応答と共に取得したデータをデータ端子を介して返す。前記アプリケーションソフトにて、その値が正しいものと判断できれば次の処理へ進む。  Next, as one method of the encryption transmission function confirmation phase, for example, theUSB host device 1 transmits arbitrary data after transmitting a synchronization clock to the power supply terminal in the USB connector on the port. If the USB device device 11 can acquire the transmitted data, the acquired data is returned through the data terminal together with an ACK response that means that it is possible to respond to the vendor-unique device request. If the application software can determine that the value is correct, the process proceeds to the next process.

また、USBホスト機器が複数のポートを持つ場合、ポートの数だけ暗号送信機能確認フェーズの処理を繰り返す(ステップ57)。
もし、USBホスト機器1側で取得したデータの値が異なっていたり、一定期間ACK応答がUSBデバイス機器11より無ければ、本発明による暗号送信機能は使用できないと見なし、認証処理を中断する。
If the USB host device has a plurality of ports, the encryption transmission function confirmation phase process is repeated for the number of ports (step 57).
If the value of the data acquired on theUSB host device 1 side is different or if there is no ACK response from the USB device device 11 for a certain period of time, the encryption transmission function according to the present invention is regarded as unusable and the authentication process is interrupted.

次に、USBホスト機器1にて実行されている前記アプリケーションソフトは、USBコネクタの電源端子を使ってパスワード等の暗号データを送信及び認証を行う認証処理フェーズに入ることを通知するために、USBデバイス機器11に対して特定のベンダユニークなデバイスリクエストを送信する(ステップ58)。  Next, the application software running on theUSB host device 1 uses the USB connector power terminal to send an authentication processing phase in which encrypted data such as a password is transmitted and authenticated. A specific vendor-unique device request is transmitted to the device device 11 (step 58).

すると、USBデバイス機器11はUSBコネクタの電源端子からの暗号データ受信待ち状態となり、前記ベンダユニークなデバイスリクエストに対してNAKをデータ端子を介して返し続けるようになる(ステップ59)。  Then, the USB device device 11 waits for reception of encrypted data from the power terminal of the USB connector, and continues to return NAK to the vendor unique device request via the data terminal (step 59).

次に、USBホスト機器1で実行されている前記アプリケーションソフトは、同期用のクロックを送信後、パスワード等の暗号データを送信する。
USBデバイス機器11は、予め設定しておいたタイムアウト時間内に必要な暗号データを受け取ると、前記ベンダユニークなデバイスリクエストに対してNAK応答するのを止めて、ACK応答と共に認証結果をデータ端子を介してUSBホスト機器1へ返す。(ステップ60)。
Next, the application software executed in theUSB host device 1 transmits encrypted data such as a password after transmitting a synchronization clock.
When the USB device 11 receives the necessary encrypted data within the preset timeout period, the USB device 11 stops the NAK response to the vendor-unique device request and sends the authentication result together with the ACK response to the data terminal. To theUSB host device 1. (Step 60).

最後に、前記判定結果にて暗号データが正しいものと判断されれば、保護されたリソースに対して、USBホスト機器1よりアクセスが可能になる。保護されたリソースが複数存在するような場合には、前記認証処理で使用するパスワード等の内容に応じて、アクセス可能なリソースを選択できるようにしても良い(ステップ61)。  Finally, if it is determined from the determination result that the encrypted data is correct, theUSB host device 1 can access the protected resource. If there are a plurality of protected resources, an accessible resource may be selected according to the contents of a password or the like used in the authentication process (step 61).

上記の処理中で認証処理が中断された場合、セキュリティ保護を解除しない状態で処理を終了する。USB機器のセキュリティ保護されていないリソースのみ通常通り使用可能となる。  If the authentication process is interrupted during the above process, the process ends without releasing the security protection. Only non-security protected resources of the USB device can be used as usual.

また、本発明の構成を有していない従来のUSBホスト機器またはUSBデバイス機器を接続した場合には、本発明の機能を有しているUSBホスト機器またはUSBデバイス機器が、USBコネクタの電源端子を用いたデータ転送に関わる機能を全て無効とすることで、従来のUSB機器及びUSBホスト機器との互換性が保てるようになっている。  Further, when a conventional USB host device or USB device device not having the configuration of the present invention is connected, the USB host device or USB device device having the function of the present invention is connected to the power connector terminal of the USB connector. By disabling all functions related to data transfer using, compatibility with conventional USB devices and USB host devices can be maintained.

以上のように、USBホスト機器の電源端子から出力される電源成分に暗号データを合成することが可能なUSBホスト機器と、暗号データを合成された電源成分から電源成分と暗号データを分離することが可能なUSBデバイス機器によりUSB装置を構成することにより、暗号データが電源成分に合成されており、プロトコルアナライザを用いても暗号データの解析が不可能になるので、安全な暗号送信が可能となる。  As described above, the USB host device capable of combining the encrypted data with the power component output from the power supply terminal of the USB host device, and separating the power component and the encrypted data from the combined power component of the encrypted data By configuring a USB device with a USB device that can perform encryption, the encrypted data is combined with the power supply component, and analysis of the encrypted data becomes impossible even using a protocol analyzer, so that secure encrypted transmission is possible Become.

また、USBコネクタの電源端子に転送するデータは暗号だけにとどまらず、あらゆるデータを任意のタイミングで転送することが可能である。
また、USBのハードウエアは、USBホストコントローラ、USBデバイスコントローラ共に、システムの一機能としてチップの中に内蔵されていることが多いが、本発明の構成ではUSBの主要機能については全く手を加えていないため、既存のUSBホストコントローラまたはUSBデバイスコントローラが搭載されているチップと、本発明を実現する外部回路を組み合わせることで容易にシステムの構築が可能である。
Further, the data transferred to the power supply terminal of the USB connector is not limited to encryption, and any data can be transferred at an arbitrary timing.
In addition, USB hardware is often built into the chip as a system function for both the USB host controller and USB device controller. However, in the configuration of the present invention, the USB main functions are completely changed. Therefore, a system can be easily constructed by combining a chip on which an existing USB host controller or USB device controller is mounted with an external circuit that implements the present invention.

さらに、USBホスト機器1とUSBデバイス機器11は互いに本発明の機能に対応しているかどうかを確認できる手段を有しているため、相手に本発明の機能が無いことがわかれば、本発明の機能を無効とし、従来のUSBホスト機器及びUSBデバイス機器と問題なく接続することができる。  Furthermore, since theUSB host device 1 and the USB device device 11 have means for confirming whether or not they correspond to the function of the present invention, if it is found that the other party does not have the function of the present invention, The function can be invalidated and it can be connected to a conventional USB host device and USB device device without any problem.

(実施の形態2)
前記、実施の形態1の処理は比較的追加する回路を少なくし、コストを下げることに主眼をおいた実装であるが、暗号送信確認フェーズにおけるUSBデバイス機器からUSBホスト機器への応答では、一部USBコネクタのデータ端子上での転送を用いているため、USBプロトコルアナライザにて暗号受信待ちで発生する長いNAK応答期間等の解析の手がかりとなる現象を見つけだすことができる。そのため、そこを糸口として暗号処理に必要な鍵やパスワード等の暗号データの解析を進めることができるため、セキュリティの面で完全とは言えない。実施の形態2では、より高いセキュリティ保護を目的とする。
(Embodiment 2)
The processing of the first embodiment is implemented mainly to reduce the number of circuits to be added and reduce the cost. However, in the response from the USB device device to the USB host device in the encryption transmission confirmation phase, there is one Since the transfer on the data terminal of the USB connector is used, it is possible to find a phenomenon that becomes a clue to the analysis such as a long NAK response period that occurs in the USB protocol analyzer while waiting for encryption reception. For this reason, analysis of encrypted data such as keys and passwords necessary for cryptographic processing can be advanced using this as a clue, so it cannot be said that the security is complete.Embodiment 2 aims at higher security protection.

以下、本発明のUSBホスト機器,USBデバイス機器、および、USBホスト機器とUSBデバイス機器が接続されて構成されるUSB装置ならびにUSB装置における認証方法について、図3,図4を用いて説明する。  The USB host device, USB device device, USB device configured by connecting the USB host device and the USB device device, and an authentication method in the USB device will be described below with reference to FIGS.

図3は実施の形態2におけるUSB装置の構成を示す図、図4は実施の形態2におけるUSB装置の暗号送信方法を説明するフロー図である。
図3に示すように、本発明のUSB装置の構成として、コンピュータに代表されるUSBホスト機器21には、USBホストの機能を有するUSBホストコントローラ部22と、暗号データ送信部23と暗号データ受信部26と電源供給部24と、暗号データ送信部23のデータ送信時はデータを出力しそれ以外の時はHi−z状態となる出力制御バッファ27と、出力制御バッファ27と電源供給部24から出力される二つの信号成分を電源端子上に合成して送信し、USBデバイス機器からUSBコネクタの電源端子を介して受信した暗号データを取り出す信号成分合成分離回路部25を有し、USBデバイス機器31には、USBデバイスの機能を有するUSBデバイスコントローラ部32と、USBコネクタの電源端子から電源成分と暗号データを分離して取り出し、USBホスト機器へ送信する暗号データを電源端子上の信号成分に載せる信号成分合成分離回路35と、前記データ成分を受信する暗号データ受信部33と前記電源成分を機器内へ供給する電源部34と、暗号データ送信部36と、暗号データ送信部36のデータ送信時はデータを出力しそれ以外の時はHi−z状態となる出力制御バッファ37とを有する。そして、USBホスト機器21とUSBデバイス機器31の電源端子およびデータ端子が接続されて、USBデータ転送を行うUSB装置を構成する。
FIG. 3 is a diagram illustrating the configuration of the USB device according to the second embodiment, and FIG. 4 is a flowchart illustrating the encryption transmission method of the USB device according to the second embodiment.
As shown in FIG. 3, as a configuration of the USB device of the present invention, a USB host device 21 represented by a computer includes a USBhost controller unit 22 having a USB host function, an encrypted data transmission unit 23, and an encrypted data reception. From the output control buffer 27, the output control buffer 27, and thepower supply unit 24 that output data when the data is transmitted by theunit 26, thepower supply unit 24, and the encrypted data transmission unit 23, and are in the Hi-z state otherwise. Two signal components to be output are synthesized on a power supply terminal and transmitted, and a signal component synthesis / separation circuit unit 25 is provided for extracting encrypted data received from the USB device equipment via the power supply terminal of the USB connector. 31 includes a USB device controller unit 32 having a USB device function, and a power supply component from a power supply terminal of the USB connector. A signal component combining / separating circuit 35 for separating and extracting the encrypted data and loading the encrypted data to be transmitted to the USB host device on the signal component on the power supply terminal, the encrypted data receiving unit 33 for receiving the data component, and the power component A power supply unit 34 to be supplied to the inside, an encrypted data transmission unit 36, and anoutput control buffer 37 that outputs data when the encrypted data transmission unit 36 transmits data and enters a Hi-z state at other times. Then, the power supply terminal and the data terminal of the USB host device 21 and the USB device device 31 are connected to constitute a USB device that performs USB data transfer.

以下の説明では、USBホスト機器21とUSBデバイス機器31の両方とも、接続前は暗号データ送信部23、暗号データ送信部36及び暗号データ受信部26,暗号データ受信部33が無効となっており、両者は1対1で接続され、出力制御バッファ27、出力制御バッファ37はどちらもHi−zの状態になっているものとする。また、保護されたリソースはUSBデバイス機器31の中に1つだけあるものとし、暗号データであるパスワードをUSBデバイス機器31が受信し、正しいものと判定されれば保護されたリソースにアクセスできるものとする。  In the following description, in both the USB host device 21 and the USB device device 31, the encryption data transmission unit 23, the encryption data transmission unit 36, the encryptiondata reception unit 26, and the encryption data reception unit 33 are invalid before connection. Both are connected in a one-to-one relationship, and both the output control buffer 27 and theoutput control buffer 37 are in a Hi-z state. In addition, it is assumed that there is only one protected resource in the USB device device 31, and if the USB device device 31 receives a password that is encrypted data and determines that it is correct, the protected resource can be accessed. And

図4に示すように、まず、USBデバイス機器31をUSBホスト機器21に接続すると、USBホスト機器21はUSBデバイス機器31を正しく使用するために、エニュメレーション処理を開始する(ステップ71)。  As shown in FIG. 4, first, when the USB device device 31 is connected to the USB host device 21, the USB host device 21 starts enumeration processing in order to use the USB device device 31 correctly (step 71).

エニュメレーション処理において、USBホスト機器21はUSBデバイス機器31からプロダクトIDやベンダーID、USBデバイス機器の種類を示すデバイスクラス情報を取得、保持する。続いて、適切な制御ドライバがUSBホスト機器へインストールされ、接続されたUSBデバイス機器31がUSBホスト機器21から使用可能な状態になる。しかし、この状態では、セキュリティ保護されたリソースには、まだアクセスできない(ステップ72)。  In the enumeration process, the USB host device 21 acquires and holds device class information indicating the product ID, vendor ID, and type of USB device device from the USB device device 31. Subsequently, an appropriate control driver is installed in the USB host device, and the connected USB device device 31 becomes usable from the USB host device 21. However, in this state, the secured resource is not yet accessible (step 72).

次に、USBホスト機器21上にて本発明の暗号送信機能を制御する認証処理用アプリケーションソフトを起動する(ステップ73)。
前記アプリケーションソフトは、USBホスト機器21が持つ接続されたUSBデバイス機器31の情報(コンピュータの場合はOSのレジストリ情報)を取得し、ベンダーIDやプロダクトIDにて本発明の機能を有するUSBデバイス機器31を検索する。さらに、特定のベンダユニークなデバイスリクエストをUSBデバイス機器31へ送信し、その応答の内容が本発明の機能をサポートしている旨のものであれば、次の処理へ進む(ステップ74)。
Next, the authentication processing application software for controlling the encryption transmission function of the present invention is activated on the USB host device 21 (step 73).
The application software acquires information on the connected USB device device 31 of the USB host device 21 (OS registry information in the case of a computer), and a USB device device having the functions of the present invention based on the vendor ID and product ID. 31 is searched. Further, a specific vendor-unique device request is transmitted to the USB device device 31. If the response content indicates that the function of the present invention is supported, the process proceeds to the next process (step 74).

次に、前記アプリケーションソフトは、本発明のUSBデバイス機器31が接続されているポートの位置検索、及び、USBホスト機器21と対象となるUSBデバイス機器31の間にハブ等が介在することにより暗号送信機能による通信が不可能な状態になっていないかどうかを確認する。具体的には、例えば次のような処理を行う。  Next, the application software is encrypted by searching the position of the port to which the USB device device 31 of the present invention is connected, and interposing a hub or the like between the USB host device 21 and the target USB device device 31. Check if communication using the transmission function is disabled. Specifically, for example, the following processing is performed.

まず、USBホスト機器21のもつ出力制御バッファ27を信号出力可能な状態に設定し、USBホスト機器21側よりUSBコネクタ上の電源端子を使って、最初に、データ同期用のクロックを送信後、接続されたUSBデバイス機器31のベンダーIDやプロダクトIDなど予めUSBデバイス機器31側もUSBホスト機器21側も把握している値をUSBホスト機器21側より送信する。その後、USBホスト機器21側の出力制御バッファ27をHi−z状態に戻し、USBホスト機器21はデータの受信に備える。受信したパスワードなどの暗号データがUSBデバイス機器31側で正しいものと判断できれば、USBコネクタの電源端子を使った暗号データの送信が可能であることを示す内容の応答を、USBデバイス機器31側の出力制御バッファ37を出力状態に設定後、USBホスト機器21側へUSBコネクタの電源端子を経由して返す。逆に、USBデバイス機器31で受け取った暗号データの値が意図していたものと異なる場合には、USBコネクタの電源端子を使った暗号データの転送が不可能であることを示す旨の応答をUSBホスト機器21へ返す。送信後は、USBデバイス機器31の出力制御バッファ37をHi−z状態に設定する。  First, the output control buffer 27 of the USB host device 21 is set to a signal output enabled state, and the data synchronization clock is first transmitted from the USB host device 21 side using the power supply terminal on the USB connector. The USB host device 21 side transmits values such as the vendor ID and product ID of the connected USB device device 31 that the USB device device 31 and the USB host device 21 know in advance. Thereafter, the output control buffer 27 on the USB host device 21 side is returned to the Hi-z state, and the USB host device 21 prepares for data reception. If it is determined that the received encrypted data such as a password is correct on the USB device device 31 side, a response indicating that the encrypted data can be transmitted using the power terminal of the USB connector is sent to the USB device device 31 side. After setting theoutput control buffer 37 to the output state, it returns to the USB host device 21 side via the power terminal of the USB connector. Conversely, if the value of the encrypted data received by the USB device device 31 is different from the intended value, a response indicating that the encrypted data cannot be transferred using the power connector of the USB connector. Return to the USB host device 21. After the transmission, theoutput control buffer 37 of the USB device device 31 is set to the Hi-z state.

また、USBのホスト−デバイス間でハブ等が介在することにより本発明の暗号送信機能による通信ができないこともあるため、暗号データの受信処理の中にタイムアウト処理を実装し、タイムアウトが発生したときには通信ができないと判断する。USBホスト機器21に複数のポートがある場合には各ポートにて本処理を実行することで、USBデバイス機器31が接続されているポートを検索する(ステップ75)。  In addition, since a hub or the like is interposed between the USB host and the device, communication by the encryption transmission function of the present invention may not be possible. Therefore, when timeout processing is implemented in the reception processing of encrypted data, and a timeout occurs Judge that communication is not possible. When there are a plurality of ports in the USB host device 21, the port is connected to the USB device device 31 by executing this process at each port (step 75).

暗号送信機能による通信が可能であることを、USBホスト機器21、USBデバイス機器31のそれぞれで確認できると、USBホスト機器21は出力制御バッファ27をデータ出力可能な状態に設定し、USBホスト機器21、USBデバイス機器31共に、暗号データの受け渡し及び認証処理が可能な状態となる(ステップ76)。  If the USB host device 21 and the USB device device 31 can confirm that communication by the encryption transmission function is possible, the USB host device 21 sets the output control buffer 27 in a state in which data can be output, and the USB host device 21 Both the USB device device 31 and the USB device device 31 are in a state where encryption data can be transferred and authenticated (step 76).

次に、実際にUSBホスト機器21からUSBデバイス機器31に対して、認証処理に必要なパスワード等の暗号データを同期クロックの送信後に送信する。送信後はUSBホスト機器21側の出力制御バッファ27を、Hi−zの状態に設定する(ステップ77)。  Next, encrypted data such as a password required for authentication processing is actually transmitted from the USB host device 21 to the USB device device 31 after transmission of the synchronization clock. After the transmission, the output control buffer 27 on the USB host device 21 side is set to the Hi-z state (step 77).

USBデバイス機器31側で受信した暗号データが正しいものであると判定できれば、保護されたリソースへのアクセスが可能になったことを示す旨の応答を、USBデバイス機器31の出力制御バッファ27を出力可能な状態に設定後、USBコネクタの電源端子を使って同期クロックを送信後に送信する。  If it is determined that the encrypted data received on the USB device device 31 side is correct, a response indicating that access to the protected resource is possible is output to the output control buffer 27 of the USB device device 31. After setting to a possible state, the synchronous clock is transmitted after being transmitted using the power terminal of the USB connector.

もし、USBホスト機器21から送られてくる前記暗号データが、正しいものでないと受信側のUSBデバイス機器31にて判定された場合、保護されたリソースへのアクセスはできない状態であることを示す旨の応答をUSBホスト機器21に対して行う。このとき、データを送信せずにUSBホスト機器21側でデータ受信待ちのタイムアウトを発生させることによって、保護されたリソースへのアクセス許可が出なかったことをUSBホスト機器21が知るようにしても良い。  If the received USB device device 31 determines that the encrypted data sent from the USB host device 21 is not correct, it indicates that the protected resource cannot be accessed. Is sent to the USB host device 21. At this time, the USB host device 21 may know that permission to access the protected resource has not been issued by generating a timeout for data reception on the USB host device 21 side without transmitting data. good.

送信後は、USBデバイス機器31の出力制御バッファ37をHi−zの状態に設定しておく(ステップ78)。
最後に、USBホスト機器21は、USBデバイス機器31から認証が完了した旨の応答を受け取ると、保護されたリソースに対してアクセス可能な状態になる。(ステップ79)。
After the transmission, theoutput control buffer 37 of the USB device 31 is set to the Hi-z state (step 78).
Finally, when the USB host device 21 receives a response indicating that the authentication has been completed from the USB device device 31, the USB host device 21 becomes accessible to the protected resource. (Step 79).

以上のように、USBホスト機器の電源端子から出力される電源成分に暗号データを合成することが可能なUSBホスト機器と、暗号データを合成された電源成分から電源成分と暗号データを分離することが可能なUSBデバイス機器によりUSB装置を構成し、さらに、USBホスト機器,USBデバイス機器共に、暗号データの出力を制御する出力制御バッファを備えて、電源成分に合成した暗号データの送受信を可能とすることにより、暗号データの送受信に関わる処理が全て電源端子上でのみ行われるため、プロトコルアナライザを用いても暗号データの解析が不可能になるので、安全な暗号送信が可能となる。  As described above, the USB host device capable of combining the encrypted data with the power component output from the power supply terminal of the USB host device, and separating the power component and the encrypted data from the combined power component of the encrypted data The USB device is composed of USB device devices that can be used, and both the USB host device and USB device device are equipped with an output control buffer that controls the output of encrypted data, enabling transmission and reception of encrypted data combined with power supply components. By doing so, since all processes related to transmission / reception of encrypted data are performed only on the power supply terminal, it becomes impossible to analyze the encrypted data even if a protocol analyzer is used.

本発明にかかるUSBホスト機器,USBデバイス機器およびUSB装置ならびに認証方法は、安全な暗号送信が可能となり、コンピュータに代表されるUSBホスト機器とUSBデバイス機器の間で、セキュリティ機能を実現するための認証処理に必要なパスワード等の暗号データを送受信するUSBホスト機器,USBデバイス機器およびUSB装置ならびに認証方法等に有用である。  The USB host device, the USB device device, the USB device, and the authentication method according to the present invention enable secure encrypted transmission, and realize a security function between the USB host device represented by a computer and the USB device device. This is useful for USB host devices, USB device devices, USB devices, authentication methods, and the like that transmit and receive encrypted data such as passwords necessary for authentication processing.

実施の形態1におけるUSB装置の構成を示す図FIG. 5 shows a configuration of a USB device in the first embodiment.実施の形態1におけるUSB装置の暗号送信方法を説明するフロー図FIG. 3 is a flowchart for explaining a USB device encryption transmission method according to the first embodiment.実施の形態2におけるUSB装置の構成を示す図The figure which shows the structure of the USB apparatus inEmbodiment 2.実施の形態2におけるUSB装置の暗号送信方法を説明するフロー図FIG. 9 is a flowchart for explaining an encryption transmission method of a USB device in the second embodiment.

符号の説明Explanation of symbols

1・・・USBホスト機器
2・・・USBホストコントローラ部
3・・・暗号データ送信部
4・・・電源供給部
5・・・信号成分合成回路部
11・・・USBデバイス機器
12・・・USBデバイスコントローラ部
13・・・暗号データ受信部
14・・・電源部
15・・・信号成分分離回路部
21・・・USBホスト機器
22・・・USBホストコントローラ部
23・・・暗号データ送信部
24・・・電源供給部
25・・・信号成分合成分離回路部
26・・・暗号データ受信部
27・・・出力制御用バッファ
31・・・USBデバイス機器
32・・・USBデバイスコントローラ部
33・・・暗号データ受信部
34・・・電源部
35・・・信号成分合成分離回路部
36・・・暗号データ送信部
37・・・出力制御用バッファ
DESCRIPTION OFSYMBOLS 1 ...USB host apparatus 2 ... USBhost controller part 3 ... Encryptiondata transmission part 4 ... Power supply part 5 ... Signal component synthesis circuit part 11 ...USB device apparatus 12 ... USB device controller unit 13 ... encrypted data receiving unit 14 ... power supply unit 15 ... signal component separating circuit unit 21 ...USB host device 22 ... USB host controller unit 23 ... encrypteddata transmitting unit 24 ... Power supply unit 25 ... Signal component synthesis /separation circuit unit 26 ... Encrypted data receiving unit 27 ... Output control buffer 31 ... USB device device 32 ... USB device controller unit 33. ..Encrypted data receiving unit 34 ... Power supply unit 35 ... Signal component combining / separating circuit unit 36 ... Encrypteddata transmitting unit 37 ... Output control buffer

Claims (15)

Translated fromJapanese
USBホスト動作を制御するUSBホストコントローラ部と、
USB転送の対象となるUSBデバイス機器に暗号データを送信する暗号データ送信部と、
前記USBデバイス機器にUSBの規格に定められた電圧を供給する電源供給部と、
前記暗号データ送信部と前記電源供給部から送られる二つの信号成分をUSBコネクタの電源端子上に合成した合成データを送信する信号成分合成回路部と
を有することを特徴とするUSBホスト機器。
A USB host controller for controlling the USB host operation;
An encrypted data transmission unit that transmits encrypted data to a USB device device that is a target of USB transfer;
A power supply unit for supplying a voltage defined in the USB standard to the USB device device;
A USB host device, comprising: a signal component synthesis circuit unit for transmitting synthesized data obtained by synthesizing the encrypted data transmission unit and the two signal components sent from the power supply unit on a power terminal of a USB connector.
USBデバイス動作を制御するUSBデバイスコントローラ部と、
USB転送の対象となるUSBホスト機器からUSBコネクタの電源端子を介して受信した合成データを電源成分と暗号データとに分離して取り出す信号成分分離回路部と、
前記暗号データを受信する暗号データ受信部と、
前記電源成分を機器内へ供給する電源部と
を有することを特徴とするUSBデバイス機器。
A USB device controller for controlling USB device operation;
A signal component separation circuit unit that separates and extracts combined data received from a USB host device subject to USB transfer via a power terminal of a USB connector into a power component and encrypted data;
An encrypted data receiving unit for receiving the encrypted data;
A USB device device, comprising: a power supply unit that supplies the power supply component into the device.
請求項1記載のUSBホスト機器と1または複数の請求項2記載のUSBデバイス機器の対応する端子を接続し、前記暗号データによる認証処理を有するUSB転送を、前記USBホスト機器から前記USBデバイス機器へ電源端子を介して電源成分に合成された暗号データを送信することにより行うことを特徴とするUSB装置。  A USB host device according to claim 1 and a corresponding terminal of one or more USB device devices according to claim 2 are connected, and USB transfer including authentication processing using the encrypted data is transferred from the USB host device to the USB device device. A USB device characterized by transmitting encrypted data combined with a power supply component to a power supply terminal. USBホスト動作を制御するUSBホストコントローラ部と、
USB転送の対象となるUSBデバイス機器に暗号データを送信する暗号データ送信部と、
前記USBデバイス機器にUSBの規格に定められた電圧を供給する電源供給部と、
前記暗号データ送信部より出力する暗号データの出力を制御する出力制御バッファと、
前記出力制御バッファと前記電源供給部から送られる二つの信号成分をUSBコネクタの電源端子上に合成した合成データを送信し、前記USBデバイス機器からUSBコネクタの電源端子を介して受信した暗号データを取り出す信号成分合成分離回路部と、
前記信号成分合成分離回路部で分離した暗号データを受信する暗号データ受信部と
を有することを特徴とするUSBホスト機器。
A USB host controller for controlling the USB host operation;
An encrypted data transmission unit that transmits encrypted data to a USB device device that is a target of USB transfer;
A power supply unit for supplying a voltage defined in the USB standard to the USB device device;
An output control buffer for controlling output of encrypted data output from the encrypted data transmission unit;
The composite data obtained by synthesizing two signal components sent from the output control buffer and the power supply unit on the power terminal of the USB connector is transmitted, and the encrypted data received from the USB device device via the power terminal of the USB connector is transmitted. A signal component combining / separating circuit unit to be extracted;
A USB host device comprising: an encrypted data receiving unit that receives encrypted data separated by the signal component combining / separating circuit unit.
USBデバイス動作を制御するUSBデバイスコントローラ部と、
USB転送の対象となるUSBホスト機器に暗号データを送信する暗号データ送信部と、
前記USBホスト機器からUSBコネクタの電源端子を介して受信した合成データを電源成分と暗号データとに分離して取り出し、前記USBホスト機器へ送信する暗号データを電源端子上の信号成分に載せる信号成分合成分離回路部と、
前記信号成分合成分離回路部で分離した暗号データを受信する暗号データ受信部と、
前記電源成分を機器内へ供給する電源部と
を有することを特徴とするUSBデバイス機器。
A USB device controller for controlling USB device operation;
An encrypted data transmission unit for transmitting encrypted data to a USB host device that is a target of USB transfer;
A signal component in which composite data received from the USB host device via the power terminal of the USB connector is separated into a power component and encrypted data, and the encrypted data to be transmitted to the USB host device is placed on the signal component on the power terminal. A synthesis separation circuit; and
An encrypted data receiving unit that receives encrypted data separated by the signal component combining and separating circuit unit;
A USB device device, comprising: a power supply unit that supplies the power supply component into the device.
請求項4記載のUSBホスト機器と1または複数の請求項5記載のUSBデバイス機器の対応する端子を接続し、前記暗号データによる認証処理を有するUSB転送を、前記USBホスト機器と前記USBデバイス機器間で電源端子を介して電源成分に合成されたデータを送受信することにより行うことを特徴とするUSB装置。  A USB host device according to claim 4 and a corresponding terminal of one or a plurality of USB device devices according to claim 5 are connected, and USB transfer including authentication processing using the encrypted data is transferred to the USB host device and the USB device device. A USB device characterized by performing transmission / reception of data combined with a power supply component via a power supply terminal. 請求項3記載のUSB装置を用いたUSB転送における認証処理を行うに際し、
前記USBデバイス機器を検索する工程と、
前記USBホスト機器が複数のポートを備える場合にはUSBデバイス機器が接続されたポートを検索する工程と、
前記USBホスト機器にて前記暗号データと電源成分を合成した合成データを電源端子から送信する工程と、
前記USBデバイス機器にて前記合成データより前記暗号データと前記電源成分を分離する工程と
を有し、前記暗号データにより認証処理を行うことを特徴とする認証方法。
When performing authentication processing in USB transfer using the USB device according to claim 3,
Searching for the USB device device;
When the USB host device has a plurality of ports, searching for a port to which the USB device device is connected;
Transmitting the combined data obtained by combining the encrypted data and the power supply component from the power supply terminal in the USB host device;
An authentication method comprising: a step of separating the encrypted data and the power supply component from the combined data in the USB device device, and performing an authentication process using the encrypted data.
請求項6記載のUSB装置を用いたUSB転送における認証処理を行うに際し、
前記USBデバイス機器を検索する工程と、
前記USBホスト機器が複数のポートを備える場合にはUSBデバイス機器が接続されたポートを検索する工程と、
前記USBホスト機器にて前記暗号データと電源成分を合成した合成データを電源端子から送信する工程と、
前記USBデバイス機器にて前記合成データより前記暗号データと前記電源成分を分離する工程と
を有し、前記暗号データにより認証処理を行うことを特徴とする認証方法。
When performing authentication processing in USB transfer using the USB device according to claim 6,
Searching for the USB device device;
When the USB host device has a plurality of ports, searching for a port to which the USB device device is connected;
Transmitting the combined data obtained by combining the encrypted data and the power supply component from the power supply terminal in the USB host device;
An authentication method comprising: a step of separating the encrypted data and the power supply component from the combined data in the USB device device, and performing an authentication process using the encrypted data.
前記USBホスト機器からのベンダユニークなデバイスリクエストに対し、前記USBデバイス機器がNAK応答を続ける間に、前記認証処理を行うことを特徴とする請求項7記載の認証方法。  8. The authentication method according to claim 7, wherein the authentication process is performed while the USB device device continues a NAK response to a vendor-unique device request from the USB host device. 前記合成データを送信する前に、前記USBホスト機器から電源端子を介して、データ転送における同期をとるためのクロックを送信することを特徴とする請求項7または請求項8または請求項9のいずれかに記載の認証方法。  The clock for synchronizing data transfer is transmitted from the USB host device via a power supply terminal before transmitting the composite data. The authentication method according to the above. 前記USB装置が、複数のポートを備える請求項1または4のいずれかに記載のUSBホスト機器に1または複数の請求項2または5のいずれかに記載のUSBデバイス機器が接続さる場合には、
前記USBホスト機器よりポート毎にUSBコネクタの電源端子を経由して任意のデータを送信し、前記USBデバイス機器から正しい応答があることを確認することにより、
前記USBデバイス機器が接続されたポートを検索することを特徴とする請求項7または請求項8または請求項9または請求項10のいずれかに記載の認証方法。
When the USB device is provided with a plurality of ports, when one or more USB device devices according to any one of claims 2 or 5 are connected to the USB host device according to any one of claims 1 or 4,
By sending arbitrary data via the USB connector power supply terminal for each port from the USB host device, and confirming that there is a correct response from the USB device device,
11. The authentication method according to claim 7, wherein the port is connected to the USB device device. 11.
前記USBホスト機器がポートを1つのみ備える場合に、
前記USBホスト機器で管理しているUSBデバイス機器群の接続情報を読み取ることにより、前記USBデバイス機器が前記USBホスト機器に直接接続されることを確認することを特徴とする請求項7または請求項8または請求項9または請求項10のいずれかに記載の認証方法。
When the USB host device has only one port,
8. The apparatus according to claim 7, wherein the USB device device is confirmed to be directly connected to the USB host device by reading connection information of a USB device device group managed by the USB host device. The authentication method according to claim 8, claim 9, or claim 10.
ベンダーID及びプロダクトIDより前記USBデバイス機器を検索し、ベンダユニークなデバイスリクエストを送信した時の応答により前記USBデバイス機器であることを確認することを特徴とする請求項7または請求項8または請求項9または請求項10または請求項11または請求項12のいずれかに記載の認証方法。  The USB device device is searched from a vendor ID and a product ID, and the USB device device is confirmed by a response when a vendor-unique device request is transmitted. The authentication method according to claim 9, claim 10, claim 11, or claim 12. 前記USBデバイス機器が前記USBホスト機器以外の機器に接続されている場合には、前記USBデバイス機器が有する暗号データ受信機能部を無効とし、USBデバイスコントローラ部のみを有効にして動作することを特徴とする請求項7または請求項8または請求項9または請求項10または請求項11または請求項12または請求項13のいずれかに記載の認証方法。  When the USB device device is connected to a device other than the USB host device, the encrypted data reception function unit included in the USB device device is disabled and only the USB device controller unit is enabled to operate. The authentication method according to claim 7, claim 8, claim 9, claim 10, claim 11, claim 12, or claim 13. 前記USBホスト機器が前記USBデバイス機器以外の機器に接続されている場合には、前記USBホスト機器が有する暗号データ送信部を無効とし、USBホスト機能部のみを有効にして動作することを特徴とする請求項7または請求項8または請求項9または請求項10または請求項11または請求項12または請求項13または請求項14のいずれかに記載の認証方法。  When the USB host device is connected to a device other than the USB device device, the encrypted data transmission unit included in the USB host device is disabled and only the USB host function unit is enabled to operate. The authentication method according to claim 7, claim 8, claim 9, claim 10, claim 11, claim 12, claim 13, or claim 14.
JP2005096584A2005-03-302005-03-30 USB host device, USB device device, USB device, and authentication methodPendingJP2006277420A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP2005096584AJP2006277420A (en)2005-03-302005-03-30 USB host device, USB device device, USB device, and authentication method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP2005096584AJP2006277420A (en)2005-03-302005-03-30 USB host device, USB device device, USB device, and authentication method

Publications (1)

Publication NumberPublication Date
JP2006277420Atrue JP2006277420A (en)2006-10-12

Family

ID=37212105

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP2005096584APendingJP2006277420A (en)2005-03-302005-03-30 USB host device, USB device device, USB device, and authentication method

Country Status (1)

CountryLink
JP (1)JP2006277420A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2011034306A (en)*2009-07-312011-02-17Toshiba CorpInformation processor and power supply control method
JP2013109688A (en)*2011-11-242013-06-06Fujitsu LtdInformation appliance
KR101424971B1 (en)2007-04-062014-08-13삼성전자주식회사 Method for protecting contents of UMS device using time information and apparatus therefor
JP2015084227A (en)*2013-10-252015-04-30三星電子株式会社Samsung Electronics Co.,Ltd. Storage system, storage device, and non-signal analysis method for storage system
KR20210075340A (en)*2019-12-132021-06-23주식회사 지오라인High-Speed Charging System with Equal Type Connection by Server Monitoring and Control
KR20210075330A (en)*2019-12-132021-06-23주식회사 지오라인Mobile Charging System that Mixes AC Single and Three Phasese based on on Micro-Current to Satisfy both Fast Charging Speed and Charging Accessilbility
KR20210075335A (en)*2019-12-132021-06-23주식회사 지오라인A mobile charging system that combines alternating current single-phase and three-phase based on internal batteries to satisfy both fast charging speed and charging accessibility
KR20210075333A (en)*2019-12-132021-06-23주식회사 지오라인Powerless Mobile Charging Outlet Based on Wired Connection Technology of Mobile Phone

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2001077733A (en)*1999-09-032001-03-23Japan Science & Technology Corp Transmitter and receiver for AC power and information signal
JP2001312326A (en)*2000-04-282001-11-09Fujitsu Ltd Portable electronic device and battery pack for portable electronic device
JP2002281174A (en)*2001-03-162002-09-27Nikon Gijutsu Kobo:Kk Telecommunications equipment and television equipment that can use television screens
JP2005044039A (en)*2003-07-242005-02-17Toshiba Corp Real-time serial communication device, real-time serial communication method, and mechatronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2001077733A (en)*1999-09-032001-03-23Japan Science & Technology Corp Transmitter and receiver for AC power and information signal
JP2001312326A (en)*2000-04-282001-11-09Fujitsu Ltd Portable electronic device and battery pack for portable electronic device
JP2002281174A (en)*2001-03-162002-09-27Nikon Gijutsu Kobo:Kk Telecommunications equipment and television equipment that can use television screens
JP2005044039A (en)*2003-07-242005-02-17Toshiba Corp Real-time serial communication device, real-time serial communication method, and mechatronic device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101424971B1 (en)2007-04-062014-08-13삼성전자주식회사 Method for protecting contents of UMS device using time information and apparatus therefor
JP2011034306A (en)*2009-07-312011-02-17Toshiba CorpInformation processor and power supply control method
JP2013109688A (en)*2011-11-242013-06-06Fujitsu LtdInformation appliance
JP2015084227A (en)*2013-10-252015-04-30三星電子株式会社Samsung Electronics Co.,Ltd. Storage system, storage device, and non-signal analysis method for storage system
US10139880B2 (en)2013-10-252018-11-27Samsung Electronics Co., Ltd.Data storage system and method analyzing non-signal
KR20210075330A (en)*2019-12-132021-06-23주식회사 지오라인Mobile Charging System that Mixes AC Single and Three Phasese based on on Micro-Current to Satisfy both Fast Charging Speed and Charging Accessilbility
KR20210075340A (en)*2019-12-132021-06-23주식회사 지오라인High-Speed Charging System with Equal Type Connection by Server Monitoring and Control
KR20210075335A (en)*2019-12-132021-06-23주식회사 지오라인A mobile charging system that combines alternating current single-phase and three-phase based on internal batteries to satisfy both fast charging speed and charging accessibility
KR20210075333A (en)*2019-12-132021-06-23주식회사 지오라인Powerless Mobile Charging Outlet Based on Wired Connection Technology of Mobile Phone
KR102330842B1 (en)*2019-12-132021-11-24주식회사 지오라인Mobile Charging System that Mixes AC Single and Three Phasese based on on Micro-Current to Satisfy both Fast Charging Speed and Charging Accessilbility
KR102401992B1 (en)*2019-12-132022-06-02주식회사 지오라인High-Speed Charging System with Equal Type Connection by Server Monitoring and Control
KR102401989B1 (en)*2019-12-132022-06-02주식회사 지오라인A mobile charging system that combines alternating current single-phase and three-phase based on internal batteries to satisfy both fast charging speed and charging accessibility
KR102401986B1 (en)*2019-12-132022-06-02주식회사 지오라인Powerless Mobile Charging Outlet Based on Wired Connection Technology of Mobile Phone

Similar Documents

PublicationPublication DateTitle
TWI353155B (en)Wireless communication system, wireless communicat
EP3513525B1 (en)Trusted execution environment secure element communication
US12022004B2 (en)Terminal registration system and terminal registration method
US20060068760A1 (en)System and method for pairing dual mode wired/wireless devices
EP2941854B1 (en)Authenticating a wireless dockee to a wireless docking service
JP2003337868A5 (en) Service providing system, apparatus terminal and processing method thereof, authentication apparatus and method, service providing apparatus and method, and program
TW200414051A (en)Encapsulation of a TCPA trusted platform module functionality within a server management coprocessor subsystem
US20110016310A1 (en)Secure serial interface with trusted platform module
EP2534600B1 (en)Externally managed security and validation processing device
CN110663229B (en)Method for communication between a microcontroller and a transceiver assembly, microcontroller and transceiver assembly
JP2006277420A (en) USB host device, USB device device, USB device, and authentication method
CN107066871B (en)Function device and control apparatus
EP2902934B1 (en)Portable Security Device, Method for Securing a Data Exchange and Computer Program Product
US20090327504A1 (en)Wireless device, and control method for wireless device
US9425964B2 (en)Display device with mobile high-definition link port and signal processing method thereof
CN104933349B (en)With the USB switching devices and download verification method for downloading authentication function
JP5384874B2 (en) Wireless communication system
CN113190489B (en)Double-host event sharing switching device and method
TWM494348U (en)Electronic device providing real-time switching and sharing of USB electronic apparatuses among hosts
US20110026707A1 (en)Communication apparatus
US11245698B2 (en)Registration system and registration method
WO2014036725A1 (en)Method, device and equipment for pcie port configuration
CN114978785B (en)Control method for special machine interconnection authentication
US20130014268A1 (en)Storage device and storage method
CN111934859A (en)Cipher card communication method, cipher card and computer equipment

Legal Events

DateCodeTitleDescription
A621Written request for application examination

Free format text:JAPANESE INTERMEDIATE CODE: A621

Effective date:20080117

RD04Notification of resignation of power of attorney

Free format text:JAPANESE INTERMEDIATE CODE: A7424

Effective date:20080430

A977Report on retrieval

Free format text:JAPANESE INTERMEDIATE CODE: A971007

Effective date:20100625

A131Notification of reasons for refusal

Free format text:JAPANESE INTERMEDIATE CODE: A131

Effective date:20100713

A521Request for written amendment filed

Free format text:JAPANESE INTERMEDIATE CODE: A523

Effective date:20100910

A02Decision of refusal

Free format text:JAPANESE INTERMEDIATE CODE: A02

Effective date:20101005


[8]ページ先頭

©2009-2025 Movatter.jp