JP2001223680A - Stuffing control circuit - Google Patents

Stuffing control circuit

Info

Publication number
JP2001223680A
JP2001223680A JP2000033247A JP2000033247A JP2001223680A JP 2001223680 A JP2001223680 A JP 2001223680A JP 2000033247 A JP2000033247 A JP 2000033247A JP 2000033247 A JP2000033247 A JP 2000033247A JP 2001223680 A JP2001223680 A JP 2001223680A
Authority
JP
Japan
Prior art keywords
packet
valid
circuit
packets
control circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000033247A
Other languages
Japanese (ja)
Other versions
JP3478223B2 (en
Inventor
Hiroyuki Kashima
大之 加島
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2000033247A priority Critical patent/JP3478223B2/en
Publication of JP2001223680A publication Critical patent/JP2001223680A/en
Application granted granted Critical
Publication of JP3478223B2 publication Critical patent/JP3478223B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a simple stuffing control circuit that its circuit scale can be reduced. SOLUTION: The stuffing control circuit consists of a packet insert control means, having a write control circuit 1, a transmission parameter setting circuit 4, a test packet flag generating circuit 5, and a read control circuit 3, of a FIFO 2 and of a null packet insert circuit 6. The read control circuit 3 reads digital data 29 from the FIFO 2, according to a frame pattern 28 generated by the test packet flag generating circuit 5 and allows a null packet insertion circuit 6 to insert valid null packets, so that the number of valid packets reaches a number specified in compliance with a prescribed transmission standard.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、スタッフィング
制御回路に関し、特にパケット化されたディジタルデー
タを出力装置のデータレートから所定の伝送規格で規定
されたデータレートに変換する際に用いるスタッフィン
グ制御回路に関する。
The present invention relates to a stuffing control circuit, and more particularly to a stuffing control circuit used to convert packetized digital data from a data rate of an output device to a data rate specified by a predetermined transmission standard. .

【0002】[0002]

【従来の技術】一般に、ディジタルデータ処理装置間の
ディジタルデータの伝送速度は、このディジタルデータ
を受信し、処理するディジタルデータ処理装置内のデー
タ転送速度より遅いため、ディジタルデータ処理装置内
には、受信したディジタルデータの速度変換を行う速度
変換回路が設けられている。ところで、ディジタルデー
タの伝送では、ディジタルデータを所定のバイト数ごと
に区切ったパケットや、複数のパケットで構成されたフ
レーム、複数のフレームで構成されたスーパーフレーム
(以後、SFPと記す)を単位として行われることがあ
り、これらの場合、受信したパケットをディジタルデー
タ処理装置内のデータ転送速度に合わせるだけでなく、
パケットを所定のフォーマットに配置する必要がある。
このため、パケットの伝送速度(データレート)が、各
伝送パラメータに応じて規定されている。
2. Description of the Related Art Generally, the transmission speed of digital data between digital data processing devices is lower than the data transfer speed in a digital data processing device that receives and processes the digital data. A speed conversion circuit for performing speed conversion of the received digital data is provided. By the way, in the transmission of digital data, a packet obtained by dividing the digital data by a predetermined number of bytes, a frame composed of a plurality of packets, and a superframe composed of a plurality of frames (hereinafter referred to as SFP) are used as a unit. In these cases, not only do the received packets match the data rate in the digital data processor,
The packets need to be arranged in a predetermined format.
For this reason, the transmission speed (data rate) of a packet is defined according to each transmission parameter.

【0003】この速度変換について図5を参照して説明
する。図5は、n個のパケットから構成されたSFPを
受信して速度変換を行う際のタイミングチャートを示し
ており、受信したデータをファーストイン・ファースト
アウトメモリ(以後、FIFOと記す)に伝送時のデー
タレートで書き込み、書き込まれたデータを受信側装置
内のデータレートで書き込まれた順に読み出すことによ
り、速度変換を行うものである。同図において、書き込
みデータ1は、FIFOに書き込まれるパケットのデー
タレートが規定されたものである場合を示し、読み出し
データ1は、この場合の速度変換されたSFP内のパケ
ット配置を示す。また、書き込みデータ2は、FIFO
に書き込まれるパケットのデータレートが規定されたも
のより低い場合を示し、読み出しデータ2は、この場合
の速度変換されたSFP内のパケット配置を示す。
[0003] This speed conversion will be described with reference to FIG. FIG. 5 shows a timing chart when speed conversion is performed by receiving an SFP composed of n packets. When the received data is transmitted to a first-in first-out memory (hereinafter, referred to as FIFO), The speed conversion is performed by writing the data at the data rate and reading the written data in the order in which the data was written at the data rate in the receiving apparatus. In the drawing, write data 1 indicates a case where the data rate of a packet written to the FIFO is specified, and read data 1 indicates a packet arrangement in the SFP whose speed has been converted in this case. The write data 2 is a FIFO
Shows the case where the data rate of the packet written in the SFP is lower than the prescribed one, and the read data 2 shows the packet arrangement in the SFP whose speed has been converted in this case.

【0004】図5において、受信した1つのSFP内の
有効パケット数をn個とした場合、受信時のデータレー
トが規定されたものであるならば、書き込みデータ1に
示すように、FIFOへの書き込みは1つのSFPの読
み出し可能期間内に終了するので、読み出しデータ1に
示すように、速度変換後のSFPにはn個の有効パケッ
トが収まっている。しかし、規定されているものよりデ
ータレートが低い場合には、書き込みデータ2に示すよ
うに、FIFOへの書き込みが1つのSFPの読み出し
可能期間内に終了しないため、読み出しデータ2に示す
ように、速度変換後のSFPにはn−1個の有効パケッ
トしか収まらない。
In FIG. 5, when the number of valid packets in one received SFP is n, if the data rate at the time of reception is a prescribed one, as shown in write data 1, the FIFO Since the writing is completed within the readable period of one SFP, as shown in the read data 1, the SFP after the speed conversion contains n valid packets. However, when the data rate is lower than the prescribed one, the writing to the FIFO does not end within the readable period of one SFP as shown in the write data 2, so that as shown in the read data 2, Only n-1 valid packets can be accommodated in the SFP after the speed conversion.

【0005】このため、送信側装置からのデータレート
が規定されているものより低い場合、受信したパケット
数が所定のフォーマットを構成するのに足りなくなるの
で、受信側装置で足りない分のパケットを補充(スタッ
フィング)する必要がある。従来、このスタッフィング
は、所定のフォーマットに基づく処理を行う際にデータ
レートを調整するメモリを設けて行っていた。
[0005] Therefore, if the data rate from the transmitting device is lower than the prescribed one, the number of packets received is insufficient to form a predetermined format, and the receiving device can reduce the number of packets. It needs to be supplemented (stuffed). Conventionally, this stuffing is performed by providing a memory for adjusting a data rate when performing processing based on a predetermined format.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
スタッフィング方式では、少なくとも1SFP分のデー
タを蓄えられるメモリが必要となるなど、回路規模が大
きくなる問題があった。この発明は、回路規模が小さく
できる簡易なスタッフィング制御回路を提供することを
目的とする。
However, the conventional stuffing method has a problem that the circuit scale becomes large, for example, a memory for storing data of at least one SFP is required. SUMMARY OF THE INVENTION An object of the present invention is to provide a simple stuffing control circuit capable of reducing the circuit scale.

【0007】[0007]

【課題を解決するための手段】この発明のスタッフィン
グ制御回路は、複数のパケットで構成されたフレーム構
造を有するディジタルデータに所定の伝送規格で規定さ
れた数の有効パケットを含むように有効ヌルパケットを
挿入する回路であり、上述した課題を解決するために、
ディジタルデータの書き込みと読み出しを異なる速さで
同時に実行可能であり、かつディジタルデータが書き込
まれた順に読み出されるメモリと、有効ヌルパケットを
生成し、メモリから読み出されたディジタルデータに有
効ヌルパケットを挿入するパケット挿入手段と、メモリ
からディジタルデータを読み出し中にパケット挿入手段
を制御して、有効パケットが伝送規格で規定された数と
なるように有効ヌルパケットを挿入させるパケット挿入
制御手段とを備え、ディジタルデータが、このディジタ
ルデータの伝送速度でメモリに書き込まれ、伝送規格で
規定された伝送速度でメモリから読み出されるように構
成されていることによって特徴づけられる。
SUMMARY OF THE INVENTION A stuffing control circuit according to the present invention is provided with an effective null packet so that digital data having a frame structure composed of a plurality of packets includes the number of effective packets specified by a predetermined transmission standard. Is a circuit that inserts
Digital data can be written and read simultaneously at different speeds, and a memory that reads in the order in which the digital data is written and a valid null packet are generated, and a valid null packet is added to the digital data read from the memory. Packet insertion means for inserting, and packet insertion control means for controlling the packet insertion means while reading digital data from the memory to insert valid null packets so that the number of valid packets becomes the number specified by the transmission standard. , Digital data is written to the memory at the transmission rate of the digital data, and is read from the memory at the transmission rate specified by the transmission standard.

【0008】この場合、パケット挿入制御手段の一構成
例は、伝送規格で規定された伝送速度に対応したクロッ
ク信号をメモリに入力し、メモリに書き込まれたディジ
タルデータを所定のフレームパターンに基づいて読み出
して、入力されたディジタルデータの伝送速度を伝送規
格で規定された伝送速度に速度変換させるように構成さ
れている。このパケット挿入制御手段の一構成例は、入
力されたディジタルデータに基づいてメモリへの書き込
みを制御し、メモリへ書き込まれたパケット数を計数し
て書き込み回数データを生成する書き込み制御回路と、
伝送規格で規定された伝送パラメータを出力する伝送パ
ラメータ設定回路と、伝送パラメータからフレームパタ
ーンを生成するテストパケットフラグ生成回路と、フレ
ームパターンと書き込み回数データとに基づいて、メモ
リの読み出しと有効ヌルパケットの挿入を制御する読み
出し制御回路とから構成されている。
[0008] In this case, one configuration example of the packet insertion control means is to input a clock signal corresponding to a transmission rate specified by a transmission standard to a memory, and to convert digital data written in the memory based on a predetermined frame pattern. It is configured to read and convert the transmission rate of the input digital data to the transmission rate specified by the transmission standard. One configuration example of the packet insertion control means includes a write control circuit that controls writing to a memory based on input digital data, counts the number of packets written to the memory, and generates write count data,
A transmission parameter setting circuit that outputs a transmission parameter specified by a transmission standard; a test packet flag generation circuit that generates a frame pattern from the transmission parameter; and a memory read and valid null packet based on the frame pattern and the number of write times data. And a read control circuit for controlling the insertion of the data.

【0009】テストパケットフラグ生成回路の一構成例
は、有効パケットが任意の位置に配置されたフレームパ
ターンを生成可能に構成されている。また、読み出し制
御回路の一構成例は、フレームパターンに基づいて有効
パケットが配置されるべき位置に、メモリへ書き込まれ
たパケット数とメモリから読み出されたパケット数の差
が1以上規定された有効パケット数以下のときメモリか
らデータを読み出し、差が0のとき有効ヌルパケットを
挿入させるように構成されている。パケット挿入手段の
一構成例は、速度変換に伴い不足するパケットを補充す
るための無効ヌルパケットと有効ヌルパケットとを生成
しメモリから読み出されたディジタルデータに無効ヌル
パケットと有効ヌルパケットを挿入するように構成され
ている。
One configuration example of the test packet flag generation circuit is configured to generate a frame pattern in which valid packets are arranged at an arbitrary position. In one configuration example of the read control circuit, at least one difference between the number of packets written to the memory and the number of packets read from the memory is defined at a position where a valid packet is to be arranged based on the frame pattern. Data is read from the memory when the number is less than the number of valid packets, and when the difference is 0, a valid null packet is inserted. One configuration example of the packet insertion means generates an invalid null packet and a valid null packet for supplementing a packet that is insufficient due to the speed conversion, and inserts the invalid null packet and the valid null packet into the digital data read from the memory. It is configured to be.

【0010】また、パケット挿入制御手段の別の構成例
は、メモリに書き込まれるディジタルデータのパケット
数を計数して所定の伝送規格の伝送パラメータで規定さ
れた有効パケット数に対する有効パケットの不足数を検
出し、有効パケットがこの伝送規格で規定された数とな
るように、パケット挿入手段を制御して有効ヌルパケッ
トを挿入させる入力レート監視回路と、入力レート監視
回路に伝送規格の伝送パラメータを出力する伝送パラメ
ータ設定回路とから構成されている。
Another example of the structure of the packet insertion control means is to count the number of digital data packets written in the memory and determine the number of valid packets deficient with respect to the number of valid packets specified by transmission parameters of a predetermined transmission standard. An input rate monitoring circuit for detecting and controlling the packet inserting means to insert a valid null packet so that the number of valid packets becomes the number specified by the transmission standard, and outputting a transmission parameter of the transmission standard to the input rate monitoring circuit. And a transmission parameter setting circuit.

【0011】[0011]

【発明の実施の形態】以下に図を用いてこの発明の実施
の形態を説明する。最初に、この発明のスタッフィング
制御回路の第1の実施の形態について説明する。この実
施の形態のスタッフィング制御回路は、FIFOに伝送
レートで書き込み、速度変換後の規定されたデータレー
トで読み出してスタッフィングを行うものである。図1
はこの発明のスタッフィング制御回路の第1の実施の形
態を示しており、この回路は、書き込み制御回路1と、
FIFO2と、読み出し制御回路3と、伝送パラメータ
設定回路4と、テストパケットフラグ生成回路5と、ヌ
ルパケット挿入回路6とを備えている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. First, a stuffing control circuit according to a first embodiment of the present invention will be described. The stuffing control circuit of this embodiment performs stuffing by writing to a FIFO at a transmission rate, and reading at a specified data rate after speed conversion. FIG.
Shows a first embodiment of a stuffing control circuit according to the present invention.
It includes a FIFO 2, a read control circuit 3, a transmission parameter setting circuit 4, a test packet flag generation circuit 5, and a null packet insertion circuit 6.

【0012】この場合、書き込み制御回路1は、パケッ
トデータ(TS)20が入力されると、このパケットデ
ータ(TS)20の伝送速度に同期したクロック信号
(TSCLK)21と、書き込み制御信号22を生成してF
IFO2に出力し、パケットデータ(TS)20を伝送
速度に同期した速度でFIFO2に書き込む。また、F
IFO2に書き込んだパケット数を書き込み回数データ
23として読み出し制御回路3に出力する。このFIF
O2は、書き込み制御ポートと書き込みクロック入力ポ
ートと読み出し制御ポートと読み出しクロック入力ポー
トとを備えており、書き込みと読み出しを異なる速さで
同時に行うことができる。伝送パラメータ設定回路4
は、フレームパターン生成に必要な伝送パラメータの設
定データ24をテストパケットフラグ生成回路5に出力
する。
In this case, when the packet data (TS) 20 is input, the write control circuit 1 transmits a clock signal (TSCLK) 21 synchronized with the transmission speed of the packet data (TS) 20 and a write control signal 22. Generate and F
It outputs the packet data (TS) 20 to the FIFO 2 at a speed synchronized with the transmission speed. Also, F
The number of packets written to the IFO 2 is output to the read control circuit 3 as write number data 23. This FIF
O2 has a write control port, a write clock input port, a read control port, and a read clock input port, and can simultaneously perform writing and reading at different speeds. Transmission parameter setting circuit 4
Outputs the transmission parameter setting data 24 necessary for generating the frame pattern to the test packet flag generation circuit 5.

【0013】テストパケットフラグ生成回路5は、伝送
パラメータ設定回路4から出力された設定データ24の
各パラメータによって規定されるパケット数分のパケッ
トフラグで1SFP毎にフレームパターン28を生成
し、読み出し制御回路3に出力する。読み出し制御回路
3は、テストパケットフラグ生成回路5から出力された
フレームパターン28と、書き込み制御回路1から出力
された書き込み回数データ23と、自ら生成する読み出
し回数データとに基づいてFIFO2に対し読み出し制
御信号25とシステムクロックに同期したクロック信号
(SYSTEM CLK)26とを出力するとともに、ヌルパケッ
ト挿入のための情報を生成してヌルパケット挿入回路6
にヌルパケット挿入信号27を出力する。
The test packet flag generation circuit 5 generates a frame pattern 28 for each SFP with packet flags of the number of packets specified by each parameter of the setting data 24 output from the transmission parameter setting circuit 4, Output to 3. The read control circuit 3 performs read control on the FIFO 2 based on the frame pattern 28 output from the test packet flag generation circuit 5, the write count data 23 output from the write control circuit 1, and the read count data generated by itself. A signal 25 and a clock signal (SYSTEM CLK) 26 synchronized with the system clock are output, and information for null packet insertion is generated to generate a null packet insertion circuit 6.
To output a null packet insertion signal 27.

【0014】FIFO2は、クロック信号(TSCLK)2
1と書き込み制御信号22により、伝送速度に同期した
速度でパケットデータ(TS)20が書き込まれ、読み
出し制御信号25とクロック信号(SYSTEM CLK)26に
より、書き込まれたデータが書き込まれた順番で読み出
される。これにより、システムクロックレートへの速度
変換が行われたパケットデータ29が出力される。ヌル
パケット挿入回路6は、有効ヌルパケットと無効ヌルパ
ケットを生成し、読み出し制御回路3から出力されたヌ
ルパケット挿入信号27に基づいて、FIFO2から出
力されたパケットデータ29に有効ヌルパケットを挿入
するスタッフィングと速度変換に伴う無効ヌルパケット
挿入とを行う。
The FIFO 2 has a clock signal (TSCLK) 2
1 and the write control signal 22, the packet data (TS) 20 is written at a speed synchronized with the transmission speed, and the read control signal 25 and the clock signal (SYSTEM CLK) 26 read the written data in the written order. It is. As a result, the packet data 29 whose speed has been converted to the system clock rate is output. The null packet insertion circuit 6 generates a valid null packet and an invalid null packet, and inserts a valid null packet into the packet data 29 output from the FIFO 2 based on the null packet insertion signal 27 output from the read control circuit 3. It performs stuffing and insertion of invalid null packets due to speed conversion.

【0015】この実施の形態のスタッフィング制御回路
は、スタッフィングと速度変換に伴う有効ヌルパケット
と無効ヌルパケットの挿入を1つのヌルパケット挿入回
路で行えるので、全体の回路構成が簡略化される。ま
た、このスタッフィング制御回路は、パケットデータ
(TS)20の書き込みと読み出しが同時に実行可能
で、かつ読み出し中に有効ヌルパケットの挿入ができる
ので、スタッフィングのために1SFP分のパケットデ
ータ(TS)20を貯め込む必要がないのでFIFO2
の記憶容量が小さくてすみ、回路規模を小さくできると
いう効果がある。
In the stuffing control circuit of this embodiment, the insertion of a valid null packet and an invalid null packet accompanying stuffing and speed conversion can be performed by one null packet insertion circuit, so that the entire circuit configuration is simplified. The stuffing control circuit can simultaneously write and read the packet data (TS) 20 and insert a valid null packet during the reading. Therefore, the packet data (TS) 20 for one SFP is used for the stuffing. FIFO2 because there is no need to store
This has the effect of requiring only a small storage capacity and reducing the circuit scale.

【0016】次に、この実施の形態のスタッフィング制
御回路をDVB−T規格による直交周波数分割多重(以
後、OFDM:Orthogonal Frequeney Division Multip
lexと記す)変調器に適用した例を説明する。DVB−
T規格は、ヨーロッパ通信規格協会(ETSI)が規格
化したデジタルビデオ地上波放送に関する伝送プロトコ
ルであり、ビデオ、オーディオ、データを多重化して、
蓄積及び伝送する方法の規格であるMPEG2(Moving
Picture Experts Group Phase 2)の伝送データ形式
であるTS(Transport Stream)を伝送するのに用いら
れる。OFDMは、伝送ディジタルデータを互いに直交
する多数(数百から数千)の搬送波でそれぞれ変調する
ディジタル変調方式であり、マルチパスフェージングに
強く周波数の利用効率を高めることが可能である。
Next, the stuffing control circuit of this embodiment is provided with an orthogonal frequency division multiplex (hereinafter referred to as OFDM: Orthogonal Frequeney Division Multip
An example applied to a modulator will be described. DVB-
The T standard is a transmission protocol for digital video terrestrial broadcasting standardized by the European Telecommunications Standards Institute (ETSI), and multiplexes video, audio, and data.
MPEG2 (Moving), a standard for storage and transmission methods
It is used to transmit TS (Transport Stream) which is a transmission data format of Picture Experts Group Phase 2). OFDM is a digital modulation method for modulating transmission digital data with a large number (several hundreds to thousands) of carrier waves orthogonal to each other, and is resistant to multipath fading and can increase the efficiency of frequency use.

【0017】このOFDM変調器は、図2に示すよう
に、スタッフィング制御回路41と、誤り訂正符号化回
路42と、基準シンボル挿入回路43と、逆高速離散フ
ーリエ変換回路44(以後、IFFT回路と記す)と、
直交変調回路45とを備えており、入力側からこの順に
配置されている。この場合、図示しない上位装置から出
力されたTSは、スタッフィング制御回路41に入力さ
れて、このOFDM変調器のシステムクロックレートに
速度変換されるとともに、有効ヌルパケット挿入と速度
変換に伴う無効ヌルパケット挿入が行われた後、誤り訂
正符号化回路42に入力されて誤り訂正符号化処理され
る。
As shown in FIG. 2, the OFDM modulator includes a stuffing control circuit 41, an error correction encoding circuit 42, a reference symbol insertion circuit 43, and an inverse fast discrete Fourier transform circuit 44 (hereinafter referred to as an IFFT circuit). Write)
A quadrature modulation circuit 45, and are arranged in this order from the input side. In this case, a TS output from a higher-level device (not shown) is input to a stuffing control circuit 41, which converts the speed into the system clock rate of the OFDM modulator, and inserts a valid null packet and an invalid null packet accompanying the speed conversion. After the insertion, it is input to the error correction coding circuit 42 and subjected to error correction coding.

【0018】誤り訂正符号化された信号は、基準シンボ
ル挿入回路43に入力されて、復調するために必要なヌ
ルシンボル及び基準シンボルが挿入された後、IFFT
回路44に入力されて、逆高速離散フーリエ変換処理が
施されるとともに、マルチパスの影響を取り除くための
ガード期間が付加される。そして、このIFFT回路4
4から出力された信号は、直交変調回路45に入力され
てアナログ信号に変換されたのち直交変調され、OFD
M変調信号となって出力される。すなわち、スタッフィ
ング制御回路41は、上位装置から出力されたTSのデ
ータレートが規定されたデータレートより低い場合に、
OFDM変調器で規定されたデータレートに変換するた
めに用いられる。
The error-corrected coded signal is input to a reference symbol insertion circuit 43, into which a null symbol and a reference symbol required for demodulation are inserted.
The signal is input to a circuit 44 and subjected to inverse fast discrete Fourier transform processing, and a guard period for removing the effect of multipath is added. And this IFFT circuit 4
4 is input to a quadrature modulation circuit 45, converted into an analog signal, and then quadrature-modulated.
It is output as an M-modulated signal. That is, when the data rate of the TS output from the higher-level device is lower than the prescribed data rate, the stuffing control circuit 41
It is used to convert to a data rate specified by an OFDM modulator.

【0019】次に、このOFDM変調器におけるスタッ
フィング制御回路41の動作について図1と図3を参照
して詳細に説明する。まず、FIFO2への書き込みに
ついて説明する。この場合、上位装置(図示せず)から
出力されたTS20は、書き込み制御回路1とFIFO
2に入力される。書き込み制御回路1に入力されたTS
20は、同期バイトが検出され、TS20の伝送速度に
同期したクロック信号(TSCLK)21と書き込み制御信
号22が生成される。生成されたクロック信号(TSCL
K)21と書き込み制御信号22は、書き込み制御回路
1からFIFO2に出力され、入力されたTS20が伝
送速度に同期した速度でパケットの先頭から順次FIF
O2に書き込まれる。また、書き込み制御回路1は、F
IFO2に書き込まれた1SFPごとのパケット数を計
数し、読み出し制御回路3に書き込み回数データ23と
して出力する。
Next, the operation of the stuffing control circuit 41 in the OFDM modulator will be described in detail with reference to FIGS. First, writing to the FIFO 2 will be described. In this case, the TS 20 output from the higher-level device (not shown) is connected to the write control circuit 1 and the FIFO.
2 is input. TS input to write control circuit 1
At 20, a synchronization byte is detected, and a clock signal (TSCLK) 21 and a write control signal 22 synchronized with the transmission speed of the TS 20 are generated. Generated clock signal (TSCL
K) 21 and the write control signal 22 are output from the write control circuit 1 to the FIFO 2, and the input TS 20 is sequentially transmitted from the beginning of the packet to the FIFO at a speed synchronized with the transmission speed.
Written to O2. Further, the write control circuit 1
The number of packets for each SFP written in the IFO 2 is counted, and is output to the read control circuit 3 as write number data 23.

【0020】次に、FIFO2からの読み出しについて
説明する。まず、テストパケットフラグ生成回路5で、
伝送パラメータ設定回路4から送られた、モード、変調
方式、符号化率などの設定データ24により、1SFP
ごとに設定データ24の各パラメータによって規定され
るパケット数分のパケットフラグでフレームパターン2
8が生成され、読み出し制御回路3に出力される。この
場合、フレームパターン28は、パケットフラグ有りが
ハイレベル(H)、パケットフラグ無しがローレベル
(L)となる。このフレームパターン28は、1SFP
内に規定された数のパケットフラグを備えていればよ
く、パケットフラグの配置は自由に設定できるので、例
えば、1SFP内で有効パケットを適当に分散させて、
後の処理が簡易になるようにすることができる。
Next, reading from the FIFO 2 will be described. First, in the test packet flag generation circuit 5,
One SFP is set by setting data 24 such as a mode, a modulation method, and a coding rate sent from the transmission parameter setting circuit 4.
Frame pattern 2 with packet flags for the number of packets specified by each parameter of the setting data 24 for each
8 is generated and output to the read control circuit 3. In this case, the frame pattern 28 has a high level (H) when there is a packet flag and a low level (L) when there is no packet flag. This frame pattern 28 is composed of 1 SFP
It is only necessary to provide the packet flags of the number specified in, and the arrangement of the packet flags can be set freely. For example, by appropriately distributing the valid packets in one SFP,
Subsequent processing can be simplified.

【0021】次に、読み出し制御回路3が、テストパケ
ットフラグ生成回路5から入力されたフレームパターン
28に基づき、FIFO2からの読み出しと、ヌルパケ
ット挿入回路6でのヌルパケット挿入の制御を行う。こ
の場合、読み出し制御回路3は、フレームパターン28
のパケットフラグ無しの区間ではヌルパケット挿入回路
6に無効ヌルパケットの挿入を行わせる。また、フレー
ムパターン28のパケットフラグ有りの区間では、書き
込み制御回路1から入力された書き込み回数データ23
の書き込み回数と、読み出し制御回路3が自ら生成する
FIFO2からの読み出し回数との差を求め、1以上規
定される数以下ならばFIFO2に1パケット分の読み
出しを行わせてシステムクロックレートに速度変換され
たTS29を出力させ、0のときはヌルパケット挿入回
路6に有効なヌルパケットの挿入を行わせる。
Next, based on the frame pattern 28 input from the test packet flag generation circuit 5, the read control circuit 3 controls reading from the FIFO 2 and control of null packet insertion in the null packet insertion circuit 6. In this case, the read control circuit 3 sets the frame pattern 28
In the section without the packet flag, the null packet insertion circuit 6 inserts an invalid null packet. In the section of the frame pattern 28 where the packet flag is present, the write count data 23 input from the write control circuit 1 is stored.
The difference between the number of times of writing and the number of times of reading from the FIFO 2 generated by the read control circuit 3 is determined. If the difference is equal to or more than 1 and equal to or less than the specified number, the FIFO 2 reads one packet and converts the speed to the system clock rate. The TS 29 is output, and when it is 0, the null packet insertion circuit 6 inserts a valid null packet.

【0022】次に、スタッフィングが行われた場合のヌ
ルパケットの挿入について図3のタイミングチャートを
参照して説明する。この場合、1SFPは11個のパケ
ットから構成され、この中で有効パケットの数は6個必
要とし、書き込みデータに示すように有効パケット1〜
6がFIFO2に書き込まれるものとする。また、フレ
ームパターンは3番目、5番目、7番目、8番目、10
番目、11番目にパケットフラグが配置されているもの
とする。
Next, insertion of a null packet when stuffing is performed will be described with reference to the timing chart of FIG. In this case, one SFP is composed of 11 packets, of which six valid packets are required, and valid packets 1 to
6 is written to FIFO2. Also, the frame patterns are the third, fifth, seventh, eighth, and tenth.
It is assumed that the packet flags are arranged at the 11th and 11th positions.

【0023】まず、フレームパターンの1番目と2番目
は、パケットフラグがないのでヌルパケット挿入回路6
が無効ヌルパケットの挿入を行う。次に、フレームパタ
ーンの3番目では、パケットフラグがあるので書き込み
回数と読み込み回数の差が求められる。この場合、有効
パケット1の書き込みが終了しており、有効パケット2
が書き込み中のため、書き込み回数は1となる。一方、
読み込み回数は、まだ読み込みが行われていないので0
である。よって、差は1となり、0ではないのでFIF
O2から有効パケット1が読み出される。同様にして、
フレームパターンの4番目と6番目に無効ヌルパケット
の挿入が行われ、4番目と7番目に有効パケット2と有
効パケット3が読み出される。
First, the first and second frame patterns have no packet flag, so the null packet insertion circuit 6
Performs invalid null packet insertion. Next, in the third frame pattern, since there is a packet flag, a difference between the number of times of writing and the number of times of reading is obtained. In this case, the writing of the valid packet 1 has been completed, and the valid packet 2
Is being written, the writing count is 1. on the other hand,
The read count is 0 because the read has not yet been performed.
It is. Therefore, the difference is 1 and not 0, so the FIF
The valid packet 1 is read from O2. Similarly,
An invalid null packet is inserted in the fourth and sixth frame patterns, and valid packets 2 and 3 are read in the fourth and seventh frames.

【0024】次に、フレームパターンの8番目では、パ
ケットフラグがあるので書き込み回数と読み込み回数の
差が求められる。この場合、有効パケット1〜3の書き
込みが終了しており、有効パケット4が書き込み中のた
め、書き込み回数は3となる。一方、読み込み回数は、
有効パケット1〜3の読み込みが終了しているので3で
ある。よって、差が0となるのでヌルパケット挿入回路
6が有効ヌルパケットの挿入を行う。
Next, in the eighth frame pattern, since there is a packet flag, a difference between the number of times of writing and the number of times of reading is obtained. In this case, since the writing of the valid packets 1 to 3 has been completed and the valid packet 4 is being written, the number of writing is 3. On the other hand,
This is 3 because the reading of the valid packets 1 to 3 has been completed. Therefore, since the difference becomes 0, the null packet insertion circuit 6 inserts a valid null packet.

【0025】次に、フレームパターンの9番目では、パ
ケットフラグがないのでヌルパケット挿入回路6が無効
ヌルパケットの挿入を行う。次に、フレームパターンの
10番目では、パケットフラグがあるので書き込み回数
と読み込み回数の差が求められる。この場合、有効パケ
ット1〜4の書き込みが終了しており、有効パケット5
が書き込み中のため、書き込み回数は4となる。一方、
読み込み回数は、有効パケット1〜3の読み込みが終了
しているので3である。よって、差は1となり、0では
ないのでFIFO2から有効パケット4が読み出され
る。
Next, at the ninth frame pattern, since there is no packet flag, the null packet insertion circuit 6 inserts an invalid null packet. Next, in the tenth frame pattern, since there is a packet flag, a difference between the number of times of writing and the number of times of reading is obtained. In this case, the writing of the valid packets 1 to 4 has been completed, and the valid packet 5
Is being written, the writing count is 4. on the other hand,
The number of times of reading is 3 since the reading of the valid packets 1 to 3 has been completed. Therefore, the difference becomes 1 and is not 0, so that the valid packet 4 is read from the FIFO 2.

【0026】フレームパターンの11番目も、パケット
フラグがあるので書き込み回数と読み込み回数の差が求
められる。この場合、有効パケット1〜5の書き込みが
終了しており、有効パケット6が書き込み中のため、書
き込み回数は5となる。一方、読み込み回数は、有効パ
ケット1〜4の読み込みが終了しているので4である。
よって、差は1となり、0ではないのでFIFO2から
有効パケット5が読み出される。このようにして、図3
のスタッフィング後データに示すように、有効パケット
3の後に有効ヌルパケットが配置されて、有効パケット
の数が規定された6個となるSFPが得られる。
Since the eleventh frame pattern also has a packet flag, the difference between the number of times of writing and the number of times of reading is obtained. In this case, since the writing of the valid packets 1 to 5 has been completed and the valid packet 6 is being written, the number of times of writing is 5. On the other hand, the read count is 4 because the reading of the valid packets 1 to 4 has been completed.
Therefore, the difference becomes 1 and is not 0, so that the valid packet 5 is read from the FIFO 2. Thus, FIG.
As shown in the post-stuffing data, a valid null packet is placed after the valid packet 3 to obtain six SFPs in which the number of valid packets is defined.

【0027】以上説明したように、このOFDM変調器
は入力側にスタッフィング制御回路41を備えたこと
で、上位装置の出力するデータレートが規定されたデー
タレートより低速であっても、1SFP内に含まれる有
効パケット数を規定された数にそろえることが可能とな
る。この場合、スタッフィング制御回路41は、スタッ
フィングと同時に伝送速度の速度変換と速度変換に伴う
無効ヌルパケットの挿入を行うことができるので、回路
規模を小さくすることができる。また、このスタッフィ
ング制御回路41は、パケットデータ(TS)20の書
き込みと読み出しが同時に実行可能で、かつ読み出し中
に有効ヌルパケットの挿入ができるので、スタッフィン
グのために1SFP分のパケットデータ(TS)20を
貯め込む必要がないのでFIFO2の記憶容量が小さく
てすみ、回路規模を小さくできるという効果がある。
As described above, since this OFDM modulator is provided with the stuffing control circuit 41 on the input side, even if the data rate output from the higher-level device is lower than the prescribed data rate, the OFDM modulator can be stored in one SFP. The number of valid packets included can be made equal to the specified number. In this case, the stuffing control circuit 41 can perform the speed conversion of the transmission speed and the insertion of the invalid null packet accompanying the speed conversion simultaneously with the stuffing, so that the circuit scale can be reduced. The stuffing control circuit 41 can simultaneously write and read the packet data (TS) 20 and insert a valid null packet during the reading. Therefore, the packet data (TS) for one SFP for stuffing is provided. Since there is no need to store 20, the storage capacity of the FIFO 2 can be small, and the circuit scale can be reduced.

【0028】次に、この発明のスタッフィング制御回路
の第2の実施の形態を説明する。この実施の形態のスタ
ッフィング制御回路は、FIFOに伝送レートで書き込
み、所定の伝送規格で規定された速度変換前のデータレ
ートで読み出してスタッフィングを行うものである。図
4は、この発明のスタッフィング制御回路の第2の実施
の形態を示しており、この回路は、第1のFIFO7、
有効ヌルパケット挿入回路8、伝送パラメータ設定回路
9及び入力レート監視回路10からなるスタッフィング
制御回路と、第2のFIFO11及び無効ヌルパケット
挿入回路12からなる速度変換回路とを備えている。
Next, a second embodiment of the stuffing control circuit of the present invention will be described. The stuffing control circuit of this embodiment performs stuffing by writing to a FIFO at a transmission rate and reading out the data at a data rate before speed conversion specified by a predetermined transmission standard. FIG. 4 shows a second embodiment of the stuffing control circuit according to the present invention.
A stuffing control circuit including an effective null packet insertion circuit 8, a transmission parameter setting circuit 9, and an input rate monitoring circuit 10, and a speed conversion circuit including a second FIFO 11 and an invalid null packet insertion circuit 12 are provided.

【0029】この場合、第1のFIFO7と第2のFI
FO11は、書き込みクロック入力ポートと読み出しク
ロック入力ポートとを備えており、書き込みと読み出し
を異なる速さで同時に行うことができる。第1のFIF
O7は、書き込みクロック入力ポートにパケットデータ
(TS)30のクロック信号(入力TSCLK)31が入力
され、このクロック信号(入力TSCLK)31のクロック
レートでパケットデータ(TS)30が書き込まれる。
In this case, the first FIFO 7 and the second FIFO 7
The FO 11 has a write clock input port and a read clock input port, and can simultaneously perform writing and reading at different speeds. First FIF
In O7, the clock signal (input TSCLK) 31 of the packet data (TS) 30 is input to the write clock input port, and the packet data (TS) 30 is written at the clock rate of the clock signal (input TSCLK) 31.

【0030】また、規定された速度変換前のクロックレ
ートを有しシステムクロックに同期したクロック信号
(内部TSCLK)32が読み出しクロック入力ポートに入
力され、書き込まれたデータがこのクロック信号(内部
TSCLK)32のクロックレートで書き込まれた順に読み
出されて、有効ヌルパケット挿入回路8に入力される。
この場合、クロック信号(内部TSCLK)32は、各伝送
パラメータに応じて規定されている速度変換前のデータ
レートに対応しており、クロック信号(入力TSCLK)3
1は、この規定されたデータレートよりも低速である。
A clock signal (internal TSCLK) 32 having a prescribed clock rate before the speed conversion and synchronized with the system clock is input to the read clock input port, and the written data is transmitted to the clock signal (internal TSCLK).
TSCLK), and are input to the effective null packet insertion circuit 8 in the order of writing at the clock rate of 32.
In this case, the clock signal (internal TSCLK) 32 corresponds to the data rate before the speed conversion specified in accordance with each transmission parameter, and the clock signal (input TSCLK) 3
1 is slower than this specified data rate.

【0031】伝送パラメータ設定回路9は、規定された
伝送パラメータの設定データ34を入力レート監視回路
10に出力する。入力レート監視回路10は、パケット
データ(TS)30と、伝送パラメータ設定回路9から
出力された設定データ34と、クロック信号(内部TSCL
K)32とが入力され、有効ヌルパケット挿入回路8に
有効ヌルパケット挿入信号37を出力する。この入力レ
ート監視回路10は、入力されるパケットデータ(T
S)30のパケット数を計数して入力レートを監視し、
クロック信号(内部TSCLK)32で計数される1SFP
内に、設定データ34の各パラメータによって規定され
る1SFP当たりの有効パケット数を格納可能なデータ
レートか否かの判定を行う。
The transmission parameter setting circuit 9 outputs the specified transmission parameter setting data 34 to the input rate monitoring circuit 10. The input rate monitoring circuit 10 includes a packet data (TS) 30, setting data 34 output from the transmission parameter setting circuit 9, and a clock signal (internal TSCL).
K) 32, and outputs a valid null packet insertion signal 37 to the valid null packet insertion circuit 8. The input rate monitoring circuit 10 receives input packet data (T
S) Count the number of 30 packets and monitor the input rate,
1 SFP counted by clock signal (internal TSCLK) 32
Within this, it is determined whether or not the data rate is such that the number of valid packets per SFP defined by each parameter of the setting data 34 can be stored.

【0032】有効パケットの格納数が不足する場合は、
有効ヌルパケット挿入のための情報を生成して有効ヌル
パケット挿入回路8に有効ヌルパケット挿入信号37と
して出力する。有効ヌルパケット挿入回路8は、有効ヌ
ルパケットを生成し、入力された有効ヌルパケット挿入
信号37に基づいて第1のFIFO7から読み出された
データに有効ヌルパケットを挿入して、第2のFIFO
11に出力する。
When the number of stored valid packets is insufficient,
Information for inserting a valid null packet is generated and output to the valid null packet insertion circuit 8 as a valid null packet insertion signal 37. The valid null packet insertion circuit 8 generates a valid null packet, inserts a valid null packet into the data read from the first FIFO 7 based on the input valid null packet insertion signal 37, and generates a second FIFO.
11 is output.

【0033】第2のFIFO11は、書き込みクロック
入力ポートにクロック信号(内部TSCLK)32が入力さ
れ、このクロック信号(内部TSCLK)32のクロックレ
ートで有効ヌルパケット挿入回路8から出力されたデー
タが書き込まれる。また、読み出しクロック入力ポート
にクロック信号(SYSTEM CLK)36が入力され、書き込
まれたデータがこのクロック信号(SYSTEM CLK)36の
クロックレートで書き込まれた順に読み出されてシステ
ムクロックレートに速度変換される。無効ヌルパケット
挿入回路12は、無効ヌルパケットを生成し、第2のF
IFO11から読み出されたデータの有効パケットのな
い位置に無効ヌルパケットを挿入して出力する。
In the second FIFO 11, a clock signal (internal TSCLK) 32 is input to a write clock input port, and data output from the effective null packet insertion circuit 8 is written at a clock rate of the clock signal (internal TSCLK) 32. It is. A clock signal (SYSTEM CLK) 36 is input to the read clock input port, and the written data is read out in the order in which the data was written at the clock rate of the clock signal (SYSTEM CLK) 36 and speed-converted to the system clock rate. You. The invalid null packet insertion circuit 12 generates an invalid null packet, and generates a second F
An invalid null packet is inserted and output at a position where there is no valid packet in the data read from the IFO 11.

【0034】この実施の形態のスタッフィング制御回路
は、パケットデータ(TS)30の書き込みと読み出し
が同時に実行可能で、かつ読み出し中に有効ヌルパケッ
トの挿入ができるので、通常は入力レートを監視するた
めに必要な1SFP内の入力パケット数をカウントする
ための1SFP分のデータが蓄えられる記憶容量を必要
としないので、スタッフィングに使用するメモリの記憶
容量が小さくてすみ、回路規模を小さくできるという効
果がある。また、このスタッフィング制御回路は、第1
の実施の形態に比べて、速度変換回路を構成するFIF
Oとヌルパケット挿入回路を余分に必要とするので、第
1の実施の形態ほど全体の回路規模を小さくできない
が、速度変換回路の前に配置するだけでよく、速度変換
回路を変えずに済むので、既存の回路への適用が容易で
開発を早めることができるという効果がある。また、図
2に示したOFDM変調器のスタッフィング制御回路4
1として、この実施の形態のスタッフィング制御回路を
用いることが可能である。
The stuffing control circuit of this embodiment can simultaneously execute writing and reading of the packet data (TS) 30 and insert a valid null packet during reading. Therefore, the stuffing control circuit normally monitors the input rate. Does not require a storage capacity for storing data for one SFP for counting the number of input packets in one SFP required for the data transfer, so that the storage capacity of the memory used for the stuffing can be small and the circuit size can be reduced. is there. Also, this stuffing control circuit has a first
Compared to the embodiment, the FIF constituting the speed conversion circuit
Since an extra O and a null packet insertion circuit are required, the overall circuit scale cannot be reduced as in the first embodiment. However, it is only necessary to dispose it before the speed conversion circuit, and the speed conversion circuit does not need to be changed. Therefore, there is an effect that application to an existing circuit is easy and development can be accelerated. Also, the stuffing control circuit 4 of the OFDM modulator shown in FIG.
As 1, the stuffing control circuit of this embodiment can be used.

【0035】[0035]

【発明の効果】以上説明したように、この発明のスタッ
フィング制御回路は、ディジタルデータの書き込みと読
み出しを異なる速さで同時に実行可能であり、かつディ
ジタルデータが書き込まれた順に読み出されるメモリ
と、有効ヌルパケットを生成し、メモリから読み出され
たディジタルデータに有効ヌルパケットを挿入するパケ
ット挿入手段と、メモリからディジタルデータを読み出
し中に、有効パケットが所定の伝送規格で規定された数
となるようにパケット挿入手段を制御して有効ヌルパケ
ットを挿入させるパケット挿入制御手段とからなる簡易
な構成で、複数のパケットで構成されたフレーム構造を
有するディジタルデータに所定の伝送規格で規定された
数の有効パケットを含むように有効ヌルパケットを挿入
することが可能であり、従来より回路規模を小さくでき
るという効果がある。
As described above, the stuffing control circuit according to the present invention is capable of simultaneously executing writing and reading of digital data at different speeds, and has a memory which is read out in the order in which the digital data is written. Packet insertion means for generating a null packet and inserting a valid null packet into the digital data read from the memory; and for reading the digital data from the memory so that the number of valid packets becomes a number specified by a predetermined transmission standard. And a packet insertion control means for controlling the packet insertion means to insert a valid null packet into the digital data having a frame structure composed of a plurality of packets. It is possible to insert a valid null packet to include a valid packet. , There is an effect that conventionally the circuit scale can be reduced.

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

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

【図2】 この発明のスタッフィング制御回路を用いた
OFDM変調器の例を示すブロック図である。
FIG. 2 is a block diagram showing an example of an OFDM modulator using the stuffing control circuit of the present invention.

【図3】 ヌルパケット挿入を説明するタイミングチャ
ートである。
FIG. 3 is a timing chart illustrating null packet insertion.

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

【図5】 速度変換を説明するタイミングチャートであ
る。
FIG. 5 is a timing chart illustrating speed conversion.

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

1…書き込み制御回路、2,7,11…FIFO、3…
読み出し制御回路、4,9…伝送パラメータ設定回路、
5…テストパケットフラグ生成回路、6…ヌルパケット
挿入回路、8…有効ヌルパケット挿入回路、10…入力
レート監視回路、12…無効ヌルパケット挿入回路、2
0,29,30…パケットデータ(TS)、21…クロ
ック信号(TSCLK)、22…書き込み制御信号、23…
書き込み回数データ、24,34…設定データ、25…
読み出し制御信号、26,36…クロック信号(SYSTEM
CLK)、27…ヌルパケット挿入信号、28…フレーム
パターン、31…クロック信号(入力TSCLK)、32…
クロック信号(内部TSCLK)、37…有効ヌルパケット
挿入信号、41…スタッフィング制御回路、42…誤り
訂正符号化回路、43…基準シンボル挿入回路、44…
IFFT回路、45…直交変調回路。
1. Write control circuit, 2, 7, 11 FIFO, 3.
Read control circuit, 4, 9 ... transmission parameter setting circuit,
5 Test packet flag generation circuit, 6 Null packet insertion circuit, 8 Valid null packet insertion circuit, 10 Input rate monitoring circuit, 12 Invalid null packet insertion circuit, 2
0, 29, 30 ... packet data (TS), 21 ... clock signal (TSCLK), 22 ... write control signal, 23 ...
Write count data, 24, 34 ... setting data, 25 ...
Read control signal, 26, 36 ... clock signal (SYSTEM
CLK), 27 ... null packet insertion signal, 28 ... frame pattern, 31 ... clock signal (input TSCLK), 32 ...
Clock signal (internal TSCLK), 37: valid null packet insertion signal, 41: stuffing control circuit, 42: error correction encoding circuit, 43: reference symbol insertion circuit, 44 ...
IFFT circuit, 45 ... quadrature modulation circuit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04L 13/08 H04L 11/20 102A Fターム(参考) 5K022 DD12 DD22 5K028 AA07 BB06 KK01 KK32 5K030 GA19 JA01 LA06 LB12 LD07 MA13 MB12 MC06 5K034 AA10 CC03 DD02 EE03 HH12 HH23 HH58 PP07 5K047 AA16 CC02 CC08 DD01 DD02 GG47 GG49 HH54 JJ04 KK00 LL01 MM26 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (Reference) H04L 13/08 H04L 11/20 102A F-term (Reference) 5K022 DD12 DD22 5K028 AA07 BB06 KK01 KK32 5K030 GA19 JA01 LA06 LB12 LD07 MA13 MB12 MC06 5K034 AA10 CC03 DD02 EE03 HH12 HH23 HH58 PP07 5K047 AA16 CC02 CC08 DD01 DD02 GG47 GG49 HH54 JJ04 KK00 LL01 MM26

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数のパケットで構成されたフレーム構
造を有するディジタルデータに所定の伝送規格で規定さ
れた数の有効パケットを含むように有効ヌルパケットを
挿入するスタッフィング制御回路であって、 前記ディジタルデータの書き込みと読み出しを異なる速
さで同時に実行可能であり、かつ前記ディジタルデータ
が書き込まれた順に読み出されるメモリと、 有効ヌルパケットを生成し、前記メモリから読み出され
た前記ディジタルデータに前記有効ヌルパケットを挿入
するパケット挿入手段と、 前記メモリから前記ディジタルデータを読み出し中に前
記パケット挿入手段を制御して、前記有効パケットが前
記伝送規格で規定された数となるように前記有効ヌルパ
ケットを挿入させるパケット挿入制御手段とを備え、 前記ディジタルデータが、このディジタルデータの伝送
速度で前記メモリに書き込まれ、前記伝送規格で規定さ
れた伝送速度で前記メモリから読み出されるように構成
されていることを特徴とするスタッフィング制御回路。
1. A stuffing control circuit for inserting a valid null packet into a digital data having a frame structure composed of a plurality of packets so as to include a valid number of valid packets specified by a predetermined transmission standard, A memory that can simultaneously execute writing and reading of data at different speeds, and that reads out the digital data in the order in which it was written; Packet inserting means for inserting a null packet, and controlling the packet inserting means while reading the digital data from the memory, so that the effective null packets are transmitted so that the number of effective packets becomes the number specified by the transmission standard. And a packet insertion control means for inserting the packet. Stuffing control circuit data is written to the memory at a transmission rate of the digital data, characterized in that it is configured to be read out from the memory at a defined transmission speed by the transmission standard.
【請求項2】 前記パケット挿入制御手段は、 前記伝送規格で規定された伝送速度に対応したクロック
信号を前記メモリに入力し、前記メモリに書き込まれた
前記ディジタルデータを所定のフレームパターンに基づ
いて読み出して、入力された前記ディジタルデータの伝
送速度を前記伝送規格で規定された伝送速度に速度変換
させるように構成されていることを特徴とする請求項1
記載のスタッフィング制御回路。
2. The packet insertion control means inputs a clock signal corresponding to a transmission rate defined by the transmission standard to the memory, and converts the digital data written in the memory based on a predetermined frame pattern. 2. The apparatus according to claim 1, wherein the transmission rate of the read digital data is converted into a transmission rate specified by the transmission standard.
A stuffing control circuit as described.
【請求項3】 前記パケット挿入制御手段は、 入力された前記ディジタルデータに基づいて前記メモリ
への書き込みを制御し、前記メモリへ書き込まれたパケ
ット数を計数して書き込み回数データを生成する書き込
み制御回路と、 前記伝送規格で規定された伝送パラメータを出力する伝
送パラメータ設定回路と、 前記伝送パラメータからフレームパターンを生成するテ
ストパケットフラグ生成回路と、 前記フレームパターンと前記書き込み回数データとに基
づいて、前記メモリの読み出しと前記有効ヌルパケット
の挿入を制御する読み出し制御回路とから構成されてい
ることを特徴とする請求項2記載のスタッフィング制御
回路。
3. A write control for controlling writing to the memory based on the input digital data and counting the number of packets written to the memory to generate write count data. A circuit, a transmission parameter setting circuit that outputs a transmission parameter specified by the transmission standard, a test packet flag generation circuit that generates a frame pattern from the transmission parameter, and, based on the frame pattern and the number-of-writes data, 3. The stuffing control circuit according to claim 2, further comprising a read control circuit for controlling reading of said memory and insertion of said valid null packet.
【請求項4】 前記テストパケットフラグ生成回路は、 有効パケットが任意の位置に配置されたフレームパター
ンを生成可能に構成されていることを特徴とする請求項
3記載のスタッフィング制御回路。
4. The stuffing control circuit according to claim 3, wherein the test packet flag generation circuit is configured to generate a frame pattern in which valid packets are arranged at an arbitrary position.
【請求項5】 前記読み出し制御回路は、 前記フレームパターンに基づいて前記有効パケットが配
置されるべき位置に、 前記メモリへ書き込まれたパケット数と前記メモリから
読み出されたパケット数との差が1以上前記規定された
有効パケット数以下のとき前記メモリからデータを読み
出し、 前記差が0のとき有効ヌルパケットを挿入させるように
構成されていることを特徴とする請求項3又は4記載の
スタッフィング制御回路。
5. The read control circuit according to claim 1, wherein the difference between the number of packets written to the memory and the number of packets read from the memory is determined at a position where the valid packet is to be arranged based on the frame pattern. 5. The stuffing according to claim 3, wherein data is read from the memory when the number of valid packets is equal to or greater than 1 and equal to or less than the prescribed number of valid packets, and a valid null packet is inserted when the difference is 0. Control circuit.
【請求項6】 前記パケット挿入手段は、 前記ディジタルデータが前記伝送規格で規定された伝送
速度に速度変換されるのに伴い不足するパケットを補充
するための無効ヌルパケットと前記有効ヌルパケットと
を生成し、前記メモリから読み出された前記ディジタル
データに前記無効ヌルパケットと前記有効ヌルパケット
を挿入するように構成されていることを特徴とする請求
項2から5のいずれかに記載のスタッフィング制御回
路。
6. The packet insertion means according to claim 1, wherein said digital data is converted into an invalid null packet and a valid null packet for replenishing a packet lacking as the digital data is converted into a transmission rate specified by said transmission standard. 6. The stuffing control according to claim 2, wherein the invalid null packet and the valid null packet are inserted into the digital data generated and read from the memory. circuit.
【請求項7】 前記パケット挿入制御手段は、 前記メモリに書き込まれる前記ディジタルデータのパケ
ット数を計数して前記伝送規格の伝送パラメータで規定
された有効パケット数に対する有効パケットの不足数を
検出し、有効パケットが前記伝送規格で規定された数と
なるように、前記パケット挿入手段を制御して前記有効
ヌルパケットを挿入させる入力レート監視回路と、 前記入力レート監視回路に前記伝送規格の伝送パラメー
タを出力する伝送パラメータ設定回路とから構成されて
いることを特徴とする請求項1記載のスタッフィング制
御回路。
7. The packet insertion control means counts the number of packets of the digital data written in the memory, detects a shortage of valid packets with respect to the number of valid packets specified by transmission parameters of the transmission standard, An input rate monitoring circuit that controls the packet insertion unit to insert the valid null packet so that the number of valid packets becomes the number specified by the transmission standard, and that the transmission rate of the transmission standard is transmitted to the input rate monitoring circuit. 2. The stuffing control circuit according to claim 1, further comprising a transmission parameter setting circuit for outputting.
JP2000033247A 2000-02-10 2000-02-10 Stuffing control circuit Expired - Fee Related JP3478223B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000033247A JP3478223B2 (en) 2000-02-10 2000-02-10 Stuffing control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000033247A JP3478223B2 (en) 2000-02-10 2000-02-10 Stuffing control circuit

Publications (2)

Publication Number Publication Date
JP2001223680A true JP2001223680A (en) 2001-08-17
JP3478223B2 JP3478223B2 (en) 2003-12-15

Family

ID=18557751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000033247A Expired - Fee Related JP3478223B2 (en) 2000-02-10 2000-02-10 Stuffing control circuit

Country Status (1)

Country Link
JP (1) JP3478223B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069517A (en) * 2001-08-29 2003-03-07 Fujitsu Ltd Signal processing apparatus and signal processing method, and multiplexer
JP2003298564A (en) * 2002-03-29 2003-10-17 Nec Commun Syst Ltd Data monitor system and data monitor method in data transfer
JP2003299045A (en) * 2002-04-03 2003-10-17 Nec Microsystems Ltd Transport stream separator, memory traffic reduction processing method and its program
JP2004297253A (en) * 2003-03-26 2004-10-21 Fujitsu Ltd Transmission control apparatus and transmission control method
WO2007055016A1 (en) * 2005-11-11 2007-05-18 I.Den Videotronics Inc. Transmission device, reception device, communication system, and communication method
WO2010067474A1 (en) * 2008-12-08 2010-06-17 株式会社アドバンテスト Testing apparatus and testing method
JP2012235523A (en) * 2007-07-23 2012-11-29 Polycom Inc System and method for lost packet recovery with congestion avoidance
US8743702B2 (en) 2008-12-08 2014-06-03 Advantest Corporation Test apparatus and test method
JP2016127465A (en) * 2015-01-06 2016-07-11 日本電気株式会社 TS data reading device and TS data reading method
KR20160109771A (en) * 2015-03-13 2016-09-21 주식회사 유니시스 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame
JP2018137625A (en) * 2017-02-22 2018-08-30 日本電気株式会社 Synchronization processor, signal processing system, synchronization processing method, and synchronization processing program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069517A (en) * 2001-08-29 2003-03-07 Fujitsu Ltd Signal processing apparatus and signal processing method, and multiplexer
JP2003298564A (en) * 2002-03-29 2003-10-17 Nec Commun Syst Ltd Data monitor system and data monitor method in data transfer
JP2003299045A (en) * 2002-04-03 2003-10-17 Nec Microsystems Ltd Transport stream separator, memory traffic reduction processing method and its program
JP2004297253A (en) * 2003-03-26 2004-10-21 Fujitsu Ltd Transmission control apparatus and transmission control method
WO2007055016A1 (en) * 2005-11-11 2007-05-18 I.Den Videotronics Inc. Transmission device, reception device, communication system, and communication method
JP2012235523A (en) * 2007-07-23 2012-11-29 Polycom Inc System and method for lost packet recovery with congestion avoidance
WO2010067474A1 (en) * 2008-12-08 2010-06-17 株式会社アドバンテスト Testing apparatus and testing method
TWI396411B (en) * 2008-12-08 2013-05-11 Advantest Corp Test apparatus and test method
TWI402521B (en) * 2008-12-08 2013-07-21 Advantest Corp Test apparatus and testing method
US8743702B2 (en) 2008-12-08 2014-06-03 Advantest Corporation Test apparatus and test method
JP2016127465A (en) * 2015-01-06 2016-07-11 日本電気株式会社 TS data reading device and TS data reading method
KR20160109771A (en) * 2015-03-13 2016-09-21 주식회사 유니시스 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame
KR101696191B1 (en) * 2015-03-13 2017-01-13 주식회사 유니시스 Method and system for processing variable bit rate multiplexing data in mpeg ts transport frame
JP2018137625A (en) * 2017-02-22 2018-08-30 日本電気株式会社 Synchronization processor, signal processing system, synchronization processing method, and synchronization processing program

Also Published As

Publication number Publication date
JP3478223B2 (en) 2003-12-15

Similar Documents

Publication Publication Date Title
CN1270579C (en) Method of and apparatus for isochronous data communication
JP3773258B2 (en) Signal processing system
KR100360134B1 (en) Signal processing system
US8005072B2 (en) Synchronization of multiple base stations in a wireless communication system
EP1585274B1 (en) Asynchronous data segmentation/transmission method for synchronous ethernet and data structure used therein
JP4701263B2 (en) Method, computer program, storage medium and device for transmitting / receiving data content in communication network
JP3478223B2 (en) Stuffing control circuit
WO2002009331A2 (en) Multi-media jitter removal in an asynchronous digital home network
WO2003003630A1 (en) Multi-media jitter removal in an asynchronous digital home network
CN109257139B (en) Method and device for transmitting and receiving physical layer data
US6973096B2 (en) System and method for processing bandwidth allocation messages
US20060209784A1 (en) Methods and apparatus for controlling ethernet packet transfers between clock domains
JP3689295B2 (en) SDH test equipment
EP0299265A2 (en) Receiver synchronization in encoder/decoder
US20100150146A1 (en) Device, system and method of communicating between circuit switch interfaces over an analog modulation communication network
JPH0363861B2 (en)
US10827040B2 (en) System and method for enabling lossless interpacket gaps for lossy protocols
JP4059857B2 (en) Transmission apparatus and transmission method
JP2000031935A (en) Digital signal receiver
JP3872175B2 (en) CD data communication device
JP2697629B2 (en) Speed converter
JP3559840B2 (en) Super frame synchronization signal generation circuit
JPH11103319A (en) Device and method for network transmission/reception
JP2001274762A (en) Multiplexer
JP2004266433A (en) Method for controlling synchronization and modulator-demodulator

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees