JP3960110B2 - Communication management function setting device and program - Google Patents
Communication management function setting device and program Download PDFInfo
- Publication number
- JP3960110B2 JP3960110B2 JP2002118104A JP2002118104A JP3960110B2 JP 3960110 B2 JP3960110 B2 JP 3960110B2 JP 2002118104 A JP2002118104 A JP 2002118104A JP 2002118104 A JP2002118104 A JP 2002118104A JP 3960110 B2 JP3960110 B2 JP 3960110B2
- Authority
- JP
- Japan
- Prior art keywords
- master
- data
- network
- transmission
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Electrophonic Musical Instruments (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、通信管理機能設定装置に関し、より詳しくは、ネットワークに接続されている全ての機器の通信を管理するマスタを設定する通信管理機能設定装置に関する。
【0002】
【従来の技術】
ネットワークを介して、オーディオデジタルデータ等を送受信するIEEE1394等の規格がある。このIEEE1394によれば、オーディオデジタルデータ等の転送を高速で行える上に、該ネットワークに接続される機器の設定も高速に行うことが出来る。しかし、IEEE1394等の高速通信の規格は、短距離通信向けのものであり、例えば、IEEE1394で高速通信を行う場合、実質転送可能距離は、10m以下であり、長距離通信を行うことが出来ない。
【0003】
遠距離通信ネットワークを介して、オーディオデジタルデータ等を送受信する規格としては、例えば、CobraNet(登録商標)等の多チャンネル非圧縮オーディオ信号(オーディオデジタルデータ)及び設定情報をイーサネット(登録商標)で送受信する規格がある。この規格では、100m〜数kmの距離で、通信を行うことが出来る。
【0004】
このような遠距離通信ネットワークを介したオーディオデジタルデータ等の送受信を行う装置においては、同一のネットワークに接続される機器の中の1つが、通信の順番を管理するマスタに設定され、その他の機器はスレーブに設定される。この場合、ネットワークに接続されている全機器の優先度が比較され、最も優先度の高いものが、常にマスタとなる。
【0005】
マスタとなった機器は、自機を含めた全機器の送信の順番をネットワークに送信し、他の機器(スレーブ)は、その順番に従い1つずつ送信を行う。1つの機器の送信が終了すると、次の機器への送信開始指示が出され、次の順番を有する機器はその指示を受信して、送信を開始する。このようなことを繰り返すことにより、一度に1機器ずつの送信が順次なされる。
【0006】
上述の遠距離通信ネットワークを介したオーディオデジタルデータ等の送受信を行う装置においては、通常90Mbps程度の通信レートで、データが送受信される。しかし、通信レートの大部分(70〜80%)が、オーディオデジタルデータ等の主要データの通信に使われ、設定情報等は、主要データよりも低い優先度しか有していない。よって、設定情報等は、通信レートのわずかな部分(1%以下)程度しか使用することが出来ず、非常に通信速度が遅いものとなっている。
【0007】
【発明が解決しようとする課題】
ネットワークに他の機器(外部機器)が新たに接続されると、その都度、ネットワークに接続されている全機器の優先度を比較して、最高の優先度を有するものがマスタとなる。そのため、新たな機器が接続されるたびに、マスタを獲得するための処理が必要である。
【0008】
マスタを獲得するための処理は、低い通信レートで行われるので、多大な時間がかかり、新たな機器が接続されるたびにマスタが変更されることは、好ましくない。
【0009】
本発明の目的は、ネットワークに接続されている全ての機器の通信を管理するマスタが頻繁に変更されることを防ぐことが出来る通信管理機能設定装置を提供することである。
【0010】
【課題を解決するための手段】
本発明の一観点によれば、オーディオ伝送ネットワークに接続され、該ネットワークにおけるオーディオ伝送の合間である一部の帯域を利用して制御データを通信する複数の装置により構成されたオーディオ伝送ネットワークにおける通信管理機能設定装置は、前記ネットワークに接続するための通信手段と、前記通信手段の通信準備の完了後に、第1の所定時間を計時する計時手段と、前記第1の所定時間の間に前記ネットワーク上に通信管理を行うマスタがいることを確認するマスタ確認手段と、前記確認手段が、マスタがいることを確認した場合は、自機を前記マスタに管理されるスレーブに設定するスレーブ設定手段と、前記マスタ確認手段が、マスタがいることを確認できなかった場合に機能する、自機が通信管理を行うマスタになることを要求するマスタ獲得要求手段と、前記マスタ獲得要求手段がマスタになることを要求した場合において、さらに、前記通信手段が他の装置からのマスタになることの要求を受信した場合に、前記他の装置との優先度を比較する比較手段と、前記比較手段が自機の優先度が前記他の装置の優先度よりも低いと判断した場合に、前記マスタ獲得要求手段の要求を停止する一方、前記比較手段が自機の優先度が前記他の装置の優先度よりも高いと判断した場合に、前記マスタ獲得要求手段の要求を継続させるマスタ獲得継続手段と、前記マスタ獲得要求手段がマスタになることを要求した場合に、前記要求が第2の所定時間継続したら自機をマスタに設定するマスタ設定手段と、前記マスタ設定手段により自機がマスタに設定された場合に、前記ネットワークは前記制御データの伝送にかかる通信管理を行うために、前記ネットワークに接続された前記複数の装置の送信順序を規定する順番データを作成する順番データ作成手段と、前記マスタに設定された装置が作成した順番データにて規定された自機の送信タイミングにおいて、前記ネットワークに接続された他の装置に対して前記ネットワークの一部の帯域を使用して、前記オーディオ伝送よりも低い通信レートで前記制御データを伝送する制御データ送信手段と、他の装置が前記ネットワークに伝送した前記制御データを該ネットワークから受信して記憶手段に記憶させる制御データ管理手段とを有する。
【0011】
【発明の実施の形態】
図1は、本発明の実施例による通信管理機能設定システム1のネットワーク構成を示すブロック図である。通信管理機能設定システム1は、それぞれが通信管理機能設定装置としての機能を有する発生源コントローラ2とアンプコントローラ3とを遠距離通信ネットワーク6を介して接続することにより構成される。
【0012】
遠距離通信ネットワーク6は、例えば、CobraNet等の多チャンネル非圧縮オーディオ信号(オーディオデジタルデータ)及びネットワーク6に接続された機器の設定情報等をイーサネット(登録商標)等で送受信することの出来る通信ネットワークである。また、遠距離通信ネットワーク6では、オーディオデジタルデータや動画デジタルデータ等のデータサイズの大きい主要データは、高い通信レートで伝送され、その他の、例えば設定情報等は、低い通信レートで伝送される。
【0013】
音楽データ出力装置(発生源)4は、デジタルオーディオデータ又はMIDIでータが出力可能な電子楽器、音源装置、オーディオ機器等の電子音楽装置等で構成される。
【0014】
コンピュータPCは、パーソナルコンピュータ等で構成され、発生源コントローラ2から、後述するアンプ5等の設定状態を表す設定データASを含む状態データ18を受信して、通信管理機能設定システム1上の全機器の設定状態を表示する。ユーザは、表示される設定状態を参照して、その内容を変更することが出来る。変更された設定状態は、変更データとして、発生源コントローラ2に送信される。なお、設定データ及び変更データについては、後に詳述する。
【0015】
また、コンピュータPCは、ネットワーク上の全ての通信管理機能設定装置(発生源コントローラ2及びアンプコントローラ3)に接続可能であり、どの通信管理機能設定装置に接続しても、上述の処理を実行することが出来る。例えば、図1に点線で示すように、アンプコントローラ3に接続したとしても、発生源コントローラ2に接続した場合と同様の処理を行うことが出来る。
【0016】
発生源コントローラ2は、音楽データ出力装置(発生源)4及びコンピュータPC等と接続される。発生源コントローラ2は、音楽データ出力装置(発生源)4から入力されるオーディオデジタルデータ及びMIDIデータを受信する。また、コンピュータPCに状態データ18を送信するとともに、コンピュータPCから変更データを受信する。
【0017】
発生源コントローラ2は、入力されたオーディオデジタルデータ及びMIDIデータ、受信した変更データ、及び状態データ18、後述の獲得データ20、順番データ21、参加データ22、開始データ24等をパケット化してネットワーク6に送信する。
【0018】
また、発生源コントローラ2は、変更データ、状態データ18、獲得データ20、順番データ21、参加データ22、開始データ24等のパケットをネットワーク6から受信して、パケット化を解除する。なお、オーディオデジタルデータ及びMIDIデータを受信した場合もパケット化を解除して、外部に出力することが出来る。
【0019】
アンプコントローラ3は、オーディオデジタルデータ及びMIDIデータ、変更データ、状態データ18、獲得データ20、順番データ21、参加データ22、開始データ24等のパケットをネットワーク6から受信して、パケット化を解除する。パケット化を解除された受信データの内、変更データは、アンプ5に送信される。
【0020】
また、受信したオーディオデジタルデータ及びMIDIデータは、オーディオアナログデータ(アナログ音声信号)に変換された後に、アンプ5に出力される。なお、受信したオーディオデジタルデータ及びMIDIデータは、通常のアンプで再生可能な形式のデジタルデータに変換して、デジタルオーディオ信号としてアンプ5に出力するようにしても良い。
【0021】
また、アンプコントローラ3には、複数のアンプ5が接続可能であり、新たに接続されたアンプ5から設定データASを取得(受信)するとともに、既に接続されているアンプ5の設定に変更がある場合は、変更データを取得(受信)する。
【0022】
さらに、アンプコントローラ3には、変更データ、状態データ18、後述の獲得データ20、順番データ21、参加データ22、開始データ24等をパケット化してネットワーク6に送信する。また、オーディオデジタルデータ及びMIDIデータが外部から入力された場合は、それらもパケット化してネットワーク6に送信することが出来る。
【0023】
アンプ5は、アンプコントローラ3から入力されるオーディオアナログデータを再生するためのアンプである。アンプ5は、自機の操作子を使って設定が変更されると、その内容を表す変更データを作成して、アンプコントローラ3に送信する。また、新たにアンプコントローラ3に接続された時は、自機の設定状態を表す設定データASをアンプコントローラ3に送信する。
【0024】
図2は、本発明の実施例による通信管理機能設定装置(発生源コントローラ2及びアンプコントローラ3)のハードウェア構成を示すブロック図である。
【0025】
発生源コントローラ2又はアンプコントローラ3のバス7には、ROM8、RAM9、CPU10、タイマ11、検出回路12、表示回路14、音源回路16、通信インターフェイス17が接続される。
【0026】
ROM8には、各種パラメータ及び制御プログラム、又は本実施例を実現するためのプログラム等を記憶することができる。また、ROM8には、後述の機器IDが記憶されている。RAM9は、フラグ、レジスタ又はバッファ、各種パラメータ等を記憶するCPU10のワーキングエリアを有する。また、ネットワーク6から受信するオーディオデジタルデータ及びMIDIデータを一時的に記憶するとともに、状態データ18等の各種データを保持する一時記憶領域(バッファ)を有する。
【0027】
なお、ROM8及びRAM9に加えて、通信管理機能設定装置のバス7にフラッシュメモリや半導体メモリ、ハードディスク等の記憶保持機能のある書き換え可能な外部記憶装置を接続して、電源を切った後も、状態データ18等の各種データを保持できるようにしても良い。
【0028】
CPU10は、ROM4に記憶されている制御プログラム等に従い、演算又は制御を行う。タイマ11は、バス7に接続されており、基本クロック信号、再生処理タイミング、割り込み処理のタイミング等をCPU10に供給する。
【0029】
操作子13は、例えば、複数のスイッチ、文字入力用キーボード、マウス等であり、検出回路12に接続される。操作子13は、ユーザの入力に応じた信号を出力できるものならどのようなものでもよい。
【0030】
表示回路14は、表示部15に接続され、ネットワークに接続された各機器の設定状態等の各種情報を表示することができる。ユーザは、この表示部15に表示される情報を参照して、各種情報の入力及び各種設定を行う。
【0031】
音源回路16は、D/A変換器を含み、通信インターフェイス17を介してネットワーク6から受信するオーディオデジタルデータ及びMIDIデータをオーディオアナログデータに変換して、再度通信インターフェイス17を介してアンプ5等に出力する。また、音源回路16は、通信インターフェイス17を介して音楽データ出力装置4からオーディオアナログデータを受信した場合は、それをオーディオデジタルデータに変換して、通信インターフェイス17を介してネットワーク6に送信することも出来る。
【0032】
通信インターフェイス17は、ネットワーク接続用の通信インターフェイス及びコンピュータPC接続用の通信インターフェイス等を含む複数のインターフェイスで構成される。
【0033】
ネットワーク接続用の通信インターフェイスは、LAN(ローカルエリアネットワーク)やインターネット、電話回線等の遠距離通信ネットワーク6に接続可能であり、オーディオデジタルデータ、MIDIデータ、状態データ18、獲得データ20、順番データ21、参加データ22、開始データ24等をパケット化して該通信ネットワーク6に送信することが出来るとともに、それらのパケットを受信して、パケット化を解除することが出来る。
【0034】
コンピュータPC接続用の通信インターフェイスは、コンピュータPCと接続可能であり、該接続されたコンピュータPCに状態データ18を送信するとともに、コンピュータPCから変更データを受信する。
【0035】
通信管理機能設定装置を発生源コントローラ2として利用する場合は、上記の2つのインターフェイスに加えて、さらに、発生源接続用のインターフェイスを備えるようにする。発生源接続用のインターフェイスは、発生源4からのMIDIデータ及びオーディオデジタルデータを入力することが出来る各種の入力端子である。
【0036】
また、通信管理機能設定装置をアンプコントローラ3として利用する場合は、上記の2つのインターフェイスに加えて、さらに、アンプ接続用のインターフェイスを備えるようにする。アンプ接続用のインターフェイスは、アンプ5にオーディオアナログデータ(アナログ音声信号)を出力可能な出力端子と、アンプ5に変更データを送信するとともに、アンプ5から設定データAS及び変更データを受信可能な通信インターフェイスとを含む。
【0037】
なお、通信管理機能設定装置の利用態様(発生源コントローラ2又はアンプコントローラ3としての利用)に関わらず、上述した全てのインターフェイスを備えるようにしても良い。そうすることにより、状況に応じて、通信管理機能設定装置の利用態様を変更することが可能である。
【0038】
なお、本明細書では、上述した各種の通信インターフェイスをまとめて、通信インターフェイス17と呼ぶ。
【0039】
図3は、本実施例による状態データ18の構成を示す概念図である。図3では、図1の発生源コントローラ2に保持されている場合の状態データ18を示すが、アンプコントローラ3では、図3の機器Bのデータを自機のデータとして保持している。
【0040】
状態データ18は、自機の設定状態を表す状態データ18a及び外部機器の設定状態を表す状態データ18b1〜18bnを含んで構成される。状態データ18を外部に送信する場合は、自機の設定状態を表す状態データ18aのみを送信しても良いし、外部機器の設定状態を表す状態データ18b1〜SDbnを併せて送信するようにしても良い。
【0041】
自機の設定状態を表す状態データ18a(この例では、発生源コントローラ2の設定状態を表すデータ)は、各機器に固有の機器ID、後述のマスタ獲得要求時に参照される優先度PR、及び発生源コントローラ2に接続されている発生源4の入力割当てと出力割当て(発生源から入力する複数チャンネルのそれぞれのデータをどのアンプに出力するかを表す情報)とを含んで構成される。なお、優先度PRは、他の機器(外部機器)と重ならないように手動で設定される。
【0042】
外部機器の設定状態を表す状態データ18b1〜18bn(この例では、アンプコントローラ3の設定状態を表すデータ)は、各機器に固有の機器ID、優先度PR、及びアンプコントローラ3に接続されているアンプ5の数(n)及び各アンプ5の設定を表す設定データAS1〜ASnを含んで構成される。また、発生源コントローラ2に接続されている発生源4の入力割当てと出力割当てとを含めて構成しても良い。
【0043】
アンプ5の設定を表す設定データAS1〜ASnは、各アンプに固有のアンプID(アンプID1〜IDn)及びアンプ設定(アンプ設定1〜n)で構成される。アンプ設定1〜nは、それぞれのアンプの現在の設定状態を表し、例えば、スピーカ出力、ミュート設定、ボリューム等の通常のアンプにおいてユーザが設定可能なパラメータである。
【0044】
このアンプ設定1〜nに含まれる一部のパラメータに変更がなされた場合は、該変更されたパラメータと設定を変更するアンプIDを合わせて変更データを生成する。
【0045】
図4は、本実施例によるマスタ機器決定の第1の例を表す概念図である。この例では、ネットワーク上に始めて接続した機器がマスタとなる場合を示す。なお、図中左から右に時間進行を表す。また、ネットワークとは、ネットワーク上を流れるデータの状況を表している。
【0046】
機器A(発生源コントローラ2又はアンプコントローラ3)が、通信ネットワーク6に接続されると、通信準備をするための初期設定が行われる。図では、機器Aの通信準備が完了して送受信が可能になった時点をタイミングCRで示す。
【0047】
機器Aは、通信準備が完了すると送信処理を停止する送信待機時間分の時間の計時を始める。送信待機時間は、ネットワーク上で全機器が少なくとも1回ずつデータを送信することが出来る1つのサイクルを複数回分含む程度の長さである。本実施例では、送信待機時間を予め2秒と定めている。すなわち、本実施例では、通信準備完了タイミングCRから、2秒後のパケット転送開始タイミングPTまでの間を送信待機時間としている。
【0048】
この送信待機時間は、後述する獲得データ20若しくは順番データ21が、他の機器から送信されていないことを確認するための時間であり、これらのデータ20、21が送信されていなければ、ネットワーク上にマスタ機器が存在していないと判断することが出来る。
【0049】
機器Aは、送信待機時間が経過すると、パケット転送開始タイミングPTにおいて、獲得データ20をネットワーク6に送信する。獲得データ20は、自機がマスタとなることを希望するためのデータであり、少なくとも、機器IDと優先度PRが含まれる。
【0050】
機器Aから送信された獲得データ20は、遅延時間経過後にネットワーク上に現れる。遅延時間は、機器間のデータ通信にかかる時間であり、送信機の送信データの蓄積時間+送信機のパケット化時間+伝送時間+受信機のパケット解除時間が含まれる。本実施例では、この遅延時間を20msとしている。
【0051】
獲得データ20を送信した後、機器Aは、マスタ獲得時間分の時間の計時を開始する。マスタ獲得時間は、他の機器からの獲得データ20を受信するための待機時間であり、この間に他の機器からの獲得データ20を受信しなければ、マスタ獲得時間経過後のタイミングMSにて、マスタとなるための設定を行う。
【0052】
なお、マスタ獲得時間は、送信待機時間と同様に、ネットワーク上で全機器が少なくとも1回ずつデータを送信することが出来る1つのサイクルを複数回分含む程度の長さである。よって、本実施例では、マスタ獲得時間も送信待機時間と同じ2秒に設定している。
【0053】
ネットワーク6上に他の機器が存在しない場合は、以上のようにして、ネットワーク6に最初に接続された機器Aがマスタとなる。
【0054】
図5は、本実施例によるマスタ機器決定の第2の例を表す概念図である。この例では、マスタ機器の存在しないネットワーク上に、機器A及び機器Bが同時に接続した場合の、マスタ設定動作を示す。なお、図中左から右に時間進行を表す。また、ネットワークとは、ネットワーク上を流れるデータの状況を表している。また、機器A及び機器Bの横線の、上側に送信データ、下側に受信データを示している。
【0055】
また、この例では、機器A及び機器Bが同時にネットワーク6に接続した場合を説明しているが、機器A(機器B)が接続した後、送信待機期間中に機器B(機器A)が接続した場合も同様の動作を行う。以降、本明細書では、最初にネットワーク6に接続した機器の送信待機期間中に接続する場合を含めて「同時に接続する」と呼ぶ。
【0056】
機器A及び機器Bのいずれがマスタになるかは獲得データ20に含まれる優先度PR(図3の状態データ18の優先度PRに基づく)を比較することにより決定されるが、この例では、機器Aの優先度PRが、機器Bの優先度PRよりも高いものとする。
【0057】
機器A及び機器B(発生源コントローラ2又はアンプコントローラ3)が、通信ネットワーク6に接続されると、通信準備をするための初期設定が行われる。機器A及び機器Bの通信準備が完了して送受信が可能になった時点をそれぞれタイミングCRa、CRbで示す。
【0058】
機器A及び機器Bは、図4に示した例と同様に、通信準備完了後、送信待機時間分の時間の計時を始める。図5では、この送信待機時間中に、獲得データ20又は、順番データ21が、他の機器から送信されないので、ネットワーク上にマスタ機器が存在していないと判断する。
【0059】
ネットワーク上にマスタ機器がいないと判断すると、通信準備完了タイミングCRa(CRb)から2秒後のパケット転送開始タイミングPTa(PTb)において、機器A(機器B)は、獲得データ20a(20b)をネットワーク6に送信する。機器A(機器B)から送信された獲得データ20a(20b)は、遅延時間経過後にネットワーク上に現れる。
【0060】
獲得データ20a(20b)を送信した後、機器A(機器B)は、マスタ獲得時間分の時間の計時を開始する。機器A(機器B)は、獲得データ20a(20b)がネットワーク6上に現れた後、それを受信して、受信した獲得データ20b(20a)と、自機の優先度PRを比較する。
【0061】
機器Aは、受信した獲得データ20bに含まれる機器Bの優先度PRが、自機の優先度PRよりも低いので、比較終了時のタイミングRC以降も、他の機器からの獲得データ20を受信した場合は、マスタ獲得時間終了タイミング(マスタ設定タイミング)MSまで、同様の比較を継続する。
【0062】
機器Bは、受信した獲得データ20aに含まれる機器Aの優先度PRが、自機の優先度PRよりも高いので、比較終了時のタイミングRE以降は、優先度の比較を終了し、スレーブ設定タイミング(マスタ獲得時間終了タイミング)SSにて、自機をスレーブとして設定する。
【0063】
以上のように、ネットワーク6に複数の機器が同時に接続されると、それぞれが、優先度を含む獲得データを送受信し、他の機器の優先度と比較することにより、最も優先度の高い機器をマスタに設定する。
【0064】
図6は、本実施例によるマスタ機器決定の第3の例を表す概念図である。この例では、ネットワーク上に既にマスタである機器Aが接続されている場合の、ネットワークに新たに接続された機器Bの動作を示す。なお、図中左から右に時間進行を表す。また、ネットワークとは、ネットワーク上を流れるデータの状況を表している。
【0065】
機器B(発生源コントローラ2又はアンプコントローラ3)が、通信ネットワーク6に接続されると、通信準備をするための初期設定が行われる。図では、機器Aの通信準備が完了して送受信が可能になった時点をタイミングCRで示す。また、機器A及び機器Bの横線の、上側に送信データ、下側に受信データを示している。
【0066】
機器Bは、通信準備が完了すると通信準備完了タイミングCRから2秒間送信処理を停止する送信待機時間の時間の計時を始める。この例では、既に、機器Aがマスタとして機能しているので、この通信待機時間中に、機器Aから少なくとも1回は、各機器の送信順を表す順番データ21が、ネットワーク6に送信される。
【0067】
機器Bは、機器Aから送信される順番データ21がネットワーク6上に現れると、それを受信する。順番データ21の受信は、既にマスタ機器が存在することを示すので、順番データ21の受信タイミングSEにて、通信待機を終了する。
【0068】
その後、機器Bは、以降の順番データ21に自機を含めることを要求する参加データ22をネットワーク6に送信する。機器Aは、ネットワーク6から参加データ22を受信し、以降の順番データ21に機器Bを含めるように設定する。
【0069】
従来の装置では、ネットワークに新たな機器が接続されると、例えば、図5に示したような優先度の比較をその都度行っていたが、この第3のマスタ設定例では、既にマスタが設定されている場合は、新たな機器が持つ優先度が現行のマスタが持つ優先度よりも高い場合でも、新たな機器は必ず自動的にスレーブとして設定されるようにした。
【0070】
このようにすると、ネットワーク6に新たな機器(発生源コントローラ2又はアンプコントローラ3)が接続されても、優先度の比較を行う必要がないので、その他の通信を停止しなくても良い。よって、他の通信を阻害することなく、迅速に新たな機器を接続することが出来る。
【0071】
図7は、本実施例による設定情報23の通信の一例を表す概念図である。この例では、ネットワーク上にマスタに設定された機器A及びスレーブに設定された機器B、機器Cが接続されている。なお、図中左から右に時間進行を表す。また、ネットワークとは、ネットワーク上を流れるデータの状況を表している。また、機器A、機器B、及び機器Cのそれぞれの横線の、上側が送信データ、下側が受信データを示す。また、データの送信順が機器A−機器B−機器Cと決められるものとしている。。
【0072】
ここで設定情報23とは、オーディオデジタルデータ等の優先度が高い(高通信レート伝送される)データ以外の、優先度の低い(低通信レートで伝送される)データである。例えば、状態データ18、変更データ、獲得データ20、順番データ21、及び参加データ22等が設定情報23に含まれる。なお、MIDIデータは、機器の設定又は設定状態を表すデータではないが、低い優先度で伝送されるので、設定情報23と同様の処理で送受信される。
【0073】
機器Aは、パケット転送開始タイミングPT1において、送信すべきデータである設定情報23a(その情報の前半部である設定情報23a1)の送信を開始する。設定情報23aの送信は、、開始データ24aの送信時刻ST1まで続けられ、送信時刻ST1になると、設定情報23aの送信に割り込むようにして開始データ24aの送信が行われる。開始データ24aの送信が終了すると、機器Aが送信すべきデータの残りである設定情報23a2の送信が開始される。機器Aは、マスタであるので、開始データ24aには、順番データ21が含まれている。。
【0074】
開始データ24の送信時刻STは、後述するように送信すべきデータ及び開始データ24の送信にかかる時間である送信時間TTと設定されている繰上時間とに基づき決定する。すなわち、送信時刻STは現時時刻(タイミングPT)+送信時間TT−繰上時間(20ms)により求められる。
【0075】
ここで、繰上時間とは、ネットワークにおける遅延時間を考慮して、開始データ24の送信時刻を繰り上げるための時間であり、本実施例では、遅延時間と同じ20msに設定されている。遅延時間と等しい繰上時間分だけ、パケット転送終了予定時刻より早めに開始データ24を送信することにより、次に送信を開始する機器は、前に送信をしている機器のパケット転送終了後直ちにパケット転送を開始することが出来る。このように、予めネットワーク上の遅延時間を考慮することにより、ネットワーク上にデータが何も流れていない状態を極力減らすことが出来る。
【0076】
機器Bは、機器Aが送信した開始データ24aを受信したら、その受信終了時刻であるタイミングER1から、開始データ24bの送信を開始する。これは、機器Bが送信すべき設定情報23bのデータ量が小さいため、送信時間TTよりも繰上時間が長くなってしまうからである。このような場合には、図に示すように、設定情報23bに先駆けて開始データ24bが送信される。開始データ24bの送信が終了すると、設定情報23bの送信が開始される。
【0077】
機器Cは、機器Bが送信した開始データ24bを受信したら、その受信終了時刻であるタイミングER2から、送信すべきデータである設定情報23c(その情報の前半部である設定情報23c1)の送信を開始する。設定情報23cの送信は、、開始データ24cの送信時刻ST3まで続けられる。送信時刻ST3になると、設定情報23cの送信に割り込むように、開始データ24cがネットワーク6に送信される。開始データ24cの送信が終了すると、機器Cが送信すべきデータの残りの設定情報23c2の送信が開始される。
【0078】
機器Cにより送信される開始データ24cが、機器Aに受信されるとその終了時刻であるタイミングER3から次開始待機時間の計時が開始される。次開始待機時間中は、既にネットワークに接続されているスレーブ機器の送受信は、停止される。
【0079】
次開始待機時間とは、1サイクル分の送信が終わる(開始データ24cを受信する)タイミングER3から、次のサイクルが始まるタイミングPT4までに設けられる特定長の時間であり、新たにネットワーク6に接続された機器は、その時間内に参加データ22を送信する。
【0080】
次開始待機時間が経過すると、タイミングPT4において、マスタである機器Aが新たな順番データ21を含む開始データ24Aとパケットの転送を再開する。
【0081】
以上のように、次に送信する機器は、前に送信する機器が送信した設定情報23n−1の受信を完了する前に、自機が送信すべき設定情報23nの送信を開始することが出来る。
【0082】
本実施例では、ネットワーク上での遅延時間を考慮して、次の機器に送信の開始を指示する開始データ24の送信時刻STを早めているので、受信完了前に送信を開始したとしても、ネットワーク上に2つ以上の機器が送信する設定情報23が一度に現れることを避けつつ、ネットワーク上に設定情報23が何もない状態を減らすことが出来る。
【0083】
図8は、本実施例によるメイン処理を表すフローチャートである。このメイン処理は、通信管理機能設定装置(発生源コントローラ2又はアンプコントローラ3)がネットワーク6に接続されると開始され、ネットワーク6から切断されると終了する。このメイン処理は、前述の図4〜図6に示す機器A及び機器Bでマスタ設定を行うための処理である。
【0084】
ステップSA1では、メイン処理を開始し、ステップSA2では、初期設定を行い、通信を開始できる状態にする。すなわち、送信データの蓄積、送信機のパケット化、パケット伝送、及び受信パケット解除等の通信に関する処理を開始出来る状態にする。この時、図10に示す受信処理を開始するが、図9に示す送信処理は、図4から図6に示す送信待機時間の計時を開始して、送信停止(待機)状態にする。
【0085】
ステップSA3では、送信待機時間分の時間が経過したか否かを判断する。送信待機時間分の時間が経過した場合は、YESの矢印で示すステップSA7に進み、経過していない場合は、NOの矢印で示すステップSA4に進む。
【0086】
ステップSA4では、順番データ21(図6)をネットワーク6から受信したか否かを判断する。順番データ21を受信しない場合は、NOの矢印で示すステップSA3に戻る。順番データ21を受信した場合は、既にマスタがネットワーク6上に存在していると判断して、YESの矢印で示すステップSA5に進む。
【0087】
ステップSA5では、図7に示す次開始待機時間が到来するのを待ち、次開始待機時間が到来したら、図6に示す参加データ22を送信し、ステップSA6では、自機をスレーブに設定する。その後、図9に示す送信処理を起動(開始)して、ステップSA13に進む。
【0088】
上記のステップSA5及びステップSA6は、スレーブとして動作する場合の処理である。以下のステップSA7〜ステップSA12は、マスタとして動作する場合の処理である。
【0089】
ステップSA7では、図4及び図5に示す獲得データ20を送信するとともに、マスタ獲得時間の計時を開始する。ステップSA8では、ネットワーク6に接続されている他の機器の獲得データ20を受信したか否かを判断する。獲得データ20を受信した場合は、YESの矢印で示すステップSA9に進み、受信しない場合は、NOの矢印で示すステップSA11に進む。
【0090】
ステップSA9では、自機の優先度PRと受信した獲得データ20に含まれる他の機器の優先度PRを比較する。ステップSA10では、ステップSA9での比較結果を参照して、自機の優先度他の機器の優先度より高いか否かを判断する。自機の優先度が高い場合は、YESの矢印で示すステップSA11に進む。自機の優先度が低い場合は、スレーブ設定を行うので、NOの矢印で示すステップSA5に進む。
【0091】
ステップSA11では、図4及び図5に示すマスタ獲得時間分の時間が経過したか否かを判断する。マスタ獲得時間が経過していない場合は、NOの矢印で示すステップSA8に戻り他の機器の獲得データ20の受信に備える。マスタ獲得時間が経過している場合は、YESの矢印で示すステップSA12に進み、自機をマスタに設定する。その後、図9に示す送信処理を起動(開始)して、ステップSA13に進む。
【0092】
ステップSA13〜ステップSA15は、マスタ設定及びスレーブ設定のいずれにおいても行われる共通の処理である。
【0093】
ステップSA13では、自機の設定状態(状態データ18)が変更されたか否かを判断する。自機の設定状態には、当然、接続されているアンプ等の設定も含まれる。変更された場合は、YESの矢印で示すステップSA14に進み、変更がない場合は、NOの矢印で示すステップSA15に進む。
【0094】
ステップSA14では、変更内容を表す変更データを作成して送信待機にする。送信待機にされた変更データは、後述の図9に示す送信処理でネットワークに送信される。
【0095】
ステップSA15では、ネットワーク6から切断されたか否かを判断する。ネットワーク6から切断された場合は、YESの矢印で示すステップSA16に進み、ネットワーク通信に関する全ての処理を停止して、メイン処理を終了する。ネットワーク6から切断されていない場合は、NOの矢印で示すステップSA13に戻り以降の処理を繰り返す。
【0096】
図9は、本実施例による設定情報23及びMIDIデータの送信処理を表すフローチャートである。この処理は、設定情報及びMIDIデータの通信レートに従い起動される割り込み処理である。この送信処理は、例えば、図7に示す設定情報23(及び開始データ24)の送信時に、機器A〜C(発生源コントローラ2又はアンプコントローラ3)で行われる処理である。
【0097】
ステップSB1では、送信処理を開始する。ステップSB2では、データ送信の開始が新たに指示されたか否かを判断する。スレーブに設定されている時は、自機の送信順を表す開始データ24を受信したときに開始が指示されたものと判断する。マスタに設定されている時は、1サイクル分の送信を終了したことを表す開始データ24c(図7)を受信して、それから図7の次開始待機時間が経過した後に開始が指示されたものと判断する。送信開始の指示があった場合は、YESの矢印で示すステップSB3に進み、指示がない場合は、NOの矢印で示すステップSB6に進む。
【0098】
ステップSB3では、送信すべきデータのデータ量から送信時間TT(図7)を算出する。送信すべきデータとは、送信待機している全てのデータであり、例えば、状態データ18、変更データ、獲得データ20、順番データ21、及び参加データ22等の設定情報23及びMIDIデータ等である。なお、ネットワークに接続して最初の送信時には、自機の全ての状態データ18を送信し、その後は変更分のみの変更データを送信する
なお、この送信時間TTには、開始データ24の送信にかかる時間も含まれる。ステップSB4では、ステップSB3で算出した送信時間TTと繰上時間(図7)から開始データ24の送信時刻STを決定する。送信時刻STは現時時刻(図7のタイミングPT)+送信時間TT−繰上時間(20ms)により求められる。ステップSB5では、送信すべきデータの送信を開始(許可)する。
【0099】
ステップSB6では、送信が許可されているか否か、すなわち、ステップSB5で送信が開始(許可)されたか否かを判断する。ステップSB2からこのステップSB6に進んだ場合は、送信は許可されていないので、NOの矢印で示すステップSB12に進み、今回の割り込みタイミングによる送信処理を終了する。ステップSB5からこのステップSB6に進んだ場合は、送信が許可されているので、YESの矢印で示すステップSB7に進む。
【0100】
ステップSB7では、ステップSB4で決定した送信時刻STが到来したか否かを判断する。送信時刻STが到来している場合は、YESの矢印で示すステップSB8に進む。図7にある機器Bのデータ送信例のように、決定された送信時刻STがパケット転送開始時刻PTよりも過去の時間である場合は、送信すべきデータにさきがけて開始データ24(又は順番データ21)が送信される。送信時刻STが到来していない場合は、NOの矢印で示すステップSB9に進む。
【0101】
ステップSB8では、自機の送信すべきデータ(設定情報23)の送信を一時停止して、次の順番の機器に送信を指示する開始データ24(又は順番データ21)を作成してネットワークに送信する。スレーブに設定されている時は、次の順番の機器に開始を指示するか、自機が1サイクルの最後の機器であれば1サイクルが終了したことを表す開始データ24cを作成する。マスタに設定されている時は、現時点でネットワーク上に存在している全ての機器の送信順を表す順番データ21と最初にデータ送信を行う機器に対する指示を含む開始データ24aを作成する。
【0102】
ステップSB9では、送信すべきデータである設定情報23を順次ネットワークに送信する。ステップSB10では、送信すべきデータの送信が完了したか否かを判断する。送信が完了した場合は、YESの矢印で示すステップSB11に進み、データの送信を停止(禁止)する。送信が完了していない場合は、ステップSB12に進み、今回の割り込みタイミングによる送信処理を終了する。そして、送信すべきデータである設定情報23が全て送信されるまで、この図9の処理が起動されるごとに設定情報23の一部ずつがネットワークに送信されることになる。
【0103】
図10は、本実施例による設定情報23及びMIDIデータの受信処理を表すフローチャートである。この処理は、設定情報及びMIDIデータの通信レートに従い起動される割り込み処理である。この受信処理は、例えば、図7に示す設定情報23(及び開始データ24)の受信時に、機器A〜C(発生源コントローラ2又はアンプコントローラ3)で行われる処理である。
【0104】
ステップSC1では、受信処理を開始して、ステップSC2では、変更データ又はMIDIデータを受信したか否かを判断する。受信した場合は、YESの矢印で示すステップSC3に進み、受信していない場合は、NOの矢印で示すステップSC4に進む。
【0105】
ステップSC3では、ステップSC2で受信を確認したのが変更データである場合は、受信した変更データに従い保持されている状態データ18の該等箇所を変更する。受信した変更でータが、自機に接続されている発生源4、アンプ5又はコンピュータPCからのものである場合は、該変更データを送信待機にし、ネットワークからのものであれば、対応する(その変更データを反映させるべき)アンプ5又はコンピュータPCに送信する。ステップSC2で受信を確認したのがMIDIデータである場合は、該MIDIデータを送信待機にする。
【0106】
ステップSC4では、この通信管理機能設定装置(発生源コントローラ2又はアンプコントローラ3)が、前述のステップSA6でスレーブに設定されているか否かを判断する。スレーブに設定されている場合は、YESの矢印で示すステップSC5に進む。スレーブに設定されていない場合、すなわち前述のステップSA12でマスタに設定された場合は、NOの矢印で示すステップSC11に進む。
【0107】
以下のステップSC5〜ステップSC10は、スレーブとしての処理であり、ステップSC11〜ステップSC15は、マスタとしての処理である。
【0108】
ステップSC5では、自機の順番を表す開始データ24(図7)を受信したか否かを判断する。開始データ24を受信した場合は、YESの矢印で示すステップSC6に進む。受信していない場合は、NOの矢印で示すステップSC7に進む。
【0109】
ステップSC6では、前述の図9に示す送信処理(ステップSB2)に対して、データ送信の開始を指示する。ステップSC7では、順番データ21(図6)を受信したか否かを判断する。順番データ21を受信した場合は、YESの矢印で示すステップSC8に進み、受信していない場合は、NOの矢印で示すステップSC9に進む。
【0110】
ステップSC8では、ステップSC7で受信した順番データ21を一時記憶領域に記憶して、マスタ確認時間の計時を新たに開始する。ステップSC9では、マスタ確認時間分の時間が経過したか否かを判断する。時間が経過した場合は、YESの矢印で示すステップSC10に進み、経過していない場合は、NOの矢印で示すステップSC16に進み、今回のタイミングにおける受信処理を終了する。
【0111】
ステップSC10では、マスタ確認時間が経過するまでの間に順番データ21を受信しなかったので、ネットワーク上からマスタがいなくなったと判断し、メイン処理をステップSA7に移行しマスタ獲得の動作を実行する。また、図9の送信処理の起動を停止する。この時、ネットワーク上のすべてのスレーブ機器がマスタ獲得の動作を実施する。その後、ステップSC16に進み、今回のタイミングにおける受信処理を終了する。
【0112】
ステップSC11では、1サイクル分の送信の終了を表す開始データ(例えば、図7の開始データ24c)を受信したか否かを判断する。受信した場合は、YESの矢印で示すステップSC12に進み、次開始待機時間(図7)に相当する時間の計時を開始する。受信していない場合は、NOの矢印で示すステップSC13に進む。
【0113】
ステップSC13では、次開始待機時間分の時間を計時している場合に、その次開始待機時間時間が経過したか否かを判断する。次開始待機時間分の時間が経過した場合は、YESの矢印で示すステップSC14に進み、経過していない場合は、NOの矢印で示すステップSC16に進み、今回のタイミングにおける受信処理を終了する。
【0114】
ステップSC14では、新たな順番データ21(図6)を作成して、該作成した順番データ21を送信待機にする。なお、次開始待機時間内に、新たに接続された機器からの参加データ22(図6)を受信した場合は、この時に新たにネットワークに接続した機器を含めた順番データ21を作成する。
【0115】
ステップSC15では、次開始待機時間の計時を終了して、ステップSC16にて、今回のタイミングにおける受信処理を終了する。
【0116】
図11は、本実施例による主要データ(オーディオデジタルデータ)の送信処理を表すフローチャートである。この処理は、主要データ(オーディオデジタルデータ)の通信レートに従って起動される割り込み処理である。すなわち、オーディオデータの通信を他のデータの通信よりも、極めて優先的に行うために、割り込み周期は、前述図9の送信処理や図10の受信処理よりも極めて短い時間間隔に設定される。
【0117】
図11(A)は、発生源コントローラ2で行う主要データ(オーディオデジタルデータ)の送信処理を表すフローチャートである。
【0118】
ステップSD1では、送信処理をスタートして、ステップSD2では、後述のステップSF2で保持されるオーディオデジタルデータをネットワーク6に送信する。その後、ステップSD3に進み、今回のタイミングにおける送信処理を終了する。
【0119】
図11(B)は、アンプコントローラ3で行う主要データ(オーディオデジタルデータ)の送信処理を表すフローチャートである。
【0120】
ステップSE1では、送信処理をスタートして、ステップSE2では、後述のステップSG2で、保持されているオーディオデジタルデータをオーディオアナログデータ(アナログ音声信号)に変換して、アンプ5に出力する。その後、ステップSE3に進み、今回のタイミングにおける送信処理を終了する。
【0121】
図12は、本実施例による主要データ(オーディオデジタルデータ)の受信処理を表すフローチャートである。この処理は、主要データ(オーディオデジタルデータ)の通信レートに従って起動される割り込み処理である。すなわち、オーディオデータの通信を他のデータの通信よりも、極めて優先的に行うために、割り込み周期は、前述図9の送信処理や図10の受信処理よりも極めて短い時間間隔に設定される。
【0122】
図12(A)は、発生源コントローラ2で行う主要データ(オーディオデジタルデータ)の受信処理を表すフローチャートである。
【0123】
ステップSF1では、受信処理を開始して、ステップSF2では、外部機器(音楽データ出力装置4)から受信した(入力される)オーディオデジタルデータをRAM9等の一時記憶領域に保持する。その後、ステップSF3に進み、今回のタイミングにおける受信処理を終了する。
【0124】
図12(B)は、アンプコントローラ3で行う主要データ(オーディオデジタルデータ)の受信処理を表すフローチャートである。
【0125】
ステップSG1では、受信処理を開始して、ステップSG2では、前述のステップSD2で送信されるオーディオデジタルデータをネットワーク6から受信して、RAM9等の一時記憶領域に保持する。その後、ステップSG3に進み、今回のタイミングにおける受信処理を終了する。
【0126】
以上、本実施例によれば、ネットワークに接続されている各機器の設定状態をそれぞれの機器が保持しているので、全ての機器に関する希望のデータを迅速に確認することが出来る。また、ネットワーク上のどの機器からも、全ての機器の設定状態を迅速に確認することが出来る。
【0127】
また、本実施例によれば、設定が変更された場合にも、変更データのみをネットワーク6を介して送受信し、各機器に保持されている設定情報を更新することが出来る。よって、ネットワークに接続されている機器の設定状態に変更があった場合にも、ネットワークのトラフィック量を増大させることなく、且つ通信速度が遅い場合でも、迅速に設定状態の変更をすることが出来る。
【0128】
また、本実施例によれば、既にネットワーク上に各機器の送信順を管理するマスタが存在する時は、マスタ獲得動作を行わないので、マスタが頻繁に変更されることを防ぐことが出来る。
【0129】
よって、マスタ変更に伴う、マスタ獲得のためのデータの送受信が不必要となり、その間に起こるその他の情報の通信の阻害を防ぐことが出来る。
【0130】
また、本実施例によれば、ネットワーク通信に伴う遅延時間を予め繰り上げ時間として、次の機器の送信開始を指示する開始データを、データ送信終了時より該繰上げ時間分早めて送信することが出来る。
【0131】
よって、ネットワーク上に何もデータが流れていない時間を極めて短くすることができ、通信レートが低い環境でも、効率よくデータ通信を行うことが出来る。
【0132】
なお、実施例では発生源コントローラ2とアンプコントローラ3とで機能が異なる部分があるが、1つのコントローラ(通信管理機能設定装置)に実施例での発生源コントローラ2とアンプコントローラ3の全ての機能を持たせてもよい。
【0133】
また、送信待機時間及びマスタ獲得時間は1サイクルを複数回分含む時間長であればよいので、所定値(例えば、2秒)に限らず、コンピュータPCやアンプ5又は各種コントローラ(発生源コントローラ2とアンプコントローラ3)で設定できてもよいし、マスタ機器に通信の状態を監視させて通信状態が悪ければ時間長を長くするなどして、動的に(通信状態に応じて)変更するようにしてもよい。
【0134】
また、実施例では、獲得データがネットワーク上に複数現れた場合には優先度の高い方を採用しているが、いずれか1つの機器をマスタに設定することが出来ればよく、各機器の優先度に限らず、例えば通信回線の良好な場所に接続されている機器の獲得データを採用する方法や、コンピュータPCやアンプ5又は各種コントローラを使っていずれかを手動で選ぶ方法によってもよい。
【0135】
また、実施例では、繰上時間は送信の遅延時間と同じ時間長に決められているが、送信の遅延時間とほぼ同じ長さの時間を設定すればよい。例えば、通信の状態に合わせて変化する遅延時間に追従させて、繰上時間も変更する方法や、コンピュータPCやアンプ5や各種コントローラを使って手動で設定及び変更する方法が考えられる。
【0136】
また、主要データ(オーディオデータ等)だけを、それ以外のデータ(設定情報23及びMIDIデータ)とは別に早い速度で通信しているが、楽音を再生するデータは、全て早い速度で通信するようにしてもよい。例えば、MIDIデータを含んでいるパケットもオーディオデータと同じ速度で通信してもよい。
【0137】
なお、通信インターフェイスはLANやインターネットや電話回線などの通信ネットワークに接続されており、該通信ネットワークを介してサーバコンピュータと接続される。外部記憶装置内に制御プログラムや各種データが記憶されていない場合、サーバコンピュータからプログラムやデータをダウンロードするために用いられる。
【0138】
以上実施例に沿って本発明を説明したが、本発明はこれらに制限されるものではない。例えば、種々の変更、改良、組合せ等が可能なことは当業者に自明であろう。
【0139】
【発明の効果】
以上説明したように、本発明によれば、ネットワークに接続されている全ての機器の通信を管理するマスタが頻繁に変更されることを防ぐことが出来る。
【図面の簡単な説明】
【図1】 本発明の実施例による通信管理機能設定システム1のネットワーク構成を示すブロック図である。
【図2】 本発明の実施例による通信管理機能設定装置(発生源コントローラ2及びアンプコントローラ3)のハードウェア構成を示すブロック図である。
【図3】 本実施例による状態データ18の構成を示す概念図である。
【図4】 本実施例によるマスタ機器決定の第1の例を表す概念図である。
【図5】 本実施例によるマスタ機器決定の第2の例を表す概念図である。
【図6】 本実施例によるマスタ機器決定の第3の例を表す概念図である。
【図7】 本実施例による設定情報23の通信の一例を表す概念図である。
【図8】 本実施例によるメイン処理を表すフローチャートである。
【図9】 本実施例による設定情報23及びMIDIデータの送信処理を表すフローチャートである。
【図10】 本実施例による設定情報23及びMIDIデータの受信処理を表すフローチャートである。
【図11】 本実施例による主要データ(オーディオデジタルデータ)の送信処理を表すフローチャートである。
【図12】 本実施例による主要データ(オーディオデジタルデータ)の受信処理を表すフローチャートである。
【符号の説明】
1…通信管理機能設定システム、2…発生源コントローラ、3…アンプコントローラ、4…発生源、5…アンプ、6…通信ネットワーク、7…バス、8…ROM、9…RAM、10…CPU、11…タイマ、12…検出回路、13…操作子、14…表示回路、15…表示部、16…通信インターフェイス、20…獲得データ、21…順番データ、22…参加データ、23…設定情報、24…開始データ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication management function setting device, and more particularly to a communication management function setting device that sets a master that manages communication of all devices connected to a network.
[0002]
[Prior art]
There are standards such as IEEE 1394 for transmitting and receiving audio digital data and the like via a network. According to IEEE 1394, audio digital data and the like can be transferred at high speed, and devices connected to the network can be set at high speed. However, high-speed communication standards such as IEEE 1394 are for short-range communication. For example, when high-speed communication is performed using IEEE 1394, the actual transferable distance is 10 m or less and long-distance communication cannot be performed. .
[0003]
As a standard for transmitting and receiving audio digital data and the like via a telecommunications network, for example, a multi-channel uncompressed audio signal (audio digital data) such as CobraNet (registered trademark) and setting information are transmitted and received via Ethernet (registered trademark). There is a standard to do. In this standard, communication can be performed at a distance of 100 m to several km.
[0004]
In such an apparatus that transmits and receives audio digital data and the like via a telecommunications network, one of the devices connected to the same network is set as a master that manages the order of communication, and other devices. Is set to slave. In this case, the priorities of all devices connected to the network are compared, and the one with the highest priority is always the master.
[0005]
The master device transmits the transmission order of all devices including its own device to the network, and the other devices (slaves) transmit one by one according to the order. When the transmission of one device is completed, a transmission start instruction to the next device is issued, and the device having the next order receives the instruction and starts transmission. By repeating this, transmission of one device at a time is sequentially performed.
[0006]
In an apparatus that transmits / receives audio digital data or the like via the above-described telecommunications network, data is normally transmitted / received at a communication rate of about 90 Mbps. However, most of the communication rate (70 to 80%) is used for communication of main data such as audio digital data, and the setting information has a lower priority than the main data. Therefore, the setting information and the like can be used only for a small part (1% or less) of the communication rate, and the communication speed is very slow.
[0007]
[Problems to be solved by the invention]
When another device (external device) is newly connected to the network, the priority of all devices connected to the network is compared each time, and the device having the highest priority becomes the master. Therefore, every time a new device is connected, a process for acquiring the master is necessary.
[0008]
Since the process for acquiring the master is performed at a low communication rate, it takes a lot of time, and it is not preferable that the master is changed every time a new device is connected.
[0009]
An object of the present invention is to provide a communication management function setting device that can prevent a master that manages communication of all devices connected to a network from being frequently changed.
[0010]
[Means for Solving the Problems]
According to one aspect of the present invention, communication in an audio transmission network configured by a plurality of devices connected to an audio transmission network and communicating control data using a part of a band between audio transmissions in the network. The management function setting device includes: a communication unit for connecting to the network; a time measuring unit for measuring a first predetermined time after completion of communication preparation of the communication unit; and the network between the first predetermined time. Master confirming means for confirming that there is a master performing communication management, and slave setting means for setting the own apparatus as a slave managed by the master if the confirming means confirms that there is a master; The master confirmation means functions when the master does not confirm that the master exists, A master acquisition requesting unit for requesting that the master acquisition requesting unit requests to become a master, and further, when the communication unit receives a request to become a master from another device, Comparing means for comparing priorities with the other devices, and stopping the request of the master acquisition requesting means when the comparing means determines that its own priority is lower than the priorities of the other devices On the other hand, when the comparison unit determines that the priority of the own device is higher than the priority of the other device, a master acquisition continuation unit that continues the request of the master acquisition request unit, and the master acquisition request unit Requesting to become the master, if the request continues for a second predetermined time, master setting means for setting the own apparatus as a master, and when the own apparatus is set as the master by the master setting means The network is set in the master for order data creation means for creating order data for defining the transmission order of the plurality of devices connected to the network in order to perform communication management related to transmission of the control data. Communication that is lower than the audio transmission by using a part of the band of the network with respect to other devices connected to the network at the transmission timing of the own device specified by the order data created by the device. Control data transmitting means for transmitting the control data at a rate, and control data management means for receiving the control data transmitted from the other device to the network from the network and storing it in the storage means.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing a network configuration of a communication management function setting system 1 according to an embodiment of the present invention. The communication management function setting system 1 is configured by connecting a
[0012]
The long-
[0013]
The music data output device (generation source) 4 is composed of an electronic music device such as an electronic musical instrument, a sound source device, an audio device and the like that can output digital audio data or MIDI data.
[0014]
The computer PC is constituted by a personal computer or the like, receives
[0015]
Further, the computer PC can be connected to all communication management function setting devices (the
[0016]
The
[0017]
The
[0018]
Further, the
[0019]
The
[0020]
The received audio digital data and MIDI data are converted into audio analog data (analog audio signal) and then output to the amplifier 5. Note that the received audio digital data and MIDI data may be converted into digital data in a format that can be reproduced by a normal amplifier and output to the amplifier 5 as a digital audio signal.
[0021]
In addition, a plurality of amplifiers 5 can be connected to the
[0022]
Further, change data,
[0023]
The amplifier 5 is an amplifier for reproducing audio analog data input from the
[0024]
FIG. 2 is a block diagram showing a hardware configuration of the communication management function setting device (
[0025]
A
[0026]
The
[0027]
In addition to the
[0028]
The
[0029]
The
[0030]
The
[0031]
The
[0032]
The
[0033]
A communication interface for network connection can be connected to a long-
[0034]
The communication interface for connecting the computer PC is connectable with the computer PC, and transmits the
[0035]
When the communication management function setting device is used as the
[0036]
Further, when the communication management function setting device is used as the
[0037]
In addition, you may make it provide all the interfaces mentioned above irrespective of the utilization mode (utilization as the
[0038]
In the present specification, the various communication interfaces described above are collectively referred to as a
[0039]
FIG. 3 is a conceptual diagram showing the configuration of the
[0040]
The
[0041]
The
[0042]
State data 18b1 to 18bn (in this example, data representing the setting state of the amplifier controller 3) representing the setting state of the external device are connected to the device ID, the priority PR, and the
[0043]
The setting data AS1 to ASn representing the setting of the amplifier 5 are configured by an amplifier ID (amplifier ID1 to IDn) and amplifier setting (amplifier setting 1 to n) unique to each amplifier. The amplifier settings 1 to n represent current setting states of the respective amplifiers, and are parameters that can be set by the user in a normal amplifier such as speaker output, mute setting, and volume, for example.
[0044]
When some parameters included in the amplifier settings 1 to n are changed, the changed data is generated by combining the changed parameters and the amplifier ID for changing the settings.
[0045]
FIG. 4 is a conceptual diagram illustrating a first example of master device determination according to the present embodiment. In this example, the case where the first device connected to the network becomes the master is shown. The time progress is shown from left to right in the figure. The network represents the status of data flowing on the network.
[0046]
When the device A (the
[0047]
When the device A is ready for communication, the device A starts measuring time for the transmission waiting time to stop the transmission process. The transmission standby time is long enough to include a single cycle that allows all devices on the network to transmit data at least once. In this embodiment, the transmission standby time is set to 2 seconds in advance. In other words, in this embodiment, the transmission waiting time is from the communication preparation completion timing CR to the packet transfer start timing PT after 2 seconds.
[0048]
This transmission waiting time is a time for confirming that
[0049]
When the transmission standby time has elapsed, the device A transmits the acquired
[0050]
The acquired
[0051]
After transmitting the
[0052]
Note that the master acquisition time is a length that includes a plurality of one cycle in which all devices can transmit data at least once on the network, like the transmission standby time. Therefore, in this embodiment, the master acquisition time is also set to 2 seconds, which is the same as the transmission standby time.
[0053]
When no other device exists on the
[0054]
FIG. 5 is a conceptual diagram illustrating a second example of master device determination according to the present embodiment. In this example, a master setting operation in the case where devices A and B are simultaneously connected on a network where no master device exists is shown. The time progress is shown from left to right in the figure. The network represents the status of data flowing on the network. Moreover, the transmission data is shown on the upper side of the horizontal lines of the devices A and B, and the reception data is shown on the lower side.
[0055]
Further, in this example, the case where the device A and the device B are simultaneously connected to the
[0056]
Which of the devices A and B becomes the master is determined by comparing the priority PR (based on the priority PR of the
[0057]
When the device A and the device B (the
[0058]
Similarly to the example shown in FIG. 4, the devices A and B start measuring the time corresponding to the transmission standby time after completing the communication preparation. In FIG. 5, since the acquired
[0059]
When it is determined that there is no master device on the network, at the packet transfer start timing PTa (PTb) two seconds after the communication preparation completion timing CRa (CRb), the device A (device B) transfers the acquired
[0060]
After transmitting the
[0061]
Since the priority PR of the device B included in the received acquired
[0062]
Since the priority PR of the device A included in the received acquired
[0063]
As described above, when a plurality of devices are connected to the
[0064]
FIG. 6 is a conceptual diagram illustrating a third example of master device determination according to the present embodiment. This example shows the operation of the device B newly connected to the network when the master device A is already connected to the network. The time progress is shown from left to right in the figure. The network represents the status of data flowing on the network.
[0065]
When the device B (the
[0066]
When the communication preparation is completed, the device B starts measuring the transmission standby time for stopping the transmission process for 2 seconds from the communication preparation completion timing CR. In this example, since the device A is already functioning as a master, the
[0067]
When the
[0068]
Thereafter, the device B transmits to the
[0069]
In the conventional apparatus, when a new device is connected to the network, for example, priority comparison as shown in FIG. 5 is performed each time. In this third master setting example, the master has already been set. In this case, the new device is always automatically set as a slave even if the priority of the new device is higher than the priority of the current master.
[0070]
In this way, even if a new device (the
[0071]
FIG. 7 is a conceptual diagram illustrating an example of communication of setting information 23 according to the present embodiment. In this example, a device A set as a master, a device B set as a slave, and a device C are connected to the network. The time progress is shown from left to right in the figure. The network represents the status of data flowing on the network. Moreover, the upper side of each horizontal line of apparatus A, apparatus B, and apparatus C shows transmission data, and the lower side shows reception data. Further, it is assumed that the data transmission order is determined as device A-device B-device C. .
[0072]
Here, the setting information 23 is data with low priority (transmitted at a low communication rate) other than data with high priority (transmitted at a high communication rate) such as audio digital data. For example,
[0073]
The device A starts transmission of the setting information 23a that is data to be transmitted (setting information 23a1 that is the first half of the information) at the packet transfer start timing PT1. The transmission of the setting information 23a is continued until the transmission time ST1 of the
[0074]
The transmission time ST of the start data 24 is determined based on the data to be transmitted and the transmission time TT that is the time required for transmission of the start data 24 and the set advance time, as will be described later. That is, the transmission time ST is obtained by the current time (timing PT) + the transmission time TT−the advance time (20 ms).
[0075]
Here, the advance time is a time for raising the transmission time of the start data 24 in consideration of the delay time in the network, and is set to 20 ms which is the same as the delay time in this embodiment. By transmitting the start data 24 earlier than the scheduled packet transfer end time by an advance time equal to the delay time, the device that starts transmission next will immediately receive a packet immediately after the end of the packet transfer of the previously transmitting device. You can start the transfer. Thus, by considering the delay time on the network in advance, the state where no data flows on the network can be reduced as much as possible.
[0076]
When the device B receives the
[0077]
When the device C receives the
[0078]
When the
[0079]
The next start waiting time is a specific length of time provided from timing ER3 at which transmission for one cycle ends (start
[0080]
When the next start waiting time elapses, the master device A resumes transfer of the start data 24A including the
[0081]
As described above, the next transmitting device can start transmitting the setting information 23n to be transmitted by itself before completing the reception of the setting information 23n-1 transmitted by the previous transmitting device. .
[0082]
In this embodiment, considering the delay time on the network, the transmission time ST of the start data 24 that instructs the next device to start transmission is advanced, so even if transmission is started before reception is completed, It is possible to reduce the state in which there is no setting information 23 on the network while avoiding the appearance of setting information 23 transmitted by two or more devices on the network at a time.
[0083]
FIG. 8 is a flowchart showing the main processing according to this embodiment. This main process starts when the communication management function setting device (
[0084]
In step SA1, the main process is started, and in step SA2, initial setting is performed so that communication can be started. In other words, processing related to communication such as transmission data accumulation, transmitter packetization, packet transmission, and reception packet cancellation can be started. At this time, the reception process shown in FIG. 10 is started. In the transmission process shown in FIG. 9, the transmission standby time shown in FIGS. 4 to 6 is started and the transmission is stopped (standby).
[0085]
In step SA3, it is determined whether or not a time corresponding to the transmission standby time has elapsed. When the time corresponding to the transmission standby time has elapsed, the process proceeds to Step SA7 indicated by an arrow of YES, and when it has not elapsed, the process proceeds to Step SA4 indicated by an arrow of NO.
[0086]
In step SA4, it is determined whether or not the order data 21 (FIG. 6) has been received from the
[0087]
In step SA5, it waits for the next start waiting time shown in FIG. 7 to arrive, and when the next start waiting time arrives, the
[0088]
Steps SA5 and SA6 are processes when operating as a slave. The following steps SA7 to SA12 are processes when operating as a master.
[0089]
In step SA7, the
[0090]
In step SA9, the priority PR of the own device is compared with the priority PR of other devices included in the received acquired
[0091]
In step SA11, it is determined whether or not the time corresponding to the master acquisition time shown in FIGS. 4 and 5 has elapsed. If the master acquisition time has not elapsed, the process returns to step SA8 indicated by the NO arrow to prepare for reception of
[0092]
Steps SA13 to SA15 are common processes performed in both master setting and slave setting.
[0093]
In step SA13, it is determined whether or not the setting state (state data 18) of the own device has been changed. The setting state of the own device naturally includes setting of the connected amplifier and the like. If changed, the process proceeds to step SA14 indicated by an arrow “YES”, and if not changed, the process proceeds to step SA15 indicated by an arrow “NO”.
[0094]
In step SA14, change data representing the content of the change is created and placed in transmission standby. The change data put on standby for transmission is transmitted to the network by a transmission process shown in FIG. 9 described later.
[0095]
In step SA15, it is determined whether or not the
[0096]
FIG. 9 is a flowchart showing the transmission process of the setting information 23 and the MIDI data according to this embodiment. This process is an interrupt process activated in accordance with the communication rate of the setting information and MIDI data. This transmission process is, for example, a process performed by the devices A to C (the
[0097]
In step SB1, transmission processing is started. In step SB2, it is determined whether or not a new instruction to start data transmission has been issued. When the slave is set, it is determined that the start is instructed when the start data 24 representing the transmission order of the own device is received. When set to the master, the
[0098]
In step SB3, a transmission time TT (FIG. 7) is calculated from the amount of data to be transmitted. The data to be transmitted is all data waiting for transmission, for example,
The transmission time TT includes the time taken to transmit the start data 24. In step SB4, the transmission time ST of the start data 24 is determined from the transmission time TT calculated in step SB3 and the advance time (FIG. 7). The transmission time ST is obtained by the current time (timing PT in FIG. 7) + transmission time TT−advance time (20 ms). In step SB5, transmission of data to be transmitted is started (permitted).
[0099]
In step SB6, it is determined whether or not transmission is permitted, that is, whether or not transmission is started (permitted) in step SB5. If the process proceeds from step SB2 to step SB6, transmission is not permitted, so the process proceeds to step SB12 indicated by a NO arrow, and the transmission process at the current interrupt timing ends. If the process proceeds from step SB5 to this step SB6, since transmission is permitted, the process proceeds to step SB7 indicated by a YES arrow.
[0100]
In step SB7, it is determined whether or not the transmission time ST determined in step SB4 has arrived. If the transmission time ST has arrived, the process proceeds to step SB8 indicated by a YES arrow. When the determined transmission time ST is a time past the packet transfer start time PT as in the data transmission example of the device B in FIG. 7, the start data 24 (or order data) is preceded by the data to be transmitted. 21) is transmitted. If the transmission time ST has not arrived, the process proceeds to step SB9 indicated by a NO arrow.
[0101]
In step SB8, transmission of data (setting information 23) to be transmitted by the own device is temporarily stopped, start data 24 (or order data 21) for instructing transmission to the next device is created and transmitted to the network. To do. When the slave is set, the next device in the next order is instructed to start, or if the own device is the last device in one cycle, start
[0102]
In step SB9, the setting information 23 which is data to be transmitted is sequentially transmitted to the network. In step SB10, it is determined whether or not transmission of data to be transmitted has been completed. When the transmission is completed, the process proceeds to step SB11 indicated by an arrow of YES, and data transmission is stopped (prohibited). If the transmission has not been completed, the process proceeds to step SB12, and the transmission process at the current interrupt timing is terminated. Each time the processing of FIG. 9 is started, a part of the setting information 23 is transmitted to the network until all the setting information 23 that is data to be transmitted is transmitted.
[0103]
FIG. 10 is a flowchart showing the reception process of the setting information 23 and the MIDI data according to this embodiment. This process is an interrupt process activated in accordance with the communication rate of the setting information and MIDI data. This reception process is, for example, a process performed by the devices A to C (the
[0104]
In step SC1, reception processing is started, and in step SC2, it is determined whether change data or MIDI data has been received. If received, the process proceeds to step SC3 indicated by a YES arrow, and if not received, the process proceeds to step SC4 indicated by a NO arrow.
[0105]
In step SC3, when it is the change data that has been confirmed to be received in step SC2, the equivalent part of the
[0106]
In step SC4, it is determined whether or not this communication management function setting device (
[0107]
The following steps SC5 to SC10 are processes as slaves, and steps SC11 to SC15 are processes as masters.
[0108]
In step SC5, it is determined whether or not start data 24 (FIG. 7) indicating the order of the own device has been received. When the start data 24 is received, the process proceeds to step SC6 indicated by a YES arrow. If not, the process proceeds to step SC7 indicated by a NO arrow.
[0109]
In step SC6, the start of data transmission is instructed to the transmission process (step SB2) shown in FIG. In step SC7, it is determined whether or not the order data 21 (FIG. 6) has been received. If the
[0110]
In step SC8, the
[0111]
In step SC10, since the
[0112]
In step SC11, it is determined whether or not start data indicating the end of transmission for one cycle (for example, start
[0113]
In step SC13, when the time for the next start waiting time is measured, it is determined whether or not the next start waiting time has elapsed. If the time corresponding to the next start waiting time has elapsed, the process proceeds to step SC14 indicated by the YES arrow, and if not, the process proceeds to step SC16 indicated by the NO arrow, and the reception process at the current timing is terminated.
[0114]
In step SC14, new order data 21 (FIG. 6) is created, and the created
[0115]
In step SC15, the timing of the next start waiting time is finished, and in step SC16, the reception process at the current timing is finished.
[0116]
FIG. 11 is a flowchart showing a main data (audio digital data) transmission process according to this embodiment. This process is an interrupt process activated according to the communication rate of main data (audio digital data). That is, in order to perform audio data communication with higher priority than other data communication, the interrupt cycle is set to a time interval that is extremely shorter than the transmission process of FIG. 9 and the reception process of FIG.
[0117]
FIG. 11A is a flowchart showing a main data (audio digital data) transmission process performed by the
[0118]
In step SD1, transmission processing is started, and in step SD2, the audio digital data held in step SF2 described later is transmitted to the
[0119]
FIG. 11B is a flowchart showing a main data (audio digital data) transmission process performed by the
[0120]
In step SE1, transmission processing is started, and in step SE2, the held audio digital data is converted into audio analog data (analog audio signal) in step SG2, which will be described later, and output to the amplifier 5. Then, it progresses to step SE3 and complete | finishes the transmission process in this timing.
[0121]
FIG. 12 is a flowchart showing reception processing of main data (audio digital data) according to this embodiment. This process is an interrupt process activated according to the communication rate of main data (audio digital data). That is, in order to perform audio data communication with higher priority than other data communication, the interrupt cycle is set to a time interval that is extremely shorter than the transmission process of FIG. 9 and the reception process of FIG.
[0122]
FIG. 12A is a flowchart showing a main data (audio digital data) reception process performed by the
[0123]
In step SF1, reception processing is started, and in step SF2, audio digital data received (input) from an external device (music data output device 4) is held in a temporary storage area such as the
[0124]
FIG. 12B is a flowchart showing a main data (audio digital data) reception process performed by the
[0125]
In step SG1, reception processing is started, and in step SG2, the audio digital data transmitted in step SD2 is received from the
[0126]
As described above, according to the present embodiment, since each device holds the setting state of each device connected to the network, it is possible to quickly confirm desired data regarding all devices. In addition, the setting status of all devices can be quickly confirmed from any device on the network.
[0127]
Further, according to the present embodiment, even when the setting is changed, only the changed data can be transmitted / received via the
[0128]
Further, according to the present embodiment, when the master that manages the transmission order of each device already exists on the network, the master acquisition operation is not performed, so that it is possible to prevent the master from being changed frequently.
[0129]
Therefore, transmission / reception of data for acquiring a master associated with the master change is unnecessary, and obstruction of communication of other information occurring during that time can be prevented.
[0130]
Further, according to the present embodiment, the start time instructing the start of transmission of the next device can be transmitted earlier than the end of data transmission by using the delay time associated with network communication as the advance time in advance. .
[0131]
Therefore, the time during which no data flows on the network can be extremely shortened, and data communication can be performed efficiently even in an environment where the communication rate is low.
[0132]
In the embodiment, the functions of the
[0133]
Further, since the transmission standby time and the master acquisition time only have to be a time length including one cycle for a plurality of times, the transmission standby time and the master acquisition time are not limited to predetermined values (for example, 2 seconds), It may be set by the amplifier controller 3), or the master device monitors the communication state, and if the communication state is bad, the time is lengthened, for example, so that it is dynamically changed (according to the communication state). May be.
[0134]
Further, in the embodiment, when a plurality of acquired data appears on the network, the higher priority is adopted, but it is sufficient that any one device can be set as a master, and priority of each device is set. For example, it is possible to adopt a method of adopting acquired data of a device connected to a good place on a communication line, or a method of manually selecting one using a computer PC, an amplifier 5 or various controllers.
[0135]
In the embodiment, the advance time is set to the same length as the transmission delay time, but a time substantially the same as the transmission delay time may be set. For example, a method of changing the advance time by following a delay time that changes in accordance with the communication state, or a method of manually setting and changing using the computer PC, the amplifier 5 or various controllers can be considered.
[0136]
Further, only main data (audio data, etc.) is communicated at a high speed separately from other data (setting information 23 and MIDI data), but all data for reproducing musical sounds are communicated at a high speed. It may be. For example, a packet containing MIDI data may be communicated at the same speed as audio data.
[0137]
The communication interface is connected to a communication network such as a LAN, the Internet, or a telephone line, and is connected to the server computer via the communication network. When the control program and various data are not stored in the external storage device, it is used for downloading the program and data from the server computer.
[0138]
Although the present invention has been described with reference to the embodiments, the present invention is not limited thereto. It will be apparent to those skilled in the art that various modifications, improvements, combinations, and the like can be made.
[0139]
【The invention's effect】
As described above, according to the present invention, it is possible to prevent the master that manages communication of all devices connected to the network from being frequently changed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a network configuration of a communication management function setting system 1 according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a hardware configuration of a communication management function setting device (a
FIG. 3 is a conceptual diagram showing a configuration of
FIG. 4 is a conceptual diagram illustrating a first example of master device determination according to the present embodiment.
FIG. 5 is a conceptual diagram illustrating a second example of master device determination according to the present embodiment.
FIG. 6 is a conceptual diagram illustrating a third example of master device determination according to the embodiment.
FIG. 7 is a conceptual diagram illustrating an example of communication of setting information 23 according to the present embodiment.
FIG. 8 is a flowchart showing main processing according to the present embodiment.
FIG. 9 is a flowchart showing a transmission process of setting information 23 and MIDI data according to the embodiment.
FIG. 10 is a flowchart showing a reception process of setting information 23 and MIDI data according to the embodiment.
FIG. 11 is a flowchart showing a transmission process of main data (audio digital data) according to the embodiment.
FIG. 12 is a flowchart showing reception processing of main data (audio digital data) according to the embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Communication management function setting system, 2 ... Generation source controller, 3 ... Amplifier controller, 4 ... Generation source, 5 ... Amplifier, 6 ... Communication network, 7 ... Bus, 8 ... ROM, 9 ... RAM, 10 ... CPU, 11 ... Timer, 12 ... Detection circuit, 13 ... Operator, 14 ... Display circuit, 15 ... Display unit, 16 ... Communication interface, 20 ... Acquisition data, 21 ... Order data, 22 ... Participation data, 23 ... Setting information, 24 ... Start data
Claims (2)
前記ネットワークに接続するための通信手段と、
前記通信手段の通信準備の完了後に、第1の所定時間を計時する計時手段と、
前記第1の所定時間の間に前記ネットワーク上に通信管理を行うマスタがいることを確認するマスタ確認手段と、
前記確認手段が、マスタがいることを確認した場合は、自機を前記マスタに管理されるスレーブに設定するスレーブ設定手段と、
前記マスタ確認手段が、マスタがいることを確認できなかった場合に機能する、自機が通信管理を行うマスタになることを要求するマスタ獲得要求手段と、
前記マスタ獲得要求手段がマスタになることを要求した場合において、さらに、前記通信手段が他の装置からのマスタになることの要求を受信した場合に、前記他の装置との優先度を比較する比較手段と、
前記比較手段が自機の優先度が前記他の装置の優先度よりも低いと判断した場合に、前記マスタ獲得要求手段の要求を停止する一方、前記比較手段が自機の優先度が前記他の装置の優先度よりも高いと判断した場合に、前記マスタ獲得要求手段の要求を継続させるマスタ獲得継続手段と、
前記マスタ獲得要求手段がマスタになることを要求した場合に、前記要求が第2の所定時間継続したら自機をマスタに設定するマスタ設定手段と、
前記マスタ設定手段により自機がマスタに設定された場合に、前記ネットワークは前記制御データの伝送にかかる通信管理を行うために、前記ネットワークに接続された前記複数の装置の送信順序を規定する順番データを作成する順番データ作成手段と、
前記マスタに設定された装置が作成した順番データにて規定された自機の送信タイミングにおいて、前記ネットワークに接続された他の装置に対して前記ネットワークの一部の帯域を使用して、前記オーディオ伝送よりも低い通信レートで前記制御データを伝送する制御データ送信手段と、
他の装置が前記ネットワークに伝送した前記制御データを該ネットワークから受信して記憶手段に記憶させる制御データ管理手段と
を有する通信管理機能設定装置。A communication management function setting device in an audio transmission network configured by a plurality of devices connected to an audio transmission network and communicating control data using a part of a band between audio transmissions in the network,
Communication means for connecting to the network;
Clocking means for clocking a first predetermined time after completion of communication preparation of the communication means;
Master confirmation means for confirming that there is a master performing communication management on the network during the first predetermined time;
When the confirmation means confirms that there is a master, slave setting means for setting the own device as a slave managed by the master; and
Master acquisition requesting means for functioning when the master confirmation means cannot confirm that there is a master, requesting that the own apparatus becomes a master for communication management;
When the master acquisition request means requests to become a master, and further when the communication means receives a request to become a master from another apparatus, it compares the priority with the other apparatus. A comparison means;
When the comparison unit determines that the priority of the own device is lower than the priority of the other device, the request of the master acquisition request unit is stopped, while the comparison unit determines that the priority of the own device is the other device. Master acquisition continuation means for continuing the request of the master acquisition request means when it is determined that the priority is higher than the priority of the device;
When the master acquisition request means requests to become a master, master setting means for setting the own apparatus as a master if the request continues for a second predetermined time; and
An order that defines the transmission order of the plurality of devices connected to the network in order for the network to manage communication related to transmission of the control data when the master is set as a master by the master setting means Order data creation means for creating data;
At the transmission timing of the own device specified by the order data created by the device set as the master, the audio is transmitted using another band of the network with respect to another device connected to the network. Control data transmitting means for transmitting the control data at a communication rate lower than transmission;
A communication management function setting device comprising control data management means for receiving the control data transmitted from the other device to the network from the network and storing the control data in the storage means.
前記ネットワークに接続するための通信手順と、
前記通信手順の通信準備の完了後に、第1の所定時間を計時する計時手順と、
前記第1の所定時間の間に前記ネットワーク上に通信管理を行うマスタがいることを確認するマスタ確認手順と、
前記確認手順が、マスタがいることを確認した場合は、自機を前記マスタに管理されるスレーブに設定するスレーブ設定手順と、
前記マスタ確認手順が、マスタがいることを確認できなかった場合に機能する、自機が通信管理を行うマスタになることを要求するマスタ獲得要求手順と、
前記マスタ獲得要求手順がマスタになることを要求した場合において、さらに、前記通信手順が他の装置からのマスタになることの要求を受信した場合に、前記他の装置との優先度を比較する比較手順と、
前記比較手順が自機の優先度が前記他の装置の優先度よりも低いと判断した場合に、前記マスタ獲得要求手順の要求を停止する一方、前記比較手順が自機の優先度が前記他の装置の優先度よりも高いと判断した場合に、前記マスタ獲得要求手順の要求を継続させるマスタ獲得継続手順と、
前記マスタ獲得要求手順がマスタになることを要求した場合に、前記要求が第2の所定時間継続したら自機をマスタに設定するマスタ設定手順と、
前記マスタ設定手順により自機がマスタに設定された場合に、前記ネットワークは前記制御データの伝送にかかる通信管理を行うために、前記ネットワークに接続された前記複数の装置の送信順序を規定する順番データを作成する順番データ作成手順と、
前記マスタに設定された装置が作成した順番データにて規定された自機の送信タイミングにおいて、前記ネットワークに接続された他の装置に対して前記ネットワークの一部の帯域を使用して、前記オーディオ伝送よりも低い通信レートで前記制御データを伝送する制御データ送信手順と、
他の装置が前記ネットワークに伝送した前記制御データを該ネットワークから受信して記憶手段に記憶させる制御データ管理手順と
を有する通信管理機能設定プログラム。Communication management function setting executed by the device in the audio transmission network configured by a plurality of devices connected to the audio transmission network and communicating control data using a part of the band between audio transmissions in the network A program,
A communication procedure for connecting to the network;
A timing procedure for timing a first predetermined time after completion of communication preparation of the communication procedure;
A master confirmation procedure for confirming that there is a master performing communication management on the network during the first predetermined time;
When the confirmation procedure confirms that there is a master, a slave setting procedure for setting the own device as a slave managed by the master;
The master acquisition request procedure that functions when the master confirmation procedure fails to confirm that there is a master, and requests that the own device become a master that performs communication management;
When the master acquisition request procedure requests to become a master, and further when the communication procedure receives a request to become a master from another device, the priority is compared with the other device. Comparison procedure and
When the comparison procedure determines that the priority of the own device is lower than the priority of the other device, the request for the master acquisition request procedure is stopped, while the comparison procedure determines that the priority of the own device is the other device. A master acquisition continuation procedure for continuing the request of the master acquisition request procedure when it is determined that the priority of the device is higher than
When the master acquisition request procedure requests to become a master, if the request continues for a second predetermined time, a master setting procedure for setting the own device as a master;
An order that defines the transmission order of the plurality of devices connected to the network in order to perform communication management related to transmission of the control data when the own apparatus is set as a master by the master setting procedure. Order data creation procedure to create data,
At the transmission timing of the own device specified by the order data created by the device set as the master, the audio is transmitted using another band of the network with respect to another device connected to the network. A control data transmission procedure for transmitting the control data at a communication rate lower than the transmission;
A communication management function setting program comprising: a control data management procedure for receiving the control data transmitted from another device to the network from the network and storing the control data in a storage unit.
Priority Applications (9)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002118104A JP3960110B2 (en) | 2002-04-19 | 2002-04-19 | Communication management function setting device and program |
EP03008591A EP1355457B1 (en) | 2002-04-19 | 2003-04-14 | Communication management system and apparatus |
EP04101434A EP1450528B1 (en) | 2002-04-19 | 2003-04-14 | Communication management apparatus |
DE60308808T DE60308808T2 (en) | 2002-04-19 | 2003-04-14 | Device for communication management |
DE60308809T DE60308809T2 (en) | 2002-04-19 | 2003-04-14 | Device for communication management |
DE60306018T DE60306018T2 (en) | 2002-04-19 | 2003-04-14 | System and device for communication management |
EP04101430A EP1450527B1 (en) | 2002-04-19 | 2003-04-14 | Communication management apparatus |
US10/417,615 US7443806B2 (en) | 2002-04-19 | 2003-04-17 | Communication management apparatus and method for an audio data communication management system |
US12/038,788 US7990890B2 (en) | 2002-04-19 | 2008-02-27 | Communication management apparatus and method for an audio data communication management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002118104A JP3960110B2 (en) | 2002-04-19 | 2002-04-19 | Communication management function setting device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003318910A JP2003318910A (en) | 2003-11-07 |
JP3960110B2 true JP3960110B2 (en) | 2007-08-15 |
Family
ID=29535103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002118104A Expired - Fee Related JP3960110B2 (en) | 2002-04-19 | 2002-04-19 | Communication management function setting device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3960110B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100689469B1 (en) * | 2003-10-14 | 2007-03-08 | 삼성전자주식회사 | Method for Real-Time Multimedia Data Transmission in Ethernet Network |
JP4622682B2 (en) * | 2005-05-31 | 2011-02-02 | ヤマハ株式会社 | Electronic musical instruments |
-
2002
- 2002-04-19 JP JP2002118104A patent/JP3960110B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003318910A (en) | 2003-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7990890B2 (en) | Communication management apparatus and method for an audio data communication management system | |
CN103165169B (en) | Usb audio during to the self adaptation etc. of RF communicator | |
JP5076413B2 (en) | Network system and acoustic signal processing apparatus | |
EP1102427A2 (en) | Method and apparatus for determining the transmission/reception status of communication nodes in a communication network | |
JP3900522B2 (en) | Command synchronization establishment system and method | |
JP2008072347A (en) | Network system and acoustic signal processing apparatus | |
JP2005064880A (en) | Program for setting connection | |
JP3960109B2 (en) | State management system, apparatus, and program | |
JP3960110B2 (en) | Communication management function setting device and program | |
JP3960111B2 (en) | Transmission start control device and program | |
JP6271113B1 (en) | Time synchronization slave device and communication control method | |
US7944937B2 (en) | Data transmission apparatus efficiently using network resources | |
JP3915587B2 (en) | Communication control device and communication control program | |
JP5045728B2 (en) | Communication node | |
JP4337899B2 (en) | Audio network system | |
JP2005024689A (en) | Music playback device and its performance waiting information notifying system | |
JP4139817B2 (en) | Data transfer device and program | |
JP3951749B2 (en) | Data communication device | |
JP3716845B2 (en) | Signal processing device connected to network | |
JP3228413B2 (en) | Serial data communication device and communication method | |
JP2001028587A (en) | Communication system | |
JP2005070975A (en) | Repeater system and control system | |
JP2005346448A (en) | Communication system, communication equipment included in its system, and program for allowing computer to function as communication equipment | |
JPH10233805A (en) | Data repeating installation, network system including the installation and data transmission method | |
JP2002099505A (en) | Method and device for communicating plural word digital message by isochronous signal processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041102 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061114 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070115 |
|
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: 20070424 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070507 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110525 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130525 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140525 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |