JP2005229230A - Packet transmitter-receiver and packet identification method used therefor - Google Patents
Packet transmitter-receiver and packet identification method used therefor Download PDFInfo
- Publication number
- JP2005229230A JP2005229230A JP2004034354A JP2004034354A JP2005229230A JP 2005229230 A JP2005229230 A JP 2005229230A JP 2004034354 A JP2004034354 A JP 2004034354A JP 2004034354 A JP2004034354 A JP 2004034354A JP 2005229230 A JP2005229230 A JP 2005229230A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- identification information
- isochronous
- node
- crc
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明はパケット送受信装置及びそれに用いるパケット識別方法に関し、特に同一チャネルのアイソクロナス(Isochronous)パケットが存在するバスにて受信すべきアイソクロナスパケットを識別する方法に関する。 The present invention relates to a packet transmitting / receiving apparatus and a packet identification method used therefor, and more particularly to a method for identifying an isochronous packet to be received on a bus in which an isochronous packet of the same channel exists.
コンピュータの性能は年々加速化し、それに合わせて記憶装置等の周辺装置もますます高度化している。従来、家電製品とコンピュータ製品とは明確に区分されてきたが、近年、コンピュータの家電化と家電製品のディジタル化とが進み、両者互いに共存することができる環境が必要となっている。 The performance of computers is accelerating year by year, and peripheral devices such as storage devices are becoming more sophisticated. Conventionally, home appliances and computer products have been clearly distinguished, but in recent years, computer home appliances and home appliance digitalization have progressed, and an environment in which both can coexist is necessary.
このような背景において、高速かつ大容量のデータ転送を実現することができるインタフェースとしてIEEE(The Institute of Electrical and Electronics Engineers)1394で標準化された高速シリアルバス(以下、IEEE1394バスとする)があげられる(例えば、非特許文献1参照)。 Under such circumstances, a high-speed serial bus (hereinafter referred to as an IEEE 1394 bus) standardized by IEEE (The Institute of Electrical and Engineering Engineers) 1394 is exemplified as an interface that can realize high-speed and large-capacity data transfer. (For example, refer nonpatent literature 1).
IEEE1394バスの大きな特徴としては、電源を切ることなく、IEEE1394バスのネットワークに新しくノードを追加したり、取り外したりすることができることがある。IEEE1394ではIEEE1212規格にしたがった64ビット固定アドレシングを採用している。 A major feature of the IEEE 1394 bus is that a new node can be added to or removed from the IEEE 1394 bus network without turning off the power. IEEE 1394 employs 64-bit fixed addressing according to the IEEE 1212 standard.
IEEE1394のアドレスマップを図7に示す。図7において、アドレスマップの上位16ビットはNODE_ID(識別情報)401を示す。NODE_ID401は、さらに上位10ビットのBUS_ID402と、下位6ビットのPHY(Physical)_ID403とに分けられる。
An IEEE 1394 address map is shown in FIG. In FIG. 7, the upper 16 bits of the address map indicate NODE_ID (identification information) 401. The
BUS_ID401は「0」から「1023」までを指定することができるが、「1023」はローカルバス404(データ転送元であるノードに直接接続されているバス)を示す。また、PHY_ID403は「0」から「63」までを指定することができるが、「63」はブロードキャスト405(バス内で接続されている全てのノードに宛てられるデータ)を示す。 The BUS_ID 401 can designate “0” to “1023”, but “1023” indicates the local bus 404 (a bus directly connected to the node that is the data transfer source). PHY_ID 403 can specify “0” to “63”, but “63” indicates broadcast 405 (data addressed to all nodes connected in the bus).
よって、IEEE1394においては、バス数が「1023」、各々のバスに「63」のノード、合計64449台の接続が可能である。各々のノードに割り当てられたアドレス空間は、残りの48ビット(256テラバイト)である。「0」から「FFFF_DFFF_FFFF(16進法)」にメモリ空間408、「FFFF_E000_0000(16進法)」から「FFFF_EFFF_FFFF(16進法)」にプライベート空間407、「FFFF_F000_0000(16進法)」から「FFFF_FFFF_FFFF(16進法)」にレジスタ空間406がそれぞれ割り当てられる。
Therefore, in IEEE 1394, the number of buses is “1023”, and “63” nodes can be connected to each bus, for a total of 64449 units. The address space allocated to each node is the remaining 48 bits (256 terabytes).
IEEE1394のレジスタはIEEE1212で規格されているCSR(Control and Status Registers)アーキテクチャの採用しているスタイルによって規定されている。CSRは、レジスタ空間の「000_0000(16進法)」から「000_01FF(16進法)」までをCSRコアと基本的なレジスタ空間409とによって構成されている。
The IEEE 1394 registers are defined by the style adopted by the CSR (Control and Status Registers) architecture standardized by IEEE 1212. The CSR includes a register space from “000 — 0000 (hexadecimal)” to “000 — 01FF (hexadecimal)” by a CSR core and a
続けて、「000_0200(16進法)」から「000_03FF(16進法)」までをバス依存の用途410で予約している。さらに、「000_0800(16進法)」以降の空間も初期ユニットの中にノード依存のリソースのための空間412として予約している。
Subsequently, “000 — 0200 (hexadecimal)” to “000 — 03FF (hexadecimal)” are reserved for bus-
トランザクション対応のノードは、コンフィグレーション(Configuration)ROM(Read Only Memory)空間411にノードの特徴や機能を示す情報を実装しなくてはならない。 A node corresponding to a transaction must mount information indicating the characteristics and functions of the node in a configuration ROM (Read Only Memory) space 411.
一般的なコンフィグレーションROMのフォーマットを図8に示す。IEEE1394では、最初の5クワドレット(quadlet)(1クワドレット=4バイト)はこの形式とするように規定されている。また、6クワドレット目以降は機器を構成している機能によって変化する。 A general configuration ROM format is shown in FIG. In IEEE 1394, the first five quadlets (1 quadlet = 4 bytes) are defined to be in this format. Moreover, after the 6th quadlet, it changes according to the function which comprises the apparatus.
この中で、rom_crc_value502は「FFFF_F000_0400番地」からcrc_length501で示されている番地までのデータのCRC(Cyclic Redundancy Check)値を示しており、IEEE1212では、コンフィグレーションROM全体をcrc_length501及びrom_crc_value502によって保護することが推奨されている。
Among these,
また、node_vender_ID503、chip_ID_hi504、chip_ID_lo505をあわせてEUI(Extended Unique Identifier)−64Bitと呼び、このフィールドが一致する機器は二つと存在しない。よって、同等の機能を所有し、他のフィールドが同じコンフィグレーションROMを有する機器も、EUI−64が必ず違うため、基本的にはrom_crc_value502も一致しない。
The
IEEE1394バス上では、パケットを転送するプロセスをサブアクション(subaction)と呼び、大きく分けて下記に示す二種類が存在する。一つはアイソクロナス(Isochronous)サブアクションと呼ばれ、IEEE1394バスの特徴でもあるパケットを規則的な間隔で転送するという機能を持っている。このサブアクションでは、特定のノードに転送するのでなく、チャネルを使用してバス全体に転送する。 On the IEEE 1394 bus, a process for transferring a packet is called a subaction, and there are roughly two types as shown below. One is called an isochronous subaction, and has a function of transferring packets at regular intervals, which is also a feature of the IEEE1394 bus. In this subaction, the channel is used to transfer to the entire bus rather than to a specific node.
アイソクロナスサブアクションの主な用途として、IEC(International Electrotechnical Commission)61883で規定されているような、ディジタルAV機器間の映像やオーディオの転送が挙げられる。 The main application of the isochronous subaction is transfer of video and audio between digital AV devices as defined in IEC (International Electrotechnical Commission) 61883.
もう一つは非同期(Asynchronous)サブアクションと呼ばれる、非同期の転送方法である。非同期サブアクションはアイソクロナスサブアクションとは異なり、規則的な間隔でデータを転送することはできない。数バイトのヘッダ情報と実データとを指定されたノードに転送し、データを受信したノードは必ず認識パケット(Acknowledge Packet)を返す。 The other is an asynchronous transfer method called an asynchronous subaction. Asynchronous subactions, unlike isochronous subactions, cannot transfer data at regular intervals. The header information of several bytes and the actual data are transferred to the designated node, and the node that has received the data always returns an acknowledge packet (Acknowledge Packet).
但し、転送先PHY_IDが63のブロードキャストや、IEEE1394−1995の拡張規格であるIEEE1394a−2000から定義されているアシンクロナスストリームパケット(Asynchronous Stream Packet)等の認識パケットを必要としないサブアクションの場合には、認識パケットを返さない。 However, in the case of a subaction that does not require a recognition packet such as a broadcast with a transfer destination PHY_ID of 63 or an asynchronous stream packet (Asynchronous Stream Packet) defined by IEEE 1394a-2000, which is an extension standard of IEEE 1394-1995, Does not return a recognition packet.
アイソクロナスパケットを送信したいノードは、IRM(Isochronous Resource Manager)内のCHANNELS_AVAILABLEレジスタにアクセスしてチャネル番号を確保し、また、BANDWIDTH_AVAILABLEレジスタにアクセスして帯域を確保することによって、初めてIEEE1394バス上にアイソクロナスパケットを送信することができる。以下、チャネルと帯域とを合わせてアイソクロナスリソースと記す。 A node that wishes to transmit an isochronous packet accesses a CHANNELS_AVAILABLE register in an IRM (Isochronous Resource Manager) to secure a channel number, and also accesses a BANDWIDTH_AVAILABLE register to secure a band, thereby isolating a packet on the IEEE1394 bus for the first time. Can be sent. Hereinafter, the channel and the band are collectively referred to as an isochronous resource.
IEEE1394バスに新しいノードが接続された時や、バスからノードが外れた時には、バスリセットと呼ばれるバスのイニシャライズが行われ、バス上のすべてのノードIDが新たに割振られ、IRMが確定する。バスリセット発生後、アイソクロナスパケットの送信を続けるノードは、IRMが確定したら、再度、上記のアイソクロナスリソースを確保するためのアクセスを実行しなければならない。 When a new node is connected to the IEEE 1394 bus or when a node is removed from the bus, bus initialization called bus reset is performed, all node IDs on the bus are newly allocated, and the IRM is determined. After the bus reset occurs, a node that continues to transmit isochronous packets must execute access for securing the isochronous resource again after the IRM is determined.
しかしながら、バスリセット発生前にアイソクロナスパケットを送信していたノードは、バスリセットが発生してから1秒間の間、新規アイソクロナスリソースの確保前でもバスリセット前に確保していたアイソクロナスリソースを使用してアイソクロナスパケットを送信し続けることが許されている。 However, the node that sent the isochronous packet before the bus reset occurred uses the isochronous resource secured before the bus reset for 1 second after the bus reset occurred, even before securing the new isochronous resource. It is allowed to continue sending isochronous packets.
図9にIEEE1394及びIEC61883で規定されているアイソクロナスパケットのフォーマットを示す。IEEE1394では、アイソクロナスパケット310のフォーマットとして、パケットヘッダ301、ヘッダCRC311、データペイロード312、データCRC313の構成となっている。また、IEC61883にて、データペイロード312の先頭2クワドレット(8バイト)の領域をCIP(Common Isochronous Packet)ヘッダ304とすることが規定されている。
FIG. 9 shows an isochronous packet format defined by IEEE 1394 and IEC61883. In IEEE1394, the format of the
パケットヘッダ301の中に、上記のチャネル番号を示すchannelフィールド314があり、パケットを受信するノードはこのchannelフィールド314を見て、受信したいパケットを判断する。また、CIPヘッダ304の中に、送信元のノードID(ノード番号)を示すSIDフィールド315があり、IEC61883で規定されたパケットを受信するノードは、このSIDフィールド315を見ることによって、受信中のパケットを送信しているノードのノードIDを特定することができる。
The packet header 301 includes a
上述した従来のパケット認識方法では、例えば、別の二つのIEEE1394バス上で、同一のチャネル番号でアイソクロナスパケットが流れていた時に、それらのバスを接続するとバスリセットが発生するが、それからIRMが確定してチャネルや帯域を確保するまでの間、同一バスで、同一チャネル番号の二つのアイソクロナスパケットが転送されることになる。この場合、バスリセット前までアイソクロナスパケットを受信していたノードは、同一チャネルのどちらのパケットを受信して良いか、判断する手段がない。 In the conventional packet recognition method described above, for example, when isochronous packets flow with the same channel number on two different IEEE 1394 buses, a bus reset occurs when these buses are connected, and then the IRM is determined. Until the channel and bandwidth are secured, two isochronous packets with the same channel number are transferred on the same bus. In this case, the node that has received the isochronous packet before the bus reset has no means for determining which packet on the same channel may be received.
また、従来のパケット認識方法では、バスリセットに付随したイニシャライズによって、送信元のノードIDも変化している可能性が高いため、CIPヘッダ504内のSIDフィールド515からも確定することができないという問題がある。
Further, in the conventional packet recognition method, there is a high possibility that the node ID of the transmission source is also changed due to the initialization accompanying the bus reset, so that it cannot be determined from the SID field 515 in the
そこで、本発明の目的は、上記の問題点を解消し、バスリセット後、送信元ノードIDが確定していない期間に同一チャネル番号を有する二つまたはそれ以上のアイソクロナスパケットを受信した場合にもそれらを区別し、所望のパケットだけを受信することができるパケット送受信装置及びそれに用いるパケット識別方法を提供することにある。 Therefore, an object of the present invention is to solve the above-mentioned problems, and when two or more isochronous packets having the same channel number are received after the bus reset and the transmission source node ID is not fixed. It is an object of the present invention to provide a packet transmitting / receiving apparatus capable of distinguishing them and receiving only desired packets and a packet identification method used therefor.
本発明によるパケット送受信装置は、規則的な間隔でバス全体に転送するアイソクロナスパケットの送受信機能を含むパケット送受信装置であって、前記アイソクロナスパケットの送信時に当該パケット内にバスリセットで変化しない送信元の識別情報を格納する手段を備えている。 The packet transmission / reception apparatus according to the present invention is a packet transmission / reception apparatus including a transmission / reception function of isochronous packets that are transferred to the entire bus at regular intervals. Means for storing identification information are provided.
本発明によるパケット識別方法は、規則的な間隔でバス全体に転送するアイソクロナスパケットの送受信機能を含むパケット送受信装置のパケット識別方法であって、前記パケット送受信装置側に、前記アイソクロナスパケットの送信時に当該パケット内にバスリセットで変化しない送信元の識別情報を格納するステップを備えている。 The packet identification method according to the present invention is a packet identification method of a packet transmission / reception device including a transmission / reception function of isochronous packets that are transferred to the entire bus at regular intervals, and is transmitted to the packet transmission / reception device side during transmission of the isochronous packet. A step of storing identification information of a transmission source that does not change by a bus reset is included in the packet.
すなわち、本発明のパケット識別方法は、アイソクロナス(Isochronous)パケット内にバスリセットで変化しない送信元の個別情報を格納することにより、パケットを受信するノードは受信すべきアイソクロナスパケットと他のノードから送信された同一チャネルで別のアイソクロナスパケットとを区別できる機構を設けたことを特徴としている。ここで、アイソクロナスパケットとは規則的な間隔で転送するパケットであり、特定のノードに転送されるのでなく、チャネルを使用してバス全体に転送されるパケットである。 That is, according to the packet identification method of the present invention, the individual information of the transmission source that does not change by the bus reset is stored in the isochronous packet, so that the node receiving the packet transmits it from the other node and the isochronous packet to be received. It is characterized in that a mechanism capable of distinguishing from another isochronous packet on the same channel is provided. Here, an isochronous packet is a packet that is transferred at regular intervals, and is a packet that is not transferred to a specific node but is transferred to the entire bus using a channel.
本発明のパケット識別方法では、送信するノードがアイソクロナスパケット内に自ノードのrom_crc_valueを挿入し、受信するノードがそのフィールドを確認するという動作を実行する。したがって、バスリセット後、以前まで受信していたチャネルを有するアイソクロナスパケットが2つ存在した場合も、継続して以前まで受信していたパケットを受信することが可能となる。 In the packet identification method of the present invention, the transmitting node inserts its own rom_crc_value in the isochronous packet, and the receiving node confirms the field. Therefore, even if there are two isochronous packets having a channel that has been received until after the bus reset, it is possible to continuously receive the packet that has been received before.
本発明は、以下に述べるような構成及び動作とすることで、バスリセット後、送信元ノードIDが確定していない期間に同一チャネル番号を有する二つまたはそれ以上のアイソクロナスパケットを受信した場合にもそれらを区別し、所望のパケットだけを受信することができるという効果が得られる。 The present invention is configured and operated as described below, so that after a bus reset, two or more isochronous packets having the same channel number are received during a period when the source node ID is not fixed. Can also distinguish between them and receive only desired packets.
次に、本発明の実施例について図面を参照して説明する。図1は本発明の一実施例による送受信装置の構成を示すブロック図である。図1においては、本発明の一実施例の形態として、アイソクロナス(Isochronous)パケット識別機能を搭載した送信回路及び受信回路を搭載した装置の構成例を示している。 Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a transmission / reception apparatus according to an embodiment of the present invention. FIG. 1 shows a configuration example of a device equipped with a transmission circuit and a reception circuit equipped with an isochronous packet identification function as an embodiment of the present invention.
つまり、本発明の一実施例による送受信装置はリンク(Link)層1と、CPU(中央処理装置)2と、AVコーデック(Codec)3と、物理層(PHY:Physical)4とから構成されている。
That is, the transmission / reception apparatus according to an embodiment of the present invention includes a
リンク層1はホスト(Host)I/F(インタフェース)11と、アプリケーション(AP)I/F12と、非同期パケットコントローラ(Asynchronous Packet Controller)13と、CSR(Control and Status Registers)14と、コンフィグレーション(Consiguration)ROM(Read Only Memory)(以下、コンフィグROMとする)15と、識別情報格納部(Source rom_crc_value)16と、パケット変換部(Packetizer)17と、送信データバッファ(Tx Data Buffer)18と、受信フィルタ(Rx Filter)19と、受信データバッファ(Rx Data Buffer)20と、リンクコア(Link Core)21とから構成されている。
The
ホストI/F11はCPU2とデータを送受信するインタフェースを持ち、ファームウェア(以下、F/Wとする)から非同期(Asynchonous)パケットの送受信や、CSR14、コンフィグROM15等の設定を行う際に動作する。アプリケーションI/F12はAVコーデック3等、ストリームデータをアイソクロナス(Isochronous)で送受信するデータを使用するブロックと、ディジタルデータやその他必要な信号を受け渡しするブロックとからなる。
The host I /
非同期パケットコントローラ13は非同期パケットの送受信を行い、またそのために必要な情報を各ブロックから受取ったり、結果を各ブロックに反映したりするブロックである。CSR14は図7に示すCSR core409やSerial Bus Dependent410等、IEEE1394バスからアクセス可能なレジスタを備えているブロックである。
The
コンフィグROM15はノードの特徴や機能を示す情報を実装するブロックである。一般的なコンフィグROM15のフォーマットは、上述したように、図8に示すような構成となる。IEEE1394では、最初の5クワドレット(quadlet)(1クワドレット=4バイト)はこの形式とするように規定されている。また、6クワドレット目以降は機器を構成している機能によって変化する。
The
識別情報格納部16はアイソクロナスパケットを受信する時に必要なブロックであり、受信すべきアイソクロナスパケットの送信元ノードから読出したrom_crc_valueを格納しておくブロックである。ここで、アイソクロナスパケットとは規則的な間隔で転送するパケットであり、特定のノードに転送されるのでなく、チャネルを使用してバス全体に転送されるパケットである。
The identification
また、rom_crc_valueは、上述したように、「FFFF_F000_0400番地」からcrc_lengthで示されている番地までのデータのCRC(Cyclic Redundancy Check)値を示しており、IEEE1212では、コンフィグレーションROM15全体をcrc_length及びrom_crc_valueによって保護することが推奨されている。
In addition, as described above, rom_crc_value indicates a CRC (Cyclic Redundancy Check) value of data from “FFFF_F000_0400” to the address indicated by crc_length. In IEEE1212, the
パケット変換部17は送信するストリームデータに、図9に示すCIP(Common Isochronous Packet)ヘッダ304、パケットヘッダ301と、さらに自ノードのrom_crc_valueとを挿入し、アイソクロナスパケットのフォーマットに整形するブロックである。
The
送信データバッファ18はアプリケーションI/F12から受信したデータをアイソクロナスパケット内に入れるために格納しておくFIFO(First In First Out)方式のバッファを持つブロックである。
The
受信フィルタ19は受信したアイソクロナスパケットから、パケットヘッダと、CIPヘッダと、さらにrom_crc_valueとを比較して受信すべきパケットであれば受信し、受信すべきパケットでなければ破棄するといった、パケットを選別するブロックである。
The
受信データバッファ20は受信フィルタ19を通過して受信したデータを格納し、アプリケーションI/F12へ渡すブロックである。リンクコア21は物理層4とのインタフェースを持ち、トランザクションの管理を行うブロックである。
The
CPU2は非同期パケットの送受信や、CSR等、各ブロックの初期化等、装置の管理を行う。IEC61883であれば、実際にAVコマンドの送受信や、プラグのコネクションの管理を行う。AVコーデック3は映像や音声をエンコードして送信するデータを生成し、またアプリケーションI/F12から受信したデータをデコードして映像データや音声データを生成するブロックである。
The
物理層4はIEEE1394の物理層のハードウェア(以下、H/Wとする)である。IEEE1394バス100はその接続先に別のノード(図示せず)が接続されており、実際に非同期パケットやアイクロナスパケットが流れるバスである。
The
次に、アイクロナスパケットの送信回路について説明する。アイクロナスパケットを送信するノードは、IRM(Isochronous Resource Manager)からアイクロナスリソースを確保したら、パケット変換部17にて獲得したリソースの情報や送信するデータにパケットヘッダやCIPヘッダを挿入し、またコンフィグROM15からrom_crc_valueを挿入してアイクロナスパケットを生成し、そのアイクロナスパケットを送信する。この動作は送信する全てのアイクロナスパケットにおいて同じ動作となる。
Next, an asynchronous packet transmission circuit will be described. When an asynchronous resource is secured from the IRM (Isochronous Resource Manager), the node that transmits the asynchronous packet inserts a packet header or CIP header into the resource information acquired by the
続いて、アイクロナスパケットの受信回路について説明する。アイクロナスパケットを受信するノードはプラグのコネクション等によって受信するパケットの送信元が決定したら、先ず送信ノードのrom_crc_valueを読出すために、Read Request for Data Quadletなる非同期パケットを送信する。 Next, an asynchronous packet receiving circuit will be described. When the source of the packet to be received is determined by the plug connection or the like, the node that receives the asynchronous packet first transmits an asynchronous packet called Read Request for Data Quadlet to read rom_crc_value of the transmitting node.
図2はRead Request for Data Quadletなる非同期パケットのフォーマットを示す図である。図2において、パケットを送信する相手のノードID(識別情報)を示すdestination_ID101は、この場合、アイソクロナスパケットを送信するノードのノードIDとなる。
FIG. 2 is a diagram showing a format of an asynchronous packet called Read Request for Data Quadlet. In FIG. 2,
トランザクションラベル(tl)102はトランザクションにつけられる任意のラベルである。リトライコード(rt)103はIEEE1394で規定されているリトライの種類を示すフィールドである。トランザクションコード(tcode)104はパケットの種類を示しており、Read Request for Data Quadletは(0100)である。プライオリティ(pri)105はケーブル環境では特に使用しない。 The transaction label (tl) 102 is an arbitrary label attached to the transaction. A retry code (rt) 103 is a field indicating the type of retry defined in IEEE1394. The transaction code (tcode) 104 indicates the type of packet, and Read Request for Data Quadlet is (0100). The priority (pri) 105 is not particularly used in the cable environment.
パケット送信元のノードIDを示すsource_ID106は、この場合、アイソクロナスパケットを受信するノードIDとなる。destination_offset107は送信先のオフセットアドレスを示しており、rom_crc_valueを読む場合には「FFFF_F000_0400(16進法)」が入る。header_CRC108はdestination_ID106からdestination_offset107までのデータのCRC値が入る。
In this case,
上述したRead Request for Data Quadlet形式の非同期パケットを受けたノード、つまりアイソクロナスパケットを送信するノードは、Read Response for Data Quadletなる非同期パケットにて応答する。 The node that has received the above-described Read Request for Data Quadlet-format asynchronous packet, that is, the node that transmits the isochronous packet, responds with an asynchronous packet called Read Response for Data Quadlet.
図3はRead Response for Data Quadletなる非同期パケットのフォーマットを示す図である。図3において、destination_ID201は、この場合、アイソクロナスパケットを受信するノードのノードIDとなる。
FIG. 3 is a diagram showing the format of an asynchronous packet called Read Response for Data Quadlet. In FIG. 3,
トランザクションラベル(tl)202は、図2に示すトランザクションラベル(tl)102と同様であるが、Responseパケット内のこのフィールドは先に受信したRequestパケット内のトランザクションラベル(tl)102を挿入する。リトライコード(rt)203及びプライオリティ(pri)205は、図2に示すリトライコード(rt)103及びプライオリティ(pri)105と同様である。 The transaction label (tl) 202 is the same as the transaction label (tl) 102 shown in FIG. 2, but this field in the Response packet inserts the transaction label (tl) 102 in the previously received Request packet. The retry code (rt) 203 and the priority (pri) 205 are the same as the retry code (rt) 103 and the priority (pri) 105 shown in FIG.
トランザクションコード(tcode)204は、Read Response for Data Quadletの(0110)である。source_ID206は、この場合、アイソクロナスを送信するノードのノードIDとなる。レスポンスコードを示すrcode207は、先に受信したRequestパケットにエラーがあればその内容を、正常に完了していれば、response_completeを示す「0000」を挿入する。
The transaction code (tcode) 204 is (0110) of Read Response for Data Quadlet. In this case, the
reserved208は予約領域であり、「000_0000_0000(16進法)」を挿入する。quadlet_data209は、先に受信したRequestパケット内に指定されたdestination_offset107にあるデータを挿入する。この場合、先のパケットにて「FFFF_F000_0400番地」を求めているので、コンフィグROM15の0番地、つまり、図8に示すinfo_length501からrom_crc_value502までの1クワドレットのデータが入る。
“reserved 208” is a reserved area, and “000 — 0000 — 0000 (hexadecimal)” is inserted. The
受信ノードは、上述した非同期パケットの送受信によってアイクロナスパケットの送信ノードからrom_crc_valueを獲得して識別情報格納部16に格納する。
The receiving node acquires rom_crc_value from the asynchronous packet transmitting node by transmitting and receiving the asynchronous packet described above, and stores it in the identification
これ以降に受信したアイクロナスパケットに関して、図4に示す処理動作にしたがって、アイクロナスパケットを受信する度に、パケットヘッダとCIPヘッダとの識別に加えて、rom_crc_valueを識別情報格納部16に保持された値(Source rom_crc_value)と比較することによって、より確実にパケットを識別することが可能となる。
With respect to the received asynchronous packets, the rom_crc_value is held in the identification
図4は本発明の一実施例によるアイクロナスパケットの識別処理を示すフローチャートである。これら図1〜図4を参照して本発明の一実施例によるアイクロナスパケットの識別処理について説明する。 FIG. 4 is a flowchart showing the identification process of the asynchronous packet according to one embodiment of the present invention. With reference to FIG. 1 to FIG. 4, the identification process of the asynchronous packet according to the embodiment of the present invention will be described.
リンク層1ではプラグが接続され(図4ステップS1)、アイソクロナスパケットを受信すると(図4ステップS2)、rom_crc_valueが取得済かどうかをチェックする(図4ステップS3)。 When a plug is connected in the link layer 1 (step S1 in FIG. 4) and an isochronous packet is received (step S2 in FIG. 4), it is checked whether or not rom_crc_value has been acquired (step S3 in FIG. 4).
リンク層1はrom_crc_valueが取得済であれば、rom_crc_valueが識別情報格納部16に保持された値と一致するかをチェックする(図4ステップS4)。
If rom_crc_value has been acquired, the
リンク層1はrom_crc_valueが識別情報格納部16に保持された値と一致すると、そのパケットのヘッダがOKであれば(図4ステップS5)、受信したパケットを受信データバッファ20に格納する(図4ステップS6)。
When the rom_crc_value matches the value held in the identification
また、リンク層1はrom_crc_valueが識別情報格納部16に保持された値と一致しなければ、あるいはそのパケットのヘッダがOKでなければ(図4ステップS5)、受信したパケットを破棄する(図4ステップS7)。
Further, the
一方、バスリセットが発生し、アイクロナスパケットの送信ノードの機能が追加、もしくは削除されてコンフィグROM15の内容が変わらない限り、rom_crc_valueは変化しないため、一度、rom_crc_valueを獲得しておけば、プラグが切断される等に起因されてアイクロナスパケットの受信を止めるまで、識別情報格納部16に保持された値は有効である。よって、従来の技術では識別できなかった同一チャネルのアイクロナスパケットを、この機能を使用することによって、識別することが可能となる。
On the other hand, rom_crc_value does not change unless the bus reset occurs and the contents of the
図5は本発明の一実施例においてアイクロナスパケット内にrom_crc_valueを格納した例を示す図である。図5において、この格納例では、CIPヘッダ304内に拡張のために予約されている(reserve)領域が殆どないため、rom_crc_value303はCIPヘッダ304の外に挿入されている。
FIG. 5 is a diagram illustrating an example in which rom_crc_value is stored in an asynchronous packet according to an embodiment of the present invention. In FIG. 5, in this storage example, the
このような場合、IEC61883で規定しているフォーマットに対して、パケットサイズが1クワドレット多くなるので、事前に送受信ノード間でAVCコマンド等によって、rom_crc_value303を挿入することを宣言する必要がある。 In such a case, the packet size increases by one quadlet with respect to the format defined in IEC61883, so it is necessary to declare in advance that rom_crc_value 303 is inserted between the transmitting and receiving nodes by an AVC command or the like.
図6は本発明の一実施例においてアイクロナスパケット内にrom_crc_valueを格納した他の例を示す図である。図6において、この格納例では、IEC61883−4(MPEG2−TS data transmission)で規定されているフォーマット内に挿入することを想定してあるが、この場合のように、reserve領域が16ビット以上ある場合には、そこにrom_crc_value303を挿入することによって、この機能をサポートしていない機器とも接続することが可能となる。また、rom_crc_value303の一部を使用すれば、16ビット以下のreserve領域への挿入も可能となる。
FIG. 6 is a diagram showing another example in which rom_crc_value is stored in an asynchronous packet in the embodiment of the present invention. In FIG. 6, in this storage example, it is assumed that the data is inserted into a format defined by IEC61883-4 (MPEG2-TS data transmission). However, as in this case, the reserve area has 16 bits or more. In some cases, it is possible to connect to a device that does not support this function by inserting
このように、本実施例では、アイクロナスパケット内にrom_crc_valueを挿入することによって、受信ノードがチャネルに加えて、そのフィールドが同じパケットのみを受信することによって、同一チャネルのほかのパケットを安全にフィルタリングすることができるという効果が得られる。 In this way, in this embodiment, by inserting rom_crc_value in the asynchronous packet, the receiving node receives only the packet having the same field in addition to the channel, so that other packets of the same channel can be safely transmitted. The effect that it can filter is acquired.
尚、本発明は上述した実施例に限定されず、本発明の技術思想の範囲内において、実施例が適宜変更され得ることは明らかである。 The present invention is not limited to the above-described embodiments, and it is obvious that the embodiments can be appropriately changed within the scope of the technical idea of the present invention.
1 リンク層
2 CPU
3 AVコーデック
4 物理層
11 ホストI/F
12 アプリケーションI/F
13 非同期パケットコントローラ
14 CSR
15 コンフィグレーションROM
16 識別情報格納部
17 パケット変換部
18 送信データバッファ
19 受信フィルタ
20 受信データバッファ
21 リンクコア
1
3
12 Application I / F
13
15 Configuration ROM
16 Identification
Claims (8)
前記送信元の識別情報を格納する手段は、前記アイソクロナスパケット内部の所定の領域に前記コンフィグレーション格納媒体内の識別情報を格納するとともに、所定プロトコルのヘッダを付加してパケット化することを特徴とする請求項1記載のパケット送受信装置。 Including a configuration storage medium for storing at least information indicating the characteristics and functions of the own node;
The means for storing the identification information of the transmission source stores the identification information in the configuration storage medium in a predetermined area inside the isochronous packet, and packetizes it by adding a header of a predetermined protocol. The packet transmitting / receiving apparatus according to claim 1.
前記送信元の識別情報を格納するステップは、前記アイソクロナスパケット内部の所定の領域に前記コンフィグレーション格納媒体内の識別情報を格納するとともに、所定プロトコルのヘッダを付加してパケット化することを特徴とする請求項5記載のパケット識別方法。 A configuration storage medium for storing at least information indicating the characteristics and functions of the own node is included in the packet transmitting / receiving apparatus,
The step of storing the identification information of the transmission source stores the identification information in the configuration storage medium in a predetermined area inside the isochronous packet, and adds a header of a predetermined protocol to packetize the packet. The packet identification method according to claim 5.
前記パケット送受信装置側に、前記アイソクロナスパケットの受信時に当該パケット内部の所定の領域から抜き出した識別情報と前記識別情報格納領域に保持された識別情報とを比較して前記送信元を確認するステップを含むことを特徴とする請求項5または請求項6記載のパケット識別方法。 The packet transmitting / receiving apparatus includes an identification information storage area that holds identification information of a transmission source in advance when receiving the isochronous packet,
The step of confirming the transmission source by comparing the identification information extracted from a predetermined area inside the packet with the packet transmission / reception apparatus side and the identification information held in the identification information storage area when the isochronous packet is received. The packet identification method according to claim 5 or 6, further comprising:
8. The packet identification method according to claim 5, wherein the identification information is at least part of rom_crc_value indicating a CRC (Cyclic Redundancy Check) value of data in a predetermined area set in advance. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004034354A JP4502653B2 (en) | 2004-02-12 | 2004-02-12 | Packet transmitting / receiving apparatus and packet identification method used therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004034354A JP4502653B2 (en) | 2004-02-12 | 2004-02-12 | Packet transmitting / receiving apparatus and packet identification method used therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005229230A true JP2005229230A (en) | 2005-08-25 |
JP4502653B2 JP4502653B2 (en) | 2010-07-14 |
Family
ID=35003617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004034354A Expired - Fee Related JP4502653B2 (en) | 2004-02-12 | 2004-02-12 | Packet transmitting / receiving apparatus and packet identification method used therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4502653B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11252137A (en) * | 1998-03-02 | 1999-09-17 | Canon Inc | Data communication system, equipment and method |
JP2002164898A (en) * | 2000-11-24 | 2002-06-07 | Matsushita Electric Ind Co Ltd | Data transmitter/receiver and method for data transmission/reception |
JP2002217907A (en) * | 2001-01-12 | 2002-08-02 | Pioneer Electronic Corp | Data transmission system, connection establishment method and information transmitting device |
JP2002217908A (en) * | 2001-01-12 | 2002-08-02 | Pioneer Electronic Corp | Data transmission system, connection recovery method and information transmission device |
JP2002268826A (en) * | 2001-03-13 | 2002-09-20 | Sony Corp | Device, method and system for processing information, recording medium and program |
-
2004
- 2004-02-12 JP JP2004034354A patent/JP4502653B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11252137A (en) * | 1998-03-02 | 1999-09-17 | Canon Inc | Data communication system, equipment and method |
JP2002164898A (en) * | 2000-11-24 | 2002-06-07 | Matsushita Electric Ind Co Ltd | Data transmitter/receiver and method for data transmission/reception |
JP2002217907A (en) * | 2001-01-12 | 2002-08-02 | Pioneer Electronic Corp | Data transmission system, connection establishment method and information transmitting device |
JP2002217908A (en) * | 2001-01-12 | 2002-08-02 | Pioneer Electronic Corp | Data transmission system, connection recovery method and information transmission device |
JP2002268826A (en) * | 2001-03-13 | 2002-09-20 | Sony Corp | Device, method and system for processing information, recording medium and program |
Also Published As
Publication number | Publication date |
---|---|
JP4502653B2 (en) | 2010-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4278439B2 (en) | Information communication apparatus, system thereof, method thereof, program thereof, and recording medium recording the program | |
US20020010824A1 (en) | Electronic equipment and method for processing digital serial data at bus initialization phase in interface unit | |
JPH11205363A (en) | Ieee 1394 device controller | |
US7187655B1 (en) | Information communication method and apparatus | |
US6823408B2 (en) | Electronic equipment, and method for controlling state of physical layer circuit therefor | |
KR100649340B1 (en) | Communication method, communication device, communication system and providing medium | |
US20010044861A1 (en) | Information processing apparatus, information processing method and bridge utilizing the same | |
US20050235328A1 (en) | Information processing method, information processing system and information processing apparatus | |
KR20010070112A (en) | Speed converter for IEEE-1394 serial bus network | |
US20020004711A1 (en) | Control device and control method | |
JP4502653B2 (en) | Packet transmitting / receiving apparatus and packet identification method used therefor | |
US7580420B2 (en) | Interface circuit connecting a device with a bridge portal function to a communication bus | |
US7352742B2 (en) | Method and apparatus for transmitting to an upper layer of information included in a packet | |
KR20020008033A (en) | Information processing apparatus and method of the same, and medium | |
US20050013252A1 (en) | Data rate setting apparatus, data rate setting method, data rate setting program, and information recording medium | |
US7043594B2 (en) | Local bus bridge | |
JP2002057683A (en) | Control equipment and control method | |
US8233407B2 (en) | Method for providing a table of station-specific information in a network of distributed stations, and network station for carrying out the method | |
JPH1155297A (en) | Transmission medium connection device and storage medium | |
KR100763716B1 (en) | Information control method, information processor, and information control system | |
JP2003229857A (en) | Serial bus system, device for managing band of serial bus, and communication equipment | |
JP4244474B2 (en) | Information processing apparatus and method | |
JP2006324869A (en) | Communication processing method and communication equipment for network system | |
JP3452001B2 (en) | Bus management method, recording medium for bus control program, and bus management device | |
JP2006134222A (en) | Information processor and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070111 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090324 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090525 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091222 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100201 |
|
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: 20100330 |
|
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: 20100420 |
|
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: 20130430 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130430 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140430 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |