JP4210993B2 - USB hub device, USB peripheral device and data transmission / reception method - Google Patents

USB hub device, USB peripheral device and data transmission / reception method Download PDF

Info

Publication number
JP4210993B2
JP4210993B2 JP2003118814A JP2003118814A JP4210993B2 JP 4210993 B2 JP4210993 B2 JP 4210993B2 JP 2003118814 A JP2003118814 A JP 2003118814A JP 2003118814 A JP2003118814 A JP 2003118814A JP 4210993 B2 JP4210993 B2 JP 4210993B2
Authority
JP
Japan
Prior art keywords
usb
hub
direct connection
usb peripheral
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.)
Expired - Fee Related
Application number
JP2003118814A
Other languages
Japanese (ja)
Other versions
JP2004328262A (en
Inventor
誠 材津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2003118814A priority Critical patent/JP4210993B2/en
Publication of JP2004328262A publication Critical patent/JP2004328262A/en
Application granted granted Critical
Publication of JP4210993B2 publication Critical patent/JP4210993B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、パーソナルコンピュータなどのユニバーサル・シリアル・バス(USBと略す)ホスト装置を頂点としたUSBシステムにおけるUSBハブ装置、USB周辺装置及びデータ送受信方法に関し、特にUSBホスト装置を介することなくUSB周辺装置間で直接にデータ送受信を行うようにしたUSBハブ装置、USB周辺装置及びデータ送受信方法に関する。
【0002】
【従来の技術】
従来、USBホスト装置を介することなくUSB周辺装置間で直接的にデータ送受信を行う方法として、USB規格団体が策定したUSB On−The−Go(以下、OTGと略す)と呼ばれる規格がある。
【0003】
図12は、第1の従来技術であり、このUSB OTG規格に基づき互いに接続されるUSB OTG装置及びUSB周辺装置のモデル図を示す。
【0004】
図12に示すUSB OTG装置71はUSB OTGの機能を搭載する一方のUSB周辺装置であり、OTGトランシーバ711,OTGコントローラ712,ホストコントローラ713及びデバイスコントローラ714を備える。また、他方のUSB周辺装置72は、トランシーバ721及びデバイスコントローラ722を備える。USB OTG装置71はUSB OTGの機能を搭載するので、USBホスト装置を介することなくUSB OTG装置71とUSB周辺装置72とは互いに1対1に接続可能であり、USB OTG装置71とUSB周辺装置72との間でデータ送受信が行われる。
【0005】
また、第2の従来技術として、特許文献1では、USBハブ装置を内蔵するデータ送受信装置が開示される。この特許文献1では、データ送受信装置がUSBホスト装置との切断を検出したとき、データ送受信装置自身がUSBホスト装置として機能し、データ送受信装置の複数のポートに接続する複数のUSB周辺装置との間でのデータ送受信を提供する技術が提案されている。詳しくは、USBハブ装置がUSBホストとの切断を検出すると、これをデータ送受信装置のCPUに通知する。CPUはこの通知を受けると、USBポートに接続するUSB周辺装置に対応する制御プログラム、すなわちドライバプログラムをロードし、USB周辺装置間のデータ送受信を中継する。
【0006】
なお、本発明に関連した先行技術文献としては、以下のものがある。
【0007】
【特許文献1】
特開2001−134528公報
【特許文献2】
特開2000−183939公報(請求項1乃至5,図1乃至3)
【0008】
【発明が解決しようとする課題】
しかしながら、図12に示す第1の従来技術には以下のような問題があった。
【0009】
このモデルでは、一方のUSB周辺装置がUSB OTGの機能を搭載することによりUSB OTG装置71として動作し、USBホスト装置を介することなく一方のUSB周辺装置(つまり、USB OTG装置71)と他方のUSB周辺装置72との間での直接的なデータ送受信を実現することができるが、従来のようなUSBホスト装置を頂点としたツリー形状のバストポロジーを維持した状態でUSB周辺装置間でのデータ送受信を行うことができない。その理由は、USB OTGはそもそも1対1の通信モデルのみを対象としている規格であるためである。
【0010】
また、特許文献1に記載される第2の従来技術には以下のような2つの問題があった。
【0011】
第1の問題点は、データ送受信装置がUSBホスト装置と切断された場合、データ送受信装置に接続されるいずれのUSB周辺装置も切断されたUSBホスト装置とのデータ送受信を行うことができなくなってしまうことである。これでは、USBホスト装置とUSB周辺装置との間でデータ送受信を行いつつ、他のUSB周辺装置間での直接のデータ送受信が行えない。この理由は、USBホスト装置を介することなくUSB周辺装置間で直接のデータ送受信を行うためには、すべてのUSB周辺装置をUSBホスト装置に対し切断しなければならないからである。
【0012】
第2の問題点は、USB周辺機器間のデータ送受信を中継するデータ送受信装置の規模が大きくなってしまうことである。その理由は、このデータ送受信装置にはUSBハブ装置が内蔵されていることに加えて、データ送受信装置は各USB周辺装置に対応した制御プログラム、オペレーティングシステムなどのソフトウェアを格納するための大容量メモリ、CPU、表示部及び入力部などのハードウェアを必要とするからである。
【0013】
特許文献2の発明では、USBデバイス間のデータ転送は、ハブ装置に疑似ホスト機能を搭載し、この疑似ホスト機能が送信元デバイスからのデータを一時的に受信し、そして送信元デバイスに対して送信する方法がとられている。しかしながら、この特許文献2では、ハブ装置配下の複数組みのデバイス間でデータ転送を行いたい場合に、ハブ装置がボトルネックになることが明らかであり、デバイス間での直接のデータ転送をスムーズに行うことができないという問題がある。
【0014】
本発明は上記の問題点に鑑みてなされたものであり、USBホスト装置と一部のUSB周辺装置との間でデータ送受信を行いつつ、他のUSB周辺装置間で直接的なデータ送受信を行うようにしたUSBハブ装置、USB周辺装置及びデータ送受信方法を提供することを第1の目的とする。
【0015】
また、本発明は、USB周辺装置間での直接的なデータ送受信を中継する簡単な構成のUSBハブ装置を提供することを第2の目的とする。
【0016】
【課題を解決するための手段】
この発明に係るUSBハブ装置は、ダウンストリームポートを介して複数のUSB周辺装置のそれぞれに対してデータ送受信を中継するUSBハブ装置において、任意のダウンストリームポートを互いにダイレクト接続する機能を有するハブリピーターと、USBホスト装置からのダイレクト接続リクエストに応じて特定のグループのダウンストリームポートに対して任意に互いにダイレクト接続するようにハブリピーターに指示するハブコントローラとを備えたUSBハブ装置であって、前記ハブリピーターは、ダイレクト接続の対象となっているUSB周辺装置に対するデータが前記USBホスト装置から送られてきた場合に、これにNAK応答することを特徴とする
【0019】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照しつつ詳細に説明する。
【0020】
[実施形態1]
以下、本発明のUSBハブ装置、USB周辺装置及びUSB周辺装置間のデータ送受信方法の第1の実施形態を図面を用いて説明する。図1は本発明の第1の実施形態によるUSBハブ装置の構成図である。図2はUSBハブ装置のハブリピーター11の構成図であり、図2(a)は通常状態におけるハブリピーター11を示し、図2(b)はダイレクト接続状態におけるスイッチを示す図である。図3は本発明の第1の実施形態によるUSB周辺装置の構成図であり、図4は本発明の第1の実施形態によるUSBハブ装置、USB周辺装置及びUSB周辺装置の間で行われるデータ送受信を時系列に示す図である。
【0021】
図1に示すように、USBハブ装置1は、通常、自身が内蔵するハブリピーター11により、アップストリームポート15と複数のダウンストリームポート16−1、16−2、16−3、16−4(場合に応じて、参照番号16で総称する)との間を双方向に中継する。USBハブ装置1はアップストリームポート15を介してUSBホスト装置3とデータ送受信を行い、ダウンストリームポート16を介してUSB周辺装置2−1、2−2、2−3、2−4(場合に応じて、参照番号2で総称する)のそれぞれとデータ送受信を行う。本実施形態では、4個のダウンストリームポートが配置されるが、5個以上または3個以下のダウンストリームポートであっても良い。
【0022】
USBトランシーバ13はアップストリームポート15とのUSB規格に準拠した電気的インタフェースをとる。USBトランシーバ14−1、14−2、14−3、14−4(場合に応じて、参照番号14で総称する)はダウンストリームポート16とのUSB規格に準拠した電気的インタフェースをとる。
【0023】
図2(a)に示すように、ハブリピーター11は、リンクスイッチ111と、ダイレクト接続用スイッチ112と、リンクスイッチ111及びダイレクト接続用スイッチ112の動作を制御するDCNコントロールタイマ113とを有する。
【0024】
リンクスイッチ111は、ダウンストリームポート16間でのダイレクト接続中にUSBホスト装置3からUSBハブ装置1へ送信される信号がダイレクト接続の対象であるダウンストリームポート16へ中継伝送されないようにスイッチ群を有する。ダイレクト接続期間外である通常状態においては、DCNコントロールタイマ113の制御の下で、リンクスイッチ111の全てのスイッチはオン状態(接続状態)に設定され、各ダウンストリームポート16とアップストリームポート15とは接続状態に設定される。
【0025】
一方、たとえばダウンストリームポート16−1、16−2、16−3がダイレクト接続の対象でありダウンストリームポート16−4がダイレクト接続の対象でない場合には、DCNコントロールタイマ113の制御の下でダウンストリームポート16−1、16−2、16−3に対応するリンクスイッチ111のスイッチはオフ状態(非接続状態)に設定され、ダウンストリームポート16−1、16−2、16−3のそれぞれとアップストリームポート15との間の接続は切断される。また、ダウンストリームポート16−4に対応するリンクスイッチ111のスイッチはオン状態に維持され、アップストリームポート15との間の接続は維持される。
【0026】
ダイレクト接続用スイッチ112は良く知られるマトリクススイッチから構成され、任意のダウンストリームポート16どうしをダイレクト接続できる機能を有する。通常状態においては、DCNコントロールタイマ113の制御の下で全ての接続ポイントはオフ状態(図2(a)において白丸で示す)に設定され、USBホスト装置3から送信される信号がダイレクト接続用スイッチ112のそれぞれのスイッチを経由して対応するダウンストリームポート16へ送られるように設定されている。一方、USB周辺装置2−1、2−3間でダイレクト通信しUSB周辺装置2−2、2−4間でダイレクト通信する場合には、図2(b)に示すように、DCNコントロールタイマ113の制御の下でダイレクト接続用スイッチ112の一部のスイッチがオン状態(図2(b)において黒丸で示す)に設定され、ダウンストリームポート16−1、16−3間をダイレクト接続し、ダウンストリームポート16−2、16−4間をダイレクト接続する。
【0027】
USBホスト装置3はダイレクト接続の対象となる一群のダウンストリームポート16を指定するダイレクト接続リクエストコマンドを発行し、ハブコントローラ12は、このダイレクト接続リクエストコマンドに応じて、指定されたダウンストリームポート16のグループ内で任意に互いにダイレクト接続可能になるようにハブリピーター11のDCNコントロールタイマ113に対して指示を行う。
【0028】
また、指定されたダウンストリームポート16に接続するUSB周辺装置2の中でホストとして機能するUSB周辺装置2を特定するために、USBホスト装置3は、ダイレクト接続におけるUSBホストの権限を与えるUSBホスト権限付与リクエストコマンドを発行し、USBハブ装置1を介して特定のUSB周辺装置2に送付する。
【0029】
ハブリピーター11は、USBホスト装置3から発行されるフレーム同期用のSOFパケットを検出する機能と、ダイレクト接続の対象となっているダウンストリームポート16に対して、ダイレクト接続中であることを通知するためのダイレクト接続通知信号(以下、DCNパケットとする)を送出する機能を有する。
【0030】
次に、図3に示されるUSB周辺装置の構成を説明する。図3において、各USB周辺装置2は、通常のUSB周辺コントローラ21と、簡易的なUSBホスト装置としての機能を有するUSBホストコントローラ22と、ダウンストリームポート16とのUSB規格に準拠した電気的インタフェースをとるUSBトランシーバ23と、データ処理を行うコンピュータ回路24とを有する。
【0031】
各USB周辺装置2では、USB周辺コントローラ21またはUSBホストコントローラ22のいずれか一方のみが動作し、USB周辺装置2がクライエントとして機能する場合には、USB周辺コントローラ21のみが動作する。例えば、USB周辺装置2がUSBホスト装置3とのデータ送受信を行う通常の場合にはUSB周辺コントローラ21のみが動作する。また、USBホスト装置3からUSBホスト権限付与リクエストコマンドを受けると、USB周辺コントローラ21でUSBホスト権限付与リクエストコマンドを認識し、USB周辺コントローラ21は動作を止めると共にUSBホストコントローラ22を動作させ、USB周辺装置2は簡易的なUSBホスト装置として機能する。
【0032】
USB周辺装置2がクライエントとして機能している場合、アップストリームポートを介してDCNパケットを受信すると、USB周辺コントローラ21でDCNパケットを認識する。また、ホストとして機能しているUSB周辺装置2でDCNパケットを受信した場合、USBホストコントローラ22でDCNパケットを認識する。
【0033】
一般的なUSBホスト装置は通常パーソナルコンピュータからなり、USB規格に準拠しているあらゆるUSB周辺装置との接続及びデータ送受信を行える能力を持っていなければならない。しかしながら、本実施形態において、簡易的なUSBホスト装置として機能するUSB周辺装置2が他のUSB周辺装置2とのデータ送受信を行う場合、データ送受信の相手となるUSB周辺装置2が持つ機能的特徴、たとえばエンドポイント数、エンドポイント番号、各エンドポイントのデータ転送方向、パケットサイズなどが予め分かっている。
【0034】
そのため、簡易的なUSBホスト装置として機能するUSB周辺装置2は、一般的なUSBホスト装置に求められるような、新規USB周辺装置を検出した場合のドライバインストール機能(プラグアンドプレイ機能)、複数のトランザクションのスケジューリング機能、フレームコントロール機能、電力の供給・管理機能などのような高度な機能を必要としない。この意味で、USB周辺装置2が有するUSBホストコントローラ22は、他のUSB周辺装置との間でデータ送受信が実現できる最低限度の機能を有すればよい。最低限度の機能とは、USBシステムにおけるデータ送受信の最小単位であるトランザクションを実行できる能力である。具体的には、トークンパケットの生成及び送信、これに続くデータパケットの生成及び送信並びに受信、そしてハンドシェークパケットの生成及び送信並びに受信などの一連のトランザクション処理と、パケット個々に対するエラーハンドリング機能、トランザクションタイムアウト、シーケンスエラーなどの一連のトランザクション処理に対するエラーハンドリング処理機能である。
【0035】
なお、USBシステムにおけるトランザクション処理、及びこれに係るエラーハンドリング処理の詳細については、USB規格によって定義される。
【0036】
次に、図1に示されるUSBハブ装置1の動作について説明する。
【0037】
まず、USBホスト装置3からのダイレクト接続の要求を受けていない場合、USBハブ装置1は自身が内蔵するハブリピーター11により、アップストリームポート15と複数のダウンストリームポート16との間を双方向に中継する。
【0038】
その後、USBハブ装置1がUSBホスト装置3からのダイレクト接続リクエストコマンドを受けると、このリクエストコマンドはハブリピーター11を介してハブコントローラ12に送られ、ハブコントローラ12はダイレクト接続リクエストコマンドを認識する。次いで、ハブコントローラ12はダイレクト接続リクエストコマンドで指定されるダウンストリームポート16のグループ内で任意に互いにダイレクト接続可能になるようにハブリピーター11のダイレクト接続用スイッチ112に対してDCNコントロールタイマ113を介して設定指示を行う。ただし、この時点では、あくまでもダイレクト接続の指示を行っただけであって、実際にダイレクト接続されるわけではない。
【0039】
図4を参照すると、フレーム1において、特定のUSB周辺装置2にダイレクト接続におけるUSBホストの権限を与えるUSBホスト権限付与リクエストコマンドREQ1をUSBホスト装置3からUSBハブ装置1へ発行する。USBハブ装置1はこのUSBホスト権限付与リクエストコマンドREQ1を特定されたUSB周辺装置2に中継伝送する。この第1の実施形態では、USB周辺装置2−1にUSBホスト権限付与リクエストコマンドREQ1が中継伝送され、USB周辺装置2−1は簡易的なUSBホスト装置として機能する。
【0040】
次いで、フレーム1において、USBホスト装置3からUSBハブ装置1へダイレクト接続リクエストコマンドREQ2及び付加情報が送出される。リクエストコマンドREQ2及び付加情報はハブリピーター11を介してハブコントローラ12へ送られる。付加情報には、ダイレクト接続対象のダウンストリームポート16(またはUSB周辺装置2)のグループ情報及びUSBハブ装置1でのSOFパケット受信からDCNパケット送信までの間隔情報が含まれる。このケースでは、一例として、ダウンストリームポート16−1、16−2、16−3を1つのグループとしてダイレクト接続するようリクエストしている。当然ながら、フレーム1が終了するまではUSBホスト装置3はすべてのUSB周辺装置2との間で通常のデータ送受信を行うことができる。
【0041】
ここで、USBホスト権限付与リクエストコマンドREQ1とダイレクト接続リクエストコマンドREQ2との関係は、リクエストコマンドREQ1、REQ2の発行順序は守る必要はあるが、図4で示したように同一フレームでリクエストコマンドREQ1、REQ2を発行する必要はない。また、USBホスト装置3からダイレクト接続リクエストコマンドREQ2を出力するタイミング、及びUSBホスト権限を与える対象のUSB周辺装置2の選択はアプリケーションによるものとし、ここで規定されるものではない。
【0042】
次いで、ダイレクト接続のリクエストを受けた後、USBハブ装置1がUSBホスト装置3から発行されるフレーム同期用のSOFパケットを検出すると、フレーム2において、ハブリピーター11はSOFパケットをすべてのダウンストリームポート16に中継伝送するとともに、ハブリピーター11のDCNコントロールタイマ113はリセットされカウントを起動する。また、ハブコントローラ12は間隔情報にもとづきDCNパケット送出時刻を設定し、このDCNパケット送出時刻をDCNコントロールタイマ113へ伝える。DCNコントロールタイマ113は、カウント値がDCNパケット送出時刻になった時点で、ダイレクト接続対象に関するグループ情報にしたがってリンクスイッチ111及びダイレクト接続用スイッチ112へオン・オフ制御信号を送り、リンクスイッチ111及びダイレクト接続用スイッチ112を所望のオン・オフ状態にする。
【0043】
そのため、ハブリピーター11は、ダイレクト接続の対象となっている各ダウンストリームポート16とアップストリームポート15とのリンクを切断するとともに、ダイレクト接続の対象となっているダウンストリームポート16のグループ内で任意に互いにダイレクト接続可能にする。この切断動作は、USBホスト装置3からSOFパケットにつづく別のパケットが出力された場合に、これをダイレクト接続のサービス対象であるダウンストリームポート16―1、16−2、16−3に伝送してしまうことを防ぐためである。また、USBシステムにおけるパケット送受信は、フレームを基本として行われるため、すべてのUSB周辺機器はUSBホストが発行するSOFパケットに同期して動作する必要がある。なお、この切断動作は、SOFパケットの中継伝送後に行うDCNパケットの送出後から現フレームの終了までであるダイレクト接続有効期間中に行われる。
【0044】
したがって、本実施形態のUSBハブ装置1においても、USBホスト装置3からのSOFパケットをダイレクト接続の対象となっているダウンストリームポート16−1、16−2、16−3に対しても中継伝送することで、USBシステム全体におけるフレーム同期を維持することを保証している。
【0045】
また、ダウンストリームポート16―1、16−2、16−3を1つのグループとしてダイレクト接続するようリクエストコマンドREQ2及び付加情報がUSBハブ装置1に送信されるので、USBホスト装置3とダイレクト接続対象ではないUSB周辺装置2−4との間で通信を行うことができる。
【0046】
図5は、本実施形態のUSBシステムにおけるSOFパケットの伝播の様子を示したモデル図である。ダイレクト接続の設定状況に関係なく、SOFパケットは、USBハブ装置1を含むすべてのUSB周辺装置2に伝播される。
【0047】
SOFパケットをダウンストリームポート16に中継伝送し終わった段階で、ハブリピーター11は、ダイレクト接続の対象となっているダウンストリームポート16―1、16−2、16−3に対して、ダイレクト接続中であることを通知するためにDCNパケットを送出する。ここで、ハブリピーター11はSOFパケット受信からDCNパケット送信までの間隔をUSBホスト装置3から受信した間隔情報にしたがって設定する。この時点で、ダイレクト接続の対象となっているダウンストリームポート16―1、16−2、16−3は、すでにアップストリームポート15とのリンクを切断されているため、もしSOFパケットにつづいて別のパケットがUSBホスト装置3から発行されていたとしても、ハブリピーター11からのDCSパケットと衝突することを防ぐことができる。ハブリピーター11は、DCNパケットの送出完了までの間に、ダイレクト接続用スイッチ112を制御して、ハブコントローラ12による予め設定された内容にしたがって、当該ダウンストリームポート16どうしをダイレクト接続する。
【0048】
一方、DCNパケットを受信したUSB周辺装置2−1は、自身のアップストリームポートが他のUSB周辺装置2とダイレクト接続されていることが保証されている。この時点で、USB周辺装置2−1はUSBホスト機能をイネーブルとして、必要に応じて他のUSB周辺装置2とのデータ送受信を行うことができる。つまり、USB周辺装置2−1のUSBホストコントローラ22が動作し、USB周辺装置2−1は簡易的なUSBホスト装置として機能する。
【0049】
図4を参照すると、フレーム2において、USBホスト装置3からSOFパケットが発行された直後にUSBハブ装置1からUSB周辺装置2−1、2−2、2−3に対してDCNパケットが発行される。一方、USB周辺装置2−4はUSBホスト装置3からのダイレクト接続リクエストコマンドでの指定を受けていないので、USB周辺装置2−4にはDCNパケットが送信されていない。
【0050】
DCNパケットを受信した以降、USB周辺装置2−1、2−2、2−3のそれぞれは、当該フレームの終了までダイレクト接続有効期間として、USB周辺装置2−1、2−2、2−3間での直接的なデータ送受信が許される。ただし、USBシステムにおける通信モデルでは、必ずホストとして機能するUSBホスト装置とクライアントとして機能するUSB周辺装置という主従関係の上でデータ送受信が行われるため、完全に自由なデータ送受信が行えるわけではない。したがって、予めどのUSB周辺装置2がダイレクト接続有効期間中にUSBホストとして動作する権限を持つかどうか決定しておく必要がある。この手続きは、前述したとおりフレーム1でのUSBホスト権限付与リクエストコマンドREQ1によって事前に行われている。このケースでは一例として、USB周辺装置2−1がUSBホストとしての権限が与えられ、USB周辺装置2−2またはUSB周辺装置2−3とフレーム2においてデータ送受信する。
【0051】
さらに、本実施形態では、例えばフレーム3において、ダイレクト接続解除リクエストコマンドREQ3がUSBホスト装置3からUSBハブ装置1に対して発行される。この場合、ハブリピーター11を介してハブコントローラ12にリクエストコマンドREQ3が送られ、ハブコントローラ12はダイレクト接続解除リクエストコマンドREQ3を認識する。この認識に基づき、ハブコントローラ12の制御の下でハブリピーター11は、次のフレームからDCNパケットの送出を中止し、USBシステムにおけるダイレクト接続が終了する。ここで、USBホスト装置3から出力されるダイレクト接続解除リクエストコマンドREQ3のタイミングは、アプリケーションによるものとし、ここで規定するものではない。
【0052】
図6はダイレクト接続期間におけるパケットの伝播の様子を示すモデル図である。ダイレクト接続期間(例えばフレーム2またはフレーム3)においては、ダイレクト接続の対象であるUSB周辺装置2−1、2−2、2−3の間で、USB周辺装置2−1を一時的なUSBホストとして直接的なデータ送受信がなされる。一方、USBホスト装置3、USBハブ装置1及びUSB周辺装置2−4の間では、ダイレクト接続の範囲内のデータ送受信とは独立して、トランザクション、すなわちデータ送受信が行われる。
【0053】
図7はダイレクト接続期間における否定応答(NAK)を示すモデル図である。ダイレクト接続期間中は、ダイレクト接続対象であるUSB周辺装置2−1、2−2、2−3とUSBホスト装置3とのリンクが切断される。したがって、もしUSBホスト装置3からUSB周辺装置2−1、2−2、2−3のいずれかの装置宛にトランザクションパケットが送信されたとしても、USB周辺装置2−1、2−2、2−3はトランザクションパケットに応答することができない。USBシステムにおいて、無応答はエラーとして解釈されてしまう。これを回避するため、図7に示したように、ダイレクト接続期間中は、USB周辺装置2−1、2−2、2−3に対してのトランザクションパケットが発行されたことをUSBハブ装置1のハブリピーター11が検出し、ハブリピーター11はネガティブアクノレッジメント(NAK)ハンドシェークをもって応答する。これにより、ダイレクト接続期間中のUSBホスト装置3における無用なエラー発生を防ぐことができる。
【0054】
以上のように、この実施形態1によれば、第1の効果として、USBホスト装置3と一部のUSB周辺装置2間の接続を維持したまま、残りのUSB周辺装置2間で直接的なデータ送受信が実現できる。その理由は、USBハブ装置1に任意のダウンストリームポート16をダイレクト接続できるダイレクト接続用スイッチ112を設け、ダイレクト接続用スイッチ112の動作により、ダイレクト接続の対象となっている各ダウンストリームポート16とアップストリームポート15とのリンクのみが切断され、ダイレクト接続の対象となっていないダウンストリームポート16とアップストリームポート15とのリンクの接続は維持されるからである。
【0055】
また、第2の効果として、USBハブ装置1の構成を簡易にすることができる。その理由は、USB周辺装置2に簡易的なUSBホスト機能を設けているからである。
【0056】
また、第3の効果として、USBホスト装置3の負荷を低減することができる。その理由は、USB周辺装置2どうしが互いに直接的にデータ送受信を行うため、USBホスト装置3が介在する必要がないためである。
【0057】
また、第4の効果として、USBシステム全体として、スループットが向上する。なぜなら、USB周辺装置2間のデータ送受信をUSBホスト装置3が介在して行うという従来の場合は、一旦USBホスト装置3がデータソースのUSB周辺装置2からデータを受信し、そしてUSBホスト装置3からデータディスティネーションとなる他のUSB周辺装置2に対してデータを送信するという、2度のデータ送受信処理が必要となり、その分バスのトラフィックを消費することになる。一方、本実施形態によるダイレクト接続によれば、ダイレクト接続の対象となっているUSB周辺装置2とUSBホスト装置3とのリンクを一時的に切断し、USBホスト装置3から独立した形でUSB周辺装置2間のデータ送受信が行われるためにUSBシステム全体のバストラフィックを全く消費しなくなるからである。
【0058】
[実施形態2]
次に、本発明の第2の実施形態について図面を参照して詳細に説明する。
【0059】
図8は本発明の第2の実施形態によるUSBハブ装置の構成図であり、図8(a)はUSBハブ装置の構成を示す図であり、図8(b)はUSBレシーバの構成図である。
【0060】
図8(a)及び図8(b)に示すように、それぞれのUSBレシーバ14は、ダウンストリームポート16との電気的インタフェースをとるためのドライバ及びレシーバを有するドライバ・レシーバ回路141と、ダウンストリームポート16とハブリピーター11との間をドライバ・レシーバ回路141を介して接続するかドライバ・レシーバ回路141を介さないで接続するかを選択する選択スイッチ142とを有する。また、それぞれのUSB周辺装置2も同じ機能を有するドライバ・レシーバ回路及び選択スイッチ(図示省略)を備える。
【0061】
非ダイレクト接続期間中は、選択スイッチ142はa端子を選択し、ドライバ・レシーバ回路141を介してダウンストリームポート16とハブリピーター11とは接続する。一方、ダイレクト期間中は、選択スイッチ142はb端子を選択し、ドライバ・レシーバ回路141を介すことなくダウンストリームポート16とハブリピーター11とはトランスペアレントに接続する。
【0062】
これにより、たとえばユニバーサル・アシンクロナス・レシーバ/トランスミッタ(UART)やインター・インテグレイテッド・サーキット(I2C)などのUSB規格以外の2線式インタフェースによって、USB周辺装置間のデータ送受信を実現することができる。
【0063】
【実施例】
次に、本発明の第1の実施形態または第2の実施形態における実施例について図面を参照して詳細に説明する。
【0064】
[実施例1]
図9は図1または図8で示した単一のUSBハブ装置1に対して複数のダイレクト接続のグループを設定した場合の例を示したモデル図である。なお、ここでのUSBハブ装置の個数及び段数、そしてUSB周辺装置の数は、一例を示すものであって、限定されるものではない。
【0065】
第1の実施例では、ダイレクト接続を利用したさまざまなUSBシステムの実施例を説明する。図9に示す第1の実施例では、USBホスト装置3からUSBハブ装置1に対して、USB周辺装置2−1、2−2、2−3と、USB周辺装置2−4、2−5と、USB周辺装置2−6、2−7とをそれぞれダイレクト接続グループとして設定している。また、USBホスト装置3から、それぞれのグループに対して、1つずつUSBホスト権限を持つUSB周辺装置を指定することができる。
【0066】
以上のように、第1の実施例によれば、1個のUSBハブ装置1に接続される複数のダイレクト接続グループを設定することができる。
【0067】
[実施例2]
図10は図1または図8で示したUSBハブ装置1をUSBホスト装置3に対し複数個並列に接続した場合の例を示すモデル図である。なお、ここでのUSBハブ装置の個数及び段数、そしてUSB周辺装置の数は、一例を示すものであって、限定されるものではない。
【0068】
図10に示すように、USBホスト装置3からそれぞれのUSBハブ装置1−1、1−2、1−3に対して、個別にダイレクト接続を指定している。この場合も、図9に示す実施例と同様にそれぞれのグループに対して、1つずつ個別にUSBホスト権限を持つUSB周辺装置を指定することができる。
【0069】
以上のように、この第2の実施例によれば、複数のUSBハブ装置のそれぞれにおいてダイレクト接続グループを設定することができる。
【0070】
[実施例3]
図11は図1または図8で示したUSBハブ装置1をカスケード接続した場合の例を示すモデル図である。なお、ここでのUSBハブ装置の個数及び段数、そしてUSB周辺装置の数は、一例を示すものであって、限定されるものではない。
【0071】
図11に示すように、USBホスト装置3に対しUSBハブ装置1−1、1−2がカスケード接続される。この実施例において、1段目に位置するUSBハブ装置1−1は、USBホスト装置3からの制御により、ダウンストリームポート16−2、16−3、16−4がダイレクト接続に設定される。
【0072】
図示しているとおり、ダウンストリーム16−4には、2段目のUSBハブ装置1−2が接続されており、SOFパケットにつづいて、USBハブ装置1−1からDCNパケットが送出される。SOFパケット及びDCNパケットは、USBハブ装置1−2によって、USB周辺装置2−4、2−5、2−6に中継伝送される。そもそもUSBハブ装置とは、基本的にアップストリームポートと各ダウンストリームポートとを単純に中継伝送するものであるため、USBハブ装置1−2自体はダイレクト接続が設定されていなくてもこのように動作する。この結果、USB周辺装置2−2、2−3、2−4、2−5、2−6は、カスケード接続されたUSBハブ装置1−1、1−2を介してダイレクト接続できる。また、USBハブ装置1−1のダウンストリームポート16−1、16−5については、ダイレクト接続の対象外であるため、これに接続するUSB周辺装置2−1、2−7については、USBホスト装置3との間で、通常のUSBシステムにおけるデータ送受信が行われる。この例ではUSBハブ装置1を2段としているが2段に限定するものではない。
【0073】
以上のように、この第3の実施例によれば、USBハブ装置が多段に接続された状態においても、USB周辺装置2間で直接的なデータ送受信が可能である。
【0074】
【発明の効果】
以上のように、このUSBハブ装置の発明によれば、複数のUSB周辺装置に接続する任意のダウンストリームポートを互いにダイレクト接続する機能を有するハブリピーターと、USBホスト装置からのダイレクト接続リクエストに応じて特定のグループのダウンストリームポートに対して任意に互いにダイレクト接続するようにハブリピーターに指示するハブコントローラとを備えるように構成したので、USBホスト装置とUSB周辺装置との間でデータ送受信を行いつつ、他のUSB周辺装置間で直接的なデータ送受信を行うことができる。
【0075】
このUSB周辺装置の発明によれば、クライアントとしてデータの送受信を制御するUSB周辺コントローラと、USBシステムにおけるデータ送受信の最小単位であるトランザクション処理を実行するUSBホスト機能を有し、USBホスト装置を介することなく他のUSB周辺装置と直接にホストとしてデータの送受信を行う場合にUSB周辺コントローラに代わってデータの送受信を制御するUSBホストコントローラとを備えるように構成したので、USBホスト装置とUSB周辺装置との間でデータ送受信を行いつつ、他のUSB周辺装置間で直接的なデータ送受信を行うことができる。また、USB周辺装置はUSBホスト機能を有するので、USB周辺装置間での直接的なデータ送受信を中継するUSBハブ装置の構成を簡単にすることができる。
【0076】
この発明に係るデータ送受信方法は、USBホスト装置とUSB周辺装置の各々との間でデータ送受信を行うステップと、USBホスト装置からのダイレクト接続リクエストに応じて特定のUSB周辺装置に接続するダウンストリームポートを任意に互いにダイレクト接続するステップと、ダイレクト接続に係るUSB周辺装置間でUSBホスト装置を介することなくデータ送受信を直接に行うステップとを有するようにしたので、USBホスト装置とUSB周辺装置との間でデータ送受信を行いつつ、他のUSB周辺装置間で直接的なデータ送受信を行うことができる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態によるUSBハブ装置の構成図である。
【図2】USBハブ装置のハブリピーターの構成図である。
【図3】本発明の第1の実施形態によるUSB周辺装置の構成図である。
【図4】本発明の第1の実施形態によるUSBハブ装置、USB周辺装置及びUSB周辺装置の間で行われるデータ送受信を時系列に示す図である。
【図5】第1の実施形態のUSBシステムにおけるSOFパケットの伝播の様子を示したモデル図である。
【図6】第1の実施形態によるダイレクト接続期間におけるパケットの伝播の様子を示すモデル図である。
【図7】第1の実施形態によるダイレクト接続期間における否定応答(NAK)を示すモデル図である。
【図8】本発明の第2の実施形態によるUSBハブ装置の構成図である。
【図9】本発明の第1の実施例における複数のダイレクト接続のグループを設定した場合の例を示したモデル図である。
【図10】本発明の第2の実施例におけるUSBハブ装置をUSBホスト装置に対し複数個並列に接続した場合の例を示すモデル図である。
【図11】本発明の第3の実施例におけるUSBハブ装置をカスケード接続した場合の例を示すモデル図である。
【図12】USB OTG規格に基づき互いに接続されるUSB OTG装置及びUSB周辺装置のモデル図を示す。
【符号の説明】
1−1,1−2,1−3 USBハブ装置
2,2―1,2−2,2−3,2−4,2−5,2−6,2−7,2−(n−1),2−n USB周辺装置
3 USBホスト装置
11 ハブリピーター
13 USBトランシーバ
14,14−1,14−2,14−3,14−4 USBトランシーバ
15 アップストリームポート
16,16−1,16−2,16−3,16−4 ウンストリームポート
21 USB周辺コントローラ
22 USBホストコントローラ
24 コンピュータ回路
111 リンクスイッチ
112 ダイレクト接続用スイッチ
113 DCNコントロールタイマ
141 ドライバ・レシーバ回路
142 選択スイッチ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a USB hub device, a USB peripheral device, and a data transmission / reception method in a USB system having a universal serial bus (abbreviated as USB) host device such as a personal computer as a vertex, and in particular, a USB peripheral without using a USB host device. The present invention relates to a USB hub device, a USB peripheral device, and a data transmission / reception method that perform direct data transmission / reception between devices.
[0002]
[Prior art]
Conventionally, as a method for directly transmitting and receiving data between USB peripheral devices without going through a USB host device, there is a standard called USB On-The-Go (hereinafter abbreviated as OTG) established by the USB standards organization.
[0003]
FIG. 12 is a first prior art, and shows a model diagram of a USB OTG device and a USB peripheral device connected to each other based on the USB OTG standard.
[0004]
A USB OTG device 71 shown in FIG. 12 is a USB peripheral device having a USB OTG function, and includes an OTG transceiver 711, an OTG controller 712, a host controller 713, and a device controller 714. The other USB peripheral device 72 includes a transceiver 721 and a device controller 722. Since the USB OTG device 71 has a USB OTG function, the USB OTG device 71 and the USB peripheral device 72 can be connected to each other one-on-one without using a USB host device. Data is transmitted to and received from 72.
[0005]
As a second conventional technique, Patent Document 1 discloses a data transmission / reception device incorporating a USB hub device. In this patent document 1, when the data transmission / reception device detects disconnection from the USB host device, the data transmission / reception device itself functions as a USB host device, and is connected to a plurality of USB peripheral devices connected to a plurality of ports of the data transmission / reception device. Technologies that provide data transmission / reception between the two have been proposed. Specifically, when the USB hub device detects disconnection from the USB host, the CPU notifies the CPU of the data transmission / reception device. Upon receiving this notification, the CPU loads a control program corresponding to the USB peripheral device connected to the USB port, that is, a driver program, and relays data transmission / reception between the USB peripheral devices.
[0006]
As prior art documents related to the present invention, there are the following.
[0007]
[Patent Document 1]
JP 2001-134528 A
[Patent Document 2]
JP 2000-183939 A (Claims 1 to 5, FIGS. 1 to 3)
[0008]
[Problems to be solved by the invention]
However, the first prior art shown in FIG. 12 has the following problems.
[0009]
In this model, one USB peripheral device operates as the USB OTG device 71 by installing the USB OTG function, and one USB peripheral device (that is, the USB OTG device 71) and the other one do not pass through the USB host device. Although direct data transmission / reception with the USB peripheral device 72 can be realized, data between the USB peripheral devices is maintained in a state in which a tree-shaped bus topology with the USB host device as a vertex is maintained. Cannot send / receive. The reason is that USB OTG is a standard that targets only a one-to-one communication model.
[0010]
The second prior art described in Patent Document 1 has the following two problems.
[0011]
The first problem is that when the data transmission / reception device is disconnected from the USB host device, any USB peripheral device connected to the data transmission / reception device cannot transmit / receive data to / from the disconnected USB host device. It is to end. In this case, data transmission / reception between the USB host device and the USB peripheral device cannot be performed, but direct data transmission / reception between other USB peripheral devices cannot be performed. This is because all USB peripheral devices must be disconnected from the USB host device in order to directly send and receive data between the USB peripheral devices without going through the USB host device.
[0012]
The second problem is that the scale of the data transmission / reception apparatus that relays data transmission / reception between USB peripheral devices is increased. The reason is that in addition to the built-in USB hub device in this data transmission / reception device, the data transmission / reception device has a large-capacity memory for storing software such as a control program and an operating system corresponding to each USB peripheral device This is because hardware such as a CPU, a display unit, and an input unit is required.
[0013]
In the invention of Patent Document 2, for data transfer between USB devices, a hub device is equipped with a pseudo host function, and the pseudo host function temporarily receives data from the transmission source device, and The method of sending is taken. However, in Patent Document 2, when it is desired to transfer data between a plurality of sets of devices under the hub device, it is clear that the hub device becomes a bottleneck, and direct data transfer between devices is smoothly performed. There is a problem that can not be done.
[0014]
The present invention has been made in view of the above problems, and performs direct data transmission / reception between other USB peripheral devices while performing data transmission / reception between the USB host device and some USB peripheral devices. A first object is to provide a USB hub device, a USB peripheral device, and a data transmission / reception method.
[0015]
A second object of the present invention is to provide a USB hub device having a simple configuration for relaying direct data transmission / reception between USB peripheral devices.
[0016]
[Means for Solving the Problems]
The USB hub device according to the present invention is: In a USB hub device that relays data transmission and reception to each of a plurality of USB peripheral devices via a downstream port, Instruct the hub repeater to connect directly to any downstream port of a specific group in response to a direct connection request from a USB host device and a hub repeater that has the function of directly connecting any downstream port to each other With a hub controller The hub repeater is characterized in that the hub repeater makes a NAK response to data sent from the USB host device to the USB peripheral device to be directly connected. .
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0020]
[Embodiment 1]
Hereinafter, a first embodiment of a USB hub device, a USB peripheral device, and a data transmission / reception method between USB peripheral devices of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a USB hub device according to a first embodiment of the present invention. FIG. 2 is a configuration diagram of the hub repeater 11 of the USB hub device. FIG. 2 (a) shows the hub repeater 11 in a normal state, and FIG. 2 (b) shows a switch in a direct connection state. FIG. 3 is a configuration diagram of a USB peripheral device according to the first embodiment of the present invention, and FIG. 4 is data performed between the USB hub device, the USB peripheral device, and the USB peripheral device according to the first embodiment of the present invention. It is a figure which shows transmission / reception in time series.
[0021]
As shown in FIG. 1, the USB hub device 1 normally has an upstream port 15 and a plurality of downstream ports 16-1, 16-2, 16-3, 16-4 ( In some cases, it is relayed bidirectionally. The USB hub device 1 transmits / receives data to / from the USB host device 3 via the upstream port 15, and the USB peripheral devices 2-1, 2-2, 2-3, 2-4 (in the case) Accordingly, data transmission / reception is performed with each of them. In this embodiment, four downstream ports are arranged, but may be five or more or three or less downstream ports.
[0022]
The USB transceiver 13 has an electrical interface with the upstream port 15 conforming to the USB standard. The USB transceivers 14-1, 14-2, 14-3, and 14-4 (generally referred to by reference numeral 14 in some cases) have an electrical interface with the downstream port 16 that conforms to the USB standard.
[0023]
As shown in FIG. 2A, the hub repeater 11 includes a link switch 111, a direct connection switch 112, and a DCN control timer 113 that controls operations of the link switch 111 and the direct connection switch 112.
[0024]
The link switch 111 sets a switch group so that a signal transmitted from the USB host device 3 to the USB hub device 1 during direct connection between the downstream ports 16 is not relayed to the downstream port 16 to be directly connected. Have. In a normal state outside the direct connection period, all the switches of the link switch 111 are set to an on state (connected state) under the control of the DCN control timer 113, and each downstream port 16 and upstream port 15 Is set to the connected state.
[0025]
On the other hand, for example, when the downstream ports 16-1, 16-2, and 16-3 are targets for direct connection and the downstream port 16-4 is not a target for direct connection, the ports are down under the control of the DCN control timer 113. The switches of the link switch 111 corresponding to the stream ports 16-1, 16-2, 16-3 are set to an off state (non-connected state), and each of the downstream ports 16-1, 16-2, 16-3 The connection with the upstream port 15 is disconnected. Further, the switch of the link switch 111 corresponding to the downstream port 16-4 is maintained in the ON state, and the connection with the upstream port 15 is maintained.
[0026]
The direct connection switch 112 is constituted by a well-known matrix switch, and has a function of directly connecting arbitrary downstream ports 16 to each other. In a normal state, all connection points are set to an off state (indicated by white circles in FIG. 2A) under the control of the DCN control timer 113, and a signal transmitted from the USB host device 3 is a direct connection switch. It is set to be sent to the corresponding downstream port 16 via each of the 112 switches. On the other hand, when direct communication is performed between the USB peripheral devices 2-1 and 2-3 and direct communication is performed between the USB peripheral devices 2-2 and 2-4, as shown in FIG. Under the control, a part of the direct connection switch 112 is set to an ON state (indicated by a black circle in FIG. 2B), and the downstream ports 16-1 and 16-3 are directly connected and down. The stream ports 16-2 and 16-4 are directly connected.
[0027]
The USB host device 3 issues a direct connection request command for designating a group of downstream ports 16 to be directly connected, and the hub controller 12 responds to the direct connection request command with the designated downstream port 16. An instruction is given to the DCN control timer 113 of the hub repeater 11 so that the direct connection can be arbitrarily made within the group.
[0028]
In order to identify the USB peripheral device 2 that functions as a host among the USB peripheral devices 2 connected to the designated downstream port 16, the USB host device 3 gives the USB host authority for direct connection. An authorization request command is issued and sent to a specific USB peripheral device 2 via the USB hub device 1.
[0029]
The hub repeater 11 notifies the function for detecting the SOF packet for frame synchronization issued from the USB host device 3 and the downstream port 16 that is the target of direct connection that direct connection is being performed. A direct connection notification signal (hereinafter referred to as a DCN packet).
[0030]
Next, the configuration of the USB peripheral device shown in FIG. 3 will be described. In FIG. 3, each USB peripheral device 2 includes an electrical interface that conforms to the USB standard with a normal USB peripheral controller 21, a USB host controller 22 having a function as a simple USB host device, and a downstream port 16. And a computer circuit 24 that performs data processing.
[0031]
In each USB peripheral device 2, only one of the USB peripheral controller 21 and the USB host controller 22 operates, and when the USB peripheral device 2 functions as a client, only the USB peripheral controller 21 operates. For example, in the normal case where the USB peripheral device 2 performs data transmission / reception with the USB host device 3, only the USB peripheral controller 21 operates. In addition, when a USB host authority grant request command is received from the USB host device 3, the USB peripheral controller 21 recognizes the USB host authority grant request command, the USB peripheral controller 21 stops the operation and operates the USB host controller 22, and the USB The peripheral device 2 functions as a simple USB host device.
[0032]
When the USB peripheral device 2 functions as a client, the USB peripheral controller 21 recognizes the DCN packet when receiving the DCN packet via the upstream port. When the USB peripheral device 2 functioning as a host receives a DCN packet, the USB host controller 22 recognizes the DCN packet.
[0033]
A general USB host device is usually a personal computer and must have the ability to connect to and transmit / receive data to / from any USB peripheral device that conforms to the USB standard. However, in this embodiment, when the USB peripheral device 2 that functions as a simple USB host device performs data transmission / reception with another USB peripheral device 2, the functional characteristics of the USB peripheral device 2 that is the partner of data transmission / reception. For example, the number of endpoints, the endpoint number, the data transfer direction of each endpoint, the packet size, etc. are known in advance.
[0034]
Therefore, the USB peripheral device 2 that functions as a simple USB host device has a driver installation function (plug-and-play function) when a new USB peripheral device is detected, as required by a general USB host device, Advanced functions such as transaction scheduling, frame control, and power supply / management functions are not required. In this sense, the USB host controller 22 included in the USB peripheral device 2 only needs to have a minimum function capable of realizing data transmission / reception with other USB peripheral devices. The minimum function is the ability to execute a transaction, which is the minimum unit of data transmission / reception in the USB system. Specifically, a series of transaction processing such as token packet generation and transmission, subsequent data packet generation and transmission and reception, and handshake packet generation and transmission and reception, error handling function for each packet, transaction timeout This is an error handling processing function for a series of transaction processing such as sequence errors.
[0035]
The details of transaction processing in the USB system and error handling processing related thereto are defined by the USB standard.
[0036]
Next, the operation of the USB hub device 1 shown in FIG. 1 will be described.
[0037]
First, when a direct connection request from the USB host device 3 is not received, the USB hub device 1 bidirectionally connects between the upstream port 15 and the plurality of downstream ports 16 by the hub repeater 11 incorporated therein. Relay.
[0038]
Thereafter, when the USB hub device 1 receives a direct connection request command from the USB host device 3, this request command is sent to the hub controller 12 via the hub repeater 11, and the hub controller 12 recognizes the direct connection request command. Next, the hub controller 12 passes the DCN control timer 113 to the direct connection switch 112 of the hub repeater 11 so that it can be directly connected to each other in the group of downstream ports 16 specified by the direct connection request command. Instruct the setting. However, at this point, the direct connection is merely instructed, and the actual direct connection is not made.
[0039]
Referring to FIG. 4, in frame 1, a USB host authority grant request command REQ <b> 1 for giving authority of a USB host in direct connection to a specific USB peripheral device 2 is issued from the USB host device 3 to the USB hub device 1. The USB hub device 1 relays the USB host authority grant request command REQ1 to the specified USB peripheral device 2. In the first embodiment, a USB host authority grant request command REQ1 is relayed and transmitted to the USB peripheral device 2-1, and the USB peripheral device 2-1 functions as a simple USB host device.
[0040]
Next, in frame 1, the direct connection request command REQ 2 and additional information are sent from the USB host device 3 to the USB hub device 1. The request command REQ2 and additional information are sent to the hub controller 12 via the hub repeater 11. The additional information includes group information of the direct connection target downstream port 16 (or USB peripheral device 2) and interval information from SOF packet reception to DCN packet transmission in the USB hub device 1. In this case, as an example, the downstream ports 16-1, 16-2, and 16-3 are requested to be directly connected as one group. Naturally, the USB host device 3 can perform normal data transmission / reception with all the USB peripheral devices 2 until the frame 1 is completed.
[0041]
Here, regarding the relationship between the USB host authority grant request command REQ1 and the direct connection request command REQ2, the issue order of the request commands REQ1 and REQ2 needs to be kept, but as shown in FIG. 4, the request command REQ1, There is no need to issue REQ2. The timing for outputting the direct connection request command REQ2 from the USB host device 3 and the selection of the USB peripheral device 2 to which the USB host authority is given are determined by the application, and are not specified here.
[0042]
Next, after receiving the direct connection request, when the USB hub device 1 detects the SOF packet for frame synchronization issued from the USB host device 3, in the frame 2, the hub repeater 11 sends the SOF packet to all downstream ports. 16, the DCN control timer 113 of the hub repeater 11 is reset and starts counting. Further, the hub controller 12 sets a DCN packet transmission time based on the interval information, and informs the DCN control timer 113 of this DCN packet transmission time. The DCN control timer 113 sends an on / off control signal to the link switch 111 and the direct connection switch 112 according to the group information regarding the direct connection object when the count value reaches the DCN packet transmission time, and the link switch 111 and the direct connection The connection switch 112 is set to a desired on / off state.
[0043]
Therefore, the hub repeater 11 disconnects the link between each downstream port 16 and the upstream port 15 that are the targets of the direct connection, and is arbitrarily selected within the group of the downstream ports 16 that are the targets of the direct connection. Can be connected directly to each other. In this disconnection operation, when another packet following the SOF packet is output from the USB host device 3, it is transmitted to the downstream ports 16-1, 16-2, 16-3 which are the services of direct connection. This is to prevent that. Further, since packet transmission / reception in the USB system is performed on a frame basis, all USB peripheral devices need to operate in synchronization with the SOF packet issued by the USB host. This disconnection operation is performed during the direct connection valid period from the time when the DCN packet is transmitted after the relay transmission of the SOF packet to the end of the current frame.
[0044]
Therefore, also in the USB hub device 1 of this embodiment, the SOF packet from the USB host device 3 is relayed to the downstream ports 16-1, 16-2, 16-3 that are the targets of direct connection. This guarantees that the frame synchronization in the entire USB system is maintained.
[0045]
Further, since the request command REQ2 and the additional information are transmitted to the USB hub device 1 so as to directly connect the downstream ports 16-1, 16-2, and 16-3 as one group, the USB host device 3 and the direct connection target It is possible to communicate with a USB peripheral device 2-4 that is not.
[0046]
FIG. 5 is a model diagram showing how the SOF packet propagates in the USB system of this embodiment. Regardless of the setting status of the direct connection, the SOF packet is propagated to all the USB peripheral devices 2 including the USB hub device 1.
[0047]
When the SOF packet has been relayed and transmitted to the downstream port 16, the hub repeater 11 is directly connected to the downstream ports 16-1, 16-2, and 16-3 to be directly connected. A DCN packet is sent out to notify that it is. Here, the hub repeater 11 sets an interval from SOF packet reception to DCN packet transmission according to the interval information received from the USB host device 3. At this point, the downstream ports 16-1, 16-2, and 16-3 that are the targets of the direct connection have already been disconnected from the upstream port 15, so if the SOF packet is different. Even if the packet is issued from the USB host device 3, it can be prevented from colliding with the DCS packet from the hub repeater 11. The hub repeater 11 controls the direct connection switch 112 until the transmission of the DCN packet is completed, and directly connects the downstream ports 16 according to the contents set in advance by the hub controller 12.
[0048]
On the other hand, the USB peripheral device 2-1 that has received the DCN packet is guaranteed that its upstream port is directly connected to another USB peripheral device 2. At this point, the USB peripheral device 2-1 can enable the USB host function and perform data transmission / reception with other USB peripheral devices 2 as necessary. That is, the USB host controller 22 of the USB peripheral device 2-1 operates, and the USB peripheral device 2-1 functions as a simple USB host device.
[0049]
Referring to FIG. 4, in frame 2, immediately after the SOF packet is issued from the USB host device 3, the DCN packet is issued from the USB hub device 1 to the USB peripheral devices 2-1, 2-2, and 2-3. The On the other hand, since the USB peripheral device 2-4 has not been designated by the direct connection request command from the USB host device 3, no DCN packet is transmitted to the USB peripheral device 2-4.
[0050]
After receiving the DCN packet, each of the USB peripheral devices 2-1, 2-2, 2-3 has the USB peripheral devices 2-1, 2-2, 2-3 as the direct connection valid period until the end of the frame. Direct data transmission and reception between them is allowed. However, in the communication model in the USB system, data transmission / reception is performed based on a master / slave relationship between a USB host device that always functions as a host and a USB peripheral device that functions as a client. Therefore, it is necessary to determine whether it has the authority to advance any USB peripheral device 2 operates as a USB host in direct connection lifetime. This procedure is performed in advance by the USB host authority grant request command REQ1 in the frame 1 as described above. In this case, as an example, the USB peripheral device 2-1 is given authority as a USB host, and transmits / receives data to / from the USB peripheral device 2-2 or the USB peripheral device 2-3 in the frame 2.
[0051]
Further, in the present embodiment, for example, in the frame 3, a direct connection release request command REQ3 is issued from the USB host device 3 to the USB hub device 1. In this case, a request command REQ3 is sent to the hub controller 12 via the hub repeater 11, and the hub controller 12 recognizes the direct connection release request command REQ3. Based on this recognition, the hub repeater 11 stops sending the DCN packet from the next frame under the control of the hub controller 12, and the direct connection in the USB system is terminated. Here, the timing of the direct connection release request command REQ3 output from the USB host device 3 depends on the application, and is not specified here.
[0052]
FIG. 6 is a model diagram showing a state of packet propagation in the direct connection period. In the direct connection period (for example, frame 2 or frame 3), the USB peripheral device 2-1 is temporarily connected to the USB peripheral device 2-1, 2-2, 2-3 that is the target of direct connection. Direct data transmission / reception. On the other hand, between the USB host device 3, the USB hub device 1, and the USB peripheral device 2-4, a transaction, that is, data transmission / reception is performed independently of data transmission / reception within the range of direct connection.
[0053]
FIG. 7 is a model diagram showing a negative response (NAK) in the direct connection period. During the direct connection period, the link between the USB peripheral devices 2-1, 2-2, 2-3 and the USB host device 3, which are direct connection targets, is disconnected. Therefore, even if a transaction packet is transmitted from the USB host device 3 to any one of the USB peripheral devices 2-1, 2-2, 2-3, the USB peripheral devices 2-1, 2-2, 2 -3 cannot respond to transaction packets. In the USB system, no response is interpreted as an error. In order to avoid this, as shown in FIG. 7, during the direct connection period, the USB hub device 1 indicates that a transaction packet has been issued to the USB peripheral devices 2-1, 2-2, 2-3. Hub repeater 11 detects and responds with a negative acknowledgment (NAK) handshake. Thereby, it is possible to prevent an unnecessary error from occurring in the USB host device 3 during the direct connection period.
[0054]
As described above, according to the first embodiment, as a first effect, the connection between the USB host device 3 and some USB peripheral devices 2 is maintained, and the remaining USB peripheral devices 2 are directly connected. Data transmission / reception can be realized. The reason is that a direct connection switch 112 capable of directly connecting an arbitrary downstream port 16 to the USB hub device 1 is provided, and the operation of the direct connection switch 112 causes each downstream port 16 to be directly connected to This is because only the link with the upstream port 15 is disconnected, and the link connection between the downstream port 16 and the upstream port 15 that is not the target of direct connection is maintained.
[0055]
As a second effect, the configuration of the USB hub device 1 can be simplified. This is because the USB peripheral device 2 has a simple USB host function.
[0056]
As a third effect, the load on the USB host device 3 can be reduced. The reason is that the USB peripheral devices 2 directly transmit and receive data to each other, so that there is no need for the USB host device 3 to intervene.
[0057]
As a fourth effect, the throughput of the entire USB system is improved. This is because in the conventional case where the USB host device 3 performs data transmission / reception between the USB peripheral devices 2, the USB host device 3 once receives data from the USB peripheral device 2 as the data source, and then the USB host device 3. Therefore, two data transmission / reception processes of transmitting data to another USB peripheral device 2 serving as a data destination are required, and bus traffic is consumed accordingly. On the other hand, according to the direct connection according to the present embodiment, the link between the USB peripheral device 2 and the USB host device 3 to be directly connected is temporarily disconnected, and the USB peripheral is independent from the USB host device 3. This is because data transmission / reception between the devices 2 is performed, so that the bus traffic of the entire USB system is not consumed at all.
[0058]
[Embodiment 2]
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.
[0059]
FIG. 8 is a configuration diagram of a USB hub device according to the second embodiment of the present invention, FIG. 8A is a diagram illustrating a configuration of the USB hub device, and FIG. 8B is a configuration diagram of a USB receiver. is there.
[0060]
As shown in FIGS. 8A and 8B, each USB receiver 14 includes a driver / receiver circuit 141 having a driver and a receiver for electrically interfacing with the downstream port 16, and a downstream. A selection switch 142 that selects whether the port 16 and the hub repeater 11 are connected via the driver / receiver circuit 141 or not via the driver / receiver circuit 141 is provided. Each USB peripheral device 2 also includes a driver / receiver circuit and a selection switch (not shown) having the same functions.
[0061]
During the non-direct connection period, the selection switch 142 selects the a terminal, and the downstream port 16 and the hub repeater 11 are connected via the driver / receiver circuit 141. On the other hand, during the direct period, the selection switch 142 selects the b terminal, and the downstream port 16 and the hub repeater 11 are transparently connected without passing through the driver / receiver circuit 141.
[0062]
Thus, data transmission / reception between USB peripheral devices can be realized by a two-wire interface other than the USB standard, such as a universal asynchronous receiver / transmitter (UART) or an inter-integrated circuit (I2C).
[0063]
【Example】
Next, examples of the first embodiment or the second embodiment of the present invention will be described in detail with reference to the drawings.
[0064]
[Example 1]
FIG. 9 is a model diagram showing an example in which a plurality of direct connection groups are set for the single USB hub device 1 shown in FIG. 1 or FIG. Note that the number of USB hub devices and the number of stages and the number of USB peripheral devices here are merely examples, and are not limited.
[0065]
In the first embodiment, various USB system embodiments using direct connection will be described. In the first embodiment shown in FIG. 9, USB peripheral devices 2-1, 2-2, 2-3 and USB peripheral devices 2-4, 2-5 are connected from the USB host device 3 to the USB hub device 1. USB peripheral devices 2-6 and 2-7 are set as direct connection groups. Further, from the USB host device 3, one USB peripheral device having a USB host authority can be designated for each group.
[0066]
As described above, according to the first embodiment, a plurality of direct connection groups connected to one USB hub device 1 can be set.
[0067]
[Example 2]
FIG. 10 is a model diagram showing an example in which a plurality of USB hub devices 1 shown in FIG. 1 or FIG. 8 are connected to the USB host device 3 in parallel. Note that the number of USB hub devices and the number of stages and the number of USB peripheral devices here are merely examples, and are not limited.
[0068]
As shown in FIG. 10, the USB host device 3 individually designates direct connection to the respective USB hub devices 1-1, 1-2, and 1-3. In this case, as in the embodiment shown in FIG. 9, a USB peripheral device having a USB host authority can be individually designated for each group.
[0069]
As described above, according to the second embodiment, a direct connection group can be set in each of a plurality of USB hub devices.
[0070]
[Example 3]
FIG. 11 is a model diagram showing an example when the USB hub device 1 shown in FIG. 1 or FIG. 8 is cascade-connected. Note that the number of USB hub devices and the number of stages, and the number of USB peripheral devices here are merely examples, and are not limited.
[0071]
As shown in FIG. 11, the USB hub devices 1-1 and 1-2 are cascade-connected to the USB host device 3. In this embodiment, in the USB hub device 1-1 located in the first stage, the downstream ports 16-2, 16-3, and 16-4 are set to direct connection under the control of the USB host device 3.
[0072]
As illustrated, the downstream 16-4 is connected to the second-stage USB hub device 1-2, and a DCN packet is sent from the USB hub device 1-1 following the SOF packet. The SOF packet and the DCN packet are relayed and transmitted to the USB peripheral devices 2-4, 2-5, and 2-6 by the USB hub device 1-2. In the first place, the USB hub device basically simply relays and transmits the upstream port and each downstream port. Therefore, the USB hub device 1-2 itself does not have a direct connection in this way. Operate. As a result, the USB peripheral devices 2-2, 2-3, 2-4, 2-5, 2-6 can be directly connected via the cascaded USB hub devices 1-1, 1-2. Further, since the downstream ports 16-1 and 16-5 of the USB hub device 1-1 are not subject to direct connection, the USB peripheral devices 2-1 and 2-7 connected thereto are connected to the USB host. Data transmission / reception in the normal USB system is performed with the device 3. In this example, the USB hub device 1 has two stages, but is not limited to two stages.
[0073]
As described above, according to the third embodiment, direct data transmission / reception between the USB peripheral devices 2 is possible even when the USB hub devices are connected in multiple stages.
[0074]
【The invention's effect】
As described above, according to the invention of the USB hub device, a hub repeater having a function of directly connecting arbitrary downstream ports connected to a plurality of USB peripheral devices and a direct connection request from the USB host device. And a hub controller that instructs the hub repeater to arbitrarily connect directly to the downstream ports of a specific group, so that data is transmitted and received between the USB host device and the USB peripheral device. However, direct data transmission / reception can be performed between other USB peripheral devices.
[0075]
According to the invention of the USB peripheral device, it has a USB peripheral controller that controls data transmission / reception as a client, and a USB host function that executes transaction processing, which is the minimum unit of data transmission / reception in the USB system, via the USB host device In the case where data is directly transmitted / received as a host to / from another USB peripheral device, a USB host controller that controls data transmission / reception instead of the USB peripheral controller is provided. Data can be directly transmitted and received between other USB peripheral devices while data is transmitted to and received from each other. Further, since the USB peripheral device has a USB host function, the configuration of the USB hub device that relays direct data transmission / reception between the USB peripheral devices can be simplified.
[0076]
The data transmission / reception method according to the present invention includes a step of performing data transmission / reception between a USB host device and each of the USB peripheral devices, and a downstream connected to a specific USB peripheral device in response to a direct connection request from the USB host device Since the step of directly connecting the ports to each other and the step of directly transmitting / receiving data between the USB peripheral devices related to the direct connection without going through the USB host device, the USB host device and the USB peripheral device Data can be directly transmitted and received between other USB peripheral devices while transmitting and receiving data.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a USB hub device according to a first embodiment of the present invention.
FIG. 2 is a configuration diagram of a hub repeater of a USB hub device.
FIG. 3 is a configuration diagram of a USB peripheral device according to the first embodiment of the present invention.
FIG. 4 is a diagram showing, in time series, data transmission / reception performed between the USB hub device, the USB peripheral device, and the USB peripheral device according to the first embodiment of the present invention.
FIG. 5 is a model diagram showing how a SOF packet propagates in the USB system of the first embodiment.
FIG. 6 is a model diagram showing a state of packet propagation in the direct connection period according to the first embodiment.
FIG. 7 is a model diagram showing a negative response (NAK) in a direct connection period according to the first embodiment.
FIG. 8 is a configuration diagram of a USB hub device according to a second embodiment of the present invention.
FIG. 9 is a model diagram showing an example when a plurality of direct connection groups are set in the first exemplary embodiment of the present invention;
FIG. 10 is a model diagram showing an example in which a plurality of USB hub devices according to the second embodiment of the present invention are connected in parallel to a USB host device.
FIG. 11 is a model diagram showing an example in which the USB hub devices in the third embodiment of the present invention are cascade-connected.
FIG. 12 is a model diagram of a USB OTG device and a USB peripheral device connected to each other based on the USB OTG standard.
[Explanation of symbols]
1-1, 1-2, 1-3 USB hub device
2,2-1, 2-2, 2-3, 2-4, 2-5, 2-6, 2-7, 2- (n-1), 2-n USB peripheral device
3 USB host device
11 Hubby Peter
13 USB transceiver
14, 14-1, 14-2, 14-3, 14-4 USB transceiver
15 upstream port
16, 16-1, 16-2, 16-3, 16-4 downstream port
21 USB peripheral controller
22 USB host controller
24 Computer circuit
111 Link switch
112 Direct connection switch
113 DCN control timer
141 Driver / Receiver Circuit
142 selection switch

Claims (4)

ダウンストリームポートを介して複数のUSB周辺装置のそれぞれに対してデータ送受信を中継するUSBハブ装置において、
任意のダウンストリームポートを互いにダイレクト接続する機能を有するハブリピーターと、
USBホスト装置からのダイレクト接続リクエストに応じて特定のグループのダウンストリームポートに対して任意に互いにダイレクト接続するように前記ハブリピーターに指示するハブコントローラと
を備えたUSBハブ装置であって、
前記ハブリピーターは、ダイレクト接続の対象となっているUSB周辺装置に対するデータが前記USBホスト装置から送られてきた場合に、これにNAK応答することを特徴とするUSBハブ装置
In a USB hub device that relays data transmission and reception to each of a plurality of USB peripheral devices via a downstream port,
A hub repeater having a function of directly connecting an arbitrary downstream port to each other;
A USB hub device comprising a hub controller that instructs the hub repeater to arbitrarily connect directly to downstream ports of a specific group in response to a direct connection request from a USB host device ,
The hub repeater responds to a NAK when data for a USB peripheral device to be directly connected is sent from the USB host device .
前記ハブリピーターは、USBホスト装置からのダイレクト接続リクエストを受けた後、前記USBホスト装置から発行されるフレーム同期用のSOFパケットをすべてのUSB周辺装置に中継伝送することを特徴とする請求項1記載のUSBハブ装置。2. The hub repeater relays a frame synchronization SOF packet issued from the USB host device to all USB peripheral devices after receiving a direct connection request from the USB host device. The USB hub device described. 前記ハブリピーターは、SOFパケットの中継伝送を完了した後、前記USBホスト装置に接続するアップストリームポートと特定のグループのUSB周辺装置に接続するダウンストリームポートとの間のリンクを切断することを特徴とする請求項2記載のUSBハブ装置。The hub repeater disconnects a link between an upstream port connected to the USB host device and a downstream port connected to a specific group of USB peripheral devices after completing the relay transmission of the SOF packet. The USB hub device according to claim 2. 前記ハブリピーターは、SOFパケットの中継伝送を完了した後、ダイレクト接続が有効であることを示すDCNパケットをダイレクト接続の対象となっているUSB周辺装置に対して送出することを特徴とする請求項2記載のUSBハブ装置。The hub repeater, after completing the relay transmission of the SOF packet, sends a DCN packet indicating that the direct connection is valid to the USB peripheral device targeted for direct connection. 2. The USB hub device according to 2.
JP2003118814A 2003-04-23 2003-04-23 USB hub device, USB peripheral device and data transmission / reception method Expired - Fee Related JP4210993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003118814A JP4210993B2 (en) 2003-04-23 2003-04-23 USB hub device, USB peripheral device and data transmission / reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003118814A JP4210993B2 (en) 2003-04-23 2003-04-23 USB hub device, USB peripheral device and data transmission / reception method

Publications (2)

Publication Number Publication Date
JP2004328262A JP2004328262A (en) 2004-11-18
JP4210993B2 true JP4210993B2 (en) 2009-01-21

Family

ID=33498254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003118814A Expired - Fee Related JP4210993B2 (en) 2003-04-23 2003-04-23 USB hub device, USB peripheral device and data transmission / reception method

Country Status (1)

Country Link
JP (1) JP4210993B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4509827B2 (en) * 2005-03-04 2010-07-21 富士通株式会社 Computer system using serial connect bus and method of connecting multiple CPU units by serial connect bus
CN100386754C (en) * 2006-05-30 2008-05-07 北京飞天诚信科技有限公司 Device and method for operating USB interface device
JP2008160692A (en) * 2006-12-26 2008-07-10 Scalar Corp Cable, and method
JP2010088068A (en) * 2008-10-03 2010-04-15 Seiko Epson Corp Data transfer control device, integrated circuit device and electronic equipment
JP5287112B2 (en) * 2008-10-06 2013-09-11 セイコーエプソン株式会社 Data transfer control device and electronic device
JP5162610B2 (en) * 2010-03-12 2013-03-13 Necアクセステクニカ株式会社 USB device connection system and USB hub controller
TWI512478B (en) * 2011-01-18 2015-12-11 Asmedia Technology Inc Bus host controller and associated method
KR101739978B1 (en) 2015-10-21 2017-05-26 (주)컴엑스아이 A link-lock hub
JP2018073392A (en) * 2016-09-06 2018-05-10 デルファイ・テクノロジーズ・インコーポレーテッド Flexible mobile device connectivity to automotive systems with usb hubs
TWI776397B (en) * 2021-02-22 2022-09-01 創惟科技股份有限公司 Multi-image output system and usb hub thereof

Also Published As

Publication number Publication date
JP2004328262A (en) 2004-11-18

Similar Documents

Publication Publication Date Title
US6603744B2 (en) Connection establishment method, communication method, state change transmission method, state changing method, wireless apparatus, wireless device, and computer
US8347008B2 (en) Method and system for hardware based implementation of USB 1.1 over a high speed link
JP5055489B2 (en) Bidirectional single-wire interrupt line for communication bus
US9003089B2 (en) Synchronous serial data-exchange system
US20150102943A1 (en) Daisy-chain communication bus and protocol
KR101699784B1 (en) Bus system and operating method thereof
US7111106B2 (en) Bus communication system by unrestrained connection and a communication control method therefor
WO1994022091A2 (en) Method and apparatus for a dynamic, multi-speed bus architecture having a scalable interface
US20060277339A1 (en) Communication apparatus, switching method, and switching program
JP4210993B2 (en) USB hub device, USB peripheral device and data transmission / reception method
CN113904762B (en) Full duplex 485 bus communication system with annular buffer zone and method
EP1754160A1 (en) Bus connection device
US11714772B2 (en) Additional communication in standardized pinout of a bidirectional interface between a first and second communication device
JP3117959B2 (en) Order entry system
CN112667533B (en) Semiconductor device including subsystem interface and communication method thereof
JP2011198046A (en) Repeater and method
US20210303496A1 (en) Actuation of data transmission lanes between states
US20140068130A1 (en) Information processing apparatus and controlling method
CN111835491A (en) Using OAM to control Ethernet link partner GPIO
CN114942866B (en) LIN main testing device
JP2001060287A (en) Order entry system
CN110554984B (en) CPLD-based serial port bridging method and system
KR100567033B1 (en) Method for operating synchronous serial communication in which master and slave are fixed
JP4095216B2 (en) Printer and data communication method in printer
JP2715137B2 (en) Communication network control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060313

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080716

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080916

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081016

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees