JP2003229906A - Transport stream processing apparatus and method - Google Patents

Transport stream processing apparatus and method

Info

Publication number
JP2003229906A
JP2003229906A JP2002027841A JP2002027841A JP2003229906A JP 2003229906 A JP2003229906 A JP 2003229906A JP 2002027841 A JP2002027841 A JP 2002027841A JP 2002027841 A JP2002027841 A JP 2002027841A JP 2003229906 A JP2003229906 A JP 2003229906A
Authority
JP
Japan
Prior art keywords
packet
instruction
circuit
processing
transport stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002027841A
Other languages
Japanese (ja)
Inventor
Toshihiro Toyoda
敏宏 豊田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002027841A priority Critical patent/JP2003229906A/en
Publication of JP2003229906A publication Critical patent/JP2003229906A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To insert or replace a packet in an optimal timing when replacing the packet during recording of digital broadcast. <P>SOLUTION: When a transport stream is inputted, processing to that packet is determined by a packet identifier applied to the packet by a packet identification circuit 101. When a CPU 1 produces a packet to be newly outputted, stores it in a packet processing instruction circuit 103 and instructs the insertion of the packet, a stream output circuit 104 searches for a packet judged to be discarded by the packet identification circuit 101 and inserts the new packet to that position. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】デジタル放送を受信してデジ
タルVTRやハードディスク装置などに記録する場合
に、入力されたトランスポートストリーム中の不要なパ
ケットを破棄、また特定のパケットを新たに作成したパ
ケットに置き換えたり、新たなパケットを挿入してトラ
ンスポートストリームを出力する回路に関するものであ
る。
BACKGROUND OF THE INVENTION When a digital broadcast is received and recorded on a digital VTR or a hard disk device, unnecessary packets in the input transport stream are discarded, or a specific packet is newly created. The present invention relates to a circuit for replacing or inserting a new packet and outputting a transport stream.

【0002】[0002]

【従来の技術】近年、デジタル放送が一般的になり、受
信したデータをデジタルVTRやハードディスク装置な
どに記録するという要求も大きくなっている。
2. Description of the Related Art In recent years, digital broadcasting has become common, and there is an increasing demand for recording received data in a digital VTR, a hard disk device or the like.

【0003】デジタル放送ではそのデータ構造やデータ
の多重方法として国際標準規格であるMPEG2システ
ム規格に定められたトランスポートストリームを用いて
おり、一般的に一つのトランスポートストリームに複数
の番組を多重して放送している。トランスポートストリ
ームはトランスポートストリームパケットという固定長
のパケットより構成されており、各トランスポートスト
リームパケットにはそのパケットが格納しているデータ
の種類を示すためPIDというパケット識別子が割り当
てられている。例えば、2つの番組、番組Aと番組Bが
多重されている場合、番組Aの映像、番組Aの音声、番
組Bの映像、番組Bの音声を格納するパケットに対して
それぞれ個別のPIDが割り当てられている。またトラ
ンスポートストリームは、映像や音声などのデータ以外
にも、どのPIDにどの番組の映像や音声が割り当てら
れているかといった番組の選択に必要なPIDの割り当
て表、番組表や番組内容などの情報、ユーザー固有の情
報など、様々な情報も多重して伝送する必要がある。こ
れらの情報の伝送にはセクションという定められたデー
タ形式が用いられるが、セクション形式のデータも同様
にトランスポートストリームパケットに格納されてお
り、それぞれの情報毎にPIDが割り当てられている。
トランスポートストリームはこれらのパケットを多重す
ることで、複数の番組を多重化している。
In digital broadcasting, a transport stream defined in the MPEG2 system standard, which is an international standard, is used as the data structure and data multiplexing method. Generally, a plurality of programs are multiplexed in one transport stream. Is broadcasting. The transport stream is composed of fixed-length packets called transport stream packets, and a packet identifier called PID is assigned to each transport stream packet to indicate the type of data stored in the packet. For example, when two programs, program A and program B, are multiplexed, individual PIDs are assigned to packets storing the video of program A, the audio of program A, the video of program B, and the audio of program B, respectively. Has been. In addition to data such as video and audio, the transport stream also contains information such as PID allocation table, program table and program content necessary for program selection such as which program video and audio is allocated to which PID. It is necessary to multiplex and transmit various information such as user-specific information. Although a defined data format called a section is used for transmitting these pieces of information, section format data is also stored in the transport stream packet, and a PID is assigned to each piece of information.
The transport stream multiplexes a plurality of programs by multiplexing these packets.

【0004】次に、受信した複数の番組が多重されてい
るトランスポートストリームから、1つ以上の特定の番
組を選択してデジタルVTRなどの外部機器に記録する
場合について説明する。
Next, a case will be described in which one or more specific programs are selected from a transport stream in which a plurality of received programs are multiplexed and recorded in an external device such as a digital VTR.

【0005】デジタル放送をデジタル記録する場合も、
一般的にはトランスポートストリーム形式を用いるが、
特定の番組を記録して再生するためには多重された複数
の番組や情報をすべて記録する必要はない。逆にすべて
の番組と情報を記録することは記録帯域の増大を招くこ
とになるため、上記で説明したPIDによって、記録す
べき番組およびこれを再生するために必要となる情報を
含むパケットのみを選択し、不要なパケットは破棄して
記録する方法が取られている。しかし不要なパケットを
破棄した場合、出力されるトランスポートストリームに
おいて、トランスポートストリームを構成するパケット
と、番組情報などを含むパケットの間に情報の不整合が
発生するため、これらの情報を修正して記録しなければ
ならない。具体的には、放送番組を構成する各符号化信
号を伝送するパケットのPIDを指定するPMT(Pr
ogram Map Table)、PMTを伝送する
パケットのPIDを指定するPAT(Program
AssosiationTable)を新たに作成し
て、それぞれ入力ストリームのPMT、PATに対して
置き換えて出力する。また、伝送されるトランスポート
ストリームの情報を提供するために必要となる情報の要
約を含むパケットSIT(Selection Inf
ormation Table)を破棄可能な不要なパ
ケットであるNIT(Network Informa
tion Table)に対して置き換えて出力する。
When digitally recording a digital broadcast,
Generally, the transport stream format is used,
It is not necessary to record all of a plurality of multiplexed programs or information in order to record and reproduce a specific program. On the contrary, since recording all programs and information leads to an increase in recording band, only the program containing the program to be recorded and the packet containing the information necessary to reproduce the program are recorded by the PID described above. A method of selecting and discarding unnecessary packets and recording them is adopted. However, if unnecessary packets are discarded, in the output transport stream, information inconsistency will occur between the packets that make up the transport stream and the packets that contain program information, etc. Must be recorded. Specifically, PMT (Pr that specifies the PID of the packet that transmits each coded signal that constitutes the broadcast program)
program map table (PAT), which specifies the PID of the packet that transmits the PMT (Program)
An Association Table) is newly created, and the PMT and PAT of the input stream are replaced and output. In addition, a packet SIT (Selection Inf) including a summary of information necessary for providing information of a transport stream to be transmitted.
NIT (Network Information), which is an unnecessary packet that can discard the operation table.
(Tion Table) is replaced and output.

【0006】このように、放送から受信したトランスポ
ートストリームをデジタルVTRなどに記録する場合に
は、記録する必要がないパケットがいくつかあるため、
これを出力しないようにする必要があるとともに、ある
パケットについてはパケットを置き換えて出力する。
As described above, when a transport stream received from a broadcast is recorded on a digital VTR or the like, there are some packets that do not need to be recorded.
It is necessary not to output this, and for a certain packet, the packet is replaced and output.

【0007】これらパケットの置き換えを行う従来のパ
ケット処理装置としては、例えば特開平11−2391
75号公報に示されている。図6は従来のパケット処理
装置のブロック図を示すものである。図6において、6
01は置き換えデータ記憶部、602はパケット判断
部、603はパケット組立部、604はパケット置き換
え部である。
A conventional packet processing device for replacing these packets is, for example, Japanese Patent Laid-Open No. 11-2391.
No. 75 publication. FIG. 6 is a block diagram of a conventional packet processing device. In FIG. 6, 6
Reference numeral 01 is a replacement data storage unit, 602 is a packet determination unit, 603 is a packet assembly unit, and 604 is a packet replacement unit.

【0008】以上のように構成された従来のパケット処
理装置について、その動作を説明する。置き換えデータ
記憶部601は、置き換えの対象となるパケットのPI
Dと置き換えた後の置き換えパケットを構成する置き換
えデータを対応付けして記憶する。これらのデータは、
CPUによって設定するもので、図は2組の置き換えデ
ータと置き換えの対象PIDを設定していることを示し
ている。パケット判断部602は、入力されたトランス
ポートストリームを構成するパケットが置き換えデータ
記憶部601に設定されている置き換え対象PIDのい
ずれかに一致しているか否かを判断し、一致している場
合にはパケット組立部603とパケット置き換え部60
4に対し一致した旨を通知する。パケット組立部603
は、パケット判断部602から一致の通知を受けると対
応する置き換えデータを置き換えデータ記憶部601か
ら読み出し置き換えを行うためのパケットを組み立て
る。パケット置き換え部604は、パケット判断部60
2から一致の通知を受けるとパケット組立部603が組
み立てたパケットを出力し、一致が通知されていない場
合にはパケット判断部602が出力した入力パケットを
そのまま外部に出力する。
The operation of the conventional packet processing device configured as described above will be described. The replacement data storage unit 601 stores the PI of the packet to be replaced.
The replacement data constituting the replacement packet after replacement with D is associated and stored. These data are
It is set by the CPU, and the figure shows that two sets of replacement data and a replacement target PID are set. The packet determination unit 602 determines whether or not the packets forming the input transport stream match any of the replacement target PIDs set in the replacement data storage unit 601, and if they match, Is a packet assembling unit 603 and a packet replacing unit 60.
No. 4 is notified of the agreement. Packet assembly unit 603
Upon receipt of the notification of coincidence from the packet determination unit 602, the corresponding replacement data is read from the replacement data storage unit 601 and a packet for replacement is assembled. The packet replacement unit 604 uses the packet determination unit 60.
When the notification of matching is received from 2, the packet assembling unit 603 outputs the assembled packet, and when the matching is not notified, the packet determining unit 602 outputs the input packet as it is to the outside.

【0009】このようにして、入力されたトランスポー
トストリームを構成するパケットのPIDが置き換えデ
ータ記憶部601に設定されたPIDに一致した場合に
当該パケットを新たに組み立てたパケットに置き換えて
出力することでパケットの置き換えを実現している。
In this way, when the PID of the packet forming the input transport stream matches the PID set in the replacement data storage unit 601, the packet is replaced with the newly assembled packet and output. Packet replacement is achieved by.

【0010】図7は従来のパケット処理装置におけるパ
ケット処理出力の一例を示す概念図である。図7を用い
て従来のパケット処理装置におけるデジタル記録する際
のパケット処理とトランスポートストリーム出力につい
て説明する。簡略化のため、入力されるトランスポート
ストリームが2つの番組、番組Aと番組B、その他に1
つの情報、情報Cを多重しているものとする。このと
き、番組Aの映像と音声である映像Aと音声A、番組B
の映像と音声である映像Bと音声B、さらに情報Cを含
むパケットはそれぞれ個別のPIDが割り当てられてい
る。このトランスポートストリームから番組Aだけをデ
ジタルVTRなどに記録する場合について説明する。番
組Aを記録する場合には、映像Aと音声Aを含むパケッ
ト以外に情報Cのデータをもとにして記録するストリー
ムに適するように新たに作成した情報Dを含むパケット
を記録しなければならないものとする。また、入力スト
リームに含まれる情報Cは2つのパケットにまたがるデ
ータサイズがあり、情報C−1と情報C−2のパケット
が繰り返し伝送されており、一方、新たに作成した情報
Dのデータサイズは1つのパケットに収まるものとす
る。このとき従来のパケット処理装置では、置き換え対
象のパケットをPIDによって指定するため入力ストリ
ーム中の情報Cを含むパケットを新たに作成した情報D
を含むパケットに置き換えることになり、情報C−1と
情報C−2のパケットに対して常に置き換えが実行され
る。
FIG. 7 is a conceptual diagram showing an example of packet processing output in a conventional packet processing device. Packet processing and transport stream output during digital recording in the conventional packet processing apparatus will be described with reference to FIG. For simplification, the input transport stream is two programs, program A and program B, and 1
It is assumed that one piece of information, information C, is multiplexed. At this time, the video and audio of the program A, that is, the video A, the audio A, and the program B
An individual PID is assigned to each of the packets including the video B and the audio B, which are the video and the audio, and the information C. A case where only the program A is recorded on the digital VTR from the transport stream will be described. When recording the program A, in addition to the packet containing the video A and the audio A, the packet containing the information D newly created to be suitable for the stream to be recorded based on the data of the information C must be recorded. I shall. Further, the information C included in the input stream has a data size that spans two packets, and the packets of the information C-1 and the information C-2 are repeatedly transmitted, while the data size of the newly created information D is It shall fit in one packet. At this time, in the conventional packet processing device, since the packet to be replaced is specified by the PID, the packet D including the information C in the input stream is newly created.
Will be replaced with the packet containing the information C-1 and the packet of the information C-1 and the information C-2 will always be replaced.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、従来の
パケット処理装置は、パケットの置き換えを行うとき置
き換え対象のパケットを入力ストリーム中のPIDで指
定するため、置き換えのタイミングは入力されるストリ
ーム中のパケット配置に依存することになる。例えば、
情報CとしてNIT、情報Dとして新たに作成したSI
Tとするとき、すなわちSITを入力ストリームのNI
Tに対して置き換えるとき、SITの出力されるタイミ
ングは入力ストリーム中のNITの位置に依存すること
になり、新たに作成したSITにとって最適なタイミン
グで出力することはできない。また情報Cとして入力ス
トリームのPMT、情報Dとして新たに作成したPMT
とするとき、すなわち新たなPMTを含むパケットを作
成して元のパケットに対して置き換えるとき、新たに作
成したPMTを収めるために必要となるパケット数が入
力ストリームのそれに対して減った場合、入力ストリー
ムのPMTに対して毎回置き換えを実行すると、同じデ
ータを含むパケットを必要以上に繰り返し出力すること
になる。
However, since the conventional packet processing device specifies the packet to be replaced by the PID in the input stream when the packet is replaced, the replacement timing is the packet in the input stream. It will depend on the placement. For example,
NIT as information C and newly created SI as information D
When T, that is, SIT is the NI of the input stream
When substituting for T, the output timing of the SIT depends on the position of the NIT in the input stream and cannot be output at the optimal timing for the newly created SIT. In addition, as the information C, the PMT of the input stream, and as the information D, the newly created PMT
When a packet including a new PMT is created and replaced with the original packet, if the number of packets required to accommodate the newly created PMT is smaller than that of the input stream, When the PMT of the stream is replaced every time, packets including the same data are repeatedly output more than necessary.

【0012】本発明は上記のような従来の問題点を解決
するもので、置き換え対象のパケットとして入力ストリ
ームのPIDを指定するのではなく破棄されるパケット
に対して任意のタイミングで新たに作成したパケットの
挿入を行う、または、置き換え対象のパケットとしては
入力ストリームのPIDを指定するがそれに対してさら
にパケットの置き換え頻度を制御することで、適切なタ
イミングでパケットの置き換えまたは挿入を行うトラン
スポートストリーム処理装置を提供することを目的とす
る。
The present invention solves the conventional problems as described above, and instead of designating the PID of the input stream as the packet to be replaced, a new packet is created at an arbitrary timing. A transport stream that inserts packets or specifies the PID of the input stream as the packet to be replaced, and controls the packet replacement frequency in response to this to replace or insert packets at appropriate timings. An object is to provide a processing device.

【0013】[0013]

【課題を解決するための手段】この目的を達成するため
に本発明の請求項1に係るトランスポートストリーム処
理装置は、複数の番組のデ−タをパケット単位で多重し
たトランスポートストリームを入力し、パケットに分割
するとともにパケットに付与されたパケット識別子によ
って該パケットに対する処理を設定して識別結果及び該
パケットを出力するパケット識別回路と、前記識別結果
と前記パケットを入力し、前記パケットに含まれるデー
タを解析して必要なデータを取り出すパケット解析回路
と、前記識別結果とCPUからの指示に基づいて指定パ
ケットを出力し前記指定パケットの処理を指示するパケ
ット処理指示回路と、前記識別結果と前記パケット処理
指示回路の指示にしたがって、前記パケットおよび前記
指定パケットの出力動作を制御して新たなトランスポー
トストリームとして出力するストリーム出力回路を備え
た構成を有している。また、本発明の請求項2に係るト
ランスポートストリーム処理装置は、請求項1記載の構
成において、前記パケット処理指示回路は、前記指定パ
ケットを記憶するパケット記憶回路と、前記識別結果と
前記CPUからの指示にしたがって、前記指定パケット
の挿入の指示を行う挿入制御回路を備えた構成を有して
いる。また、本発明の請求項3に係るトランスポートス
トリーム処理装置は、請求項1記載の構成において、前
記パケット処理指示回路は、前記指定パケットを記憶す
るパケット記憶回路と、前記識別結果と前記CPUから
の指示にしたがって、前記指定パケットの置き換えの指
示を行う置き換え制御回路を備えた構成を有している。
また、本発明の請求項4に係るトランスポートストリー
ム処理方法は、複数の番組のデ−タをパケット単位で多
重したトランスポートストリームを入力し、パケットに
分割するとともにパケットに付与されたパケット識別子
によってそのパケットに対する処理を設定し識別結果及
び該パケットを出力するパケット識別処理と、前記識別
結果を用いて前記パケットに含まれるデータを解析して
必要なデータを取り出すパケット解析処理と、指定パケ
ットをパケット記憶手段に書き込むことで前期指定パケ
ットを記憶し、前記識別結果とCPUからの指示に基づ
いて前記パケット記憶手段が記憶している指定パケット
を出力し、前記指定パケットの処理の指示をする指示処
理と、前記識別結果と前記指示処理の指示にしたがって
各パケットの出力動作を制御し、新たなトランスポート
ストリームを作成する処理を備える。
In order to achieve this object, a transport stream processing apparatus according to claim 1 of the present invention inputs a transport stream in which data of a plurality of programs are multiplexed in packet units. A packet identification circuit that divides the packet and sets a process for the packet according to the packet identifier assigned to the packet and outputs an identification result and the packet; and inputs the identification result and the packet, and includes the packet in the packet. A packet analysis circuit that analyzes data to extract necessary data, a packet processing instruction circuit that outputs a designated packet based on the identification result and an instruction from the CPU to instruct processing of the designated packet, the identification result and the According to the instruction of the packet processing instruction circuit, the packet and the designated packet are output. To control the operation and has a configuration with a stream output circuit for outputting as a new transport stream. In the transport stream processing device according to claim 2 of the present invention, in the configuration according to claim 1, the packet processing instruction circuit includes a packet storage circuit that stores the designated packet, the identification result, and the CPU. In accordance with the instruction of 1., an insertion control circuit for instructing the insertion of the designated packet is provided. Also, in the transport stream processing device according to claim 3 of the present invention, in the configuration according to claim 1, the packet processing instruction circuit includes a packet storage circuit that stores the designated packet, the identification result, and the CPU. In accordance with the instruction, the replacement control circuit that gives an instruction to replace the designated packet is provided.
Further, the transport stream processing method according to claim 4 of the present invention inputs a transport stream in which data of a plurality of programs is multiplexed in packet units, divides the packet into packets, and uses a packet identifier assigned to the packet. A packet identification process that sets a process for the packet and outputs the identification result and the packet, a packet analysis process that analyzes the data included in the packet using the identification result to extract necessary data, and a packet An instruction process for storing the designated packet in the previous period by writing it in the storage means, outputting the designated packet stored in the packet storage means based on the identification result and the instruction from the CPU, and giving an instruction for processing the designated packet. And output of each packet according to the identification result and the instruction of the instruction processing. Controls work comprises a process of creating a new transport stream.

【0014】[0014]

【発明の実施の形態】以下、本発明の一実施形態につい
て図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE INVENTION An embodiment of the present invention will be described below with reference to the drawings.

【0015】(第1の実施形態)図1は本発明の第1の
実施形態におけるトランスポートストリーム処理装置
と、該トランスポートストリーム処理装置を含むデジタ
ル放送受信機の構成の一部を示すブロック図を示すもの
である。図1において、10は本発明のトランスポート
ストリーム処理装置、101はパケット識別回路、10
2はパケット解析回路、103はパケット処理指示回
路、104はストリーム出力回路、また、1はCPU、
2はメモリ、3はAVデコーダ、4はCPUバスで、こ
れらはトランスポートストリーム処理装置10とともに
デジタル放送受信機を構成する。デジタル放送受信機の
出力としては、ストリーム出力回路104から記録機器
に対して録画用のトランスポートストリームが、また、
AVデコーダ3からモニタなどに対してAV信号が出力
される。なお、図中のトランスポートストリーム処理装
置10の内部及び入出力に関わる矢印において、太線は
パケットデータの流れを、CPUバス4との間の細線は
データ或いは制御信号の流れを、それ以外の細線は制御
信号の流れを示している。以上のように構成されたトラ
ンスポートストリーム処理装置およびデジタル放送受信
機について、その動作を説明する。
(First Embodiment) FIG. 1 is a block diagram showing a part of the configuration of a transport stream processing apparatus and a digital broadcast receiver including the transport stream processing apparatus according to the first embodiment of the present invention. Is shown. In FIG. 1, 10 is a transport stream processing device of the present invention, 101 is a packet identification circuit, 10
2 is a packet analysis circuit, 103 is a packet processing instruction circuit, 104 is a stream output circuit, 1 is a CPU,
Reference numeral 2 is a memory, 3 is an AV decoder, and 4 is a CPU bus, which together with the transport stream processing device 10 constitute a digital broadcast receiver. As the output of the digital broadcast receiver, a transport stream for recording is sent from the stream output circuit 104 to the recording device,
An AV signal is output from the AV decoder 3 to a monitor or the like. In the figure, in the arrows relating to the inside and the input / output of the transport stream processing device 10, the thick line indicates the flow of packet data, the thin line with the CPU bus 4 indicates the flow of data or control signals, and the other thin lines. Indicates the flow of control signals. The operations of the transport stream processing device and the digital broadcast receiver configured as described above will be described.

【0016】トランスポートストリーム処理装置10に
入力されたトランスポートストリームは、パケット識別
回路101に入力される。パケット識別回路101はト
ランスポートストリーム内のパケットの境界を検出する
ことでパケット単位に分割し、また、PID毎に当該パ
ケットに関する情報とパケットに対する処理を設定する
テーブルを持ち、このテーブルによって当該パケットに
含まれる情報の種別を識別するとともに各PIDのパケ
ットに対する処理を設定する。デジタル記録する場合、
その出力における各パケットの処理の種類としては、入
力されたパケットをそのまま出力する、新たなパケット
に置き換えて出力する、または破棄して出力しないなど
があり、パケット識別回路101はこれらの各パケット
に対する処理を設定して後段のパケット解析回路10
2、パケット処理指示回路103、ストリーム出力回路
104に識別結果として出力するとともにこれらの各パ
ケットデータを出力する。
The transport stream input to the transport stream processing device 10 is input to the packet identification circuit 101. The packet identification circuit 101 divides the packet in packet units by detecting the boundaries of the packets in the transport stream, and has a table for setting information regarding the packet and processing for the packet for each PID. The type of information included is identified and the process for the packet of each PID is set. When recording digitally,
The types of processing of each packet in the output include outputting the input packet as it is, replacing it with a new packet and outputting it, or discarding it and not outputting it. The packet analysis circuit 10 in the latter stage after setting the processing
2. The packet processing instruction circuit 103 and the stream output circuit 104 are output as identification results and the respective packet data are output.

【0017】パケット解析回路102は、パケット識別
回路101による指示に従って各パケットから実際に必
要なデータのみを抽出し、これをメモリ2に転送する。
このデータには、視聴対象となる番組の映像と音声のデ
ータと、様々な情報データが該当する。視聴対象となる
番組の映像と音声のデータは、AVデコーダ3からの要
求にしたがってメモリ2からAVデコーダ3に転送さ
れ、伸長処理を施された後表示装置などに対して出力さ
れる。一方、様々な情報データは、CPU1により取り
出されデジタル放送受信機の制御などのために用いられ
る。
The packet analysis circuit 102 extracts only the actually required data from each packet in accordance with the instruction from the packet identification circuit 101 and transfers it to the memory 2.
This data corresponds to video and audio data of a program to be viewed and various information data. The video and audio data of the program to be viewed is transferred from the memory 2 to the AV decoder 3 in accordance with a request from the AV decoder 3 and subjected to decompression processing and then output to a display device or the like. On the other hand, various information data are taken out by the CPU 1 and used for controlling the digital broadcast receiver.

【0018】パケット処理指示回路103は、CPU1
が作成したパケット或いは所定のパケットを指定パケッ
トとして格納し、CPU1からの指示とパケット識別回
路101から入力される各パケットの処理の識別結果に
したがって、ストリーム出力回路104に対してパケッ
トの出力動作を制御し、パケットデータを出力する。な
お、ここでストリーム出力回路104から要請が有った
ときに、パケットデータを出力することにしてもよい。
The packet processing instruction circuit 103 includes a CPU 1
The packet created by or is stored as a designated packet, and the packet output operation is performed to the stream output circuit 104 according to the instruction from the CPU 1 and the identification result of the processing of each packet input from the packet identification circuit 101. Control and output packet data. The packet data may be output when the stream output circuit 104 makes a request.

【0019】ストリーム出力回路104は、パケット識
別回路101及びパケット処理指示回路から出力される
各パケットを入力するとともに、パケット識別回路10
1およびパケット処理指示回路103から各パケットに
対する識別結果および処理の指示を入力し、これらの制
御信号にしたがってパケットの出力動作を制御すること
で新たなトランスポートストリームを作成して出力す
る。ストリーム出力回路104から出力されたトランス
ポートストリームが記録機器に記録される。
The stream output circuit 104 inputs each packet output from the packet identification circuit 101 and the packet processing instruction circuit, and also the packet identification circuit 10
1 and the packet processing instruction circuit 103, the identification result and the processing instruction for each packet are input, and the output operation of the packet is controlled according to these control signals to create and output a new transport stream. The transport stream output from the stream output circuit 104 is recorded in the recording device.

【0020】図2は図1におけるパケット処理指示回路
103の構成のブロック図を示す一例で、以下この場合
のトランスポートストリーム処理装置について説明す
る。図2において、201はパケット記憶回路、202
は挿入制御回路である。パケット記憶回路201は指定
パケットを格納するものであり、図1におけるCPU1
がメモリ2に格納された情報データなどから作成し、パ
ケット記憶回路201に格納する。或いは所定の固定デ
ータを指定パケットとしてパケット記憶回路201に格
納してもよい。挿入制御回路202は、図1のCPU1
からパケット挿入の指示とパケット識別回路101から
入力される識別結果に従い、パケット識別回路101が
破棄すると判断したパケットに対してパケット記憶回路
201に格納されたパケットを挿入するようにストリー
ム出力回路104に指示を送る。このときストリーム出
力回路104は、パケット識別回路101からは当該パ
ケットを破棄する識別結果を受けるが、挿入制御回路2
02よりパケット挿入の指示を受けてパケット記憶回路
201に格納された指定パケットを挿入して出力する。
FIG. 2 is an example showing a block diagram of the configuration of the packet processing instruction circuit 103 in FIG. 1, and the transport stream processing device in this case will be described below. In FIG. 2, 201 is a packet storage circuit, and 202
Is an insertion control circuit. The packet storage circuit 201 stores a designated packet, and the CPU 1 in FIG.
Is created from the information data stored in the memory 2 and stored in the packet storage circuit 201. Alternatively, predetermined fixed data may be stored in the packet storage circuit 201 as a designated packet. The insertion control circuit 202 is the CPU 1 of FIG.
From the packet insertion instruction and the identification result input from the packet identification circuit 101, the stream output circuit 104 is caused to insert the packet stored in the packet storage circuit 201 into the packet determined to be discarded by the packet identification circuit 101. Send instructions. At this time, the stream output circuit 104 receives the identification result of discarding the packet from the packet identification circuit 101, but the insertion control circuit 2
In response to the packet insertion instruction from 02, the designated packet stored in the packet storage circuit 201 is inserted and output.

