JPH10294705A - Method and device for inserting program specification information - Google Patents

Method and device for inserting program specification information

Info

Publication number
JPH10294705A
JPH10294705A JP10046097A JP10046097A JPH10294705A JP H10294705 A JPH10294705 A JP H10294705A JP 10046097 A JP10046097 A JP 10046097A JP 10046097 A JP10046097 A JP 10046097A JP H10294705 A JPH10294705 A JP H10294705A
Authority
JP
Japan
Prior art keywords
psi
packet
data
received
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10046097A
Other languages
Japanese (ja)
Other versions
JP3466417B2 (en
Inventor
Toshiaki Suzuki
敏明 鈴木
Itaru Mimura
到 三村
Tatsuya Kameyama
達也 亀山
Nobunaga Torii
伸祥 鳥居
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)

Abstract

PROBLEM TO BE SOLVED: To prevent delay jitters from being produced in a received TS packet, in the case of multiplexing program specification information(PSI) on a received transport stream(TS) and sending the result. SOLUTION: A first-in first-out memory (FIFO) 1 monitors the presence of a received TS packet, and a counter section 3 is used to control a timing for the insertion of a PSI-TS packet which is not to be set to a single point but to be a predetermined period. Furthermore, a PSI control section 2 controls the insertion of the PSI-TS packet within the period, when no received TS packet exists. Thus, in the case of inserting the PSI-TS packet in the received TS, jitters caused in the received TS packet are reduced.

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 method for inserting program specification information and an apparatus for inserting program specification information, and more particularly to an MPEG (Moving Picture Experts Group) multiplexing system specification (ITU-T H.222.0, ISO / IEC 13818). -1), and program specification information (Program Specific Informatio) in a transport stream (hereinafter referred to as TS).
n, hereinafter referred to as PSI) and a device for inserting the PSI.

【0002】[0002]

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

【0003】[0003]

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

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

【0005】この結果、TSを受信し、そのTSをデコ
ードし映像等を再生する装置は、受信するTSパケット
に対するジッターが大きい場合に、TSパケット受信バ
ッファのアンダー・フローやオーバー・フローを引き起
こしてしまうという問題点を生じることになる。
As a result, a device that receives a TS, decodes the TS, and reproduces a video or the like causes an underflow or an overflow of the TS packet reception buffer when the jitter with respect to the received TS packet is large. This causes a 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 including gram clock reference (hereinafter, referred to as PCR) data, the content of the PCR data will not match the actual arrival time. That is, since the decoder reproduces the reference time for reproducing a video or the like from the PCR data and the PCR data arrival time, if there is a discrepancy between the content of the PCR data and the actual arrival time, the decoder correctly determines the reference time. There is a problem that 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 can solve the above-mentioned problems and can reduce jitter generated in a received TS packet to be transmitted. It is in.

【0008】また、本発明の第2の目的は、特にPCR
データを含むTSパケットに発生するジッターを最優先
に削減することのできるPSI挿入方法及びPSI挿入
装置を提供することにある。
[0008] A second object of the present invention is to provide a method particularly for PCR.
An object of the present invention is to provide a PSI insertion method and a PSI insertion device capable of reducing the jitter occurring in a TS packet including 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 firstly provides a method for generating a TS packet as little as possible in order to minimize the occurrence of jitter in a received TS packet. Monitoring the data amount of the received TS packet, outputting the received TS packet when the received TS packet is equal to or more than a certain amount, and outputting the received TS packet when the received TS packet is less than the certain amount and when it is time to insert the PSI. PSI-TS packets are inserted, and if the received TS packets are less than a certain amount and P
It is characterized in that a null TS packet is inserted when it is not time to insert an SI. Note that a null TS packet is a TS packet whose PID (Packet Identifier) value specified by the MPEG multiplexing system specification is “0x1FFF”.

【0010】本発明は、第2にPSIデータの挿入を許
可する時間と受信TSパケットデータ量に依らず強制的
に挿入する時間とを設定し、TSパケットデータを出力
するための同期信号毎に、受信TSパケット量を監視
し、受信TSパケットがある一定量以上ありかつPSI
を強制的に挿入するタイミングである場合にPSI−T
Sパケットを挿入し、受信TSパケットがある一定量以
上ありかつPSIを強制的に挿入するタイミングでない
場合に受信TSパケットを出力し、受信TSパケットが
ある一定量未満でありかつPSI挿入許可状態である場
合にPSI−TSパケットを挿入し、受信TSパケット
がある一定量未満でありかつPSI挿入非許可状態であ
る場合にヌルTSパケットを挿入することを特徴とす
る。
The present invention secondly sets a time for permitting the insertion of PSI data and a time for forcibly inserting the PSI data irrespective of the amount of received TS packet data, and for each synchronization signal for outputting TS packet data. , The amount of received TS packets is monitored, and the amount of received TS packets is
PSI-T when it is time to forcibly insert
When an S packet is inserted and the received TS packet is above a certain amount and it is not the timing to forcibly insert the PSI, the received TS packet is output, and when the received TS packet is below a certain amount and the PSI insertion is permitted. It is characterized in that a PSI-TS packet is inserted in a certain case, and a null TS packet is inserted in a case where the received TS packet is smaller 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パケット
を挿入することを特徴とする。
According to the present invention, thirdly, a time for permitting insertion of PSI data and a time for forcibly inserting PSI data are set, and a reception TS is set for each synchronization signal for outputting TS packet data.
It monitors the presence or absence of a packet and whether the received TS packet contains PCR data. If there is a received TS packet, the TS packet is a TS packet containing PCR data, and it is time to forcibly insert a PSI. A reception TS packet including the PCR data is output as output data for the current synchronization signal, and a PSI-TS packet is inserted as data to be output in the next synchronization signal. If it is a TS packet including data and it is not the timing to forcibly insert the PSI, the received TS packet is output, and if there is a received TS packet and the received TS packet is
If the packet is a TS packet that does not include PCR data and it is the timing to forcibly insert the PSI, a PSI-TS packet is inserted, and if there is a received TS packet and the TS packet does not include the PCR data, If the received TS packet is not present and the timing is not forcibly inserting the PSI, the received TS packet is output.
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パケットの何れかを選択する手段と、選択
したパケットデータを出力する手段とを具備したことを
特徴とする。
Fourth, the present invention provides a synchronizing signal generating means for outputting TS packet data, a means for holding received TS packets and monitoring the amount of received TS packets, a means for indicating PSI insertion timing, 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; Means for outputting the selected packet data.

