Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4506350B2 - Controller equipment connected to the IEEE1394 serial bus - Google Patents
[go: Go Back, main page]

JP4506350B2 - Controller equipment connected to the IEEE1394 serial bus - Google Patents

Controller equipment connected to the IEEE1394 serial bus Download PDF

Info

Publication number
JP4506350B2
JP4506350B2 JP2004241113A JP2004241113A JP4506350B2 JP 4506350 B2 JP4506350 B2 JP 4506350B2 JP 2004241113 A JP2004241113 A JP 2004241113A JP 2004241113 A JP2004241113 A JP 2004241113A JP 4506350 B2 JP4506350 B2 JP 4506350B2
Authority
JP
Japan
Prior art keywords
transfer rate
bus
connected device
information
maximum 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.)
Expired - Fee Related
Application number
JP2004241113A
Other languages
Japanese (ja)
Other versions
JP2006060582A (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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2004241113A priority Critical patent/JP4506350B2/en
Publication of JP2006060582A publication Critical patent/JP2006060582A/en
Application granted granted Critical
Publication of JP4506350B2 publication Critical patent/JP4506350B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、IEEE1394シリアルバス(以下、バスと略す)への接続機器に係わり、特に、バス上の各接続機器間における実現可能な最高のデータ転送速度を判定する技術に関する。   The present invention relates to a device connected to an IEEE1394 serial bus (hereinafter abbreviated as a bus), and more particularly to a technique for determining the highest data transfer rate that can be realized between each connected device on the bus.

従来、IEEE1394.1995の規格では、バス上における送信側の接続機器は、バス上における受信側の接続機器へデータを転送する際に、バス上におけるバスマネージャーのレジスタ内に格納されたスピードマップより、受信側の接続機器へデータを転送する際における物理レイヤの最高データ転送速度の情報を読み取り、この物理レイヤの最高データ転送速度の情報に基づいて、受信側の接続機器へのデータ転送速度を決定していた。   Conventionally, according to the IEEE1394.1995 standard, a transmission-side connected device on the bus uses a speed map stored in a bus manager register on the bus when transferring data to a connected device on the bus. Reads the information on the maximum data transfer rate of the physical layer when transferring data to the connected device on the receiving side, and determines the data transfer rate to the connected device on the receiving side based on the information on the maximum data transfer rate of the physical layer. It was decided.

ところが、送信側又は受信側の接続機器に関するリンクレイヤの最高転送速度が、スピードマップから読み取った物理レイヤの最高転送速度よりも遅い場合があり、このような場合には、受信側の接続機器が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまう。そこで、この種の接続機器の分野において、バスリセットの発生時に、バスマネージャーが、他の接続機器のコンフィグレーションROMからリンクレイヤの最高転送速度を読み出して、このリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合に、スピードマップ内に格納されている最高転送速度をリンクレイヤの最高転送速度の内容に合わせて修正するようにしたものが知られている(例えば、特許文献1参照)。   However, the maximum transfer rate of the link layer related to the connection device on the transmission side or the reception side may be slower than the maximum transfer rate of the physical layer read from the speed map. Packets received at the physical layer are lost at the link layer. Therefore, in the field of this type of connected equipment, when a bus reset occurs, the bus manager reads the maximum transfer speed of the link layer from the configuration ROM of the other connected equipment, and the maximum transfer speed of this link layer is the physical layer. In a case where the maximum transfer rate is slower than the maximum transfer rate, the maximum transfer rate stored in the speed map is corrected according to the content of the maximum transfer rate of the link layer (for example, Patent Document 1). reference).

また、この種の接続機器の分野において、全ての接続機器が他機との通信速度を判定するためのテーブルを記憶する必要がないようにするために、自機の物理レイヤの最高通信速度が、全接続機器の物理レイヤの最高通信速度のうちで最も低い場合に、他機との通信速度を判定するためのテーブルを作成せず、自機の物理レイヤの最高通信速度で他機との通信を行うようにしたものが知られている(例えば、特許文献2参照)。   In addition, in the field of this type of connected device, the maximum communication speed of the physical layer of the own device is set so that all connected devices do not need to store a table for determining the communication speed with other devices. When the lowest communication speed of the physical layer of all connected devices is the lowest, do not create a table for determining the communication speed with other devices, A device that performs communication is known (for example, see Patent Document 2).

しかしながら、IEEE1394に関する新たな規格であるIEEE1394a.2000では、バスマネージャーがユニットレジスタ内にスピードマップを格納しないようになった。従って、バス上におけるバスマネージャーがIEEE1394a.2000の規格に対応した接続機器である場合には、上記特許文献1に示されるスピードマップの存在を前提とする発明を実施することができない。また、上記特許文献2に示される発明では、各接続機器の物理レイヤの最高通信速度しか考慮していないため、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合に、各接続機器間における最適な転送速度を判定することができず、受信側の接続機器が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうという問題を解消することができない。
特開平10−290237号公報(第1−5頁、図1−6) 特開2000−259542号公報(第1−5頁、図1−4)
However, in IEEE1394a.2000, which is a new standard related to IEEE1394, the bus manager does not store the speed map in the unit register. Therefore, when the bus manager on the bus is a connected device that conforms to the IEEE1394a.2000 standard, the invention based on the existence of the speed map disclosed in Patent Document 1 cannot be implemented. Further, in the invention disclosed in Patent Document 2, since only the maximum communication speed of the physical layer of each connected device is considered, the maximum transfer rate of the link layer of each connected device is slower than the maximum transfer rate of the physical layer. In addition, it is impossible to determine the optimum transfer rate between the connected devices, and it is impossible to solve the problem that the packet received by the receiving-side connected device at the physical layer is lost at the link layer.
Japanese Patent Laid-Open No. 10-290237 (page 1-5, FIG. 1-6) JP 2000-259542 A (page 1-5, FIGS. 1-4)

本発明は、上記の問題を解決するためになされたものであり、バス上におけるバスマネージャーがIEEE1394a.2000の規格に対応した接続機器であるときに、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合でも、各接続機器間における最適な転送速度を判定することができるようにして、受信側の接続機器が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうことを防ぐことが可能なIEEE1394シリアルバスへの接続機器を提供することを目的とする。   The present invention has been made to solve the above-described problem. When the bus manager on the bus is a connection device compliant with the IEEE1394a.2000 standard, the maximum transfer rate of the link layer of each connection device is Even if the transfer rate is slower than the maximum transfer rate of the physical layer, it is possible to determine the optimum transfer rate between each connected device, so that the packet received by the receiving connected device at the physical layer is lost at the link layer. It is an object of the present invention to provide a connection device to an IEEE1394 serial bus that can prevent this from happening.

上記目的を達成するために請求項1の発明は、他の接続機器とIEEE1394シリアルバスを介して接続され、バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベースを作成する転送速度判定用データベース作成手段と、転送速度判定用データベース作成手段により作成された転送速度判定用のデータベース、自機の性能に関する情報等を格納したコンフィグレーションROM、及び各機器固有のレジスタであるユニットレジスタ等を記憶するメモリとを備えたIEEE1394シリアルバスへの接続機器において、バス上におけるバスマネージャー内のメモリから、バスマネージャーがIEEE1394.1995のみに準拠した旧タイプの接続機器であるか、IEEE1394a.2000に準拠した新タイプの接続機器であるかという情報を読み取る新旧タイプ情報読取手段と、バス上における他の接続機器のコンフィグレーションROM内のlink_spdフィールドに格納されたリンクレイヤの最高転送速度の情報を読み取る新リンクレイヤ転送速度読取手段と、バス上におけるバスマネージャー内のメモリから、バス上における各接続機器の接続状態に関する情報と物理レイヤの最高転送速度の情報を含むトポロジーマップのデータを読み取るトポロジーマップ読取手段とをさらに備え、転送速度判定用データベース作成手段は、新旧タイプ情報読取手段によって読み取ったバスマネージャーのタイプが新タイプであるときに、トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報と、新リンクレイヤ転送速度読取手段によって読み取った各接続機器に関するリンクレイヤの最高転送速度の情報とに基づいて、転送速度判定用のデータベースを作成する新転送速度判定用データベース作成手段と、新旧タイプ情報読取手段により読み取ったバスマネージャーのタイプが旧タイプであるときに、トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報に基づいて、転送速度判定用のデータベースを作成する旧転送速度判定用データベース作成手段とから構成され、新転送速度判定用データベース作成手段は、各接続機器間の転送速度を決定する際に、各接続機器がIEEE1394.1995のみに準拠した旧タイプの接続機器であって、新リンクレイヤ転送速度読取手段によって読み取った該当の接続機器のlink_spdフィールドに0がセットされているときは、その接続機器のリンクレイヤの最高転送速度が100Mbpsであるとみなし、各接続機器がIEEE1394a.2000に準拠した新タイプの接続機器であるときには、その接続機器のリンクレイヤの最高転送速度がlink_spdフィールドにセットされている値に対応した転送速度であるとみなして、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を前記各接続機器の実質最高転送速度とし、データの送信側の接続機器に関する実質最高転送速度と、データの受信側の接続機器に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を送信側の接続機器と受信側の接続機器との間の転送速度とするようにしたものである。   In order to achieve the above object, the invention of claim 1 is a transfer rate determination database which is connected to other connected devices via an IEEE1394 serial bus and stores information on the maximum transfer rate between the connected devices on the bus. Transfer rate determination database creation means for creating a transfer rate, a transfer rate determination database created by the transfer rate determination database creation means, a configuration ROM storing information on the performance of the own device, and a register specific to each device In the connection device to the IEEE1394 serial bus that has a memory that stores unit registers, etc., whether the bus manager is an old type connection device that only complies with IEEE1394.1995 from the memory in the bus manager on the bus , An old and new tie that reads information on whether it is a new type of connected device compliant with IEEE1394a.2000 Group information reading means, new link layer transfer speed reading means for reading link layer maximum transfer speed information stored in the link_spd field in the configuration ROM of other connected devices on the bus, and in the bus manager on the bus A topology map reading means for reading topology map data including information on the connection state of each connected device on the bus and information on the maximum transfer speed of the physical layer from the memory of When the type of bus manager read by the old and new type information reading means is a new type, information on the maximum transfer speed of the physical layer for each connected device in the topology map read by the topology map reading means and the new link layer transfer speed Read by reading means New transfer rate determination database creation means for creating a transfer rate determination database based on the link layer maximum transfer rate information for each connected device, and the type of bus manager read by the old and new type information reading means An old transfer rate determination database that creates a transfer rate determination database based on information on the maximum transfer rate of the physical layer for each connected device in the topology map read by the topology map reading means when the is an old type The new transfer rate determination database creation unit is an old type connection device that only complies with IEEE1394.1995 when determining the transfer rate between the connection devices. In the link_spd field of the corresponding connected device read by the new link layer transfer rate reading means When 0 is set, it is considered that the maximum transfer rate of the link layer of the connected device is 100 Mbps. When each connected device is a new type of connected device compliant with IEEE1394a.2000, the link of the connected device Assuming that the maximum transfer rate of the layer is the transfer rate corresponding to the value set in the link_spd field, the maximum transfer rate of the physical layer of each connected device is compared with the maximum transfer rate of the link layer. The maximum transfer rate of each of the connected devices is the actual maximum transfer rate of the connected device, the actual maximum transfer rate of the connected device on the data transmission side, the actual maximum transfer rate of the connected device on the data receiving side, and the connected device that relays the data Compared to the maximum transfer rate of the physical layer, the lowest transfer rate among these is transferred between the connected device on the sending side and the connected device on the receiving side. The feed speed is set.

上記構成においては、新旧タイプ情報読取手段によって読み取ったバスマネージャーのタイプが新タイプであるときに、トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報と、新リンクレイヤ転送速度読取手段によって読み取った各接続機器に関するリンクレイヤの最高転送速度の情報とに基づいて、新転送速度判定用データベース作成手段により転送速度判定用のデータベースを作成する。そして、新転送速度判定用データベース作成手段は、各接続機器間の転送速度を決定する際に、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とするようにした。これにより、バス上におけるバスマネージャーがIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合でも、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度を両方とも考慮した転送速度判定用のデータベースのデータに基づいて、各接続機器間における実現可能な最高の転送速度を判定することができる。従って、受信側の接続機器が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうことを防ぐことができる。   In the above configuration, when the type of bus manager read by the old and new type information reading means is a new type, information on the maximum transfer rate of the physical layer regarding each connected device in the topology map read by the topology map reading means, Based on the link layer maximum transfer rate information regarding each connected device read by the new link layer transfer rate reading unit, a new transfer rate determination database creation unit creates a transfer rate determination database. The new transfer rate determination database creation means compares the maximum transfer rate of the physical layer with the maximum transfer rate of the link layer when determining the transfer rate between the connected devices. The maximum transfer speed is set to the actual maximum transfer speed of each connected device. As a result, when the bus manager on the bus is a new type of connection device that supports the IEEE1394a.2000 standard, even if the maximum transfer rate of the link layer of each connection device is slower than the maximum transfer rate of the physical layer, Determine the maximum transfer rate that can be achieved between each connected device based on the data in the transfer rate determination database that considers both the maximum transfer rate of the physical layer and the maximum transfer rate of the link layer of each connected device. Can do. Therefore, it is possible to prevent the packet received by the receiving side connected device at the physical layer from being lost at the link layer.

また、新転送速度判定用データベース作成手段は、各接続機器間の転送速度を決定する際に、各接続機器がIEEE1394.1995のみに準拠した旧タイプの接続機器であって、新リンクレイヤ転送速度読取手段によって読み取った該当の接続機器のlink_spdフィールドに0がセットされているときは、その接続機器のリンクレイヤの最高転送速度が100Mbpsであるとみなし、各接続機器がIEEE1394a.2000に準拠した新タイプの接続機器であるときには、その接続機器のリンクレイヤの最高転送速度がlink_spdフィールドにセットされている値に対応した転送速度であるとみなすようにした。これにより、バス上の各接続機器の中に、IEEE1394.1995のみに準拠した旧タイプの接続機器と、IEEE1394a.2000に準拠した新タイプの接続機器が混在している場合でも、新転送速度判定用データベース作成手段により作成したデータベースのデータに基づいて、各接続機器間における実現可能な最高の転送速度を判定することができる。   The new transfer rate determination database creation means determines whether the transfer rate between the connected devices is an old type of connected device that conforms only to IEEE1394.1995, and the new link layer transfer rate. When the link_spd field of the corresponding connected device read by the reading means is set to 0, it is considered that the maximum transfer rate of the link layer of the connected device is 100 Mbps, and each connected device is a new device that conforms to IEEE1394a.2000. When it is a type of connected device, the maximum transfer rate of the link layer of the connected device is regarded as the transfer rate corresponding to the value set in the link_spd field. This makes it possible to determine the new transfer speed even if the connected devices on the bus contain both old-type connected devices that comply only with IEEE1394.1995 and new-type connected devices that comply with IEEE1394a.2000. Based on the data in the database created by the database creation means, it is possible to determine the highest transfer rate that can be achieved between the connected devices.

さらにまた、新転送速度判定用データベース作成手段は、各接続機器間の転送速度を決定する際に、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とし、データの送信側の接続機器に関する実質最高転送速度と、データの受信側の接続機器に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を送信側の接続機器と受信側の接続機器との間の転送速度とするようにした。これにより、データを中継する接続機器における物理レイヤの最高転送速度がリンクレイヤの最高転送速度より高速である場合に、送信側の接続機器から受信側の接続機器へのデータの転送速度を、データを中継する接続機器のリンクレイヤの最高転送速度に合わせて低下させないようにすることができるので、データを中継することにより生じる転送速度の低下を最小限に抑えることができる。   Furthermore, the new transfer rate determination database creation means compares the maximum transfer rate of the physical layer of each connected device with the maximum transfer rate of the link layer when determining the transfer rate between the connected devices. The maximum transfer rate of the other device is the actual maximum transfer rate of each connected device, the actual maximum transfer rate for the connected device on the data transmission side, the actual maximum transfer rate for the connected device on the data receiving side, and the connected device that relays data The highest transfer rate of the physical layer is compared, and the lowest transfer rate among these is set as the transfer rate between the connection device on the transmission side and the connection device on the reception side. As a result, when the maximum transfer rate of the physical layer in the connection device that relays data is higher than the maximum transfer rate of the link layer, the data transfer rate from the connection device on the transmission side to the connection device on the reception side is Therefore, it is possible to prevent a decrease in the transfer rate caused by relaying data from being minimized.

また、請求項2の発明は、他の接続機器とIEEE1394シリアルバスを介して接続され、バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベースを作成する転送速度判定用データベース作成手段と、転送速度判定用データベース作成手段により作成された転送速度判定用のデータベース、自機の性能に関する情報等を格納したコンフィグレーションROM、及び各機器固有のレジスタであるユニットレジスタ等を記憶するメモリとを備えたIEEE1394シリアルバスへの接続機器において、バス上におけるバスマネージャー内のメモリから、バスマネージャーがIEEE1394.1995のみに準拠した旧タイプの接続機器であるか、IEEE1394a.2000に準拠した新タイプの接続機器であるかという情報を読み取る新旧タイプ情報読取手段と、バス上における他の接続機器のコンフィグレーションROM内のlink_spdフィールドに格納されたリンクレイヤの最高転送速度の情報を読み取るリンクレイヤ転送速度読取手段と、バス上におけるバスマネージャー内のメモリから、バス上における各接続機器の接続状態に関する情報と物理レイヤの最高転送速度の情報を含むトポロジーマップのデータを読み取るトポロジーマップ読取手段とをさらに備え、転送速度判定用データベース作成手段は、新旧タイプ情報読取手段によって読み取ったバスマネージャーのタイプが新タイプであるときに、トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報と、リンクレイヤ転送速度読取手段によって読み取った各接続機器に関するリンクレイヤの最高転送速度の情報とに基づいて、転送速度判定用のデータベースを作成する新転送速度判定用データベース作成手段と、新旧タイプ情報読取手段により読み取ったバスマネージャーのタイプが旧タイプであるときに、トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報に基づいて、転送速度判定用のデータベースを作成する旧転送速度判定用データベース作成手段とから構成され、新転送速度判定用データベース作成手段は、各接続機器間の転送速度を決定する際に、各接続機器がIEEE1394a.2000に準拠した新タイプの接続機器であるときには、その接続機器のリンクレイヤの最高転送速度がlink_spdフィールドにセットされている値に対応した転送速度であるとみなして、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とし、データの送信側の接続機器に関する実質最高転送速度と、データの受信側の接続機器に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を前記送信側の接続機器と前記受信側の接続機器との間の転送速度とするようにしたものである。 Further, the invention of claim 2 is a transfer rate for creating a transfer rate determination database which is connected to other connected devices via an IEEE1394 serial bus and stores information on the maximum transfer rate between each connected device on the bus. Judgment database creation means, transfer speed judgment database created by transfer speed judgment database creation means, configuration ROM storing information on performance of own device, unit register which is a register unique to each device, etc. Connected to an IEEE1394 serial bus with a memory that stores the memory , the bus manager is an old type of connection device that conforms only to IEEE1394.1995, or the IEEE1394a.2000 Old and new type information reading means for reading information on whether it is a compliant new type of connected device, A new link layer transfer rate reading means for reading the link layer maximum transfer rate information stored in the link_spd field in the configuration ROM of the other connected devices on the bus, and the memory in the bus manager on the bus. And a topology map reading means for reading topology map data including information on the connection state of each connected device and information on the maximum transfer speed of the physical layer, and the transfer speed determination database creating means is a new and old type information reading means. When the type of the read bus manager is a new type, information on the maximum transfer rate of the physical layer regarding each connected device in the topology map read by the topology map reading unit and each read by the new link layer transfer rate reading unit Connected devices Based on the maximum transfer rate of the information of the link layer that a new transmission speed determination database creation means for creating a database for determining the transfer rate, the type of the bus manager read by old type information reading means is a older Sometimes, it comprises an old transfer rate determination database creation unit that creates a transfer rate determination database based on information on the maximum transfer rate of the physical layer for each connected device in the topology map read by the topology map reading unit The new transfer rate determination database creation means determines the transfer rate between each connected device, and if each connected device is a new type of connected device compliant with IEEE1394a.2000, the link layer of the connected device is used. Is the maximum transfer rate corresponding to the value set in the link_spd field As if there were, by comparing the maximum transfer rate of the maximum transfer rate and the link layer of the physical layer of each connected device, the lower data transfer rates up to a substantially maximum transfer speed of each connection device, the data transmission side Compare the real maximum transfer rate for the connected device with the real maximum transfer rate for the connected device on the data receiving side and the maximum transfer rate of the physical layer for the connected device that relays data. Is the transfer rate between the transmitting-side connected device and the receiving-side connected device.

請求項1の発明によれば、バスマネージャーのタイプがIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とするようにした。これにより、バス上におけるバスマネージャーがIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合でも、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度を両方とも考慮した転送速度判定用のデータベースのデータに基づいて、各接続機器間における実現可能な最高の転送速度を判定することができる。従って、受信側の接続機器が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうことを防ぐことができる。   According to the first aspect of the present invention, when the bus manager type is a new type of connection device corresponding to the IEEE1394a.2000 standard, the maximum transfer rate of the physical layer and the maximum transfer rate of the link layer of each connection device are In comparison, the lower maximum transfer rate is set to the actual maximum transfer rate of each connected device. As a result, when the bus manager on the bus is a new type of connection device that supports the IEEE1394a.2000 standard, even if the maximum transfer rate of the link layer of each connection device is slower than the maximum transfer rate of the physical layer, Determine the maximum transfer rate that can be achieved between each connected device based on the data in the transfer rate determination database that considers both the maximum transfer rate of the physical layer and the maximum transfer rate of the link layer of each connected device. Can do. Therefore, it is possible to prevent the packet received by the receiving side connected device at the physical layer from being lost at the link layer.

また、各接続機器間の転送速度を決定する際に、各接続機器がIEEE1394.1995のみに準拠した旧タイプの接続機器であって、新リンクレイヤ転送速度読取手段によって読み取った該当の接続機器のlink_spdフィールドに0がセットされているときは、その接続機器のリンクレイヤの最高転送速度が100Mbpsであるとみなすようにした。これにより、バス上の各接続機器の中に、IEEE1394.1995のみに準拠した旧タイプの接続機器と、IEEE1394a.2000に準拠した新タイプの接続機器が混在している場合でも、新転送速度判定用データベース作成手段により作成したデータベースのデータに基づいて、各接続機器間における実現可能な最高の転送速度を判定することができる。   Also, when determining the transfer rate between each connected device, each connected device is an old type connected device that complies only with IEEE1394.1995, and the corresponding connected device read by the new link layer transfer rate reading means. When the link_spd field is set to 0, the maximum transfer rate of the link layer of the connected device is regarded as 100 Mbps. This makes it possible to determine the new transfer speed even if the connected devices on the bus contain both old-type connected devices that comply only with IEEE1394.1995 and new-type connected devices that comply with IEEE1394a.2000. Based on the data in the database created by the database creation means, it is possible to determine the highest transfer rate that can be achieved between the connected devices.

さらにまた、各接続機器間の転送速度を決定する際に、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とし、データの送信側の接続機器に関する実質最高転送速度と、データの受信側の接続機器に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を送信側の接続機器と受信側の接続機器との間の転送速度とするようにした。これにより、データを中継する接続機器における物理レイヤの最高転送速度がリンクレイヤの最高転送速度より高速である場合に、送信側の接続機器から受信側の接続機器へのデータの転送速度を、データを中継する接続機器のリンクレイヤの最高転送速度に合わせて低下させないようにすることができるので、データを中継することにより生じる転送速度の低下を最小限に抑えることができる。   Furthermore, when determining the transfer rate between each connected device, the maximum transfer rate of the physical layer of each connected device is compared with the maximum transfer rate of the link layer, and the lower maximum transfer rate is determined for each connected device. Compared to the actual maximum transfer rate for the connected device on the data transmission side, the actual maximum transfer rate for the connected device on the data receiving side, and the maximum transfer rate of the physical layer for the connected device that relays data. Then, the lowest transfer speed among these is set as the transfer speed between the connection device on the transmission side and the connection device on the reception side. As a result, when the maximum transfer rate of the physical layer in the connection device that relays data is higher than the maximum transfer rate of the link layer, the data transfer rate from the connection device on the transmission side to the connection device on the reception side is Therefore, it is possible to prevent a decrease in the transfer rate caused by relaying data from being minimized.

本発明を実施するための最良の形態について図面を参照して説明する。以下に記載した実施形態は、本発明を網羅するものではなく、本発明は、下記の形態だけに限定されない。本実施形態による接続機器(IEEE1394シリアルバスへの接続機器)は、IEEE1394シリアルバスを介して他の接続機器と接続されるバスマネージャーである。   The best mode for carrying out the present invention will be described with reference to the drawings. The embodiments described below do not cover the present invention, and the present invention is not limited to the following modes. The connection device (connection device to the IEEE1394 serial bus) according to the present embodiment is a bus manager connected to another connection device via the IEEE1394 serial bus.

図1は、本実施形態によるバスマネージャーと、IEEE1394シリアルバス上における他の接続機器の電気的ブロック構成を示す。バスマネージャー1は、IEEE1394シリアルバス9を介して、データ送信側の接続機器3(以下、送信側機器と略す)、及びデータ受信側の接続機器4(以下、受信側機器と略す)と接続されている。   FIG. 1 shows an electrical block configuration of the bus manager according to the present embodiment and other connected devices on the IEEE1394 serial bus. The bus manager 1 is connected to a data transmission side connection device 3 (hereinafter abbreviated as a transmission side device) and a data reception side connection device 4 (hereinafter abbreviated as a reception side device) via an IEEE1394 serial bus 9. ing.

上記のバスマネージャー1は、CPU11と各種のデータを記憶するメモリ12とを有している。CPU11は、装置全体の制御を行うだけではなく、IEEE1394のプロトコル上におけるアプリケーション層としても機能する。また、メモリ12は、バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベース(転送速度判定用DB)13、この転送速度判定用DB13を作成するためのプログラム(転送速度判定用DB作成PG)14、バスマネージャー1自体及びバス9上の他の接続機器に関する各種の情報を格納したレジスタ空間15等を記憶している。転送速度判定用DB作成PG14とCPU11とが、請求項1における転送速度判定用データベース作成手段、新転送速度判定用データベース作成手段、及び旧転送速度判定用データベース作成手段に相当する。また、本実施形態のように、バスマネージャー1自体が転送速度判定用DB13を有する機器(以下、転送速度情報提供機器という)である場合には、CPU11は、請求項における新旧タイプ情報読取手段及びトポロジーマップ読取手段としても機能する。   The bus manager 1 has a CPU 11 and a memory 12 for storing various data. The CPU 11 not only controls the entire apparatus, but also functions as an application layer on the IEEE1394 protocol. The memory 12 also includes a transfer rate determination database (transfer rate determination DB) 13 that stores information on the maximum transfer rate between each connected device on the bus, and a program for creating the transfer rate determination DB 13 ( Transfer speed determination DB creation PG) 14, a register space 15 in which various information related to the bus manager 1 itself and other connected devices on the bus 9 are stored. The transfer rate determination DB creation PG 14 and the CPU 11 correspond to the transfer rate determination database creation unit, the new transfer rate determination database creation unit, and the old transfer rate determination database creation unit in claim 1. Further, as in the present embodiment, when the bus manager 1 itself is a device having the transfer speed determination DB 13 (hereinafter referred to as a transfer speed information providing device), the CPU 11 reads the old and new type information reading means in the claims and It also functions as a topology map reading means.

また、バスマネージャー1は、IEEE1394のプロトコル上におけるリンク層レベルのサービスを提供するLINK16と、物理層レベルのサービスを提供するPHY17と、バス9のケーブルを接続するためのIEEE1394ポート18とを有している。これらのLINK16、PHY17及びIEEE1394ポート18は、請求項1における新リンクレイヤ転送速度読取手段に相当する。   The bus manager 1 also includes a LINK 16 that provides a link layer level service on the IEEE1394 protocol, a PHY 17 that provides a physical layer level service, and an IEEE1394 port 18 for connecting a cable of the bus 9. ing. These LINK 16, PHY 17 and IEEE1394 port 18 correspond to the new link layer transfer rate reading means in claim 1.

また、上記の送信側機器3及び受信側機器4も、バスマネージャー1と同様に、CPU31、41、メモリ32、42、LINK36、46、PHY37、47、及びIEEE1394ポート38、48を有しており、また、メモリ32、42内にそれぞれレジスタ空間35、45を内包している。しかし、バスマネージャー1と異なり、メモリ32、42内に転送速度判定用DB13及び転送速度判定用DB作成PG14を格納していない。   Similarly to the bus manager 1, the transmission side device 3 and the reception side device 4 have CPUs 31 and 41, memories 32 and 42, LINKs 36 and 46, PHYs 37 and 47, and IEEE1394 ports 38 and 48. The memory spaces 32 and 42 contain register spaces 35 and 45, respectively. However, unlike the bus manager 1, the transfer speed determination DB 13 and the transfer speed determination DB creation PG 14 are not stored in the memories 32 and 42.

次に、図2を参照して、上記のバスマネージャー1内のレジスタ空間15に記憶されているデータの内容について説明する。レジスタ空間15は、自装置及び他の接続機器の制御に用いられるCSR(Control and Status Registers)コア51と、バス9の管理用のレジスタであるシリアルバス依存レジスタ52と、自機の性能に関する情報等を記憶したコンフィグレーションROM53と、各機器固有のレジスタであるユニットレジスタ54とから構成されている。   Next, contents of data stored in the register space 15 in the bus manager 1 will be described with reference to FIG. The register space 15 includes a CSR (Control and Status Registers) core 51 used for controlling the own device and other connected devices, a serial bus dependent register 52 that is a register for managing the bus 9, and information on the performance of the own device. And the like, and a unit register 54 which is a register unique to each device.

上記のシリアルバス依存レジスタ52には、バスマネージャー1の物理IDを格納したBUS_MANAGER_ID55が格納されている。また、コンフィグレーションROM53内のbus_info_block56には、自機のリンクレイヤの最高転送速度の情報であるlink_spd57が格納されている。   The serial bus dependency register 52 stores BUS_MANAGER_ID 55 that stores the physical ID of the bus manager 1. The bus_info_block 56 in the configuration ROM 53 stores link_spd 57 that is information on the maximum transfer rate of the link layer of the own device.

上記のユニットレジスタ54は、バス9上における各接続機器の接続状態に関する情報と物理レイヤの最高転送速度の情報とを含むTOPOLOGY_MAP(トポロジーマップ)60を格納している。TOPOLOGY_MAP60は、バスリセット時にCPU11によって作成される。なお、図2は、バスマネージャー1がIEEE1394a.2000の規格に対応した新タイプの接続機器である場合におけるレジスタ空間15内のデータの構成を示している。バスマネージャー1がIEEE1394.1995のみに準拠した旧タイプの接続機器である場合には、コンフィグレーションROM53内のbus_info_block56にlink_spd57が格納されず、ユニットレジスタ54内に各接続機器間における物理レイヤの最高転送速度の情報であるSPEED_MAP(スピードマップ)が格納される。   The unit register 54 stores a TOPOLOGY_MAP (topology map) 60 including information on the connection status of each connected device on the bus 9 and information on the maximum transfer rate of the physical layer. The TOPOLOGY_MAP 60 is created by the CPU 11 when the bus is reset. FIG. 2 shows a data structure in the register space 15 in the case where the bus manager 1 is a new type of connected device corresponding to the IEEE1394a.2000 standard. When the bus manager 1 is an old type connection device that only complies with IEEE1394.1995, the link_spd 57 is not stored in the bus_info_block 56 in the configuration ROM 53, and the highest transfer of the physical layer between the connection devices in the unit register 54 SPEED_MAP (speed map) that is speed information is stored.

上記の送信側機器3及び受信側機器4内のレジスタ空間35,45も、バスマネージャー1内のレジスタ空間15と同様に、CSRコア51と、シリアルバス依存レジスタ52と、コンフィグレーションROM53と、ユニットレジスタ54とから構成されており、コンフィグレーションROM53内には、上記と同様なlink_spd57が格納されている。   Similarly to the register space 15 in the bus manager 1, the register spaces 35 and 45 in the transmission side device 3 and the reception side device 4 are also a CSR core 51, a serial bus dependent register 52, a configuration ROM 53, and a unit. The configuration ROM 53 stores a link_spd 57 similar to the above.

次に、図3を参照して、図2中におけるTOPOLOGY_MAP60に格納されている情報の内容について説明する。TOPOLOGY_MAP60は、バス9上におけるノード数の情報であるnode_count76、TOPOLOGY_MAP60内に格納されているセルフIDパケットの数の情報であるself_id_count77、及び各ノードのセルフIDパケット(self_id_packet[0]〜self_id_packet[self_id_count-1])からなるセルフIDパケットテーブル78等から構成されている。   Next, the contents of information stored in the TOPOLOGY_MAP 60 in FIG. 2 will be described with reference to FIG. The TOPOLOGY_MAP 60 includes node_count76, which is information on the number of nodes on the bus 9, self_id_count77, which is information on the number of self ID packets stored in the TOPOLOGY_MAP 60, and self ID packets (self_id_packet [0] to self_id_packet [self_id_count- 1]) and the like.

次に、図4乃至図6を参照して、図3中におけるセルフIDパケットテーブル78に含まれるセルフIDパケットの内容について、IEEE1394a.2000の場合を例に挙げて説明する。第1の種類のセルフIDパケット(以下、第1セルフIDパケットという)79は、図4に示されるように、該当のパケットを送出したノード(以下、送出元ノードという)の物理IDを示すPhy_ID80、送出元ノードに関する物理レイヤの最高転送速度の情報であるsp81、p0〜p2の各ポートの状態を示すp0情報82〜p2情報84、同じ物理IDを有するパケットが後に続いているか否かを示す追加パケット有無情報m85等を格納している。p0情報82〜p2情報84が“11”のときは、「該当のノードが動作中で子ポートに接続されている」ことを示し、“10”のときは、「該当のノードが動作中で親ポートに接続されている」ことを示す。また、“01”のときは、「該当のノードが動作していない」ことを示し、“00”のときは、「該当のポートが存在しない」ことを示す。   Next, the contents of the self ID packet included in the self ID packet table 78 in FIG. 3 will be described with reference to FIGS. 4 to 6 by taking the case of IEEE1394a.2000 as an example. As shown in FIG. 4, the first type self ID packet 79 (hereinafter referred to as a first self ID packet) 79 is a Phy_ID 80 indicating the physical ID of a node (hereinafter referred to as a transmission source node) that has transmitted the packet. , Sp81, which is information on the maximum transfer rate of the physical layer related to the transmission source node, p0 information 82-p2 information 84 indicating the state of each port of p0-p2, and whether a packet having the same physical ID follows. Additional packet presence / absence information m85 and the like are stored. When the p0 information 82 to the p2 information 84 are “11”, this indicates that “the corresponding node is operating and connected to the child port”, and when the information is “10”, “the corresponding node is operating. Connected to the parent port ". Further, “01” indicates that “the corresponding node is not operating”, and “00” indicates that “the corresponding port does not exist”.

図5に示されるように、第2の種類のセルフIDパケット(以下、第2セルフIDパケットという)86は、送出元ノードの物理IDを示すPhy_ID80、p3〜p10の各ポートの状態を示すp3情報87〜p10情報94、同じ物理IDを有するパケットが後に続いているか否かを示す追加パケット有無情報m85等を格納している。また、図6に示されるように、第3の種類のセルフIDパケット(以下、第3セルフIDパケットという)95は、送出元ノードの物理IDを示すPhy_ID80、p11〜p15の各ポートの状態を示すp11情報87〜p15情報100等を格納している。   As shown in FIG. 5, a second type self ID packet (hereinafter referred to as a second self ID packet) 86 includes Phy_ID 80 indicating the physical ID of the transmission source node and p3 indicating the state of each port of p3 to p10. Information 87 to p10 information 94, additional packet presence / absence information m85 indicating whether or not a packet having the same physical ID follows is stored. Further, as shown in FIG. 6, a third type self ID packet (hereinafter referred to as a third self ID packet) 95 indicates the state of each port of Phy_ID 80 and p11 to p15 indicating the physical ID of the transmission source node. P11 information 87 to p15 information 100 shown in FIG.

次に、図7のフローチャートを参照して、図1に示される転送速度判定用DB13の作成処理について説明する。バスリセット処理が完了すると、図1に示されるバスマネージャー1は、メモリ12から新旧のタイプ種別を読み込む(S1)。そして、バスマネージャー1のタイプ種別が“新”のときは(S2でYES)、新タイプ処理を行い(S3)、“新”でないときには(S2でNO)、旧タイプ処理を行う(S4)。ここで、タイプ種別が“新”とは、IEEE1394a.2000に準拠した新タイプの接続機器であることを示し、タイプ種別が“新”でない(タイプ種別が“旧”)とは、IEEE1394.1995のみに準拠した旧タイプの接続機器であることを示す。   Next, a process for creating the transfer rate determination DB 13 shown in FIG. 1 will be described with reference to the flowchart of FIG. When the bus reset process is completed, the bus manager 1 shown in FIG. 1 reads the old and new type types from the memory 12 (S1). When the type type of the bus manager 1 is “new” (YES in S2), new type processing is performed (S3), and when it is not “new” (NO in S2), old type processing is performed (S4). Here, the type classification “new” indicates that the connected device is a new type compliant with IEEE1394a.2000, and the type classification is not “new” (type classification is “old”). Indicates that it is an old type connection device that only complies with.

次に、図8のフローチャートを参照して、図7中のS3に示される新タイプ処理の概略について説明する。バスマネージャー1は、新タイプ処理に入ると、ユニットレジスタ54からTOPOLOGY_MAP(トポロジーマップ)60のデータを読み取る(S11)。次に、バス9上における各接続機器のコンフィグレーションROM53からlink_spd57内のデータを読み込む(S12)。そして、バスマネージャー1は、上記S11の処理で読み取ったTOPOLOGY_MAP60内のデータに含まれる各接続機器の物理レイヤの最高転送速度の情報(図4中のsp81)と、上記S12の処理で読み取った各接続機器に関するリンクレイヤの最高転送速度の情報(link_spd57)とに基づいて、バスマネージャー1が新タイプである場合における転送速度判定用DB13(図1参照)の作成処理を行う(S13)。   Next, an outline of the new type process shown in S3 of FIG. 7 will be described with reference to the flowchart of FIG. When entering the new type process, the bus manager 1 reads the data of the TOPOLOGY_MAP (topology map) 60 from the unit register 54 (S11). Next, the data in link_spd 57 is read from the configuration ROM 53 of each connected device on the bus 9 (S12). Then, the bus manager 1 receives information on the maximum transfer rate of the physical layer of each connected device (sp81 in FIG. 4) included in the data in the TOPOLOGY_MAP 60 read in the process of S11 and each read in the process of S12. Based on the link layer maximum transfer rate information (link_spd 57) related to the connected device, the transfer rate determination DB 13 (see FIG. 1) is created when the bus manager 1 is a new type (S13).

次に、図9のフローチャートに加えて図10乃至図12を参照して、上記図8中のS13に示される新転送速度判定用DB作成処理の詳細について説明する。図10はバス9に接続されるデバイスの構成例を示し、図11は各デバイスのリンクレイヤの最高転送速度の情報と物理レイヤの最高転送速度の情報とを比較して各デバイスの実質的な最高転送速度を決定する様子を示す。また、図12は、図10に示されるデバイス構成の場合の転送速度判定用DB13の内容を示す。なお、以下の説明では、デバイスという単語を上記の接続機器と同様な意味の単語として用いる。図10に示されるように、IEEE1394シリアルバスケーブル101(以下、ケーブルと略す)に接続されるデバイスが新タイプのデバイスのみである場合には、各デバイスA,B,C,DのコンフィグレーションROM53内のlink_spd57には、各デバイスA,B,C,Dのリンクレイヤの最高転送速度に応じた値がセットされている。link_spd57にセットされる値は、リンクレイヤの最高転送速度が400Mbps,200Mbps,100Mbpsのときに、それぞれ“010”,“001”,“000”となる。   Next, details of the new transfer rate determination DB creation processing shown in S13 of FIG. 8 will be described with reference to FIGS. 10 to 12 in addition to the flowchart of FIG. FIG. 10 shows an example of the configuration of a device connected to the bus 9, and FIG. 11 compares the information on the maximum transfer rate of the link layer of each device with the information on the maximum transfer rate of the physical layer. The state of determining the maximum transfer speed is shown. FIG. 12 shows the contents of the transfer rate determination DB 13 in the case of the device configuration shown in FIG. In the following description, the word “device” is used as a word having the same meaning as that of the connected device. As shown in FIG. 10, when the device connected to the IEEE1394 serial bus cable 101 (hereinafter abbreviated as “cable”) is only a new type device, the configuration ROM 53 of each device A, B, C, D is used. A value corresponding to the maximum transfer rate of the link layer of each device A, B, C, D is set in link_spd 57. The values set in link_spd 57 are “010”, “001”, and “000”, respectively, when the maximum transfer rate of the link layer is 400 Mbps, 200 Mbps, and 100 Mbps.

図9に示されるように、新転送速度判定用DB作成処理に入ると、バスマネージャー1は、図8中のS11の処理で読み取った各デバイスの物理レイヤの最高転送速度の情報と、図8中のS12の処理で読み取った各デバイスに関するリンクレイヤの最高転送速度の情報とを比較して、各デバイスの実質的な最高転送速度を決定する(S21)。具体的には、図11に示されるように、各デバイスA,B,C,Dに関するリンクレイヤの最高転送速度と物理レイヤの最高転送速度とを比較して、低い方の転送速度を各デバイスA,B,C,Dの実質的な最高転送速度(以下、実質最高転送速度という)とする。そして、バスマネージャー1は、ケーブル101を介して直接接続されるデバイス間の転送速度については、データの送信側のデバイスに関する実質最高転送速度と、データの受信側のデバイスに関する実質最高転送速度とを比較して、低い方の転送速度を、転送速度判定用DB13内における該当のデバイス間の転送速度とする(S22)。例えば、図10に示されるデバイスAとデバイスBとの間の転送速度については、図11に示されるデバイスAに関する実質最高転送速度(決定後の最高転送速度)である400Mbpsと、デバイスBに関する実質最高転送速度である200Mbpsとを比較して、図12に示されるように、低い方の転送速度である200Mbpsを、転送速度判定用DB13内におけるデバイスAB間の転送速度とする。   As shown in FIG. 9, when entering the new transfer rate determination DB creation process, the bus manager 1 reads information on the maximum transfer rate of the physical layer of each device read in the process of S11 in FIG. The actual maximum transfer rate of each device is determined by comparing the information of the maximum transfer rate of the link layer related to each device read in the process of S12 in the middle (S21). Specifically, as shown in FIG. 11, the maximum transfer rate of the link layer and the maximum transfer rate of the physical layer for each device A, B, C, and D are compared, and the lower transfer rate is set for each device. A substantial maximum transfer speed of A, B, C, and D (hereinafter referred to as a substantial maximum transfer speed). Then, the bus manager 1 determines the transfer rate between the devices directly connected via the cable 101 as the actual maximum transfer rate related to the data transmission side device and the actual maximum transfer rate related to the data reception side device. In comparison, the lower transfer rate is set as the transfer rate between the corresponding devices in the transfer rate determination DB 13 (S22). For example, regarding the transfer rate between the device A and the device B shown in FIG. 10, the actual maximum transfer rate (the highest transfer rate after determination) relating to the device A shown in FIG. Compared with the maximum transfer rate of 200 Mbps, as shown in FIG. 12, the lower transfer rate of 200 Mbps is set as the transfer rate between the devices AB in the transfer rate determination DB 13.

これに対して、バスマネージャー1は、他のデバイスを介して間接的に接続されるデバイス間の転送速度については、データの送信側のデバイスに関する実質最高転送速度と、データの受信側のデバイスに関する実質最高転送速度と、データを中継するデバイスに関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を、転送速度判定用DB13内における該当のデバイス間の転送速度とする(S23)。例えば、図10に示されるデバイスBとデバイスDとの間の転送速度については、図11に示されるデバイスBに関する実質最高転送速度(決定後の最高転送速度)である200Mbpsと、デバイスDに関する実質最高転送速度である100Mbpsと、データを中継するデバイスCに関する物理レイヤの最高転送速度である400Mbpsとを比較して、図12に示されるように、これらのうちで最も低い転送速度である100Mbpsを、転送速度判定用DB13内におけるデバイスBD間の転送速度とする。また、上記S23の処理において、データを中継するデバイスに関する最高転送速度として物理レイヤの最高転送速度を使用した理由は、データを中継するデバイスのリンクレイヤはデータ転送に関わらず、物理レイヤのみがデータ転送に関わるからである。従って、例えば、図10に示されるデバイスAとデバイスCとの間の転送速度については、バスマネージャー1は、データを中継するデバイスBに関する物理レイヤの最高転送速度である400Mbpsと、デバイスAに関する実質最高転送速度である400Mbpsと、デバイスCに関する実質最高転送速度である400Mbpsとを比較して、図12に示されるように、これらのうちで最も低い転送速度である400Mbpsを、転送速度判定用DB13内におけるデバイスAC間の転送速度とする。バスマネージャー1は、上記S21乃至S23に示される処理を繰り返すことにより、図12に示される転送速度判定用DB13内における各デバイス間の転送速度を決定する。   On the other hand, the bus manager 1 relates to the transfer rate between devices indirectly connected via other devices, the maximum transfer rate related to the device on the data transmission side, and the device on the data reception side. The actual maximum transfer rate is compared with the maximum transfer rate of the physical layer related to the device that relays data, and the lowest transfer rate among these is set as the transfer rate between the corresponding devices in the transfer rate determination DB 13. (S23). For example, regarding the transfer rate between the device B and the device D shown in FIG. 10, the actual maximum transfer rate (the maximum transfer rate after the determination) relating to the device B shown in FIG. The maximum transfer rate of 100 Mbps and the physical layer maximum transfer rate of 400 Mbps for the device C that relays data are compared, and as shown in FIG. 12, the lowest transfer rate of 100 Mbps is obtained. The transfer speed between the devices BD in the transfer speed determination DB 13 is used. In addition, in the processing of S23, the reason why the physical layer maximum transfer rate is used as the maximum transfer rate for the device that relays data is that the link layer of the device that relays data is data only regardless of the data transfer. This is because it is involved in forwarding. Therefore, for example, for the transfer rate between the device A and the device C shown in FIG. 10, the bus manager 1 has a maximum physical layer transfer rate of 400 Mbps related to the device B that relays data, and the actual transfer rate of the device A. The maximum transfer rate of 400 Mbps is compared with the actual maximum transfer rate of 400 Mbps for device C, and as shown in FIG. 12, the lowest transfer rate of 400 Mbps is determined as the transfer rate determination DB 13. The transfer speed between devices AC in the network. The bus manager 1 determines the transfer speed between devices in the transfer speed determination DB 13 shown in FIG. 12 by repeating the processing shown in S21 to S23.

次に、図13及び図14を参照して、バス9上のデバイスの中に、IEEE1394.1995のみに準拠した旧タイプのデバイスと、IEEE1394a.2000に準拠した新タイプのデバイスが混在している場合における転送速度判定用DB13の作成処理について説明する。以下の説明では、バス9上におけるバスマネージャー1に相当するデバイスがIEEE1394a.2000に準拠した新タイプのデバイスである場合における転送速度判定用DB13の作成処理について説明する。IEEE1394.1995のみに準拠した旧タイプのデバイスのlink_spd57(図2参照)には、そのデバイスのリンクレイヤの最高転送速度に対応した値がセットされておらず、固定値である“000”がセットされている。バスマネージャー1は、各デバイスのlink_spd57に“000”がセットされているときには、各デバイスが新タイプであるか否かに関わらず、該当のデバイスに関するリンクレイヤの最高転送速度が100Mbpsであるとみなす。これにより、図13に示されるように、バス9上の各デバイスの中に、旧タイプのデバイスB,Dと新タイプのデバイスA,Cが混在している場合でも、図14に示されるような各デバイス間の転送速度を格納した転送速度判定用DB13を作成して、この転送速度判定用DB13のデータに基づいて、各デバイス間における実現可能な最高の転送速度を判定することができる。   Next, referring to FIG. 13 and FIG. 14, among the devices on the bus 9, there are a mixture of an old type device compliant only with IEEE1394.1995 and a new type device compliant with IEEE1394a.2000. A process of creating the transfer rate determination DB 13 in this case will be described. In the following description, a process of creating the transfer rate determination DB 13 when the device corresponding to the bus manager 1 on the bus 9 is a new type device compliant with IEEE1394a.2000 will be described. A value corresponding to the maximum transfer rate of the link layer of the device is not set in link_spd57 (see FIG. 2) of the old type device compliant with only IEEE1394.1995, and a fixed value “000” is set. Has been. When “000” is set in the link_spd 57 of each device, the bus manager 1 regards the maximum transfer rate of the link layer for the corresponding device as 100 Mbps regardless of whether or not each device is a new type. . Accordingly, as shown in FIG. 13, even when the old type devices B and D and the new type devices A and C are mixed in each device on the bus 9, as shown in FIG. It is possible to create a transfer speed determination DB 13 that stores the transfer speed between devices, and to determine the highest transfer speed that can be achieved between the devices based on the data of the transfer speed determination DB 13.

次に、図15のフローチャートに加えて図16を参照して、図7中のS4に示される旧タイプ処理について説明する。当処理に入ると、バスマネージャー1は、ユニットレジスタ54内のトポロジーマップ60に格納されているデータに基づいてSPEED_MAP(スピードマップ)を作成する(S31)。図16に示されるスピードマップのデータは、図10に示されるデバイス構成と同様なデバイス構成の場合におけるスピードマップのデータである。このスピードマップが、バスマネージャー1のタイプが旧タイプである場合における転送速度判定用のデータベースに相当する。なお、バスマネージャー1は、バスリセット時に他の接続機器から取得したセルフIDパケットを直接用いてスピードマップを作成してもよい。また、本実施形態と異なり、送信側機器が転送速度情報提供機器である場合には、送信側機器は、バスマネージャーが旧タイプであれば、バスマネージャーから読み込んだスピードマップをそのまま用いて転送速度判定用DBを作成する。   Next, with reference to FIG. 16 in addition to the flowchart of FIG. 15, the old type process shown in S4 of FIG. 7 will be described. Upon entering this process, the bus manager 1 creates a SPEED_MAP (speed map) based on the data stored in the topology map 60 in the unit register 54 (S31). The speed map data shown in FIG. 16 is speed map data in the case of a device configuration similar to the device configuration shown in FIG. This speed map corresponds to a transfer speed determination database when the type of the bus manager 1 is an old type. The bus manager 1 may create a speed map by directly using a self ID packet acquired from another connected device at the time of bus reset. Also, unlike the present embodiment, when the transmission side device is a transfer rate information providing device, if the bus manager is an old type, the transmission side device uses the speed map read from the bus manager as it is. Create a DB for determination.

次に、図17乃至図19のフローチャートを参照して、転送速度情報提供機器以外の機器が転送速度情報提供機器から最高転送速度の情報を取得する方法について説明する。以下の説明では、図1に示されるバスマネージャー1が、転送速度情報提供機器であり、かつ、IEEE1394a.2000に準拠した新タイプの接続機器である場合について説明する。このような場合には、各接続機器間の最高転送速度の情報を持たない送信側機器3及び受信側機器4は、自機がIEEE1394a.2000に準拠した新タイプのデバイスであれば、それぞれのメモリ32、42(図1参照)内に、図17に示されるような内容のプログラムを格納している。このプログラムによれば、例えば、送信側機器3が受信側機器4にデータを送信する際に、送信側機器3は、バスマネージャー1(転送速度情報提供機器)のレジスタ空間15内におけるユニットレジスタ54のOxEFFC〜OxFFFCの内容をreadブロックパケットで問い合わせて(S41)、送信側機器3と受信側機器4との間の最高転送速度の情報をバスマネージャー1から取得する(S42)。   Next, a method for a device other than the transfer rate information providing device to acquire information on the maximum transfer rate from the transfer rate information providing device will be described with reference to the flowcharts of FIGS. In the following description, a case will be described in which the bus manager 1 shown in FIG. 1 is a transfer rate information providing device and a new type of connection device compliant with IEEE1394a.2000. In such a case, the transmission side device 3 and the reception side device 4 that do not have information on the maximum transfer speed between the connected devices are each a new type device that conforms to IEEE1394a.2000. Programs having contents as shown in FIG. 17 are stored in the memories 32 and 42 (see FIG. 1). According to this program, for example, when the transmission side device 3 transmits data to the reception side device 4, the transmission side device 3 transmits the unit register 54 in the register space 15 of the bus manager 1 (transfer rate information providing device). The contents of OxEFFC to OxFFFC are inquired by a read block packet (S41), and information on the maximum transfer rate between the transmission side device 3 and the reception side device 4 is acquired from the bus manager 1 (S42).

これに対して、送信側機器3及び受信側機器4は、自機がIEEE1394.1995のみに準拠した旧タイプの接続機器であるときには、それぞれのメモリ32、42(図1参照)内に、図18に示されるような内容のプログラムを格納している。このプログラムによれば、例えば、送信側機器3が受信側機器4にデータを送信する際に、送信側機器3は、バスマネージャー1のユニットレジスタ54内に格納されたスピードマップの内容をreadブロックパケットで問い合わせて(S51)、転送速度情報を取得する(S52)。   On the other hand, when the transmission side device 3 and the reception side device 4 are old-type connection devices compliant with only IEEE1394.1995, the transmission side device 3 and the reception side device 4 are stored in the respective memories 32 and 42 (see FIG. 1). 18 stores a program having the contents shown in FIG. According to this program, for example, when the transmission side device 3 transmits data to the reception side device 4, the transmission side device 3 reads the contents of the speed map stored in the unit register 54 of the bus manager 1 in the read block. An inquiry is made with a packet (S51), and transfer rate information is acquired (S52).

また、バスマネージャー1が、転送速度情報提供機器であり、かつ、IEEE1394a.2000に準拠した新タイプの接続機器である場合には、バスマネージャー1は、メモリ12(図1参照)内に、図19に示されるような内容のプログラムを格納している。このプログラムによれば、バスマネージャー1は、IEEE1394a.2000に準拠した新タイプの送信側機器3又は受信側機器4から、readブロックパケットで自機のユニットレジスタ54のOxEFFC〜OxFFFCの内容について問い合わせを受けたときには(S61でYES)、送信側機器3又は受信側機器4に対して、自機のユニットレジスタ54のOxEFFC〜OxFFFCの値を返す代わりに、転送速度判定用DB13の情報を返す(S62)。また、バスマネージャー1は、IEEE1394.1995のみに準拠した旧タイプの送信側機器3又は受信側機器4から、readブロックパケットで自機のユニットレジスタ54内に格納されたスピードマップの内容について問い合わせを受けたときには(S63でYES)、送信側機器3又は受信側機器4に対して、スピードマップの値を返す代わりに、転送速度判定用DB13の情報を返す(S64)。   When the bus manager 1 is a transfer rate information providing device and a new type of connection device compliant with IEEE1394a.2000, the bus manager 1 stores the diagram in the memory 12 (see FIG. 1). A program having the contents as shown in FIG. 19 is stored. According to this program, the bus manager 1 makes an inquiry about the contents of OxEFFC to OxFFFC of the unit register 54 of its own unit with a read block packet from a new-type transmitting device 3 or receiving device 4 compliant with IEEE1394a.2000. When received (YES in S61), instead of returning the values of OxEFFC to OxFFFC of the unit register 54 of the own device, the information of the transfer rate determination DB 13 is returned to the transmitting device 3 or the receiving device 4 (S62). ). In addition, the bus manager 1 inquires about the contents of the speed map stored in the unit register 54 of its own device with a read block packet from the old-type transmission side device 3 or reception side device 4 that complies only with IEEE1394.1995. When received (YES in S63), instead of returning the value of the speed map to the transmission side device 3 or the reception side device 4, the information of the transfer speed determination DB 13 is returned (S64).

上記のように、バスマネージャー1が、図19に示されるような内容のプログラムを保持し、送信側機器3及び受信側機器4が、図17又は図18に示されるような内容のプログラムを保持するようにしたことにより、バス9上における転送速度情報提供機器以外の接続機器、すなわち送信側機器3及び受信側機器4が、これらの機器間の最高転送速度の情報をバスマネージャー1(転送速度情報提供機器)から取得することができる。   As described above, the bus manager 1 holds the program having the contents as shown in FIG. 19, and the transmission side device 3 and the reception side device 4 have the contents as shown in FIG. 17 or FIG. By doing so, the connected devices other than the transfer rate information providing device on the bus 9, that is, the transmitting side device 3 and the receiving side device 4, send information on the maximum transfer rate between these devices to the bus manager 1 (transfer rate). It can be obtained from the information providing device).

上述したように、本実施形態によるバスマネージャー1によれば、バスマネージャー1のタイプがIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、TOPOLOGY_MAP60内のデータに含まれる各接続機器の物理レイヤの最高転送速度の情報とlink_spd57に含まれるリンクレイヤの最高転送速度の情報とを比較して、低い方の最高転送速度を各接続機器の実質的な最高転送速度とするようにした。これにより、バス9上におけるバスマネージャー1がIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合でも、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度を両方とも考慮した転送速度判定用DB13のデータに基づいて、各接続機器間における実現可能な最高の転送速度を判定することができる。従って、受信側機器4が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうことを防ぐことができる。   As described above, according to the bus manager 1 according to the present embodiment, when the type of the bus manager 1 is a new type of connection device corresponding to the IEEE1394a.2000 standard, each connection device included in the data in the TOPOLOGY_MAP 60. By comparing the maximum transfer rate information of the physical layer and the link layer maximum transfer rate information included in link_spd57, the lower maximum transfer rate is set to the actual maximum transfer rate of each connected device. . As a result, the bus manager 1 on the bus 9 is connected to the IEEE1394a. Even if the maximum transfer rate of the link layer of each connected device is slower than the maximum transfer rate of the physical layer when it is a new type of connected device that supports the 2000 standard, the maximum transfer rate of the physical layer of each connected device Based on the data in the transfer rate determination DB 13 that considers both the maximum transfer rates of the link layer, it is possible to determine the highest transfer rate that can be realized between the connected devices. Therefore, it is possible to prevent the packet received by the receiving side device 4 at the physical layer from being lost at the link layer.

また、上記転送速度判定用DB13内に格納する各接続機器間の転送速度を決定する際に、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とし、データの送信側機器3に関する実質最高転送速度と、データの受信側機器4に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を送信側機器3と受信側機器4との間の転送速度とするようにした。これにより、データを中継する接続機器における物理レイヤの最高転送速度がリンクレイヤの最高転送速度より高速である場合に、送信側機器3から受信側機器4へのデータの転送速度を、データを中継する接続機器のリンクレイヤの最高転送速度に合わせて低下させないようにすることができるので、データを中継することにより生じる転送速度の低下を最小限に抑えることができる。   Further, when determining the transfer rate between the connected devices stored in the transfer rate determination DB 13, the maximum transfer rate of the physical layer and the maximum transfer rate of the link layer of each connected device are compared. Is the actual maximum transfer rate of each connected device, the actual maximum transfer rate for the data transmission side device 3, the actual maximum transfer rate for the data reception side device 4, and the physical layer for the connection device that relays the data And the lowest transfer speed among them is set as the transfer speed between the transmission side device 3 and the reception side device 4. As a result, when the maximum transfer rate of the physical layer in the connected device that relays data is higher than the maximum transfer rate of the link layer, the data transfer rate from the transmission side device 3 to the reception side device 4 is relayed. Therefore, it is possible to prevent a decrease in the transfer rate caused by relaying data, since it is possible to prevent a decrease in accordance with the maximum transfer rate of the link layer of the connected device.

なお、本発明は、上記実施形態に限られるものではなく、様々な変形が可能である。例えば、本実施形態では、新タイプのバスマネージャー1は、バスリセット後にトポロジーマップのデータを読み取ることにより、各接続機器の物理レイヤの最高転送速度の情報を取得したが、バスリセットの処理中に各接続機器より受信したセルフIDパケットから、各接続機器に関する物理レイヤの最高転送速度の情報を取得してもよい。また、上記実施形態では、バスマネージャー1を転送速度情報提供機器としたが、上記実施形態における送信側機器3に相当する接続機器を転送速度情報提供機器としてもよい。この場合には、送信側機器のLINK,PHY及びIEEE1394ポートが、請求項1における新旧タイプ情報読取手段及びトポロジーマップ読取手段となる。   In addition, this invention is not restricted to the said embodiment, Various deformation | transformation are possible. For example, in this embodiment, the new type of bus manager 1 acquires information on the maximum transfer rate of the physical layer of each connected device by reading the topology map data after the bus reset. Information on the maximum transfer rate of the physical layer related to each connected device may be acquired from the self-ID packet received from each connected device. In the above embodiment, the bus manager 1 is a transfer rate information providing device. However, a connected device corresponding to the transmission side device 3 in the above embodiment may be a transfer rate information providing device. In this case, the LINK, PHY and IEEE1394 ports of the transmission side device become the old and new type information reading means and the topology map reading means in claim 1.

本発明の最良の実施形態に係るコントローラ機器と、バス上における他の接続機器の電気的ブロック構成を示す図。The figure which shows the electrical block structure of the controller apparatus which concerns on the best embodiment of this invention, and the other connection apparatus on a bus | bath. 図1中のレジスタ空間の内容を示す図。The figure which shows the content of the register space in FIG. 図2中のTOPOLOGY_MAPの内容を示す図。The figure which shows the content of TOPOLOGY_MAP in FIG. 図3中のセルフIDパケットテーブルに含まれる第1セルフIDパケットの内容を示す図。The figure which shows the content of the 1st self ID packet contained in the self ID packet table in FIG. 図3中のセルフIDパケットテーブルに含まれる第2セルフIDパケットの内容を示す図。The figure which shows the content of the 2nd self ID packet contained in the self ID packet table in FIG. 図3中のセルフIDパケットテーブルに含まれる第3セルフIDパケットの内容を示す図。The figure which shows the content of the 3rd self ID packet contained in the self ID packet table in FIG. 図1中の転送速度判定用DBの作成処理のフローチャート。3 is a flowchart of transfer rate determination DB creation processing in FIG. 1. 図7中の新タイプ処理のフローチャート。The flowchart of the new type process in FIG. 図8中の新転送速度判定用DB作成処理のフローチャートFlowchart of new transfer rate determination DB creation processing in FIG. バスに接続されるデバイスの構成例を示す図。The figure which shows the structural example of the device connected to a bus | bath. 上記構成例に示される各デバイスの実質的な最高転送速度を決定する方法の説明図。Explanatory drawing of the method of determining the practical maximum transfer rate of each device shown by the said structural example. 図10に示されるデバイス構成の場合の転送速度判定用DBの内容を示す図。FIG. 11 is a diagram showing the contents of a transfer rate determination DB in the case of the device configuration shown in FIG. 10. 旧タイプのデバイスと新タイプのデバイスが混在した場合のデバイスの構成例を示す図。The figure which shows the example of a structure of a device when an old type device and a new type device coexist. 図13に示されるデバイス構成の場合の転送速度判定用DBの内容を示す図。The figure which shows the content of DB for transfer rate determination in the case of the device structure shown by FIG. 図7中の旧タイプ処理のフローチャート。The flowchart of the old type process in FIG. 図10に示されるデバイス構成と同様なデバイス構成の場合におけるSPEED_MAPの内容を示す図。The figure which shows the content of SPEED_MAP in the case of the device structure similar to the device structure shown by FIG. 新タイプの接続機器に格納されている転送速度情報提供機器から最高転送速度情報を取得するプログラムの処理のフローチャート。The flowchart of the process of the program which acquires the maximum transfer rate information from the transfer rate information provision apparatus stored in the new type connection apparatus. 旧タイプの接続機器に格納されている転送速度情報提供機器から最高転送速度情報を取得するプログラムの処理のフローチャート。The flowchart of the process of the program which acquires the maximum transfer rate information from the transfer rate information provision apparatus stored in the old type connection apparatus. 転送速度情報提供機器に格納されている他の接続機器に転送速度判定用DBの情報を返すプログラムの処理のフローチャート。The flowchart of the process of the program which returns the information of DB for transfer speed determination to the other connection apparatus stored in the transfer speed information provision apparatus.

符号の説明Explanation of symbols

1 バスマネージャー(IEEE1394シリアルバスへの接続機器)
9 IEEE1394シリアルバス
11 CPU(新旧タイプ情報読取手段、トポロジーマップ読取手段、転送速度判定用データベース作成手段、新転送速度判定用データベース作成手段、旧転送速度判定用データベース作成手段)
12 メモリ
13 転送速度判定用DB(転送速度判定用のデータベース)
16 LINK(新リンクレイヤ転送速度読取手段)
17 PHY(新リンクレイヤ転送速度読取手段)
18 IEEE1394ポート(新リンクレイヤ転送速度読取手段)
53 コンフィグレーションROM
54 ユニットレジスタ
57 link_spd
60 TOPOLOGY_MAP(トポロジーマップ)
1 Bus manager (device connected to IEEE1394 serial bus)
9 IEEE1394 serial bus 11 CPU (new and old type information reading means, topology map reading means, transfer speed determination database creation means, new transfer speed determination database creation means, old transfer speed determination database creation means)
12 Memory 13 Transfer rate judgment DB (Transfer speed judgment database)
16 LINK (new link layer transfer rate reading means)
17 PHY (new link layer transfer rate reading means)
18 IEEE1394 port (new link layer transfer rate reading means)
53 Configuration ROM
54 Unit register 57 link_spd
60 TOPOLOGY_MAP (topology map)

Claims (2)

他の接続機器とIEEE1394シリアルバスを介して接続され、
前記バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベースを作成する転送速度判定用データベース作成手段と、
前記転送速度判定用データベース作成手段により作成された転送速度判定用のデータベース、自機の性能に関する情報等を格納したコンフィグレーションROM、及び各機器固有のレジスタであるユニットレジスタ等を記憶するメモリとを備えたIEEE1394シリアルバスへの接続機器において、
前記バス上におけるバスマネージャー内のメモリから、バスマネージャーがIEEE1394.1995のみに準拠した旧タイプの接続機器であるか、IEEE1394a.2000に準拠した新タイプの接続機器であるかという情報を読み取る新旧タイプ情報読取手段と、
前記バス上における他の接続機器のコンフィグレーションROM内のlink_spdフィールドに格納されたリンクレイヤの最高転送速度の情報を読み取る新リンクレイヤ転送速度読取手段と、
前記バス上におけるバスマネージャー内のメモリから、前記バス上における各接続機器の接続状態に関する情報と物理レイヤの最高転送速度の情報を含むトポロジーマップのデータを読み取るトポロジーマップ読取手段とをさらに備え、
前記転送速度判定用データベース作成手段は、
前記新旧タイプ情報読取手段によって読み取ったバスマネージャーのタイプが新タイプであるときに、前記トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報と、前記新リンクレイヤ転送速度読取手段によって読み取った各接続機器に関するリンクレイヤの最高転送速度の情報とに基づいて、前記転送速度判定用のデータベースを作成する新転送速度判定用データベース作成手段と、
前記新旧タイプ情報読取手段により読み取ったバスマネージャーのタイプが旧タイプであるときに、前記トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報に基づいて、前記転送速度判定用のデータベースを作成する旧転送速度判定用データベース作成手段とから構成され、
前記新転送速度判定用データベース作成手段は、前記各接続機器間の転送速度を決定する際に、
前記各接続機器がIEEE1394.1995のみに準拠した旧タイプの接続機器であって、前記新リンクレイヤ転送速度読取手段によって読み取った該当の接続機器のlink_spdフィールドに0がセットされているときは、その接続機器のリンクレイヤの最高転送速度が100Mbpsであるとみなし、前記各接続機器がIEEE1394a.2000に準拠した新タイプの接続機器であるときには、その接続機器のリンクレイヤの最高転送速度がlink_spdフィールドにセットされている値に対応した転送速度であるとみなして、
前記各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を前記各接続機器の実質最高転送速度とし、
データの送信側の接続機器に関する実質最高転送速度と、データの受信側の接続機器に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を前記送信側の接続機器と前記受信側の接続機器との間の転送速度とするようにしたことを特徴とするIEEE1394シリアルバスへの接続機器。
Connected to other connected devices via IEEE1394 serial bus,
A transfer rate determination database creating means for creating a transfer rate determination database storing information on the maximum transfer rate between each connected device on the bus;
A transfer rate determination database created by the transfer rate determination database creation means, a configuration ROM storing information relating to the performance of the device itself, and a memory storing unit registers that are unique to each device. In the equipment connected to the IEEE1394 serial bus provided,
The old and new type that reads information from the memory in the bus manager on the bus whether the bus manager is an old type connection device that only conforms to IEEE1394.1995 or a new type connection device that conforms to IEEE1394a.2000 Information reading means;
New link layer transfer rate reading means for reading information on the maximum transfer rate of the link layer stored in the link_spd field in the configuration ROM of another connected device on the bus;
Topology map reading means for reading, from the memory in the bus manager on the bus, topology map data including information on the connection state of each connected device on the bus and information on the maximum transfer rate of the physical layer;
The transfer rate determination database creation means includes:
When the type of the bus manager read by the new and old type information reading means is a new type, information on the maximum transfer rate of the physical layer regarding each connected device in the topology map read by the topology map reading means, and the new link A new transfer rate determination database creating unit that creates the transfer rate determination database based on the link layer maximum transfer rate information regarding each connected device read by the layer transfer rate reading unit;
When the type of the bus manager read by the new and old type information reading means is an old type, based on the information on the maximum transfer rate of the physical layer regarding each connected device in the topology map read by the topology map reading means, It consists of an old transfer rate determination database creation means for creating a transfer rate determination database,
The new transfer rate determination database creation means, when determining the transfer rate between the connected devices,
When each of the connected devices is an old type of connected device compliant only with IEEE1394.1995, and the link_spd field of the corresponding connected device read by the new link layer transfer rate reading means is set to 0, When the maximum transfer rate of the link layer of the connected device is regarded as 100 Mbps, and each of the connected devices is a new type of connected device compliant with IEEE1394a.2000, the maximum transfer rate of the link layer of the connected device is displayed in the link_spd field. Assuming that the transfer rate corresponds to the set value,
Comparing the maximum transfer rate of the physical layer of each connected device and the maximum transfer rate of the link layer, the lower maximum transfer rate is set as the actual maximum transfer rate of each connected device,
Compare the actual maximum transfer rate for the connected device on the data sending side, the actual maximum transfer rate for the connected device on the data receiving side, and the maximum transfer rate of the physical layer for the connected device that relays data. The IEEE1394 serial bus connection device is characterized in that the lowest transfer rate is the transfer rate between the transmission-side connection device and the reception-side connection device.
他の接続機器とIEEE1394シリアルバスを介して接続され、
前記バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベースを作成する転送速度判定用データベース作成手段と、
前記転送速度判定用データベース作成手段により作成された転送速度判定用のデータベース、自機の性能に関する情報等を格納したコンフィグレーションROM、及び各機器固有のレジスタであるユニットレジスタ等を記憶するメモリとを備えたIEEE1394シリアルバスへの接続機器において
前記バス上におけるバスマネージャー内のメモリから、バスマネージャーがIEEE1394.1995のみに準拠した旧タイプの接続機器であるか、IEEE1394a.2000に準拠した新タイプの接続機器であるかという情報を読み取る新旧タイプ情報読取手段と、
前記バス上における他の接続機器のコンフィグレーションROM内のlink_spdフィールドに格納されたリンクレイヤの最高転送速度の情報を読み取るリンクレイヤ転送速度読取手段と、
前記バス上におけるバスマネージャー内のメモリから、前記バス上における各接続機器の接続状態に関する情報と物理レイヤの最高転送速度の情報を含むトポロジーマップのデータを読み取るトポロジーマップ読取手段とをさらに備え、
前記転送速度判定用データベース作成手段は、
前記新旧タイプ情報読取手段によって読み取ったバスマネージャーのタイプが新タイプであるときに、前記トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報と、前記リンクレイヤ転送速度読取手段によって読み取った各接続機器に関するリンクレイヤの最高転送速度の情報とに基づいて、前記転送速度判定用のデータベースを作成する新転送速度判定用データベース作成手段と、
前記新旧タイプ情報読取手段により読み取ったバスマネージャーのタイプが旧タイプであるときに、前記トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報に基づいて、前記転送速度判定用のデータベースを作成する旧転送速度判定用データベース作成手段とから構成され、
前記新転送速度判定用データベース作成手段は、前記各接続機器間の転送速度を決定する際に、
前記各接続機器がIEEE1394a.2000に準拠した新タイプの接続機器であるときには、その接続機器のリンクレイヤの最高転送速度がlink_spdフィールドにセットされている値に対応した転送速度であるとみなして、
前記各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を前記各接続機器の実質最高転送速度とし、
データの送信側の接続機器に関する実質最高転送速度と、データの受信側の接続機器に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を前記送信側の接続機器と前記受信側の接続機器との間の転送速度とするようにしたことを特徴とするIEEE1394シリアルバスへの接続機器。
Connected to other connected devices via IEEE1394 serial bus,
A transfer rate determination database creating means for creating a transfer rate determination database storing information on the maximum transfer rate between each connected device on the bus;
A transfer rate determination database created by the transfer rate determination database creation means, a configuration ROM storing information relating to the performance of the device itself, and a memory storing unit registers that are unique to each device. In the equipment connected to the IEEE1394 serial bus provided ,
The old and new type that reads information from the memory in the bus manager on the bus whether the bus manager is an old type connection device that only conforms to IEEE1394.1995 or a new type connection device that conforms to IEEE1394a.2000 Information reading means;
New link layer transfer rate reading means for reading information on the maximum transfer rate of the link layer stored in the link_spd field in the configuration ROM of another connected device on the bus;
Topology map reading means for reading, from the memory in the bus manager on the bus, topology map data including information on the connection state of each connected device on the bus and information on the maximum transfer rate of the physical layer;
The transfer rate determination database creation means includes:
When the type of the bus manager read by the new and old type information reading means is a new type, information on the maximum transfer rate of the physical layer regarding each connected device in the topology map read by the topology map reading means, and the new link A new transfer rate determination database creating unit that creates the transfer rate determination database based on the link layer maximum transfer rate information regarding each connected device read by the layer transfer rate reading unit ;
When the type of the bus manager read by the new and old type information reading means is an old type, based on the information on the maximum transfer rate of the physical layer regarding each connected device in the topology map read by the topology map reading means, It consists of an old transfer rate determination database creation means for creating a transfer rate determination database,
The new transfer rate determination database creation means, when determining the transfer rate between the connected devices,
When each connected device is a new type of connected device compliant with IEEE1394a.2000, the maximum transfer rate of the link layer of the connected device is regarded as a transfer rate corresponding to the value set in the link_spd field,
Comparing the maximum transfer rate of the physical layer of each connected device and the maximum transfer rate of the link layer, the lower maximum transfer rate is set as the actual maximum transfer rate of each connected device,
Compare the real maximum transfer rate for the connected device on the data sending side, the real maximum transfer rate for the connected device on the data receiving side, and the maximum transfer rate of the physical layer for the connected device that relays data. The IEEE1394 serial bus connection device is characterized in that the lowest transfer rate is the transfer rate between the transmission-side connection device and the reception-side connection device.
JP2004241113A 2004-08-20 2004-08-20 Controller equipment connected to the IEEE1394 serial bus Expired - Fee Related JP4506350B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004241113A JP4506350B2 (en) 2004-08-20 2004-08-20 Controller equipment connected to the IEEE1394 serial bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004241113A JP4506350B2 (en) 2004-08-20 2004-08-20 Controller equipment connected to the IEEE1394 serial bus

Publications (2)

Publication Number Publication Date
JP2006060582A JP2006060582A (en) 2006-03-02
JP4506350B2 true JP4506350B2 (en) 2010-07-21

Family

ID=36107687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004241113A Expired - Fee Related JP4506350B2 (en) 2004-08-20 2004-08-20 Controller equipment connected to the IEEE1394 serial bus

Country Status (1)

Country Link
JP (1) JP4506350B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3726417B2 (en) * 1997-04-15 2005-12-14 ソニー株式会社 Electronic device, method for creating communication speed information between electronic devices, and recording medium
JP2000259542A (en) * 1999-03-12 2000-09-22 Fuji Xerox Co Ltd Information processor
JP2002314544A (en) * 2001-04-09 2002-10-25 Sharp Corp Transmission speed calculation method
JP2003218874A (en) * 2002-01-17 2003-07-31 Sony Corp Method for creating communication speed information between electronic devices, method for acquiring communication speed information between electronic devices, and recording medium

Also Published As

Publication number Publication date
JP2006060582A (en) 2006-03-02

Similar Documents

Publication Publication Date Title
CN108370343B (en) Network hub, transfer method, and in-vehicle network system
JP5362668B2 (en) In-car data relay device
US7177268B2 (en) Packet distributing device
JP2009031954A (en) Data processing apparatus and data transfer method
CN102571587A (en) Method and equipment for forwarding messages
JP2009188655A (en) Communication control method, information processing system, information processing apparatus, and program
JP2001136172A (en) Communication control method in communication network system, communication network system, and recording medium recording communication control processing program
JP4506350B2 (en) Controller equipment connected to the IEEE1394 serial bus
JP2005136589A (en) Relay device with aggregation function
US6295280B1 (en) Method for network node recognition
JP4395440B2 (en) Method for determining parent portal in wireless network and portal device therefor
JP2008219400A (en) Relay device and packet relay method
JPH1155297A (en) Transmission medium connection device and storage medium
JP4741410B2 (en) Mobile communication system, exchange, base station apparatus, and downlink communication data transmission method
JP2009100138A (en) Hub apparatus and communicating system
CN104937890A (en) Routing data in network
JP7005548B2 (en) Communication equipment and communication method
JP2005244273A (en) Data communication control device
KR100761258B1 (en) How to transmit home PNA data frame
JP2006081057A (en) Layer 2 switch apparatus, layer 3 switch apparatus, switching method and program therefor
JP4627989B2 (en) Method, interface unit, communication system, computer readable medium, and apparatus for establishing communication between a plurality of communication devices
JP2002374277A (en) Information distribution device and control method thereof
JP3753247B2 (en) IEEE1394 serial bus connected device and speed map generation method thereof
US20040252712A1 (en) Information data transmitting and receiving device and transmitting and receiving method of information data
JP2007324681A (en) Devices connected to the IEEE serial bus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100315

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

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

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

Free format text: PAYMENT UNTIL: 20130514

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees