JP2012244581A - Communication device, semiconductor device, and setting method for device id - Google Patents

Communication device, semiconductor device, and setting method for device id Download PDF

Info

Publication number
JP2012244581A
JP2012244581A JP2011115967A JP2011115967A JP2012244581A JP 2012244581 A JP2012244581 A JP 2012244581A JP 2011115967 A JP2011115967 A JP 2011115967A JP 2011115967 A JP2011115967 A JP 2011115967A JP 2012244581 A JP2012244581 A JP 2012244581A
Authority
JP
Japan
Prior art keywords
port
self
packet
signal
devices
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
JP2011115967A
Other languages
Japanese (ja)
Other versions
JP5729129B2 (en
Inventor
Nobuhiro Taki
宣広 滝
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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2011115967A priority Critical patent/JP5729129B2/en
Publication of JP2012244581A publication Critical patent/JP2012244581A/en
Application granted granted Critical
Publication of JP5729129B2 publication Critical patent/JP5729129B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To normally complete initialization of a network.SOLUTION: Master-slave relation of ports in processing devices 21 to 23 included in a reception device 13 are determined by topology construction of a network. The status of the processing devices 21 to 23 is set to either external connection status in which the port is connected to a device outside the reception device 13 or internal connection status in which the port is connected to a device inside the reception device 13, by terminals D0 and D1. A processing device having a master port in the external connection status transmits a self ID packet and acquires a device ID, in the case of receiving a permission signal from the master port of the external connection in a self identification sequence after the topology construction. A processing device having a master port in the internal connection status outputs a cancel signal to the master port, terminates the self identification sequence, and does not acquire the device ID, in the case of receiving a permission signal from the master port in the self identification sequence.

Description

通信装置、半導体装置、装置IDの設定方法に関する。   The present invention relates to a communication device, a semiconductor device, and a device ID setting method.

従来、CD等の再生装置やカメラ等のデジタルデータを送信する装置は、表示装置(モニタ)やスピーカなどの出力装置と接続される。このように接続される装置は、データ通信のためのシリアルインタフェースを備える。シリアルインタフェースは、例えば、IEEE1394規格のインタフェースである。   Conventionally, a playback device such as a CD or a device that transmits digital data such as a camera is connected to an output device such as a display device (monitor) or a speaker. The device connected in this way includes a serial interface for data communication. The serial interface is, for example, an IEEE 1394 standard interface.

近年、例えば、複数の表示装置に同じ画像を表示することと、互いに異なる映像を表示することを切替える等のように、出力に関する要望が多様化している。このため、複数の出力装置を接続し、受信したデジタルデータを出力装置に出力する受信装置が提案されている。   In recent years, for example, there has been a diversification of requests regarding output such as switching between displaying the same image on a plurality of display devices and displaying different images. For this reason, a receiving apparatus that connects a plurality of output apparatuses and outputs received digital data to the output apparatus has been proposed.

例えば、図28に示すように、受信装置200の半導体装置201は、上記のインタフェースを備える。インタフェースは、図示しない送信装置と接続され、互いを認識するために必要な認識番号(装置ID)を自動で取得する。例えば、半導体装置201のインタフェースは、「0」の装置IDを取得する。半導体装置201は、送信装置(ソース装置)から送信されるデータを受信する。この半導体装置201には、3つの表示装置202,203,204とスピーカ205が接続されている。半導体装置201は、各表示装置202〜204とスピーカ205に信号に出力する複数のインタフェースを備える。   For example, as illustrated in FIG. 28, the semiconductor device 201 of the reception device 200 includes the above-described interface. The interface is connected to a transmission device (not shown) and automatically acquires an identification number (device ID) necessary for recognizing each other. For example, the interface of the semiconductor device 201 acquires a device ID of “0”. The semiconductor device 201 receives data transmitted from a transmission device (source device). Three display devices 202, 203, 204 and a speaker 205 are connected to the semiconductor device 201. The semiconductor device 201 includes a plurality of interfaces that output signals to the display devices 202 to 204 and the speaker 205.

このように1つの半導体装置201に搭載された複数のインタフェースは、互いに影響しあい、半導体装置の安定動作を損なう場合がある。また、接続装置の種類や接続数が異なる場合、未使用のインタフェース(端子)が無駄となるため、用途に応じた半導体装置を用意する必要がある。このような用途別の半導体装置は、開発コストの上昇を招く。   As described above, a plurality of interfaces mounted on one semiconductor device 201 may affect each other and impair the stable operation of the semiconductor device. In addition, when the types of connection devices and the number of connections are different, unused interfaces (terminals) are wasted, so it is necessary to prepare a semiconductor device suitable for the application. Such a semiconductor device for each application causes an increase in development cost.

これに対し、図29に示す受信装置210は、シリアルインタフェースにより接続された複数の半導体装置211〜214を含む。各半導体装置211〜214は、出力装置(表示装置202〜204,スピーカ205)とそれぞれ接続される。このように、出力装置の種類や接続数に応じた半導体装置を、シリアルインタフェースを介して接続して受信装置を構成することにより、接続等の要望に容易に対応することができる。   On the other hand, the receiving device 210 shown in FIG. 29 includes a plurality of semiconductor devices 211 to 214 connected by a serial interface. Each of the semiconductor devices 211 to 214 is connected to an output device (display devices 202 to 204, speaker 205). In this manner, by connecting the semiconductor devices according to the type of output device and the number of connections via the serial interface to configure the receiving device, it is possible to easily meet the demand for connection and the like.

ところで、シリアルインタフェースを介して接続された複数の半導体装置211〜214は、互いを認識するために必要な認識番号(装置ID)を自動で取得する。つまり、各半導体装置211〜214は、互いに異なる装置IDを取得する。これにより、例えば出力装置の接続数が異なる受信装置を容易に構成することができる。   By the way, the plurality of semiconductor devices 211 to 214 connected via the serial interface automatically acquire recognition numbers (device IDs) necessary for recognizing each other. That is, each of the semiconductor devices 211 to 214 acquires a different device ID. As a result, for example, it is possible to easily configure receivers having different numbers of connected output devices.

上記のように、互いに異なる装置IDを取得した半導体装置211〜214は、シリアルインタフェースにより接続されたネットワークにおいて、個々の装置(ノード)として認識される。このため、受信装置210が接続されたネットワークは、受信装置210に含まれる半導体装置211〜214の数だけ、装置IDを取得する処理(装置認識処理)を繰り返すため、受信装置210を認識するために必要な時間が長くなる。また、このネットワークは、新たな装置の接続、又は装置の切り離しによってネットワークの構成を認識する、つまり装置IDを取得する処理を行う。そして、ネットワークを構成する装置は、外来ノイズ等により装置の切り離しと装置の接続を認識し、装置IDの自動的な取得を行うため、通信可能な状態となるまでの復帰時間が、図28に示す受信装置200が接続されたネットワークと比べて長い。   As described above, the semiconductor devices 211 to 214 that have acquired different device IDs are recognized as individual devices (nodes) in the network connected by the serial interface. For this reason, the network to which the receiving device 210 is connected repeats the process of acquiring device IDs (device recognition processing) as many as the number of semiconductor devices 211 to 214 included in the receiving device 210, so that the receiving device 210 is recognized. The time required for In addition, this network performs a process of recognizing the network configuration by connecting a new device or disconnecting a device, that is, obtaining a device ID. Since the devices constituting the network recognize the disconnection of the device and the connection of the device due to external noise or the like, and automatically acquire the device ID, the recovery time until the communication becomes possible is shown in FIG. This is longer than the network to which the receiving device 200 shown is connected.

上記のネットワークに接続可能な機器において、装置IDを取得しない技術が提案されている(例えば、特許文献1,2参照)。このように、装置IDを取得しないようにすることで、ネットワークに接続されたノード数の低減と、復帰時間の短縮を図ることが可能となる。   In devices that can be connected to the above-described network, technologies that do not acquire a device ID have been proposed (for example, see Patent Documents 1 and 2). Thus, by not acquiring the device ID, it is possible to reduce the number of nodes connected to the network and shorten the return time.

特開2001−339417号公報JP 2001-339417 A 特開2006−041762号公報Japanese Patent Laid-Open No. 2006-041762

ところで、上記のように装置IDを取得しない装置は、ネットワークアナライザのように、装置IDを取得する2つの装置間に挿入接続されるもの、即ち2つのポートにそれぞれ装置IDを取得する装置が接続される。このため、この装置自体がリーフ、つまり他の装置と接続されたポートが1つの場合、装置IDを取得する処理が正常に終了しなくなり、ネットワーク全体の通信ができなくなる虞がある。   By the way, as described above, a device that does not acquire a device ID is inserted and connected between two devices that acquire a device ID, such as a network analyzer, that is, a device that acquires a device ID is connected to each of two ports. Is done. For this reason, when the device itself is a leaf, that is, when there is one port connected to another device, the process for obtaining the device ID may not be completed normally and communication of the entire network may not be possible.

本発明の一観点によれば、通信装置は、外部装置とともにネットワークに含まれる複数の内部装置を有し、前記複数の内部装置のうちの1つの内部装置は、前記外部装置と接続されるポートと、前記複数の内部装置のうちの他の内部装置と接続されたポートを有し、前記複数の内部装置はそれぞれ、トポロジ構築後の自己識別シーケンスにおいて、前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得し、内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、前記自己識別シーケンスを終了する物理層制御回路を有する。   According to an aspect of the present invention, a communication device includes a plurality of internal devices included in a network together with an external device, and one internal device of the plurality of internal devices is a port connected to the external device. And ports connected to other internal devices of the plurality of internal devices, each of the plurality of internal devices being a parent and child of the ports determined by the topology construction in a self-identification sequence after the topology construction. Based on the relationship and the connection information corresponding to the determined port, when a permission signal is received from the parent port of the external connection, a self ID packet is transmitted to obtain a device ID, and from the parent port of the internal connection When the permission signal is received, the physical layer control circuit outputs a cancel signal to the parent port and ends the self-identification sequence.

本発明の一観点によれば、ネットワークの初期化を正常に終了することが可能となる。   According to one aspect of the present invention, it is possible to finish network initialization normally.

ネットワークを示すブロック図である。It is a block diagram which shows a network. コントローラの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a controller. アービトレーション制御部の動作状態を示す説明図である。It is explanatory drawing which shows the operation state of an arbitration control part. 自己識別シーケンスにおける状態遷移の説明図である。It is explanatory drawing of the state transition in a self-identification sequence. 状態S1における処理を示すフローチャートである。It is a flowchart which shows the process in state S1. 状態S5における処理を示すフローチャートである。It is a flowchart which shows the process in state S5. (a)〜(g)は自己識別シーケンスの説明図である。(A)-(g) is explanatory drawing of a self-identification sequence. (a)〜(f)は自己識別シーケンスの説明図である。(A)-(f) is explanatory drawing of a self-identification sequence. (a)〜(g)は自己識別シーケンスの説明図である。(A)-(g) is explanatory drawing of a self-identification sequence. (a),(b)は自己識別シーケンスの説明図である。(A), (b) is explanatory drawing of a self-identification sequence. (a)〜(g)は自己識別シーケンスの説明図である。(A)-(g) is explanatory drawing of a self-identification sequence. (a)〜(e)は自己識別シーケンスの説明図である。(A)-(e) is explanatory drawing of a self-identification sequence. コントローラの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a controller. 子ポート数演算部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a child port number calculating part. セルフIDパケットのデータフォーマットを示す説明図である。It is explanatory drawing which shows the data format of a self ID packet. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. (a)〜(d)は自己識別シーケンスの説明図である。(A)-(d) is explanatory drawing of a self-identification sequence. 自己識別シーケンスの説明図である。It is explanatory drawing of a self-identification sequence. ネットワークを示すブロック図である。It is a block diagram which shows a network. セルフIDパケットのデータフォーマットを示す説明図である。It is explanatory drawing which shows the data format of a self ID packet. 従来の通信装置を示すブロック図である。It is a block diagram which shows the conventional communication apparatus. 従来の通信装置を示すブロック図である。It is a block diagram which shows the conventional communication apparatus.

(第一実施形態)
以下、第一実施形態を図1〜図12に従って説明する。
図1に示すように、ネットワークは、2つの送信装置(ソース装置)11,12と1つの受信装置(シンク装置)13を有している。送信装置11は、未接続状態のポート11aと、ケーブル14を介して受信装置13のポート13aと接続されたポート11bを有している。同様に、送信装置12は、ケーブル15を介して受信装置13のポート13bと接続されたポート12aと、未接続状態のポート12bとを有している。
(First embodiment)
The first embodiment will be described below with reference to FIGS.
As shown in FIG. 1, the network includes two transmission devices (source devices) 11 and 12 and one reception device (sink device) 13. The transmission device 11 has an unconnected port 11 a and a port 11 b connected to the port 13 a of the reception device 13 via the cable 14. Similarly, the transmission device 12 has a port 12a connected to the port 13b of the reception device 13 via the cable 15 and a port 12b in an unconnected state.

送信装置11,12は、映像データや音声データ等のデジタルデータを送信する装置、例えばパーソナルコンピュータ、ハードディスク装置(HDD)、レコーダ、プリンタ、デジタルカメラ等である。各送信装置11,12は、所定の規格(例えば、IEEE1394規格)に対応するコントローラ(IEEE1394プロトコルコントローラ(IPC:IEEE1394 Protcol Controller))を有している。各送信装置11,12のコントローラは、所定の規格に従って他の装置とシリアル通信する。送信装置11,12はそれぞれ、映像データや音声データを送信する。なお、以下の説明において、各送信装置11,12が通信を行うように説明する。   The transmission devices 11 and 12 are devices that transmit digital data such as video data and audio data, such as a personal computer, a hard disk device (HDD), a recorder, a printer, and a digital camera. Each of the transmission apparatuses 11 and 12 has a controller (IEEE 1394 protocol controller (IPC)) corresponding to a predetermined standard (for example, the IEEE 1394 standard). The controllers of the transmission devices 11 and 12 serially communicate with other devices according to a predetermined standard. The transmission devices 11 and 12 transmit video data and audio data, respectively. In the following description, the transmission devices 11 and 12 will be described so as to perform communication.

受信装置13には、表示装置16,17とスピーカ18が接続されている。表示装置16,17は、例えば液晶表示パネル(LCD:Liquid Crysatl Display)である。表示装置16,17及びスピーカ18は出力装置の一例である。受信装置13は、出力装置がそれぞれ接続された処理装置21〜23を有している。表示装置16は処理装置21に接続され、表示装置17は処理装置22に接続され、スピーカ18は処理装置23に接続されている。処理装置21〜23は例えばプリント配線板(PCB)24に実装されている。各処理装置21〜23は、受信したデータを、対応する出力装置16〜18に出力する。   Display devices 16 and 17 and a speaker 18 are connected to the receiving device 13. The display devices 16 and 17 are, for example, liquid crystal display panels (LCD: Liquid Crystal Display). The display devices 16 and 17 and the speaker 18 are examples of output devices. The receiving device 13 includes processing devices 21 to 23 to which output devices are respectively connected. The display device 16 is connected to the processing device 21, the display device 17 is connected to the processing device 22, and the speaker 18 is connected to the processing device 23. The processing devices 21 to 23 are mounted on a printed wiring board (PCB) 24, for example. Each of the processing devices 21 to 23 outputs the received data to the corresponding output devices 16 to 18.

各処理装置21〜23は、送信装置11,12と同様に、所定の規格(例えば、IEEE1394規格)に対応するコントローラ(IEEE1394プロトコルコントローラ(IPC:IEEE1394 Protcol Controller))を有している。従って、各処理装置21〜23と送信装置11,12はそれぞれ、所定の規格(IEEE1394規格)のネットワークに含まれる装置(ノード)として機能する。各処理装置21〜23のコントローラは、所定の規格に従って他の装置とシリアル通信する。処理装置21〜23はそれぞれ、受信した映像データや音声データを、対応する出力装置に出力する。なお、以下の説明において、各処理装置21〜23が通信を行うように説明することがある。また、送信装置及び通信装置(処理装置)を単にノードとして説明することがある。   Each of the processing devices 21 to 23 has a controller (IEEE 1394 protocol controller (IPC: IEEE 1394 Protocol Controller)) corresponding to a predetermined standard (for example, IEEE 1394 standard), similarly to the transmission devices 11 and 12. Accordingly, each of the processing devices 21 to 23 and the transmission devices 11 and 12 function as devices (nodes) included in a network of a predetermined standard (IEEE1394 standard). The controllers of the processing devices 21 to 23 perform serial communication with other devices according to a predetermined standard. Each of the processing devices 21 to 23 outputs the received video data and audio data to a corresponding output device. In the following description, the processing devices 21 to 23 may be described to perform communication. Further, the transmission device and the communication device (processing device) may be described simply as nodes.

処理装置21〜23はそれぞれ、上記所定の規格に対応する2つのポートP0,P1を有している。第1の処理装置21のポートP0は、プリント配線板24に形成された配線24aと、受信装置13外部の伝送路であるケーブル14を介して送信装置11に接続されている。第1の処理装置21のポートP1は、装置内部の伝送路、例えばプリント配線板24に形成された配線24bを介して第2の処理装置22のポートP0に接続されている。第2の処理装置22のポートP1は、装置内部の伝送路(プリント配線板24に形成された配線24c)を介して第3の処理装置23のポートP0に接続されている。第3の処理装置23のポートP1は、プリント配線板24に形成された配線24dと、受信装置13外部の伝送路であるケーブル15を介して送信装置12に接続されている。   Each of the processing devices 21 to 23 has two ports P0 and P1 corresponding to the predetermined standard. The port P0 of the first processing device 21 is connected to the transmission device 11 via a wiring 24a formed on the printed wiring board 24 and a cable 14 that is a transmission path outside the reception device 13. The port P1 of the first processing device 21 is connected to the port P0 of the second processing device 22 via a transmission path inside the device, for example, a wiring 24b formed on the printed wiring board 24. The port P1 of the second processing device 22 is connected to the port P0 of the third processing device 23 via a transmission path inside the device (wiring 24c formed on the printed wiring board 24). The port P <b> 1 of the third processing device 23 is connected to the transmission device 12 via a wiring 24 d formed on the printed wiring board 24 and a cable 15 that is a transmission path outside the reception device 13.

つまり、第1の処理装置21のポートP0と第3の処理装置23のポートP1は、受信装置13外部の伝送路に接続される外部接続ポートである。そして、第1の処理装置21のポートP1と、第2の処理装置22のポートP0,P1と、第3の処理装置23のポートP0は、受信装置13内部の伝送路(配線)と接続された内部接続ポートである。   That is, the port P0 of the first processing device 21 and the port P1 of the third processing device 23 are external connection ports connected to a transmission path outside the receiving device 13. The port P1 of the first processing device 21, the ports P0 and P1 of the second processing device 22, and the port P0 of the third processing device 23 are connected to the transmission path (wiring) inside the receiving device 13. Internal connection port.

また、各処理装置21〜23はそれぞれ、ポートP0,P1に対応する設定端子D0,D1を有している。各処理装置21〜23の設定端子D0,D1は、ポートP0,P1の接続状態に応じてプルアップ又はプルダウンされている。例えば、外部の伝送路と接続されるポートに対応する設定端子はプルアップされ、外部の伝送路と接続されないポートに対応する設定端子はプルダウンされる。   In addition, each of the processing devices 21 to 23 has setting terminals D0 and D1 corresponding to the ports P0 and P1, respectively. The setting terminals D0 and D1 of the processing devices 21 to 23 are pulled up or pulled down according to the connection state of the ports P0 and P1. For example, a setting terminal corresponding to a port connected to an external transmission path is pulled up, and a setting terminal corresponding to a port not connected to an external transmission path is pulled down.

従って、第1の処理装置21のポートP0は、受信装置13外部の装置(送信装置11)と接続され、ポートP1は受信装置13内部の装置(処理装置22)と接続される。これらに対し、第1の処理装置21の設定端子D0はプルアップされ、設定端子D1はプルダウンされている。同様に、第2の処理装置22のポートP0,P1は内部の装置(処理装置21,23)にそれぞれ接続され、設定端子D0,D1はプルダウンされている。また、第3の処理装置23のポートP0は内部の装置(処理装置22)に接続され、ポートP1は外部の装置(送信装置12)に接続されている。従って、第3の処理装置23の設定端子D0はプルダウンされ、設定端子D1はプルアップされている。   Accordingly, the port P0 of the first processing device 21 is connected to a device (transmission device 11) outside the reception device 13, and the port P1 is connected to a device (processing device 22) inside the reception device 13. On the other hand, the setting terminal D0 of the first processing device 21 is pulled up, and the setting terminal D1 is pulled down. Similarly, the ports P0 and P1 of the second processing device 22 are connected to internal devices (processing devices 21 and 23), respectively, and the setting terminals D0 and D1 are pulled down. The port P0 of the third processing device 23 is connected to an internal device (processing device 22), and the port P1 is connected to an external device (transmitting device 12). Accordingly, the setting terminal D0 of the third processing device 23 is pulled down and the setting terminal D1 is pulled up.

各処理装置21〜23は、それぞれ設定端子D0,D1の状態(電圧レベル)に基づいて、対応するポートP0,P1の接続状態が、外部接続状態か内部接続状態かを判定する。そして、各処理装置21〜23はそれぞれ、バスのコンフィグレーションにおいて、ポートP0,P1の接続状態等に基づいて、自装置の状態(ノードID)を設定する。   Each of the processing devices 21 to 23 determines whether the connection state of the corresponding ports P0 and P1 is an external connection state or an internal connection state based on the state (voltage level) of the setting terminals D0 and D1, respectively. Then, each of the processing devices 21 to 23 sets its own device state (node ID) based on the connection state of the ports P0 and P1 in the bus configuration.

バスのコンフィグレーションは、バス初期化(Bus−Initialize)、ツリー識別(Tree−Identfy)、自己識別(Self−Identfy)の各フェーズを含む。   The bus configuration includes phases of bus initialization (Bus-Initialize), tree identification (Tree-Identify), and self-identification (Self-Identify).

バス初期化フェーズにおいて、バスリセットが発生し、すべてのノード(送信装置11,12及び処理装置21〜23)はトポロジに関する情報を消去する。
次いで、ツリー識別フェーズにおいて、各ノードは、各ノード間の親子関係を設定する。そして、接続形態等に応じて任意のノードがルートノード(許可装置)に決定される。次いで、自己識別フェーズにおいて、送信装置11,12は、所定のシーケンスに従って、それぞれ装置ID(ノードID)を取得する。例えば、図1に示すように、送信装置11は「1」の装置IDを取得し、送信装置12は「0」の装置IDを取得する。
In the bus initialization phase, a bus reset occurs, and all the nodes (the transmission devices 11 and 12 and the processing devices 21 to 23) erase the information regarding the topology.
Next, in the tree identification phase, each node sets a parent-child relationship between the nodes. Then, an arbitrary node is determined as a root node (permitted device) according to the connection form and the like. Next, in the self-identification phase, the transmission devices 11 and 12 each acquire a device ID (node ID) according to a predetermined sequence. For example, as illustrated in FIG. 1, the transmission device 11 acquires a device ID “1”, and the transmission device 12 acquires a device ID “0”.

処理装置21〜23は、ノードの決定(ルートノードか否か)、各ポートP0,P1の接続状態(外部接続状態,内部接続状態)、各ポートの親子関係(親ポート:Parent Port,子ポート:Child Port)に応じて、自己識別フェーズの処理を実行する。この自己識別フェーズにおいて、処理装置21〜23のうち、1つのノードが装置IDを取得し、他の2つのノードは装置IDを取得しない。   The processing devices 21 to 23 determine the node (whether or not it is a root node), the connection state of each port P0, P1 (external connection state, internal connection state), and the parent-child relationship of each port (parent port: Parent Port, child port) : Child Port), the self-identification phase process is executed. In this self-identification phase, one of the processing devices 21 to 23 acquires the device ID, and the other two nodes do not acquire the device ID.

自己識別フェーズにおける処理は、以下の(a)〜(e)を含む。
(a)内部接続状態の親ポートから許可信号(Grant信号)を受信した場合、受信した親ポートに対してキャンセル信号(Cancel信号)を出力し、装置IDの取得を行わない。
The process in the self-identification phase includes the following (a) to (e).
(A) When a permission signal (Grant signal) is received from the parent port in the internal connection state, a cancel signal (Cancel signal) is output to the received parent port, and the device ID is not acquired.

(b)外部接続状態の親ポートからGrant信号を受信した場合は、セルフIDパケットを送信して装置IDを取得する。
(c)子ポートからCancel信号を受信した場合、その子ポートの識別(Identify)を完了する。なお、子ポートにおけるIdentifyの完了は、「非接続状態」、「Identifyの完了を示すIdent_done信号の受信」「Grant信号に対するCancel信号の受信」を含む。
(B) When a Grant signal is received from a parent port in an external connection state, a device ID is acquired by transmitting a self ID packet.
(C) When the Cancel signal is received from the child port, the identification (Identify) of the child port is completed. The completion of Identify in the child port includes “not connected state”, “reception of an Identity_done signal indicating completion of Identify”, and “reception of a Cancel signal for the Grant signal”.

(d)複数の子ポートを持つノードにおいて、Identifyが完了していない1つの子ポートからGrant信号を出力するとき、Identifyが完了していない他の子ポートにIdle信号を出力する。その後、Grant信号を出した子ポートからData_Prefix信号またはセルフIDパケットを受信した後、Identifyが完了していない他の子ポートに受信した信号(Data_Prefix信号又はセルフIDパケット)を出力する。Identifyが完了していない1つの子ポートからGrant信号を出力するとき、Identifyが完了している他の子ポートに対してData_Prefix信号を出力する。   (D) In a node having a plurality of child ports, when a Grant signal is output from one child port whose Identity has not been completed, an Idle signal is output to another child port whose Identity has not been completed. Thereafter, after receiving the Data_Prefix signal or the self ID packet from the child port that has issued the Grant signal, the received signal (Data_Prefix signal or self ID packet) is output to another child port that has not completed Identity. When a Grant signal is output from one child port whose Identity has not been completed, a Data_Prefix signal is output to another child port whose Identity has been completed.

(e)ルートノード(すべてのポートが子ポート)の場合は、セルフIDパケットを送信して装置IDを取得する。
上記(a)〜(e)の処理を含む自己識別フェーズを終了した処理装置21〜23は、例えば処理装置21は装置ID(=2)を持ち、処理装置22,23は装置IDを持たない(ID=non)。これにより、受信装置13は、1つの処理装置21が取得した装置ID(図1においてID=2)を有するノードとしてネットワーク中に存在することになる。
(E) In the case of a root node (all ports are child ports), a self ID packet is transmitted to obtain a device ID.
For example, in the processing devices 21 to 23 that have completed the self-identification phase including the processes (a) to (e), the processing device 21 has a device ID (= 2), and the processing devices 22 and 23 do not have a device ID. (ID = non). As a result, the receiving device 13 exists in the network as a node having the device ID (ID = 2 in FIG. 1) acquired by one processing device 21.

即ち、図1に示すネットワークは、3つのノード(送信装置11,12及び処理装置21)が装置IDをそれぞれ取得する。従って、すべてのノードが装置IDを取得する場合と比べ、バスのコンフィグレーションが短い時間で終了する。従って、例えばバスリセットが発生してから通信可能な状態となるまでの復帰時間が短くなる。   That is, in the network shown in FIG. 1, three nodes (transmission apparatuses 11 and 12 and processing apparatus 21) each acquire an apparatus ID. Therefore, the bus configuration is completed in a shorter time than when all the nodes acquire the device ID. Therefore, for example, the return time from when a bus reset occurs until communication is possible is shortened.

装置IDを取得した処理装置(ノード)は、自装置と装置IDの取得をキャンセルした処理装置に対しチャネルを設定し、設定したチャネル番号を送信装置11,12に通知する。送信装置11,12は、それぞれ設定されたチャネル番号とデータを含むデータパケットを送信する。処理装置21〜23は、自己のチャネル番号を含むデータパケットを受け取り、データパケットに含まれるデータを、接続された装置(図1では表示装置16,17、スピーカ18)に出力する。   The processing device (node) that has acquired the device ID sets a channel for the processing device that has canceled the acquisition of the device ID and its own device, and notifies the transmission devices 11 and 12 of the set channel number. The transmission devices 11 and 12 transmit data packets including the set channel number and data, respectively. The processing devices 21 to 23 receive a data packet including its own channel number, and output the data included in the data packet to connected devices (display devices 16 and 17 and speaker 18 in FIG. 1).

各処理装置21〜23は互いに他の装置から独立しているため、それぞれの装置21〜23に含まれるインタフェースは、互いに干渉しない。このため、個々の処理装置21〜23に含まれる回路をそれぞれ独立して設計・開発・動作確認を行うことができる。   Since the processing devices 21 to 23 are independent from each other, the interfaces included in the respective devices 21 to 23 do not interfere with each other. Therefore, the circuits included in the individual processing devices 21 to 23 can be independently designed, developed, and checked for operation.

次に、コントローラの構成例を説明する。
図2に示すコントローラ30は、例えば図1に示す処理装置21に含まれる。コントローラ30は、処理装置21のポートP0に対応するポート回路40a(1394Port0と表記)と、ポートP1に対応するポート回路40b(1394Port1と表記)とを有している。
Next, a configuration example of the controller will be described.
The controller 30 illustrated in FIG. 2 is included in the processing device 21 illustrated in FIG. 1, for example. The controller 30 includes a port circuit 40a (denoted as 1394 Port0) corresponding to the port P0 of the processing device 21 and a port circuit 40b (denoted as 1394 Port1) corresponding to the port P1.

ポート回路40a内の受信回路41は、1394バス(図1に示す配線24a及びバスケーブル14)を介して相手ノード(送信装置11)と接続されている。この受信回路41は、送信装置11から受信する電気信号を装置内部で扱う電気信号に変換して物理層制御回路50に出力する。受信回路41は、送信装置11から受信するパケットデータ(セルフIDパケットやアイソクロナスパケット等)を物理層制御回路50のデータ再同期部51に出力するレシーバ回路41aと、送信装置11から受信するアービトレーション信号を物理層制御回路50のアービトレーション制御部52に出力するレシーバ回路41bとを有している。   The receiving circuit 41 in the port circuit 40a is connected to the counterpart node (transmitting device 11) via the 1394 bus (the wiring 24a and the bus cable 14 shown in FIG. 1). The reception circuit 41 converts an electrical signal received from the transmission device 11 into an electrical signal handled inside the device and outputs the electrical signal to the physical layer control circuit 50. The reception circuit 41 includes a receiver circuit 41 a that outputs packet data (such as a self ID packet or an isochronous packet) received from the transmission device 11 to the data resynchronization unit 51 of the physical layer control circuit 50, and an arbitration signal received from the transmission device 11. Is received by the arbitration control unit 52 of the physical layer control circuit 50.

ポート回路40a内の送信回路42は、物理層制御回路50から入力される電気信号を、IEEE1394規格の電気信号に変換して送信装置11に送信する。送信回路42では、出力制御部42aが、物理層制御回路50から入力されるパケットデータ又はアービトレーション制御部52から入力されるアービトレーション制御信号のいずれか一方を選択し、ドライバ回路42bを通じて送信装置11に出力する。   The transmission circuit 42 in the port circuit 40 a converts the electrical signal input from the physical layer control circuit 50 into an electrical signal of the IEEE 1394 standard and transmits it to the transmission device 11. In the transmission circuit 42, the output control unit 42a selects either the packet data input from the physical layer control circuit 50 or the arbitration control signal input from the arbitration control unit 52, and sends it to the transmission device 11 through the driver circuit 42b. Output.

なお、図1に示す処理装置22と接続されるポート回路40bは、ポート回路40aと同様の構成を有しているため、同一の部材にそれぞれ同一の符号を付して示し、それら各要素についての説明を省略する。   Since the port circuit 40b connected to the processing device 22 shown in FIG. 1 has the same configuration as the port circuit 40a, the same members are denoted by the same reference numerals, and each of these elements is shown. The description of is omitted.

物理層制御回路50は、バスの状態モニタ、バスリセット発生時のバスのコンフィグレーション、スピードシグナリングやアービトレーションなどを行う。なお、バスのコンフィグレーション(バスリセットシーケンス)では、トポロジ中のすべてのノードのバスに関する情報の初期化と、ルートノードの決定と、各ノードの物理ID(ノードID)の決定と、ノードIDを通知するためのセルフIDパケットの送信とが行われる。また、この物理層制御回路50は、ポート回路40a,40bから入力される電気信号をリンク層が扱う論理信号に変換し、インタフェース回路(PHY−Link Interface)60を通じてリンク層に出力する。一方、物理層制御回路50は、リンク層からインタフェース回路60を通じて入力される論理信号を電気信号に変換してポート回路40a,40bに出力する。なお、リンク層では、データCRCやヘッダCRCの生成、CRCチェックやパケットの送受信制御が行われる。ポート回路40a,40b、物理層制御回路50及びインタフェース回路60は、物理層回路に含まれる。   The physical layer control circuit 50 performs bus status monitoring, bus configuration when a bus reset occurs, speed signaling, arbitration, and the like. In the bus configuration (bus reset sequence), initialization of information related to the buses of all nodes in the topology, determination of the root node, determination of the physical ID (node ID) of each node, and node ID are set. A self ID packet for notification is transmitted. In addition, the physical layer control circuit 50 converts electrical signals input from the port circuits 40 a and 40 b into logic signals handled by the link layer, and outputs the logical signals to the link layer through the interface circuit (PHY-Link Interface) 60. On the other hand, the physical layer control circuit 50 converts a logical signal input from the link layer through the interface circuit 60 into an electrical signal and outputs the electrical signal to the port circuits 40a and 40b. In the link layer, data CRC and header CRC generation, CRC check, and packet transmission / reception control are performed. The port circuits 40a and 40b, the physical layer control circuit 50, and the interface circuit 60 are included in the physical layer circuit.

物理層制御回路50のデータ再同期部51は、アービトレーション制御部52からの制御信号に応答して、各レシーバ回路41aからの受信パケットデータをリンク層が扱う論理信号に変換してシリアルパラレル変換部53に出力する。また、データ再同期部51は、受信パケットデータをリピート転送するためにリピートデータとして選択回路56に出力する。データ再同期部51は、受信パケットデータの終了を示す終了信号(End of Packet)をアービトレーション制御部52に出力する。   In response to the control signal from the arbitration control unit 52, the data resynchronization unit 51 of the physical layer control circuit 50 converts the received packet data from each receiver circuit 41a into a logic signal handled by the link layer, and a serial / parallel conversion unit. To 53. Further, the data resynchronization unit 51 outputs the received packet data to the selection circuit 56 as repeat data in order to repeat transfer. The data resynchronization unit 51 outputs an end signal (End of Packet) indicating the end of the received packet data to the arbitration control unit 52.

シリアルパラレル変換部53は、データ再同期部51から入力される論理信号(シリアルデータ)をパラレルデータに変換してインタフェース回路60を介してリンク層回路に出力する。インタフェース回路60は、リンク層回路から出力されるパケットデータ(アイソクロナスパケット等)を選択回路55に出力する。   The serial / parallel converter 53 converts the logic signal (serial data) input from the data resynchronizer 51 into parallel data, and outputs the parallel data to the link layer circuit via the interface circuit 60. The interface circuit 60 outputs packet data (such as an isochronous packet) output from the link layer circuit to the selection circuit 55.

選択回路55には、SelfIDパケット生成部(パケット生成部)57からセルフIDパケットが供給される。選択回路55は、アービトレーション制御部52から入力される選択信号に応じて、パケットデータとセルフIDパケットとのいずれか一方を選択し、パラレルシリアル変換部54に出力する。   The selection circuit 55 is supplied with a self ID packet from a Self ID packet generator (packet generator) 57. The selection circuit 55 selects one of the packet data and the self ID packet according to the selection signal input from the arbitration control unit 52 and outputs the selected packet data to the parallel-serial conversion unit 54.