【0013】本発明は、第5にTSパケットデータを出
力するための同期信号発生手段と、受信TSパケットを
保持し受信TSパケット量を監視する手段と、PSI強
制挿入を指示する手段と、PSI挿入許可を指示する手
段と、TSパケットデータを出力するための同期信号毎
に受信TSパケットの有無、PSI強制挿入指示及びP
SI挿入許可指示に基づいて出力するデータとして受信
TSパケット、ヌルTSパケット及びPSI−TSパケ
ットの何れかを選択する手段と、選択したパケットデー
タを出力する手段とを具備したことを特徴とする。
Fifthly, the present invention provides a synchronizing signal generating means for outputting TS packet data, a means for holding received TS packets and monitoring the amount of received TS packets, a means for instructing PSI forced insertion, Means for instructing insertion permission, presence / absence of a received TS packet for each synchronization signal for outputting TS packet data, PSI forced insertion instruction and P
It is characterized by comprising 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, the present invention provides a synchronizing 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, Means for monitoring whether the packet is a packet, means for instructing forced insertion of PSI,
Means for instructing I insertion permission, presence or absence of a received TS packet for each synchronization signal for outputting TS packet data, whether or not the TS packet includes PCR, PSI forced insertion instruction and PSI insertion permission instruction. Received TS packets, null TS packets and PSI-
It is characterized by comprising means for selecting one of the TS packets and means for outputting the selected packet.

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

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

【0017】本発明は、第9に1または複数のTSパケ
ットを受信し、受信TSパケットを保持し受信TSパケ
ットの有無を監視する手段が、TSパケットの有無を1
88バイト以下で監視することを特徴とする。
According to a ninth aspect of the present invention, a means for receiving one or a plurality of TS packets, holding the received TS packets, and monitoring the presence / absence of the received TS packets is based on the fact that the presence or absence of the TS packets
It is characterized in that monitoring is performed with 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 insertion surface holding the PSI data being inserted and the contents of the reception TS change.
It has two PSI data holding areas with an update plane for holding I data, updates the new PSI data changed while outputting the PSI data on the insertion plane, and updates the new PSI data. After completion of the above, the update plane is changed to a new insertion plane, and PSI data insertion is sequentially performed.

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

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

【0021】[0021]

【発明の実施の形態】以下、本発明によるPSI挿入方
法及び装置の実施形態を図面により詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a PSI insertion method and apparatus according to the present invention.

【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 a first embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of the I insertion device, 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, and FIG. 3 is a PSI insertion permission time and a PSI forced insertion time. FIG. 4 is a diagram for explaining the relationship of the 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 input means, and 8 is a synchronization signal generation unit. The P according to the first embodiment of the invention shown in FIG.
The SI insertion device determines the data amount of the received TS packet and the PS
In this embodiment, any one of a received TS packet, a null TS packet, and a PSI-TS packet is selected and output based on an I forced insertion instruction and a 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.
A counter unit 3 for issuing a PSI forced insertion instruction and a PSI insertion permission instruction, a PSI memory 4 for storing PSI data, a null TS packet insertion unit 5 for holding a null TS packet and performing an insertion operation, Selector 6 and P
An input unit 7 for updating SI data, setting a PSI insertion permission time and setting a PSI forced insertion time, and a synchronization signal generation unit 8 for generating a synchronization signal for outputting a TS packet.

【0024】次に、前述のように構成される本発明の第
1の実施形態によるPSI挿入装置の動作を説明する。
Next, the operation of the PSI insertion device 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 which receives one or a plurality of TSs, multiplexes PSI data necessary for the received TSs, and outputs the multiplexed data.
Is used to write necessary PSI data into the PSI memory 4. That is, in writing data to the PSI memory 4, the input means 7 specifies a write destination address using the address signal 52 and writes necessary data to the PSI memory 4 using the data signal 53. The input unit 7 sets the PSI insertion permission time and the PSI forced insertion time in the counter unit 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 according to the output control signal 40 from the PSI insertion control unit 2. Also, the FIFO 1 transmits to the PSI insertion control unit 2 as a data amount signal 30 whether or not a certain amount of received TS packet data exists in the FIFO. The synchronization signal generator 8 has a counter inside and transmits a synchronization signal 44 for outputting a TS packet to the PSI insertion controller 2 for every 188 bytes, which is the data length of the TS packet.
Further, 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 section 3 transmits a PSI insertion permission signal 31 to the PSI insertion control section 2 when the PSI insertion permission time has been reached, based on the PSI insertion permission time and the PSI forced insertion time set by the input means 7. , When the PSI forced insertion time is reached, the PSI forced insertion signal 32
This is transmitted to the insertion control unit 2. The PSI insertion control unit 2 receives the received T packet under the condition of a data amount signal 30, a PSI insertion permission signal 31, and a PSI forced insertion signal 32.
One of an S packet, a null TS packet and a 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, it is assumed that, for example, a received TS packet is selected and output from the PSI insertion device shown in FIG. In this case, the PSI insertion control unit 2
The received TS packet output control signal 40 is transmitted to the FIFO 1 based on the synchronization signal 44 for outputting packet data and the byte counter value signal 45. FIFO1 is
A TS packet is output to the selector 6 as a TS packet signal 21 based on the received TS packet output control signal 40. 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.
Is switched.

【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, a null T
It is assumed that the output of the S packet is selected and output. In this case, the PSI insertion control unit 2 transmits a null packet insertion control signal 42 to the null TS packet insertion unit 5 based on the synchronization signal signal 44 for outputting TS packet data and the byte counter value signal 45. The null packet insertion unit 5 outputs a null TS packet to the selector 6 as a null TS packet signal 22 based on the null TS packet insertion control signal 42. The PSI insertion control unit 2 controls 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の切り換えを行う。
Also, for example, a PSI insertion device
-It is assumed that the output of the TS packet is selected and output.
In this case, the PSI insertion control unit 2 specifies an output address based on the synchronization signal 44 for outputting TS packet data and the byte counter value signal 45, and specifies an output address designation signal 51 and a PSI packet insertion control signal 41.
Is transmitted to the PSI memory 4. After starting transmission of the PSI packet insertion control signal 41 to the PSI memory 4, the PSI insertion control section 2 transmits a reset signal 33 to the counter section 3 to reset the counter. PSI memory 4
Converts the PSI-TS packet into a PS based on the output address designation signal 51 and the PSI packet insertion control signal 41.
It is output to the selector 6 as an 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 for selecting any one 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 started, the process starts in accordance with the synchronization signal for outputting the TS packet data, and firstly, it is time to forcibly insert the PSI. It is determined whether or not it is (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 the PSI has been reached, the PSI-T
The S packet is inserted, and the process returns to step S60.
Processing is started from the start according to 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 the PSI has not been reached, the reception TS
It is determined whether or not there is a packet and whether or not there is more than a certain amount of data. If there is more than a certain amount of the received TS packet, the received TS packet is output, and the process returns to the step 60 to start from the start according to the synchronization signal. The processing 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 that there is not more than a certain amount, it is determined whether or not the PSI insertion permission time has been reached. Has reached the PSI
-Insert a TS packet and return to the process of step 60;
Processing is started from the start according to 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 according to the synchronization signal (step 67). .

【0037】次に、図3を参照して、PSI挿入許可時
間とPSI強制挿入時間の関係及びPSI挿入タイミン
グについて説明する。以下では、PSIデータの挿入を
1秒に1回以上行う場合を例として、PSI挿入のタイ
ミングについて説明する。
Next, the relationship between the PSI insertion permitted 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 as an example a case where PSI data is inserted at least once per second.

【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 a second,
For example, the PSI forced insertion time is set to one second, and the PSI insertion permission time is set to 0.8 seconds to operate. This makes it possible to insert the PSI 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, if the received TS packet is less than a certain amount and the PSI insertion permission time has been reached, the PSI-TS packet is inserted.
The PSI insertion device shown in FIG. 1 inserts a PSI-TS packet from the PSI insertion permitted time to the PSI forced insertion time, that is, at a timing when the received TS packet is less than a certain amount within the PSI insertion grace period (83). Will be done. However, if there is always a certain amount or more of the received TS packets within the PSI insertion grace period, the PSI-TS packets will be 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
S packet data amount, 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 during the PSI insertion permitted time, it is possible to reduce the jitter generated in the received TS packet when the PSI-TS packet is inserted. The effect of being possible can be obtained.

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

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

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

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

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

【0047】前述した変形例は、前述で説明したように
PSI−TSパケット挿入後にカウンタのリセットを行
う。
In the above-described modification, 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)後、カウンタのリセットが行われたことを
示す。
In the example shown in FIG. 5, first, the counting of the counter section 3 is started (80), and subsequently, the PSI insertion permission time (81) is reached. The PSI insertion time 1 (83) corresponds to the reception TS during the PSI insertion permission time.
When the packet reaches a certain amount, the 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 insertion of the PSI-TS packet (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 returned again.
And the received TS packet did not reach a certain amount, indicating that the PSI forced insertion time (82) has been 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. The counter reset (88) is based on the PSI-T
This indicates that the counter was reset after the S packet was forcibly inserted (84).

【0051】前述した本発明の第1の実施形態の変形例
は、PSI挿入許可中に受信TSパケットがある一定量
に達するとPSI−TSパケットを挿入しカウンタ部3
のリセットを行い、また、PSI挿入許可中に受信TS
パケットがある一定量に達することがなければ、PSI
強制挿入タイミングでPSI−TSパケットの挿入を行
ってカウンタ部3のリセットを行うことになる。すなわ
ち、カウンタ部3は、何れの場合においてもPSI−T
Sパケット挿入後にカウンタがリセットされるため、カ
ウンタリセット間隔1(86)とカウンタのリセット間
隔2(87)との間隔が異なることになる。
According to a modification of the first embodiment of the present invention, when a received TS packet reaches a certain amount while PSI insertion is permitted, a PSI-TS packet is
Of the receiving TS while the PSI insertion is permitted.
If the packet does not reach a certain amount, the PSI
The counter unit 3 is reset by inserting the PSI-TS packet at the forced insertion timing. That is, the counter unit 3 sets the PSI-T
Since the counter is reset after the S packet is inserted, 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, the effect that the minimum interval and the maximum interval of the PSI insertion interval can be defined is provided. 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,
-Although the counter of the counter unit 3 is reset after the insertion of the TS packet, the first embodiment of the present invention can modify the counter unit 3; The counter of the counter unit 3 can be reset at the same time.

【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 a modification of the first embodiment of the present invention. Hereinafter, a modification of the counter unit 3 will be described with reference to FIG. 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, first, the counting of the counter section 3 is started (80), and subsequently, the PSI insertion permission time (81) is reached. The PSI insertion time (83) is determined by the fact that the amount of received TS packets has reached 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 has reached the PSI forced insertion time. The counter reset (85) is set to PSI
This indicates that the counter has been reset after reaching the reset time set by the user after the forced insertion time.

【0056】続いて、再度PSI挿入許可時間(81)
になり、さらに受信TSパケット量がある一定量に達す
ることがなかったためにPSI強制挿入時間(82)に
なったことを示している。PSI挿入時間(84)は、
PSI挿入許可時間中に受信TSパケット量がある一定
量未満になることがなかったために、PSI強制挿入指
示によってPSI−TSパケットを強制的に挿入したこ
とを示す。カウンタのリセット(88)は、PSI−T
Sパケット強制挿入(84)後、ユーザが設定したリセ
ット時間に達して、カウンタのリセットが行われたこと
を示す。すなわち、この変形例では、PSI挿入時間に
関係なくユーザが設定した時間に達するとカウンタ部3
のリセットが行われるので、カウンタリセット間隔1
(86)とカウンタリセット間隔2(87)の間隔とは
同一の間隔となる。
Subsequently, the PSI insertion permission time (81) is returned again.
, And the PSI forced insertion time (82) has been reached because the amount of received TS packets did not reach a certain amount. The 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 become less than the certain amount during the PSI insertion permission time. The counter reset (88) is based on the PSI-T
After the S packet forcible insertion (84), the reset time set by the user has been reached, indicating that the counter has been reset. That is, in this modification, when the time set by the user reaches the time regardless of the PSI insertion time, the counter unit 3
Is reset, the counter reset interval 1
The interval between (86) and the counter reset interval 2 (87) is the same interval.

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

【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 fixed value, the first embodiment of the present invention The detection of the amount can be modified to be monitored in 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 for monitoring the presence or absence of a received TS packet according to a 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.
The situation where the data amount in IFO1 is monitored by one TS packet is shown.

【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, FIFO 1 receives one or a plurality of TSs (TS signals 20) and stores T
Holds the S packet 100. Also, FIFO1 is F
The amount of TS packet data in the FIFO1 is monitored by one TS packet. If there is one or more TS packets in the FIFO1, the presence of data is indicated, and if not, the absence of data is indicated. The information is transmitted to the control unit 2. The PSI insertion control unit 2 receives the received TS packet presence / absence signal 30, the PSI insertion permission signal 31, and the PSI forced insertion signal 32, and receives the received T
One of S packet, null TS packet and PSI-TS packet is selected. The operation after the selection of the output TS packet 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 exists in the FIFO 1
Since the data is composed of 88 bytes, data is stored in the FIFO 1 in multiples of 188 bytes. Therefore, the detection may be performed based 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, when at least one TS packet exists as data in the FIFO 1, the TS packet is output. Therefore, an effect that a large amount of data does not remain in the FIFO 1 when the operation is stopped can be obtained.

【0063】次に、前述した本発明の第1の実施形態に
おけるPSIデータの保持形式及び挿入方法を説明す
る。
Next, the holding format and insertion method of the PSI data according to the 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 4.
FIG. 9 is a diagram for explaining the management of the I data, and FIG. 9 is a diagram for more specifically explaining the management of the PSI data in the PSI data storage unit 4. Referring to FIG. 8 and FIG. And an 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 using, for example, a Dual Port RAM, and an input PSI data signal 53
And outputs the output PSI-TS packet signal 23. The PSI data holding format shown in FIG.
The PSI data that is currently inserted (PSI data A side) and the PSI changed due to the change in the received TS
P of two surfaces with the surface that holds data (PSI data B surface)
PSI data having an 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 surface, the update surface is changed to a new insertion surface as shown in FIG.
Insertion of PSI data is performed with the SI data B side as the insertion plane. At this time, the PSI data A surface shown in FIG. 8B is changed to a new update surface, and becomes a surface on which the updated PSI data is updated during the insertion of the PSI data by the PSI data B surface.

【0067】前述で説明したように、PSIデータを挿
入面と更新面との2面の領域を使用して管理することに
より、PSIデータ挿入中にも新しいPSIデータの更
新を行うことが可能となるという効果を得ることができ
る。ちなみに、挿入面と更新面とが同一の1つ面を使用
してPSIの挿入を行う場合には、PSIデータ挿入中
に変更となった新しいPSIデータの更新を行うことが
できない。
As described above, by managing the PSI data using two areas of the insertion plane and the update plane, it is possible to update new PSI data even during the insertion of the PSI data. Can be obtained. By the way, when PSI is inserted using the same one of the insertion plane and the update plane, 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 description, the PSI data includes a program association table (hereinafter referred to as PAT) and n program correspondence tables (hereinafter referred to as PMT).
The PSI data holding format and the 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.
5 shows the PSI data storage format on the insertion plane or the update plane of FIG. In FIG. 9, 120 is PA
T data, 121 to 124 are respective data of PMT (1) to PMT (n), 110 is an insertion index for PAT, 111 to 114
Is an insertion index for PMT (1) to PMT (n), 115 is PM
This 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 accumulated as PSI data. At the end of the PSI data, an insertion indicator 115 for indicating that the PSI data does not follow is added. For example, 1-byte data as an insertion index is written with “1” when data [PAT or PMT (1) to PMT (n)] follows the insertion index, and 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,
For the insertion index, the insertion index before the PAT and PMT (1) to PMT (n) is checked, and if the value is “1”, data [PAT or PMT (1) to PMT (1) to PMT (1) to PMT (n)
(n)] is inserted, and if it is “0”, there is no data [PAT or PMT (1) to PMT (n)] after the insertion index, so that the insertion operation is not performed, and the process returns to the first insertion index 110 to start checking. Then, the PSI data [PAT and PMT (1)-
PMT (n)].

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

【0073】前述で説明したように、挿入指標に基づい
てPSIデータの挿入を行うことにより、PATデータ
の有無及びPMTの数をカウントすることなく挿入動作
を行うことができるという効果が得られる。
As described above, by inserting PSI data based on the insertion index, an effect is obtained that the insertion operation can be performed 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. 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.
24 is PSI data [PAT and PMT (1) to PMT
(n)] 110 to 115 are insertion indexes for PSI data,
130 is a PSI data presence / absence index, and 131 is a cyclic counter update 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 indexes 110 to 115 for PSI data
Is composed of a PSI data presence / absence index 130 and a cyclic counter update index 131. Here, for example, the PSI data presence / absence index 130 in the insertion indexes 110 to 115 is used.
It is assumed that a 1-bit area is used as an area of the cyclic counter, and 7 bits are used as an area of the cyclic counter update index 131 for updating the cyclic counter. The method of using the PSI data presence / absence indicator 130, which is a 1-bit indicator, is described in FIG.
This is the same as the case of the I data holding format and the PSI insertion method. When the PSI data presence indicator is “1”, the PSI data presence indicator is
When there is I data and the PSI data presence / absence index is “0”, it is determined that there is no PSI data after the PSI data presence / absence index and is used as an index for inserting PSI data.

【0077】巡回カウンタ更新指標131は、例えば、
その値が“1”のときPAT用の巡回カウンタ値を更新
し、“2”のときPMT(1)の巡回カウンタ値を更新
し、“n+1”のときPMT(n)の巡回カウンタ値を更
新し、さらに、“0”のとき巡回カウンタの更新を行わ
ないと設定し、PSIデータの巡回カウンタ値を更新す
る指標として用いられる。
The traveling 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 "0" is set, the update of the cyclic counter is not performed, and the index 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 managing the PSI data by providing a cyclic counter update index in the insertion index, it is possible to insert PSI data based on the PSI data presence / absence index. The cyclic counter value can be updated based on the index for updating. As a result, it is possible to obtain an effect that PSI data can be inserted while the cyclic counter value is updated without counting the number of data of the PAT and PMT (1) to PMT (n).

【0079】図11は本発明の第2の実施形態によるP
SI挿入装置の構成を示すブロック図、図12は本発明
の第2の実施形態によるPSI挿入装置のPSI挿入制
御部の制御動作を説明するフローチャートである。図1
1における符号は図1の場合と同一である。
FIG. 11 is a view showing a P mode according to the second embodiment of the present invention.
FIG. 12 is a block diagram illustrating 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. FIG.
1 are the same as those 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 insertion apparatus according to the second embodiment of the present invention shown in FIG. 11 is configured to perform the reception TS packet, the null TS packet and the PS
It selects and outputs one of the I-TS packets, and has basically 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 of a received TS packet, a null TS packet, and a PSI-TS packet as output data based on the data amount of the packet and the PSI insertion timing instruction, and other processing operations are performed in 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 first sets P
The PSI data is stored in the SI memory 4. The input unit 7 sets the PSI insertion timing time in the counter unit 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 or more. The synchronization signal generator 8 has a counter inside and transmits a synchronization signal 44 for outputting a TS packet to the PSI insertion controller 2 for every 188 bytes, which is the data length of the TS packet. 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 sets the PS time based on the PSI insertion timing set by the input means 7.
When the I insertion timing time is reached, a PSI insertion timing signal 34 is transmitted to the PSI insertion control unit 2. The PSI insertion control unit 2 receives the received TS packet, the null TS packet, and the PSI insertion signal for each synchronization signal 44 on the condition of the data amount signal 30 of the received TS packet and the PSI insertion timing signal 34.
One of the SI-TS packets is selected and output. The operation after the selection of the output data is the same as that of 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 for selecting any 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 started, processing starts in accordance with a synchronization signal for outputting TS packet data. Is determined (steps 60 and 63).

【0085】(2)ステップ63で受信TSパケットが
ある一定量以上ある場合、受信TSパケットの出力を行
い、ステップ60の処理に戻り、同期信号に従ってスタ
ートから処理を開始する(ステップ64)。
(2) If the number of the received TS packets is equal to or more than a predetermined amount 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 that there is not more than a certain amount, it is determined whether or not the PSI insertion timing has been reached. If P
An SI-TS packet is inserted, the process returns to step 60, and the process starts from the start according to 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 been reached, a null TS packet is inserted, the process returns to step 60, and the process starts from the start according to 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 control unit 2 according to the above-described second embodiment of the present invention transmits the PSI-TS packet if the received TS packet has a data amount of less than a certain amount and the PSI insertion timing time has been reached. Insert and PS
If the I-insertion timing has not been reached, a null TS is inserted. Also, the PSI insertion control unit 2
Even if the PSI insertion timing time has been reached, if the received TS packet is more than a certain amount, the output of the received TS packet is always continued. When the received TS packet becomes less than the certain amount, the PSI-TS It is working to insert packets.

【0089】前述した本発明の第2の実施形態によれ
ば、受信TSパケットのデータ量及びPSI挿入タイミ
ングに基づいて、受信TSパケットがある一定量未満で
あり、かつ、PSI挿入タイミングにPSI−TSパケ
ットの挿入を行っているので、PSI−TSパケット挿
入時に受信TSパケットに発生するジッターを削減する
ことが可能になるという効果を得ることができる。
According to the above-described second embodiment of the present invention, based on the data amount of the received TS packet and the PSI insertion timing, the received TS packet is smaller than a certain amount and the PSI-insertion timing is included in the PSI insertion timing. Since the TS packet is inserted, it is possible to obtain an 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 illustrating 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. FIG.
In 3, reference numeral 12 denotes a PCR detection unit, and other symbols 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 device according to the third embodiment of the present invention shown in FIG. 13 includes the presence / absence of a received TS packet, whether or not the received TS packet contains PCR data, a PSI forced insertion instruction and a PSI insertion permission instruction. Based on the receiving T
This is an embodiment in which any one of an S packet, a null TS packet, and a PSI-TS packet is selected and output. The points different from the first embodiment described above are the presence / absence of a received TS packet, whether or not the received TS packet contains PCR data, data for output based on a PSI forced insertion instruction and a PSI insertion permission instruction. The control is to select any one of a received TS packet, a null TS packet, and a 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, a PCR detection unit 12 is provided after the FIFO 1, and the PCR detection unit 12 and the PSI insertion control unit 2
Are different from the first embodiment of the present invention in the point that they are connected. 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 first sets P
The PSI data is stored in the SI memory 4. The input unit 7 sets the PSI insertion permission time and the PSI forced insertion time in the counter unit 3 using the signal line 50. FIF
O1 receives the TS packet signal 20 and transmits the presence or absence of the received TS packet data to the PCR detection unit 12 as a data amount signal 35. When the PCR detector 12 receives the data amount signal 35 from the FIFO 1 and recognizes that there is a received TS packet in the FIFO 1, the PCR detector 12 transmits a read signal 46 to the FIFO 1. FIFO1 has a read signal 46
And outputs only one TS packet to the PCR detection unit 12 among the received TS packets.

【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 PCR data exists in the received TS packet, and sends the received T packet to the PSI insertion control unit 2.
The presence / absence of the S packet is transmitted to the PSI insertion control unit 2 as the data amount signal 36, and the presence / absence of the PCR data in the received TS packet as the PCR flag signal 37 to the PSI insertion control unit 2. The synchronization signal generator 8 has a counter inside and transmits a synchronization signal 44 for outputting a TS packet to the PSI insertion controller 2 for every 188 bytes, which is the data length of the TS packet. 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の実施形態の場合と同一であ
る。
When the PSI insertion permission time is reached, the counter section 3 transmits a PSI insertion permission signal 31 to the PSI insertion control section 2 based on the setting of the PSI insertion permission time and the PSI forced insertion time set by the input means 7. And PSI
When the forced insertion time is reached, the PSI forced insertion signal 32 is
This is transmitted to the I insertion control unit 2. The PSI insertion control unit 2 includes a reception TS packet presence / absence signal 36, a PCR flag signal 3
7, on condition that the PSI insertion permission signal 31 and the PSI forced insertion signal 32 are used, as output data, the reception TS packet, the null TS packet and the P
Select one of the SI-TS packets. The processing operation after the selection of the output data is the same as that of 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 or absence of the received TS packet in the PCR detecting section, whether or not the received TS packet contains PCR data, and the PSI forced insertion instruction and the PSI insertion permission instruction, the PCR detection is performed as the final output TS packet data. Internal TS packet, null TS packet and PS
The operation of the PSI insertion control unit 2 for selecting one 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 started, processing starts in accordance with a synchronization signal for outputting TS packet data, and first, the presence or absence of a received TS packet in the PCR detector is detected. If there is a received TS packet, it is determined whether the received TS packet contains 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 contains PCR data, it is then determined whether or not the PSI forced insertion time has been reached. A given TS packet is output first, and the PSI-T
The S packet is inserted, and the process returns to the step 60 to start the process from the start 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 time is not the forced insertion time, a TS packet containing the received PCR data is output, and the process returns to step 60 to execute the process from the start according to the synchronization signal. Start (step 64).

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

【0101】(6)ステップ63の判断において受信T
Sが無いと判断された場合、PSI挿入許可時間になっ
ているか否を判断し、PSI挿入許可時間になっていれ
ば、PSI−TSパケットの挿入を行い、ステップ60
の処理に戻って、同期信号に従ってスタートからの処理
を開始する(ステップ66、62)。
(6) The reception T
If it is determined that there is no S, it is determined whether or not it is the PSI insertion permission time, and if it is the PSI insertion permission time, a PSI-TS packet is inserted, and step 60 is performed.
Then, the processing from the start is started according to the synchronization 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 elapsed, 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 66). 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, the PSI insertion device according to the third embodiment of the present invention, when there is a received TS packet and the received TS packet contains PCR data, It operates so as to output the highest priority and then insert a PSI-TS packet. If no PCR data is included, PSI
If it is a forced insertion time, a PSI-TS packet is inserted,
If it is not the PSI forced insertion time, the operation is performed so as to output the received TS packet. Furthermore, when there is no receiving TS,
If it is the PSI insertion permission time, it operates to insert a PSI-TS packet, and if it is not the PSI insertion permission time, it operates to insert a null TS packet.

【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 performs the above-described operation, the presence or absence of a reception TS packet and the reception T
If the received TS packet contains PCR data based on the PSI forced insertion instruction and the PSI insertion permission instruction, whether or not the S packet contains PCR data, the received TS packet is output with the highest priority, and then the PSI is output. Since the insertion of the TS packet is performed, the jitter generated in the received TS packet including the PCR data when the PSI-TS packet is inserted can be reduced with the highest priority.

【0105】[0105]

【発明の効果】以上説明したように、本発明によるPS
I挿入方法及びPSI挿入装置によれば次のような効果
を得ることができる。
As described above, the PS according to the present invention can be used.
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, the P
It is possible to obtain an effect that it is possible to reduce the jitter generated in the received TS packet when inserting the SI-TS packet.

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

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

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

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

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

【0112】(7)PSIデータ挿入指標に基づいてP
SIデータの挿入を行うようにすることがてき、これに
より、PATデータの有無、PMT数のカウントを行う
ことなくPSIデータの挿入動作を行うことができると
いう効果を得ることができる。
(7) P based on PSI data insertion index
Since it is possible to insert the SI data, it is possible to obtain an effect that the PSI data insertion operation can be performed without counting the presence or absence of the 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 the PAT and PMT (1) to PMT (n) can be counted. It is possible to obtain the effect that it is possible to change the cyclic counter value without any change.

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

【図1】本発明の第1の実施形態によるPSI挿入装置
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating 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 a PSI insertion timing.

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

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

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

【図7】本発明の第1の実施形態の変形例による受信T
Sパケットの有無を監視する方法を説明する図である。
FIG. 7 shows a reception T according to a modification of the first embodiment of the present invention.
FIG. 4 is a diagram illustrating a method for 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 describing management of PSI data in a PSI data storage unit.

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

【図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検出部 DESCRIPTION OF SYMBOLS 1 FIFO 2 PSI insertion control part 3 Counter part 4 Memory 5 Null packet insertion part 6 Selector 7 Input means 8 Synchronization signal generation part 12 PCR detection part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鳥居 伸祥 神奈川県横浜市戸塚区戸塚町216番地 株 式会社日立製作所情報通信事業部内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Nobuyoshi Torii 216 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture, Hitachi, Ltd.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 1または複数のトランスポート・ストリ
ーム(以下、TSという)を受信し、同期信号に従っ
て、前記受信したTS中にプログラム仕様情報(以下、
PSIという)TSパケットを挿入するプログラム仕様
情報挿入方法において、受信TSパケット量を監視し、
受信TSパケットがある一定量以上存在する場合、受信
TSパケットを出力し、受信TSパケットがある一定量
未満でありかつPSIを挿入するタイミングである場
合、PSI−TSパケットを挿入し、受信TSパケット
がある一定量未満でありかつPSIを挿入するタイミン
グでない場合、ヌルTSパケットを挿入することを特徴
とするPSI挿入方法。
1. A method for receiving one or a plurality of transport streams (hereinafter, referred to as TS) and storing program specification information (hereinafter, referred to as TS) in the received TS according to a synchronization signal.
In a program specification information insertion method of inserting a TS packet (called PSI), the amount of received TS packets is monitored,
If the received TS packet has a certain amount or more, it outputs the received TS packet. If the received TS packet is less than a certain amount and it is time to insert a PSI, a PSI-TS packet is inserted. A PSI insertion method characterized by inserting a null TS packet when a certain amount is less than a certain amount and it is not a timing to insert a 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. A PSI insertion method for receiving one or a plurality of TSs and inserting PSI-TS packets into the received TSs according to a synchronization signal, wherein the amount of received TS packets is monitored, and the number of received TS packets is fixed. More than the amount and when it is time to forcibly insert the PSI,
When a PSI-TS packet is inserted and the received TS packet exists in a certain amount or more and it is not the timing to forcibly insert the PSI, the received TS packet is output and the received T packet is output.
If the S packets are less than a certain amount and the PSI insertion is permitted, a PSI-TS packet is inserted. If the received TS packets are less than a certain amount and the PSI insertion is not permitted, a null TS packet is inserted. 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 insertion method for receiving one or a plurality of TSs and inserting a PSI-TS packet into the received TS according to a synchronization signal, wherein the presence or absence of a received TS packet and the reception TS packet It monitors whether or not reference value (hereinafter, referred to as PCR) data is included. If a received TS packet exists, the received TS packet is a TS packet including PCR data, and the PSI
Is the timing to forcibly insert a TS packet containing the PCR data with the current synchronization signal, and insert a PSI-TS packet with the next synchronization signal. If the packet is a TS packet containing PCR data and it is not the timing to forcibly insert the PSI, the received TS packet is output, and there is a received TS packet and the received TS packet is a TS packet containing no PCR data. And PSI
If it is time to forcibly insert the PSI-T
If an S packet is inserted and there is a received TS packet and the received TS packet is a TS packet that does not include PCR data and it is not the timing to forcibly insert the PSI, the received TS packet is output and the received TS packet is If there is no PSI and the PSI insertion is permitted, the PSI-T
S packet is inserted and there is no received TS packet 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 insertion device for receiving one or a plurality of TSs and inserting a PSI-TS packet into the received TS, means for receiving the TS, holding the received TS packet, and determining an amount of the received TS packet. Means for monitoring, means for holding null TS packet data, means for holding PSI data, means for instructing PSI insertion timing, means for generating a synchronization signal for outputting a TS packet, Means for indicating a period for outputting, a received TS packet as data to be output based on the amount of the received TS packet and the PSI insertion timing instruction,
Means for selecting either a null TS packet or a PSI-TS packet, means for outputting the selected TS packet data, means for updating the PSI insertion timing,
Means for updating the 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 insertion device for receiving one or a plurality of TSs and inserting a PSI-TS packet into the received TS, means for receiving the TS, holding the received TS packet, and determining an amount of the received TS packet. Means for monitoring, means for holding null TS packet data, means for holding PSI data, means for instructing forced insertion of PSI,
Means for instructing SI insertion permission, means for generating a synchronization signal for outputting a TS packet, means for indicating a period for outputting a TS packet, amount of received TS packets, PSI forced insertion instruction, and PSI insertion Received TS packet, null TS as data to be output based on the permission instruction
Means for selecting one of a packet and a 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 the 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 insertion device for receiving one or a plurality of TSs and inserting a PSI-TS packet into the received TS, means for receiving the TS, and holding the received TS packet to determine whether or not the received TS packet exists. Means for monitoring, means for monitoring whether the received TS packet is a TS packet containing PCR data, means for holding null TS packet data, means for holding PSI data, means for instructing PSI forced insertion. , A means for instructing PSI insertion permission, a means for generating a synchronization signal for outputting a TS packet, a means for indicating a period for outputting a TS packet, the presence or absence of a received TS packet,
Whether to include CR data, PSI forced insertion instruction and PS
Receive data as data to be output based on the I insertion permission instruction
Means for selecting any one of an S packet, a null TS packet and a 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
Means for updating the data.
SI insertion device.
【請求項7】 前記PSI強制挿入を指示する手段と、
PSI挿入許可を指示する手段とは、時間カウンタと、
PSI挿入後に前記時間カウンタをリセットする機構と
を備えて構成されることを特徴とする請求項5または6
記載のPSI挿入装置。
7. A means for instructing PSI forced insertion,
Means for instructing PSI insertion permission include a time counter,
And a mechanism for resetting the time counter after the insertion of the PSI.
A PSI insertion device as described.
【請求項8】 前記PSI強制挿入を指示する手段と、
PSI挿入許可を指示する手段は、時間カウンタと、ユ
ーザが指定した時間間隔毎に前記時間カウンタをリセッ
トする機構とを備えて構成されることを特徴とする請求
項5または6記載のPSI挿入装置。
8. A means for instructing the PSI forced insertion,
7. The PSI insertion device according to claim 5, wherein the means for instructing PSI insertion permission includes a time counter and a mechanism for resetting the time counter at each time interval specified by the user. .
【請求項9】 前記受信TSパケットを保持し受信TS
パケットのデータ量を監視する手段は、TSパケットの
データ量を188バイト以下で監視することを特徴とす
る請求項4、5または6記載のPSI挿入装置。
9. The receiving TS packet holding the received TS packet
7. The PSI insertion device according to claim 4, wherein the means for monitoring the data amount of the packet monitors the data amount of the TS packet at 188 bytes or less.
【請求項10】 前記PSIデータを保持する手段は、
PSIデータ保持形式が、挿入中のPSIデータを保持
する挿入面としての領域と受信TSの内容が変化するた
めに変更になったPSIデータを保持する更新面として
の領域との2面のPSIデータ保持領域を持ち、挿入面
のPSIデータを出力している間に変更になった新しい
PSIデータを更新面に更新し、新しいPSIデータの
更新の終了後、該更新面を新しい挿入面とする変更を行
い、PSIのデータ挿入を順次行う構成を備えることを
特徴とする請求項4、5または6記載のPSI挿入装
置。
10. The means for holding the PSI data,
The PSI data holding format has two PSI data: an area as an insertion plane for holding PSI data being inserted and an area as an update plane for holding PSI data changed due to a change in the content of the received TS. A new PSI data that has a holding area and is changed while outputting the PSI data of the insertion plane is updated to an update plane, and after the update of the new PSI data is completed, the update plane is changed to a new insertion plane. 7. The PSI insertion device according to claim 4, further comprising a configuration for sequentially performing PSI data insertion.
【請求項11】 1または複数のTSを受信し、受信し
たTS中にPSI−TSパケットを挿入するPSI挿入
装置において、PSIデータ挿入形式として、PSIデ
ータをTSパケットの形式で、かつ、該TSパケット毎
にPSIデータを挿入するか否かの指標を付属させた形
式でPSIデータを保持し、前記挿入指標に基づいてP
SIデータ挿入を行うことを特徴とするPSI挿入装
置。
11. A PSI insertion device for receiving one or a plurality of TSs and inserting a PSI-TS packet into the received TS, wherein the PSI data is inserted in a TS packet format as the PSI data insertion format. PSI data is held in a format with an index indicating whether or not to insert PSI data for each packet, and PSI is stored based on the insertion index.
A PSI insertion device for performing SI data insertion.
【請求項12】 1または複数のTSを受信し、受信し
たTS中にPSI−TSパケットを挿入するPSI挿入
装置において、TSパケット形式のPSIデータ挿入時
におけるTSパケットの巡回カウンタを更新する手段を
持ち、PSIデータ挿入形式として、PSIデータをT
Sパケットの形式で、かつ、該TSパケット毎にPSI
データを挿入するか否かの指標を付属させた形式でPS
Iデータを保持し、前記挿入指標に基づいてPSIデー
タの挿入を行い、さらに、前記挿入指標中に巡回カウン
タ更新用の指標を設定し、該巡回カウンタ更新用の指標
に基づいてPSIデータの巡回カウンタの更新を行う手
段を具備したことを特徴とするPSI挿入装置。
12. A PSI insertion apparatus for receiving one or a plurality of TSs and inserting a PSI-TS packet into the received TS, means for updating a cyclic counter of the TS packet at the time of inserting PSI data in a TS packet format. PSI data as TSI data insertion format
PSI in S packet format and for each TS packet
PS in a format with an index of whether to insert data or not
Holding the I data, inserting the PSI data based on the insertion index, further setting an index for updating the cyclic counter in the insertion index, and performing a cyclic operation on the PSI data based on the index for updating the cyclic counter. A PSI insertion device comprising means for updating a counter.
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 true JPH10294705A (en) 1998-11-04
JP3466417B2 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)

Cited By (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

Cited By (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
JP3466417B2 (en) 2003-11-10

Similar Documents

Publication Publication Date Title
US6801544B1 (en) Method of converting a packetized stream of information signals into a stream of information signals with time stamps and vice versa
US6148135A (en) Video and audio reproducing device and video decoding device
EP2278803B1 (en) Data recording and reproducing method and system
EP0700610B1 (en) Method and device for transmitting data packets
EP1279107A4 (en) Transmitting mpeg data packets received from a non-constant delay network
KR20050021530A (en) Jitter compensation method for systems having wall clocks
EP1089482A1 (en) Communication device, communication method, and recorded medium
US6577813B1 (en) Transmitting system and transmitting apparatus
JP3052824B2 (en) Audio playback time adjustment circuit
CN100527712C (en) Systems and methods for processing packet streams
US6944154B2 (en) System and method for remultiplexing of a filtered transport stream with new content in real-time
KR100575989B1 (en) Segmentation Transmitting Method of Asynchronous Data In Synchronous Ethernet and Data Structure Used In Segmentation Transmitting Method
KR20010082637A (en) Data transmitting apparatus, method and providing medium
KR960039736A (en) METHOD AND APPARATUS FOR ADJUSTING AND TRANSMITTING TIMED PROGRAM DATA Independent of Transmission Timing
US6735223B1 (en) Method of controlling offset of time stamp and apparatus for transmitting packet using the same
JPH10294705A (en) Method and device for inserting program specification information
US7280741B2 (en) Method and apparatus for controlling the insertion of stuffing data into a bitstream to be recorded
KR100817248B1 (en) Method and device for reading mpeg recorded data transmitted on an ieee 1394 bus
KR100991122B1 (en) Method and device for transferring data packets
KR100611997B1 (en) Packetizer for high speed serial bus and method thereof
JP4032543B2 (en) Signal processing circuit
JP3881441B2 (en) Time information evaluation apparatus and evaluation method thereof
Lu et al. Mechanisms of MPEG stream synchronization
KR20070008898A (en) Residential ethernet node apparatus for transmitting synchronous data by using counter and it's transmitting method
KR100685982B1 (en) Method and apparatus for synchronization of media information

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