JP2000183939A - Data transferring device - Google Patents

Data transferring device

Info

Publication number
JP2000183939A
JP2000183939A JP10362067A JP36206798A JP2000183939A JP 2000183939 A JP2000183939 A JP 2000183939A JP 10362067 A JP10362067 A JP 10362067A JP 36206798 A JP36206798 A JP 36206798A JP 2000183939 A JP2000183939 A JP 2000183939A
Authority
JP
Japan
Prior art keywords
data
data transfer
devices
packet
transfer
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
JP10362067A
Other languages
Japanese (ja)
Inventor
Eiji Sudo
英司 須藤
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 JP10362067A priority Critical patent/JP2000183939A/en
Publication of JP2000183939A publication Critical patent/JP2000183939A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain highly flexible data transfer between devices, and also clarify a data transferring procedure by adding a few circuits to a conventional hub device. SOLUTION: A data buffer 4 for storing data and a transaction controller 7 for controlling a repeater circuit 2, decoding a data transfer request received from a host computer through an upstream port 11, transmitting a token packet to the origin of data transmission, storing the received data in the data buffer 4, transmitting a confirmation packet to the origin of transmission, successively transmitting the token packet to the destination of reception and then the stored data, receiving the confirmation packet from the destination of reception, and transmitting the end status of data transfer to the host computer after confirming the acceptance of all data at the data transfer through a downstream port 20 are added to a conventional hub device. Also, a timing generating circuit 6 is provided for an isochronous data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タに複数のデバイスをトリー状に接続するUSB(Un
iversal Serial Bus)に使用される
ハブ装置に適用するデータ転送装置に関し、特に、従来
のハブ装置に少ない回路を追加することにより、デバイ
ス相互間での融通性の大きなデータ転送を可能にできる
と共にデータ転送手順が明確化されるデータ転送装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a USB (Un
More particularly, the present invention relates to a data transfer device applied to a hub device used in an versatile serial bus), and in particular, by adding a small number of circuits to a conventional hub device, a highly flexible data transfer between devices can be achieved and data can be transferred. The present invention relates to a data transfer device in which a transfer procedure is clarified.

【0002】[0002]

【従来の技術】まず、図5を参照してホストコンピュー
タ(以後、ホストと略称する)30に複数のデバイス5
1〜55をトリー状に接続するUSBに使用されるハブ
装置41〜44について説明する。
2. Description of the Related Art First, referring to FIG. 5, a plurality of devices 5 are connected to a host computer (hereinafter abbreviated as a host) 30.
Hub devices 41 to 44 used for USB connecting 1 to 55 in a tree shape will be described.

【0003】この例では、ホスト30が上位装置として
一つのハブ装置41と接続し、このハブ装置41は下位
装置にハブ装置42、43を接続している。一方のハブ
装置42はハブ装置41を上位装置としデバイス51〜
53を下位装置として接続している。他方のハブ装置4
3はハブ装置41を上位装置としハブ装置44およびデ
バイス54を下位装置として接続している。
In this example, the host 30 is connected to one hub device 41 as an upper device, and the hub device 41 connects hub devices 42 and 43 to lower devices. On the other hand, the hub device 42 has the hub device 41 as a host device and the devices 51 to 51.
53 is connected as a lower device. The other hub device 4
3 connects the hub device 41 as a higher-level device and the hub device 44 and the device 54 as lower-level devices.

【0004】すなわち、この種のハブ装置では、ホスト
30とデバイス51〜55それぞれとの間のデータ転送
を行なっており、従って、上位装置側のホスト側をアッ
プストリーム側、また下位装置側をダウンストリーム側
として、単に上位装置と下位装置との間でデータの転送
路を形成しているに過ぎない。
That is, in this type of hub device, data transfer is performed between the host 30 and each of the devices 51 to 55. Therefore, the host side of the upper device side is upstream and the lower device side is down stream. On the stream side, it merely forms a data transfer path between the upper device and the lower device.

【0005】次に、図6を参照して、一つのハブ装置1
00におけるデータ転送について説明する。ハブ装置1
00は、アップストリームポート110を介してホスト
と接続し、ダウンストリームポート120を介してデバ
イスと接続する。リピータ回路131は各ポートのポー
トコントローラ111、121、122、〜12Nおよ
びハブコントローラ132を収容しており、ハブコント
ローラ132により制御される。ハブコントローラ13
2は、ホストアップストリームポート110を介してホ
ストから受けたデータ転送要求に基づいて指定されたポ
ートコントローラ111の通信路に、ダウンストリーム
ポート120のポートコントローラ121および122
それぞれを、リピータ回路131を制御して接続する。
Next, referring to FIG. 6, one hub device 1 will be described.
00 will be described. Hub device 1
00 connects to a host via an upstream port 110 and connects to a device via a downstream port 120. The repeater circuit 131 accommodates the port controllers 111, 121, 122, to 12N of each port and the hub controller 132, and is controlled by the hub controller 132. Hub controller 13
The port controllers 121 and 122 of the downstream port 120 are connected to the communication path of the port controller 111 designated based on the data transfer request received from the host via the host upstream port 110.
Each of them is connected by controlling the repeater circuit 131.

