JP2001119377A - Transport stream generator - Google Patents

Transport stream generator

Info

Publication number
JP2001119377A
JP2001119377A JP29691199A JP29691199A JP2001119377A JP 2001119377 A JP2001119377 A JP 2001119377A JP 29691199 A JP29691199 A JP 29691199A JP 29691199 A JP29691199 A JP 29691199A JP 2001119377 A JP2001119377 A JP 2001119377A
Authority
JP
Japan
Prior art keywords
transport stream
transmission clock
data
fifo memory
stream data
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.)
Pending
Application number
JP29691199A
Other languages
Japanese (ja)
Inventor
Seiji Yazaki
誠二 矢崎
Akira Shimizu
明 清水
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP29691199A priority Critical patent/JP2001119377A/en
Publication of JP2001119377A publication Critical patent/JP2001119377A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a transport stream generator capable of generating a right transport stream. SOLUTION: This device is obtained by improving a transport stream generator having a transmission clock generator for generating a transmission clock, digital information storage part for storing transport stream data, FIFO memory for outputting the transport stream data on the basis of the transmission clock of the transmission clock generator and CPU for reading the transport stream data out of the digital information storage part and writing them in the FIFO memory corresponding to a write signal. This device is provided with a FIFO controller for controlling the amount of stored data in the FIFO memory by controlling the write/read of the FIFO memory on the basis of the write signal of the CPU and the transmission clock of the transmission clock generator.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、正しいトランスポ
ートストリームが出力できるトランスポートストリーム
発生器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transport stream generator capable of outputting a correct transport stream.

【0002】[0002]

【従来の技術】デジタル放送の圧縮符号化、多重化には
国際標準であるMPEG(Moving Picture coding Expe
rts Group)2規格が使われている。このMPEG2規
格のデジタル放送受信機器の試験装置として、トランス
ポートストリーム発生器がある。このような装置は、例
えば、特開平10−257487号公報等に記載さてい
る。このトランスポートストリーム発生器を図3に示し
説明する。
2. Description of the Related Art MPEG (Moving Picture Coding Exposure) is an international standard for compression encoding and multiplexing of digital broadcasting.
(rts Group) 2 standard is used. There is a transport stream generator as a test device of the digital broadcast receiving equipment of the MPEG2 standard. Such an apparatus is described in, for example, Japanese Patent Application Laid-Open No. 10-257487. This transport stream generator is shown and described in FIG.

【0003】図において、ハードディスク10は、トラ
ンスポートストリームデータを記憶する。FIFO(Fi
rst In First Out)メモリ11は、ライト信号、リード
信号に基づいて、ハードディスク10のトランスポート
ストリームデータを入力し、出力する。CPU12は、
許可信号により、ハードディスク10のトランスポート
ストリームデータを読み出して、FIFOメモリ11に
トランスポートストリームデータとライト信号とを与え
る。伝送クロック発生器13は、トランスポートストリ
ームのシステムクロックである伝送クロック(固定周波
数)を発生し、FIFOメモリ11にリード信号として
与える。FIFO制御器14は、CPU12からのライ
ト信号により、カウント値に”1”を加算し、伝送クロ
ック発生器13からの伝送クロックにより、カウント値
に”1”を減算し、カウント値が所定の値以下のとき、
CPU12に書き込みを許可する許可信号を与える。
In FIG. 1, a hard disk 10 stores transport stream data. FIFO (Fi
(rst In First Out) The memory 11 inputs and outputs the transport stream data of the hard disk 10 based on the write signal and the read signal. The CPU 12
In response to the permission signal, the transport stream data of the hard disk 10 is read, and the transport stream data and the write signal are given to the FIFO memory 11. The transmission clock generator 13 generates a transmission clock (fixed frequency) that is a system clock of the transport stream, and supplies the transmission clock to the FIFO memory 11 as a read signal. The FIFO controller 14 adds “1” to the count value according to the write signal from the CPU 12 and subtracts “1” from the count value according to the transmission clock from the transmission clock generator 13 so that the count value becomes a predetermined value. When:
A permission signal for permitting writing is given to the CPU 12.

【0004】バッファ15は、FIFOメモリ11から
のトランスポートストリームデータを一時保持する。メ
インメモリ16は、バッファ15からのトランスポート
ストリームデータを格納する。セレクタ17は、FIF
Oメモリ11からのトランスポートストリームデータと
メインメモリ16からのトランスポートストリームデー
タとを選択し、出力する。メインメモリ制御器18は、
伝送クロック発生器13の伝送クロックを入力し、メイ
ンメモリ16の入出力制御を行うと共に、セレクタ17
の切り換えを行う。ドライバ19は、セレクタ17から
のトランスポートストリームデータを出力する。
[0004] The buffer 15 temporarily holds the transport stream data from the FIFO memory 11. The main memory 16 stores the transport stream data from the buffer 15. The selector 17 is a FIF
The transport stream data from the O memory 11 and the transport stream data from the main memory 16 are selected and output. The main memory controller 18
The transmission clock of the transmission clock generator 13 is input, input / output control of the main memory 16 is performed, and
Is switched. The driver 19 outputs the transport stream data from the selector 17.

【0005】このような装置の動作を以下に説明する。
CPU12は、FIFO制御器14から許可信号を受け
ていると、ハードディスク10からトランスポートスト
リームデータを読み出して、FIFOメモリ11にトラ
ンスポートストリームデータとライト信号とを与え、F
IFOメモリ11にトランスポートストリームデータを
書き込む。このような動作を、ハードディスク10に格
納されたトランスポートストリームデータの先頭から最
後尾まで行う。このとき、FIFO制御器14は、CP
U12のライト信号を入力し、カウント値に”1”を加
算する。
The operation of such a device will be described below.
When receiving the permission signal from the FIFO controller 14, the CPU 12 reads the transport stream data from the hard disk 10 and provides the transport stream data and the write signal to the FIFO memory 11.
The transport stream data is written to the IFO memory 11. Such an operation is performed from the beginning to the end of the transport stream data stored on the hard disk 10. At this time, the FIFO controller 14
The write signal of U12 is input, and "1" is added to the count value.

【0006】また、伝送クロック発生器13が伝送クロ
ックを出力する。この伝送クロックをリード信号とし
て、FIFOメモリ11は、トランスポートストリーム
データを読み出して、バッファ15、セレクタ17に与
える。そして、バッファ15は、トランスポートストリ
ームデータを一時保持する。このとき、FIFO制御器
14は、伝送クロック発生器13の伝送クロックを入力
し、カウント値に”1”を減算する。
[0006] A transmission clock generator 13 outputs a transmission clock. Using this transmission clock as a read signal, the FIFO memory 11 reads the transport stream data and supplies it to the buffer 15 and the selector 17. Then, the buffer 15 temporarily holds the transport stream data. At this time, the FIFO controller 14 receives the transmission clock of the transmission clock generator 13 and subtracts “1” from the count value.

【0007】そして、FIFO制御器14は、CPU1
2のライト信号と伝送クロック発生器13の伝送クロッ
クとにより、カウント値に加減算を行い、所定の値以下
ならば、CPU12に許可信号を与える。カウンタ値が
所定の値を越えたとき、CPU12に許可を与えず、C
PU12にFIFOメモリ11への書き込みを禁止す
る。
[0007] The FIFO controller 14 controls the CPU 1
The count value is incremented or decremented by the write signal of No. 2 and the transmission clock of the transmission clock generator 13. If the count value is equal to or less than a predetermined value, a permission signal is given to the CPU 12. When the counter value exceeds a predetermined value, permission is not given to the CPU 12 and C
The PU 12 is prohibited from writing to the FIFO memory 11.

【0008】メインメモリ制御器18は、始めに、セレ
クタ17にFIFOメモリ11からのトランスポートス
トリームデータを選択させる。また、メインメモリ制御
器18は、伝送クロック発生器13の伝送クロックによ
りアドレスを変化させて、メインメモリ16に与え、メ
インメモリ16にバッファ15のトランスポートストリ
ームデータの書き込みを行う。そして、伝送クロック発
生器13の伝送クロックを入力し、カウントを行う。こ
のカウントにより、メインメモリ制御器18は、トラン
スポートストリームデータの一巡を検出し、セレクタ1
7にメインメモリ16からのトランスポートストリーム
データを選択させる。そして、メインメモリ制御器18
は、伝送クロック発生器13の伝送クロックによりアド
レスを変化させて、メインメモリ16に与える。メイン
メモリ16はトランスポートストリームデータをセレク
タ17に出力する。
First, the main memory controller 18 causes the selector 17 to select the transport stream data from the FIFO memory 11. The main memory controller 18 changes the address in accordance with the transmission clock of the transmission clock generator 13, changes the address, and writes the transport stream data in the buffer 15 to the main memory 16. Then, the transmission clock of the transmission clock generator 13 is input and counting is performed. Based on this count, the main memory controller 18 detects one round of the transport stream data, and
7 causes the transport stream data from the main memory 16 to be selected. Then, the main memory controller 18
Changes the address according to the transmission clock of the transmission clock generator 13 and supplies the address to the main memory 16. The main memory 16 outputs the transport stream data to the selector 17.

【0009】そして、セレクタ17が選択したトランス
ポートストリームデータをドライバ19は入力し、トラ
ンスポートストリームを出力する。
The driver 19 inputs the transport stream data selected by the selector 17 and outputs a transport stream.

【0010】このように、トランスポートストリームが
一巡するまでは、ハードディスク10からのトランスポ
ートストリームデータを出力すると共に、メインメモリ
16に格納し、一巡後は、メインメモリ16からトラン
スポートストリームデータを出力するので、即時にトラ
ンスポートストリームを出力することができる。また、
一巡までしかハードディスク10にアクセスする必要が
ないので、信頼性を高くすることができる。
As described above, the transport stream data is output from the hard disk 10 and stored in the main memory 16 until the transport stream makes one round, and the transport stream data is output from the main memory 16 after one round. Therefore, a transport stream can be output immediately. Also,
Since it is only necessary to access the hard disk 10 up to one round, reliability can be improved.

【0011】[0011]

【発明が解決しようとする課題】しかし、ハードディス
ク10は、ディスクの一部が欠損すると、代替セクター
と呼ばれる別のセクターへのデータの書き込みが行なわ
れる。これにより、シークタイムが発生し、通常よりも
ハードディスク10の読み書きの時間がかかる。これが
偶然、連続的に発生すると、FIFOメモリ11で吸収
できなくなり、FIFOメモリ11から誤ったデータが
出力されてしまうという問題点があった。
However, when a part of the hard disk 10 is lost, data is written to another sector called an alternate sector. As a result, a seek time occurs, and it takes more time to read and write data on the hard disk 10 than usual. If this happens accidentally and continuously, there is a problem that the data cannot be absorbed by the FIFO memory 11 and erroneous data is output from the FIFO memory 11.

【0012】そこで、本発明の目的は、正しいトランス
ポートストリームが発生できるトランスポートストリー
ム発生器を実現することにある。
An object of the present invention is to realize a transport stream generator capable of generating a correct transport stream.

【0013】[0013]

【課題を解決するための手段】本発明は、伝送クロック
を発生する伝送クロック発生器と、トランスポートスト
リームデータを記憶するデジタル情報記憶部と、前記伝
送クロック発生器の伝送クロックに基づいて、トランス
ポートストリームデータを出力するFIFOメモリと、
前記デジタル情報記憶部のトランスポートストリームデ
ータを読み出し、ライト信号によりFIFOメモリに書
き込むCPUとを有するトランスポートストリーム発生
器において、前記CPUのライト信号、前記伝送クロッ
ク発生器の伝送クロックに基づいて、前記FIFOメモ
リの書き込み、読み出しを制御し、FIFOメモリの格
納データ量を調整するFIFO制御器を設けたことを特
徴とするものである。
The present invention provides a transmission clock generator for generating a transmission clock, a digital information storage unit for storing transport stream data, and a transformer based on the transmission clock of the transmission clock generator. A FIFO memory for outputting port stream data;
A transport stream generator having a CPU that reads the transport stream data of the digital information storage unit and writes the data to a FIFO memory by a write signal, based on a write signal of the CPU and a transmission clock of the transmission clock generator; It is characterized in that a FIFO controller for controlling writing and reading of the FIFO memory and adjusting the amount of data stored in the FIFO memory is provided.

【0014】また、伝送クロックを発生する伝送クロッ
ク発生器と、トランスポートストリームデータを記憶す
るデジタル情報記憶部と、このデジタル情報記憶部のト
ランスポートストリームデータが入力され、前記伝送ク
ロック発生器の伝送クロックに基づいて、トランスポー
トストリームデータを出力するFIFOメモリとを有す
るトランスポートストリーム発生器において、前記デジ
タル情報記憶部のトランスポートストリームデータが所
定の識別番号ならば、デジタル情報記憶部のトランスポ
ートストリームデータを前記FIFOメモリに書き込
み、所定の識別番号でないならば、ヌルデータをFIF
Oメモリに書き込むヌル手段を設けたことを特徴とする
ものである。
Also, a transmission clock generator for generating a transmission clock, a digital information storage unit for storing transport stream data, and the transport stream data of the digital information storage unit are input, and the transmission clock generator A transport stream generator having a FIFO memory for outputting transport stream data based on a clock, wherein the transport stream data in the digital information storage section has a predetermined identification number. Data is written to the FIFO memory, and if not a predetermined identification number, null data is written to the FIFO memory.
Null means for writing to the O memory is provided.

【0015】[0015]

【発明の実施の形態】以下図面を用いて本発明の実施の
形態を説明する。図1は本発明の一実施例を示した構成
図である。ここで、図3と同一のものは同一符号を付し
説明を省略する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing one embodiment of the present invention. Here, the same components as those in FIG. 3 are denoted by the same reference numerals, and description thereof is omitted.

【0016】図において、CPU12には、ヌル手段1
21が設けられている。ヌル手段121は、一般にソフ
トウェアで、CPU12がハードディスク10のトラン
スポートストリームデータのトランスポートストリーム
パケットのID(識別番号)を判断する。そして、送信
するデータの場合、ヌル手段121は、CPU12に、
ハードディスク10からトランスポートストリームデー
タを読み出させ、FIFOメモリ11に書き込ませる。
送信しないデータの場合、ヌル手段121は、CPU1
2に、FIFOメモリ11にヌルデータを書き込ませ
る。
In FIG. 1, a CPU 12 includes a null means 1.
21 are provided. The null means 121 is generally software, and the CPU 12 determines the ID (identification number) of the transport stream packet of the transport stream data of the hard disk 10. Then, in the case of the data to be transmitted, the null means 121 causes the CPU 12 to
The transport stream data is read from the hard disk 10 and written to the FIFO memory 11.
In the case of data not to be transmitted, the null means 121
2, null data is written to the FIFO memory 11.

【0017】FIFO制御器20は、CPU12からの
ライト信号と伝送クロック発生器13からの伝送クロッ
クとに基づいて、CPU12に書き込みを許可する許可
信号を与え、FIFOメモリ11にリード信号を与え、
読み出し禁止信号を出力する。そして、FIFO制御器
20は、カウンタ21、デジタルコンパレータ22,2
3、AND(論理和)ゲート24からなる。
The FIFO controller 20 gives a write enable signal to the CPU 12 and a read signal to the FIFO memory 11 based on the write signal from the CPU 12 and the transmission clock from the transmission clock generator 13.
Outputs a read inhibit signal. The FIFO controller 20 includes a counter 21, digital comparators 22 and 2,
3. An AND (logical sum) gate 24.

【0018】カウンタ21は、CPU12からのライト
信号により加算を行ない、FIFOメモリ11のリード
信号により減算を行なう。
The counter 21 performs addition by a write signal from the CPU 12 and performs subtraction by a read signal of the FIFO memory 11.

【0019】デジタルコンパレータ22は、カウンタ2
1のカウント値とストップ値とを比較し、ストップ値以
下になったら、ロウレベル、読み出し禁止信号を出力す
る。ストップ値は、FIFOメモリ11内のデータを空
にしない値、データ格納残数で決める。
The digital comparator 22 has a counter 2
The count value of 1 is compared with the stop value, and when the count value becomes equal to or smaller than the stop value, a low level and a read inhibition signal are output. The stop value is determined by a value that does not empty the data in the FIFO memory 11 and the remaining data storage number.

【0020】デジタルコンパレータ23は、カウンタ2
1のカウント値とフル値とを比較し、フル値以下のと
き、CPU12に許可信号を与える。フル値は、FIF
Oメモリ11のデータ格納限界量により定める。
The digital comparator 23 has a counter 2
The count value of 1 is compared with the full value, and when the count value is less than the full value, a permission signal is given to the CPU 12. Full value is FIF
It is determined by the data storage limit of the O memory 11.

【0021】ANDゲート24は、デジタルコンパレー
タ22の出力と伝送クロック発生器13の伝送クロック
を入力し、FIFOメモリ11にリード信号として出力
する。
The AND gate 24 receives the output of the digital comparator 22 and the transmission clock of the transmission clock generator 13 and outputs the signal to the FIFO memory 11 as a read signal.

【0022】メインメモリ制御器30は、伝送クロック
発生器13の伝送クロックとデジタルコンパレータ22
の出力(読み出し禁止信号)とに基づいて、メインメモ
リ16の入出力制御を行うと共に、セレクタ17の切り
換えを行う。ドライバ40は、伝送クロック発生器13
の伝送クロックごとに、セレクタ17からのトランスポ
ートストリームデータをトランスポートストリームとし
て出力する。
The main memory controller 30 controls the transmission clock of the transmission clock generator 13 and the digital comparator 22
And the input / output control of the main memory 16 based on the output (read inhibit signal). The driver 40 includes the transmission clock generator 13
The transport stream data from the selector 17 is output as a transport stream for each transmission clock.

【0023】このような装置の動作を以下で説明する。
図2はトランスポートストリームのデータ構造を説明す
る図である。図2に示すように、トランスポートストリ
ームは、4バイトのヘッダに184バイトのデータで、
合計188バイトのトランスポートストリームパケット
で構成されている。4バイトのヘッダには、そのトラン
スポートストリームパケットのID等が示されている。
一般にトランスポートストリームは、複数のチャンネル
のデータが多重化されている。図2では、3チャンネル
がそれぞれビデオ及びオーディオデータを1つずつ持っ
ている。衛星放送等では約6〜8チャンネルを多重化
し、1つのチャンネルではビデオとオーディオとを合わ
せて、6Mbpsの伝送レート程度である。このよう
に、複数のチャンネルを多重化するため、伝送レート
(伝送クロック)が早くなり、ハードディスク10から
FIFOメモリ11への書き込みが伝送レートに追いつ
かなくなってしまう。
The operation of such a device will be described below.
FIG. 2 is a diagram illustrating the data structure of a transport stream. As shown in FIG. 2, the transport stream has 184 bytes of data in a 4-byte header.
The transport stream packet is composed of a total of 188 bytes. The 4-byte header indicates the ID and the like of the transport stream packet.
In general, a transport stream is obtained by multiplexing data of a plurality of channels. In FIG. 2, each of the three channels has one video and one audio data. In satellite broadcasting or the like, about 6 to 8 channels are multiplexed, and one channel has a transmission rate of about 6 Mbps including video and audio. As described above, since a plurality of channels are multiplexed, the transmission rate (transmission clock) is increased, and writing from the hard disk 10 to the FIFO memory 11 cannot keep up with the transmission rate.

【0024】そこで、CPU12は、FIFO制御器2
0から許可信号を受けていると、ハードディスク10か
らトランスポートストリームデータのヘッダのIDを読
み出す。そして、ヌル手段121により、ヘッダのID
が送信するトランスポートストリームパケットか判断す
る。送信する場合は、ヌル手段121により、CPU1
2は、トランスポートストリームデータとハードディス
ク10から読み出し、FIFOメモリ11にライト信号
と共に与え、FIFOメモリ11にトランスポートスト
リームデータを書き込む。送信しない場合、ヌル手段1
21により、FIFOメモリ11にヌルデータとライト
信号とを与え、FIFOメモリ11にヌルデータを書き
込む。このような動作を、ハードディスク10に格納さ
れたトランスポートストリームデータの先頭から最後尾
まで行う。
Therefore, the CPU 12 controls the FIFO controller 2
If the permission signal is received from 0, the ID of the header of the transport stream data is read from the hard disk 10. The ID of the header is obtained by the null means 121
Is a transport stream packet to be transmitted. When transmitting, the null means 121 causes the CPU 1
2 reads the transport stream data and the hard disk 10, gives the write signal to the FIFO memory 11, and writes the transport stream data to the FIFO memory 11. If not sending, null means 1
At 21, null data and a write signal are given to the FIFO memory 11, and null data is written to the FIFO memory 11. Such an operation is performed from the beginning to the end of the transport stream data stored on the hard disk 10.

【0025】つまり、試験用のトランスポートストリー
ムでは、すべてのチャンネルを必要とせず、試験を行う
チャンネルのみが必要となる。そこで、ヌル手段121
が、ヘッダのIDにより、必要なチャンネル以外のデー
タを、ハードディスク10からFIFOメモリ11に転
送するのではなく、CPU12からFIFOメモリ11
にヌルデータを転送することにより、転送時間の短縮を
図る。例えば、ハードディスク10からFIFOメモリ
11に転送するには、10MB/secに対し、CPU
12からFIFOメモリ11への転送では、400MB
/secで行うことができる。これにより、FIFOメ
モリ11にデータが書き込まれないことによるデータの
誤りを防止することができる。
That is, the transport stream for the test does not need all the channels, but only the channel to be tested. Therefore, the null means 121
However, instead of transferring data other than the necessary channels from the hard disk 10 to the FIFO memory 11 by the ID of the header, the CPU 12
The transfer time is reduced by transferring the null data to the memory. For example, in order to transfer data from the hard disk 10 to the FIFO memory 11, a 10 MB / sec.
12 MB to the FIFO memory 11, 400 MB
/ Sec. As a result, it is possible to prevent data errors due to data not being written to the FIFO memory 11.

【0026】このとき、カウンタ21が、CPU12か
らのライト信号を入力し、加算を行い、伝送クロック発
生器13の伝送クロックを、ANDゲート24を介し
て、FIFOメモリ11のリード信号として入力し、減
算を行う。このカウンタ値をデジタルコンパレータ2
2,23が入力し、それぞれストップ値、フル値と比較
する。
At this time, the counter 21 inputs the write signal from the CPU 12, performs addition, and inputs the transmission clock of the transmission clock generator 13 as a read signal of the FIFO memory 11 via the AND gate 24. Perform subtraction. This counter value is stored in digital comparator 2
2 and 23 are input and compared with the stop value and the full value, respectively.

【0027】そして、デジタルコンパレータ22は、カ
ウンタ値がストップ値より大きければ、ハイレベルを出
力し、カウンタ値がストップ値以下ならばロウレベルを
出力する。ANDゲート24は、デジタルコンパレータ
22の出力を入力し、デジタルコンパレータ22の出力
により、伝送クロック発生器13の伝送クロックの通
過、非通過を行い、FIFOメモリ11のリード信号と
して与える。このリード信号を受けて、FIFOメモリ
11は、トランスポートストリームデータをバッファ1
5、セレクタ17に出力する。
The digital comparator 22 outputs a high level if the counter value is larger than the stop value, and outputs a low level if the counter value is equal to or smaller than the stop value. The AND gate 24 receives the output of the digital comparator 22, passes or not passes the transmission clock of the transmission clock generator 13 based on the output of the digital comparator 22, and supplies the read clock to the FIFO memory 11. Upon receiving the read signal, the FIFO memory 11 stores the transport stream data in the buffer 1.
5. Output to selector 17.

【0028】また、デジタルコンパレータ23は、カウ
ント値がフル値以下ならば許可信号をCPU12に出力
し、カウント値がフル値より大きければ、許可信号を出
力しない。この許可信号により、CPU12は、FIF
Oメモリ11への書き込みの禁止が行われる。
The digital comparator 23 outputs a permission signal to the CPU 12 if the count value is less than the full value, and does not output a permission signal if the count value is larger than the full value. With this permission signal, the CPU 12
Writing to the O memory 11 is prohibited.

【0029】メインメモリ制御器30は、始めに、セレ
クタ17にFIFOメモリ11からのトランスポートス
トリームデータを選択させる。また、メインメモリ制御
器30は、伝送クロック発生器13の伝送クロックによ
りアドレスを変化させて、メインメモリ16に与え、メ
インメモリ16にバッファ15のトランスポートストリ
ームデータの書き込みを行う。そして、伝送クロック発
生器13の伝送クロックを入力し、カウントを行う。こ
のとき、デジタルコンパレータ22からロウレベルを入
力すると、メインメモリ制御器30は上記動作を中断す
る。すなわち、メインメモリ16への書き込み動作、カ
ウント動作を中断する。再び、デジタルコンパレータ2
2からハイレベルを入力すると、上記動作を開始する。
First, the main memory controller 30 causes the selector 17 to select the transport stream data from the FIFO memory 11. Further, the main memory controller 30 changes the address according to the transmission clock of the transmission clock generator 13, gives the address to the main memory 16, and writes the transport stream data of the buffer 15 in the main memory 16. Then, the transmission clock of the transmission clock generator 13 is input and counting is performed. At this time, when a low level is input from the digital comparator 22, the main memory controller 30 interrupts the above operation. That is, the writing operation to the main memory 16 and the counting operation are interrupted. Again, digital comparator 2
When a high level is input from 2, the above operation is started.

【0030】上記カウントにより、メインメモリ制御器
30は、トランスポートストリームデータの一巡を検出
し、セレクタ17にメインメモリ16からのトランスポ
ートストリームデータを選択させる。そして、メインメ
モリ制御器30は、伝送クロック発生器13の伝送クロ
ックによりアドレスを変化させて、メインメモリ16に
与える。メインメモリ16はトランスポートストリーム
データをセレクタ17に出力する。
Based on the above count, the main memory controller 30 detects one cycle of the transport stream data and causes the selector 17 to select the transport stream data from the main memory 16. Then, the main memory controller 30 changes the address according to the transmission clock of the transmission clock generator 13 and gives the address to the main memory 16. The main memory 16 outputs the transport stream data to the selector 17.

【0031】そして、セレクタ17が選択したトランス
ポートストリームデータをドライバ40は入力し、伝送
クロック発生器13の伝送クロックごとに、トランスポ
ートストリームを出力する。
The driver 40 receives the transport stream data selected by the selector 17 and outputs a transport stream for each transmission clock of the transmission clock generator 13.

【0032】このように、カウンタ21が、FIFOメ
モリ11の書き込みと読み出しの差分をカウントし、こ
のカウント値により、デジタルコンパレータ22,23
が比較を行い、書き込みの禁止または読み出しの禁止を
行う。このため、FIFOメモリ11から誤ったデータ
が出力されることを防止できる。なお、同じデータが送
信されても実害はない。
As described above, the counter 21 counts the difference between the writing and reading of the FIFO memory 11, and the digital comparators 22 and 23
Perform a comparison, and prohibit writing or reading. Therefore, it is possible to prevent erroneous data from being output from the FIFO memory 11. There is no real harm even if the same data is transmitted.

【0033】また、トランスポートストリームの一巡目
で、FIFOメモリ11からの正しいトランスポートス
トリームデータを、メインメモリ16に格納すれば、セ
レクタ17により、メインメモリ16を選択することに
より、以後正しいトランスポートストリームを出力する
ことができる。
If the correct transport stream data from the FIFO memory 11 is stored in the main memory 16 in the first round of the transport stream, the main memory 16 is selected by the selector 17 and the correct transport You can output a stream.

【0034】なお、本発明はこれに限定されるものでは
なく、一巡目は、メインメモリ16にトランスポートス
トリームデータを格納し、以後、メインメモリ16から
トランスポートストリームデータを出力する構成を示し
たが、バッファ15、メインメモリ16、セレクタ1
7、メインメモリ制御器30を設けない構成にしてもよ
い。つまり、FIFOメモリ11から継続して、トラン
スポートストリームデータを出力する構成にしてもよ
い。
It should be noted that the present invention is not limited to this. In the first cycle, the transport stream data is stored in the main memory 16 and thereafter the transport stream data is output from the main memory 16. Are the buffer 15, the main memory 16, the selector 1
7. The configuration may be such that the main memory controller 30 is not provided. That is, the transport stream data may be continuously output from the FIFO memory 11.

【0035】また、デジタル情報記憶部として、ハード
ディスク10を示したが、CD−ROM等でもよい。
Although the hard disk 10 is shown as the digital information storage unit, a CD-ROM or the like may be used.

【0036】そして、ストップ値、フル値は、データ格
納残数、データ格納限界量の限界で定める必要はなく、
余裕をもたせる構成にしてもよい。
The stop value and the full value do not need to be determined by the remaining data storage limit and the limit of the data storage limit.
It may be configured to have a margin.

【0037】[0037]

【発明の効果】請求項1〜3よれば、FIFO制御器
が、CPUのライト信号、伝送クロック発生器の伝送ク
ロックとに基づいて、FIFOメモリの書き込み、読み
出しを制御し、FIFOメモリの格納データ量を調整す
る。このため、FIFOメモリから誤ったデータが出力
されることを防止できる。
According to the present invention, the FIFO controller controls writing and reading of the FIFO memory based on the write signal of the CPU and the transmission clock of the transmission clock generator, and stores the data stored in the FIFO memory. Adjust the volume. Therefore, erroneous data can be prevented from being output from the FIFO memory.

【0038】請求項2によれば、トランスポートストリ
ームの一巡目で、FIFOメモリからの正しいトランス
ポートストリームデータを、メインメモリに格納すれ
ば、セレクタにより、メインメモリを選択することによ
り、以後正しいトランスポートストリームを出力するこ
とができる。
According to the second aspect, when the correct transport stream data from the FIFO memory is stored in the main memory in the first round of the transport stream, the main memory is selected by the selector, and thereafter, the correct transport stream data is stored. A port stream can be output.

【0039】請求項4によれば、ヌル手段が、トランス
ポートストリームデータにより、必要なチャンネル以外
のデータを、デジタル情報記憶部からFIFOメモリに
転送するのではなく、ヌル手段からFIFOメモリにヌ
ルデータを転送することにより、転送時間の短縮を図
る。これにより、FIFOメモリにデータが書き込まれ
ないことによるデータの誤りを防止することができる。
つまり、正しいトランスポートストリームを出力でき
る。
According to the fourth aspect, the null means does not transfer data other than the necessary channel from the digital information storage unit to the FIFO memory by the transport stream data, but transfers the null data from the null means to the FIFO memory. The transfer reduces the transfer time. As a result, it is possible to prevent data errors due to data not being written to the FIFO memory.
That is, a correct transport stream can be output.

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

【図1】本発明の一実施例を示した構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】トランスポートストリームのデータ構造を示し
た図である。
FIG. 2 is a diagram showing a data structure of a transport stream.

【図3】従来のトランスポートストリーム発生器の構成
を示した図である。
FIG. 3 is a diagram showing a configuration of a conventional transport stream generator.

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

10 ハードディスク 11 FIFOメモリ 12 CPU 13 伝送クロック発生器 16 メインメモリ 17 セレクタ 20 FIFO制御器 30 メインメモリ制御器 21 カウンタ 22,23 デジタルコンパレータ 24 ANDゲート 121 ヌル手段 DESCRIPTION OF SYMBOLS 10 Hard disk 11 FIFO memory 12 CPU 13 Transmission clock generator 16 Main memory 17 Selector 20 FIFO controller 30 Main memory controller 21 Counter 22, 23 Digital comparator 24 AND gate 121 Null means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 伝送クロックを発生する伝送クロック発
生器と、 トランスポートストリームデータを記憶するデジタル情
報記憶部と、 前記伝送クロック発生器の伝送クロックに基づいて、ト
ランスポートストリームデータを出力するFIFOメモ
リと、 前記デジタル情報記憶部のトランスポートストリームデ
ータを読み出し、ライト信号によりFIFOメモリに書
き込むCPUとを有するトランスポートストリーム発生
器において、 前記CPUのライト信号、前記伝送クロック発生器の伝
送クロックに基づいて、前記FIFOメモリの書き込
み、読み出しを制御し、FIFOメモリの格納データ量
を調整するFIFO制御器を設けたことを特徴とするト
ランスポートストリーム発生器。
A transmission clock generator for generating a transmission clock; a digital information storage unit for storing transport stream data; and a FIFO memory for outputting transport stream data based on the transmission clock of the transmission clock generator. A transport stream generator having a CPU that reads the transport stream data from the digital information storage unit and writes the data to a FIFO memory with a write signal, based on a write signal from the CPU and a transmission clock from the transmission clock generator. And a FIFO controller for controlling writing and reading of the FIFO memory and adjusting the amount of data stored in the FIFO memory.
【請求項2】 前記FIFOメモリからのトランスポー
トストリームデータを格納するメインメモリと、 このメインメモリにトランスポートストリームデータを
格納するまで、前記FIFOメモリのトランスポートス
トリームデータを選択し、格納後、メインメモリのトラ
ンスポートストリームデータを選択し、出力するセレク
タとを設けたことを特徴とする請求項1記載のトランス
ポートストリーム発生器。
2. A main memory for storing transport stream data from the FIFO memory, and until the transport stream data is stored in the main memory, the transport stream data in the FIFO memory is selected and stored. 2. The transport stream generator according to claim 1, further comprising a selector for selecting and outputting transport stream data in a memory.
【請求項3】 FIFO制御器は、 FIFOメモリの書き込みと読み出しの差分をカウント
するカウンタと、 このカウンタのカウント値とFIFOメモリのデータ格
納残数を決めるストップ値とを比較し、伝送クロック発
生器の伝送クロックをFIFOメモリに与えることを禁
止する第1のデジタルコンパレータと、 前記カウンタのカウント値とFIFOメモリのデータ格
納限界量により定まるフル値とを比較し、CPUに書き
込みを禁止する第2のデジタルコンパレータとを設けた
ことを特徴とする請求項1または2記載のトランスポー
トストリーム発生器。
3. A FIFO controller, comprising: a counter for counting a difference between writing and reading of a FIFO memory; a count value of the counter and a stop value for determining a remaining data storage number of the FIFO memory; A first digital comparator for inhibiting the transmission of the transmission clock to the FIFO memory; a second digital comparator for comparing the count value of the counter with a full value determined by the data storage limit of the FIFO memory; 3. The transport stream generator according to claim 1, further comprising a digital comparator.
【請求項4】 伝送クロックを発生する伝送クロック発
生器と、 トランスポートストリームデータを記憶するデジタル情
報記憶部と、 このデジタル情報記憶部のトランスポートストリームデ
ータが入力され、前記伝送クロック発生器の伝送クロッ
クに基づいて、トランスポートストリームデータを出力
するFIFOメモリとを有するトランスポートストリー
ム発生器において、 前記デジタル情報記憶部のトランスポートストリームデ
ータが所定の識別番号ならば、デジタル情報記憶部のト
ランスポートストリームデータを前記FIFOメモリに
書き込み、所定の識別番号でないならば、ヌルデータを
FIFOメモリに書き込むヌル手段を設けたことを特徴
とするトランスポートストリーム発生器。
4. A transmission clock generator for generating a transmission clock, a digital information storage unit for storing transport stream data, and transport stream data from the digital information storage unit, A transport stream generator having a FIFO memory for outputting transport stream data based on a clock, wherein the transport stream data in the digital information storage unit has a predetermined identification number. A transport stream generator comprising null means for writing data to the FIFO memory and for writing null data to the FIFO memory if the identification number is not a predetermined identification number.
JP29691199A 1999-10-19 1999-10-19 Transport stream generator Pending JP2001119377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29691199A JP2001119377A (en) 1999-10-19 1999-10-19 Transport stream generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29691199A JP2001119377A (en) 1999-10-19 1999-10-19 Transport stream generator

Publications (1)

Publication Number Publication Date
JP2001119377A true JP2001119377A (en) 2001-04-27

Family

ID=17839772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29691199A Pending JP2001119377A (en) 1999-10-19 1999-10-19 Transport stream generator

Country Status (1)

Country Link
JP (1) JP2001119377A (en)

Similar Documents

Publication Publication Date Title
US8472531B2 (en) Error concealment for MPEG decoding with personal video recording functionality
JP3884459B2 (en) Apparatus and method for processing digital video and digital audio signals
US6538692B2 (en) Dynamic data storage control method and system
US6134607A (en) Method and apparatus for controlling data flow between devices connected by a memory
USRE43496E1 (en) Method and apparatus for compensating reproduced audio signals of an optical disc
EP0825784A2 (en) Apparatus and method for transmitting data
EP0537397B1 (en) Adaptive FIFO memory controller
US6442208B1 (en) Apparatus and method for transmitting data
US20020076196A1 (en) Digital broadcast recording/reproducing apparatus
KR100259295B1 (en) Memory controlling apparatus
US6892022B1 (en) Storing and retrieving encoded data stream with specified time of delivery on a hard disk
JP2001119377A (en) Transport stream generator
KR100594953B1 (en) A transient datastream-processing buffer memory organization with software management adapted for multilevel housekeeping
KR100640913B1 (en) Apparatus of Storing/Reproducing Data Stream Received at Digital Broadcasting Receiver and Method Thereof
JP3854697B2 (en) Receiver
JP3546425B2 (en) Transport stream generator
JP3277926B2 (en) Image sequence decoder for fast forward operation
US8855110B2 (en) Personal video recorder having improved data access and method thereof
JP2005012564A (en) Method and device for signal processing, and method and device for limiting recording
US7791639B2 (en) Control apparatus, video processing apparatus, and control method thereof
KR100238410B1 (en) Variable bit rate data management device and method contained dvdp
JPH11234626A (en) Information reproduction device