【0021】図3は本実施形態のトランスポートストリ
ーム処理装置におけるパケット処理出力の一例を示す概
念図である。図1と本概念図を用いて、新たなトランス
ポートストリームを作成する動作を説明する。この例で
は、番組A、番組Bと情報データとして情報Cを多重し
たトランスポートストリームを入力し、番組Aだけを記
録する場合について説明する。この場合、パケット識別
回路101は番組Aを構成する映像Aと音声Aを含むパ
ケットは出力する必要があると判断し、そのまま出力す
る識別結果を出力する。また、番組Bを構成する映像B
と音声Bを含むパケットについては不要であると判断し
破棄する識別結果を出力する。さらに情報Cを含むパケ
ットについては不要であると判断し破棄する識別結果を
出力するが、情報データとしてCPU1が新たに作成し
た情報Dを含むパケットを出力する必要があるものとす
る。また、情報Dは、そのデータサイズが1パケットに
収まらず2つのパケット情報D−1、情報D−2から構
成され、これらを繰り返し出力するものとする。ここで
パケット処理指示回路103は、CPU1から新たなパ
ケットを挿入するように指示を受け、さらにパケット識
別回路101から入力される制御信号(識別結果)をも
とに入力ストリーム中の破棄するパケット、すなわち映
像B、音声B、または情報Cを含むいずれかのパケット
を検出すると、ストリーム出力回路104にパケット挿
入の指示を出力するとともに挿入すべきパケット情報D
−1を出力する。挿入の指示を受けたストリーム出力回
路104は、パケット識別回路101から入力される制
御信号をもとに入力ストリーム中から破棄するパケット
を検出するとこの位置にパケット情報D−1を挿入す
る。パケット情報D−1の挿入を完了し、改めてCPU
1がパケット処理指示回路103に対してパケットを挿
入するように指示すると、ストリーム出力回路104は
再度破棄するパケットを検出してその位置にパケット情
報D−2を挿入する。なお、一般的にストリーム中に含
まれるパケットにおいては、各情報データを含むパケッ
トに対して番組の映像や音声を含むパケットの数が格段
に多く、一部の番組を選択して記録を行う場合、すなわ
ち選択されない番組の映像や音声を含むパケットを破棄
するときには、新たなパケットを挿入するために必要と
なる破棄されるパケットは十分存在する。
FIG. 3 is a conceptual diagram showing an example of packet processing output in the transport stream processing apparatus of this embodiment. The operation of creating a new transport stream will be described with reference to FIG. 1 and this conceptual diagram. In this example, a case will be described in which a transport stream in which program A and program B and information C as information data are multiplexed is input and only program A is recorded. In this case, the packet identification circuit 101 determines that it is necessary to output the packet including the video A and the audio A that form the program A, and outputs the identification result that is output as it is. Also, the video B that constitutes program B
The packet including the voice B is judged to be unnecessary and the discrimination result to be discarded is output. Further, it is determined that the packet including the information C is unnecessary and is output as an identification result to be discarded, but it is necessary to output the packet including the information D newly created by the CPU 1 as the information data. The data size of the information D does not fit in one packet and is composed of two pieces of packet information D-1 and information D-2, which are repeatedly output. Here, the packet processing instruction circuit 103 receives an instruction from the CPU 1 to insert a new packet, and further discards a packet in the input stream based on a control signal (identification result) input from the packet identification circuit 101, That is, when any packet including video B, audio B, or information C is detected, a packet insertion instruction is output to the stream output circuit 104 and packet information D to be inserted.
It outputs -1. The stream output circuit 104, which has received the insertion instruction, detects the packet to be discarded from the input stream based on the control signal input from the packet identification circuit 101, and inserts the packet information D-1 at this position. The insertion of the packet information D-1 is completed, and the CPU is restarted.
When 1 instructs the packet processing instruction circuit 103 to insert a packet, the stream output circuit 104 detects the packet to be discarded again and inserts the packet information D-2 at that position. Generally, in the packets included in the stream, the number of packets including the video and audio of the program is much larger than the packets including each information data, and some programs are selected and recorded. That is, when discarding a packet including video and audio of a program that is not selected, there are enough discarded packets necessary to insert a new packet.

【0022】以上のようにこの実施形態によれば、複数
の番組のデ−タをパケット単位で多重したトランスポー
トストリームを入力し、パケットに分割するとともにパ
ケットに付与されたパケット識別子によってそのパケッ
トに対する処理を決定するパケット識別回路と、パケッ
ト識別回路の識別結果とパケットを入力し、パケットに
含まれるデータを解析して必要なデータを取り出すパケ
ット解析回路と、新たに作成した指定パケットデータの
処理を指示するパケット処理指示回路と、パケット識別
回路の識別結果とパケット処理指示回路の指示にしたが
って各パケットの出力動作を制御して新たなトランスポ
ートストリームとして出力するストリーム出力回路を備
え、さらにパケット処理指示回路が、新たに出力するた
めのパケットを記憶するパケット記憶回路と、パケット
記憶回路が記憶しているパケットを挿入する指示を行う
挿入制御回路を備えた構成とすることにより、新たに作
成したパケットを出力する場合に入力ストリーム中の破
棄されるパケットを検出してその位置に挿入するため、
その出力のタイミングは入力ストリーム中のパケット配
置に依存せず、出力頻度をCPUからの挿入指示により
任意に制御できる。その結果、新たに作成したパケット
に含まれるデータが何パケットにまたがるサイズであっ
ても、このデータの出力頻度について規格などに定めら
れた頻度を満たして出力すること、逆に必要以上に出力
することを防ぐように制御することが可能となる。出力
頻度の制御としては、例えば所定の時間ごとに挿入指示
をCPU1から出すことにより実現できる。
As described above, according to this embodiment, a transport stream in which data of a plurality of programs are multiplexed in packet units is input, divided into packets, and the packets are assigned to the packets by the packet identifier given to the packets. A packet identification circuit that determines the processing, a packet analysis circuit that inputs the identification result of the packet identification circuit and the packet, analyzes the data contained in the packet and extracts the necessary data, and processes the newly created specified packet data. A packet processing instruction circuit for instructing and a stream output circuit for controlling the output operation of each packet according to the identification result of the packet identification circuit and the instruction of the packet processing instruction circuit and outputting as a new transport stream are further provided. The circuit records the packet to be newly output. The packet storage circuit for storing the packet and the insertion control circuit for instructing to insert the packet stored in the packet storage circuit are discarded so that the newly created packet is discarded in the input stream. To detect the packet and insert it at that position,
The output timing does not depend on the packet arrangement in the input stream, and the output frequency can be arbitrarily controlled by the insertion instruction from the CPU. As a result, regardless of the size of the data contained in the newly created packet, the output frequency of this data must be satisfied by the frequency specified in the standards, and vice versa. It becomes possible to control so as to prevent this. The control of the output frequency can be realized by issuing an insertion instruction from the CPU 1 every predetermined time, for example.

【0023】なお、本実施形態においてパケット処理指
示回路は1つを備えたが、挿入すべきパケットの種類が
複数ある時、例えばPAT、PMT、SIT等を新たな
データとして作成して挿入する場合、パケット処理指示
回路を複数個備えれば、同様にして複数の種類のパケッ
トを挿入することができる。
Although one packet processing instruction circuit is provided in this embodiment, when there are a plurality of types of packets to be inserted, for example, when PAT, PMT, SIT, etc. are created and inserted as new data. If a plurality of packet processing instruction circuits are provided, a plurality of types of packets can be similarly inserted.

【0024】(第2の実施形態)図4は、本発明の第2
の実施形態におけるパケット処理指示回路103の構成
のブロック図を示す一例で、以下この場合のトランスポ
ートストリーム処理装置について説明する。図4におい
て、401はパケット記憶回路であり、図2のパケット
記憶回路201と同様に指定パケットを格納するもので
ある。402は置き換え制御回路である。置き換え制御
回路402は、図1のCPU1からパケット置き換えの
指示とパケット識別回路101から入力される各パケッ
トの識別結果に従い、パケット識別回路101が置き換
えを実行すると判断したパケットに対し、さらに実際に
パケットを置き換えるか、置き換えずに当該パケットを
破棄するかを決定し、ストリーム出力回路104に指示
を送る。すなわち、CPU1から置き換え対象となるP
IDを持つパケットに対して所定の頻度(例えば、M分
のN(M、Nは整数))で置き換えを実行するように指
示をすることにより、置き換え制御回路402は置き換
え対象のパケットからM分のNの頻度で新たな指定パケ
ットに置き換えるようにストリーム出力回路104に指
示を送る。このときストリーム出力回路104は、置き
換え対象のPIDを持つパケットについて、置き換え制
御回路402の指示に従い、置き換えるように指示を受
けたパケットのみ置き換えを実行し、その他のパケット
は破棄する。
(Second Embodiment) FIG. 4 shows a second embodiment of the present invention.
The transport stream processing device in this case will be described below with reference to an example showing a block diagram of the configuration of the packet processing instruction circuit 103 in the embodiment. In FIG. 4, reference numeral 401 denotes a packet storage circuit, which stores a designated packet like the packet storage circuit 201 in FIG. Reference numeral 402 is a replacement control circuit. The replacement control circuit 402 further executes a packet for the packet determined by the packet identification circuit 101 to execute the replacement according to the packet replacement instruction from the CPU 1 of FIG. 1 and the identification result of each packet input from the packet identification circuit 101. Is discarded or the packet is discarded without being replaced, and an instruction is sent to the stream output circuit 104. That is, the P to be replaced from the CPU 1
By instructing the packet having the ID to be replaced at a predetermined frequency (for example, N for M (M and N are integers)), the replacement control circuit 402 causes the replacement target packet to be replaced by M parts from the packet to be replaced. The stream output circuit 104 is instructed to replace it with a new designated packet at a frequency of N. At this time, the stream output circuit 104 replaces the packet having the PID to be replaced according to the instruction of the replacement control circuit 402, and replaces only the packet instructed to be replaced.

【0025】図4は本実施形態のトランスポートストリ
ーム処理装置におけるパケット処理出力の一例を示す概
念図である。図1と本概念図を用いて、新たなトランス
ポートストリームを作成する動作を説明する。この例で
は、番組A、番組Bと情報データとして情報Cを多重し
たトランスポートストリームを入力し、番組Aだけを記
録する場合について説明する。情報Cは2つのパケット
にまたがるデータサイズがあり、情報C−1と情報C−
2のパケットが繰り返し伝送されているものとする。こ
の場合、パケット識別回路101は番組Aを構成する映
像Aと音声Aを含むパケットは出力する必要があると判
断し、そのまま出力するように識別結果を出力する。ま
た、番組Bを構成する映像Bと音声Bを含むパケットに
ついては不要であると判断し破棄するように識別結果を
出力する。さらに情報Cを含むパケットについては、情
報Dを含むパケットに置き換える必要があると判断し、
CPU1が新たに作成した情報Dを含む指定パケットに
置き換えて出力するように指示する。ここで新たに作成
した情報Dのデータサイズは1つのパケットに収まるも
のとする。このときCPU1は入力ストリーム中の情報
Dを含むパケットから、その2分の1の頻度でパケット
に対してパケットの置き換えを行うようパケット処理指
示回路103に指示をする。パケット処理指示回路10
3はCPU1から2分の1の頻度でパケットを置き換え
るように指示を受けると、ストリーム出力回路104に
その由を指示するとともに置き換えるパケット情報Dを
出力する。置き換えの指示を受けたストリーム出力回路
104はストリーム中から新たなパケットに置き換える
ことを指示されたパケット、すなわち情報Cを含むパケ
ットを検出すると、検出2回に対して1回のみパケット
の置き換えを実行する。残る1回は入力ストリーム中の
当該パケットを破棄する。このように、情報Cを含むパ
ケット2パケットのうち1パケットを新たなパケットに
置き換え、1パケットを破棄することで新たなパケット
の出力頻度を制御している。
FIG. 4 is a conceptual diagram showing an example of packet processing output in the transport stream processing apparatus of this embodiment. The operation of creating a new transport stream will be described with reference to FIG. 1 and this conceptual diagram. In this example, a case will be described in which a transport stream in which program A and program B and information C as information data are multiplexed is input and only program A is recorded. The information C has a data size that extends over two packets, and the information C-1 and the information C-
It is assumed that two packets are repeatedly transmitted. In this case, the packet identification circuit 101 determines that the packet including the video A and the audio A that form the program A needs to be output, and outputs the identification result so that the packet is output as it is. Further, the packet including the video B and the audio B forming the program B is determined to be unnecessary and the identification result is output so as to be discarded. Further, it is determined that the packet including the information C needs to be replaced with the packet including the information D,
The CPU 1 instructs to replace the designated packet with the newly created information D and output the designated packet. Here, the data size of the newly created information D fits in one packet. At this time, the CPU 1 instructs the packet processing instruction circuit 103 to replace the packet including the information D in the input stream with the frequency of ½ of the packet. Packet processing instruction circuit 10
When the CPU 3 receives an instruction from the CPU 1 to replace the packet at a frequency of ½, the CPU 3 instructs the stream output circuit 104 of the reason and outputs the packet information D for the replacement. Upon receiving the replacement instruction, the stream output circuit 104 detects a packet instructed to be replaced with a new packet from the stream, that is, a packet including the information C, and executes the replacement of the packet only once for every two detections. To do. The remaining packet is discarded once in the input stream. In this way, one of the two packets containing the information C is replaced with a new packet, and one packet is discarded, thereby controlling the output frequency of the new packet.

【0026】以上のようにこの実施形態によれば、パケ
ット処理指示回路が、新たに出力するためのパケットを
記憶するパケット記憶回路と、パケット記憶回路が記憶
しているパケットを出力する頻度を制御する置き換え制
御回路を備えた構成とすることにより、入力ストリーム
中の特定の置き換え対象となるPIDを持つパケットに
対して新たに作成したパケットに置き換える頻度をCP
Uが設定して、新たに作成したパケットの出力頻度を最
適にすることが可能となる。例えば、置き換え対象のパ
ケットが入力ストリームにおいては2パケットにまたが
るサイズのデータを含み、新たに置き換えて出力するパ
ケットには1パケットに収まるデータが格納される時、
置き換えて出力する頻度を2分の1に設定することで、
必要以上に出力することを防ぐように制御することが可
能となる。
As described above, according to this embodiment, the packet processing instruction circuit controls the packet storage circuit for storing a packet to be newly output and the frequency at which the packet storage circuit outputs the packet. With the configuration including the replacement control circuit, the frequency of replacing a packet having a specific PID to be replaced in the input stream with a newly created packet is set to CP.
It is possible for U to set and optimize the output frequency of the newly created packet. For example, when the packet to be replaced includes data having a size that spans two packets in the input stream and the data to be newly replaced and output contains data that fits in one packet,
By setting the replacement and output frequency to 1/2,
It is possible to control so as to prevent output more than necessary.

【0027】なお、本実施形態においてパケット処理指
示回路は1つを備えたが、指定パケットの種類が複数あ
る時、例えばPAT、PMT、SITなどを新たなデー
タとして作成して置き換える場合、パケット処理指示回
路を複数個備えれば、同様にして複数の種類のパケット
に対してその置き換え頻度を制御できる。
Although one packet processing instruction circuit is provided in this embodiment, when there are a plurality of types of designated packets, for example, when PAT, PMT, SIT, etc. are created and replaced as new data, packet processing is performed. If a plurality of instruction circuits are provided, the replacement frequency of a plurality of types of packets can be controlled in the same manner.

【0028】[0028]

【発明の効果】以上のように、本発明のトランスポート
ストリーム処理装置および方法は、パケットの処理のた
めにパケット処理指示回路を備えることにより、新たに
作成した指定パケットを挿入する場合に、入力ストリー
ム中のパケットからPIDによって定められたパケット
処理に加え、パケット処理指示回路によって指示したパ
ケット処理を行うことにより、その処理のタイミングは
入力ストリーム中のパケット配置に依存することなく制
御可能となり、その結果、記録すべきデータを過不足な
く出力することでデジタル放送を記録する際にその記録
帯域を最適化できるという効果が得られる。
As described above, the transport stream processing apparatus and method of the present invention are provided with a packet processing instruction circuit for processing a packet so that when a newly created designated packet is inserted By performing the packet processing specified by the PID from the packet in the stream and the packet processing instructed by the packet processing instruction circuit, the timing of the processing can be controlled without depending on the packet arrangement in the input stream. As a result, by outputting the data to be recorded without excess or deficiency, it is possible to optimize the recording band when recording the digital broadcast.

【0029】また、本発明のトランスポートストリーム
処理装置および方法は、パケット処理指示回路内にパケ
ット記憶回路と挿入制御回路を設けることにより、新た
に作成した指定パケットを、入力ストリームからPID
の識別によって破棄すべきと判断されたパケットを検出
してその位置に挿入するため、その挿入のタイミングは
入力ストリームに依存せず出力頻度を任意に制御でき、
その実用的効果は大きい。
Further, the transport stream processing apparatus and method of the present invention are provided with a packet storage circuit and an insertion control circuit in the packet processing instruction circuit so that a newly created designated packet is generated from the input stream by PID.
Since the packet that is judged to be discarded by the identification of is inserted at that position, the insertion frequency does not depend on the input stream and the output frequency can be controlled arbitrarily,
Its practical effect is great.

【0030】さらに、本発明のトランスポートストリー
ム処理装置および方法は、パケット処理指示回路内にパ
ケット記憶回路と置き換え制御回路を設けることによ
り、入力ストリーム中の特定のPIDを持つパケットに
対して新たに作成した指定パケットに置き換える頻度を
設定するため、新たに作成したパケットの出力頻度を最
適にすることが可能となり、実用上きわめて有効であ
る。
Furthermore, the transport stream processing apparatus and method of the present invention newly provide a packet storage instruction circuit and a replacement control circuit in the packet processing instruction circuit so that a packet having a specific PID in the input stream is newly added. Since the frequency of replacement with the created designated packet is set, the output frequency of the newly created packet can be optimized, which is extremely effective in practice.

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

【図1】本発明の第1の実施形態におけるトランスポー
トストリーム処理装置およびデジタル放送受信機のブロ
ック図
FIG. 1 is a block diagram of a transport stream processing device and a digital broadcast receiver according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態におけるパケット処理
指示回路のブロック図
FIG. 2 is a block diagram of a packet processing instruction circuit according to the first embodiment of the present invention.

【図3】本発明の第1の実施形態におけるトランスポー
トストリーム処理の一例を示す概念図
FIG. 3 is a conceptual diagram showing an example of transport stream processing according to the first embodiment of the present invention.

【図4】本発明の第2の実施形態におけるパケット処理
指示回路のブロック図
FIG. 4 is a block diagram of a packet processing instruction circuit according to a second embodiment of the present invention.

【図5】本発明の第2の実施形態におけるトランスポー
トストリーム処理の一例を示す概念図
FIG. 5 is a conceptual diagram showing an example of a transport stream process according to the second embodiment of the present invention.

【図6】従来のパケット処理装置のブロック図FIG. 6 is a block diagram of a conventional packet processing device.

【図7】従来のパケット処理装置におけるトランスポー
トストリーム処理の一例を示す概念図
FIG. 7 is a conceptual diagram showing an example of transport stream processing in a conventional packet processing device.

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

1 CPU 2 メモリ 3 AVデコーダ 4 CPUバス 10 トランスポートストリーム処理装置 101 パケット識別回路 102 パケット解析回路 103 パケット処理指示回路 104 ストリーム出力回路 201 パケット記憶回路 202 挿入制御回路 401 パケット記憶回路 402 置き換え制御回路 601 置き換えデータ記憶部 602 パケット判断部 603 パケット組み立て部 604 パケット置き換え部 1 CPU 2 memory 3 AV decoder 4 CPU bus 10 Transport stream processing device 101 packet identification circuit 102 Packet analysis circuit 103 Packet processing instruction circuit 104 Stream output circuit 201 packet storage circuit 202 Insertion control circuit 401 packet storage circuit 402 Replacement control circuit 601 Replacement data storage unit 602 packet determination unit 603 Packet Assembly Department 604 packet replacement unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の番組のデ−タをパケット単位で多
重したトランスポートストリームを入力し、パケットに
分割するとともにパケットに付与されたパケット識別子
によって該パケットに対する処理を設定して識別結果及
び該パケットを出力するパケット識別回路と、前記識別
結果と前記パケットを入力し、前記パケットに含まれる
データを解析して必要なデータを取り出すパケット解析
回路と、前記識別結果とCPUからの指示に基づいて指
定パケットを出力し前記指定パケットの処理を指示する
パケット処理指示回路と、前記識別結果と前記パケット
処理指示回路の指示にしたがって、前記パケットおよび
前記指定パケットの出力動作を制御して新たなトランス
ポートストリームとして出力するストリーム出力回路を
備えたことを特徴とするトランスポートストリーム処理
装置。
1. A transport stream in which data of a plurality of programs is multiplexed in packet units is input, divided into packets, and a process for the packet is set by a packet identifier given to the packet, and the identification result and the A packet identification circuit that outputs a packet, a packet analysis circuit that inputs the identification result and the packet, analyzes the data included in the packet and extracts necessary data, and based on the identification result and an instruction from the CPU A packet processing instruction circuit for outputting a designated packet and instructing the processing of the designated packet, and a new transport by controlling the output operation of the packet and the designated packet according to the identification result and the instruction of the packet processing instruction circuit. A stream output circuit for outputting as a stream is provided. Transport stream processing device.
【請求項2】 前記パケット処理指示回路は、前記指定
パケットを記憶するパケット記憶回路と、前記識別結果
と前記CPUからの指示にしたがって、前記指定パケッ
トの挿入の指示を行う挿入制御回路を備えたことを特徴
とする請求項1記載のトランスポートストリーム処理装
置。
2. The packet processing instruction circuit includes a packet storage circuit that stores the designated packet, and an insertion control circuit that issues an instruction to insert the designated packet according to the identification result and the instruction from the CPU. The transport stream processing device according to claim 1, wherein
【請求項3】 前記パケット処理指示回路は、前記指定
パケットを記憶するパケット記憶回路と、前記識別結果
と前記CPUからの指示にしたがって、前記指定パケッ
トの置き換えの指示を行う置き換え制御回路を備えたこ
とを特徴とする請求項1記載のトランスポートストリー
ム処理装置。
3. The packet processing instruction circuit includes a packet storage circuit for storing the designated packet, and a replacement control circuit for instructing replacement of the designated packet according to the identification result and the instruction from the CPU. The transport stream processing device according to claim 1, wherein
【請求項4】 複数の番組のデ−タをパケット単位で多
重したトランスポートストリームを入力し、パケットに
分割するとともにパケットに付与されたパケット識別子
によって該パケットに対する処理を設定し識別結果及び
該パケットを出力するパケット識別処理と、前記識別結
果を用いて前記パケットに含まれるデータを解析して必
要なデータを取り出すパケット解析処理と、指定パケッ
トをパケット記憶手段に書き込むことで前期指定パケッ
トを記憶し、前記識別結果とCPUからの指示に基づい
て前記パケット記憶手段が記憶している前記指定パケッ
トを出力し、前記指定パケットの処理の指示をする指示
処理と、前記識別結果と前記指示処理の指示にしたがっ
て各パケットの出力動作を制御し、新たなトランスポー
トストリームを作成する処理を備えたトランスポートス
トリーム処理方法。
4. A transport stream, in which data of a plurality of programs is multiplexed in packet units, is input, divided into packets, and a process for the packet is set by a packet identifier assigned to the packet. A packet identification process for outputting the packet, a packet analysis process for analyzing the data contained in the packet using the identification result to extract necessary data, and a designated packet stored in the packet storage means to store the designated packet. An instruction process for outputting the designated packet stored in the packet storage means based on the identification result and an instruction from the CPU and instructing the processing of the designated packet; and an instruction for the identification result and the instruction process. Control the output operation of each packet according to the following, and create a new transport stream Transport stream processing method including processing for performing.
【請求項5】 前記指示処理において、前記指定パケッ
トの処理は、前記パケット識別処理で破棄すると判断し
たパケットに対してCPUからの指示に基づいて前記指
定パケットを挿入するものである請求項4記載のトラン
スポートストリーム処理方法。
5. The processing of the designated packet in the instruction processing is to insert the designated packet into a packet determined to be discarded in the packet identification processing based on an instruction from the CPU. Transport stream processing method.
【請求項6】 前記指示処理において、前記指定パケッ
トの処理は、前記パケット識別処理で置き換えると判断
したパケットに対してCPUからの指示に基づいて前記
指定パケットに置き換えるものである請求項4記載のト
ランスポートストリーム処理方法。
6. The processing of the designated packet in the instruction processing is to replace a packet determined to be replaced in the packet identification processing with the designated packet based on an instruction from the CPU. Transport stream processing method.
JP2002027841A 2002-02-05 2002-02-05 Transport stream processing apparatus and method Pending JP2003229906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002027841A JP2003229906A (en) 2002-02-05 2002-02-05 Transport stream processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002027841A JP2003229906A (en) 2002-02-05 2002-02-05 Transport stream processing apparatus and method

Publications (1)

Publication Number Publication Date
JP2003229906A true JP2003229906A (en) 2003-08-15

Family

ID=27749242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002027841A Pending JP2003229906A (en) 2002-02-05 2002-02-05 Transport stream processing apparatus and method

Country Status (1)

Country Link
JP (1) JP2003229906A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006087109A (en) * 2004-09-14 2006-03-30 Lucent Technol Inc Method and apparatus for wireless communication using voice over internet protocol
WO2011024437A1 (en) * 2009-08-25 2011-03-03 パナソニック株式会社 Recording device and playback device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006087109A (en) * 2004-09-14 2006-03-30 Lucent Technol Inc Method and apparatus for wireless communication using voice over internet protocol
WO2011024437A1 (en) * 2009-08-25 2011-03-03 パナソニック株式会社 Recording device and playback device

Similar Documents

Publication Publication Date Title
KR100898690B1 (en) Multi-format transport stream decoder
US8265449B2 (en) Information delivery apparatus, stream recording apparatus, recording system, stream reproducing apparatus, and record reproducing system
JP3666625B2 (en) Data recording method and data recording apparatus
JPH09139937A (en) Moving image stream converter
US8982943B2 (en) Data processing device and data processing method
JP4541517B2 (en) Recording device
US7489685B2 (en) Digital broadcast receiving apparatus
EP0933949A1 (en) Transmitting system, transmitting apparatus, recording and reproducing apparatus
JP3429652B2 (en) Digital coding and multiplexing equipment
EP1374482B1 (en) Packet data processing apparatus
JP4154825B2 (en) Digital broadcast receiving system
JP3039444B2 (en) Image storage device
JP2003229906A (en) Transport stream processing apparatus and method
JPH0950673A (en) Data coding device and method, data recording medium, and data decoding device and method
US7385996B2 (en) Data distribution apparatus and method
JPH11177943A (en) Video data multiplexing device
JP2000134259A (en) Transmission method and transmitter
JP5013009B2 (en) Transport stream redistribution system
JP2005210586A (en) Transport stream processor and method
JP5071569B2 (en) Transport stream transmission system and method thereof
JPH11262002A (en) Device and method for analyzing data
JP2003009082A (en) Device and method for processing transport stream
JPH10290207A (en) Multiplexed data separating device
JP2004112316A (en) Digital broadcast signal transmission processing apparatus
JP2002016843A (en) Receiving apparatus and recording controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041214

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061121