JP3466417B2 - Program specification information insertion method and program specification information insertion device - Google Patents

Program specification information insertion method and program specification information insertion device

Info

Publication number
JP3466417B2
JP3466417B2 JP10046097A JP10046097A JP3466417B2 JP 3466417 B2 JP3466417 B2 JP 3466417B2 JP 10046097 A JP10046097 A JP 10046097A JP 10046097 A JP10046097 A JP 10046097A JP 3466417 B2 JP3466417 B2 JP 3466417B2
Authority
JP
Japan
Prior art keywords
psi
packet
received
data
packets
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
JP10046097A
Other languages
Japanese (ja)
Other versions
JPH10294705A (en
Inventor
敏明 鈴木
到 三村
達也 亀山
伸祥 鳥居
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10046097A priority Critical patent/JP3466417B2/en
Publication of JPH10294705A publication Critical patent/JPH10294705A/en
Application granted granted Critical
Publication of JP3466417B2 publication Critical patent/JP3466417B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラム仕様情
報挿入方法及びプログラム仕様情報挿入装置に係り、特
に、MPEG(Moving Picture Experts Group) 多重化
システム仕様(ITU-T H.222.0、ISO/IEC 13818-1)に準
拠し、トランスポート・ストリーム(以下、TSとい
う)中に番組仕様情報(Program Specific Informatio
n、以下PSIという)を挿入する方法及びPSIを挿
入する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program specification information insertion method and a program specification information insertion apparatus, and more particularly to an MPEG (Moving Picture Experts Group) multiplexing system specification (ITU-T H.222.0, ISO / IEC 13818). -1), and the program specification information (Program Specific Informatio) in the transport stream (hereinafter referred to as TS).
n, hereinafter referred to as PSI) and a device for inserting PSI.

【0002】[0002]

【従来の技術】従来、MPEG多重化システム仕様によ
り標準化された技術が知られている。そして、このMP
EG多重化システム仕様は、PSIデータをTSパケッ
トの形式で挿入する方法についてまで規定しているが、
その具体的な多重化実現方法及び実現装置については規
定されていない。
2. Description of the Related Art Conventionally, a technique standardized by the MPEG multiplexing system specification is known. And this MP
The EG multiplex system specification defines even a method of inserting PSI data in the form of TS packets.
The specific multiplexing implementation method and implementation device are not specified.

【0003】[0003]

【発明が解決しようとする課題】本発明の目的は、前記
MPEG多重化システム仕様に従い、受信TS中にPS
IデータをTSパケットの形式で挿入する具体的な方法
及び装置を提供することにある。以下に、前述の仕様に
従ったプログラム仕様情報挿入方法及びプログラム仕様
情報挿入装置を実現する上で発生する具体的な問題点に
ついて説明する。
SUMMARY OF THE INVENTION The object of the present invention is to provide a PS in a receiving TS according to the MPEG multiplexing system specification.
It is to provide a specific method and apparatus for inserting I data in the form of TS packets. Hereinafter, specific problems that occur in implementing the program specification information insertion method and the program specification information insertion device according to the above-mentioned specifications will be described.

【0004】第1の問題点は、PSIデータの挿入タイ
ミングである。すなわち、PSIデータをTSパケット
の形式で挿入する(以下、PSI−TSパケットの挿入
と表現する)とき、受信したTSパケット量にかかわら
ずPSI−TSパケットを挿入すると、PSI−TSパ
ケットの挿入時に送信しなければならない受信TSパケ
ットがある場合、PSI−TSパケットを挿入している
間、送信しなければならない受信TSパケットが滞留さ
せられることになり、送信しなければならない受信TS
パケットに対して遅延揺らぎ(以下、ジッターという)
を引き起こしてしまうという問題点を生じさせる。
The first problem is the insertion timing of PSI data. That is, when PSI data is inserted in the TS packet format (hereinafter referred to as PSI-TS packet insertion), if the PSI-TS packet is inserted regardless of the received TS packet amount, the PSI-TS packet is inserted. If there is a received TS packet that has to be transmitted, the received TS packet that has to be transmitted will be accumulated while the PSI-TS packet is being inserted, and the received TS that has to be transmitted.
Delay fluctuation for packets (hereinafter referred to as jitter)
Causes a problem that causes.

【0005】この結果、TSを受信し、そのTSをデコ
ードし映像等を再生する装置は、受信するTSパケット
に対するジッターが大きい場合に、TSパケット受信バ
ッファのアンダー・フローやオーバー・フローを引き起
こしてしまうという問題点を生じることになる。
As a result, an apparatus that receives a TS, decodes the TS, and reproduces an image or the like causes an underflow or an overflow of the TS packet reception buffer when the received TS packet has a large jitter. This will cause the problem of being lost.

【0006】第2の問題点は、番組時刻基準参照値(Pro
gram Clock Reference、以下PCRという)データを含
んだTSパケットの到着にジッターがあると、PCRデ
ータの内容と実際の到着時間とに不一致が生じるという
点である。すなわち、デコーダー側は、PCRデータと
PCRデータ到着時間とから映像等の再生用の基準時刻
を再生するため、PCRデータの内容と実際の到着時間
とに不一致があると、デコーダ側において正確に基準時
刻を再生することができなくなるという問題点が生じ
る。
The second problem is that the program time reference value (Pro
If there is a jitter in the arrival of a TS packet containing data (gram clock reference, hereinafter referred to as PCR), the content of the PCR data and the actual arrival time do not match. That is, the decoder side reproduces the reference time for reproducing the video or the like from the PCR data and the PCR data arrival time. Therefore, if the contents of the PCR data and the actual arrival time do not match, the decoder side accurately determines the reference time. There is a problem that the time cannot be reproduced.

【0007】本発明の第1の目的は、前述した問題点を
解決し、送信しなければならない受信TSパケットに発
生するジッターを削減するすることができるPSI挿入
方法及びPSI挿入装置を提供することにある。
A first object of the present invention is to provide a PSI insertion method and a PSI insertion apparatus which solve the above-mentioned problems and can reduce the jitter generated in a received TS packet that must be transmitted. It is in.

【0008】また、本発明の第2の目的は、特にPCR
データを含むTSパケットに発生するジッターを最優先
に削減することのできるPSI挿入方法及びPSI挿入
装置を提供することにある。
The second object of the present invention is, in particular, PCR.
It is an object of the present invention to provide a PSI insertion method and a PSI insertion device capable of reducing the jitter generated in a TS packet containing data with the highest priority.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、第1に受信TSパケットに対してできる
だけジッターを発生させないようするため、TSパケッ
トデータを出力するための同期信号毎に、受信TSパケ
ットのデータ量を監視し、受信TSパケットがある一定
量以上存在する場合に受信TSパケットを出力し、受信
TSパケットがある一定量未満でありかつPSIを挿入
するタイミングである場合にPSI−TSパケットを挿
入し、受信TSパケットがある一定量未満でありかつP
SIを挿入するタイミングでない場合にヌルTSパケッ
トを挿入することを特徴とする。なお、ヌルTSパケッ
トとは、MPEG多重化システム仕様で規定されている
PID(Packet Identifier)値が“0x1FFF”であ
るTSパケットである。
In order to achieve the above-mentioned object, the present invention is, firstly, to minimize the occurrence of jitter in a received TS packet, so that each sync signal for outputting TS packet data is , The data amount of the received TS packet is monitored, the received TS packet is output when the received TS packet is present in a certain amount or more, and the received TS packet is less than the certain amount and the PSI is inserted. PSI-TS packet is inserted, the number of received TS packets is less than a certain amount, and P
A null TS packet is inserted when it is not the time to insert the SI. The null TS packet is a TS packet having a PID (Packet Identifier) value of "0x1FFF" defined by the MPEG multiplexing system specification.

【0010】本発明は、第2にPSIデータの挿入を許
可する時間と受信TSパケットデータ量に依らず強制的
に挿入する時間とを設定し、TSパケットデータを出力
するための同期信号毎に、受信TSパケット量を監視
し、受信TSパケットがある一定量以上ありかつPSI
を強制的に挿入するタイミングである場合にPSI−T
Sパケットを挿入し、受信TSパケットがある一定量以
上ありかつPSIを強制的に挿入するタイミングでない
場合に受信TSパケットを出力し、受信TSパケットが
ある一定量未満でありかつPSI挿入許可状態である場
合にPSI−TSパケットを挿入し、受信TSパケット
がある一定量未満でありかつPSI挿入非許可状態であ
る場合にヌルTSパケットを挿入することを特徴とす
る。
Secondly, the present invention sets a time for permitting insertion of PSI data and a time for forced insertion regardless of the amount of received TS packet data, and for each synchronization signal for outputting TS packet data. , The number of received TS packets is monitored, and the number of received TS packets exceeds a certain amount and PSI
PSI-T when it is time to forcibly insert
When the S packet is inserted, the received TS packet is over a certain amount and it is not the timing for forcibly inserting the PSI, the received TS packet is output, and the received TS packet is less than the certain amount and the PSI insertion is permitted. A PSI-TS packet is inserted in a certain case, and a null TS packet is inserted when the number of received TS packets is less than a certain amount and the PSI insertion is not permitted.

【0011】本発明は、第3にPSIデータの挿入を許
可する時間と強制的に挿入する時間とを設定し、TSパ
ケットデータを出力するための同期信号毎に、受信TS
パケットの有無及び該受信TSパケットがPCRデータ
を含んでいるかを監視し、受信TSパケットがありかつ
該TSパケットがPCRデータを含むTSパケットであ
りかつPSIを強制的に挿入するタイミングである場合
に今回の同期信号に対する出力データとして該PCRデ
ータを含んだ受信TSパケットを出力し、次の同期信号
で出力するデータとしてPSI−TSパケットを挿入
し、受信TSパケットがありかつ該受信TSパケットが
PCRデータを含むTSパケットでありかつPSIを強
制的に挿入するタイミングで無い場合に該受信TSパケ
ットを出力し、受信TSパケットがありかつ該受信TS
パケットがPCRデータを含まないTSパケットであり
かつPSIを強制的に挿入するタイミングである場合に
PSI−TSパケットを挿入し、受信TSパケットがあ
りかつ該TSパケットがPCRデータを含まないTSパ
ケットでありかつPSIを強制的に挿入するタイミング
で無い場合に該受信TSパケットを出力し、受信TSパ
ケットが無くかつPSI挿入許可状態である場合にPS
I−TSパケットを挿入し、受信TSパケットが無くか
つPSI挿入非許可状態である場合にヌルTSパケット
を挿入することを特徴とする。
Thirdly, according to the present invention, a time for permitting insertion of PSI data and a time for forcibly inserting PSI data are set, and a reception TS is output for each synchronization signal for outputting TS packet data.
The presence or absence of a packet and whether the received TS packet contains PCR data are monitored, and when there is a received TS packet, the TS packet is a TS packet containing PCR data, and it is a timing to forcibly insert PSI. A reception TS packet containing the PCR data is output as output data for the current synchronization signal, a PSI-TS packet is inserted as data to be output in the next synchronization signal, and there is a reception TS packet and the reception TS packet is PCR. If the received TS packet is a TS packet containing data and the PSI is not forcibly inserted, the received TS packet is output and the received TS packet is present.
A PSI-TS packet is inserted when the packet is a TS packet that does not include PCR data and it is the timing to forcibly insert PSI, and there is a received TS packet and the TS packet is a TS packet that does not include PCR data. If the received TS packet is not present and the PSI insertion permission state is set, the received TS packet is output when the PSI insertion timing is not present.
A feature is that an I-TS packet is inserted, and a null TS packet is inserted when there is no received TS packet and the PSI insertion is not permitted.

【0012】本発明は、第4にTSパケットデータを出
力するための同期信号発生手段と、受信TSパケットを
保持し受信TSパケット量を監視する手段と、PSI挿
入タイミングを指示する手段と、TSパケットデータを
出力するための同期信号毎に受信TSパケットの有無及
びPSI挿入タイミング指示に基づいて出力するための
データとして受信TSパケット、ヌルTSパケット及び
PSI−TSパケットの何れかを選択する手段と、選択
したパケットデータを出力する手段とを具備したことを
特徴とする。
Fourthly, the present invention relates to a synchronizing signal generating means for outputting TS packet data, a means for holding a received TS packet and monitoring the amount of the received TS packet, a means for instructing a PSI insertion timing, and a TS. A means for selecting any of a received TS packet, a null TS packet and a PSI-TS packet as data to be output based on the presence / absence of a received TS packet and a PSI insertion timing instruction for each synchronization signal for outputting packet data; And means for outputting the selected packet data.

【0013】本発明は、第5にTSパケットデータを出
力するための同期信号発生手段と、受信TSパケットを
保持し受信TSパケット量を監視する手段と、PSI強
制挿入を指示する手段と、PSI挿入許可を指示する手
段と、TSパケットデータを出力するための同期信号毎
に受信TSパケットの有無、PSI強制挿入指示及びP
SI挿入許可指示に基づいて出力するデータとして受信
TSパケット、ヌルTSパケット及びPSI−TSパケ
ットの何れかを選択する手段と、選択したパケットデー
タを出力する手段とを具備したことを特徴とする。
Fifthly, according to the present invention, synchronization signal generating means for outputting TS packet data, means for holding received TS packets and monitoring the amount of received TS packets, means for instructing PSI forced insertion, and PSI. Insertion permission instruction means, presence / absence of received TS packet for each synchronization signal for outputting TS packet data, PSI forced insertion instruction, and P
It is characterized in that it is provided with means for selecting any of a received TS packet, a null TS packet, and a PSI-TS packet as data to be output based on the SI insertion permission instruction, and means for outputting the selected packet data.

【0014】本発明は、第6にTSパケットデータを出
力するための同期信号発生手段と、受信TSパケットを
保持し受信TSパケットの有無を監視する手段と、該受
信TSパケットがPCRを含むTSパケットか否かを監
視する手段と、PSI強制挿入を指示する手段と、PS
I挿入許可を指示する手段と、TSパケットデータを出
力するための同期信号毎に受信TSパケットの有無、該
TSパケットがPCRを含むか否か、PSI強制挿入指
示及びPSI挿入許可指示に基づいて出力するデータと
して受信TSパケット、ヌルTSパケット及びPSI−
TSパケットの何れかを選択する手段と、選択したパケ
ットを出力する手段とを具備したことを特徴とする。
Sixth, according to the present invention, a sync signal generating means for outputting TS packet data, a means for holding a received TS packet and monitoring the presence or absence of the received TS packet, and a TS including the PCR in the received TS packet. Means for monitoring whether the packet is a packet, means for instructing forced PSI insertion, PS
Based on the means for instructing I insertion permission, the presence / absence of a received TS packet for each synchronization signal for outputting TS packet data, whether or not the TS packet includes PCR, the PSI forced insertion instruction and the PSI insertion permission instruction. Received TS packets, null TS packets, and PSI- are output as data.
It is characterized in that it comprises means for selecting any of the TS packets and means for outputting the selected packet.

【0015】本発明は、第7にPSIデータを強制的に
挿入することを指示する手段と、PSIデータの挿入を
許可する手段とが、時間カウンタと、PSI挿入後に前
記時間カウンタをリセットする機構を備えたことを特徴
とする。
In a seventh aspect of the present invention, a means for instructing forcibly inserting PSI data and a means for permitting the insertion of PSI data are a time counter and a mechanism for resetting the time counter after PSI insertion. It is characterized by having.

【0016】本発明は、第8にPSIデータを強制的に
挿入することを指示する手段と、PSIデータの挿入を
許可する手段とが、時間カウンタと、ユーザが指定した
時間間隔毎に前記時間カウンタをリセットする機構を備
えたことを特徴とする。
In the eighth aspect of the present invention, the means for instructing the forced insertion of the PSI data and the means for permitting the insertion of the PSI data are provided with a time counter and the time for each time interval designated by the user. It is characterized by having a mechanism for resetting the counter.

【0017】本発明は、第9に1または複数のTSパケ
ットを受信し、受信TSパケットを保持し受信TSパケ
ットの有無を監視する手段が、TSパケットの有無を1
88バイト以下で監視することを特徴とする。
According to the present invention, ninthly, the means for receiving one or a plurality of TS packets, holding the received TS packets, and monitoring the presence or absence of the received TS packets determines whether or not the TS packets are present.
It is characterized by monitoring at 88 bytes or less.

【0018】本発明は、第10にPSIデータを保持す
るための手段が、挿入中のPSIデータを保持した挿入
面と受信TSの内容が変化するために変更になったPS
Iデータを保持する更新面との2面のPSIデータ保持
領域を持ち、挿入面のPSIデータを出力している間に
変更になった新しいPSIデータを更新面に更新し、新
PSIデータの更新が終了後該更新面を新しい挿入面と
する変更を行い、PSIのデータ挿入を順次行う構成と
されていることを特徴とする。
In the tenth aspect of the present invention, the means for holding the PSI data is changed because the contents of the receiving surface and the insertion surface holding the PSI data being inserted are changed.
It has a PSI data holding area on two sides with an update side for holding I data, updates the new PSI data that was changed while outputting the PSI data on the insertion side, and updates the new PSI data. Is completed, the update plane is changed to a new insertion plane, and PSI data is sequentially inserted.

【0019】本発明は、第11にPSIデータをTSパ
ケットの形式で、TSパケットデータ毎に挿入指標を付
属させた形でPSIデータを保持し、挿入指標に基づい
てPSIデータ挿入を行うことを特徴とする。
The eleventh aspect of the present invention is to hold PSI data in the form of TS packets in the form of TS packets, with the insertion index attached to each TS packet data, and perform PSI data insertion based on the insertion index. Characterize.

【0020】本発明は、第12にTSパケット形式のP
SIデータ挿入時における該TSパケットの巡回カウン
タを更新する手段を持ち、PSIデータをTSパケット
の形式で、TSパケットデータ毎に挿入指標を付属させ
た形でPSIデータを保持し、挿入指標に基づいてPS
Iデータ挿入を行い、さらに前記挿入指標中に巡回カウ
ンタ更新用の指標を設定し、該巡回カウンタ更新用の指
標に基づきPSIデータの巡回カウンタの更新を行う手
段を具備したことを特徴とする。
The twelfth aspect of the present invention is to use P in TS packet format.
It has a means for updating the cyclic counter of the TS packet at the time of inserting SI data, holds the PSI data in the form of a TS packet, with the insertion index attached to each TS packet data, and based on the insertion index. PS
It is characterized by further comprising means for performing I data insertion, setting an index for updating a cyclic counter in the insertion index, and updating the cyclic counter for PSI data based on the index for updating the cyclic counter.

【0021】[0021]

【発明の実施の形態】以下、本発明によるPSI挿入方
法及び装置の実施形態を図面により詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a PSI insertion method and device according to the present invention will be described below in detail with reference to the drawings.

【0022】図1は本発明の第1の実施形態によるPS
I挿入装置の構成を示すブロック図、図2は本発明の第
1の実施形態によるPSI挿入装置のPSI挿入制御部
の制御動作を説明するフローチャート、図3はPSI挿
入許可時間とPSI強制挿入時間の関係及びPSI挿入
タイミングを説明する図である。図1において、1はF
IFO(First In First Out Memory)、2はPSI挿入
制御部、3はカウンタ部、4はPSIメモリ、5はヌル
TSパケット挿入部、7は入力手段、8は同期信号発生
部である。図1に示す本発明の第1の実施形態によるP
SI挿入装置は、受信TSパケットのデータ量及びPS
I強制挿入指示及びPSI挿入許可指示に基づいて、受
信TSパケット、ヌルTSパケット及びPSI−TSパ
ケットの何れかを選択して出力する実施形態である。
FIG. 1 shows a PS according to the first embodiment of the present invention.
FIG. 2 is a block diagram showing the configuration of the I insertion device, FIG. 2 is a flowchart illustrating the control operation of the PSI insertion control unit of the PSI insertion device according to the first embodiment of the present invention, and FIG. 3 is the PSI insertion permission time and the PSI forced insertion time. FIG. 3 is a diagram for explaining the relationship between PSI and PSI insertion timing. In FIG. 1, 1 is F
IFO (First In First Out Memory), 2 is a PSI insertion control unit, 3 is a counter unit, 4 is a PSI memory, 5 is a null TS packet insertion unit, 7 is an input means, and 8 is a synchronization signal generation unit. P according to the first embodiment of the present invention shown in FIG.
The SI insertion device determines the data amount of the received TS packet and PS
This is an embodiment in which any one of the received TS packet, the null TS packet, and the PSI-TS packet is selected and output based on the I forced insertion instruction and the PSI insertion permission instruction.

【0023】図1に示す本発明の第1の実施形態による
PSI挿入装置は、FIFO1と、PSI挿入制御部2
と、PSI強制挿入指示及びPSI挿入許可指示を出す
ためのカウンタ部3と、PSIデータを蓄積するための
PSIメモリ4と、ヌルTSパケットを保持し挿入動作
を行うヌルTSパケット挿入部5と、セレクタ6と、P
SIデータの更新、PSI挿入許可時間及びPSI強制
挿入時間設定を行う入力手段7と、TSパケットを出力
するための同期信号を発生させる同期信号発生部8とに
より構成される。
The PSI insertion device according to the first embodiment of the present invention shown in FIG. 1 includes a FIFO 1 and a PSI insertion control unit 2.
A counter section 3 for issuing a PSI forced insertion instruction and a PSI insertion permission instruction, a PSI memory 4 for accumulating PSI data, a null TS packet insertion section 5 for holding a null TS packet and performing an insertion operation, Selector 6 and P
It is composed of input means 7 for updating SI data, setting PSI insertion permission time and setting PSI forced insertion time, and a synchronization signal generator 8 for generating a synchronization signal for outputting a TS packet.

【0024】次に、前述のように構成される本発明の第
1の実施形態によるPSI挿入装置の動作を説明する。
Next, the operation of the PSI inserting apparatus according to the first embodiment of the present invention configured as described above will be described.

【0025】図1に示すPSI挿入装置は、1または複
数のTSを受信し、受信したTSに必要なPSIデータ
を多重化して出力する装置であり、初めに、入力手段7
を用いて、必要なPSIデータをPSIメモリ4に書き
込む処理を行う。すなわち、入力手段7は、PSIメモ
リ4へのデータ書き込みにおいて、アドレス信号52を
用いて書き込み先アドレスを指定し、データ信号53を
用いて必要なデータをPSIメモリ4に書き込む。ま
た、入力手段7は、信号線50を用いてカウンタ部3に
PSI挿入許可時間及びPSI強制挿入時間を設定す
る。
The PSI insertion device shown in FIG. 1 is a device for receiving one or a plurality of TSs, multiplexing the PSI data necessary for the received TSs, and outputting the multiplexed PSI data.
Is used to write necessary PSI data in the PSI memory 4. That is, when writing data to the PSI memory 4, the input unit 7 uses the address signal 52 to specify the write destination address, and uses the data signal 53 to write necessary data to the PSI memory 4. Further, the input means 7 sets the PSI insertion permission time and the PSI forced insertion time in the counter section 3 using the signal line 50.

【0026】FIFO1は、TSパケット信号20を受
信し、PSI挿入制御部2からの出力制御信号40に従
って、TSパケット信号21をセレクタ6に向けて出力
する。また、FIFO1は、ある一定量の受信TSパケ
ットデータがFIFO内に存在するか否かをデータ量信
号30としてPSI挿入制御部2に伝達する。同期信号
発生部8は、内部にカウンタを持ち、TSパケットのデ
ータ長である188バイト毎にTSパケットを出力する
ための同期信号44をPSI挿入制御部2に伝達する。
また、同期信号発生部8は、バイト毎のカウンタ値をP
SI挿入制御部2にバイトカウンタ値信号45として伝
達する。
The FIFO 1 receives the TS packet signal 20 and outputs the TS packet signal 21 to the selector 6 in accordance with the output control signal 40 from the PSI insertion controller 2. Further, the FIFO 1 transmits to the PSI insertion control unit 2 as a data amount signal 30 whether or not a certain fixed amount of received TS packet data exists in the FIFO. The sync signal generator 8 has a counter inside and transmits a sync signal 44 for outputting a TS packet to the PSI insertion controller 2 for each 188 bytes that is the data length of the TS packet.
Also, the synchronization signal generator 8 sets the counter value for each byte to P
The byte counter value signal 45 is transmitted to the SI insertion control unit 2.

【0027】カウンタ部3は、入力手段7によって設定
されたPSI挿入許可時間及びPSI強制挿入時間設定
に基づいて、PSI挿入許可時間に達するとPSI挿入
許可信号31をPSI挿入制御部2に伝達し、PSI強
制挿入時間に達するとPSI強制挿入信号32をPSI
挿入制御部2に伝達する。PSI挿入制御部2は、受信
TSパケットのデータ量信号30、PSI挿入許可信号
31及びPSI強制挿入信号32を条件として、受信T
Sパケット、ヌルTSパケット及びPSI−TSパケッ
トの何れかを選択して出力させる。なお、選択の方法に
ついては、図2を用いて後述する。
The counter unit 3 transmits a PSI insertion permission signal 31 to the PSI insertion control unit 2 when the PSI insertion permission time is reached based on the PSI insertion permission time and PSI forced insertion time setting set by the input means 7. , PSI forced insertion time is reached, the PSI forced insertion signal 32 is set to PSI.
It is transmitted to the insertion control unit 2. The PSI insertion control unit 2 receives the received T packet under the conditions of the data amount signal 30, the PSI insertion permission signal 31, and the PSI forced insertion signal 32.
Any of the S packet, the null TS packet and the PSI-TS packet is selected and output. The selection method will be described later with reference to FIG.

【0028】前述において、いま、例えば、図1に示す
PSI挿入装置から受信TSパケットを選択して出力す
るものとする。この場合、PSI挿入制御部2は、TS
パケットデータを出力するための同期信号44及びバイ
トカウンタ値信号45に基づいて受信TSパケット出力
制御信号40をFIFO1に伝達する。FIFO1は、
受信TSパケット出力制御信号40に基づいて、TSパ
ケットをTSパケット信号21としてセレクタ6に対し
て出力する。PSI挿入制御部2は、FIFO1から出
力されるTSパケット信号21が、図1に示すPSI挿
入装置の最終出力信号であるTSパケット信号24とな
るように、セレクタ制御信号43を出力してセレクタ6
の切り換えを行う。
In the above description, for example, assume that the received TS packet is selected and output from the PSI inserting apparatus shown in FIG. In this case, the PSI insertion control unit 2 uses the TS
The reception TS packet output control signal 40 is transmitted to the FIFO 1 based on the synchronization signal 44 for outputting the packet data and the byte counter value signal 45. FIFO1 is
Based on the received TS packet output control signal 40, the TS packet is output to the selector 6 as the TS packet signal 21. The PSI insertion control unit 2 outputs the selector control signal 43 so that the TS packet signal 21 output from the FIFO 1 becomes the TS packet signal 24 which is the final output signal of the PSI insertion device shown in FIG.
Switch.

【0029】また、例えば、PSI挿入装置からヌルT
Sパケットの出力を選択して出力するものとする。この
場合、PSI挿入制御部2は、TSパケットデータを出
力するための同期信号信号44及びバイトカウンタ値信
号45に基づいてヌルパケット挿入制御信号42をヌル
TSパケット挿入部5に伝達する。ヌルパケット挿入部
5は、ヌルTSパケット挿入制御信号42に基づいてヌ
ルTSパケットをヌルTSパケット信号22としてセレ
クタ6に対して出力する。PSI挿入制御部2は、ヌル
TSパケット挿入部5から出力されるヌルTSパケット
信号22が、図1に示すPSI挿入装置の最終出力信号
であるTSパケット信号24となるように、セレクタ制
御信号43を用を出力してセレクタ6の切り換えを行
う。
Also, for example, from the PSI insertion device, a null T
S-packet output is selected and output. In this case, the PSI insertion control unit 2 transmits the null packet insertion control signal 42 to the null TS packet insertion unit 5 based on the synchronization signal signal 44 for outputting the TS packet data and the byte counter value signal 45. The null packet insertion unit 5 outputs the null TS packet as the null TS packet signal 22 to the selector 6 based on the null TS packet insertion control signal 42. The PSI insertion control unit 2 sets the selector control signal 43 so that the null TS packet signal 22 output from the null TS packet insertion unit 5 becomes the TS packet signal 24 which is the final output signal of the PSI insertion device shown in FIG. Is output to switch the selector 6.

【0030】また、例えば、PSI挿入装置からPSI
−TSパケットの出力を選択して出力するものとする。
この場合、PSI挿入制御部2は、TSパケットデータ
を出力するための同期信号44及びバイトカウンタ値信
号45に基づいて出力アドレスの指定を行い出力用アド
レス指定信号51及びPSIパケット挿入制御信号41
をPSIメモリ4に伝達する。また、PSI挿入制御部
2は、PSIパケット挿入制御信号41をPSIメモリ
4に伝達開始後、カウンタ部3にカウンタをリセットす
るようリセット信号33を伝達する。PSIメモリ4
は、出力用アドレス指定信号51及びPSIパケット挿
入制御信号41に基づいてPSI−TSパケットをPS
I−TSパケット信号23としてセレクタ6に対して出
力する。PSI挿入制御部2は、PSIメモリ4から出
力されるPSI−TSパケット信号23が、図1に示す
PSI挿入装置の最終出力信号であるTSパケット信号
24となるように、セレクタ制御信号43を出力してセ
レクタ6の切り換えを行う。
Further, for example, from the PSI insertion device to the PSI
-TS packet output is selected and output.
In this case, the PSI insertion control unit 2 specifies the output address based on the synchronization signal 44 for outputting the TS packet data and the byte counter value signal 45, and outputs the output address specification signal 51 and the PSI packet insertion control signal 41.
Is transmitted to the PSI memory 4. Further, the PSI insertion control unit 2 transmits the reset signal 33 to the counter unit 3 to reset the counter after starting the transmission of the PSI packet insertion control signal 41 to the PSI memory 4. PSI memory 4
Based on the output addressing signal 51 and the PSI packet insertion control signal 41, the PSI-TS packet is PS
It is output to the selector 6 as the I-TS packet signal 23. The PSI insertion control unit 2 outputs the selector control signal 43 so that the PSI-TS packet signal 23 output from the PSI memory 4 becomes the TS packet signal 24 which is the final output signal of the PSI insertion device shown in FIG. Then, the selector 6 is switched.

【0031】次に、受信TSパケットのデータ量、PS
I強制挿入指示及びPSI挿入許可指示に基づいて、受
信TSパケット、ヌルTSパケット及びPSI−TSパ
ケットの何れかを選択するPSI挿入制御部2の動作を
図2に示すフローを参照して説明する。
Next, the data amount of the received TS packet, PS
The operation of the PSI insertion control unit 2 that selects any of the received TS packet, the null TS packet, and the PSI-TS packet based on the I forced insertion instruction and the PSI insertion permission instruction will be described with reference to the flow shown in FIG. .

【0032】(1)図1に示すPSI挿入装置が起動さ
れると、TSパケットデータを出力するための同期信号
に従って処理がスタートし、初めに、PSIを強制的に
挿入する時間に達しているか否かを判断する(ステップ
60、61)。
(1) When the PSI insertion device shown in FIG. 1 is activated, the process starts according to the synchronization signal for outputting the TS packet data, and whether the time for forcibly inserting the PSI has been reached first. It is determined whether or not (steps 60 and 61).

【0033】(2)ステップ61でPSIを強制的に挿
入する時間に達していると判断された場合、PSI−T
Sパケットの挿入を行い、ステップ60の処理に戻り、
同期信号に従ってスタートから処理を開始する(ステッ
プ62)。
(2) If it is determined in step 61 that the time for forcibly inserting PSI has been reached, PSI-T
Insert S packet, return to step 60,
Processing is started from the start in accordance with the synchronization signal (step 62).

【0034】(3)ステップ61でPSIを強制的に挿
入する時間に達していないと判断された場合、受信TS
パケットがあり、かつ、一定量以上データが有るか否か
を判断し、受信TSパケットがある一定量以上ある場
合、受信TSパケットの出力を行い、ステップ60の処
理に戻り、同期信号に従ってスタートから処理を開始す
る(ステップ63、64)。
(3) If it is determined in step 61 that the time for forcibly inserting PSI has not been reached, the reception TS
It is determined whether there is a packet and more than a certain amount of data, and if the received TS packet is more than a certain amount, the received TS packet is output, the process returns to step 60, and from the start according to the synchronization signal. The process is started (steps 63 and 64).

【0035】(4)ステップ63で受信TSパケットが
ない、あるいは、あってもある一定量以上ないと判断さ
れた場合、PSIの挿入許可時間になっているか否かを
判断し、PSI挿入許可時間に達している場合、PSI
−TSパケットを挿入し、ステップ60の処理に戻り、
同期信号に従ってスタートから処理を開始する(ステッ
プ66、62)。
(4) If it is determined in step 63 that there is no received TS packet, or if there is not more than a certain amount of TS packets, it is determined whether or not the PSI insertion permission time is reached, and the PSI insertion permission time is determined. Reach PSI
-Insert the TS packet and return to the processing of step 60,
Processing is started from the start in accordance with the synchronization signal (steps 66 and 62).

【0036】(5)ステップ66でPSI挿入許可時間
に達していないと判定された場合、ヌルTSパケットを
挿入し、ステップ60の処理に戻り、同期信号に従って
スタートから処理を開始する(ステップ67)。
(5) If it is determined in step 66 that the PSI insertion permission time has not been reached, a null TS packet is inserted, the process returns to step 60, and the process is started from the start in accordance with the synchronization signal (step 67). .

【0037】次に、図3を参照して、PSI挿入許可時
間とPSI強制挿入時間の関係及びPSI挿入タイミン
グについて説明する。以下では、PSIデータの挿入を
1秒に1回以上行う場合を例として、PSI挿入のタイ
ミングについて説明する。
Next, the relationship between the PSI insertion permission time and the PSI forced insertion time and the PSI insertion timing will be described with reference to FIG. Hereinafter, the timing of PSI insertion will be described by taking the case where PSI data is inserted once or more per second as an example.

【0038】PSIを1秒に1回以上挿入したい場合、
例えば、PSI強制挿入時間を1秒に設定し、PSI挿
入許可時間を0.8 秒に設定して動作させるようにす
る。これにより、PSIを1秒に1回以上挿入すること
が可能となる。この場合、タイマーのカウント開始(8
0)後、0.8 秒後にPSI挿入許可時間(81)に達
し、1秒後にPSI強制挿入時間(82)に達する。
If you want to insert PSI more than once per second,
For example, the PSI forced insertion time is set to 1 second, and the PSI insertion permission time is set to 0.8 second to operate. As a result, PSI can be inserted once or more per second. In this case, the timer starts counting (8
After 0), the PSI insertion permission time (81) is reached 0.8 seconds later, and the PSI forced insertion time (82) is reached 1 second later.

【0039】図2により説明したように、受信TSパケ
ットがある一定量未満でありPSI挿入許可時間に達し
ている場合、PSI−TSパケットが挿入されるので、
図1に示すPSI挿入装置は、PSI挿入許可時間から
PSI強制挿入時間までの間、すなわち、PSI挿入猶
予期間(83)内に受信TSパケットがある一定量未満
のタイミングでPSI−TSパケットが挿入されること
になる。但し、PSI挿入猶予期間内に常時受信TSパ
ケットがある一定量以上存在する場合、PSI強制挿入
時間にPSI−TSパケットが挿入されることになる。
As described with reference to FIG. 2, when the received TS packet is less than a certain amount and the PSI insertion permission time is reached, the PSI-TS packet is inserted.
The PSI insertion device shown in FIG. 1 inserts a PSI-TS packet between the PSI insertion permission time and the PSI forced insertion time, that is, at a timing when a received TS packet is less than a certain amount within the PSI insertion grace period (83). Will be done. However, when there is a certain amount of TS packets or more always received within the PSI insertion grace period, the PSI-TS packet is inserted during the PSI forced insertion time.

【0040】前述したように、PSI−TSパケットの
挿入は、図2及び図3により説明した方法及びタイミン
グで行われる。
As described above, the insertion of the PSI-TS packet is performed by the method and timing described with reference to FIGS.

【0041】本発明の第1の実施形態によれば、受信T
Sパケットのデータ量、PSI強制挿入指示及びPSI
挿入許可指示に基づいて、受信TSパケットがなく、か
つ、PSI挿入許可時間にPSI−TSパケットの挿入
を行っているので、PSI−TSパケット挿入時に受信
TSパケットに発生するジッターを削減することが可能
であるという効果を得ることができる。
According to the first embodiment of the present invention, the reception T
Data amount of S packet, PSI forced insertion instruction and PSI
Since there is no received TS packet based on the insertion permission instruction and the PSI-TS packet is inserted at the PSI insertion permission time, it is possible to reduce the jitter generated in the received TS packet when the PSI-TS packet is inserted. The effect that it is possible can be obtained.

【0042】前述した本発明の第1の実施形態は、PS
I−TSパケット挿入開始時にカウンタ部3のカウンタ
をリセットするとして説明したが、この第1の実施形態
は、PSI−TSパケット挿入後にカウンタ部3のカウ
ンタをリセットするように変形することができる。以
下、この変形例を説明する。
The first embodiment of the present invention described above is PS
Although it has been described that the counter of the counter unit 3 is reset when the I-TS packet insertion is started, the first embodiment can be modified so that the counter of the counter unit 3 is reset after the PSI-TS packet insertion. Hereinafter, this modification will be described.

【0043】図4は本発明の第1の実施形態の変形例に
よるPSI挿入装置のPSI挿入制御部の制御動作を説
明するフローチャート、図5はカウンタ部3で実行され
るリセットタイミングを説明する図である。
FIG. 4 is a flow chart for explaining the control operation of the PSI insertion control unit of the PSI insertion device according to the modification of the first embodiment of the present invention, and FIG. 5 is a diagram for explaining the reset timing executed by the counter unit 3. Is.

【0044】図4に示すフローは、図2に示すフローを
変形したものであり、以下では、図2と異なる点につい
て説明する。
The flow shown in FIG. 4 is a modification of the flow shown in FIG. 2, and the points different from FIG. 2 will be described below.

【0045】図4のPSI強制挿入時間かを判断するス
テップ61において、PSIを強制的に挿入する時間に
なっていると判断された場合、PSI−TSパケットの
挿入を行い、PSI−TSパケット挿入後にカウンタ部
3のカウンタをリセットし、ステップ60の処理に戻
り、同期信号に従ってスタートから処理を開始する(ス
テップ68)。
When it is judged in the step 61 for judging whether the PSI compulsory insertion time is shown in FIG. 4, it is judged that it is time to compulsorily insert the PSI, the PSI-TS packet is inserted and the PSI-TS packet is inserted. After that, the counter of the counter unit 3 is reset, the process returns to step 60, and the process is started from the start in accordance with the synchronization signal (step 68).

【0046】また、受信TSパケットがない、あるい
は、あってもある一定量以上ないと判断されて、PSI
挿入許可時間になっているか否かを判断するステップ6
6において、PSI挿入許可時間になっている場合、P
SI−TSパケットの挿入を行い、PSI−TSパケッ
ト挿入後にカウンタ部3のカウンタをリセットし、同期
信号に従ってスタートから処理を開始する(ステップ6
9)。
Further, it is judged that there is no received TS packet, or even if there is, there is not more than a certain amount, and the PSI
Step 6 of determining whether or not the insertion permission time has come
In step 6, if the PSI insertion permission time is reached, P
The SI-TS packet is inserted, the counter of the counter unit 3 is reset after the PSI-TS packet is inserted, and the process is started from the start in accordance with the synchronization signal (step 6).
9).

【0047】前述した変形例は、前述で説明したように
PSI−TSパケット挿入後にカウンタのリセットを行
う。
In the modification described above, the counter is reset after the PSI-TS packet is inserted as described above.

【0048】次に、図5を参照して、カウンタ部3で実
行されるカウンタのリセットタイミングについて説明す
る。なお、図5に示す例は、時間の流れを右方向に設定
している。
Next, the reset timing of the counter executed by the counter section 3 will be described with reference to FIG. In the example shown in FIG. 5, the flow of time is set to the right.

【0049】図5に示す例は、まず初めに、カウンタ部
3のカウントが開始(80)され、続いてPSI挿入許
可時間(81)になったことが示されている。PSI挿
入時間1(83)は、PSI挿入許可時間中に受信TS
パケットがある一定量に達したことにより、PSI−T
Sパケットの挿入が行われたことを示している。また、
カウンタのリセット(85)は、PSI−TSパケット
挿入(83)後、カウンタのリセットが行われたことを
示す。
The example shown in FIG. 5 shows that the count of the counter section 3 is first started (80), and then the PSI insertion permission time (81) is reached. The PSI insertion time 1 (83) is the reception TS during the PSI insertion permission time.
When the number of packets reaches a certain amount, PSI-T
This indicates that the S packet has been inserted. Also,
The counter reset (85) indicates that the counter has been reset after the PSI-TS packet insertion (83).

【0050】続いて、再度PSI挿入許可時間(81)
になり、さらに受信TSパケットがある一定量に達しな
かったことにより、PSI強制挿入時間(82)になっ
たことを示している。PSI挿入時間2(84)は、P
SI挿入許可時間中に受信TSパケットがある一定量に
達することがなかったために、PSI強制挿入指示によ
ってPSI−TSパケットを強制的に挿入したことを示
している。カウンタのリセット(88)は、PSI−T
Sパケット強制挿入(84)後、カウンタのリセットが
行われたことを示している。
Subsequently, the PSI insertion permission time (81) is re-established.
In addition, since the received TS packet has not reached a certain amount, the PSI forced insertion time (82) is reached. PSI insertion time 2 (84) is P
This indicates that the PSI-TS packet was forcibly inserted by the PSI forced insertion instruction because the received TS packet did not reach a certain amount during the SI insertion permission time. Counter reset (88) is a PSI-T
This indicates that the counter has been reset after the forced insertion of the S packet (84).

【0051】前述した本発明の第1の実施形態の変形例
は、PSI挿入許可中に受信TSパケットがある一定量
に達するとPSI−TSパケットを挿入しカウンタ部3
のリセットを行い、また、PSI挿入許可中に受信TS
パケットがある一定量に達することがなければ、PSI
強制挿入タイミングでPSI−TSパケットの挿入を行
ってカウンタ部3のリセットを行うことになる。すなわ
ち、カウンタ部3は、何れの場合においてもPSI−T
Sパケット挿入後にカウンタがリセットされるため、カ
ウンタリセット間隔1(86)とカウンタのリセット間
隔2(87)との間隔が異なることになる。
In the modification of the first embodiment of the present invention described above, the PSI-TS packet is inserted when the number of received TS packets reaches a certain amount during PSI insertion permission, and the counter unit 3 is inserted.
Is reset, and the TS received while PSI insertion is permitted
If the packets never reach a certain amount, PSI
The PSI-TS packet is inserted at the forced insertion timing to reset the counter unit 3. That is, the counter unit 3 is not limited to the PSI-T in any case.
Since the counter is reset after inserting the S packet, the interval between the counter reset interval 1 (86) and the counter reset interval 2 (87) is different.

【0052】本発明の第1の実施形態の変形例は、前述
で説明したようにカウンタのリセットを行っているた
め、PSI挿入間隔の最小間隔と最大間隔とを規定する
ことができるという効果を得ることができる。
In the modification of the first embodiment of the present invention, since the counter is reset as described above, it is possible to define the minimum interval and the maximum interval of the PSI insertion interval. Obtainable.

【0053】前述した本発明の第1の実施形態の変形例
は、PSI挿入制御部2の制御の変形例であり、PSI
−TSパケット挿入後にカウンタ部3のカウンタをリセ
ットするとして説明したが、本発明の第1の実施形態
は、カウンタ部3を変形することができ、この変形例
は、ユーザが指定した時間間隔毎にカウンタ部3のカウ
ンタをリセットするようにすることができる。
The above-described modification of the first embodiment of the present invention is a modification of the control of the PSI insertion control unit 2, and
-It has been described that the counter of the counter unit 3 is reset after the TS packet is inserted, but the first embodiment of the present invention can modify the counter unit 3, and in this modification, every time interval specified by the user. The counter of the counter unit 3 can be reset.

【0054】図6は本発明の第1の実施形態の変形例に
よるカウンタ部3で実行されるカウンタのリセットタイ
ミングを説明する図であり、以下、図6を参照してカウ
ンタ部3の変形例の動作を説明する。なお、図6に示す
例は、時間の流れを右方向に設定している。
FIG. 6 is a diagram for explaining the reset timing of the counter executed by the counter unit 3 according to the modification of the first embodiment of the present invention. Hereinafter, a modification of the counter unit 3 will be described with reference to FIG. The operation of will be described. In the example shown in FIG. 6, the flow of time is set to the right.

【0055】図6に示す例では、まず初めに、カウンタ
部3のカウントが開始(80)され、続いてPSI挿入
許可時間(81)になったことが示している。PSI挿
入時間(83)は、PSI挿入許可時間中に受信TSパ
ケット量がある一定量に達したことにより、PSI−T
Sパケットの挿入が行われたことを示している。PSI
強制挿入時間(82)は、PSI−TSパケット挿入後
もカウンタが動作し、PSI強制挿入時間に達したこと
を示している。カウンタのリセット(85)は、PSI
強制挿入時間後、ユーザが設定したリセット時間に達し
てカウンタのリセットが行われたことを示している。
In the example shown in FIG. 6, the count of the counter section 3 is first started (80), and then the PSI insertion permission time (81) is reached. The PSI insertion time (83) is the PSI-T because the received TS packet amount reaches a certain amount during the PSI insertion permission time.
This indicates that the S packet has been inserted. PSI
The forced insertion time (82) indicates that the counter operates even after the PSI-TS packet is inserted and the PSI forced insertion time is reached. Counter reset (85) is a PSI
After the forced insertion time, the reset time set by the user is reached and the counter is reset.

【0056】続いて、再度PSI挿入許可時間(81)
になり、さらに受信TSパケット量がある一定量に達す
ることがなかったためにPSI強制挿入時間(82)に
なったことを示している。PSI挿入時間(84)は、
PSI挿入許可時間中に受信TSパケット量がある一定
量未満になることがなかったために、PSI強制挿入指
示によってPSI−TSパケットを強制的に挿入したこ
とを示す。カウンタのリセット(88)は、PSI−T
Sパケット強制挿入(84)後、ユーザが設定したリセ
ット時間に達して、カウンタのリセットが行われたこと
を示す。すなわち、この変形例では、PSI挿入時間に
関係なくユーザが設定した時間に達するとカウンタ部3
のリセットが行われるので、カウンタリセット間隔1
(86)とカウンタリセット間隔2(87)の間隔とは
同一の間隔となる。
Then, the PSI insertion permission time (81) is re-established.
In addition, the PSI forced insertion time (82) is reached because the received TS packet amount has not reached a certain amount. PSI insertion time (84) is
This indicates that the PSI-TS packet was forcibly inserted by the PSI forced insertion instruction because the received TS packet amount did not fall below a certain amount during the PSI insertion permission time. Counter reset (88) is a PSI-T
After the forced insertion of the S packet (84), the reset time set by the user is reached and the counter is reset. That is, in this modification, the counter unit 3 is activated when the time set by the user is reached regardless of the PSI insertion time.
Is reset, so counter reset interval 1
(86) and the counter reset interval 2 (87) are the same.

【0057】前述した変形例は、前述で説明したように
カウンタのリセットを行っているので、時間平均的にP
SIデータを均等に挿入することができるという効果を
得ることができる。
In the above-described modification, since the counter is reset as described above, the time average P
It is possible to obtain the effect that the SI data can be evenly inserted.

【0058】前述した本発明の第1の実施形態は、受信
TSパケットのデータ量の検出をある一定値により検出
するとして説明したが、本発明の第1の実施形態は、受
信TSパケットのデータ量の検出を、1つのTSパケッ
ト(188バイト)で監視するように変形することがで
きる。
Although the first embodiment of the present invention has been described as detecting the data amount of the received TS packet by a certain value, the first embodiment of the present invention has the data of the received TS packet. The amount detection can be modified to monitor one TS packet (188 bytes).

【0059】図7は本発明の第1の実施形態の変形例に
よる受信TSパケットの有無を監視する方法を説明する
図であり、以下、図7を参照して、受信TSパケットの
データ量の検出を、1つのTSパケット(188バイ
ト)で監視する変形例を説明する。図7に示す例は、F
IFO1内のデータ量を1つのTSパケットで監視する
状況を示している。
FIG. 7 is a diagram for explaining a method of monitoring the presence / absence of a received TS packet according to the modification of the first embodiment of the present invention. Hereinafter, referring to FIG. A modification in which the detection is monitored by one TS packet (188 bytes) will be described. The example shown in FIG.
This shows a situation in which the data amount in the IFO 1 is monitored by one TS packet.

【0060】図7において、FIFO1は、1または複
数のTS(TS信号20)を受信し、FIFO1内にT
Sパケット100を保持する。また、FIFO1は、F
IFO1内のTSパケットデータ量を1つのTSパケッ
トで監視し、FIFO1内に1つ以上のTSパケットが
ある場合にデータ有りを、そうでない場合、データ無し
を、データ有無信号30を用いてPSI挿入制御部2に
伝達する。PSI挿入制御部2は、受信TSパケットの
有無信号30、PSI挿入許可信号31及びPSI強制
挿入信号32を条件とし、出力するデータとして受信T
Sパケット、ヌルTSパケット及びPSI−TSパケッ
トの何れかを選択する。出力用のTSパケット選択後の
動作は、本発明の第1の実施形態で説明した動作と同様
である。
In FIG. 7, the FIFO1 receives one or a plurality of TSs (TS signals 20), and the T1 is stored in the FIFO1.
The S packet 100 is held. In addition, FIFO1 is F
The amount of TS packet data in the IFO1 is monitored by one TS packet, and if there is one or more TS packets in the FIFO1, data is present, otherwise, no data is present, and PSI is inserted using the data presence / absence signal 30. It is transmitted to the control unit 2. The PSI insertion control unit 2 uses the presence / absence signal 30 of the received TS packet, the PSI insertion permission signal 31, and the PSI forced insertion signal 32 as conditions, and receives the received T packet as output data.
One of the S packet, the null TS packet and the PSI-TS packet is selected. The operation after selecting the TS packet for output is the same as the operation described in the first embodiment of the present invention.

【0061】なお、FIFO1内に1つ以上のTSパケ
ットデータが有るか無いかの検出は、TSパケットが1
88バイトで構成されていることにより、FIFO1内
には188バイトの倍数でデータが蓄積されることにな
るので、データが188バイト以下か否かにより検出を
行うようにすればよい。
It should be noted that the detection of whether or not one or more TS packet data is present in the FIFO 1 indicates that the TS packet is 1
Since it is composed of 88 bytes, data is stored in the FIFO 1 in a multiple of 188 bytes. Therefore, detection may be performed depending on whether the data is 188 bytes or less.

【0062】前述で説明したように、FIFO1内のデ
ータ量を1つのTSパケットの大きさで監視すると、少
なくともFIFO1内にデータとして1つのTSパケッ
トが有る場合に、そのTSパケットが出力されることに
なるので、動作停止時にFIFO1内にデータが多量に
残存することがないという効果を得ることができる。
As described above, when the amount of data in the FIFO 1 is monitored by the size of one TS packet, that TS packet is output when at least one TS packet is present as data in the FIFO 1. Therefore, it is possible to obtain the effect that a large amount of data does not remain in the FIFO 1 when the operation is stopped.

【0063】次に、前述した本発明の第1の実施形態に
おけるPSIデータの保持形式及び挿入方法を説明す
る。
Next, the PSI data holding format and insertion method in the above-described first embodiment of the present invention will be described.

【0064】図8はPSIデータ蓄積部4におけるPS
Iデータの管理について説明する図、図9はPSIデー
タ蓄積部4におけるPSIデータの管理についてさらに
具体的に説明する図であり、以下、図8、図9を参照し
て、PSIデータの保持形式及び挿入方法を説明する。
FIG. 8 shows the PS in the PSI data storage unit 4.
FIG. 9 is a diagram for explaining management of I data, and FIG. 9 is a diagram for more specifically explaining management of PSI data in the PSI data storage unit 4. Hereinafter, referring to FIG. 8 and FIG. The insertion method will be described.

【0065】PSIデータ保持のためのPSIメモリ4
は、例えば、Dual Port RAM を用いて構成され、入力用
アドレス指定信号52により入力PSIデータ信号53
を格納し、また、出力PSI−TSパケット信号23を
出力する。図8(a)に示すPSIデータ保持形式は、
現在挿入中のPSIデータを保持する面(PSIデータ
A面)と受信TSが変化するために変更になったPSI
データを保持する面(PSIデータB面)との2面のP
SIデータ保持領域を持ち、PSIデータA面の挿入面
に保持されているPSIデータが出力され、その間に変
更になった新しいPSIデータがPSIデータB面の更
新面で更新される。
PSI memory 4 for holding PSI data
Is configured by using, for example, Dual Port RAM, and the input PSI data signal 53 is generated by the input addressing signal 52.
, And outputs the output PSI-TS packet signal 23. The PSI data holding format shown in FIG.
The PSI that has been changed because the plane that holds the PSI data currently being inserted (PSI data A side) and the received TS change
P on two sides with the side that holds data (PSI data B side)
The PSI data having the SI data holding area and held on the insertion surface of the PSI data A surface is output, and new PSI data changed during that time is updated on the update surface of the PSI data B surface.

【0066】PSIデータB面の更新面において、新し
いPSIデータの更新が終了すると、図8(b)に示す
ように、更新面を新しい挿入面とする変更が行われ、P
SIデータB面を挿入面としてPSIデータの挿入が行
われる。また、このとき、図8(b)に示すPSIデー
タA面は、新しい更新面に変更され、PSIデータB面
によるPSIデータの挿入中に、更新されたPSIデー
タを更新する面となる。
When the update of the new PSI data is completed on the update surface of the PSI data B side, as shown in FIG. 8B, the update surface is changed to a new insertion surface, and P
PSI data is inserted using the SI data B side as the insertion side. Further, at this time, the PSI data A surface shown in FIG. 8B is changed to a new update surface, and becomes a surface for updating the updated PSI data while the PSI data B surface is inserting the PSI data.

【0067】前述で説明したように、PSIデータを挿
入面と更新面との2面の領域を使用して管理することに
より、PSIデータ挿入中にも新しいPSIデータの更
新を行うことが可能となるという効果を得ることができ
る。ちなみに、挿入面と更新面とが同一の1つ面を使用
してPSIの挿入を行う場合には、PSIデータ挿入中
に変更となった新しいPSIデータの更新を行うことが
できない。
As described above, by managing the PSI data by using the area of the two planes, the insertion plane and the update plane, it is possible to update the new PSI data even during the PSI data insertion. The effect of becoming can be obtained. By the way, when PSI is inserted by using one surface having the same insertion surface and update surface, new PSI data changed during PSI data insertion cannot be updated.

【0068】次に、前述において、PSIデータが番組
表(Program Association Table、以下PATという)及
びn個の番組対応表(Program Map Table、以下PMT
という)により構成されているとして、図9を参照し
て、PSIデータ保持形式及びPSI挿入方法について
具体的に説明する。
Next, in the above, the PSI data is a program table (Program Association Table, hereinafter referred to as PAT) and n program correspondence tables (Program Map Table, hereinafter referred to as PMT).
The PSI data holding format and PSI insertion method will be specifically described with reference to FIG.

【0069】図9は図8により説明したPSIメモリ4
の挿入面あるいは更新面におけるPSIデータ蓄積形式
を更に詳細に示している。図9において、120はPA
Tデータ、121〜124はPMT(1)〜PMT(n)の
各データ、110はPAT用挿入指標、111〜114
はPMT(1)〜PMT(n)用の挿入指標、115はPM
T(n)の次にPSIデータが無いことを示すための挿入
指標である。
FIG. 9 shows the PSI memory 4 described with reference to FIG.
The PSI data storage format on the insertion surface or the update surface of is shown in more detail. In FIG. 9, 120 is PA
T data, 121 to 124 each data of PMT (1) to PMT (n), 110 an insertion index for PAT, 111 to 114
Is an insertion index for PMT (1) to PMT (n), and 115 is PM
It is an insertion index for indicating that there is no PSI data next to T (n).

【0070】PSIメモリ4にPAT及びPMT(1)〜
PMT(n)を蓄積するとき、例えば、1バイトの挿入指
標データがPAT及びPMT(1)〜PMT(n)のそれぞ
れの先頭に付加されて、図9に示すように、PATから
PMT(n)まで順にPSIデータとして蓄積される。ま
た、PSIデータの最後に、PSIデータが続かないこ
とを示すための挿入指標115が付加される。挿入指標
である1バイトのデータは、例えば、その挿入指標の後
にデータ〔PATあるいはPMT(1)〜PMT(n)〕が
ある場合には“1”、無い場合には“0”が書き込まれ
る。
PAT and PMT (1) to PSI memory 4
When accumulating PMT (n), for example, 1-byte insertion index data is added to the head of each of PAT and PMT (1) to PMT (n), and as shown in FIG. ) Are sequentially stored as PSI data. Also, an insertion index 115 for indicating that the PSI data does not continue is added to the end of the PSI data. The 1-byte data that is the insertion index is written with "1" when there is data [PAT or PMT (1) to PMT (n)] after the insertion index, and is written with "0" when there is no data. .

【0071】これにより、その挿入指標の値に基づいて
PSIデータを挿入することが可能となる。すなわち、
挿入指標は、PAT及びPMT(1)〜PMT(n)の前の
挿入指標をチェックし、その値が“1”であったらその
挿入指標後にデータ〔PAT或いはPMT(1)〜PMT
(n)〕を挿入し、“0”であったら挿入指標後にデータ
〔PAT或いはPMT(1)〜PMT(n)〕が無いので挿
入動作を行わず、最初の挿入指標110に戻りチェック
を開始し、順次PSIデータ〔PAT及びPMT(1)〜
PMT(n)〕の挿入を行うというように使用される。
As a result, PSI data can be inserted based on the value of the insertion index. That is,
As for the insertion index, the insertion index before PAT and PMT (1) to PMT (n) is checked, and if the value is "1", data [PAT or PMT (1) to PMT] is inserted after the insertion index.
(n)] is inserted, and if it is “0”, there is no data [PAT or PMT (1) to PMT (n)] after the insertion index, so the insertion operation is not performed and the check returns to the first insertion index 110 and starts checking. And PSI data [PAT and PMT (1) ~
PMT (n)] insertion and so on.

【0072】なお、前述の説明では、挿入指標を1バイ
トとし、挿入指標の後にデータがある場合に挿入指標の
値が“1”であり、無い場合に“0”であるとしたが、
挿入指標の値は任意であり、他の値を用いてもよい。
In the above description, the insertion index is 1 byte, and the value of the insertion index is "1" when there is data after the insertion index, and "0" when there is no data.
The value of the insertion index is arbitrary, and other values may be used.

【0073】前述で説明したように、挿入指標に基づい
てPSIデータの挿入を行うことにより、PATデータ
の有無及びPMTの数をカウントすることなく挿入動作
を行うことができるという効果が得られる。
As described above, by inserting PSI data based on the insertion index, it is possible to perform the insertion operation without counting the presence or absence of PAT data and the number of PMTs.

【0074】前述の説明では、PAT、PMTのそれぞ
れに挿入指標を付加し、挿入指標の後にデータがあるか
否かを示すとしたが、挿入指標の中に巡回カウンタ更新
指標を設けてPSIデータの管理を行うこともできる。
In the above description, the insertion index is added to each of the PAT and PMT to indicate whether or not there is data after the insertion index. However, a cyclic counter update index is provided in the insertion index to provide PSI data. Can also be managed.

【0075】図10は挿入指標の中に巡回カウンタ更新
指標を設けてPSIデータの管理を行う例を説明する図
であり、以下、図10を参照して、巡回カウンタ値の更
新方法について説明する。図10において、120〜1
24はPSIデータ〔PAT及びPMT(1)〜PMT
(n)〕、110〜115はPSIデータ用の挿入指標、
130はPSIデータ有無指標、131は巡回カウンタ
更新用指標である。
FIG. 10 is a diagram for explaining an example of managing the PSI data by providing a cyclic counter update index in the insertion index. Hereinafter, a method of updating the cyclic counter value will be described with reference to FIG. . In FIG. 10, 120-1
24 is PSI data [PAT and PMT (1) to PMT
(n)] 110 to 115 are insertion indexes for PSI data,
Reference numeral 130 is a PSI data presence / absence index, and 131 is a cyclic counter updating index.

【0076】PSIデータ用の挿入指標110〜115
は、PSIデータ有無指標130と巡回カウンタ更新用
指標131とにより構成され、ここでは例えば、挿入指
標110〜115におけるPSIデータ有無指標130
の領域として1ビットの領域を用い、巡回カウンタ更新
用の巡回カウンタ更新指標131の領域として7ビット
用いるものとする。1ビットの指標であるPSIデータ
有無指標130の利用方法は、図9により説明したPS
Iデータ保持形式及びPSI挿入方法の場合と同様であ
り、PSIデータ有無指標130は、PSIデータ有無
指標が“1”のとき、PSIデータ有無指標の後にPS
Iデータがあり、PSIデータ有無指標が“0”のと
き、PSIデータ有無指標の後にPSIデータがないと
して、PSIデータを挿入するための指標として用いら
れる。
Insertion indices 110-115 for PSI data
Is composed of a PSI data presence / absence index 130 and a cyclic counter updating index 131, and here, for example, the PSI data presence / absence index 130 in the insertion indices 110 to 115.
It is assumed that a 1-bit area is used as the area of 7 and an 7-bit area is used as the area of the cyclic counter update index 131 for updating the cyclic counter. The method of using the PSI data presence / absence index 130, which is a 1-bit index, is the same as the PS described in FIG.
Similar to the case of the I data holding format and the PSI insertion method, the PSI data presence / absence index 130 indicates that when the PSI data presence / absence index is “1”, the PSI data presence / absence index is followed by PS.
When there is I data and the PSI data presence / absence index is “0”, it is used as an index for inserting the PSI data assuming that there is no PSI data after the PSI data presence / absence index.

【0077】巡回カウンタ更新指標131は、例えば、
その値が“1”のときPAT用の巡回カウンタ値を更新
し、“2”のときPMT(1)の巡回カウンタ値を更新
し、“n+1”のときPMT(n)の巡回カウンタ値を更
新し、さらに、“0”のとき巡回カウンタの更新を行わ
ないと設定し、PSIデータの巡回カウンタ値を更新す
る指標として用いられる。
The cyclic counter update index 131 is, for example,
When the value is "1", the cyclic counter value for PAT is updated, when it is "2", the cyclic counter value of PMT (1) is updated, and when it is "n + 1", the cyclic counter value of PMT (n) is updated. Further, when it is “0”, it is set that the cyclic counter is not updated, and it is used as an index for updating the cyclic counter value of the PSI data.

【0078】前述したように、挿入指標の中に巡回カウ
ンタ更新指標を設けてPSIデータの管理を行うことに
より、PSIデータ有無指標に基づいてPSIデータの
挿入を行うことができ、また、巡回カウンタ更新用の指
標に基づいて巡回カウンタ値の更新を行うことができ
る。これにより、PAT及びPMT(1)〜PMT(n)の
データ数をカウントすることなく巡回カウンタ値を更新
しながらPSIデータの挿入が可能であるという効果を
得ることができる。
As described above, by providing the cyclic counter update index in the insertion index to manage the PSI data, the PSI data can be inserted based on the PSI data presence / absence index, and the cyclic counter can be inserted. The cyclic counter value can be updated based on the index for updating. As a result, it is possible to obtain the effect that PSI data can be inserted while updating the cyclic counter value without counting the number of PAT and PMT (1) to PMT (n) data.

【0079】図11は本発明の第2の実施形態によるP
SI挿入装置の構成を示すブロック図、図12は本発明
の第2の実施形態によるPSI挿入装置のPSI挿入制
御部の制御動作を説明するフローチャートである。図1
1における符号は図1の場合と同一である。
FIG. 11 shows P according to the second embodiment of the present invention.
FIG. 12 is a block diagram showing the configuration of the SI insertion device, and FIG. 12 is a flowchart illustrating the control operation of the PSI insertion control unit of the PSI insertion device according to the second embodiment of the present invention. Figure 1
The reference numeral in 1 is the same as in FIG.

【0080】図11に示す本発明の第2の実施形態によ
るPSI挿入装置は、受信TSパケットのデータ量に基
づいて、受信TSパケット、ヌルTSパケット及びPS
I−TSパケットの何れかを選択して出力するものであ
り、図1に示した第1の実施形態と基本的に同一の構成
を備えている。第1の実施形態と異なる点は、受信TS
パケットのデータ量及びPSI挿入タイミング指示に基
づいて、出力するデータとして、受信TSパケット、ヌ
ルTSパケット及びPSI−TSパケットの何れかを選
択する制御であり、その他の処理動作は第1の実施形態
と同じである。以下、第1実施形態と異なる点を中心に
説明する。
The PSI inserting apparatus according to the second embodiment of the present invention shown in FIG. 11 uses the received TS packet, the null TS packet and the PS based on the data amount of the received TS packet.
It selects and outputs any of the I-TS packets, and basically has the same configuration as that of the first embodiment shown in FIG. The difference from the first embodiment is that the reception TS
The control is to select any one of a received TS packet, a null TS packet, and a PSI-TS packet as the data to be output based on the data amount of the packet and the PSI insertion timing instruction, and other processing operation is the first embodiment. Is the same as. Hereinafter, the points different from the first embodiment will be mainly described.

【0081】図11において、入力手段7は、初めにP
SIメモリ4にPSIデータを蓄積する。また、入力手
段7は、信号線50を用いてカウンタ部3にPSI挿入
タイミング時間の設定を行う。FIFO1は、TS信号
20を受信し、PSI挿入制御部2からの出力制御信号
40に従って、TSパケット信号21をセレクタ6に向
けて出力する。また、FIFO1は、受信TSパケット
データがある一定量以上データが有るか否かをデータ量
信号30としてPSI挿入制御部2に伝達する。同期信
号発生部8は、内部にカウンタを持ち、TSパケットの
データ長である188バイト毎にTSパケットを出力す
るための同期信号44をPSI挿入制御部2に伝達す
る。また、同期信号発生部8は、バイト毎のカウンタ値
をPSI挿入制御部2にバイトカウンタ値信号45とし
て伝達する。
In FIG. 11, the input means 7 starts with P
The PSI data is stored in the SI memory 4. In addition, the input means 7 sets the PSI insertion timing time in the counter section 3 using the signal line 50. The FIFO 1 receives the TS signal 20, and outputs the TS packet signal 21 to the selector 6 according to the output control signal 40 from the PSI insertion control unit 2. Further, the FIFO 1 transmits to the PSI insertion control unit 2 as a data amount signal 30 whether or not the received TS packet data has a certain amount of data or more. The sync signal generator 8 has a counter inside and transmits a sync signal 44 for outputting a TS packet to the PSI insertion controller 2 for each 188 bytes that is the data length of the TS packet. Further, the synchronization signal generator 8 transmits the counter value for each byte to the PSI insertion controller 2 as a byte counter value signal 45.

【0082】カウンタ部3は、入力手段7によって設定
されたPSI挿入タイミング時間設定に基づいて、PS
I挿入タイミング時間に達するとPSI挿入タイミング
信号34をPSI挿入制御部2に伝達する。PSI挿入
制御部2は、同期信号44毎に、受信TSパケットのデ
ータ量信号30及びPSI挿入タイミング信号34を条
件として、受信TSパケット、ヌルTSパケット及びP
SI−TSパケットの何れかを選択して出力させる。出
力データの選択後の動作は、第1の実施形態の場合と同
一である。
The counter section 3 determines the PS based on the PSI insertion timing time setting set by the input means 7.
When the I insertion timing time is reached, the PSI insertion timing signal 34 is transmitted to the PSI insertion control unit 2. The PSI insertion control unit 2 sets a reception TS packet, a null TS packet, and a PTS for each synchronization signal 44 on condition that the data amount signal 30 of the reception TS packet and the PSI insertion timing signal 34 are conditions.
One of the SI-TS packets is selected and output. The operation after selecting the output data is the same as that in the first embodiment.

【0083】次に、受信TSパケットのデータ量、PS
I挿入タイミングに基づいて、受信TSパケット、ヌル
TSパケット及びPSI−TSパケットの何れかを選択
するPSI挿入制御部2の動作を図12に示すフローを
参照して説明する。
Next, the data amount of the received TS packet, PS
The operation of the PSI insertion control unit 2 that selects one of the received TS packet, the null TS packet, and the PSI-TS packet based on the I insertion timing will be described with reference to the flow shown in FIG.

【0084】(1)図11に示すPSI挿入装置が起動
されると、TSパケットデータを出力するための同期信
号に従って処理がスタートし、初めに、受信TSパケッ
トがあり、かつ、一定量以上データが有るか否かを判断
する(ステップ60、63)。
(1) When the PSI insertion device shown in FIG. 11 is activated, processing is started in accordance with a synchronization signal for outputting TS packet data, and there is a received TS packet at the beginning, and there is a certain amount of data or more. It is determined whether or not there is (steps 60 and 63).

【0085】(2)ステップ63で受信TSパケットが
ある一定量以上ある場合、受信TSパケットの出力を行
い、ステップ60の処理に戻り、同期信号に従ってスタ
ートから処理を開始する(ステップ64)。
(2) If there is a certain amount or more of the received TS packets in step 63, the received TS packets are output, the process returns to step 60, and the process is started from the start according to the synchronization signal (step 64).

【0086】(3)ステップ63で受信TSパケットが
ない、あるいは、あってもある一定量以上ないと判断さ
れた場合、PSIの挿入タイミングになっているか否か
を判断し、PSI挿入タイミングになっている場合、P
SI−TSパケットを挿入し、ステップ60の処理に戻
り、同期信号に従ってスタートから処理を開始する(ス
テップ65、62)。
(3) If it is determined in step 63 that there is no received TS packet, or if there is not more than a certain amount of TS packets, it is determined whether or not it is the PSI insertion timing, and the PSI insertion timing is reached. If P
The SI-TS packet is inserted, the process returns to step 60, and the process is started from the start in accordance with the synchronization signal (steps 65 and 62).

【0087】(4)ステップ65でPSI挿入タイミン
グになっていないと判定された場合、ヌルTSパケット
を挿入し、ステップ60の処理に戻り、同期信号に従っ
てスタートから処理を開始する(ステップ67)。
(4) If it is determined in step 65 that the PSI insertion timing has not come, a null TS packet is inserted, the process returns to step 60, and the process is started from the start in accordance with the synchronization signal (step 67).

【0088】すなわち、前述の本発明第2の実施形態に
おけるPSI挿入制御部2は、受信TSパケットがある
一定量未満のデータ量であり、PSI挿入タイミング時
間に達していればPSI−TSパケットを挿入し、PS
I挿入タイミングに達していなければヌルTSを挿入す
るように動作している。また、PSI挿入制御部2は、
PSI挿入タイミング時間に達していても、受信TSパ
ケットがある一定量以上存在する場合には、常に受信し
たTSパケットを出力し続け、受信TSパケットがある
一定量未満になった段階でPSI−TSパケットを挿入
するように動作すしている。
That is, the PSI insertion controller 2 in the second embodiment of the present invention described above receives the PSI-TS packet if the received TS packet has a data amount less than a certain amount and the PSI insertion timing time is reached. Insert and PS
If the I insertion timing has not been reached, the null TS is inserted. In addition, the PSI insertion control unit 2
Even if the PSI insertion timing time has been reached, if there are more than a certain amount of received TS packets, the received TS packets are always output, and when the received TS packets are less than a certain amount, PSI-TS It is working to insert packets.

【0089】前述した本発明の第2の実施形態によれ
ば、受信TSパケットのデータ量及びPSI挿入タイミ
ングに基づいて、受信TSパケットがある一定量未満で
あり、かつ、PSI挿入タイミングにPSI−TSパケ
ットの挿入を行っているので、PSI−TSパケット挿
入時に受信TSパケットに発生するジッターを削減する
ことが可能になるという効果を得ることができる。
According to the second embodiment of the present invention described above, the number of received TS packets is less than a certain amount based on the data amount of the received TS packets and the PSI insertion timing, and the PSI- Since the TS packet is inserted, it is possible to obtain the effect that it is possible to reduce the jitter generated in the received TS packet when the PSI-TS packet is inserted.

【0090】図13は本発明の第3の実施形態によるP
SI挿入装置の構成を示すブロック図、図14は本発明
の第3の実施形態によるPSI挿入装置のPSI挿入制
御部の制御動作を説明するフローチャートである。図1
3において、12はPCR検出部であり、他の符号は図
1の場合と同一である。
FIG. 13 shows P according to the third embodiment of the present invention.
FIG. 14 is a block diagram showing the configuration of the SI insertion device, and FIG. 14 is a flowchart illustrating the control operation of the PSI insertion control unit of the PSI insertion device according to the third embodiment of the present invention. Figure 1
In FIG. 3, 12 is a PCR detection unit, and other reference numerals are the same as those in FIG.

【0091】図13に示す本発明の第3の実施形態によ
るPSI挿入装置は、受信TSパケットの有無、その受
信TSパケットがPCRデータを含むか否か、PSI強
制挿入指示及びPSI挿入許可指示に基づいて、受信T
Sパケット、ヌルTSパケット及びPSI−TSパケッ
トの何れかを選択して出力する実施形態である。すでに
説明した第1の実施形態と異なる点は、受信TSパケッ
トの有無、該受信TSパケットがPCRデータを含むか
否か、PSI強制挿入指示及びPSI挿入許可指示に基
づいて、出力するためのデータとして、受信TSパケッ
ト、ヌルTSパケット及びPSI−TSパケットの何れ
かを選択する制御であり、その他の処理動作は第1の実
施形態の場合と同一である。そして、図13に示す本発
明の第3の実施形態は、FIFO1の後段にPCR検出
部12を設け、PCR検出部12とPSI挿入制御部2
とを接続した点で本発明の第1の実施形態とその構成が
異なっている。以下、第1実施形態と異なる点を中心に
説明する。
The PSI insertion apparatus according to the third embodiment of the present invention shown in FIG. 13 determines whether or not there is a received TS packet, whether or not the received TS packet includes PCR data, and a PSI forced insertion instruction and a PSI insertion permission instruction. Based on the received T
In this embodiment, any one of an S packet, a null TS packet and a PSI-TS packet is selected and output. The difference from the first embodiment already described is the presence or absence of a reception TS packet, whether or not the reception TS packet includes PCR data, and data to be output based on the PSI forced insertion instruction and the PSI insertion permission instruction. The control is to select any one of the received TS packet, the null TS packet, and the PSI-TS packet, and the other processing operations are the same as those in the first embodiment. In the third embodiment of the present invention shown in FIG. 13, the PCR detection unit 12 is provided after the FIFO 1, and the PCR detection unit 12 and the PSI insertion control unit 2 are provided.
The configuration is different from that of the first embodiment of the present invention in that they are connected to each other. Hereinafter, the points different from the first embodiment will be mainly described.

【0092】図13において、入力手段7は、初めにP
SIメモリ4にPSIデータを蓄積する。また、入力手
段7は、信号線50を用いてカウンタ部3にPSI挿入
許可時間及びPSI強制挿入時間の設定を行う。FIF
O1は、TSパケット信号20を受信し、受信TSパケ
ットデータの有無をデータ量信号35としてPCR検出
部12に伝達する。PCR検出部12は、FIFO1か
らのデータ量信号35を受け、FIFO1に受信TSパ
ケットがあることを認識すると、FIFO1に読み出し
信号46を伝達する。FIFO1は、読み出し信号46
に従って受信したTSパケットのうちの1つのTSパケ
ットのみをPCR検出部12に対して出力する。
In FIG. 13, the input means 7 starts with P
The PSI data is stored in the SI memory 4. In addition, the input means 7 sets the PSI insertion permission time and the PSI forced insertion time in the counter unit 3 using the signal line 50. FIF
The O1 receives the TS packet signal 20 and transmits the presence / absence of the received TS packet data to the PCR detection unit 12 as a data amount signal 35. Upon receiving the data amount signal 35 from the FIFO 1 and recognizing that there is a received TS packet in the FIFO 1, the PCR detection unit 12 transmits a read signal 46 to the FIFO 1. FIFO1 has a read signal 46
Then, only one TS packet of the TS packets received according to the above is output to the PCR detection unit 12.

【0093】PCR検出部12は、FIFO1から出力
された受信TSパケット信号25を受信する。また、P
CR検出部12は、受信TSパケットにPCRデータが
存在するか否かを判断し、PSI挿入制御部2に受信T
Sパケットが存在するか否かをデータ量信号36とし
て、また、受信TSパケットにPCRデータが存在する
か否かをPCRフラグ信号37としてPSI挿入制御部
2に伝達する。同期信号発生部8は、内部にカウンタを
持ち、TSパケットのデータ長である188バイト毎に
TSパケットを出力するための同期信号44をPSI挿
入制御部2に伝達する。また、同期信号発生部8は、バ
イト毎のカウンタ値をPSI挿入制御部2にバイトカウ
ンタ値信号45として伝達する。
The PCR detector 12 receives the received TS packet signal 25 output from the FIFO 1. Also, P
The CR detection unit 12 determines whether or not PCR data is present in the received TS packet, and the PSI insertion control unit 2 receives the received T packet.
Whether or not the S packet exists is transmitted to the PSI insertion controller 2 as a data amount signal 36, and whether or not the PCR data is present in the received TS packet is transmitted as a PCR flag signal 37. The sync signal generator 8 has a counter inside and transmits a sync signal 44 for outputting a TS packet to the PSI insertion controller 2 for each 188 bytes that is the data length of the TS packet. Further, the synchronization signal generator 8 transmits the counter value for each byte to the PSI insertion controller 2 as a byte counter value signal 45.

【0094】カウンタ部3は、入力手段7によって設定
されたPSI挿入許可時間及びPSI強制挿入時間の設
定に基づいて、PSI挿入許可時間に達するとPSI挿
入許可信号31をPSI挿入制御部2に伝達し、PSI
強制挿入時間に達するとPSI強制挿入信号32をPS
I挿入制御部2に伝達する。PSI挿入制御部2は、受
信TSパケットの有無信号36、PCRフラグ信号3
7、PSI挿入許可信号31、及び、PSI強制挿入信
号32を条件とし、出力するデータとして、PCR検出
部12内の受信TSパケット、ヌルTSパケット及びP
SI−TSパケットの何れかを選択する。出力データの
選択後の処理動作は、第1の実施形態の場合と同一であ
る。
The counter unit 3 transmits the PSI insertion permission signal 31 to the PSI insertion control unit 2 when the PSI insertion permission time is reached based on the settings of the PSI insertion permission time and the PSI forced insertion time set by the input means 7. And then PSI
When the forced insertion time is reached, the PSI forced insertion signal 32 is set to PS
It is transmitted to the I insertion control unit 2. The PSI insertion control unit 2 receives the presence / absence signal 36 of the received TS packet and the PCR flag signal 3
7, the PSI insertion permission signal 31 and the PSI forced insertion signal 32 are used as conditions for outputting the received TS packet, the null TS packet, and the P in the PCR detection unit 12.
Select one of the SI-TS packets. The processing operation after selecting the output data is the same as that in the first embodiment.

【0095】次に、PCR検出部内の受信TSパケット
の有無及び該受信TSパケットがPCRデータを含むか
否か及びPSI強制挿入指示及びPSI挿入許可指示に
基づいて、最終出力TSパケットデータとしてPCR検
出部内の受信TSパケット、ヌルTSパケット及びPS
I−TSパケットの何れかを選択するPSI挿入制御部
2の動作を図14に示すフローを参照して説明する。
Next, based on the presence / absence of a received TS packet in the PCR detection unit, whether or not the received TS packet includes PCR data, and the PSI forced insertion instruction and the PSI insertion permission instruction, PCR detection is performed as final output TS packet data. Internal TS packet, null TS packet and PS
The operation of the PSI insertion control unit 2 that selects any of the I-TS packets will be described with reference to the flow shown in FIG.

【0096】(1)図13に示すPSI挿入装置が起動
されると、TSパケットデータを出力するための同期信
号に従って処理がスタートし、初めに、PCR検出部内
の受信TSパケットの有無を検出し、受信TSパケット
がある場合、続いて、その受信TSパケットにPCRデ
ータが有るか否かを判断する(ステップ60、63、6
8)。
(1) When the PSI insertion device shown in FIG. 13 is activated, processing is started in accordance with a synchronization signal for outputting TS packet data, and the presence / absence of a received TS packet in the PCR detection section is first detected. If there is a received TS packet, it is subsequently determined whether or not the received TS packet has PCR data (steps 60, 63, 6).
8).

【0097】(2)ステップ68で受信TSパケットに
PCRデータが有ると判断された場合、続いてPSI強
制挿入時間になっているか否か判断し、強制挿入時間に
なっていれば、PCRデータのある受信したTSパケッ
トを先に出力し、次の同期信号タイミングでPSI−T
Sパケットの挿入を行い、ステップ60の処理に戻っ
て、同期信号に従ってスタートからの処理を開始する
(ステップ61、64、62)。
(2) If it is determined in step 68 that the received TS packet has PCR data, then it is determined whether or not the PSI forced insertion time has come. If the forced insertion time has come, the PCR data Output a certain received TS packet first, and then PSI-T at the next synchronization signal timing.
The S packet is inserted, the process returns to step 60, and the process from the start is started according to the synchronization signal (steps 61, 64, 62).

【0098】(3)ステップ61の判断において強制挿
入時間でないと判断された場合、受信したPCRデータ
のあるTSパケットの出力を行い、ステップ60の処理
に戻って、同期信号に従ってスタートからの処理を開始
する(ステップ64)。
(3) If it is determined in step 61 that the forced insertion time is not reached, the TS packet having the received PCR data is output, the process returns to step 60, and the process from the start is performed according to the synchronization signal. Start (step 64).

【0099】(4)ステップ68の判断においてPCR
データが無いと判断された場合、PSI強制挿入時間に
なっているか否かを判断し、PSI強制挿入時間になっ
ていれば、PSI−TSパケットの挿入を行い、ステッ
プ60の処理に戻って、同期信号に従ってスタートから
の処理を開始する(ステップ61、62)。
(4) PCR in the judgment at step 68
If it is determined that there is no data, it is determined whether or not it is the PSI forced insertion time, and if it is the PSI forced insertion time, a PSI-TS packet is inserted, and the process returns to step 60, Processing from the start is started according to the synchronization signal (steps 61 and 62).

【0100】(5)ステップ61でPSI強制挿入時間
でないと判断された場合、受信したTSパケットの出力
を行い、ステップ60の処理に戻って、同期信号に従っ
てスタートからの処理を開始する(ステップ64)。
(5) If it is determined in step 61 that it is not the PSI forced insertion time, the received TS packet is output, the process returns to step 60, and the process from the start is started according to the synchronization signal (step 64). ).

【0101】(6)ステップ63の判断において受信T
Sが無いと判断された場合、PSI挿入許可時間になっ
ているか否を判断し、PSI挿入許可時間になっていれ
ば、PSI−TSパケットの挿入を行い、ステップ60
の処理に戻って、同期信号に従ってスタートからの処理
を開始する(ステップ66、62)。
(6) Receive T in the judgment of step 63
If it is determined that S does not exist, it is determined whether or not the PSI insertion permission time is reached, and if the PSI insertion permission time is reached, the PSI-TS packet is inserted, and step 60
Then, the process from the start is started according to the sync signal (steps 66 and 62).

【0102】(7)ステップ66の判断で、PSI挿入
許可時間になっていなければ、ヌルTSパケットの挿入
を行い、ステップ60の処理に戻って、同期信号に従っ
てスタートからの処理を開始する(ステップ67)。
(7) If it is determined in step 66 that the PSI insertion permission time has not come, a null TS packet is inserted, the process returns to step 60, and the process from the start is started according to the synchronization signal (step). 67).

【0103】前述したように、本発明の第3の実施形態
によるPSI挿入装置は、受信TSパケットが有り、か
つ、その受信TSパケットにPCRデータが含まれてい
る場合に、その受信TSパケットを最優先に出力し、続
いてPSI−TSパケットの挿入を行うように動作す
る。また、PCRデータが含まれていない場合、PSI
強制挿入時間であればPSI−TSパケットを挿入し、
PSI強制挿入時間でなければ受信TSパケットを出力
するように動作する。さらに、受信TSが無い場合に、
PSI挿入許可時間であればPSI−TSパケットを挿
入し、PSI挿入許可時間でなければヌルTSパケット
の挿入を行うように動作する。
As described above, when the PSI inserting apparatus according to the third embodiment of the present invention has the received TS packet and the received TS packet includes the PCR data, the received TS packet is received. It outputs the highest priority, and then operates to insert the PSI-TS packet. If the PCR data is not included, PSI
If the PSI-TS packet is inserted at the forced insertion time,
If it is not the PSI forced insertion time, it operates so as to output the received TS packet. Furthermore, if there is no received TS,
When the PSI insertion permission time is reached, a PSI-TS packet is inserted, and when the PSI insertion permission time is not reached, a null TS packet is inserted.

【0104】前述のような動作を行う本発明の第3の実
施形態によれば、受信TSパケットの有無、その受信T
SパケットがPCRデータを含むか否か、PSI強制挿
入指示及びPSI挿入許可指示に基づいて、受信TSパ
ケットにPCRデータが有る場合には最優先にその受信
TSパケツトの出力を行い、続いてPSI−TSパケッ
トの挿入を行っているので、PSI−TSパケット挿入
時にPCRデータを含む受信TSパケットに発生するジ
ッターを最優先に削減することが可能となる。
According to the third embodiment of the present invention, which operates as described above, the presence / absence of a received TS packet and its received T
Whether or not the S packet includes PCR data, based on the PSI forced insertion instruction and the PSI insertion permission instruction, if the reception TS packet has PCR data, the reception TS packet is output with the highest priority, and then the PSI is output. -Since the TS packet is inserted, it is possible to reduce the jitter generated in the received TS packet including the PCR data at the time of inserting the PSI-TS packet with the highest priority.

【0105】[0105]

【発明の効果】以上説明したように、本発明によるPS
I挿入方法及びPSI挿入装置によれば次のような効果
を得ることができる。
As described above, the PS according to the present invention
According to the I insertion method and the PSI insertion device, the following effects can be obtained.

【0106】(1)受信TSパケットのデータ量を検出
してPSI−TSパケットの挿入を行っているので、P
SI−TSパケット挿入時に受信TSパケットに発生す
るジッターを削減することができるという効果を得るこ
とができる。
(1) Since the PSI-TS packet is inserted by detecting the data amount of the received TS packet, P
It is possible to obtain the effect that it is possible to reduce the jitter that occurs in the received TS packet when the SI-TS packet is inserted.

【0107】(2)受信TSパケットの有無だけでな
く、その受信TSパケットにPCRデータが含まれるか
否かを監視し、PCRデータを含むTSパケットを最優
先に出力してPSI−TSパケットを挿入するので、P
SI−TSパケット挿入時にPCRデータを含むTSパ
ケットに発生するジッターを最優先に削減することが出
来るという効果を得ることができる。
(2) Not only the presence / absence of the received TS packet but also the presence of PCR data in the received TS packet is monitored, and the TS packet containing the PCR data is output with the highest priority to output the PSI-TS packet. I will insert it, so P
It is possible to obtain the effect that the jitter generated in the TS packet including the PCR data at the time of inserting the SI-TS packet can be reduced with the highest priority.

【0108】(3)PSIデータ挿入後にカウンタのリ
セットを行うようにすることができ、これにより、PS
I挿入間隔の最小間隔と最大間隔特を規定することがで
きるという効果を得ることができる。
(3) It is possible to reset the counter after inserting the PSI data.
It is possible to obtain the effect that the minimum interval and the maximum interval characteristic of the I insertion interval can be defined.

【0109】(4)ユーザ指定の間隔に従ってカウンタ
のリセットを行うことができ、これにより、時間平均的
にPSIデータを均等に挿入することができるという効
果を得ることができる。
(4) The counter can be reset in accordance with the interval designated by the user, whereby the effect that the PSI data can be evenly inserted on a time average basis can be obtained.

【0110】(5)受信TSパケット量の監視を1つの
TSパケットで行うことにより、本発明によるPSI挿
入装置の動作停止時にFIFO内にデータが多量に残存
することがないという効果を得ることができる。
(5) By monitoring the received TS packet amount with one TS packet, it is possible to obtain the effect that a large amount of data does not remain in the FIFO when the operation of the PSI inserting apparatus according to the present invention is stopped. it can.

【0111】(6)PSIデータを挿入面と更新面との
2面のメモリを使用して管理してPSIデータの挿入を
行うことにより、PSIデータ挿入中にも新しいPSI
データの更新を行うことが可能となるという効果を得る
ことができる。
(6) The PSI data is inserted by managing the PSI data by using the memories of two sides, the insertion side and the update side, so that the new PSI is inserted even during the PSI data insertion.
It is possible to obtain the effect that the data can be updated.

【0112】(7)PSIデータ挿入指標に基づいてP
SIデータの挿入を行うようにすることがてき、これに
より、PATデータの有無、PMT数のカウントを行う
ことなくPSIデータの挿入動作を行うことができると
いう効果を得ることができる。
(7) P based on the PSI data insertion index
It is possible to insert SI data, which makes it possible to obtain the effect that the PSI data insertion operation can be performed without counting the presence or absence of PAT data and the number of PMTs.

【0113】(8)巡回カウンタ更新用の指標に基づい
て巡回カウンタの更新を行うようにすることができ、こ
れにより、PAT及びPMT(1)〜PMT(n)のデータ数
のカウントを行うことなく巡回カウンタ値の変更を行う
ことが可能になるという効果を得ることができる。
(8) The cyclic counter can be updated based on the index for updating the cyclic counter, whereby the number of data of PAT and PMT (1) to PMT (n) can be counted. It is possible to obtain the effect that it becomes possible to change the cyclic counter value without the need.

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

【図1】本発明の第1の実施形態によるPSI挿入装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a PSI insertion device according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態によるPSI挿入装置
のPSI挿入制御部の制御動作を説明するフローチャー
トである。
FIG. 2 is a flowchart illustrating a control operation of a PSI insertion control unit of the PSI insertion device according to the first embodiment of the present invention.

【図3】PSI挿入許可時間とPSI強制挿入時間の関
係及びPSI挿入タイミングを説明する図である。
FIG. 3 is a diagram illustrating a relationship between a PSI insertion permission time and a PSI forced insertion time, and PSI insertion timing.

【図4】本発明の第1の実施形態の変形例によるPSI
挿入装置のPSI挿入制御部の制御動作を説明するフロ
ーチャートである。
FIG. 4 is a PSI according to a modification of the first embodiment of the present invention.
It is a flowchart explaining the control operation of the PSI insertion control part of an insertion device.

【図5】カウンタ部で実行されるリセットタイミングを
説明する図である。
FIG. 5 is a diagram illustrating reset timing executed by a counter unit.

【図6】本発明の第1の実施形態の変形例によるカウン
タ部で実行されるカウンタのリセットタイミングを説明
する図である。
FIG. 6 is a diagram illustrating a reset timing of a counter executed by a counter unit according to a modified example of the first embodiment of the present invention.

【図7】本発明の第1の実施形態の変形例による受信T
Sパケットの有無を監視する方法を説明する図である。
FIG. 7 is a reception T according to a modification of the first embodiment of the present invention.
It is a figure explaining the method of monitoring the presence or absence of an S packet.

【図8】PSIデータ蓄積部におけるPSIデータの管
理について説明する図である。
FIG. 8 is a diagram illustrating management of PSI data in a PSI data storage unit.

【図9】PSIデータ蓄積部におけるPSIデータの管
理についてさらに具体的に説明する図である。
FIG. 9 is a diagram for more specifically explaining management of PSI data in a PSI data storage unit.

【図10】挿入指標の中に巡回カウンタ更新指標を設け
てPSIデータの管理を行う例を説明する図である。
FIG. 10 is a diagram illustrating an example of managing a PSI data by providing a cyclic counter update index in the insertion index.

【図11】本発明の第2の実施形態によるPSI挿入装
置の構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of a PSI insertion device according to a second embodiment of the present invention.

【図12】本発明の第2の実施形態によるPSI挿入装
置のPSI挿入制御部の制御動作を説明するフローチャ
ートである。
FIG. 12 is a flowchart illustrating a control operation of a PSI insertion control unit of the PSI insertion device according to the second embodiment of the present invention.

【図13】本発明の第3の実施形態によるPSI挿入装
置の構成を示すブロック図である。
FIG. 13 is a block diagram showing a configuration of a PSI insertion device according to a third embodiment of the present invention.

【図14】本発明の第3の実施形態によるPSI挿入装
置のPSI挿入制御部の制御動作を説明するフローチャ
ートである。
FIG. 14 is a flowchart illustrating a control operation of a PSI insertion control unit of the PSI insertion device according to the third embodiment of the present invention.

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

1 FIFO 2 PSI挿入制御部 3 カウンタ部 4 メモリ 5 ヌルパケット挿入部 6 セレクタ 7 入力手段 8 同期信号発生部 12 PCR検出部 1 FIFO 2 PSI insertion controller 3 Counter section 4 memory 5 Null packet insertion part 6 selector 7 Input means 8 Sync signal generator 12 PCR detector

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鳥居 伸祥 神奈川県横浜市戸塚区戸塚町216番地 株式会社 日立製作所 情報通信事業部 内 (56)参考文献 特開 平9−55767(JP,A) 特表 平9−505433(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04J 3/00 H04N 7/08 H04N 7/081 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobuyoshi Torii 216 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Hitachi, Ltd. Information & Communication Division (56) Reference JP-A-9-55767 Tokushuhei 9-505433 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04J 3/00 H04N 7/08 H04N 7/081

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1または複数のトランスポート・ストリ
ーム(以下、TSという)を受信し、同期信号に従っ
て、前記受信したTS中にプログラム仕様情報(以下、
PSIという)TSパケットを挿入するプログラム仕様
情報挿入方法において、受信TSパケット量を監視し、
受信TSパケットがある一定量以上存在する場合、受信
TSパケットを出力し、受信TSパケットがある一定量
未満でありかつPSIを挿入するタイミングである場
合、PSI−TSパケットを挿入し、受信TSパケット
がある一定量未満でありかつPSIを挿入するタイミン
グでない場合、ヌルTSパケットを挿入することを特徴
とするPSI挿入方法。
1. One or more transport streams (hereinafter referred to as TS) are received, and program specification information (hereinafter referred to as TS) is received in the received TS according to a synchronization signal.
In the program specification information insertion method of inserting a TS packet (referred to as PSI), the received TS packet amount is monitored,
When there are more than a certain amount of received TS packets, the received TS packets are output, and when the number of received TS packets is less than a certain amount and it is time to insert PSI, PSI-TS packets are inserted and received TS packets are received. A PSI insertion method, characterized in that a null TS packet is inserted when it is less than a certain amount and it is not the timing to insert the PSI.
【請求項2】 1または複数のTSを受信し、同期信号
に従って、前記受信したTS中にPSI−TSパケット
を挿入するPSI挿入方法において、受信TSパケット
量を監視し、受信TSパケットがある一定量以上存在し
かつPSIを強制的に挿入するタイミングである場合、
PSI−TSパケットを挿入し、受信TSパケットがあ
る一定量以上存在しかつPSIを強制的に挿入するタイ
ミングでない場合、受信TSパケットを出力し、受信T
Sパケットがある一定量未満でありかつPSI挿入許可
状態である場合、PSI−TSパケットを挿入し、受信
TSパケットがある一定量未満でありかつPSI挿入非
許可状態である場合、ヌルTSパケットを挿入すること
を特徴とするPSI挿入方法。
2. In a PSI insertion method of receiving one or a plurality of TSs and inserting PSI-TS packets into the received TSs according to a synchronization signal, the received TS packet amount is monitored and the received TS packet is constant. If there is more than a certain amount and it is the timing to forcibly insert the PSI,
When the PSI-TS packet is inserted, the reception TS packet is present in a certain amount or more and it is not the timing to forcibly insert the PSI, the reception TS packet is output and the reception T packet is received.
If the S packet is less than a certain amount and is in the PSI insertion permission state, a PSI-TS packet is inserted, and if the received TS packet is less than a certain amount and the PSI insertion is not permitted state, a null TS packet is set. A PSI insertion method characterized by inserting.
【請求項3】 1または複数のTSを受信し、同期信号
に従って、前記受信したTS中にPSI−TSパケット
を挿入するPSI挿入方法において、受信TSパケット
の有無及び該受信TSパケットが番組時刻基準参照値
(以下、PCRという)データを含んでいるか否かを監
視し、受信TSパケットが存在しかつ該受信TSパケッ
トがPCRデータを含むTSパケットでありかつPSI
を強制的に挿入するタイミングである場合、今回の同期
信号で該PCRデータを含んだ受信TSパケットを出力
し、次の同期信号でPSI−TSパケットを挿入し、受
信TSパケットがありかつ該TSパケットがPCRデー
タを含むTSパケットでありかつPSIを強制的に挿入
するタイミングでない場合、該受信TSパケットを出力
し、受信TSパケットがありかつ該受信TSパケットが
PCRデータを含まないTSパケットでありかつPSI
を強制的に挿入するタイミングである場合、PSI−T
Sパケットを挿入し、受信TSパケットがありかつ該受
信TSパケットがPCRデータを含まないTSパケット
でありかつPSIを強制的に挿入するタイミングでない
場合、該受信TSパケットを出力し、受信TSパケット
が無くかつPSI挿入許可状態である場合、PSI−T
Sパケットを挿入し、受信TSパケットが無くかつPS
I挿入非許可状態である場合、ヌルTSパケットを挿入
することを特徴とするPSI挿入方法。
3. A PSI inserting method of receiving one or a plurality of TSs and inserting PSI-TS packets into the received TSs according to a synchronization signal, in the presence or absence of the received TS packets and the received TS packets being a program time reference. It is monitored whether or not reference value (hereinafter, referred to as PCR) data is included, and a reception TS packet exists, the reception TS packet is a TS packet including PCR data, and PSI.
If it is the timing to forcibly insert, the reception TS packet including the PCR data is output by the current synchronization signal, the PSI-TS packet is inserted by the next synchronization signal, and there is a reception TS packet and the TS If the packet is a TS packet containing PCR data and it is not the timing for forcibly inserting PSI, then the received TS packet is output, and there is a received TS packet and the received TS packet is a TS packet that does not contain PCR data. And PSI
If it is the timing to forcibly insert the PSI-T,
When an S packet is inserted, there is a received TS packet, the received TS packet is a TS packet that does not include PCR data, and it is not the timing to forcibly insert PSI, the received TS packet is output and the received TS packet is If there is none and the PSI insertion is permitted, PSI-T
S packet inserted, no TS packet received and PS
A PSI insertion method, wherein a null TS packet is inserted when the I insertion is not permitted.
【請求項4】 1または複数のTSを受信し、受信した
TS中にPSI−TSパケットを挿入するPSI挿入装
置において、TSを受信する手段と、受信TSパケット
を保持し受信TSパケットの量を監視する手段と、ヌル
TSパケットデータを保持する手段と、PSIデータを
保持する手段と、PSI挿入タイミングを指示する手段
と、TSパケットを出力するための同期信号を発生する
手段と、TSパケットを出力するための期間を示す手段
と、受信TSパケットの量及びPSI挿入タイミング指
示に基づいて出力するデータとして受信TSパケット、
ヌルTSパケット及びPSI−TSパケットの何れかを
選択する手段と、選択したTSパケットデータを出力す
る手段と、PSI挿入タイミングを更新する手段と、P
SIデータを更新する手段とを具備したことを特徴とす
るPSI挿入装置。
4. A PSI inserting device for receiving one or a plurality of TSs and inserting PSI-TS packets in the received TSs, a means for receiving the TSs, a means for holding the received TS packets, and an amount of the received TS packets. A means for monitoring, a means for holding null TS packet data, a means for holding PSI data, a means for instructing PSI insertion timing, a means for generating a synchronization signal for outputting a TS packet, and a TS packet Means for indicating a period for outputting, a received TS packet as data to be output based on an amount of the received TS packet and a PSI insertion timing instruction,
Means for selecting either the null TS packet or the PSI-TS packet, means for outputting the selected TS packet data, means for updating the PSI insertion timing, P
A PSI insertion device comprising means for updating SI data.
【請求項5】 1または複数のTSを受信し、受信した
TS中にPSI−TSパケットを挿入するPSI挿入装
置において、TSを受信する手段と、受信TSパケット
を保持し受信TSパケットの量を監視する手段と、ヌル
TSパケットデータを保持する手段と、PSIデータを
保持する手段と、PSI強制挿入を指示する手段と、P
SI挿入許可を指示する手段と、TSパケットを出力す
るための同期信号を発生する手段と、TSパケットを出
力するための期間を示す手段と、受信TSパケットの
量、PSI強制挿入指示及びPSI挿入許可指示に基づ
いて出力するデータとして受信TSパケット、ヌルTS
パケット及びPSI−TSパケットの何れかを選択する
手段と、選択したTSパケットデータを出力する手段
と、PSI強制挿入時間を更新する手段と、PSI挿入
許可時間を更新する手段と、PSIデータを更新する手
段とを具備したことを特徴とするPSI挿入装置。
5. A PSI inserting device which receives one or more TSs and inserts PSI-TS packets into the received TSs, and a means for receiving the TSs, holding the received TS packets, and determining the amount of the received TS packets. Means for monitoring, means for holding null TS packet data, means for holding PSI data, means for instructing PSI forced insertion, P
Means for instructing SI insertion permission, means for generating a synchronization signal for outputting TS packets, means for indicating a period for outputting TS packets, amount of received TS packets, PSI forced insertion instruction, and PSI insertion Received TS packet and null TS as data output based on the permission instruction
Means for selecting either packet or PSI-TS packet, means for outputting the selected TS packet data, means for updating the PSI forced insertion time, means for updating the PSI insertion permission time, and updating PSI data A PSI insertion device comprising:
【請求項6】 1または複数のTSを受信し、受信した
TS中にPSI−TSパケットを挿入するPSI挿入装
置において、TSを受信する手段と、受信TSパケット
を保持し受信TSパケットの有無を監視する手段と、受
信TSパケットがPCRデータを含むTSパケットか否
かを監視する手段と、ヌルTSパケットデータを保持す
る手段と、PSIデータを保持する手段と、PSI強制
挿入を指示する手段と、PSI挿入許可を指示する手段
と、TSパケットを出力するための同期信号を発生する
手段と、TSパケットを出力するための期間を示す手段
と、受信TSパケットの有無、該受信TSパケットがP
CRデータを含むか否か、PSI強制挿入指示及びPS
I挿入許可指示に基づいて出力するデータとして受信T
Sパケット、ヌルTSパケット及びPSI−TSパケッ
トの何れかを選択する手段と、選択したTSパケットデ
ータを出力する手段と、PSI強制挿入時間を更新する
手段と、PSI挿入許可時間を更新する手段と、PSI
データを更新する手段とを具備したことを特徴とするP
SI挿入装置。
6. A PSI inserting apparatus which receives one or more TSs and inserts PSI-TS packets into the received TSs, and a means for receiving the TSs, holding the received TS packets, and checking the presence or absence of the received TS packets. Means for monitoring, means for monitoring whether or not the received TS packet is a TS packet including PCR data, means for holding null TS packet data, means for holding PSI data, and means for instructing forced insertion of PSI. , PSI insertion permission means, means for generating a sync signal for outputting a TS packet, means for indicating a period for outputting a TS packet, presence / absence of a received TS packet, and the received TS packet is P
Whether to include CR data, PSI forced insertion instruction and PS
Received as data to be output based on the I insertion permission instruction
Means for selecting any of the S packet, null TS packet and PSI-TS packet, means for outputting the selected TS packet data, means for updating the PSI forced insertion time, and means for updating the PSI insertion permission time , PSI
And a means for updating data.
SI insertion device.
JP10046097A 1997-04-17 1997-04-17 Program specification information insertion method and program specification information insertion device Expired - Fee Related JP3466417B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10046097A JP3466417B2 (en) 1997-04-17 1997-04-17 Program specification information insertion method and program specification information insertion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10046097A JP3466417B2 (en) 1997-04-17 1997-04-17 Program specification information insertion method and program specification information insertion device

Publications (2)

Publication Number Publication Date
JPH10294705A JPH10294705A (en) 1998-11-04
JP3466417B2 true JP3466417B2 (en) 2003-11-10

Family

ID=14274531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10046097A Expired - Fee Related JP3466417B2 (en) 1997-04-17 1997-04-17 Program specification information insertion method and program specification information insertion device

Country Status (1)

Country Link
JP (1) JP3466417B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001078158A (en) * 1999-09-02 2001-03-23 Hitachi Ltd Transmitting device, multiplexing device and receiving device for cable television

Also Published As

Publication number Publication date
JPH10294705A (en) 1998-11-04

Similar Documents

Publication Publication Date Title
US6148135A (en) Video and audio reproducing device and video decoding device
EP0626770B1 (en) Data demultiplexer
JP3130464B2 (en) Data decryption device
KR100392211B1 (en) Data transmitter, data receiver, and data transmission controller
EP2278803B1 (en) Data recording and reproducing method and system
EP1089482A1 (en) Communication device, communication method, and recorded medium
JP3417392B2 (en) Synchronous control device
WO1995023495A2 (en) Method and device for transmitting data packets
JP3052824B2 (en) Audio playback time adjustment circuit
US20040047612A1 (en) Recording/reproducing apparatus, video data recording apparatus, recording method, and reproducing method
KR100608061B1 (en) Apparatus and method for multiplexing to generate transport stream
CN100461844C (en) Method and device for video data transmission for implementing special modes
CN100527712C (en) Systems and methods for processing packet streams
JP3429652B2 (en) Digital coding and multiplexing equipment
US7394829B2 (en) Data multiplexing apparatus, data multiplexing method, and transmission apparatus
EP1758288A1 (en) Transport stream processing device and transport stream processing method
JP3185863B2 (en) Data multiplexing method and apparatus
US20020034163A1 (en) Regulation method and apparatus for ATM cell delay variation
JP3466417B2 (en) Program specification information insertion method and program specification information insertion device
EP0873019B1 (en) Device and method for transmitting digital audio and video data
US6735223B1 (en) Method of controlling offset of time stamp and apparatus for transmitting packet using the same
JP3650018B2 (en) RECORDING DEVICE, REPRODUCTION DEVICE, AND METHOD THEREOF
EP2557786B1 (en) Delay controlled decoding apparatus and method
CN100461747C (en) Method for adjusting code rate of code stream in multimedia
KR100817248B1 (en) Method and device for reading mpeg recorded data transmitted on an ieee 1394 bus

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees