JP2531456B2 - Sync protector - Google Patents

Sync protector

Info

Publication number
JP2531456B2
JP2531456B2 JP5283803A JP28380393A JP2531456B2 JP 2531456 B2 JP2531456 B2 JP 2531456B2 JP 5283803 A JP5283803 A JP 5283803A JP 28380393 A JP28380393 A JP 28380393A JP 2531456 B2 JP2531456 B2 JP 2531456B2
Authority
JP
Japan
Prior art keywords
data string
length
signal
data
status code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5283803A
Other languages
Japanese (ja)
Other versions
JPH07143115A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5283803A priority Critical patent/JP2531456B2/en
Publication of JPH07143115A publication Critical patent/JPH07143115A/en
Application granted granted Critical
Publication of JP2531456B2 publication Critical patent/JP2531456B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は同期保護装置に関し、特
に各データ列に同期信号がそれぞれ付加されたデータ列
群からなる音声、画像等のディジタル信号を伝送系ある
いは記録再生系を介して受信し、時間軸補正を行って所
定長のデータ列として出力する同期保護装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronization protection device, and more particularly to receiving a digital signal such as a voice or image formed of a data stream group in which a synchronization signal is added to each data stream via a transmission system or a recording / reproducing system. The present invention relates to a synchronization protection device that performs time axis correction and outputs a data string of a predetermined length.

【0002】[0002]

【従来の技術】一般に音声、画像等のディジタル信号を
伝送したり記録再生したりする場合、ディジタル信号を
分割し、分割した各データに同期信号、アドレス信号、
誤り訂正符号等を付加して規定長のデータ列とし、この
データ列を複数連続させて一つのデータ列群(フレー
ム)を構成するようにしている。
2. Description of the Related Art Generally, when transmitting or recording / reproducing a digital signal such as voice or image, the digital signal is divided, and a sync signal, an address signal,
An error correction code or the like is added to form a data string of a specified length, and a plurality of data strings are made continuous to form one data string group (frame).

【0003】ところで、伝送系や再生系を介して入力す
るデータ列には、バーストエラー等に起因して同期信号
の欠落やジッタ等が生じている。このため、各データ列
に付加されている同期信号の間隔は不規則に変動し、デ
ータ列の誤り訂正処理や信号処理を正しくを実行できな
いことがある。そこで、同期保護装置を設けて時間軸補
正を行うことにより、伝送系や再生系を介して入力する
各データ列のジッタを吸収すると共に、各データ列長が
不規則に変動しないようにしている。
By the way, in a data string input through a transmission system or a reproduction system, a sync signal is missing or jitter occurs due to a burst error or the like. For this reason, the intervals of the synchronization signals added to each data string may fluctuate irregularly, and error correction processing and signal processing of the data string may not be executed correctly. Therefore, by providing a synchronization protection device to correct the time axis, the jitter of each data string input through the transmission system and the reproduction system is absorbed and the length of each data string does not fluctuate irregularly. .

【0004】図5は従来の同期保護装置の一例を示すブ
ロック図である。
FIG. 5 is a block diagram showing an example of a conventional synchronization protection device.

【0005】ここで、同期検出回路21は、入力データ
D1のデータ列から同期信号を検出し、規定の同期パタ
ーンと一致したときに同期検出信号S1を出力する。同
期保護回路22は、同期検出信号S1に応じて保護同期
信号S2を出力する。この場合、同期検出回路21がデ
ータ列から同期信号を検出できなかったときには、前の
同期検出信号からデータ列長だけカウントしたタイミン
グで保護同期信号S2を疑似的に出力する。
Here, the sync detection circuit 21 detects a sync signal from the data string of the input data D1 and outputs a sync detection signal S1 when the sync signal matches the specified sync pattern. The synchronization protection circuit 22 outputs a protection synchronization signal S2 according to the synchronization detection signal S1. In this case, when the sync detection circuit 21 cannot detect the sync signal from the data string, the protection sync signal S2 is artificially output at the timing of counting the data string length from the previous sync detection signal.

【0006】データ用FIFOメモリ23および同期用
FIFOメモリ24は、書込制御回路25と読出制御回
路26とによってそれぞれ制御され、入力データD1お
よび同期信号S2をそれぞれ記憶し読出す。
The data FIFO memory 23 and the synchronization FIFO memory 24 are controlled by the write control circuit 25 and the read control circuit 26, respectively, and store and read the input data D1 and the synchronization signal S2, respectively.

【0007】書込制御回路25は、保護同期信号S2お
よび外部から供給される期間信号Sdを受け、データ列
群の最初のデータ列の開始時点にライトリセット信号W
Rを出力する。この期間信号Sdは、各データ列群間の
ギヤップに送出される信号であり、この信号によりデー
タ列群の開始点および有効期間を知ることができる。
The write control circuit 25 receives the protection synchronization signal S2 and the period signal Sd supplied from the outside, and receives the write reset signal W at the start point of the first data string of the data string group.
Output R. The period signal Sd is a signal sent to the gap between the data string groups, and the starting point and the effective period of the data string group can be known from this signal.

