[go: up one dir, main page]

JP5458961B2 - Network system management method - Google Patents

Network system management method Download PDF

Info

Publication number
JP5458961B2
JP5458961B2 JP2010046867A JP2010046867A JP5458961B2 JP 5458961 B2 JP5458961 B2 JP 5458961B2 JP 2010046867 A JP2010046867 A JP 2010046867A JP 2010046867 A JP2010046867 A JP 2010046867A JP 5458961 B2 JP5458961 B2 JP 5458961B2
Authority
JP
Japan
Prior art keywords
network system
master
devices
frame
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010046867A
Other languages
Japanese (ja)
Other versions
JP2011182326A (en
Inventor
圭 中山
勇記 古本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2010046867A priority Critical patent/JP5458961B2/en
Publication of JP2011182326A publication Critical patent/JP2011182326A/en
Application granted granted Critical
Publication of JP5458961B2 publication Critical patent/JP5458961B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Small-Scale Networks (AREA)

Description

この発明は、複数のデバイスを接続して構成し、マスタノードが、音響信号のデータを含む音声伝送フレームを定期的に生成して上記各デバイスを通るループ状の伝送経路に一定周期で循環させ、上記各デバイスがその音声伝送フレームへ音響信号の書き込み及び/又は読み出しを行うことにより、任意のデバイス間で音響信号の伝送を行うネットワークシステムの管理方法に関する。   The present invention is configured by connecting a plurality of devices, and the master node periodically generates an audio transmission frame including the data of the acoustic signal and circulates it in a loop-shaped transmission path passing through each of the devices at a constant cycle. The present invention relates to a management method for a network system in which an acoustic signal is transmitted between arbitrary devices by writing and / or reading an acoustic signal to and from the audio transmission frame.

従来から、複数のデバイス間でデータの伝送を行うための種々のネットワークシステムが知られている。
例えば、特許文献1に記載のネットワークシステムにおいては、システムを構成する各デバイスにより形成されるリング状の伝送路に、マスタノードが生成するフレームを定期的に循環させ、各デバイスがそのフレームに対して必要な情報を読み書きすることにより、システムを構成する任意のデバイスから任意のデバイスへ、音響信号だけでなくイーサネット(登録商標)フレーム等の制御信号も、安定して伝送することができる。
Conventionally, various network systems for transmitting data between a plurality of devices are known.
For example, in the network system described in Patent Document 1, a frame generated by a master node is periodically circulated in a ring-shaped transmission path formed by each device constituting the system, and each device is associated with the frame. By reading and writing necessary information, it is possible to stably transmit not only an acoustic signal but also a control signal such as an Ethernet (registered trademark) frame from an arbitrary device constituting the system to an arbitrary device.

特開2009−94589号公報JP 2009-94589 A

ところで、特許文献1に記載のようなネットワークシステムにおいて、マスタノードの候補を複数用意しておき、デバイス間の接続切断などによりネットワークシステムを構成するデバイスの一部がマスタノードから分断されてしまった場合でも、その分断されたデバイスに含まれるマスタノードの候補が、その分断されたデバイスの範囲でネットワークシステムを再構築できるようにすることも考えられる。このようにすることにより、接続切断が発生した場合でも、切断箇所をまたぐ信号伝送以外は正常に継続することができ、切断の影響を最小限に抑えることができる。   By the way, in the network system as described in Patent Document 1, a plurality of master node candidates are prepared, and some of the devices constituting the network system are disconnected from the master node due to disconnection between devices. Even in such a case, it is conceivable that the master node candidate included in the divided device can reconstruct the network system in the range of the divided device. By doing so, even when connection disconnection occurs, it can continue normally except for signal transmission across the disconnection point, and the influence of disconnection can be minimized.

しかし、このような場合に、再構築したシステムを、完全に独立したシステムとして再構築してしまうと、接続の回復などにより、当初のマスタノードから分断されたデバイスがその当初のマスタノードとの接続を回復した場合でも、当初のマスタノードが属するネットワークシステムと、再構築したシステムとを自動的に統合して当初のシステム構成に復帰できるようにすることは難しいという問題がある。   However, in such a case, if the reconstructed system is reconstructed as a completely independent system, a device that has been disconnected from the original master node due to connection recovery, etc. Even when the connection is restored, there is a problem that it is difficult to automatically integrate the network system to which the original master node belongs and the reconstructed system so as to return to the original system configuration.

初めから別々に形成されたネットワークシステムについては、システム同士が誤って接続されてしまったとしても、1つのシステムに統合されないようにすることが好ましいためである。
この発明は、このような問題を解決し、ネットワークシステムを構成するデバイスの一部がマスタノードから分断されてしまった場合に臨時に構築したネットワークシステムを、分断の解消後に適切かつ自動的にもとのネットワークシステムに統合できるようにすることを目的とする。
This is because it is preferable that the network systems formed separately from the beginning should not be integrated into one system even if the systems are erroneously connected.
The present invention solves such a problem, and when a part of devices constituting the network system is parted from the master node, the network system temporarily constructed is appropriately and automatically after the parting is resolved. It aims to be able to be integrated into a network system.

上記の目的を達成するため、この発明のネットワークシステムの管理方法は、複数のデバイスを接続し、その複数のデバイスのうちのマスタノードが、音響信号のデータを含む音声伝送フレームを定期的に生成して、上記デバイスを通るループ状の伝達経路に一定周期で循環させ、上記各デバイスが、その循環する音声伝送フレームへの音響信号の書き込み及び/又は読み出しを行うことにより、上記各デバイス間のうちの任意のデバイス間で音響信号の伝送を行うネットワークシステムの管理方法において、上記接続された複数のデバイスのうちの何れか1のデバイスないし何れか複数のデバイスの協働によって、上記複数のデバイスの少なくとも2つのデバイスをマスタ候補デバイスとして指定するとともに、各マスタ候補デバイスがマスタノードになる優先順位を示すマスタ優先度を指定するマスタ指定手順と、ネットワークシステムが形成されていない状態で、上記複数のマスタ候補デバイスを含む複数のデバイスが接続された場合に、上記複数のマスタ候補デバイスのうちの、一番高いマスタ優先度を有する第1のマスタ候補デバイスを上記マスタノードとして機能させ、上記接続された複数のデバイスが所属するネットワークシステムを形成する第1システム形成手順と、上記第1システム形成手順によりネットワークシステムが形成されたとき、ユニークなユニークIDを生成して、その形成されたネットワークシステムに所属する各デバイスに付与するユニークID付与手順と、上記第1システム形成手順により形成されたネットワークシステムにおいて、上記伝達経路を循環する、上記マスタノードとして機能していた上記第1のマスタ候補デバイスからの上記音声伝送フレームが所定時間以上途絶えたとき、次に高いマスタ優先度を有する第2のマスタ候補デバイスを上記マスタノードとして機能させ、その時点で上記第2のマスタ候補デバイスと接続されている1又は複数のデバイス及び上記第2のマスタ候補デバイスが所属するネットワークシステムを形成する第2システム形成手順と、上記第1システム形成手順又は第2システム形成手順において形成されたネットワークシステムに所属する端部のデバイスが、他のネットワークシステムに所属する他のデバイスと接続されたのを検出したとき、その端部のデバイスが所属するネットワークシステムにおけるマスタノードよりも、上記検出された他のデバイスが所属するネットワークシステムにおけるマスタノードの方がマスタ優先度が高く、かつ、その端部のデバイスと上記他のデバイスとで上記付与されたユニークIDが共通であることを条件に、その端部のデバイスが所属するネットワークシステムの全てのデバイスをリセットするリセット手順と、いずれかのネットワークシステムに所属する端部のデバイスが、いずれのネットワークシステムにも所属していない他のデバイスと接続されたのを検出したとき、その検出された他のデバイスを、その端部のデバイスが所属するネットワークシステムに組み入れる組入手順とを実行するものである。   In order to achieve the above object, a network system management method according to the present invention connects a plurality of devices, and a master node of the plurality of devices periodically generates an audio transmission frame including acoustic signal data. Then, it circulates in a loop-shaped transmission path passing through the devices at a constant period, and each device writes and / or reads an acoustic signal to / from the circulating audio transmission frame. In a management method of a network system for transmitting an acoustic signal between any of these devices, the plurality of devices are operated by cooperation of any one device or any of the plurality of connected devices. At least two devices are designated as master candidate devices, and each master candidate device is designated as a master candidate device. When a plurality of devices including the plurality of master candidate devices are connected without a network system being formed, a master specifying procedure for specifying a master priority indicating the priority order of becoming a node is selected. A first system formation procedure for causing a first master candidate device having the highest master priority among the candidate devices to function as the master node and forming a network system to which the plurality of connected devices belong; When a network system is formed by the first system formation procedure, a unique unique ID is generated and given to each device belonging to the formed network system; and the first system formation procedure In the network system formed by When the voice transmission frame from the first master candidate device that has been functioning as the master node that circulates the path is interrupted for a predetermined time or longer, the second master candidate device having the next highest master priority is A second system formation procedure for functioning as a master node and forming a network system to which one or more devices connected to the second master candidate device and the second master candidate device belong; and When it is detected that an end device belonging to the network system formed in the first system formation procedure or the second system formation procedure is connected to another device belonging to another network system, the end device Detected above than the master node in the network system to which the device belongs. On the condition that the master node in the network system to which the other device belongs has higher master priority, and the unique ID assigned to the other device and the other device is common. Reset procedure for resetting all devices in the network system to which the device at the end belongs, and the device at the end belonging to one of the network systems is connected to other devices not belonging to any network system When it is detected that the other device has been detected, an installation procedure for incorporating the detected other device into the network system to which the device at the end belongs is executed.

このようなネットワークシステムの管理方法において、上記接続された複数のデバイスのうちの何れか1のデバイスないし何れか複数のデバイスの協働によって、上記各マスタ候補デバイスについて、そのマスタ候補デバイスのマスタ優先度に応じて、上記第2システム形成手順における上記所定時間を、マスタ優先度が高いほど短い時間に定める手順を実行するようにするとよい。
さらに、上記ネットワークシステムを、上記第1システム形成手順により形成されるネットワークシステムを構成する各デバイスをリモート制御するための制御装置を備えるものとし、上記接続された複数のデバイスに代えて、上記制御装置が、上記ユニークID付与手順を実行するようにするとよい。
In such a network system management method, the master priority of the master candidate device is selected for each master candidate device by cooperation of any one of the plurality of connected devices or any of the plurality of devices. Depending on the degree, the predetermined time in the second system formation procedure may be set to a shorter time as the master priority is higher.
Further, the network system includes a control device for remotely controlling each device constituting the network system formed by the first system formation procedure, and the control is performed instead of the plurality of connected devices. It is preferable that the device executes the above unique ID assigning procedure.

あるいは、上記接続された複数のデバイスのうち上記第1のマスタ候補デバイスが、上記ユニークID付与手順を実行するようにするとよい。
さらに、上記第2システム形成手順においては、上記複数のデバイスをリセットすることなく、上記第2のマスタ候補デバイスを上記マスタノードとするネットワークシステムが形成されるようにするとよい。
Alternatively, the first master candidate device among the plurality of connected devices may execute the unique ID assignment procedure.
Furthermore, in the second system formation procedure, a network system in which the second master candidate device is the master node may be formed without resetting the plurality of devices.

この発明のネットワークシステムの実施形態であるオーディオネットワークシステムの概略構成を示す図である。1 is a diagram showing a schematic configuration of an audio network system which is an embodiment of a network system of the present invention. 図1に示したオーディオネットワークシステムの伝送路で伝送されるTLフレームの構成例を示す図である。It is a figure which shows the structural example of the TL frame transmitted with the transmission line of the audio network system shown in FIG. TLフレームの伝送タイミングを示す図である。It is a figure which shows the transmission timing of a TL frame. オーディオネットワークシステム上での音響信号の伝送時における、TLフレームの伝送状況について説明するための図である。It is a figure for demonstrating the transmission condition of a TL frame at the time of transmission of the acoustic signal on an audio network system. 図1に示したオーディオネットワークシステムを構成する各ノードとなる音響信号処理装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the acoustic signal processing apparatus used as each node which comprises the audio network system shown in FIG. 図5に示したネットワークI/FカードにおけるTLフレームの伝送に関する機能をより詳細に示す図である。It is a figure which shows the function regarding transmission of TL frame in the network I / F card shown in FIG. 5 in detail. この発明のネットワークシステムの実施形態であるオーディオネットワークシステムのより具体的な構成例を示す図である。It is a figure which shows the more concrete example of a structure of the audio network system which is embodiment of the network system of this invention. 図7に示したデバイスに記憶させるマスタ優先順位の情報について説明するための図である。It is a figure for demonstrating the information of the master priority memorize | stored in the device shown in FIG. オーディオネットワークシステム及びTLフレームの伝送路を形成する際の、ユーザによる作業及びそれに応じた各機器の動作手順を示す図である。It is a figure which shows the operation procedure of each apparatus according to the operation | work by a user at the time of forming the transmission path of an audio network system and a TL frame. TLフレームにおける信号伝送chの割り当て内容について説明するための図である。It is a figure for demonstrating the allocation content of the signal transmission channel in a TL frame.

図7に示した各デバイスに記憶させるIDについて説明するための図である。It is a figure for demonstrating ID memorize | stored in each device shown in FIG. 制御装置に記憶させる仮想デバイステーブルの例を示す図である。It is a figure which shows the example of the virtual device table memorize | stored in a control apparatus. 制御装置に記憶させる、オーディオネットワークシステムを構成するデバイスを制御するためのデータの例を示す図である。It is a figure which shows the example of the data for controlling the device which comprises the audio network system memorize | stored in a control apparatus. 制御装置が収集する各デバイスのIDの管理状態の例を示す図である。It is a figure which shows the example of the management state of ID of each device which a control apparatus collects. 制御装置のCPUが実行する同期化処理のフローチャートである。It is a flowchart of the synchronization process which CPU of a control apparatus performs. 図7に示したデバイスのうちマスタ候補のデバイスのCPUが実行するマスタ変更処理のフローチャートである。It is a flowchart of the master change process which CPU of the device of a master candidate among the devices shown in FIG. 7 performs. 図7に示した各デバイスのCPUが実行するリセット処理のフローチャートである。It is a flowchart of the reset process which CPU of each device shown in FIG. 7 performs. 図7に示した各デバイスのCPUが他のネットワークに属するデバイスとの接続を検出した場合に実行する処理のフローチャートである。FIG. 8 is a flowchart of processing executed when the CPU of each device shown in FIG. 7 detects a connection with a device belonging to another network. 図7に示したオーディオネットワークシステムにおいてノード間の接続切断が発生し、その後切断が回復した場合のシステムの動作について説明するための図である。It is a figure for demonstrating operation | movement of a system when the connection disconnection between nodes generate | occur | produces in the audio network system shown in FIG. 7, and a disconnection | restoration is recovered | restored after that. 同じくマスタノードの動作が停止し、その後回復した場合のシステムの動作について説明するための図である。It is a figure for demonstrating operation | movement of a system when the operation | movement of a master node stops similarly, and it recovers after that. ループ接続のシステムにおいてマスタノードの動作が停止し、その後回復した場合の動作について説明するための図である。It is a figure for demonstrating operation | movement when the operation | movement of a master node stops and it recovers after that in the system of a loop connection.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
1. この発明の実施形態のオーディオネットワークシステムの概要
1.1 全体構成
まず、図1に、この発明のネットワークシステムの実施形態であるオーディオネットワークシステムの概略を示す。
図1(a),(b)に示すように、このオーディオネットワークシステム1は、それぞれ単方向の通信を行う受信手段である受信インタフェース(I/F)と送信手段である送信I/Fの組を2組備えたデバイスであるノードA〜Cを、通信ケーブルCBで順次接続することにより構成したものである。ここでは3つのノードにより構成した例を示しているが、ノードの数は2以上の任意でよい。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
1. 1. Outline of Audio Network System of Embodiment of Present Invention 1.1 Overall Configuration First, FIG. 1 shows an outline of an audio network system which is an embodiment of a network system of the present invention.
As shown in FIGS. 1A and 1B, the audio network system 1 is a set of a reception interface (I / F) that is a reception unit that performs unidirectional communication and a transmission I / F that is a transmission unit. Are configured by sequentially connecting nodes A to C, which are devices each having two sets, with a communication cable CB. Here, an example of three nodes is shown, but the number of nodes may be two or more.

ノードAにおいては、受信I/F_AR1と送信I/F_AT1が一組のI/Fで、受信I/F_AR2と送信I/F_AT2がもう一組のI/Fである。ノードB及びCについても、符号の先頭の文字「A」を「B」あるいは「C」に置き換えたI/Fが、同様な関係に当たる。   In the node A, the reception I / F_AR1 and the transmission I / F_AT1 are a set of I / Fs, and the reception I / F_AR2 and the transmission I / F_AT2 are another set of I / Fs. For nodes B and C, the I / F in which the first character “A” of the code is replaced with “B” or “C” has the same relationship.

そして、ノード間の接続は、1組の受信I/F及び送信I/Fを、別のノードの1組の送信I/F及び受信I/Fとそれぞれ通信ケーブルCBで接続することにより行っている。例えば、ノードAとノードBとの間では、受信I/F_AR2と送信I/F_BT1とを接続すると共に、送信I/F_AT2と受信I/F_BR1とを接続している。また、ノードBとノードCとの間では、ノードBのもう1組のI/Fと、ノードCの1組のI/Fとを接続している。
なお、図1に示す各ノードは、アナログ入力,アナログ出力,デジタル入力,デジタル出力,ミキシング,エフェクト付与,録音再生,リモート制御,あるいはこれらの組み合わせ等の各種機能を有する音響信号処理装置である。ノード毎に機能が違っていても当然構わない。
The connection between the nodes is performed by connecting one set of reception I / F and transmission I / F to one set of transmission I / F and reception I / F of another node through a communication cable CB. Yes. For example, between the node A and the node B, the reception I / F_AR2 and the transmission I / F_BT1 are connected, and the transmission I / F_AT2 and the reception I / F_BR1 are connected. Further, between the node B and the node C, another set of I / F of the node B and one set of I / F of the node C are connected.
Each node shown in FIG. 1 is an acoustic signal processing device having various functions such as analog input, analog output, digital input, digital output, mixing, effect application, recording / playback, remote control, or a combination thereof. Of course, it does not matter if the function is different for each node.

ここで、(a)に示すように、各ノードを、端部を有する1本のラインのように接続した状態を、「カスケード接続」と呼ぶことにする。そしてこの場合、各ノード間を結ぶ通信ケーブルCBにより、破線で示すように1つのリング状のデータ伝送経路を形成することができ、各ノードは、この経路でフレームを一定周期で循環させるように伝送し、そのフレームに対して必要な情報を読み書きすることにより、経路上の任意のノードとの間でデータの送受信を行うことができる。
そして、オーディオネットワークシステム1内において、1つのノードがマスタノードとなり、音響信号を伝送するためのフレームを生成し、定期的に伝送経路を循環させたり、ネットワークの管理を行ったりする。このマスタノードが生成するフレームを、その他のフレームと区別して「TLフレーム」と呼ぶことにする。
Here, as shown in (a), a state in which each node is connected like a single line having an end is referred to as “cascade connection”. In this case, one ring-shaped data transmission path can be formed by the communication cable CB connecting the nodes as shown by the broken line, and each node circulates the frame at a constant cycle along this path. By transmitting and reading / writing necessary information for the frame, data can be transmitted / received to / from any node on the path.
In the audio network system 1, one node becomes a master node, generates a frame for transmitting an acoustic signal, periodically circulates the transmission path, and manages the network. The frame generated by the master node is referred to as a “TL frame” in distinction from other frames.

また、(a)に示したカスケード接続に加え、両端のノードで使用していないI/F同士も通信ケーブルCBで接続すると、(b)に示すように、リング状のデータ伝送経路を2つ形成することができる。そして、各ノードは、これらの経路でそれぞれフレームを伝送し、その各フレームに対して必要な情報を読み書きすることにより、経路上の任意のノードとの間でデータの送受信を行うことができる。このようなノード間の接続状態を、「ループ接続」と呼ぶことにする。   Further, in addition to the cascade connection shown in (a), when the I / Fs not used in the nodes at both ends are also connected by the communication cable CB, two ring-shaped data transmission paths are provided as shown in (b). Can be formed. Each node can transmit / receive data to / from any node on the path by transmitting a frame through these paths and reading / writing necessary information for each frame. Such a connection state between nodes is referred to as “loop connection”.

このループ接続の状態で、一方の伝送路を循環させるTLフレームのみで伝送可能な情報量の通信を行っている場合、1カ所で断線が発生したとしても、その断線箇所の両側でTLフレームの伝送を折り返すことにより、断線箇所の両側をカスケード接続の両端と見て、速やかに(a)に示したようなカスケード接続のシステムに組み換え、0〜2フレーム程度の損失でTLフレームの伝送を継続することができる。   In this loop connection state, when communication is performed with an amount of information that can be transmitted using only a TL frame that circulates through one transmission path, even if a disconnection occurs at one location, the TL frame is transmitted on both sides of the disconnection location. By turning back the transmission, both sides of the disconnection point are viewed as both ends of the cascade connection, and the system is quickly converted to the cascade connection system as shown in (a), and TL frame transmission is continued with a loss of about 0 to 2 frames. can do.

なお、図1ではケーブルを2本示しているが、1組の受信I/Fと送信I/Fとを近接してあるいは一体として設ければ、2本を束ねて1本にしたケーブルにより、1組のI/F同士の接続を行うことも可能である。
また、各ノードには、必要なI/Fを設ければ、(c)に示すように、外部機器Nを接続し、外部機器Nから受信したデータをTLフレームに書き込んで他のノードに送信したり、TLフレームから読み出したデータを外部機器Nに送信したりすることもできる。
Although two cables are shown in FIG. 1, if a pair of reception I / F and transmission I / F are provided close to each other or integrally, a cable obtained by bundling the two into one, It is also possible to connect a pair of I / Fs.
If each node is provided with the necessary I / F, as shown in (c), the external device N is connected, and the data received from the external device N is written in the TL frame and transmitted to other nodes. It is also possible to transmit data read from the TL frame to the external device N.

このような外部機器Nとしては、例えば外付けのコンソールが考えられる。そして、コンソールがユーザから受け付けた操作に応じたコマンドをノードBに送信し、ノードBがこれをTLフレームに書き込んで他のノードに送信したり、他のノードがTLフレームに書き込んで送信してきた応答やレベルデータ等をノードBが読み出してコンソールに送信し、コンソールにおける操作子状態の表示やレベル表示に使用するといった動作を行わせることが考えられる。   As such an external device N, for example, an external console can be considered. Then, the console transmits a command corresponding to the operation received from the user to the node B, and the node B writes this in the TL frame and transmits it to the other node, or the other node writes in the TL frame and transmits it. It is conceivable that the node B reads out a response, level data, and the like, transmits it to the console, and performs an operation such as using the console to display the operator state or level.

1.2 TLフレームの構成
次に、図2に、上述したオーディオネットワークシステム1の伝送路で伝送されるTLフレームの構成例を示す。なお、この図に示した各領域の幅は必ずしもデータ量と対応しない。
図2に示すように、このTLフレーム100は、サイズが1282バイトであり、先頭から順に、プリアンブル101,管理データ102,波形データ(オーディオデータ)領域103,制御データ領域104,FCS(Frame Check Sequence)105の各領域からなる。各領域のサイズは、その領域に記載するデータ量に関わらずそれぞれ一定である。また、ここで示すFCS105以外の各領域のサイズは一例であり、適宜変更してよい。
1.2 Configuration of TL Frame Next, FIG. 2 shows a configuration example of a TL frame transmitted through the transmission path of the audio network system 1 described above. Note that the width of each region shown in this figure does not necessarily correspond to the data amount.
As shown in FIG. 2, this TL frame 100 is 1282 bytes in size, and in order from the top, is a preamble 101, management data 102, a waveform data (audio data) area 103, a control data area 104, an FCS (Frame Check Sequence). ) 105 areas. The size of each area is constant regardless of the amount of data described in that area. Moreover, the size of each area | region other than FCS105 shown here is an example, and may be changed suitably.

そして、プリアンブル101は、計8バイトのデータであり、IEEE(Institute of Electrical and Electronic Engineers)802.3で規定されるプリアンブルとSFD(Start Frame Delimiter)とを記載する。
管理データ102は、8バイトのデータであり、オーディオネットワークシステム1内の各ノードがTLフレームに含まれるデータの管理に利用するデータとして、システム内のどの伝送路を循環させるフレームかを示すリングID、フレーム通し番号であるフレームID、波形データ103中の波形データのch数等を記載する。
The preamble 101 is a total of 8 bytes of data, and describes a preamble and an SFD (Start Frame Delimiter) defined by IEEE (Institute of Electrical and Electronic Engineers) 802.3.
The management data 102 is 8-byte data, and a ring ID indicating which transmission path in the system is used as data used by each node in the audio network system 1 to manage data included in the TL frame. In addition, a frame ID that is a frame serial number, the number of channels of waveform data in the waveform data 103, and the like are described.

また、波形データ領域103としては1024バイトを確保しており、音響信号のデータである1サンプル32ビットの波形データを256ch分記載できる。すなわち、本システムでは、1つのTLフレーム100を循環させることにより、256ch分の音響信号を伝送することができる。なお、256ch中の伝送に使われていないch(空きch)の領域については、そこに何が記載されているか気にしなくて良い。なお、波形データのビット数に応じて各chの領域のサイズを変更するようにしてもよい。その場合、16ビットの波形データは512ch分伝送可能であり、24ビットであれば340ch分伝送可能になる。   In addition, 1024 bytes are secured as the waveform data area 103, and one sample of 32 bits of waveform data, which is the sound signal data, can be described for 256 channels. That is, in this system, by circulating one TL frame 100, it is possible to transmit acoustic signals for 256 channels. Note that it is not necessary to worry about what is described in the area of ch (empty ch) that is not used for transmission in 256 ch. Note that the size of each channel area may be changed according to the number of bits of the waveform data. In this case, 16-bit waveform data can be transmitted for 512 channels, and if it is 24 bits, 340 channels can be transmitted.

また、波形データ領域103においては、予めオーディオネットワークシステム1を構成する各ノードにchを割り当てておき、各ノードは、自身に割り当てられたchの位置に、出力波形データの書き込みを行う。この割り当ては、システム全体の管理動作を行うマスタノードが、各ノードからの要求に基づいて行う。   In the waveform data area 103, a channel is assigned to each node constituting the audio network system 1 in advance, and each node writes output waveform data at the position of the assigned channel. This assignment is performed based on a request from each node by a master node that performs a management operation of the entire system.

一方、制御データ領域104としては238バイトを確保し、ここには、イーサネットフレーム領域106、ITLフレーム領域107、および管理データ領域108を設けている。
このうちイーサネットフレーム領域106には、IP(Internet Protocol)に基づくノード間通信用のパケットであるIPパケットをさらにフレーム化したIEEE(Institute of Electrical and Electronic Engineers)802.3形式のフレーム(イーサネットフレーム)を記載する。
On the other hand, 238 bytes are secured as the control data area 104, and an Ethernet frame area 106, an ITL frame area 107, and a management data area 108 are provided here.
The Ethernet frame area 106 includes an IEEE (Institute of Electrical and Electronic Engineers) 802.3 format frame (Ethernet frame) obtained by further framing IP packets, which are packets for inter-node communication based on IP (Internet Protocol). Is described.

また、記載すべきイーサネットフレームが用意したサイズ(ここでは178バイト)に収まらない場合には、フレームの送信側で必要な数のブロックに分割し、TLフレーム1つにつき、そのブロック1つを記載する。そして、フレームの受信側で複数のTLフレーム100からデータを取り出して結合し、分割前のフレームを復元することにより、通常のイーサネット(登録商標)での伝送と同様にイーサネットフレームをノード間で伝送することができる。   Also, if the Ethernet frame to be described does not fit in the prepared size (here 178 bytes), it is divided into the required number of blocks on the frame transmission side, and one block is described for each TL frame. To do. Then, on the frame receiving side, data is extracted from a plurality of TL frames 100 and combined, and the frame before division is restored, so that Ethernet frames are transmitted between nodes in the same manner as normal Ethernet (registered trademark) transmission. can do.

また、ITLフレーム領域107には、隣接ノード間でのコマンド及びコマンドに対する応答の伝送に使用するフレームであるITLフレームのデータを記載する。このITLフレームは、詳細な説明は省略するが、システム内でフレーム伝送路を形成する際の情報伝達や、システム形成後の情報伝達に使用する。   In the ITL frame area 107, data of an ITL frame that is a frame used for transmission of a command and a response to the command between adjacent nodes is described. Although detailed description is omitted, this ITL frame is used for information transmission when a frame transmission path is formed in the system and information transmission after the system is formed.

管理データ領域108は、システム内の各ノードがTLフレーム100に含まれるデータの管理に利用するデータを記載する領域である。ここに記載するデータとしては、例えば、レベル表示に使用するレベルデータ、TLフレーム100が伝送中に切断されたことを示す切断検出フラグ、TLフレーム100の伝送にエラーが生じたことを示すエラーフラグ等が挙げられる。
また、FCS105は、IEEE802.3で規定される、フレームのエラーを検出するためのフィールドである。
The management data area 108 is an area in which data used by each node in the system for managing data included in the TL frame 100 is described. The data described here includes, for example, level data used for level display, a disconnection detection flag indicating that the TL frame 100 is disconnected during transmission, and an error flag indicating that an error has occurred in the transmission of the TL frame 100 Etc.
The FCS 105 is a field for detecting frame errors defined by IEEE 802.3.

1.3 TLフレームの伝送方式
次に、図3に、図2に示したTLフレーム100の伝送タイミングを示す。
この図に示すように、オーディオネットワークシステム1においては、TLフレーム100を、96kHz(キロヘルツ)のサンプリング周期1周期である10.4μsec(マイクロ秒)毎に1つ、ノード間を循環させ、各ノードはTLフレームの所望のchへの音響信号の書き込みないし所望のchからの音響信号の読み出しを行うようになっている。従って、各サンプリング周期に、256の信号伝送chについて、それぞれ1サンプル分の波形データを、各ノード間で伝送できる。
1Gbps(ギガビット・パー・セカンド)のイーサネット(登録商標)方式のデータ転送を採用すれば、TLフレーム100の時間長は、1ナノ秒×8ビット×1282バイト=10.26μsecであり、1サンプリング周期内に伝送が完了する。
1.3 TL Frame Transmission Method Next, FIG. 3 shows the transmission timing of the TL frame 100 shown in FIG.
As shown in this figure, in the audio network system 1, the TL frame 100 is circulated between nodes every 10.4 μsec (microseconds), which is one sampling period of 96 kHz (kilohertz). Is configured to write an acoustic signal to a desired channel of a TL frame or read an acoustic signal from a desired channel. Therefore, one sample of waveform data can be transmitted between nodes for each of 256 signal transmission channels in each sampling period.
If data transfer of Ethernet (registered trademark) system of 1 Gbps (Gigabit per second) is adopted, the time length of the TL frame 100 is 1 nanosecond × 8 bits × 1282 bytes = 10.26 μsec, and 1 sampling period The transmission is completed within.

次に、図4に、オーディオネットワークシステム上での音響信号の伝送時における、図2に示したTLフレームの伝送状況を示す。
ここでは、ノードAからノードDまでの4つのノードをカスケード接続したシステムを考える。そして、このシステム内の各ノードにTLフレーム100を循環させる場合、いずれか1つのノードをマスタノードと定め、そのノードのみが新たなサンプリング周期のTLフレーム(通し番号の異なるTLフレーム)の生成を行い、サンプリング周期毎に生成されたTLフレームを次のノードへ送信する。部分マスタ以外のノードはスレーブノードであり、それぞれ前のノードからTLフレームを受信し、次のノードへ送信する転送処理を行う。
Next, FIG. 4 shows a transmission state of the TL frame shown in FIG. 2 when an acoustic signal is transmitted on the audio network system.
Here, a system in which four nodes from node A to node D are cascade-connected is considered. When the TL frame 100 is circulated to each node in this system, one of the nodes is determined as a master node, and only that node generates a TL frame (TL frame having a different serial number) with a new sampling period. The TL frame generated every sampling period is transmitted to the next node. Nodes other than the partial master are slave nodes, each of which performs a transfer process of receiving a TL frame from the previous node and transmitting it to the next node.

そして、マスタノードであるノードBが最初に図で右向きに、ワードクロックのタイミングに合わせて、ノードCに向かってTLフレームを送信すると、そのTLフレームは、破線で示すように、ノードB→C→D→C→B→A→Bの順で伝送され、ノードBに戻ってくる。この伝送の際、各ノードは、TLフレームを受信してから送信するまでに、他のノードから受信すべき波形データや制御データをTLフレームから読み取り、また他のノードに送信すべき波形データや制御データをTLフレームに書き込む。   Then, when the node B as the master node first transmits a TL frame toward the node C in the right direction in the drawing in accordance with the timing of the word clock, the TL frame is represented by a node B → C as indicated by a broken line. The data is transmitted in the order of D → C → B → A → B and returns to the node B. During this transmission, each node reads the waveform data and control data to be received from other nodes from the TL frame and receives the waveform data to be transmitted to the other nodes until it is transmitted after receiving the TL frame. Write control data to the TL frame.

そして、マスタノードは、TLフレームが伝送路を1周して戻ってくると、そのTLフレームの管理データを書き換えて後のサンプル周期のTLフレームを生成し、適当なサンプル周期での送信に供する。またこのとき、マスタノードも他のノードと同様にTLフレームに対してデータの読み書きを行う。   Then, when the TL frame returns around the transmission line once, the master node rewrites the management data of the TL frame to generate a TL frame having a later sample period, and uses it for transmission at an appropriate sample period. . At this time, the master node also reads / writes data from / to the TL frame in the same manner as other nodes.

以上を繰り返すことにより、1サンプリング周期につき1つのTLフレームに、(a)から(e)に時系列的に示すように、各ノードを循環させることができる。これらの図において、黒塗りの矢印はTLフレームの先頭を、黒丸はTLフレームの末端を示す。線の矢印は、TLフレームの切れ目を分かり易くするために記載したものである。   By repeating the above, each node can be circulated in one TL frame per sampling period as shown in time series from (a) to (e). In these drawings, the black arrow indicates the beginning of the TL frame, and the black circle indicates the end of the TL frame. Line arrows are described for easy understanding of TL frame breaks.

なお、各スレーブノードは、TLフレームの全てを受信してからデータの読み書きや次のノードへの送信を行う必要はなく、先頭から必要なバイト数だけ受信したら、データの読み書きや次のノードへの送信の処理を開始してしまってよい。そしてその後、TLフレームの末端まで、受信するのとほぼ同じ速さでデータの読み書きや送信を行って行けばよい。ただし、部分マスタについては、TLフレームが正常に伝送路を1周したことを確認するため、TLフレームの全てを受信してから、その内容に基づいて新たなTLフレームの生成を行うことが好ましい。   Each slave node does not need to read / write data or transmit to the next node after receiving all of the TL frames. When receiving the required number of bytes from the beginning, each slave node reads / writes data to the next node. You may have started the process of sending. After that, it is sufficient to read / write and transmit data at almost the same speed as the reception until the end of the TL frame. However, for the partial master, it is preferable to generate a new TL frame based on the contents after receiving all of the TL frame in order to confirm that the TL frame has normally made one round of the transmission path. .

また、カスケード接続の場合、両端のノード以外のノードは、1周のうちに2度TLフレームを通過させることになるが、このうちITLフレーム領域107以外のデータの読み書きを行うのは1度のみである。どちらでその読み書きを行うかは、最初にTLフレームを通過させる時、図で右向きにTLフレームを通過させる時等、任意に定めればよい。読み書きを行わない場合には、単に送信元アドレスを書き換えてTLフレームの残りの部分はスルーさせればよい。ITLフレームについては、両方向の隣接ノードに伝達できることが好ましい。   In the case of cascade connection, the nodes other than the nodes at both ends pass the TL frame twice in one cycle, but the data other than the ITL frame area 107 is read / written only once. It is. Which of the reading and writing is performed may be arbitrarily determined when the TL frame is first passed or when the TL frame is passed rightward in the drawing. When reading / writing is not performed, it is only necessary to rewrite the transmission source address and pass through the remaining portion of the TL frame. It is preferable that the ITL frame can be transmitted to adjacent nodes in both directions.

また、各ノードにおいて、TLフレームのデータを書き換えるためや、受信側のネットワーククロック(送信元のノードの動作クロックに対応)と送信側のネットワーククロック(当該ノードの動作クロックに対応)の周波数やタイミングの差を吸収するために、TLフレームの受信時にバッファリングを行う必要があるので、TLフレームの受信開始から送信開始まで幾分かのタイムラグが生じる。   Also, in each node, the frequency and timing of rewriting TL frame data and the frequency and timing of the receiving side network clock (corresponding to the operating clock of the transmitting node) and the transmitting side network clock (corresponding to the operating clock of the node) In order to absorb the difference, it is necessary to perform buffering at the time of receiving the TL frame, so that there is some time lag from the start of reception of the TL frame to the start of transmission.

そして、ネットワークで伝送される音響信号の伝送遅延(サンプリング周期単位)を最小にしたい場合は、上記のタイムラグの量を考慮して、マスタノードがあるワードクロックのタイミングで送信開始したTLフレームを、2つ先のワードクロックより所定時間α(マスタノード内での新TLフレームの準備に係る時間に対応する)だけ前のタイミングに、マスタノードが受信完了できるようにすればよい。   Then, if you want to minimize the transmission delay (sampling period unit) of the acoustic signal transmitted over the network, considering the amount of time lag above, the TL frame that started transmission at the timing of a word clock with a master node, It suffices that the master node can complete reception at a timing before a predetermined time α (corresponding to a time related to preparation of a new TL frame in the master node) from the second word clock.

本システムにおいては、以上のような方式のデータ伝送を行うことにより、1サンプリング周期内にTLフレームを1周させることのできる程度のノード数であれば、ネットワーク内で常にTLフレームのサイズに応じた一定の伝送帯域幅を確保することができる。そして、この帯域幅は、特定のノード間でのデータ伝送量の多寡には影響されない。   In this system, if the number of nodes is such that the TL frame can be circulated once within one sampling period by performing data transmission in the above manner, the network always responds to the size of the TL frame. A certain transmission bandwidth can be secured. This bandwidth is not affected by the amount of data transmission between specific nodes.

なお、ループ接続を行い、部分システム内に伝送路を2本形成する場合には、図1からわかるように、マスタノードであるノードBが生成して図で右向きに送信したTLフレームを、ノードB→C→D→A→Bの順で伝送する伝送路と、ノードBが生成して図で左向きに送信したTLフレームを、ノードB→A→D→C→Bの順で伝送する伝送路とができることになる。そしてこの場合、TLフレームが伝送路を1周する間に全てのノードを1回ずつ通過することになるため、各ノードは、その通過の際にデータの読み書きを行う。   In addition, when loop connection is performed and two transmission lines are formed in the partial system, as can be seen from FIG. 1, the TL frame generated by the node B as the master node and transmitted to the right in the figure is Transmission path for transmitting in the order of B → C → D → A → B, and transmission for transmitting the TL frame generated by the node B and transmitted leftward in the figure in the order of the node B → A → D → C → B You can make a road. In this case, since the TL frame passes through all the nodes once while making one round of the transmission path, each node reads and writes data during the passage.

1.4 システムを構成する各装置のハードウェア構成及び基本動作
次に、以上説明してきたようなTLフレームの伝送を行うためのハードウェア及びその動作について説明する。
まず、図5に、上述のオーディオネットワークシステム1を構成する各ノードとなるデバイスの例として、音響信号処理装置のハードウェア構成を示す。
1.4 Hardware Configuration and Basic Operation of Each Device that Configures the System Next, hardware for transmitting a TL frame as described above and its operation will be described.
First, FIG. 5 shows a hardware configuration of an acoustic signal processing apparatus as an example of a device that becomes each node constituting the audio network system 1 described above.

図5に示すように、この音響信号処理装置10は、CPU201,フラッシュメモリ202,RAM203,外部機器I/F(インタフェース)204,表示器205,操作子206を備え、これらがシステムバス207により接続されている。また、外部機器I/F204とシステムバス207とに接続するカードI/O(入出力部)210も備えている。   As shown in FIG. 5, the acoustic signal processing apparatus 10 includes a CPU 201, a flash memory 202, a RAM 203, an external device I / F (interface) 204, a display 205, and an operator 206, which are connected by a system bus 207. Has been. A card I / O (input / output unit) 210 connected to the external device I / F 204 and the system bus 207 is also provided.

そして、CPU201は、この音響信号処理装置10の動作を統括制御する制御手段であり、フラッシュメモリ202に記憶された所要の制御プログラムを実行することにより、表示器205における表示を制御したり、操作子206の操作を検出してその操作に従ってパラメータの値の設定/変更や各部の動作を制御したり、コマンドをカードI/O210を介して他の音響信号処理装置に送信したり、カードI/O210を介して他の音響信号処理装置から受信したコマンドに従った処理を行ったりする。   The CPU 201 is a control unit that performs overall control of the operation of the acoustic signal processing apparatus 10, and controls the display on the display unit 205 by executing a required control program stored in the flash memory 202. The operation of the child 206 is detected, parameter value setting / changing and operation of each part are controlled according to the operation, a command is transmitted to another acoustic signal processing device via the card I / O 210, and the card I / O Processing according to a command received from another acoustic signal processing apparatus via O210 is performed.

フラッシュメモリ202は、CPU201が実行する制御プログラムを始め、電源を切っても残しておくべきデータを記憶する書き換え可能な不揮発性記憶手段である。
RAM203は、一時的に記憶すべきデータを記憶したり、CPU201のワークメモリとして使用したりする記憶手段である。
The flash memory 202 is a rewritable non-volatile storage unit that stores a control program executed by the CPU 201 and data that should remain even after the power is turned off.
The RAM 203 is a storage unit that stores data to be temporarily stored or used as a work memory for the CPU 201.

外部機器I/F204は、種々の外部機器を接続し入出力を行うためのインタフェースであり、例えば外部のディスプレイ、マウス、文字入力用のキーボード、操作パネル、PC(パーソナルコンピュータ)等を接続するためのインタフェースが用意される。
外部機器I/F204は、カードI/O210のオーディオバス217にも接続しており、オーディオバス217を流れる波形データを外部装置に送信したり、外部装置から受信した波形データをオーディオバス217に入力したりすることができる。
The external device I / F 204 is an interface for connecting various external devices to perform input / output. For example, an external display, a mouse, a keyboard for inputting characters, an operation panel, a PC (personal computer), and the like are connected. Interface is prepared.
The external device I / F 204 is also connected to the audio bus 217 of the card I / O 210. The waveform data flowing through the audio bus 217 is transmitted to the external device, and the waveform data received from the external device is input to the audio bus 217. You can do it.

表示器205は、CPU201による制御に従って種々の情報を表示する表示手段であり、例えば、液晶ディスプレイ(LCD)や発光ダイオード(LED)によって構成することができる。
操作子206は、音響信号処理装置10に対する操作を受け付けるためのものであり、種々のキー、ボタン、ダイヤル、スライダ等によって構成することができる。
The display unit 205 is a display unit that displays various information according to control by the CPU 201, and can be configured by, for example, a liquid crystal display (LCD) or a light emitting diode (LED).
The operation element 206 is for accepting an operation on the acoustic signal processing apparatus 10 and can be constituted by various keys, buttons, dials, sliders, and the like.

これらの表示器205及び操作子206は、例えば音響信号処理装置10をコンソールとして構成する場合には、多数のchについて信号処理パラメータやパッチの設定を受け付けるための大型のディスプレイや多数のボタン、スイッチ、電動フェーダ等のユーザインタフェースを設け、入出力装置として構成する場合には電源及びモード設定のための簡単なランプやボタンを設ける等、装置の機能に応じて大きく構成が異なるものである。   For example, when the acoustic signal processing apparatus 10 is configured as a console, the display unit 205 and the operation unit 206 include a large display and a large number of buttons and switches for receiving signal processing parameters and patch settings for a large number of channels. When a user interface such as an electric fader is provided and configured as an input / output device, the configuration differs greatly depending on the function of the device, such as providing simple lamps and buttons for power supply and mode setting.

また、カードI/O210は、オーディオバス217と制御バス218を備え、これらのバスに種々のカードモジュールを装着することにより、音響信号処理装置10に対する音響信号及び制御信号の入出力及びその処理を行うことができるようにするためのインタフェースである。ここに装着される各カードモジュールは、オーディオバス217を介して相互に波形データを送受信すると共に、制御バス218を介してCPU201との間で制御信号を送受信し、CPU201の制御を受ける。   The card I / O 210 includes an audio bus 217 and a control bus 218, and by mounting various card modules on these buses, input / output of acoustic signals and control signals to the acoustic signal processing device 10 and processing thereof are performed. It is an interface that allows you to do it. Each card module mounted here transmits / receives waveform data to / from each other via the audio bus 217, and transmits / receives a control signal to / from the CPU 201 via the control bus 218, and is controlled by the CPU 201.

オーディオバス217は、任意のカードから任意のカードへ、複数チャンネルの波形データをサンプリング周期に基づくタイミングで各1サンプルずつ時分割伝送する音響信号伝送用ローカルバスである。接続された複数カードの何れか1つがマスタとなり、当該カードが生成し供給するワードクロックに基づいてオーディオバス217の時分割伝送の基準タイミングを制御する。その他の各カードはスレーブとなり、その基準タイミングに基づいて各カードのワードクロックを生成する。   The audio bus 217 is an acoustic signal transmission local bus that time-divisionally transmits a plurality of channels of waveform data one sample at a time based on a sampling period from an arbitrary card to an arbitrary card. Any one of a plurality of connected cards becomes a master, and controls the reference timing of time division transmission of the audio bus 217 based on a word clock generated and supplied by the card. Each other card becomes a slave and generates a word clock for each card based on the reference timing.

すなわち、各カードで生成されるワードクロックは、マスタとなるカードのワードクロックに同期した共通のクロックとなり、ノード内の複数のカードは、共通のサンプリング周波数で波形データの処理を行う。さらに、各カードは、自身のワードクロックに基づいて処理した波形データ及び処理すべき波形データを、上記の基準タイミングに基づく時分割タイミングで、オーディオバス217を介して他のカードに送信し、また他のカードから受信する。   That is, the word clock generated by each card becomes a common clock synchronized with the word clock of the card serving as the master, and the plurality of cards in the node process the waveform data at the common sampling frequency. Furthermore, each card transmits the waveform data processed based on its own word clock and the waveform data to be processed to other cards via the audio bus 217 at the time division timing based on the reference timing, and Receive from another card.

図5には、カードI/O210にDSP(デジタル・シグナル・プロセッサ)カード211,212,アナログ入力カード213,アナログ出力カード214,ネットワークI/Fカード215を装着した例を示している。
カードI/O210に装着される各種カードは、そのカードの機能に応じた波形データの処理を、それぞれ、ワードクロック(波形データのサンプリング周期)に基づくタイミングで実行する。
FIG. 5 shows an example in which DSP (digital signal processor) cards 211 and 212, an analog input card 213, an analog output card 214, and a network I / F card 215 are mounted on the card I / O 210.
Various cards mounted on the card I / O 210 execute waveform data processing corresponding to the function of the card at a timing based on the word clock (waveform data sampling period).

このうち、DSPカード211,212は、オーディオバス217から取得した波形データに対し、ワードクロックに基づくタイミングで、ミキシング、イコライジング、エフェクト付与を始めとする種々の処理を行う信号処理手段である。処理後のデータも、オーディオバス217に出力する。また、複数chの波形データの入力を受け付けて処理し、複数chの波形データを出力することができる。   Among these, the DSP cards 211 and 212 are signal processing means for performing various processes such as mixing, equalizing, and applying effects on the waveform data acquired from the audio bus 217 at timing based on the word clock. The processed data is also output to the audio bus 217. Further, it can receive and process input of waveform data of a plurality of channels and output waveform data of a plurality of channels.

アナログ入力カード213は、A/D(アナログ/デジタル)変換回路を備え、マイク等の音声入力装置から入力するアナログ音響信号を、デジタルの波形データに変換してオーディオバス217に供給する機能を有する。複数chの信号を並列して処理することも可能である。
アナログ出力カード214は、D/A(デジタル/アナログ)変換回路を備え、オーディオバス217から取得したデジタルの波形データをアナログの音響信号に変換して、スピーカ等の音声出力装置に出力する機能を有する。
The analog input card 213 includes an A / D (analog / digital) conversion circuit, and has a function of converting an analog acoustic signal input from a voice input device such as a microphone into digital waveform data and supplying the digital waveform data to the audio bus 217. . It is also possible to process signals of a plurality of channels in parallel.
The analog output card 214 includes a D / A (digital / analog) conversion circuit, converts the digital waveform data acquired from the audio bus 217 into an analog acoustic signal, and outputs it to an audio output device such as a speaker. Have.

ネットワークI/Fカード215は、送信I/Fと受信I/Fを2組備え、図1乃至図4を用いて説明したオーディオネットワークシステム1におけるTLフレーム100の伝送と、TLフレーム100に対する波形データや制御データ等の読み書きとを行う機能を有する。また、カードI/O210には、ネットワークI/Fカードを複数枚装着することも可能であり、この場合、各ネットワークI/Fカード毎に別々のオーディオネットワークシステムに接続する。   The network I / F card 215 includes two sets of transmission I / F and reception I / F. Transmission of the TL frame 100 and waveform data for the TL frame 100 in the audio network system 1 described with reference to FIGS. And a function for reading and writing control data and the like. A plurality of network I / F cards can be mounted on the card I / O 210. In this case, each network I / F card is connected to a separate audio network system.

なお、ここで述べた各種カードのうち、ネットワークI/Fカード215以外のカードは、任意に選択して装着することができる。例えば、音響信号処理装置10を入出力装置として構成する場合には、信号入出力のみ行えばよいのであれば、DSPカード211,212は不要であるし、ミキサエンジンとして構成する場合には、システムの外部に対する信号入出力を行わないのであれば、アナログ入力カード213やアナログ出力カード214は不要である。さらに、コンソールとして構成する場合には、パラメータに対する操作のみ行うのであれば、ネットワークI/Fカード215以外のカードを設ける必要はない。
また逆に、ここで挙げたもの以外でも、その他カード216として、デジタル入出力、音源、レコーダ、エフェクタ等の、種々のカードモジュールを装着可能とすることが考えられる。
Of the various cards described here, cards other than the network I / F card 215 can be arbitrarily selected and mounted. For example, when the acoustic signal processing device 10 is configured as an input / output device, the DSP cards 211 and 212 are not necessary if only signal input / output needs to be performed. If the signal input / output to / from the outside is not performed, the analog input card 213 and the analog output card 214 are unnecessary. Further, in the case of being configured as a console, it is not necessary to provide a card other than the network I / F card 215 as long as only operations for parameters are performed.
On the other hand, it is possible to mount various card modules such as a digital input / output, a sound source, a recorder, and an effector as the other card 216 other than those listed here.

なお、上述のように、カードI/O210に装着されたカードは、共通のワードクロックに従って音響信号の処理を行うが、音響信号処理装置10がマスタノードである場合は、装着されたカードのうちの何れか1枚がネットワークI/Fカード215を含む他のカードへワードクロックを供給し、ネットワークI/Fカード215は、そのワードクロックのタイミングに基づきサンプリング周期毎にTLフレームを送信する。音響信号処理装置10がスレーブノードである場合は、ネットワークI/Fカード215がTLフレームの受信タイミングに基づいてワードクロックを生成(再生)し、カードI/O210に装着された他のカードへワードクロックを供給する。   As described above, the card attached to the card I / O 210 processes the acoustic signal according to the common word clock. However, if the acoustic signal processing device 10 is a master node, 1 supplies a word clock to other cards including the network I / F card 215, and the network I / F card 215 transmits a TL frame for each sampling period based on the timing of the word clock. When the acoustic signal processing apparatus 10 is a slave node, the network I / F card 215 generates (reproduces) a word clock based on the reception timing of the TL frame, and transmits the word to other cards attached to the card I / O 210. Supply the clock.

次に、図6に、ネットワークI/Fカード215におけるTLフレーム100の伝送に関する機能をより詳細に示す。
図6に示すように、ネットワークI/Fカード215は、第1,第2受信I/F11,14及び第1,第2送信I/F12,13を備え、また、TLフレーム100の伝送方向を切り換えるためのセレクタ21〜24と、TLフレーム100に対するデータの読み書きを行う第1及び第2データ入出力部31,32と、オーディオバス217及び制御バス218に対してデータを入出力するためのインタフェースであり、音響信号処理装置10のうちネットワークI/Fカード215以外の部分とのインタフェースとなる上位層I/F33とを有する。
Next, FIG. 6 shows in more detail functions related to transmission of the TL frame 100 in the network I / F card 215.
As shown in FIG. 6, the network I / F card 215 includes first and second reception I / Fs 11 and 14 and first and second transmission I / Fs 12 and 13, and the transmission direction of the TL frame 100 is changed. Selectors 21 to 24 for switching, first and second data input / output units 31 and 32 for reading / writing data to / from the TL frame 100, and an interface for inputting / outputting data to / from the audio bus 217 and the control bus 218 And an upper layer I / F 33 serving as an interface with a portion other than the network I / F card 215 in the acoustic signal processing device 10.

このうち、第1,第2受信I/F11,14及び第1,第2送信I/F12,13は、図1に示した2組の受信I/F及び送信I/Fと対応する通信手段であり、それぞれ通信ケーブルと接続するための所定のコネクタ(メス側)を備えている。通信ケーブルの接続に際しては、第1受信I/F11と第1送信I/F12とを1組とし、第2送信I/F13と第2受信I/F14とを1組とする。これらのI/Fは、上述した1サンプリング周期内のTLフレームの伝送に十分な能力を有していれば、どのような通信方式でデータ通信を行うI/Fであってもよいが、ここでは1Gbpsのイーサネット方式のデータ転送を行うI/Fを採用している。   Among these, the first and second reception I / Fs 11 and 14 and the first and second transmission I / Fs 12 and 13 are communication means corresponding to the two sets of reception I / F and transmission I / F shown in FIG. Each has a predetermined connector (female side) for connecting to a communication cable. When connecting communication cables, the first reception I / F 11 and the first transmission I / F 12 are set as one set, and the second transmission I / F 13 and the second reception I / F 14 are set as one set. These I / Fs may be I / Fs that perform data communication by any communication method as long as they have sufficient ability to transmit the TL frame within one sampling period described above. Employs an I / F that performs 1 Gbps Ethernet data transfer.

一方、第1及び第2データ入出力部31,32はそれぞれ、図示しない動作クロック発生部の発生する動作クロックに基づいて動作し、対応する受信I/Fが受信したTLフレーム100から波形データや制御データ等の所望のデータを読み出す読出手段及び、受信したTLフレーム100に対して波形データや制御データ等の所望のデータの書き込みを行う書込手段として機能する。   On the other hand, each of the first and second data input / output units 31 and 32 operates based on an operation clock generated by an operation clock generation unit (not shown), and receives waveform data and data from the TL frame 100 received by the corresponding reception I / F. It functions as reading means for reading out desired data such as control data and writing means for writing desired data such as waveform data and control data to the received TL frame 100.

また、図1(a)等からわかるように、あるノードが受信したTLフレーム100のそのノードからの送信先は、そのTLフレーム100の送信元と別の装置になる場合(図1(a)のノードB)と、送信元と同じ装置になる場合(同ノードA,C)とがある。そして、前者の場合、TLフレーム100の送信は、TLフレーム100を受信した受信I/Fと別の組の送信I/Fから行い、後者の場合、同じ組の送信I/Fから行う。   Further, as can be seen from FIG. 1A and the like, the transmission destination from the node of the TL frame 100 received by a certain node is different from the transmission source of the TL frame 100 (FIG. 1A). Node B) and the same device as the transmission source (nodes A and C). In the former case, transmission of the TL frame 100 is performed from a transmission I / F of a different group from the reception I / F that has received the TL frame 100, and in the latter case, transmission is performed from the transmission I / F of the same group.

セレクタ21〜24は、このような送信先の切り替えを行うために設けたものである。
このうち、セレクタ23,24が、第1受信I/F11が受信し第1データ入出力部31を通過したTLフレームを、第2送信I/F13から送信するか、第1送信I/F12から送信するかを選択するためのセレクタである。
The selectors 21 to 24 are provided for performing such switching of transmission destinations.
Among these, the selectors 23 and 24 transmit the TL frame received by the first reception I / F 11 and passed through the first data input / output unit 31 from the second transmission I / F 13 or from the first transmission I / F 12. It is a selector for selecting whether to transmit.

これらのセレクタ23,24は連動しており、セレクタ23が第2送信I/F13側を選択している場合は、第1受信I/F11が受信したTLフレームを第2送信I/F13から送信する一方、セレクタ24は第2受信I/F14側を選択し、第2受信I/F14が受信したTLフレームを第2データ入出力部32に入力する。
逆に、セレクタ23が折り返しライン26側を選択している場合は、セレクタ24も折り返しライン26側を選択し、第1受信I/F11が受信したTLフレームを、折り返しライン26及び第2データ入出力部32を通過させて、第1送信I/F12から送信する。
These selectors 23 and 24 are interlocked. When the selector 23 selects the second transmission I / F 13 side, the TL frame received by the first reception I / F 11 is transmitted from the second transmission I / F 13. On the other hand, the selector 24 selects the second reception I / F 14 side and inputs the TL frame received by the second reception I / F 14 to the second data input / output unit 32.
Conversely, when the selector 23 selects the return line 26 side, the selector 24 also selects the return line 26 side, and the TL frame received by the first reception I / F 11 is input to the return line 26 and the second data input. The data is transmitted from the first transmission I / F 12 through the output unit 32.

このとき、セレクタ22が第1送信I/F12側を選択していることが前提となる。しかし、セレクタ21,22も、セレクタ23,24と同様に連動しており、第1受信I/F11で受信したTLフレームに第1データ入出力部31を通過させる場合、セレクタ21は第1受信I/F11側を選択し、これに連動してセレクタ22は第1送信I/F12側を選択している。従って、セレクタ23,24の切り換えにより、第1受信I/F11が受信したTLフレームを折り返すか否かを選択することができる。   At this time, it is assumed that the selector 22 has selected the first transmission I / F 12 side. However, the selectors 21 and 22 are also linked in the same manner as the selectors 23 and 24. When the first data input / output unit 31 is passed through the TL frame received by the first reception I / F 11, the selector 21 receives the first reception. The I / F 11 side is selected, and in conjunction with this, the selector 22 selects the first transmission I / F 12 side. Therefore, by switching the selectors 23 and 24, it is possible to select whether or not to return the TL frame received by the first reception I / F 11.

同様に、セレクタ21,22に折り返しライン25側を選択させるか否かにより、第2受信I/F14が受信し第2データ入出力部32を通過したTLフレームを折り返すか否かを選択することができる。
なお、TLフレームを折り返す場合、ネットワークI/Fカード215においてTLフレームが第1及び第2データ入出力部31,32を両方通過することになるが、TLフレームに対するデータの読み書きは、そのうち任意の一方、例えば最初に通過する方において行えばよい。
Similarly, it is selected whether or not the TL frame received by the second reception I / F 14 and passed through the second data input / output unit 32 is to be looped back depending on whether or not the selectors 21 and 22 select the loopback line 25 side. Can do.
Note that when the TL frame is folded, the TL frame passes through both the first and second data input / output units 31 and 32 in the network I / F card 215. On the other hand, it may be performed, for example, on the first passage.

また、セレクタ21が折り返しライン25を選択している状態で第1受信I/F11が受信したフレーム及び、セレクタ24が折り返しライン26を選択している状態で第2受信I/F14が受信したフレーム(上述したITLフレームの受信が想定される)については、不図示の処理部に供給して、その内容の解析及びその内容に応じた処理を行う。逆に、セレクタ21が折り返しライン25を選択している状態では第1送信I/F12から、セレクタ24が折り返しライン26を選択している状態では第2送信I/F13から、不図示の処理部が供給するフレーム(上述したITLフレームが想定される)を接続先のデバイスに送信することもできる。   Further, the frame received by the first reception I / F 11 when the selector 21 selects the return line 25 and the frame received by the second reception I / F 14 when the selector 24 selects the return line 26. (It is assumed that the ITL frame described above is received), and the data is supplied to a processing unit (not shown) to analyze the content and perform processing according to the content. On the other hand, when the selector 21 selects the return line 25, the first transmission I / F 12 and from the second transmission I / F 13 when the selector 24 selects the return line 26, a processing unit (not shown). Can be transmitted to the connection destination device (the above-mentioned ITL frame is assumed).

音響信号処理装置10においては、ネットワークI/Fカード215のハードウェアが上述した動作を行うことにより、図1乃至図4を用いて説明したようなTLフレームの伝送に係る機能を実現することができる。より具体的なハードウェア構成については、例えば特開2009−94589号公報に記載のものを採用することができる。
以下の説明において、単に「システム」と言った場合には、ここまで説明してきたようなTLフレームの伝送を行うオーディオネットワークシステムを指すものとする。
In the acoustic signal processing device 10, the hardware of the network I / F card 215 performs the above-described operation, thereby realizing the function related to the transmission of the TL frame as described with reference to FIGS. 1 to 4. it can. For a more specific hardware configuration, for example, the one described in Japanese Patent Application Laid-Open No. 2009-94589 can be employed.
In the following description, the term “system” simply refers to an audio network system that transmits a TL frame as described above.

2.オーディオネットワークシステムにおける伝送路の形成手順
次に、以上説明してきたオーディオネットワークシステムの形成手順について説明する。
以後の説明においては、各デバイスに記憶させるデータについて説明するため、図7に示すような、A〜Gの7つのデバイスを接続して構成したオーディオネットワークシステムも例として用いる。
2. Next, a procedure for forming the audio network system described above will be described.
In the following description, in order to explain data stored in each device, an audio network system configured by connecting seven devices A to G as shown in FIG. 7 is also used as an example.

図7に示すようなカスケード接続の場合、オーディオネットワークシステムSにおいては、破線で示すように、両端のノードで折り返す1つのループ状の伝送路が形成される。
またここでは、デバイスBを、マスタノードになる優先順位(マスタ優先度)が最高であるプライマリマスタに設定し、オーディオネットワークシステムSのマスタノードとして機能させている。また、デバイスEを、マスタ優先度が2番目であるセカンダリマスタに設定し、後述のように、システムの不具合によりマスタノードと切り離されてしまった場合に代わりのマスタノードとして機能するようにしている。
In the case of the cascade connection as shown in FIG. 7, in the audio network system S, as shown by the broken line, one loop-shaped transmission path that is folded back at the nodes at both ends is formed.
Here, the device B is set as a primary master having the highest priority (master priority) for becoming a master node, and functions as a master node of the audio network system S. In addition, the device E is set as the secondary master having the second master priority so that, as will be described later, when the device E is disconnected from the master node due to a system failure, the device E functions as an alternative master node. .

図8に、これらの設定に用いるデータの例を示す。
ここでは、各デバイスに図8に示すマスタ可否及びマスタ優先度の情報を記憶させている。マスタ可否は、そのデバイスがオーディオネットワークシステムに組み入れられた場合にマスタノードとして機能し得るか否か、すなわちマスタノードの候補となるか否かを示す情報である。そして、マスタ優先度は、プライマリマスタでは「1」、セカンダリマスタでは「2」を設定する。より低いマスタ優先度を設定することも可能である。
FIG. 8 shows an example of data used for these settings.
Here, the master availability information and master priority information shown in FIG. 8 are stored in each device. The master availability is information indicating whether or not the device can function as a master node when it is incorporated in an audio network system, that is, whether or not the device is a candidate for the master node. The master priority is set to “1” for the primary master and “2” for the secondary master. It is also possible to set a lower master priority.

なお、図8に示した情報は、最低限、マスタノードの候補となるデバイス(マスタ候補デバイス)のみに記憶させておけばよい。この場合、必要な情報を記憶していないノードは、マスタノードにはならないと判断すればよい。また、例えば、マスタ優先度「0」の場合にはそのデバイスはマスタノードにならないこととし、マスタ可否の情報を省略してもよい。   Note that the information illustrated in FIG. 8 may be stored only in a device that is a master node candidate (master candidate device) as a minimum. In this case, it may be determined that a node that does not store necessary information does not become a master node. Further, for example, when the master priority is “0”, the device does not become a master node, and the master availability information may be omitted.

これらの情報は、ユーザが任意に設定可能である。ただし、同じ優先度のマスタ候補デバイスが2つ以上ないようにすることが好ましい。
この実施形態が効果を発揮するためには、少なくとも、優先度の異なる2以上のマスタ候補デバイス(図7の例ではプライマリマスタとセカンダリマスタ)とがオーディオネットワークシステムに含まれている必要がある。ただし、少なくとも1台のマスタ候補デバイスがあれば、システムを動作させることは可能である。
These pieces of information can be arbitrarily set by the user. However, it is preferable not to have two or more master candidate devices with the same priority.
In order for this embodiment to be effective, at least two master candidate devices (primary master and secondary master in the example of FIG. 7) having different priorities need to be included in the audio network system. However, the system can be operated if there is at least one master candidate device.

次に、図9に、オーディオネットワークシステムS及び上述したTLフレームの伝送路を形成する際の、ユーザによる作業及びそれに応じた各デバイスの動作手順を示す。
一般論として、図1や図7に示したオーディオネットワークシステムを形成する場合、ユーザはまず、そのシステムを形成させる2以上のデバイスを、カスケード状又はループ状に接続する(S11)。図7に示すオーディオネットワークシステムSを形成する場合、A〜Gの7つのデバイスを図示の順にカスケード接続する。
なお、ここでいう「接続」には、既に電源が入っているデバイスを通信ケーブルで繋ぐことと、既に通信ケーブルで繋がれているデバイスの電源を入れることと、どちらもなされていないデバイスを通信ケーブルで繋いだ上で電源を入れることとのいずれも含む。
Next, FIG. 9 shows the work performed by the user and the operation procedure of each device in accordance with the audio network system S and the above-described TL frame transmission path.
In general, when forming the audio network system shown in FIGS. 1 and 7, the user first connects two or more devices forming the system in a cascade or loop (S11). When the audio network system S shown in FIG. 7 is formed, seven devices A to G are cascaded in the order shown.
Note that the term “connection” here refers to connecting a device that is already turned on with a communication cable, turning on a device that is already connected with a communication cable, and communicating with a device that is neither connected. This includes both turning on the power after connecting with a cable.

そして、この接続がなされると、接続されたデバイスは、自動的に互いのデバイスの存在及びその接続のトポロジー(カスケードかループか、及び各デバイスの接続順)を確認した上で、そのトポロジーに応じて、接続されたデバイスの間を循環する、図1や図7に示したようなTLフレームの伝送路を形成し、その伝送路に沿ったTLフレームの伝送を開始する(S21)。   When this connection is made, the connected devices automatically check the existence of each other's devices and the topology of the connection (cascade or loop, and the connection order of each device), and then change to that topology. In response, a TL frame transmission path as shown in FIGS. 1 and 7 that circulates between the connected devices is formed, and transmission of the TL frame along the transmission path is started (S21).

ただし、この段階ではまだTLフレームに対する波形データの読み書きは行わず、TLフレーム100のうちITLフレーム領域107や制御データ領域104を用いて、デバイス間で制御データの伝送を行うモード(TTLモード)で動作する。また、他のデバイスでもよいが、ここでは、プライマリマスタが、TLフレームを生成するノードとなる仮の部分マスタになるとする。
この際の伝送路の形成手順については、例えば特開2009−94589号公報に記載のものを採用することができ、ここではこの形成手順を採用するものとする。
However, at this stage, waveform data is not yet read from and written to the TL frame, and the control data is transmitted between devices using the ITL frame area 107 and the control data area 104 in the TL frame 100 (TTL mode). Operate. Although other devices may be used, here, it is assumed that the primary master is a temporary partial master that is a node that generates a TL frame.
As a procedure for forming a transmission line at this time, for example, the one described in Japanese Patent Application Laid-Open No. 2009-94589 can be adopted, and here, this formation procedure is adopted.

また、ユーザは、ステップS11の後、オーディオネットワークシステムSをRTLモードに移行させる指示を行う(S12)。この指示は、ステップS21の完了後に行うことが好ましいが、これは必須ではない。また、プライマリマスタ及びセカンダリマスタが未指定の場合は、少なくとも一方の指定を、RTLモードに移行させる指示の前に行っておく必要がある。プライマリマスタ又はセカンダリマスタの設定をもってRTLモードに移行させる指示とすることもできる。   Further, after step S11, the user gives an instruction to shift the audio network system S to the RTL mode (S12). This instruction is preferably performed after step S21 is completed, but this is not essential. Further, when the primary master and the secondary master are not designated, it is necessary to designate at least one of them before an instruction to shift to the RTL mode. An instruction to shift to the RTL mode can be made with the setting of the primary master or the secondary master.

そして、ステップS12の指示がなされると、TTLモードで動作中の各デバイスは、プライマリマスタに設定されているデバイス(ない場合には接続されているデバイスの中で最も優先度の高いマスタ候補デバイス、以下この図の説明において同じ)をマスタノードとして、接続された各デバイスの間を循環するTLフレームの伝送路を再構築し、その範囲のデバイスに共通するネットワークID(後述)を設定して、今度はTLフレームに対する波形データの読み書きが可能なモード(RTLモード)でTLフレームの伝送を開始する(S31)。
予めプライマリマスタ(又はセカンダリマスタ)が指定されていれば、ユーザの指示なしで自動的にステップS21からS31へ進むようにすることもできる。
When the instruction in step S12 is made, each device operating in the TTL mode is a device set as the primary master (if not, a master candidate device with the highest priority among the connected devices) The same as in the description of this figure below) is used as a master node to reconstruct the transmission path of the TL frame that circulates between the connected devices, and sets a network ID (described later) common to the devices in that range. This time, transmission of the TL frame is started in a mode (RTL mode) in which waveform data can be read from and written to the TL frame (S31).
If a primary master (or secondary master) is designated in advance, the process can automatically proceed from step S21 to S31 without a user instruction.

その後、各デバイスは、自身が要求する信号伝送ch数をマスタノードに通知する(S32)。ここで通知するch数は、デバイスがTLフレーム100に対して何chの波形データを書き込むかを示すものである。この値は、ユーザが予め定めておいた値としたり、自身の備える入力端子(外部から入力する波形データを書き込む場合)や出力ch(内部で処理した波形データを書き込む場合)の数に応じてデバイスが自動的に決定したり、実際に何ch分の波形データをTLフレームに書込むルーティングの設定がなされているかに基づいてデバイスが自動的に決定したりすることができる。なお、要求ch数がゼロである場合もあり、この場合にはchの割り当てを受ける必要がないので、要求ch数の通知も不要である。   Thereafter, each device notifies the master node of the number of signal transmission channels requested by itself (S32). The number of channels notified here indicates how many waveform data the device writes to the TL frame 100. This value is a value set in advance by the user, or according to the number of input terminals (when writing externally input waveform data) and output channels (when writing internally processed waveform data). The device can automatically determine, or the device can automatically determine based on how many channels of waveform data are actually set for routing to write in the TL frame. In some cases, the number of requested channels is zero. In this case, since it is not necessary to receive allocation of channels, it is not necessary to notify the number of requested channels.

なお、ステップS32の通知は、TLフレーム100の制御データ領域104に記載するマスタノード宛てのイーサネットフレームにより行ったり、ITLフレーム領域107に記載するITLフレームを、隣接ノードに順次中継させながらマスタノードまで届けることにより行ったりすることができる。以降に述べる、マスタノードと各デバイスの間の通信についても同様である。   The notification in step S32 is performed by an Ethernet frame addressed to the master node described in the control data area 104 of the TL frame 100, or the ITL frame described in the ITL frame area 107 is relayed to adjacent nodes in sequence to the master node. It can be done by delivering. The same applies to communication between the master node and each device described below.

一方、マスタノードは、ステップS32の通知を受けると、その通知に応じて通知元のデバイスにTLフレーム100における信号伝送chを割り当てる(S33)。
この処理により、図10に示すように各デバイスに信号伝送chが割り当てられる。どのデバイスにどのchを割り当てても問題ないため、先着順で先頭から割り当てる等、任意のアルゴリズムを採用可能である。ただし、信号伝送chの数には限りがあるため、割り当てのできない場合もある。ただし、割り当てができなくても、割り当てられなかったデバイスにおいてTLフレーム100への波形データの書き込みができないというだけで、TLフレーム100からの波形データの読み出しはできるし、その他の動作に影響はない。
On the other hand, when the master node receives the notification in step S32, the master node allocates a signal transmission channel in the TL frame 100 to the notification source device in response to the notification (S33).
By this processing, as shown in FIG. 10, a signal transmission channel is assigned to each device. Since any channel can be assigned to any device, any algorithm such as assignment from the top in the first-come-first-served basis can be adopted. However, since the number of signal transmission channels is limited, assignment may not be possible. However, even if the allocation cannot be performed, the waveform data cannot be written to the TL frame 100 in the unallocated device, the waveform data can be read from the TL frame 100, and other operations are not affected. .

また、マスタノードは、ステップS33で行った割り当ての内容を、割り当て先のデバイスに通知する(S34)。そして、各デバイスは、ステップS34での通知を受けると、信号伝送chの割り当て及びそのデバイスにおいてなされているルーティングの設定内容に従って、TLフレームへの波形データの書き込みを開始する(S35)。   Further, the master node notifies the allocation destination device of the content of the allocation performed in step S33 (S34). Upon receiving the notification in step S34, each device starts writing waveform data in the TL frame in accordance with the assignment of signal transmission channels and the routing settings made in that device (S35).

ここで、ルーティングとは、各デバイスが、そのデバイスの備える(入出力端子と対応する)入出力ポート、DSPカードにおける入出力ch、およびTLフレームの信号伝送chの間で、どこからどこへ波形データの伝送を行うかについての設定である。
例えば、あるデバイスにおいて、波形データの供給元を入力ポート又は出力ch、供給先をネットワーク(TLフレーム)としたルーティングを設定すると、その入力ポートから入力する波形データ又はその出力chから出力される波形データを、そのデバイスが属するオーディオネットワークシステムのTLフレームの、そのデバイスに割り当てられている信号伝送chのいずれかに書き込み、そのシステムに属する他の機器が読み出し可能な状態にする伝送の設定をしたことになる。
Here, the routing means that each device has waveform data from where to where the input / output port (corresponding to the input / output terminal) of the device, the input / output channel in the DSP card, and the signal transmission channel of the TL frame. This is a setting for whether or not transmission is performed.
For example, in a certain device, when a routing is set in which a waveform data supply source is an input port or output channel and a supply destination is a network (TL frame), the waveform data input from the input port or the waveform output from the output channel is set. The data is written to one of the signal transmission channels assigned to the device in the TL frame of the audio network system to which the device belongs, and the transmission is set to be readable by other devices belonging to the system. It will be.

なお、ステップS35でルーティングの設定に従ったTLフレームへの波形データの書き込みを開始する際には、どのポート又はch由来の波形データをどの信号伝送chに書込むかを、オーディオネットワークシステムSに属する各デバイスに通知し、他のデバイスが、その書込んだ波形データをどの信号伝送chから読み出せばよいかを把握できるようにする(S36)。また、波形データの由来は、ここではオーディオネットワークシステムS内で一意な信号名を用いて表現する。   When starting to write waveform data to the TL frame in accordance with the routing setting in step S35, the audio network system S determines which port or ch-derived waveform data is to be written to which signal transmission channel. Each device is notified so that the other device can grasp from which signal transmission channel the written waveform data should be read (S36). The origin of the waveform data is expressed here by using a signal name that is unique within the audio network system S.

また、波形データの供給元をそのデバイスが属するオーディオネットワークシステムでTLフレームに書き込まれる波形データのいずれかとし、供給先を出力ポート又は入力chとしたルーティングを設定すると、その波形データをTLフレームから読み出して出力ポートから出力する又は入力chに入力する伝送の設定をしたことになる。このとき、波形データの指定は上記の波形データの由来を示す情報(信号名)により行えばよい。   When the waveform data supply source is one of the waveform data written in the TL frame in the audio network system to which the device belongs, and the routing is set with the output destination or the input channel as the supply destination, the waveform data is transferred from the TL frame. The transmission is set to be read and output from the output port or input to the input channel. At this time, the waveform data may be specified by information (signal name) indicating the origin of the waveform data.

そして、各デバイスは、ステップS36で受けた通知と、このようなルーティング設定の内容に基づき、具体的にTLフレームのどの信号伝送chから波形データを読み出せばよいか把握できるため、その設定内容に基づいてTLフレームからの波形データの読み出しを開始する(S37)。   Each device can grasp from which signal transmission channel of the TL frame the waveform data should be specifically read based on the notification received in step S36 and the contents of such a routing setting. Based on the above, reading of waveform data from the TL frame is started (S37).

以上で、プライマリマスタに設定されているデバイスをマスタノードとするオーディオネットワークシステムを形成し、各デバイスの間で音響信号及び制御信号の送受信が可能な状態となる。
なお、ルーティングの設定としては、上記のようなTLフレームを介する伝送以外にも、入力ポートから入力する波形データを入力chに供給したり、出力chから出力する波形データを出力ポートに供給したりする、デバイス内部での伝送も設定可能である。
As described above, an audio network system in which the device set as the primary master is the master node is formed, and the acoustic signal and the control signal can be transmitted and received between the devices.
In addition to the transmission via the TL frame as described above, the routing setting includes supplying waveform data input from the input port to the input channel, and supplying waveform data output from the output channel to the output port. Transmission within the device can also be set.

ルーティング設定とは、ユーザが、波形データの供給元と供給先とをそれぞれ任意に指定して、波形データが指定された供給元から指定された供給先へ供給されるよう、波形データの経路を設定するものであり、従来のスタンドアロンのデジタルミキサにおける、入力パッチや出力パッチのパッチ設定や、入力チャンネルから混合バスへのセンドのオンオフ設定などに相当する。この場合、供給元としては、デバイスの入力ポートや出力chが設定され、供給先としては、デバイスの入力chや出力ポートが設定される。   The routing setting means that the user can specify the waveform data supply source and the supply destination arbitrarily, and the waveform data path so that the waveform data is supplied from the specified supply source to the specified supply destination. This setting corresponds to patch setting of input patches and output patches, and on / off setting of send from the input channel to the mixing bus in a conventional stand-alone digital mixer. In this case, the input port and output channel of the device are set as the supply source, and the input channel and output port of the device are set as the supply destination.

また、ここまでの処理は、後述する制御装置による制御とは無関係に実行可能である。従って、オーディオネットワークシステムSを構成する各デバイスは、その制御装置による制御とは無関係に、RTLモードのTLフレーム伝送を行うことができるし、各デバイスが記憶しているルーティングの設定に基づき、TLフレームに対する波形データの読み書きや、外部に対する波形データの入出力も行うことができる。デバイスが必要なパラメータを記憶していれば、DSPカードによる信号処理も行うことができる。   Moreover, the process so far can be performed irrespective of the control by the control apparatus mentioned later. Therefore, each device constituting the audio network system S can perform RTL mode TL frame transmission regardless of the control by the control device, and based on the routing setting stored in each device, the TL It is also possible to read / write waveform data from / to frames and input / output waveform data to / from the outside. If the device stores necessary parameters, signal processing by the DSP card can also be performed.

3. IDを利用したデバイスの管理
3.1 各デバイスに記憶させるID
ところで、オーディオネットワークシステムSを構成させる各デバイスには、そのデバイスを識別するための識別情報として、種々のIDを記憶させておく。
図11に、そのIDの例を示すが、ここで注目するのは、デバイスID、ユニークID及びネットワークIDの3種である。
3. Device management using ID 3.1 ID stored in each device
By the way, various IDs are stored in each device constituting the audio network system S as identification information for identifying the device.
FIG. 11 shows an example of the ID. Here, attention is focused on three types of device ID, unique ID, and network ID.

このうちデバイスIDは、デバイスの個体を識別するためのIDであって、ユーザが任意に設定することができる。容易に設定できるように、アルファベット2文字の組み合わせ等、オーディオネットワークシステムを構成すると想定できる最大数のデバイスを互いに識別できる程度の数の、予め用意された選択肢から選択して設定できるようにするとよい(図では、説明を簡単にするため、アルファベット1文字で表記している)。また、設定が適切になされている場合、オーディオネットワークシステムを構成するデバイス内に、デバイスIDが一致するデバイスはないはずである。   Of these, the device ID is an ID for identifying an individual device, and can be arbitrarily set by the user. For easy setting, the maximum number of devices that can be assumed to constitute the audio network system, such as a combination of two alphabetic characters, can be selected and set from a number of options prepared in advance. (In the figure, for simplicity of explanation, it is represented by one alphabetic character). If the setting is made appropriately, there should be no device with a matching device ID in the devices constituting the audio network system.

ユニークIDは、1つのオーディオネットワークシステムとして制御されている複数デバイスに同じ値のIDを付与しておくことによって、そのオーディオネットワークシステムが断線やデバイスの停止などにより複数の部分に分断された場合でも、分断されたデバイス同士が再度接続された際に、相手が元々同じオーディオネットワークシステムに所属していたデバイスか否かを見分けられるようにするために設けたIDである。   A unique ID can be assigned even to a plurality of devices controlled as one audio network system, even if the audio network system is divided into a plurality of parts due to disconnection or device stoppage. This is an ID provided so that when the separated devices are connected again, it is possible to distinguish whether the other device is originally a device belonging to the same audio network system.

詳細は後述するが、この実施形態において、ユニークIDとしては、オーディオネットワークシステムSが形成された後、コンソール等の制御装置がデバイスにおけるパラメータの制御開始のための同期化を行う際に、一意な値を生成して、その時同期化した全てのデバイスに、その生成した値を設定させるようにしている。従って、ユーザはこのユニークIDの設定を行うことはできない。また、その値を知る必要もない。なお、図では「u2」と記載しているが、実際にはもっと長くて複雑なデータになって構わない。   Although details will be described later, in this embodiment, after the audio network system S is formed, the unique ID is unique when a control device such as a console performs synchronization for starting control of parameters in the device. A value is generated, and the generated value is set to all devices synchronized at that time. Therefore, the user cannot set this unique ID. Moreover, it is not necessary to know the value. In the figure, “u2” is shown, but actually it may be longer and more complicated data.

ネットワークIDは、デバイスがTLフレームのどの伝送経路(ループ接続の場合には2本の伝送経路のペア)を形成するかを識別するためのIDであり、RTLモードでの伝送経路の形成の際に、マスタノードが生成して伝送経路に組み入れた各デバイスに設定させるものである(図9のステップS31参照)。従って、ユーザはネットワークIDについても設定を行うことはできないし、その値を知る必要もない。
なお、図では「n1」と記載しているが、実際には異なる伝送経路間で重複が起こらない程度に複雑なIDとする。また、TTLモードの伝送経路に属するデバイスには、ネットワークIDとして「0」等の特定の値を設定し、そのことを識別できるようにするとよい。
The network ID is an ID for identifying which transmission path of the TL frame (a pair of two transmission paths in the case of a loop connection) is formed by the device, and is used when the transmission path is formed in the RTL mode. Next, the master node generates and sets each device incorporated in the transmission path (see step S31 in FIG. 9). Therefore, the user cannot set the network ID and does not need to know the value.
In the figure, “n1” is described, but in reality, the ID is so complex that duplication does not occur between different transmission paths. In addition, a specific value such as “0” may be set as a network ID for a device belonging to the transmission path in the TTL mode so that it can be identified.

3.2 制御装置に記憶させる仮想デバイステーブル
次に、制御装置が、制御対象のデバイスを特定するために記憶する情報である、仮想デバイステーブルについて説明する。
なお、制御装置とは、オーディオネットワークシステムSを構成する各デバイスにおける種々のパラメータの値を制御するための装置のことである。このオーディオネットワークシステムSを構成するデバイスの1つがコンソールである場合にはこれを制御装置として用いることができるし、図1(c)に示した外部機器Nのような、オーディオネットワークシステムSを構成するいずれかのデバイスに接続するコンソールやPC等の外部機器を制御装置として用いたりすることができる。
3.2 Virtual Device Table to be Stored in Control Device Next, a virtual device table, which is information stored by the control device to specify a device to be controlled, will be described.
The control device is a device for controlling the values of various parameters in each device constituting the audio network system S. When one of the devices constituting the audio network system S is a console, it can be used as a control device, and the audio network system S such as the external device N shown in FIG. It is possible to use an external device such as a console or a PC connected to any of the devices as a control device.

図12に、仮想デバイステーブルの例を示す。
仮想デバイステーブルは、ユーザが編集可能なものであり、この図に示すように、制御装置が制御対象とするデバイスを特定するためのデバイスIDを、任意の数記載したものである。ただし、この仮想デバイステーブルを作成する段階では、デバイスIDにより特定されるデバイスが実際にオーディオネットワークシステムSに組み込まれるか、又は組み込まれているかを把握する必要はない。
そこで、仮想デバイステーブル上においてデバイスIDにより特定しようとする制御対象のデバイスを、「仮想デバイス」と呼ぶことにする。また、仮想デバイステーブルにおいて、各仮想デバイスには一意な仮想デバイスIDを付して管理する。
FIG. 12 shows an example of the virtual device table.
The virtual device table is editable by the user. As shown in this figure, the virtual device table describes an arbitrary number of device IDs for specifying devices to be controlled by the control apparatus. However, at the stage of creating this virtual device table, it is not necessary to know whether the device specified by the device ID is actually incorporated in the audio network system S or incorporated.
Therefore, the device to be controlled that is to be specified by the device ID on the virtual device table is referred to as “virtual device”. In the virtual device table, each virtual device is managed with a unique virtual device ID.

また、制御装置は、図13に示すように、仮想デバイステーブルに登録されている各仮想デバイスをリモート制御するためのパラメータを記憶している。
ここでいうパラメータとは、既に述べたアナログ入力、アナログ出力、デジタル入力、デジタル出力、ルーティング、ミキシング、イコライジング、エフェクト付与等の各デバイスが実行する音響信号処理関連のパラメータや、ネットワークにおける音響信号通信関連のパラメータであり、デバイスのリモート制御を行う際には、デバイス側と内容を同期化すべきデータである。
Further, as shown in FIG. 13, the control device stores parameters for remotely controlling each virtual device registered in the virtual device table.
The parameters here are the parameters related to acoustic signal processing executed by each device such as analog input, analog output, digital input, digital output, routing, mixing, equalizing, effect application, etc., and acoustic signal communication in the network. It is a related parameter and is data that should be synchronized with the device side when performing remote control of the device.

各デバイスは、そのデバイスのカレントメモリに記憶されたパラメータに基づいて、音響信号処理や音響信号通信の機能を実行する。また、各デバイスは、所望の時点のカレントメモリのパラメータを1つのシーンとして、複数シーン分保存しておき、後で1つのシーンを選択してカレントメモリに呼び出せるようにしたシーンメモリを備えている。これらカレントメモリのパラメータとシーンメモリのパラメータとが同期化の対象とされる。   Each device executes a function of acoustic signal processing and acoustic signal communication based on parameters stored in the current memory of the device. Each device has a scene memory in which parameters of the current memory at a desired point in time are stored as a scene for a plurality of scenes, and one scene can be selected and recalled to the current memory later. . These current memory parameters and scene memory parameters are to be synchronized.

各仮想デバイスを制御するためのパラメータの種類や数は、その仮想デバイスの機種に応じて異なるものである。この点については、例えば、予め各機種におけるパラメータの初期値の設置を制御装置に記憶させておくと共に、ユーザが仮想デバイスを仮想デバイステーブルに新規に登録する際に機種を指定させて、その機種における初期値を用いるようにすることができる。   The types and number of parameters for controlling each virtual device vary depending on the model of the virtual device. Regarding this point, for example, the initial setting of the parameter for each model is stored in the control device in advance, and the model is specified when the user newly registers a virtual device in the virtual device table. The initial value at can be used.

3.3 制御装置によるデバイスの制御開始
次に、制御装置がオーディオネットワークシステムを構成するデバイスの制御を開始する際の動作について説明する。
図14は、制御装置がデバイスの制御を開始する際に収集する各デバイスのIDの管理状態の例を示す図、図15は制御装置のCPUがデバイスの制御を開始する際に実行する同期化処理のフローチャートである。
3.3 Device Control Start by Control Device Next, an operation when the control device starts control of the devices constituting the audio network system will be described.
FIG. 14 is a diagram showing an example of the management status of each device ID collected when the control device starts control of the device, and FIG. 15 is synchronization executed when the CPU of the control device starts control of the device It is a flowchart of a process.

制御装置は、RTLモードで動作するオーディオネットワークシステムが形成された後又はその形成過程において、オーディオネットワークシステムに接続されると、あるいは1つのデバイスとしてオーディオネットワークシステムに所属する状態となると、自身が接続され又は所属するオーディオネットワークシステムを構成する全てのデバイスから、そのデバイスが記憶しているデバイスID及びユニークIDの情報を収集する。
そして、この収集した各IDは、例えば図14に示すように、各デバイスに設定されたMACアドレスと対応付けて管理することができる。特開2009−94589号公報に記載のように、MACアドレスは、イーサネットフレームやITLフレームの宛先の指定に用いることができ、また、重複の恐れがないアドレスだからである。
When the control apparatus is connected to the audio network system after the audio network system operating in the RTL mode is formed or in the process of forming the audio network system, or when the control apparatus belongs to the audio network system as one device, the control apparatus is connected. Information of the device ID and the unique ID stored in the device is collected from all devices constituting the audio network system to which the device belongs.
Each collected ID can be managed in association with a MAC address set in each device, for example, as shown in FIG. This is because, as described in JP-A-2009-94589, the MAC address can be used for specifying the destination of an Ethernet frame or an ITL frame, and is an address with no fear of duplication.

そして、RTLモードで動作するオーディオネットワークシステムの形成と、各デバイスからのIDの収集とが完了した後で、ユーザからデバイスのリモート制御を開始する旨のオンライン移行指示があると、制御装置のCPUは図15のフローチャートに示す処理を開始する。
そしてまず、図12に示した仮想デバイステーブルに登録されている各仮想デバイスと対応する制御対象のデバイスを、図14に示したようにオーディオネットワークシステムを構成する各デバイスから収集したIDに基づき特定する(S41)。
Then, after the formation of the audio network system that operates in the RTL mode and the collection of the ID from each device are completed, if the user issues an online shift instruction to start remote control of the device, the CPU of the control device Starts the process shown in the flowchart of FIG.
First, the control target device corresponding to each virtual device registered in the virtual device table shown in FIG. 12 is identified based on the ID collected from each device constituting the audio network system as shown in FIG. (S41).

対応付けは、基本的には仮想デバイスと実在のデバイスとで、デバイスIDが一致するもの同士を対応付ければよい。そして、仮想デバイスと対応する実在のデバイスがない場合には、その仮想デバイスについて、対応するデバイスなし、とすればよい。この場合、制御装置は、その仮想デバイスに関する制御は行わない、ということになる。逆に、実在のデバイスの中に、いずれの仮想デバイスとも対応付けられないものがあってもよい。この場合、そのデバイスは、オーディオネットワークシステムには所属するが、制御装置による制御の対象にはならない、ということになる。   The association is basically performed by associating virtual devices and real devices having the same device ID. If there is no real device corresponding to the virtual device, the virtual device may be determined to have no corresponding device. In this case, the control device does not control the virtual device. Conversely, some real devices may not be associated with any virtual device. In this case, the device belongs to the audio network system, but is not an object of control by the control device.

また、デバイスIDが一致する実在のデバイスが複数有る場合、正しい設定ではないため、エラーとしてもよい。しかし、ユニークIDを利用して、システム全体で共通性の高いユニークIDの記憶されているデバイスを、以前同時に制御対象になったデバイスと認識し、優先的に対応付けるようにしてもよい。
以上のようにデバイスの対応付けが完了すると、制御装置のCPUは、デバイスに記憶させるためのユニークなIDを生成する(S42)。この生成方法は任意でよいが、同種のオーディオネットワークシステムが運用される範囲で重複がないと期待できる程度のユニークさが望ましく、例えば、制御装置のMACアドレスと生成時点の時刻とを含むIDとすることが考えられる。
In addition, when there are a plurality of real devices having the same device ID, an error may occur because the setting is not correct. However, using a unique ID, a device that stores a unique ID that is highly common to the entire system may be recognized as a device that has been controlled at the same time and may be associated with priority.
When the device association is completed as described above, the CPU of the control device generates a unique ID to be stored in the device (S42). This generation method may be arbitrary, but unique so as not to be duplicated within the range where the same kind of audio network system is operated is desirable. For example, an ID including the MAC address of the control device and the time of generation It is possible to do.

そして、生成したユニークなIDを、ステップS41で特定した、各仮想デバイスと対応するデバイスに送信し、ユニークIDとして記憶するよう要求する。この送信は、必要な情報を記載したITLフレーム又はイーサネットフレームを、TLフレームの所定の領域に記載して行うことができる。
そして、ステップS43で送信される情報を受信した宛先のデバイスは、要求に応じて、受信したIDをユニークIDとして設定する(S51)。
Then, the generated unique ID is transmitted to the device corresponding to each virtual device identified in step S41, and is requested to be stored as a unique ID. This transmission can be performed by describing an ITL frame or Ethernet frame in which necessary information is described in a predetermined area of the TL frame.
In response to the request, the destination device that has received the information transmitted in step S43 sets the received ID as a unique ID (S51).

また、制御装置のCPUは、ステップS43の後、デバイスが対応付けられている各仮想デバイスにつき、その仮想デバイスの制御に用いるパラメータを、制御装置自身と、その仮想デバイスと対応付けられているデバイスとの間で、ユーザが指定した方向に同期化させる(S44)。この同期化は、パラメータの内容をコピーして内容を一致させることによって行う。また、コピーするパラメータの転送は、所定のメモリ領域をダンプしたデータをITLフレーム又はイーサネットフレームに記載して転送することにより、実行できる。   Further, after step S43, the CPU of the control device, for each virtual device with which the device is associated, sets parameters used for controlling the virtual device and the device associated with the virtual device. Are synchronized in the direction designated by the user (S44). This synchronization is performed by copying the contents of the parameters and matching the contents. In addition, the parameter to be copied can be transferred by writing data obtained by dumping a predetermined memory area in an ITL frame or Ethernet frame and transferring the data.

ここで、上述のように、各デバイスは、制御装置によるパラメータの設定とは無関係に、デバイス自身が記憶しているパラメータの値に従って、信号伝送や信号処理を行うことができる。そこで、この処理の状態を維持することを優先する場合、デバイスからパラメータを読み出して、制御装置にそのデバイスと対応する仮想デバイスを制御するためのパラメータとして記憶させればよい。
一方、制御装置に記憶させてあるデータ(例えばユーザがオフラインで編集したパラメータ)に従った信号処理を各デバイスに行わせたい場合には、制御装置から各仮想デバイスの制御に用いるパラメータを読み出して、それぞれ対応するデバイスに記憶させればよい。
Here, as described above, each device can perform signal transmission and signal processing according to the parameter value stored in the device itself, regardless of the parameter setting by the control device. Therefore, when priority is given to maintaining the state of this process, the parameter may be read from the device and stored in the control device as a parameter for controlling the virtual device corresponding to the device.
On the other hand, when it is desired that each device perform signal processing in accordance with data stored in the control device (for example, parameters edited by the user offline), parameters used for controlling each virtual device are read from the control device. These may be stored in the corresponding devices.

ユーザは、どちらの方向に同期化を行うかを、全仮想デバイスについて一括して、又は仮想デバイス毎に個別に設定することができる。
そして、CPU201は、以上の同期化の後、同期化した全ての仮想デバイスにつき、その仮想デバイスがオンラインになった旨を記憶する(S45)と共に、オンラインになった全ての仮想デバイスにつき、リモート制御を開始して(S46)、処理を終了する。
なお、リモート制御の実行中は、制御装置側で図13のように記憶している仮想デバイス制御用パラメータの値を変更すると、その内容を直ちに対応するデバイスに伝達してデバイス側に記憶しているパラメータにも同じ変更を行う。逆に制御装置を介さずにデバイス側に記憶しているパラメータの値が変更された場合、デバイスがその内容を直ちに制御装置に伝達し、制御装置は仮想デバイス制御用パラメータに同じ変更を行う。そして、このことにより、制御装置側とデバイス側で、各パラメータについて同じ値が記憶されるようにする。
The user can set in which direction the synchronization is performed collectively for all virtual devices or individually for each virtual device.
After the above synchronization, the CPU 201 stores the fact that the virtual device is online for all the synchronized virtual devices (S45), and also performs remote control for all the virtual devices that are online. Is started (S46), and the process is terminated.
During execution of remote control, if the value of the virtual device control parameter stored on the control device side is changed as shown in FIG. 13, the contents are immediately transmitted to the corresponding device and stored on the device side. Make the same changes to the existing parameters. Conversely, when the parameter value stored on the device side is changed without going through the control device, the device immediately transmits the content to the control device, and the control device makes the same change to the virtual device control parameter. Thus, the same value is stored for each parameter on the control device side and the device side.

以上の処理により、オーディオネットワークシステムを構成するデバイスのうち、仮想デバイスと対応付けられ、制御装置による制御対象となる各デバイスに、共通の一意なユニークIDを記憶させることができる。通常は、オーディオネットワークシステムを構成するデバイスは全て制御装置による制御対象となるような仮想デバイスとデバイスIDの設定がなされると考えられるため、オーディオネットワークシステムを構成する全てのデバイスに、共通の一意なユニークIDを記憶させることができる。   Through the above processing, a common unique ID can be stored in each device that is associated with the virtual device among the devices constituting the audio network system and is controlled by the control device. Normally, it is considered that all devices constituting the audio network system are set with virtual devices and device IDs to be controlled by the control device. Unique ID can be stored.

4. 2位以下のマスタ候補デバイスの機能
4.1 マスタ機能の有効化について
以上説明してきたオーディオネットワークシステムにおいて、マスタノードの候補となる旨が設定されているデバイスであってまだマスタノードとなっていないデバイス(例えばプライマリマスタがマスタノードになっている状態でのセカンダリマスタ、以後「予備マスタデバイス」と呼ぶ)は、自身を通る伝送経路においてTLフレームが適切に循環しているか否かを監視している。
ここで、TLフレームが適切に循環していないケースとしては、デバイスとマスタノードとの間で結線の切断やデバイスの停止等の不具合(図19〜図21参照)が起こり、マスタノードが送信したTLフレームがそのデバイスまで届かなくなってしまうケースを想定している。
4). Function of Master Candidate Device No. 2 or Less 4.1 Enabling Master Function In the audio network system described above, a device that is set as a candidate for a master node and has not yet become a master node. A device (for example, a secondary master in a state where the primary master is the master node, hereinafter referred to as a “backup master device”) monitors whether a TL frame is properly circulated in a transmission path passing through the device. Yes.
Here, as a case where the TL frame does not circulate properly, a malfunction (see FIGS. 19 to 21) such as disconnection of the connection or stop of the device occurs between the device and the master node, and the master node transmits it. A case is assumed in which the TL frame cannot reach the device.

ここで説明しているオーディオネットワークシステムにおいては、特開2009−94589号公報にあるように、システムの動作中に上記の不具合が発生した場合、その両側のデバイスにおいて、不具合の発生した側のセレクタ21,22又は23,24に、折り返しラインを選択させてそのデバイスでTLフレームを折り返させることにより、マスタノードから見て不具合の発生した箇所より先にあるデバイスをシステムから切り離して、残りのデバイスのみでTLフレームの循環を継続できるようにしている。従ってこの場合、不具合の発生箇所より先にあるデバイスには、TLフレームが全く届かなくなる。   In the audio network system described here, as described in Japanese Patent Application Laid-Open No. 2009-94589, when the above-mentioned problem occurs during the operation of the system, the selector on the side where the problem occurs in the devices on both sides thereof. By letting 21, 22, or 23, 24 select the wrapping line and wrap the TL frame with that device, the device ahead of the location where the failure occurred as seen from the master node is separated from the system, and the remaining devices The TL frame can be continuously circulated only with this. Therefore, in this case, the TL frame does not reach the device ahead of the location where the failure occurs.

しかし、不具合の発生箇所より先に複数のデバイスが存在する場合、それらのデバイス間での通信に特に不具合がないのであれば、それらのデバイス間でTLフレームを循環させることは依然として可能であると考えられる。
そこで、この実施形態のオーディオネットワークシステムは、このようにしていくつかのデバイスがシステムから切り離されてしまった場合に、その切り離されてしまったデバイスに、当初とは別のオーディオネットワークシステムを形成させ、その切り離されたデバイスの間でTLフレームの循環を再開させるようにしたものである。
However, if there are multiple devices ahead of the location of the failure, it is still possible to circulate TL frames between those devices if there is no particular failure in communication between those devices. Conceivable.
Therefore, in the audio network system of this embodiment, when some devices are disconnected from the system in this way, the devices that have been disconnected form an audio network system different from the original. , TL frame circulation is resumed between the disconnected devices.

このため、各予備マスタデバイスは、新たなTLフレームの受信が所定時間起こらないこと、すなわちTLフレームの受信が所定時間中断したことをトリガに、不具合の発生によりマスタノードから切り離され、TLフレームが適切に循環しなくなったと判断するようにしている。
そして、この際の閾値は、少なくとも、不具合の発生箇所の両側でTLフレーム伝送経路の折り返しを設定してマスタノードの存在する側でTLフレームの循環を再開するのに要する時間(0〜2サンプリング周期)よりは長い時間とする。デバイスが不具合発生箇所よりもマスタノード寄りに位置する場合と適切に区別できるようにするためである。
For this reason, each spare master device is disconnected from the master node due to the occurrence of a failure and triggered by the fact that reception of a new TL frame does not occur for a predetermined time, that is, reception of a TL frame is interrupted for a predetermined time. I try to judge that it no longer circulates properly.
The threshold value at this time is set to at least the time required to set the loopback of the TL frame transmission path on both sides of the trouble occurrence location and restart the circulation of the TL frame on the side where the master node exists (0 to 2 samplings) The period is longer than the period. This is so that the device can be properly distinguished from the case where the device is located closer to the master node than the failure occurrence location.

そして、各予備マスタデバイスは、TLフレームが適切に循環していないことを検出すると、マスタ優先度の高いデバイスから順にマスタノードとしての機能を開始し、その時点で通信可能な範囲のデバイスにより、新たなTLフレーム伝送経路を形成する。そしてこのことにより、不具合の発生によりもとのマスタノードと切り離されてしまった一群のデバイスの間で、TLフレームの循環を再開させることができる。   And when each spare master device detects that the TL frame is not circulating properly, it starts the function as a master node in order from the device with the highest master priority, A new TL frame transmission path is formed. This makes it possible to resume the circulation of the TL frame between a group of devices that have been disconnected from the original master node due to the occurrence of a problem.

図16に、このための処理のフローチャートを示す。
予備マスタデバイスのCPUは、TLフレームの受信が所定時間中断したことを検出すると、図16に示す処理を開始する。
そして、予備マスタデバイスのCPUは、まず自デバイスのリセットを行う(S61)。この処理には、図6に示した両側のセレクタ21〜24を折り返しライン25,26側に切り替え、自デバイスをTLフレームの伝送を行わない初期通信モードに戻すと共に、デバイス接続状態の記憶内容を初期化する処理を含む。ただし、MACアドレスや、図11に示した各種アドレスの設定は初期化しない。
FIG. 16 shows a flowchart of processing for this purpose.
When the CPU of the spare master device detects that the reception of the TL frame is interrupted for a predetermined time, it starts the processing shown in FIG.
Then, the CPU of the spare master device first resets its own device (S61). In this process, the selectors 21 to 24 on both sides shown in FIG. 6 are switched to the return lines 25 and 26 side, the own device is returned to the initial communication mode in which no TL frame is transmitted, and the storage contents of the device connection state are stored. Includes initialization processing. However, the MAC address and various address settings shown in FIG. 11 are not initialized.

そしてその後、自デバイスをマスタノード(S62)に設定すると共に、自デバイスにRTLモードの固有のネットワークIDを設定する(S63)。このネットワークIDは、今まで所属していたネットワークのネットワークIDとは異なるものになる。そしてその後、両側の送信I/F12,13から両側に接続されているデバイスにリセット要求を送信して(S64)、処理を終了する。   Thereafter, the self device is set as the master node (S62), and a unique network ID of the RTL mode is set in the self device (S63). This network ID is different from the network ID of the network to which it belongs until now. Thereafter, a reset request is transmitted from the transmission I / Fs 12 and 13 on both sides to the devices connected on both sides (S64), and the process is terminated.

次に、図17に、各デバイスのCPUがリセット要求を受信した場合に実行する処理のフローチャートを示す。
オーディオネットワークシステムSを構成する各デバイスのCPUは、予備マスタデバイスがステップS64で送信してくるリセット要求を受信すると、図17に示す処理を開始する。そして、図16のステップS61の場合と同様に自デバイスをリセットする(S71)と共に、リセット要求の送信元に、この要求に対する応答であるリセット応答を送信する(S72)。また、リセット要求を受信した側と反対側の送信I/Fから、そちら側に接続されているデバイスに対してリセット要求を送信して(S73)、処理を終了する。
そして、このステップS73で隣接デバイスが送信してきたリセット要求を受信したデバイスも、図17のフローチャートに示す処理を開始する。
Next, FIG. 17 shows a flowchart of processing executed when the CPU of each device receives a reset request.
When the CPU of each device constituting the audio network system S receives the reset request transmitted from the standby master device in step S64, the CPU starts the process shown in FIG. Then, as in the case of step S61 in FIG. 16, the device itself is reset (S71), and a reset response that is a response to the request is transmitted to the transmission source of the reset request (S72). Further, the reset request is transmitted from the transmission I / F on the opposite side to the side that received the reset request to the device connected to that side (S73), and the process is terminated.
The device that has received the reset request transmitted by the adjacent device in step S73 also starts the process shown in the flowchart of FIG.

以上を繰り返すことにより、予備マスタデバイスがTLフレームの受信が所定時間中断を検出したことをトリガに、予備マスタデバイスから通信可能な範囲のデバイスにリセット要求を順次伝播させ、それらのデバイスをリセットすることができる。
そして、図16の処理を実行した予備マスタデバイスがマスタノードとなって、図9に示したものと同様な手順で、リセットされた一群のデバイスを通るTLフレームの伝送経路を形成し、RTLモードでのTLフレームの循環を開始する。この伝送経路を含むオーディオネットワークシステムは、プライマリマスタをマスタノードとするシステムとは別のシステムであり、ステップS31で設定するネットワークIDも異なるものである。
By repeating the above, triggered by the standby master device detecting the interruption of reception of the TL frame for a predetermined time, a reset request is sequentially propagated from the standby master device to devices within a communicable range, and these devices are reset. be able to.
Then, the spare master device that has executed the processing of FIG. 16 becomes a master node, and a transmission path of TL frames passing through the group of reset devices is formed in the same procedure as shown in FIG. TL frame circulation starts. The audio network system including this transmission path is a system different from the system having the primary master as the master node, and the network ID set in step S31 is also different.

そしてこのことにより、初めに形成されたオーディオネットワークSの一部が切断された場合でも、切断箇所を跨ぐ必要のない信号伝送は、継続することができる。プライマリマスタが存在する側は、切断箇所の手前で折り返される伝送経路により、セカンダリマスタが存在する側は、新たに形成された伝送経路により、信号伝送を行えるためである。
なお、図9の手順において、リセットされたデバイスは、その時点で電源がONされたものとして手順を実行すればよい。すなわち、図16及び図17の処理後のオーディオネットワークシステムの形成は、リセットされた範囲のデバイスが全て接続された状態で電源をONされた場合と同様に行われることになる。
As a result, even when a part of the audio network S formed first is disconnected, signal transmission that does not need to cross the disconnected part can be continued. This is because the side on which the primary master exists can perform signal transmission by a transmission path that is turned back before the cutting point, and the side on which the secondary master exists can perform signal transmission by a newly formed transmission path.
In the procedure of FIG. 9, the reset device may be executed assuming that the power is turned on at that time. That is, the formation of the audio network system after the processing of FIGS. 16 and 17 is performed in the same manner as when the power is turned on in a state where all devices in the reset range are connected.

ただし、このオーディオネットワークシステムの形成時には、制御装置が各デバイスと通信可能であるか否かに関わらず、ユニークIDの設定は行わないようにする。従って、新たなオーディオネットワークシステムを形成したとしても、切断発生前に同じオーディオネットワークシステムSを形成していたデバイスの間ではユニークIDが共通である状態を保つことができる。
制御装置がプライマリマスタを兼ねているか、あるいは制御装置がプライマリマスタを介してオーディオネットワークシステムに接続されている場合には、上記の新たなオーディオネットワークシステムの形成の際には、制御装置はそもそもそのデバイスと通信できないはずなので、ユニークIDの設定は行わないようにするために格別の処理は必要ない。
However, when the audio network system is formed, the unique ID is not set regardless of whether the control apparatus can communicate with each device. Therefore, even if a new audio network system is formed, a unique ID can be kept common among devices that have formed the same audio network system S before the disconnection occurs.
If the control device also serves as the primary master, or if the control device is connected to the audio network system via the primary master, the control device must be in the first place when forming the new audio network system. Since it should not be able to communicate with the device, no special processing is required to avoid setting the unique ID.

しかし、それ以外の構成を許容する場合には、形成されたオーディオネットワークシステムにおけるマスタ優先度を確認し、プライマリマスタ以外のデバイスをマスタノードとするものであった場合、図15の処理において、ユニークIDの設定は行わないようにする必要がある。また、プライマリマスタがマスタノードである場合にも、一部のデバイスが当初のシステムから切り離されている状態で図15の処理を行ってしまうと、後述のようにその切り離されているデバイスは当初のシステムに復帰できなくなってしまうので、このような状態ではユニークIDの設定は行わないようにすることが好ましい。   However, when other configurations are permitted, the master priority in the formed audio network system is confirmed, and when a device other than the primary master is set as the master node, the unique processing is performed in the process of FIG. It is necessary not to set the ID. Further, even when the primary master is the master node, if the processing of FIG. 15 is performed in a state where some devices are disconnected from the original system, the disconnected devices are initially set as described later. In such a state, it is preferable not to set a unique ID.

また、リセット要求の送信につき、カスケード接続の端に位置するデバイスや、切断箇所の隣に位置するデバイスは、通常は、その先にリセット要求を送信しようとしても受け取るデバイスがない。
しかし、切断箇所で、一方向のみ(リセット要求の送信側から受信側に向けて)はデータを伝送可能であったり、あるオーディオネットワークシステムの端部であっても、その先に、伝送経路の異なる別のオーディオネットワークシステムに属するデバイスとの間にケーブルの接続があったりする場合がある。
このような場合にもリセット要求を送信してしまうと、本来リセットすべきでないデバイスもリセットすることになる。
Further, regarding the transmission of the reset request, the device located at the end of the cascade connection or the device located next to the disconnection point usually does not have a device for receiving the reset request ahead of the device.
However, at the disconnection point, data can be transmitted only in one direction (from the reset request transmission side to the reception side) or even at the end of a certain audio network system, the transmission path of There may be a cable connection between devices belonging to different audio network systems.
Even in such a case, if a reset request is transmitted, devices that should not be reset are also reset.

これらのうち、まず一方向のみデータを送信可能であるような場合に対処するためには、図16のステップS64や図17のステップS73においてリセット要求をある送信I/Fから送信しようとしているとき、以下のようにすればよい。
(1)その送信I/Fとペアとなっている受信I/Fに入力する信号からネットワーククロックが再生できていない場合は、その先にデバイスが接続されていないと判断して、該リセット信号をその送信I/Fから送信しない。
(2)その送信I/Fとペアになっている受信I/Fに入力する信号からネットワーククロックが再生できている場合は、その先にデバイスが接続されていると判断して、該リセット信号をその送信I/Fから送信する。
Among these, in order to cope with the case where data can be transmitted only in one direction, when a reset request is to be transmitted from a certain transmission I / F in step S64 in FIG. 16 or step S73 in FIG. What is necessary is as follows.
(1) If the network clock cannot be recovered from the signal input to the reception I / F paired with the transmission I / F, it is determined that no device is connected to the network clock, and the reset signal Is not transmitted from the transmission I / F.
(2) If the network clock can be recovered from the signal input to the reception I / F paired with the transmission I / F, it is determined that the device is connected to the network clock, and the reset signal Is transmitted from the transmission I / F.

受信I/Fがデータを受信する際に、受信I/Fでは、まず、入力する信号からネットワーククロックを再生し、その信号からそのネットワーククロックに同期してデータを取り出す。その場合、入力する信号からネットワーククロックが再生できるか否かを、その先にデバイスがつながっているか否かの判断材料にすることができる。
また、送信I/F側の線が切れていて、受信I/F側がつながっている場合にも、送信I/Fからリセット信号を送信することになるが、送信側の線が切れているので、そのリセット信号を受信するデバイスは存在せず、不都合は起こらない。
When the reception I / F receives data, the reception I / F first reproduces the network clock from the input signal and extracts data from the signal in synchronization with the network clock. In that case, whether or not the network clock can be reproduced from the input signal can be used as a material for determining whether or not the device is connected to the destination.
Also, when the line on the transmission I / F side is disconnected and the reception I / F side is connected, a reset signal is transmitted from the transmission I / F, but the line on the transmission side is disconnected. There is no device that receives the reset signal, and no inconvenience occurs.

また、別のオーディオネットワークシステムと接続されている場合に対処するためには、オーディオネットワークシステムSの形成時に各デバイスが収集する、デバイスの接続状態を示すトポロジーテーブル(特開2009−94589号公報参照)などの情報を参考に、別のオーディオネットワークシステムを形成するデバイスに繋がる送信I/Fからは、リセット要求を送信しないようにすることが考えられる。   Further, in order to cope with the case of connection with another audio network system, a topology table indicating the connection state of the devices collected by each device when the audio network system S is formed (see JP 2009-94589 A). ) And the like, it is conceivable that a reset request is not transmitted from a transmission I / F connected to a device forming another audio network system.

また、以上の処理は、プライマリマスタがマスタノードとなっているオーディオネットワークシステムに属する予備マスタデバイスだけでなく、一旦上記の処理により新たなシステムが形成されセカンダリマスタがマスタノードとなった場合でも、同様に行うことができる。すなわち、セカンダリマスタから切り離されたデバイスについてターシャリ(マスタ優先度3位の)マスタがマスタノードとなってさらに新たなTLフレーム伝送経路を形成することも可能である。   In addition, the above processing is not limited to the standby master device belonging to the audio network system in which the primary master is the master node, but even when a new system is once formed by the above processing and the secondary master becomes the master node, The same can be done. That is, it is possible to form a new TL frame transmission path by using a tertiary (master priority third) master as a master node for a device disconnected from the secondary master.

また、このように予備マスタデバイスが複数ある場合、マスタ優先度の高いデバイスほど、図16の処理の開始判断に用いる「所定時間」を短い時間とするとよい。このようにすれば、マスタ優先度の高いデバイスが先に図16の処理を開始してマスタ優先度の低いデバイスをリセットするため、マスタノードから切り離された部分に予備マスタデバイスが複数ある場合でも、その中でマスタ優先度の最も高いデバイスを次のマスタノードとすることができる。そしてこのため、マスタ優先度の異なるノードの間での「所定時間」の差は、その1つ上の優先度のマスタ候補デバイスがマスタノードとして起動するのに要する起動時間と、そのマスタノードが送信したリセット要求の伝播に必要な時間を確保できるように定めるものとする。   In addition, when there are a plurality of spare master devices in this way, the “predetermined time” used for the determination of the start of processing in FIG. In this way, since a device with a high master priority starts the processing of FIG. 16 first and resets a device with a low master priority, even when there are a plurality of spare master devices in a part separated from the master node. Among them, the device having the highest master priority can be set as the next master node. For this reason, the difference in “predetermined time” between nodes with different master priorities is the difference between the start time required for the master candidate device with the next higher priority to start as a master node, and the master node It shall be determined so that the time required for propagation of the transmitted reset request can be secured.

また、他の方式として、TTLモードでの制御データの通信帯域を利用して、自デバイスから通信可能な(これからリセットしようとする範囲の)デバイスに、自デバイスよりマスタ優先度の高いデバイスがないことを確認してから図16の処理を開始するようにしてもよい。各デバイスのマスタ優先度の情報を、上記のトポロジーテーブルを作成する際などに集めておけば、このような判断をしてもさほど負荷はない。さらに、次に何れの予備マスタデバイスがマスタノードとして動作するかの判断を、各予備マスタデバイスが自身で行うのではなく、オペレータからの操作を受け付けるユーザI/Fを備えた制御装置(コンソール)が行うようにしてもよい。
また、オーディオネットワークシステムSにおいてマスタ優先度が2までしかないことがわかっていれば、他のデバイスのマスタ優先度を気にすることなく、TLフレームの受信の所定時間中断をトリガに図16の処理を開始してしまってよい。
As another method, there is no device having a higher master priority than the own device among devices that can communicate from the own device using the control data communication band in the TTL mode. The process of FIG. 16 may be started after confirming this. If the information on the master priority of each device is collected when the above-described topology table is created, there is no significant load even if such a determination is made. Further, a control device (console) having a user I / F that accepts an operation from an operator, instead of each spare master device itself determining which spare master device will operate as a master node. May be performed.
Also, if the audio network system S knows that the master priority is only up to 2, the TL frame reception is interrupted for a predetermined time without triggering the master priority of other devices. You may start processing.

4.2 元のオーディオネットワークシステムへの復帰について
この実施形態においては、上述した処理により新たなオーディオネットワークシステムが形成された後で、ケーブルの交換やノードの再起動などにより切断が解消した場合、新たなシステムに所属するノードが、自動的に元の(よりマスタ優先度の高いデバイスがマスタノードになっている)システムに復帰できるようにしている。次に、このための処理について説明する。
4.2 Returning to the original audio network system In this embodiment, after a new audio network system is formed by the above-described processing, the disconnection is resolved by cable replacement or node restart. A node belonging to the new system can automatically return to the original system (a device having a higher master priority is the master node). Next, the process for this will be described.

この実施形態において、図1及び図7の記載からわかるように、カスケード接続のオーディオネットワークシステムに所属するデバイスは、2組の送受信I/Fのうち、1組の送受信I/Fにより同じシステムに所属する隣接デバイスと接続されているが、他方の組の送受信I/Fは、同じシステムに所属するデバイスとの接続には用いられていない。従って、RTLモードのオーディオネットワークシステムの形成完了後に、この他方の組の送受信I/Fに、他のデバイスが接続される場合がある。   In this embodiment, as can be seen from the description of FIG. 1 and FIG. 7, devices belonging to the cascade-connected audio network system are connected to the same system by one transmission / reception I / F among the two transmission / reception I / Fs. Although it is connected to the neighboring device to which it belongs, the other set of transmission / reception I / Fs is not used for connection to a device that belongs to the same system. Therefore, after the formation of the RTL mode audio network system is completed, another device may be connected to the other set of transmission / reception I / Fs.

そして、この場合、特開2009−94589号公報に記載のように、接続相手がITLモードで動作中のデバイスであれば、マスタノードからの指示に基づき、接続相手に自デバイスと接続された側のセレクタにTLフレームの折り返しを解除させると共に、自デバイスも接続相手の側のセレクタによるTLフレームの折り返しを解除して、接続相手のデバイスを、自デバイスを通る伝送経路に、すなわち自デバイスが属するシステムに取り込む。   In this case, as described in Japanese Patent Application Laid-Open No. 2009-94589, if the connection partner is a device operating in the ITL mode, the side connected to the connection partner with the own device based on an instruction from the master node And the own device also cancels the TL frame return by the selector on the other side of the connection, so that the other device belongs to the transmission path through the own device, that is, the own device belongs. Import into the system.

接続相手がTTLモードで動作中のデバイスであれば、一旦リセットさせてTTLモードのシステムから離脱させた上で、同様に自身が属する伝送経路に取り込む。これらの場合には、接続相手のデバイスは音響信号の伝送を行っていない状態であるため、現在のシステムを解体しても音響信号の伝送に特に不都合はなく、むしろ接続されている範囲の全てのデバイスを1つのシステムとして動作させることが好ましいと考えられるためである。   If the connection partner is a device operating in the TTL mode, the device is reset once and removed from the TTL mode system, and then taken into the transmission path to which the device belongs. In these cases, since the connected device is not transmitting acoustic signals, there is no particular inconvenience in transmitting acoustic signals even if the current system is disassembled. This is because it is considered preferable to operate these devices as one system.

また、接続相手がRTLモードで動作中のデバイスである場合、相手のネットワークIDが自身と一致していれば、カスケード接続の他端と接続されたと認識する。そして、ループ接続への移行を許可する設定がなされていれば、図1(b)に示したループ接続での動作に移行するため、互いに接続相手と接続された側のセレクタにTLフレームの折り返しを解除させ、伝送経路の組み替えを行う。   Further, when the connection partner is a device operating in the RTL mode, it is recognized that the other end of the cascade connection is connected if the partner's network ID matches itself. If the setting for permitting the transition to the loop connection is made, the operation of the loop connection shown in FIG. 1B is performed, and the TL frame is returned to the selectors connected to each other. And reset the transmission path.

しかし、接続相手がRTLモードで動作中のデバイスであって、相手のネットワークIDが自身と異なる場合には、その相手のデバイスを自身が所属するシステムに取り込む動作は行わない。この場合、接続相手のデバイスは既に音響信号の伝送を行っている状態であると考えられるため、取り込みのために相手が属するシステムを解体してしまうと、スピーカの発音が急に停止する等の不具合が起こる恐れがあるためである。   However, when the connection partner is a device operating in the RTL mode and the partner's network ID is different from that of the partner, the operation of taking the partner device into the system to which the partner belongs is not performed. In this case, the connected device is considered to be already in the state of transmitting acoustic signals, so if the system to which the partner belongs is disassembled for capture, the speaker's sound will suddenly stop, etc. This is because a malfunction may occur.

しかし、「4.1 マスタ機能の有効化について」で説明した手順により形成される新たなオーディオネットワークシステムは、元のオーディオネットワークシステムとはネットワークIDが異なるものである。従って、上記のRTLモードで動作中のデバイスと接続された場合の動作決定手法をそのまま適用してしまうと、切断の復旧などにより、新たなシステムの端部に位置するデバイスと、元のシステムのデバイスとが接続された場合であっても、相手のデバイスを自身と同じTLフレーム伝送経路に取り込む動作、すなわちシステムを再統合する動作は、行わないこととなってしまう。   However, the new audio network system formed by the procedure described in “4.1 Enabling Master Function” has a different network ID from the original audio network system. Therefore, if the method for determining the operation when connected to the device operating in the RTL mode is applied as it is, the device located at the end of the new system and the original system are restored by disconnection recovery or the like. Even when the device is connected, the operation of taking the partner device into the same TL frame transmission path as that of the device, that is, the operation of reintegrating the system is not performed.

そこで、この実施形態においては、カスケード接続の端部に位置するデバイスのCPUに、RTLモードで動作中の、ネットワークIDの異なるデバイスと接続されたことを検出した場合に、図18に示す処理を実行させることにより、システムの再統合を可能としている。   Therefore, in this embodiment, when it is detected that the CPU of the device located at the end of the cascade connection is connected to a device with a different network ID that is operating in the RTL mode, the processing shown in FIG. 18 is performed. By executing it, the system can be reintegrated.

この処理に於いて、CPUはまず、接続相手のデバイスにおけるユニークIDの値を取得して確認する(S81)。そして、そのユニークIDの値が自デバイスにおけるユニークIDの値と一致した場合(S82のYES)、自デバイスと接続相手のデバイスとは元々(プライマリマスタをマスタノードとしてオーディオネットワークシステムを形成した時点では)同じオーディオネットワークシステムに所属していたデバイスであり、検出した接続により、過去に切断された接続が回復したことがわかる。そこで、システムの再統合を行うべく、ステップS83以下の処理に進む。
ここでは、CPUは、自デバイスが所属するシステムのマスタノードより、接続相手のデバイスが所属するシステムのマスタノードの方がマスタ優先度が高いか否か判断する(S83)。
In this process, the CPU first acquires and confirms the unique ID value in the connection partner device (S81). When the unique ID value matches the unique ID value in the own device (YES in S82), the own device and the connection partner device are originally (at the time when the audio network system is formed with the primary master as the master node). ) It is a device that belonged to the same audio network system, and it can be seen that the connection disconnected in the past was recovered by the detected connection. Therefore, the process proceeds to step S83 and subsequent steps to reintegrate the system.
Here, the CPU determines whether or not the master node of the system to which the connected device belongs belongs has a higher master priority than the master node of the system to which the own device belongs (S83).

そして、これがYESの場合、自デバイスが所属するシステムを解体して各デバイスを接続相手のデバイスが所属するシステム(マスタ優先度のより高いデバイスがマスタノードとなっているシステム)に取り込ませるべく、図17のステップS71の場合と同様に自デバイスをリセットする(S84)と共に、デバイスの接続を検出した側と反対側の送信I/Fからリセット要求を送信して(S85)、処理を終了する。ステップS85で送信したリセット要求を受信したデバイスは、図17に示した処理を行ってリセット要求をさらに先のデバイスに伝播させ、最終的には、図18に示した処理を行ったデバイスが所属するシステムの全てのデバイスがリセットされる。   And if this is YES, in order to dismantle the system to which the device belongs and to import each device into the system to which the device of the connection partner belongs (system where the device with higher master priority is the master node) As in the case of step S71 in FIG. 17, the own device is reset (S84), and a reset request is transmitted from the transmission I / F on the opposite side to the side where the connection of the device is detected (S85), and the process ends. . The device that has received the reset request transmitted in step S85 performs the process shown in FIG. 17 to propagate the reset request to a further device, and finally, the device that has performed the process shown in FIG. 18 belongs. All devices in the system to reset.

また、ステップS83でNOの場合、自デバイスが所属するシステムが接続相手のデバイスが所属するシステムの各デバイスを取り込むべく、そのまま処理を終了して接続相手の装置がリセットを行うのを待つ。そして、リセットがなされると、ITLモードで動作中のデバイスが接続された場合と同様に、マスタノードからの指示に基づき、接続相手のデバイスを、自デバイスを通るTLフレーム伝送経路に取り込む。その後、その先のデバイスも同様に順次取り込み、最終的には接続相手のデバイスが所属していたシステムの全てのデバイスを、自デバイスを通るTLフレーム伝送経路に取り込む。   If NO in step S83, the system to which the device belongs belongs to the system to which the connection partner device belongs to finish the process and wait for the connection partner device to reset. Then, when the reset is performed, similarly to the case where the device operating in the ITL mode is connected, based on the instruction from the master node, the connection partner device is taken into the TL frame transmission path passing through the own device. Thereafter, the subsequent devices are sequentially fetched in the same manner, and finally all the devices of the system to which the connection partner device belongs are fetched into the TL frame transmission path passing through the own device.

また、ステップS82でNOの場合、自デバイスと接続相手のデバイスとは特に関係のないオーディオネットワークシステムに所属していることがわかるので、その相手のデバイスを自身が所属するシステムに取り込む動作は行わずに処理を終了する。
以上の処理により、元々同じシステムに所属していたデバイスとの接続が回復した場合に、そのことを、全く異なるシステムに所属していたデバイスとの接続と区別して認識し、自動的にシステムを再統合することができる。
If NO in step S82, since it can be seen that the own device and the connected device belong to an audio network system that is not particularly related, the operation of taking the partner device into the system to which the device belongs is performed. The process ends without
Through the above process, when the connection with the device that originally belonged to the same system is restored, this is recognized separately from the connection with the device that belonged to a completely different system, and the system is automatically Can be reintegrated.

4.3 異常発生及び回復時の動作の具体例
次に、以上説明してきたオーディオネットワークシステムにおける異常発生及び回復時の各デバイスの動作及びそれによるフレーム伝送経路の変化の具体例について説明する。
まず、図19に、カスケード接続のオーディオネットワークシステムにおいてデバイス間の断線が発生し、その後回復した場合の動作例を示す。
この例では、デバイスAからデバイスGの7台のデバイスによりオーディオネットワークシステムが構成され、デバイスBがプライマリマスタ、デバイスEがセカンダリマスタであるとする。
4.3 Specific example of operation at occurrence and recovery of abnormality Next, a specific example of the operation of each device at the time of occurrence and recovery of the abnormality in the audio network system described above and the change of the frame transmission path due thereto will be described.
First, FIG. 19 shows an operation example in the case where a disconnection between devices occurs in the cascade-connected audio network system and then recovered.
In this example, it is assumed that an audio network system is configured by seven devices A to G, and that device B is a primary master and device E is a secondary master.

この場合、初めに各デバイスが接続され、電源がONされた時点では、(a)に示すように、プライマリマスタであるデバイスBが(M)で示すマスタノードとなり、デバイスAからデバイスGの全てを通るフレーム伝送経路を有するオーディオネットワークシステムを形成する。   In this case, when each device is first connected and the power is turned on, as shown in (a), the device B as the primary master becomes the master node shown in (M), and all of the devices A to G are displayed. An audio network system having a frame transmission path passing through is formed.

次に、デバイスAからGに含まれているコンソール、あるいはデバイスAからGの何れかに外部機器として接続されたパーソナルコンピュータは、このオーディオネットワークシステムの各デバイスをリモート制御する制御装置としての動作を開始する。その際、制御装置は、システムを識別するためのユニークなIDを準備し、管理下に入る全てのデバイスにそのユニークIDを送信して設定させるとともに、それらの各デバイスとの間でパラメータを同期化する(図15)。   Next, the personal computer connected as an external device to any of the consoles included in the devices A to G or the devices A to G operates as a control device that remotely controls each device of the audio network system. Start. At that time, the control device prepares a unique ID for identifying the system, sends the unique ID to all the devices under management, sets the ID, and synchronizes the parameters with each device. (FIG. 15).

ここで、(b)に示すように、デバイスCとデバイスDの間でケーブルに断線が生じ、接続が切断されたとすると、DからGまでのデバイスはマスタノードから切り離され、TLフレームが到達しなくなる。
そして、セカンダリマスタであるデバイスEは、TLフレームの受信が所定時間中断すると、図16に示した処理を実行し、通信可能な範囲のデバイスDからデバイスGをリセットし、自らマスタノードとなって(c)に示すように、デバイスDからデバイスGまでのデバイスを通るフレーム伝送経路を有する新たなオーディオネットワークシステムを形成する。
各デバイスがルーティングの設定内容を保持していれば、この状態であっても、デバイスCとデバイスDの間を跨ぐ経路以外の経路であれば、(a)の状態と同様に音響信号の伝送を行うことができる。
Here, as shown in (b), if the cable is disconnected between the device C and the device D and the connection is disconnected, the devices from D to G are disconnected from the master node, and the TL frame arrives. Disappear.
Then, when the reception of the TL frame is interrupted for a predetermined time, the device E as the secondary master executes the processing shown in FIG. 16, resets the device G from the device D in the communicable range, and becomes the master node itself. As shown in (c), a new audio network system having a frame transmission path passing through devices from device D to device G is formed.
If each device holds the setting contents of the routing, even in this state, if the route is a route other than the route straddling between the devices C and D, the transmission of the acoustic signal is performed in the same manner as in the state (a). It can be performed.

また、(c)の状態になった後、ケーブルの交換等によりデバイスCとデバイスDの間の接続が回復すると、デバイスC及びデバイスDは、互いに相手と接続がなされたことを検出する。そして、デバイスCの属するシステムとデバイスDの属するシステムではネットワークIDが異なるため、これらのデバイスは図18に示した処理を実行する。
そして、これらのデバイスは共通のユニークIDが設定されており、また、デバイスDの方が優先度の低いマスタノードを有するシステムに所属するため、(d)に示すように、デバイスDが自らをリセットする。その後、(e)に示すように、リセット要求を(c)で新たなシステムを形成した各デバイスに伝播させ、これらのデバイスは全て自らをリセットする。
In addition, after the state of (c) is reached, when the connection between the device C and the device D is recovered by exchanging cables or the like, the device C and the device D detect that the connection with the other party has been made. Since the network ID is different between the system to which the device C belongs and the system to which the device D belongs, these devices execute the processing shown in FIG.
These devices are set with a common unique ID, and since device D belongs to a system having a master node with a lower priority, device D identifies itself as shown in (d). Reset. Thereafter, as shown in (e), the reset request is propagated to each device that has formed a new system in (c), and these devices all reset themselves.

その後、デバイスCがリセットによりITLモードに戻ったデバイスDの存在をマスタノードであるデバイスBに通知し、デバイスBの指示に基づき(f)に示すようにデバイスBをシステムに取り込む。その後、同様にEからGのデバイスも順次システムに取り込むと、(a)に示す当初のシステムの状態に復帰することができる。
マスタノード以外のデバイスが停止することによりデバイス間の接続が切断された場合も、上述の結線の切断の場合と同様な新たなシステムの形成及び当初のシステムへの復帰が可能である。
Thereafter, the presence of device D that has returned to the ITL mode by resetting device C is notified to device B, which is the master node, and device B is loaded into the system as shown in FIG. Thereafter, similarly, when devices E to G are sequentially taken into the system, the original system state shown in FIG.
Even when the devices other than the master node stop and the connection between the devices is disconnected, it is possible to form a new system and return to the original system as in the case of the above-described disconnection of the connection.

次に、図20に、カスケード接続のオーディオネットワークシステムにおいてマスタノードの動作が停止し、その後回復した場合の動作例を示す。
この例においても、(a)の状態は図19に示した例と同じものである。
この状態で(b)に示すようにマスタノードであるデバイスBが動作を停止すると、新たなTLフレームの生成及び送信がされなくなるため、図19(b)の場合と同様、セカンダリマスタであるデバイスEにTLフレームが到達しなくなる。
Next, FIG. 20 shows an operation example when the operation of the master node is stopped and then recovered in the cascade-connected audio network system.
Also in this example, the state of (a) is the same as the example shown in FIG.
In this state, as shown in FIG. 19B, when the device B as the master node stops operating, a new TL frame is not generated and transmitted. As in FIG. 19B, the device as the secondary master The TL frame does not reach E.

そして、デバイスEは、TLフレームの受信が所定時間中断すると、図16に示した処理を実行し、自らマスタノードとなって、通信可能な範囲のCからGまでのデバイスをリセットし、自らマスタノードとなって(c)に示すように、これらのデバイスを通るフレーム伝送経路を有する新たなオーディオネットワークシステムを形成する。
デバイスAはこの状態ではいずれのマスタ候補デバイスとも通信することができず、リセット要求が届くこともない。しかし、この状態であっても、マスタ候補デバイスの場合よりも長い所定時間だけTLフレームの受信が中断した場合には、自デバイスをリセットし、接続回復時に元のシステムに取り込んでもらえるよう、ITLモードの動作に戻ることが好ましい。
Then, when the reception of the TL frame is interrupted for a predetermined time, the device E executes the processing shown in FIG. 16, and becomes the master node itself, resets the devices C to G in the communicable range, and self-masters. It becomes a node and forms a new audio network system having a frame transmission path through these devices as shown in (c).
In this state, device A cannot communicate with any master candidate device, and no reset request arrives. However, even in this state, if reception of the TL frame is interrupted for a predetermined time longer than that of the master candidate device, the ITL is reset so that the original system can be taken in when the connection is restored. It is preferable to return to mode operation.

また、(c)の状態になった後、再起動等によりデバイスBの動作が回復すると、デバイスBはプライマリマスタであるのでマスタノードとして動作を開始し、通信可能な範囲に存在していてかつRTLモードになっていない状態のデバイスAと共に、図9に示した手順に従い、RTLモードのオーディオネットワークシステムを形成しようとする。
しかし、この動作は、システムの存在しない状態からの新システムの形成であり、初期設定をしなければならないので時間がかかる。
Further, after the state of (c) is reached, when the operation of the device B is recovered by restarting or the like, the device B starts operating as a master node because it is a primary master and exists within a communicable range and An attempt is made to form an audio network system in the RTL mode in accordance with the procedure shown in FIG. 9 together with the device A that is not in the RTL mode.
However, this operation is the formation of a new system from the state where the system does not exist, and it takes time because it must be initialized.

一方、セカンダリマスタであるデバイスEがマスタノードとなっているオーディオネットワークシステムにおいて、端部に位置するデバイスCは、ITLモードのデバイスと接続された場合、上述のように、マスタノードからの指示に基づき、その接続されたデバイスをシステムに取り込む動作を行う。
そして、この動作には、既存のシステムの設定をそのまま使用することができ、あまり時間がかからない。従って、マスタ候補デバイスがリセット又は再起動された場合に、既にオーディオネットワークシステムを形成しているデバイスと接続されている状態であると、マスタノードとしての動作を開始する前に、リセット又は再起動されてどのシステムにも属さない状態となった1台のデバイスとして、オーディオネットワークシステムに取り込まれることになる。
On the other hand, in the audio network system in which the device E that is the secondary master is the master node, when the device C located at the end is connected to the device in the ITL mode, the instruction from the master node is given as described above. Based on this, the connected device is loaded into the system.
For this operation, the setting of the existing system can be used as it is, and it does not take much time. Therefore, when a master candidate device is reset or restarted, if it is connected to a device that has already formed an audio network system, it is reset or restarted before starting operation as a master node. As a result, the device is taken into the audio network system as a single device that does not belong to any system.

図20の例で言えば、(d)で動作が回復したデバイスBは、その時点で既にデバイスCと接続されているため、マスタノードとしての動作を開始する前に、デバイスCにより、デバイスEがマスタノードとなっているオーディオネットワークシステムに取り込まれ、(e)に示す状態となる。
すると、今度はデバイスAがオーディオネットワークシステムの端部に位置するデバイスBと接続された状態となるため、デバイスBもそのシステムに取り込まれ、(f)に示す状態となる。
In the example of FIG. 20, since the device B whose operation has been recovered in (d) is already connected to the device C at that time, before the operation as the master node is started, the device C performs the device E. Is taken into the audio network system which is the master node, and the state shown in FIG.
Then, since the device A is now connected to the device B located at the end of the audio network system, the device B is also taken into the system and is in the state shown in (f).

この状態では、マスタノードはセカンダリマスタとなっているが、当初の(a)に示す状態と同じ接続トポロジーのオーディオネットワークシステムに復帰できたことになる。
従って、プライマリマスタが停止した場合であっても、他のマスタ候補デバイスが新たなマスタノードとなって最大限の信号伝送を維持すると共に、プライマリマスタの動作回復時には、接続トポロジーとしては自動的に当初のシステム構成に復帰させることができる。
In this state, the master node is the secondary master, but it can be returned to the audio network system having the same connection topology as in the initial state (a).
Therefore, even if the primary master stops, other master candidate devices become new master nodes to maintain maximum signal transmission, and when the primary master returns to operation, the connection topology is automatically The original system configuration can be restored.

なお、(d)の状態でプライマリマスタであるデバイスBにマスタ動作を開始させ、デバイスEがマスタノードとなっているオーディオネットワークシステムをリセットさせて、デバイスBがマスタノードとなるオーディオネットワークシステムが全てのデバイスを取り込むようにすれば、マスタノードも含めて(a)と同じ状態に戻すこともできる。しかし、このようにすると、(c)でセカンダリマスタによって復活した音響信号の伝送が、リセット時に途切れることになってしまい、好ましくない。上記の動作は、音響信号の伝送継続を優先した動作である。   In the state of (d), the master B device B starts the master operation, the audio network system in which the device E is the master node is reset, and all the audio network systems in which the device B is the master node are all. If the device is taken in, the master node can be restored to the same state as in (a). However, if this is done, the transmission of the acoustic signal restored by the secondary master in (c) will be interrupted at the time of reset, which is not preferable. The above operation is an operation giving priority to the continuation of transmission of the acoustic signal.

次に、図21に、ループ接続のオーディオネットワークシステムにおいてマスタノードの動作が停止し、その後回復した場合の動作例を示す。
ここでは、初めに各デバイスが接続され、電源がONされた時点では、(a)に示すように、プライマリマスタであるデバイスAが(M)で示すマスタノードとなり、デバイスAからデバイスGの全てを通る2本のフレーム伝送経路を有するオーディオネットワークシステムが形成されるとする。そして、図示しない制御装置がAからGの各デバイスの制御を開始する際、これらのデバイスに共通のユニークIDを送信して設定させる。
Next, FIG. 21 shows an operation example when the operation of the master node is stopped and then recovered in the loop-connected audio network system.
Here, when each device is first connected and the power is turned on, as shown in (a), the device A as the primary master becomes the master node shown in (M), and all of the devices A to G are displayed. An audio network system having two frame transmission paths passing through is formed. When a control device (not shown) starts control of each device A to G, a unique ID common to these devices is transmitted and set.

この実施形態のオーディオネットワークシステムは、ループ接続で動作する場合、デバイス間の結線の不具合によってでも、デバイス自体の不具合によってでも、1箇所で接続の切断が起こったのみであれば、切断発生箇所の両側で切断発生側のセレクタを切り替えてフレーム伝送経路を折り返すことにより、速やかにその箇所を両端とするカスケード接続のシステムに構成を組み替えて0〜2フレーム程度の欠落でTLフレームの伝送を継続することが可能である(特開2009−94589号公報参照)。   When the audio network system according to this embodiment operates in a loop connection, the connection of the disconnection occurrence point is determined only when the connection is disconnected at one place, either due to a connection failure between devices or due to a failure of the device itself. By switching the selector on the disconnection side on both sides and turning the frame transmission path back, the configuration is quickly reconfigured to a cascade connection system with both ends as both ends, and TL frame transmission is continued with about 0 to 2 frames missing. (See JP 2009-94589 A).

しかし、(b)に示すようにマスタノードの動作が停止してしまった場合には、新たなTLフレームの生成及び送信ができないため、TLフレームの伝送を継続することができない。従って、セカンダリマスタであるデバイスEにTLフレームが到達しなくなる。
そして、デバイスEは、TLフレームの受信が所定時間中断すると、図16に示した処理を実行し、自らマスタノードとなって、通信可能な範囲のBからGまでのデバイスをリセットし、自らマスタノードとなって、(c)に示すように、これらのデバイスを通るフレーム伝送経路を有する新たなオーディオネットワークシステムを形成する。この場合、デバイスAの箇所で接続が切断されているため、接続トポロジーはカスケードである。
However, when the operation of the master node is stopped as shown in (b), since generation and transmission of a new TL frame cannot be performed, transmission of the TL frame cannot be continued. Accordingly, the TL frame does not reach the device E that is the secondary master.
Then, when the reception of the TL frame is interrupted for a predetermined time, the device E executes the processing shown in FIG. 16, becomes the master node itself, resets the devices from B to G in the communicable range, and self-masters. As a node, a new audio network system having a frame transmission path passing through these devices is formed as shown in FIG. In this case, since the connection is disconnected at the location of device A, the connection topology is cascade.

また、(c)の状態になった後、(d)に示すように再起動等によりデバイスAの動作が回復すると、デバイスAはプライマリマスタであるのでマスタノードとして動作を開始しようとする。しかし、その時点で既にデバイスB及びデバイスGと接続されているため、マスタノードとしての動作を開始する前に、デバイスB又はGにより、デバイスEがマスタノードとなっているオーディオネットワークシステムに取り込まれる。
そして、いずれのデバイスに取り込まれた場合も、取り込み完了後には、カスケードの一端が同じシステムの他端のデバイスと接続された状態となるため、マスタノードの指示に従ってループ接続に移行し、(e)に示す状態となる。
Further, after the state of (c) is reached, when the operation of the device A is recovered by rebooting or the like as shown in (d), since the device A is the primary master, it tries to start the operation as a master node. However, since the devices B and G are already connected at that time, before the operation as the master node is started, the device E is taken into the audio network system in which the device E is the master node by the device B or G. .
And even if it is taken in by any device, since the end of the cascade is connected to the device at the other end of the same system after the take-in is completed, it shifts to the loop connection according to the instruction of the master node, and (e ).

以上により、ループ接続の状態でプライマリマスタが停止した場合であっても、図20の場合と同様、他のマスタ候補デバイスが新たなマスタノードとなって最大限の信号伝送を維持すると共に、プライマリマスタの動作回復時には、接続トポロジーとしては自動的に当初のシステム構成に復帰させることができる。   As described above, even when the primary master stops in a loop connection state, as in the case of FIG. 20, other master candidate devices become new master nodes and maintain maximum signal transmission, When the master operation is restored, the connection topology can be automatically restored to the original system configuration.

5. 変形例
以上で実施形態の説明を終了するが、装置の構成、データの構成、具体的な処理内容等が上述の実施形態で説明したものに限られないことはもちろんである。
例えば、上述の実施形態では、ユニークIDを、制御装置が、オーディオネットワークシステムを構成するデバイスの制御を開始する際に各デバイスに送信して設定させる例について説明したが、ユニークIDの設定を他のデバイスが行うようにしてもよい。例えば、プライマリマスタが、図9のステップS31における伝送経路の構築を完了した時点で、伝送経路上の各デバイスに送信して設定させるようにしてもよい。
5. Modification The description of the embodiment is finished as described above, but it goes without saying that the configuration of the apparatus, the configuration of data, the specific processing content, and the like are not limited to those described in the above embodiment.
For example, in the above-described embodiment, an example has been described in which the unique ID is transmitted and set to each device when the control apparatus starts control of the devices constituting the audio network system. This device may be used. For example, when the primary master completes the construction of the transmission path in step S31 in FIG. 9, it may be transmitted to each device on the transmission path and set.

ここで、図19乃至図21の説明からもわかるように、上述した実施形態のオーディオネットワークシステムにおいて、システムに所属するデバイスや伝送経路は、デバイス間の接続状態などに応じて動的に変化する。しかし、リセット後に周囲の組み込み可能なデバイスを全て伝送経路に組み込み、システムの構成が安定した時点で、その時点の構成を基準としてユニークIDの設定を行うようにすれば、妥当な範囲のデバイスに共通のユニークIDを記憶させることができると考えられる。
またその後、伝送経路にデバイスが追加された場合にはそのデバイスにも同じユニークIDを設定し、逆にデバイスが取り除かれた場合には、後で復帰させられるよう、以後ユニークIDの変更を行わないようにするとよい。
Here, as can be seen from the description of FIGS. 19 to 21, in the audio network system according to the above-described embodiment, the devices and transmission paths belonging to the system dynamically change according to the connection state between the devices. . However, if all the devices that can be installed after the reset are installed in the transmission path and the system configuration is stable, the unique ID is set based on the configuration at that time. It is considered that a common unique ID can be stored.
After that, when a device is added to the transmission path, the same unique ID is set for the device, and when the device is removed, the unique ID is changed so that it can be restored later. It is better not to.

また、各デバイスへのユニークIDの設定は、以下の手法で行ってもよい。
まず、ある時点でオーディオネットワークシステムを形成した時に、新たなユニークIDを生成してそのオーディオネットワークシステムを構成する各デバイスに設定する。そして、ここでユニークIDを設定したデバイスを、そのオーディオネットワークシステムにおける既知デバイスとして扱い、その他のデバイスをそのオーディオネットワークシステムにおける未知デバイスとして扱う。
The unique ID may be set for each device by the following method.
First, when an audio network system is formed at a certain time, a new unique ID is generated and set in each device constituting the audio network system. And the device which set unique ID here is handled as a known device in the audio network system, and other devices are handled as unknown devices in the audio network system.

その後、既知デバイスのみで構成されるオーディオネットワークシステムを形成された場合には、新たなユニークIDは生成せず、そのオーディオネットワークシステムを構成する各デバイスに既に設定されているユニークIDを使用する。
一方、未知デバイスを含むオーディオネットワークシステムを形成した場合には、新たなユニークIDを生成して、その形成したオーディオネットワークシステムを構成する各デバイスに設定する。
Thereafter, when an audio network system composed only of known devices is formed, a new unique ID is not generated, and a unique ID already set for each device constituting the audio network system is used.
On the other hand, when an audio network system including an unknown device is formed, a new unique ID is generated and set in each device constituting the formed audio network system.

以上の手法によれば、先に説明したようにマスタノードがプライマリマスタかそれ以外かに応じてユニークIDの新規設定有無を変更する必要がなく、システムを構成したマスタノードがプライマリマスタであってもセカンダリマスタであっても、それ以外であっても、上記の手法に従ってユニークIDを設定してよい。例えば、オーディオネットワークシステムの一部が切断され、その切断箇所の両側で2つの新たなオーディオネットワークシステムを形成する場合には、両システム共に既知のデバイスのみで構成されるので、既に設定されているユニークIDを続けて使用することになる。   According to the above method, as described above, it is not necessary to change the presence / absence of a new unique ID setting depending on whether the master node is the primary master or the other, and the master node constituting the system is the primary master. Even if it is a secondary master, other than that, you may set unique ID according to said method. For example, when a part of an audio network system is disconnected and two new audio network systems are formed on both sides of the disconnection point, both systems are configured only because they are configured with known devices only. The unique ID will be used continuously.

また、上述の実施形態では、プライマリマスタがネットワーク上から消滅し、セカンダリマスタがマスタノードとしての動作を開始する際に、ネットワークに残っているデバイスをリセットして、システムを最初から形成しなおしている。しかしながら、元のシステムのデバイスをリセットせずに、セカンダリマスタのシステムを形成するようにしてもよい。   In the above embodiment, when the primary master disappears from the network and the secondary master starts operating as a master node, the devices remaining in the network are reset and the system is re-created from the beginning. Yes. However, the secondary master system may be formed without resetting the device of the original system.

その場合の動作を、図19の例を用いてより具体的に説明する。
図19(b)において切断が発生したとき、特開2009−94589号公報に示されているように、デバイスDは、切断された側に折り返し経路を自動的に設定し、デバイスEから受信したTLフレームをデバイスEに送り返すことにより、リング状のフレーム伝送経路を修復する。その後、セカンダリマスタ(デバイスE)は、TLフレームの受信が途絶えたことを検出し、マスタノードとしての動作を開始し自デバイスに新たなネットワークIDを設定する(図19(c))。しかしその際、自身のリセット及び隣接デバイスへのリセット要求の送信は行わない。
The operation in that case will be described more specifically with reference to the example of FIG.
When disconnection occurs in FIG. 19B, device D automatically sets a return path on the disconnected side and receives it from device E as disclosed in Japanese Patent Laid-Open No. 2009-94589. By sending the TL frame back to the device E, the ring-shaped frame transmission path is repaired. Thereafter, the secondary master (device E) detects that the reception of the TL frame has been interrupted, starts operation as a master node, and sets a new network ID for the own device (FIG. 19 (c)). However, at that time, it does not reset itself and does not transmit a reset request to an adjacent device.

この場合、各デバイスは起動処理を行う必要がないが、それに加えて、セカンダリマスタは、プライマリマスタが形成したオーディオネットワークシステム(およびユニークID)をそのまま引き継ぐので、新たなシステムの形成やデバイスの取り込みを行う必要がない。セカンダリマスタはただ、ネットワーク上にデバイスAからデバイスCが存在しないことを検知して、デバイスAからデバイスCが使用していた伝送chの開放をデバイスDからデバイスGに通知し、それらの伝送chからの音響信号の取り込みを中止させるだけでよい。   In this case, each device does not need to perform a startup process, but in addition, the secondary master takes over the audio network system (and unique ID) formed by the primary master as it is, so that a new system is formed or a device is imported. There is no need to do. The secondary master simply detects that device A to device C do not exist on the network, notifies device D to device G of the release of transmission channels used by device A to device C, and transmits those transmission channels. It is only necessary to stop the acquisition of the sound signal from.

この各デバイスをリセットしない方式によれば、ネットワークに残されたデバイスDからデバイスGにおける音響信号の伝送を、リセットを行う場合と比較して、極めて短時間の間に再開することができる。なお、この方式をとった場合でも、元のオーディオネットワークシステムへの復帰(図18)は同様に行うことができるが、その際には、セカンダリマスタのシステムのリセットを省略することができない。   According to the method in which each device is not reset, the transmission of the acoustic signal from the device D remaining on the network to the device G can be resumed in a very short time compared to the case where the reset is performed. Even when this method is adopted, the return to the original audio network system (FIG. 18) can be performed in the same manner, but in that case, the resetting of the secondary master system cannot be omitted.

また、以上説明してきた変形及び実施形態の説明において述べた変形は、矛盾しない範囲で任意に組み合わせて適用可能である。また逆に、ネットワークシステムが実施形態の説明において述べた特徴を全て有している必要もない。   Further, the modifications described above and the modifications described in the description of the embodiments can be applied in any combination within a consistent range. Conversely, the network system need not have all the features described in the description of the embodiment.

以上の説明から明らかなように、この発明のネットワークシステムによれば、ネットワークシステムを構成するデバイスの一部がマスタノードから分断されてしまった場合に臨時に構築したネットワークシステムを、分断の解消後に適切かつ自動的にもとのネットワークシステムに統合できるようにすることができる。
従って、この発明を適用することにより、ネットワークシステムの利便性を向上させることができる。
As is clear from the above description, according to the network system of the present invention, the network system temporarily constructed when a part of the devices constituting the network system is divided from the master node, after the division is resolved. It can be appropriately and automatically integrated into the original network system.
Therefore, the convenience of the network system can be improved by applying the present invention.

S…オーディオネットワークシステム、10…音響信号処理装置、11,14…第1、第2受信I/F、12,13…第1,第2送信I/F、21〜24…セレクタ、25,26…折り返しライン、31,32…第1,第2データ入出力部、100…TLフレーム S ... audio network system, 10 ... acoustic signal processing device, 11, 14 ... first and second reception I / F, 12, 13 ... first and second transmission I / F, 21-24 ... selector, 25, 26 ... Folding lines 31, 32 ... First and second data input / output units, 100 ... TL frames

Claims (5)

複数のデバイスを接続し、該複数のデバイスのうちのマスタノードが、音響信号のデータを含む音声伝送フレームを定期的に生成して、前記デバイスを通るループ状の伝達経路に一定周期で循環させ、前記各デバイスが、該循環する音声伝送フレームへの音響信号の書き込み及び/又は読み出しを行うことにより、前記各デバイス間のうちの任意のデバイス間で音響信号の伝送を行うネットワークシステムの管理方法であって、
前記接続された複数のデバイスのうちの何れか1のデバイスないし何れか複数のデバイスの協働によって、
前記複数のデバイスの少なくとも2つのデバイスをマスタ候補デバイスとして指定するとともに、各マスタ候補デバイスがマスタノードになる優先順位を示すマスタ優先度を指定するマスタ指定手順と、
ネットワークシステムが形成されていない状態で、前記複数のマスタ候補デバイスを含む複数のデバイスが接続された場合に、前記複数のマスタ候補デバイスのうちの、一番高いマスタ優先度を有する第1のマスタ候補デバイスを前記マスタノードとして機能させ、前記接続された複数のデバイスが所属するネットワークシステムを形成する第1システム形成手順と、
前記第1システム形成手順によりネットワークシステムが形成されたとき、ユニークなユニークIDを生成して、該形成されたネットワークシステムに所属する各デバイスに付与するユニークID付与手順と、
前記第1システム形成手順により形成されたネットワークシステムにおいて、前記伝達経路を循環する、前記マスタノードとして機能していた前記第1のマスタ候補デバイスからの前記音声伝送フレームが所定時間以上途絶えたとき、次に高いマスタ優先度を有する第2のマスタ候補デバイスを前記マスタノードとして機能させ、その時点で前記第2のマスタ候補デバイスと接続されている1又は複数のデバイス及び前記第2のマスタ候補デバイスが所属するネットワークシステムを形成する第2システム形成手順と、
前記第1システム形成手順又は第2システム形成手順において形成されたネットワークシステムに所属する端部のデバイスが、他のネットワークシステムに所属する他のデバイスと接続されたのを検出したとき、該端部のデバイスが所属するネットワークシステムにおけるマスタノードよりも、前記検出された他のデバイスが所属するネットワークシステムにおけるマスタノードの方がマスタ優先度が高く、かつ、該端部のデバイスと前記他のデバイスとで前記付与されたユニークIDが共通であることを条件に、該端部のデバイスが所属するネットワークシステムの全てのデバイスをリセットするリセット手順と、
いずれかのネットワークシステムに所属する端部のデバイスが、いずれのネットワークシステムにも所属していない他のデバイスと接続されたのを検出したとき、該検出された他のデバイスを、該端部のデバイスが所属するネットワークシステムに組み入れる組入手順と
を実行することを特徴とするネットワークシステムの管理方法。
A plurality of devices are connected, and a master node of the plurality of devices periodically generates an audio transmission frame including acoustic signal data, and circulates it in a loop-shaped transmission path passing through the devices at a constant cycle. A management method for a network system in which each device transmits and / or reads an acoustic signal to / from the circulating audio transmission frame, thereby transmitting the acoustic signal between any of the devices Because
By cooperation of any one device or any of the plurality of connected devices,
A master designation procedure for designating at least two devices of the plurality of devices as master candidate devices and designating a master priority indicating a priority in which each master candidate device becomes a master node;
When a plurality of devices including the plurality of master candidate devices are connected in a state where no network system is formed, the first master having the highest master priority among the plurality of master candidate devices. A first system forming procedure for causing a candidate device to function as the master node and forming a network system to which the plurality of connected devices belong;
When a network system is formed by the first system formation procedure, a unique unique ID is generated and given to each device belonging to the formed network system;
In the network system formed by the first system formation procedure, when the voice transmission frame from the first master candidate device functioning as the master node circulating in the transmission path is interrupted for a predetermined time or more, The second master candidate device having the second highest master priority is made to function as the master node, and the one or more devices and the second master candidate device that are connected to the second master candidate device at that time A second system formation procedure for forming a network system to which the
When it is detected that an end device belonging to the network system formed in the first system formation procedure or the second system formation procedure is connected to another device belonging to another network system, the end portion The master node in the network system to which the detected other device belongs has higher master priority than the master node in the network system to which the device belongs, and the end device and the other device A reset procedure for resetting all devices of the network system to which the device at the end belongs, on condition that the assigned unique ID is common
When it is detected that an end device belonging to any network system is connected to another device not belonging to any network system, the detected other device is connected to the end device. A network system management method comprising: performing an incorporation procedure for incorporation into a network system to which a device belongs.
請求項1に記載のネットワークシステムの管理方法であって、
前記接続された複数のデバイスのうちの何れか1のデバイスないし何れか複数のデバイスの協働によって、
前記各マスタ候補デバイスについて、該マスタ候補デバイスのマスタ優先度に応じて、前記第2システム形成手順における前記所定時間を、マスタ優先度が高いほど短い時間に定める手順を実行することを特徴とするネットワークシステムの管理方法。
A network system management method according to claim 1, comprising:
By cooperation of any one device or any of the plurality of connected devices,
For each of the master candidate devices, according to a master priority of the master candidate device, a procedure is performed in which the predetermined time in the second system formation procedure is set to a shorter time as the master priority is higher. Network system management method.
請求項1又は2に記載のネットワークシステムの管理方法であって、
前記ネットワークシステムは、前記第1システム形成手順により形成されるネットワークシステムを構成する各デバイスをリモート制御するための制御装置を備え、
前記接続された複数のデバイスに代えて、前記制御装置が、前記ユニークID付与手順を実行することを特徴とするネットワークシステムの管理方法。
The network system management method according to claim 1 or 2,
The network system includes a control device for remotely controlling each device constituting the network system formed by the first system formation procedure,
A management method of a network system, wherein the control device executes the unique ID assigning procedure instead of the plurality of connected devices.
請求項1又は2に記載のネットワークシステムの管理方法であって、
前記接続された複数のデバイスのうち前記第1のマスタ候補デバイスが、前記ユニークID付与手順を実行することを特徴とするネットワークシステムの管理方法。
The network system management method according to claim 1 or 2,
The network system management method, wherein the first master candidate device among the plurality of connected devices executes the unique ID assignment procedure.
請求項1乃至4のいずれか一項に記載のネットワークシステムの管理方法であって、
前記第2システム形成手順においては、前記複数のデバイスをリセットすることなく、前記第2のマスタ候補デバイスを前記マスタノードとするネットワークシステムが形成されることを特徴とするネットワークシステムの管理方法。
A network system management method according to any one of claims 1 to 4, comprising:
In the second system formation procedure, a network system having the second master candidate device as the master node is formed without resetting the plurality of devices.
JP2010046867A 2010-03-03 2010-03-03 Network system management method Expired - Fee Related JP5458961B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010046867A JP5458961B2 (en) 2010-03-03 2010-03-03 Network system management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010046867A JP5458961B2 (en) 2010-03-03 2010-03-03 Network system management method

Publications (2)

Publication Number Publication Date
JP2011182326A JP2011182326A (en) 2011-09-15
JP5458961B2 true JP5458961B2 (en) 2014-04-02

Family

ID=44693342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010046867A Expired - Fee Related JP5458961B2 (en) 2010-03-03 2010-03-03 Network system management method

Country Status (1)

Country Link
JP (1) JP5458961B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6455286B2 (en) * 2015-03-31 2019-01-23 オムロン株式会社 Communication apparatus and link establishment method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06164612A (en) * 1992-11-27 1994-06-10 Toshiba Corp Loop type communication system
JP5088078B2 (en) * 2007-10-03 2012-12-05 ヤマハ株式会社 Network system and communication device

Also Published As

Publication number Publication date
JP2011182326A (en) 2011-09-15

Similar Documents

Publication Publication Date Title
JP5267060B2 (en) Acoustic signal processing system
CN110895469A (en) Upgrading method, device, electronic device and storage medium for dual-system hot standby system
JP4297184B2 (en) Network system
JP5775473B2 (en) Edge device redundancy system, switching control device, and edge device redundancy method
JP5589727B2 (en) Network system
JP4899568B2 (en) Network system and acoustic signal processing apparatus
JP5076413B2 (en) Network system and acoustic signal processing apparatus
JP4187028B2 (en) Network system and acoustic signal processing apparatus
JP5454255B2 (en) Acoustic signal processing apparatus and acoustic signal processing system
JP2008099264A (en) Network system and audio signal processor
JP5088078B2 (en) Network system and communication device
CN109120386A (en) Wireless communication device, system and method
JP5458961B2 (en) Network system management method
CN109379239B (en) Method and device for configuring access switch in OpenStack environment
JP5476889B2 (en) Network system
CN101964191A (en) Audio signal processing
CN101317400B (en) Communication apparatus, apparatus activation control method, and communication control method
JP4030880B2 (en) Synchronization clock supply system and synchronization clock supply method
JP5012382B2 (en) Acoustic signal processing apparatus and network system
CN1988542A (en) Optimum restarting realizing method for generating tree protocol in two-layer network device
JP5045728B2 (en) Communication node
JP5458716B2 (en) Acoustic signal processing system
JP2005117135A (en) Data transmission system, terminal device, data transmission method, recording medium, and program
JP2010098475A (en) Network system and audio signal processor
CN119583574B (en) Replication network deployment method, device and medium of distributed block storage system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131211

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131230

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees