JP4506350B2 - Controller equipment connected to the IEEE1394 serial bus - Google Patents
Controller equipment connected to the IEEE1394 serial bus Download PDFInfo
- 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
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に示される発明では、各接続機器の物理レイヤの最高通信速度しか考慮していないため、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合に、各接続機器間における最適な転送速度を判定することができず、受信側の接続機器が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうという問題を解消することができない。
本発明は、上記の問題を解決するためになされたものであり、バス上におけるバスマネージャーが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
上記構成においては、新旧タイプ情報読取手段によって読み取ったバスマネージャーのタイプが新タイプであるときに、トポロジーマップ読取手段によって読み取ったトポロジーマップ内の各接続機器に関する物理レイヤの最高転送速度の情報と、新リンクレイヤ転送速度読取手段によって読み取った各接続機器に関するリンクレイヤの最高転送速度の情報とに基づいて、新転送速度判定用データベース作成手段により転送速度判定用のデータベースを作成する。そして、新転送速度判定用データベース作成手段は、各接続機器間の転送速度を決定する際に、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とするようにした。これにより、バス上におけるバスマネージャーが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
上記のバスマネージャー1は、CPU11と各種のデータを記憶するメモリ12とを有している。CPU11は、装置全体の制御を行うだけではなく、IEEE1394のプロトコル上におけるアプリケーション層としても機能する。また、メモリ12は、バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベース(転送速度判定用DB)13、この転送速度判定用DB13を作成するためのプログラム(転送速度判定用DB作成PG)14、バスマネージャー1自体及びバス9上の他の接続機器に関する各種の情報を格納したレジスタ空間15等を記憶している。転送速度判定用DB作成PG14とCPU11とが、請求項1における転送速度判定用データベース作成手段、新転送速度判定用データベース作成手段、及び旧転送速度判定用データベース作成手段に相当する。また、本実施形態のように、バスマネージャー1自体が転送速度判定用DB13を有する機器(以下、転送速度情報提供機器という)である場合には、CPU11は、請求項における新旧タイプ情報読取手段及びトポロジーマップ読取手段としても機能する。
The
また、バスマネージャー1は、IEEE1394のプロトコル上におけるリンク層レベルのサービスを提供するLINK16と、物理層レベルのサービスを提供するPHY17と、バス9のケーブルを接続するためのIEEE1394ポート18とを有している。これらのLINK16、PHY17及びIEEE1394ポート18は、請求項1における新リンクレイヤ転送速度読取手段に相当する。
The
また、上記の送信側機器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
次に、図2を参照して、上記のバスマネージャー1内のレジスタ空間15に記憶されているデータの内容について説明する。レジスタ空間15は、自装置及び他の接続機器の制御に用いられるCSR(Control and Status Registers)コア51と、バス9の管理用のレジスタであるシリアルバス依存レジスタ52と、自機の性能に関する情報等を記憶したコンフィグレーションROM53と、各機器固有のレジスタであるユニットレジスタ54とから構成されている。
Next, contents of data stored in the
上記のシリアルバス依存レジスタ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
上記のユニットレジスタ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
上記の送信側機器3及び受信側機器4内のレジスタ空間35,45も、バスマネージャー1内のレジスタ空間15と同様に、CSRコア51と、シリアルバス依存レジスタ52と、コンフィグレーションROM53と、ユニットレジスタ54とから構成されており、コンフィグレーションROM53内には、上記と同様なlink_spd57が格納されている。
Similarly to the
次に、図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
次に、図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
図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
次に、図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
次に、図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
次に、図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
図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
これに対して、バスマネージャー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
次に、図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
次に、図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
次に、図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
これに対して、送信側機器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
また、バスマネージャー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
上記のように、バスマネージャー1が、図19に示されるような内容のプログラムを保持し、送信側機器3及び受信側機器4が、図17又は図18に示されるような内容のプログラムを保持するようにしたことにより、バス9上における転送速度情報提供機器以外の接続機器、すなわち送信側機器3及び受信側機器4が、これらの機器間の最高転送速度の情報をバスマネージャー1(転送速度情報提供機器)から取得することができる。
As described above, the
上述したように、本実施形態によるバスマネージャー1によれば、バスマネージャー1のタイプがIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、TOPOLOGY_MAP60内のデータに含まれる各接続機器の物理レイヤの最高転送速度の情報とlink_spd57に含まれるリンクレイヤの最高転送速度の情報とを比較して、低い方の最高転送速度を各接続機器の実質的な最高転送速度とするようにした。これにより、バス9上におけるバスマネージャー1がIEEE1394a.2000の規格に対応した新タイプの接続機器であるときに、各接続機器のリンクレイヤの最高転送速度が物理レイヤの最高転送速度よりも遅い場合でも、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度を両方とも考慮した転送速度判定用DB13のデータに基づいて、各接続機器間における実現可能な最高の転送速度を判定することができる。従って、受信側機器4が物理レイヤで受け取ったパケットをリンクレイヤで喪失してしまうことを防ぐことができる。
As described above, according to the
また、上記転送速度判定用DB13内に格納する各接続機器間の転送速度を決定する際に、各接続機器の物理レイヤの最高転送速度とリンクレイヤの最高転送速度とを比較して、低い方の最高転送速度を各接続機器の実質最高転送速度とし、データの送信側機器3に関する実質最高転送速度と、データの受信側機器4に関する実質最高転送速度と、データを中継する接続機器に関する物理レイヤの最高転送速度とを比較して、これらのうちで最も低い転送速度を送信側機器3と受信側機器4との間の転送速度とするようにした。これにより、データを中継する接続機器における物理レイヤの最高転送速度がリンクレイヤの最高転送速度より高速である場合に、送信側機器3から受信側機器4へのデータの転送速度を、データを中継する接続機器のリンクレイヤの最高転送速度に合わせて低下させないようにすることができるので、データを中継することにより生じる転送速度の低下を最小限に抑えることができる。
Further, when determining the transfer rate between the connected devices stored in the transfer
なお、本発明は、上記実施形態に限られるものではなく、様々な変形が可能である。例えば、本実施形態では、新タイプのバスマネージャー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
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
12
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
60 TOPOLOGY_MAP (topology map)
Claims (2)
前記バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベースを作成する転送速度判定用データベース作成手段と、
前記転送速度判定用データベース作成手段により作成された転送速度判定用のデータベース、自機の性能に関する情報等を格納したコンフィグレーション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.
前記バス上における各接続機器間の最高転送速度の情報を格納した転送速度判定用のデータベースを作成する転送速度判定用データベース作成手段と、
前記転送速度判定用データベース作成手段により作成された転送速度判定用のデータベース、自機の性能に関する情報等を格納したコンフィグレーション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.
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)
| 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 |
-
2004
- 2004-08-20 JP JP2004241113A patent/JP4506350B2/en not_active Expired - Fee Related
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 |