パラレルシリアル変換部54は、パケットデータ又はセルフIDパケットをシリアルデータに変換して送信パケットデータとして選択回路56に出力する。
選択回路56は、アービトレーション制御部52から入力される選択信号に応じて、パラレルシリアル変換部54からの送信パケットデータ又はデータ再同期部51からのリピートデータのいずれか一方を選択し、上記出力制御部42aに出力する。
The parallel-serial conversion unit 54 converts the packet data or the self ID packet into serial data and outputs it as transmission packet data to the selection circuit 56.
The selection circuit 56 selects either the transmission packet data from the parallel-serial conversion unit 54 or the repeat data from the data resynchronization unit 51 in accordance with the selection signal input from the arbitration control unit 52, and performs the above output control. To the unit 42a.

アービトレーション制御部52は、物理層のメインコントローラである。このアービトレーション制御部52には、各レシーバ回路41bからのアービトレーション信号、データ再同期部51からの終了信号が入力される。そして、アービトレーション制御部52は、これらの信号に基づいて、リンク層からのアービトレーションのリクエストに対する応答、各ポート回路40a,40bの管理及び制御、バスのリセット及びコンフィグレーションなどを行う。   The arbitration control unit 52 is a main controller in the physical layer. An arbitration signal from each receiver circuit 41 b and an end signal from the data resynchronization unit 51 are input to the arbitration control unit 52. Based on these signals, the arbitration control unit 52 performs a response to an arbitration request from the link layer, manages and controls each of the port circuits 40a and 40b, resets and configures the bus.

アービトレーション制御部52は、パケット生成部57にバスリセット信号(BusReset)を出力する。また、アービトレーション制御部52は、自ノードのセルフIDパケットの送信が許可されたことを示す送信許可信号(SelfID_TX)と、他ノードからセルフIDパケットを受信したことを示す受信信号(SelfID_RX)とを、パケット生成部57に出力する。   The arbitration control unit 52 outputs a bus reset signal (BusReset) to the packet generation unit 57. Further, the arbitration control unit 52 generates a transmission permission signal (SelfID_TX) indicating that transmission of the self ID packet of the own node is permitted, and a reception signal (SelfID_RX) indicating that the self ID packet has been received from another node. And output to the packet generator 57.

パケット生成部57は、セルフIDパケット(self−ID packet)を生成する。そして、パケット生成部57は、セルフIDパケットの数をカウントしたカウンタ値を記憶している。パケット生成部57は、バスリセット信号(BusReset)に応答してカウント値をクリア(=0)する。パケット生成部57は、受信信号(SelfID_RX)に応答してカウント値をインクリメント(+1)する。そして、パケット生成部57は、送信許可信号(SelfID_TX)に応答して、カウント値を設定した装置ID(Physical node ID)を含むセルフIDパケット(self−ID packet)を生成する。このように生成されたセルフIDパケットは、上記送信回路42等を通じて他ノードにブロードキャスト送信される。   The packet generator 57 generates a self-ID packet (self-ID packet). The packet generator 57 stores a counter value obtained by counting the number of self ID packets. The packet generator 57 clears the count value (= 0) in response to the bus reset signal (BusReset). The packet generator 57 increments (+1) the count value in response to the received signal (SelfID_RX). Then, in response to the transmission permission signal (SelfID_TX), the packet generation unit 57 generates a self ID packet (self-ID packet) including a device ID (Physical node ID) in which the count value is set. The self ID packet generated in this way is broadcast to other nodes through the transmission circuit 42 and the like.

アービトレーション制御部52は、図1に示す設定端子D0の接続に応じたレベルの接続情報信号SD0と、設定端子D1の接続に応じたレベルの接続情報信号SD1を入力する。接続情報信号SD0は、図1に示すポートP0、即ち図2に示すポート回路40aに対応し、その信号SD0のレベルはポート回路40aの接続状態を示す。同様に、接続情報信号SD1は、図1に示すポートP1、即ち図2に示すポート回路40bに対応し、その信号SD1のレベルはポート回路40bの接続状態を示す。   The arbitration control unit 52 inputs the connection information signal SD0 having a level corresponding to the connection of the setting terminal D0 and the connection information signal SD1 having a level corresponding to the connection of the setting terminal D1 shown in FIG. The connection information signal SD0 corresponds to the port P0 shown in FIG. 1, that is, the port circuit 40a shown in FIG. 2, and the level of the signal SD0 indicates the connection state of the port circuit 40a. Similarly, the connection information signal SD1 corresponds to the port P1 shown in FIG. 1, that is, the port circuit 40b shown in FIG. 2, and the level of the signal SD1 indicates the connection state of the port circuit 40b.

アービトレーション制御部52は、接続情報信号SD0のレベルに基づいて、対応するポート回路40a(図1に示すポートP0)の接続状態を判定する。図1に示すように、設定端子D0は、受信装置13外部の送信装置11に接続されたポートP0に対応してプルアップされる。設定端子D1は、受信装置13内部の処理装置22に接続されたポートP1に対応してプルダウンされる。従って、図2に示すアービトレーション制御部52は、Hレベルの接続情報信号SD0に基づいて、ポート回路40aが、外部接続状態にあると判定する。また、アービトレーション制御部52は、Lレベルの接続情報信号SD1に基づいて、ポート回路40bが、内部接続状態にあると判定する。そして、アービトレーション制御部52は、各ポート回路40a,40bの接続状態に基づいて、ネットワークの初期化を行うシーケンスのうち、自己識別シーケンスを実行する。   The arbitration control unit 52 determines the connection state of the corresponding port circuit 40a (port P0 shown in FIG. 1) based on the level of the connection information signal SD0. As shown in FIG. 1, the setting terminal D0 is pulled up corresponding to the port P0 connected to the transmission device 11 outside the reception device 13. The setting terminal D1 is pulled down corresponding to the port P1 connected to the processing device 22 inside the receiving device 13. Therefore, the arbitration control unit 52 shown in FIG. 2 determines that the port circuit 40a is in the external connection state based on the connection information signal SD0 at the H level. Further, the arbitration control unit 52 determines that the port circuit 40b is in the internal connection state based on the L level connection information signal SD1. Then, the arbitration control unit 52 executes a self-identification sequence among the sequences for initializing the network based on the connection state of the port circuits 40a and 40b.

次に、アービトレーション制御部52の動作の概略を説明する。
図3に示すように、アービトレーション制御部52は、リセットやタイムアウトの発生、または1394バスの初期化信号であるバスリセット(BusReset)信号を受信すると、1394バスを初期化するバスリセット(BusReset)シーケンスを開始する。バスリセットシーケンスでは、R0:Reset StartとR1:Reset Waitの2つの状態が定義されている。ネットワーク全体が初期化シーケンスに入ったことを確認すると、トポロジの構築を行うツリー識別(Tree−Identify)シーケンスに進む。
Next, an outline of the operation of the arbitration control unit 52 will be described.
As shown in FIG. 3, the arbitration control unit 52 initializes the 1394 bus when a reset or timeout occurs or a bus reset (BusReset) signal that is an initialization signal of the 1394 bus is received. To start. In the bus reset sequence, two states of R0: Reset Start and R1: Reset Wait are defined. When it is confirmed that the entire network has entered the initialization sequence, the process proceeds to a tree identification (Tree-Identify) sequence for constructing the topology.

ツリー識別シーケンスでは、T0:Tree ID start、T1:Child Handshake、T2:Parent Handshake、T3:Root Contentionの4つの状態が定義されている。このツリー識別シーケンスにおいて、1394バスケーブルを介して接続されたポートに対して、アービトレーション権限の上位側と下位側を決定する。各装置は、接続相手が上位(親)であるポートを親ポートとし、接続相手が下位(子)であるポートを子ポートとする。また、他の装置が接続されていないポートは「切(off)」に設定される。そして、すべてのポートが子ポートである装置がルート(Root)ノードに決定される。   In the tree identification sequence, four states of T0: Tree ID start, T1: Child Handshake, T2: Parent Handshake, and T3: Root Contention are defined. In this tree identification sequence, the upper side and lower side of the arbitration authority are determined for the ports connected via the 1394 bus cable. In each device, a port whose connection partner is higher (parent) is a parent port, and a port whose connection partner is lower (child) is a child port. A port to which no other device is connected is set to “off”. Then, a device in which all ports are child ports is determined as a root node.

トポロジの構築を完了すると、装置IDの割り当てを行う自己識別(Self Identify)シーケンスを開始する。図1に示す処理装置21〜23の自己識別シーケンスでは、S0:Self ID start、S1:Self ID Grant、S2:Self ID Receive、S3:Send Speed Capabilities、S4:Self ID Transmit、S5:Self ID Cancelの6つの状態が定義されている。   When the construction of the topology is completed, a self identification sequence for assigning a device ID is started. In the self-identification sequence of the processing devices 21 to 23 shown in FIG. 1, S0: Self ID start, S1: Self ID Grant, S2: Self ID Receive, S3: Send Speed Capabilities, S4: Self ID Transmit, S5: Self ID. The following six states are defined.

図1に示す送信装置11,12は、自己識別シーケンスにおいて、セルフIDパケットを送信し、装置IDを確定する。受信装置13に含まれる処理装置21〜23のうち、ルートノードに決定された処理装置、又は外部接続の親ポートを有する処理装置はセルフIDパケットを送信し装置IDを確定する。一方、処理装置21〜23のうち、内部接続の親ポートを有する処理装置は、装置IDの取得をキャンセルする。   The transmission apparatuses 11 and 12 shown in FIG. 1 transmit a self ID packet and determine the apparatus ID in the self-identification sequence. Among the processing devices 21 to 23 included in the receiving device 13, the processing device determined as the root node or the processing device having the parent port of the external connection transmits a self ID packet to determine the device ID. On the other hand, among the processing devices 21 to 23, the processing device having the parent port for internal connection cancels the acquisition of the device ID.

自己識別シーケンスを完了すると、通常転送のアービトレーションを行う通常アービトレーション(Normal arbitration)シーケンスを開始する。通常アービトレーションでは、A0:Idle、A1:Request Test、A2:Request Delay、A3:Request、A4:Grant、A5:Receive、A6:Transmitの7つの状態が定義されている。送信装置11,12及び処理装置21〜23は、互いに通信を行い、データを送受信する。   When the self-identification sequence is completed, a normal arbitration sequence for normal transfer arbitration is started. In normal arbitration, seven states of A0: Idle, A1: Request Test, A2: Request Delay, A3: Request, A4: Grant, A5: Receive, and A6: Transmit are defined. The transmission devices 11 and 12 and the processing devices 21 to 23 communicate with each other to transmit and receive data.

次に、処理装置21〜23における自己識別シーケンスの各状態を説明する。
図4に示すように、初期状態である状態S0へは、ツリー識別シーケンスの状態T2から、遷移する。この状態S0において、ルートノード、又はGrant信号の受信を条件として状態S1へ遷移する。
Next, each state of the self-identification sequence in the processing devices 21 to 23 will be described.
As shown in FIG. 4, the state transitions to the initial state S0 from the state T2 of the tree identification sequence. In this state S0, a transition is made to state S1 on condition that a root node or a Grant signal is received.

状態S1では、図5に示すフローチャートに従って動作する。そして、状態S1において、Grant信号を出力した子ポートからData_Prefix信号の受信を条件として状態S2へ遷移する。   In state S1, it operates according to the flowchart shown in FIG. Then, in the state S1, a transition is made to the state S2 on condition that the Data_Prefix signal is received from the child port that has output the Grant signal.

状態S2はSelf−IDパケットを受信している状態である。連結されたパケット(Concatenated_packet)を受信した場合、状態S2から状態S2へ遷移する。   State S2 is a state in which a Self-ID packet is received. When the concatenated packet (Concatenated_packet) is received, the state transits from the state S2 to the state S2.

状態S2において、Identifyの完了を示すIdent_done信号の受信を条件として状態S3へ遷移する。
状態S3において、SPEED_SIGNAL_LENGTHの経過を条件として状態S0へ遷移する。
In the state S2, the process transits to the state S3 on condition that an Identity_done signal indicating completion of Identify is received.
In the state S3, the state transitions to the state S0 on condition that SPEED_SIGNAL_LENGTH has elapsed.

状態S1において、Grant信号を出力したポートからパケットの始まりを示すData_prifix信号の受信を条件として状態S2へ遷移する。
状態S2において、Idle信号の受信、又はGrant信号の受信、又はData_Prefix信号の受信を条件として状態S0へ遷移する。
In the state S1, the state transitions to the state S2 on condition that the Data_prifix signal indicating the start of the packet is received from the port that has output the Grant signal.
In the state S2, the state transitions to the state S0 on condition that the Idle signal is received, the Grant signal is received, or the Data_Prefix signal is received.

また、上記状態S1において、Grant信号を出力した子ポートからキャンセル(Cancel)信号の受信を条件として状態S3へ遷移する。キャンセル信号は、例えば1394a−2000の規格の[Arb_A_Tx,Arb_B_Tx]=[Z,0]、[Arb_A_Rx,Arb_B_Rx]=[0,0]である。   Further, in the state S1, the state transitions to the state S3 on condition that a cancel signal is received from the child port that has output the Grant signal. The cancel signal is, for example, [Arb_A_Tx, Arb_B_Tx] = [Z, 0], [Arb_A_Rx, Arb_B_Rx] = [0, 0] of the 1394a-2000 standard.

上記状態S1において、ルートノード、又は親ポートが外部接続状態であってすべての子ポートに対する識別(Identify)の完了を条件として状態S4へ遷移する。識別(Identify)の完了は、ポートが非接続であるか、Ident_done信号又はCancel信号の受信より成立する。   In the state S1, the root node or the parent port is in the external connection state, and the state transitions to the state S4 on condition that the identification (Identification) for all the child ports is completed. Completion of identification (Identify) is established when the port is not connected or when an Identity_done signal or a Cancel signal is received.

状態S4において、ルートノード、又はData_Prefix信号の受信を条件として、通常アービトレーション(Normal arbitration)シーケンスの状態A0へ遷移する。   In the state S4, on the condition that the root node or the Data_Prefix signal is received, the state transitions to the state A0 of the normal arbitration sequence.

上記状態S1において、ルートノード、又は親ポートが内部接続状態であってすべての子ポートに対する識別(Identify)の完了を条件として状態S5へ遷移する。識別(Identify)の完了は、ポートが非接続であるか、Ident_done信号又はCancel信号の受信より成立する。   In the state S1, the state transitions to the state S5 on condition that the root node or the parent port is in the internal connection state and the identification (Identify) for all the child ports is completed. Completion of identification (Identify) is established when the port is not connected or when an Identity_done signal or a Cancel signal is received.

状態S5において、Data_Prefix信号の受信を条件として、通常アービトレーション(Normal arbitration)シーケンスの状態A0へ遷移する。
[S1:Self−ID Grant]
次に、状態S1におけるSelf−ID Grantの処理を説明する。
In the state S5, on the condition that the Data_Prefix signal is received, the state transits to the state A0 of the normal arbitration sequence.
[S1: Self-ID Grant]
Next, Self-ID Grant processing in the state S1 will be described.

図5に示すように、アービトレーション制御部52は、状態S1に遷移する(IN)と、ステップ71の処理を実行する。ステップ71において、Identifyの完了している子ポートにData_Prefix信号を出力する。また、ステップ71において、Identifyの完了していない最も小さなポート番号の子ポートにGrant信号を出力する。また、ステップ71において、上記以外、即ちIdentifyの完了していない子ポートのうち、最も小さなポート番号より大きなポート番号の子ポートにIdle信号を出力する。   As illustrated in FIG. 5, the arbitration control unit 52 executes the process of step 71 when the state transitions to the state S1 (IN). In step 71, the Data_Prefix signal is output to the child port for which Identity has been completed. In step 71, the Grant signal is output to the child port having the smallest port number for which the identify has not been completed. In step 71, an idle signal is output to a child port having a port number larger than the smallest port number among the child ports other than those described above, that is, among the child ports for which Identity has not been completed.

次いで、すべての子ポートのIdentifyが完了したか否かを判定し(ステップ72)、完了した場合(判定:Yes)、自装置がルートノード(Root)であるか、または親ポートが外部接続であるかを判定する(ステップ73)。ルートノード、又は親ポートが外部接続である場合(判定:Yes)、状態S4へ遷移する。一方、ルートノード以外であり、親ポートが内部接続の場合(判定:No)、状態S5へ遷移する。   Next, it is determined whether or not all child ports have been identified (step 72). If completed (determination: Yes), the device is the root node (Root) or the parent port is externally connected. It is determined whether or not there is (step 73). When the root node or the parent port is an external connection (determination: Yes), the flow goes to the state S4. On the other hand, if it is other than the root node and the parent port is internally connected (determination: No), the flow goes to the state S5.

上記ステップ72において完了していない場合(判定:No)、Grant信号を出力した子ポートからData_Prefix信号を受信したか否かを判定する(ステップ74)。Data_Prefix信号を受信した場合(判定:Yes)、子ポートへのGrant信号の出力を停止(Idle信号を出力)し(ステップ75)、状態S2へ遷移する。   If not completed in step 72 (determination: No), it is determined whether or not a Data_Prefix signal is received from the child port that has output the Grant signal (step 74). When the Data_Prefix signal is received (determination: Yes), the output of the Grant signal to the child port is stopped (the Idle signal is output) (step 75), and the state transitions to the state S2.

一方、ステップ74においてData_Prefix信号を受信していない場合、Grant信号を出力した子ポートからCancel信号を受信したか否かを判定する(ステップ76)。Cancel信号を受信した場合(判定Yes)、子ポートのIdentifyを完了に設定し、子ポートへのGrant信号の出力を停止(Idle信号を出力)し(ステップ77)、状態S3へ遷移する。   On the other hand, if the Data_Prefix signal has not been received in step 74, it is determined whether a Cancel signal has been received from the child port that has output the Grant signal (step 76). When the Cancel signal is received (determination Yes), the identity of the child port is set to complete, the output of the Grant signal to the child port is stopped (Idle signal is output) (step 77), and the state transitions to state S3.

一方、ステップ76においてCancel信号を受信していないと判定した場合(判定:No)、ステップ74へ遷移する。
[S5:Self−ID Cancel]
次に、状態S5におけるSelf−ID Cancelの処理を説明する。
On the other hand, if it is determined in step 76 that the Cancel signal has not been received (determination: No), the process proceeds to step 74.
[S5: Self-ID Cancel]
Next, the Self-ID Cancel process in the state S5 will be described.

図6に示すように、アービトレーション制御部52は、状態S5に遷移する(IN)と、親ポートにキャンセル(Cancel)信号を出力し、親ポートにSpeed Capability Signalを出力し、子ポートにData_Prefix信号を出力する(ステップ81)。   As shown in FIG. 6, when transitioning to the state S5 (IN), the arbitration control unit 52 outputs a cancel (Cancel) signal to the parent port, outputs a Speed Capability Signal to the parent port, and a Data_Prefix signal to the child port. Is output (step 81).

次いで、SPEED_SIGNAL_LENGTHの経過を判定し(ステップ82)、経過するまで同ステップを繰り返す、つまりループする。
次いで、親ポートへのCancel信号の出力を停止(Idle信号を出力)し、親ポートへのSpeed Capability singalの出力を停止する(ステップ83)。
Next, it is determined whether or not SPEED_SIGNAL_LENGTH has elapsed (step 82), and the same step is repeated until it elapses, that is, a loop is performed.
Next, the output of the Cancel signal to the parent port is stopped (Idle signal is output), and the output of the Speed Capability signal to the parent port is stopped (step 83).

次いで、親ポートからData_Prefix信号を受信したかを判定し(ステップ84)、Data_Prefix信号を受信するまでループする。親ポートからData_Prefix信号を受信すると、通常アービトレーション(Normal arbitration)シーケンスの状態A0へ遷移する。   Next, it is determined whether a Data_Prefix signal has been received from the parent port (step 84), and a loop is performed until the Data_Prefix signal is received. When the Data_Prefix signal is received from the parent port, the state transitions to the state A0 of the normal arbitration sequence.

次に、ネットワークにおける各装置の動作を説明する。
なお、図1に示す送信装置11,12を、例えば図7(a)に示すように「装置1」「装置2」と表記する。また、図1に示す受信装置13を長方形破線枠で示し、各処理装置21,22,23を、「装置A」「装置B」「装置C」と表記する。そして、動作説明において、各表記を用いて説明する。また、以下の説明に対応する図において、親ポートを単に「親」、子ポートを単に「子」と表記する。
Next, the operation of each device in the network will be described.
1 are represented as “device 1” and “device 2” as shown in FIG. 7A, for example. Further, the receiving device 13 shown in FIG. 1 is indicated by a rectangular broken line frame, and the respective processing devices 21, 22, and 23 are represented as “device A”, “device B”, and “device C”. In the description of the operation, each notation is used for explanation. In the figures corresponding to the following description, the parent port is simply expressed as “parent” and the child port is simply expressed as “child”.

[接続例1]
図7(a)に示すように、受信装置は、直列に接続された装置A〜Cを含み、装置Aがルートノードに決定される。装置Aにおいて、外部接続状態の子ポートには装置1が接続され、装置Cにおいて、外部接続状態の子ポートには装置2が接続されている。
[Connection example 1]
As illustrated in FIG. 7A, the receiving device includes devices A to C connected in series, and the device A is determined as a root node. In device A, device 1 is connected to the externally connected child port, and in device C, device 2 is connected to the externally connected child port.

図7(a)に示すように、ルートノードに決定された装置Aは、子ポートのうちの1つ、例えば装置Bが接続された子ポートからGrant信号を出力する。装置Bは、親ポートから受信したGrant信号に応答して、子ポートからGrant信号を出力する。同様に、装置Cは、親ポートから受信したGrant信号に応答して、子ポートからGrant信号を出力する。つまり、装置B,Cは、Grant信号を転送(リピート)する。   As shown in FIG. 7A, the device A determined as the root node outputs a Grant signal from one of the child ports, for example, the child port to which the device B is connected. In response to the Grant signal received from the parent port, the device B outputs the Grant signal from the child port. Similarly, the device C outputs the Grant signal from the child port in response to the Grant signal received from the parent port. That is, the devices B and C transfer (repeat) the Grant signal.

図7(b)に示すように、親ポートからGrant信号を受信した装置2は、パケットの先頭を示すData_Prefix信号(D_prefixと表記)を出力する。D_prefix信号を受信した装置Cは状態S2へ遷移し、D_prefixを送信、つまり転送する。同様に、装置B,Aは、D_prefix信号を転送する。子ポートからD_prefix信号を受信した装置C,B,Aは、子ポートに対するGrant信号の出力を停止する。   As illustrated in FIG. 7B, the device 2 that has received the Grant signal from the parent port outputs a Data_Prefix signal (denoted as D_prefix) indicating the head of the packet. The device C that has received the D_prefix signal transits to the state S2, and transmits, that is, transfers, the D_prefix. Similarly, the devices B and A transfer the D_prefix signal. The devices C, B, and A that have received the D_prefix signal from the child port stop outputting the Grant signal to the child port.

次いで、装置2は、セルフIDパケットの数をカウントしたカウント値に従って、図7(c)に示すように、カウント値を設定した装置IDを含むセルフIDパケット(SelfID−P)を親ポートから送信し、装置ID(=0)を確定する。装置C,B,Aは、ID=0のセルフIDパケット(SelfID−P)を転送する。装置C,B,Aと装置1は、セルフIDパケット(SelfID−P)の受信を終了すると、図4に示す状態S2から状態S0へ遷移する。   Next, according to the count value obtained by counting the number of self ID packets, the device 2 transmits a self ID packet (SelfID-P) including the device ID for which the count value is set from the parent port, as shown in FIG. 7C. Then, the device ID (= 0) is determined. The devices C, B, and A transfer a self ID packet (SelfID-P) with ID = 0. When the devices C, B, A and the device 1 finish receiving the self ID packet (SelfID-P), the devices C, B, A, and 1 transition from the state S2 to the state S0 illustrated in FIG.

次いで、装置2は、図7(d)に示すように、セルフIDの完了を示すIdent_done信号(Ident_Dと表記)を親ポートから出力する。Ident_D信号を受信した装置Cは、子ポートを、Identifyが完了したポートとして設定する。   Next, as illustrated in FIG. 7D, the device 2 outputs an Identity_done signal (denoted as Identity_D) indicating the completion of the self ID from the parent port. The device C that has received the Identity_D signal sets the child port as the port for which the Identity has been completed.

ルートノードである装置Aは、図4に示す状態S0から状態S1へ遷移し、図7(e)に示すように、Grant信号を出力する。装置Bは、Grant信号を転送する。装置Cは、親ポートからGrant信号を受信すると、親ポートが内部接続状態であり子ポートのIdentifyが完了しているため、図5に示すフローチャート(ステップ72:Yes,ステップ73:No)に従って状態S5へ遷移し、図7(e)に示すように、子ポートからD_prefix信号を出力する。   The device A that is the root node transits from the state S0 shown in FIG. 4 to the state S1, and outputs a Grant signal as shown in FIG. 7 (e). Device B forwards the Grant signal. When the device C receives the Grant signal from the parent port, the parent port is in the internal connection state and the child port Identify is completed, so the state is in accordance with the flowchart shown in FIG. 5 (step 72: Yes, step 73: No). The process proceeds to S5, and a D_prefix signal is output from the child port as shown in FIG.

また、状態S5へ遷移した装置Cは、図7(f)に示すように、親ポートからキャンセル信号(Cancel)を出力する。キャンセル信号(Cancel)を受信した装置Bは、図5に示すフローチャート(ステップ76:Yes,ステップ77)に従って、子ポートをIdentifyが完了したポートとして設定し、子ポートに対するGrant信号の出力を停止する。そして、装置Bは、図4に示す状態S1から状態S3へと遷移する。そして、装置Bは、SPEED_SIGNAL_LENGTHの経過後、状態S0へと遷移する。   In addition, as shown in FIG. 7F, the device C that has transitioned to the state S5 outputs a cancel signal (Cancel) from the parent port. The device B that has received the cancel signal (Cancel) sets the child port as a port that has completed the Identify according to the flowchart shown in FIG. 5 (step 76: Yes, step 77), and stops outputting the Grant signal to the child port. . And the apparatus B changes from state S1 shown in FIG. 4 to state S3. Device B then transitions to state S0 after SPEED_SIGNAL_LENGTH has elapsed.

状態S0へ遷移した装置Bは、親ポートから受信するGrant信号に応答して状態S1へ遷移する。このとき、装置Bは、子ポートのIdentifyが完了し、親ポートが内部接続であるため、図5に示すフローチャート(ステップ72,73)に従って状態S5へ遷移する。状態S5へ遷移した装置Bは、図6に示すフローチャートに従って、図7(f)に示すように、親ポートからキャンセル信号(Cancel)を出力する。このように、装置C,Bは、ネットワークの接続関係における上位側の装置(装置B、A)にキャンセル信号(Cancel)を伝達し、装置IDを持たない(ID=non)装置に確定する。   The device B that has transitioned to the state S0 transitions to the state S1 in response to the Grant signal received from the parent port. At this time, the device B completes the identity of the child port and the parent port is an internal connection, so the device B transitions to the state S5 according to the flowchart (steps 72 and 73) shown in FIG. The device B that has transitioned to the state S5 outputs a cancel signal (Cancel) from the parent port, as shown in FIG. 7F, according to the flowchart shown in FIG. In this way, the devices C and B transmit the cancel signal (Cancel) to the higher-level devices (devices B and A) in the network connection relationship, and are determined to have no device ID (ID = non).

装置Bからキャンセル信号を受信した装置Aは、図5に示すフローチャート(ステップ76,77)に従って、子ポートをIdentify完了に設定し、図4に示す状態S1から状態S3へと遷移する。更に、装置Aは、SPEED_SIGNAL_LENGTHの経過後、状態S0へと遷移する。装置Aはルートノードであるため、図4に示す状態S0から状態S1へ遷移する。   The device A that has received the cancel signal from the device B sets the child port to “Identify complete” according to the flowchart (steps 76 and 77) shown in FIG. 5, and transitions from the state S1 to the state S3 shown in FIG. Furthermore, the device A transitions to the state S0 after SPEED_SIGNAL_LENGTH has elapsed. Since device A is a root node, the state transitions from state S0 to state S1 shown in FIG.

状態S1において、装置Aは、装置Bに接続された子ポートにおけるIdentifyが完了しているため、図7(g)に示すように、他の子ポートからGrant信号を出力し、Identifyが完了した子ポートからD_prefix信号を出力する。装置B、CはD_prefix信号を転送する。   In state S1, since device A has completed Identify at the child port connected to device B, as shown in FIG. 7G, the Grant signal is output from the other child port, and Identity has been completed. The D_prefix signal is output from the child port. Devices B and C transfer the D_prefix signal.

Grant信号を受信した装置1は、図8(a)に示すように、D_prefix信号を出力する。装置A〜Cは、D_prefix信号を転送する。更に、装置1は、セルフIDパケットの数をカウントしたカウント値に従って、図8(b)に示すように、カウント値を設定した装置IDを含むセルフIDパケット(SelfID−P)を送信し、装置ID(ID=1)を確定する。装置A〜Cは、セルフIDパケット(SelfID−P)を転送する。   The device 1 that has received the Grant signal outputs a D_prefix signal as shown in FIG. The devices A to C transfer the D_prefix signal. Further, according to the count value obtained by counting the number of self ID packets, the device 1 transmits a self ID packet (SelfID-P) including the device ID in which the count value is set as shown in FIG. Confirm the ID (ID = 1). The devices A to C transfer a self ID packet (SelfID-P).

次いで、装置1は、図8(c)に示すように、Identifyの完了を示すIdent_D信号を出力する。Ident_D信号を受信した装置Aは、図4に示す状態S2から状態S3へと遷移し、すべての子ポートのIdentifyが完了する。従って、装置Aは、図4に示す状態S0を経由して状態S1へ遷移する。状態S1に遷移した装置Aは、図5に示すフローチャートに従って、図8(d)に示すように、Identifyが完了した子ポートからD_prefix信号を出力する。装置B,Cは、D_prefix信号を転送する。   Next, as illustrated in FIG. 8C, the device 1 outputs an Ident_D signal indicating completion of Identity. The device A that has received the Identity_D signal makes a transition from the state S2 to the state S3 shown in FIG. 4 and completes the Identify of all the child ports. Therefore, apparatus A transits to state S1 via state S0 shown in FIG. As shown in FIG. 8D, the device A that has transitioned to the state S1 outputs a D_prefix signal from the child port for which the Identify has been completed, as shown in FIG. 8D. Devices B and C transfer the D_prefix signal.

そして、装置Aは、図5に示すフローチャート(ステップ72,73:Yes)に従って、状態S1から状態S4へ遷移する。状態S4に遷移した装置Aは、セルフIDパケットの数をカウントしたカウント値に従って、図8(e)に示すように、カウント値を設定した装置IDを含むセルフIDパケット(SelfID−P)を各子ポートから送信し、装置ID(ID=2)を確定する。状態S4においてセルフIDパケットを送信した装置Aは、ルートノードであるため、セルフIDシーケンスを終了し、通常アービトレーションの状態A0へと遷移する。   And the apparatus A changes from state S1 to state S4 according to the flowchart (steps 72 and 73: Yes) shown in FIG. As shown in FIG. 8E, the device A that has transitioned to the state S4 sends each self ID packet (SelfID-P) including the device ID for which the count value has been set, according to the count value obtained by counting the number of self ID packets. Transmit from the child port to determine the device ID (ID = 2). Since the device A that has transmitted the self ID packet in the state S4 is a root node, the device A ends the self ID sequence and transitions to the normal arbitration state A0.

上記の処理により、図8(f)に示すように、装置1と装置2はそれぞれ「1」,「0」の装置IDを取得する。ルートノードに決定された装置Aは「2」の装置IDを取得し、装置B,Cは装置IDを取得しない(ID=non)。従って、ネットワーク上では、受信装置に含まれる装置A〜Cのうち、装置Aのみが認識され、装置Bと装置Cは認識されない。その結果、受信装置13は、ネットワーク上において、装置Aが取得した装置ID(=2)を持つ1つの装置として認識される。   By the above processing, as shown in FIG. 8F, the device 1 and the device 2 acquire device IDs “1” and “0”, respectively. The device A determined as the root node acquires the device ID “2”, and the devices B and C do not acquire the device ID (ID = non). Therefore, on the network, only the device A among the devices A to C included in the receiving device is recognized, and the devices B and C are not recognized. As a result, the receiving device 13 is recognized as one device having the device ID (= 2) acquired by the device A on the network.

なお、図7(a)において、ルートノードに決定した装置AがGrant信号を装置1に出力した場合、装置1が最初に装置ID(=0)を取得する。そして、装置AがGrant信号を装置Bに出力すると、上記と同様にして装置2が「1」の装置IDを取得し、装置B,Cは装置IDを取得しない(ID=non)。そして、装置Aが「2」の装置IDを取得し、自己識別シーケンスを終了する。   In FIG. 7A, when the device A determined as the root node outputs a Grant signal to the device 1, the device 1 first acquires the device ID (= 0). When the device A outputs the Grant signal to the device B, the device 2 acquires the device ID “1” in the same manner as described above, and the devices B and C do not acquire the device ID (ID = non). Then, the device A acquires a device ID of “2” and ends the self-identification sequence.

また、装置Cがルートノードに決定した場合、装置Aがルートノードに決定した場合と同様に、装置Aは上記の装置Cと同様に動作して装置IDを取得しない(ID=non)。そして、装置Cが装置IDを取得し、自己識別シーケンスを終了する。また、装置Bがルートノードに決定した場合、装置A,Cは上記の装置Cと同様に動作して装置IDを取得しない(ID=non)。そして、装置Bが装置IDを取得し、自己識別シーケンスを終了する。   When the device C is determined as the root node, the device A operates in the same manner as the device C and does not acquire the device ID (ID = non), similarly to the case where the device A is determined as the root node. Then, the device C acquires the device ID and ends the self-identification sequence. When the device B is determined as the root node, the devices A and C operate in the same manner as the device C and do not acquire the device ID (ID = non). And the apparatus B acquires apparatus ID and complete | finishes a self-identification sequence.

上記したように、受信装置13に含まれる装置A〜Cのうちの1つがルートノードに決定した場合、他の装置は内部接続状態の親ポートを持つ。その内部接続状態の親ポートを持つ装置は装置IDの取得をキャンセルする。そして、ルートノードに決定した装置は、装置IDを取得する。その結果、装置A〜Cを含む受信装置13は、ルートノードに決定した装置が取得した装置IDを持つ1つの装置として、ネットワーク中の他の装置から認識される。   As described above, when one of the devices A to C included in the receiving device 13 is determined as the root node, the other device has a parent port in an internal connection state. The device having the parent port in the internal connection state cancels the acquisition of the device ID. Then, the device determined as the root node acquires the device ID. As a result, the receiving device 13 including the devices A to C is recognized from other devices in the network as one device having the device ID acquired by the device determined as the root node.

[接続例2]
図9(a)に示すように、受信装置は、直列に接続された装置A〜Cを含み、装置Aがルートノードに決定される。装置Aにおいて、外部接続状態の子ポートには装置1が接続されている。装置Cにおいて、外部接続状態のポートは非接続状態にある。なお、装置Cは、親ポートが設定され、子ポートが設定されていないノードであるが、説明の便宜上、上記[接続例1]と同様に、子ポート(「子」と表記)として説明する。
[Connection example 2]
As illustrated in FIG. 9A, the receiving device includes devices A to C connected in series, and the device A is determined as the root node. In the device A, the device 1 is connected to the externally connected child port. In the device C, the externally connected port is in a disconnected state. The device C is a node in which a parent port is set and a child port is not set. However, for convenience of explanation, the device C is described as a child port (denoted as “child”) as in [Connection Example 1]. .

図9(a)に示すように、ルートノードに決定された装置Aは、子ポートからGrant信号を出力する。装置Bは、Grant信号を転送する。Grant信号を受信した装置Cは、親ポートが内部接続状態であり、子ポートが非接続状態、つまり子ポートのIdentifyが完了しているため、図4に示す状態S1から状態S5へと遷移する。状態S5へ遷移した装置Cは、図9(b)に示すように、親ポートにキャンセル信号(Cancel)を出力する。装置Bは、キャンセル信号を転送する。従って、装置Bと装置Cは、図7(f)示す状態と同様に、装置IDを持たない装置(ID=non)に確定する。   As shown in FIG. 9A, the device A determined as the root node outputs a Grant signal from the child port. Device B forwards the Grant signal. The device C that has received the Grant signal transitions from the state S1 to the state S5 shown in FIG. 4 because the parent port is in the internally connected state and the child port is in the disconnected state, that is, the child port has been identified. . The device C that has transitioned to the state S5 outputs a cancel signal (Cancel) to the parent port, as shown in FIG. 9B. Device B transfers a cancel signal. Accordingly, the devices B and C are determined as devices having no device ID (ID = non) as in the state shown in FIG.

ルートノードである装置Aは、図7(g)、図8(a)〜図8(f)と同様に、図9(c)〜図9(g),図10(a),図10(b)に示すように動作し、装置IDを取得する。同様に、装置1は、装置IDを取得する。   The device A, which is the root node, is similar to FIGS. 7 (g) and 8 (a) to 8 (f) in FIGS. 9 (c) to 9 (g), FIG. 10 (a), and FIG. Operate as shown in b) to obtain the device ID. Similarly, the device 1 acquires a device ID.

上記の処理により、図10(b)に示すように、装置1は「0」の装置IDを取得する。また、受信装置に含まれる装置Aは「1」の装置IDを取得し、装置B,Cは装置IDを取得しない(ID=non)。従って、ネットワーク上では、装置Aのみが認識される。その結果、受信装置13は、ネットワーク上において、装置Aが取得した装置ID(=2)を持つ1つの装置として認識される。   By the above processing, as shown in FIG. 10B, the device 1 acquires a device ID of “0”. Further, the device A included in the receiving device acquires the device ID “1”, and the devices B and C do not acquire the device ID (ID = non). Therefore, only device A is recognized on the network. As a result, the receiving device 13 is recognized as one device having the device ID (= 2) acquired by the device A on the network.

上記したように、装置Cはルートノードではなく、内部接続状態の親ポート以外のポートは非接続状態にある。つまり、装置IDを取得しない装置Cがリーフノード状態に接続されたネットワークにおいても、自己識別シーケンスを終了することができる。   As described above, the device C is not a root node, and ports other than the parent port in the internally connected state are in a disconnected state. That is, the self-identification sequence can be completed even in a network in which the device C that does not acquire the device ID is connected to the leaf node state.

なお、装置Bがルートノードに決定した場合、装置Cは、上記と同様に動作し、装置IDを取得しない。このようにネットワークが決定した場合であっても、自己識別シーケンスを終了することができる。   When device B is determined as the root node, device C operates in the same manner as described above and does not acquire a device ID. Even when the network is determined in this way, the self-identification sequence can be terminated.

また、装置Cがルートノードに決定した場合、上記の接続例1と同様に、装置Aと装置Bは装置1と装置Cとの間に接続された装置であり、装置IDを取得しない(ID=non)。そして、ルートノードに決定した装置Cは、上記の接続例1と同様に、装置ID(=1)を取得し、自己識別シーケンスを終了する。   When device C is determined as the root node, similarly to connection example 1 above, device A and device B are devices connected between device 1 and device C and do not acquire a device ID (ID). = Non). Then, the device C determined as the root node acquires the device ID (= 1) as in the above connection example 1, and ends the self-identification sequence.

[接続例3]
図11(a)に示すように、受信装置は、直列に接続された装置A〜Cを含む。装置Aにおいて、外部接続状態の親ポートには装置1が接続され、装置Cにおいて、外部接続状態の子ポートには装置2が接続されている。装置1がルートノードに決定される。
[Connection example 3]
As shown in FIG. 11A, the receiving device includes devices A to C connected in series. In the device A, the device 1 is connected to the parent port in the external connection state, and in the device C, the device 2 is connected to the child port in the external connection state. Device 1 is determined to be the root node.

この場合、装置Bは、内部接続状態の親ポートを持ち、子ポートに装置Cが接続されている。また、装置Cは、内部接続状態の親ポートを持ち、子ポートに装置2が接続されている。従って、装置Bと装置Cは、上記の接続例1の図7(a)〜図7(e)と同様に、図11(a)〜図11(e)に示すように動作し、装置IDを取得しない(ID=non)装置として確定する。   In this case, the device B has a parent port in an internal connection state, and the device C is connected to the child port. In addition, the device C has a parent port in an internal connection state, and the device 2 is connected to the child port. Accordingly, the devices B and C operate as shown in FIGS. 11A to 11E in the same way as the connection example 1 shown in FIGS. Is determined as a device that does not acquire (ID = non).

装置Aは、外部接続状態の親ポートを持ち、子ポートに装置Bが接続されている。従って、装置Aは、図11(f)に示すように、装置BからCancel信号を受信すると、子ポートのIdentifyが完了したポートとして設定する。そして、装置Aは、図4に示すように、状態S1から状態S3へと遷移し、SPEED_SIGNAL_LENGTHの経過後、状態S0へと遷移する。そして、図11(f)に示すように、ルートノードである装置1が出力するGrant信号を受信して、図4に示す状態S1へと遷移する。   Device A has a parent port in an external connection state, and device B is connected to a child port. Therefore, as shown in FIG. 11F, when the device A receives the Cancel signal from the device B, the device A sets the child port as a port that has been identified. Then, as shown in FIG. 4, the device A transitions from the state S1 to the state S3, and transitions to the state S0 after SPEED_SIGNAL_LENGTH has elapsed. Then, as shown in FIG. 11 (f), the Grant signal output from the device 1 as the root node is received, and the state transits to the state S1 shown in FIG.

状態S1に遷移した装置Aは、図5に示すフローチャートに従って、図11(g)に示すように、子ポートからD_prefix信号を出力する。また、装置Aは、すべての子ポートのIdentifyが完了し、親ポートが外部接続状態であるため、図5に示すフローチャートに従って、状態S1から状態S4へと遷移する。そして、装置Aは、セルフIDパケットの数をカウントしたカウント値に従って、図12(a)に示すように、装置IDを含むセルフIDパケット(SelfID−P)を送信し、装置ID(=1)を確定する。次いで、図12(b)に示すように、装置Aは、Ident_D信号を親ポートから出力する。   The device A that has transitioned to the state S1 outputs the D_prefix signal from the child port, as shown in FIG. 11 (g), according to the flowchart shown in FIG. Further, since all of the child ports have been identified and the parent port is in the external connection state, apparatus A transitions from state S1 to state S4 according to the flowchart shown in FIG. Then, according to the count value obtained by counting the number of self ID packets, device A transmits a self ID packet (SelfID-P) including a device ID as shown in FIG. 12A, and device ID (= 1). Confirm. Next, as illustrated in FIG. 12B, the device A outputs an Identity_D signal from the parent port.

図12(c)に示すように、装置1は、子ポートからD_prefixを出力し、装置A〜CはD_prefix信号を転送する。次に、装置1は、セルフIDパケットの数をカウントしたカウント値に従って、図12(d)に示すように、装置IDを含むセルフIDパケット(SelfID−P)を送信し、装置ID(=2)を確定する。   As shown in FIG. 12C, the device 1 outputs D_prefix from the child port, and the devices A to C transfer the D_prefix signal. Next, according to the count value obtained by counting the number of self ID packets, the device 1 transmits a self ID packet (SelfID-P) including a device ID as shown in FIG. ) Is confirmed.

上記の処理により、図12(e)に示すように、装置1と装置2はそれぞれ「2」,「0」の装置IDを取得する。外部接続状態のポートが親ポートに決定された装置Aは、「1」の装置IDを取得し、装置B,Cは装置IDを取得しない(ID=non)。従って、ネットワーク上では、受信装置に含まれる装置A〜Cのうち、装置Aのみが認識され、装置Bと装置Cは認識されない。その結果、受信装置13は、ネットワーク上において、装置Aが取得した装置ID(=1)を持つ1つの装置として認識される。   By the above processing, as shown in FIG. 12E, the device 1 and the device 2 acquire device IDs “2” and “0”, respectively. The device A whose external connection state port is determined as the parent port acquires the device ID “1”, and the devices B and C do not acquire the device ID (ID = non). Therefore, on the network, only the device A among the devices A to C included in the receiving device is recognized, and the devices B and C are not recognized. As a result, the receiving device 13 is recognized as one device having the device ID (= 1) acquired by the device A on the network.

なお、装置2がルートノードに決定した場合、装置A,Bは内部接続状態の親ポートを持ち、装置Cは外部接続状態の親ポートを持つ。従って、装置A,Bは、上記の装置B,Cと同様にして装置IDを取得しない(ID=non)。そして、装置Cは、上記の装置Aと同様にして装置ID(=1)を取得する。そして、装置2が「2」の装置IDを取得し、自己識別シーケンスを終了する。   When the device 2 is determined as the root node, the devices A and B have a parent port in an internal connection state, and the device C has a parent port in an external connection state. Therefore, the devices A and B do not acquire the device ID in the same manner as the devices B and C described above (ID = non). Then, the device C acquires a device ID (= 1) in the same manner as the device A described above. Then, the device 2 acquires the device ID “2”, and ends the self-identification sequence.

上記したように、受信装置13に含まれる装置A〜C以外の装置がルートノードに決定した場合、ルートノードに近い装置のポートが外部接続状態の親ポートに決定され、他の装置は内部接続状態の親ポートを持つ。その内部接続状態の親ポートを持つ装置は装置IDの取得をキャンセルする。そして、外部接続状態の親ポートを持つ装置は、装置IDを取得する。その結果、装置A〜Cを含む受信装置13は、外部接続状態の親ポートを持つ装置が取得した装置IDを持つ1つの装置として、ネットワーク中の他の装置から認識される。   As described above, when a device other than the devices A to C included in the receiving device 13 is determined as the root node, the port of the device close to the root node is determined as the parent port in the external connection state, and the other devices are internally connected. Has a parent port of state. The device having the parent port in the internal connection state cancels the acquisition of the device ID. Then, a device having a parent port in an external connection state acquires a device ID. As a result, the receiving device 13 including the devices A to C is recognized by other devices in the network as one device having the device ID acquired by the device having the parent port in the external connection state.

以上記述したように、本実施形態によれば、以下の効果を奏する。
(1)送信装置11,12と接続された受信装置13は、表示装置16,17とスピーカ18が接続されている。受信装置13は、送信装置11,12から受信したデータに応じた信号を、表示装置16,17とスピーカ18に出力する。受信装置13は、表示装置16,17、スピーカ18とそれぞれ接続された処理装置21,22,23を有している。処理装置21〜23は送信装置11,12と通信可能であり、ネットワークに含まれる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The receiving device 13 connected to the transmitting devices 11 and 12 is connected to the display devices 16 and 17 and the speaker 18. The receiving device 13 outputs a signal corresponding to the data received from the transmitting devices 11 and 12 to the display devices 16 and 17 and the speaker 18. The receiving device 13 includes processing devices 21, 22, and 23 connected to the display devices 16 and 17 and the speaker 18, respectively. The processing devices 21 to 23 can communicate with the transmission devices 11 and 12 and are included in the network.

各処理装置21〜23は、ネットワークのトポロジ構築によって、ポートの親子関係が決定される。また、各処理装置21〜23は、ポートの接続状態、つまり、ポートが受信装置13の外部の装置と接続されている外部接続状態か、受信装置13の内部の装置と接続されている内部接続状態かを、端子D0,D1により設定されている。   In each of the processing devices 21 to 23, the parent-child relationship of the ports is determined by the network topology construction. In addition, each of the processing devices 21 to 23 has a port connection state, that is, an external connection state in which the port is connected to an external device of the reception device 13 or an internal connection in which the port is connected to an internal device of the reception device 13. The state is set by terminals D0 and D1.

各処理装置21〜23のうち、外部接続状態の親ポートを持つ処理装置は、トポロジ構築後の自己識別シーケンスにおいて、外部接続の親ポートから許可信号(Grant信号)を受信した場合、状態S4に遷移してセルフIDパケットを送信し、装置IDを取得する。また、内部接続状態の親ポートを持つ処理装置は、自己識別シーケンスにおいて、親ポートから許可信号(Grant信号)を受信した場合、状態S5へ遷移して親ポートにキャンセル信号を出力し、自己識別シーケンスを終了する。従って、内部接続状態の親ポートを持つ処理装置は、装置IDを取得しない。   Among the processing devices 21 to 23, when a processing device having a parent port in the external connection state receives a permission signal (Grant signal) from the parent port in the external connection in the self-identification sequence after the topology construction, the processing device enters the state S4. A transition is made and a self ID packet is transmitted to obtain a device ID. Further, when the processing device having the parent port in the internally connected state receives a permission signal (Grant signal) from the parent port in the self-identification sequence, the processing device transits to the state S5 and outputs a cancel signal to the parent port. End the sequence. Therefore, the processing device having the parent port in the internal connection state does not acquire the device ID.

従って、受信装置13に含まれる処理装置21〜23のうち、1つの処理装置が装置IDを取得し、他の2つの処理装置は装置IDを取得しない。この結果、受信装置13は1つの処理装置が取得した装置IDを持つ装置として、ネットワークに含まれる他の装置(送信装置11,12)に認識される。従って、全ての処理装置が装置IDを取得する場合と比べ、バスのコンフィグレーションが短い時間で終了する。従って、例えばバスリセットが発生してから通信可能な状態となるまでの復帰時間を短くすることができる。   Accordingly, one of the processing devices 21 to 23 included in the receiving device 13 acquires the device ID, and the other two processing devices do not acquire the device ID. As a result, the receiving device 13 is recognized by other devices (transmitting devices 11 and 12) included in the network as a device having the device ID acquired by one processing device. Therefore, the bus configuration is completed in a shorter time than when all the processing devices acquire the device ID. Therefore, for example, the return time from when the bus reset occurs until communication is possible can be shortened.

(2)装置IDを取得した処理装置(ノード)は、自装置と装置IDの取得をキャンセルした処理装置に対しチャネルを設定し、設定したチャネル番号を送信装置11,12に通知する。送信装置11,12は、それぞれ設定されたチャネル番号とデータを含むデータパケットを送信する。処理装置21〜23は、自己のチャネル番号を含むデータパケットを受け取り、データパケットに含まれるデータを、接続された装置(図1では表示装置16,17、スピーカ18)に出力する。このように、装置IDを取得しない処理装置について、確実にデータの送受信を行うことができる。   (2) The processing device (node) that has acquired the device ID sets a channel for the processing device that has canceled the acquisition of the device ID and its own device, and notifies the transmission devices 11 and 12 of the set channel number. The transmission devices 11 and 12 transmit data packets including the set channel number and data, respectively. The processing devices 21 to 23 receive a data packet including its own channel number, and output the data included in the data packet to connected devices (display devices 16 and 17 and speaker 18 in FIG. 1). In this way, data can be reliably transmitted and received for a processing device that does not acquire a device ID.

(3)各処理装置21〜23は互いに他の装置から独立しているため、それぞれの装置21〜23に含まれるインタフェースは、互いに干渉しない。このため、個々の処理装置21〜23に含まれる回路をそれぞれ独立して設計・開発・動作確認を行うことができる。   (3) Since the processing devices 21 to 23 are independent from each other, the interfaces included in the respective devices 21 to 23 do not interfere with each other. Therefore, the circuits included in the individual processing devices 21 to 23 can be independently designed, developed, and checked for operation.

(4)内部接続状態の親ポートを持ち、子ポートの識別(Identify)が完了した処理装置は、親ポートから受信した許可信号(Grant信号)に応答してキャンセル信号(Cancel)を親ポートから出力し、自己識別シーケンスを終了する。従って、装置IDを取得しない処理装置の子ポートに他の装置が接続されていないリーフノードであっても、自己識別シーケンスを正常に終了させることができる。   (4) A processing apparatus having an internally connected parent port and having completed identification (Identify) of the child port sends a cancel signal (Cancel) from the parent port in response to the permission signal (Grant signal) received from the parent port. Output and end the self-identification sequence. Therefore, even if the leaf node has no other device connected to the child port of the processing device that does not acquire the device ID, the self-identification sequence can be terminated normally.

(第二実施形態)
以下、第二実施形態を図13〜図25に従って説明する。
なお、第一実施形態と同じ部材については同じ符号を付し、その説明のすべて又は一部を省略する。
(Second embodiment)
Hereinafter, the second embodiment will be described with reference to FIGS.
In addition, about the same member as 1st embodiment, the same code | symbol is attached | subjected and the description of all or one part is abbreviate | omitted.

図13に示すように、コントローラ100は、3つのポート回路40a,40b,40cと、物理層制御回路110と、インタフェース回路120を有している。
ポート回路40cは、他のポート回路40a,40bと同様の構成を有している。
As shown in FIG. 13, the controller 100 includes three port circuits 40a, 40b, and 40c, a physical layer control circuit 110, and an interface circuit 120.
The port circuit 40c has the same configuration as the other port circuits 40a and 40b.

物理層制御回路110は、図2に示す物理層制御回路50と同様に、データ再同期部51、シリアルパラレル変換部53、パラレルシリアル変換部54、選択回路55,56を有している。更に、物理層制御回路110は、ポート回路40a,40b,40cに対応する3つのレジスタ111a,111b,111c、アービトレーション制御部112、SelfIDパケット生成部(パケット生成部)113を有している。   Similar to the physical layer control circuit 50 shown in FIG. 2, the physical layer control circuit 110 includes a data resynchronization unit 51, a serial / parallel conversion unit 53, a parallel / serial conversion unit 54, and selection circuits 55 and 56. Further, the physical layer control circuit 110 includes three registers 111a, 111b, and 111c corresponding to the port circuits 40a, 40b, and 40c, an arbitration control unit 112, and a Self ID packet generation unit (packet generation unit) 113.