【0006】この結果、例えば、図5に示されるハブ装
置42に接続されるデバイス51からデバイス52へデ
ータを転送する場合でも、デバイス51から送出される
データは、ハブ装置42からハブ装置41を介してホス
ト30で中継され、再びハブ装置41からハブ装置42
を介してデバイス52へ到着することになる。一方、U
SBのデータ転送容量は限定されているので、このデー
タが多量の場合には他のデータ伝送を阻害することにな
る。
As a result, for example, even when data is transferred from the device 51 connected to the hub device 42 shown in FIG. 5 to the device 52, the data transmitted from the device 51 is transmitted from the hub device 42 to the hub device 41. Relayed by the host 30 via the hub device 41 to the hub device 42 again.
Will arrive at the device 52. On the other hand, U
Since the data transfer capacity of the SB is limited, if this data is large, other data transmission is hindered.

【0007】この問題点を解決する技術が、例えば、特
開平10−107827号公報に記載されている。
A technique for solving this problem is described in, for example, Japanese Patent Application Laid-Open No. 10-107827.

【0008】図7に示されるように、このデータ中継装
置200によれば、アップストリームポート210とダ
ウンストリームポート220との間に集線装置231、
ABC伝送回路232、伝送制御回路233、および接
続切替装置234が備えられている。このうち、ABC
伝送回路232および伝送制御回路233が従来のハブ
装置に疑似ホスト手段として付加され、ホスト30と同
様の機能動作を有している。また、接続切替え装置23
4がダウンストリームポート220内のポートコントロ
ーラ221、222などの相互間接続を行なっている。
As shown in FIG. 7, according to the data relay device 200, the line concentrator 231 is connected between the upstream port 210 and the downstream port 220.
An ABC transmission circuit 232, a transmission control circuit 233, and a connection switching device 234 are provided. Of these, ABC
A transmission circuit 232 and a transmission control circuit 233 are added to a conventional hub device as pseudo host means, and have the same functional operations as the host 30. Also, the connection switching device 23
4 connects the port controllers 221 and 222 in the downstream port 220 with each other.

【0009】この公開公報で開示されたデータ中継装置
では、上述したように疑似ホスト機能を有するとのみ記
載されており、その詳細が明確でない。すなわち、デー
タ中継装置から下位装置に対する説明がフローチャート
も交えて説明されているが、ホストとの制御パケットの
授受については記載されていない。また、疑似ホスト機
能におけるホスト機能に対応する部分が不明確である。
[0009] The data relay device disclosed in this publication is described only as having the pseudo host function as described above, and the details thereof are not clear. In other words, the description from the data relay device to the lower device is described with a flowchart, but the transmission and reception of control packets with the host is not described. Also, the part of the pseudo host function corresponding to the host function is unclear.

【0010】[0010]

【発明が解決しようとする課題】上述した従来のデータ
転送装置として上記公開公報に記載されたデータ中継装
置では、ホストを経由することなしでデバイス間のデー
タ転送を実現するために追加された疑似ホスト手段とホ
ストとの間のインタフェースが不明確であり、この新規
に追加した部分のうち、少なくとも疑似ホスト手段側の
情報授受に関する記載がないので、実現性に欠しいもの
と思われ、実用上の面で問題点がある。
In the data relay device described in the above-mentioned publication as the above-mentioned conventional data transfer device, a pseudo data added to realize data transfer between devices without passing through a host. The interface between the host means and the host is unclear, and among the newly added parts, at least there is no description about information transfer on the side of the pseudo host means. There is a problem in terms of.

【0011】本発明の課題は、上記問題点を解決し、従
来のハブ装置に少ない回路を追加することで、ホストコ
ンピュータを介することなくデバイス相互間での融通性
の大きなデータ転送を可能にできると共にデータ転送手
順が明確化されるデータ転送装置を提供することであ
る。
[0011] An object of the present invention is to solve the above-mentioned problems, and to add a small number of circuits to a conventional hub device, thereby enabling highly flexible data transfer between devices without the intervention of a host computer. It is another object of the present invention to provide a data transfer device in which a data transfer procedure is clarified.

【0012】[0012]

【課題を解決するための手段】本発明によるデータ転送
装置は、ホストに複数のデバイスをトリー状に接続する
USBに使用されるハブ装置に適用するものであって、
ホストからデバイス間に対するデータの転送要求を受け
た際に送信元デバイスから受けたデータを一時蓄積した
後、受信先デバイスへ送出する転送手段を有し、また、
送信元デバイスから受け一時蓄積したデータを送出する
時期は、受けたデータの正常を確認した後とすることが
できる。
A data transfer device according to the present invention is applied to a hub device used for USB for connecting a plurality of devices to a host in a tree-like manner.
And a transfer unit for temporarily storing data received from the source device when receiving a data transfer request from the host to the device, and transmitting the data to the destination device;
The time when the temporarily stored data is transmitted from the transmission source device can be transmitted after confirming the normality of the received data.

【0013】このように、デバイス間の転送データを一
時格納することによって、この発明によるデータ転送装
置では下位装置間のデータを同一チャネルまたは同一タ
イムスロットに限定することなく転送することができる
ので、デバイス相互間で融通性の大きなデータ転送を可
能にする。
As described above, by temporarily storing transfer data between devices, the data transfer device according to the present invention can transfer data between lower devices without being limited to the same channel or the same time slot. Enables flexible data transfer between devices.

【0014】また、ホストとの間、およびデバイスとの
間それぞれの具体的なメッセージの授受についてはデー
タ転送装置が転送手段により、ホストから自己の下位装
置に含まれるデバイス間に対するデータの転送要求を受
けた際にデータ送信元デバイスへデータ受入用のトーク
ンパケットを送出してデータを受付け、次いで、この受
付けたデータの正常を確認して一時格納し、かつデータ
送信元へデータ受付確認のパケットを送出すると共にデ
ータ受信先デバイスへデータ送出用のパケットを送出
し、次に、格納されたデータを受信先デバイスへ送出し
て受信先デバイスからデータ受付確認のパケットを受
け、次に、送信元デバイスから全てのデータを受けたこ
とを確認し、この後に、ホストからステータスを要求さ
れた際にそのデータ転送終了のステータスを送出してい
る。
[0014] Further, with regard to the transmission and reception of specific messages between the host and the device, the data transfer device uses the transfer means to transmit a data transfer request from the host to devices included in its own lower device. Upon receiving the data, a token packet for data reception is sent to the data transmission source device to receive the data, then the normality of the received data is confirmed and temporarily stored, and the data reception confirmation packet is transmitted to the data transmission source. The data transmission packet is transmitted to the data receiving device, and the stored data is transmitted to the receiving device to receive a data reception confirmation packet from the receiving device. Check that all data has been received from the host.After that, when the host requests the status, the data is transferred. It is sending the termination of status.

【0015】また、本発明によるデータ転送装置の具体
的な構成は、一つの上位装置と複数の下位装置とを収容
するリピータ回路と、このリピータ回路を制御し接続す
る一つの上位装置と複数の下位装置との間を接続しデー
タを中継するハブの基本機能を制御するハブコントロー
ラと、リピータ回路に収容される装置および回路と接続
して入力するデータを格納するデータバッファと、ホス
トコンピュータから下位装置に含まれるデバイス相互間
に対するデータの転送要求を受けた際にはリピータ回路
を制御して要求されたデータ送信元デバイスからデータ
を受付け、受付けたデータをデータバッファに一時格納
した後、リピータ回路を介してデータ受信先デバイスへ
送出するトランザクションコントローラとを備えてい
る。
Further, a specific configuration of the data transfer device according to the present invention includes a repeater circuit for accommodating one high-order device and a plurality of low-order devices, and one high-order device for controlling and connecting this repeater circuit and a plurality of low-order devices. A hub controller that controls the basic functions of a hub that connects to and relays data to lower-level devices; a data buffer that stores data to be input by connecting to devices and circuits accommodated in a repeater circuit; When receiving a data transfer request between devices included in the apparatus, the controller controls the repeater circuit to receive data from the requested data transmission source device, temporarily stores the received data in a data buffer, and then executes the repeater circuit. And a transaction controller for sending the data to the data receiving device via the communication controller.

【0016】更にこのトランザクションコントローラ
は、ホストコンピュータから下位装置に含まれるデバイ
ス相互間に対するデータの転送要求を受けた際にはリピ
ータ回路を介してまずデータ送信元デバイスへデータ受
入用のトークンパケットを送出してデータを受付け、受
付けたデータの正常を確認して前記データバッファに一
時格納すると共にデータ送信元へデータ受付確認のパケ
ットを送出している。一方、トランザクションコントロ
ーラは、リピータ回路を介してデータ受信先デバイスへ
データ送出用のパケットを送出し、次に、データバッフ
ァを制御しデータバッファを介し格納されたデータを受
信先デバイスへ送出した後、受信先デバイスからデータ
受付確認のパケットを受け、次に、送信元デバイスから
全てのデータを受けたことを確認した後、ホストからス
テータスを要求された際にはそのデータ転送終了のステ
ータスを送出している。
Further, when the transaction controller receives a data transfer request from a host computer to devices included in lower-level devices, the transaction controller first sends a token packet for data reception to a data transmission source device via a repeater circuit. The data is received, the normality of the received data is confirmed, the data is temporarily stored in the data buffer, and a data reception confirmation packet is transmitted to the data transmission source. On the other hand, the transaction controller sends a packet for sending data to the data receiving device via the repeater circuit, and then controls the data buffer and sends the stored data to the receiving device via the data buffer. After receiving the data reception confirmation packet from the destination device and then confirming that all data has been received from the transmission source device, when the status is requested from the host, send the data transfer completion status. ing.

【0017】また、追加機能として、トランザクション
コントローラの制御を受け、転送時期を含む時間の制約
を受けるデータ転送に対して時限計測してトランザクシ
ョンコントローラへ通知するタイミング発生回路を備え
ることができる。
As an additional function, it is possible to provide a timing generation circuit which is controlled by the transaction controller, measures a time limit for data transfer subject to time restrictions including transfer timing, and notifies the transaction controller.

【0018】このような構成により、ホストコンピュー
タを介することなくデバイス間のデータ転送を行なう場
合に対して、必要最小限の回路を追加するのみでよく、
かつ本発明によるデータ転送装置におけるホストとの間
およびデバイスとの間のデータ転送手順が明確化され
る。
With such a configuration, it is only necessary to add a minimum necessary circuit to the case where data is transferred between devices without the intervention of a host computer.
Further, the data transfer procedure between the host and the device in the data transfer apparatus according to the present invention is clarified.

【0019】[0019]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0020】図1は本発明の実施の一形態を示す機能ブ
ロック図である。図1に示されたデータ転送装置1は、
基本形態の一つであり、上位装置を接続するアップスト
リームポート10とそのポートコントローラ11、下位
装置を接続するダウンストリームポート20とそのポー
トコントローラ21,22〜2N、リピータ回路2、ハ
ブコントローラ3、データバッファ4、およびトランザ
クションコントローラ5により構成されているものとす
る。ホストは最上位装置であり、ホスト以外の上位装置
にはハブ装置および本発明によるデータ転送装置が含ま
れる。また、下位装置にはデバイスおよび本発明による
データ転送装置が含まれる。
FIG. 1 is a functional block diagram showing an embodiment of the present invention. The data transfer device 1 shown in FIG.
This is one of the basic modes. The upstream port 10 and its port controller 11 for connecting a higher-level device, the downstream port 20 and its port controllers 21 and 22N for connecting a lower-level device, the repeater circuit 2, the hub controller 3, The data buffer 4 and the transaction controller 5 are assumed. The host is the highest-level device, and the higher-level devices other than the host include a hub device and the data transfer device according to the present invention. The lower-level device includes a device and a data transfer device according to the present invention.

【0021】リピータ回路2は、ポートコントローラ1
1,21,22〜2N、ハブコントローラ3、データバ
ッファ4、およびトランザクションコントローラ5を収
容接続し、各コントローラから指示を受けてこれらの回
路間を接続して通信路を形成する。ハブコントローラ3
は、従来のハブ装置と同様の機能を有し、上位装置から
ポートコントローラ11およびリピータ回路2を介し
て、データ送信元またはデータ受信先に対するトークン
パケットを受けた際にリピータ回路2を制御してこのデ
ータ転送に係わる通信路を形成する。
The repeater circuit 2 includes a port controller 1
1, 2, 22, and 2N, the hub controller 3, the data buffer 4, and the transaction controller 5 are accommodated and connected, and an instruction is received from each controller to connect these circuits to form a communication path. Hub controller 3
Has a function similar to that of a conventional hub device, and controls the repeater circuit 2 when a token packet for a data transmission source or a data reception destination is received from a higher-level device via the port controller 11 and the repeater circuit 2. A communication path for this data transfer is formed.

【0022】データバッファ4は、デバイス間のデータ
転送の際にトランザクションコントローラ5の制御によ
りリピータ回路2に形成された通信路およびダウンスト
リームポート20の一つのポートコントローラを介して
送信元のデバイスからデータの入力を受けて格納する一
方、格納したデータをトランザクションコントローラ5
の制御により受信先のデバイスへリピータ回路2に形成
された通信路およびダウンストリームポート20の一つ
のポートコントローラを介して送出する。
The data buffer 4 receives data from a source device via a communication path formed in the repeater circuit 2 and one of the downstream ports 20 under the control of the transaction controller 5 when transferring data between devices. Is received and stored, and the stored data is stored in the transaction controller 5.
And transmits the data to the receiving device via the communication path formed in the repeater circuit 2 and one port controller of the downstream port 20.

【0023】トランザクションコントローラ5は、上位
装置からポートコントローラ11およびリピータ回路2
を介して、データ転送要求の入力を受けた際に、従来の
USBトランザクションを生成してデータ転送を発生さ
せる。具体的には、トランザクションコントローラ5
は、受けたデータ転送要求からデータの送信元デバイス
および受信先デバイスが自己の下位装置に含まれること
を認識し、リピータ回路2およびデータバッファ4を制
御してダウンストリームポート20のポートコントロー
ラ間でデータの転送を行なう。この機能の詳細は、図3
を参照して後に説明する。
The transaction controller 5 includes a port controller 11 and a repeater circuit 2
, When a data transfer request is input, a conventional USB transaction is generated to cause data transfer. Specifically, the transaction controller 5
Recognizes from the received data transfer request that the source device and the destination device of the data are included in its own lower device, and controls the repeater circuit 2 and the data buffer 4 to communicate between the port controllers of the downstream ports 20. Performs data transfer. See Figure 3 for details of this function.
This will be described later with reference to FIG.

【0024】次に、図2を参照して、USB上において
図1に示されたデータ転送装置1を用いた場合の構成の
一実施例について説明する。図2では、図5に示された
ハブ装置42の代わりに図1に示されたデータ転送装置
1が用いられている。図2に示される番号符号は図1で
示されたものと同一であり同一名称の構成要素が図示さ
れている。
Next, with reference to FIG. 2, an embodiment of the configuration when the data transfer device 1 shown in FIG. 1 is used on a USB will be described. 2, the data transfer device 1 shown in FIG. 1 is used instead of the hub device 42 shown in FIG. The reference numerals shown in FIG. 2 are the same as those shown in FIG. 1, and the components having the same names are shown.

【0025】図示されるデータ転送装置1は上位装置と
してハブ装置41を接続しハブ装置41を介してホスト
30とインタフェイスできる。一方、下位装置として
は、ダウンストリームポート20のポートコントローラ
21、22、、23それぞれにデバイス51、52、5
3それぞれが接続されているものとする。
The illustrated data transfer device 1 is connected to a hub device 41 as a host device, and can interface with the host 30 via the hub device 41. On the other hand, as the lower-level device, devices 51, 52, and 5 are assigned to the port controllers 21, 22, and 23 of the downstream port 20, respectively.
3 are connected.

【0026】次に、図3の動作手順に図1および図2を
併せ参照してこの機能について説明する。
Next, this function will be described with reference to FIGS. 1 and 2 in addition to the operation procedure of FIG.

【0027】まず、データ転送装置1がポートコントロ
ーラ11でホスト30からハブ装置41を介してデータ
の転送要求を受付け(手順S1のYES)の場合、ポー
トコントローラ11は、リピータ回路2を制御して受け
た転送要求をトランザクションコントローラ5へ送る。
トランザクションコントローラ5は、受けた転送要求を
解読し、自己の下位装置であるデバイス51からデバイ
ス52へのデータ転送であると認知(手順S2)した場
合にはリピータ回路2を制御してポートコントローラ2
1を介してそのデータ送信元であるデバイス51へ、イ
ントークンパケットと呼ばれるデータ受入用のトークン
パケットを送出(手順S3)する。
First, when the data transfer device 1 receives a data transfer request from the host 30 via the hub device 41 at the port controller 11 (YES in step S 1), the port controller 11 controls the repeater circuit 2. The received transfer request is sent to the transaction controller 5.
The transaction controller 5 decodes the received transfer request and, when recognizing that the data transfer is from the device 51, which is its own lower device, to the device 52 (procedure S2), controls the repeater circuit 2 to control the port controller 2
A token packet for receiving data, called an in-token packet, is transmitted to the device 51, which is the data transmission source, via the device 1 (step S3).

【0028】この結果、トランザクションコントローラ
5は、データ送信元のデバイス51からデータの入力を
受付ける(手順S4)ので、受けたデータが正常である
ことを確認(手順S5のYES)してこの正常データを
データバッファ4に格納(手順S6)する。通常、US
Bにおいては、パケットの終わり(受信完了)をEOP
(End Of Packet)シグナリングと呼ばれ
る方法、すなわち、USB上の2本のデータ信号線を同
時にロー(LOW)レベルにする方法を用いて受信側へ
知らせることができる。次いで、トランザクションコン
トローラ5は、ポートコントローラ21を介して、デー
タを正常に受けたことを返答する受付確認パケット(所
謂、ACKパケット)をデータ送信元のデバイス51へ
送出(手順S7)する。
As a result, the transaction controller 5 accepts data input from the data transmission source device 51 (step S4), so confirms that the received data is normal (step S5: YES), Is stored in the data buffer 4 (procedure S6). Usually US
In B, the end of the packet (reception completed) is indicated by EOP
(End of Packet) signaling, that is, a method in which two data signal lines on the USB are simultaneously set to a low level, can be notified to the receiving side. Next, the transaction controller 5 sends, via the port controller 21, an acknowledgment packet (so-called ACK packet) that replies that the data has been normally received to the device 51 that has transmitted the data (step S7).

【0029】この手順7に続いて、トランザクションコ
ントローラ5は、リピータ回路2を制御してポートコン
トローラ22を介しそのデータ受信先であるデバイス5
2へアウトトークンパケットと呼ばれるデータ送出用の
トークンパケットを送出(手順S8)した後、リピータ
回路2を制御しデータバッファ4からポートコントロー
ラ22を介してそのデータ受信先であるデバイス52へ
データバッファ4に格納されているデータを送出(手順
S9)する。
Subsequent to the procedure 7, the transaction controller 5 controls the repeater circuit 2 to transmit the data to the device 5 via the port controller 22.
After transmitting a token packet for data transmission called an out-token packet to the device 2 (step S8), the repeater circuit 2 is controlled to transmit the data buffer 4 from the data buffer 4 to the device 52, which is the data receiving destination, via the port controller 22. Is transmitted (step S9).

【0030】次いで、トランザクションコントローラ5
は、送出したデータを受付けたことを示す受付けの確認
(ACK)パケットをデータ受信先のデバイス52から
ポートコントローラ22を介して受付ける(手順S10
のYES)ので、これまで受付けたバイト数を計測(手
順S11)して送信元のデバイス51から最初のデータ
で通知を受けたデータ量であるバイト数との一致(手順
S12)を調べる。
Next, the transaction controller 5
Receives an acknowledgment (ACK) packet indicating that the transmitted data has been received from the data receiving device 52 via the port controller 22 (step S10).
YES), the number of bytes received so far is measured (step S11), and the coincidence with the number of bytes which is the data amount notified as the first data from the transmission source device 51 is checked (step S12).

【0031】一方、ホスト30はハブ装置41を介して
先に送ったデータ転送要求に対するステータスの要求を
送っており、データ転送装置1ではハブ装置41を介し
てポートコントローラ11が受付けている。
On the other hand, the host 30 sends a status request for the data transfer request sent earlier via the hub device 41, and the port controller 11 receives the request via the hub device 41 in the data transfer device 1.

【0032】手順S12が「YES」でデータ量が一致
した場合には、トランザクションコントローラ5がポー
トコントローラ11からステータスの要求を受けること
ができる(手順S13のYES)ので、該当するデータ
転送の終了ステータスをポートコントローラ11からハ
ブ装置41を介してホスト30へ送出(手順S14)し
て、手順は終了する。
If the data amount matches in step S12, the transaction controller 5 can receive a status request from the port controller 11 (YES in step S13). Is transmitted from the port controller 11 to the host 30 via the hub device 41 (procedure S14), and the procedure ends.

【0033】また、上記手順S5が「NO」で送信元の
デバイス51から受付けたデータにエラーがあった場
合、または図示されていないが上記手順S4で所定時限
内にデータを受付けなかった場合、更に、上記手順12
が「NO」で受付けたデータ量が通知された量に満たな
い場合には、データ送信元のデバイス51へ受入用パケ
ットを送出してデータの到着を待つ上記手順S3へ戻
る。
If the data received from the transmission source device 51 contains an error or if the data is not received within a predetermined time in the above-mentioned procedure S4, Further, the above procedure 12
Is "NO", and the received data amount is less than the notified amount, the receiving packet is transmitted to the data transmission source device 51, and the process returns to the above step S3 to wait for the arrival of data.

【0034】また、上記手順S10が「NO」で所定時
限以内に受信先のデバイス52からデータ受付けの確認
パケットの受付けがない場合には、受信先のデバイス5
2へ送出用のトークンパケットを送出する上記手順S8
に戻り、データバッファ4に格納されているデータを再
送出する。
If the above step S10 is "NO" and the data reception confirmation packet is not received from the receiving device 52 within the predetermined time limit, the receiving device 5
Step S8 for sending a token packet to be sent to S2
And the data stored in the data buffer 4 is retransmitted.

【0035】上記説明ではデータ転送装置の下位装置に
デバイスのみが接続されているが、本発明によるデータ
転送装置は、例えば、図2におけるハブ装置43に適用
されるように、下位装置にハブ装置またはデータ転送装
置が接続され、これら下位装置に接続されるデバイスと
自己の下位装置であるデバイス、または異なる下位装置
それぞれに接続するデバイス、それぞれとの間でデータ
転送する場合も、ホストから受けるデータ転送要求を解
読することにより、上述した機能を発揮することができ
る。因みに、解読した結果が一つの下位装置に接続され
るデバイスおよび下位装置の間でのデータ転送要求はそ
のまま中継して該当する下位装置へ転送される。また、
下位装置の一つが送信元または受信先となる場合にはデ
ータ転送要求ではなく、データ受入用またはデータ送出
用のパケットを転送することになる。
In the above description, only the device is connected to the lower device of the data transfer device. However, the data transfer device according to the present invention, as applied to the hub device 43 in FIG. Or, when a data transfer device is connected and the device connected to these lower devices and the device that is its own lower device, or the device connected to each different lower device, transfer data between them, By decoding the transfer request, the above-described function can be exhibited. Incidentally, a data transfer request between a device and a lower device whose decoding result is connected to one lower device is relayed and transferred to the corresponding lower device. Also,
When one of the lower-level devices is a transmission source or a reception destination, a packet for data reception or data transmission is transferred instead of a data transfer request.

【0036】次に、図4に図1を併せ参照して上述した
データ転送装置1とは別の実施例について説明する。
Next, another embodiment different from the data transfer apparatus 1 described above with reference to FIG. 4 and FIG. 1 will be described.

【0037】図4に示されるデータ転送装置9は、構成
要素として更にタイミング発生回路6が追加して設けら
れ、これにともなってタイミング発生回路6を接続して
機能変更されたトランザクションコントローラ7が備え
られている。
The data transfer device 9 shown in FIG. 4 further includes a timing generation circuit 6 as a component, and a transaction controller 7 connected to the timing generation circuit 6 and having a modified function. Have been.

【0038】タイミング発生回路6は、主にリアルタイ
ムによる転送を必要とする通話音声データまたは動画像
データなどを含むアイソクロナスデータに対応するもの
である。すなわち、タイミング発生回路6は、例えば1
msの計測によるタイミングで、トランザクションコン
トローラ7に対してトランザクション生成信号を与え、
このトランザクション生成信号を受けたトランザクショ
ンコントローラ7は、デバイス間のデータ転送を一度の
み行なう。
The timing generation circuit 6 mainly corresponds to isochronous data including call voice data or moving image data which need to be transferred in real time. That is, for example, the timing generation circuit 6
At a timing based on the measurement of ms, a transaction generation signal is given to the transaction controller 7,
The transaction controller 7 receiving this transaction generation signal performs data transfer between the devices only once.

【0039】従って、所定周期で連続するデータを送信
するビデオカメラ、マイクロホンなどの入力装置と、こ
れに接続される画像表示装置、スピーカなどの出力装置
との間のデータ転送に対して、ホストコンピュータを介
することなくデバイス間のデータ転送を可能にすること
ができる。
Therefore, the host computer cannot transfer data between an input device such as a video camera or a microphone that transmits continuous data at a predetermined cycle and an output device such as an image display device or a speaker connected thereto. , Data transfer between devices can be made possible.

【0040】上記説明では、例えば送信元デバイスから
のデータはリピータ回路を介してトランザクションコン
トローラへ送られ、トランザクションコントローラがデ
ータバッファに格納すると説明したが、受けたデータは
トランザクションコントローラの制御によりリピータ回
路を介してデータバッファに格納された後、トランザク
ションコントローラにより正常が確認される構成および
手順でもよい。このように、図面を参照して説明した
が、上記説明における機能の分離併合による機能ブロッ
クの構成変更、または動作の前後の入れ替え、並行処理
などによる手順変更は、上記機能が満たされていれば自
由であり、上記説明が本発明を限定するものではない。
In the above description, for example, it has been described that the data from the transmission source device is sent to the transaction controller via the repeater circuit, and the transaction controller stores the data in the data buffer. After the data is stored in the data buffer via the communication controller, the transaction controller may confirm the normality. As described above with reference to the drawings, the configuration change of the functional block by the separation and merging of the functions in the above description, or the change of the procedure by the replacement before and after the operation, the parallel processing, and the like, as long as the above functions are satisfied It is free and the above description does not limit the present invention.

【0041】[0041]

【発明の効果】以上説明したように本発明によるデータ
転送装置によれば、USBにおいてデバイス間のデータ
転送を行なう場合において、従来のハブ装置に少ない回
路の追加で、デバイス相互間での融通性の大きなデータ
転送を可能にできると共にデータ転送手順が明確化され
るという効果を得ることができる。
As described above, according to the data transfer apparatus of the present invention, when data is transferred between devices in USB, the flexibility between devices is reduced by adding a small number of circuits to a conventional hub device. And the data transfer procedure can be clarified.

【0042】その理由は、データ転送装置が、ホストコ
ンピュータを介することなくデバイス間のデータ転送を
行なう場合、デバイス間で転送されるデータを一時格納
するデータバッファと、データの転送手順を生成するト
ランザクションコントローラとのみと、デバイス間のデ
ータ転送に必要な回路だけを従来のハブ装置に追加して
備えるからである。また、データ転送装置におけるホス
トとの間およびデバイスとの間のデータ転送手順が明確
化されているからである。
The reason is that, when the data transfer apparatus performs data transfer between devices without the intervention of a host computer, a data buffer for temporarily storing data transferred between the devices and a transaction for generating a data transfer procedure are provided. This is because only a controller and a circuit necessary for data transfer between devices are additionally provided in the conventional hub device. Also, the data transfer procedure between the host and the device in the data transfer device is clarified.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態を示す機能ブロック図で
ある。
FIG. 1 is a functional block diagram showing an embodiment of the present invention.

【図2】図1に示される装置を適用したUSBの一形態
を示す装置接続図である。
FIG. 2 is a device connection diagram showing one embodiment of a USB to which the device shown in FIG. 1 is applied.

【図3】図1に示される装置における主要動作手順の実
施の一形態を示すフローチャートである。
FIG. 3 is a flowchart showing an embodiment of a main operation procedure in the apparatus shown in FIG.

【図4】図1に示される装置とは別の実施の一形態を示
す機能ブロック図である。
FIG. 4 is a functional block diagram showing another embodiment different from the device shown in FIG. 1;

【図5】USBの一形態を示す装置接続図である。FIG. 5 is a device connection diagram showing one mode of USB.

【図6】従来の装置の一例を示す機能ブロック図であ
る。
FIG. 6 is a functional block diagram showing an example of a conventional device.

【図7】図6に示される装置とは別の一例を示す機能ブ
ロック図である。
FIG. 7 is a functional block diagram showing another example different from the device shown in FIG. 6;

【符号の説明】[Explanation of symbols]

1、9 データ転送装置 2 リピータ回路 3 ハブコントローラ 4 データバッファ 5、7 トランザクションコントローラ 6 タイミング発生回路 10 アップストリームポート 11、21、22、2N ポートコントローラ 20 ダウンストリームポート 30 ホスト(ホストコンピュータ) 41、42、43、44 ハブ装置 51、52、53、54、55 デバイス 1, 9 Data transfer device 2 Repeater circuit 3 Hub controller 4 Data buffer 5, 7 Transaction controller 6 Timing generation circuit 10 Upstream port 11, 21, 22, 2N port controller 20 Downstream port 30 Host (host computer) 41, 42 , 43, 44 Hub device 51, 52, 53, 54, 55 Device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータに複数のデバイスを
トリー状に接続するUSB(Universal Se
rial Bus)に使用されるハブ装置に適用するデ
ータ転送装置において、ホストコンピュータから前記デ
バイス間に対するデータの転送要求を受けた際に送信元
デバイスから受けたデータを一時蓄積した後、受信先デ
バイスへ送出する転送手段を有することを特徴とするデ
ータ転送装置。
1. A USB (Universal Se) for connecting a plurality of devices to a host computer in a tree-like manner.
In a data transfer device applied to a hub device used for a real bus, when a data transfer request between the devices is received from a host computer, the data received from a transmission source device is temporarily stored, and then temporarily stored in a reception destination device. A data transfer device having transfer means for sending.
【請求項2】 請求項1において、送信元デバイスから
受け一時蓄積したデータを送出する時期は、受けたデー
タの正常を確認した後であることを特徴とするデータ転
送装置。
2. The data transfer device according to claim 1, wherein the timing of transmitting the temporarily stored data from the transmission source device is after confirming the normality of the received data.
【請求項3】 ホストコンピュータに複数のデバイスを
トリー状に接続するUSBに使用されるハブ装置に適用
するデータ転送装置において、ホストコンピュータから
自己の下位装置に含まれる前記デバイス間に対するデー
タの転送要求を受けた際にデータ送信元デバイスへデー
タ受入用のトークンパケットを送出してデータを受付
け、次に、受付けたデータの正常を確認して一時格納
し、かつデータ送信元へデータ受付確認のパケットを送
出すると共にデータ受信先デバイスへデータ送出用のパ
ケットを送出し、次に、格納されたデータを受信先デバ
イスへ送出して受信先デバイスからデータ受付確認のパ
ケットを受け、次に、送信元デバイスから受けた全ての
データの転送を確認した後、ホストコンピュータからス
テータスを要求された際にそのデータ転送終了のステー
タスを送出する転送手段を有することを特徴とするデー
タ転送装置。
3. A data transfer device applied to a hub device used for USB which connects a plurality of devices to a host computer in a tree-like manner. In the data transfer device, a request to transfer data from the host computer to the devices included in its own lower device. When receiving the data, it sends a token packet for data reception to the data transmission source device to receive the data, then confirms the normality of the received data, temporarily stores the data, and sends a data reception confirmation packet to the data transmission source. And sends a packet for data transmission to the data receiving device, and then sends the stored data to the receiving device to receive a data acknowledgment packet from the receiving device. When the status is requested from the host computer after confirming the transfer of all data received from the device Data transfer device for transmitting a data transfer completion status to the data transfer device.
【請求項4】 ホストコンピュータに複数のデバイスを
トリー状に接続するUSBに使用されるハブ装置に適用
するデータ転送装置において、一つの上位装置と複数の
下位装置とを収容するリピータ回路と、このリピータ回
路を制御し接続する一つの上位装置と複数の下位装置と
の間を接続しデータを中継するハブ制御の基本機能を実
行するハブコントローラと、前記リピータ回路に収容さ
れる装置および回路と接続して入力するデータを格納す
るデータバッファと、ホストコンピュータから前記下位
装置に含まれるデバイス相互間に対するデータの転送要
求を受けた際には前記リピータ回路を制御して要求され
たデータ送信元デバイスからデータを受付け、受付けた
データを前記データバッファに一時格納した後、前記リ
ピータ回路を介してデータ受信先デバイスへ送出するト
ランザクションコントローラとを備えることを特徴とす
るデータ転送装置。
4. A data transfer device applied to a hub device used for USB which connects a plurality of devices to a host computer in a tree-like manner, and a repeater circuit accommodating one upper device and a plurality of lower devices. A hub controller for performing a basic function of hub control for connecting and relaying data between one higher-level device and a plurality of lower-level devices for controlling and connecting a repeater circuit, and connecting to a device and a circuit accommodated in the repeater circuit And a data buffer for storing data to be input, and when receiving a data transfer request between devices included in the lower-level device from a host computer, controlling the repeater circuit to request a data transmission source device. After receiving data and temporarily storing the received data in the data buffer, via the repeater circuit A data transfer device, comprising: a transaction controller that sends the data to a data receiving device.
【請求項5】 請求項4において、前記トランザクショ
ンコントローラは、ホストコンピュータから前記下位装
置に含まれるデバイス相互間に対するデータの転送要求
を受けた際には前記リピータ回路を介してまずデータ送
信元デバイスへデータ受入用のトークンパケットを送出
してデータを受付け、受付けたデータの正常を確認して
前記データバッファに一時格納すると共にデータ送信元
へデータ受付確認のパケットを送出する一方、前記リピ
ータ回路を介してデータ受信先デバイスへデータ送信用
のパケットを送出し、次に、前記データバッファを制御
し前記データバッファを介し格納されたデータを受信先
デバイスへ送出した後、受信先デバイスからデータ受付
確認のパケットを受け、次に、送信元デバイスから全て
のデータを受けたことを確認した後、ホストコンピュー
タからステータスを要求された際にそのデータ転送終了
のステータスを送出することを特徴とするデータ転送装
置。
5. The data transfer device according to claim 4, wherein the transaction controller first receives a data transfer request between devices included in the lower-level device from the host computer via the repeater circuit. A token packet for data reception is transmitted to receive data, the normality of the received data is confirmed, the data is temporarily stored in the data buffer, and a data reception confirmation packet is transmitted to the data transmission source, while the packet is transmitted through the repeater circuit. Sends a packet for data transmission to the data receiving device, and then controls the data buffer to send the stored data to the receiving device via the data buffer. Packet and then all data from the source device. A data transfer completion status is transmitted when a status is requested from the host computer.
【請求項6】 請求項5において、前記トランザクショ
ンコントローラの制御を受け、転送時期を含む時間の制
約を受けるデータ転送に対して時限計測して前記トラン
ザクションコントローラへ通知するタイミング発生回路
を、更に備えることを特徴とするデータ転送装置。
6. The timing generating circuit according to claim 5, further comprising: a timing generation circuit that is controlled by the transaction controller, measures a time limit for a data transfer that is subject to a time constraint including a transfer time, and notifies the transaction controller. A data transfer device characterized by the above-mentioned.
JP10362067A 1998-12-21 1998-12-21 Data transferring device Pending JP2000183939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10362067A JP2000183939A (en) 1998-12-21 1998-12-21 Data transferring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10362067A JP2000183939A (en) 1998-12-21 1998-12-21 Data transferring device

Publications (1)

Publication Number Publication Date
JP2000183939A true JP2000183939A (en) 2000-06-30

Family

ID=18475804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10362067A Pending JP2000183939A (en) 1998-12-21 1998-12-21 Data transferring device

Country Status (1)

Country Link
JP (1) JP2000183939A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006244258A (en) * 2005-03-04 2006-09-14 Fujitsu Ltd Computer system using serial connect bus and connection method of plurality of cpu units by serial connect bus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006244258A (en) * 2005-03-04 2006-09-14 Fujitsu Ltd Computer system using serial connect bus and connection method of plurality of cpu units by serial connect bus
US7565474B2 (en) 2005-03-04 2009-07-21 Fujitsu Limited Computer system using serial connect bus, and method for interconnecting a plurality of CPU using serial connect bus
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

Similar Documents

Publication Publication Date Title
JPH05204804A (en) High-speed transmission line-interface
JPH0817388B2 (en) Protocol system, method for controlling the state of ports of a dynamic coupling device, dynamic switch and method for operating a bidirectional transmission system
JPH021665A (en) Congestion control method
JPH03250946A (en) Communication device
JPS60148249A (en) Message removing method
JP2000183939A (en) Data transferring device
JP2008526061A (en) Repeater node for network
US6654385B1 (en) Message division communication method and communication system
US6912210B1 (en) Data communication system and communication device used
JP2008544623A (en) Method and apparatus for data transmission using clock domain
JP2001144829A (en) Data transmitter, data transmission system and data transmission method
JPH0697983A (en) Network system
JP5223582B2 (en) Message transmission apparatus and message transmission method
JP2715137B2 (en) Communication network control method
JPH063925B2 (en) Shared channel access control circuit
JPS63224444A (en) Adaptive type packet switching system
JPH05347620A (en) Repeater
JPH0239650A (en) Distributed processing type isdn exchange
JPS62199197A (en) Decentralized installation type exchange processing system
JP2001136207A (en) Device and method for relaying the internet
JPH0683253B2 (en) Packet exchange method
JPS61120596A (en) Signal controller in electronic exchange
KR20020069448A (en) Apparatus for Fast Packet Bus
JPS63238738A (en) Communication control device
JPH0622003A (en) Communication test system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010704