JP5054993B2 - Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network - Google Patents

Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network Download PDF

Info

Publication number
JP5054993B2
JP5054993B2 JP2007030247A JP2007030247A JP5054993B2 JP 5054993 B2 JP5054993 B2 JP 5054993B2 JP 2007030247 A JP2007030247 A JP 2007030247A JP 2007030247 A JP2007030247 A JP 2007030247A JP 5054993 B2 JP5054993 B2 JP 5054993B2
Authority
JP
Japan
Prior art keywords
clock
master
reception buffer
slave
channel
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.)
Active
Application number
JP2007030247A
Other languages
Japanese (ja)
Other versions
JP2008199160A (en
Inventor
松本  剛
健一 石川
功 沢井
紀子 山口
信一 伊勢谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007030247A priority Critical patent/JP5054993B2/en
Publication of JP2008199160A publication Critical patent/JP2008199160A/en
Application granted granted Critical
Publication of JP5054993B2 publication Critical patent/JP5054993B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、同期通信網でマルチフレームデータを同期伝送するレガシー多重通信装置を非同期通信網であるIP通信網に接続してレガシー機器間で通信するための同期非同期通信網の変換装置、方法、プログラム、記録媒体及び通信システムに関し、特に外部的な網同期を取ることなく非同期通信網を介して同期通信網のレガシー多重通信装置間でマルチフレームデータを通信するための同期非同期通信網の変換装置、方法、プログラム、記録媒体及び通信システムに関する。
The present invention relates to a synchronous asynchronous communication network conversion apparatus and method for connecting a legacy multiplex communication apparatus that synchronously transmits multiframe data in a synchronous communication network to an IP communication network that is an asynchronous communication network and communicating between legacy devices, Patent application title: PROGRAM, RECORDING MEDIUM, AND COMMUNICATION SYSTEM, CONVERSION DEVICE FOR SYNCHRONIZATION AND ASYNCHRONOUS COMMUNICATION NETWORK FOR COMMUNICING MULTI-FRAME DATA BETWEEN LAST MULTIPLE COMMUNICATION DEVICES OF SYNCHRONIZATION COMMUNICATION NETWORK WITHOUT SYNC , Method, program, recording medium, and communication system.

従来、レガシー機器と同期通信網により構成される通信設備が存在しており、主に光ファイバーで同期通信網を構築し、回線交換に使用する2.048Mbpsや1.544Mbps等の多重伝送装置を収容し、クロック信号に同期して複数チャネルのマルチフレームデータを伝送するレガシーデータ通信を行っている。   Conventionally, there is a communication facility consisting of legacy equipment and a synchronous communication network. A synchronous communication network is mainly constructed with optical fibers, and multiple transmission devices such as 2.048 Mbps and 1.544 Mbps used for circuit switching are accommodated. In addition, legacy data communication for transmitting multi-channel data of a plurality of channels in synchronization with a clock signal is performed.

このような同期通信網のレガシー多重伝送装置にあっては、相手装置の受信データから同期クロックを抽出することで、相互間でクロックに同期したデータ通信を行っている。   In the legacy multiplex transmission device of such a synchronous communication network, data communication synchronized with the clock is performed between each other by extracting the synchronous clock from the received data of the counterpart device.

しかしながら、従来のレガシー機器と同期通信網により構成される通信設備については、非同期通信網であるインターネットプロトコルネットワーク(以下「IP通信網」という)への変更が望まれている。これは光ファイバーによる通信インフラを、製品の製造販売が既に終わっているために高額となっている特殊なレガシー機器しか端末として接続できない同期通信網として使用するよりも、IP通信網とすることの方が、接続できる機器が飛躍的に増大し、機器のコストも下がるため、近年の主流となっている。
特開平9−252292号公報 特開2002−217945号公報
However, with regard to communication equipment configured with conventional legacy devices and synchronous communication networks, a change to an Internet protocol network (hereinafter referred to as “IP communication network”), which is an asynchronous communication network, is desired. This is because the optical fiber communication infrastructure is used as an IP communication network rather than a synchronous communication network in which only special legacy equipment, which is expensive due to the end of manufacture and sale of products, can be connected as a terminal. However, since the number of devices that can be connected has increased dramatically and the cost of the devices has decreased, it has become the mainstream in recent years.
JP-A-9-252292 JP 2002-217945 A

しかしながら、新設の光ファイバーの場合は問題ないが、既に大量のレガシー機器を接続した既設の同期通信網、例えば高速道路に沿って幹線光ファイバーケーブルを設置した通信設備の場合、同期通信網を非同期通信網であるIP通信網に変更することは、既存の同期通信端末である回線交換などに使用するレガシー多重伝送装置が全て使用不可能となるため、その実現が非常に困難となっている。   However, in the case of a newly installed optical fiber, there is no problem, but in the case of an existing synchronous communication network in which a large amount of legacy equipment is already connected, for example, a communication facility in which a trunk optical fiber cable is installed along a highway, the synchronous communication network is changed to an asynchronous communication network. It is very difficult to change to the IP communication network, because all legacy multiplex transmission devices used for circuit switching, which are existing synchronous communication terminals, cannot be used.

即ち、同期通信網であれば伝送データから同期クロックを抽出できるが、IP通信網の場合、完全非同期通信網のためデータから同期クロックは抽出できず、同期クロックを必要とするレガシー多重伝送装置の同期通信ができない。   In other words, a synchronous clock can be extracted from transmission data in a synchronous communication network. However, in the case of an IP communication network, a synchronous clock cannot be extracted from data because it is a completely asynchronous communication network. Synchronous communication is not possible.

またIP通信網の場合、一定の間隔でデータを送信しても通信網の遅延やゆらぎ等のため、一定の問隔でデータを受信することができず、このような通信状況からIP通信網を経由して安定した同期通信を行うことは非常に困難である。仮に、IP通信網を経由してレガシー同期通信を実現したとしても、定常的に同期外れによる伝送エラーが発生するか、クロック制御が常時頻繁に発生し、安定動作に至らない。   In the case of an IP communication network, even if data is transmitted at regular intervals, data cannot be received at regular intervals due to delays or fluctuations in the communication network. It is very difficult to perform stable synchronous communication via the Internet. Even if legacy synchronous communication is realized via an IP communication network, a transmission error due to loss of synchronization regularly occurs or clock control occurs frequently frequently, and stable operation is not achieved.

このため従来のレガシー機器間の同期通信をIP通信網で実現する場合、対向するレガシー機器がIP通信網の外部で網同期が取れていることを前提としており、IP通信網のみでレガシー機器間の同期通信を実現することは困難であった。   For this reason, when realizing synchronous communication between legacy devices in the IP communication network, it is assumed that the opposing legacy device is synchronized outside the IP communication network, and only between the IP communication network and the legacy device. It was difficult to realize the synchronous communication.

特に、クロック信号に同期して複数チャネルのマルチフレームデータを伝送する回線交換に使用しているレガシー多重通信装置間の同期通信をIP通信網で実現する場合、マルチフレームデータをチャネル分散したIPパケットとしてIP通信網に送出しているため、IPパケットの受信状態はチャネル毎にランダムとなり、IP通信網だけでは同期の確保が困難であり、IP通信網の外部の網同期によりチャネル単位に同期をとらなければならず、そのためIP通信網への変更を更に困難なものとしている。   In particular, when realizing synchronous communication between legacy multiplex communication devices used for circuit switching for transmitting multi-frame data of a plurality of channels in synchronization with a clock signal in an IP communication network, an IP packet in which multi-frame data is distributed in channels. As the IP packet is sent to the IP communication network, the reception state of the IP packet is random for each channel, and it is difficult to ensure synchronization only by the IP communication network, and synchronization is performed in units of channels by network synchronization outside the IP communication network. Therefore, the change to the IP communication network is made more difficult.

本発明は、外部の網同期を必要とすることなく同期通信網による複数チャネルのマルチフレームデータをチャネル分散によりIP通信網に伝送して同期多重通信装置間の安定した同期通信を実現する同期非同期通信網の変換装置、方法、プログラム、記録媒体及び通信システムを提供することを目的とする。
The present invention provides a synchronous asynchronous system that realizes stable synchronous communication between synchronous multiplex communication apparatuses by transmitting multi-frame data of a plurality of channels by a synchronous communication network to an IP communication network by channel distribution without requiring external network synchronization. It is an object of the present invention to provide a communication network conversion device, method, program, recording medium, and communication system.

(装置)
本発明は、同期非同期通信網の変換装置を提供する。本発明は、クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる同期非同期通信網の変換装置に於いて、
同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の主従関係を設定し、第1及び第2クロックスレーブを設定した変換装置はクロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、第2クロックスレーブを設定した変換装置は第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
非同期通信網からチャネル分散された非同期データを受信して受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換部と、
クロックマスタの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、可変クロック部を所定の中心周波数foに固定して起動させるクロックマスタ同期制御部と、
第1クロックスレーブの設定状態で有効となり、第1マスタチャネルの各受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量をセンタ値に安定するように可変クロック部のクロック周波数を制御して、クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御部と、
第2クロックスレーブの設定状態で有効となり、第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量を、センタ値に安定するように可変クロック部のクロック周波数を制御して、第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御部と、
を備えたことを特徴とする。
(apparatus)
The present invention provides a conversion device for a synchronous asynchronous communication network. The present invention is inserted and connected between a synchronous multiplex communication apparatus that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that asynchronously transfer data, and a plurality of synchronous multiplex In a synchronous / asynchronous communication network converter for transferring data between communication devices,
Three sets of synchronous multiplex communication device and conversion device are grouped as one group, the master-slave relationship of clock synchronization of either clock master, first clock slave or second clock slave is set, and first and second clock slaves are set The conversion device sets a specific one channel among the assigned channels from the conversion device that has set the clock master as the first master channel, and the conversion device that sets the second clock slave starts from the conversion device that sets the first clock slave. A master / slave setting unit for setting a specific one of the assigned channels as the second master channel;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
A transmission converter that generates multi-frame data received from a synchronous multiplex communication apparatus and distributes the multi-frame data to each transmission buffer and then generates asynchronous transmission data from transmission buffer data and transmits the data to the asynchronous communication network at regular intervals. When,
Asynchronous data channel-distributed from the asynchronous communication network is received and accumulated in the reception buffer, and multi-frame data is generated from the accumulation data in the reception buffer in synchronization with the clock signal of the variable clock unit and transmitted to the synchronous multiplex communication device. A reception conversion unit;
A clock that is valid in the setting state of the clock master and is activated when the variable clock unit is fixed at a predetermined center frequency fo when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value. A master synchronization control unit;
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in each reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A first clock slave synchronization control unit for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value later, and synchronizing the clock with another conversion device in the setting state of the clock master;
It becomes effective in the setting state of the second clock slave, and when the reception buffer amount accumulated in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A second clock slave synchronization control unit configured to control the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value, and to synchronize the clock with another conversion device in a setting state of the second clock slave;
It is provided with.

ここで、変換装置の3台を1グループとして複数グループを構築した場合、クロックマスタを設定した変換装置は全グループに対し共通の変換装置として含まれる。   Here, in the case where a plurality of conversion devices are formed as one group, a plurality of groups are constructed, and the conversion device in which the clock master is set is included as a common conversion device for all groups.

第1及び第2クロックスレーブ同期制御部は、
クロック周波数を中心周波数foから起動した後に受信バッファ量Cがバッファ変動許容範囲の上限値Cmaxを超えた場合は所定の最大調整周波数fmaxに変更し、変更後に受信バッファ量Cがセンタ値foに戻った時に最大調整周波数fmaxを中心周波数foに所定のオフセット周波数αを加算した周波数(fo+α)に変更する処理を、オフセット周波数をα,2α,3α,・・・と順次増加させながら繰り返し、
一方、クロック周波数foを中心周波数から起動した後に受信バッファ量Cがバッファ変動許容範囲の下限値Cminを下回った場合は所定の最小調整周波数fminに変更し、変更後に受信バッファ量Cがセンタ値coに戻った時に最小調整周波数fminを、中心周波数foから所定のオフセット周波数αを減算した周波数(fo−α)に変更する処理を、オフセット周波数をα,2α,3α,・・・と順次増加させながら繰り返す。
The first and second clock slave synchronization control units are
If the reception buffer amount C exceeds the upper limit value Cmax of the allowable range of buffer fluctuation after the clock frequency is started from the center frequency fo, it is changed to a predetermined maximum adjustment frequency fmax, and the reception buffer amount C returns to the center value fo after the change. The process of changing the maximum adjustment frequency fmax to the frequency (fo + α) obtained by adding the predetermined offset frequency α to the center frequency fo is repeated while sequentially increasing the offset frequencies as α, 2α, 3α,.
On the other hand, if the reception buffer amount C falls below the lower limit value Cmin of the buffer fluctuation allowable range after the clock frequency fo is started from the center frequency, the reception buffer amount C is changed to the predetermined minimum adjustment frequency fmin. The process of changing the minimum adjustment frequency fmin to the frequency (fo-α) obtained by subtracting the predetermined offset frequency α from the center frequency fo is sequentially increased as α, 2α, 3α,. Repeat while.

本発明の変換装置は、更に、第2クロックスレーブの設定状態で有効となり、第2マスタチャネルのパケット受信密度を測定し、パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、第2マスタチャネルの受信バッファから第1マスタチャネルの受信バッファに切替えるクロックマスタ監視部を設けたことを特徴とする。   The conversion device of the present invention is further effective in the setting state of the second clock slave, measures the packet reception density of the second master channel, and when the abnormality detection state of the packet reception density continues for a predetermined time, the reception buffer amount A clock master monitoring unit is provided for switching the reception buffer for measuring from the reception buffer of the second master channel to the reception buffer of the first master channel.

クロックマスタ監視部は、パケット密度として単位時間に受信されるパケット数を測定する。   The clock master monitoring unit measures the number of packets received per unit time as the packet density.

クロックマスタ監視部は、単位時間T1より短い時間間隔T2で複数のカウンタを順次起動して並列的にパケット数をカウントし、単位時間に達したカウンタのパケット数によりパケット密度を順次更新する。   The clock master monitoring unit sequentially activates a plurality of counters at a time interval T2 shorter than the unit time T1, counts the number of packets in parallel, and sequentially updates the packet density according to the number of packets of the counter reaching the unit time.

クロックマスタ監視部は、パケット受信密度の異常検出により受信バッファに切替えた後、切替後の受信バッファについて測定したパケット受信密度の異常を検出した際に、現在の受信バッファから切替え前の受信バッファに戻す。   The clock master monitoring unit switches from the current reception buffer to the reception buffer before switching when detecting a packet reception density abnormality measured for the reception buffer after switching after switching to the reception buffer by detecting the packet reception density abnormality. return.

クロックマスタ監視部は、パケット受信密度の異常検出により受信バッファに切替えた後、切替前の受信バッファのパケット受信密度の正常検出状態が所定時間継続した際に、現在の受信バッファから切替え前の受信バッファに戻す。   After switching to the reception buffer due to packet reception density abnormality detection, the clock master monitoring unit receives the pre-switching reception from the current reception buffer when the normal detection state of the packet reception density of the reception buffer before switching continues for a predetermined time. Return to buffer.

同期多重通信装置はレガシーインタフェースを備えた機器であり、非同期通信網の機器はIPインタフェースを備えた機器である。   The synchronous multiplex communication device is a device having a legacy interface, and the asynchronous communication network device is a device having an IP interface.

(方法)
本発明は変換装置の変換方法を提供する。本発明は、クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置の変換方法に於いて、
同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して非同期通信網に送信する送信変換ステップと、
非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換ステップと、
クロックマスタの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
第1クロックスレーブの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量をセンタ値に安定するように可変クロック部のクロック周波数を制御して、クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
第2クロックスレーブの設定状態で有効となり、第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量を、センタ値に安定するように可変クロック部のクロック周波数を制御して、第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
を備えたことを特徴とする。
(Method)
The present invention provides a conversion method for a conversion apparatus. The present invention is inserted and connected between a synchronous multiplex communication apparatus that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that asynchronously transfer data, and a plurality of synchronous multiplex In a conversion method of a conversion device for transferring data between communication devices,
Three sets of the synchronous multiplex communication device and the conversion device are grouped as one group, and the clock synchronization dependency of the clock master, the first clock slave or the second clock slave is set, and the first and second clock slaves are set. The converting apparatus sets a specific one channel among the allocated channels from the converting apparatus that has set the clock master as the first master channel, and the converting apparatus that sets the second clock slave sets the first clock slave. A master-slave setting step of setting a specific one channel among the assigned channels from the converted converter as the second master channel;
A transmission conversion step of generating asynchronous transmission data from the accumulated data in the transmission buffer at regular intervals and transmitting it to the asynchronous communication network after the multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer; ,
Asynchronous data distributed from the asynchronous communication network is received and stored in each receive buffer. Multiframe data is generated from the stored data in the receive buffer in synchronization with the clock signal of the variable clock unit, and transmitted to the synchronous multiplex communication device. Receiving conversion step,
The clock master that is enabled in the setting state of the clock master and starts the variable clock unit at a predetermined center frequency when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value. A synchronous control step;
It becomes effective in the setting state of the first clock slave, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A first clock slave synchronization control step of controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with another conversion device in the set state of the clock master;
It becomes effective in the setting state of the second clock slave, and when the reception buffer amount accumulated in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A second clock slave synchronization control step of controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with another conversion device in the setting state of the second clock slave;
It is provided with.

(プログラム)
本発明は変換装置のコンピュータで実行されるプログラムを提供する。本発明のプログラムは、クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置のコンピュータに、
同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して非同期通信網に送信する送信変換ステップと、
非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換ステップと、
クロックマスタの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
第1クロックスレーブの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量をセンタ値に安定するように可変クロック部のクロック周波数を制御して、クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
第2クロックスレーブの設定状態で有効となり、第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量を、センタ値に安定するように可変クロック部のクロック周波数を制御して、第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
を実行させることを特徴とする。
(program)
The present invention provides a program executed by a computer of a conversion apparatus. The program of the present invention is inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network configured by devices that transfer data asynchronously. To a computer of a conversion device that transfers data between synchronous multiplex communication devices,
Three sets of the synchronous multiplex communication device and the conversion device are grouped as one group, and the clock synchronization dependency of the clock master, the first clock slave or the second clock slave is set, and the first and second clock slaves are set. The converting apparatus sets a specific one channel among the allocated channels from the converting apparatus that has set the clock master as the first master channel, and the converting apparatus that sets the second clock slave sets the first clock slave. A master-slave setting step of setting a specific one channel among the assigned channels from the converted converter as the second master channel;
A transmission conversion step of generating asynchronous transmission data from the accumulated data in the transmission buffer at regular intervals and transmitting it to the asynchronous communication network after the multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer; ,
Asynchronous data distributed from the asynchronous communication network is received and stored in each receive buffer. Multiframe data is generated from the stored data in the receive buffer in synchronization with the clock signal of the variable clock unit, and transmitted to the synchronous multiplex communication device. Receiving conversion step,
The clock master that is enabled in the setting state of the clock master and starts the variable clock unit at a predetermined center frequency when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value. A synchronous control step;
It becomes effective in the setting state of the first clock slave, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A first clock slave synchronization control step of controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with another conversion device in the set state of the clock master;
It becomes effective in the setting state of the second clock slave, and when the reception buffer amount accumulated in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A second clock slave synchronization control step of controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with another conversion device in the setting state of the second clock slave;
Is executed.

(記録媒体)
本発明はプログラムを格納した記録媒体を提供する。本発明の記録媒体は、クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置のコンピュータに、
同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して非同期通信網に送信する送信変換ステップと、
非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換ステップと、
クロックマスタの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
第1クロックスレーブの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量をセンタ値に安定するように可変クロック部のクロック周波数を制御して、クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
第2クロックスレーブの設定状態で有効となり、第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を中心周波数に設定して起動し、起動後に受信バッファ量を、センタ値に安定するように可変クロック部のクロック周波数を制御して、第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
第2クロックスレーブの設定状態で有効となり、第2マスタチャネルのパケット受信密度を測定し、パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、第2マスタチャネルの受信バッファから第1マスタチャネルの受信バッファに切替えるクロックマスタ監視ステップと、
を実行させるプログラムを格納したことを特徴とする。
(recoding media)
The present invention provides a recording medium storing a program. The recording medium of the present invention is inserted and connected between a synchronous multiplex communication apparatus that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network configured by devices that transfer data asynchronously. A computer of a conversion device for transferring data between the synchronous multiplex communication devices of
Three sets of the synchronous multiplex communication device and the conversion device are grouped as one group, and the clock synchronization dependency of the clock master, the first clock slave or the second clock slave is set, and the first and second clock slaves are set. The converting apparatus sets a specific one channel among the allocated channels from the converting apparatus that has set the clock master as the first master channel, and the converting apparatus that sets the second clock slave sets the first clock slave. A master-slave setting step of setting a specific one channel among the assigned channels from the converted converter as the second master channel;
A transmission conversion step of generating asynchronous transmission data from the accumulated data in the transmission buffer at regular intervals and transmitting it to the asynchronous communication network after the multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer; ,
Asynchronous data distributed from the asynchronous communication network is received and stored in each receive buffer. Multiframe data is generated from the stored data in the receive buffer in synchronization with the clock signal of the variable clock unit, and transmitted to the synchronous multiplex communication device. Receiving conversion step,
The clock master that is enabled in the setting state of the clock master and starts the variable clock unit at a predetermined center frequency when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value. A synchronous control step;
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A first clock slave synchronization control step of controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value later, and synchronizing the clock to another conversion device in the setting state of the clock master;
It becomes effective in the setting state of the second clock slave, and when the reception buffer amount accumulated in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started. A second clock slave synchronization control step of controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with another conversion device in the setting state of the second clock slave;
A second reception buffer that measures the reception buffer amount when the packet reception density of the second master channel is measured in the setting state of the second clock slave and the abnormality detection state of the packet reception density continues for a predetermined time. A clock master monitoring step of switching from the reception buffer of the master channel to the reception buffer of the first master channel;
A program for executing is stored.

(システム)
本発明は通信システムを提供する。本発明は、
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置を非同期にデータを転送する機器で構成された非同期通信網に接続するクロックマスタに設定されたマスタ変換装置と、
他の同期多重通信装置を前記非同期通信網に接続する第1クロックスレーブに設定され、割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定された第1スレーブ変換装置と、
他の同期多重通信装置を前記非同期通信網に接続する第2クロックスレーブに設定され、割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定された第2スレーブ変換装置と、
を備え、複数の同期多重通信装置の相互間でデータを転送させる通信システムに於いて、
マスタ変換装置は、
同期多重通信装置と変換装置の3組を1グループとして、自己にクロックマスタを設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して非同期通信網に送信する送信変換部と、
非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換部と、
クロックマスタの設定状態で有効となり、第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御部と、
を備え、
第1スレーブ変換装置は、
同期多重通信装置と変換装置の3組を1グループとして、自己に第1クロックスレーブを設定すると共に、クロックマスタ変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換部と、
第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量をセンタ値に安定するように可変クロック部のクロック周波数を制御して、クロックマスタの設定状態にある他の通信システムにクロック同期させる第1クロックスレーブ同期制御部と、
を備え、
第2スレーブ変換装置は、
変換装置の3組を1グループとして、自己に第2クロックスレーブを設定すると共に、クロックマスタ変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、第1クロックスレーブ変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して同期多重通信装置に送信する受信変換部と、
第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、センタ値に安定するように可変クロック部のクロック周波数を制御して、第2クロックスレーブの設定状態にある他の通信システムにクロック同期させる第2クロックスレーブ同期制御部と、
第2クロックスレーブの設定状態で有効となり、第2マスタチャネルのパケット受信密度を測定し、パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視部を
を備えたことを特徴とする。
(system)
The present invention provides a communication system. The present invention
A master converter set as a clock master connected to an asynchronous communication network composed of devices that asynchronously transfer data to a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal;
A first slave conversion device in which another synchronous multiplex communication device is set as a first clock slave connected to the asynchronous communication network, and a specific one of the assigned channels is set as a first master channel;
A second slave conversion device in which another synchronous multiplex communication device is set as a second clock slave connected to the asynchronous communication network, and a specific one of the assigned channels is set as a second master channel;
In a communication system for transferring data between a plurality of synchronous multiplex communication devices,
Master converter is
A master-slave setting unit that sets the clock master in itself, with three sets of the synchronous multiplex communication device and the conversion device as one group,
A variable clock unit capable of variably controlling the frequency of the output clock signal;
A transmission conversion unit that generates multi-frame data received from the synchronous multiplex communication device by channel distribution and accumulates in each transmission buffer, then generates asynchronous transmission data from the accumulated data in the transmission buffer at regular intervals and transmits the data to the asynchronous communication network; ,
Asynchronous data distributed from the asynchronous communication network is received and stored in each receive buffer. Multiframe data is generated from the stored data in the receive buffer in synchronization with the clock signal of the variable clock unit, and transmitted to the synchronous multiplex communication device. A receiving conversion unit,
The clock master that is enabled in the setting state of the clock master and starts the variable clock unit at a predetermined center frequency when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value. A synchronization controller;
With
The first slave converter is
Master that sets three groups of synchronous multiplex communication device and conversion device as one group, sets a first clock slave to itself, and sets a specific one channel among assigned channels from the clock master conversion device as a first master channel A slave setting section;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
A transmission converter that generates multi-frame data received from a synchronous multiplex communication apparatus and distributes the multi-frame data to each transmission buffer and then generates asynchronous transmission data from transmission buffer data and transmits the data to the asynchronous communication network at regular intervals. When,
Asynchronous data distributed from the asynchronous communication network is received and stored in each receive buffer. Multiframe data is generated from the stored data in the receive buffer in synchronization with the clock signal of the variable clock unit, and transmitted to the synchronous multiplex communication device. A receiving conversion unit,
When the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started, and after the start, the reception buffer amount is stabilized at the center value. A first clock slave synchronization control unit that controls the clock frequency of the variable clock unit to synchronize the clock with another communication system in the set state of the clock master;
With
The second slave converter is
Three sets of conversion devices are set as one group, and the second clock slave is set in itself, and one specific channel among the assigned channels from the clock master conversion device is set as the first master channel, and the first clock slave conversion is performed. A master / slave setting unit for setting a specific one of the allocated channels from the device as the second master channel;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
A transmission converter that generates multi-frame data received from a synchronous multiplex communication apparatus and distributes the multi-frame data to each transmission buffer and then generates asynchronous transmission data from transmission buffer data and transmits the data to the asynchronous communication network at regular intervals. When,
Asynchronous data distributed from the asynchronous communication network is received and stored in each receive buffer. Multiframe data is generated from the stored data in the receive buffer in synchronization with the clock signal of the variable clock unit, and transmitted to the synchronous multiplex communication device. A receiving conversion unit,
When the reception buffer amount stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and started, and after startup, the reception buffer amount is stabilized at the center value. A second clock slave synchronization control unit configured to control the clock frequency of the variable clock unit to synchronize the clock with another communication system in the setting state of the second clock slave,
A second reception buffer that measures the reception buffer amount when the packet reception density of the second master channel is measured in the setting state of the second clock slave and the abnormality detection state of the packet reception density continues for a predetermined time. A clock master monitoring unit for switching from the reception buffer of the master channel to the reception buffer of the first master channel is provided.

本発明によれば、複数チャネルのマルチフレームデータを同期通信するレガシー機器である同期多重通信装置と非同期通信網であるIP通信網の間に本発明の変換装置を挿入し、3台の変換装置を1グループとしてクロックマスタ、第1クロックスレーブ及び第2クロックスレーブを設定することで、クロックマスタを設定した変換装置のクロックに第1クロックスレーブを設定した変換装置がクロック同期し、更に、第1クロックスレーブを設定した変換装置のクロックに第2クロックスレーブを設定した変換装置がクロック同期するというカスケード同期が実現できる。   According to the present invention, the conversion device of the present invention is inserted between a synchronous multiplex communication device, which is a legacy device that synchronously communicates multi-channel data of a plurality of channels, and an IP communication network, which is an asynchronous communication network, and three conversion devices are provided. By setting the clock master, the first clock slave, and the second clock slave as a group, the converter that has set the first clock slave is synchronized with the clock of the converter that has set the clock master, and the first Cascade synchronization can be realized in which the converter that has set the second clock slave is clock-synchronized with the clock of the converter that has set the clock slave.

また第1及び第2クロックスレーブを設定した変換装置のクロック同期制御は、クロックマスタ側の変換装置からチャネル分散伝送されたパケットデータを蓄積する特定チャネルの受信バッファ量を規定値(センタ値)に安定させるクロック周波数の調整(学習処理)により、クロックマスタ側に対しクロックスレーブ側を擬似的にクロック同期でき、レガシー機器である同期多重通信装置から見れば、あたかも同期通信網で接続されたようにマルチフレームデータによる高品質の同期通信を非同期通信網であるIP通信網により実現することができる。   In addition, the clock synchronization control of the conversion apparatus in which the first and second clock slaves are set is such that the reception buffer amount of a specific channel that accumulates packet data that has been distributed and transmitted from the conversion apparatus on the clock master side is set to a specified value (center value). By adjusting the clock frequency to be stabilized (learning processing), the clock slave side can be artificially synchronized with the clock master side. From the perspective of a synchronous multiplex communication device that is a legacy device, it is as if it were connected via a synchronous communication network. High-quality synchronous communication using multiframe data can be realized by an IP communication network which is an asynchronous communication network.

このため既設の同期通信網を非同期通信網であるIP通信網に変更しても、本発明の変換装置を使用することで、IP通信網の外部に網同期を必要とすることなく既設のレガシー機器である同期多重通信装置をそのままIP通信網に接続して使用することができ、既設の光ファイバーのインフラを同期通信網からIP通信網に変更する際の障害がなくなり、接続できる機器が飛躍的に増大し、機器のコストも下がるという様々なメリットが得られる。   For this reason, even if an existing synchronous communication network is changed to an IP communication network that is an asynchronous communication network, by using the conversion device of the present invention, the existing legacy communication network is not required outside the IP communication network. The device can be used by connecting the synchronous multiplex communication device to the IP communication network as it is, and there is no obstacle when changing the existing optical fiber infrastructure from the synchronous communication network to the IP communication network. In addition, various advantages can be obtained in that the cost of equipment is reduced.

また同期多重通信装置が3台を越える場合については、クロックマスタを設定した変換装置は共通にして他の2台の変換装置を組み合わせてグループ化し、グループ毎に、クロックマスタ、第1クロックスレーブ及び第2クロックスレーブの順番にカスケード同期をとることで、多数の同期多重通信装置のIP通信網への接続を拡張的に実現できる。   When there are more than three synchronous multiplex communication devices, the conversion devices set with the clock master are shared and grouped by combining the other two conversion devices. For each group, the clock master, the first clock slave, By establishing cascade synchronization in the order of the second clock slaves, it is possible to extendly connect a large number of synchronous multiplex communication devices to the IP communication network.

更に、第2クロックスレーブを設定した変換装置において第2マスタチャネルの通信異常を検出した場合、クロックマスタを設定した変換装置からのチャネルを割当てた第1マスタチャネルの受信バッファに切替えるという簡単な処理で、クロックマスタ側となる第1クロックスレーブを設定した変換装置の通信異常に対するクロック同期外れを確実に回避して安定したクロック同期を維持できる。
Further, when a communication error of the second master channel is detected in the conversion device that has set the second clock slave, a simple process of switching to the reception buffer of the first master channel to which the channel from the conversion device that has set the clock master is assigned. Thus, stable clock synchronization can be maintained by reliably avoiding loss of clock synchronization with respect to a communication abnormality of the converter that has set the first clock slave on the clock master side.

図1は本発明の同期非同期通信網の変換装置を用いた通信システムの説明図である。図1において、レガシー多重伝送装置10−1〜10−5は例えば光ファイバーで構築された同期通信網を使用してデータ同期通信する機器であり、本実施形態にあっては2.048Mbpsのレガシーインタフェースを使用してマルチフレームフォーマットにより30チャネル分のマルチフレームデータをクロックに同期して時分割多重伝送する多重伝送装置を対象としている。   FIG. 1 is an explanatory diagram of a communication system using the synchronous / asynchronous communication network conversion apparatus of the present invention. In FIG. 1, legacy multiplex transmission apparatuses 10-1 to 10-5 are devices that perform data synchronous communication using a synchronous communication network constructed of, for example, optical fibers. In this embodiment, a legacy interface of 2.048 Mbps is used. Is used for a multiplex transmission apparatus that performs time division multiplex transmission of multi-frame data for 30 channels in synchronization with a clock using a multi-frame format.

ここでレガシー多重伝送装置10−1〜10−5は2.048Mbpsで30チャネルのマルチフレームデータを同期伝送することから、1チャネルあたり64Kbpsの帯域は64Kbpsとなる。   Here, since the legacy multiplex transmission apparatuses 10-1 to 10-5 synchronously transmit multi-channel data of 30 channels at 2.048 Mbps, the band of 64 Kbps per channel is 64 Kbps.

本実施形態のレガシーIP変換器12−1〜12−5はレガシー多重伝送装置10−1〜10−5と非同期通信網であるルーターやスイッチで構成されたIPネットワーク18の間に挿入接続され、IPネットワーク18を介してマルチフレームデータのチャネル分散伝送により相互通信を行うようにしている。   The legacy IP converters 12-1 to 12-5 of the present embodiment are inserted and connected between the legacy multiplex transmission apparatuses 10-1 to 10-5 and the IP network 18 composed of routers and switches that are asynchronous communication networks. Mutual communication is performed by channel distributed transmission of multi-frame data via the IP network 18.

具体的にはレガシーIP変換器12−1〜12−5はレガシー多重伝送装置10−1〜10−5とレガシーネットワーク14−1〜14−5で接続し、IPネットワーク18に対してはLAN16−1〜16−5で接続しており、IPネットワーク18に対する通信プロトコルとしては例えばイーサネット(R)などを使用する。このためレガシーIP変換器12−1〜12−5には固有のIPアドレスが予め設定されている。   Specifically, the legacy IP converters 12-1 to 12-5 are connected to the legacy multiplex transmission apparatuses 10-1 to 10-5 via the legacy networks 14-1 to 14-5, and the IP network 18 is connected to the LAN 16-. For example, Ethernet (R) or the like is used as a communication protocol for the IP network 18. For this reason, unique IP addresses are set in advance in the legacy IP converters 12-1 to 12-5.

本実施形態における同期通信網であるレガシー同期通信網11−1,11−2と非同期通信網15となるIPネットワーク18との変換は、3台のレガシーIP変換器を1グループとしてクロック同期のための制御処理を行う。   The conversion between the legacy synchronous communication networks 11-1 and 11-2, which are synchronous communication networks in the present embodiment, and the IP network 18 serving as the asynchronous communication network 15 is for clock synchronization with three legacy IP converters as one group. The control process is performed.

例えば図1の通信システムにあっては、レガシーIP変換器12−1、12−2、12−3の3台でグループG1を構成している。グループG1に含まれる3台のレガシーIP変換器12−1〜12−3に対してはクロックマスタ、第1クロックスレーブ及び第2クロックスレーブというクロック同期制御のための主従関係が予め設定されている。   For example, in the communication system of FIG. 1, the group G1 is configured by three legacy IP converters 12-1, 12-2, and 12-3. For the three legacy IP converters 12-1 to 12-3 included in the group G1, a master-slave relationship for clock synchronization control of a clock master, a first clock slave, and a second clock slave is set in advance. .

グループG1ではレガシーIP変換器12−1がクロックマスタに設定され、レガシーIP変換器12−2が第1クロックスレーブに設定され、更にレガシーIP変換器12−3が第2クロックスレーブに設定される。   In the group G1, the legacy IP converter 12-1 is set as the clock master, the legacy IP converter 12-2 is set as the first clock slave, and the legacy IP converter 12-3 is set as the second clock slave. .

このようにクロック同期のための主従関係の設定を行うと、レガシーIP変換器12−2はクロックマスタを設定したレガシーIP変換器12−1のクロックに従属してクロック同期制御を行い、また第2クロックスレーブを設定したレガシーIP変換器12−3は第1クロックスレーブを設定したレガシーIP変換器12−2に従属してクロック同期の制御を行う。   When the master-slave relationship is set for clock synchronization in this way, the legacy IP converter 12-2 performs clock synchronization control depending on the clock of the legacy IP converter 12-1 that has set the clock master. The legacy IP converter 12-3 set with the two-clock slave performs clock synchronization control depending on the legacy IP converter 12-2 set with the first clock slave.

即ち本実施形態にあってはグループG1内に設定したクロックマスタ、第1クロックスレーブ及び第2クロックスレーブの順にカスケード同期をとるようになる。   That is, in this embodiment, cascade synchronization is performed in the order of the clock master, the first clock slave, and the second clock slave set in the group G1.

このような3台のレガシーIP変換器によるクロック制御のためのグループ化は、残り2台のレガシーIP変換器12−4,12−5についてはグループG1でクロックマスタに設定したレガシーIP変換器12−1を含む3台のグループG2を構成する。   In the grouping for clock control by the three legacy IP converters, the legacy IP converter 12 set as the clock master in the group G1 for the remaining two legacy IP converters 12-4 and 12-5. The three groups G2 including −1 are configured.

即ち本実施形態の通信システムは、クロックマスタを設定したレガシーIP変換器12−1を中心に残り2台のレガシーIP変換器を含めてグループを次々と構成し、各グループごとにクロックマスタ、第1クロックスレーブ、第2クロックスレーブの設定に従ったカスケード同期を実現する。   That is, the communication system according to the present embodiment is configured by successively forming groups including the remaining two legacy IP converters around the legacy IP converter 12-1 in which the clock master is set. Cascade synchronization is realized according to the settings of the 1 clock slave and the second clock slave.

図2は本実施形態のレガシーIP変換装置の機能構成を示したブロック図である。図2において、本実施形態のレガシーIP変換器12はレガシーインタフェース20、IPインタフェース部22、30チャネルの送信バッファ240−1〜240−30を備えた送信バッファ群24、30チャネル分のパケット組立部260−1〜260−30を備えたパケット組立群26、30チャネル分のパケット分解部280−1〜280−30を備えたパケット分解群28、30チャネル分の受信バッファ300−1〜300−30を備えた受信バッファ群30、可変クロック部32及びコントロール部34で構成される。   FIG. 2 is a block diagram showing a functional configuration of the legacy IP conversion apparatus of this embodiment. 2, the legacy IP converter 12 of this embodiment includes a legacy interface 20, an IP interface unit 22, a transmission buffer group 24 including 30-channel transmission buffers 240-1 to 240-30, and a packet assembly unit for 30 channels. A packet assembly group 26 including 260-1 to 260-30, a packet disassembly group 28 including packet decomposition units 280-1 to 280-30 for 30 channels, and reception buffers 300-1 to 300-30 for 30 channels The reception buffer group 30 includes a variable clock unit 32 and a control unit 34.

コントロール部34はCPUによるプログラムの実行により実現される機能であり、マスタスレーブ設定部36、送信変換部38、受信変換部40、クロックマスタ同期制御部42、第1クロックスレーブ同期制御部44、第2クロックスレーブ同期制御部45、クロックマスタ監視部46、パケット密度測定部48が設けられている。   The control unit 34 is a function realized by execution of a program by the CPU. The master / slave setting unit 36, the transmission conversion unit 38, the reception conversion unit 40, the clock master synchronization control unit 42, the first clock slave synchronization control unit 44, A two-clock slave synchronization control unit 45, a clock master monitoring unit 46, and a packet density measurement unit 48 are provided.

コントロール部34に設けたマスタスレーブ設定部36は、図1のように3台のレガシーIP変換装置を1グループとした場合、クロックマスタ、第1クロックスレーブまたは第2クロックスレーブのいずれかのクロック同期の主従関係を設定する。   The master / slave setting unit 36 provided in the control unit 34 is configured to synchronize clocks of the clock master, the first clock slave, or the second clock slave when three legacy IP conversion devices are grouped as shown in FIG. Set the master-slave relationship.

またマスタスレーブ設定部36は、第1クロックスレーブ及び第2クロックスレーブを設定したレガシーIP変換器12−2,12−3の場合、クロックマスタを設定したレガシーIP変換装置12−1からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定する。   Further, in the case of the legacy IP converters 12-2 and 12-3 in which the first clock slave and the second clock slave are set, the master / slave setting unit 36 allocates channels from the legacy IP converter 12-1 in which the clock master is set. A specific one of the channels is set as the first master channel.

第1クロックスレーブを設定したレガシーIP変換器12−2は、第1マスタチャネルの受信バッファ量に基づいてクロック同期制御を行う。   The legacy IP converter 12-2 that has set the first clock slave performs clock synchronization control based on the reception buffer amount of the first master channel.

同時に、マスタスレーブ設定部36は、第2クロックスレーブを設定したレガシーIP変換装置12−3の場合は、第1クロックスレーブを設定したレガシーIP変換装置12−2からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定する。   At the same time, in the case of the legacy IP converter 12-3 in which the second clock slave is set, the master slave setting unit 36 specifies a specific channel in the assigned channel from the legacy IP converter 12-2 in which the first clock slave is set. One channel is set as the second master channel.

第2クロックスレーブを設定したレガシーIP変換器12−3は、第2マスタチャネルの受信バッファ量に基づいてクロック同期制御を行う。また第2マスタチャネルに通信異常が発生した場合には、第1マスタチャネルの受信バッファに切替えて受信バッファ量に基づくクロック同期制御を行う。   The legacy IP converter 12-3 that has set the second clock slave performs clock synchronization control based on the reception buffer amount of the second master channel. When communication abnormality occurs in the second master channel, the clock synchronization control is performed based on the reception buffer amount by switching to the reception buffer of the first master channel.

図3及び図4は図1のグループG1を構成する3台のレガシーIP変換器12−1〜12−3に対し、図2のコントロール部34に設けたマスタスレーブ設定部36によりそれぞれクロックマスタ、第1クロックスレーブ及び第2クロックスレーブが設定された場合の機能構成を示している。   3 and 4 show the clock master, the master slave setting unit 36 provided in the control unit 34 of FIG. 2 for the three legacy IP converters 12-1 to 12-3 constituting the group G1 of FIG. The functional configuration when the first clock slave and the second clock slave are set is shown.

図3のレガシーIP変換器12−1にあっては、クロックマスタが設定されることで、コントロール部34−1のクロックマスタ同期制御部42としての機能が有効となる。   In the legacy IP converter 12-1 of FIG. 3, the function as the clock master synchronization control unit 42 of the control unit 34-1 becomes effective by setting the clock master.

また図3のレガシーIP変換器12−2にあっては第1クロックスレーブが設定されることで、そのコントロール部34−2の第1クロックスレーブ同期制御部44としての機能が有効となる。さらに図4のレガシーIP変換器12−3にあっては、第2クロックスレーブが設定されることでコントロール部34−3の第2クロックスレーブ同期制御部45としての機能が有効となる。   In the legacy IP converter 12-2 of FIG. 3, the function as the first clock slave synchronization control unit 44 of the control unit 34-2 becomes effective by setting the first clock slave. Furthermore, in the legacy IP converter 12-3 of FIG. 4, the function as the second clock slave synchronization control unit 45 of the control unit 34-3 becomes effective by setting the second clock slave.

図5(A)〜(E)は図1のレガシーIP変換器12−1〜12−5に格納されたチャネル管理テーブル50−1〜50−5の説明図である。   FIGS. 5A to 5E are explanatory diagrams of channel management tables 50-1 to 50-5 stored in the legacy IP converters 12-1 to 12-5 of FIG.

ここでIPネットワーク18を使用したチャネル分散伝送におけるレガシーIP変換装置12−1〜12−5のチャネル割当てを図6について説明すると次のようになる。   Here, the channel assignment of the legacy IP converters 12-1 to 12-5 in the distributed channel transmission using the IP network 18 will be described with reference to FIG.

図6において、5台のレガシーIP変換装置12−1〜12−5が30チャネルのマルチフレームデータのチャネル分散によるパケット伝送をしている場合、それぞれを5つのノードN1〜N5で表すと、ノードN1〜N5の全点通信(全2重)を構築する必要がある。   In FIG. 6, when five legacy IP converters 12-1 to 12-5 are performing packet transmission based on channel distribution of multi-channel data of 30 channels, each node is represented by five nodes N1 to N5. It is necessary to construct all point communication (full duplex) of N1 to N5.

このようなチャネル分散伝送にあっては、ノード数をnとすると、トーナメント計算により、全点通信のパス数mは、
m=n(n−1)/2
の関係にある。
In such distributed channel transmission, if the number of nodes is n, the number m of all-point communication paths is calculated by tournament calculation.
m = n (n-1) / 2
Are in a relationship.

本実施形態では、ノード数n=5であることからパス数はm=10となる。この10本のパスを図6ではパスP12〜P15,P23〜P25,P34〜P35,P45として示している。   In the present embodiment, since the number of nodes n = 5, the number of paths is m = 10. These ten paths are shown as paths P12 to P15, P23 to P25, P34 to P35, and P45 in FIG.

またノードN1〜N5はそれぞれ30チャネルのチャネル分散伝送を行うことから、1ノード当りの4パスにつきチャネルを均等に割当てるとすると、1パス当り7チャネルとなり、2チャネル余るので、例えば隣合うノードのパスに1チャネルを追加割当てし、そのパスは8チャネルとする。なお、実際の使用するチャネルは割当てチャネルの一部であってもよい。   Since nodes N1 to N5 perform channel distributed transmission of 30 channels each, if channels are evenly allocated for 4 paths per node, there are 7 channels per path, leaving 2 channels. One channel is additionally allocated to the path, and the path is 8 channels. Note that the actually used channel may be a part of the assigned channel.

このような図6のチャネル分散伝送のパスとチャネル割当てに基づいて図5(A)〜(E)のチャネル管理テーブル50−1〜50−6を設定している。   The channel management tables 50-1 to 50-6 shown in FIGS. 5A to 5E are set based on the channel distributed transmission paths and channel assignments shown in FIG.

図5(A)はグループG1のクロックマスタに設定されたレガシーIP変換器12−1に格納されるチャネル管理テーブル50−1であり、図6に示したノードN1から4本のパスP12、P13,P14,P15に対応して8チャネル、7チャネル、7チャネル、8チャネルをチャネル番号に示すように割当てている。また立上げ時に受信バッファ量を測定するためのマスタチャネルとしてチャネル番号=1を設定している。   FIG. 5A shows a channel management table 50-1 stored in the legacy IP converter 12-1 set as the clock master of the group G1, and the four paths P12 and P13 from the node N1 shown in FIG. , P14, and P15, 8 channels, 7 channels, 7 channels, and 8 channels are assigned as indicated by the channel numbers. Further, channel number = 1 is set as a master channel for measuring the reception buffer amount at the time of start-up.

図5(B)はグループG1の第1クロックスレーブに設定されたレガシーIP変換器12−2に格納されるチャネル管理テーブル50−2であり、図6に示したノードN2から4本のパスP12、P23,P24,P25に対応して8チャネル、8チャネル、7チャネル、7チャネルをチャネル番号に示すように割当てている。   FIG. 5B is a channel management table 50-2 stored in the legacy IP converter 12-2 set as the first clock slave of the group G1, and the four paths P12 from the node N2 shown in FIG. , P23, P24, and P25 are assigned as shown in the channel numbers, 8 channels, 8 channels, 7 channels, and 7 channels.

またクロック同期制御のための受信バッファ量を測定するため、クロックマスタを設定したレガシーIP変換器12−1からのパスP12に割当てられた8チャネルの内の1つを第1マスタチャネルに設定するため、第1マスタチャネル番号=1を設定している。   Further, in order to measure the reception buffer amount for clock synchronization control, one of the eight channels assigned to the path P12 from the legacy IP converter 12-1 that has set the clock master is set as the first master channel. Therefore, the first master channel number = 1 is set.

図5(C)はグループG1の第2クロックスレーブに設定されたレガシーIP変換器12−3に格納されるチャネル管理テーブル50−3であり、図6に示したノードN3から4本のパスP13、P23,P34,P35に対応して7チャネル、8チャネル、8チャネル、7チャネルをチャネル番号に示すように割当てている。   FIG. 5C shows a channel management table 50-3 stored in the legacy IP converter 12-3 set as the second clock slave of the group G1, and the four paths P13 from the node N3 shown in FIG. , P23, P34, and P35, 7 channels, 8 channels, 8 channels, and 7 channels are assigned as indicated by the channel numbers.

またクロック同期制御のための受信バッファ量を測定するため、第1クロックスレーブを設定したレガシーIP変換器12−2からのパスP23に割当てられた8チャネルの内の1つを第2マスタチャネルに設定するため、第2マスタチャネル番号=8を設定している。   Also, in order to measure the reception buffer amount for clock synchronization control, one of the 8 channels assigned to the path P23 from the legacy IP converter 12-2 that has set the first clock slave is set as the second master channel. In order to set, the second master channel number = 8 is set.

更に、第2マスタチャネルに通信異常が発生した場合のクロック同期制御のための受信バッファ切替えのため、クロックマスタを設定したレガシーIP変換器12−1からのパスP13に割当てられた7チャネルの内の1つを第1マスタチャネルに設定するため、第1マスタチャネル番号=1を設定している。   Further, among the 7 channels assigned to the path P13 from the legacy IP converter 12-1 that has set the clock master for switching the reception buffer for clock synchronization control when a communication error occurs in the second master channel. Is set to the first master channel, the first master channel number = 1 is set.

図5(D)(E)は別のグループG2で第1及び第2クロックスレーブに設定されたレガシーIP変換器12−4,12−5のチャネル管理テーブル50−4,50−5である。このようにグループが相違してもクロックマスタに設定されるのは同じレガシーIP変換器12−1であり、グループG1の場合と同様に、チャネル管理テーブル50−4,50−5は、図6のノードN4,N5のパスに基づくチャネル割当てと第1マスタチャネル番号及び第2マスタチャネル番号の設定が行われている。   FIGS. 5D and 5E are channel management tables 50-4 and 50-5 of the legacy IP converters 12-4 and 12-5 set as the first and second clock slaves in another group G2. Thus, even if the groups are different, it is the same legacy IP converter 12-1 that is set as the clock master, and the channel management tables 50-4 and 50-5 are as shown in FIG. Channel assignment based on the paths of the nodes N4 and N5 and setting of the first master channel number and the second master channel number are performed.

なお、図6は5台のレガシーIP変換器12−1〜12−5の全点通信によるパス構成を例にとっているが、IPネットワーク18の帯域を超えない範囲で、必要に応じて任意の数とすることができる。   6 shows an example of a path configuration based on all-point communication of five legacy IP converters 12-1 to 12-5, but an arbitrary number is necessary as long as it does not exceed the bandwidth of the IP network 18. It can be.

再び図2を参照するにコントロール部34に設けた送信変換部38は、レガシー多重伝送装置10から受信された30チャネルのマルチフレームデータをレガシーインタフェース部20でクロックに同期して受信し、30チャネル分の送信バッファ240−1〜240−30のそれぞれに蓄積した後、IPインタフェース部22のプロトコル、例えばイーサネットプロトコルで決まる一定の時間間隔でパケット組立部260−1〜260−30のそれぞれで対応する送信バッファ240−1〜240−30の蓄積データからIPパケットを生成し、IPネットワーク18に送信させる。この30チャネルのマルチフレームデータを30個のIPパケットに変換してIPネットワークに送信する伝送を、チャネル分散伝送という。   Referring to FIG. 2 again, the transmission conversion unit 38 provided in the control unit 34 receives the 30-channel multi-frame data received from the legacy multiplex transmission apparatus 10 in synchronization with the clock at the legacy interface unit 20, and receives 30 channels. Are stored in each of the transmission buffers 240-1 to 240-30, and then correspond to each of the packet assembling units 260-1 to 260-30 at a fixed time interval determined by the protocol of the IP interface unit 22, for example, the Ethernet protocol. An IP packet is generated from the accumulated data in the transmission buffers 240-1 to 240-30 and transmitted to the IP network 18. Transmission in which the 30-channel multi-frame data is converted into 30 IP packets and transmitted to the IP network is called channel distributed transmission.

コントロール部34に設けた受信変換部40は、IPインタフェース部22により、IPネットワーク18を経由してチャネル分散伝送されたIPパケットを受信し、パケット分解部280−1〜280−30のそれぞれで各チャネルごとにパケットデータを分解し、対応する受信バッファ300−1〜300−30に蓄積した後、可変クロック部32のクロックに同期して受信バッファ300−1〜300−30の蓄積から30チャネル分のフレームを時分割配置したマルチフレームデータをレガシーインタフェース部20で生成し、レガシー多重伝送装置10に送信する。   The reception conversion unit 40 provided in the control unit 34 receives the IP packet that has been channel-distributed and transmitted via the IP network 18 by the IP interface unit 22, and each of the packet decomposition units 280-1 to 280-30 receives each packet. After disassembling the packet data for each channel and accumulating it in the corresponding reception buffers 300-1 to 300-30, 30 channels from the accumulation of the reception buffers 300-1 to 300-30 in synchronization with the clock of the variable clock unit 32. Multi-frame data in which the frames are time-divisionally arranged are generated by the legacy interface unit 20 and transmitted to the legacy multiplex transmission apparatus 10.

コントロール部34に設けたクロックマスタ同期制御部42は、図3のレガシーIP変換器12−1のようにクロックマスタの設定状態で有効になり、クロックマスタに設定されるレガシーIP変換器12−1の割当てチャネルの中の特定の1チャネル、例えばチャネル番号=1をマスタチャネルとし、このマスタチャネルの受信バッファ300−1に受信された受信バッファ量が所定のセンタ値に達した際に可変クロック部32を所定の中心周波数f0に固定設定して起動させる。   The clock master synchronization control unit 42 provided in the control unit 34 becomes valid in the setting state of the clock master like the legacy IP converter 12-1 in FIG. 3, and the legacy IP converter 12-1 set as the clock master. One of the assigned channels, for example, channel number = 1 is set as the master channel, and the variable clock unit when the reception buffer amount received by the reception buffer 300-1 of this master channel reaches a predetermined center value 32 is fixedly set to a predetermined center frequency f0 and activated.

即ち、クロックマスタに設定されたレガシーIP変換器12にあっては、可変クロック部32のクロック周波数は中心周波数foに固定され、このクロック周波数にスレーブ側をクロック同期させることになる。   That is, in the legacy IP converter 12 set as the clock master, the clock frequency of the variable clock unit 32 is fixed to the center frequency fo, and the slave side is clock-synchronized with this clock frequency.

コントロール部34に設けた第1クロックスレーブ同期制御部44は、図3のレガシーIP変換器12−2のように第1クロックスレーブの設定状態で有効となる。   The first clock slave synchronization control unit 44 provided in the control unit 34 becomes effective in the setting state of the first clock slave like the legacy IP converter 12-2 of FIG.

このように第1クロックスレーブの設定で有効となった第1クロックスレーブ同期制御部44は、クロックマスタに設定されているレガシーIP変換器12−1の割当チャネルの特定の1チャネルについて設定した第1マスタチャネルの受信バッファ、例えば受信バッファ300−1に蓄積された受信バッファ量が所定のセンタ値Coに達した時に、可変クロック部32を中心周波数foに設定して起動し、起動後に受信バッファ量Cをセンタ値Coに安定するように可変クロック部32のクロック周波数を制御し、クロックマスタの設定状態であるグループ内のレガシーIP変換器12−1にクロック同期させる。   As described above, the first clock slave synchronization control unit 44 enabled by the setting of the first clock slave sets the specified one channel of the assigned channels of the legacy IP converter 12-1 set as the clock master. When the reception buffer amount accumulated in the reception buffer of one master channel, for example, the reception buffer 300-1, reaches a predetermined center value Co, the variable clock unit 32 is set to the center frequency fo and started. The clock frequency of the variable clock unit 32 is controlled so that the amount C is stabilized at the center value Co, and the clock is synchronized with the legacy IP converters 12-1 in the group which is the setting state of the clock master.

コントロール部34に設けたクロックスレーブ同期制御部45は、図4のレガシーIP変換器12−3のようにグループ内における第2クロックスレーブの設定状態で有効となる。   The clock slave synchronization control unit 45 provided in the control unit 34 becomes effective in the setting state of the second clock slave in the group like the legacy IP converter 12-3 in FIG.

第2クロックスレーブの設定で有効となった第2クロックスレーブ同期制御部45は、クロックマスタとなる第1クロックスレーブが設定されたレガシーIP変換器12−2の割当チャネルの中の特定の1チャネルである第2マスタチャネルの受信バッファ、例えば受信バッファ300−1に蓄積された受信バッファ量が所定のセンタ値Coに達した時に、可変クロック部32を中心周波数foに設定して起動し、起動後に受信バッファ量Cをセンタ値Coに安定するように可変クロック部32のクロック周波数を制御し、第1クロックスレーブの設定状態にあるグループ内の他のレガシーIP変換器12−2にクロック同期させる。   The second clock slave synchronization control unit 45 enabled by the setting of the second clock slave is a specific one channel among the assigned channels of the legacy IP converter 12-2 in which the first clock slave serving as the clock master is set. When the reception buffer amount stored in the reception buffer of the second master channel, for example, the reception buffer 300-1, reaches a predetermined center value Co, the variable clock unit 32 is set to the center frequency fo and started. Later, the clock frequency of the variable clock unit 32 is controlled so that the reception buffer amount C is stabilized at the center value Co, and the clock is synchronized with the other legacy IP converters 12-2 in the group in the setting state of the first clock slave. .

ここで第1クロックスレーブ同期制御部44及び第2クロックスレーブ同期制御部45におけるクロックスレーブ同期制御の詳細は次のようになる。まずシステムの電源投入に伴う立ち上げ時には、可変クロック部32の周波数fを中心周波数foに設定した起動する。   Here, details of the clock slave synchronization control in the first clock slave synchronization control unit 44 and the second clock slave synchronization control unit 45 are as follows. First, when the system is started up when the power is turned on, the system starts up with the frequency f of the variable clock unit 32 set to the center frequency fo.

起動後に、検出対象としている第1マスタチャネルまたは第2マスタチャネルの受信バッファにおける受信バッファ量が予め設定されたバッファ変動許容範囲の上限値Cmaxを超えた場合には所定の最大調整周波数fmaxに変更する。   After startup, when the reception buffer amount in the reception buffer of the first master channel or the second master channel to be detected exceeds the upper limit value Cmax of the preset buffer fluctuation allowable range, it is changed to a predetermined maximum adjustment frequency fmax To do.

この最大調整周波数fmaxへの変更後に、受信バッファ量Cがセンタ値Coに戻った時、最大調整周波数fmaxを中心周波数foに所定のオフセット周波数αを加算した周波数(fo+α)に変更し、オフセット周波数αを調整回数nに応じて1回目はα、2回目は2α、3回目は3α・・・・と順次増加させながら同じ処理を繰り返し、受信バッファ量Cをセンタ値Coに安定させる。     After the change to the maximum adjustment frequency fmax, when the reception buffer amount C returns to the center value Co, the maximum adjustment frequency fmax is changed to the frequency (fo + α) obtained by adding the predetermined offset frequency α to the center frequency fo, and the offset frequency In accordance with the number of adjustments n, α is repeated for the first time, 2α for the second time, 3α for the third time, and the like, and the same processing is repeated to stabilize the reception buffer amount C at the center value Co.

また可変クロック部32の起動時に受信バッファ量Cが減少する場合には、受信バッファ量Cがバッファ変動許容範囲の下限値Cminを下回った場合に所定の最小周波数fminに変更する。   Further, when the reception buffer amount C decreases when the variable clock unit 32 is started up, the reception buffer amount C is changed to a predetermined minimum frequency fmin when the reception buffer amount C falls below the lower limit value Cmin of the buffer fluctuation allowable range.

この変更後に受信バッファ量Cがセンタ値Coに戻ったら、最小周波数fminを中心周波数foから所定のオフセット周波数αを減算した周波数(fo−α)に変更し、このような処理を減算するオフセット周波数を1回目はα、2回目は2α、3回目は3α・・・・というように繰り返しながら、受信バッファ量Cがセンタ値Coに安定するようにクロック周波数を制御する。   When the reception buffer amount C returns to the center value Co after this change, the minimum frequency fmin is changed to a frequency (fo-α) obtained by subtracting a predetermined offset frequency α from the center frequency fo, and the offset frequency for subtracting such processing. Is repeated such that the first time is α, the second time is 2α, the third time is 3α,..., And the clock frequency is controlled so that the reception buffer amount C is stabilized at the center value Co.

このようなクロックスレーブ同期制御が図3及び図4に示した第1クロックスレーブを設定したレガシーIP変換器12−2の第1クロックスレーブ同期制御部44及び第2クロックスレーブを設定したレガシーIP変換器12−3の第2クロックスレーブ同期制御部45で行われることにより、レガシーIP変換器12−2はクロックマスタを設定したレガシーIP変換器12−1にクロック同期し、第2クロックスレーブを設定したレガシーIP変換器12−3は第1クロックスレーブを設定したレガシーIP変換器12−2にクロック同期するカスケード同期制御が実現できる。   Such a clock slave synchronization control is a legacy IP conversion in which the first clock slave synchronization control unit 44 and the second clock slave of the legacy IP converter 12-2 in which the first clock slave shown in FIGS. 3 and 4 is set are set. The legacy IP converter 12-2 is synchronized with the legacy IP converter 12-1 that has set the clock master, and the second clock slave is set. The legacy IP converter 12-3 can realize cascade synchronization control that is clock-synchronized with the legacy IP converter 12-2 in which the first clock slave is set.

再び図2を参照するに、コントロール部34のクロックマスタ監視部46及びパケット密度測定部48は、マスタスレーブ設定部36により第2クロックスレーブを設定したレガシーIP変換器、具体的には図4に示すレガシーIP変換器12−3で有効となる。   Referring to FIG. 2 again, the clock master monitoring unit 46 and the packet density measuring unit 48 of the control unit 34 are the legacy IP converter in which the second clock slave is set by the master / slave setting unit 36, specifically, FIG. It becomes effective in the legacy IP converter 12-3 shown.

第2クロックスレーブを設定したレガシーIP変換器12−3で有効となるクロックマスタ監視部46は、クロックマスタとなる第1クロックスレーブを設定したレガシーIP変換器12−2における割当チャネルにおける特定の1チャネルである第2マスタチャネルに対応した受信バッファの異常を検出し、異常検出状態が所定時間継続した際にクロック同期を行う第2マスタチャネルは破綻したものと判断し、クロック同期制御のために受信バッファ量を測定する受信バッファをそれまでの第2マスタチャネルの受信バッファからクロックマスタを設定しているレガシーIP変換器12−1に割当チャネルの特定の1チャネルである第1マスタチャネルに対応した受信バッファに切り替える。   The clock master monitoring unit 46 that is enabled in the legacy IP converter 12-3 that has set the second clock slave has a specific 1 in the assigned channel in the legacy IP converter 12-2 that has set the first clock slave that is the clock master. For detection of an abnormality in the reception buffer corresponding to the second master channel, which is a channel, the second master channel that performs clock synchronization when the abnormality detection state continues for a predetermined time is determined to have failed, and for clock synchronization control Corresponding to the first master channel that is a specific channel of the assigned channel to the legacy IP converter 12-1 that sets the clock master from the reception buffer of the second master channel so far as the reception buffer for measuring the reception buffer amount Switch to the received buffer.

これによってグループ内におけるクロックマスタ、第1クロックスレーブ及び第2クロックスレーブの順に従ったカスケード同期において、第1クロックスレーブによるクロックマスタとしての機能が破綻した場合、第1マスタチャネルにクロック制御のための受信バッファを切り替えてクロック同期を維持する。   As a result, in the cascade synchronization in the order of the clock master, the first clock slave, and the second clock slave in the group, when the function as the clock master by the first clock slave fails, the first master channel is controlled for clock control. Switch the receive buffer to maintain clock synchronization.

クロックマスタ監視部46における第2マスタチャネルの受信バッファの異常検出はパケット密度測定部48による測定結果に基づいて判定する。パケット密度測定部48は第2マスタチャネルの受信バッファに対し、単位時間に受信されるパケット数をパケット密度として測定する。   The detection of abnormality in the reception buffer of the second master channel in the clock master monitoring unit 46 is determined based on the measurement result by the packet density measuring unit 48. The packet density measuring unit 48 measures the number of packets received per unit time as the packet density for the reception buffer of the second master channel.

図7は本実施形態のパケット密度測定部48による測定処理の説明図である。パケット密度は例えば数百ms前後の単位時間に受信されるパケット数であり、図7にあっては単位時間T1としてT1=300msを設定し、この間に第2マスタチャネルに対し受信されるIPパケットの数をカウントしてパケット密度としている。   FIG. 7 is an explanatory diagram of measurement processing by the packet density measurement unit 48 of the present embodiment. The packet density is, for example, the number of packets received in a unit time of about several hundred ms. In FIG. 7, T1 = 300 ms is set as the unit time T1, and IP packets received for the second master channel during this time. Is counted as the packet density.

また本実施形態におけるパケット密度の測定は数十ms前後の一定間隔時間T2でカウントする。図7の例にあってはT2=30ms間隔でパケット密度をカウントしている。   The packet density in this embodiment is counted at a constant interval time T2 of about several tens of ms. In the example of FIG. 7, the packet density is counted at intervals of T2 = 30 ms.

ここで、パケット密度を測定するための単位時間T1については、IPパケット受信のゆらぎなどでパケット密度を誤判断しないためにT1=300msといった長めの時間を設定して行っている。   Here, the unit time T1 for measuring the packet density is set by setting a longer time such as T1 = 300 ms so as not to erroneously determine the packet density due to fluctuations in IP packet reception.

一方、パケット密度からチャネル異常の判断は速やかに行う必要があることから、パケット密度の更新は早く行う必要があり、従ってパケット密度の測定間隔となる一定間隔時間T2はT2=30msといった短い時間としている。   On the other hand, since it is necessary to promptly determine the channel abnormality from the packet density, it is necessary to update the packet density early. Therefore, the constant interval time T2 that is the packet density measurement interval is as short as T2 = 30 ms. Yes.

従って、本実施形態のパケット密度測定部48にあっては、パケット数をカウントする単位時間T1より短い時間間隔T2で複数のカウンタを順次起動して並列的にパケット数をカウントし、単位時間T1に達したカウンタのパケット数によりパケット密度を順次更新することになる。   Therefore, in the packet density measuring unit 48 of the present embodiment, a plurality of counters are sequentially activated at a time interval T2 shorter than the unit time T1 for counting the number of packets, and the number of packets is counted in parallel. The packet density is sequentially updated according to the number of packets in the counter that has reached.

再び本実施形態の図2のクロックマスタ監視部46を参照すると、パケット密度測定部48で測定された第1マスタチャネル又は第2マスタチャネルに対応した受信バッファに対するパケット密度が予め定めた一定の閾値の範囲内に入っている場合に通信正常と判断し、この閾値範囲から逸脱した場合に通信異常と判断する。   Referring again to the clock master monitoring unit 46 in FIG. 2 of the present embodiment, the packet density for the reception buffer corresponding to the first master channel or the second master channel measured by the packet density measuring unit 48 is a predetermined threshold value. If it falls within this range, it is determined that communication is normal, and if it deviates from this threshold range, it is determined that communication is abnormal.

通信正常と通信異常を判別するパケット密度の閾値としては、IPネットワーク18に対するIPパケットの送信間隔から算出した正常であれば本来くるべき短時間あたりのパケット数を基準パケット密度とし、基準パケット密度に対し80%〜120%の範囲を通信正常とし、80%以下または120%以上を通信異常と判断する。   As a packet density threshold value for discriminating between normal communication and abnormal communication, the number of packets per short time that should be expected if normal is calculated from the transmission interval of IP packets to the IP network 18 is used as a reference packet density. On the other hand, the range of 80% to 120% is regarded as normal communication, and 80% or less or 120% or more is determined as communication abnormality.

クロックマスタ監視部46での第2マスタチャネルの通信異常と判断した場合、通信異常を起こした第2マスタチャネルの受信バッファから第1マスタチャネルの受信バッファへ切替えることになるが、この切替方法としては
(1)0系/1系切替
(2)N系/E系切替
の2つの方法がある。
When the clock master monitoring unit 46 determines that the communication error of the second master channel has occurred, the reception buffer of the second master channel that caused the communication error is switched to the reception buffer of the first master channel. There are two methods: (1) 0 system / 1 system switching (2) N system / E system switching.

0/1系切替は、0系が運用系、1系が待機系であり、異常検出時に0系から1系に切替え、0系の異常が回復しても1系の切替をそのまま維持し、その後の運用中に1系の通信異常が発生した時に0系に切り替える方法である。   In the 0/1 system switching, the 0 system is the active system, the 1 system is the standby system, the system is switched from the 0 system to the 1 system when an abnormality is detected, and the 1 system switching is maintained as it is even if the 0 system abnormality is recovered. This is a method of switching to the 0 system when a communication error of the 1 system occurs during the subsequent operation.

この0系/1系切替を本実施形態のクロックマスタ監視部46によるバッファ切替について説明すると、運用中に0系となる第2マスタチャネルに対応した受信バッファにおけるパケット受信密度の異常を検出した際に、1系となる第1マスタチャネルの受信バッファに切り替える。この切替後の運用中に1系の受信バッファについて測定したパケット受信密度の異常を検出した際に0系の受信パケットに切り替える。   This 0-system / 1-system switching will be described with reference to buffer switching by the clock master monitoring unit 46 of the present embodiment. When an abnormal packet reception density is detected in the reception buffer corresponding to the second master channel that is 0-system during operation. Then, the reception buffer of the first master channel that becomes the first system is switched. When an abnormality in the packet reception density measured for the 1-system reception buffer is detected during the operation after the switching, the system switches to the 0-system reception packet.

これに対しN系/E系の切替はN系が運用系、E系が待機系であり、N系で通信異常を検出した場合にはE系に切替え、E系に切り替えた後にN系の異常が回復して正常に戻った事を判別すると、E系からN系に切り替える方法である。   On the other hand, the N system / E system is switched when the N system is the active system and the E system is the standby system. When a communication abnormality is detected in the N system, the system is switched to the E system. This is a method of switching from the E system to the N system when it is determined that the abnormality has recovered and returned to normal.

このN系/E系切替を本実施形態のクロックマスタ監視部46によるバッファ切替について説明すると、N系である第2マスタチャネルに対応した受信バッファのパケット受信密度の異常検出によりE系である第1マスタチャネルの受信バッファに切り替えた後、通信異常を起こしたN系の受信バッファのパケット受信密度を監視し、正常検出状態が所定時間継続して通信正常と判別した場合、E系の受信バッファから異常が回復して正常となったN系の受信バッファに戻す切替えを行う。   The N-system / E-system switching will be described with reference to buffer switching by the clock master monitoring unit 46 of the present embodiment. The detection of the packet reception density of the reception buffer corresponding to the second master channel, which is the N-system, detects the E-system switching. After switching to the reception buffer of one master channel, the packet reception density of the N-system reception buffer in which communication abnormality has occurred is monitored, and if the normal detection state continues for a predetermined time and communication is determined to be normal, the E-system reception buffer Is switched back to the normal N-system reception buffer after the abnormality is recovered.

図8は図4の第1クロックスレーブ及び第2クロックスレーブが設定されたレガシーIP変換器12−2、12−3の第1クロックスレーブ同期制御部44及び第2クロックスレーブ同期制御部45の制御を示したタイムチャートであり、電源投入もしくはシステム異常が回復した後の立上げ時に受信バッファ量が増加する場合を例に取っている。なお、第1クロックスレーブ同期制御部44と第2クロックスレーブ同期制御部45の相違は、受信バッファ量を測定するチャネルが第1マスタチャネルか第2マスタチャネルかである。   8 shows the control of the first clock slave synchronization control unit 44 and the second clock slave synchronization control unit 45 of the legacy IP converters 12-2 and 12-3 in which the first clock slave and the second clock slave of FIG. 4 are set. This is a time chart showing a case where the reception buffer amount increases at the time of startup after power-on or recovery from a system abnormality. The difference between the first clock slave synchronization control unit 44 and the second clock slave synchronization control unit 45 is whether the channel for measuring the reception buffer amount is the first master channel or the second master channel.

図8(A)は受信バッファ量Cであり、図8(B)がクロック周波数を示している。立上げ時にあっては、図8(A)の時刻t0のように、受信バッファ量Cが所定のセンタ値Coに達した時に、図8(B)のように可変クロック部32−2のクロック周波数fを中心周波数foに設定し、受信バッファ30−2の蓄積データをレガシー多重伝送装置10−2に送出するスタートアップ処理を起動する。   FIG. 8A shows the reception buffer amount C, and FIG. 8B shows the clock frequency. At the time of start-up, when the reception buffer amount C reaches a predetermined center value Co as shown at time t0 in FIG. 8A, the clock of the variable clock unit 32-2 as shown in FIG. 8B. The frequency f is set to the center frequency fo, and start-up processing for sending the data stored in the reception buffer 30-2 to the legacy multiplex transmission apparatus 10-2 is started.

このときクロックマスタ側のクロック周波数がクロックスレーブ側のクロック周波数より高かったとすると、立ち上げ時に設定している中心周波数foのクロックによるレガシー多重伝送装置10−2へのデータ送出では、受信バッファ30−2に対するIPネットワーク18側から受信したデータの蓄積に対しデータ読出しの方が遅れることから、受信バッファ量Cは時間の経過に伴って増加する。   At this time, if the clock frequency on the clock master side is higher than the clock frequency on the clock slave side, in the data transmission to the legacy multiplex transmission apparatus 10-2 by the clock of the center frequency fo set at the time of start-up, the reception buffer 30- Since the data reading is delayed with respect to the accumulation of the data received from the IP network 18 side for 2, the reception buffer amount C increases as time elapses.

受信バッファ量Cが増加して時刻t1で上限値Cmaxを超えると、クロック周波数fを中心周波数foから最大調整周波数fmaxに変更し、これによって、受信バッファ30−2からレガシー多重伝送装置10−2に対するデータの送出を早める。このため、時刻t1から受信バッファ量は減少を始め、時刻t2で再びセンタ値Coに戻る。   When the reception buffer amount C increases and exceeds the upper limit value Cmax at time t1, the clock frequency f is changed from the center frequency fo to the maximum adjustment frequency fmax, whereby the reception buffer 30-2 changes to the legacy multiplex transmission apparatus 10-2. Speed up data transmission for. For this reason, the reception buffer amount starts to decrease from time t1, and returns to the center value Co again at time t2.

時刻t2では、クロック周波数fを、それまでの最大調整周波数fmaxから、中心周波数foに対しプラス側に所定オフセット周波数αだけずらした周波数(fo+α)に変更する。   At time t2, the clock frequency f is changed from the maximum adjustment frequency fmax so far to a frequency (fo + α) shifted by a predetermined offset frequency α to the plus side with respect to the center frequency fo.

このように中心周波数foにオフセット周波数αを加えた周波数(fo+α)に変更することで、時刻t0の中心周波数foの場合に比べ、受信バッファ量は緩やかな割合で再び増加を始め、時刻t3で上限値Cmaxに達する。この場合にも時刻t1と同様、クロック周波数を最大調整周波数fmaxに変更し、これによって受信バッファ量を再び減少させて、センタ値Coに時刻t4で戻す。   In this way, by changing to the frequency (fo + α) obtained by adding the offset frequency α to the center frequency fo, the reception buffer amount starts increasing again at a moderate rate compared to the case of the center frequency fo at time t0, and at time t3. The upper limit value Cmax is reached. Also in this case, similarly to the time t1, the clock frequency is changed to the maximum adjustment frequency fmax, thereby reducing the reception buffer amount again and returning to the center value Co at the time t4.

時刻t4にあっては、クロック周波数fを、中心周波数にオフセット周波数αを調整回数nを乗じた周波数n・αを加算した周波数(α+2α)に変更する。これによって時刻t4からの受信バッファ量の増加は更に緩やかとなり、時刻t5で上限値Cmaxに達する。時刻t5では再びクロック周波数を最大調整周波数fmaxに変更して、受信バッファ量をセンタ値Coに時刻t6で戻し、この場合にはクロック周波数fは周波数(fo+3α)に変更する。   At time t4, the clock frequency f is changed to a frequency (α + 2α) obtained by adding a frequency n · α obtained by multiplying the center frequency by the offset frequency α and the number of adjustments n. As a result, the increase in the reception buffer amount from time t4 becomes more gradual and reaches the upper limit value Cmax at time t5. At time t5, the clock frequency is changed again to the maximum adjustment frequency fmax, and the reception buffer amount is returned to the center value Co at time t6. In this case, the clock frequency f is changed to the frequency (fo + 3α).

時刻t6で周波数(fo+3α)へ変更すると、この例では受信バッファ量Cはセンタ値Coに安定するようなる。受信バッファ量がセンタ値Coに安定した状態は、IPネットワーク18からのIPパケットの受信で受信バッファ30−2に格納されるデータ量と、可変クロック部32−2のクロック周波数(fo+3α)により受信バッファ30−2からレガシー多重伝送装置10−2に送出されるデータ量が一致した場合であり、これは結局、IPネットワーク18を介してクロックマスタ側の可変クロック部32−1のクロック周波数にクロックスレーブ側の可変クロック部32−2のクロック周波数が同期した状態を確立したことになる。   When the frequency is changed to frequency (fo + 3α) at time t6, the reception buffer amount C is stabilized at the center value Co in this example. The state in which the reception buffer amount is stable at the center value Co is received based on the amount of data stored in the reception buffer 30-2 upon reception of the IP packet from the IP network 18 and the clock frequency (fo + 3α) of the variable clock unit 32-2. This is a case where the amount of data sent from the buffer 30-2 to the legacy multiplex transmission device 10-2 matches, and this is eventually clocked to the clock frequency of the variable clock unit 32-1 on the clock master side via the IP network 18. This means that the state where the clock frequency of the variable clock unit 32-2 on the slave side is synchronized is established.

このように本実施形態にあっては、クロックスレーブが設定されたレガシーIP変換器12−2の第1クロックスレーブ同期制御部44による受信バッファ量をセンタ値に安定させるためのクロック周波数の調整という学習処理を経て、クロックマスタ側のクロック周波数にクロックスレーブ側のクロック周波数を同期させるクロック同期制御を実現することができる。   Thus, in this embodiment, the adjustment of the clock frequency for stabilizing the reception buffer amount at the center value by the first clock slave synchronization control unit 44 of the legacy IP converter 12-2 in which the clock slave is set. Through the learning process, it is possible to realize clock synchronization control that synchronizes the clock frequency on the clock slave side with the clock frequency on the clock master side.

ここで図8(B)におけるクロック周波数fの中心周波数foに対する最大調整周波数fmaxの周波数変化は、例えば+100ppm、また中心周波数foに対する最小調整周波数fminの変化幅は−100ppmであり、クロック周波数を段階的に調整するオフセット周波数αとしては例えばα=0.1ppmの分解能としている。   Here, the frequency change of the maximum adjustment frequency fmax with respect to the center frequency fo of the clock frequency f in FIG. 8B is, for example, +100 ppm, and the change width of the minimum adjustment frequency fmin with respect to the center frequency fo is −100 ppm. The offset frequency α to be adjusted is, for example, a resolution of α = 0.1 ppm.

なお、ppmは周波数確度であり、これを周波数の変化幅±Δfで表すと、周波数角度ppmと周波数誤差との間には
(周波数確度ppm)=Δf/(fo×10-8
の関係があることから、例えばfo=2MHz、ppm=100とすると、Δf=5KHzとなり、調整分解能となるオフセット周波数αはα=50Hzとなる。
In addition, ppm is frequency accuracy, and when this is expressed by frequency change width ± Δf, between frequency angle ppm and frequency error, (frequency accuracy ppm) = Δf / (fo × 10 −8 )
For example, when fo = 2 MHz and ppm = 100, Δf = 5 KHz, and the offset frequency α serving as the adjustment resolution is α = 50 Hz.

また、図8にあっては、3回の調整処理でクロック周波数を安定化させているが、実際にはα=0.1ppmといった分解能であることから、立上げ時のクロックずれにもよるが、本実施形態のクロックスレーブ同期制御によりスレーブ側のクロック周波数を安定化させた同期状態とするためには、通常、数時間から数十時間程度の処理時間が掛かることになる。   In FIG. 8, the clock frequency is stabilized by three adjustment processes. However, since the resolution is actually α = 0.1 ppm, it depends on the clock deviation at the time of startup. In order to obtain a synchronized state in which the clock frequency on the slave side is stabilized by the clock slave synchronization control of this embodiment, it usually takes a processing time of several hours to several tens of hours.

しかしながら、このような長い時間であっても、一度立ち上げて安定してしまえば、その後は受信バッファ量の変化に対する+αまたは−αのクロック調整の頻度は例えば数日に1回程度となり、IPネットワークに対する外部網によりクロックを伝送してクロック同期を取った場合と遜色のない伝送品質を確保することができる。   However, even if it is such a long time, once it is started and stabilized, the frequency of the + α or −α clock adjustment with respect to the change in the reception buffer amount is about once every several days, for example. Transmission quality comparable to that obtained when clocks are transmitted by an external network to the network to achieve clock synchronization can be ensured.

図9は立上げ時に受信バッファ量が減少する場合の本実施形態のクロックスレーブ同期制御を示したタイムチャートである。   FIG. 9 is a time chart showing the clock slave synchronization control of this embodiment when the reception buffer amount decreases at the time of startup.

図9(A)において、電源投入あるいはシステム異常の回復に伴う立上げにより、図3のクロックスレーブ側のレガシーIP変換器12−2の受信バッファ30−2に、IPネットワーク18からIPインタフェース部22−2で受信したICパケットのパケットデータの蓄積を開始し、受信バッファ量がセンタ値Coに達したとき、図5の場合と同様、図9(B)のようにクロック周波数foをセンタ値foに設定し、レガシーインタフェース部20−2からレガシー多重伝送装置10−2に対し受信バッファ30−2の蓄積データを読み出して同期通信データの送信を開始する。   In FIG. 9A, the IP interface unit 22 is transferred from the IP network 18 to the reception buffer 30-2 of the legacy IP converter 12-2 on the clock slave side in FIG. -2 starts to accumulate the packet data of the IC packet received, and when the reception buffer amount reaches the center value Co, the clock frequency fo is changed to the center value fo as shown in FIG. And the accumulated data in the reception buffer 30-2 is read from the legacy interface unit 20-2 to the legacy multiplex transmission apparatus 10-2 and transmission of synchronous communication data is started.

この場合、クロックマスタを設定したレガシーIP変換器12−1の可変クロック部32−1によるクロック周波数に対し、クロックスレーブを設定したレガシーIP変換器12−2の可変クロック32−2のクロック周波数が高かったとすると、受信バッファ30−2からレガシー多重伝送装置10−2に対するデータ送出が早まるため、図9(A)のように受信バッファ量Cは時刻t0から減少を始め、時刻t1で下限値Cminを下回る。   In this case, the clock frequency of the variable clock 32-2 of the legacy IP converter 12-2 for which the clock slave is set is different from the clock frequency of the variable clock unit 32-1 of the legacy IP converter 12-1 for which the clock master is set. If it is high, data transmission from the reception buffer 30-2 to the legacy multiplex transmission apparatus 10-2 is accelerated, so that the reception buffer amount C starts to decrease from time t0 as shown in FIG. Below.

この場合には、クロック周波数fを中心周波数foから最小調整周波数fminに変更し、受信バッファ30−2からの送出量を低下させる。このため、時刻t1から受信バッファ量Cは増加を始め、時刻t2で再びセンタ値Coに回復する。   In this case, the clock frequency f is changed from the center frequency fo to the minimum adjustment frequency fmin, and the transmission amount from the reception buffer 30-2 is reduced. For this reason, the reception buffer amount C starts increasing from time t1 and recovers to the center value Co again at time t2.

センタ値Coに回復したら、クロック周波数fを中心周波数foからオフセット周波数αに調整回数である1回を乗じた周波数を差し引いた周波数(fo−α)に変更する。これにより、時刻t2からの受信バッファ量Cが減少し、減少割合は時刻t0の1回目より緩やかとなり、時刻t3で再び下限値Cminを下回ると、クロック周波数fを再び最小調整周波数fminに変更し、時刻t3から受信バッファ量Cを増加させる。   When the center value Co is restored, the clock frequency f is changed to the frequency (fo−α) obtained by subtracting the frequency obtained by multiplying the offset frequency α by one adjustment number from the center frequency fo. As a result, the reception buffer amount C from time t2 decreases, and the rate of decrease becomes more gradual than the first time at time t0. When the frequency falls below the lower limit Cmin again at time t3, the clock frequency f is changed again to the minimum adjustment frequency fmin. The reception buffer amount C is increased from time t3.

時刻t4で受信バッファ量Cがセンタ値Coに回復すると、クロック周波数を(fo−2α)に変更し、時刻t4からの受信バッファ量Cの減少割合を更に小さくする。同様な処理を時刻t5,t6で繰り返し、これによりクロック周波数が(fo−3α)となったとき、受信バッファ量Cがセンタ値Coに安定し、クロックマスタ側に対しマスタスレーブ側のクロックが同期した安定状態を作り出すことができる。   When the reception buffer amount C recovers to the center value Co at time t4, the clock frequency is changed to (fo-2α), and the decreasing rate of the reception buffer amount C from time t4 is further reduced. Similar processing is repeated at times t5 and t6, and when the clock frequency becomes (fo-3α), the reception buffer amount C is stabilized at the center value Co, and the clock on the master slave side is synchronized with the clock master side. Stable state can be created.

また本実施形態にあっては、図8または図9のように、立上げ後のクロックスレーブ同期制御による学習処理を通じてクロック同期状態となる安定状態が得られたならば、安定状態におけるクロック周波数、例えば図8の場合には安定クロック周波数(fo+3α)、また図9の場合には安定クロック周波数(fo−3α)をそれぞれ保存する。   Further, in the present embodiment, as shown in FIG. 8 or FIG. 9, if a stable state that is in a clock synchronization state is obtained through learning processing by clock slave synchronization control after startup, the clock frequency in the stable state, For example, the stable clock frequency (fo + 3α) is stored in the case of FIG. 8, and the stable clock frequency (fo-3α) is stored in the case of FIG.

そして次に電源投入による立上げ時もしくは通信異常から回復した立上げ時には、受信バッファがセンタ値Coに達したとき、クロック周波数fを中心周波数foではなく、保存している安定クロック周波数に設定してクロック調整処理を開始する。これによって2回目以降のスタートアップ時におけるクロック調整処理の時間を大幅に短縮することができる。   When the power is turned on next time or when the communication buffer is restored, when the reception buffer reaches the center value Co, the clock frequency f is set to the stored stable clock frequency instead of the center frequency fo. Start the clock adjustment process. As a result, the clock adjustment processing time at the second and subsequent startups can be greatly reduced.

またクロックスレーブ同期制御の他の実施形態としては、バッファ変動許容範囲の上下限値として大小2段階の値を有し、クロック周波数を起動してから安定するまで間は小さい方の上下限値による狭いバッファ変動許容範囲を設定し、クロック周波数が安定した後は大きい方の上下限値による広いバッファ変動許容範囲を設定し、これによってクロック周波数が同期状態に安定するまでの時間を短縮することができる。   Further, as another embodiment of the clock slave synchronization control, the upper and lower limits of the buffer fluctuation allowable range have two levels of large and small, and from the start of the clock frequency until it becomes stable, the lower upper and lower limits are used. After a narrow buffer fluctuation tolerance is set and the clock frequency is stabilized, a wider buffer fluctuation tolerance is set according to the larger upper and lower limit values, thereby shortening the time until the clock frequency stabilizes in a synchronized state. it can.

このようなバッファ上限値を2段階に設定したクロックスレーブ同期制御によれば、図8,図9の場合にはクロックの安定領域に到達するまでの時間が数時間〜数十時間と長くかかっていたものが、2段階とした場合の設定値の度合にもよるが、数分〜数十分程度というようにクロックが安定するまで時間を大幅に短縮するができる。   According to the clock slave synchronous control in which the buffer upper limit value is set in two stages, in the case of FIGS. 8 and 9, it takes several hours to several tens of hours to reach the stable region of the clock. Depending on the degree of the set value when there are two stages, the time can be significantly shortened until the clock is stabilized, such as several minutes to several tens of minutes.

そして幅の狭いバッファ変動許容範囲により短時間でクロックを安定領域に調整した後は、バッファ変動許容範囲の上下限値を大きくして範囲を広げることによって、安定領域でのクロック調整制御が発生する頻度を抑え、より安定したクロック同期状態を確保することができる。   Then, after adjusting the clock to the stable region in a short time with the narrow buffer fluctuation allowable range, the upper and lower limits of the buffer fluctuation allowable range are increased to widen the range, thereby generating clock adjustment control in the stable region. The frequency can be suppressed and a more stable clock synchronization state can be secured.

図10は図2のレガシーIP変換器12をプログラムの実行により実現するコンピュータのハードウェア環境の説明図である。図10において、CPU54のバス56に対してはRAM58、ROM60に加え、レガシーインタフェース部20及びIPインタフェース部22が接続されている。   FIG. 10 is an explanatory diagram of a hardware environment of a computer that realizes the legacy IP converter 12 of FIG. 2 by executing a program. In FIG. 10, the legacy interface unit 20 and the IP interface unit 22 are connected to the bus 56 of the CPU 54 in addition to the RAM 58 and the ROM 60.

ROM60にはBOISさらにOSに加え、本実施形態の変換プログラムが格納されている。コンピュータを起動するとROM60のBIOSの実行によりOSがRAM58に読出し配置された後、OSの実行でROM60から本発明の変換プログラムがRAM58に読出し配置され、CPU54により実行されることになる。   The ROM 60 stores the conversion program of this embodiment in addition to the BOIS and the OS. When the computer is started, the OS is read and arranged in the RAM 58 by executing the BIOS of the ROM 60, and then the conversion program of the present invention is read and arranged from the ROM 60 to the RAM 58 by the execution of the OS and executed by the CPU 54.

図11は本実施形態による変換処理の概略を示したフローチャートであり、図2に参照して説明すると次のようになる。   FIG. 11 is a flowchart showing an outline of the conversion processing according to the present embodiment, and it will be described as follows with reference to FIG.

図2のレガシーIP変換器12を電源投入により立ち上げると、まずステップS1で初期設定を行う。この初期設定には
(1)クロックマスタスレーブ設定
(2)マスタチャネル設定
(3)クロック同期制御のパラメータ設定
が含まれる。
When the legacy IP converter 12 of FIG. 2 is started up by turning on the power, initial setting is first performed in step S1. This initial setting includes (1) clock master slave setting, (2) master channel setting, and (3) clock synchronization control parameter setting.

クロックマスタスレーブ設定はマスタスレーブ設定部36によるレガシーIP変換装置の3台を1グループとしてクロックマスタ、第1クロックスレーブまたは第2クロックスレーブを設定する処理となる。   The clock master / slave setting is a process of setting the clock master, the first clock slave, or the second clock slave by setting the three legacy IP conversion devices as one group by the master slave setting unit 36.

次のマスタチャネル設定は図5(A)〜(C)に示したチャネル管理テーブル50−1〜50−3に基づく第1マスタチャネル及び第2マスタチャネルの設定である。   The next master channel setting is a setting of the first master channel and the second master channel based on the channel management tables 50-1 to 50-3 shown in FIGS.

即ち、マスタスレーブ設定部36は、第1及び第2クロックスレーブを設定したレガシーIP変換装置は、クロックマスタを設定したレガシーIP変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、第2クロックスレーブを設定したレガシーIP変換装置は、第1クロックスレーブを設定したレガシーIP変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定する
次のクロック同期制御のパラメータ設定は、図8及び図9に示したクロック同期制御のパラメータであり、受信バッファ量についてはセンタ値Co、上限値Cms、下限値Cmin、クロック周波数については中心周波数fo、調整最大周波数fmx、調整最小周波数fmin及びオフセット周波数αなどである。
That is, the master / slave setting unit 36 sets the first and second clock slaves, and the legacy IP conversion device sets a specific one channel among the assigned channels from the legacy IP conversion device that sets the clock master as the first master channel. The legacy IP converter that has been set to the second clock slave sets one specific channel among the assigned channels from the legacy IP converter that has set the first clock slave to the second master channel. The parameter setting of the synchronization control is a parameter of the clock synchronization control shown in FIGS. 8 and 9. The reception buffer amount is center value Co, upper limit value Cms, lower limit value Cmin, clock frequency is center frequency fo, maximum adjustment The frequency fmx, the minimum adjustment frequency fmin, the offset frequency α, and the like.

更にパラメータ設定の中には、クロックマスタ監視部46による通信異常及び正常を判断するための基準値に対する80%〜120%の上下限の閾値の設定も含まれる。   Further, the parameter setting includes setting of upper and lower thresholds of 80% to 120% with respect to a reference value for determining communication abnormality and normality by the clock master monitoring unit 46.

ステップS1の初期設定の処理が済んだならばステップS2に進み、電源投入により起動したレガシーIP変換器12における設定がクロックマスタ設定か否か判別する。クロックマスタ設定であればステップS3に進み、クロックマスタ同期制御部42によるクロックマスタ変換処理を実行し、ステップS4で停止指示があるまでこれを繰り返す。   If the initial setting process in step S1 is completed, the process proceeds to step S2, and it is determined whether or not the setting in the legacy IP converter 12 activated by power-on is the clock master setting. If it is clock master setting, it will progress to step S3, will perform the clock master conversion process by the clock master synchronous control part 42, and will repeat this until there exists a stop instruction | indication in step S4.

ステップS2でクロックマスタ設定でなかった場合、すなわち第1クロックスレーブ設定あるいは第2クロックスレーブ設定であった場合にはステップS5に進み、クロックスレーブ変換処理として第1クロックスレーブ同期制御部44による制御処理または第2クロックスレーブ同期制御部45による制御処理をステップS6で停止指示があるまで繰り返す。   If it is not the clock master setting in step S2, that is, if it is the first clock slave setting or the second clock slave setting, the process proceeds to step S5, and the control process by the first clock slave synchronization control unit 44 as the clock slave conversion process Alternatively, the control process by the second clock slave synchronization control unit 45 is repeated until a stop instruction is issued in step S6.

図12はクロックマスタが設定された場合のレガシーIP変換器12の送信変換部38によるクロックマスタ送信変換処理のフローチャートである。   FIG. 12 is a flowchart of clock master transmission conversion processing by the transmission conversion unit 38 of the legacy IP converter 12 when the clock master is set.

図12において、クロックマスタ送信変換処理は、ステップS1でIPインタフェース部22による所定のIPプロトコル、例えばイーサネット(R)の通信プロトコルに従った一定の時間間隔の送信タイミングの有無をチェックし、送信タイミングへの到達を判別するとステップS2に進み、そのとき送信バッファ240−1〜240−30に蓄積している30チャネル分の蓄積データそれぞれからパケット組立部260−1〜260−30によりIPパケットを生成し、IPネットワーク18に送信し、このパケット分散伝送の処理をステップS3で停止指示があるまで繰り返す。   In FIG. 12, the clock master transmission conversion process checks whether or not there is a transmission timing at a predetermined time interval according to a predetermined IP protocol, for example, an Ethernet (R) communication protocol, by the IP interface unit 22 in step S1. If it is determined that the packet arrives at step S2, the process proceeds to step S2. At that time, IP packets are generated by the packet assembly units 260-1 to 260-30 from the accumulated data of 30 channels stored in the transmission buffers 240-1 to 240-30, respectively. Then, the packet is transmitted to the IP network 18 and this packet distributed transmission process is repeated until a stop instruction is issued in step S3.

図13は本実施形態のクロックマスタ受信変換処理を示したフローチャートであり、図2のレガシーIP変換器12でクロックマスタが設定された場合の受信変換部40の処理となる。   FIG. 13 is a flowchart showing the clock master reception conversion process of this embodiment, which is the process of the reception conversion unit 40 when the clock master is set by the legacy IP converter 12 of FIG.

図13において、まずステップS1で可変クロック部32を中心周波数foに固定設定して起動し、ステップS2でIPネットワーク18から受信バッファ300−1〜300−30に対する受信データの蓄積に依存することなく、30チャネルのマルチフレームデータを生成してレガシーインタフェース部20からレガシー多重伝送装置10に送出を開始する全チャネルのスタートアップ処理を行う。   In FIG. 13, first, in step S1, the variable clock unit 32 is fixed and activated at the center frequency fo, and in step S2, it does not depend on the accumulation of reception data from the IP network 18 to the reception buffers 300-1 to 300-30. , Start-up processing is performed for all channels that generate 30-frame multi-frame data and start transmission from the legacy interface unit 20 to the legacy multiplex transmission apparatus 10.

スタートアップ処理が済むとステップS3で全チャネルのクロック同期によるIPパケットの受信蓄積データに基づくマルチフレームデータの送信に移行し、ステップS4で停止指示があるまで繰り返す。   When the start-up process is completed, the process proceeds to transmission of multi-frame data based on the received and accumulated data of the IP packet by clock synchronization of all channels in step S3, and is repeated until a stop instruction is issued in step S4.

図14は図13のステップS2におけるスタートアップ処理の詳細を示したフローチャートである。図14において、スタートアップ処理は、ステップS1で全チャネルの受信バッファ300−1〜300−30をクリアし、続いてステップS2で全チャネルをメイクビジー処理により無信号データとして例えばマークホールドデータを生成し、レガシーインタフェース部20により可変クロック部32のクロックに同期して30チャネルのマークホールドデータを時分割配置したマルチフレームデータを生成してレガシー多重伝送装置に同期通信を開始する。   FIG. 14 is a flowchart showing details of the startup process in step S2 of FIG. In FIG. 14, in the start-up process, the reception buffers 300-1 to 300-30 for all channels are cleared in step S1, and then mark hold data is generated as non-signal data by make busy processing in step S2, for example. The legacy interface unit 20 generates multiframe data in which 30-channel mark hold data is time-divisionally arranged in synchronization with the clock of the variable clock unit 32, and starts synchronous communication with the legacy multiplex transmission apparatus.

レガシーIP変換器12でIPネットワークに対しチャネル分散伝送を行う場合、立上げ時に受信バッファ300−1〜300−30に対するIPパケットの受信に基づくパケットデータの蓄積は、他のレガシーIP変換器における立上げ動作のばらつきやIPネットワークにおけるばらつきから様々であり、電源を投入しても受信バッファ300−1〜300−30に蓄積データが揃うことはあり得ない。   When the legacy IP converter 12 performs distributed channel transmission to the IP network, the packet data accumulation based on the reception of the IP packets to the reception buffers 300-1 to 300-30 at the time of start-up is performed in other legacy IP converters. There are various variations due to variations in the raising operation and variations in the IP network, and even if the power is turned on, the stored data cannot be stored in the reception buffers 300-1 to 300-30.

したがって本実施形態にあっては、立上げ時におけるスタートアップ処理として、メイクビジー処理により蓄積データに依存しないマークホールドデータを使用したマルチフレームデータの作成でクロックに同期して、レガシー多重伝送装置10側に同期通信データの送信を開始できるようにしている。なお、無信号データとして生成するマークホールドデータは、音声伝送の場合、オール1のデータであり、これは無音状態を示すデータである。   Therefore, in this embodiment, as a start-up process at the time of start-up, the legacy multiplex transmission apparatus 10 side synchronizes with the clock in the creation of multi-frame data using mark hold data that does not depend on accumulated data by the make busy process. The transmission of synchronous communication data can be started. Note that the mark hold data generated as no-signal data is all-one data in the case of audio transmission, and this is data indicating a silent state.

続いてステップS3で、受信バッファ300−1〜300−30の受信バッファ量のうち、センタ値Coに達した受信バッファがあるか否かチェックし、センタ値Coに達した受信バッファがあれば、ステップS4でその受信バッファの蓄積データをマルチフレームデータに含めてレガシー多重伝送装置10に同期通信するデータ読出し送信に切り替える。   Subsequently, in step S3, it is checked whether there is a reception buffer that has reached the center value Co among the reception buffer amounts of the reception buffers 300-1 to 300-30, and if there is a reception buffer that has reached the center value Co, In step S4, the data stored in the reception buffer is included in the multi-frame data and switched to data read transmission for synchronous communication with the legacy multiplex transmission apparatus 10.

ステップS5にあっては、全チャネルについて蓄積データの送信に切り替えたかどうかのメイクビジー解消の有無をチェックしており、30チャネルのすべてについて受信バッファの蓄積データの送信に切り替わるとメイクビジー解消が判別され、ステップS6で全チャネルを受信バッファの蓄積データからマルチフォーマットフレームを生成して送信する正常処理状態に移行する。   In step S5, it is checked whether or not make-busy cancellation has been performed for all channels to determine whether or not make-busy cancellation has been performed. In step S6, a transition is made to a normal processing state in which a multi-format frame is generated from the accumulated data in the reception buffer and transmitted on all channels.

図15は本実施形態の第1クロックスレーブ送信変換処理を示したフローチャートであり、図2のレガシーIP変換器12で第1クロックスレーブが設定されて、第1クロックスレーブ同期制御部44が有効となった場合の処理動作である。   FIG. 15 is a flowchart showing the first clock slave transmission conversion process of the present embodiment. When the first clock slave is set by the legacy IP converter 12 of FIG. 2, the first clock slave synchronization control unit 44 is enabled. This is the processing operation when

図15において、第1クロックスレーブ送信変換処理は、図12のクロックマスタ送信変換処理と基本的に同じであり、ステップS1でIPインタフェース部22のプロトコルにより決まる一定間隔の送信タイミングを判別してステップS2に進み、全チャネルのIPパケットを生成してIPネットワークに送信するチャネル分散送信を行い、これをステップS3で停止指示があるまで繰り返す。   In FIG. 15, the first clock slave transmission conversion process is basically the same as the clock master transmission conversion process of FIG. 12, and the transmission timing at a fixed interval determined by the protocol of the IP interface unit 22 is determined in step S1. In step S2, distributed channel transmission is performed in which IP packets for all channels are generated and transmitted to the IP network, and this is repeated until a stop instruction is issued in step S3.

この第1クロックスレーブ送信変換処理で相違する点は、可変クロック部32によるクロック周波数がクロックマスタの場合の固定設定に対し、第1クロックスレーブ同期制御部44によりクロックマスタ側に追従するように制御されている点だけである。   The difference in the first clock slave transmission conversion processing is that the first clock slave synchronization control unit 44 controls the clock master side to follow the fixed setting when the clock frequency by the variable clock unit 32 is the clock master. It is only a point that has been done.

図16は本実施形態の第1クロックスレーブ受信変換処理を示したフローチャートであり、図2のレガシーIP変換器12で第1クロックスレーブが設定された場合の受信変換部40の処理動作となる。   FIG. 16 is a flowchart showing the first clock slave reception conversion process of the present embodiment, which is the processing operation of the reception conversion unit 40 when the first clock slave is set in the legacy IP converter 12 of FIG.

図16において、第1クロックスレーブ受信変換処理は、ステップS1で電源投入に伴う立ち上げ時に可変クロック部32のクロック周波数を中心周波数foに設定して起動し、ステップS2で全チャネルのスタートアップ処理を行う。   In FIG. 16, the first clock slave reception conversion process is started by setting the clock frequency of the variable clock unit 32 to the center frequency fo at the start-up associated with power-on in step S1, and the start-up process for all channels in step S2. Do.

このスタートアップ処理の詳細は、図14のクロックマスタの場合と同じになる。次にステップS3で全チャネルのクロック同期によるマルチフレーム送信に移行した後、ステップS4で第1クロックスレーブのクロック同期制御を行い、ステップS4の処理をステップS5で停止指示があるまで繰り返す。   The details of this startup process are the same as those of the clock master in FIG. Next, after shifting to multi-frame transmission by clock synchronization of all channels in step S3, clock synchronization control of the first clock slave is performed in step S4, and the process of step S4 is repeated until a stop instruction is issued in step S5.

図17は図16のステップS4における第1クロックスレーブのクロック同期制御の詳細を示したフローチャートである。   FIG. 17 is a flowchart showing details of the clock synchronization control of the first clock slave in step S4 of FIG.

図17において、クロック同期制御処理は、ステップS1で予め設定した第1マスタチャネルに対応した受信バッファの受信バッファ量Cを読込み、ステップS2で受信バッファ量は上限値Cmaxか否かチェックする。ここでステップS2〜S6の処理が図8のタイムチャートに示したセンタ値Coから受信バッファ量Cが増加する場合のクロック同期制御であり、ステップS7〜S10が逆に図9に示した受信バッファ量Cが減少する場合の制御処理となっている。   In FIG. 17, the clock synchronization control process reads the reception buffer amount C of the reception buffer corresponding to the first master channel preset in step S1, and checks whether the reception buffer amount is the upper limit value Cmax in step S2. Here, the processing of steps S2 to S6 is clock synchronization control when the reception buffer amount C increases from the center value Co shown in the time chart of FIG. 8, and steps S7 to S10 are conversely the reception buffer shown in FIG. The control process is performed when the amount C decreases.

ステップS2で受信バッファ量が増加して上限値Cmaxに達したことが判別されるとステップS3に進み、クロック周波数fを最大調整周波数fmaxに変更した後、ステップS4で受信バッファ量Cがセンタ値Coに戻ったか否かチェックする。   If it is determined in step S2 that the reception buffer amount has increased to reach the upper limit value Cmax, the process proceeds to step S3. After changing the clock frequency f to the maximum adjustment frequency fmax, the reception buffer amount C is set to the center value in step S4. Check if it has returned to Co.

センタ値Coに戻るとステップS5で調整回数nを1つカウントアップし(但し初期値はn=0)、ステップS6でクロック周波数fを調整回数nとオフセット周波数αを用いて
f=fo+n.α
に変更する。そして受信バッファ量Cがセンタ値Coに安定するまでステップS1〜S6の処理が繰り返し行われることになる。
When returning to the center value Co, the number of adjustments n is incremented by 1 in step S5 (where the initial value is n = 0), and in step S6, the clock frequency f is set to f = fo + n. α
Change to The processes in steps S1 to S6 are repeated until the reception buffer amount C becomes stable at the center value Co.

一方、ステップS2で受信バッファ量が上限値に達していない場合にはステップS7で下限値Cminに達したか否かチェックされ、下限値Cminへの到達が判定された場合にはステップS8でクロック周波数fを最小調整周波数fminに変更した後、ステップS9で受信バッファ量Cがセンタ値Coに戻ったか否か判定する。   On the other hand, if the reception buffer amount has not reached the upper limit value in step S2, it is checked in step S7 whether or not the lower limit value Cmin has been reached. After changing the frequency f to the minimum adjustment frequency fmin, it is determined in step S9 whether or not the reception buffer amount C has returned to the center value Co.

センタ値Coに戻った場合には、ステップS10で調整回数nをひとつ増加した後、ステップS11でクロック周波数を
f=fo―n.α
として修正する。このステップS1、S2、S7〜S10の処理を受信バッファ量Cがセンタ値Coに安定するまで繰り返す。
When the value returns to the center value Co, the number of adjustments n is increased by one in step S10, and then the clock frequency is changed to f = fo-n. α
To correct as The processes in steps S1, S2, and S7 to S10 are repeated until the reception buffer amount C is stabilized at the center value Co.

図18は本実施形態における第2クロックスレーブ送信変換処理を示したフローチャートであり、図2のレガシーIP変換器12で第2クロックスレーブが設定されて送信変換部38が動作した場合の処理となる。図18において、第2クロックスレーブ制御部送信変換処理は図15に示した第1クロックスレーブ送信変換処理と基本的に同じである。   FIG. 18 is a flowchart showing the second clock slave transmission conversion process in this embodiment, which is a process when the second clock slave is set in the legacy IP converter 12 of FIG. . In FIG. 18, the second clock slave control unit transmission conversion process is basically the same as the first clock slave transmission conversion process shown in FIG.

図19は本実施形態の第2クロックスレーブ受信変換処理を示したフローチャートであり、図2のレガシーIP変換器12において、第1クロックスレーブが設定された場合の受信変換部40による処理となる。   FIG. 19 is a flowchart showing the second clock slave reception conversion process of the present embodiment. This process is performed by the reception conversion unit 40 when the first clock slave is set in the legacy IP converter 12 of FIG.

図19において、第2クロックスレーブ受信変換処理はステップS1〜S4までは図16の第1クロックスレーブ受信変換処理と基本的と同じであり、ステップS5でクロックマスタ監視処理が新たに加わっている。   In FIG. 19, the second clock slave reception conversion process is basically the same as the first clock slave reception conversion process of FIG. 16 from step S1 to S4, and a clock master monitoring process is newly added in step S5.

またステップS4の第2クロックスレーブのクロック同期制御は、クロック同期制御のために受信バッファ量を測定する受信バッファが第2マスタチャネルとなっている点で相違している。   The clock synchronization control of the second clock slave in step S4 is different in that the reception buffer for measuring the reception buffer amount for clock synchronization control is the second master channel.

図20は図19のステップS4における第2クロックスレーブのクロック同期制御の詳細を示したフローチャートである。図20のクロック同期制御処理は、図17の第1クロックスレーブ同期制御処理と基本的に同じであり、ステップS1における受信バッファ量の読込みが図20の場合には第2マスタチャネルに対応した受信バッファから読み込んでいる点が相違する。   FIG. 20 is a flowchart showing details of the clock synchronization control of the second clock slave in step S4 of FIG. The clock synchronization control process of FIG. 20 is basically the same as the first clock slave synchronization control process of FIG. 17, and when the reception buffer amount read in step S1 is the reception corresponding to the second master channel in FIG. The difference is reading from the buffer.

図21は図20のステップS6におけるクロックマスタの監視処理を示したフローチャートであり、0系/1系切替を例にとっている。図21において、クロックマスタ監視処理は、ステップS1でパケット密度測定値を読込み、ステップS2でパケット密度が正常範囲か否か判別する。   FIG. 21 is a flowchart showing the monitoring process of the clock master in step S6 of FIG. 20, taking 0 system / 1 system switching as an example. In FIG. 21, the clock master monitoring process reads the packet density measurement value in step S1, and determines whether the packet density is in the normal range in step S2.

パケット密度の正常範囲は基準値に対し
80%<正常範囲<120%
であり、従って異常範囲は80%以下か120%以上となる。
The normal range of packet density is 80% <normal range <120% relative to the reference value
Therefore, the abnormal range is 80% or less or 120% or more.

ステップS2でパケット密度が異常範囲にあることが判別されるとステップS3に進み、一定時間異常検出が継続したことが判別されるとステップS4に進み、現在0系の受信パケットの設定か否かチェックし、0系であればステップS5に進み、1系の受信バッファの設定に切り替える。   If it is determined in step S2 that the packet density is in the abnormal range, the process proceeds to step S3. If it is determined that the abnormality detection has continued for a certain period of time, the process proceeds to step S4, and whether or not the current 0-system received packet is set. If it is checked and the system is 0, the process proceeds to step S5, and the setting is switched to the setting of the reception buffer for system 1.

ここで0系の受信バッファとは第1クロックスレーブ側の第2マスタチャネルに対応した受信バッファであり、1系の受信バッファとはクロックマスタ側の第1マスタチャネルに対応した受信バッファである。   Here, the 0-system reception buffer is a reception buffer corresponding to the second master channel on the first clock slave side, and the 1-system reception buffer is a reception buffer corresponding to the first master channel on the clock master side.

一方、ステップS3で現在1系の受信バッファの設定であった場合にはステップS6に進み、0系の受信バッファの設定に切り替えることになる。このようなパケット密度の異常、すなわち通信異常を判別して受信バッファを切り替えた後は、ステップS7でスタートアップ処理を行う。このスタートアップ処理は図14に示したスタートアップ処理と同じ内容となる。   On the other hand, if it is currently set in the system 1 reception buffer in step S3, the process proceeds to step S6 to switch to the system 0 reception buffer setting. After determining such a packet density abnormality, that is, a communication abnormality and switching the reception buffer, start-up processing is performed in step S7. This startup process has the same contents as the startup process shown in FIG.

図22は図20のステップS6における他のクロックマスタ監視処理の詳細を示したフローチャートであり、通信異常を判別した際にN系/E系の切替を行うようにしたことを特徴とする。   FIG. 22 is a flowchart showing details of another clock master monitoring process in step S6 of FIG. 20, and is characterized in that switching between N system / E system is performed when a communication abnormality is determined.

図22において、クロックマスタ監視処理は、ステップS1でパケット密度の測定値を読み込んだ後、ステップS2でパケット密度が正常範囲か否かチェックする。異常であった場合にはステップS3に進み、一定時間異常が継続することを判別するとステップS4でN系からE系の受信バッファに切替る。   In FIG. 22, the clock master monitoring process reads the measured value of the packet density in step S1, and then checks whether the packet density is in the normal range in step S2. If it is abnormal, the process proceeds to step S3. If it is determined that the abnormality continues for a certain time, the system switches from the N-system to the E-system reception buffer in step S4.

ここでN系の受信バッファは第1クロックスレーブ側の第2マスタチャネルに対応した受信バッファであり、一方、E系はクロックマスタ側の第1マスタチャネルの受信バッファである。ステップS4でE系の受信バッファの設定に切り替えると、ステップS5に進んでスタートアップ処理を行い、通信異常を回避した正常なクロック同期制御に戻る。   Here, the N-system reception buffer is a reception buffer corresponding to the second master channel on the first clock slave side, while the E-system is a reception buffer for the first master channel on the clock master side. When switching to the setting of the E-system reception buffer in step S4, the process proceeds to step S5 to perform start-up processing and return to normal clock synchronization control that avoids communication abnormality.

続いてステップS6〜S10の処理により通信異常を起こしたチャネルを監視し、通信正常に戻った場合にN系に戻す制御を行う。即ち、ステップS6でパケット密度の通信異常を起こしている第1マスタチャネルの受信バッファについて測定して読込む。   Subsequently, the channel in which communication abnormality has occurred is monitored by the processing in steps S6 to S10, and control is performed to return to the N system when communication returns to normal. That is, in step S6, the reception buffer of the first master channel in which the communication error of the packet density has occurred is measured and read.

ステップS7でパケット密度が正常範囲にあることを判定した場合、正常範囲にあることがステップS8で一定時間継続して判別されると、ステップS9で現在切り替えているE系から元のN系の受信バッファに設定を切り替え、ステップS10でスタートアップ処理を行う。   When it is determined in step S7 that the packet density is in the normal range, if it is determined in step S8 that the packet density is in the normal range for a certain period of time, it is determined in step S9 from the current E system to the original N system. The setting is switched to the reception buffer, and a startup process is performed in step S10.

これによって通信異常により第2マスタチャネルの受信バッファから第1マスタチャネルの受信バッファに切替えた後、第2マスタチャネルの通信異常が解消して正常通信に戻ると、切り替えた受信バッファを元の受信バッファに戻す処理を行うことになる。   As a result, after switching from the reception buffer of the second master channel to the reception buffer of the first master channel due to a communication error, when the communication error of the second master channel is resolved and normal communication is resumed, the switched reception buffer is restored to the original reception. Processing to return to the buffer is performed.

このように本実施形態のクロックマスタ監視処理におけるクロック同期制御のため、受信バッファ量を測定している受信バッファの異常につき、単位時間当りのパケット数であるパケット受信密度に基づいて通信異常を判別できるため、通常行われている受信バッファ量がゼロ(バッファ空)となることで通信異常を判定する場合に比べ、IPパケットによる通信状態の健全性の判断をより確実に行うことができ、真にバッファ切替えが必要なときにのみ切替えを行って、より安定したクロック同期制御を、IPネットワークにおけるIPパケットのチャネル分散伝送を通じて実現することができる。   As described above, for clock synchronization control in the clock master monitoring process of this embodiment, communication abnormality is determined based on the packet reception density, which is the number of packets per unit time, for the reception buffer abnormality for which the reception buffer amount is measured. Therefore, it is possible to more reliably determine the soundness of the communication state using the IP packet than when the communication error is determined when the reception buffer amount that is normally performed is zero (buffer empty). By switching only when buffer switching is required, more stable clock synchronization control can be realized through distributed channel transmission of IP packets in the IP network.

また本発明は図2に示したレガシーIP変換器12で使用する図10のようなコンピュータで実行される変換プログラムを提供するものであり、この変換プログラムは図11乃至図20のフローチャートに示した内容を持つ。   The present invention also provides a conversion program executed by a computer as shown in FIG. 10 used in the legacy IP converter 12 shown in FIG. 2, and this conversion program is shown in the flowcharts of FIGS. Have content.

また本発明は図2のレガシーIP変換器12に設けたコンピュータで実行する変換プログラムを格納した記憶媒体を提供する。この記憶媒体はCD−ROM、フロッピーディスク(R)、DVD、光磁気ディスク、ICカードなどのカード型の記憶媒体やコンピュータシステムの内外に備えられたハードディスクドライブの記憶装置のほか、回線を通じてプログラムを保持するデータベースやあるいは他のコンピュータシステム並びデータベース、更にはその回線上の伝送媒体を含むものである。   The present invention also provides a storage medium storing a conversion program executed by a computer provided in the legacy IP converter 12 of FIG. This storage medium is a card-type storage medium such as a CD-ROM, floppy disk (R), DVD, magneto-optical disk, IC card, etc., a hard disk drive storage device provided inside or outside the computer system, and a program through a line. It includes a database to be held, or another computer system and database, and further a transmission medium on the line.

尚、本発明は上記の実施形態に限定されずその目的と利点を損なうことのない適宜の変形を含み、更に上記の実施形態に示した数値による限定は受けない。   The present invention is not limited to the above-described embodiment, includes appropriate modifications that do not impair the object and advantages thereof, and is not limited by the numerical values shown in the above-described embodiment.

ここで本発明の特徴をまとめて列挙すると次の付記のようになる。
(付記)

(付記1)(装置)
クロック信号に同期して複数チャネルのマルチフレームデータを伝送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる同期非同期通信網の変換装置に於いて、
前記変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の主従関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御部と、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御部と、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第1クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御部と、
を備えたことを特徴とする変換装置。(1)
Here, the features of the present invention are enumerated as follows.
(Appendix)

(Appendix 1) (Device)
Inserted and connected between a synchronous multiplex communication apparatus that transmits multi-channel data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. In a synchronous asynchronous communication network conversion device that transfers data between
The conversion device that sets the master-slave relationship of clock synchronization of any one of the clock master, the first clock slave, and the second clock slave, and sets the first and second clock slaves, with the three sets of the conversion devices as one group. One specific channel among the assigned channels from the conversion device that has set the clock master is set as the first master channel, and the conversion device that has set the second clock slave is from the conversion device that has set the first clock slave. A master / slave setting unit for setting a specific one of the assigned channels as the second master channel;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. A clock master synchronization control unit,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the first clock slave synchronization control for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after activation and synchronizing the clock with another conversion device in the set state of the clock master. And
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the second clock slave that controls the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after startup and synchronizes the clock with another conversion device in the set state of the first clock slave. A synchronization controller;
A conversion device comprising: (1)

(付記2)(クロックスレーブ同期制御の詳細)
付記1記載の変換装置に於いて、前記変換装置の3台を1グループとして複数グループを構築した場合、前記クロックマスタを設定した変換装置は全グループに対し共通の変換装置として含まれることを特徴とする変換装置。(2)
(Appendix 2) (Details of clock slave synchronization control)
In the conversion device according to appendix 1, when a plurality of the conversion devices are grouped as one group, the conversion device in which the clock master is set is included as a common conversion device for all groups. A conversion device. (2)

(付記3)(クロックスレーブ同期制御の詳細)
付記1記載の変換装置に於いて、前記第1及び第2クロックスレーブ同期制御部は、
クロック周波数を中心周波数から起動した後に受信バッファ量がバッファ変動許容範囲の上限値を超えた場合は所定の最大調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最大調整周波数を前記中心周波数に所定のオフセット周波数を加算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返し、
クロック周波数を中心周波数から起動した後に受信バッファ量が前記バッファ変動許容範囲の下限値を下回った場合は所定の最小調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最小調整周波数を前記中心周波数から所定のオフセット周波数を減算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返すことを特徴とする変換装置。(3)
(Appendix 3) (Details of clock slave synchronization control)
In the conversion device according to attachment 1, the first and second clock slave synchronization control units include:
If the receive buffer amount exceeds the upper limit of the allowable range of buffer fluctuation after starting the clock frequency from the center frequency, it is changed to a predetermined maximum adjustment frequency, and the maximum adjustment is made when the receive buffer amount returns to the center value after the change. The process of changing the frequency to a frequency obtained by adding a predetermined offset frequency to the center frequency is repeated while sequentially increasing the offset frequency,
When the reception buffer amount falls below the lower limit value of the buffer fluctuation allowable range after starting the clock frequency from the center frequency, it is changed to a predetermined minimum adjustment frequency, and when the reception buffer amount returns to the center value after the change, the minimum A conversion device characterized by repeating the process of changing the adjustment frequency to a frequency obtained by subtracting a predetermined offset frequency from the center frequency while increasing the offset frequency sequentially. (3)

(付記4)(クロックマスタ監視とバッファ切替え)
付記1記載の変換装置に於いて、更に、前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視部を設けたことを特徴とする変換装置。(4)
(Appendix 4) (Clock master monitoring and buffer switching)
In the conversion apparatus according to attachment 1, the packet reception density of the second master channel is further measured in the setting state of the second clock slave, and the abnormality detection state of the packet reception density continues for a predetermined time. In this case, a conversion apparatus comprising a clock master monitoring unit that switches a reception buffer for measuring a reception buffer amount from the reception buffer of the second master channel to the reception buffer of the first master channel. (4)

(付記5)(クロックマスタ監視とバッファ切替え)
付記4記載の変換装置に於いて、前記クロックマスタ監視部は、前記パケット密度として単位時間に受信されるパケット数を測定することを特徴とする変換装置。
(Appendix 5) (Clock master monitoring and buffer switching)
The conversion apparatus according to appendix 4, wherein the clock master monitoring unit measures the number of packets received per unit time as the packet density.

(付記6)(クロックマスタ監視とバッファ切替え)
付記5記載の変換装置に於いて、前記クロックマスタ監視部は、前記単位時間より短い時間間隔で複数のカウンタを順次起動して並列的にパケット数をカウントし、単位時間に達したカウンタのパケット数により前記パケット密度を順次更新することを特徴とする変換装置。
(Appendix 6) (Clock master monitoring and buffer switching)
The conversion device according to appendix 5, wherein the clock master monitoring unit sequentially starts a plurality of counters at a time interval shorter than the unit time, counts the number of packets in parallel, and the packet of the counter that has reached the unit time A conversion apparatus characterized by sequentially updating the packet density according to a number.

(付記7)(0系/1系切替え)
付記4記載の変換装置に於いて、前記クロックマスタ監視部は、前記パケット受信密度の異常検出により受信バッファを切替えた後、切替後の受信バッファについて測定したパケット受信密度の異常を検出した際に、現在の受信バッファから切替え前の受信バッファに切替えることを特徴とする変換装置。
(Appendix 7) (Switching between 0 and 1 systems)
In the conversion device according to appendix 4, when the clock master monitoring unit detects an abnormality in the packet reception density measured for the switched reception buffer after switching the reception buffer by detecting the abnormality in the packet reception density, A conversion apparatus characterized by switching from a current reception buffer to a reception buffer before switching.

(付記8)(N系/E系切替え)
付記4記載の変換装置に於いて、前記クロックマスタ監視部は、前記パケット受信密度の異常検出により受信バッファを切替えた後、切替前の受信バッファのパケット受信密度の正常検出状態が所定時間継続した際に、現在の受信バッファから切替え前の受信バッファに戻すことを特徴とする変換装置。
(Appendix 8) (N / E switch)
In the conversion device according to attachment 4, the clock master monitoring unit switches the reception buffer due to the abnormality detection of the packet reception density, and the normal detection state of the packet reception density of the reception buffer before switching continues for a predetermined time. In this case, the conversion apparatus returns the current reception buffer to the reception buffer before switching.

(付記9)(レガシーIFとIP通信網)
付記1記載の変換装置に於いて、前記同期多重通信装置はレガシーインタフェースを備えた機器であり、前記非同期通信網の機器はインターネットプロトコルインタフェースを備えた機器であることを特徴とする変換装置。
(Appendix 9) (Legacy IF and IP communication network)
The conversion apparatus according to claim 1, wherein the synchronous multiplex communication device is a device having a legacy interface, and the device of the asynchronous communication network is a device having an Internet protocol interface.

(付記10)(方法)
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置の変換方法に於いて、
前記同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換ステップと、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換ステップと、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の同期非同期通信変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の同期非同期通信変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
を備えたことを特徴とする変換方法。(5)
(Appendix 10) (Method)
Inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. In the conversion method of the conversion device for transferring data between,
Three sets of the synchronous multiplex communication device and the conversion device are set as one group, and a clock synchronization subordinate relationship of any one of the clock master, the first clock slave, and the second clock slave is set, and the first and second clock slaves are set. The converting apparatus sets a specific one channel among the allocated channels from the converting apparatus that has set the clock master as the first master channel, and the converting apparatus that sets the second clock slave sets the first clock slave. A master-slave setting step of setting a specific one channel among the assigned channels from the converted converter as the second master channel;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. Steps,
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving conversion step to send to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. Clock master synchronization control step,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. And controlling the clock frequency of the variable clock unit so that the reception buffer amount is stabilized at the center value after activation, and synchronizing the clock with another synchronous / asynchronous communication converter in the set state of the clock master. Slave synchronization control step;
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, after starting, the clock frequency of the variable clock unit is controlled so that the amount of the reception buffer is stabilized at the center value, and clock synchronization is performed with another synchronous / asynchronous communication conversion device in the setting state of the second clock slave. A second clock slave synchronization control step;
A conversion method characterized by comprising: (5)

(付記11)(クロックスレーブ同期制御の詳細)
付記10記載の変換方法に於いて、前記変換装置の3台を1グループとして複数グループを構築した場合、前記クロックマスタを設定した変換装置は全グループに対し共通の変換装置として含まれることを特徴とする変換方法。
(Appendix 11) (Details of clock slave synchronization control)
The conversion method according to appendix 10, wherein when a plurality of the conversion devices are grouped into one group, the conversion device in which the clock master is set is included as a common conversion device for all groups. Conversion method.

(付記12)(クロックスレーブ同期制御の詳細)
付記10記載の変換方法に於いて、前記第1及び第2クロックスレーブ同期制御ステップは、
クロック周波数を中心周波数から起動した後に受信バッファ量がバッファ変動許容範囲の上限値を超えた場合は所定の最大調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最大調整周波数を前記中心周波数に所定のオフセット周波数を加算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返し、
クロック周波数を中心周波数から起動した後に受信バッファ量が前記バッファ変動許容範囲の下限値を下回った場合は所定の最小調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最小調整周波数を前記中心周波数から所定のオフセット周波数を減算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返すことを特徴とする変換方法。
(Appendix 12) (Details of clock slave synchronization control)
In the conversion method according to attachment 10, the first and second clock slave synchronization control steps include:
If the receive buffer amount exceeds the upper limit of the allowable range of buffer fluctuation after starting the clock frequency from the center frequency, it is changed to a predetermined maximum adjustment frequency, and the maximum adjustment is made when the receive buffer amount returns to the center value after the change. The process of changing the frequency to a frequency obtained by adding a predetermined offset frequency to the center frequency is repeated while sequentially increasing the offset frequency,
When the reception buffer amount falls below the lower limit value of the buffer fluctuation allowable range after starting the clock frequency from the center frequency, it is changed to a predetermined minimum adjustment frequency, and when the reception buffer amount returns to the center value after the change, the minimum A conversion method characterized by repeating the process of changing the adjustment frequency to a frequency obtained by subtracting a predetermined offset frequency from the center frequency while increasing the offset frequency sequentially.

(付記13)(クロックマスタ監視とバッファ切替え)
付記1記載の変換方法に於いて、更に、前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視ステップを備えたことを特徴とする同期非同期通信変換換方法。
(Supplementary note 13) (Clock master monitoring and buffer switching)
In the conversion method according to appendix 1, the packet reception density of the second master channel is further measured when the second clock slave is set, and the abnormality detection state of the packet reception density continues for a predetermined time. And a clock master monitoring step for switching a reception buffer for measuring a reception buffer amount from the reception buffer of the second master channel to the reception buffer of the first master channel. .

(付記14)(プログラム)
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置のコンピュータに、
前記同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換ステップと、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換ステップと、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
を実行させることを特徴とするプログラム。(6)
(Appendix 14) (Program)
Inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. To the computer of the conversion device that transfers data between
The three groups of the synchronous multiplex communication device and the conversion device are set as one group, and a clock synchronization subordinate relationship of the clock master, the first clock slave, or the second clock slave is set, and the first and second clock slaves are set. The set conversion device sets a specific one channel among the assigned channels from the conversion device that sets the clock master as the first master channel, and the conversion device that sets the second clock slave sets the first clock slave as the first master channel. A master-slave setting step of setting one specific channel among the assigned channels from the set conversion device as the second master channel;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. Steps,
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving conversion step to send to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. Clock master synchronization control step,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the first clock slave synchronization control for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after activation and synchronizing the clock with another conversion device in the set state of the clock master. Steps,
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, after starting, the second clock for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with the other conversion device in the setting state of the second clock slave. Slave synchronization control step;
A program characterized by having executed. (6)

(付記15)(クロックスレーブ同期制御の詳細)
付記14記載のプログラムに於いて、前記変換装置の3台を1グループとして複数グループを構築した場合、前記クロックマスタを設定した変換装置は全グループに対し共通の変換装置として含まれることを特徴とするプログラム。
(Appendix 15) (Details of clock slave synchronization control)
In the program according to appendix 14, when a plurality of conversion devices are grouped as one group, the conversion device in which the clock master is set is included as a common conversion device for all groups. Program to do.

(付記16)(クロックスレーブ同期制御の詳細)
付記1記載のプログラムに於いて、前記第1及び第2クロックスレーブ同期制御ステップは、
クロック周波数を中心周波数から起動した後に受信バッファ量がバッファ変動許容範囲の上限値を超えた場合は所定の最大調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最大調整周波数を前記中心周波数に所定のオフセット周波数を加算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返し、
クロック周波数を中心周波数から起動した後に受信バッファ量が前記バッファ変動許容範囲の下限値を下回った場合は所定の最小調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最小調整周波数を前記中心周波数から所定のオフセット周波数を減算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返すことを特徴とするプログラム。
(Supplementary Note 16) (Details of clock slave synchronization control)
In the program according to attachment 1, the first and second clock slave synchronization control steps include:
If the receive buffer amount exceeds the upper limit of the allowable range of buffer fluctuation after starting the clock frequency from the center frequency, it is changed to a predetermined maximum adjustment frequency, and the maximum adjustment is made when the receive buffer amount returns to the center value after the change. The process of changing the frequency to a frequency obtained by adding a predetermined offset frequency to the center frequency is repeated while sequentially increasing the offset frequency,
When the reception buffer amount falls below the lower limit value of the buffer fluctuation allowable range after starting the clock frequency from the center frequency, it is changed to a predetermined minimum adjustment frequency, and when the reception buffer amount returns to the center value after the change, the minimum A program characterized by repeating the process of changing the adjustment frequency to a frequency obtained by subtracting a predetermined offset frequency from the center frequency while sequentially increasing the offset frequency.

(付記17)(クロックマスタ監視とバッファ切替え)
付記1記載のプログラムに於いて、更に、前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視ステップを備えたことを特徴とする同期非同期通信変換方法。
(Appendix 17) (Clock master monitoring and buffer switching)
In the program according to attachment 1, when the packet reception density of the second master channel is further measured and the packet reception density abnormality detection state continues for a predetermined time, the second clock channel becomes valid. And a clock master monitoring step of switching a reception buffer for measuring a reception buffer amount from the reception buffer of the second master channel to the reception buffer of the first master channel.

(付記18)(記録媒体)
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置のコンピュータに、
前記同期多重通信装置と変換装置の3組を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換ステップと、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換ステップと、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視ステップと、
を実行させるプログラムを格納したことを特徴とするコンピュータ可読の記録媒体。(7)
(Appendix 18) (Recording medium)
Inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. To the computer of the conversion device that transfers data between
The three groups of the synchronous multiplex communication device and the conversion device are set as one group, and a clock synchronization subordinate relationship of the clock master, the first clock slave, or the second clock slave is set, and the first and second clock slaves are set. The set conversion device sets a specific one channel among the assigned channels from the conversion device that sets the clock master as the first master channel, and the conversion device that sets the second clock slave sets the first clock slave as the first master channel. A master-slave setting step of setting one specific channel among the assigned channels from the set conversion device as the second master channel;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. Steps,
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving conversion step to send to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. Clock master synchronization control step,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the first clock slave synchronization control for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after activation and synchronizing the clock with another conversion device in the set state of the clock master. Steps,
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, after starting, the second clock for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with the other conversion device in the setting state of the second clock slave. Slave synchronization control step;
A reception buffer that is enabled in the setting state of the second clock slave, measures the packet reception density of the second master channel, and measures the amount of reception buffer when the abnormality detection state of the packet reception density continues for a predetermined time. A clock master monitoring step of switching from the reception buffer of the second master channel to the reception buffer of the first master channel;
The computer-readable recording medium characterized by storing the program which performs. (7)

(付記19)(システム)
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置を非同期にデータを転送する機器で構成された非同期通信網に接続するクロックマスタに設定されたマスタ変換装置と、
他の同期多重通信装置を前記非同期通信網に接続する第1クロックスレーブに設定され、割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定された第1スレーブ変換装置と、
他の同期多重通信装置を前記非同期通信網に接続する第2クロックスレーブに設定され、割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定された第2スレーブ変換装置と、
を備え、複数の同期多重通信装置の相互間でデータを転送させる通信システムに於いて、
前記マスタ変換装置は、
前記同期多重通信装置と前記変換装置の3組を1グループとして、自己にクロックマスタを設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御部と、
を備え、
前記第1スレーブ変換装置は、
前記同期多重通信装置と前記変換装置の3組を1グループとして、自己に第1クロックスレーブを設定すると共に、前記クロックマスタ変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の通信システムにクロック同期させる第1クロックスレーブ同期制御部と、
を備え、
前記第2スレーブ変換装置は、
前記同期多重通信装置と前記変換装置の3組を1グループとして、自己に第2クロックスレーブを設定すると共に、前記クロックマスタ変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第1クロックスレーブ変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の通信システムにクロック同期させる第2クロックスレーブ同期制御部と、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視部を
を備えたことを特徴とする通信システム。(8)
(Appendix 19) (System)
A master converter set as a clock master connected to an asynchronous communication network composed of devices that asynchronously transfer data to a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal;
A first slave conversion device in which another synchronous multiplex communication device is set as a first clock slave connected to the asynchronous communication network, and a specific one of the assigned channels is set as a first master channel;
A second slave conversion device in which another synchronous multiplex communication device is set as a second clock slave connected to the asynchronous communication network, and a specific one of the assigned channels is set as a second master channel;
In a communication system for transferring data between a plurality of synchronous multiplex communication devices,
The master converter is
A master-slave setting unit that sets a clock master in itself, with three sets of the synchronous multiplex communication device and the conversion device as one group,
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. A clock master synchronization control unit,
With
The first slave converter is
Three sets of the synchronous multiplex communication device and the conversion device are set as one group, and the first clock slave is set to itself, and one specific channel among the assigned channels from the clock master conversion device is set as the first master channel. Master / slave setting section to be set,
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
When the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated, and after activation, the reception buffer amount is set to the center value. A first clock slave synchronization control unit configured to control the clock frequency of the variable clock unit so as to be stable, and to synchronize the clock with another communication system in the setting state of the clock master;
With
The second slave converter is
Three sets of the synchronous multiplex communication device and the conversion device are set as one group, and the second clock slave is set in the group, and one specific channel among the assigned channels from the clock master conversion device is set as the first master channel. A master / slave setting unit configured to set and set one specific channel among the assigned channels from the first clock slave conversion device as a second master channel;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
When the reception buffer amount accumulated in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated, and after activation, the reception buffer amount is set to the center value. A second clock slave synchronization control unit configured to control the clock frequency of the variable clock unit so as to be stable, and to synchronize with another communication system in a setting state of the second clock slave;
A reception buffer that is enabled in the setting state of the second clock slave, measures the packet reception density of the second master channel, and measures the amount of reception buffer when the abnormality detection state of the packet reception density continues for a predetermined time. A communication system comprising a clock master monitoring unit for switching from the reception buffer of the second master channel to the reception buffer of the first master channel. (8)

(付記20)(クロックスレーブ同期制御の詳細)
付記19記載の通信システムに於いて、前記第1スレーブ変換装置の第1クロックスレーブ同期制御部および前記第2スレーブ変換装置の第2クロックスレーブ同期制御部は、
クロック周波数を中心周波数から起動した後に受信バッファ量がバッファ変動許容範囲の上限値を超えた場合は所定の最大調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最大調整周波数を前記中心周波数に所定のオフセット周波数を加算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返し、
クロック周波数を中心周波数から起動した後に受信バッファ量が前記バッファ変動許容範囲の下限値を下回った場合は所定の最小調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最小調整周波数を前記中心周波数から所定のオフセット周波数を減算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返すことを特徴とする通信システム。
(Appendix 20) (Details of clock slave synchronization control)
In the communication system according to attachment 19, the first clock slave synchronization control unit of the first slave conversion device and the second clock slave synchronization control unit of the second slave conversion device are:
If the receive buffer amount exceeds the upper limit of the allowable range of buffer fluctuation after starting the clock frequency from the center frequency, it is changed to a predetermined maximum adjustment frequency, and the maximum adjustment is made when the receive buffer amount returns to the center value after the change. The process of changing the frequency to a frequency obtained by adding a predetermined offset frequency to the center frequency is repeated while sequentially increasing the offset frequency,
When the reception buffer amount falls below the lower limit value of the buffer fluctuation allowable range after starting the clock frequency from the center frequency, it is changed to a predetermined minimum adjustment frequency, and when the reception buffer amount returns to the center value after the change, the minimum A communication system, wherein the process of changing the adjustment frequency to a frequency obtained by subtracting a predetermined offset frequency from the center frequency is repeated while increasing the offset frequency sequentially.

本発明の同期非同期通信網の変換装置を用いた通信システムの説明図Explanatory drawing of the communication system using the conversion apparatus of the synchronous asynchronous communication network of this invention 本実施形態によるレガシーIP変換器の機能構成を示したブロック図The block diagram which showed the function structure of the legacy IP converter by this embodiment 図2のクロックマスタと第1クロックスレーブを設定したレガシーIP変換器の機能構成を示したブロック図The block diagram which showed the function structure of the legacy IP converter which set the clock master of FIG. 2, and the 1st clock slave 図2の第1クロックスレーブと第2クロックスレーブを設定したレガシーIP変換器の機能構成を示したブロック図The block diagram which showed the function structure of the legacy IP converter which set the 1st clock slave of FIG. 2, and the 2nd clock slave 図1の5台のレガシーIP変換器に格納されたチャネル管理テーブルの説明図Explanatory drawing of the channel management table stored in five legacy IP converters of FIG. 図1の5台のレガシーIP変換器におけるチャネル分散伝送の説明図Explanatory diagram of channel distributed transmission in the five legacy IP converters of FIG. 本実施形態におけるパケット密度の測定処理を示した説明図Explanatory drawing which showed the measurement process of the packet density in this embodiment 立上げ時に受信バッファ量が増加する場合の本実施形態のクロックスレーブ同期制御を示したタイムチャートTime chart showing clock slave synchronization control of this embodiment when the amount of reception buffer increases at startup 立上げ時に受信バッファ量が減少する場合の本実施形態のクロックスレーブ同期制御を示したタイムチャートTime chart showing the clock slave synchronization control of this embodiment when the amount of reception buffer decreases at startup 本実施形態の変換プログラムが実行されるコンピュータのハードウェア環境の説明図Explanatory drawing of the hardware environment of the computer where the conversion program of this embodiment is executed 本実施形態による変換処理の概略を示したフローチャートA flowchart showing an outline of conversion processing according to this embodiment. 本実施形態のクロックマスタ送信変換処理を示したフローチャートThe flowchart which showed the clock master transmission conversion process of this embodiment 本実施形態のクロックマスタ受信変換処理を示したフローチャートThe flowchart which showed the clock master reception conversion process of this embodiment 図13のステップS2におけるスタートアップ処理の詳細を示したフローチャートThe flowchart which showed the detail of the startup process in step S2 of FIG. 本実施形態の第1クロックスレーブ送信変換処理を示したフローチャートThe flowchart which showed the 1st clock slave transmission conversion process of this embodiment 本実施形態の第1クロックスレーブ受信変換処理を示したフローチャートThe flowchart which showed the 1st clock slave reception conversion process of this embodiment 図16のステップS4におけるクロック同期制御処理の詳細を示したフローチャートThe flowchart which showed the detail of the clock synchronous control process in step S4 of FIG. 本実施形態の第2クロックスレーブ送信変換処理を示したフローチャートThe flowchart which showed the 2nd clock slave transmission conversion process of this embodiment 本実施形態の第2クロックスレーブ受信変換処理を示したフローチャートThe flowchart which showed the 2nd clock slave reception conversion process of this embodiment 図19のステップS4におけるクロック同期制御処理の詳細を示したフローチャートThe flowchart which showed the detail of the clock synchronous control process in FIG.19 S4 図19のステップS6におけるクロックマスタ監視処理の詳細を示したフローチャートThe flowchart which showed the detail of the clock master monitoring process in step S6 of FIG. 図19のステップS6における他のクロックマスタ監視処理の詳細を示したフローチャートThe flowchart which showed the detail of the other clock master monitoring process in step S6 of FIG.

符号の説明Explanation of symbols

10,10−1〜10−5:レガシー多重伝送装置
11−1,11−2:同期通信網
12,12−1〜12−5:レガシーIP変換器
14−1〜14−5:レガシーネットワーク
15:非同期通信網
16−1〜16−5:LAN
18:IPネットワーク
20,20−1〜20−3:レガシーインタフェース部
22,22−1〜22−3:IPインタフェース部
24:送信バッファ群
26:パケット組立群
28:パケット分解群
30:受信バッファ群
32,32−1〜32−3:可変クロック部
34,34−1〜34−3:コントロール部
36:マスタスレーブ設定部
38:送信変換部
40:受信変換部
42,42−1:クロックマスタ同期制御部
44:第1クロックスレーブ同期制御部
45:第2クロックスレーブ同期制御部
46:クロックマスタ監視部
48:パケット密度測定部
50−1〜50−5:チャネル管理テーブル
54:CPU
56:バス
58:RAM
60:ROM
62:バッファ変動許容範囲
240−1〜240−30:送信バッファ
260−1〜260−30:パケット組立部
280−1〜280−30:パケット分解部
300−1〜300−30:受信バッファ
10, 10-1 to 10-5: Legacy multiplex transmission apparatus 11-1, 11-2: Synchronous communication network 12, 12-1 to 12-5: Legacy IP converters 14-1 to 14-5: Legacy network 15 : Asynchronous communication networks 16-1 to 16-5: LAN
18: IP network 20, 20-1 to 20-3: legacy interface unit 22, 22-1 to 22-3: IP interface unit 24: transmission buffer group 26: packet assembly group 28: packet decomposition group 30: reception buffer group 32, 32-1 to 32-3: Variable clock unit 34, 34-1 to 34-3: Control unit 36: Master / slave setting unit 38: Transmission conversion unit 40: Reception conversion unit 42, 42-1: Clock master synchronization Control unit 44: first clock slave synchronization control unit 45: second clock slave synchronization control unit 46: clock master monitoring unit 48: packet density measurement units 50-1 to 50-5: channel management table 54: CPU
56: Bus 58: RAM
60: ROM
62: Buffer fluctuation allowable range 240-1 to 240-30: Transmission buffer 260-1 to 260-30: Packet assembly unit 280-1 to 280-30: Packet decomposition unit 300-1 to 300-30: Reception buffer

Claims (8)

クロック信号に同期して複数チャネルのマルチフレームデータを伝送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる同期非同期通信網の変換装置に於いて、
前記変換装置の3を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の主従関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御部と、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御部と、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第1クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御部と、
を備えたことを特徴とする変換装置。
Inserted and connected between a synchronous multiplex communication apparatus that transmits multi-channel data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. In a synchronous asynchronous communication network conversion device that transfers data between
The conversion device in which three of the conversion devices are set as one group, the master-slave relationship of the clock synchronization of the clock master, the first clock slave, or the second clock slave is set, and the first and second clock slaves are set. One specific channel among the assigned channels from the conversion device that has set the clock master is set as the first master channel, and the conversion device that has set the second clock slave is from the conversion device that has set the first clock slave. A master / slave setting unit for setting a specific one of the assigned channels as the second master channel;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. A clock master synchronization control unit,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the first clock slave synchronization control for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after activation and synchronizing the clock with another conversion device in the set state of the clock master. And
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the second clock slave that controls the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after startup and synchronizes the clock with another conversion device in the set state of the first clock slave. A synchronization controller;
A conversion device comprising:
請求項1記載の変換装置に於いて、前記変換装置の3台を1グループとして複数グループを構築した場合、前記クロックマスタを設定した変換装置は全グループに対し共通の変換装置として含まれることを特徴とする変換装置。
2. The conversion apparatus according to claim 1, wherein when a plurality of groups of the conversion apparatuses are formed as one group, the conversion apparatus set with the clock master is included as a common conversion apparatus for all the groups. Characteristic conversion device.
請求項1記載の変換装置に於いて、前記第1及び第2クロックスレーブ同期制御部は、
クロック周波数を中心周波数から起動した後に受信バッファ量がバッファ変動許容範囲の上限値を超えた場合は所定の最大調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最大調整周波数を前記中心周波数に所定のオフセット周波数を加算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返し、
クロック周波数を中心周波数から起動した後に受信バッファ量が前記バッファ変動許容範囲の下限値を下回った場合は所定の最小調整周波数に変更し、変更後に受信バッファ量が前記センタ値に戻った時に前記最小調整周波数を前記中心周波数から所定のオフセット周波数を減算した周波数に変更する処理を、前記オフセット周波数を順次増加させながら繰り返すことを特徴とする変換装置。
The conversion device according to claim 1, wherein the first and second clock slave synchronization control units include:
If the receive buffer amount exceeds the upper limit of the allowable range of buffer fluctuation after starting the clock frequency from the center frequency, it is changed to a predetermined maximum adjustment frequency, and the maximum adjustment is made when the receive buffer amount returns to the center value after the change. The process of changing the frequency to a frequency obtained by adding a predetermined offset frequency to the center frequency is repeated while sequentially increasing the offset frequency,
When the reception buffer amount falls below the lower limit value of the buffer fluctuation allowable range after starting the clock frequency from the center frequency, it is changed to a predetermined minimum adjustment frequency, and when the reception buffer amount returns to the center value after the change, the minimum A conversion device characterized by repeating the process of changing the adjustment frequency to a frequency obtained by subtracting a predetermined offset frequency from the center frequency while increasing the offset frequency sequentially.
請求項1記載の変換装置に於いて、更に、前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視部を設けたことを特徴とする変換装置。
2. The conversion device according to claim 1, further comprising: valid in the setting state of the second clock slave, measuring a packet reception density of the second master channel, and detecting an abnormality in the packet reception density for a predetermined time. And a clock master monitoring unit that switches a reception buffer for measuring a reception buffer amount from the reception buffer of the second master channel to the reception buffer of the first master channel.
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置の変換方法に於いて、
前記同期多重通信装置と変換装置の3を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換ステップと、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換ステップと、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の同期非同期通信変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の同期非同期通信変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
を備えたことを特徴とする変換方法。
Inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. In the conversion method of the conversion device for transferring data between,
The three units of the synchronous multiplex communication device and the conversion device are set as one group, and the clock synchronization dependency of the clock master, the first clock slave, or the second clock slave is set, and the first and second clock slaves are set. The converting apparatus sets a specific one channel among the allocated channels from the converting apparatus that has set the clock master as the first master channel, and the converting apparatus that sets the second clock slave sets the first clock slave. A master-slave setting step of setting a specific one channel among the assigned channels from the converted converter as the second master channel;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. Steps,
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving conversion step to send to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. Clock master synchronization control step,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. And controlling the clock frequency of the variable clock unit so that the reception buffer amount is stabilized at the center value after activation, and synchronizing the clock with another synchronous / asynchronous communication converter in the set state of the clock master. Slave synchronization control step;
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, after starting, the clock frequency of the variable clock unit is controlled so that the amount of the reception buffer is stabilized at the center value, and clock synchronization is performed with another synchronous / asynchronous communication conversion device in the setting state of the second clock slave. A second clock slave synchronization control step;
A conversion method characterized by comprising:
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置のコンピュータに、
前記同期多重通信装置と変換装置の3を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換ステップと、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換ステップと、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
を実行させることを特徴とするプログラム。
Inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. To the computer of the conversion device that transfers data between
The three of the synchronous multiplex communication system with converter apparatus as a group, the clock master, set one of the clock synchronization dependency of the first clock slave or second clock slave, said first and second clock slave The set conversion device sets a specific one channel among the assigned channels from the conversion device that sets the clock master as the first master channel, and the conversion device that sets the second clock slave sets the first clock slave as the first master channel. A master-slave setting step of setting one specific channel among the assigned channels from the set conversion device as the second master channel;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. Steps,
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving conversion step to send to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. Clock master synchronization control step,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the first clock slave synchronization control for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after activation and synchronizing the clock with another conversion device in the set state of the clock master. Steps,
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, after starting, the second clock for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with the other conversion device in the setting state of the second clock slave. Slave synchronization control step;
A program characterized by having executed.
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置と非同期にデータを転送する機器で構成された非同期通信網との間に挿入接続され、複数の同期多重通信装置の相互間でデータを転送させる変換装置のコンピュータに、
前記同期多重通信装置と変換装置の3を1グループとして、クロックマスタ、第1クロックスレーブ又は第2クロックスレーブのいずれかのクロック同期の従属関係を設定し、前記第1及び第2クロックスレーブを設定した変換装置は前記クロックマスタを設定した変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第2クロックスレーブを設定した変換装置は前記第1クロックスレーブを設定した変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定ステップと、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換ステップと、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換ステップと、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御ステップと、
前記第1クロックスレーブの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の変換装置にクロック同期させる第1クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の変換装置にクロック同期させる第2クロックスレーブ同期制御ステップと、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視ステップと、
を実行させるプログラムを格納したことを特徴とするコンピュータ可読の記録媒体。
Inserted and connected between a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal and an asynchronous communication network composed of devices that transfer data asynchronously. To the computer of the conversion device that transfers data between
The three of the synchronous multiplex communication system with converter apparatus as a group, the clock master, set one of the clock synchronization dependency of the first clock slave or second clock slave, said first and second clock slave The set conversion device sets a specific one channel among the assigned channels from the conversion device that sets the clock master as the first master channel, and the conversion device that sets the second clock slave sets the first clock slave as the first master channel. A master-slave setting step of setting one specific channel among the assigned channels from the set conversion device as the second master channel;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. Steps,
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving conversion step to send to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. Clock master synchronization control step,
It becomes effective in the setting state of the first clock slave, and when the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, the first clock slave synchronization control for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value after activation and synchronizing the clock with another conversion device in the set state of the clock master. Steps,
It becomes effective in the setting state of the second clock slave, and when the amount of reception buffer stored in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated. Then, after starting, the second clock for controlling the clock frequency of the variable clock unit so as to stabilize the reception buffer amount at the center value and synchronizing the clock with the other conversion device in the setting state of the second clock slave. Slave synchronization control step;
A reception buffer that is enabled in the setting state of the second clock slave, measures the packet reception density of the second master channel, and measures the amount of reception buffer when the abnormality detection state of the packet reception density continues for a predetermined time. A clock master monitoring step of switching from the reception buffer of the second master channel to the reception buffer of the first master channel;
The computer-readable recording medium characterized by storing the program which performs.
クロック信号に同期して複数チャネルのマルチフレームデータを転送する同期多重通信装置を非同期にデータを転送する機器で構成された非同期通信網に接続するクロックマスタに設定されたマスタ変換装置と、
他の同期多重通信装置を前記非同期通信網に接続する第1クロックスレーブに設定され、割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定された第1スレーブ変換装置と、
他の同期多重通信装置を前記非同期通信網に接続する第2クロックスレーブに設定され、割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定された第2スレーブ変換装置と、
を備え、複数の同期多重通信装置の相互間でデータを転送させる通信システムに於いて、
前記マスタ変換装置は、
前記同期多重通信装置と前記変換装置の3を1グループとして、自己にクロックマスタを設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記クロックマスタの設定状態で有効となり、前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に、前記可変クロック部を所定の中心周波数に固定して起動させるクロックマスタ同期制御部と、
を備え、
前記第1スレーブ変換装置は、
前記同期多重通信装置と前記変換装置の3を1グループとして、自己に第1クロックスレーブを設定すると共に、前記クロックマスタ変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記第1マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記クロックマスタの設定状態にある他の通信システムにクロック同期させる第1クロックスレーブ同期制御部と、
を備え、
前記第2スレーブ変換装置は、
前記同期多重通信装置と前記変換装置の3を1グループとして、自己に第2クロックスレーブを設定すると共に、前記クロックマスタ変換装置からの割当チャネルの中の特定の1チャネルを第1マスタチャネルに設定し、前記第1クロックスレーブ変換装置からの割当チャネルの中の特定の1チャネルを第2マスタチャネルに設定するマスタスレーブ設定部と、
出力するクロック信号の周波数を可変制御可能な可変クロック部と、
前記同期多重通信装置から受信されたマルチフレームデータをチャネル分散して各送信バッファに蓄積した後に、一定間隔で送信バッファの蓄積データから非同期送信データを生成して前記非同期通信網に送信する送信変換部と、
前記非同期通信網からチャネル分散された非同期データを受信して各受信バッファに蓄積し、前記可変クロック部のクロック信号に同期して受信バッファの蓄積データからマルチフレームデータを生成して前記同期多重通信装置に送信する受信変換部と、
前記第2マスタチャネルの受信バッファに蓄積された受信バッファ量が所定のセンタ値に達した際に前記可変クロック部を前記中心周波数に設定して起動し、起動後に受信バッファ量を、前記センタ値に安定するように前記可変クロック部のクロック周波数を制御して、前記第2クロックスレーブの設定状態にある他の通信システムにクロック同期させる第2クロックスレーブ同期制御部と、
前記第2クロックスレーブの設定状態で有効となり、前記第2マスタチャネルのパケット受信密度を測定し、前記パケット受信密度の異常検出状態が所定時間継続した際に、受信バッファ量を測定する受信バッファを、前記第2マスタチャネルの受信バッファから前記第1マスタチャネルの受信バッファに切替えるクロックマスタ監視部を
を備えたことを特徴とする通信システム。
A master converter set as a clock master connected to an asynchronous communication network composed of devices that asynchronously transfer data to a synchronous multiplex communication device that transfers multi-frame data of a plurality of channels in synchronization with a clock signal;
A first slave conversion device in which another synchronous multiplex communication device is set as a first clock slave connected to the asynchronous communication network, and a specific one of the assigned channels is set as a first master channel;
A second slave conversion device in which another synchronous multiplex communication device is set as a second clock slave connected to the asynchronous communication network, and a specific one of the assigned channels is set as a second master channel;
In a communication system for transferring data between a plurality of synchronous multiplex communication devices,
The master converter is
A master-slave setting unit that sets the clock master in itself, with the three units of the synchronous multiplex communication device and the conversion device as one group,
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
It becomes valid in the setting state of the clock master, and when the amount of reception buffer accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is fixed at a predetermined center frequency and activated. A clock master synchronization control unit,
With
The first slave converter is
The three units of the synchronous multiplex communication device and the conversion device are set as one group, and the first clock slave is set to itself, and one specific channel among the assigned channels from the clock master conversion device is set as the first master channel. Master / slave setting section to be set,
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
When the reception buffer amount accumulated in the reception buffer of the first master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated, and after activation, the reception buffer amount is set to the center value. A first clock slave synchronization control unit configured to control the clock frequency of the variable clock unit so as to be stable, and to synchronize the clock with another communication system in the setting state of the clock master;
With
The second slave converter is
The three units of the synchronous multiplex communication device and the conversion device are set as one group, and the second clock slave is set to itself, and one specific channel among the assigned channels from the clock master conversion device is set as the first master channel. A master / slave setting unit configured to set and set one specific channel among the assigned channels from the first clock slave conversion device as a second master channel;
A variable clock unit capable of variably controlling the frequency of the output clock signal;
Transmission conversion in which multi-frame data received from the synchronous multiplex communication device is channel-distributed and accumulated in each transmission buffer, and then asynchronous transmission data is generated from the accumulated data in the transmission buffer and transmitted to the asynchronous communication network at regular intervals. And
Asynchronous data received from the asynchronous communication network is distributed and stored in each reception buffer, and multiframe data is generated from the data stored in the reception buffer in synchronization with the clock signal of the variable clock unit. A receiving converter for transmitting to the device;
When the reception buffer amount accumulated in the reception buffer of the second master channel reaches a predetermined center value, the variable clock unit is set to the center frequency and activated, and after activation, the reception buffer amount is set to the center value. A second clock slave synchronization control unit configured to control the clock frequency of the variable clock unit so as to be stable, and to synchronize with another communication system in a setting state of the second clock slave;
A reception buffer that is enabled in the setting state of the second clock slave, measures the packet reception density of the second master channel, and measures the amount of reception buffer when the abnormality detection state of the packet reception density continues for a predetermined time. A communication system comprising a clock master monitoring unit for switching from the reception buffer of the second master channel to the reception buffer of the first master channel.
JP2007030247A 2007-02-09 2007-02-09 Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network Active JP5054993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007030247A JP5054993B2 (en) 2007-02-09 2007-02-09 Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007030247A JP5054993B2 (en) 2007-02-09 2007-02-09 Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network

Publications (2)

Publication Number Publication Date
JP2008199160A JP2008199160A (en) 2008-08-28
JP5054993B2 true JP5054993B2 (en) 2012-10-24

Family

ID=39757737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007030247A Active JP5054993B2 (en) 2007-02-09 2007-02-09 Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network

Country Status (1)

Country Link
JP (1) JP5054993B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8238377B2 (en) 2009-04-06 2012-08-07 Avaya Inc. Network synchronization over IP networks
AU2010251772A1 (en) * 2009-05-20 2011-12-01 Chronologic Pty. Ltd. Jitter reduction method and apparatus for distributed synchronised clock architecture

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09252292A (en) * 1996-03-15 1997-09-22 Hitachi Denshi Ltd Compressed signal transmission system
JP2004266723A (en) * 2003-03-04 2004-09-24 Matsushita Electric Ind Co Ltd Network system, data transmitter-receiver, and data transmission reception method
JP2007235217A (en) * 2006-02-27 2007-09-13 Fujitsu Access Ltd Synchronization/asynchronization converter and clock control method
JP4651646B2 (en) * 2007-06-12 2011-03-16 株式会社日立製作所 Master communication device and subordinate communication device

Also Published As

Publication number Publication date
JP2008199160A (en) 2008-08-28

Similar Documents

Publication Publication Date Title
EP2779484B1 (en) Polybox clustered optical network switching node, optical burst synchronization method and line frame
JP5849786B2 (en) Data block output device, communication system, data block output method, and communication method
EP2430784B1 (en) Network timing distribution and synchronization using virtual network delays
JP5978861B2 (en) Communication apparatus and communication method
EP1965601B1 (en) Optical transmission system and optical transmission method
US8718213B2 (en) Clock synchronization method, apparatus, and system
JP6036179B2 (en) Communication device and synchronization method
JP5650072B2 (en) Frequency / time synchronization method and frequency / time synchronization apparatus
JP5054993B2 (en) Conversion device, method, program, recording medium, and communication system for synchronous / asynchronous communication network
US7783200B2 (en) Method and apparatus for constant bit rate data transmission in an optical burst switching network
JP4173044B2 (en) Method of using upstream bandwidth in optical burst transmission / reception network
JP5023514B2 (en) Terminal device used in PON system and control method of transmission timing thereof
JP4877983B2 (en) Asynchronous synchronous communication network conversion device, method, program, recording medium, and communication system
US20170302433A1 (en) Method And Apparatus For Time Transport In A Communication Network
JP5973972B2 (en) node
JP4740170B2 (en) Asynchronous synchronous communication network conversion device, method, program, recording medium, and communication system
WO2013069176A1 (en) Transmitter, transmission method, and non-temporary computer-readable medium in which program is stored
JP5853737B2 (en) Relay device, relay device control method, and relay device control program
JP6274918B2 (en) Communications system
JP2005159701A (en) Digital transmission system
JP2009153029A (en) Transmission system
JP2009239452A (en) Transmission timing change type network device and system
WO2023243030A1 (en) Optical tdm transmission device, synchronization method, and synchronization program
JP7485648B2 (en) Communication device and communication system
CN112953672B (en) System for realizing clock synchronization based on network bridge module

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090716

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111226

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120730

R150 Certificate of patent or registration of utility model

Ref document number: 5054993

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150803

Year of fee payment: 3