第1のレジスタ111aには、第1のポート回路40aの接続状態に対応する接続状態情報が、上位の回路(例えば、処理装置全体を制御する制御回路)からインタフェース回路120を介して格納される。接続状態情報は、ポート回路40aが受信装置のポート接続された場合には例えば「1」の情報、ポート回路40aが受信装置に含まれる他の処理装置に接続されている場合には例えば「0」の情報である。   The first register 111a stores connection state information corresponding to the connection state of the first port circuit 40a from an upper circuit (for example, a control circuit that controls the entire processing apparatus) via the interface circuit 120. . The connection status information is, for example, information “1” when the port circuit 40a is connected to the port of the receiving device, and “0” when the port circuit 40a is connected to another processing device included in the receiving device. Information.

同様に、第2のレジスタ111bには、第2のポート回路40bの接続状態に対応する接続状態情報が格納される。また、第3のレジスタ111cには、第3のポート回路40cの接続状態に対応する接続状態情報が格納される。   Similarly, the second register 111b stores connection state information corresponding to the connection state of the second port circuit 40b. The third register 111c stores connection state information corresponding to the connection state of the third port circuit 40c.

アービトレーション制御部112は、各レジスタ111a〜111cに格納された接続状態情報を読み出し、対応する各ポート回路40a〜40cの接続状態を判定する。そして、アービトレーション制御部112は、各ポート回路40a〜40cの接続状態(外部接続,内部接続)と、ネットワークにおける各ポート回路40a〜40cの接続状態(親ポート、子ポート、非接続)に基づいて、装置IDを設定する。   The arbitration control unit 112 reads the connection state information stored in each of the registers 111a to 111c, and determines the connection state of each corresponding port circuit 40a to 40c. Then, the arbitration control unit 112 is based on the connection state (external connection, internal connection) of each port circuit 40a-40c and the connection state (parent port, child port, non-connection) of each port circuit 40a-40c in the network. Set the device ID.

パケット生成部113は、SelfIDパケット抽出部(パケット抽出部)114とChildポート数演算部(ポート数演算部)115を有している。パケット抽出部114は、シリアルパラレル変換部53から出力されるパラレルデータから接続ポート数を抽出してポート数演算部115に出力する。接続ポート数は、受信したセルフIDパケット(self−ID packet)に含まれるポートの状態を示すフィールドのうち、アクティブなフィールドの数である。ポート数演算部115は、パケット抽出部114から出力されるポート数に基づいて、自装置が含まれる装置が持つポート数を算出する。   The packet generation unit 113 includes a SelfID packet extraction unit (packet extraction unit) 114 and a child port number calculation unit (port number calculation unit) 115. The packet extraction unit 114 extracts the number of connection ports from the parallel data output from the serial / parallel conversion unit 53 and outputs the connection port number to the port number calculation unit 115. The number of connected ports is the number of active fields among the fields indicating the states of the ports included in the received self-ID packet (self-ID packet). Based on the number of ports output from the packet extraction unit 114, the port number calculation unit 115 calculates the number of ports that the device including the own device has.

例えば、図16(a)に示すように、1つの装置(受信装置)130は3つの装置(処理装置)A,B,Cを有し、各装置A〜Cは図13に示すコントローラ100を有している。従って、各装置A〜Cはそれぞれ、3つのポートを持つ。そして、装置A〜Cを含む受信装置130は、各装置A〜Cが持つポートのうち、外部接続状態に設定されたポートを持つ。例えば、図16(a)に示す受信装置130は、4つのポートを持つ装置として認識されなければならない。このため、コントローラ100のポート数演算部115は、自己識別のフェーズにおいて送信されるセルフIDパケットに基づいて、自装置が含まれる装置のポート数を算出する。   For example, as shown in FIG. 16A, one device (receiving device) 130 includes three devices (processing devices) A, B, and C, and each of the devices A to C includes the controller 100 shown in FIG. Have. Accordingly, each device A to C has three ports. And the receiving apparatus 130 containing apparatus A-C has the port set to the external connection state among the ports which each apparatus A-C has. For example, the receiving device 130 illustrated in FIG. 16A must be recognized as a device having four ports. For this reason, the port number calculation unit 115 of the controller 100 calculates the number of ports of the device including the own device based on the self ID packet transmitted in the self-identification phase.

図15に示すように、セルフIDパケットSPは、先頭パケットSP1と、2つの連結パケットSP2,SP3を含む。なお、連結パケットの数は、セルフIDパケットを送信する装置が持つポートの数に依存する。ネットワークにおいて、最大4個のパケット(先頭パケットと3個の連結パケット)が送信される。   As shown in FIG. 15, the self ID packet SP includes a head packet SP1 and two concatenated packets SP2 and SP3. Note that the number of concatenated packets depends on the number of ports of the device that transmits the self ID packet. In the network, a maximum of four packets (first packet and three concatenated packets) are transmitted.

各パケットSP1〜SP3の先頭の「10」は、当該パケットがセルフIDパケットSPであることを示す。先頭パケットSP1には、送信元の物理IDを示すphy_ID(physical_ID)、リンク層とトランザクション層がアクティブであるか否かを示すL(link_active)等のフィールドが設けられている。また、先頭パケットSP1には、現在のPHY_Configuration.gap_countの値を示すgap_cnt(gap_count)、転送スピード能力を示すSP(PHY_SPEED)等のフィールドが設けられている。また、先頭パケットSP1には、ブリッジ能力を示すbrdg(bridge)、バス又はアイソクロナス・リソースマネージャ候補を示すc(CONTENDER)、パワークラスを示すpwr(POWER_CLASS)、ポートの接続状態を示すp0〜p2(NPORT)等のフィールドが設けられている。さらに、先頭パケットSP1には、バスリセットを発効したノードであることを示すi(initiated_reset)、「1」の場合にセルフIDパケットSPが続くことを示すm(more_packets)等のフィールドが設けられている。連結パケットSP2には、上記phy_ID、Extended self−ID packet Sequence numberを示すn、「0」に設定されるReservedビットであるrsv、ポートの接続状態を示すp3〜p10、上記m等のフィールドが設けられている。連結パケットSP3には、phy_IDフィールド、nフィールド、rsvフィールド、ポートの接続状態を示すp11〜p15フィールド、等が設けられている。   “10” at the head of each of the packets SP1 to SP3 indicates that the packet is a self ID packet SP. The head packet SP1 is provided with fields such as phy_ID (physical_ID) indicating the physical ID of the transmission source and L (link_active) indicating whether the link layer and the transaction layer are active. In addition, the current packet PHY_Configuration. Fields such as gap_cnt (gap_count) indicating the value of gap_count and SP (PHY_SPEED) indicating transfer speed capability are provided. Further, the head packet SP1 includes a bridg (bridge) indicating a bridge capability, c (CONTENTER) indicating a bus or isochronous resource manager candidate, pwr (POWER_CLASS) indicating a power class, and p0 to p2 (NPORT) indicating a port connection state. ) Etc. are provided. Further, the first packet SP1 is provided with fields such as i (initiated_reset) indicating that the node has issued the bus reset, and m (more_packets) indicating that the self-ID packet SP continues in the case of “1”. Yes. The concatenated packet SP2 is provided with fields such as phy_ID, n indicating an extended self-ID packet sequence number, rsv which is a reserved bit set to “0”, p3 to p10 indicating a port connection state, and m described above. It has been. The concatenated packet SP3 is provided with a phy_ID field, an n field, an rsv field, a p11 to p15 field indicating a connection state of ports, and the like.

セルフIDパケットSPのp0〜p15フィールドには、ポートの状態に応じてアクティブ(Active)状態を示すデータ(「10」又は「11」)が格納される。図13に示すパケット抽出部114は、セルフIDパケットSPのp0〜P15フィールドを抽出し、このアクティブ状態であるポートの数をポート数演算部115に出力する。   Data (“10” or “11”) indicating an active state is stored in the p0 to p15 fields of the self ID packet SP according to the port state. The packet extraction unit 114 shown in FIG. 13 extracts the p0 to P15 fields of the self ID packet SP and outputs the number of ports in the active state to the port number calculation unit 115.

ポート数演算部115は、図14に示すフローチャートに従って動作し、ポートの数を算出する。そして、パケット生成部113は、算出されたポート数の数だけアクティブ状態(「11」)に設定したp0〜p15フィールドを含むセルフIDパケットを生成する。   The port number calculation unit 115 operates according to the flowchart shown in FIG. 14 and calculates the number of ports. Then, the packet generation unit 113 generates a self ID packet including the p0 to p15 fields set in the active state (“11”) by the calculated number of ports.

次に、ポート数演算部115が実行するポート数演算処理を説明する。
図14に示すように、ポート数Ch_Port_Numに「0」をセットする(ステップ141)。
Next, the port number calculation process executed by the port number calculation unit 115 will be described.
As shown in FIG. 14, “0” is set to the number of ports Ch_Port_Num (step 141).

次いで、図13に示すアービトレーション制御部112が出力する受信信号(SelfID_RX)が「1」か否かを判定する(ステップ142)。受信信号(SelfID_RX)は、他ノードからセルフIDパケットを受信したことを示す。従って、セルフIDパケットを受信するまで待機する。   Next, it is determined whether or not the reception signal (SelfID_RX) output from the arbitration control unit 112 shown in FIG. 13 is “1” (step 142). The reception signal (SelfID_RX) indicates that a self ID packet has been received from another node. Therefore, it waits until a self ID packet is received.

セルフIDパケットを受信すると、図13に示すパケット抽出部114から出力される接続ポート数が「1」か否かを判定する(ステップ143)。接続ポート数が「1」の場合(判定YES)、ポート数演算部115は、ポート数Ch_Port_Numに「1」を加算し(ステップ144)、ステップ142へ移る。   When the self ID packet is received, it is determined whether or not the number of connection ports output from the packet extraction unit 114 shown in FIG. 13 is “1” (step 143). When the number of connected ports is “1” (determination YES), the port number calculation unit 115 adds “1” to the port number Ch_Port_Num (step 144), and proceeds to step 142.

ステップ143において、接続ポート数が「1」ではない場合(判定NO)、ポート数演算部115は、接続ポート数が「3」以上か否かを判定する(ステップ145)。接続ポート数が「3」以上の場合(判定YES)、接続ポート数から「2」を減算した値をポート数Ch_Port_Numから減算し、ステップ142へ移る。また、ステップ145において、接続ポート数が「3」以上ではない場合(判定NO)、ステップ142へ移る。   If the number of connection ports is not “1” in step 143 (determination NO), the port number calculation unit 115 determines whether or not the number of connection ports is “3” or more (step 145). When the number of connection ports is “3” or more (determination YES), a value obtained by subtracting “2” from the number of connection ports is subtracted from the port number Ch_Port_Num, and the process proceeds to step 142. In step 145, when the number of connection ports is not “3” or more (determination NO), the process proceeds to step 142.

次に、ネットワークにおける各装置の動作を説明する。
[接続例4]
図16(a)に示すように、受信装置130は装置1〜4と接続されている。装置1〜4は、例えば送信装置である。装置1はルートノードである。受信装置130は装置(処理装置)A〜Cを有し、各装置A〜Cはそれぞれ、図13に示すコントローラ100を含む。
Next, the operation of each device in the network will be described.
[Connection example 4]
As illustrated in FIG. 16A, the receiving device 130 is connected to the devices 1 to 4. The devices 1 to 4 are transmission devices, for example. Device 1 is a root node. The receiving apparatus 130 includes apparatuses (processing apparatuses) A to C, and each of the apparatuses A to C includes the controller 100 illustrated in FIG.

装置Aは、装置1に接続されたポート(外部接続状態)と、装置4に接続されたポート(外部接続状態)と、装置Bに接続されたポート(内部接続状態)を有している。装置Bは、装置Aに接続されたポート(内部接続状態)と、非接続状態のポート(外部接続状態)と、装置Cに接続されたポート(内部接続状態)を有している。装置Cは、装置Bに接続されたポート(内部接続状態)と、装置4に接続されたポート(外部接続状態)と、装置2に接続されたポート(外部接続状態)を有している。   Device A has a port connected to device 1 (external connection state), a port connected to device 4 (external connection state), and a port connected to device B (internal connection state). The device B has a port connected to the device A (internal connection state), a non-connected port (external connection state), and a port connected to the device C (internal connection state). The device C has a port connected to the device B (internal connection state), a port connected to the device 4 (external connection state), and a port connected to the device 2 (external connection state).

ツリー識別シーケンスにおいて、各装置1〜4,A〜Cのポートの親子関係が決定され、装置1はルートノードに決定される。尚、以下の説明に対応する図において、親ポートを単に「親」、子ポートを単に「子」と表記する。また、装置Bにおいて、便宜上、非接続状態のポートに対して「子」と表記する。   In the tree identification sequence, the parent-child relationships of the ports of the devices 1 to 4 and A to C are determined, and the device 1 is determined as the root node. In the drawings corresponding to the following description, the parent port is simply expressed as “parent” and the child port is simply expressed as “child”. In the device B, for the sake of convenience, the “connected” port is described as “child”.

図16(a)に示すように、ルートノードに決定した装置1は、子ポートからGrant信号を出力する。装置Aは、図5に示すフローチャートに従って、Identifyが完了していない最も小さなポート番号の子ポート(例えば、装置Bに接続された子ポート)にGrant信号を出力する。装置Bは、Identifyが完了していない子ポートにGrant信号を出力する。装置Cは、Identifyが完了していない最も小さなポート番号の子ポート(例えば、装置2に接続された子ポート)にGrant信号を出力する。なお、図示しないが、装置Aは、図5に示すフローチャートに従って、上記以外のIdentifyが完了していない子ポート(装置3が接続された子ポート)にIdle信号を出力する。同様に、装置Cは、上記以外のIdentifyが完了していない子ポート(装置4が接続された子ポート)にIdle信号を出力する。   As shown in FIG. 16A, the device 1 determined as the root node outputs a Grant signal from the child port. In accordance with the flowchart shown in FIG. 5, the device A outputs a Grant signal to the child port having the smallest port number for which Identity has not been completed (for example, the child port connected to the device B). Device B outputs a Grant signal to a child port for which Identity has not been completed. The device C outputs a Grant signal to the child port having the smallest port number for which the identify has not been completed (for example, the child port connected to the device 2). Although not shown, device A outputs an Idle signal to a child port (a child port to which device 3 is connected) that has not completed Identity other than those described above, according to the flowchart shown in FIG. Similarly, the device C outputs an Idle signal to a child port (a child port to which the device 4 is connected) that has not been completed with other Identity.

図16(b)に示すように、装置2は、パケットの先頭を示すData_Prefix信号(D_prefixと表記)を出力する。装置C,B,Aは、D_prefix信号を転送する。また、装置Cと装置Aは、D_prefix信号を、装置4と装置3にそれぞれ出力する。   As shown in FIG. 16B, the device 2 outputs a Data_Prefix signal (denoted as D_prefix) indicating the head of the packet. Devices C, B, A forward the D_prefix signal. In addition, the devices C and A output the D_prefix signal to the devices 4 and 3, respectively.

次いで、図16(c)に示すように、装置2は、セルフIDパケットの数をカウントしたカウント値に従って、図16(c)に示すように、カウント値を設定した装置IDを含むセルフIDパケット(SelfID−P)を親ポートから送信し、装置ID(=0)を確定する。装置Cは、ID=0のセルフIDパケット(SelfID−P)を、装置Bと装置4に送信する。装置Bは、ID=0のセルフIDパケット(SelfID−P)を装置Aに送信する。装置Aは、ID=0のセルフIDパケット(SelfID−P)を、装置1と装置3に送信する。   Next, as shown in FIG. 16 (c), the device 2 uses the count value obtained by counting the number of self ID packets, as shown in FIG. (SelfID-P) is transmitted from the parent port, and the device ID (= 0) is determined. The device C transmits a self ID packet (SelfID-P) with ID = 0 to the devices B and 4. The device B transmits a self ID packet (SelfID-P) with ID = 0 to the device A. Device A transmits a self ID packet (SelfID-P) with ID = 0 to devices 1 and 3.

次いで、図16(d)に示すように、装置2は、セルフIDの完了を示すIdent_done信号(Ident_Dと表記)を親ポートから出力する。装置Cは、Ident_D信号を受信した子ポートを、Identifyが完了したポートとして設定し、図4に示す状態S3へ遷移する。装置A,Bは、図4に示す状態S0へ遷移する。   Next, as illustrated in FIG. 16D, the device 2 outputs an Identity_done signal (denoted as Identity_D) indicating the completion of the self ID from the parent port. The device C sets the child port that has received the Identity_D signal as a port for which the Identity has been completed, and transitions to a state S3 illustrated in FIG. The devices A and B make a transition to the state S0 shown in FIG.

次いで、図17(a)に示すように、装置1は、Grant信号を出力する。装置A,BはGrant信号を転送する。装置Cは、親ポートからGrant信号を受信すると図4に示す状態S1へ遷移する。そして、装置Cは、図5に示すフローチャートに従って、Identifyが完了している子ポートから装置2にD_prefix信号を出力する。また、装置Cは、Identifyが完了していない子ポートから装置4にGrant信号を出力する。   Next, as illustrated in FIG. 17A, the device 1 outputs a Grant signal. Devices A and B transfer the Grant signal. When the device C receives the Grant signal from the parent port, the device C transits to the state S1 shown in FIG. Then, the device C outputs a D_prefix signal to the device 2 from the child port where the Identify is completed according to the flowchart shown in FIG. In addition, the device C outputs a Grant signal to the device 4 from a child port whose Identity has not been completed.

装置4は、装置2と同様に、図17(b)に示すように、D_prefix信号を出力する。装置C,B,AはD_prefix信号を転送する。次いで、装置4は、図17(c)に示すように、装置ID(=1)を含むセルフIDパケットを送信する。装置C,B,AはセルフIDパケットを転送する。次いで、装置4は、図17(d)に示すように、Ident_D信号を送信する。装置Cは、Identify信号を受信した子ポートを、Identifyが完了したポートとして設定する。   As with the device 2, the device 4 outputs a D_prefix signal as shown in FIG. Devices C, B, A forward the D_prefix signal. Next, as shown in FIG. 17C, the device 4 transmits a self ID packet including the device ID (= 1). Devices C, B, and A transfer self ID packets. Next, as illustrated in FIG. 17D, the device 4 transmits an Ident_D signal. The device C sets the child port that has received the Identify signal as a port for which the Identify has been completed.