【0008】読出制御回路26は、図示しない誤り訂正
装置や信号処理装置からのデータ要求信号S6に応じ
て、同期用FIFOメモリ24に書込んだ保護同期信号
を信号S3として読出し、この信号S3に基づきデータ
列の先頭およびデータ列長の異常を検知して、リードリ
セット信号RRおよびリードイネーブル信号REをそれ
ぞれ出力する。
The read control circuit 26 reads the protection synchronization signal written in the synchronization FIFO memory 24 as a signal S3 in response to a data request signal S6 from an error correction device or a signal processing device (not shown) and outputs this signal S3. Based on this, an abnormality in the head of the data string and the length of the data string is detected, and the read reset signal RR and the read enable signal RE are output.

【0009】ここで、データ用FIFOメモリ23およ
び同期用FIFOメモリ24は、ライトリセット信号W
Rを受けたときには書込みアドレスカウンタをリセット
した後、クロック毎にカウントアップして書込みアドレ
スを生成して書込みを行う。また、リードリセット信号
RRを受けたときには読出しアドレスカウンタをリセッ
トした後、クロック毎にカウントアップして読出しアド
レスを生成して読出し動作を行うと共に、リードイネー
ブル信号REに応じて読出し動作を中断する。このよう
な書込み読出し制御信号によりデータ用FIFOメモリ
7を制御することにより、入力データD1に時間軸補正
を施した出力データD23を生成し、図示しない誤り訂
正装置や信号処理装置へ送出している。
Here, the data FIFO memory 23 and the synchronization FIFO memory 24 have the write reset signal W.
When R is received, the write address counter is reset, and then the count is incremented every clock to generate a write address and writing is performed. When the read reset signal RR is received, the read address counter is reset, and then the count is incremented every clock to generate the read address to perform the read operation, and the read operation is interrupted according to the read enable signal RE. By controlling the data FIFO memory 7 by such a write / read control signal, the output data D23 in which the input data D1 is time-axis corrected is generated and sent to an error correction device or a signal processing device (not shown). .

【0010】次に、図6に示したタイミングチャートを
参照して動作を説明する。
Next, the operation will be described with reference to the timing chart shown in FIG.

【0011】(a)は入力データD1の1データ列群を
示している。このデータ列群はデータ列d1〜dmによ
り構成されており、各データ列の先頭には同期信号が付
加されている。ここでは、データ列d1,d3,d5,
…,dmは規定データ列長の正常なデータ列であるが、
データ列d2は規定データ列長よりも短く、またデータ
列d4は規定データ列長よりも長くなっている。また、
規定データ列長をnシンボル、データ列d2をy(y<
n)シンボル、データ列d4をz(z>n)シンボルと
している。
(A) shows one data string group of the input data D1. This data string group is composed of data strings d1 to dm, and a sync signal is added to the head of each data string. Here, the data strings d1, d3, d5
..., dm is a normal data string having a specified data string length,
The data string d2 is shorter than the specified data string length, and the data string d4 is longer than the specified data string length. Also,
The specified data string length is n symbols, and the data string d2 is y (y <
The n) symbol and the data string d4 are z (z> n) symbols.

【0012】(b)は同期検出回路21によって入力デ
ータD1から生成される同期検出信号S1を示してお
り、また、(c)は同期保護回路22によって同期検出
信号S1から生成される保護同期信号S2を示してい
る。書込制御回路25は、データ列群の開始時点にライ
トリセット信号WRをデータ用FIFOメモリ23およ
び同期用FIFOメモリ24へ送出し、(a)および
(c)に示した入力データD1および保護同期信号S2
をそれぞれ順次記憶させる。(d)は、データ用FIF
Oメモリ7に記憶されるデータ列群を示している。
(B) shows a sync detection signal S1 generated from the input data D1 by the sync detection circuit 21, and (c) shows a protection sync signal generated from the sync detection signal S1 by the sync protection circuit 22. S2 is shown. The write control circuit 25 sends a write reset signal WR to the data FIFO memory 23 and the synchronization FIFO memory 24 at the start of the data string group, and the input data D1 and the protection synchronization shown in (a) and (c) of FIG. Signal S2
Are sequentially stored. (D) is a data FIF
The data string group stored in the O memory 7 is shown.

【0013】読出制御回路26は、同期用FIFOメモ
リ24から読出した保護同期信号S3を監視し、(e)
に示すようにリードイネーブル信号REを生成して、デ
ータ列長が規定間隔になるように時間調整を行う。例え
ば、y(y<n)シンボルのデータ列d2に対しては、
(n−y)シンボルの時間だけリードイネーブル信号R
Eを「L」レベルにして読出しを中断させることによ
り、データ列d2がnシンボルになるように補正し、ま
た、z(z>n)シンボルのデータ列d4に対しては、
(n−z)シンボルに相応する時間だけリードイネーブ
ル信号REを「L」レベルにして読出しを中断させるこ
とにより、データ列d4が2nシンボルになるように補
正する。このようにデータ用FIFOメモリ23を制御
してデータ列を読出すことにより、(f)に示すよう
に、各データ列が規定長(nシンボル)ないしは規定長
の整数倍(2nシンボル)に補正された出力データD2
3が得られる。
The read control circuit 26 monitors the protection synchronization signal S3 read from the synchronization FIFO memory 24, and (e)
The read enable signal RE is generated as shown in (1), and the time is adjusted so that the data string length becomes the specified interval. For example, for a data string d2 of y (y <n) symbols,
Read enable signal R only for the time of (ny) symbols
By setting E to the “L” level and interrupting the reading, the data string d2 is corrected to have n symbols, and for the data string d4 of z (z> n) symbols,
The read enable signal RE is set to the “L” level for a time corresponding to the (n−z) symbol to interrupt the reading, thereby correcting the data string d4 to have 2n symbols. By controlling the data FIFO memory 23 in this way to read the data strings, each data string is corrected to a specified length (n symbols) or an integral multiple of the specified length (2n symbols) as shown in (f). Output data D2
3 is obtained.

【0014】[0014]

【発明が解決しようとする課題】上述した従来の同期保
護装置では、同期用FIFOメモリに記憶させた保護同
期信号を読出し、データ列長が正常でないときには、デ
ータ用FIFOメモリからの読出しを中断して時間調整
を行っている。従って、補正後のデータ列群は規定のデ
ータ列群長以上に長くなり、その後の誤り訂正処理や信
号処理において処理時間の不足を招くことになる。この
ため、データ処理速度を速くする等の対策が必要とな
る。また、複数の伝送路(チャンネル)を経由してきた
入力データに対してデータ列長の補正を行ってチャンネ
ル統合するような場合には、各チャンネル毎に設けた同
期保護装置の出力するデータ列群長はそれぞれ異なり、
これらを統一するための回路が必要となり回路規模が大
きくなるという問題点を有している。
In the above-mentioned conventional synchronization protection device, the protection synchronization signal stored in the synchronization FIFO memory is read, and when the data string length is not normal, the reading from the data FIFO memory is interrupted. I am adjusting the time. Therefore, the corrected data string group becomes longer than the specified data string group length, which causes a shortage of processing time in the subsequent error correction processing and signal processing. Therefore, it is necessary to take measures such as increasing the data processing speed. Further, in the case of correcting the data string length of input data that has passed through a plurality of transmission paths (channels) and integrating the channels, the data string group output by the synchronization protection device provided for each channel. The length is different,
There is a problem that a circuit for unifying these is required and the circuit scale becomes large.

【0015】本発明の目的は、データ列群が規定長以内
に収まるように各データ列を一定長に補正でき、複数の
伝送路を経由してきた入力データに対しデータ列長を補
正してチャンネル統合する場合に回路規模を簡素化でき
る同期保護装置を提供することにある。
An object of the present invention is to correct each data string to a fixed length so that the data string group can fit within a specified length, and to correct the data string length for the input data that has passed through a plurality of transmission lines. An object of the present invention is to provide a synchronization protection device that can simplify the circuit scale when integrated.

【0016】[0016]

【課題を解決するための手段】本発明の同期保護装置
は、各データ列に同期信号がそれぞれ付加されたデータ
列群からなるディジタル信号を伝送系あるいは記録再生
系を介して受信し時間軸補正を行って規定長のデータ列
として出力する同期保護装置であって、受信した前記デ
ータ列群の各データ列から前記同期信号を検出して同期
検出信号を出力する同期検出回路と、前記同期検出信号
に基づき前記各データ列のデータ長を計測してデータ列
長信号を出力するデータ列長計測回路と、前記同期検出
信号および外部から供給される前記データ列群の有効期
間を示す信号を受けて前記各データ列が有効であるか無
効であるかを示す状態コードを発生する状態コード発生
手段と、前記各データ列の同期信号を前記状態コードで
置換する状態コード置換回路と、この状態コード置換回
路が出力するデータ列を記憶し読出すFIFOメモリ
と、このFIFOメモリから読出される各データ列に含
まれる前記状態コードを検出し無効なデータ列の送出を
停止する状態コード監視回路と、前記データ列長信号に
基づき前記FIFOメモリを制御して各データ列を規定
長となるように書込ませる書込制御回路と、外部からの
データ要求信号に応じて前記FIFOメモリに書込まれ
たデータ列を連続して読出させる読出制御回路とを備
え、前記書込制御回路は、規定長よりも短いデータ列の
場合、次のデータ列の領域まで食い込んで規定長を書込
んだのち残りデータを廃棄し、また、規定長よりも長い
データ列の場合、規定長を書込んだのち残りデータを廃
棄するように制御する。
The synchronization protection apparatus of the present invention receives a digital signal composed of a data sequence group in which a synchronization signal is added to each data sequence via a transmission system or a recording / reproducing system and corrects the time axis. And a synchronization detection circuit for detecting the synchronization signal from each data sequence of the received data sequence group and outputting a synchronization detection signal. A data string length measuring circuit that measures the data length of each data string based on a signal and outputs a data string length signal, and a signal that indicates the valid period of the data string group supplied from the outside and the synchronization detection signal. Status code generating means for generating a status code indicating whether each data string is valid or invalid, and a status code for replacing the synchronization signal of each data string with the status code. A conversion circuit, a FIFO memory that stores and reads the data string output by the status code replacement circuit, and the status code contained in each data string read from the FIFO memory is detected to stop the sending of an invalid data string. A status code monitoring circuit, a write control circuit that controls the FIFO memory based on the data string length signal to write each data string so that the data string has a specified length, and a write control circuit that responds to a data request signal from the outside. And a read control circuit for continuously reading a data string written in the FIFO memory, wherein the write control circuit, when the data string is shorter than the specified length, digs into the area of the next data string and sets the specified length. Is written and then the remaining data is discarded. Further, in the case of a data string longer than the specified length, the control is performed so that the specified length is written and the remaining data is discarded.

【0017】また、本発明の同期保護装置は、各データ
列に同期信号がそれぞれ付加されたデータ列群からなる
ディジタル信号を伝送系あるいは記録再生系を介して受
信し時間軸補正を行って規定長のデータ列として出力す
る同期保護装置であって、受信した前記データ列群の各
データ列から前記同期信号を検出して同期検出信号を出
力する同期検出回路と、前記同期検出信号に基づき前記
各データ列のデータ長を計測してデータ列長信号を出力
するデータ列長計測回路と、前記同期検出信号および外
部から供給される前記データ列群の有効期間を示す信号
並びに前記データ列長信号を受けて前記各データ列が有
効であるか無効であるかを示すと共にデータ列長情報を
含む状態コードを発生する状態コード発生回路と、前記
各データ列の同期信号を該当する前記状態コードで置換
する状態コード置換回路と、この状態コード置換回路の
入力側に設けられてデータ列長の遅延を与える遅延回路
と、前記状態コード置換回路が出力するデータ列を記憶
し読出すFIFOメモリと、このFIFOメモリから読
出される各データ列に含まれる前記状態コードを検出し
無効なデータ列の送出を停止すると共に前記データ列長
情報を送出する状態コード監視回路と、前記データ列長
信号に基づき前記FIFOメモリの書込み制御を行って
各データ列を前記FIFOメモリに書込む書込制御回路
と、外部からのデータ要求信号および前記データ列長情
報に応じて前記FIFOメモリの読出し制御を行って書
込まれたデータ列を読出していく読出制御回路とを備
え、前記書込み制御回路は、規定長および規定長よりも
短いデータ列の場合はそのまま書込み、また、規定長よ
りも長いデータ列の場合、規定長を書込んだのち残りデ
ータを廃棄するように制御し、更に、前記読出制御回路
は、規定長よりも短いデータ列の場合、前記データ列長
情報に基づき読出しを中断して規定長となるように制御
する。
Further, the synchronization protection apparatus of the present invention receives a digital signal consisting of a data sequence group in which a synchronization signal is added to each data sequence, receives it through a transmission system or a recording / reproduction system, corrects the time axis, and defines it. A synchronization protection device that outputs as a long data string, wherein a synchronization detection circuit that detects the synchronization signal from each data string of the received data string group and outputs a synchronization detection signal, and the synchronization detection circuit based on the synchronization detection signal A data string length measuring circuit for measuring a data length of each data string and outputting a data string length signal, the synchronization detection signal and a signal indicating the effective period of the data string group supplied from the outside and the data string length signal And a status code generation circuit for indicating whether each data string is valid or invalid and for generating a status code including data string length information, and synchronization of each data string. A status code replacement circuit for replacing a code with the corresponding status code, a delay circuit provided on the input side of the status code replacement circuit for delaying the data string length, and a data string output by the status code replacement circuit. A FIFO memory for storing and reading, and a status code monitoring circuit for detecting the status code contained in each data string read from the FIFO memory, stopping sending of an invalid data string, and sending the data string length information. A write control circuit for performing write control of the FIFO memory based on the data string length signal to write each data string into the FIFO memory, and the FIFO according to a data request signal from the outside and the data string length information. And a read control circuit for performing read control of the memory to read the written data string, wherein the write control circuit has a specified length. And a data string shorter than the specified length are written as they are, and in the case of a data string longer than the specified length, control is performed such that the specified length is written and the remaining data is discarded. In the case of a data string shorter than the specified length, reading is interrupted based on the data string length information and control is performed so that the specified length is achieved.

【0018】[0018]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0019】図1は本発明の第1の実施例を示すブロッ
ク図である。ここで、同期検出回路1は、入力データD
1の各データ列から同期信号を検出して規定の同期パタ
ーンと一致したときに同期検出信号S1を出力する。デ
ータ列長計測回路2は、同期検出信号S1を受けて各デ
ータ列の長さ(シンボル数)をカウントし、データ列長
を示すデータ列長信号S4を出力する。
FIG. 1 is a block diagram showing a first embodiment of the present invention. Here, the synchronization detection circuit 1 uses the input data D
A sync signal is detected from each data string of No. 1 and the sync detection signal S1 is output when the sync signal matches the specified sync pattern. Upon receiving the synchronization detection signal S1, the data string length measuring circuit 2 counts the length (the number of symbols) of each data string and outputs a data string length signal S4 indicating the data string length.

【0020】状態コード発生回路3は、同期検出信号S
1およびデータ列群の有効期間を示す期間信号Sdをそ
れぞれ受け、各データ列が有効であるか無効であるかを
示す状態コードS5を発生する。状態コード置換回路4
は、各データ列の同期信号を状態コードS5で置換え
る。FIFOメモリ5は、書込制御回路6および読出制
御回路7によって制御されて、状態コード置換回路4が
出力するデータ列を記憶し読出す。状態コード監視回路
8は、各データ列に含まれる状態コードを検出し、無効
なデータ列の送出を停止する。
The status code generation circuit 3 uses the synchronization detection signal S
1 and a period signal Sd indicating the valid period of the data string group, respectively, and a status code S5 indicating whether each data string is valid or invalid is generated. Status code replacement circuit 4
Replaces the synchronization signal of each data string with the status code S5. The FIFO memory 5 is controlled by the write control circuit 6 and the read control circuit 7 to store and read the data string output by the state code replacing circuit 4. The status code monitoring circuit 8 detects the status code contained in each data string and stops the sending of the invalid data string.

【0021】書込制御回路6は、データ列長信号S4に
基づきライトリセット信号WRおよびライトイネーブル
信号WEをFIFOメモリ5へ送出して、各データ列の
長さが規定長となるように書込み制御を行う。すなわ
ち、図2(a)に示すように、規定長(nシンボル)の
データ列d11はそのまま書込むが、規定長よりも短い
(yシンボル)データ列d12は、次のデータ列d13
の領域を(n−y)シンボル食い込んで規定数のnシン
ボルを書込み、残りデータ(yシンボル)の書込みは中
止して廃棄する。従って、データ列長が短いデータ列d
12の次のデータ列d13は破壊される。また、図2
(b)に示すように、規定長よりも長い(n+zシンボ
ル)データ列d22は、規定数のシンボルを書込んだ
後、残りデータ(zシンボル)の書込みを中止して廃棄
する。
The write control circuit 6 sends a write reset signal WR and a write enable signal WE to the FIFO memory 5 based on the data string length signal S4 so that the length of each data string becomes a specified length. I do. That is, as shown in FIG. 2A, the data string d11 having the specified length (n symbols) is written as it is, but the data string d12 shorter than the specified length (y symbols) is the next data string d13.
(N-y) symbols are digged into the area for writing a prescribed number of n symbols, and writing of the remaining data (y symbols) is stopped and discarded. Therefore, the data string d having a short data string length
The data string d13 next to 12 is destroyed. FIG.
As shown in (b), in the data string d22 having a length (n + z symbols) longer than the specified length, after writing a specified number of symbols, writing of the remaining data (z symbols) is stopped and discarded.

【0022】このように、規定データ列長になるように
強制的に書込み処理を行うことによってデータ列の破壊
が生じるが、データ列群に対してシャフリングや誤り訂
正符号等の処理を施すことにより、データ列を復元する
ことが可能であり、信号品質への影響を軽減できる。
As described above, although the data string is destroyed by forcibly performing the writing process so that the specified data string length is obtained, it is necessary to subject the data string group to processes such as shuffling and error correction code. As a result, the data string can be restored, and the influence on the signal quality can be reduced.

【0023】読出制御回路7は、図示しない誤り訂正装
置や信号処理装置からのデータ要求信号S6に応じてリ
ードリセット信号RRを送出する。ここで、リードリセ
ット信号RRを受けたFIFOメモリ5は、読出しアド
レスカウンタをリセットした後、クロック毎にカウント
アップして読出しアドレスを生成してデータ列を連続し
て読出していく。その後、次のデータ要求信号S6に応
じて次のデータ列群に対するリードリセット信号RRを
送出する。
The read control circuit 7 sends a read reset signal RR in response to a data request signal S6 from an error correction device or a signal processing device (not shown). Here, the FIFO memory 5 receiving the read reset signal RR resets the read address counter and then counts up every clock to generate a read address and continuously read the data string. Then, the read reset signal RR for the next data string group is transmitted in response to the next data request signal S6.

【0024】このように、データ列長が規定長となるよ
うにFIFOメモリ5に書込み、そのま読出すことによ
り、同期用FIFOメモリを使用することなく、また回
路構成を複雑化することなく、規定長に統一されたデー
タ列を規定のデータ列群長以内に収めて出力できる。従
って、複数の伝送路(チャンネル)を経由してきた入力
データに対してデータ列長の補正を行ってチャンネル統
合するような場合でも、各チャンネル毎に設けた同期保
護装置の出力を単に選択するだけでよいので、回路規模
を簡素化できる。
As described above, by writing data in the FIFO memory 5 so that the length of the data string becomes the specified length and then reading the data string, the synchronization FIFO memory is not used and the circuit configuration is not complicated. A data string unified to the specified length can be output within the specified data string group length. Therefore, even when the input data that has passed through a plurality of transmission lines (channels) are corrected for the data string length and the channels are integrated, the output of the synchronization protection device provided for each channel is simply selected. Therefore, the circuit scale can be simplified.

【0025】図3は本発明の第2の実施例を示すブロッ
ク図であり、図1に示した第1の実施例と同一構成要素
には同一符号を付してある。
FIG. 3 is a block diagram showing a second embodiment of the present invention, and the same components as those of the first embodiment shown in FIG. 1 are designated by the same reference numerals.

【0026】ところで、第1の実施例では、データ列長
が規定長よりも短い場合に次のデータ列まで食い込んで
書込みを行っている。従って、次のデータ列が正常であ
るときには、これを誤りデータ列にしてしまうという欠
点を有している。このような欠点を改善したのが第2の
実施例である。
By the way, in the first embodiment, when the data string length is shorter than the specified length, writing is performed by cutting into the next data string. Therefore, when the next data string is normal, it has the drawback of making this an error data string. The second embodiment has improved such drawbacks.

【0027】ここで、状態コード発生回路9は、データ
列が有効か無効かを示す情報の他に、データ列長情報を
含む状態コードS7を発生する。なお、このデータ列長
情報はデータ列長信号S4に基づき生成される。そして
状態コード置換回路4により、各データ列の同期信号を
状態コードS7で置換える。このため遅延回路10を設
け、次のデータ列の同期検出信号S1が出力されるまで
の期間だけデータ列を遅延させて状態コード置換回路4
に供給している。この遅延期間内に、データ列長計測回
路2は次のデータ列長を計測する。また、状態コード監
視回路13は、各データ列の状態コードを検出して無効
なデータ列の送出を停止すると共に、データ列長情報S
8を抽出して読出制御回路12へ送出する機能を具備し
ている。
Here, the status code generation circuit 9 generates a status code S7 including data string length information in addition to information indicating whether the data string is valid or invalid. The data string length information is generated based on the data string length signal S4. Then, the status code replacement circuit 4 replaces the synchronization signal of each data string with the status code S7. For this reason, the delay circuit 10 is provided, and the data string is delayed by the period until the synchronization detection signal S1 of the next data string is output.
Is being supplied to. The data string length measuring circuit 2 measures the next data string length within this delay period. Further, the status code monitoring circuit 13 detects the status code of each data string and stops the sending of the invalid data string, and at the same time, the data string length information S
It has a function of extracting 8 and sending it to the read control circuit 12.

【0028】書込制御回路11は、データ列長信号S4
に基づきライトリセット信号WRおよびライトイネーブ
ル信号WEをFIFOメモリ5へ送出して書込み制御を
行う。この場合は図4に示すように、規定長(nシンボ
ル)のデータ列d31,d33,d35および規定長よ
りも短い(yシンボル)データ列d32は、従来例と同
様にそのまま書込み、規定長よりも長い(n+zシンボ
ル)データ列d34は、第1の実施例と同様に規定長の
nシンボルを書込んだ後、残りデータ(nシンボル)の
書込みを中止し廃棄する。
The write control circuit 11 uses the data string length signal S4.
Then, the write reset signal WR and the write enable signal WE are sent to the FIFO memory 5 to control the writing. In this case, as shown in FIG. 4, the data strings d31, d33, d35 having the specified length (n symbols) and the data string d32 shorter than the specified length (y symbols) are written as they are as in the conventional example, and the data lengths larger than the specified length are written. For the longest (n + z symbol) data string d34, after writing n symbols of a prescribed length as in the first embodiment, writing of the remaining data (n symbols) is stopped and discarded.

【0029】読出制御回路12は、データ要求信号S6
に応じてリードリセット信号RRをFIFOメモリ5へ
送出し、データ列の読出しを開始する。その後、状態コ
ード監視回路13から送出されるデータ列長情報S8に
応じて、図4に示すように、リードイネーブル信号RE
を出力する。すなわち、規定長よりも短いデータ列d3
2に対しは、(n−y)シンボルの時間だけリードイネ
ーブル信号REを「L」レベルにして読出しを中断させ
て、nシンボルになるように補正する。このようにする
ことにより、第1の実施例のように、データ列長が規定
長よりも短い場合に次の正常なデータ列を誤りデータ列
にしてしまうことはない。
The read control circuit 12 uses the data request signal S6.
In response to this, the read reset signal RR is sent to the FIFO memory 5 and the reading of the data string is started. After that, according to the data string length information S8 sent from the status code monitoring circuit 13, as shown in FIG.
Is output. That is, the data string d3 shorter than the specified length
For 2, the read enable signal RE is set to the “L” level for the time of (n−y) symbols, the reading is interrupted, and the number of symbols is corrected to n symbols. By doing so, unlike the first embodiment, when the data string length is shorter than the specified length, the next normal data string will not be an error data string.

【0030】[0030]

【発明の効果】以上説明したように本発明によれば、各
データ列のデータ長を計測すると共に、データ列の有効
無効を示す状態コードを生成してデータ列の同期信号を
置換え、計測したデータ長に基づき強制的に規定長とな
るようにFIFOメモリに書込んで読出すことにより、
同期用FIFOメモリを使用することなく、また回路構
成を複雑化することなく、規定長に統一されたデータ列
を規定データ列群長以内に収めて出力できる。従って、
複数の伝送路(チャンネル)を経由してきたデータのチ
ャンネル統合の場合に回路規模を簡素化できる。
As described above, according to the present invention, the data length of each data string is measured, and a status code indicating the validity / invalidity of the data string is generated to replace the synchronization signal of the data string for measurement. By writing to and reading from the FIFO memory so that the specified length is compulsorily based on the data length,
A data string having a specified length can be output within the specified data string group length without using a synchronization FIFO memory and without complicating the circuit configuration. Therefore,
The circuit scale can be simplified in the case of channel integration of data that has passed through a plurality of transmission lines (channels).

【0031】また、データ列長情報を含む状態コードを
発生してデータ列の同期信号を置換し、FIFOメモリ
にデータ列を書込む際に、規定長および規定長よりも短
いデータ列の場合はそのまま書込み、規定長よりも長い
データ列の場合は規定長を書込んだのち残りデータの書
込みを中止させて廃棄するように制御し、更に、FIF
Oメモリからデータ列を読出す際に、規定長よりも短い
データ列の場合はデータ列長情報に基づき読出しを中断
させて規定長となるように時間制御することにより、デ
ータ列長が規定長よりも短い場合に次の正常なデータ列
を誤りデータ列にしてしまうことを防止できる。
Further, when a status code including data string length information is generated to replace the sync signal of the data string and the data string is written to the FIFO memory, in the case of the specified length and the data string shorter than the specified length, If the data string is written as it is, and the data string is longer than the specified length, the specified length is written, and then the remaining data is stopped to be written and discarded.
When reading a data string from the O memory, if the data string is shorter than the specified length, the reading is interrupted based on the data string length information and the time is controlled so that the length becomes the specified length. When the length is shorter than that, it is possible to prevent the next normal data string from becoming an error data string.

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

【図1】本発明の第1の実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】図1に示した書込制御回路6の動作を説明する
ためのタイミングチャートである。
FIG. 2 is a timing chart for explaining the operation of write control circuit 6 shown in FIG.

【図3】本発明の第2の実施例を示すブロック図であ
る。
FIG. 3 is a block diagram showing a second embodiment of the present invention.

【図4】図3に示した書込制御回路11および読出制御
回路12の動作を説明するためのタイミングチャートで
ある。
FIG. 4 is a timing chart for explaining operations of write control circuit 11 and read control circuit 12 shown in FIG.

【図5】従来の同期保護装置の一例を示すブロック図で
ある。
FIG. 5 is a block diagram showing an example of a conventional synchronization protection device.

【図6】図5に示した従来の同期保護装置の動作を説明
するためのタイミングチャートである。
FIG. 6 is a timing chart for explaining the operation of the conventional synchronization protection device shown in FIG.

【符号の説明】[Explanation of symbols]

1 同期検出回路 2 データ列長計測回路 3,9 状態コード発生回路 4 状態コード置換回路 5 FIFOメモリ 6,11 書込制御回路 7,12 読出制御回路 8,13 状態コード監視回路 10 遅延回路 D1 入力データ D21,D22 出力データ Sd 期間信号 S1 同期検出信号 S4 データ列長信号 S5,S7 状態コード S6 データ要求信号 S8 データ列長情報 RE リードイネーブル信号 RR リードリセット信号 WE ライトイネーブル信号 WR ライトリセット信号 1 synchronization detection circuit 2 data string length measurement circuit 3, 9 status code generation circuit 4 status code replacement circuit 5 FIFO memory 6, 11 write control circuit 7, 12 read control circuit 8, 13 status code monitoring circuit 10 delay circuit D1 input Data D21, D22 Output data Sd Period signal S1 Synchronization detection signal S4 Data string length signal S5, S7 Status code S6 Data request signal S8 Data string length information RE Read enable signal RR Read reset signal WE write enable signal WR Write reset signal

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各データ列に同期信号がそれぞれ付加さ
れたデータ列群からなるディジタル信号を伝送系あるい
は記録再生系を介して受信し時間軸補正を行って規定長
のデータ列として出力する同期保護装置であって、 受信した前記データ列群の各データ列から前記同期信号
を検出して同期検出信号を出力する同期検出回路と、前
記同期検出信号に基づき前記各データ列のデータ長を計
測してデータ列長信号を出力するデータ列長計測回路
と、前記同期検出信号および外部から供給される前記デ
ータ列群の有効期間を示す信号を受けて前記各データ列
が有効であるか無効であるかを示す状態コードを発生す
る状態コード発生手段と、前記各データ列の同期信号を
前記状態コードで置換する状態コード置換回路と、この
状態コード置換回路が出力するデータ列を記憶し読出す
FIFOメモリと、このFIFOメモリから読出される
各データ列に含まれる前記状態コードを検出し無効なデ
ータ列の送出を停止する状態コード監視回路と、前記デ
ータ列長信号に基づき前記FIFOメモリを制御して各
データ列を規定長となるように書込ませる書込制御回路
と、外部からのデータ要求信号に応じて前記FIFOメ
モリに書込まれたデータ列を連続して読出させる読出制
御回路とを備え、 前記書込制御回路は、規定長よりも短いデータ列の場
合、次のデータ列の領域まで食い込んで規定長を書込ん
だのち残りデータを廃棄し、また、規定長よりも長いデ
ータ列の場合、規定長を書込んだのち残りデータを廃棄
するように制御することを特徴とする同期保護装置。
1. A synchronization for receiving a digital signal composed of a data string group in which a synchronizing signal is added to each data string via a transmission system or a recording / reproducing system, correcting the time axis, and outputting as a data string of a specified length. A protection device, which detects a synchronization signal from each data string of the received data string group and outputs a synchronization detection signal, and measures the data length of each data string based on the synchronization detection signal. And a data string length measuring circuit for outputting a data string length signal, and receiving the synchronization detection signal and a signal indicating the valid period of the data string group supplied from the outside to determine whether each data string is valid or invalid. A status code generating means for generating a status code indicating whether there is a status code, a status code replacement circuit for replacing the synchronization signal of each data string with the status code, and a status code replacement circuit are provided. A FIFO memory for storing and reading the data string to be stored, a status code monitoring circuit for detecting the status code contained in each data string read from the FIFO memory and stopping the sending of the invalid data string, and the data string length. A write control circuit that controls the FIFO memory based on a signal to write each data string so as to have a specified length, and a data string written to the FIFO memory in response to a data request signal from the outside. And a read control circuit for reading, the write control circuit, in the case of a data string shorter than a specified length, digs into the area of the next data string and writes the specified length, and then discards the remaining data, Further, in the case of a data string longer than a specified length, the synchronization protection device is characterized in that after the specified length is written, the remaining data is controlled to be discarded.
【請求項2】 各データ列に同期信号がそれぞれ付加さ
れたデータ列群からなるディジタル信号を伝送系あるい
は記録再生系を介して受信し時間軸補正を行って規定長
のデータ列として出力する同期保護装置であって、 受信した前記データ列群の各データ列から前記同期信号
を検出して同期検出信号を出力する同期検出回路と、前
記同期検出信号に基づき前記各データ列のデータ長を計
測してデータ列長信号を出力するデータ列長計測回路
と、前記同期検出信号および外部から供給される前記デ
ータ列群の有効期間を示す信号並びに前記データ列長信
号を受けて前記各データ列が有効であるか無効であるか
を示すと共にデータ列長情報を含む状態コードを発生す
る状態コード発生回路と、前記各データ列の同期信号を
該当する前記状態コードで置換する状態コード置換回路
と、この状態コード置換回路の入力側に設けられてデー
タ列長の遅延を与える遅延回路と、前記状態コード置換
回路が出力するデータ列を記憶し読出すFIFOメモリ
と、このFIFOメモリから読出される各データ列に含
まれる前記状態コードを検出し無効なデータ列の送出を
停止すると共に前記データ列長情報を送出する状態コー
ド監視回路と、前記データ列長信号に基づき前記FIF
Oメモリの書込み制御を行って各データ列を前記FIF
Oメモリに書込む書込制御回路と、外部からのデータ要
求信号および前記データ列長情報に応じて前記FIFO
メモリの読出し制御を行って書込まれたデータ列を読出
していく読出制御回路とを備え、 前記書込み制御回路は、規定長および規定長よりも短い
データ列の場合はそのまま書込み、また、規定長よりも
長いデータ列の場合、規定長を書込んだのち残りデータ
を廃棄するように制御し、更に、前記読出制御回路は、
規定長よりも短いデータ列の場合、前記データ列長情報
に基づき読出しを中断して規定長となるように制御する
ことを特徴とする同期保護装置。
2. A synchronization for receiving a digital signal consisting of a data string group in which a synchronizing signal is added to each data string via a transmission system or a recording / reproducing system, correcting the time axis, and outputting as a data string of a specified length. A protection device, which detects a synchronization signal from each data string of the received data string group and outputs a synchronization detection signal, and measures the data length of each data string based on the synchronization detection signal. A data string length measuring circuit for outputting a data string length signal, and a signal indicating the valid period of the data string group supplied from the outside and the synchronization detection signal and the data string length signal to receive each data string. A status code generation circuit that generates a status code including data string length information and indicates whether the status code is valid or invalid, and the status code corresponding to a synchronization signal of each data string. A status code replacement circuit for replacement, a delay circuit provided on the input side of the status code replacement circuit for delaying the data string length, and a FIFO memory for storing and reading the data string output by the status code replacement circuit, A status code monitoring circuit that detects the status code contained in each data string read from the FIFO memory, stops sending of an invalid data string, and sends the data string length information, and a status code monitoring circuit based on the data string length signal. The FIF
O data write control is performed to write each data string to the FIFO.
A write control circuit for writing in the O memory, and the FIFO in response to an external data request signal and the data string length information.
And a read control circuit for performing read control of the memory to read the written data string, wherein the write control circuit writes the specified length and a data string shorter than the specified length as it is, and also specifies the specified length. In the case of a data string longer than this, control is performed so that the remaining data is discarded after writing the specified length, and the read control circuit further comprises:
In the case of a data string shorter than a specified length, the synchronization protection device is characterized in that reading is interrupted on the basis of the data string length information so that the length becomes a specified length.
JP5283803A 1993-11-15 1993-11-15 Sync protector Expired - Fee Related JP2531456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5283803A JP2531456B2 (en) 1993-11-15 1993-11-15 Sync protector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5283803A JP2531456B2 (en) 1993-11-15 1993-11-15 Sync protector

Publications (2)

Publication Number Publication Date
JPH07143115A JPH07143115A (en) 1995-06-02
JP2531456B2 true JP2531456B2 (en) 1996-09-04

Family

ID=17670348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5283803A Expired - Fee Related JP2531456B2 (en) 1993-11-15 1993-11-15 Sync protector

Country Status (1)

Country Link
JP (1) JP2531456B2 (en)

Also Published As

Publication number Publication date
JPH07143115A (en) 1995-06-02

Similar Documents

Publication Publication Date Title
US5537148A (en) Video and audio data demultiplexer having controlled synchronizing signal
EP0825783A2 (en) Apparatus and methods for transmitting data
JP2531456B2 (en) Sync protector
EP0817503B1 (en) Decoding apparatus and decoding method
JP3494151B2 (en) Concatenation signal processing method and apparatus
JPS62200885A (en) Dummy moving image transmission system
JP3116968B2 (en) Digital video signal processor
JP3482994B2 (en) Time code signal reader
JP4455738B2 (en) Multiplexing method and apparatus
JP3108328B2 (en) Synchronous playback circuit
JP2715953B2 (en) Synchronous circuit
JP3063291B2 (en) Line monitoring circuit
JP3338237B2 (en) Synchronous playback circuit
JP2596357B2 (en) Burst data transmission method and apparatus
JPH0642667B2 (en) Transmitter
JP2760323B2 (en) ATM cell format conversion circuit
US5568488A (en) Pointer re-setting method and apparatus thereof
JPS61101139A (en) Synchronizing signal detector
JPH0546729B2 (en)
JP3075273B2 (en) Cell buffer control circuit
JPH0727696B2 (en) Burst error detector for digital signals
JP3213439B2 (en) Sync signal detection circuit
JP2611722B2 (en) Error flag output circuit
JPH05252147A (en) Phase controller
JPH09320177A (en) Frame-synchronizing signal processing circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960507

LAPS Cancellation because of no payment of annual fees