JP2742314B2 - Clock matching method and device - Google Patents

Clock matching method and device

Info

Publication number
JP2742314B2
JP2742314B2 JP2011919A JP1191990A JP2742314B2 JP 2742314 B2 JP2742314 B2 JP 2742314B2 JP 2011919 A JP2011919 A JP 2011919A JP 1191990 A JP1191990 A JP 1191990A JP 2742314 B2 JP2742314 B2 JP 2742314B2
Authority
JP
Japan
Prior art keywords
cell
clock
stuff
signal
buffer memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2011919A
Other languages
Japanese (ja)
Other versions
JPH03217135A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011919A priority Critical patent/JP2742314B2/en
Publication of JPH03217135A publication Critical patent/JPH03217135A/en
Application granted granted Critical
Publication of JP2742314B2 publication Critical patent/JP2742314B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【産業上の利用分野】[Industrial applications]

本発明はクロック整合方法及び装置、更に詳しくいえ
ば、受信ディジタル信号のクロック信号と受信ディジタ
ル信号を処理する処理装置のクロック信号との間に周波
数差が存在する場合のクロック信号の整合方法及び装置
に関するもので、特に、交換機のような、固定長ディジ
タルデータを転送単位(セル)として情報信号を伝達
し、上記セルの集団としてのセル列と管理運用情報とを
組として伝送フレームを受信し、セル単位の処理を行な
う処理装置に適用して有効なものである。
The present invention relates to a clock matching method and apparatus, and more particularly, a clock signal matching method and apparatus when a clock signal of a received digital signal and a clock signal of a processing device for processing the received digital signal have a frequency difference. In particular, such as an exchange, a fixed-length digital data is transmitted as a transfer unit (cell), an information signal is transmitted, and a transmission frame is received as a set of a cell array as a group of cells and management operation information, This is effective when applied to a processing device that performs processing in units of cells.

【従来の技術】[Prior art]

ディジタル信号を伝送する場合、非同期網、或いは同
期網であっても伝送路にワンダ等がある場合には、受信
したディジタル信号に同期した受信クロック号と受信デ
ィジタル信号を処理するための装置のクロック信号との
間でクロックの整合が必要である。 従来、非同期網、特に、ディジタル信号をパケットと
して伝送する場合には、バッファメモリを介することに
よりクロックの整合が行なわれている。特に非同期転送
モードと呼ばれる固定長パケット(セル)を伝送する場
合に第2図に示すような先行技術が知られている。この
先行技術においては受信セル21、21′を受信信号に同期
した受信クロック25で受信ディジタル信号をバッファメ
モリ22、22′に書込み、これを信号処理装置の装置クロ
ック26で読み出す。その際、受信クロック25の方が信号
処理装置のクロック26よりも速い場合には、適宜空セル
23を挿入する。一方逆の場合には受信セル列21′から空
セル24を除去する。上記先行技術については文献1、ア
イ・イー・イー・イー、ジャーナル オン セレクテッ
ド エリア イン コミュニケーション、第6巻、1528
ページから1537ページ(IEEE Journal on Selected Are
a in Communications,Vo16.pp1528−1537)に示されて
いる。 一方、同期網、特に、フレーム伝送と呼ばれる同期網
のディジタル信号の伝送方法のクロック整合方法として
は文献2、ベルコミュニケーションリサーチ、テクニカ
ルアドバイザリTA−TSY−00253、25ページ(Bell Commu
nications Research,Technical Advisory,TA−TSY−002
53,p25))に記載されているスタッフ同期による方法が
知られている。スタッフ同期による方法は、ヘッダと呼
ばれる管理情報の中に、フレーム中の情報信号の開始位
置を示す制御情報を設け、スタッフ情報に相当するバイ
ト数だけ上記情報信号の開始位置を制御することによっ
てクロック整合を行なうもの、即ち、クロックの不整合
は正スタッフ(受信クロックが装置クロックよりも遅い
場合)又は負スタッフ(受信クロックが装置クロックよ
りも速い場合)を適宜挿入することにより整合化してい
る。
When transmitting digital signals, if there is wander in the transmission line even in an asynchronous network or a synchronous network, a reception clock signal synchronized with the received digital signal and a clock of a device for processing the received digital signal. Clock matching with the signal is required. 2. Description of the Related Art Conventionally, in the case of an asynchronous network, particularly, when transmitting a digital signal as a packet, clock matching is performed through a buffer memory. In particular, the prior art shown in FIG. 2 is known for transmitting a fixed-length packet (cell) called an asynchronous transfer mode. In this prior art, a reception digital signal is written into a buffer memory 22, 22 'with a reception clock 25 synchronized with a reception signal in a reception cell 21, 21', and is read out with a device clock 26 of a signal processing device. At that time, if the reception clock 25 is faster than the clock 26 of the signal processing device,
Insert 23. On the other hand, in the opposite case, the empty cell 24 is removed from the reception cell row 21 '. The above prior art is described in Reference 1, IEE, Journal on Selected Area in Communication, Vol. 6, 1528.
Page 1537 (IEEE Journal on Selected Are)
a in Communications, Vo16.pp1528-1537). On the other hand, as a clock matching method of a synchronous network, particularly a digital signal transmission method of a synchronous network called frame transmission, reference 2, Bell Communication Research, Technical Advisory TA-TSY-00253, page 25 (Bell Commu
nications Research, Technical Advisory, TA-TSY-002
53, p25)), a method using staff synchronization is known. The method based on stuff synchronization is a method in which control information indicating the start position of an information signal in a frame is provided in management information called a header, and the start position of the information signal is controlled by the number of bytes corresponding to the stuff information. Clock matching is performed by inserting a proper stuff (when the received clock is slower than the device clock) or a negative stuff (when the received clock is faster than the device clock) as appropriate.

【発明が解決しようとする課題】[Problems to be solved by the invention]

上記同期網であるフレーム伝送による伝送ネットワー
クを用いて、非同期転送モードによるディジタル信号、
即ちセルを伝送することが既存設備の利用という点から
望ましい。しかしながら、上記文献1に記載された技術
では、上記同期網である伝送ネットワークを介して非同
期転送モードによるディジタル信号を伝送する点、特
に、クロック整合について考慮がされておらず、そのま
までは既存の伝送設備を利用できないと言う問題点があ
った。 本発明の第1の目的はは上記問題点を解決し、同期網
による伝送ネットワークを介してセル列を転送する場合
のクロック整合の問題を解決する方法及び手段を提供す
ることである。 更に上記同期網である伝送ネットワークでは、スタッ
フ処理はディジタルデータを中継多重化しながら転送す
る場合、各中継ノードで実行される。中継ノードでは伝
送フレームの内容であるディジタルデータそのものの処
理を行わずに伝送フレーム単位の処理のみを行い、クロ
ックの不整合はスタッフ情報として伝達される。一方、
伝送フレームの内容であるディジタルデータを交換/多
重化処理するノードではスタッフ情報を大容量メモリ等
により終端し、クロック不整合を吸収する必要がある。
ディジタルデータが非同期転送モードに関するセル列の
場合であっても、その交換/多重化処理に大容量メモリ
を用いることによりクロック不整合を吸収することは可
能である。このためのメモリ量は1フレームの情報量に
相当する数キロバイト必要である。 従って、本発明の他の目的はフレーム伝送におけるク
ロック整合のためのバッファメモリの容量を軽減するこ
とである。
Using a transmission network based on frame transmission as the synchronous network, digital signals in an asynchronous transfer mode,
That is, it is desirable to transmit cells from the viewpoint of using existing equipment. However, the technique described in the above-mentioned document 1 does not consider the point of transmitting a digital signal in the asynchronous transfer mode via the transmission network which is the synchronous network, in particular, does not consider clock matching. There was a problem that facilities could not be used. SUMMARY OF THE INVENTION It is a first object of the present invention to provide a method and means for solving the above-mentioned problems and for solving the problem of clock matching when transferring a cell string through a transmission network using a synchronous network. Further, in the transmission network which is the above-mentioned synchronous network, the stuff processing is executed at each relay node when digital data is transferred while being relay-multiplexed. The relay node does not process the digital data itself, which is the content of the transmission frame, but processes only the transmission frame unit, and the clock mismatch is transmitted as stuff information. on the other hand,
In a node that exchanges / multiplexes digital data, which is the content of a transmission frame, it is necessary to terminate stuff information with a large-capacity memory or the like to absorb clock mismatch.
Even when the digital data is a cell row related to the asynchronous transfer mode, it is possible to absorb the clock mismatch by using a large-capacity memory for the switching / multiplexing process. A memory amount for this requires several kilobytes corresponding to the information amount of one frame. Accordingly, another object of the present invention is to reduce the capacity of a buffer memory for clock matching in frame transmission.

【課題を解決するための手段】[Means for Solving the Problems]

上記目的を達成するため、本発明では、セルの集団と
してのセル列と管理運用情報とを組として伝送フレーム
を構成し、上記伝送フレームの転送に当ってのクロック
整合手段としてスタッフ同期の方法を用いる通信ネット
ワークにおいて、 上記スタッフ同期の処理結果として挿入されるスタッ
フ信号を、上記セル列中の空セルの除去、或は挿入によ
り除去し、上記伝送フレームとともに受信する受信クロ
ックと上記セル列を処理する装置クロックとを整合させ
る方法を実現した。 又、上記方法を実施する装置として、受信ディジタル
信号のスタッフ情報及び受信クロック信号から書き込み
タイミング信号を得る回路と、上記スタッフ情報で修正
された受信クロック信号を用い受信セルの除去が可能な
バッファメモリ書き込み制御回路と、装置クロックを用
い空セルの挿入可能なバッファメモリ書き込み制御回路
と、容量が比較的小さいバッファメモリとで構成する。
In order to achieve the above object, in the present invention, a transmission frame is configured by combining a cell sequence as a group of cells and management operation information, and a stuff synchronization method is used as clock matching means in transferring the transmission frame. In the communication network to be used, a stuff signal inserted as a result of the stuff synchronization processing is removed by removing or inserting an empty cell in the cell train, and a reception clock and the cell train received together with the transmission frame are processed. A method for matching the device clock to be implemented has been realized. Further, as an apparatus for performing the above method, a circuit for obtaining a write timing signal from stuff information of a received digital signal and a received clock signal, and a buffer memory capable of removing a received cell using the received clock signal corrected with the stuff information It comprises a write control circuit, a buffer memory write control circuit into which empty cells can be inserted using the device clock, and a buffer memory having a relatively small capacity.

【作用】[Action]

ディジタルデータがセル列の場合には空セルの挿入/
除去によりクロック整合化が可能であり、しかもその場
合の必要メモリ量は高々数セル分(数百オクテット)で
よい。このため、スタッフ情報処理を空セルの挿入/除
去処理に変換すれば必要メモリ量は大幅に削減できる。
また、この変換処理によりクロック不整合がスタッフ情
報として伝達されるネットワークから受信したセル列で
あっても、それ以外のネットワークから受信したセル列
と全く同等の交換/多重化処理が可能となる。
If the digital data is a cell row, insert an empty cell /
Clock elimination can be performed by removal, and the required memory amount in that case may be at most several cells (several hundred octets). For this reason, if the stuff information processing is converted to the empty cell insertion / removal processing, the required memory amount can be greatly reduced.
In addition, this conversion processing enables the same exchange / multiplexing processing as that of a cell string received from a network other than a cell string received from a network in which clock mismatch is transmitted as stuff information.

【実施例】【Example】

以下本発明の実施例を図面を用いて説明する。 第1図は本発明によるクロック整合方法を実施するク
ロック整合装置の1実施例の構成を示すブロック図で、
第3図は上記クロック整合装置に入力される受信ディジ
タル信号の伝送フレーム構成を示す図である。 受信ディジタル信号101は第3図に示すように、各行
が9バイトのセクションオバーヘッド(SOH)領域とバ
ーチャルコンテナ(VC)領域からなるフレーム構成とな
っている。SOH領域には、保守、制御情報などの管理情
報が含まれ、その中に、コンテナの先頭位置を示すAUポ
インタがあり、スタッフ制御情報をかねている。すなは
ち、AUポインタのある行の9、10バイト目の境界前後に
3バイトづつの領域を設けスタッフ領域としている、VC
領域には第4図に示すようなセルが複数個含まれる。セ
ルは例えば、53バイトの固定ビット数で構成され、1バ
イトのアクセス領域ACF、4バイトのヘッダ領域HED、48
バイトの情報領域INFからなる。セルが空セルか否かは
上記アクセス領域ACFの中に特定にビットが設けられて
いる。 同期分離回路11は受信ディジタル信号101より受信ク
ロック102及びオーバーヘッド領域部分を指定するオー
バヘッドタイミング信号を分離、抽出する。また、受信
ディジタル信号101は直/並列変換回路10によって、8
ビットの並列信号に変換されスタッフ検出回路12に加え
られる。スタッフ検出回路12は受信ディジタル信号101
のスタッフ情報を検出し、正スタッフ/負スタッフの有
無を検出する。このスタッフ検出方法については、従来
知らている、例えば前記文献2に記載されている技術を
適用する。 オーバーヘッド除去部19は上記受信クロック102及び
オーバヘッドタイミング信号並びに上記スタッフ検出部
12で検出されたスタッフ情報110を入力とし、オーバヘ
ッド部を除いたタイミング信号102′を発生する。この
際、スタッフ情報110の内容によって、第3図のスタッ
フ情報の部分に受信クロックが発生したりしなかったり
する。すなはち、クロック信号102′にスタッフ情報が
反映される。スタッフ検出回路12を経たディジタル信号
103はセル同期回路18及び空セル検出回路13を経て、ア
ドレス制御部15からの書込みアドレス118に従って、RAM
メモリで構成されたバッファメモリ14に書込まれる。空
セル検出回路13はセル同期信号を利用しセルのアクセス
領域ACFを調べ、空セルか否かを判定し、空セルのとき
は、そのセルの期間クロック102の通過を阻止するた
め、セル先頭位置指定の信号111を空セル除去回路16に
加える。空セル除去回路16の構成については第7図を用
いて詳細に説明するが、機能は上記受信ディジタル信号
のオーバーヘッド部分及び空セル部分に関して修正され
た書込みクロック102′を停止し、バッファメモリ14へ
の書込を阻止するものである。 アドレス制御部15はバッファメモリ14に対する書込み
及び読出しアドレスを制御するとともに書込みアドレス
118と読出しアドレス119の位相差を監視する。第5図は
アドレス制御部15の要部構成を示す図で、アドレス制御
部15は空セル除去回路16からのクロック113をアドレス
カウンタ27によて書き込みアドレス118に変換し、空セ
ル挿入回路17からのクロック116をアドレスカウンタ28
によって読み出しみアドレス119に変換する。位相差検
出回路29はアドレス118および119をセル単位のポインタ
に変換し、その差を検出する。判別回路30はポインタの
差に基づき、空セル除去指示信号112及び空セル挿入指
示信号115を発生する。 第6図(a)及び(b)は位相差検出回路29の動作を
説明するための概念図を示す。バッファメモリ14の内部
33はセル単位で分割され、その境界が34aから34hで示さ
れている。書込みアドレスを示すポインタ31および読出
しアドレスを示すポインタ32はいずれも時計廻りにバッ
ファ33にアクセスするものとする。 第6図(a)に示すように書込みポインタ31bから見
た読出しポインタ32bの位相差が1セル分以下になった
場合には空セル挿入指示信号115がアドレス制御部15か
ら空セル挿入部17に通知される。また、第6図(b)に
示すように読出しポインタ32bから見た書込みポインタ3
1bの位相差が1セル分以下になった場合には空セル除去
指示信号112が同様にアドレス制御部15から空セル除去
部16に通知される。 第7図は空セル除去部16の1実施例の構成を示す回路
図である。空セルの除去はセル単位で実行する必要があ
るため、空セル検出部13からの空セルの先頭を示す信号
111基準として、書込みクロック113をセルの期間停止す
ることにより行う。ゲート回路41は空セル除去指示112
があるときにのみ、セル先頭パルス111を受け付け、カ
ウンタ42をリセットする。カウンタ42は受信クロック10
2′をセルの長さに相当するクロック分計数し、計数期
間中は受信クロック102′を書込みアドレス駆動クロッ
ク113として出力することをゲート回路43により停止さ
せる。これにより空セルの区間、バッファメモリ14に書
込みが行われないため、第6図(b)における書込みポ
インタ31bが停止し、読み出しポインタ32bから見た位相
差が拡大する。 空セル挿入回路17の場合には第7図とほとんど同様の
構成の回路により構成される。空セル挿入回路17の場合
には、空セル除去指示信号112の代わりに空セル挿入指
示信号115が入力され、また、受信クロック102′の代わ
りに装置クロック105が入力される。また、セル先頭パ
ルス信号111はバッファメモリ14にセルと並列的にセル
先頭或はセル末尾を示すような位相情報を書込んでおく
ことにより検出する。 バッファメモリ14から読み出されたセル信号及びセル
先頭位置指定信号114は交換機などの信号処理装置20に
加えられ、装置クロックに同期した処理が行なわれる。 本実施例の方法ではスタッフ情報を受信クロックの修
正に用い、セル挿入除去の制御はバッファに対するアド
レスポインタの位相差を利用している。このためセル挿
入除去処理を行う部分はスタッフ情報を含まないような
場合にも変更なしで適用できるという利点がある。 第8図は本発明によるクロック整合回路の他の実施例
の構成を示すブロック図である。本実施例ではスタッフ
のバイト数量がセルのバイト数量と同等の量に達した場
合に、空セルの挿入除去動作を行う。本実施例におい
て、スタッフ検出部12、オーバーヘッド除去部19、空セ
ル検出部13、空セル除去部16、空セル挿入部17は第1図
の同一番号を付した部分と同等の機能、構成である。ス
タッフ検出部12からのスタッフ検出信号110a及び110bは
アップダウンカウンタ51に入力される。例えば正スタッ
フ検出信号110aはアップカウント側に、負スタッフ検出
信号110bはダウンカウント側に入力される。アップダウ
ンカウンタ51はカウント値が所定の値に達した場合に
は、空セル除去指示112′又は空セル挿入指示115′を出
力する。これらは空セル除去部16又は挿入部17に通知さ
れバッファメモリ14′への書込みクロック501又は読出
しクロック502制御する。この場合バッファメモリ14′
は書き込み順に読み出されるFIFOメモリを適用し、アド
レス制御は不要である。アップダウンカウンタ51の出力
112′および115′は他の第二のアップダウンカウンタ53
に入力され、その計数結果が第一のアップダウンカウン
タ51をプリセットするための回路52に入力される。 前記第3図で説明したスタッフ情報のバイト数Jはセ
ルのバイト数Lと整数倍の関係にあるとは限らない。こ
のため整数回のスタッフ動作後に空セルの挿入除去を行
った場合、バッファのデータポインタ位相は元の状態に
復帰しないことが生じ得る。これを防ぐために第二のア
ップダウンカウンタ53およびカウンタプリセット回路52
を使用する。今、L=JN+Kの関係であったとする。通
常N回の正スタッフ動作後に空セル除去を1回実行す
る。ただしこの場合、空セル除去によりKだけバッファ
のデータポインタ位相がずれる。このため適宜(N+
1)回のスタッフ動作により空セル除去を行うようにす
る必要がある。 今、m回のNスタッフ動作と空セル除去、p回の(N
+1)スタッフ動作と空セル除去によりデータポインタ
位相ずれを補正するとすると m(JN−L)+p{J(N+1)−L}=0 とする必要がある。これによれば p/(p+m)=K/J となるように、pおよびmを選ぶ必要がある。例えば、
J=3バイト、L=53バイトの場合には、N=17、K=
2であるので、 p/(p+m)=2/3 とする必要がある。すなわちNスタッフ動作後にセル除
去を行う処理をm=1回、(N+1)スタッフ動作後に
セル除去を行う処理をp=2回の割合で繰り返すことに
よりK=0でないことによる位相ずれは補正される。 第9図はアップダウンカウンタ51の動作とバッファメ
モリ14′の状態を示すものである。 まず、アップダウンカウンタ51は正スタッフ動作をN
(=17)回カウントした後、空セル除去指示112′を出
力する。アップダウンカウンタ53は一回のセル除去指示
によりアップカウント+1を行う。カウンタプリセット
52はアップダウンカウンタ53の出力が+1である場合に
はアップダウンカウンタ51のプリセット値を−1にプリ
セットする。これにより次の正スタッフ動作カウントは
N+1(=18)回実行されることになる。カウンタプリ
セット52は第二のアップダウンカウンタ53の出力が+2
であるときはプリセット値を−1にプリセットする。こ
れにより次の正スタッフ動作カウントもN+1(=18)
回実行されることになる。カウンタプリセット52は第二
のアップダウンカウンタ53の出力が+3であるときはプ
リセット値を0にプリセットし、アップダウンカウンタ
53を0にリセットする。従って、正スタッフが連続して
検出される場合は、上述の動作が繰り返される。負スタ
ッフ動作の場合にも上記処理が同様に実行される。 また負スタッフと正スタッフが混在するような場合で
あってもアップダウンカウンタ53の状態に従ってカウン
タプリセット回路52が動作し、位相差の補正は正常に実
行される。この場合正スタッフと負スタッフが混在して
も、第二のアップダウンカウンタ53の出力に従ってカウ
ンタプリセット52が動作し、補正は完全に行われる。こ
れを第9図(b)に示す。 本実施例によればバッファメモリとしてFIFO形式のも
のが使用できるため、アドレス制御が不要であるという
利点がある。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an embodiment of a clock matching device for implementing a clock matching method according to the present invention.
FIG. 3 is a diagram showing a transmission frame configuration of a received digital signal input to the clock matching device. As shown in FIG. 3, the received digital signal 101 has a frame configuration in which each row includes a section overhead (SOH) area of 9 bytes and a virtual container (VC) area. The SOH area includes management information such as maintenance and control information. In the SOH area, there is an AU pointer indicating the head position of the container, which also serves as stuff control information. In other words, a stuff area is provided by setting a 3-byte area before and after the ninth and tenth byte boundaries of the line where the AU pointer is located.
The region includes a plurality of cells as shown in FIG. The cell is composed of, for example, a fixed number of bits of 53 bytes, a 1-byte access area ACF, a 4-byte header area HED, and 48 bytes.
It consists of a byte information area INF. Whether or not the cell is an empty cell is provided with a specific bit in the access area ACF. The synchronization separation circuit 11 separates and extracts a reception clock 102 and an overhead timing signal designating an overhead area portion from the reception digital signal 101. The received digital signal 101 is converted by the serial / parallel conversion circuit 10 into 8
The signal is converted into a parallel signal of bits and applied to the stuff detection circuit 12. The stuff detection circuit 12 receives the digital signal 101
Is detected, and the presence / absence of positive / negative stuff is detected. For this stuff detection method, a conventionally known technique, for example, described in the above-mentioned document 2 is applied. The overhead removing unit 19 includes the receiving clock 102, the overhead timing signal, and the stuff detecting unit.
The stuff information 110 detected at 12 is input, and a timing signal 102 'excluding an overhead part is generated. At this time, depending on the contents of the stuff information 110, a reception clock may or may not be generated in the stuff information portion of FIG. That is, the stuff information is reflected on the clock signal 102 '. Digital signal passed through stuff detection circuit 12
Reference numeral 103 denotes a RAM through a cell synchronization circuit 18 and an empty cell detection circuit 13 and according to a write address 118 from the address control unit 15.
It is written into a buffer memory 14 composed of a memory. The empty cell detection circuit 13 examines the access area ACF of the cell by using the cell synchronization signal and determines whether or not the cell is empty. The position specifying signal 111 is applied to the empty cell removing circuit 16. Although the structure of the empty cell removing circuit 16 will be described in detail with reference to FIG. 7, the function is to stop the write clock 102 'modified with respect to the overhead portion and the empty cell portion of the received digital signal, and to the buffer memory 14. Is prevented from being written. The address control unit 15 controls the write and read addresses to and from the buffer memory 14 and also controls the write address.
The phase difference between 118 and the read address 119 is monitored. FIG. 5 is a diagram showing a main configuration of the address control unit 15. The address control unit 15 converts the clock 113 from the empty cell removing circuit 16 into a write address 118 by the address counter 27, Clock 116 from address counter 28
To read address 119. The phase difference detection circuit 29 converts the addresses 118 and 119 into a pointer in units of cells and detects the difference. The determination circuit 30 generates an empty cell removal instruction signal 112 and an empty cell insertion instruction signal 115 based on the difference between the pointers. FIGS. 6A and 6B are conceptual diagrams for explaining the operation of the phase difference detection circuit 29. FIG. Inside buffer memory 14
33 is divided in units of cells, and its boundaries are indicated by 34a to 34h. It is assumed that both the pointer 31 indicating the write address and the pointer 32 indicating the read address access the buffer 33 clockwise. As shown in FIG. 6 (a), when the phase difference between the read pointer 32b and the read pointer 32b as viewed from the write pointer 31b becomes smaller than one cell, an empty cell insertion instruction signal 115 is sent from the address control unit 15 to the empty cell insertion unit 17. Will be notified. Also, as shown in FIG. 6 (b), the write pointer 3 as viewed from the read pointer 32b.
When the phase difference of 1b becomes equal to or less than one cell, the empty cell removal instruction signal 112 is similarly notified from the address control unit 15 to the empty cell removal unit 16. FIG. 7 is a circuit diagram showing a configuration of one embodiment of the empty cell removing unit 16. Since the removal of empty cells needs to be performed on a cell-by-cell basis, the signal indicating the beginning of empty cells from the empty cell detector 13
As the reference 111, the writing clock 113 is stopped by stopping the cell period. The gate circuit 41 outputs an empty cell removal instruction 112.
Only when there is, the cell head pulse 111 is accepted and the counter 42 is reset. Counter 42 receives clock 10
The gate circuit 43 counts 2 'for the number of clocks corresponding to the length of the cell, and stops outputting the reception clock 102' as the write address drive clock 113 during the counting period. As a result, no writing is performed in the buffer memory 14 during the empty cell period, so that the write pointer 31b in FIG. 6B stops, and the phase difference viewed from the read pointer 32b increases. In the case of the empty cell insertion circuit 17, it is constituted by a circuit having almost the same configuration as that of FIG. In the case of the empty cell insertion circuit 17, an empty cell insertion instruction signal 115 is input instead of the empty cell removal instruction signal 112, and a device clock 105 is input instead of the reception clock 102 '. The cell head pulse signal 111 is detected by writing phase information indicating the cell head or cell end in the buffer memory 14 in parallel with the cell. The cell signal and cell head position designation signal 114 read from the buffer memory 14 are applied to a signal processing device 20 such as an exchange, and a process synchronized with the device clock is performed. In the method of this embodiment, the stuff information is used for correcting the reception clock, and the control of cell insertion / removal utilizes the phase difference of the address pointer with respect to the buffer. Therefore, there is an advantage that the portion for performing the cell insertion / removal processing can be applied without change even when the stuff information is not included. FIG. 8 is a block diagram showing a configuration of another embodiment of the clock matching circuit according to the present invention. In this embodiment, when the number of bytes of the staff reaches the same amount as the number of bytes of the cell, the operation of inserting and removing an empty cell is performed. In the present embodiment, the stuff detecting unit 12, the overhead removing unit 19, the empty cell detecting unit 13, the empty cell removing unit 16, and the empty cell inserting unit 17 have the same functions and configurations as the parts with the same numbers in FIG. is there. The stuff detection signals 110a and 110b from the stuff detection unit 12 are input to the up / down counter 51. For example, the positive stuff detection signal 110a is input to the up-count side, and the negative stuff detection signal 110b is input to the down-count side. When the count value reaches a predetermined value, the up / down counter 51 outputs an empty cell removal instruction 112 'or an empty cell insertion instruction 115'. These are notified to the empty cell removing unit 16 or the inserting unit 17, and control the write clock 501 or the read clock 502 to the buffer memory 14 '. In this case, the buffer memory 14 '
Applies a FIFO memory that is read out in the order of writing, and does not require address control. Output of up / down counter 51
112 'and 115' are other second up-down counters 53
And the counting result is input to a circuit 52 for presetting a first up / down counter 51. The number of bytes J of the stuff information described with reference to FIG. 3 is not always an integer multiple of the number of bytes L of the cell. For this reason, when empty cells are inserted and removed after an integer number of stuff operations, the data pointer phase of the buffer may not return to the original state. To prevent this, the second up-down counter 53 and the counter preset circuit 52
Use Now, it is assumed that L = JN + K. Normally, empty cell removal is performed once after N regular stuff operations. However, in this case, the data pointer phase of the buffer is shifted by K due to the removal of empty cells. For this reason, (N +
1) Empty cells must be removed by one stuff operation. Now, m N stuff operations and empty cell removal, p (N
+1) If the data pointer phase shift is corrected by the stuff operation and the empty cell removal, it is necessary to set m (JN−L) + p {J (N + 1) −L} = 0. According to this, it is necessary to select p and m so that p / (p + m) = K / J. For example,
When J = 3 bytes and L = 53 bytes, N = 17, K =
2, it is necessary to set p / (p + m) = m. That is, the process of removing cells after the N stuff operation is repeated m = 1 time, and the process of removing cells after the (N + 1) stuff operation is repeated p = 2 times, whereby the phase shift due to K = 0 is corrected. . FIG. 9 shows the operation of the up / down counter 51 and the state of the buffer memory 14 '. First, the up / down counter 51 sets the positive stuff operation to N
After counting (= 17) times, an empty cell removal instruction 112 'is output. The up-down counter 53 performs up-counting +1 by one cell removal instruction. Counter preset
Numeral 52 presets the preset value of the up / down counter 51 to -1 when the output of the up / down counter 53 is +1. As a result, the next correct stuff operation count is executed N + 1 (= 18) times. In the counter preset 52, the output of the second up / down counter 53 is +2.
If, the preset value is preset to -1. As a result, the next positive stuff operation count is also N + 1 (= 18).
Will be executed twice. The counter preset 52 presets the preset value to 0 when the output of the second up / down counter 53 is +3,
Reset 53 to zero. Therefore, when the correct stuff is continuously detected, the above operation is repeated. In the case of the negative stuff operation, the above processing is similarly executed. Further, even in the case where the negative stuff and the positive stuff are mixed, the counter preset circuit 52 operates according to the state of the up / down counter 53, and the phase difference is corrected normally. In this case, even if the positive stuff and the negative stuff are mixed, the counter preset 52 operates according to the output of the second up / down counter 53, and the correction is completely performed. This is shown in FIG. 9 (b). According to the present embodiment, since the buffer memory of the FIFO format can be used, there is an advantage that address control is unnecessary.

【発明の効果】【The invention's effect】

以上実施例を用いて説明したように、本発明の方法及
び装置によればスタッフ動作によるクロック整合を行っ
ているネットワークを経由してきたセル列の信号に対し
ても、その他のセル列と同等に空セルの除去/挿入の処
理によって、受信クロックを装置クロックに整合させる
ことができる。そのため、クロック整合に必要なバッフ
ァメモリの容量は数セル分、すなわち、数百バイトでよ
い。
As described above with reference to the embodiment, according to the method and apparatus of the present invention, the signal of the cell row that has passed through the network that performs the clock matching by the stuff operation is equivalent to the other cell rows. The process of removing / inserting empty cells makes it possible to match the reception clock with the device clock. Therefore, the capacity of the buffer memory required for clock matching may be several cells, that is, several hundred bytes.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明によるクロック整合装置の1実施例の構
成図、第2図は従来技術を説明するための図、第3図は
伝送フレームの構成を示す図、第4図はセル信号の構成
を示す図、第5図は第1図のアドレス制御回路の要部の
1実施例の構成図、第6図は第5図における位相差検出
回路の動作を説明するための概念図、第7図は第1図の
空セル除去回路の1実施例の回路図、第8図は本発明に
よるクロック整合装置の他の実施例の構成図、第9図は
第8図のブロック51、52、53部の動作を説明するための
図である。 11:同期分離回路、12:スタッフ検出回路、 13:空セル検出回路、14、14′:バッファ、 15:アドレス制御回路、16:空セル除去回路、 17:空セル挿入回路、19:オーバーヘッド除去回路 27、28:アドレスカウンタ、 29:位相差検出回路、30:判別回路、 51:第一のアップダウンカウンタ、 41、43:ゲート回路、 42:カウンタ、 52:カウンタプリセット回路、 53:第二のアップダウンカウンタ。
FIG. 1 is a block diagram of one embodiment of a clock matching device according to the present invention, FIG. 2 is a diagram for explaining the prior art, FIG. 3 is a diagram showing a configuration of a transmission frame, and FIG. FIG. 5 is a diagram showing a configuration, FIG. 5 is a configuration diagram of one embodiment of a main part of the address control circuit of FIG. 1, FIG. 6 is a conceptual diagram for explaining the operation of the phase difference detection circuit in FIG. 7 is a circuit diagram of one embodiment of the empty cell removing circuit of FIG. 1, FIG. 8 is a block diagram of another embodiment of the clock matching device according to the present invention, and FIG. 9 is blocks 51 and 52 of FIG. And FIG. 53 are diagrams for explaining the operation of the unit 53. 11: Sync separation circuit, 12: Stuff detection circuit, 13: Empty cell detection circuit, 14, 14 ': Buffer, 15: Address control circuit, 16: Empty cell removal circuit, 17: Empty cell insertion circuit, 19: Overhead removal Circuits 27, 28: Address counter, 29: Phase difference detection circuit, 30: Judgment circuit, 51: First up / down counter, 41, 43: Gate circuit, 42: Counter, 52: Counter preset circuit, 53: Second Up-down counter.

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】固定長ディジタルデータを転送単位である
セルとして情報信号を伝達し、上記セルの集団としての
セル列と管理運用情報とを組として伝送フレームを構成
し、上記伝送フレームの転送に当ってのクロック整合方
法としてスタッフ同期を用いる通信ネットワークにおい
て、 上記スタッフ同期の処理結果として挿入されるスタッフ
信号を、上記セル列中の空セルの除去、或は挿入により
除去し、上記伝送フレームと共に受信する受信クロック
と上記セル列を処理する処理装置の処理クロックとを整
合させることを特徴とするクロック整合方法。
An information signal is transmitted with fixed-length digital data as a cell as a transfer unit, and a transmission frame is formed by combining a cell string as a group of cells and management operation information, and a transmission frame is transmitted. In a communication network using stuff synchronization as the clock matching method, a stuff signal inserted as a result of the stuff synchronization processing is removed by removing or inserting empty cells in the cell train, and is removed together with the transmission frame. A clock matching method comprising: matching a received clock to be received with a processing clock of a processing device that processes the cell string.
【請求項2】特許請求範囲第1項記載のクロック整合方
法において、上記伝送フレームに同期した上記受信クロ
ックを上記スタッフ情報により変換し、上記受信クロッ
クが上記装置クロックよりも高速である場合には正スタ
ッフに使用するビットをバッファメモリに書込み、上記
受信クロックが上記装置クロックよりも低速である場合
には負スタッフに使用するビットの上記バッファメモリ
への書込みを停止するよう制御することを特徴とするク
ロック整合方法。
2. The clock matching method according to claim 1, wherein said reception clock synchronized with said transmission frame is converted by said stuff information, and said reception clock is faster than said device clock. Writing the bits used for the positive stuff into the buffer memory, and controlling to stop writing the bits used for the negative stuff to the buffer memory when the received clock is slower than the device clock. Clock matching method to use.
【請求項3】特許請求範囲第2項記載のクロック整合方
法において、上記バッファメモリへの書き込み及び読み
出しアドレスを制御する場合に、書込みアドレスから読
出しアドレスへの位相差が上記セルの長さ以下となった
場合には上記バッファメモリの入力側で廃棄可能なセル
を検出し、上記セルの上記バッファへの書込みを停止
し、読み出しアドレスから書込みアドレスへの位相差が
上記セルの長さ以下となった場合には、上記バッファメ
モリの出力側で1セルの長さに相当する期間上記バッフ
ァメモリからの読出しを停止するすることを特徴とする
クロックの整合方法。
3. The clock matching method according to claim 2, wherein, when controlling the write and read addresses to and from said buffer memory, a phase difference from a write address to a read address is equal to or less than the length of said cell. If it does, a discardable cell is detected at the input side of the buffer memory, the writing of the cell to the buffer is stopped, and the phase difference from the read address to the write address becomes less than the length of the cell. And reading from said buffer memory is stopped for a period corresponding to the length of one cell at the output side of said buffer memory.
【請求項4】特許請求範囲第1項記載のクロック整合方
法において、1セルの長さをL(Lはバイト数を表す整
数)、1回のスタッフ動作で挿入除去される長さをJ
(Jはバイト数を表す整数)であり、L=nJ+K(nは
整数、0≦K<J)とするとき、n回のスタッフ動作の
後に上記バッファメモリの入力側で廃棄可能なセルを検
出し、上記セルの上記バッファメモリへの書込みを停止
することをm(mは整数)回、n+1回のスタッフ動作
の後に上記バッファの入力側で廃棄可能なセルを検出
し、上記セルの上記バッファへの書込みを停止すること
をp回、(ただしp/(p+m)=K/J)それぞれ行うこ
とを繰り返すことを特徴とするクロック整合方法。
4. The clock matching method according to claim 1, wherein the length of one cell is L (L is an integer representing the number of bytes) and the length inserted and removed by one stuff operation is J.
(J is an integer representing the number of bytes), and when L = nJ + K (n is an integer, 0 ≦ K <J), a discardable cell is detected on the input side of the buffer memory after n stuffing operations. Stopping the writing of the cell to the buffer memory is performed m (m is an integer) times, and after n + 1 times of the stuffing operation, a discardable cell is detected at the input side of the buffer. A clock matching method characterized by repeating the steps of stopping writing to the memory p times (where p / (p + m) = K / J).
【請求項5】スタッフ同期のためのスタッフ信号を含む
管理運用情報と固定長ディジタルデータを転送単位であ
るセルを複数個含む情報信号とで構成された伝送フレー
ム信号をバッファメモリによってクロック整合する装置
であって、 上記バッファメモリへの受信伝送フレーム信号の書き込
み制御部が受信クロックからオーバヘッド部をの除きか
つ上記スタッフ信号で修正された修正受信クロックをつ
くるオーバヘッド除去回路と、上記受信伝送フレーム信
号から空セルを検出する空セル検出回路と、上記修正受
信クロック及び上記空セル検出回路の出力によって上記
バッファメモリへの書き込み制御信号を作る第1回路か
ら構成され、 上記バッファメモリから伝送フレーム信号の部が、読み
出された伝送フレーム信号が処理される装置の装置クロ
ック信号及び読み出された伝送フレーム信号のセルの位
置信号を入力とし空きセルの挿入を制御した読み出し制
御信号を作る第2回路から構成されたことを特徴とする
クロック整合装置。
5. An apparatus for clock-matching a transmission frame signal composed of management operation information including a stuff signal for stuff synchronization and an information signal including a plurality of cells as transfer units of fixed-length digital data by a buffer memory. An overhead removal circuit that removes an overhead part from a reception clock and creates a corrected reception clock corrected by the stuff signal, and a write control unit for writing a reception transmission frame signal to the buffer memory, An empty cell detection circuit for detecting an empty cell; and a first circuit for generating a write control signal to the buffer memory based on the corrected reception clock and the output of the empty cell detection circuit. Is the device in which the read transmission frame signal is processed. Clock alignment apparatus characterized by being composed of a second circuit to create a read control signal to control the insertion of the location clock signal and read empty cell as an input a position signal of a cell of the transmission frame signal.
【請求項6】請求項第5記載において、上記バッファメ
モリRAMと上記RAMの書き込みアドレスと読み出しアドレ
スをつくるアドレス制御部からなり、上記アドレス制御
部が上記書き込みアドレスと読み出しアドレスから書き
込み及び読み出し信号の位相差を検出し、上記位相差に
基づき上記第1及び第2回路へ空セル除去又は空セル挿
入信号を加える回路を有することを特徴とするクロック
整合装置。
6. The buffer memory according to claim 5, further comprising an address control unit for generating a write address and a read address of the buffer memory RAM, wherein the address control unit generates write and read signals from the write address and the read address. A clock matching device comprising: a circuit that detects a phase difference and adds an empty cell removal or empty cell insertion signal to the first and second circuits based on the phase difference.
【請求項7】請求項第5記載のクロック整合回路におい
て、更に、上記スタッフ信号の正スタッフ及び負スタッ
フを計数し、上記正スタッフ及び負スタッフの計数値に
対応して上記第1回路に空セル除去を指示する第1指示
信号及び第2回路に空セル挿入を指示する第2指示信号
を発生する第1のアップダウンカウンタと、上記第1及
び第2指示信号を計数し、上記第1のアップダウンカウ
ンタのプリセット回路のプリセットを行なう第2のアッ
プダウンカウンタとを有し、上記バッファメモリがFIFO
メモリで構成されたことを特徴とするクロック整合装
置。
7. The clock matching circuit according to claim 5, further comprising: counting a positive stuff and a negative stuff of the stuff signal, and vacating the first circuit in accordance with the counted values of the positive stuff and the negative stuff. A first up / down counter for generating a first instruction signal for instructing cell removal and a second instruction signal for instructing the second circuit to insert an empty cell; counting the first and second instruction signals; And a second up / down counter for presetting a preset circuit of the up / down counter.
A clock matching device comprising a memory.
【請求項8】請求項第5、第6又は第7記載において、
上記バッファメモリに上記セルと同時に、上記バッファ
メモリ内の上記セルの位相に関する情報を書込むように
構成されたことを特徴とするクロック整合装置。
8. The method according to claim 5, 6 or 7,
A clock matching apparatus, wherein information on the phase of the cell in the buffer memory is written simultaneously with the cell in the buffer memory.
JP2011919A 1990-01-23 1990-01-23 Clock matching method and device Expired - Lifetime JP2742314B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011919A JP2742314B2 (en) 1990-01-23 1990-01-23 Clock matching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011919A JP2742314B2 (en) 1990-01-23 1990-01-23 Clock matching method and device

Publications (2)

Publication Number Publication Date
JPH03217135A JPH03217135A (en) 1991-09-24
JP2742314B2 true JP2742314B2 (en) 1998-04-22

Family

ID=11791105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011919A Expired - Lifetime JP2742314B2 (en) 1990-01-23 1990-01-23 Clock matching method and device

Country Status (1)

Country Link
JP (1) JP2742314B2 (en)

Also Published As

Publication number Publication date
JPH03217135A (en) 1991-09-24

Similar Documents

Publication Publication Date Title
US4813037A (en) Switching system
EP0809381B1 (en) ATM switching system
US5142529A (en) Method and means for transferring a data payload from a first SONET signal to a SONET signal of different frequency
US4939723A (en) Bit-channel multiplexer/demultiplexer
US5237569A (en) Method and system for transmitting HDLC data via ATM network
US5471510A (en) Asynchronous transfer mode digital telecommunication network terminal equipment synchronization device
EP0878071B1 (en) Cell aligners
US7149186B1 (en) Apparatus and method for rate adaptation control
US6418144B1 (en) AAL terminal system of duplex configuration and synchronization method
US6438143B1 (en) Image packet communications system
JP2742314B2 (en) Clock matching method and device
EP1432160B1 (en) Method and system for handling data between a clock and data recovery circuit and a data processing unit in asynchronous networks
JPH09321723A (en) Uninterruptible line switching device and its method
US5859850A (en) Elastic store circuit for composite cells switched through an ATM network
US5165092A (en) Method of processing the signalling information within configurable multiplexers
JPH0290834A (en) Atm channel equipment and atm line terminal equipment
JP3282707B2 (en) Cross-connect circuit and terminal device using the same
JP3067368B2 (en) Interface circuit for ATM transmission
JP3080868B2 (en) ATM switch
JPH05227136A (en) Circuit and method for signal synchronization
JPH10190742A (en) Data transmitting method/device, data receiving method/ device and integrated circuit for link layer
JPH03173233A (en) Jitter reducing system
JP2976732B2 (en) Synchronous optical multiplexer
JPH07162433A (en) Speed conversion system
JP2655489B2 (en) ATM cell signal format converter