次いで、図18(a)に示すように、装置1はGrant信号を出力する。装置A,BはGrant信号を転送する。装置Cは、Grant信号に応答して図4に示す状態S1へ遷移し、図5に示すフローチャートに従って、Identifyが完了した子ポートから装置2と装置4にD_prefix信号を出力する。   Next, as shown in FIG. 18A, the device 1 outputs a Grant signal. Devices A and B transfer the Grant signal. In response to the Grant signal, the device C transits to the state S1 shown in FIG. 4, and outputs a D_prefix signal to the devices 2 and 4 from the child port where the identify has been completed, according to the flowchart shown in FIG.

次いで、装置Cは、すべての子ポートのIdentifyが完了し、親ポートが内部接続状態であるため、図5に示すフローチャートに従って、図4に示す状態S5へ遷移する。状態S5へ遷移した装置Cは、図6に示すフローチャートに従って、図18(b)に示すように、親ポートから装置Bにキャンセル信号(Cancel)を送信する。   Next, the device C completes identification of all the child ports, and the parent port is in the internal connection state. Therefore, the device C transits to the state S5 shown in FIG. The device C that has transitioned to the state S5 transmits a cancel signal (Cancel) from the parent port to the device B as illustrated in FIG. 18B according to the flowchart illustrated in FIG.

装置Bは、図18(a)に示すGrant信号の受信により、状態S1にある。キャンセル信号(Cancel)を受信した装置Bは、図5に示すフローチャート(ステップ76,77)に従って、子ポートをIdentify完了に設定し、図4に示す状態S1から状態S3へと遷移する。更に、装置Bは、状態S3から状態S0,状態S1を経て状態S5へと遷移し、装置Aにキャンセル信号(Cancel)を出力する。   The device B is in the state S1 by receiving the Grant signal shown in FIG. The device B that has received the cancel signal (Cancel) sets the child port to “Identify complete” according to the flowchart (steps 76 and 77) shown in FIG. 5, and transitions from the state S1 shown in FIG. 4 to the state S3. Further, the device B transits from the state S3 to the state S5 through the states S0 and S1, and outputs a cancel signal (Cancel) to the device A.

このように、装置C,Bは、装置IDを持たない(ID=non)装置に確定する。
キャンセル信号(Cancel)を受信した装置Aは、図4に示す状態S1から状態S3へと遷移し、更に状態S0を経て状態S1へ遷移する。状態S1へ遷移した装置Aは、図18(b)に示すように、装置3にGrant信号を出力する。
As described above, the devices C and B are determined as devices having no device ID (ID = non).
The device A that has received the cancel signal (Cancel) transits from the state S1 shown in FIG. 4 to the state S3, and further transits to the state S1 via the state S0. The device A that has transitioned to the state S1 outputs a Grant signal to the device 3 as shown in FIG.

Grant信号を受信した装置3は、図18(c)に示すように、D_prefix信号を出力する。次いで、装置3は、図18(d)に示すように、装置ID(=2)を含むセルフIDパケット(SelfID−P)を出力する。更に、装置3は、図19(a)に示すように、Ident_D信号を出力する。装置Aは、Ident_Dを受信した子ポートを、Identifyが完了した子ポートに設定する。   The device 3 that has received the Grant signal outputs a D_prefix signal, as shown in FIG. Next, as illustrated in FIG. 18D, the device 3 outputs a self ID packet (SelfID-P) including the device ID (= 2). Further, the device 3 outputs an Ident_D signal as shown in FIG. The device A sets the child port that has received the Identity_D as the child port for which the Identity has been completed.

次いで、図19(b)に示すように、装置1は、Grant信号を出力する。Grant信号を受信した装置Aは、Identifyが完了した子ポートからD_prefix信号を出力する。   Next, as illustrated in FIG. 19B, the device 1 outputs a Grant signal. The device A that has received the Grant signal outputs a D_prefix signal from the child port whose Identity has been completed.

次いで、図19(c)に示すように、装置1は、Grant信号を出力する。Grant信号を受信した装置Aは、図4に示す状態S1から状態S4へと遷移し、装置1にD_prefix信号を出力する。次いで、装置Aは、図19(d)に示すように、装置ID(=3)を含むセルフIDパケット(SelfID−P)を送信する。次いで、装置Aは、図20(a)に示すように、Ident_D信号を装置1に出力する。装置1は、Ident_D信号を受信した子ポートを、Identifyが完了した子ポートに設定する。   Next, as illustrated in FIG. 19C, the device 1 outputs a Grant signal. The device A that has received the Grant signal transitions from the state S1 to the state S4 illustrated in FIG. 4 and outputs a D_prefix signal to the device 1. Next, as shown in FIG. 19D, the device A transmits a self ID packet (SelfID-P) including the device ID (= 3). Next, the device A outputs an Identity_D signal to the device 1 as shown in FIG. The device 1 sets the child port that has received the Identity_D signal as the child port for which the Identity has been completed.

次いで、装置1は、図20(b)に示すように、D_prefix信号を出力する。次いで、装置1は、図20(c)に示すように、装置ID(=4)を含むセルフIDパケット(SelfID−P)を送信する。   Next, the device 1 outputs a D_prefix signal as shown in FIG. Next, as illustrated in FIG. 20C, the device 1 transmits a self ID packet (SelfID-P) including the device ID (= 4).

上記の処理により、図20(d)に示すように、ネットワークに含まれる各装置の装置IDが確定する。受信装置130に含まれる装置A〜Cのうち、装置Aが装置ID(=3)を取得し、装置B及び装置Cは装置IDを取得しない(ID=non)。従って、受信装置130は、装置Aが取得した装置ID(=3)を持つ装置として、ネットワーク上の他の装置1〜4に認識される。   With the above processing, as shown in FIG. 20D, the device IDs of the respective devices included in the network are determined. Among the devices A to C included in the receiving device 130, the device A acquires the device ID (= 3), and the devices B and C do not acquire the device ID (ID = non). Therefore, the receiving apparatus 130 is recognized by the other apparatuses 1 to 4 on the network as the apparatus having the apparatus ID (= 3) acquired by the apparatus A.

また、装置IDを取得した装置Aは、図13に示すパケット生成部113(ポート数演算部115)により算出されたポート数(=4)に応じて、図15に示すp0〜p3フィールドにアクティブ状態を示すデータ(「11」)を格納したセルフIDパケットを送信する。従って、受信装置130は、4つのポートを持つ装置として、ネットワーク上の他の装置に認識される。   The device A that has acquired the device ID is active in the p0 to p3 fields shown in FIG. 15 according to the number of ports (= 4) calculated by the packet generation unit 113 (port number calculation unit 115) shown in FIG. A self ID packet storing data indicating the state (“11”) is transmitted. Accordingly, the receiving device 130 is recognized by other devices on the network as a device having four ports.

[接続例5]
図21(a)に示すように、受信装置130は装置1〜3と接続されている。受信装置130は装置(処理装置)A〜Cを有し、各装置A〜Cはそれぞれ、図13に示すコントローラ100を含む。
[Connection example 5]
As illustrated in FIG. 21A, the receiving device 130 is connected to the devices 1 to 3. The receiving apparatus 130 includes apparatuses (processing apparatuses) A to C, and each of the apparatuses A to C includes the controller 100 illustrated in FIG.

装置Aは、装置1に接続されたポート(外部接続状態)と、非接続状態のポート(外部接続状態)と、装置Bに接続されたポート(内部接続状態)を有している。装置Bは、装置Aに接続されたポート(内部接続状態)と、装置3に接続されたポート(外部接続状態)と、装置Cに接続されたポート(内部接続状態)を有している。装置Cは、装置Bに接続されたポート(内部接続状態)と、非接続状態のポート(外部接続状態)と、装置2に接続されたポート(外部接続状態)を有している。   Device A has a port connected to device 1 (external connection state), a non-connected port (external connection state), and a port connected to device B (internal connection state). Device B has a port connected to device A (internal connection state), a port connected to device 3 (external connection state), and a port connected to device C (internal connection state). The device C includes a port connected to the device B (internal connection state), a non-connected port (external connection state), and a port connected to the device 2 (external connection state).

ツリー識別シーケンスにおいて、各装置1〜3,A〜Cのポートの親子関係が決定され、装置Aはルートノードに決定されている。尚、装置A,Cにおいて、便宜上、非接続状態のポートに対して「子」と表記する。   In the tree identification sequence, the parent-child relationships of the ports of the devices 1 to 3 and A to C are determined, and the device A is determined as the root node. In the devices A and C, for the sake of convenience, the “unconnected” port is described as a “child”.

装置Aは、子ポートからGrant信号を出力する。装置B,CはGrantを転送する。Grant信号を受信した装置2は、図21(b)に示すように、D_prefix信号を送信する。装置C,B,AはD_prefix信号を転送する。装置Bは装置3にD_prefix信号を出力する。次いで、装置2は、図21(c)に示すように、装置ID(=0)を含むセルフIDパケットを送信する。次いで、装置2は、図21(d)に示すように、Ident_D信号を出力する。装置Cは、Ident_D信号を受信した子ポートを、Identifyが完了した子ポートに設定する。   Device A outputs a Grant signal from the child port. Devices B and C transfer Grant. The device 2 that has received the Grant signal transmits a D_prefix signal as shown in FIG. Devices C, B, A forward the D_prefix signal. Device B outputs a D_prefix signal to device 3. Next, as shown in FIG. 21C, the device 2 transmits a self ID packet including the device ID (= 0). Next, the device 2 outputs an Ident_D signal as shown in FIG. The device C sets the child port that has received the Identity_D signal as the child port for which the Identity has been completed.

次いで、図22(a)に示すように、装置Aは、Grant信号を出力する。装置BはGrant信号を転送する。装置Cは、Identifyが完了した子ポートにD_prefix信号を出力する。また、装置Cは、図22(b)に示すように、親ポートにキャンセル信号(Cancel)を出力する。これにより、装置Cは、装置IDを持たない(ID=non)装置に確定する。   Next, as shown in FIG. 22A, the device A outputs a Grant signal. Device B forwards the Grant signal. The device C outputs a D_prefix signal to the child port for which the identify has been completed. Device C outputs a cancel signal (Cancel) to the parent port as shown in FIG. As a result, the device C is determined as a device having no device ID (ID = non).

キャンセル信号を受信した装置Bは、Identifyの完了していない子ポートにGrant信号を出力する。Grant信号を受信した装置3は、図22(c)に示すように、D_prefix信号を出力する。次いで、装置3は、図22(d)に示すように、装置ID(=1)を含むセルフIDパケットを送信する。次いで、装置3は、図23(a)に示すように、Ident_D信号を出力する。装置Bは、Ident_D信号を受信した子ポートを、Identifyの完了した子ポートに設定する。   The device B that has received the cancel signal outputs a Grant signal to a child port for which Identity has not been completed. The device 3 that has received the Grant signal outputs a D_prefix signal, as shown in FIG. Next, as shown in FIG. 22D, the device 3 transmits a self ID packet including the device ID (= 1). Next, as shown in FIG. 23A, the device 3 outputs an Ident_D signal. The device B sets the child port that has received the Identity_D signal as a child port that has completed Identity.

次いで、図23(b)に示すように、装置AはGrant信号を出力する。装置Bは、図4に示す状態S5へ遷移し、図23(c)に示すように、親ポートにキャンセル信号(Cancel)を出力する。これにより、装置Bは、装置IDを持たない(ID=non)装置に確定する。   Next, as shown in FIG. 23B, the device A outputs a Grant signal. The device B transitions to the state S5 shown in FIG. 4, and outputs a cancel signal (Cancel) to the parent port as shown in FIG. 23 (c). As a result, the device B is determined as a device having no device ID (ID = non).

次いで、装置Aは、装置1にGrant信号を出力する。装置1は、図23(d)に示すように、D_prefix信号を出力する。次いで、装置1は、図24(a)に示すように、装置ID(=2)を含むセルフIDパケット(SelfID−P)を送信する。次いで、装置1は、図24(b)に示すように、Ident_D信号を出力する。装置Aは、Ident_D信号を受信した子ポートを、Identifyの完了した子ポートに設定する。   Next, the device A outputs a Grant signal to the device 1. The device 1 outputs a D_prefix signal as shown in FIG. Next, as shown in FIG. 24A, the device 1 transmits a self ID packet (SelfID-P) including the device ID (= 2). Next, the device 1 outputs an Ident_D signal as shown in FIG. The device A sets the child port that has received the Identity_D signal as a child port that has completed Identity.

次いで、装置Aは、図24(c)に示すように、D_prefix信号を出力する。次いで、装置Aは、図24(d)に示すように、装置ID(=3)を含むセルフIDパケット(SelfID−P)を送信する。   Next, apparatus A outputs a D_prefix signal as shown in FIG. Next, as shown in FIG. 24D, the device A transmits a self ID packet (SelfID-P) including the device ID (= 3).

上記の処理におり、図25に示すように、ネットワークに含まれる各装置の装置IDが確定する。受信装置130のうち、ルートノードに決定した装置Aは装置ID(=3)を取得し、装置B及び装置Cは装置IDを取得しない(ID=non)。従って、受信装置130は、装置Aが取得した装置ID(=3)を持つ装置として、ネットワーク上の他の装置1〜4に認識される。   In the above processing, as shown in FIG. 25, the device ID of each device included in the network is determined. Among the receiving apparatuses 130, the apparatus A determined as the root node acquires the apparatus ID (= 3), and the apparatuses B and C do not acquire the apparatus ID (ID = non). Therefore, the receiving apparatus 130 is recognized by the other apparatuses 1 to 4 on the network as the apparatus having the apparatus ID (= 3) acquired by the apparatus A.

[ポート数の演算例]
次に、受信装置130が持つポート数の算出について説明する。
図13に示すポート数演算部115は、他の装置から出力されたセルフIDパケットの受信回数をカウントする。
[Operation example of the number of ports]
Next, calculation of the number of ports that the receiving apparatus 130 has will be described.
The port number calculator 115 shown in FIG. 13 counts the number of receptions of the self ID packet output from another device.

例えば、図16(a)に示すように接続されたネットワークにおいて、ポート数演算部115は、装置2〜4が出力したセルフIDパケットに基づいて、ポート数Ch_Port_Numが「3」となる。従って、パケット生成部113は、図15に示すp0〜p3フィールドにアクティブ状態を示すデータを格納したセルフIDパケットを生成する。   For example, in the network connected as shown in FIG. 16A, the port number calculation unit 115 sets the port number Ch_Port_Num to “3” based on the self ID packets output from the devices 2 to 4. Accordingly, the packet generator 113 generates a self ID packet in which data indicating an active state is stored in the p0 to p3 fields shown in FIG.

また、図21(a)に示すように接続されたネットワークにおいて、ポート数演算部115は、装置2,3が出力したセルフIDパケットに基づいて、ポート数Ch_Port_Numが「2」となる。従って、パケット生成部113は、図15に示すp0〜p2フィールドにアクティブ状態を示すデータを格納したセルフIDパケットを生成する。   In the network connected as shown in FIG. 21A, the port number calculation unit 115 sets the port number Ch_Port_Num to “2” based on the self ID packet output by the devices 2 and 3. Accordingly, the packet generator 113 generates a self ID packet in which data indicating an active state is stored in the p0 to p2 fields shown in FIG.

また、図26に示すように、ネットワークは、装置1〜8と受信装置130を含む。各装置1〜8が送信するセルフIDパケット、接続されたポートの数に対応する情報を含む。従って、装置1,2,5,7,8はポート数=1であり、装置3,4はポート数=2であり、装置6はポート数=3である。従って、図14に示すフローチャートにおいて、ステップ144の処理を5回実行し、ステップ146の処理を1回実行する。その結果、ポート数Ch_Port_Numは「4」(=(+1)×5ー(3−2)×1)となる。   Further, as illustrated in FIG. 26, the network includes devices 1 to 8 and a receiving device 130. It includes information corresponding to the number of connected ports and self ID packets transmitted by each device 1-8. Therefore, the devices 1, 2, 5, 7, and 8 have the number of ports = 1, the devices 3 and 4 have the number of ports = 2, and the device 6 has the number of ports = 3. Accordingly, in the flowchart shown in FIG. 14, the process of step 144 is executed five times and the process of step 146 is executed once. As a result, the number of ports Ch_Port_Num is “4” (= (+ 1) × 5− (3-2) × 1).

なお、図26に示すネットワークの場合、ルートノードに決定した装置Aは、「8」の装置IDを取得する。従って、装置Aが出力するセルフIDパケットSPは、図27に示す先頭パケットSP1と連結パケットSP2を含む。先頭パケットSP1は、Phy_IDフィールドに「001000」が格納され、p0〜p2フィールドに「11」が格納され、mフィールドに「1」が格納されている。連結パケットSP2は、Phy_IDフィールドに「001000」が格納され、p3フィールドに「11」が格納され、mフィールドに「0」が格納されている。   In the case of the network shown in FIG. 26, the device A determined as the root node acquires the device ID “8”. Accordingly, the self ID packet SP output by the device A includes the head packet SP1 and the concatenated packet SP2 shown in FIG. In the first packet SP1, “001000” is stored in the Phy_ID field, “11” is stored in the p0 to p2 fields, and “1” is stored in the m field. In the concatenated packet SP2, “001000” is stored in the Phy_ID field, “11” is stored in the p3 field, and “0” is stored in the m field.

以上記述したように、本実施形態によれば、第一実施形態の効果に加え、以下の効果を奏する。
(5)3つのポートを持つ処理装置(装置A〜C)を有する受信装置130において、1つの処理装置が装置IDを取得し、他の2つの処理装置は装置IDを取得しない。従って、受信装置130は、ネットワークに含まれる他の装置1〜4において、1つの装置IDを取得した装置として認識される。このため、例えばバスリセットが発生してから通信可能な状態となるまでの復帰時間を短くすることができる。
As described above, according to this embodiment, in addition to the effects of the first embodiment, the following effects can be obtained.
(5) In the receiving device 130 having processing devices (devices A to C) having three ports, one processing device acquires a device ID, and the other two processing devices do not acquire a device ID. Therefore, the receiving device 130 is recognized as a device that has acquired one device ID in the other devices 1 to 4 included in the network. For this reason, for example, it is possible to shorten the return time from when the bus reset occurs until communication is possible.

(6)セルフIDパケット生成部113は、パケット抽出部114と、ポート数演算部115を有する。パケット抽出部114は、受信したセルフIDパケットからポート数を抽出する。ポート数演算部115は、パケット抽出部114にて抽出されたポート数に基づいて、受信装置130が持つポート数を算出する。そして、パケット生成部113は、算出されたポート数に応じてアクティブに設定されたp0〜p15フィールドを含むセルフIDパケットを生成する。従って、複数の処理装置を有する受信装置130が持つポート数を容易に算出することができる。   (6) The self ID packet generation unit 113 includes a packet extraction unit 114 and a port number calculation unit 115. The packet extraction unit 114 extracts the number of ports from the received self ID packet. Based on the number of ports extracted by the packet extraction unit 114, the port number calculation unit 115 calculates the number of ports that the reception device 130 has. Then, the packet generation unit 113 generates a self ID packet including the p0 to p15 fields that are set to be active according to the calculated number of ports. Therefore, it is possible to easily calculate the number of ports that the receiving device 130 having a plurality of processing devices has.

(他の実施形態)
なお、上記実施形態は、これを適宜変更した以下の態様にて実施することもできる。
・上記第一実施形態において、1つ又は3つ以上のポート回路を有する装置としてもよい。また、第二実施形態において、2つ以下又は4つ以上のポート回路を有する装置としてもよい。
(Other embodiments)
In addition, the said embodiment can also be implemented in the following aspects which changed this suitably.
In the first embodiment, a device having one or three or more port circuits may be used. In the second embodiment, it may be a device having two or less or four or more port circuits.

・上記各実施形態において、受信装置に含まれる処理装置の数を、2つ又は4つ以上に変更してもよい。また、各処理装置の接続は適宜変更されてもよい。例えば、図16(a)に示す受信装置130において、装置Bをブランチノードとする、つまり装置Bに3つの処理装置を接続してもよい。   In each of the above embodiments, the number of processing devices included in the receiving device may be changed to two or four or more. Moreover, the connection of each processing apparatus may be changed as appropriate. For example, in the receiving apparatus 130 shown in FIG. 16A, apparatus B may be a branch node, that is, three processing apparatuses may be connected to apparatus B.

・上記各実施形態におけるネットワーク内のノード数に特に制限はない。
・上記各実施形態では、複数の装置A〜Cを含む受信装置に具体化したが、送信装置や送受信装置に具体化してもよい。
-There is no restriction | limiting in particular in the number of nodes in the network in each said embodiment.
In each of the above embodiments, the receiving device includes a plurality of devices A to C. However, the receiving device may be specified as a transmitting device or a transmitting / receiving device.

・上記実施形態では、送信装置11〜14,A〜CをIEEE1394規格に準拠した装置に具体化したが、これに限らず、例えばIDB−1394規格やUSB規格に準拠した装置に具体化してもよい。   In the above embodiment, the transmission devices 11 to 14 and A to C are embodied as devices conforming to the IEEE 1394 standard. However, the present invention is not limited to this, and may be embodied as devices conforming to the IDB-1394 standard or the USB standard. Good.

上記各実施形態に関し、以下の付記を開示する。
(付記1)
外部装置と接続される通信装置であって、
前記外部装置とともにネットワークに含まれる複数の内部装置を有し、
前記複数の内部装置のうちの1つの内部装置は、前記外部装置と接続されるポートと、前記複数の内部装置のうちの他の内部装置と接続されたポートを有し、
前記複数の内部装置はそれぞれ、
トポロジ構築後の自己識別シーケンスにおいて、前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得し、内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、前記自己識別シーケンスを終了する物理層制御回路を有することを特徴とする通信装置。
(付記2)
前記物理層制御回路は、
前記キャンセル信号を受信した子ポートを、識別の完了した子ポートに設定する、ことを特徴とする付記1に記載の通信装置。
(付記3)
前記複数の内部装置のうち、全てのポートが子ポートに決定した前記内部装置は、全ての子ポートの識別が完了した場合に、前記セルフIDパケットを送信して装置IDを取得する、ことを特徴とする付記1又は2に記載の通信装置。
(付記4)
受信したセルフIDパケットからポート数を抽出するパケット抽出部と、
前記パケット抽出部にて抽出されたポート数に基づいて、前記外部装置と接続されるポート数を算出するポート数演算部と、
を含み、
前記ポート数演算部にて算出されたポート数に応じてポートを示すフィールドにアクティブに設定した前記セルフIDパケットを生成するパケット生成部を備えたことを特徴とする付記1〜3のうちの何れか一項に記載の通信装置。
(付記5)
前記ポート数演算部は、
「3」以上のポート数から「2」を減算した結果を、ポート数が「1」のセルフIDパケットの数から減算して前記外部装置と接続されるポート数を算出する、ことを特徴とする付記4に記載の通信装置。
(付記6)
外部装置と接続される通信装置であって、
前記外部装置とともにネットワークに含まれ、前記ネットワークのトポロジ構築によって親子関係が決定されたポートを持ち、前記決定されたポートに対応する接続情報が設定された複数の内部装置を有し、
前記複数の内部装置のうち、親ポートの接続情報が外部接続に設定された前記内部装置は、前記親ポートから許可信号を受信し、セルフIDパケットを送信して装置IDを取得し、
前記複数の内部装置のうち、親ポートの接続情報が内部接続に設定された前記内部装置は、前記親ポートから許可信号を受信し、前記親ポートにキャンセル信号を出力し、自己識別シーケンスを終了する、
ことを特徴とする通信装置。
(付記7)
トポロジ構築後の自己識別シーケンスにおいて、前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得し、内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、装置ID割り当てシーケンスを終了する物理層制御回路を有することを特徴とする半導体装置。
(付記8)
トポロジ構築後の自己識別シーケンスにおいて、
前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、
外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得して前記自己識別シーケンスを終了し、
内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、前記自己識別シーケンスを終了する、
ことを特徴とする装置IDの設定方法。
The following notes are disclosed regarding the above embodiments.
(Appendix 1)
A communication device connected to an external device,
A plurality of internal devices included in the network together with the external devices;
One internal device of the plurality of internal devices has a port connected to the external device and a port connected to another internal device of the plurality of internal devices,
Each of the plurality of internal devices is
In the self-identification sequence after topology construction, when a permission signal is received from the parent port of the external connection based on the parent-child relationship of the ports determined by the topology construction and the connection information corresponding to the determined port, A physical layer control circuit that transmits a self ID packet to acquire a device ID and outputs a cancel signal to the parent port when the permission signal is received from an internally connected parent port, and ends the self identification sequence; A communication device.
(Appendix 2)
The physical layer control circuit is
The communication apparatus according to appendix 1, wherein the child port that has received the cancel signal is set as a child port that has been identified.
(Appendix 3)
Among the plurality of internal devices, the internal device, in which all ports are determined as child ports, transmits the self ID packet and acquires a device ID when identification of all the child ports is completed. The communication apparatus according to Supplementary Note 1 or 2, which is characterized.
(Appendix 4)
A packet extraction unit that extracts the number of ports from the received self-ID packet;
Based on the number of ports extracted by the packet extraction unit, a port number calculation unit that calculates the number of ports connected to the external device;
Including
Any one of Supplementary notes 1 to 3, further comprising: a packet generation unit that generates the self ID packet that is actively set in a field indicating a port according to the number of ports calculated by the port number calculation unit. The communication device according to claim 1.
(Appendix 5)
The port number calculation unit includes:
Calculating the number of ports connected to the external device by subtracting the result of subtracting “2” from the number of ports equal to or greater than “3” from the number of self ID packets having the number of ports of “1”. The communication apparatus according to appendix 4.
(Appendix 6)
A communication device connected to an external device,
A plurality of internal devices that are included in the network together with the external device, have ports whose parent-child relationship is determined by topology construction of the network, and in which connection information corresponding to the determined ports is set;
Among the plurality of internal devices, the internal device whose parent port connection information is set to external connection receives a permission signal from the parent port, transmits a self ID packet to acquire a device ID,
Among the plurality of internal devices, the internal device whose parent port connection information is set to internal connection receives a permission signal from the parent port, outputs a cancel signal to the parent port, and ends the self-identification sequence. To
A communication device.
(Appendix 7)
In the self-identification sequence after topology construction, when a permission signal is received from the parent port of the external connection based on the parent-child relationship of the ports determined by the topology construction and the connection information corresponding to the determined port, A physical layer control circuit that transmits a self-ID packet to acquire a device ID and outputs a cancel signal to the parent port when the permission signal is received from a parent port of an internal connection, and ends the device ID assignment sequence A semiconductor device.
(Appendix 8)
In the self-identification sequence after topology construction,
Based on the parent-child relationship of the ports determined by the topology construction and the connection information corresponding to the determined ports,
When a permission signal is received from the parent port of the external connection, a self ID packet is transmitted to obtain a device ID, and the self identification sequence is terminated.
When the permission signal is received from the parent port of the internal connection, a cancel signal is output to the parent port, and the self-identification sequence is terminated.
A method for setting a device ID.

11,12 送信装置(外部装置)
13 受信装置(通信装置)
16,17 表示装置(出力装置)
18 スピーカ(出力装置)
21〜23 処理装置(内部装置、半導体装置)
30,100 コントローラ
50,110 物理層制御回路
57,113 パケット生成部
114 パケット抽出部
115 ポート数演算部
P0,P1 ポート
SP セルフIDパケット
11, 12 Transmitting device (external device)
13 Receiving device (communication device)
16, 17 Display device (output device)
18 Speaker (output device)
21-23 Processing equipment (internal equipment, semiconductor equipment)
30, 100 Controller 50, 110 Physical layer control circuit 57, 113 Packet generation unit 114 Packet extraction unit 115 Port number calculation unit P0, P1 Port SP Self ID packet

Claims (6)

外部装置と接続される通信装置であって、
前記外部装置とともにネットワークに含まれる複数の内部装置を有し、
前記複数の内部装置のうちの1つの内部装置は、前記外部装置と接続されるポートと、前記複数の内部装置のうちの他の内部装置と接続されたポートを有し、
前記複数の内部装置はそれぞれ、
トポロジ構築後の自己識別シーケンスにおいて、前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得し、内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、前記自己識別シーケンスを終了する物理層制御回路を有することを特徴とする通信装置。
A communication device connected to an external device,
A plurality of internal devices included in the network together with the external devices;
One internal device of the plurality of internal devices has a port connected to the external device and a port connected to another internal device of the plurality of internal devices,
Each of the plurality of internal devices is
In the self-identification sequence after topology construction, when a permission signal is received from the parent port of the external connection based on the parent-child relationship of the ports determined by the topology construction and the connection information corresponding to the determined port, A physical layer control circuit that transmits a self ID packet to acquire a device ID and outputs a cancel signal to the parent port when the permission signal is received from an internally connected parent port, and ends the self identification sequence; A communication device.
前記物理層制御回路は、
前記キャンセル信号を受信した子ポートを、識別の完了した子ポートに設定する、ことを特徴とする請求項1に記載の通信装置。
The physical layer control circuit is
2. The communication apparatus according to claim 1, wherein the child port that has received the cancel signal is set as a child port that has been identified.
前記複数の内部装置のうち、全てのポートが子ポートに決定した前記内部装置は、全ての子ポートの識別が完了した場合に、前記セルフIDパケットを送信して装置IDを取得する、ことを特徴とする請求項1又は2に記載の通信装置。   Among the plurality of internal devices, the internal device, in which all ports are determined as child ports, transmits the self ID packet and acquires a device ID when identification of all the child ports is completed. The communication apparatus according to claim 1 or 2, characterized in that 受信したセルフIDパケットからポート数を抽出するパケット抽出部と、
前記パケット抽出部にて抽出されたポート数に基づいて、前記外部装置と接続されるポート数を算出するポート数演算部と、
を含み、
前記ポート数演算部にて算出されたポート数に応じてポートを示すフィールドにアクティブに設定した前記セルフIDパケットを生成するパケット生成部を備えたことを特徴とする請求項1〜3のうちの何れか一項に記載の通信装置。
A packet extraction unit that extracts the number of ports from the received self-ID packet;
Based on the number of ports extracted by the packet extraction unit, a port number calculation unit that calculates the number of ports connected to the external device;
Including
The packet generation unit for generating the self ID packet that is set to be active in a field indicating a port according to the number of ports calculated by the port number calculation unit. The communication apparatus as described in any one.
トポロジ構築後の自己識別シーケンスにおいて、前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得し、内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、装置ID割り当てシーケンスを終了する物理層制御回路を有することを特徴とする半導体装置。   In the self-identification sequence after topology construction, when a permission signal is received from the parent port of the external connection based on the parent-child relationship of the ports determined by the topology construction and the connection information corresponding to the determined port, A physical layer control circuit that transmits a self-ID packet to acquire a device ID and outputs a cancel signal to the parent port when the permission signal is received from a parent port of an internal connection, and ends the device ID assignment sequence A semiconductor device. トポロジ構築後の自己識別シーケンスにおいて、
前記トポロジ構築によって決定されたポートの親子関係と、前記決定されたポートに対応する接続情報とに基づいて、
外部接続の親ポートから許可信号を受信した場合、セルフIDパケットを送信して装置IDを取得して前記自己識別シーケンスを終了し、
内部接続の親ポートから前記許可信号を受信した場合、前記親ポートにキャンセル信号を出力し、前記自己識別シーケンスを終了する、
ことを特徴とする装置IDの設定方法。
In the self-identification sequence after topology construction,
Based on the parent-child relationship of the ports determined by the topology construction and the connection information corresponding to the determined ports,
When a permission signal is received from the parent port of the external connection, a self ID packet is transmitted to obtain a device ID, and the self identification sequence is terminated.
When the permission signal is received from the parent port of the internal connection, a cancel signal is output to the parent port, and the self-identification sequence is terminated.
A method for setting a device ID.
JP2011115967A 2011-05-24 2011-05-24 COMMUNICATION DEVICE, SEMICONDUCTOR DEVICE, AND DEVICE ID SETTING METHOD Active JP5729129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011115967A JP5729129B2 (en) 2011-05-24 2011-05-24 COMMUNICATION DEVICE, SEMICONDUCTOR DEVICE, AND DEVICE ID SETTING METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011115967A JP5729129B2 (en) 2011-05-24 2011-05-24 COMMUNICATION DEVICE, SEMICONDUCTOR DEVICE, AND DEVICE ID SETTING METHOD

Publications (2)

Publication Number Publication Date
JP2012244581A true JP2012244581A (en) 2012-12-10
JP5729129B2 JP5729129B2 (en) 2015-06-03

Family

ID=47465768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011115967A Active JP5729129B2 (en) 2011-05-24 2011-05-24 COMMUNICATION DEVICE, SEMICONDUCTOR DEVICE, AND DEVICE ID SETTING METHOD

Country Status (1)

Country Link
JP (1) JP5729129B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019036768A (en) * 2017-08-10 2019-03-07 日立オートモティブシステムズ株式会社 Semiconductor device and manufacturing method
CN114416185A (en) * 2021-12-27 2022-04-29 深信服科技股份有限公司 Network port ordering method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313646A (en) * 2000-04-27 2001-11-09 Sony Corp Electronic device and method for controlling state of its physical layer circuit
JP2004328424A (en) * 2003-04-25 2004-11-18 Toshiba Corp Connection controller and control method of electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313646A (en) * 2000-04-27 2001-11-09 Sony Corp Electronic device and method for controlling state of its physical layer circuit
JP2004328424A (en) * 2003-04-25 2004-11-18 Toshiba Corp Connection controller and control method of electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019036768A (en) * 2017-08-10 2019-03-07 日立オートモティブシステムズ株式会社 Semiconductor device and manufacturing method
CN114416185A (en) * 2021-12-27 2022-04-29 深信服科技股份有限公司 Network port ordering method, device, equipment and storage medium
CN114416185B (en) * 2021-12-27 2024-04-09 深信服科技股份有限公司 Network port ordering method, device, equipment and storage medium

Also Published As

Publication number Publication date
JP5729129B2 (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US6157972A (en) Apparatus and method for processing packetized information over a serial bus
US6122248A (en) Data transmission system with bus failure recovery
US7701855B2 (en) Communication device, communication system, communication method, communication program and recording medium storing the communication program
JP3487768B2 (en) Signal transmission equipment
US20100257400A1 (en) Network loop healing apparatus and methods
KR100746900B1 (en) Electronic equipment, and method for controlling state of physical layer circuit thereof
JP3599048B2 (en) Data transfer control system, electronic device, program, and data transfer control method
TWI445374B (en) Remote management system and remote management method
EP1193914A2 (en) Data transmission and reception
JP5729129B2 (en) COMMUNICATION DEVICE, SEMICONDUCTOR DEVICE, AND DEVICE ID SETTING METHOD
KR101319981B1 (en) Communication connector enabling to identify communication status independently and communication apparatus comprising the communication connector
JP2008522550A (en) Multirate optical transponder
US8559424B2 (en) Data communication method and communication apparatus
JP4040654B2 (en) Communication control circuit and communication control method
JP2008236217A (en) Flexray network connecting method, flexray network and electronic control unit for flexray network
JP2007324681A (en) Connection apparatus to ieee serial bus
JP5618805B2 (en) COMMUNICATION DEVICE, NETWORK SYSTEM, AND COMMUNICATION METHOD
JP4683120B2 (en) Electronic device and communication method
WO2012071870A1 (en) Optical network unit terminal and passive optical network system
KR100336876B1 (en) A Real-Time Data Communication Device
Richter et al. Architecture and performance of CR4-a transparent communication mean for field buses and LANs
KR101343060B1 (en) Communication connector enabling to identify communication status independently
JP2015119297A (en) Electronic apparatus, control device and communication method
JP5347761B2 (en) Network control method and interface device
TWI453605B (en) Data transmission selection circuit and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141028

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150323

R150 Certificate of patent or registration of utility model

Ref document number: 5729129

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350