JP2004179974A - Network communication device with asynchronous transfer function - Google Patents

Network communication device with asynchronous transfer function Download PDF

Info

Publication number
JP2004179974A
JP2004179974A JP2002343996A JP2002343996A JP2004179974A JP 2004179974 A JP2004179974 A JP 2004179974A JP 2002343996 A JP2002343996 A JP 2002343996A JP 2002343996 A JP2002343996 A JP 2002343996A JP 2004179974 A JP2004179974 A JP 2004179974A
Authority
JP
Japan
Prior art keywords
band
asynchronous transfer
asynchronous
unit
management function
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.)
Granted
Application number
JP2002343996A
Other languages
Japanese (ja)
Other versions
JP4161186B2 (en
Inventor
Kazutoshi Kobayashi
和敏 小林
Ryuichi Soda
龍一 祖田
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2002343996A priority Critical patent/JP4161186B2/en
Publication of JP2004179974A publication Critical patent/JP2004179974A/en
Application granted granted Critical
Publication of JP4161186B2 publication Critical patent/JP4161186B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network communication device with an asynchronous transfer function capable of restricting the equipment for performing asynchronous transfer. <P>SOLUTION: A network communication device 201 with the asynchronous transfer function is used in a network system with which a plurality of devices 201, 202 are connected by an IEEE 1394 serial bus 203. The device 201 is provided with an asynchronous transfer management function part 211 which manages the asynchronous transfer between the devices 201, 202 connected with the IEEE 1394 serial bus 203. The asynchronous transfer management function part 211 is provided with a band calculation part 212 which calculates a usable asynchronous transfer band, a band allocation part 213 which allocates the asynchronous transfer band, and a band allocation recording part 214 which records a code specifying the device to which the asynchronous transfer band is allocated and the allocated band. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、複数の機器がIEEE1394シリアルバスで接続されたIEEE1394シリアルバス・ネットワークシステムに関する。
【0002】
【従来の技術】
複数の機器がIEEE1394シリアルバスで接続されたIEEE1394シリアルバス・ネットワークシステムは、マルチメディア等の用途に向くものとして注目されている(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開2001−77835号公報
【0004】
図6は従来のIEEE(Institute of Electrical and Electronics Engineers:米国電気電子技術者協会による規格)1394シリアルバス・ネットワークシステムである。
複数の機器(601,602)がIEEE1394シリアルバス(603)で接続されたネットワークシステムにおいて、従来の規格ではアシンクロナス転送を管理する方法がなかった。
また、各々の前記機器(601,602)は割り当てられているアシンクロナス転送帯域の大きさや他の機器がアシンクロナス転送を行おうとしているかに関係なく自由にアシンクロナス転送を行うことができた。
図7は従来のアシンクロナス転送によるサイクルタイム変動例である。
割り当てられているアシンクロナス転送帯域(711,712)に収まるサイズのアシンクロナスパケット1(721)をアシンクロナス転送した場合、サイクルA(701)およびサイクルB(702)のサイクルタイムは変動しないが、前記アシンクロナス転送帯域(711,712)を超過するサイズのアシンクロナスパケット2(722)をアシンクロナス転送した場合、前記アシンクロナスパケット2(722)を転送するサイクルC(703)のアシンクロナス転送帯域(713)が前記割り当てられているアシンクロナス転送帯域(711,712)より長くなるのにともない前記サイクルC(703)のサイクルタイムが長くなり、次のサイクルD(704)のサイクルタイムが前記サイクルC(703)のサイクルタイムが長くなった分だけ短くなるという現象が発生する。
【0005】
【発明が解決しようとする課題】
しかしながら、複数の機器がIEEE1394シリアルバスで接続されたネットワークシステムでは、アシンクロナス転送を行う機器や転送されるアシンクロナスパケットのサイズを制限したい場合に、アシンクロナス転送を管理する方法がないため、アシンクロナス転送を行う機器やアシンクロナスパケットのサイズを制限することができなかった。
また、サイクルタイムを基準に周期制御を行うとする場合に、割り当てられているアシンクロナス転送帯域を超過するアシンクロナスパケットが転送されるとサイクルタイムが変動するため、サイクルタイムを基準として周期制御を行うことができなかった。
したがって、この発明の目的は、複数の機器がIEEE1394シリアルバスでネットワーク接続されたシステムにおいて、機器間でやりとりされるアシンクロナス転送を管理する方法を備えたアシンクロナス転送機能つきネットワーク通信機器を提供することである。
また、アシンクロナス転送によってサイクルタイムが変動しないIEEE1394シリアルバス・ネットワークシステムを提供することである。
【0006】
【課題を解決するための手段】
上記課題を解決するため、請求項1記載のIEEE1394シリアルバス・ネットワークシステムは、複数の機器(101,102)がIEEE1394シリアルバス(103)で接続されたネットワークシステムにおいて、前記IEEE1394シリアルバス(103)に接続された前記機器(101,102)間で転送されるアシンクロナス転送を管理するアシンクロナス転送管理機能部(111)を備えることを特徴とする。
このような構成によれば、アシンクロナス転送管理機能部(111)がアシンクロナス転送の割り当てを判断することにより、アシンクロナス転送を行う機器を制限することができる。
【0007】
請求項2記載の発明は、請求項1記載のアシンクロナス転送機能つきネットワーク通信機器において、前記アシンクロナス転送管理機能部(211)として、利用可能なアシンクロナス転送帯域を計算する帯域計算部(212)とアシンクロナス転送帯域を割り当てる帯域割り当て部(213)とアシンクロナス転送帯域を割り当てた機器を特定するコードと割り当てた帯域を記録する帯域割り当て記録部(214)を備えることを特徴とする。
このような構成によれば、アシンクロナス転送管理機能部(211)がアシンクロナス転送の割り当てを判断するとともにアシンクロナス転送帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送を行う機器や転送されるアシンクロナスパケットのサイズを制限することができる。
【0008】
請求項3記載の発明は、請求項1又は2記載のアシンクロナス転送機能つきネットワーク通信機器において、前記アシンクロナス転送管理機能部(311)として、帯域計算部(312)と帯域割り当て部(313)と帯域割り当て記録部(314)を備え、前記帯域計算部(312)で前記機器B(302)で機能しているアイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域から利用可能なアシンクロナス転送帯域を計算し、前記帯域割り当て部(313)で前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域を割り当てることを特徴とする。
このような構成によれば、アシンクロナス転送管理機能部(311)がアイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域から利用可能なアシンクロナス帯域を求めて、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送によってサイクルタイムが変動しなくなり、サイクルタイムを基準として周期制御を行うことができる。
【0009】
請求項4記載の発明は、請求項3記載のアシンクロナス転送機能つきネットワーク通信機器において、前記アシンクロナス転送管理機能部(311)を備え、前記帯域計算部(312)で前記機器B(302)で機能しているアイソクロナス・リソース・マネージャ(321)が割り当てているアイソクロナス転送帯域から利用可能なアシンクロナス転送帯域を計算し、前記帯域割り当て部(313)で前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域を割り当てることを特徴とする。
このような構成によれば、アシンクロナス転送管理機能部(311)がアイソクロナス・リソース・マネージャ(321)が割り当てたアイソクロナス転送帯域から利用可能なアシンクロナス帯域を求めて、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送によってサイクルタイムが変動しなくなり、サイクルタイムを基準として周期制御を行うことができる。
【0010】
【発明の実施の形態】
図1は本発明の第1の実施の形態に係るIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
機器A(101)と機器B(102)がIEEE1394シリアルバス(103)でネットワーク接続されていて、前記機器A(101)ではアシンクロナス転送管理機能部(111)が機能している。
図4はアシンクロナス帯域の割り当て要求および返却要求と応答の例である。機器A(401)と機器B(402)がIEEE1394シリアルバス(403)でネットワーク接続されている。帯域割り当て要求(411)は機器B(402)から機器A(401)へのアシンクロナス転送帯域の帯域割り当て要求、帯域割り当て要求に対する応答(412)は前記帯域割り当て要求(411)に対する機器A(401)から機器B(402)への帯域割り当て要求に対する応答、帯域返却要求(413)は機器B(402)から機器A(401)への既に割り当てられているアシンクロナス転送帯域の帯域返却要求、帯域返却要求に対する応答(414)は前記帯域返却要求(413)に対する機器A(401)から機器B(402)への帯域割り当て要求に対する応答である。
なお、機器A(401)と機器B(402)で転送される帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)の転送方法は、アイソクロナス転送でもアシンクロナス転送でもよい。
【0011】
本発明の第1の実施の形態について図1と図4を用いて説明する。
ここで、図1の機器A(101)と図4の機器A(401)、図1の機器B(102)と図4の機器B(402)、図1のIEEE1394シリアルバス(103)と図4のIEEE1394シリアルバス(403)は、同一のものとする。
機器B(102)は、アシンクロナス転送帯域でのパケット転送を開始する場合、帯域割り当て要求(411)をアシンクロナス転送管理機能部(111)に送信して使用したいアシンクロナス転送帯域を要求する。
機器B(102)からの帯域割り当て要求(411)を受信したアシンクロナス転送管理機能部(111)は、帯域割り当て要求の承認または拒絶を帯域割り当て要求に対する応答(412)として前記機器B(102)に送信する。
機器B(102)は、アシンクロナス転送管理機能部(111)からの帯域割り当て要求に対する応答(412)を受信した後、帯域割り当て要求が承認された場合はアシンクロナス転送帯域でのパケット転送を開始する。拒絶された場合はアシンクロナス転送帯域でのパケット転送を断念する。
機器B(102)は、アシンクロナス転送帯域でのパケット転送を終了する場合、割り当てられているアシンクロナス転送帯域の帯域返却要求(413)をアシンクロナス転送管理機能部(111) に送信する。
機器B(102)からの帯域返却要求(413)を受信したアシンクロナス転送管理機能部(111)は、帯域返却の実行完了または実行エラーを帯域返却要求に対する応答(414)として前記機器B(102)に送信する。
機器B(102)は、アシンクロナス転送管理機能部(111)からの帯域返却要求に対する応答(414)を受信した後、アシンクロナス転送帯域でのパケット転送を終了する。
なお、アシンクロナス転送管理機能(111)が機能している機器A(101)がアシンクロナス転送を開始または終了する場合は、前記機器A(101)の内部で帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)と同等のやりとりが行われる。
この第1の実施の形態に係るIEEE1394シリアルバス・ネットワークシステムは、アシンクロナス転送管理機能部(111)が機能し、前記アシンクロナス転送管理機能部(111)でアシンクロナス転送の割り当てを判断することである。
この実施の形態によれば、アシンクロナス転送管理機能部(111)がアシンクロナス転送の割り当てを判断することで、アシンクロナス転送を行う機器を制限することができる。
【0012】
図2は本発明の第2の実施の形態に係るIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
機器A(201)と機器B(202)がIEEE1394シリアルバス(203)でネットワーク接続されていて、前記機器A(201)ではアシンクロナス転送管理機能部(211)が機能している。
前記アシンクロナス転送管理機能部(211)は、利用可能なアシンクロナス転送帯域を計算する帯域計算部(212)とアシンクロナス転送帯域を割り当てる帯域割り当て部(213)とアシンクロナス転送帯域を割り当てた機器を特定するコードと割り当てた帯域を記録する帯域割り当て記録部(214)を備えている。
【0013】
本発明の第2の実施の形態について図2と図4を用いて説明する。
ここで、図2の機器A(201)と図4の機器A(401)、図2の機器B(202)と図4の機器B(402)、図2のIEEE1394シリアルバス(203)と図4のIEEE1394シリアルバス(403)は、同一のものとする。
機器A(201)で機能しているアシンクロナス転送管理機能部(211)は、IEEE1394シリアルバス(203)の初期化後、IEEE1394シリアルバス規格で許される任意の値を帯域割り当て部(213)に利用可能なアシンクロナス転送帯域として設定する。
機器B(202)は、アシンクロナス転送帯域でのパケット転送を開始する場合、帯域割り当て要求(411)をアシンクロナス転送管理機能部(211)に送信して使用したいアシンクロナス転送帯域を要求する。
機器B(202)からの帯域割り当て要求(411)を受信したアシンクロナス転送管理機能部(211)は、帯域割り当て部(213)で設定されている利用可能なアシンクロナス転送帯域と前記帯域割り当て要求(411)で要求されたアシンクロナス帯域と比較する。
前者の方が大きい場合は、前記帯域割り当て部(213)に設定されている利用可能なアシンクロナス転送帯域から要求されたアシンクロナス帯域を減算し、帯域割り当て記録部(214)で前記機器B(202)を特定するコードと要求されたアシンクロナス帯域を記録するととに、前記帯域割り当て要求(411)を承認することを帯域割り当て要求に対する応答(412)として前記機器B(202)に送信する。
後者の方が大きい場合は、帯域割り当て要求を拒絶することを帯域割り当て要求に対する応答(412)として前記機器B(202)に送信する。前記帯域割り当て記録部(214)で使用する機器を特定するためのコードには、例えばノードIDなどを用いる。
機器B(202)は、アシンクロナス転送管理機能部(211)からの帯域割り当て要求に対する応答(412)を受信した後、帯域割り当て要求が承認された場合はアシンクロナス転送帯域でのパケット転送を開始する。拒絶された場合はアシンクロナス転送帯域でのパケット転送を断念する。
機器B(202)は、アシンクロナス転送帯域でのパケット転送を終了する場合、割り当てられているアシンクロナス転送帯域の帯域返却要求(413)をアシンクロナス転送管理機能部(211) に送信する。
機器B(202)からの帯域返却要求(413)を受信したアシンクロナス転送管理機能部(211)は、帯域割り当て記録部(214)で前記帯域返却要求(413)で返却されるアシンクロナス帯域が記録されているか調査する。
記録されている場合は、前記帯域割り当て部(213)に設定されている利用可能なアシンクロナス転送帯域に前記帯域返却要求(413)で返却されるアシンクロナス帯域を加算し、前記帯域割り当て記録部(214)の該当する記録を削除するとともに、帯域返却の実行完了を帯域返却要求に対する応答(414)として前記機器B(202)に送信する。
記録されていない場合は、帯域返却の実行エラーを帯域返却要求に対する応答(414)として前記機器B(202)に送信する。
機器B(202)は、アシンクロナス転送管理機能部(211)からの帯域返却要求に対する応答(414)を受信した後、アシンクロナス転送帯域でのパケット転送を終了する。
なお、アシンクロナス転送管理機能(211)が機能している機器A(201)がアシンクロナス転送を開始または終了する場合は、前記機器A(201)の内部で帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)と同等のやりとりが行われる。
【0014】
この実施の形態のIEEE1394シリアルバス・ネットワークシステムは、帯域計算部(212)と帯域割り当て部(213)と帯域割り当て記録部(214)を備えるアシンクロナス転送管理機能部(211)が機能し、前記アシンクロナス転送管理機能部(211)でアシンクロナス転送の割り当てを判断するとともに、アシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することである。
この実施の形態によれば、アシンクロナス転送管理機能部(211)がアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することで、アシンクロナス転送を行う機器や転送されるアシンクロナスパケットのサイズを制限することができる。
【0015】
図3は本発明の第3の実施の形態に係るIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
機器A(301)と機器B(302)がIEEE1394シリアルバス(303)でネットワーク接続されていて、前記機器A(301)ではアシンクロナス転送管理機能部(311)が機能し、前記機器B(302)ではアイソクロナス・リソース・マネージャ(321)が機能している。
前記アシンクロナス転送管理機能部(311)は、利用可能なアシンクロナス転送帯域を計算する帯域計算部(312)とアシンクロナス転送帯域を割り当てる帯域割り当て部(313)とアシンクロナス転送帯域を割り当てた機器を特定するコードと割り当てた帯域を記録する帯域割り当て記録部(314)を備えている。
前記機器B(302)のCSR(322)には前記アイソクロナス・リソース・マネージャ(321)が割り当て可能なアイソクロナス転送帯域を示すBANDWIDTH_AVAILABLEレジスタ(323)が含まれている。
【0016】
図5はIEEE1394シリアルバス規格でのサイクル構造例である。
サイクル(501)はサイクルスタート・パケット1(511)からサイクルスタート・パケット2(517)までの時間である。
前記サイクル(501)では、アイソクロナス・パケット(513)とアシンクロナス・パケット(515)と前記アシンクロナス・パケット(515)のアックノリッジ・パケット(516)と前記サイクルスタート・パケット2(517)が転送され、前記アイソクロナス・パケット(513)の転送直前にアービトレーション1(512)、前記アシンクロナス・パケット(515)の転送直前にアービトレーション2(514)が行われる。
また、前記サイクルスタート・パケット1(511)転送後から前記アービトレーション1(512)開始までにアイソクロナス・ギャップ(521)、前記アイソクロナス・パケット(513)転送後から前記アシンクロナス・パケット(515)転送開始までにサブアクション・ギャップ(522)、前記アシンクロナス・パケット(515)転送後から前記アックノリッジ・パケット(516)転送開始までにアックノリッジ・ギャップ(523)がある。
【0017】
本発明の第3の実施の形態について図3〜図5を用いて説明する。
ここで、図3の機器A(301)と図4の機器A(401)、図3の機器B(302)と図4の機器B(402)、図3のIEEE1394シリアルバス(303)と図4のIEEE1394シリアルバス(403)は、同一のものとする。
機器A(301)で機能しているアシンクロナス転送管理機能部(311)の帯域計算部(312)は、IEEE1394シリアルバス(303)の初期化後、アイソクロナス・リソース・マネージャ(321)が機能している機器B(302)のBANDWAIDTH_AVAILABLEレジスタ(323)の値から前記アイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域1と、アイソクロナス・パケットの転送およびアシンクロナス・パケットの転送以外に費やされるアイソクロナス・ギャップ(521)、サブアクション・ギャップ(522)、サイクルスタート・パケット2(517)などの帯域2と、前記アシンクロナス転送管理機能部(311)と機器B(302)で転送される帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)をアシンクロナス転送で行う場合に必要な帯域3と、前記アシンクロナス転送時に費やされるアービトレーション2(514)、アクノリッジ・ギャップ(523)、アクノリッジ・パケット(516)の帯域4を計算する。
さらに、サイクル(501)のサイクルタイムから前記帯域1と前記帯域2と前記帯域3と前記帯域4を減算して利用可能なアシンクロナス転送帯域を求め、帯域割り当て部(313)に利用可能なアシンクロナス転送帯域として設定する。
なお、アシンクロナス転送管理機能部(311)と機器B(302)で転送される帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)をアイソクロナス転送で行う場合、サイクル(501)のサイクルタイムから前記帯域1と前記帯域2を減算して利用可能なアシンクロナス転送帯域を求める。
【0018】
機器B(302)は、アシンクロナス転送帯域でのパケット転送を開始する場合、帯域割り当て要求(411)をアシンクロナス転送管理機能部(311)に送信して使用したいアシンクロナス転送帯域を要求する。
機器B(302)からの帯域割り当て要求(411)を受信したアシンクロナス転送管理機能部(311)は、帯域割り当て部(313)で設定されている利用可能なアシンクロナス転送帯域と前記帯域割り当て要求(411)で要求されたアシンクロナス帯域にアシンクロナス転送時に費やされるアービトレーション、アクノリッジ・ギャップ、アクノリッジ・パケットの帯域を加算した値を比較する。
前者の方が大きい場合は、前記帯域割り当て部(313)に設定されている利用可能なアシンクロナス転送帯域から要求されたアシンクロナス帯域を減算し、帯域割り当て記録部(314)で前記機器B(302)を特定するコードと要求されたアシンクロナス帯域を記録するととに、前記帯域割り当て要求(411)を承認することを帯域割り当て要求に対する応答(412)として前記機器B(302)に送信する。
後者の方が大きい場合は、帯域割り当て要求を拒絶することを帯域割り当て要求に対する応答(412)として前記機器B(302)に送信する。前記帯域割り当て記録部(314)で使用する機器を特定するためのコードには、例えばノードIDなどを用いる。
機器B(302)は、アシンクロナス転送管理機能部(311)からの帯域割り当て要求に対する応答(412)を受信した後、帯域割り当て要求が承認された場合はアシンクロナス転送帯域でのパケット転送を開始する。拒絶された場合はアシンクロナス転送帯域でのパケット転送を断念する。
機器B(302)は、アシンクロナス転送帯域でのパケット転送を終了する場合、割り当てられているアシンクロナス転送帯域の帯域返却要求(413)をアシンクロナス転送管理機能部(311)に送信する。
機器B(302)からの帯域返却要求(413)を受信したアシンクロナス転送管理機能部(311)は、帯域割り当て記録部(314)で前記帯域返却要求(413)で返却されるアシンクロナス帯域が記録されているか調査する。
記録されている場合は、前記帯域割り当て部(313)に設定されている利用可能なアシンクロナス転送帯域に前記帯域返却要求(413)で返却されるアシンクロナス帯域を加算し、前記帯域割り当て記録部(314)の該当する記録を削除するとともに、帯域返却の実行完了を帯域返却要求に対する応答(414)として前記機器B(302)に送信する。
記録されていない場合は、帯域返却の実行エラーを帯域返却要求に対する応答(414)として前記機器B(302)に送信する。
機器B(302)は、アシンクロナス転送管理機能部(311)からの帯域返却要求に対する応答(414)を受信した後、アシンクロナス転送帯域でのパケット転送を終了する。
なお、アシンクロナス転送管理機能(311)が機能している機器A(301)がアシンクロナス転送を開始または終了する場合は、前記機器A(301)の内部で帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)と同等のやりとりが行われる。
【0019】
この実施の形態に係るIEEE1394シリアルバス・ネットワークシステムは、帯域計算部(312)と帯域割り当て部(313)と帯域割り当て記録部(314)を備えるアシンクロナス転送管理機能部(311)が機能し、アイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域から利用可能なアシンクロナス帯域を計算し、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともに、アシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することである。
この実施の形態によれば、アシンクロナス転送管理機能部(311)がアイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域から利用可能なアシンクロナス帯域を求めて、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送によってサイクルタイムが変動しなくなり、サイクルタイムを基準として周期制御を行うことができる。
【0020】
次に、本発明の第4の実施の形態に係るIEEE1394シリアルバス・ネットワークシステムについて図3〜図5を用いて説明する。
ここで、図3の機器A(301)と図4の機器A(401)、図3の機器B(302)と図4の機器B(402)、図3のIEEE1394シリアルバス(303)と図4のIEEE1394シリアルバス(403)は、同一のものとする。
機器A(301)で機能しているアシンクロナス転送管理機能部(311)の帯域計算部(312)は、IEEE1394シリアルバス(303)の初期化後、アイソクロナス・パケットの転送およびアシンクロナス・パケットの転送以外に費やされるアイソクロナス・ギャップ(521)、サブアクション・ギャップ(522)、サイクルスタート・パケット2(517)などの帯域1と、前記アシンクロナス転送管理機能部(311)と機器B(302)で転送される帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)をアシンクロナス転送で行う場合に必要な帯域2と、前記アシンクロナス転送時に費やされるアービトレーション2(514)、アクノリッジ・ギャップ(523)、アクノリッジ・パケット(516)の帯域3を計算する。
さらに、サイクル(501)のサイクルタイムから前記帯域1と前記帯域2と前記帯域3を減算して利用可能なアシンクロナス転送帯域を求め、帯域割り当て部(313)に利用可能なアシンクロナス転送帯域の初期値として設定する。
また、アイソクロナス・リソース・マネージャ(321)が機能している前記機器B(302)のBANDWAIDTH_AVAILABLEレジスタ(323)を読み取り、前記帯域計算部(312)にBANDWAIDTH_AVAILABLEレジスタの初期値として記録する。
なお、アシンクロナス転送管理機能部(311)と機器B(302)で転送される帯域割り当て要求(411)、帯域割り当て要求に対する応答(412)、帯域返却要求(413)および帯域返却要求に対する応答(414)をアイソクロナス転送で行う場合、サイクル(501)のサイクルタイムから前記帯域1を減算して利用可能なアシンクロナス転送帯域の初期値を求める。
【0021】
アシンクロナス転送管理機能部(311)は、帯域割り当て部(313)に利用可能なアシンクロナス転送帯域の初期値を設定した後、アイソクロナス・リソース・マネージャ(321)が機能している機器B(302)のBANDWAIDTH_AVAILABLEレジスタ(323)が更新されたか監視する。前記BANDWAIDTH_AVAILABLEレジスタ(323)が更新された場合、帯域計算部(312)は、記録してあるBANDWAIDTH_AVAILABLEレジスタの初期値から更新後のBANDWAIDTH_AVAILABLEレジスタの値を減算して前記アイソクロナス・リソース・マネージャ(321)が割り当てたアイソクロナス転送帯域を計算する。
さらに、前記帯域割り当て部(313)に設定されている利用可能なアシンクロナス転送帯域の初期値から前記アイソクロナス転送帯域を減算して利用可能なアシンクロナス転送帯域を計算し、前記帯域割り当て部(313)に利用可能なアシンクロナス転送帯域として設定する。
この実施の形態に係るIEEE1394シリアルバス・ネットワークシステムは、帯域計算部(312)と帯域割り当て部(313)と帯域割り当て記録部(314)を備えるアシンクロナス転送管理機能部(311)が機能し、アイソクロナス・リソース・マネージャ(321)が割り当てたアイソクロナス転送帯域から利用可能なアシンクロナス帯域を求め、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域を割り当てるとともに、アシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することである。
この実施の形態によれば、アシンクロナス転送管理機能部(311)がアイソクロナス・リソース・マネージャ(321)が割り当てたアイソクロナス転送帯域から利用可能なアシンクロナス帯域を求めて、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送によってサイクルタイムが変動しなくなり、サイクルタイムを基準として周期制御を行うことができる。
【0022】
【発明の効果】
以上述べたように、請求項1記載の発明によれば、アシンクロナス転送管理機能部(111)がアシンクロナス転送の割り当てを判断することにより、アシンクロナス転送を行う機器を制限することができるという効果がある。
請求項2記載の発明によれば、アシンクロナス転送管理機能部(211)がアシンクロナス転送の割り当てを判断するとともにアシンクロナス転送帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送を行う機器や転送されるアシンクロナスパケットのサイズを制限することができるという効果がある。
請求項3記載の発明によれば、アシンクロナス転送管理機能部(311)がアイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域から利用可能なアシンクロナス帯域を求めて、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送によってサイクルタイムが変動しなくなり、サイクルタイムを基準として周期制御を行うことができる。
請求項4記載の発明によれば、アシンクロナス転送管理機能部(311)がアイソクロナス・リソース・マネージャ(321)が割り当てたアイソクロナス転送帯域から利用可能なアシンクロナス帯域を求めて、前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域の割り当てを判断するとともにアシンクロナス帯域を割り当てた機器と割り当てた帯域を記録することにより、アシンクロナス転送によってサイクルタイムが変動しなくなり、サイクルタイムを基準として周期制御を行うことができる。
【図面の簡単な説明】
【図1】この発明の第1のIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
【図2】この発明の第2のIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
【図3】この発明の第3のIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
【図4】アシンクロナス帯域の割り当て要求および返却要求と応答の例である。
【図5】IEEE1394シリアルバスのサイクル構造例を示す図である。
【図6】従来のIEEE1394シリアルバス・ネットワークシステムの構成を示すブロック図である。
【図7】アシンクロナス転送によるサイクルタイムの変動例を示す図である。
【符号の説明】
101 機器A
102 機器B
103 IEEE1394シリアルバス
111 アシンクロナス転送管理機能部
201 機器A
202 機器B
203 IEEE1394シリアルバス
211 アシンクロナス転送管理機能部
212 帯域計算部
213 帯域割り当て部
214 帯域割り当て記録部
301 機器A
302 機器B
303 IEEE1394シリアルバス
311 アシンクロナス転送管理機能部
312 帯域計算部
313 帯域割り当て部
314 帯域割り当て記録部
321 アイソクロナス・リソース・マネージャ
322 CSR
323 BANDWIDTH_AVAILABLEレジスタ
401 機器A
402 機器B
403 IEEE1394シリアルバス
411 機器Bからの帯域割り当て要求
412 機器Bへの帯域割り当て要求に対する応答
413 機器Bからの帯域返却要求
414 機器Bへの帯域返却要求に対する応答
501 サイクル
511 サイクルスタート・パケット1
512 アービトレーション1
513 アイソクロナス・パケット
514 アービトレーション2
515 アシンクロナス・パケット
516 アックノリッジ・パケット
517 サイクルスタート・パケット2
521 アイソクロナス・ギャップ
522 サブアクション・ギャップ
523 アクノリッジ・ギャップ
601 機器A
602 機器B
603 IEEE1394シリアルバス
701 サイクルA
702 サイクルB
703 サイクルC
704 サイクルD
711 サイクルAのアシンクロナス転送帯域
712 サイクルBのアシンクロナス転送帯域
713 サイクルCのアシンクロナス転送帯域
714 サイクルDのアシンクロナス転送帯域
721 アシンクロナス・パケット1
722 アシンクロナス・パケット2
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an IEEE 1394 serial bus network system in which a plurality of devices are connected by an IEEE 1394 serial bus.
[0002]
[Prior art]
An IEEE 1394 serial bus network system in which a plurality of devices are connected by an IEEE 1394 serial bus is receiving attention as being suitable for applications such as multimedia (for example, see Patent Document 1).
[0003]
[Patent Document 1]
JP 2001-77835 A
[0004]
FIG. 6 shows a conventional IEEE (Institute of Electrical and Electronics Engineers: a standard by the American Institute of Electrical and Electronics Engineers) 1394 serial bus network system.
In a network system in which a plurality of devices (601, 602) are connected by an IEEE 1394 serial bus (603), there is no method for managing asynchronous transfer in the conventional standard.
Further, each of the devices (601, 602) was able to freely perform asynchronous transfer regardless of the size of the assigned asynchronous transfer band and whether or not another device was performing asynchronous transfer.
FIG. 7 shows an example of a cycle time variation due to a conventional asynchronous transfer.
When the asynchronous packet 1 (721) having a size that fits in the allocated asynchronous transfer band (711, 712) is transferred asynchronously, the cycle time of the cycle A (701) and the cycle B (702) does not change, but the asynchronous transfer is performed. When the asynchronous packet 2 (722) having a size exceeding the band (711, 712) is transferred asynchronously, the asynchronous transfer band (713) of the cycle C (703) for transferring the asynchronous packet 2 (722) is allocated. The cycle time of the cycle C (703) becomes longer as the transmission time becomes longer than the existing asynchronous transfer band (711, 712), and the cycle time of the next cycle D (704) becomes longer than the cycle time of the cycle C (703). A phenomenon that only the shorter the longer minute occurs.
[0005]
[Problems to be solved by the invention]
However, in a network system in which a plurality of devices are connected by an IEEE 1394 serial bus, there is no method for managing the asynchronous transfer when there is no device for performing the asynchronous transfer or to limit the size of the asynchronous packet to be transferred. It was not possible to limit the size of devices and asynchronous packets.
If the cycle control is performed based on the cycle time, the cycle time fluctuates when an asynchronous packet exceeding the assigned asynchronous transfer band is transferred, so the cycle control should be performed based on the cycle time. Could not.
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a network communication device with an asynchronous transfer function having a method for managing asynchronous transfer between devices in a system in which a plurality of devices are connected to a network via an IEEE 1394 serial bus. is there.
It is another object of the present invention to provide an IEEE 1394 serial bus network system in which the cycle time does not fluctuate due to asynchronous transfer.
[0006]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, an IEEE 1394 serial bus network system according to claim 1, wherein the IEEE 1394 serial bus (103) is a network system in which a plurality of devices (101, 102) are connected by an IEEE 1394 serial bus (103). And an asynchronous transfer management function unit (111) for managing asynchronous transfer transferred between the devices (101, 102) connected to the device.
According to such a configuration, the devices that perform the asynchronous transfer can be limited by the asynchronous transfer management function unit (111) determining the allocation of the asynchronous transfer.
[0007]
According to a second aspect of the present invention, in the network communication device with the asynchronous transfer function according to the first aspect, a bandwidth calculation unit (212) for calculating an available asynchronous transfer bandwidth is used as the asynchronous transfer management function unit (211). It is characterized by comprising a band allocating unit (213) for allocating a transfer band, and a band allocating recording unit (214) for recording a code for specifying a device to which an asynchronous transfer band is allocated and the allocated band.
According to such a configuration, the asynchronous transfer management function unit (211) determines the allocation of the asynchronous transfer, and records the device to which the asynchronous transfer band is allocated and the allocated band, so that the device performing the asynchronous transfer and the device to which the asynchronous transfer is performed are transferred. The size of the asynchronous packet can be limited.
[0008]
According to a third aspect of the present invention, in the network communication device with the asynchronous transfer function according to the first or second aspect, the asynchronous transfer management function unit (311) includes a bandwidth calculation unit (312), a bandwidth allocation unit (313), and a bandwidth allocation unit. Asynchronous transfer available from an available band for isochronous transfer by the isochronous resource manager (321), which includes an allocation recording unit (314) and functions in the device B (302) in the band calculation unit (312). It is characterized in that a band is calculated and an asynchronous transfer band is allocated by the band allocating unit (313) so as to fall within the usable asynchronous transfer band.
According to such a configuration, the asynchronous transfer management function unit (311) obtains an available asynchronous band from the band available for the isochronous resource manager (321) by the isochronous resource manager (321), and obtains the available asynchronous transfer band. By determining the allocation of the asynchronous transfer band so that it fits in, and recording the allocated device and the allocated band, the cycle time does not fluctuate due to the asynchronous transfer, and the cycle control can be performed based on the cycle time. it can.
[0009]
According to a fourth aspect of the present invention, there is provided the network communication device with the asynchronous transfer function according to the third aspect, further comprising the asynchronous transfer management function unit (311), wherein the band calculation unit (312) functions in the device B (302). The available asynchronous transfer band is calculated from the isochronous transfer band allocated by the isochronous resource manager (321) performing the transfer, and the band transfer unit (313) performs the asynchronous transfer so as to fall within the usable asynchronous transfer band. Bandwidth is allocated.
According to such a configuration, the asynchronous transfer management function unit (311) obtains an available asynchronous band from the isochronous transfer band allocated by the isochronous resource manager (321), and falls within the usable asynchronous transfer band. As described above, by determining the assignment of the asynchronous transfer band and recording the device to which the asynchronous band is assigned and the assigned band, the cycle time does not fluctuate due to the asynchronous transfer, and the cycle control can be performed based on the cycle time.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a block diagram showing the configuration of the IEEE 1394 serial bus network system according to the first embodiment of the present invention.
The device A (101) and the device B (102) are network-connected by an IEEE 1394 serial bus (103), and the asynchronous transfer management function unit (111) functions in the device A (101).
FIG. 4 is an example of an asynchronous band allocation request, a return request, and a response. The device A (401) and the device B (402) are network-connected by an IEEE 1394 serial bus (403). The band allocation request (411) is a request for band allocation of an asynchronous transfer band from the device B (402) to the device A (401), and the response (412) to the band allocation request is a device A (401) to the band allocation request (411). From the device B (402) to the device B (402) in response to the band allocation request and the band return request (413) are the band return request and the band return request of the asynchronous transfer band already allocated from the device B (402) to the device A (401). (414) is a response to the bandwidth return request (413) from the device A (401) to the bandwidth allocation request from the device A (401) to the device B (402).
The transfer of the bandwidth allocation request (411), the response to the bandwidth allocation request (412), the bandwidth return request (413), and the response (414) to the bandwidth return request transferred between the device A (401) and the device B (402). The method may be an isochronous transfer or an asynchronous transfer.
[0011]
A first embodiment of the present invention will be described with reference to FIGS.
Here, the device A (101) in FIG. 1 and the device A (401) in FIG. 4, the device B (102) in FIG. 1 and the device B (402) in FIG. 1, and the IEEE 1394 serial bus (103) in FIG. 4 is the same as the IEEE 1394 serial bus (403).
When starting packet transfer in the asynchronous transfer band, the device B (102) transmits a band allocation request (411) to the asynchronous transfer management function unit (111) to request an asynchronous transfer band to be used.
Upon receiving the bandwidth allocation request (411) from the device B (102), the asynchronous transfer management function unit (111) sends an approval or rejection of the bandwidth allocation request to the device B (102) as a response (412) to the bandwidth allocation request. Send.
After receiving the response (412) to the band allocation request from the asynchronous transfer management function unit (111), the device B (102) starts packet transfer in the asynchronous transfer band if the band allocation request is approved. If rejected, the packet transfer in the asynchronous transfer band is abandoned.
When ending the packet transfer in the asynchronous transfer band, the device B (102) transmits a band return request (413) of the assigned asynchronous transfer band to the asynchronous transfer management function unit (111).
Upon receiving the bandwidth return request (413) from the device B (102), the asynchronous transfer management function unit (111) notifies the device B (102) of completion of bandwidth return execution or an execution error as a response (414) to the bandwidth return request. Send to
After receiving the response (414) to the band return request from the asynchronous transfer management function unit (111), the device B (102) ends the packet transfer in the asynchronous transfer band.
When the device A (101) in which the asynchronous transfer management function (111) functions is to start or end the asynchronous transfer, the device A (101) responds to the bandwidth allocation request (411) and the bandwidth allocation request inside the device A (101). The same exchange as the response (412), the bandwidth return request (413), and the response (414) to the bandwidth return request are performed.
In the IEEE 1394 serial bus network system according to the first embodiment, an asynchronous transfer management function unit (111) functions, and the asynchronous transfer management function unit (111) determines allocation of asynchronous transfer.
According to this embodiment, the devices that perform the asynchronous transfer can be limited by the asynchronous transfer management function unit (111) determining the allocation of the asynchronous transfer.
[0012]
FIG. 2 is a block diagram showing the configuration of the IEEE 1394 serial bus network system according to the second embodiment of the present invention.
The device A (201) and the device B (202) are network-connected by an IEEE 1394 serial bus (203), and an asynchronous transfer management function unit (211) functions in the device A (201).
The asynchronous transfer management function section (211) includes a band calculation section (212) for calculating an available asynchronous transfer band, a band allocating section (213) for allocating an asynchronous transfer band, and a code for specifying a device to which the asynchronous transfer band is allocated. And a band allocation recording unit (214) for recording the allocated band.
[0013]
A second embodiment of the present invention will be described with reference to FIGS.
Here, the device A (201) in FIG. 2 and the device A (401) in FIG. 4, the device B (202) in FIG. 2 and the device B (402) in FIG. 4, and the IEEE 1394 serial bus (203) in FIG. 4 is the same as the IEEE 1394 serial bus (403).
After the initialization of the IEEE 1394 serial bus (203), the asynchronous transfer management function unit (211) functioning in the device A (201) uses an arbitrary value permitted by the IEEE 1394 serial bus standard for the band allocation unit (213). Set as a possible asynchronous transfer band.
When starting packet transfer in the asynchronous transfer band, the device B (202) transmits a band allocation request (411) to the asynchronous transfer management function unit (211) to request an asynchronous transfer band to be used.
Upon receiving the bandwidth allocation request (411) from the device B (202), the asynchronous transfer management function unit (211) sets the available asynchronous transfer bandwidth set by the bandwidth allocation unit (213) and the bandwidth allocation request (411). ) Is compared with the asynchronous band requested.
If the former is larger, the requested asynchronous band is subtracted from the available asynchronous transfer band set in the band allocator (213), and the device B (202) is recorded in the band allocator (214). Is recorded and the requested asynchronous band is recorded, and the approval of the band allocation request (411) is transmitted to the device B (202) as a response (412) to the band allocation request.
If the latter is larger, the rejection of the bandwidth allocation request is transmitted to the device B (202) as a response (412) to the bandwidth allocation request. For example, a node ID or the like is used as a code for specifying a device used in the bandwidth allocation recording unit (214).
After receiving the response (412) to the band allocation request from the asynchronous transfer management function unit (211), the device B (202) starts packet transfer in the asynchronous transfer band if the band allocation request is approved. If rejected, the packet transfer in the asynchronous transfer band is abandoned.
When ending the packet transfer in the asynchronous transfer band, the device B (202) transmits a band return request (413) of the assigned asynchronous transfer band to the asynchronous transfer management function unit (211).
Upon receiving the band return request (413) from the device B (202), the asynchronous transfer management function unit (211) records the asynchronous band returned by the band return request (413) in the band allocation recording unit (214). Investigate whether it is.
If the band has been recorded, the asynchronous band returned by the band return request (413) is added to the available asynchronous transfer band set in the band allocating unit (213), and the band allocation recording unit (214) is added. ) Is deleted, and the completion of the band return is transmitted to the device B (202) as a response (414) to the band return request.
If it is not recorded, an error of band return execution is transmitted to the device B (202) as a response (414) to the band return request.
After receiving the response (414) to the band return request from the asynchronous transfer management function unit (211), the device B (202) ends the packet transfer in the asynchronous transfer band.
When the device A (201), in which the asynchronous transfer management function (211) is functioning, starts or ends the asynchronous transfer, the device A (201) responds to the bandwidth allocation request (411) and the bandwidth allocation request within the device A (201). The same exchange as the response (412), the bandwidth return request (413), and the response (414) to the bandwidth return request are performed.
[0014]
In the IEEE 1394 serial bus network system of this embodiment, an asynchronous transfer management function unit (211) including a band calculation unit (212), a band allocation unit (213), and a band allocation recording unit (214) functions. The transfer management function unit (211) determines the allocation of the asynchronous transfer and records the device to which the asynchronous band is allocated and the allocated band.
According to this embodiment, the asynchronous transfer management function unit (211) determines the allocation of the asynchronous transfer band, and records the device to which the asynchronous band is allocated and the allocated band, so that the device performing the asynchronous transfer and the transfer The size of the asynchronous packet can be limited.
[0015]
FIG. 3 is a block diagram showing the configuration of the IEEE 1394 serial bus network system according to the third embodiment of the present invention.
The device A (301) and the device B (302) are network-connected by an IEEE 1394 serial bus (303). In the device A (301), an asynchronous transfer management function unit (311) functions, and the device B (302). , The isochronous resource manager (321) is functioning.
The asynchronous transfer management function unit (311) includes a band calculating unit (312) for calculating an available asynchronous transfer band, a band allocating unit (313) for allocating an asynchronous transfer band, and a code for specifying a device to which the asynchronous transfer band is allocated. And a band allocation recording unit (314) for recording the allocated band.
The CSR (322) of the device B (302) includes a BANDWIDTH_AVAILABLE register (323) indicating an isochronous transfer band that can be allocated by the isochronous resource manager (321).
[0016]
FIG. 5 is an example of a cycle structure in the IEEE 1394 serial bus standard.
Cycle (501) is the time from cycle start packet 1 (511) to cycle start packet 2 (517).
In the cycle (501), an isochronous packet (513), an asynchronous packet (515), an acknowledgment packet (516) of the asynchronous packet (515), and the cycle start packet 2 (517) are transferred. Arbitration 1 (512) is performed immediately before the transfer of the isochronous packet (513), and arbitration 2 (514) is performed immediately before the transfer of the asynchronous packet (515).
An isochronous gap (521) from the transfer of the cycle start packet 1 (511) to the start of the arbitration 1 (512), and a transfer from the transfer of the isochronous packet (513) to the start of the transfer of the asynchronous packet (515). There is an acknowledgment gap (523) between the transfer of the asynchronous packet (515) and the start of transfer of the acknowledgment packet (516).
[0017]
A third embodiment of the present invention will be described with reference to FIGS.
Here, the device A (301) in FIG. 3 and the device A (401) in FIG. 4, the device B (302) in FIG. 3 and the device B (402) in FIG. 4, and the IEEE 1394 serial bus (303) in FIG. 4 is the same as the IEEE 1394 serial bus (403).
After the initialization of the IEEE 1394 serial bus (303), the isochronous resource manager (321) functions in the bandwidth calculation unit (312) of the asynchronous transfer management function unit (311) functioning in the device A (301). From the value of the BANDWAIDTH_AVAILABLE register (323) of the device B (302), the band 1 that can be used by the isochronous resource manager (321) for the isochronous transfer, the transfer of the isochronous packet and the transfer of the asynchronous packet are consumed. Band 2 such as isochronous gap (521), subaction gap (522), cycle start packet 2 (517), and band allocation transferred by asynchronous transfer management function unit (311) and device B (302) Band 3 required for performing the allocation request (411), the response to the band allocation request (412), the band return request (413), and the response to the band return request (414), and the arbitration consumed at the time of the asynchronous transfer. 2 (514), acknowledgment gap (523), and bandwidth 4 of acknowledgment packet (516) are calculated.
Further, the band 1, the band 2, the band 3, and the band 4 are subtracted from the cycle time of the cycle (501) to obtain an available asynchronous transfer band, and the asynchronous transfer band available to the band allocating unit (313) is obtained. Set as a band.
Note that a bandwidth allocation request (411), a response to the bandwidth allocation request (412), a bandwidth return request (413), and a response to the bandwidth return request (414) are transferred between the asynchronous transfer management function unit (311) and the device B (302). ) Is performed by isochronous transfer, a usable asynchronous transfer band is obtained by subtracting the band 1 and the band 2 from the cycle time of the cycle (501).
[0018]
When starting packet transfer in the asynchronous transfer band, the device B (302) transmits a band allocation request (411) to the asynchronous transfer management function unit (311) to request an asynchronous transfer band to be used.
Upon receiving the band allocation request (411) from the device B (302), the asynchronous transfer management function unit (311) sets the available asynchronous transfer band set in the band allocation unit (313) and the band allocation request (411). ) Is compared with a value obtained by adding the arbitration, acknowledgment gap, and acknowledgment packet bandwidths used in the asynchronous transfer to the asynchronous band requested in step (1).
If the former is larger, the requested asynchronous band is subtracted from the available asynchronous transfer band set in the band allocator (313), and the device B (302) is recorded in the band allocator (314). Is recorded and the requested asynchronous band is recorded, and the approval of the band allocation request (411) is transmitted to the device B (302) as a response (412) to the band allocation request.
If the latter is larger, a rejection of the bandwidth allocation request is transmitted to the device B (302) as a response (412) to the bandwidth allocation request. For example, a node ID or the like is used as a code for specifying a device used in the band allocation recording unit (314).
After receiving the response (412) to the band allocation request from the asynchronous transfer management function unit (311), the device B (302) starts packet transfer in the asynchronous transfer band if the band allocation request is approved. If rejected, the packet transfer in the asynchronous transfer band is abandoned.
When ending the packet transfer in the asynchronous transfer band, the device B (302) transmits a band return request (413) of the assigned asynchronous transfer band to the asynchronous transfer management function unit (311).
Upon receiving the bandwidth return request (413) from the device B (302), the asynchronous transfer management function unit (311) records the asynchronous bandwidth returned by the bandwidth return request (413) in the bandwidth allocation recording unit (314). Investigate whether it is.
If the band has been recorded, the asynchronous band returned by the band return request (413) is added to the available asynchronous transfer band set in the band allocating unit (313), and the band allocation recording unit (314) is added. ) Is deleted, and the completion of the band return is transmitted to the device B (302) as a response (414) to the band return request.
If it is not recorded, an error of the band return execution is transmitted to the device B (302) as a response (414) to the band return request.
After receiving the response (414) to the band return request from the asynchronous transfer management function unit (311), the device B (302) ends the packet transfer in the asynchronous transfer band.
Note that when the device A (301) in which the asynchronous transfer management function (311) functions is to start or end the asynchronous transfer, the device A (301) responds to the bandwidth allocation request (411) and the bandwidth allocation request inside the device A (301). The same exchange as the response (412), the bandwidth return request (413), and the response (414) to the bandwidth return request are performed.
[0019]
In the IEEE 1394 serial bus network system according to this embodiment, an asynchronous transfer management function unit (311) including a band calculation unit (312), a band allocation unit (313), and a band allocation recording unit (314) functions. The resource manager (321) calculates an available asynchronous band from the available band for isochronous transfer, determines the allocation of the asynchronous transfer band so as to be within the usable asynchronous transfer band, and allocates the asynchronous band. Recording the assigned device and the assigned band.
According to this embodiment, the asynchronous transfer management function unit (311) obtains an available asynchronous band from a band available to the isochronous resource manager (321) by the isochronous resource manager (321), and obtains the available asynchronous transfer band. By determining the allocation of the asynchronous transfer band so that it fits in, and recording the allocated device and the allocated band, the cycle time does not fluctuate due to the asynchronous transfer, and the cycle control can be performed based on the cycle time. it can.
[0020]
Next, an IEEE 1394 serial bus network system according to a fourth embodiment of the present invention will be described with reference to FIGS.
Here, the device A (301) in FIG. 3 and the device A (401) in FIG. 4, the device B (302) in FIG. 3 and the device B (402) in FIG. 4, and the IEEE 1394 serial bus (303) in FIG. 4 is the same as the IEEE 1394 serial bus (403).
After the initialization of the IEEE 1394 serial bus (303), the bandwidth calculation unit (312) of the asynchronous transfer management function unit (311) functioning in the device A (301) performs other than the transfer of the isochronous packet and the transfer of the asynchronous packet. Band 1 such as an isochronous gap (521), a subaction gap (522), and a cycle start packet 2 (517), and the data is transferred by the asynchronous transfer management function unit (311) and the device B (302). Bandwidth allocation request (411), a response to the bandwidth allocation request (412), a bandwidth return request (413) and a response (414) to the bandwidth return request in the asynchronous transfer, and the bandwidth 2 required when performing the asynchronous transfer, and Arbitration 2 (514 Acknowledge gap (523), calculates the band 3 acknowledge packet (516).
Further, the band 1, the band 2, and the band 3 are subtracted from the cycle time of the cycle (501) to obtain an available asynchronous transfer band, and the initial value of the asynchronous transfer band available to the band allocating unit (313) is obtained. Set as
Also, the BANDWAIDTH_AVAILABLE register (323) of the device B (302) in which the isochronous resource manager (321) is functioning is read and recorded as the initial value of the BANDWAIDTH_AVAILABLE register in the bandwidth calculation unit (312).
Note that a bandwidth allocation request (411), a response to the bandwidth allocation request (412), a bandwidth return request (413), and a response to the bandwidth return request (414) are transferred between the asynchronous transfer management function unit (311) and the device B (302). ) Is performed by isochronous transfer, the band 1 is subtracted from the cycle time of the cycle (501) to obtain an initial value of an available asynchronous transfer band.
[0021]
After setting the initial value of the available asynchronous transfer band in the band allocating unit (313), the asynchronous transfer management function unit (311) sets the device B (302) in which the isochronous resource manager (321) is functioning. It monitors whether the BANDWAIDTH_AVAILABLE register (323) has been updated. When the BANDWAIDTH_AVAILABLE register (323) is updated, the bandwidth calculation unit (312) subtracts the updated value of the updated BANDWAIDTH_AVAILABLE register from the recorded initial value of the BANDWAIDTH_AVAILABLE register, and the isochronous resource manager (321). Calculates the isochronous transfer band assigned by.
Further, the available asynchronous transfer band is calculated by subtracting the isochronous transfer band from the initial value of the available asynchronous transfer band set in the band allocator (313). Set as an available asynchronous transfer band.
In the IEEE 1394 serial bus network system according to this embodiment, an asynchronous transfer management function unit (311) including a band calculation unit (312), a band allocation unit (313), and a band allocation recording unit (314) functions. A usable asynchronous band is obtained from the isochronous transfer band allocated by the resource manager (321), the asynchronous transfer band is allocated so as to fall within the usable asynchronous transfer band, and the band allocated to the device to which the asynchronous band is allocated is allocated. It is to record.
According to this embodiment, the asynchronous transfer management function unit (311) finds a usable asynchronous band from the isochronous transfer band allocated by the isochronous resource manager (321), and falls within the usable asynchronous transfer band. As described above, by determining the assignment of the asynchronous transfer band and recording the device to which the asynchronous band is assigned and the assigned band, the cycle time does not fluctuate due to the asynchronous transfer, and the cycle control can be performed based on the cycle time.
[0022]
【The invention's effect】
As described above, according to the first aspect of the present invention, the asynchronous transfer management function unit (111) has an effect that the devices that perform the asynchronous transfer can be limited by determining the allocation of the asynchronous transfer. .
According to the second aspect of the present invention, the asynchronous transfer management function unit (211) determines the allocation of the asynchronous transfer and records the device to which the asynchronous transfer band is allocated and the allocated band, thereby enabling the device to perform the asynchronous transfer. There is an effect that the size of the asynchronous packet to be transferred can be limited.
According to the third aspect of the present invention, the asynchronous transfer management function unit (311) obtains an available asynchronous band from a band available to the isochronous resource manager (321) for the isochronous transfer, and obtains the available asynchronous band. By determining the allocation of the asynchronous transfer band so as to be within the transfer band and recording the device to which the asynchronous band is allocated and the allocated band, the cycle time does not fluctuate due to the asynchronous transfer, and the cycle control is performed based on the cycle time. be able to.
According to the fourth aspect of the present invention, the asynchronous transfer management function unit (311) obtains an available asynchronous band from the isochronous transfer band allocated by the isochronous resource manager (321), and obtains the usable asynchronous transfer band. By determining the allocation of the asynchronous transfer band so that it fits in, and recording the allocated device and the allocated band, the cycle time does not fluctuate due to the asynchronous transfer, and the cycle control can be performed based on the cycle time. it can.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a first IEEE 1394 serial bus network system of the present invention.
FIG. 2 is a block diagram showing a configuration of a second IEEE 1394 serial bus network system of the present invention.
FIG. 3 is a block diagram showing a configuration of a third IEEE 1394 serial bus network system of the present invention.
FIG. 4 is an example of an asynchronous band allocation request, a return request, and a response.
FIG. 5 is a diagram showing an example of a cycle structure of an IEEE 1394 serial bus.
FIG. 6 is a block diagram showing a configuration of a conventional IEEE 1394 serial bus network system.
FIG. 7 is a diagram illustrating an example of a change in cycle time due to asynchronous transfer.
[Explanation of symbols]
101 Device A
102 Device B
103 IEEE 1394 serial bus
111 Asynchronous transfer management function section
201 Device A
202 Device B
203 IEEE 1394 serial bus
211 Asynchronous transfer management function section
212 bandwidth calculator
213 Bandwidth allocation unit
214 bandwidth allocation recording unit
301 Device A
302 Device B
303 IEEE 1394 serial bus
311 Asynchronous transfer management function section
312 Bandwidth calculation unit
313 Bandwidth allocation unit
314 Bandwidth allocation recording unit
321 Isochronous Resource Manager
322 CSR
323 BANDWIDTH_AVAILABLE register
401 Device A
402 Device B
403 IEEE 1394 serial bus
411 Bandwidth allocation request from device B
412 Response to bandwidth allocation request to device B
413 Bandwidth return request from device B
414 Response to Bandwidth Return Request to Device B
501 cycles
511 Cycle start packet 1
512 Arbitration 1
513 Isochronous Packet
514 Arbitration 2
515 Asynchronous Packet
516 Acknowledge Packet
517 Cycle start packet 2
521 Isochronous gap
522 Subaction Gap
523 Acknowledge Gap
601 Device A
602 device B
603 IEEE 1394 serial bus
701 Cycle A
702 cycle B
703 cycle C
704 Cycle D
711 Asynchronous transfer bandwidth of cycle A
712 Cycle B Asynchronous Transfer Band
713 Cycle C asynchronous transfer band
714 Cycle D asynchronous transfer band
721 Asynchronous Packet 1
722 Asynchronous Packet 2

Claims (4)

複数の機器(101,102)がIEEE1394シリアルバス(103)で接続されたネットワークシステムに用いられるアシンクロナス転送機能つきネットワーク通信機器において、前記IEEE1394シリアルバス(103)に接続された前記機器間(101,102)で転送されるアシンクロナス転送を管理するアシンクロナス転送管理機能部(111)を備えることを特徴とするアシンクロナス転送機能つきネットワーク通信機器。In a network communication device with an asynchronous transfer function used in a network system in which a plurality of devices (101, 102) are connected by an IEEE 1394 serial bus (103), the devices (101, 102) connected to the IEEE 1394 serial bus (103) A network communication device with an asynchronous transfer function, comprising: an asynchronous transfer management function section (111) for managing the asynchronous transfer transferred in (102). 前記アシンクロナス転送管理機能部(211)として、利用可能なアシンクロナス転送帯域を計算する帯域計算部(212)とアシンクロナス転送帯域を割り当てる帯域割り当て部(213)とアシンクロナス転送帯域を割り当てた機器を特定するコードと割り当てた帯域を記録する帯域割り当て記録部(214)を備えることを特徴とする請求項1記載のアシンクロナス転送機能つきネットワーク通信機器。As the asynchronous transfer management function unit (211), a band calculation unit (212) for calculating an available asynchronous transfer band, a band allocation unit (213) for allocating an asynchronous transfer band, and a code for specifying a device to which the asynchronous transfer band is allocated. 2. The network communication device with an asynchronous transfer function according to claim 1, further comprising a band allocation recording unit (214) for recording the allocated band. 前記アシンクロナス転送管理機能部(311)として、帯域計算部(312)と帯域割り当て部(313)と帯域割り当て記録部(314)を備え、前記帯域計算部(312)で前記機器B(302)で機能しているアイソクロナス・リソース・マネージャ(321)がアイソクロナス転送に利用可能な帯域から利用可能なアシンクロナス転送帯域を計算し、前記帯域割り当て部(313)で前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域を割り当てることを特徴とする請求項1又は2記載のアシンクロナス転送機能つきネットワーク通信機器。As the asynchronous transfer management function unit (311), a bandwidth calculation unit (312), a bandwidth allocation unit (313), and a bandwidth allocation recording unit (314) are provided. A functioning isochronous resource manager (321) calculates an available asynchronous transfer band from a band available for isochronous transfer, and the band allocating unit (313) adjusts the available asynchronous transfer band to be within the usable asynchronous transfer band. 3. The network communication device with an asynchronous transfer function according to claim 1, wherein an asynchronous transfer band is allocated. 前記アシンクロナス転送管理機能部(311)を備え、前記帯域計算部(312)で前記機器B(302)で機能しているアイソクロナス・リソース・マネージャ(321)が割り当てているアイソクロナス転送帯域から利用可能なアシンクロナス転送帯域を計算し、前記帯域割り当て部(313)で前記利用可能なアシンクロナス転送帯域に収まるようにアシンクロナス転送帯域を割り当てることを特徴とする請求項3記載のアシンクロナス転送機能つきネットワーク通信機器。It is provided with the asynchronous transfer management function unit (311), and can be used from the isochronous transfer band allocated by the isochronous resource manager (321) functioning in the device B (302) in the band calculation unit (312). 4. The network communication device with an asynchronous transfer function according to claim 3, wherein an asynchronous transfer band is calculated, and the band allocating unit (313) allocates the asynchronous transfer band so as to fall within the usable asynchronous transfer band.
JP2002343996A 2002-11-27 2002-11-27 Network communication equipment with asynchronous transfer function Expired - Fee Related JP4161186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002343996A JP4161186B2 (en) 2002-11-27 2002-11-27 Network communication equipment with asynchronous transfer function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002343996A JP4161186B2 (en) 2002-11-27 2002-11-27 Network communication equipment with asynchronous transfer function

Publications (2)

Publication Number Publication Date
JP2004179974A true JP2004179974A (en) 2004-06-24
JP4161186B2 JP4161186B2 (en) 2008-10-08

Family

ID=32705637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002343996A Expired - Fee Related JP4161186B2 (en) 2002-11-27 2002-11-27 Network communication equipment with asynchronous transfer function

Country Status (1)

Country Link
JP (1) JP4161186B2 (en)

Also Published As

Publication number Publication date
JP4161186B2 (en) 2008-10-08

Similar Documents

Publication Publication Date Title
KR100943742B1 (en) Apparatus And Method for Tranfering USB Transaction in Personal Area Network
US6590865B1 (en) Transmission system, bandwidth management apparatus, and bandwidth management method
US6820150B1 (en) Method and apparatus for providing quality-of-service delivery facilities over a bus
US7277402B2 (en) Method for isochronous resource management in a network based on hiperlan 2 technology
US7123614B2 (en) Method and device for communicating between a first and a second network
US9014211B2 (en) Reducing the maximum latency of reserved streams
EP1150460A1 (en) Electronic equipment, and method for controlling state of physical layer circuit thereof
US6272114B1 (en) Data processing apparatus/method and electronic apparatus with such apparatus/method
EP1156423A2 (en) Information processing apparatus, information processing method and bridge utilizing the same
US7746898B2 (en) Band allocation method, communication control unit and communication apparatus
JP2004179974A (en) Network communication device with asynchronous transfer function
US6600756B1 (en) Method of improving the performance of a bus which is asynchronous-traffic intensive
KR100429795B1 (en) Method for managing bandwidth of serial bus and apparatus thereof
WO2005029778A1 (en) Communication control circuit and communication control method
KR100611998B1 (en) A method for matching upper protocol layer to high speed serial bus
US7590065B2 (en) Equal-opportunity bandwidth regulation
JP6244378B2 (en) Wide area management system, wide area management apparatus, building management apparatus, wide area management method, identifier information transmission method, identifier issuance method, and program
JP2003229857A (en) Serial bus system, device for managing band of serial bus, and communication equipment
JP3760667B2 (en) Information processing apparatus and bus system
JP2010154329A (en) Ieee1394 communication lsi and asynchronous transmission method
JP4363275B2 (en) Communication method and network between communication devices
JP2011217258A (en) Apparatus and method for transffering data
JP2001007814A (en) Information processing unit and method
JP2000049830A (en) Device, system and method for transmitting digital signal
JPH11177589A (en) Data transfer device, data processing method therefor and computer readable storage medium stored with program

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20051014

Free format text: JAPANESE INTERMEDIATE CODE: A621

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060325

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071127

A977 Report on retrieval

Effective date: 20071221

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20071226

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080220

A131 Notification of reasons for refusal

Effective date: 20080312

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20080428

Free format text: JAPANESE INTERMEDIATE CODE: A523

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

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

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

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees