JP2010136012A - Method of detecting topology in audio network system, and audio network system - Google Patents
Method of detecting topology in audio network system, and audio network system Download PDFInfo
- Publication number
- JP2010136012A JP2010136012A JP2008308866A JP2008308866A JP2010136012A JP 2010136012 A JP2010136012 A JP 2010136012A JP 2008308866 A JP2008308866 A JP 2008308866A JP 2008308866 A JP2008308866 A JP 2008308866A JP 2010136012 A JP2010136012 A JP 2010136012A
- Authority
- JP
- Japan
- Prior art keywords
- port
- node
- satellite
- main
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
この発明は、複数のノードからなるネットワークシステムであって、特に、送信装置から受信装置にオーディオ信号をリアルタイムに伝送するオーディオ信号伝送システムにおけるトポロジー(ネットワーク構造)の検出方法に関し、また、トポロジーの検出機能を有するオーディオネットワークシステムに関する。 The present invention relates to a network system including a plurality of nodes, and more particularly to a topology (network structure) detection method in an audio signal transmission system that transmits audio signals from a transmission device to a reception device in real time, and topology detection. The present invention relates to an audio network system having a function.
ルーティング(経路制御)は、複数ノードからなるコンピュータネットワークシステム上で、ノード間で情報のパケットを送信する経路を見つけだす手法である。経路が判明すれば、その経路に沿って、発信元のノードから最終的な送信先のノードへ、ノード間の転送を繰り返して情報を送信することができる。従来のコンピュータネットワークシステムにおいて、各ノードは、送信先のアドレスに応じた経路を決定するためのルーティングテーブルを保持しており、このルーティングテーブルに従って、パケットに付加されたアドレスに応じた経路を決定して、決定した経路でパケットを転送する。 Routing (route control) is a technique for finding a route for transmitting information packets between nodes on a computer network system composed of a plurality of nodes. If the route is found, information can be transmitted by repeating the transfer between the nodes from the source node to the final destination node along the route. In a conventional computer network system, each node has a routing table for determining a route according to a destination address, and determines a route according to an address added to a packet according to the routing table. The packet is transferred through the determined route.
例えばインターネットなどの汎用ネットワークシステムにおいては、情報(パケット)を伝送する経路に障害が生じた場合に、動的に経路情報を制御することにより、障害を回避することができる。動的に経路情報を制御することを「動的ルーティング」という。動的ルーティングは、各ノードで自動的にルーティングテーブルを作成し更新することによって、各ノードが現存するノードを使った別の経路を自律的に決定する手法であって、通常、ルーティングプロトコルと経路決定アルゴリズムによってなされる。ルーティングプロトコルは、ノード間で互いのルーティングテーブルを交換するためのプロトコルである。経路決定アルゴリズムは、各ノードでルーティングテーブルを作成するためのアルゴリズムである。経路決定アルゴリズムには、距離ベクトルアルゴリズム(distance vector algorithm, 以下DVA)と、リンク状態アルゴリズム (link state algorithm, 以下LSA)が知られている。 For example, in a general-purpose network system such as the Internet, when a failure occurs in a route for transmitting information (packets), the failure can be avoided by dynamically controlling the route information. Controlling route information dynamically is called “dynamic routing”. Dynamic routing is a method in which each node autonomously determines another route using an existing node by automatically creating and updating a routing table at each node. Made by a decision algorithm. The routing protocol is a protocol for exchanging mutual routing tables between nodes. The route determination algorithm is an algorithm for creating a routing table at each node. As the route determination algorithm, a distance vector algorithm (hereinafter referred to as DVA) and a link state algorithm (hereinafter referred to as LSA) are known.
DVAは、各ノードが保持するルーティングテーブルに記録された「コスト」に基づき最適経路を決定する方法である。「コスト」とは、各ノード間に割り当てられた数値であり、2つのノード間を結ぶ経路のコストは、当該経路で経由するノード間のコストの総和によって表される。ルーティングテーブルには、送信先ノード(パケットのあて先)のリストと、各あて先について経路のコストと、各あて先について当該ノードがやりとりすべき直近のノード(「次の相手(next hop)」)とが記録される。
或るネットワークにおいて最適経路を決定する最初の段階では、各ノードは、自身に隣接するノードがどれかという情報と、それらの間との「コスト」だけをルーティングテーブルとして保持している。そして、定期的にノード間で、互いのルーティングテーブルのデータを交換して、該交換したデータを用いて、当該ノードのルーティングテーブルを更新する。この動作を通じて、各ノードは、各自が保持するルーティングテーブルに、あらゆる送信先ノードについて、自身にとって最良の「次の相手」と最良の「コスト」を記録して、該テーブルに基づき最適な経路を決定することができるようになる。
ネットワーク中の或るノードが脱落した場合は、そのノードを「次の相手」としていたノード全てにおいて、ルーティングテーブルの破棄と再構築が行われる。再構築されたルーティングテーブルの情報は、各自に隣接するノードに順次伝達され、データを受け取った各ノードは、そのデータを用いて、当該ノードのルーティングテーブルを更新する。その結果、現存する各ノードは、到達可能な全ての送信先ノードについて、該脱落したノードを除いた最良の経路を見つけ出すことができる。
DVA is a method for determining an optimum route based on “cost” recorded in a routing table held by each node. The “cost” is a numerical value assigned between the nodes, and the cost of the path connecting the two nodes is represented by the sum of the costs between the nodes passing through the path. The routing table includes a list of destination nodes (packet destinations), a path cost for each destination, and the nearest node (“next hop”) that the node should exchange with each destination. To be recorded.
In the initial stage of determining an optimum route in a certain network, each node holds only information on which nodes are adjacent to it and the “cost” between them as a routing table. Then, the data in the routing table is periodically exchanged between the nodes, and the routing table of the node is updated using the exchanged data. Through this operation, each node records the best “next partner” and the best “cost” for each destination node in its own routing table, and selects the optimum route based on the table. Will be able to decide.
When a certain node in the network is dropped, the routing table is discarded and reconstructed in all the nodes having the node as the “next partner”. Information on the reconstructed routing table is sequentially transmitted to adjacent nodes, and each node that receives the data updates the routing table of the node using the data. As a result, each existing node can find the best route except for the dropped node for all reachable destination nodes.
LSAでは、各ノードは、ネットワーク全体に、自身に隣接するノードがどれかというデータをブロードキャストする一方で、他の全てのノードからブロードキャストされたデータに基づき各自でネットワークマップを生成して、該生成したネットワークマップを用いて他のノードへの最短経路を各自で決定する。そして、各ノードは、全ての送信先ノードについて決定した最短経路の情報を用いて、ルーティングテーブルを生成する。各ノードは、生成したルーティングテーブルに基づいて、あらゆる送信先ノードについて、自身にとって最良の「次の相手」等を見つけだすことができるようになる。 In LSA, each node broadcasts data indicating which node is adjacent to the entire network, while generating a network map based on data broadcast from all other nodes. Each network determines the shortest path to another node using the network map. Then, each node generates a routing table using the shortest path information determined for all the transmission destination nodes. Each node can find the best “next partner” for each destination node based on the generated routing table.
また、従来より、電子楽器、プロオーディオ機器、パーソナルコンピュータなどをネットワーク接続して、それらノード間で多チャンネルのオーディオ信号を伝送するオーディオネットワークシステムがあった。オーディオネットワークシステムにおいてオーディオ信号等のパケット通信を行う技術としては、出願人が提唱する「mLAN」(例えば下記特許文献1等を参照)、下記特許文献2に記載の「EtherSound」(登録商標)、下記特許文献3に記載の非対称伝送ネットワークシステム、或いは、下記非特許文献1に記載の「Cobranet」(登録商標)などが知られていた。
従来のオーディオネットワークシステムにおいては、当該ネットワークシステム中のいずれかのノードがネットワークシステムのトポロジー(ネットワーク構造)を管理する管理ノードとなっていた。従来のトポロジー検出方法の一例は、ネットワークシステム中の各ノードが各自の各ポートに接続されているノードを検出して、その検出結果を管理ノードに報告し、管理ノードはネットワークシステム中の各ノードから受け取った報告を集計して、その集計結果に基づいて当該ネットワークシステムのトポロジー(ネットワーク構造)を検出する、というものであった。すなわち、従来のトポロジー検出方法では、各ノードが自分のポートに接続されている他のノードを検出して、その検出結果を管理ノードに報告するという複雑な処理を行わなければならなかったという不都合があった。特に、オーディオネットワークシステムにおいて各ノードは、電子楽器や、オーディオアンプや、スピーカなどの音楽機器であるから、複雑な制御を必要としない簡単な手法でトポロジーの検出を行えることが望ましい。 In a conventional audio network system, one of the nodes in the network system is a management node that manages the topology (network structure) of the network system. An example of a conventional topology detection method is that each node in the network system detects a node connected to each port of the network system and reports the detection result to the management node. The reports received from the network are aggregated, and the topology (network structure) of the network system is detected based on the aggregated results. That is, in the conventional topology detection method, each node has to perform a complicated process of detecting another node connected to its own port and reporting the detection result to the management node. was there. In particular, since each node in the audio network system is a musical instrument such as an electronic musical instrument, an audio amplifier, or a speaker, it is desirable that the topology can be detected by a simple method that does not require complicated control.
この発明は、上記の点に鑑みてなされたもので、各ノードで複雑な処理を行う必要のない簡単な手法でネットワークシステムのトポロジー(ネットワーク構造)を検出できるようにしたオーディオネットワークシステムにおけるトポロジーの検出方法、あるいは、トポロジーの検出機能を有するオーディオネットワークシステムを提供することを目的とする。 The present invention has been made in view of the above points, and the topology of an audio network system in which the topology (network structure) of a network system can be detected by a simple method that does not require complicated processing at each node. An object is to provide an audio network system having a detection method or a topology detection function.
請求項1に係る発明は、オーディオネットワークシステムにおけるトポロジーの検出方法であって、前記オーディオネットワークシステムは、少なくとも1つのポートを有するメインノード、それぞれ1つのMポートと複数のSポートとを有する複数のサテライトノード、及び、複数のケーブルを含んで構成され、該複数のケーブルには、前記メインノードの1つのポートと複数のサテライトノードのうちの1つのサテライトノードのMポートとの間を接続するケーブルと、複数のサテライトノードのうちの1つのサテライトノードのMポートと該複数のサテライトノードのうちの別の1つのサテライトノードのSポートとを接続するケーブルとがあり、前記システムにおいて、複数のサテライトノードのうちの1つが、そのサテライトノードのMポートを介してメインノードから送信された何らかの命令を受信したときに、当該サテライトノードは、該受信した命令を当該サテライトノードのSポートを介して転送すると共に、該受信した命令のあて先が当該サテライトノードの場合には、該命令に基づく処理を実行すると共に当該サテライトノードのMポートを介して該命令に対する応答を送信し、また、前記応答を送信したサテライトノード以外のいずれかのサテライトノードが、そのサテライトノードのSポートを介して前記応答を受信したときに、前記応答を受信したサテライトノードは、該受信した応答を当該サテライトノードのMポートを介して転送するものであり、また、前記システムにおいて、複数のサテライトノードのうちの1つが、そのサテライトノードのMポートを介して、全てのサテライトノードに対する存在確認命令を受信したときに、当該サテライトノードは、該受信した存在確認命令を当該サテライトノードのSポートを介して転送すると共に、当該サテライトノードが存在確認命令に応答することを禁止されていない場合には、該受信した存在確認命令に対する存在確認応答を当該サテライトノードのMポートを介して送信し、また、前記存在確認応答を送信したサテライトノード以外のいずれかのサテライトノードが、そのサテライトノードのSポートを介して前記存在確認応答を受信したときに、前記存在確認応答を受信したサテライトノードは、前記Sポートが存在確認応答を転送することを禁止されていない場合には、該受信した存在確認応答をMポートを介して転送するものであって、前記トポロジーの検出方法は、全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止する第1ステップと、メインノードのポートを介して存在確認命令を送信するようメインノードを制御すると共に、該送信した存在確認命令に対してメインノードに返信された存在確認応答に基づいて、前記ポートに接続されたサテライトノードを確認する第2ステップと、前記確認されたサテライトノードの複数のSポートのうちの1つを指定する第3ステップと、前記指定されたSポートからメインノードの前記ポートまでの経路上のSポート以外のSポートに存在確認応答を転送することを禁止し、また、前記指定されたSポートからメインノードの前記ポートまでの経路上のサテライトノードには存在確認命令に対して応答することを禁止する第4ステップと、メインノードのポートを介して存在確認命令を送信するようメインノードを制御すると共に、該送信された存在確認命令に対してメインノードに返信された存在確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第5ステップと、前記第2及び第5ステップにより確認されたサテライトノードの複数のSポートのうちに未だ指定されていないSポートが残っているならば、全ての前記確認されたサテライトノードの全てのSポートが指定されるまで、前記残っているSポートを1つずつ指定して、前記第4及び第5ステップを繰り返す第6ステップとから構成されることを特徴とするオーディオネットワークシステムにおけるトポロジーの検出方法である。
The invention according to
このトポロジーの検出方法によれば、メインノードは、(1)第1ステップにより全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止し、(2)第2ステップによりメインノードのポートを介して存在確認命令を送信して、メインノードに対する存在確認応答の返信有無により、メインノードのポートに直接接続されたサテライトノードの存在を確認する。メインノードは、(3)第3ステップにより確認されたサテライトノードの1又は複数のSポートのうちの1つを指定して、(4)第4ステップにより指定されたSポートからメインノードのポートまでの経路上のSポート以外のSポートを存在確認応答の転送禁止に設定(つまり、指定されたSポートからメインノードのポートまでの経路上のSポートのみを転送可に設定)し、且つ、指定されたSポートからメインノードのポートまでの経路上のサテライトノードを応答禁止に設定して、(5)第5ステップによりメインノードのポートを介して存在確認命令を送信して、メインノードに対する存在確認応答の返信有無により、当該指定されたSポートに接続されたサテライトノードの存在を確認する。そして、メインノードは、(6)第6ステップにより、前記存在が確認されたサテライトノードの全てのSポートが指定されてその接続先のサテライトノードの存在確認が済むまで、第4及び第5ステップを繰り返す。
According to this topology detection method, the main node (1) prohibits transfer of presence confirmation responses for all S ports of all satellite nodes in the first step, and (2) main node in the second step. The existence confirmation command is transmitted through the port of the main node, and the existence of the satellite node directly connected to the port of the main node is confirmed by the presence / absence of a reply of the existence confirmation response to the main node. The main node (3) designates one of one or more S ports of the satellite node confirmed in the third step, and (4) the port of the main node from the S port designated in the fourth step. S ports other than the S port on the route up to are set to prohibit the transfer of the presence confirmation response (that is, only the S port on the route from the designated S port to the main node port is set to be transferable), and The satellite node on the route from the designated S port to the port of the main node is set to response prohibition, and (5) a presence confirmation command is transmitted through the port of the main node in the fifth step, The existence of the satellite node connected to the designated S port is confirmed by the presence / absence of a response to the existence confirmation response to the S port. Then, the main node (6) the fourth and fifth steps until all the S ports of the satellite node whose existence has been confirmed are designated in
また、請求項2に係る発明は、請求項1に記載のトポロジーの検出方法が実行された後に、前記オーディオネットワークシステムにおいて2つのサテライトノードの2つのSポート間を接続する予備線を検出する方法であって、前記システムにおいて、複数のサテライトノードの1つが、そのサテライトノードに対する接続確認命令であって、そのサテライトノードの1つのSポートを示すポート指示子を含む接続確認命令を、そのサテライトノードのMポートを介して受信したときに、当該サテライトノードは、前記ポート指示子により指示されたSポートを介して探索信号を送信し、前記探索信号を送信したサテライトノード以外のいずれかのサテライトノードが、そのサテライトノードのSポートを介して前記探索信号を受信したときに、前記探索信号を受信したサテライトノードは、当該サテライトノードのノードIDと当該サテライトノードが探索信号を受信したSポートを示すポート指定子とを含む接続確認応答を、当該サテライトノードのMポートを介して送信し、いずれかのサテライトノードがそのサテライトノードのSポートを介して前記接続確認応答を受信したときに、該接続確認応答を受信したサテライトノードは、当該サテライトノードのMポートを介して、該受信した接続確認応答を転送するものであり、前記予備線を検出する方法は、前記確認されたサテライトノードの複数のSポートであって、前記第5ステップにおいてメインノードに存在確認応答の返信がない特定のSポートのうちの1つを指定する第7ステップと、前記指定されたSポートを持つサテライトノードに対して、前記指定されたSポートを示すポート指示子を含む接続確認命令をメインノードのポートを介して送信するようメインノードを制御すると共に、該送信された接続確認命令に対して該メインノードに返信された接続確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第8ステップと、前記特定のSポートであって、前記第5ステップにおいてメインノードに存在確認応答の返信がないSポート、又は前記第8ステップにおいて送信された接続確認命令に対応する探索信号の受信がないSポートのうちで未だ指定されていないSポートが残っているならば、該残りのSポートを1つずつ指定して、前記第8ステップを繰り返す第9ステップとから構成されることを特徴とする予備線を検出する方法である。
The invention according to
この予備線の検出方法によれば、メインノードは、(7)第7ステップにより予備線を確認したいSポートを指定して、(8)第8ステップにより、該指定されたSポートを有するサテライトノードに接続確認命令を送信して、メインノードに対する接続確認応答の有無により、当該指定されたSポートに予備線により接続されたサテライトノードの存在を確認する。そして、メインノードは、(9)第9ステップにより、予備線の検出が必要な全てのSポートがチェックされるまで、前記第8ステップを繰り返す。 According to this spare line detection method, the main node (7) designates an S port for which a spare line is to be confirmed in the seventh step, and (8) a satellite having the designated S port in the eighth step. A connection confirmation command is transmitted to the node, and the presence of a satellite node connected to the designated S port by a spare line is confirmed based on the presence or absence of a connection confirmation response to the main node. Then, the main node repeats the eighth step until (9) the ninth step checks all the S ports that require detection of the spare line.
また、請求項3に係る発明のオーディオネットワークシステムは、少なくとも1つのポートを有するメインノード、それぞれ1つのMポートと複数のSポートとを有する複数のサテライトノード、及び、複数のケーブルを含んで構成され、該複数のケーブルには、前記メインノードの1つのポートと複数のサテライトノードのうちの1つのサテライトノードのMポートとの間を接続するケーブルと、複数のサテライトノードのうちの1つのサテライトノードのMポートと該複数のサテライトノードのうちの別の1つのサテライトノードのSポートとを接続するケーブルとがあり、前記システムにおいて、前記複数のサテライトノードの各々は、Mポートを介して前記メインノードから送信された何らかの命令を受信したときに、当該受信した命令を当該サテライトノードのSポートを介して転送すると共に、該受信した命令のあて先が当該サテライトノードの場合には、該命令に基づく処理を実行すると共に該受信した命令に対して当該サテライトノードがした応答をMポートを介して送信する命令転送及び応答送信手段と、Sポートを介して、他のサテライトノードの命令転送及び応答送信手段により送信された応答を受信したときに、該受信した他のサテライトノードがした応答を当該サテライトノードのMポートを介して転送する応答転送手段と、Mポートを介して前記メインノードから転送禁止命令を受信したときに、該転送禁止命令によって指定されたSポートを介して受信した他のサテライトノードがした応答について前記応答転送手段による転送を禁止して、該指定されたSポート以外のSポートについてのみ前記転送を許可する転送禁止手段と、Mポートを介して前記メインノードから存在確認命令に対する応答を禁止する応答禁止命令を受信したときに、当該サテライトノードが存在確認命令に対してする存在確認応答について前記命令転送及び応答送信手段による応答の送信を禁止する応答禁止手段とを備え、前記メインノードは、オーディオネットワークシステムにおけるトポロジーの検出を行うために、全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止する転送禁止命令を当該メインノードのポートを介して送信して、全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止する第1送信手段と、前記第1送信手段により転送禁止命令を送信した後、存在確認命令を当該メインノードのポートを介して送信し、該送信した存在確認命令に対して当該メインノードに返信された存在確認応答に基づいて当該メインノードの前記ポートに接続されたサテライトノードを確認する第1確認手段と、前記確認されたサテライトノードが有する複数のSポートのうちの1つを指定する第1指定手段と、前記Sポート指定手段により指定されたSポートから当該メインノードの前記ポートまでの経路上のSポート以外のSポートについて存在確認応答を転送することを禁止する転送禁止命令を前記ポートを介して送信し、また、該指定されたSポートから当該メインノードの前記ポートまでの経路上のサテライトノードが存在確認命令に対して存在確認応答することを禁止する応答禁止命令を前記ポートを介して送信する第2送信手段と、前記第2送信手段により転送禁止命令及び応答禁止命令を送信した後、存在確認命令をポートを介して送信して、該送信された存在確認命令に対してメインノードに返信された存在確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第2確認手段と、前記第1及び第2確認手段により確認されたサテライトノードの複数のSポートのうちに未だ指定されていないSポートが残っているならば、全ての前記確認されたサテライトノードの全てのSポートが指定されるまで、前記残っているSポートを1つずつ指定して、前記第2送信手段及び前記第2確認手段により該指定したSポートに接続されたサテライトノードを確認することを繰り返す判定手段とを備える。
The audio network system of the invention according to
また、請求項4に係る発明は、請求項3に記載のオーディオネットワークシステムにおいて、前記複数のサテライトノードの各々は、当該サテライトノードに対する接続確認命令であって、そのサテライトノードの1つのSポートを示すポート指示子を含む接続確認命令を、Mポートを介して受信したときに、前記ポート指示子により指示されたSポートを介して探索信号を送信する探索信号送信手段と、Sポートを介して、他のサテライトノードの探索信号送信手段により送信された探索信号を受信したときに、当該サテライトノードのノードIDと当該サテライトノードが探索信号を受信したSポートを示すポート指定子とを含む接続確認応答を、Mポートを介して送信する接続確認応答送信手段と、Sポートを介して、他のサテライトノードの接続確認応答送信手段により送信された接続確認応答を受信したときに、該受信した接続確認応答をMポートを介して転送する接続確認応答転送手段とを備え、前記メインノードは、前記トポロジーの検出を行った後に、オーディオネットワークシステムにおける2つのサテライトノードの2つのSポート間を接続する予備線を検出するために、前記確認されたサテライトノードの複数のSポートであって、前記第2確認手段において存在確認応答の返信がない特定のSポートのうちの1つを指定する第2指定手段(S54)と、前記第2指定手段により指定されたSポートを持つサテライトノードに対して、前記指定されたSポートを示すポート指示子を含む接続確認命令をメインノードのポートを介して送信し、該送信された接続確認命令に対して該メインノードに返信された接続確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第3確認手段と、前記特定のSポートであって、前記第2確認手段においてメインノードに存在確認応答の返信がないSポート、又は前記第3確認手段において送信された接続確認命令に対応する探索信号の受信がないSポートのうちで、未だ指定されていないSポートがまだ残っているならば、該残りのSポートを1つずつ指定して、前記第3確認手段により該指定したSポートに接続されたサテライトノードを確認することを繰り返す第2判定手段とを備える According to a fourth aspect of the present invention, in the audio network system according to the third aspect, each of the plurality of satellite nodes is a connection confirmation command for the satellite node, and one S port of the satellite node is set. A search signal transmitting means for transmitting a search signal via the S port indicated by the port indicator when a connection confirmation command including a port indicator is received via the M port; When the search signal transmitted by the search signal transmitting means of another satellite node is received, the connection confirmation includes the node ID of the satellite node and the port designator indicating the S port from which the satellite node has received the search signal A connection confirmation response transmission means for transmitting a response via the M port, and another satellite via the S port. Connection confirmation response transfer means for transferring the received connection confirmation response via the M port when the connection confirmation response transmitted by the connection confirmation response transmission means of the node is received. After detecting the topology, a plurality of S ports of the confirmed satellite node, wherein the first and second S ports of the satellite node are connected in order to detect a spare line connecting the two S ports of the two satellite nodes in the audio network system. 2 for the second specifying means (S54) for designating one of the specific S ports for which there is no response of the presence confirmation response in the confirmation means, and for the satellite node having the S port designated by the second designating means. A connection confirmation command including a port indicator indicating the designated S port is transmitted through the port of the main node, and the transmitted connection confirmation command is transmitted. A third confirmation means for confirming a satellite node connected to the designated S port based on a connection confirmation response returned to the main node in response to the command, the specific S port, The S confirmation port that has not returned the presence confirmation response to the main node in the two confirmation means or the S port that has not received the search signal corresponding to the connection confirmation command transmitted in the third confirmation means has not yet been specified. If the S port still remains, the second determination means for repeatedly specifying the remaining S ports one by one and confirming the satellite node connected to the designated S port by the third confirmation means With
すなわち、この発明は、トポロジーの検出機能を有するオーディオネットワークシステム、更には予備線検出機能を有するオーディオネットワークシステムとして構成、及び実施することができる。 That is, the present invention can be configured and implemented as an audio network system having a topology detection function and further as an audio network system having a protection line detection function.
この発明によれば、メインノードによる「存在確認命令」の送信と、該「存在確認命令」を受けたサテライトノードによる「存在確認応答」の返信、及び、サテライトノードのSポートを「転送禁止」するリモート制御、並びに、各サテライトノードを「応答禁止」するリモート制御等の単純な通信プロトコルを用いて、メインノードはネットワーク上の全てのサテライトノードの接続(トポロジー)を検出することができる。このときに、各サテライトノードは、「存在確認命令」に対する応答(存在確認応答)や、各Sポートの転送禁止のリモート制御を受けることなど単純な処理をするだけでよいため、サテライトノード自身で隣接するノードを検出する処理等の複雑な処理を行う必要はない。従って、各ノードで複雑な処理を行う必要のない簡単な手法でネットワークシステムのトポロジー(ネットワーク構造)を検出できるようになるという優れた効果を奏する。本発明のトポロジー検出方法は、システムがノードの制御に用いるトポロジーではなく、システムがユーザに提示するためのトポロジー(例えば、画面表示等により提示するトポロジー)の検出に適している。
また、この発明によれば、メインノードによる「接続確認命令」の送信、「接続確認命令」を受けたサテライトノードによる「探索信号」の送信、探索信号を受けたサテライトノードによる「接続確認応答」の返信という単純な通信プロトコルにより、メインノードはサテライトノードの予備線を検出することができる。このとき、サテライトノードは、単純な処理(「接続確認命令」に応じた「探索信号」の送信、「探索信号」に応じた「接続確認応答」の送信)をするだけでよく、隣のノードを検出する等の複雑な処理をしなくてよい。従って、各ノードで複雑な処理を行う必要のない簡単な手法でネットワークシステムの予備線を検出することができるようになるという優れた効果を奏する。
According to the present invention, the transmission of the “presence confirmation command” by the main node, the reply of the “presence confirmation response” by the satellite node that has received the “presence confirmation command”, and the “transfer prohibited” of the S port of the satellite node The main node can detect connections (topologies) of all satellite nodes on the network using a simple communication protocol such as remote control to perform and remote control to “response prohibit” each satellite node. At this time, each satellite node only needs to perform a simple process such as receiving a response to the “existence confirmation command” (existence confirmation response) and receiving remote control for prohibiting the transfer of each S port. There is no need to perform complicated processing such as processing for detecting adjacent nodes. Therefore, there is an excellent effect that the topology (network structure) of the network system can be detected by a simple method that does not require complicated processing at each node. The topology detection method of the present invention is suitable for detecting a topology (for example, a topology presented by a screen display or the like) that the system presents to a user, not a topology that the system uses for controlling a node.
In addition, according to the present invention, transmission of a “connection confirmation command” by the main node, transmission of a “search signal” by the satellite node that has received the “connection confirmation command”, and “connection confirmation response” by the satellite node that has received the search signal The main node can detect the spare line of the satellite node by a simple communication protocol called “reply”. At this time, the satellite node only needs to perform simple processing (transmission of “search signal” in accordance with “connection confirmation command”, transmission of “connection confirmation response” in accordance with “search signal”), It is not necessary to perform a complicated process such as detecting. Therefore, there is an excellent effect that it becomes possible to detect the spare line of the network system by a simple method that does not require complicated processing at each node.
以下、添付図面を参照して、本発明の一実施形態について詳細に説明する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
《オーディオネットワークシステムの構成》
図1は、この発明に係るオーディオネットワークシステムの全体構成例を示す概念的ブロック図である。オーディオネットネットワークシステムは、少なくとも1つのポートを有する1つのメインノード(Mノード)1と、それぞれ複数のポートを有する複数(図1では7つ)のサテライトノード(Sノード)2a〜2hと、メインノード1及び複数のサテライトノード2a〜2hのうちの任意のノードの1つのポートと、メインノード1及び複数のサテライトノード2a〜2hのうちの別の任意のノードの1つのポートとを接続する複数のケーブル(接続線)とで構成される。図1のネットワークシステムの構成例では、各サテライトノード2a〜2hは、それぞれ1つ以上のポートを通じて他のノードに接続している。従って、メインノード1から各サテライトノード2a〜2hに至る経路は、各サテライトノード2a〜2h毎に1つ以上ある。
<Configuration of audio network system>
FIG. 1 is a conceptual block diagram showing an example of the overall configuration of an audio network system according to the present invention. The audio network system includes a main node (M node) 1 having at least one port, a plurality (seven in FIG. 1) of satellite nodes (S nodes) 2a to 2h each having a plurality of ports, A plurality of nodes that connect one port of any one of the
メインノード1は、複数チャンネル(例えば8チャンネル)のオーディオ信号を供給するオーディオソース(AS)3が接続されており、該供給されたオーディオ信号を含むメインパケットを送信するノードである。メインノード1は、例えば、ネットワーク機能を有するアンプ、オーディオミキサ等の音楽機器や、汎用コンピュータなどを想定している。
The
また、サテライトノード2a〜2hは、それぞれ、オーディオ信号に応じた音を発音するためのサウンドシステム(SS)4が接続されている。サウンドシステム(SS)4は、メインノード1から受信したメインパケットに含まれるオーディオ信号に応じた音を発音する。サテライトノード2a〜2h(サウンドシステム(SS)4を含む)は、この実施例では、アンプを内蔵したスピーカ装置を想定している。
Each of the
メインノード1は、所定周期毎に、オーディオソース3から供給された該複数チャンネルのオーディオ信号を含むパケットデータを形成して、該作成したパケットデータを、当該メインノード1が有するポートから送信する。メインノード1から所定周期毎に送信されたメインパケットは、ネットワークシステム上の互いに接続されたノード間を転送される。サテライトノード2a〜2hは、複数のポートのいずれかからメインパケットを受信して、受信したメインパケットから自身で必要なチャンネルのオーディオ信号を取り出して、取り出したオーディオ信号をサウンドシステム4に出力するとともに、該受信したメインパケットを複数のポートのうちの前記受信したポート以外のポートからサテライトノードに転送する。従って、サテライトノード2a〜2hは、いずれか1つの経路がメインノード1につながれていれば、メインノード1から送信されたオーディオ信号を受け取ることができる。
The
メインノード1から各サテライトノード2a〜2hへパケットデータを送信する経路は、詳しくは後述する経路制御(ルーティング)により選択される。この実施例に示すオーディオネットワークシステムは、その経路制御に特徴がある。更に言えば、パケットデータを送信する経路に障害が生じた場合(例えばノードが脱落した場合など)に、任意に結線された経路の中から新たなルートを探す(別ルートを探す)ことにより、自動的に経路を変更して、その障害を回避すること(動的ルーティング)を、比較的簡単な制御で行えるようにしたことに特徴がある。
The route for transmitting packet data from the
図2は、図1に示すオーディオネットワークシステム構成の変形例である。図2では、図1のネットワークシステムに、更に、メインノード5が1つ追加された構成例、すなわちメインノードを二重化した構成例が示されている。図2では、ネットワークシステムには2つのメインノード1及び5が接続されており、メインノード1とメインノード5との両方にオーディオソース3が接続される。
図2のように、2以上の複数のメインノードを有する構成(メインノードを多重化した構成)では、2以上の複数のメインノードのうちの1つ(例えばメインノード1)がメインノードとして動作して、他のメインノード(例えばメインノード5)がサテライトノードとして動作する。すなわち、サテライトノードとして動作するメインノード5は、何れかのポートからメインパケットを受信して、該受信したメインパケットをその他のポートから他のサテライトノードに転送する。そして、サテライトノードとして動作しているメインノード5は、何れのポートからもメインパケットを受信しなくいなった場合(オーディオネットワークシステムからメインノード1がいなくなった場合)に、メインノード5が自動的にメインノードに昇格して、メインノードとしての動作を開始する。なお、図2では、各サテライトノードに接続されたサウンドシステムの図示を省略した。
FIG. 2 is a modification of the audio network system configuration shown in FIG. FIG. 2 shows a configuration example in which one main node 5 is further added to the network system of FIG. 1, that is, a configuration example in which the main node is duplicated. In FIG. 2, two
As shown in FIG. 2, in a configuration having two or more main nodes (a configuration in which main nodes are multiplexed), one of the two or more main nodes (for example, main node 1) operates as the main node. Then, another main node (for example, main node 5) operates as a satellite node. That is, the main node 5 that operates as a satellite node receives a main packet from any port, and transfers the received main packet from another port to another satellite node. When the main node 5 operating as a satellite node does not receive the main packet from any port (when the
《パケットの構成》
図3は、ネットワークシステム上を流れるパケットデータの構成を説明するための図である。図3において、横軸は時間を示しており、時間軸上の1つの枠6は、パケット伝送の単位となる、1ミリ秒(1ms)の期間(周期)である。このパケット伝送周期(1ms)に、メインパケット7とサテライトパケット8が伝送される。このネットワークシステムにおけるデータの伝送レートは、例えば、24.576Mビット/秒である。メインパケット7は、先頭にヘッダがあり、その後に複数のクロック信号と複数のデータが交互に入っている。メインノード1は、パケット伝送周期毎に1つのメインパケット7を形成し、当該メインノード1の全てのポートからサテライトノードに向けて送信する。サテライトパケット8は、サテライトノードが必要に応じて形成して送信するパケットである。サテライトパケット8は、パケット伝送周期毎に必ず入っているとは限らない。
<Packet structure>
FIG. 3 is a diagram for explaining a configuration of packet data flowing on the network system. In FIG. 3, the horizontal axis indicates time, and one
1つのパケットには、複数のクロック信号が入っている。クロック信号は、メインノード1側のサンプリングクロック(第1クロック)に、サテライトノード2a〜2h側のサンプリングクロック(第2クロック)を、同期させるためのクロック信号である。
この実施例では、パケット伝送周期(1ms)を12等分割した83.3μ秒毎にクロック信号が入っている。すなわち、1つのパケットに対して12個のクロック信号が等間隔で埋め込まれている。各83.3μ秒の期間に、クロック信号を含めて2048ビット(256バイト)のデータが伝送される。パケット伝送周期(1ms)を12等分割した83.3μ秒毎の期間のうち、先頭から11個目の期間まではメインパケット7を構成する11個のデータ(DATA1〜DATA11)が入っており、最後の12個目の期間にサテライトパケット8が入る。この明細書では、メインパケット7を伝送する期間(1パケットの先頭から11個目の期間まで)を「メインパケット期間」といい、最後の12個目の期間を「サテライトパケット期間」という。
One packet contains a plurality of clock signals. The clock signal is a clock signal for synchronizing the sampling clock (second clock) on the
In this embodiment, a clock signal is included every 83.3 microseconds obtained by dividing a packet transmission period (1 ms) into 12 equal parts. That is, twelve clock signals are embedded at regular intervals for one packet. In each 83.3 microsecond period, 2048 bits (256 bytes) of data including the clock signal is transmitted. 11 periods (DATA1 to DATA11) constituting the
なお、図3において、「サテライトパケット期間」中のサテライトパケット8は、サテライトパケット期間の開始タイミングを示すクロック信号に対して遅れている(当該パケットは、クロック信号に対して間隔を空けて描かれている)。サテライトパケット8を形成したサテライトノードは、サテライトパケット期間のクロック信号のタイミングで当該サテライトパケット8を出力するが、メインノードまでの経路上の各接続線での伝送遅延と、各ノードでのサテライトパケットの転送に要する時間とにより、上流に行くほど、サテライトパケット8がクロック信号に対して遅れる。図3では、その遅れが表現されている。
また、サテライトパケット期間の末尾(つまりパケット伝送周期の末尾)には、次のメインパケット7のヘッダが入る。すなわち、或るメインパケット7のヘッダは、直前のパケット伝送周期の末尾に入っている。なお、ヘッダ部9はパケットの先頭を示すビットパターンである。
In FIG. 3, the
The header of the next
図4は、1つのメインパケット7を形成する手順の概要を説明する図である。この実施例では、オーディオ信号のビット幅を24ビット、サンプリングレートを96kHzとする。先述した1msのパケット伝送周期は、サンプリングクロックを96分周した時間に相当する。従って、パケット伝送周期毎に形成されるメインパケット7には、96サンプリング周期分の96個のサンプルデータ(「S0」〜「S95」)含まれる。各サンプルデータ(「S0」〜「S95」)は、8チャンネル分のオーディオ信号のサンプルである。
FIG. 4 is a diagram for explaining the outline of the procedure for forming one
図4(a)において、96個のサンプルデータ(「S0」〜「S95」)を、偶数サンプル(「S0」、「S2」…「S94」)のグループと、奇数サンプル(「S1」、「S3」…「S95」)のグループとにグループ分けする。図4(b)では、偶数サンプル(「S0」、「S2」…「S94」)のグループと制御信号(CTR)のセット、及び、奇数サンプル(「S1」、「S3」…「S95」)のグループと制御信号(CTR)のセットを形成するとともに、各セットにエラーチェック情報(EC)を付加する。制御信号(CTR)は、経路制御等に関するサテライトノードに対する命令や、各サテライトノードの信号処理等をメインノード1からリモート制御するための制御データ等を含む。エラーチェック情報(EC)は、パケットを受信したサテライトノード2a〜2h側で、チャンネル毎のオーディオ信号を再生するときに、偶数サンプルグループと、奇数サンプルグループとをそれぞれエラーチェックするための情報である。
In FIG. 4A, 96 pieces of sample data (“S0” to “S95”) are divided into groups of even samples (“S0”, “S2”... “S94”) and odd samples (“S1”, “S94”). S3 "..." S95 "). In FIG. 4B, a group of even samples (“S0”, “S2”... “S94”) and a set of control signals (CTR) and odd samples (“S1”, “S3”... “S95”). And a set of control signals (CTR) are formed, and error check information (EC) is added to each set. The control signal (CTR) includes a command to the satellite node regarding path control and the like, control data for remotely controlling the signal processing of each satellite node from the
このように、1つのメインパケットを構成するデータを、偶数サンプルグループと制御信号のセットにエラーチェック情報を付加したデータと、奇数サンプルグループと制御信号のセットにエラーチェック情報を付加したデータとの2つのグループに分けることで、パケットの伝送エラーによってパケット中のデータの一部が失われた場合であっても、サテライトノードでオーディオ信号を再生するときに、2つのグループのうちの当該伝送エラーの影響を受けなかったグループのデータを用いて、オーディオ信号を再生しうる。 In this way, data constituting one main packet is divided into data obtained by adding error check information to the set of even sample groups and control signals, and data obtained by adding error check information to the set of odd sample groups and control signals. By dividing into two groups, even if a part of the data in the packet is lost due to packet transmission error, when the audio signal is reproduced at the satellite node, the transmission error of the two groups The audio signal can be reproduced using the data of the group not affected by the above.
そして、偶数サンプルグループと制御信号のセットにエラーチェック情報を付加したデータと、奇数サンプルグループと制御信号のセットにエラーチェック情報を付加したデータとからなる1つのメインパケットに等間隔で12個のクロック信号を埋め込む。
すなわち、1つのメインパケットのデータ(偶数サンプルグループと制御信号のセットにエラーチェック情報を付加したデータと奇数サンプルグループと制御信号のセットにエラーチェック情報を付加したデータ)は、11個のデータブロック「Data1」〜「Data11」に均等分割されて(図4(c))、各データブロック「Data1」〜「Data11」は12個のクロック信号に挟み込まれ、且つ、メインパケットの先頭部にヘッダ部9が付加される(図4(d))。これにより、パケット伝送周期(1ms)の期間中に等間隔で12個のクロック信号が埋め込まれたメインパケット7が形成される。なお、メインパケット7のサイズは、約2820〜30バイト程度である。
Then, 12 main data packets each including an even sample group and a control signal set with error check information and an odd sample group and a control signal set with error check information added at equal intervals Embed the clock signal.
That is, data of one main packet (data obtained by adding error check information to a set of even sample groups and control signals and data obtained by adding error check information to a set of odd sample groups and control signals) includes 11 data blocks. Evenly divided into “Data1” to “Data11” (FIG. 4C), each data block “Data1” to “Data11” is sandwiched between 12 clock signals, and the header portion is located at the head of the main packet. 9 is added (FIG. 4D). As a result, a
この実施例のように、所定周期(1ms)毎に伝送されるメインパケット7に対して、複数(12個)のクロック信号を等間隔(83.3μs)に分散して埋め込むことで、サテライトノードでは、1ms毎に送信される1つのパケット中のオーディオ信号の再生に用いるサンプリングクロックを、83.3μs毎の複数のクロック信号に基づいて発生することができる。従って、メインパケット7の伝送周期に同期した粗い分解能でサンプリングクロックを発生するのに比べて、高い安定度で、且つ、メインパケット7を形成したメインノードで用いるサンプリングクロックとのずれの少ないサンプリングクロック(サテライトノード側のサンプリングクロック)を発生することができるようになる。
As in this embodiment, a plurality of (12) clock signals are distributed and embedded at regular intervals (83.3 μs) in the
《ハードウェア構成》
図5は、サテライトノード2a〜2hとメインノード1のハードウェア構成を概念的に説明するブロック図であって、(a)はサテライトノードの構成例であり、(b)はメインノードの構成例である。
<Hardware configuration>
FIG. 5 is a block diagram conceptually illustrating the hardware configuration of the
《サテライトノード》
(a)において、サテライトノードは、4つのポート10a〜10dを具える。4つのポート0a〜10dには、「0」から1ずつ増える数値がポート番号(「ポート0」、「ポート1」、「ポート2」、「ポート3」)として与えられている。4つのポート10a〜10d(「ポート0」〜「ポート3」)のいずれか1つは、メインノード1から送信されたメインパケットを受信するメインポート(Mポート)となる。
第1セレクタ11は、パケット伝送周期(1ms)のメインパケット期間では、4つのポート10a〜10dのうちのMポートを選択して、パケット伝送周期毎に受信したメインパケットを受信及び転送部12に出力し、サテライトパケット期間では、Mポート以外の3つのポート(Sポート)のうちのサテライトパケットを受信した1つのポートを選択して、受信したサテライトパケットを、受信及び転送部12に出力する。また、各ポート10a〜10dからは、当該ポートでパケットデータを受信し始めた旨を伝える受信検出信号(図において点線で示す)が受信及び転送部12に出力されており、受信及び転送部12は、その受信検出信号に基づいて、各サテライトパケット期間ごとに最初にサテライトパケットを受信したポートを選択するよう第1セレクタ11を制御する(先着優先)。
《Satellite Node》
In (a), the satellite node comprises four
The
なお、「Mポート」とは、当該サテライトノードでメインパケットを受信するポート(つまり、パケット伝送経路に沿ってネットワーク構造を階層的に見た場合に、メインノードに向いているポート)である。また、「Sポート」とは、4つのポートのうちMポート以外のポートを指す。 The “M port” is a port that receives a main packet at the satellite node (that is, a port facing the main node when the network structure is viewed hierarchically along the packet transmission path). The “S port” refers to a port other than the M port among the four ports.
受信及び転送部12は、後述する制御データレジスタ18に記憶された制御データに基づき、第1セレクタ11から供給されたメインパケット及びサテライトパケットを受信する制御、受信したパケットから各種データを取り出す制御、及び、受信したパケットを他のノードへ転送する制御を行う。また、当該サテライトノードがサテライトパケットを形成して送信する場合は、そのサテライトパケットの送信タイミングを制御する動作も行う。サテライトノードは、基本的には、受信したメインパケットに含まれる制御信号(CTR)に当該サテライトノードが宛てであるとき、該制御信号に対する応答を含むサテライトパケットを形成してメインノードに対して送信する。各動作の詳細は後述する。
The reception and
第2セレクタ13は、一方の入力に受信及び転送部12から出力された転送すべきメインパケット又はサテライトパケットが入力され、他方の入力にサテライトパケット形成及び送信部20から出力されたサテライトパケットが入力され、基本的には、受信及び転送部12の出力を選択して出力するが、制御部17によりサテライトパケットの送信が設定されているときには、受信及び転送部12から与えられるサテライトパケット期間の先頭を示すクロック信号のタイミングで、サテライトパケット形成及び送信部20の出力を選択する。なお、本システムは複数のサテライトノードが同時にサテライトパケットを形成して送信しないように設計されており、当該サテライトノードからサテライトパケットを送信するときには、経路の下流から転送すべきサテライトパケットは送られてこない。反対に、経路の下流から転送すべきサテライトパケットが送られるときには、当該サテライトノードからサテライトパケットを送信することはない。
The
ゲート14は、4つのポート10a〜10d(「ポート0」〜「ポート3」)のそれぞれの開閉を制御するゲートであって、メインパケット期間ではMポート以外の全てのポートを開き、サテライトパケット期間では、指定されたMポートのみを開く。従って、メインパケットは、当該サテライトノードの経路の下流に接続された全てのサテライトノードに転送され、また、サテライトパケットは指定されたMポートのみに転送(送信)される。
The gate 14 is a gate that controls the opening / closing of each of the four
命令レジスタ15は、受信及び転送部12が、受信したメインパケットから取り出した各種命令データ(制御信号CTR)を書き込むレジスタである。ステート情報レジスタ16は、メインパケット受信確認等の各種ステート情報を書き込むレジスタである。
The
上記の第1セレクタ11、受信及び転送部12、第2セレクタ13、及びゲート14の動作により、ポート10a〜10dを介したパケットデータ(メインパケット及びサテライトパケット)の受信及び転送が制御される。
The operations of the
制御部17は、CPUとメモリを含むマイクロコンピュータであって、詳しくは後述する各種処理を実行して、受信及び転送部12を制御するための制御データを生成したり、命令レジスタ15に書き込まれた各種命令に対する応答データを作成したり、或いは、信号処理部21の信号処理に用いる各種制御パラメータの値を生成したりする。
The control unit 17 is a microcomputer including a CPU and a memory. The control unit 17 executes various processes to be described later in detail, generates control data for controlling the reception and
制御データレジスタ18は、制御部17で生成した受信及び転送部12を制御するための制御データを保持するレジスタである。制御データには、当該サテライトノードのMポートを示すMポート番号データ、8チャンネルのオーディオ信号のうち当該サテライトノードで必要なチャンネル番号を示す受信チャンネル番号データ、4つのポート10a〜10d(「ポート0」〜「ポート3」)の各ポート毎に受信したサテライトパケットの転送を許可するか又は禁止するかを指定する禁止ポートデータが含まれる。
The control data register 18 is a register that holds control data for controlling the reception and
応答レジスタ19は、制御部17がメインノードから送信された命令に対して作成した応答データを書き込むレジスタである。応答データは必ずメインノード宛てであるので、書き込まれる応答データには宛て先を示すデータが付加されない。サテライトパケット形成及び送信部(Sパケット形成及び送信部)20は、制御部17によって応答データが応答レジスタ19に設定されたときに、該応答データに基づいてサテライトパケットを形成し、受信及び転送部12から与えられるサテライトパケット期間の先頭を示すクロック信号のタイミングで、該形成したサテライトパケットを送信する。サテライトパケット形成及び送信部20の出力が前記第2セレクタ13の一方の入力となる。
The
また、受信及び転送部12は、パケット伝送周期ごと(1ms毎)に受信したメインパケットのデータ(「Data1」〜「Data11」)をバッファして、制御データレジスタ18に記憶された受信ch番号データに基づき、該バッファしたデータから当該サテライトノードで必要なチャンネルのオーディオ信号を取り出して、取り出したオーディオ信号を、サンプリング周期毎に信号処理部21に出力する制御(オーディオ信号の再生に関する処理)を行う。このとき、受信及び転送部12は、メインパケット中に等間隔に埋め込まれた複数のクロック信号の受信タイミングを検出してオシレータ22に伝達する。
The reception and
オシレータ(OSC)22は、メインパケット中のクロック信号の受信タイミングに同期して、サンプリング周期を規定する信号であるサンプリングクロック(第2クロック)を発生する。図6は、オシレータの構成例を示す図である。OSC22は、メインパケットのクロック信号の受信タイミングと、フィードバック信号の位相を比較する位相比較器50と、位相比較器50の出力に応じて補正された周波数情報を発生する周波数情報発生部51と、該周波数情報発生部51の出力信号により発振周波数が制御される発振器52と、発振器52の出力と位相比較器50の入力の間に挿入された分周器53とから構成される。すなわち、動作クロック発生器は、PLL(Phase Locked Loop:「位相ロックループ」の略)による周波数逓倍器である。メインパケットのクロック信号の受信タイミングと、フィードバック信号の立ち上がり(又は、立下り)タイミングとを比較して、その比較結果に応じて、受信及び転送部12からのクロック信号と発振器52の出力を8分周した信号の位相が一定の関係を保つように周波数情報を調整して発振器52に出力する。発振器52は、周波数情報に応じて、クロック信号に同期したサンプリングクロック(96kHz)を生成し出力する。メインパケットのクロック信号は、1伝送クロック(1伝送周期=1ms)を12等分したタイミングのクロックであるが、メインノードのサンプリングクロック(96kHz)を8分周した信号にも相当しており、それに対してサテライトノードのサンプリングクロックを8分周して位相同期させることにより、結果的に、サテライトノードで生成されるサンプリングクロックがメインノードにおけるサンプリングクロックに対して同期する。
The oscillator (OSC) 22 generates a sampling clock (second clock) that is a signal that defines a sampling period in synchronization with the reception timing of the clock signal in the main packet. FIG. 6 is a diagram illustrating a configuration example of the oscillator. The
信号処理部21は、フィルタ、コンプレッサ、ディレイ(遅延制御)、或いは、レベル制御(減衰器)等の要素からなり、オシレータ22が出力するサンプリングクロックが示すサンプリング周期毎に、受信及び転送部12から出力されたオーディオ信号のサンプルを信号処理してデジタルアナログ変換器(DAC)23へ出力する。信号処理部21の信号処理に用いるパラメータの値は、制御部17から供給される。DAC23は、オシレータ22が出力するサンプリングクロックが示すサンプリング周期毎に、信号処理部21から出力された複数チャンネル分のオーディオ信号のサンプルをアナログ信号に変換して、サウンドシステム4(図1参照)に出力する。
The
《メインノード》
図5(b)を参照してメインノードの構成を説明する。メインノードは、2つのポート(「ポート0」30a、「ポート1」30b)を具える。メインノードの主な動作は、オーディオソース(図1の符号3)から供給されたオーディオ信号を含むメインパケットを形成してポート30a,30bから送信することである。
《Main node》
The configuration of the main node will be described with reference to FIG. The main node comprises two ports (“
アナログデジタル変換器(ADC)31は、外部のオーディオソース(図1の符号3)から入力された8チャンネルのアナログオーディオ信号を、サンプリングクロック(96kHz)が示すサンプリング周期毎に、デジタル信号に変換して信号処理部32に出力する。信号処理部32は、サンプリング周期(96kHz)毎に、ADC31から供給された8チャンネルのオーディオ信号を、制御部38から供給されたパラメータの値に基づき、チャンネル毎に処理してメインパケット形成及び送信部34に出力する。オシレータ(OSC)33は、図示外のシステムクロックに基づき所定サンプリング周波数(例えば96kHz)のサンプリングクロック(第1クロック)を発生して、ADC31及び信号処理部32に供給する。
なお、この実施例では、オーディオ信号入力インターフェースがアナログ信号を入力するADC31で構成される例を示したが、デジタルオーディオ信号を入力するデジタル信号入力インターフェースでもよい。デジタル信号を入力する構成では、該デジタル信号から抽出した外部サンプリングクロック、又は、該デジタル信号のソースから別途供給される外部サンプリングクロックをOSC33に供給し、OSC33に、該供給された外部サンプリングクロックに同期したサンプリングクロックを発生させるとよい。
The analog-digital converter (ADC) 31 converts an 8-channel analog audio signal input from an external audio source (
In this embodiment, the audio signal input interface is composed of the
メインパケット形成及び送信部34は、メインパケットを送信すべきタイミング(1ms毎のパケット伝送周期)で、信号処理部32から供給された8チャンネルのオーディオ信号と命令レジスタ35から供給された各種命令データ(制御信号CTR)を含むメインパケットを形成して、形成したメインパケットを第1セレクタ36に出力する。また、メインパケット形成及び送信部34は、メインパケットの末尾のクロック信号のタイミングで、サテライトパケット期間の先頭を示す該クロック信号を受信及び転送部42に出力する。また、メインパケット形成及び送信部34は、図示外のシステムクロックに基づき、当該メインパケット形成及び送信部34で形成するメインパケットに埋め込むためのクロック信号を83.3μs毎に発生するとともに、該発生したクロック信号をカウントして、該クロック信号を12個カウントする毎にパケット伝送周期を示すパルス信号を発生することで、1ms毎にパケット伝送周期を繰り返して発生する。ここで、メインパケット形成及び送信部34と前記OSC33のいずれも、同じ図示外のシステムクロックに同期しているので、メインパケット形成及び送信部34により発生したパケット伝送周期は、OSC33により発生したサンプリングクロックを96分周した時間に相当する。すなわち、メインパケット形成及び送信部34は、OSC33により発生したサンプリングクロック(第1クロック)を96分周した時間毎に、パケット伝送周期(第1周期)を繰り返し発生する。
The main packet forming / transmitting
第1セレクタ36は、メインパケット形成及び送信部34の出力と、受信及び転送部42の出力が入力され、当該メインノードがメインノードとして動作しているときには、メインパケット形成及び送信部34の出力を選択してゲート37に出力する。ゲート37は、当該メインノードがメインノードとして動作しているときには、2つのポート30a,30bを開いておく。従って、メインパケット形成及び送信部34が、メインパケットを送信すべきタイミングで、メインパケットを形成して送信すると、該メインパケットが2つのポート30a,30bから送信される。
The
制御部38は、CPUとメモリを含むマイクロコンピュータであって、詳しくは後述する各種処理を実行する。具体的には、操作子43の操作に応じて、信号処理部32の信号処理に用いる各種制御パラメータの値を生成して信号処理部32に供給したり、サテライトノードに対する各種命令(リモート制御するためのパラメータを含む)を生成して、命令レジスタ35に書き込んだり、或いは、受信及び転送部42を制御する制御データを生成して制御データレジスタ39に書き込んだりする。また、メインノードの制御部38は、後述するネットワーク構造を示すデータを記憶するメモリを有する。
The
命令レジスタ35は、制御部38で生成したサテライトノードに対する各種命令データを書き込むレジスタである。書き込まれる命令データには、その命令のあて先を示すID(Identifier)が付加されている。制御データレジスタ39は、制御部38で生成した受信及び転送部42を制御する制御データを書き込むレジスタである。また、応答レジスタ40は、受信及び転送部42で受信したサテライトパケットに含まれる各種応答データを書き込むレジスタである。また、ステート情報レジスタ41は、受信及び転送部42でのパケット受信確認等、各種ステート情報を書き込むレジスタである。
The
操作子43は、当該メインノード自身の動作(信号処理)を制御するパラメータの値を変更したり、サテライトノードの動作(信号処理)をリモート制御するパラメータの値を変更したりすること、或いは、表示部44の画面切り替えを指示すること等に利用する。操作子43が操作されると、その操作又は操作量が検出され、操作された操作子を示すデータと、検出された操作又は操作量を示すデータが制御部38に供給される。表示部44は、制御部38の制御に基づき各種情報を表示するディスプレイである。表示部44には、当該メインノード、又は他のノードの所望のパラメータの設定状態や、当該メインノードが接続されたオーディオネットワークシステムのネットワーク構造を表示することができる。
The
受信及び転送部42は、制御データレジスタに設定された各種制御データに基づき動作し、サテライトノードが送信したサテライトパケットを受信したとき、該サテライトパケットから応答データを取り出して応答レジスタ40に書き込んだり、パケット受信確認等の各種データをステート情報レジスタ41に書き込んだりする。なお、当該メインノードがメインノードとして動作しているときには、パケットの転送は行わない。第2セレクタ45は、受信及び転送部42からの指示に応じて、2つのポート30a,30bに接続され、ポート30a,30bのいずれか一方の出力を選択して、受信及び転送部42に出力するものである。メインノードとして動作しているときには、ポート30a、30bのうちの、各サテライトパケット期間において、最初にサテライトパケットを受信したポートの出力を選択するよう制御される。
The reception and
図2のように複数のメインノードがネットワークシステム上に存在するときは、1つのメインノードだけがメインノード動作して、その他はサテライトノードとして動作する。メインノードがサテライトノードとして動作する場合には、図5(b)に示すメインノードの各部は、(a)に示すサテライトノードの対応する各部と同様に動作する。メインノードがサテライトノードとして動作する場合には、図5(b)において、応答レジスタ40は、受信したメインパケットから取り出した各種命令データを保持する「命令レジスタ」となり、命令レジスタ35は、命令データに対する各種応答データを保持する「応答レジスタ」となる。メインパケット形成及び送信部34は、制御部38による制御の下、「応答レジスタ」(命令レジスタ35)の応答データを含むサテライトパケットを形成して送信する「サテライトパケット形成及び送信部(Sパケット形成&送信部)」となる。そして、第2セレクタ45は、メインパケット期間には、ポート30a及び30bのうちのMポートの出力を選択して、サテライトパケット期間にはSポートの出力を選択する。また、第1セレクタ36は、基本的には受信及び転送部42の出力を選択しており、自身からサテライトパケットを送信すべきときに、受信及び転送部42から与えられるサテライトパケット期間の先頭を示すクロック信号のタイミングで「サテライトパケット形成及び送信部」(メインパケット形成及び送信部34)の出力を選択する。ゲート37は、メインパケット期間ではMポート以外の全てのポートを開き、受信及び転送部12から与えられるサテライトパケット期間では、指定されたポートのみを開く。なお、図5(b)において、受信及び転送部42からメインパケット形成及び送信部34に入力する細矢印と第1セレクタ36に入力する細矢印は、それぞれサテライトノードとして動作しているときのサテライトパケット期間の先頭を示すクロック信号の流れを示している。
When a plurality of main nodes are present on the network system as shown in FIG. 2, only one main node operates as a main node, and the other operates as satellite nodes. When the main node operates as a satellite node, each part of the main node shown in FIG. 5B operates in the same manner as each corresponding part of the satellite node shown in FIG. When the main node operates as a satellite node, in FIG. 5B, the
《動作の説明》
図7は、図1又は図2に示すオーディオネットワークシステムにおいて、パケットデータの伝送を行うための経路制御及びネットワーク構造(トポロジー)の検出処理を説明するための図であって、ネットワークシステムの構成(ノード間の接続状態)の一例を示している。図7において、1つのメインノード(Mノード)60と、4つのサテライトノード(Sノード0〜Sノード3)61〜64とからなるオーディオネットワークシステムを示している。
以下、図7に示すネットワークシステムの構成例を見ながら、各ノードにおいて行われるパケットの送受信動作や、ノード間の経路制御に関する処理、及び、ネットワーク構造(トポロジー)の検出に関する処理について説明する。
<Description of operation>
FIG. 7 is a diagram for explaining the path control for transmitting packet data and the detection process of the network structure (topology) in the audio network system shown in FIG. 1 or FIG. An example of a connection state between nodes) is shown. FIG. 7 shows an audio network system including one main node (M node) 60 and four satellite nodes (
Hereinafter, a packet transmission / reception operation performed at each node, a process related to path control between nodes, and a process related to detection of a network structure (topology) will be described with reference to the configuration example of the network system shown in FIG.
図7(a)は経路選択前の状態であって、ノード間の接続線を点線で描き、これが未確認の接続線であることを示す。この状態では、メインノード60は、自身が接続されたネットワークシステムのネットワーク構造(トポロジー)をまだ知らない。また、各サテライトノード61〜64は、それぞれが有する4つのポート「ポート番号0(P0)」〜「ポート番号3(P3)」のいずれがMポートとなるか決定されていない。
FIG. 7A shows a state before the route is selected, and a connection line between the nodes is drawn with a dotted line to indicate that this is an unconfirmed connection line. In this state, the
図8は、メインノードの制御部38及びサテライトノードの制御部17が行う基本処理を説明するフローチャートである。この処理は、ネットワークシステムの電源が投入されたとき(メインノード及びサテライトノードの電源が投入されたとき)に開始する。ステップS1において、所定の初期化処理が行われて、各種タスクを起動する。そして、操作子の操作検出イベント等、各種イベントの検出を行い(ステップS2)、何らかのイベントが検出される度(ステップS3のYES)、当該発生されたイベントに応じた処理を行う(ステップS4)。
FIG. 8 is a flowchart for explaining basic processing performed by the main
《メインパケットの送信》
メインノードの制御部38において、前記ステップS1の初期化処理により起動する各種タスクには、サテライトノードに向けてメインパケットを送信するタスク等が含まれる。図9は、メインノードのメインパケット形成及び送信部34が実行するメインパケット形成及び送信処理の一例を示すフローチャートである。この処理は、図8のステップS1の初期化処理により起動するタスクに含まれる。また、図10は、メインパケットの形成及び送信処理の動作タイミングを説明する図であって、同図において横軸は時間である。
<Send main packet>
In the main
メインノードのメインパケット形成及び送信部34には、96サンプルのオーディオ信号(サンプルデータ)を8チャンネル分記憶できるバッファが3つ用意されており、3つのバッファのうちの1つは(1)サンプリング周期毎に入力される8チャンネル分のオーディオ信号の書き込み用のバッファとして利用され、別の1つは(2)メインパケット形成用のバッファとして利用され、更に別の1つは(3)メインパケット送信用のバッファとして利用される。各バッファの用途は固定されておらず、状況に応じてこれらの3つの用途内で順次変更される。
The main packet forming and transmitting
外部のオーディオソース(図1の符号3)から供給される8チャンネル分のオーディオ信号は、ADC31で、サンプリング周期毎に、それぞれデジタル信号(サンプル)に変換され取り込まれる。該取り込まれた8チャンネル分のデジタルオーディオ信号は、サンプリング周期毎に、それぞれ信号処理部32で信号処理されて、メインノードのメインパケット形成及び送信部34に入力される。メインパケット形成及び送信部34では、サンプリング周期毎に入力された8チャンネル分のオーディオ信号を、それぞれオーディオ信号書き込み用バッファに96サンプル分書き込む(図10において、タイミングT1からT2までの動作)。この実施例では、各パケット伝送周期(1ms)毎に、各チャンネルのオーディオ信号が96サンプル入力されるよう、パケット伝送周期の時間長が制御されている。
オーディオ信号書き込み用バッファは、偶数サンプルを書き込む領域と、奇数サンプルを書き込む領域とに分かれており、サンプリング周期毎に入力されたオーディオ信号を、オーディオ信号書き込み用バッファに書き込むときに、偶数サンプル(サンプル番号S0,S2…S94)と、奇数サンプル(サンプル番号S1,S3…S95)とが、偶数サンプル領域と奇数サンプル領域とに分けて書き込まれる。
Audio signals for 8 channels supplied from an external audio source (
The audio signal writing buffer is divided into an area for writing even-numbered samples and an area for writing odd-numbered samples. When an audio signal input at every sampling period is written to the audio signal writing buffer, even-numbered samples (samples) are written. Numbers S0, S2,... S94) and odd samples (sample numbers S1, S3,... S95) are written separately into even sample areas and odd sample areas.
図10に示す通り、オーディオ信号書き込み用のバッファに96サンプル分のオーディオ信号が書き込まれた時点(図10においてタイミングT2)で、該オーディオ信号書き込み用のバッファがメインパケット形成用のバッファに転換され、図9に示すメインパケット形成及び送信処理が開始される。同時に、直前のメインパケットの送信に使用されたバッファが、オーディオ信号書き込み用バッファに転換され、これ以降に入力されるオーディオ信号の書き込みは、該転換されたオーディオ信号書き込み用のバッファに対して行われる。
ステップS5において、メインパケット形成及び送信部34は、偶数サンプル(サンプル番号S0,S2…S94)と、奇数サンプル(サンプル番号S1,S3…S95)のそれぞれに、命令レジスタ35に設定された命令等を含む制御信号(CTR)又は該制御信号を2分割した各半分のデータを付加して、偶数サンプルグループと制御信号(CTR)のセット、及び、奇数サンプルグループと制御信号(CTR)のセットを形成して、ステップS6において、各セットにエラーチェック情報(EC)を付加して、パケット伝送周期分のメインパケットのデータを形成する。そして、メインパケット形成及び送信部34は、該メインパケット形成用のバッファを、メインパケット送信用のバッファに転換して、メインパケットの送信タイミングまで待機する(ステップS7)。なお、この時点では、直前のメインパケットの送信がまだ行われている可能性がある。
As shown in FIG. 10, when 96 samples of audio signals are written into the audio signal writing buffer (timing T2 in FIG. 10), the audio signal writing buffer is converted to a main packet forming buffer. The main packet formation and transmission process shown in FIG. 9 is started. At the same time, the buffer used for transmission of the immediately preceding main packet is converted into an audio signal writing buffer, and the audio signal input thereafter is written to the converted audio signal writing buffer. Is called.
In step S5, the main packet formation and
そして、メインパケット形成及び送信部34は、パケット伝送周期(1ms)毎のメインパケットの送信タイミング(図10のタイミングT3)で、前記偶数サンプルグループのセットと奇数サンプルグループのセットとからなる1パケット分のデータに、ヘッダやクロック信号を付加しながら送信する(ステップS8)。図10において、メインパケットが形成された後、送信タイミング(タイミングT3)を待ってから、メインパケットの送信が開始する様子が描かれている。クロック信号は、1パケット分のデータに対して、パケット伝送周期(1ms)を12等分割した83.3μs毎に、等間隔で埋め込まれることは前述の通りである。従って、前記ステップS8では、パケット伝送周期(1ms)の1/12クロックに相当する間隔(83.3μs)でクロック信号を埋め込みつつメインパケットのデータを送信する。図10は、オーディオ信号の入力、メインパケットの形成、送信の各処理の時間関係を、1つのメインパケットに注目して図示したものであり、同じ処理はパケット伝送周期(1ms)毎に繰り返し行われる。つまり、一連のメインパケットの各々が、継続的に入力信号に応じて、パケット伝送周期毎に送信される。
Then, the main packet formation and
《経路制御》
図7(a)は経路選択前の状態では、上記図9の処理により、各パケット伝送周期毎に、メインノード60からサテライトノード61〜64に対してメインパケットが送信されているが、この時点では、各サテライトノード61〜64において、まだ、それぞれが有する4つのポート「ポート番号P0」〜「ポート番号P3」のいずれがMポートとなるか決定されていない。すなわち、メインノード60から各サテライトノード61〜64へメインパケットを伝送する経路が選択されていないので、送信されたメインパケットは、メインノード60に直接接続されているサテライトノード61にしか届いていない。
<Route control>
In FIG. 7A, in the state before the route is selected, the main packet is transmitted from the
そこで、各サテライトノード61〜64の制御部17は、ネットワークシステムの電源投入時(或いは、ネットワークリセット時)に、図11に示すMポート番号設定処理を実行して、各自のMポート(メインパケットを受信するポート)を設定する。Mポート番号設定処理は、前記図8のステップS1の初期化時に開始して、それ以降常時実行される。
Therefore, the control unit 17 of each of the
ステップS9において、チェック対象変数iに0をセットする。そして、ステップS10において、制御部17は制御データレジスタ18のMポート番号データに変数iを設定する。そして、Mポート番号データに設定したポート(変数iに対応するポート)について、所定時間待機(ステップS11)して、パケット伝送周期毎に到着すべきメインパケットの受信状況を確認する(ステップS12)。前記ステップS11の待ち時間は、パケット伝送周期の複数期間分の時間とする。この実施例では、パケット伝送周期が1msであるから、待ち時間は、例えば4ms程度とする。所定時間経過後も当該変数iに対応するポートでメインパケットを受信しなければ(ステップS13のNO)、当該ポートがMポートとしては不適切と判断して、当該変数iに1加算した値を新たな変数iにセットして(ステップS14)、ステップS10以降を繰り返す。変数iの値が1つ増えれば、ステップS9でMポート番号データとして設定するポート番号が1つずつ移動する(但し、i≦4)。変数iが4になった場合(ステップS15のYES)、ステップS9に戻り、再び変数iに0をセットして、ポートP0からメインパケット受信確認を行う。このMポート番号データが順次変更されている状態を、Mポートが未だ決定されていない状態と呼ぶ。 In step S9, 0 is set to the check target variable i. In step S <b> 10, the control unit 17 sets a variable i in the M port number data of the control data register 18. Then, the port set in the M port number data (the port corresponding to the variable i) waits for a predetermined time (step S11), and confirms the reception status of the main packet that should arrive every packet transmission cycle (step S12). . The waiting time in step S11 is set to a time corresponding to a plurality of periods of the packet transmission cycle. In this embodiment, since the packet transmission cycle is 1 ms, the waiting time is, for example, about 4 ms. If the main packet is not received at the port corresponding to the variable i even after the predetermined time has elapsed (NO in step S13), the port is determined to be inappropriate as an M port, and a value obtained by adding 1 to the variable i is set. A new variable i is set (step S14), and step S10 and subsequent steps are repeated. If the value of the variable i increases by 1, the port number set as the M port number data in step S9 is moved one by one (where i ≦ 4). When the variable i becomes 4 (YES in step S15), the process returns to step S9, and the variable i is set to 0 again to confirm reception of the main packet from the port P0. The state in which the M port number data is sequentially changed is referred to as a state in which the M port has not been determined yet.
所定時間内に、当該変数iに対応するポートでメインパケットを受信した場合(ステップS13のYES)、制御部17は、当該変数iに対応するポートがMポートとして適切であると判断する。以後はステップS11〜S13を繰り返すことで、当該Mポート(ポート番号i)でのメインパケット受信状況を監視して、メインパケット受信が確認できている間は、Mポートの設定を継続する。このMポート番号データが1つのポート番号に固定されて変化しない状態を、Mポートが決定された状態と呼ぶ。 If the main packet is received at the port corresponding to the variable i within the predetermined time (YES in step S13), the control unit 17 determines that the port corresponding to the variable i is appropriate as the M port. Thereafter, steps S11 to S13 are repeated to monitor the main packet reception status at the M port (port number i), and the M port setting is continued while the main packet reception is confirmed. A state in which the M port number data is fixed to one port number and does not change is called a state in which the M port is determined.
これにより、チェック対象のポート番号(Mポート番号)を、ポートP0から1つずつ順番に移動して、メインパケットの定期的な受信が最初に確認されたポートを、Mポートとして決定することができる。 As a result, the port number (M port number) to be checked is moved one by one from the port P0 one by one, and the port at which periodic reception of the main packet is first confirmed is determined as the M port. it can.
Mポートでメインパケット受信が確認された後もステップS11〜S13を繰り返して、メインパケット受信状況を監視しているので、当該Mポートでのメインパケットの受信が途絶えた場合(当該Mポートの経路が切断された場合)には、ステップS13をNoに分岐して、Mポート番号を次のポート番号に順次移動して、メインパケットの定期的な受信をチェックし、新たにメインパケットの定期受信が確認されたポートを、新たなMポートとして使用するよう自動的に設定することができる。 Even after the main packet reception is confirmed at the M port, steps S11 to S13 are repeated to monitor the main packet reception status. Therefore, when reception of the main packet at the M port is interrupted (route of the M port) Step S13 is branched to No, the M port number is sequentially moved to the next port number, periodic reception of the main packet is checked, and new periodic reception of the main packet is performed. Can be automatically set to be used as a new M port.
なお、この実施例では、サテライトノード61〜64がそれぞれ4つのポートを有する構成を想定しているので、ステップS11の判断基準の値が「4」であるが、サテライトノードのポート数が4以外のn個の場合は、チェック対象変数iとポート数nとの一致(i=n)をステップS11において判断する。
In this embodiment, since it is assumed that the
ネットワークシステム上の各サテライトノードが図11の処理を行うことで、各自のメインポートを決定していく様子を、図7を参照して説明する。図7(a)に示す初期状態(いずれのサテライトノードもMポート未決定の状態)で、メインノード60がパケット伝送周期毎のメインパケットの送信を開始して、各サテライトノード61〜64が図9のMポート番号設定処理を実行すると、先ず、メインノード60のポートP0に接続されたサテライトノード61(Sノード0)のポートP0がメインパケットを受信する。従って、サテライトノード61はポートP0をMポートに決定する。
A state in which each satellite node on the network system determines its own main port by performing the processing of FIG. 11 will be described with reference to FIG. In the initial state shown in FIG. 7A (the state in which any satellite node has not yet determined the M port), the
Mポートが決定されたサテライトノード61は、パケット伝送周期毎に、このMポート(ポートP0)で受信するメインパケットを、Mポート以外の各Sポートからその接続先のノードへ転送する(図5(a)の受信及び転送部12の動作)。従って、サテライトノード62(Sノード1)と63(Sノード2)には、サテライトノード61がパケット伝送周期毎に転送したメインパケットが、同時に届き始める。そして、サテライトノード62では、Mポート番号設定処理によりポートP1がMポートに決定され、サテライトノード63では、Mポート番号設定処理によりポートP1がMポートに決定される。サテライトノード62と63におけるMポート番号設定処理は互いに独立したタイミングで行われているので、この2つのノードにおけるMポートの決定は同時とは限らない。
Mポートが決定されたサテライトノード62、63は、それぞれ、決定されたMポートでパケット伝送周期毎に受信するメインパケットを各Sポートから転送するので、サテライトノード64(Sノード3)には、サテライトノード62と63の両方から、パケット伝送周期毎にメインパケットが届くようになる。サテライトノード64では、Mポート番号設定処理により1つのポートがMポートに決定されるが、この場合、ポートP0とポートP2の何れがMポートに決定されるかは、各ポートにメインパケットが届き始めるタイミングと、ポートを順番にチェックしていくタイミングとの関係により偶然に決まる。
このように、各サテライトノードにおける自立的なMポート設定処理により、基本的には、(メインパケットが早く届き始めるであろう)経路の上流から順に、各サテライトノードのMポートが自動的に決定される。各サテライトノードのどのポートがMポートとして決定されるかは、そのサテライトノードにおける各ポートのチェックタイミングと、他のノードから各ポートへメインパケットが届き始めるタイミングとによって偶然的に決定され、必ずしもメインノードから最短距離にあるポートに決定されるのではない(最短の経路が選択されるとは限らない)ことに留意されたい。
The
The
In this way, by the independent M port setting process in each satellite node, basically, the M port of each satellite node is automatically determined in order from the upstream of the route (the main packet will start to arrive early). Is done. Which port of each satellite node is determined as the M port is determined by chance according to the check timing of each port in the satellite node and the timing at which the main packet starts to reach each port from other nodes. Note that the port that is the shortest distance from the node is not determined (the shortest path is not always selected).
各サテライトノード61〜64においてMポートが決定されれば、メインノード60からサテライトノード61〜64にメインパケットを伝送する経路が確定したことになる。図7(b)は、その経路が確定した状態であり、各ノードにおいて決定されたMポートを太枠で示し、確定した経路の接続線を太線で示す。メインパケットは、太線で描いた経路を通って、メインノード60から各サテライトノード61〜64に伝送される。但し、この時点(メインノード60が後述する「トポロジー検出」を行っていない時点)では、メインノード60は、この選択された経路を認識又は検出しているわけではない。ただ単に、ネットワークシステム上で、メインパケットが伝送される経路が自動的に決定されただけである。
If the M port is determined in each of the
図7(b)において、例えば、サテライトノード62(Sノード1)では、サテライトノード61のポートP1に接続されたポートP1がMポートに設定されている。この状態で、サテライトノード61のポートP1とサテライトノード62のポートP1との経路に障害が生じた(接続が切れてしまった)場合には、サテライトノード62のポートP1にメインパケットが届かなくなるので、サテライトノード62は、ポートP2から順にメインパケットの受信をチェックして、メインパケットの定期的な受信が確認されたポートを新たなMポートに決定する。すなわち、図7(b)の状態であれば、ポートP2又はポートP3が新たなMポートに設定されることになる。
In FIG. 7B, for example, in the satellite node 62 (S node 1), the port P1 connected to the port P1 of the
このように、本実施例によれば、各サテライトノードで、1つずつポートをチェックして、メインパケットの受信が確認されたポートをMポートに設定するだけの比較的簡単な制御で、経路に障害が発生した場合であっても、自動的に経路を変更して、その障害を回避すること(動的ルーティング)が可能となる。各サテライトノードが行う自動経路変更の処理は、ルーティングテーブルの作成などの複雑な制御を必要としない簡単な処理(Mポート番号設定処理)によって実現することができる。 As described above, according to the present embodiment, each satellite node checks the port one by one, and sets the port confirmed to receive the main packet as the M port. Even if a failure occurs, it is possible to automatically change the route and avoid the failure (dynamic routing). The automatic route change process performed by each satellite node can be realized by a simple process (M port number setting process) that does not require complicated control such as creation of a routing table.
また、前記図2のように、複数のメインノードを有するネットワーク構造(メインノードを多重化した構成)の場合、複数のメインノードのうち1つのみがメインノードとして動作(メイン動作)して、他はサテライトノードとして動作(サテライト動作)する。従って、サテライト動作するメインノードは、Mポート番号設定処理を実行して、Mポート(メインパケットを受信するポート)を設定する。図12は、サテライト動作するメインノードの制御部38が実行するMポート番号設定処理を例示するフローチャートである。このMポート番号設定処理は、前記図8のステップS1の初期化時に開始して、それ以降常時実行される。サテライト動作するメインノードの制御部38が実行するMポート番号設定処理には、当該メインノードの動作を、サテライト動作からメイン動作に切り替える処理が含まれる。なお、図12の処理は、メインノードが2つのポート(P0,P1)を有する構成を想定している。
In the case of a network structure having a plurality of main nodes (a configuration in which main nodes are multiplexed) as shown in FIG. 2, only one of the plurality of main nodes operates as a main node (main operation), Others operate as satellite nodes (satellite operation). Therefore, the main node that performs the satellite operation executes the M port number setting process to set the M port (the port that receives the main packet). FIG. 12 is a flowchart illustrating an M port number setting process executed by the
図12のステップS100において、制御部38は、チッェク対象変数i,jにそれぞれ0をセットする。ここで、変数jは、最後にメインパケットの受信が検出されたポートのポート番号であり、変数iは、メインパケットの受信が検出されなくなってからのチェック回数である。そして、ステップS101において、制御部38は、制御データレジスタ39のMポート番号データとして、mod[(i+j)/2]の値を設定する。mod[(i+j)/2]は、「(i+j)/2」という除算の余りを求める関数である。角括弧内の分母「2」はメインノードの備えるポート数である。ポート数が2以外の数nの場合は、ポート番号はmod[(i+j)/n]で求められる。i、jがそれぞれ0であれば、Mポート番号データ(mod[(i+j)/2]の値)は、「0」となるので、ポート番号の小さい順にチェックを開始することができる。
In step S100 of FIG. 12, the
そして、Mポート番号データに設定したポート番号(mod[(i+j)/2])について、所定時間待機(ステップS102)して、メインパケットの受信状況を確認する(ステップS103)。ここで、ステップS102の待ち時間は、ステップS12の待ち時間と同じであってもよいし、異なっていても良い。所定時間経過後も当該チェック対象のポートでメインパケットを受信しなければ(ステップS104のNO)、mod[(i+j)/2]の値に対応するポートがMポートとしては不適切と判断して、ステップS105において、変数iに1加算した値を新たな変数iにセットして、ステップS101以降を繰り返す。変数iの値が1つ増えれば、ポート番号(mod[(i+j)/2])が、メインノードが有するポートのポート番号(この場合は「0」と「1」)中で1つ移動する。 Then, the port number (mod [(i + j) / 2]) set in the M port number data is waited for a predetermined time (step S102), and the reception status of the main packet is confirmed (step S103). Here, the waiting time in step S102 may be the same as or different from the waiting time in step S12. If the main packet is not received at the check target port even after the predetermined time has elapsed (NO in step S104), it is determined that the port corresponding to the value of mod [(i + j) / 2] is inappropriate as the M port. In step S105, a value obtained by adding 1 to the variable i is set to a new variable i, and the steps after step S101 are repeated. If the value of the variable i increases by 1, the port number (mod [(i + j) / 2]) moves by one in the port numbers of the ports of the main node (in this case, “0” and “1”). .
所定時間内に当該チェック対象のポートでメインパケットを受信した場合(ステップS104のYES)、制御部38は、当該ポート(ポート番号=mod[(i+j)/2])がMポートとして適切であると判断する。ステップS106において、制御部38は、変数jにmod[(i+j)/2](現在のMポート番号)をセットして、変数iに「0」をセットしてから、ステップS102以降を繰り返すことで、当該Mポート(ポート番号=mod[(i+j)/2])でのメインパケット受信状況を監視して、メインパケット受信が確認できている間は、Mポートの設定を継続する。
If the main packet is received at the check target port within a predetermined time (YES in step S104), the
当該Mポートでのメインパケットの受信が途絶えた場合(当該Mポートの経路が切断された場合)には、ステップS104をNoに分岐して、ステップS105において変数iに1加算した値を新たな変数iにセットして、ステップS101以降を行う。前記ステップS105において、変数jにmod[(i+j)/2](現在のMポート番号)をセットして、変数iに「0」をセットしているので、ステップS101で新たに設定されるMポート番号(mod[(i+j)/2])は、直前のMポート番号の次のポート番号となる。すなわち、直前のMポート番号がP0であれば、新たに設定されるMポート番号はP1となり、直前のMポート番号がP1であれば、新たに設定されるMポート番号はP1となる。チェック対象のポートを順番に移動して、最初にメインパケット受信が確認されたポートを、Mポートに設定する。
すなわち、サテライト動作するメインノードで実行されるMポート番号設定処理は、1ポートずつチェック対象を移動してメインパケットの受信を確認し、メインパケットの受信が確認されている間は、継続して当該ポートをMポートに設定し、メインパケットの受信が途絶えた場合に、Mポート番号を次のポート番号に順次移動してメインパケットの定期的な受信をチェックし、新たにメインパケットの定期受信が確認されたポートを、新たなMポートに設定するという点では、図11に示すサテライトノードのMポート番号設定処理と同様である。
When reception of the main packet at the M port is interrupted (when the route of the M port is disconnected), step S104 is branched to No, and the value obtained by adding 1 to the variable i in step S105 is a new value. The variable i is set, and step S101 and subsequent steps are performed. In step S105, mod [(i + j) / 2] (current M port number) is set in the variable j, and “0” is set in the variable i. Therefore, M newly set in step S101. The port number (mod [(i + j) / 2]) is the port number next to the immediately preceding M port number. That is, if the immediately preceding M port number is P0, the newly set M port number is P1, and if the immediately preceding M port number is P1, the newly set M port number is P1. The ports to be checked are moved in order, and the port for which main packet reception is confirmed first is set as the M port.
That is, the M port number setting process executed by the main node that operates the satellite moves the check target one port at a time to confirm reception of the main packet, and continues while the reception of the main packet is confirmed. When the port is set to M port and main packet reception stops, the M port number is sequentially moved to the next port number to check the regular reception of the main packet, and the new periodic reception of the main packet This is the same as the M port number setting process of the satellite node shown in FIG. 11 in that the port for which is confirmed is set as a new M port.
図12の処理では、変数iの値が所定値kになった場合(ステップS107のYES)、ステップS108及びS109により、当該メインノードの動作を、サテライト動作からメイン動作に切り替える処理を行う。この所定値kは、各メインノードにメイン動作を開始させる判断をするための基準として設定された値である。あるメインノードが「Mポートとしては不適切」の判断をk回連続したとき、そのメインノードはメイン動作を開始する。各メインノードは最低でも自身のポートを一通りはチェックすべきであるため、該所定値kは各メインノード自身が有するポート数以上の値に設定される。未だ経路選択が終わっていないとき(図7(a)、電源投入時やネットワークのリセット時)は、各メインノードがほぼ同時にMポート番号設定タスクを開始しても経路選択が問題なく行われるよう、所定値kを各メインノードごとに異なる値とするのがよい。そして、一旦経路選択された後(図7(b))は、所定値kをそのままの値としてもよいし、メインノード間で同じ値となるよう変更してもよい。
処理の開始時(ステップS100)で変数iに0をセットし、また、Mポートが決定した後にも(ステップS105)、変数iに0をセットしているので、変数iの値がkになるのは、2つのポートP0とP1を延べk回チェックした結果、メインパケットの受信が1回も検出されなかった場合、言い換えれば、k回続けてステップS104をNOに分岐した場合のみである。従って、変数iの値がkになった場合には(ステップS107のYES)、当該メインノードの制御部38は、ネットワークシステム上からメイン動作するメインノードがいなくなったものと判断して、サテライト動作の各種タスクを停止して(ステップS108)、メイン動作の各種タスクを起動する(ステップS109)。
これにより、ネットワークシステム上からメイン動作するメインノードがいなくなったとしても、サテライト動作していたメインノード(実質サテライトノード)が自動的にメイン動作するメインノードに切り替わり、メインパケットの送信等のタスクを引き継ぐので、ネットワークシステムの動作を継続することができる。
In the process of FIG. 12, when the value of the variable i reaches the predetermined value k (YES in step S107), a process of switching the operation of the main node from the satellite operation to the main operation is performed in steps S108 and S109. The predetermined value k is a value set as a reference for determining that each main node starts the main operation. When a main node makes a determination of “inappropriate as an M port” k times, the main node starts a main operation. Since each main node should check its own port at least, the predetermined value k is set to a value greater than the number of ports that each main node has. When route selection has not yet been completed (FIG. 7 (a), when power is turned on or when the network is reset), even if each main node starts the M port number setting task almost simultaneously, the route selection can be performed without any problem. The predetermined value k is preferably different for each main node. Then, once the route is selected (FIG. 7B), the predetermined value k may be left as it is or may be changed so as to be the same value between the main nodes.
The variable i is set to 0 at the start of processing (step S100), and even after the M port is determined (step S105), since the variable i is set to 0, the value of the variable i becomes k. As a result of checking the two ports P0 and P1 a total of k times, the reception of the main packet is not detected at least once, in other words, only when step S104 is branched to NO continuously k times. Therefore, when the value of the variable i becomes k (YES in step S107), the
As a result, even if there is no main node for main operation from the network system, the main node (actual satellite node) that has been operating satellites automatically switches to the main node that performs main operations, and tasks such as transmission of main packets are performed. Since it takes over, the operation of the network system can be continued.
《パケットの転送》
次に、Mポートが設定されたサテライトノードにおけるパケット転送の動作と、メインパケット(オーディオ信号)の受信の動作について、説明する。なお、ここではサテライトノードが行う動作として説明しているが、メインノードもサテライト動作を行っている間は同じ動作を行う。
図13は、サテライトノードにおいて、受信検出信号(図5(a)の点線)により、メインパケット又はサテライトパケットの受信開始が通知されたときの受信及び転送部12の動作(ハードウェアの動作)を説明するフローチャートである。図13のステップS16において、受信及び転送部12は、受信し始めたパケットの種類がメインパケット(Mパケット)かサテライトパケット(Sパケット)かを判別する。パケットの受信開始を検出したタイミングがメインパケット期間であり、受信検出信号でMポートでの受信開始が通知されたのであれば、受信及び転送部12は、セレクタ11に該Mポートを選択させ、該Mポートで受信しているメインパケットを受け入れる。ここで、現在のMポートは、制御データレジスタ18に設定されたMポート番号データにより判定される。この場合、ステップS16を「Mパケット」に分岐する。ステップS17では、受信及び転送部12は、Mポート以外の全てのポート(Sポート)についてゲート14を開き、ステップS18において、受信中のメインパケットの先頭からの転送を開始する。これにより、各Sポートから経路の下流へメインパケットが転送される。
<Packet transfer>
Next, the packet transfer operation and the main packet (audio signal) reception operation in the satellite node in which the M port is set will be described. Here, the operation is described as being performed by the satellite node, but the same operation is performed while the main node is also performing the satellite operation.
FIG. 13 shows the operation (hardware operation) of the reception and
また、パケットの受信を検出したタイミングがサテライトパケット期間であり、受信検出信号で何れか1つのSポートでの受信開始が通知されたのであれば、受信及び転送部12は、セレクタ11に該Sポートを選択させ、該Sポートで受信しているサテライトパケットを受け入れる。なお、1つのサテライトパケット期間に複数のSポートでの受信開始が通知されることは、システムの設計上はないはずであるが、何かの事情で複数のSポートでの受信開始が通知された場合は、セレクタ11に、それらのSポートのうちの最初に受信開始が通知されたSポートを選択させ、該Sポートからのサテライトパケットのみを受け入れる。ステップS19では、受信及び転送部12は、制御データレジスタ18の禁止ポートデータに基づき、当該受信開始が通知されたSポートが転送禁止に設定されているかどうか調べる。どのような場合に、ポートが転送禁止に設定されるかについては、後述する。当該Sポートが転送禁止に設定されていなければ(ステップS19のNO)、ステップS20において、受信及び転送部12は、Mポートのゲート14を開く。現在のMポート番号は、制御データレジスタ18に設定されたMポート番号データに基づき決定される。ステップS21において、受信及び転送部12は、受信しているサテライトパケットの先頭からの転送を開始する。これにより、Mポートから経路の上流へメインパケットが転送される。
If the reception timing of the packet is the satellite packet period and the reception start signal is notified of the start of reception at any one of the S ports, the reception and
《メインパケットの受信(オーディオ信号の再生)》
図14は、サテライトノードにおいて、パケット伝送周期(1ms)分のメインパケットの受信が完了したときの受信及び転送部12の動作(ハードウェアの動作)を説明するフローチャートである。また、図15は、パケット伝送周期(1ms)分のメインパケットを受信して、該受信したメインパケット中のオーディオ信号(96サンプル)を再生する処理の動作タイミングを説明する図である。なお、図15において横軸は時間を示す。また、サテライトノードの受信及び転送部12には、96サンプルのオーディオ信号(サンプルデータ)を8チャンネル分記憶できるバッファ(大)が2つと、1チャンネル分記憶できるバッファ(小)が2つ用意されており、前者の2つのバッファ(大)のうち1つは、(1)メインパケットの受信用のバッファとして利用され、別の1つは(2)受信したメインパケットのデータチェック用のバッファとして利用される。また、後者の2つのバッファ(小)のうち1つは、(1)メインパケットから取り出したオーディオ信号(サンプル)の書き込み用のバッファとして利用され、別の1つは(2)取り出したオーディオ信号の再生用のバッファとして利用される。バッファ(大)及びバッファ(小)の用途はそれぞれ固定されておらず、状況に応じて各対応する2つの用途内で順次変更される。
<< Reception of main packet (audio signal playback) >>
FIG. 14 is a flowchart for explaining the operation (hardware operation) of the reception and
図15において、受信及び転送部12は、パケット伝送周期(1ms)毎にMポートからメインパケットの受信を開始し(図15のタイミングT4)、パケット伝送周期(1ms)毎のメインパケットのデータをその先頭からメインパケット受信用のバッファに記憶する。パケット伝送周期(1ms)毎のメインパケットのデータは、図3の「Data1」〜「Data11」であって、96サンプル分の8チャンネルオーディオ信号と制御信号からなる。
パケット伝送周期(1ms)毎のメインパケットのデータには、図3を参照して説明した通り、12個のクロック信号が83.3μs毎に埋め込まれているので、受信及び転送部12は、83.3μs毎に受信する各クロック信号の受信タイミングを検出して、各クロック信号の受信タイミングをオシレータ(OSC)22に伝達する。OSC22が、各クロック信号の受信タイミングに同期してサンプリングクロック(96kHz)を発生することで、メインノードのサンプリングクロックに同期したサンプリングクロックを再生することは、前述のとおりである。
In FIG. 15, the reception and
As described with reference to FIG. 3, 12 clock signals are embedded every 83.3 μs in the data of the main packet for each packet transmission cycle (1 ms). The reception timing of each clock signal received every 3 μs is detected, and the reception timing of each clock signal is transmitted to the oscillator (OSC) 22. As described above, the
パケット伝送周期(1ms)毎のメインパケットの受信が完了した時点(図15のタイミングT5)で、図14の処理を開始する。受信及び転送部12は、受信用のバッファとデータチェック用のバッファとでその役割を入れ替えるとともに、データチェック用となったバッファ中の、受信完了したメインパケットのエラーチェック情報(EC)に基づいて、該メインパケットの前半部分と後半部分のデータのそれぞれのエラーチェック、及び、(可能であれば)エラーが検出された場合のデータの復元を行う。そして、制御データレジスタ18に設定された受信チャンネル番号データの示す1つのチャンネルのオーディオ信号を96サンプル分、該パケットから取り出して、書き込み用のバッファに書き込むとともに、同パケットに含まれる命令(制御信号CTR)を取り出して、命令レジスタ15に書き込む(図14のステップS22)。
1つのメインパケットのデータ(「Data1」〜「Data11」)は、図3を参照して説明した通り、偶数サンプルグループと制御信号とエラーチェック情報のセットと、奇数サンプルグループと制御信号とエラーチェック情報のセットとの2つの部分からなる。メインパケットのデータはヘッダ部から順次受信されるものであるから、偶数サンプルグループのセットと、奇数サンプルグループのセットとは、受信したメインパケットの前半部分と後半部分とに分かれる。すなわち、「メインパケットの前半部分と、後半部分」のエラーチェックとは、偶数サンプルグループのサンプル群を、当該グループに付加されたエラーチェック情報を用いてエラーチェックし、奇数サンプルグループのサンプル群を、当該グループに付加されたエラーチェック情報を用いてエラーチェックすることである。各グループのエラーチェックでは、エラーが検出されたとしても、エラーの生じたデータが少なければ、エラーチェック情報に基づいてそのデータを復元することができる。従って、あるグループでエラーが検出されなかった場合だけでなく、エラーが検出されてもその部分のデータが復元できた場合も、そのグループのデータは利用可能(OK)であり、以下ではこの場合を含めて「エラーなし」と表現する。一方、あるグループでエラーが検出されかつデータの復元が不能な場合は、そのグループのデータが利用することは不能(NG)なので「エラーあり」と表現する。なお、エラーチェック情報に基づくエラーチェックは必須であるが、データ復元の機能は必須ではなくオプションとしてもよい。
The processing of FIG. 14 is started when reception of the main packet for each packet transmission period (1 ms) is completed (timing T5 in FIG. 15). The reception and
As described with reference to FIG. 3, the data of one main packet (“
エラーチェックの結果、メインパケットの前半部分と後半部分(偶数サンプルグループと奇数サンプルグループ)のいずれもエラーがなければ(ステップS23のYES)、ステップS24において、メインパケットの前半部分と後半部分(偶数サンプルグループと奇数サンプルグループ)を、1サンプルずつ交互に並べ直すことで、連続する96サンプルを形成して、再生タイミングまで待機する。 As a result of the error check, if there is no error in both the first half and the second half (even sample group and odd sample group) of the main packet (YES in step S23), in step S24, the first half and the second half (even number) of the main packet. The sample group and the odd sample group) are alternately arranged one sample at a time, thereby forming 96 consecutive samples and waiting until the reproduction timing.
そして、ステップS25において、現在、再生用のバッファから再生中の96サンプル(直前のパケット伝送周期(直前の1ms)のメインパケットのデータから形成したオーディオ信号)に続けて、前記ステップS24で形成され書き込み用バッファに書き込まれた96サンプル(当該パケット伝送周期のメインパケットのデータから形成したオーディオ信号)を、OSC22が発生したサンプリングクロックに同期させて再生する。より具体的には、当該96サンプルを再生すべきタイミング(図15のタイミングT6)で、それまでの書き込み用のバッファが再生用に転換するとともに、それまでの再生用バッファが書き込み用に転換し、新たに再生用となったバッファの当該96サンプルを、OSC22が発生したサンプリングクロックの示すサンプリング周期毎に、1サンプルずつ出力する。
In step S25, following the 96 samples currently being reproduced from the reproduction buffer (the audio signal formed from the data of the main packet in the immediately preceding packet transmission cycle (immediately 1 ms)), the signal is formed in step S24. The 96 samples (audio signal formed from the main packet data of the packet transmission period) written in the write buffer are reproduced in synchronization with the sampling clock generated by the
一方、エラーチェックの結果、メインパケットの前半部分と後半部分(偶数サンプルグループと奇数サンプルグループ)とのいずれか一方にエラーがあった場合(ステップS23のNO,ステップS26のYES)、ステップS27において、エラーがなかったサンプルのグループ(偶数サンプルグループ又は奇数サンプルグループ)の48サンプルを2倍オーバーサンプリングすることにより、片方のグループのサンプル群のみを用いて、連続する96サンプルを形成して書き込み用のバッファに書き込む。そして、再生すべきタイミングT6で、前記ステップS27で形成した連続する96サンプルを再生する(ステップS25)。
これにより、偶数サンプルグループと奇数サンプルグループとのいずれか一方にエラーがあった場合でも、他方のグループを用いてオーディオ信号を再生することができる。この場合、サンプリング周波数が半分に下がりオーディオ信号の品質は多少落ちてしまうが、データの欠落により「無音」となるよりは、遥かに良い。
On the other hand, as a result of the error check, if there is an error in either the first half or the second half (even sample group or odd sample group) of the main packet (NO in step S23, YES in step S26), in step S27 , By oversampling 48 samples of error-free sample groups (even sample groups or odd sample groups) twice, using only one group of samples to form continuous 96 samples for writing Write to the buffer. Then, the continuous 96 samples formed in step S27 are reproduced at timing T6 to be reproduced (step S25).
Thus, even if there is an error in one of the even sample group and the odd sample group, the audio signal can be reproduced using the other group. In this case, the sampling frequency is halved and the quality of the audio signal is somewhat degraded, but it is much better than “silence” due to missing data.
また、エラーチェックの結果、メインパケットの前半部分と後半部分(偶数サンプルグループと奇数サンプルグループ)のいずれにもエラーがあった場合(ステップS23のNO,ステップS26のNO)、ステップS28において、再生用のバッファから再生中のオーディオ信号をフェードアウトし、当該パケット伝送周期で受信したサンプルの代わりに無音の96サンプルを書き込み用のバッファに書き込む(ミュート音)か、又は、再生用のバッファで再生中の96サンプルを、そのまま又は減衰させて書き込み用バッファに書き込む(リピート音)。そして、再生すべきタイミングT6では、ミュート音の96サンプル、又は、リピート音の96サンプルを再生する(ステップS25)。 If there is an error in both the first half and the second half (even sample group and odd sample group) of the main packet as a result of the error check (NO in step S23, NO in step S26), playback is performed in step S28. The audio signal being reproduced is faded out from the buffer for writing, and 96 samples of silence are written in the writing buffer instead of the sample received in the packet transmission cycle (mute sound), or are being reproduced in the buffer for reproduction. 96 samples are written as they are or after being attenuated into the writing buffer (repeat sound). Then, at the timing T6 to be reproduced, 96 samples of the mute sound or 96 samples of the repeat sound are reproduced (step S25).
なお、前記図13及び図14のフローチャートは、それぞれ、1回のパケット伝送周期でメインパケットの受信開始を検出したときの動作、及び、メインパケットの受信が完了したときの動作を説明するためのものであるから、一巡して処理を終了するように描いている。実際には、パケット伝送周期(1ms)毎にメインパケットの受信を検出し、パケット伝送周期(1ms)毎にメインパケットの受信を完了するのであるから、図13及び図14に示す動作は、それぞれ、パケット伝送周期(1ms)毎に繰り返される。 The flowcharts of FIGS. 13 and 14 are for explaining the operation when the reception start of the main packet is detected in one packet transmission cycle and the operation when the reception of the main packet is completed, respectively. Since it is a thing, it draws so that a process may be complete | finished once. Actually, the reception of the main packet is detected every packet transmission cycle (1 ms), and the reception of the main packet is completed every packet transmission cycle (1 ms). Therefore, the operations shown in FIGS. . Repeated every packet transmission period (1 ms).
以上、図9〜図15を参照して説明したのが、この実施例に係るネットワークシステムにおけるメインパケットの送受信及び転送、並びに、メインパケットの伝送に必要な経路制御(サテライトノードにおけるMポートの設定)直後の動作である。 As described above with reference to FIG. 9 to FIG. 15, transmission / reception and transfer of the main packet in the network system according to this embodiment, and path control necessary for transmission of the main packet (setting of the M port in the satellite node) ) Immediate operation.
《トポロジー検出》
図7(b)に示す経路選択(サテライトノードにおけるMポートの設定)直後の状態では、ただメインパケットを伝送する経路が選択されただけであるから、メインノード60は、定期的に送信するメインパケットによりサテライトノードにオーディオ信号を配信しているが、どのサテライトノードがどの経路につながっているか、そのネットワーク構造(トポロジー)を認識していないので、何れかのサテライトノードを個別に指定してリモート制御することができない。
以下に、メインノード60が実行するネットワーク構造(トポロジー)検出処理と接続確認処理について説明する。メインノード60は、定期的に、ネットワーク構造(トポロジー)検出処理と接続確認処理を行うことで、ネットワーク構造(トポロジー)を示すデータを作成して、ネットワーク構造(トポロジー)を動的に認識することができるようになる。なお、この明細書で「トポロジー」とは、メインノードとサテライトノードをケーブル(接続線)により物理的に接続して構成したネットワークシステムのうちの、メインノードとサテライトノードの全てと、メインパケットを伝送する経路として機能している接続線とを指す。また、ネットワークシステムの接続線のうち、メインパケットの伝送経路として利用されていない接続線を「予備線」と呼ぶ。なお、トポロジーの検出では、サテライト動作をしているメインノードは、サテライトノードと同じ動作を行う。このトポロジー検出の説明では、説明の簡略化のため、サテライト動作しているメインノードを含めてサテライトノードと呼ぶことにする。
<< Topology detection >>
In the state immediately after the route selection (M port setting in the satellite node) shown in FIG. 7B, only the route for transmitting the main packet has been selected. The audio signal is distributed to the satellite node by packet, but the network structure (topology) of which satellite node is connected to which route is not recognized. I can't control it.
The network structure (topology) detection process and connection confirmation process executed by the
図16は、トポロジー検出処理及び接続確認処理の進行状況に応じた、ネットワーク構造データの変遷を説明する図である。同図において、ネットワークとは、図7に示すネットワークシステム(1つのメインノード60と、4つのサテライトノード61〜64とからなるネットワークシステム)に対応している。図16(a)は、経路選択直後(トポロジー検出処理前)の状態である。この状態では、メインノード60は、自身の存在(ID=A)と、自身に2つのポート(P0とP1)があることしか分からず、P0とP1の接続先のトポロジーは未確認(図でトポロジー未確認を記号「*」で示す)である。以下、トポロジー検出処理を通じて、トポロジーが検出される様子を説明する。
FIG. 16 is a diagram for explaining the transition of the network structure data in accordance with the progress of the topology detection process and the connection confirmation process. In the figure, the network corresponds to the network system shown in FIG. 7 (a network system including one
図17は、メインノードの制御部38が実行するトポロジー検出処理の一例を示すフローチャートである。この処理は、メインノードの制御部38が所定タイミング毎に定期的に実行する処理であって、メインノードの主要な動作(メインパケット(オーディオ信号)の送信)とは別に、バックグラウンドで動く。
FIG. 17 is a flowchart illustrating an example of topology detection processing executed by the
ステップS29において、メインノード60は、ノードが有する全Sポートについてサテライトパケットの転送禁止を指示する転送禁止命令を生成してブロードキャストIDを付加し(これで、当該命令は、未知のノードを含む全ノード宛てとなる)、メインパケットに載せて送信する。この転送禁止命令を含むメインパケットを受信した各サテライトノード61〜64は、該メインパケットから転送禁止命令を取り出して命令レジスタ15に設定する。
In step S29, the
図18は、各サテライトノード(61〜64)の制御部17が命令レジスタ15から転送禁止命令を受け取った時に、当該制御部17が実行する処理の一例を示すフローチャートである。各サテライトノード61〜64の制御部17は、その転送禁止命令に付加されたIDと自身のIDを照合して、当該命令が自身に宛てられたものであるかチェックし、自身に宛てられた転送禁止命令であれば(ステップS43のYES)、該転送禁止命令により指定されたポートについてサテライトパケットの転送を禁止する禁止ポートデータを制御データレジスタ18に設定する(ステップS44)。該禁止ポートデータは、指定されなかったポートについて、転送を許可するデータでもある。前記ステップS29で送信される転送禁止命令は、全てのノードをあて先とするブロードキャストIDが付加されており、かつ、全てのSポートについてのサテライトパケットの転送を禁止する命令であるから、各サテライトノード61〜64の制御部17は、各自の全Sポート(Mポート以外の3つのポート)について、サテライトパケットの転送を禁止する禁止ポートデータを制御データレジスタ18に設定する。なお、ここで転送禁止されるのは、サテライトパケットであるから、メインノード60から送信されるメインパケットは引き続き転送可能である。
FIG. 18 is a flowchart illustrating an example of processing executed by the control unit 17 when the control unit 17 of each satellite node (61 to 64) receives a transfer prohibition command from the
図17のステップS30において、メインノード60は、2つのポートP0、P1のそれぞれについて、存在確認命令を含むメインパケットを全てのサテライトノード61〜64に送信して、サテライトノードから存在確認応答を含むサテライトパケットの返信がないか個別に確認する。この存在確認命令は、あるポートに接続されているノードが不明である場合に該接続されているノードを確認するために送信する命令であるので、あて先のノードのIDを特定することはできない。従って、存在確認命令には、いつもブロードキャストIDが付加される。複数のポートを有するメインノード60では、同じ命令データを含むメインパケットがその全てのポートから同時に送信される。ステップS30では、同じ存在確認命令を含むメインパケットをポートP0、P1の両方から同時に送信するので、もし、両方のポートにサテライトノードが接続されていれば、両ポートから存在確認応答を含むサテライトパケットが返信される。そのため、ここでは、メインノード60が、セレクタ45で予めポートP0、P1の何れか一方を選択してから存在確認命令を送り、そのポートからのサテライトパケットを選択的に受信して存在確認応答を個別に確認するようにしている。
In step S30 of FIG. 17, the
全てのサテライトノード61〜64の受信及び転送部12は、メインノード60からブロードキャストされた存在確認命令を受信し、受信した存在確認命令を命令レジスタ15に書き込む。図19は、各サテライトノード(61〜64)の制御部17が命令レジスタ15から存在確認命令を受け取った時に、当該制御部17が実行する処理の一例を示すフローチャートである。各サテライトノード61〜64の制御部17は、ステップS45において、当該サテライトノードの命令レジスタ15に存在確認命令に対する「応答禁止命令」が設定されているかどうか確認する。「応答禁止命令」については後で説明する。現段階ではいずれのサテライトノード61〜64も応答禁止に設定されていない(ステップS45のNO)。各サテライトノード61〜64の制御部17は、当該サテライトノードのID及びポート情報(ポート数と、Mポート番号の情報)を含む存在確認応答データを生成し(ステップS46)、該生成した存在確認応答データに基づくサテライトパケットを形成してMポートから送信するように設定する(ステップS47)。具体的には、制御データレジスタ18のMポート番号に対応するMポートからサテライトパケットを送信する指示と、該生成した存在確認応答を応答レジスタ19に設定する。
The reception and
図20は、サテライトノードの制御部17によりサテライトパケットを送信する指示が応答レジスタ19に設定されたときに、受信及び転送部12が実行するサテライトパケット送信動作を示すフローチャートである。受信及び転送部12は、サテライトパケットを送信すべきタイミング(サテライトパケット期間の先頭を示すクロック信号のタイミング)を待ち(ステップS48)、送信タイミングになったら、応答レジスタ19に設定されたパケット送信ポート(前記ステップS47で設定したMポート)のゲート14を開いて(ステップS49)、サテライトパケット形成及び送信部20に、応答レジスタ19のデータに基づくサテライトパケットを形成させて、該形成されたサテライトパケットを、応答レジスタ19に設定されたパケット送信ポートから送信させる(ステップS50)。これにより、存在確認命令を含むサテライトパケットがMポートから送信される。
FIG. 20 is a flowchart showing a satellite packet transmission operation performed by the reception and
図17に戻ると、この段階(ステップS30の段階)では、存在確認命令を受けた全てのサテライトノード61〜64は、存在確認応答を返信するが、前記ステップS29において、全てのサテライトノード61〜64の全てのSポートにサテライトパケットの転送禁止を設定されているので、メインノード60のポートP0,P1に直接接続されたサテライトノード以外のノードの存在確認応答は、転送されない。従って、図7に示すネットワークシステムの構成例では、メインノード60のポートP0に接続されたサテライトノード61のMポートP0からの返信のみが、メインノード60に到達する。
Returning to FIG. 17, in this stage (stage S30), all
メインノード60は、サテライトノードからの存在確認応答を含むサテライトパケットを受信したら(ステップS31のYES)、そのサテライトパケットから当該サテライトノード61のID(=B)と、当該ノードのポート情報をネットワーク構造データに追加記録する(ステップS32)。
When the
図16(b)は、メインノード60のポートP0をチェックして、サテライトノード61(Sノード0)を発見した時点での、ネットワーク構造データの内容である。この状態では、ネットワーク構造データには、メインノード60のポートP0にサテライトノード61(ID=B)のMポートP0が接続されていること(「MノードA」の「P0」について「接続先ID」と「ポート」欄の内容)が記録されるとともに、該サテライトノード61のID=Bと、ノード61のポート情報(ポート数と、Mポート番号の情報)とが追加記録され、更に、サテライトノード61のP0にメインノード60(ID=A)のP0が接続されていること(図16において「Sノード0」の「P0」について「接続先ID」と「ポート」欄の内容)が書き込まれる。
FIG. 16B shows the contents of the network structure data when the port P0 of the
なお、図16において、Mポート番号の情報は、各ノードの各ポート毎に設定されるマスターポートフラグ「M」により記録される。マスターポートフラグ「M」は、「1」で当該ポートがMポートであることを示し、「0」でそれ以外(Sポート)を示す2値のフラグとする。更に、当該サテライトノード61(ID=B)の3つのSポートについては、接続先ID欄に、「トポロジー未確認」(図において記号「*」)が記録される。また、メインノードのポートP0,P1についてはマスターポートフラグ「M」は値無しになっている。 In FIG. 16, the information on the M port number is recorded by the master port flag “M” set for each port of each node. The master port flag “M” is a binary flag indicating that the port is an M port with “1” and indicating other (S port) with “0”. Further, for the three S ports of the satellite node 61 (ID = B), “topology unconfirmed” (symbol “*” in the figure) is recorded in the connection destination ID column. The master port flag “M” has no value for the ports P0 and P1 of the main node.
また、図7に示すネットワークシステムの構成例では、メインノード60のポートP1にはノードが接続されていないので、メインノード60のポートP1からは存在確認応答が返ってこない。そこで、メインノード60のポートP1のチェック後のネットワーク構造データの内容は、図16(c)のようになる。この時点では、メインノード60は、トポロジーの確認、すなわち、経路が通っている部分の確認しか行わないので、ポートP1にノードが接続されているかどうかは未確認である。よって、図16(c)に示す通り、ネットワーク構造データ中のMノードAのP1の接続先ID欄には、「接続先未確認」(図において記号「**」で示す)が記録される。
In the configuration example of the network system shown in FIG. 7, since no node is connected to the port P1 of the
なお、メインノード60は、いずれのポートからもサテライトノードからの存在確認応答を含むサテライトパケットを受信しなければ(ステップS31のNO)、当該メインノード60へのサテライトノードの接続なしと判定して、トポロジー検出処理を終了する(ステップS33)。
If the
ステップS34において、メインノードの制御部38は、ネットワーク構造データ中のトポロジー未確認のSポートのうち1つを、チェック対象のSポートXSPに選択する。メインノードの各ポートP0,P1チェック後の状態(図16(c)に示す状態)では、サテライトノード61の3つのSポートP1〜P3が全て「トポロジー未確認」であるから、これらのうちの1つがXSPとして選択される。XSPの選択は、ポート番号順に行うものとする。すなわち、まず、サテライトノード61のSポートP1がXSPに選択される。
In step S34, the
ステップS35において、メインノード60は、XSPに選択されたSポートと、メインノードからそのSポートまでのメインパケットの伝送経路(以下、「その経路」と呼ぶ)上の各Sポートとのみについて、サテライトパケットの転送を許可するように、それ以外の全てのSポートについて、サテライトパケットの転送を禁止する転送禁止命令を、各サテライトノード宛てに、順次メインパケットに載せて送信する。「その経路」は、ポートXSPで受信したサテライトパケットが、メインノード60に到達するまでに経由する経路でもある。
In step S35, the
XSP=サテライトノード61のSポートP1とすると、サテライトノード61のSポートP1で受信したサテライトパケットを転送する場合には、当該パケットはサテライトノード61のMポートP0から送出されて直接メインノード60に到達するので、「その経路上のSポート」はない。従って、この段階では、ステップS18の命令に応じて、サテライトノード61の制御部17がXSP=サテライトノード61のSポートP1のみについて、制御データレジスタ18の禁止ポートデータをサテライトパケット転送許可に書き換える。従って、サテライトノード61のSポートP1以外の、全てのサテライトノードの全てのSポートはサテライトパケット転送禁止される。
Assuming that XSP = S port P1 of the
また、ステップS36において、メインノード60は、「その経路」上の各サテライトノード宛てに、存在確認命令に対する応答の禁止を指示する応答禁止命令を、順次メインパケットに載せて送信する。「その経路」上の各サテライトノードは、既に存在が確認済みでありIDが判明しているので、そのサテライトノード宛ての命令(そのサテライトノードのIDを付加した命令)を送信することができる。
In
図21は、各サテライトノード(61〜64)の制御部17が命令レジスタ15から応答禁止(又は許可)命令を受け取った時に、当該制御部17が実行する処理の一例を示すフローチャートである。制御部17は、その応答禁止(又は許可)命令に付加されたIDと自身のIDを照合して、当該命令が自身に宛てられたものであるかチェックして、自身に宛てられた応答禁止(又は許可)命令であれば(ステップS51のYES)、存在確認命令に対する応答禁止(又は許可)を制御データレジスタ18に設定する(ステップS52)。
FIG. 21 is a flowchart illustrating an example of processing executed by the control unit 17 when the control unit 17 of each satellite node (61 to 64) receives a response prohibition (or permission) command from the
XSP=サテライトノード61のSポートP1とすると、「その経路上のサテライトノード」は、サテライトノード61自身のみである。従って、サテライトノード61のみが、前記図17のステップS36の処理により、存在確認命令に対する応答(存在確認応答のパケット形成及び送信)ができなくなる。
Assuming that XSP = S port P1 of the
図17のステップS37において、メインノード60は、存在確認命令を含むメインパケットを全てのサテライトノード61〜64に送信して、サテライトノードから存在確認応答を含むサテライトパケットの返信有無を確認する。
応答禁止されているサテライトノード61を除く全てのサテライトノード62〜63は、メインノード60から送信された存在確認命令に対して応答するが、前記ステップS35によりサテライトパケット転送許可が設定されているのはサテライトノード61のSポートP1のみであるから、サテライトノード61がSポートP1で受信したサテライトパケットのみが、サテライトノード61のMポートP0から送出されてメインノード60に到着する。従って、図7に示すネットワークシステムの構成例では、サテライトノード61のSポートP1に接続されたノード、すなわち、サテライトノード62(Sノード1)から送信された存在確認応答のみが、メインノード60に到着する。
In step S37 of FIG. 17, the
All the
メインノード60は、存在確認応答を受信したら(ステップS38のYES)、受信した存在確認応答に基づき、ネットワーク構造データの当該チェック対象ポートXSPについて接続先の情報を記録する(ステップS39)。すなわち、サテライトノード61(Sノード0)のSポートP1について、「接続先ID=C(サテライトノード62)」と「ポート番号=P1」という内容がネットワーク構造データに書き込まれる。また、当該接続先のサテライトノード62が初めて検出された場合には、受信した存在確認応答に基づき、サテライトノード(Sノード1)62のID=Cと、そのポート情報(ポート数とMポート番号の情報)とがネットワーク構造データに追加記録され、且つ、追加記録された「Sノード1」の「P1」について、当該チェック対象ポートXSPに接続されている旨(「接続先ID=B」と「ポート番号=P1」という内容)がネットワーク構造データに書き込まれる。
When the
図16(d)は、サテライトノード61のSポートP1のチェックした直後のネットワーク構造データである。この状態で、メインノード60は、サテライトノード61のSポートP1と、サテライトノード62のMポートP1とが接続されていることを認識し、且つ、サテライトノード62には、P0、P2、P3というトポロジー未確認のSポートがあることを認識した。
FIG. 16D shows network structure data immediately after the S port P1 of the
メインノード60は、ネットワーク構造データ上のトポロジー未確認のSポート(「*」のもの)があれば処理をステップS34に戻し(ステップS41のYES)、以下、同様に処理する。1つのチェック対象ポートXSP毎にチェックを行う。
The
図16(e)は、サテライトノード61のP1のチェック後、同ノード61のSポートP2、P3をチェックした直後のネットワーク構造データの内容を示している。ノード61のSポートP2がXSPに選択されたときには、ステップS35で「ノード61のSポートP2」と、その経路上のSポートのみがサテライトパケット転送許可になり、且つ、ノード61について存在確認命令に対する応答を禁止するので、ノード61のSポートP2にMポートが接続されたサテライトノード63(Sノード2、ID=D)からのみ、存在確認命令がメインノード60に返ってくる。これにより、メインノード60は、サテライトノード61のSポートP2と、サテライトノード63(Sノード2、ID=D)のMポートP1が接続されていることを認識し、且つ、サテライトノード63(Sノード2、ID=D)には、P0、P2、P3というトポロジー未確認のSポートがあることを認識した。
FIG. 16E shows the contents of the network structure data immediately after checking the S ports P2 and P3 of the
また、ノード61のSポートP3がXSPに選択されたときには、ステップS35で「ノード61のP3」と、その経路上のSポートのみがサテライトパケット転送許可になり、且つ、ノード61について存在確認命令に対する応答を禁止するので、メインノード60には存在確認応答は返ってこない(ステップS38のNO)。メインノード60は、トポロジーの確認しかしていないので、ノード61のP3にノードが接続されているかどうかは未確認である。よって、図16(e)に示す通り、ネットワーク構造データ中のノード61(Sノード0)のポートP3の接続先ID欄には、「接続先未確認」(図において記号「**」で示す)が記録される。
When the S port P3 of the
メインノード60は、ステップS34〜ステップS41の処理を、ネットワーク構造データ上のトポロジー未確認のSポート(「*」のもの)がなくなるまで実行し、図7に示すネットワークシステム上の全てのサテライトノード(Sノード0,1,2)61〜64の全てのSポートを、1つずつ順番にチェックする。これにより、メインノード60は、ネットワークシステム上に存在する全てのサテライトノード61〜64と、各ノード間でメインパケット及びサテライトパケットの伝送に使用している接続線(経路)とを検出することができる。メインノード60は、図7(b)の実線で示されるようなトポロジー(ネットワーク構造)を検出することができる(図の点線部は未検出)。
The
図16(f)は、全てのサテライトノード(Sノード0,1,2,3)61〜64の全Sポートをチェックした後のネットワーク構造データの内容を示す。メインノード60は、トポロジー検出処理により作成した全てのサテライトノード(Sノード0,1,2,3)61〜64の全ポートについてネットワーク構造データに基づき、ネットワークシステムの管理や制御を行う。具体的には、検出されたトポロジーを表示部44に表示したり、そのトポロジーに含まれる各サテライトノードの動作状態を監視したり、その各サテライトノードをリモート制御したりすることができるようになる。
FIG. 16F shows the contents of the network structure data after checking all S ports of all satellite nodes (
なお、前記ステップS35における「その経路」の具体例について説明しておくと、例えば、XSP=サテライトノード62(Sノード1)のSポートP0とした場合には、「その経路」上のサテライトノードは、サテライトノード61(Sノード0)であり、「その経路」上のSポートとは、サテライトノード61のSポートP1である。「その経路」は、ネットワーク構造データを参照して、XSPを有するサテライトノードを起点に、そのサテライトノードのMポート→接続線→次のサテライトノードのSポート →そのサテライトノードのMポート→接続線…と、メインノードにたどり着くまで順次上流に辿っていくことで判明する。
A specific example of “the route” in step S35 will be described. For example, when XSP = S port P0 of the satellite node 62 (S node 1), the satellite node on “the route” Is the satellite node 61 (S node 0), and the S port on the “path” is the S port P1 of the
全てのサテライトノード(Sノード0,1,2,3)61〜64の全Sポートのトポロジーチェックをし終わったら(ステップS41のNO)、メインノード60は、ノードが有する全てのSポートについて、受信したサテライトパケットの転送を許可する転送許可命令を生成し、ブロードキャストIDを付加して、メインパケットに載せて送信する(ステップS42)。この命令を受けて、各サテライトノード61〜64の制御部17は、各自の全Sポート(Mポート以外の3つのポート)について、サテライトパケットの転送を許可する禁止ポートデータを制御データレジスタ18に設定する。メインノード60により、各サテライトノード61〜64をリモート制御するには、各サテライトノード61〜64の各Sポートがサテライトパケット転送許可に設定してなければ都合が悪いからである。
When the topology check of all the S ports of all the satellite nodes (
上記のトポロジー検出処理を実行することで、メインノード60は、単純な通信プロトコル(メインノードからの「存在確認命令」とサテライトノードからの「存在確認応答」、及び、サテライトノードに対する「各Sポートのサテライトパケット転送禁止/許可命令」、並びに、「各サテライトノードに対する応答禁止/許可命令」)により、オーディオネットワークシステムのトポロジーを検出することができる。このとき、各サテライトノード61〜64は、非常に単純な処理(「存在確認命令」に対する応答、転送禁止/許可命令に応じたリモート制御、応答禁止命令に応じたリモート制御)をするだけでよく、従来のルーティングテーブル作成時に行っていた隣接するノードを検出する処理等の複雑な処理が全く不要である。
このトポロジー検出処理は、メインノードにおいてオーディオネットワークシステムのトポロジー(ネットワーク構造)をユーザに提示する用途に適している。メインノード60の制御部38は、全てのサテライトノード(Sノード0,1,2)61〜64の全てのSポートについてトポロジー検出を終えたら、ネットワーク構造データに基づいて表示部44に検出したトポロジーの全体像を表示することができる。ここで、表示部44に表示されるトポロジーの全体像は、図7(b)に太線で示すメインパケットが伝送される経路を示すノード間の接続状態である。これにより、ユーザは、オーディオネットワークシステムのトポロジーを表示部44の表示画面で確認することができる。なお、表示画面に表示するトポロジーの表示形態は、ノードを模擬的に示す「ブロック画像」とケーブルを示す「線」とによりトポロジーをグラフィカルに表示する形態であってもよいし、文字情報によってトポロジーを提示してもよい。
By executing the above-described topology detection processing, the
This topology detection process is suitable for the purpose of presenting the topology (network structure) of the audio network system to the user at the main node. When the
なお、表示部44にトポロジーを表示するのは、全てのサテライトノード(Sノード0,1,2)61〜64の全Sポートをチェックした後(ネットワーク全体のトポロジーを検出した後)ではなく、各サテライトノードの各Sポートについてトポロジーを検出する毎に表示部44の表示内容を更新して、表示されるトポロジーの範囲が徐々に広がっていくようにしてもよい。
The topology is displayed on the
また、ネットワークシステムの構成が図2のようにメインノードが二重化されている構成(複数のメインノードを有するネットワークシステムの構成)の場合には、いずれか1つのみがメインノードとなり、他のノードはサテライトノードとして動作するのであるから、上記のトポロジー検出処理においては、サテライトノードとして動作するメインノードは、実質的にはサテライトノードとみなされる。つまりサテライトノードとして動作するメインノードの各Sポートは、トポロジー検出のチェック対象ポートXSPに選択される。 Further, in the case where the network system configuration is a configuration in which the main node is duplicated as shown in FIG. 2 (configuration of a network system having a plurality of main nodes), only one of them becomes the main node, and the other nodes Operate as a satellite node, in the topology detection process described above, the main node operating as a satellite node is substantially regarded as a satellite node. That is, each S port of the main node that operates as a satellite node is selected as a topology detection check target port XSP.
《接続確認(予備線検出)》
図17を参照して説明したトポロジー検出処理では、ネットワークシステム上に存在する全てのサテライトノード61〜64と、メインパケット及びサテライトパケットの伝送に使用している接続線(経路)とが検出される。従って、例えば、図7(b)において、サテライトノード62(Sノード1)のSポートP2と、サテライトノード63(Sノード2)のSポートP0との接続線(点線で示す接続線)のように、メインパケット及びサテライトパケットの伝送に使用していない「予備線」については、検出されない。トポロジー検出処理が終わった段階では、ネットワーク構造データには、メインパケット及びサテライトパケットの伝送に使用している経路上のポート以外の全てのSポートについて「接続先未確認」を記録している(図16(f)参照)。
<Confirm connection (spare line detection)>
In the topology detection process described with reference to FIG. 17, all
メインノード60の制御部38は、図17のステップS42の後(トポロジー検出処理の後)、「接続検出処理」を行う。図22は、接続検出処理の一例を示すフローチャートである。ステップS53において、制御部38は、ネットワーク構造データ中に、接続先未確認(「**」)のポートがあるかどう確認する。接続先未確認のポートがあれば(ステップS26のYES)、制御部38は、接続先未確認のポートの1つを接続検出処理のチェック対象ポートYSPとして選択する(ステップS54)。なお、「接続先未確認のポート」には、サテライトノードの複数のSポートのうちの接続先未確認のポートと、メインノードの複数のポートのうちの接続先未確認のポートとが含まれる。
The
ステップS55において、制御部38は、該選択したチェック対象ポートYSPに対する接続確認のための接続確認命令を、当該YSPを有するサテライトノード宛てに送信して、該接続確認命令に対して、他のサテライトノード(当該YSPの接続先)から接続確認応答が有るかどうかを確認する。すなわち、メインノード60は、該YSPを示すポート番号を含む接続確認命令を生成し、該YSPを有するサテライトノードのIDを付加して、メインパケットに載せて送信して、その接続確認命令に対応する応答を受け付ける。なお、該選択したポートYSPがメインノード60のポートである場合には、ステップS55において、サテライトノード宛ての接続確認命令を送信する代わりに、後述する探索信号と同じ探索信号を形成して命令レジスタ35に設定し、メインパケット形成及び送信部34に、探索信号を含むサテライトパケットを形成させ、直後のサテライトパケット期間に該YSPから送信させる。
In step S55, the
図23は、サテライトノードの制御部17が「接続検出処理」に関連して行う処理の手順を説明するフローチャートである。この処理は、メインノード60からのメインパケットから取り出された接続確認命令が命令レジスタ15に書き込まれ、制御部17がその接続確認命令を受け取った時に実行される。ステップS59において、制御部17は、その接続確認命令に付加されたIDと自身のIDとを照合して、当該命令が自身に宛てられたものであるかチェックして、自身に宛てられた接続確認命令であれば(ステップS59のYES)、当該接続確認命令に含まれるポート番号を、探索対象ポート番号変数PNに設定し(ステップS60)、ノードの接続があるかどうか探索する探索信号を形成する(ステップS61)。そして、制御部17は、形成した探索信号を応答レジスタ19に設定するとともに、該探索信号を含むサテライトパケットをポート番号変数PNが示すSポートPNから送信するよう制御データレジスタ18及び応答レジスタ19を設定する。これにより、受信及び転送部12は、前記図20の処理を実行して、サテライトパケットを送信すべきタイミング(サテライトパケット期間の先頭のクロック信号のタイミング)で、探索信号を含むサテライトパケットを形成してSポートPN(=YSP)から送信する(ステップS62)。
FIG. 23 is a flowchart for explaining a procedure of processes performed by the satellite node control unit 17 in connection with the “connection detection process”. This process is executed when the connection confirmation command extracted from the main packet from the
前記YSPに何れかのサテライトノードの何れかのSポートが接続されていれば、該YSPから送信された探索信号を含むサテライトパケットは、その接続先のサテライトノードのそのSポートで受信される。サテライトパケットを受信したサテライトノードの受信及び転送部12は、そのサテライトパケットに探索信号が含まれていた場合、図24の処理を実行し、探索信号を受信したことを示す情報と、受信したSポートのポート番号とを命令レジスタ15に書き込む(ステップS63)。なお、サテライトノードは、「探索信号」を含むサテライトパケットを受信した場合、当該「探索信号」を含むサテライトパケットについては、前記図13の転送処理を行わないものとする。
If any S port of any satellite node is connected to the YSP, a satellite packet including a search signal transmitted from the YSP is received by the S port of the connected satellite node. The reception and
そして、サテライトノードの制御部17が命令レジスタ15から探索信号を受信したことを示す情報とポート番号とを受け取った時、図25のフローチャートに示す処理を行う。すなわち、図25の処理は探索信号を受信したサテライトノードの制御部17が行う処理である。制御部17は、該受け取ったポート番号(該探索信号を受信したポートを示す)を、ポート番号変数PNに設定し(ステップS64)、当該サテライトノードのIDと、該ポート番号変数PNとを含む接続確認応答を形成する(ステップS65)。そして、制御部17は、接続確認応答を含むサテライトパケットを形成してMポートから送信するよう応答レジスタ19に設定する(ステップS66)。これにより、受信及び転送部12は、前記図20の処理を実行して、サテライトパケットを送信すべきタイミングで、接続確認応答を含むサテライトパケットを形成してMポートから送信する。これにより、接続確認応答がメインノード60に返信される。ここで、接続確認命令に対する応答(接続確認応答)を返すのは、YSPの接続先のノードであって、YSPを有するサテライトノードではないことに留意されたい。
When the control unit 17 of the satellite node receives the information indicating that the search signal has been received from the
図22に戻ると、メインノード60の制御部38は、接続確認応答を含むサテライトパケットを受信したら(ステップS56のYES)、ネットワーク構造データに、チェック対象ポートYSPの接続先として、当該接続確認応答を返信したサテライトノードの情報(当該ノードのIDと、ポート番号変数PN)を、記録する(ステップS57)。また、所定時間内に接続確認応答がなかった場合には(ステップS56のNO)、チェック対象ポートYSPにノードが接続されていないものと判断し、ネットワーク構造データに、チェック対象ポートYSPを「接続無し(=Null)」と記録する(ステップS58)。
Returning to FIG. 22, when the
接続検出処理は、接続未確認のポートがある限り、繰り返し行われ、接続未確認のポートがなくなったら終了する(ステップS53のNO)。なお、図22のフローチャートでは、接続未確認のポートがある限り、接続検出処理が連続して繰り返されるように描かれているが、接続検出処理を途中で中断して、他の処理を割り込ませてもよい。 The connection detection process is repeated as long as there are unconfirmed ports, and ends when there are no unconfirmed ports (NO in step S53). In the flowchart of FIG. 22, as long as there is an unconfirmed connection port, the connection detection process is depicted to be repeated continuously. However, the connection detection process is interrupted and other processes are interrupted. Also good.
上記の「接続検出処理」により、図7に示すネットワークシステムにおいて予備線が検出される様子を説明する。メインノード60の接続先未確認のポートP1、サテライトノード61の接続先未確認のSポートP3については、接続確認命令に対する接続確認応答がないので、ネットワーク構造データに、「接続無し(=Null)」が記録される(図16(g)の状態)。
A state in which a spare line is detected in the network system shown in FIG. 7 by the above “connection detection processing” will be described. For the port P1 whose connection destination has not been confirmed for the
サテライトノード62(Sノード1)に関しては、接続先未確認のポートはSポートP2とSポートP3である。SポートP2をチェック対象ポートYSPに選択した場合、メインノード60は、サテライトノード62に対して、ポートP2の接続確認のための接続確認命令を(メインパケットに載せて)送信する。図7(c)において、サテライトノード62(Sノード1)のSポートP2から延びる破線矢印は、この「探索信号」の流れ示す。探索信号を受信したサテライトノード63(Sノード2)は、自身のID(=D)と、探索信号を受信したポート番号(SポートP0)とを含む接続確認応答を(サテライトパケットに載せて)メインノード60に返信する。図7(c)において、実線矢印(「Sノード2」のMポートP1から「Sノード0」のSポートP2に入り、「Sノード0」のMポートP0から「Mノード」のポートP0に入る矢印)は接続確認応答の流れを示す。メインノード60は、接続確認応答により、当該YSP=Sノード1のSポートP2の接続先を検出する。ネットワーク構造データには、Sノード1のSポートP2について、「接続先ID=D」と、その「ポート番号=P0」が記録され、また、Sノード2(ID=D)のSポートP0について、「接続先ID=C」と、その「ポート番号=P2」が記録される。
Regarding the satellite node 62 (S node 1), the ports whose connection destinations have not been confirmed are the S port P2 and the S port P3. When the S port P2 is selected as the check target port YSP, the
図7(d)は、サテライトノード62(Sノード1)のSポートP2と、サテライトノード63(Sノード2)のSポートP0の接続線(予備線)が検出された状態であって、検出された予備線を実線(「経路」を示す太線よりも細い実線)で示している。この状態で、サテライトノード62(Sノード1)に関して、接続先未確認のポートは、SポートP3のみである。メインノード60が、サテライトノード62に対して、ポートP3の接続確認のための接続確認命令を送信すると、サテライトノード62は、接続確認命令に応じた探索信号(サテライトパケット)をSポートP3から送信する(図7(d)において「Sノード1」のP3から延びる破線矢印の流れ)。探索信号を受信したサテライトノード63(Sノード2)は、自身のID(=D)と、探索信号を受信したポート番号(SポートP2)とを含む接続確認応答をメインノード60に返信する(図7(d)において、「Sノード2」のMポートP1から「Sノード0」のSポートP2に入り、「Sノード0」のMポートP0から「Mノード」のポートP0に入る実線矢印の流れ)。この接続確認応答により、メインノード60は、当該YSP=Sノード1のSポートP3の接続先を検出する。ネットワーク構造データには、Sノード1のSポートP3について、「接続先ID=D」と、その「ポート番号=P2」が記録され、また、Sノード2(ID=D)のSポートP2について、「接続先ID=C」と、その「ポート番号=P3」が記録される。
FIG. 7D shows a state in which the connection line (spare line) between the S port P2 of the satellite node 62 (S node 1) and the S port P0 of the satellite node 63 (S node 2) is detected. The spare line thus made is indicated by a solid line (a solid line thinner than a thick line indicating “route”). In this state, with respect to the satellite node 62 (S node 1), the only unconfirmed connection port is the S port P3. When the
以下、同様に、全ての接続先未確認のポートをチェックして、ネットワークシステム中の全てのノードの全てのポートについて接続検出処理が終わると、ネットワーク構造データには、図16(h)に示す通り、全てのノードの全てのポートについて、その接続先の情報が記録される。こうして、メインノード60は、トポロジーのみならず予備線(冗長部)を含むネットワークシステムの全体構成を検出することができる。
上記の接続(予備線)検出処理によれば、メインノード60は、単純な通信プロトコル(メインノードからの「接続確認命令」とサテライトノードからの「探索信号」と「接続確認応答」)により、各サテライトノード61〜64の予備線を検出することができる。各サテライトノード61〜64は、単純な処理(「接続確認命令」に応じた「探索信号」の送信、「探索信号」に応じた「接続確認応答」の送信)をするだけでよく、従来のルーティングテーブル作成時に行っていた隣接するノードを検出する処理等の複雑な処理が全く不要である。
In the same manner, after checking all the connection destination unconfirmed ports and completing the connection detection processing for all the ports of all the nodes in the network system, the network structure data is as shown in FIG. The information of the connection destination is recorded for all the ports of all the nodes. Thus, the
According to the above-described connection (spare line) detection process, the
全てのポートについて接続検出処理を行うことで、メインノード60の制御部38は、前述したトポロジー検出処理の検出結果に応じたトポロジー(ネットワーク構造)の表示内容に追加して、接続検出処理により検出された予備線を表示部44に表示することができる。これにより、ユーザは、予備線を含むネットワークシステムの全体を表示部44の表示画面で確認することができる。なお、表示画面に表示するネットワークシステムの全体の表示形態は、前述のとおりノードを模擬的に示す「ブロック画像」とケーブルを示す「線」とにより、当該ネットワークシステムをグラフィカルに表示する形態であってもよいし、文字情報によってネットワークシステムを提示してもよい。
なお、制御部38は、全てのポートについて接続検出処理が終わるまで表示部44の表示更新を待つ必要は無く、接続先未確認のポートについて接続が検出される毎に、表示部44の表示を更新して、検出結果を表示部44の表示内容に反映させてよい。
By performing connection detection processing for all ports, the
The
《ユーザによる操作等》
表示部44には、ネットワークシステムの構成を表示する画面だけでなく、例えば、サテライトノード毎に各種パラメータの値の表示など、その他の情報を表示する画面も表示される。表示部44に表示する画面の切り替えは、例えば、ユーザが操作子43に含まれる画面選択用の操作子を操作して指示する。画面選択用の操作子が操作されとき、メインノードの制御部38は、表示部44に表示する画面を、操作子の操作によって選択された新たな画面に変更する制御を行う(図26のステップS67)。これにより、ユーザは、表示部44に表示する画面を所望の画面に切り替えることができる。このとき、操作子43に含まれる値変更用の各操作子には、画面に表示されたパラメータの各1つが割り当てられる。なお、値変更用の操作子を1つとするとともに、表示されたパラメータ上にカーソルを表示して、カーソルが置かれた位置のパラメータをその値変更用の操作子に割り当てるようにしてもよい。
<< User operations >>
The
ユーザは、値変更用の操作子の1つを操作して、その操作子に割り当てられたパラメータの値を調整することで、当該メインノードの動作を制御したり(そのパラメータが当該メインノードのパラメータの場合)、サテライトノードの動作をリモート制御したり(そのパラメータが該サテライトノードのパラメータの場合)することができる。そのため、メインノードは、メインノード自身のパラメータのデータ(パラメータの種類と、そのパラメータの値の可変範囲など)とともに、サテライトノードのパラメータのデータをコピーしたデータ(リモート制御用のパラメータのデータ)も記憶しており、現在の各種パラメータの値を記憶するカレントメモリには、メインノード自身のパラメータの値を記憶する領域と、リモート制御用のパラメータの値を記憶する領域とがある。リモート制御用の領域は固定ではなく、ネットワークシステム内に存在するサテライトノードに応じて変化する。すなわち、トポロジーの検出において、新たなサテライトノードの存在が確認されたときには、そのサテライトノードのパラメータを記憶する領域が追加され、また、それまで存在していたサテライトノードが不在となったときは、そのサテライトノードのパラメータを記憶する領域が削除される。一方、リモート制御を受けるサテライトノードは、自身のパラメータのデータのみを記憶しており、現在の各種パラメータの値を記憶するカレントメモリには、自身のパラメータの値を記憶する領域のみがある。 The user operates one of the value changing operators and adjusts the value of the parameter assigned to the operator, thereby controlling the operation of the main node (the parameter is assigned to the main node). In the case of a parameter), the operation of the satellite node can be remotely controlled (when the parameter is the parameter of the satellite node). Therefore, the main node also has data of the main node itself (parameter type and variable range of the parameter value, etc.), as well as data of the satellite node parameter data (remote control parameter data). The current memory that stores the current values of various parameters includes an area for storing the parameter values of the main node itself and an area for storing the parameter values for remote control. The area for remote control is not fixed, but changes according to the satellite nodes existing in the network system. That is, in the topology detection, when the existence of a new satellite node is confirmed, an area for storing the parameter of the satellite node is added, and when the satellite node that has existed until then is absent, The area for storing the parameters of the satellite node is deleted. On the other hand, the satellite node that receives remote control stores only its own parameter data, and the current memory that stores the current values of various parameters has only an area for storing the values of its own parameters.
また、各ノードのパラメータとは、そのノードの各ブロック(図5参照)を制御するパラメータであって、特に信号処理部21,32については、オーディオ信号の周波数特性を制御するフィルタのパラメータ、オーディオ信号のレベル変化を圧縮又は拡大制御するコンプレッサのパラメータ、オーディオ信号の遅延を制御するディレイのパラメータ、及び、オーディオ信号のレベルを制御する減衰器のパラメータを含む。
また、サテライトノードのパラメータには、当該サテライトノードにおいて、メインパケット中の8チャンネル分のオーディオ信号のうちの、何れのチャンネルの信号を受信するかを示す「受信チャンネル番号」のパラメータを含む。
The parameter of each node is a parameter for controlling each block of the node (see FIG. 5), and particularly for the
Also, the satellite node parameters include a “reception channel number” parameter indicating which channel of the audio signals for 8 channels in the main packet is received by the satellite node.
図27は、メインノードにおいて、値変更用の操作子が操作されたときに、制御部38が実行する処理の示すフローチャートである。ステップS68において、制御部38は、操作子の操作量に応じて、その操作子に割り当てられているパラメータの値を変更する。その操作子に割り当てられているパラメータが、当該メインノードのパラメータであれば(ステップS69のYES)、制御部38は、該パラメータの新たな値に基づいて、当該メインノードの動作を制御する(ステップS70)。
また、その操作子に割り当てられているパラメータが、サテライトノードのパラメータであれば(ステップS69のNO)、このパラメータの値の変更を指示する値変更命令を生成し、このパラメータに対応するサテライトノードのIDを付加して、メインパケットに載せて送信して、その命令に対応する応答を確認する(ステップS71)。すなわち、メインノードの制御部38は、当該パラメータに対応するサテライトノードに、当該パラメータの値を変更する命令を送信して、該サテライトノードの動作をリモート制御する。
FIG. 27 is a flowchart illustrating processing executed by the
If the parameter assigned to the operator is a satellite node parameter (NO in step S69), a value change instruction is generated to instruct a change in the value of this parameter, and the satellite node corresponding to this parameter is generated. Is added and transmitted in the main packet, and the response corresponding to the command is confirmed (step S71). That is, the
前記ステップS71において、メインノード60から送信された値変更命令を含むメインパケットは順次各サテライトノードに到達し、各サテライトノードでは該値変更命令が取り出されて命令レジスタ15に設定される。図28は、各サテライトノードの制御部17が命令レジスタ15から値変更命令を受け取った時に、各サテライトノードの制御部17が実行する処理を示すフローチャートである。ステップS72において、制御部17は、その値変更命令に付加されたIDと自身のIDを照合して、当該命令が自身に宛てられたものであるかチェックする。当該命令が自身に宛てられた値変更命令であれば(ステップS72のYES)、制御部17は、値変更が指示されたパラメータの値を、指示された値に変更し(ステップS73)、該パラメータの新たな値に基づいて、当該サテライトノードの動作を制御する(ステップS74)。そして、制御部17は、前記値の変更の結果と、当該サテライトノードのIDを含む変更応答を生成して(ステップS75)、該生成した変更応答を含むサテライトパケットを形成してMポートから送信するよう応答レジスタ19に設定する(ステップS76)。これにより、受信及び転送部12は、前記図20の処理を実行して、サテライトパケットを送信すべきタイミングで、変更応答を含むサテライトパケットを形成してMポートから送信する。メインノードは、該送信された変更応答を含むサテライトパケットを受信して、当該値変更命令に対する応答を確認する。
In step S71, the main packet including the value change command transmitted from the
このように、ユーザは、メインノードの操作子43を操作して、当該メインノードのパラメータの値を変更することで、当該メインノードから送信する8チャンネルのオーディオ信号の音特性の制御等を行うことができ、また、各サテライトノードのパラメータをリモートで変更することで、そのサテライトノードが受信し出力するオーディオ信号を選択したり、その出力するオーディオ信号の音特性を制御したりすることができる。
In this way, the user controls the sound characteristics of the 8-channel audio signal transmitted from the main node by operating the
以上説明した通り、この実施例によれば、図17のトポロジー検出処理により、オーディオネットワークシステムのトポロジー(ネットワーク構造)を検出することで、メインノード1による「存在確認命令」の送信と、該「存在確認命令」を受けた各サテライトノード2a〜2hによる「存在確認応答」の返信、及び、サテライトノード各サテライトノード2a〜2hのSポートを「転送禁止」するリモート制御、並びに、各サテライトノードメインノードによる「存在確認命令」の送信と、該「存在確認命令」を受けたサテライトノードによる「存在確認応答」の返信、及び、サテライトノードのSポートを「転送禁止」するリモート制御、並びに、各サテライトノードを「応答禁止」するリモート制御等の単純な通信プロトコルを用いて、メインノードはネットワーク上の全てのサテライトノードの接続(トポロジー)を検出することができる。このときに、各サテライトノードは、「存在確認命令」に対する応答(存在確認応答)や、各Sポートの転送禁止のリモート制御を受けることなど単純な処理をするだけでよいため、サテライトノード自身で隣接するノードを検出する処理等の複雑な処理を行う必要はない。従って、各ノードで複雑な処理を行う必要のない簡単な手法でネットワークシステムのトポロジー(ネットワーク構造)を検出できるようになるという優れた効果を奏する。図17に手順を示すトポロジー検出方法は、システムがノードの制御に用いるトポロジーではなく、システムがユーザに提示するためのトポロジー(例えば、画面表示等により提示するトポロジー)の検出に適している。
また、この実施例によれば、図22の接続確認処理により、メインノード1による「接続確認命令」の送信、「接続確認命令」を受けた各サテライトノード2a〜2hによる「探索信号」の送信、探索信号を受けた各サテライトノード2a〜2hによる「接続確認応答」の返信という単純な通信プロトコルにより、メインノード1は各サテライトノード2a〜2hの予備線を検出することができる。このとき、各サテライトノード2a〜2hは、単純な処理(「接続確認命令」に応じた「探索信号」の送信、「探索信号」に応じた「接続確認応答」の送信)をするだけでよく、隣のノードを検出する等の複雑な処理をしなくてよい。従って、各ノードで複雑な処理を行う必要のない簡単な手法でネットワークシステムの予備線を検出することができるようになるという優れた効果を奏する。
As described above, according to this embodiment, the topology detection process of FIG. 17 detects the topology (network structure) of the audio network system, thereby transmitting the “presence confirmation command” by the
Further, according to this embodiment, by the connection confirmation process of FIG. 22, the transmission of “connection confirmation command” by the
なお、上記の実施例では、サテライトノードのポート数を4、メインノードのポート数を2としたが、それぞれのノードのポート数は任意の数であってよい。例えば、サテライトノードのポート数を10に、メインノードのポート数を4にしてもよい。 In the above embodiment, the number of satellite nodes is 4 and the number of main nodes is 2. However, the number of ports of each node may be any number. For example, the number of satellite node ports may be 10, and the number of main node ports may be 4.
また、上記の実施例では、メインパケットに埋め込むクロック信号の数を12個としたが、これに限らずパケット伝送周期のネットワーククロック数(=伝送されるビット数)をnとして、n/mクロック(n、mは整数)に相当する間隔で、等間隔に埋め込まれた適宜の複数個のクロック信号であってよい。すなわち、1つのメインパケットに埋め込む複数のクロック信号は、パケット伝送周期(第1周期)の約数に相当する一定の間隔で埋め込まれた複数のクロック信号であってよい。要するに、クロック信号の数や埋め込み間隔の長さは、上記実施例に限定されず、パケット伝送周期(第1周期)の1周期に対して複数のクロック信号が等間隔で埋め込まれてさえいればよい。また、オーディオ信号のサンプリングクロックは96kHzに、ビット幅は24ビットに、それぞれ限定されない。 In the above embodiment, the number of clock signals embedded in the main packet is twelve. However, the number is not limited to this, and the number of network clocks in the packet transmission period (= number of bits transmitted) is n / m clock. It may be a plurality of appropriate clock signals embedded at equal intervals at intervals corresponding to (n and m are integers). That is, the plurality of clock signals embedded in one main packet may be a plurality of clock signals embedded at a constant interval corresponding to a divisor of the packet transmission period (first period). In short, the number of clock signals and the length of the embedding interval are not limited to those in the above-described embodiment, and as long as a plurality of clock signals are embedded at equal intervals in one cycle of the packet transmission cycle (first cycle). Good. The sampling clock of the audio signal is not limited to 96 kHz, and the bit width is not limited to 24 bits.
また、上記の実施例では、メインパケットのデータを、偶数サンプルグループと奇数サンプルグループとの2つのグループに分けるパケット構成例について説明したが、メインパケットのデータを、2以上の複数グループに分けるパケット構成であってよい。 In the above embodiment, the packet configuration example in which the main packet data is divided into two groups of the even sample group and the odd sample group has been described. However, the packet in which the main packet data is divided into two or more groups is described. It may be a configuration.
また、上記の実施例では、図17〜図21を参照して説明したトポロジー検出処理において、各サテライトノードの各Sポートについて、受信するサテライトパケットの種類に関係なく、転送可又は転送不可に設定するようになっていたが、存在確認応答の含まれるサテライトパケットのみを転送可又は転送不可に設定するように処理を構成してもよい。また、図22〜図25を参照して説明した接続(予備線)検出処理において、サテライトノードは、「探索信号」を含むサテライトパケットを受信した場合、当該サテライトパケットを転送しない(図13の転送処理を行わない)ものと説明したが、「探索信号」を含むサテライトパケットも図13の転送処理でMポートから転送するよう構成してもよい。 In the above-described embodiment, in the topology detection processing described with reference to FIGS. 17 to 21, transfer is enabled or disabled for each S port of each satellite node regardless of the type of satellite packet to be received. However, the processing may be configured so that only the satellite packet including the existence confirmation response is set to be transferable or transfer-disabled. Further, in the connection (spare line) detection process described with reference to FIGS. 22 to 25, when a satellite node receives a satellite packet including a “search signal”, the satellite packet is not transferred (transfer in FIG. 13). However, the satellite packet including the “search signal” may be transferred from the M port in the transfer process of FIG.
なお、任意のノードの1つのポートと別の任意のノードの1つのポートとの間を、ケーブルを用いて接続して構成されるオーディオネットワークシステムでさえあれば、どのような接続形態のオーディオネットワークシステムであっても、本発明を適用することができる。 It should be noted that any connection type audio network is acceptable as long as the audio network system is configured by connecting one port of an arbitrary node and one port of another arbitrary node using a cable. The present invention can be applied even to a system.
また、上述したステップS11及びS102の待ち時間は、それぞれ一例であって、例示した時間長より長くても短くてもよく、また、ユーザの設定やその時の状況に応じて変更しても良い。 The waiting times in steps S11 and S102 described above are examples, and may be longer or shorter than the illustrated time length, and may be changed according to the user settings and the situation at that time.
また、図12のステップS107の所定値kについて、各メインノードに設定する所定値kを異ならせる代わりに、各メインノードの所定値kは同じ値として、電源投入時やネットワークのリセット時に、Mポート番号設定タスク(図12)を開始するタイミングを、各メインノードごとに異ならせるようにしてもよい。 Further, with respect to the predetermined value k in step S107 of FIG. 12, instead of changing the predetermined value k set in each main node, the predetermined value k of each main node is set to the same value, and the power is turned on or the network is reset. You may make it the timing which starts a port number setting task (FIG. 12) differ for each main node.
また、転送禁止命令で設定される禁止ポートデータに基づいて、該命令で指定されたSポートで受信する全てのサテライトパケットの転送を禁止するようになっていたが、そもそも転送禁止はトポロジー検出のために行われているので、該禁止ポートデータは、トポロジー検出で用いられる、存在確認応答を含むサテライトパケットについてのみ働けば充分である。つまり、あるSポートで存在確認応答を含むサテライトパケットを受信した場合は、そのSポートが禁止ポートデータにより転送禁止されていない場合のみ転送を行い、そのSポートでそれ以外の応答データを含むサテライトパケットを受信した場合は、そのSポートが禁止ポートデータで転送禁止されているか否かに関わらず転送を行うようにしてもよい。バックグラウンドでトポロジー検出しながら、サテライトノードのリモート制御を行うような場合には、このようにした方が、メインノードからサテライトノードへの命令を減らすことができて遥かに効率的である。 In addition, based on the prohibited port data set by the transfer prohibition command, the transfer of all satellite packets received at the S port specified by the command is prohibited. Therefore, it is sufficient for the prohibited port data to work only for satellite packets including presence confirmation responses used in topology detection. That is, when a satellite packet including an existence confirmation response is received at a certain S port, the transfer is performed only when the S port is not prohibited from being transferred by the prohibited port data, and the satellite including the other response data at the S port. When a packet is received, transfer may be performed regardless of whether or not the S port is prohibited from being transferred by the prohibited port data. When remote control of the satellite node is performed while detecting the topology in the background, this method is far more efficient because the commands from the main node to the satellite node can be reduced.
1,60 メインノード、2a〜2h,61〜64 サテライトノード、7 メインパケット、8 サテライトパケット、10a〜10d ポート、11 第1セレクタ、12 受信及び転送部、13 第2セレクタ、14 ゲート、15 命令レジスタ、16 ステート情報レジスタ、17 制御部、18 制御データレジスタ、19 応答レジスタ、20 サテライトパケット形成及び送信、21 信号処理部、22 オシレータ、23 DAC、30a,30b ポート、31 ADC、32 信号処理部、33 オシレータ、34 メインパケット形成及び送信部、35 命令レジスタ、36 第1セレクタ、37 ゲート、38 制御部、39 制御データレジスタ、40 応答レジスタ、41 ステート情報レジスタ、42 受信及び転送部、43 操作子、44 表示部、45 第2セレクタ 1, 60 main node, 2a to 2h, 61 to 64 satellite node, 7 main packet, 8 satellite packet, 10a to 10d port, 11 first selector, 12 reception and transfer unit, 13 second selector, 14 gate, 15 command Register, 16 state information register, 17 control unit, 18 control data register, 19 response register, 20 satellite packet formation and transmission, 21 signal processing unit, 22 oscillator, 23 DAC, 30a, 30b port, 31 ADC, 32 signal processing unit , 33 Oscillator, 34 Main packet formation and transmission unit, 35 Instruction register, 36 First selector, 37 Gate, 38 Control unit, 39 Control data register, 40 Response register, 41 State information register, 42 Reception and transfer unit, 43 Sakuzo, 44 Display, 45 Second selector
Claims (4)
前記オーディオネットワークシステムは、少なくとも1つのポートを有するメインノード、それぞれ1つのMポートと複数のSポートとを有する複数のサテライトノード、及び、複数のケーブルを含んで構成され、該複数のケーブルには、前記メインノードの1つのポートと複数のサテライトノードのうちの1つのサテライトノードのMポートとの間を接続するケーブルと、複数のサテライトノードのうちの1つのサテライトノードのMポートと該複数のサテライトノードのうちの別の1つのサテライトノードのSポートとを接続するケーブルとがあり、
前記システムにおいて、
複数のサテライトノードのうちの1つが、そのサテライトノードのMポートを介してメインノードから送信された何らかの命令を受信したときに、当該サテライトノードは、該受信した命令を当該サテライトノードのSポートを介して転送すると共に、該受信した命令のあて先が当該サテライトノードの場合には、該命令に基づく処理を実行すると共に当該サテライトノードのMポートを介して該命令に対する応答を送信し、
また、前記応答を送信したサテライトノード以外のいずれかのサテライトノードが、そのサテライトノードのSポートを介して前記応答を受信したときに、前記応答を受信したサテライトノードは、該受信した応答を当該サテライトノードのMポートを介して転送するものであり、
また、前記システムにおいて、
複数のサテライトノードのうちの1つが、そのサテライトノードのMポートを介して、全てのサテライトノードに対する存在確認命令を受信したときに、当該サテライトノードは、該受信した存在確認命令を当該サテライトノードのSポートを介して転送すると共に、当該サテライトノードが存在確認命令に応答することを禁止されていない場合には、該受信した存在確認命令に対する存在確認応答を当該サテライトノードのMポートを介して送信し、
また、前記存在確認応答を送信したサテライトノード以外のいずれかのサテライトノードが、そのサテライトノードのSポートを介して前記存在確認応答を受信したときに、前記存在確認応答を受信したサテライトノードは、前記Sポートが存在確認応答を転送することを禁止されていない場合には、該受信した存在確認応答をMポートを介して転送するものであって、
前記トポロジーの検出方法は、
全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止する第1ステップと、
メインノードのポートを介して存在確認命令を送信するようメインノードを制御すると共に、該送信した存在確認命令に対してメインノードに返信された存在確認応答に基づいて、前記ポートに接続されたサテライトノードを確認する第2ステップと、
前記確認されたサテライトノードの複数のSポートのうちの1つを指定する第3ステップと、
前記指定されたSポートからメインノードの前記ポートまでの経路上のSポート以外のSポートに存在確認応答を転送することを禁止し、また、前記指定されたSポートからメインノードの前記ポートまでの経路上のサテライトノードには存在確認命令に対して応答することを禁止する第4ステップと、
メインノードのポートを介して存在確認命令を送信するようメインノードを制御すると共に、該送信された存在確認命令に対してメインノードに返信された存在確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第5ステップと、
前記第2及び第5ステップにより確認されたサテライトノードの複数のSポートのうちに未だ指定されていないSポートが残っているならば、全ての前記確認されたサテライトノードの全てのSポートが指定されるまで、該残りのSポートを1つずつ指定して、前記第4及び第5ステップを繰り返す第6ステップと
から構成されることを特徴とするオーディオネットワークシステムにおけるトポロジーの検出方法。 A method for detecting topology in an audio network system, comprising:
The audio network system includes a main node having at least one port, a plurality of satellite nodes each having one M port and a plurality of S ports, and a plurality of cables. A cable connecting between one port of the main node and an M port of one satellite node of the plurality of satellite nodes, an M port of one satellite node of the plurality of satellite nodes, and the plurality of the plurality of satellite nodes There is a cable that connects the S port of another satellite node of the satellite nodes,
In the system,
When one of the plurality of satellite nodes receives any instruction transmitted from the main node via the M port of the satellite node, the satellite node transmits the received instruction to the S port of the satellite node. And when the destination of the received command is the satellite node, execute a process based on the command and send a response to the command via the M port of the satellite node.
In addition, when any satellite node other than the satellite node that transmitted the response receives the response via the S port of the satellite node, the satellite node that has received the response Is transferred via the M port of the satellite node,
In the system,
When one of the plurality of satellite nodes receives the presence confirmation command for all satellite nodes via the M port of the satellite node, the satellite node sends the received presence confirmation command to the satellite node. When the satellite node is not prohibited from responding to the presence confirmation command, the presence confirmation response to the received presence confirmation command is transmitted via the M port of the satellite node. And
In addition, when any satellite node other than the satellite node that has transmitted the presence confirmation response receives the presence confirmation response via the S port of the satellite node, the satellite node that has received the presence confirmation response is: When the S port is not prohibited from transferring the presence confirmation response, the received presence confirmation response is transferred via the M port;
The topology detection method is:
A first step prohibiting the transfer of presence confirmation responses for all S ports of all satellite nodes;
The main node is controlled to transmit the presence confirmation command via the port of the main node, and the satellite connected to the port is based on the presence confirmation response returned to the main node in response to the transmitted presence confirmation command. A second step of confirming the node;
A third step of designating one of a plurality of S ports of the confirmed satellite node;
It is prohibited to transfer a presence confirmation response to an S port other than the S port on the path from the designated S port to the port of the main node, and from the designated S port to the port of the main node. A fourth step for prohibiting the satellite node on the path of the user from responding to the presence confirmation command;
The main node is controlled to transmit the presence confirmation command via the port of the main node, and the designated S port is based on the presence confirmation response returned to the main node in response to the transmitted presence confirmation command. A fifth step of confirming satellite nodes connected to
If S ports that have not yet been specified remain among the plurality of S ports of the satellite nodes confirmed by the second and fifth steps, all S ports of all the confirmed satellite nodes are designated. A method for detecting a topology in an audio network system, comprising: a sixth step that repeats the fourth and fifth steps by designating the remaining S ports one by one until it is done.
前記システムにおいて、
複数のサテライトノードの1つが、そのサテライトノードに対する接続確認命令であって、そのサテライトノードの1つのSポートを示すポート指示子を含む接続確認命令を、そのサテライトノードのMポートを介して受信したときに、当該サテライトノードは、前記ポート指示子により指示されたSポートを介して探索信号を送信し、
前記探索信号を送信したサテライトノード以外のいずれかのサテライトノードが、そのサテライトノードのSポートを介して前記探索信号を受信したときに、前記探索信号を受信したサテライトノードは、当該サテライトノードのノードIDと当該サテライトノードが探索信号を受信したSポートを示すポート指定子とを含む接続確認応答を、当該サテライトノードのMポートを介して送信し、
いずれかのサテライトノードがそのサテライトノードのSポートを介して前記接続確認応答を受信したときに、該接続確認応答を受信したサテライトノードは、当該サテライトノードのMポートを介して、該受信した接続確認応答を転送するものであり、
前記予備線を検出する方法は、
前記確認されたサテライトノードの複数のSポートであって、前記第5ステップにおいてメインノードに存在確認応答の返信がない特定のSポートのうちの1つを指定する第7ステップと、
前記指定されたSポートを持つサテライトノードに対して、前記指定されたSポートを示すポート指示子を含む接続確認命令をメインノードのポートを介して送信するようメインノードを制御すると共に、該送信された接続確認命令に対して該メインノードに返信された接続確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第8ステップと、
前記特定のSポートであって、前記第5ステップにおいてメインノードに存在確認応答の返信がないSポート、又は前記第8ステップにおいて送信された接続確認命令に対応する探索信号の受信がないSポートのうちで未だ指定されていないSポートが残っているならば、該残りのSポートを1つずつ指定して、前記第8ステップを繰り返す第9ステップと
から構成されることを特徴とする予備線を検出する方法。 A method for detecting a protection line connecting two S ports of two satellite nodes in the audio network system after the topology detection method according to claim 1 is executed.
In the system,
One of the plurality of satellite nodes receives a connection confirmation command for the satellite node, and the connection confirmation command including a port indicator indicating one S port of the satellite node is received via the M port of the satellite node. Sometimes, the satellite node transmits a search signal through the S port indicated by the port indicator,
When any satellite node other than the satellite node that has transmitted the search signal receives the search signal via the S port of the satellite node, the satellite node that has received the search signal is the node of the satellite node A connection confirmation response including the ID and a port designator indicating the S port from which the satellite node has received the search signal is transmitted via the M port of the satellite node;
When any satellite node receives the connection confirmation response via the S port of the satellite node, the satellite node that has received the connection confirmation response receives the connection via the M port of the satellite node. An acknowledgment is forwarded,
The method of detecting the spare line is as follows:
A seventh step of designating one of a plurality of S ports of the confirmed satellite node, and a specific S port for which a presence confirmation response is not returned to the main node in the fifth step;
The main node is controlled to transmit a connection confirmation command including a port indicator indicating the designated S port to the satellite node having the designated S port through the port of the main node, and the transmission An eighth step of confirming a satellite node connected to the designated S port based on a connection confirmation response returned to the main node in response to the received connection confirmation command;
The specific S port, which is the S port in which there is no response to the presence confirmation response in the main node in the fifth step, or the S port in which no search signal corresponding to the connection confirmation command transmitted in the eighth step is received. If the S port that has not been specified still remains, the spare port is configured to include the ninth step in which the remaining S ports are specified one by one and the eighth step is repeated. How to detect lines.
少なくとも1つのポートを有するメインノード、それぞれ1つのMポートと複数のSポートとを有する複数のサテライトノード、及び、複数のケーブルを含んで構成され、該複数のケーブルには、前記メインノードの1つのポートと複数のサテライトノードのうちの1つのサテライトノードのMポートとの間を接続するケーブルと、複数のサテライトノードのうちの1つのサテライトノードのMポートと該複数のサテライトノードのうちの別の1つのサテライトノードのSポートとを接続するケーブルとがあり、
前記システムにおいて、
前記複数のサテライトノードの各々は、
Mポートを介して前記メインノードから送信された何らかの命令を受信したときに、当該受信した命令を当該サテライトノードのSポートを介して転送すると共に、該受信した命令のあて先が当該サテライトノードの場合には、該命令に基づく処理を実行すると共に該受信した命令に対して当該サテライトノードがした応答をMポートを介して送信する命令転送及び応答送信手段と、
Sポートを介して、他のサテライトノードの命令転送及び応答送信手段により送信された応答を受信したときに、該受信した他のサテライトノードがした応答を当該サテライトノードのMポートを介して転送する応答転送手段と、
Mポートを介して前記メインノードから転送禁止命令を受信したときに、該転送禁止命令によって指定されたSポートを介して受信した他のサテライトノードがした応答について前記応答転送手段による転送を禁止して、該指定されたSポート以外のSポートについてのみ前記転送を許可する転送禁止手段と、
Mポートを介して前記メインノードから存在確認命令に対する応答を禁止する応答禁止命令を受信したときに、当該サテライトノードが存在確認命令に対してする存在確認応答について前記命令転送及び応答送信手段による応答の送信を禁止する応答禁止手段と
を備え、
前記メインノードは、オーディオネットワークシステムにおけるトポロジーの検出を行うために、
全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止する転送禁止命令を当該メインノードのポートを介して送信して、全てのサテライトノードの全てのSポートについて存在確認応答を転送することを禁止する第1送信手段と、
前記第1送信手段により転送禁止命令を送信した後、存在確認命令を当該メインノードのポートを介して送信し、該送信した存在確認命令に対して当該メインノードに返信された存在確認応答に基づいて当該メインノードの前記ポートに接続されたサテライトノードを確認する第1確認手段と、
前記確認されたサテライトノードが有する複数のSポートのうちの1つを指定する第1指定手段と、
前記Sポート指定手段により指定されたSポートから当該メインノードの前記ポートまでの経路上のSポート以外のSポートについて存在確認応答を転送することを禁止する転送禁止命令を前記ポートを介して送信し、また、該指定されたSポートから当該メインノードの前記ポートまでの経路上のサテライトノードが存在確認命令に対して存在確認応答することを禁止する応答禁止命令を前記ポートを介して送信する第2送信手段と、
前記第2送信手段により転送禁止命令及び応答禁止命令を送信した後、存在確認命令をポートを介して送信して、該送信された存在確認命令に対してメインノードに返信された存在確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第2確認手段と、
前記第1及び第2確認手段により確認されたサテライトノードの複数のSポートのうちに未だ指定されていないSポートが残っているならば、全ての前記確認されたサテライトノードの全てのSポートが指定されるまで、該残りのSポートを1つずつ指定して、前記第2送信手段及び前記第2確認手段により該指定したSポートに接続されたサテライトノードを確認することを繰り返す判定手段と
を備える
ことを特徴とするオーディオネットワークシステム。 Audio network system
A main node having at least one port, a plurality of satellite nodes each having one M port and a plurality of S ports, and a plurality of cables, each of which includes one of the main nodes. A cable connecting between one port and an M port of one satellite node of the plurality of satellite nodes, an M port of one satellite node of the plurality of satellite nodes, and another of the plurality of satellite nodes There is a cable that connects the S port of one satellite node
In the system,
Each of the plurality of satellite nodes is
When any command transmitted from the main node is received via the M port, the received command is transferred via the S port of the satellite node, and the destination of the received command is the satellite node A command transfer and response transmission means for executing processing based on the command and transmitting a response made by the satellite node to the received command via the M port;
When a command transmitted from another satellite node via the S port and a response transmitted by the response transmission means are received, the response received by the other satellite node is transferred through the M port of the satellite node. Response forwarding means;
When the transfer prohibit command is received from the main node via the M port, the response transfer means prohibits the transfer by the other satellite node received via the S port designated by the transfer prohibit command. Transfer prohibiting means for permitting the transfer only for S ports other than the designated S port;
When a response prohibition command for prohibiting a response to the presence check command from the main node is received from the main node via the M port, a response by the command transfer and response transmission means regarding the presence check response that the satellite node responds to the presence check command Response prohibition means for prohibiting transmission of
The main node performs topology detection in an audio network system.
A transfer prohibit command for prohibiting transfer of existence confirmation responses for all S ports of all satellite nodes is transmitted via the port of the main node, and existence confirmation responses for all S ports of all satellite nodes are transmitted. First transmitting means for prohibiting transfer;
After transmitting the transfer prohibition command by the first transmission means, the presence check command is transmitted through the port of the main node, and based on the presence check response returned to the main node in response to the transmitted presence check command First confirmation means for confirming the satellite node connected to the port of the main node,
First designating means for designating one of a plurality of S ports of the confirmed satellite node;
A transfer prohibit command for prohibiting the transfer of the presence confirmation response for S ports other than the S port on the path from the S port specified by the S port specifying means to the port of the main node is transmitted via the port. In addition, a response prohibition command for prohibiting a satellite node on the path from the designated S port to the port of the main node from responding to the presence confirmation command is transmitted via the port. A second transmission means;
After transmitting the transfer prohibition command and the response prohibition command by the second transmission means, the presence confirmation command is transmitted via the port, and the presence confirmation response returned to the main node in response to the transmitted presence confirmation command Based on a second confirmation means for confirming a satellite node connected to the designated S port;
If there are still unspecified S ports among the plurality of S ports of the satellite nodes confirmed by the first and second confirmation means, all the S ports of all the confirmed satellite nodes are Determination means for repeatedly specifying the remaining S ports one by one until the designation is made and confirming the satellite node connected to the designated S port by the second transmission means and the second confirmation means; An audio network system comprising:
前記複数のサテライトノードの各々は、
当該サテライトノードに対する接続確認命令であって、そのサテライトノードの1つのSポートを示すポート指示子を含む接続確認命令を、Mポートを介して受信したときに、前記ポート指示子により指示されたSポートを介して探索信号を送信する探索信号送信手段と、
Sポートを介して、他のサテライトノードの探索信号送信手段により送信された探索信号を受信したときに、当該サテライトノードのノードIDと当該サテライトノードが探索信号を受信したSポートを示すポート指定子とを含む接続確認応答を、Mポートを介して送信する接続確認応答送信手段と、
Sポートを介して、他のサテライトノードの接続確認応答送信手段により送信された接続確認応答を受信したときに、該受信した接続確認応答をMポートを介して転送する接続確認応答転送手段と
を備え、
前記メインノードは、前記トポロジーの検出を行った後に、オーディオネットワークシステムにおける2つのサテライトノードの2つのSポート間を接続する予備線を検出するために、
前記確認されたサテライトノードの複数のSポートであって、前記第2確認手段において存在確認応答の返信がない特定のSポートのうちの1つを指定する第2指定手段と、
前記第2指定手段により指定されたSポートを持つサテライトノードに対して、前記指定されたSポートを示すポート指示子を含む接続確認命令をメインノードのポートを介して送信し、該送信された接続確認命令に対して該メインノードに返信された接続確認応答に基づいて、前記指定されたSポートに接続されたサテライトノードを確認する第3確認手段と、
前記特定のSポートであって、前記第2確認手段においてメインノードに存在確認応答の返信がないSポート、又は前記第3確認手段において送信された接続確認命令に対応する探索信号の受信がないSポートのうちで、未だ指定されていないSポートがまだ残っているならば、該残りのSポートを1つずつ指定して、前記第3確認手段により該指定したSポートに接続されたサテライトノードを確認することを繰り返す第2判定手段と
を備えることを特徴とする。 The audio network system according to claim 3, wherein
Each of the plurality of satellite nodes is
When a connection confirmation command for the satellite node including a port indicator indicating one S port of the satellite node is received via the M port, the S indicated by the port indicator Search signal transmission means for transmitting a search signal via a port;
When a search signal transmitted by the search signal transmission means of another satellite node is received via the S port, the node ID of the satellite node and the port specifier indicating the S port from which the satellite node has received the search signal A connection confirmation response transmitting means for transmitting a connection confirmation response including
A connection confirmation response transfer means for transferring the received connection confirmation response via the M port when the connection confirmation response transmitted by the connection confirmation response transmission means of another satellite node is received via the S port; Prepared,
After the main node detects the topology, the main node detects a backup line connecting the two S ports of the two satellite nodes in the audio network system.
A second designating unit for designating one of a plurality of S ports of the confirmed satellite node and a specific S port for which there is no reply of an existence confirmation response in the second confirmation unit;
A connection confirmation command including a port indicator indicating the designated S port is transmitted to the satellite node having the S port designated by the second designation means via the port of the main node. Third confirmation means for confirming a satellite node connected to the designated S port based on a connection confirmation response returned to the main node in response to a connection confirmation command;
The S port that is the specific S port and the second confirmation unit does not return a presence confirmation response to the main node, or the search signal corresponding to the connection confirmation command transmitted by the third confirmation unit is not received. If S ports that have not yet been designated among the S ports still remain, the remaining S ports are designated one by one, and the satellite connected to the designated S port by the third checking means. And a second determination unit that repeatedly confirms the node.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008308866A JP5298814B2 (en) | 2008-12-03 | 2008-12-03 | Method for detecting topology in audio network system and audio network system |
US12/620,494 US8675649B2 (en) | 2008-11-18 | 2009-11-17 | Audio network system and method of detecting topology in audio signal transmitting system |
US13/423,115 US8804968B2 (en) | 2008-11-18 | 2012-03-16 | Audio network system and method of detecting topology in audio signal transmitting system |
US13/423,122 US8761208B2 (en) | 2008-11-18 | 2012-03-16 | Audio network system and method of detecting topology in audio signal transmitting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008308866A JP5298814B2 (en) | 2008-12-03 | 2008-12-03 | Method for detecting topology in audio network system and audio network system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010136012A true JP2010136012A (en) | 2010-06-17 |
JP5298814B2 JP5298814B2 (en) | 2013-09-25 |
Family
ID=42346865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008308866A Expired - Fee Related JP5298814B2 (en) | 2008-11-18 | 2008-12-03 | Method for detecting topology in audio network system and audio network system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5298814B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05336122A (en) * | 1992-05-29 | 1993-12-17 | Furukawa Electric Co Ltd:The | Method for controlling network |
JPH0851453A (en) * | 1994-08-05 | 1996-02-20 | Hitachi Cable Ltd | Network equipment, method for detecting network equipment and method for recognizing constitution of network |
JPH09212163A (en) * | 1996-02-06 | 1997-08-15 | Yamaha Corp | Network system |
JPH1174889A (en) * | 1997-08-28 | 1999-03-16 | Matsushita Electric Ind Co Ltd | Topology correction system |
-
2008
- 2008-12-03 JP JP2008308866A patent/JP5298814B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05336122A (en) * | 1992-05-29 | 1993-12-17 | Furukawa Electric Co Ltd:The | Method for controlling network |
JPH0851453A (en) * | 1994-08-05 | 1996-02-20 | Hitachi Cable Ltd | Network equipment, method for detecting network equipment and method for recognizing constitution of network |
JPH09212163A (en) * | 1996-02-06 | 1997-08-15 | Yamaha Corp | Network system |
JPH1174889A (en) * | 1997-08-28 | 1999-03-16 | Matsushita Electric Ind Co Ltd | Topology correction system |
Also Published As
Publication number | Publication date |
---|---|
JP5298814B2 (en) | 2013-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8761208B2 (en) | Audio network system and method of detecting topology in audio signal transmitting system | |
JP4187028B2 (en) | Network system and acoustic signal processing apparatus | |
JP5076413B2 (en) | Network system and acoustic signal processing apparatus | |
JP4899568B2 (en) | Network system and acoustic signal processing apparatus | |
US8155059B2 (en) | Wireless communications connection control method | |
JP4297184B2 (en) | Network system | |
JP5298796B2 (en) | Audio network system and method | |
JP4341714B2 (en) | Network system and acoustic signal processing apparatus | |
JP5298814B2 (en) | Method for detecting topology in audio network system and audio network system | |
JP5251466B2 (en) | Audio signal transmission system | |
JP5343537B2 (en) | Audio signal transmission system | |
EP2288056A2 (en) | Audio signal processing system comprising a plurality of devices connected by an audio network | |
JP4735373B2 (en) | Music system control apparatus comprising a plurality of devices connected via a network and an integrated software program for controlling the music system | |
JP5045728B2 (en) | Communication node | |
JP2005236700A (en) | System and method for ip multicast switching control program thereof and recording medium recording this program | |
JP2005101803A (en) | Data transmission system, terminal device, path-selecting method, recording medium and program | |
JP5665164B2 (en) | Acoustic system and apparatus | |
JP5223752B2 (en) | Acoustic system | |
JP2010098475A (en) | Network system and audio signal processor | |
JP5304165B2 (en) | Network system and acoustic signal processing apparatus | |
JP2010051006A (en) | Network system and acoustic signal processing apparatus | |
JP2007193291A (en) | Music system controller composed of a plurality of devices connected via network, and integrated software program for controlling the music system | |
JP5239726B2 (en) | Network system and acoustic signal processing apparatus | |
JP5326720B2 (en) | Acoustic system | |
JP5655889B2 (en) | Route setting method and acoustic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111020 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130212 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130415 |
|
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: 20130521 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130603 |
|
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 |