JPH11239175A - Packet processing device - Google Patents
Packet processing deviceInfo
- Publication number
- JPH11239175A JPH11239175A JP10038440A JP3844098A JPH11239175A JP H11239175 A JPH11239175 A JP H11239175A JP 10038440 A JP10038440 A JP 10038440A JP 3844098 A JP3844098 A JP 3844098A JP H11239175 A JPH11239175 A JP H11239175A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- replacement
- table data
- data
- input
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
(57)【要約】
【課題】 置換えの必要なパケットの置き換え対象デー
タだけを正しいデータに置き換えて出力することのでき
るパケット処理装置を提供する。
【解決手段】 置き換えデータ記憶部1021に置き換
え対象パケットIDと置き換え後のデータの組を一つ以
上設定しておき、パケット判断部1022により入力さ
れたパケットが置き換え対象パケットIDであることを
検出すると、パケット組立部1023によりこの置き換
え対象パケットに対応する置換えデータを元に置換えパ
ケットを組み立て、パケット置き換え部1024によ
り、入力パケットを、置換えパケットにより置き換えて
出力する。
(57) [Problem] To provide a packet processing device capable of replacing only data to be replaced of a packet requiring replacement with correct data and outputting the corrected data. SOLUTION: When one or more sets of replacement target packet IDs and replacement data are set in a replacement data storage unit 1021 and a packet judgment unit 1022 detects that the input packet is a replacement target packet ID. The packet assembling unit 1023 assembles a replacement packet based on the replacement data corresponding to the replacement target packet, and the packet replacement unit 1024 replaces the input packet with the replacement packet and outputs the replacement packet.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、パケット処理装
置に関し、特にディジタル衛星テレビジョン放送を受信
して得たデータやデータ蓄積装置から取り出されたデー
タなどを他の蓄積装置に記録したりパソコンなどの他の
装置に出力するような場合に、不要なデータを削除し新
たに必要となるデータを追加するように置き換えて出力
するデータ置き換え機能を有するパケット処理装置に関
するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet processing apparatus, and more particularly, to recording data obtained by receiving a digital satellite television broadcast or data retrieved from a data storage apparatus in another storage apparatus, a personal computer, or the like. The present invention relates to a packet processing apparatus having a data replacement function of deleting unnecessary data and replacing the data so as to newly add necessary data when outputting the data to another device.
【0002】[0002]
【従来の技術】近年、映像や音声,字幕等の情報が、デ
ジタルデータの形式によって放送が行われたり蓄積され
ることが多くなってきた。このような場合、データは所
定のデータ長毎に分割され、パケット形式で伝送,蓄積
されることが一般的である。そしてその際、複数のデー
タがパケットに構築されたのち、一つの伝送,蓄積メデ
ィアに多重され伝送,蓄積される場合がある。このよう
な場合のデータの構造や多重方法の国際標準規格とし
て、MPEG2システム規格に定められたトランスポー
トストリームがある。そして、このような形式でパケッ
トデータの伝送が行われるものの一例として、デジタル
衛星テレビジョン放送がある。デジタル衛星テレビジョ
ン放送は、画質は通常のアナログテレビジョン放送と同
等であるが、MPEG2を使用することにより情報を圧
縮し、アナログテレビジョン放送1チャンネル分と同等
の帯域で、4ないし5チャンネル分の放送が同時に可能
となるものである。2. Description of the Related Art In recent years, information such as video, audio, subtitles, and the like has been frequently broadcasted or stored in the form of digital data. In such a case, the data is generally divided for each predetermined data length, and transmitted and stored in a packet format. In this case, after a plurality of data are constructed in a packet, the data may be multiplexed on one transmission and storage medium, transmitted and stored. As an international standard for the data structure and the multiplexing method in such a case, there is a transport stream defined in the MPEG2 system standard. One example of packet data transmission in such a format is digital satellite television broadcasting. Digital satellite television broadcasting has the same image quality as ordinary analog television broadcasting. Can be broadcast at the same time.
【0003】この様なデジタル衛星テレビジョン放送
は、1つのデータ列に複数の番組を多重して放送を行っ
ている。そして、その際、トランスポートストリームが
用いられている。トランスポートストリームはトランス
ポートストリームパケットという固定長のパケットより
構成されており、各トランスポートストリームパケット
には、そのパケットが格納しているデータの種類に応じ
てパケットIDという識別番号が割り当てられている。[0003] In such digital satellite television broadcasting, a plurality of programs are multiplexed into one data stream and broadcast. At that time, a transport stream is used. The transport stream is composed of fixed-length packets called transport stream packets, and each transport stream packet is assigned an identification number called a packet ID according to the type of data stored in the packet. .
【0004】例えば番組1,番組2がある一つのトラン
スポートストリームにより伝送される場合、伝送される
データの種類としては、番組1の映像データ,番組1の
音声データ,番組2の映像データ,番組2の音声デー
タ,番組へのパケットID割当表(Program Associatio
n Table ;以下、PATと称す),番組1のパケットI
D割当表(Program Map Table ;以下、PMTと称
す),番組2用のPMT,放送周波数と番組の対応表
(Network Information Table ;以下、NITと称す)
などがある。PMTには各々の番組の映像や音声のデー
タに割り当てられたパケットIDが格納されている。ま
た、PATには各番組のPMTのためのパケットIDが
格納されている。For example, when programs 1 and 2 are transmitted by a single transport stream, the types of data to be transmitted include video data of program 1, audio data of program 1, video data of program 2, and video data of program 2. 2. Packet ID assignment table for audio data and programs (Program Association)
n Table; hereinafter referred to as PAT), packet 1 of program 1
D allocation table (Program Map Table; hereinafter, referred to as PMT), PMT for program 2, and correspondence table between broadcast frequency and program (Network Information Table; hereinafter, referred to as NIT)
and so on. The PMT stores a packet ID assigned to video and audio data of each program. The PAT stores a packet ID for the PMT of each program.
【0005】このようなデジタル衛星テレビジョン放送
で放送された番組をデジタル記録により記録しようとす
る場合、やはりトランスポートストリーム形式を用いる
ことが考えられる。[0005] When a digital satellite television broadcast program is to be recorded by digital recording, a transport stream format may be used.
【0006】その理由は、複数の番組を、伝送するため
のデータ形式のままで記録を行うことになるため、複数
の番組を一つの記録メディアに同時に記録できる点や、
放送されたデータ形式からの変換が簡単であるというこ
とにある。また再生時にはデジタル放送の受信機を用い
て映像や音声を取り出すことができるという点も利点の
1つとして挙げられる。The reason is that a plurality of programs are recorded in a data format for transmission, so that a plurality of programs can be simultaneously recorded on one recording medium.
It is easy to convert from the broadcast data format. Another advantage is that video and audio can be taken out using a digital broadcast receiver during reproduction.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、このよ
うなデジタル放送のデータを、デジタルVTRにより記
録しようとする際、多重化されて同時に放送されている
番組全てを同時に録画する必要性はあまりなく、また、
全ての番組を同時に収録しようとすると、トランスポー
トストリーム形式での記録が可能なデジタルVTRの記
録帯域を大きく設計する必要があり、家庭向けデジタル
衛星テレビジョン用VTR装置のコストが上昇する要因
となる。However, when such digital broadcast data is to be recorded by a digital VTR, it is not necessary to simultaneously record all programs multiplexed and broadcast at the same time. Also,
If all programs are to be recorded at the same time, it is necessary to design a large recording band of a digital VTR capable of recording in a transport stream format, which causes an increase in the cost of a digital satellite television VTR device for home use. .
【0008】そこで、デジタル放送のデータのそのまま
全てを記録するのではなく、高々2,3の番組のみを抽
出し記録することにより、実用上の不便を殆んどきたす
ことなく記録帯域を減少させ、トランスポートストリー
ム形式での記録を低コストに実現することが考えられ
る。Therefore, instead of recording all of the digital broadcast data as it is, by extracting and recording at most a few programs, the recording bandwidth can be reduced without causing practical inconvenience. It is conceivable to realize recording in the transport stream format at low cost.
【0009】ところが、上記の従来例で示したように、
トランスポートストリームとして伝送される情報には、
映像や音声のように番組固有のデータだけではなく、P
ATやNITのように全ての番組に共通するデータがあ
る。このため、入力されたトランスポートストリームか
ら一部の番組だけを取り出して、記録などのために出力
する場合には、元のトランスポートストリームパケット
から不要な情報を取り除くとともに、一部の情報を書き
換えたり、新たな情報を追加したりする必要がある。However, as shown in the above conventional example,
Information transmitted as a transport stream includes:
Not only program-specific data such as video and audio,
There is data common to all programs, such as AT and NIT. For this reason, when extracting only a part of the program from the input transport stream and outputting it for recording, unnecessary information is removed from the original transport stream packet and some information is rewritten. Or add new information.
【0010】例えば、2つの番組が既に説明したような
種類のトランスポートストリームパケットにより放送さ
れており、このうち番組1だけを記録する場合、不要な
番組2の映像や音声を格納しているパケットは記録の際
に取り除く必要がある。また番組2用のPMTも取り除
く方がよい。さらに番組1と番組2のPMTのパケット
IDを格納しているPATパケットは、番組1のPMT
のパケットIDだけを格納しているPATに置き換えな
ければならない。For example, two programs are broadcast by transport stream packets of the kind described above. When only program 1 is recorded, packets storing unnecessary video and audio of program 2 are stored. Must be removed when recording. It is also better to remove the PMT for Program 2. Further, the PAT packet storing the PMT packet IDs of Program 1 and Program 2 is the PMT packet of Program 1
Must be replaced with a PAT that stores only the packet ID of the PAT.
【0011】仮りに番組2のPMTのパケットIDがP
ATに残ったままで記録がなされた場合、このPATが
番組2が記録されている旨を示すため、実際には番組2
が記録されていなかったことが再生時に判断できなくな
る。If the packet ID of the PMT of program 2 is P
If the recording is performed while remaining in the AT, the PAT indicates that the program 2 is recorded.
Cannot be determined at the time of reproduction.
【0012】また、NITは放送のための情報を格納し
ており、番組の蓄積のためには不要であるが、逆にSI
T(Selection Information Table )等の,放送には含
まれないが蓄積を行うために必要となる情報は新たにト
ランスポートストリームに多重し記録しなければならな
い。さらに、不要な情報が残っているとその不要な情報
のために記録帯域が余分に使用されることになる。The NIT stores information for broadcasting and is not necessary for storing programs.
Information such as T (Selection Information Table) that is not included in the broadcast but is necessary for storage must be newly multiplexed and recorded in the transport stream. Further, if unnecessary information remains, an extra recording band is used for the unnecessary information.
【0013】これらの理由により、放送より受信された
データや蓄積装置から取り出されたデータなどを、蓄積
装置に記録したりパソコンなどの他の装置に出力するよ
うな場合には、入力データを出力先の装置に適したデー
タに変換するために、不要なデータを新たに必要となる
データに置き換えて出力しなければならない。For these reasons, when data received from a broadcast or data extracted from a storage device is to be recorded in the storage device or output to another device such as a personal computer, the input data is output. In order to convert the data into data suitable for the previous device, unnecessary data must be replaced with new required data and output.
【0014】この発明は、上記のような従来のものの問
題点を解決するためになされたもので、パケット中の不
要なデータを新たに必要となるデータに自動的に置き換
えて出力するデータ置き換え機能を有するパケット処理
装置を得ることを目的としている。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and has a data replacement function of automatically replacing unnecessary data in a packet with newly required data and outputting the data. It is intended to obtain a packet processing device having the following.
【0015】[0015]
【課題を解決するための手段】本願の請求項1の発明に
係るパケット処理装置は、パケット形式のデータを順次
入力パケットとして入力するパケット入力手段と、上記
入力パケットの中から置き換える対象となるパケットを
検出し当該置き換え対象パケットの置き換えを実行する
パケット置き換え手段とを備えるようにしたものであ
る。According to a first aspect of the present invention, there is provided a packet processing apparatus comprising: a packet input unit for sequentially inputting packet format data as an input packet; and a packet to be replaced from the input packet. And a packet replacement means for performing the replacement of the packet to be replaced.
【0016】また、本願の請求項2の発明に係るパケッ
ト処理装置は、パケット形式のデータを順次入力パケッ
トとして入力するパケット入力手段と、上記入力パケッ
ト中の置き換えの対象となるテーブルデータを検出し当
該テーブルデータの置き換えを実行するテーブルデータ
置き換え手段とを備えるようにしたものである。According to a second aspect of the present invention, there is provided a packet processing apparatus, comprising: a packet input means for sequentially inputting packet format data as an input packet; and detecting table data to be replaced in the input packet. And a table data replacing means for executing the replacement of the table data.
【0017】また、本願の請求項3の発明に係るパケッ
ト処理装置は、請求項1のパケット処理装置において、
上記パケット置き換え手段は、置き換えの対象となるパ
ケットを示す置き換え対象パケットと、これに対して置
き換えるべき置き換え後データと、の対応を示す置き換
え対応テーブルデータを記憶する置き換え対応テーブル
データ記憶手段と、上記入力パケットが上記置き換え対
象パケットに該当するか否かを検出する置き換え対象パ
ケット検出手段と、上記入力パケットが上記置き換え対
象パケットに該当する場合には、上記置き換え対応テー
ブルデータを参照して上記置き換え後データを読み出
し、当該置き換え後データを含む置き換えパケットを組
み立てて、上記置き換え対象パケットを当該置き換えパ
ケットに置き換えて出力し、上記入力パケットが上記置
き換え対象パケットでない場合には、上記入力パケット
をそのまま出力するパケット出力手段とを備えるように
したものである。According to a third aspect of the present invention, in the packet processing apparatus of the first aspect,
The packet replacement unit includes a replacement correspondence table data storage unit that stores replacement correspondence table data indicating a correspondence between a replacement target packet indicating a packet to be replaced and replacement data to be replaced with the replacement target packet. A replacement target packet detecting means for detecting whether or not the input packet corresponds to the replacement target packet; and, if the input packet corresponds to the replacement target packet, referencing the replacement correspondence table data and performing the replacement. The data is read, a replacement packet including the replacement data is assembled, the replacement packet is replaced with the replacement packet, and the replacement packet is output. If the input packet is not the replacement packet, the input packet is output as it is. Is obtained so as to include a packet output unit.
【0018】また、本願の請求項4の発明に係るパケッ
ト処理装置は、請求項2のパケット処理装置において、
上記テーブルデータ置き換え手段は、置き換えの対象と
なるテーブルデータを含むパケットを示す置き換え対象
パケットと、これに対して置き換えるべき置き換え後デ
ータと、の対応を示す置き換え対応テーブルデータを記
憶する置き換え対応テーブルデータ記憶手段と、上記入
力パケットが上記置き換え対象テーブルデータを含むパ
ケットであるか否かを検出する入力パケット検出手段
と、上記入力パケットが上記置き換え対象テーブルデー
タを含むパケットに該当する場合には、上記置き換え対
応テーブルデータを参照して上記置き換え後データを読
み出し、当該置き換え後データを含む置き換えテーブル
データを組み立てて、上記置き換え対象テーブルデータ
を当該置き換えテーブルデータに置き換えて出力し、上
記入力パケットが上記置き換え対象テーブルデータを含
まない場合には、上記入力パケットをそのまま出力する
パケット出力手段とを備えるようにしたものである。A packet processing device according to a fourth aspect of the present invention is the packet processing device according to the second aspect,
The table data replacement means is a replacement correspondence table data for storing replacement correspondence table data indicating a correspondence between a replacement target packet indicating a packet including table data to be replaced and post-replacement data to be replaced. Storage means, input packet detection means for detecting whether or not the input packet is a packet including the replacement target table data, and, if the input packet corresponds to a packet including the replacement target table data, The replacement data is read out with reference to the replacement correspondence table data, replacement table data including the replacement data is assembled, the replacement target table data is replaced with the replacement table data, and the replacement packet data is output. If that does not contain target table data replacement is obtained by so and a packet output unit that outputs the said input packet.
【0019】また、本願の請求項5の発明に係るパケッ
ト処理装置は、請求項1のパケット処理装置において、
上記パケット置き換え手段は、置き換えの対象となるパ
ケットを示す置き換え対象パケットと、これに対して置
き換えるべき置き換え後パケットと、の対応を示す置き
換え対応テーブルデータを記憶する置き換え対応テーブ
ルデータ記憶手段と、上記入力パケットが上記置き換え
対象パケットに該当するか否かを検出する置き換え対象
パケット検出手段と、上記入力パケットが上記置き換え
対象パケットに該当する場合には、上記置き換え対応テ
ーブルデータを参照して上記置き換え後パケットを読み
出し、上記置き換え対象パケットを当該置き換え後パケ
ットに置き換えて出力し、上記入力パケットが上記置き
換え対象パケットでない場合には、上記入力パケットを
そのまま出力するパケット出力手段とを備えるようにし
たものである。A packet processing device according to a fifth aspect of the present invention is the packet processing device according to the first aspect,
The packet replacement unit includes a replacement correspondence table data storage unit that stores replacement correspondence table data indicating a correspondence between a replacement target packet indicating a packet to be replaced and a replaced packet to be replaced with the replacement target packet. A replacement target packet detecting means for detecting whether or not the input packet corresponds to the replacement target packet; and, if the input packet corresponds to the replacement target packet, referencing the replacement correspondence table data and performing the replacement. A packet output unit that reads out a packet, replaces the packet to be replaced with the packet after replacement, and outputs the packet. is there.
【0020】また、本願の請求項6の発明に係るパケッ
ト処理装置は、請求項2のパケット処理装置において、
上記テーブルデータ置き換え手段は、置き換えの対象と
なるテーブルデータを含むパケットを示す置き換え対象
パケットと、これに対して置き換えるべき置き換え後テ
ーブルデータと、の対応を示す置き換え対応テーブルデ
ータを記憶する置き換え対応テーブルデータ記憶手段
と、上記入力パケットが上記置き換え対象テーブルデー
タを含むパケットであるか否かを検出する入力パケット
検出手段と、上記入力パケットが上記置き換え対象テー
ブルデータを含むパケットに該当する場合には、上記置
き換え対応テーブルデータを参照して上記置き換え後テ
ーブルデータを読み出し、上記置き換え対象テーブルデ
ータを当該置き換え後テーブルデータに置き換えて出力
し、上記入力パケットが上記置き換え対象テーブルデー
タを含むパケットでない場合には、上記入力パケットを
そのまま出力するパケット出力手段とを備えるようにし
たものである。A packet processing device according to a sixth aspect of the present invention is the packet processing device according to the second aspect,
The table data replacement means is a replacement correspondence table for storing replacement correspondence table data indicating correspondence between a replacement target packet indicating a packet including table data to be replaced and a replacement table data to be replaced with the replacement target packet. Data storage means, input packet detection means for detecting whether or not the input packet is a packet including the replacement target table data, and if the input packet corresponds to a packet including the replacement target table data, The replacement table data is read out with reference to the replacement correspondence table data, the replacement target table data is replaced with the replacement table data and output, and the input packet is a packet including the replacement target table data. When have is obtained by so and a packet output unit that outputs the said input packet.
【0021】また、本願の請求項7の発明に係るパケッ
ト処理装置は、パケット形式のデータを順次入力パケッ
トとして入力するパケット入力手段と、上記入力パケッ
トの中から置き換える対象となるパケットを検出し当該
置き換え対象パケットの置き換えを実行するパケット置
き換え手段と、外部から指示された情報に基づき置き換
える対象となるパケットを割り出し、当該割り出した置
き換え対象パケットに関する情報を上記パケット置き換
え手段に設定する置き換え対象パケット情報設定手段
と、上記入力パケットの中からデコードすべき所要のパ
ケットを取り出すパケット取り出し手段と、上記所要の
パケットをデコードに先だってメモリに記憶すべくメモ
リアクセスを行うメモリアクセス手段とを備えるように
したものである。A packet processing apparatus according to a seventh aspect of the present invention includes a packet input unit for sequentially inputting data in a packet format as an input packet, detecting a packet to be replaced from the input packet, and Packet replacement means for performing replacement of a packet to be replaced, and a packet to be replaced information setting for determining a packet to be replaced based on information instructed from the outside, and setting information on the determined replacement target packet in the packet replacement means. Means, a packet extracting means for extracting a required packet to be decoded from the input packet, and a memory access means for performing a memory access to store the required packet in a memory prior to decoding. is there.
【0022】また、本願の請求項8の発明に係るパケッ
ト処理装置は、パケット形式のデータを順次入力パケッ
トとして入力するパケット入力手段と、上記入力パケッ
トの中から置き換える対象となるテーブルデータを検出
し当該置き換え対象テーブルデータの置き換えを実行す
るテーブルデータ置き換え手段と、外部から指示された
情報に基づき置き換える対象となるテーブルデータを割
り出し、当該割り出した置き換え対象テーブルデータに
関する情報を上記テーブルデータ置き換え手段に設定す
る置き換え対象テーブルデータ情報設定手段と、上記入
力パケットの中からデコードすべき所要のパケットを取
り出すパケット取り出し手段と、上記所要のパケットを
デコードに先だってメモリに記憶すべくメモリアクセス
を行うメモリアクセス手段とを備えるようにしたもので
ある。The packet processing apparatus according to the invention of claim 8 of the present application detects packet input means for sequentially inputting packet format data as an input packet, and detects table data to be replaced from the input packet. A table data replacement unit for performing the replacement of the replacement target table data, and table data to be replaced based on information instructed from the outside, and setting information on the determined replacement target table data in the table data replacement unit Means for setting table data information to be replaced, packet extracting means for extracting a required packet to be decoded from the input packet, and memory access for performing memory access to store the required packet in a memory prior to decoding. It is obtained so as to include a scan unit.
【0023】また、本願の請求項9の発明に係るパケッ
ト処理装置は、請求項7のパケット処理装置において、
上記パケット置き換え手段は、置き換えの対象となるパ
ケットを示す置き換え対象パケットと、これに対して置
き換えるべき置き換え後データと、の対応を示す置き換
え対応テーブルデータを記憶する置き換えデータ記憶手
段と、上記入力パケットが上記置き換え対象パケットに
該当するか否かを検出する置き換え対象パケット検出手
段と、上記入力パケットが上記置き換え対象パケットに
該当する場合には、上記置き換え対応テーブルデータを
参照して上記置き換え後データを読み出し、当該置き換
え後データを含む置き換えパケットを組み立てて、上記
置き換え対象パケットを当該置き換えパケットに置き換
えて出力し、上記入力パケットが上記置き換え対象パケ
ットでない場合には、上記入力パケットをそのまま出力
するパケット出力手段とを備えるようにしたものであ
る。A packet processing device according to a ninth aspect of the present invention is the packet processing device according to the seventh aspect,
The packet replacement means includes replacement data storage means for storing replacement correspondence table data indicating a correspondence between a replacement target packet indicating a packet to be replaced, and replacement data to be replaced with the replacement target packet; Means for detecting whether or not the packet to be replaced corresponds to the packet to be replaced, and, if the input packet corresponds to the packet to be replaced, refers to the replacement correspondence table data and replaces the data after replacement. A packet output for reading, assembling a replacement packet including the post-replacement data, replacing the replacement target packet with the replacement packet, and outputting the input packet if the input packet is not the replacement target packet. It is obtained so as to include a stage.
【0024】また、本願の請求項10の発明に係るパケ
ット処理装置は、請求項8のパケット処理装置におい
て、上記テーブルデータ置き換え手段は、置き換えの対
象となるテーブルデータを含むパケットを示す置き換え
対象パケットと、これに対して置き換えるべき置き換え
後データと、の対応を示す置き換え対応テーブルデータ
を記憶する置き換えデータ記憶手段と、上記入力パケッ
トが上記置き換え対象テーブルデータを含むパケットで
あるか否かを検出する入力パケット検出手段と、上記入
力パケットが上記置き換え対象テーブルデータを含むパ
ケットに該当する場合には、上記置き換え対応テーブル
データを参照して上記置き換え後データを読み出し、当
該置き換え後データを含む置き換えテーブルデータを組
み立てて、上記置き換え対象テーブルデータを当該置き
換えテーブルデータに置き換えて出力し、上記入力パケ
ットが上記置き換え対象テーブルデータを含まない場合
には、上記入力パケットをそのまま出力するパケット出
力手段とを備えるようにしたものである。According to a tenth aspect of the present invention, in the packet processing apparatus of the ninth aspect, the table data replacing means includes a packet to be replaced indicating a packet including table data to be replaced. Replacement data storage means for storing replacement correspondence table data indicating the correspondence between replacement data to be replaced and the replacement data, and detecting whether or not the input packet is a packet including the replacement target table data. Input packet detecting means, and when the input packet corresponds to a packet including the replacement target table data, reading the replacement data with reference to the replacement correspondence table data, and replacing the replacement table data including the replacement data. Assemble and place above And replacing the target table data with the replacement table data, and outputting the input packet when the input packet does not include the replacement target table data. .
【0025】また、本願の請求項11の発明に係るパケ
ット処理装置は、請求項7のパケット処理装置におい
て、上記パケット置き換え手段は、置き換えの対象とな
るパケットを示す置き換え対象パケットと、これに対し
て置き換えるべき置き換え後パケットと、の対応を示す
置き換え対応テーブルデータを記憶するテーブル置き換
えデータ記憶手段と、上記入力パケットが上記置き換え
対象パケットに該当するか否かを検出する置き換え対象
パケット検出手段と、上記入力パケットが上記置き換え
対象パケットに該当する場合には、上記置き換え対応テ
ーブルデータを参照して上記置き換え後パケットを読み
出し、上記置き換え対象パケットを当該置き換え後パケ
ットに置き換えて出力し、上記入力パケットが上記置き
換え対象パケットでない場合には、上記入力パケットを
そのまま出力するパケット出力手段とを備えるようにし
たものである。The packet processing device according to the invention of claim 11 of the present application is the packet processing device according to claim 7, wherein the packet replacement means includes a packet to be replaced indicating a packet to be replaced, Table replacement data storage means for storing replacement correspondence table data indicating the correspondence between the replacement packet to be replaced, and replacement target packet detection means for detecting whether the input packet corresponds to the replacement target packet, When the input packet corresponds to the replacement target packet, the replacement packet is read by referring to the replacement correspondence table data, and the replacement target packet is replaced with the replacement packet and output. In the above packet to be replaced When have is obtained by so and a packet output unit that outputs the said input packet.
【0026】また、本願の請求項12の発明に係るパケ
ット処理装置は、請求項8のパケット処理装置におい
て、上記テーブルデータ置き換え手段は、置き換えの対
象となるテーブルデータを示す置き換え対象テーブルデ
ータと、これに対して置き換えるべき置き換え後テーブ
ルと、の対応を示す置き換え対応テーブルデータを記憶
する置き換えデータ記憶手段と、上記入力パケットが上
記置き換え対象テーブルデータを含むことを検出する入
力パケット検出手段と、上記入力パケットが上記置き換
え対象テーブルデータを含むパケットに該当する場合に
は、上記置き換え対応テーブルデータを参照して上記置
き換え後テーブルデータを読み出し、上記置き換え対象
テーブルデータを当該置き換え後テーブルデータに置き
換えて出力し、上記入力パケットが上記置き換え対象テ
ーブルデータを含まない場合には、上記入力パケットを
そのまま出力するパケット出力手段とを備えるようにし
たものである。The packet processing device according to the invention of claim 12 of the present application is the packet processing device according to claim 8, wherein the table data replacement means includes replacement target table data indicating table data to be replaced, On the other hand, replacement data storage means for storing replacement correspondence table data indicating a correspondence between the replacement table to be replaced, input packet detection means for detecting that the input packet includes the replacement target table data, If the input packet corresponds to a packet including the replacement target table data, the replacement table data is read with reference to the replacement correspondence table data, and the replacement target table data is replaced with the replacement table data and output. And above When a force packet does not contain the target table data replacement above is obtained by so and a packet output unit that outputs the said input packet.
【0027】[0027]
【発明の実施の形態】(実施の形態1)まず、本発明の
実施の形態1として、MPEGシステム規格に準拠した
デジタル衛星テレビジョン放送(以下、単にデジタル放
送と称す)において、デジタル放送受信機が視聴者の希
望する番組だけを取り出しデジタルVTRへ出力する場
合について、トランスポートストリームのパケット構成
等を参照しながら説明する。デジタル放送では映像や音
声その他各種の情報は図10に示すようなトランスポー
トストリームにて伝送される。図10は株式会社アスキ
ー1994年8月1日発行の「ポイント図解式最新MP
EG教科書」p248の図11-16 を転載したもので、図にお
いて、601はトランスポートストリームであり、これ
は、固定長のトランスポートストリームパケット(以
下、TSパケットまたはTSPと称す)602を多数配
列することによって構成されている。TSパケット60
2にはそれぞれが格納しているデータの種類を示すパケ
ットID(PID)607が付与されている。また、T
Sパケット602には、復号器がTSパケットの先頭を
検出するための同期バイト情報603、このパケットの
なかのビット・エラーの有無を示す誤り表示情報60
4、新たなPESパケットやセクションがこのTSパケ
ットから始まることを示すユニット開始表示情報60
5、このパケットのペイロードの重要度を示すパケット
優先度情報606、このパケットのスクランブルの有
無,種別を示すスクランブル制御情報608、このパケ
ットでのアダプテーション・フィールドの有無およびペ
イロードの有無を示すアダプテーション・フィールド制
御情報609、同じPIDを持つパケットが途中で一部
棄却されたか否かを検出するための情報である巡回カウ
ンタ情報610、個別ストリームに関する付加情報やス
タッフィング・バイト(無効データ・バイト)をオプシ
ョンで登録することができるアダプテーション・フィー
ルド情報611、実効的なパケット・データであるペイ
ロード情報612が含まれている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (Embodiment 1) First, as Embodiment 1 of the present invention, in a digital satellite television broadcast (hereinafter, simply referred to as digital broadcast) conforming to the MPEG system standard, a digital broadcast receiver will be described. Will be described with reference to the packet structure of the transport stream and the like, in which only the program desired by the viewer is extracted and output to the digital VTR. In digital broadcasting, video, audio, and other various information are transmitted in a transport stream as shown in FIG. FIG. 10 is a diagram illustrating the latest point-based MP published by ASCII Corporation on August 1, 1994.
FIG. 11-16 of “EG textbook” p248 is reprinted. In the figure, reference numeral 601 denotes a transport stream, which is composed of a large number of fixed-length transport stream packets (hereinafter, referred to as TS packets or TSPs) 602. It is constituted by doing. TS packet 60
2 is provided with a packet ID (PID) 607 indicating the type of data stored therein. Also, T
The S packet 602 includes synchronization byte information 603 for the decoder to detect the head of the TS packet, and error indication information 60 indicating the presence or absence of a bit error in this packet.
4. Unit start display information 60 indicating that a new PES packet or section starts from this TS packet
5, packet priority information 606 indicating the importance of the payload of the packet, scramble control information 608 indicating the presence / absence of the scramble of this packet, the type thereof, an adaptation field indicating the presence / absence of an adaptation field in this packet and the presence / absence of the payload Control information 609, cyclic counter information 610 for detecting whether or not a packet having the same PID was partially rejected on the way, and additional information and a stuffing byte (invalid data byte) relating to an individual stream are optionally provided. It includes adaptation field information 611 that can be registered and payload information 612 that is effective packet data.
【0028】また、アダプテーション・フィールド情報
611には、次の同じPIDのパケットで、システム・
クロックがリセットされ、新たな内容になることを示す
不連続インジケータ情報613、ビデオのシーケンス・
ヘッダまたはオーディオのフレームのはじまりを示し、
ランダム・アクセスのエントリー・ポイントであること
を示すランダム・アクセス表示情報614、個別ストリ
ームの重要部分が、このパケットのペイロードにあるこ
とを示すストリーム優先表示情報615、編集可能な点
までの同一PIDのトランスポート・パケットの数を示
すスプライス・カウントダウン情報616が含まれてい
る。The adaptation field information 611 includes the following packet of the same PID as the system
Discontinuity indicator information 613 indicating that the clock has been reset to a new content;
Indicates the beginning of a header or audio frame,
Random access display information 614 indicating that this is an entry point of random access, stream priority display information 615 indicating that an important part of an individual stream is in the payload of this packet, and the same PID up to an editable point Splice countdown information 616 indicating the number of transport packets is included.
【0029】以下、説明の簡単化のためにトランスポー
トストリームが番組1、番組2の2つを伝送するものと
仮定した場合、番組1の映像のためのTSパケット(以
下、TSP映像1と称す)、番組1の音声のためのTS
パケット(以下、TSP音声1と称す)、番組2の映像
のためのTSパケット(以下、TSP映像2と称す)、
番組2の音声のためのTSパケット(以下、TSP音声
2と称す)にはそれぞれ別個のパケットIDが与えられ
る。さらにどの情報にどのパケットIDが割り当てられ
ているかを示す情報PMT(Program Map Table )を伝
送するTSパケットが番組毎に設定される。Hereinafter, for the sake of simplicity, assuming that the transport stream transmits two of program 1 and program 2, a TS packet for the video of program 1 (hereinafter referred to as TSP video 1) ), TS for audio of program 1
Packets (hereinafter, referred to as TSP audio 1), TS packets for video of program 2 (hereinafter, referred to as TSP video 2),
A separate packet ID is given to each of the TS packets for the audio of the program 2 (hereinafter, referred to as TSP audio 2). Further, a TS packet for transmitting information PMT (Program Map Table) indicating which packet ID is assigned to which information is set for each program.
【0030】番組1に対応するPMTをTSP−PMT
1、番組2に対応するPMTをTSP−PMT2と表す
ことにする。PMTには対応する番組の映像や音声のT
SパケットのパケットIDが格納される。また、放送全
体の情報として、PMTを格納するTSパケットのパケ
ットIDと番組番号の対応を表すPAT(Program Asso
ciation Table )を伝送するTSパケット(以下、TS
P−PATと称す)や放送のデータ伝達系の状態を称す
NIT(以下、TSP−NITと称す)などがあり、そ
れぞれパケットIDが割り当てられている。The PMT corresponding to program 1 is set to TSP-PMT
1. The PMT corresponding to the program 2 is represented as TSP-PMT2. The PMT contains the T and T of the video and audio of the corresponding program.
The packet ID of the S packet is stored. Also, as information of the entire broadcast, a PAT (Program Asso
TS packet (hereinafter referred to as TS)
P-PAT) and NIT (hereinafter, referred to as TSP-NIT), which indicates the state of a data transmission system of broadcasting, and are assigned packet IDs.
【0031】図11は株式会社アスキー1995年11
月1日発行の「ポイント図解式実践MPEG教科書」p1
44の図8-9 を転載したもので、この図は各プログラム番
号(16ビット)毎とそのプログラムのPMTのパケッ
トIDとの対応を表すPATを示し、テーブルの種別を
示すテーブルID701、ストリーム(多重化された符
号化データ)を識別するトランスポート・ストリームI
D702、テーブルの内容が更新される都度、加算され
るバージョン番号情報703、新旧バージョンを同時に
伝送する際の識別に用いられるカレント・ネクスト・イ
ンジケータ情報704、個々の番組を識別するプログラ
ム番号情報705、ネットワーク・インフォメーション
・テーブルのPIDを示すネットワークPID706、
プログラム・マップ・テーブルのPIDを示すプログラ
ム・マップPID707などを含んでいる。FIG. 11 shows ASCII Corporation, November 1995.
"Point Illustration Practical MPEG Textbook" published on January 1 p1
This figure is a reproduction of FIG. 8-9 of FIG. 44. This figure shows a PAT indicating the correspondence between each program number (16 bits) and the packet ID of the PMT of the program, a table ID 701 indicating the type of table, and a stream ( Transport stream I for identifying multiplexed encoded data)
D702, version number information 703 to be added each time the contents of the table are updated, current next indicator information 704 used to identify new and old versions at the same time, program number information 705 for identifying individual programs, A network PID 706 indicating the PID of the network information table,
A program map PID 707 indicating the PID of the program map table is included.
【0032】また、図12は前述の「ポイント図解式実
践MPEG教科書」p145の図8-10を転載したもので、こ
の図は各プログラム番号ごとに、そのプログラムを構成
する映像、音声、付加データなどのストリームが伝送さ
れるパケットのPIDを表すPMTを示し、テーブルの
種別を示すテーブルID801、復号する際の基準とな
るクロック(PCR)が含まれるパケットのPIDを示
すPCRPID802、データストリームに含まれる情
報の種類を示すストリーム・タイプ情報803などを含
んでいる。FIG. 12 is a reproduction of FIG. 8-10 of the above-mentioned "Point Illustrative Practical MPEG Textbook" p.145, which shows, for each program number, video, audio, and additional data constituting the program. A PMT indicating a PID of a packet to which a stream such as a stream is transmitted, a table ID 801 indicating a type of a table, a PCRPID 802 indicating a PID of a packet including a clock (PCR) serving as a reference at the time of decoding, are included in a data stream. Stream type information 803 indicating the type of information is included.
【0033】さらに、図13は前述の「ポイント図解式
最新MPEG教科書」p250の図11-17 を転載したもの
で、この図はトランスポート・ストリームの階層構造の
一例を示し、PAT901の1つ下の階層にはPMT9
02,903が存在し、PMT902の1つ下の階層に
はビデオ・ストリーム904とオーディオストリーム9
05が、また、プログラム・マップテーブル903の1
つ下の階層にはビデオ・ストリーム906とオーディオ
ストリーム907が、それぞれ存在する。FIG. 13 is a reproduction of FIG. 11-17 of the above-mentioned “Point Illustrated Latest MPEG Textbook” p250. This figure shows an example of the hierarchical structure of the transport stream. PMT9 in the hierarchy
02, 903, and the video stream 904 and the audio stream 9 are located one layer below the PMT 902.
05 is also one of the program map tables 903.
A video stream 906 and an audio stream 907 exist in the lower layer.
【0034】また、図14は前述の「ポイント図解式実
践MPEG教科書」p146の図8-11を転載したもので、こ
の図は伝送路に関する物理的な情報を表すNITを示
し、テーブルの種別を示すテーブルID1001、ネッ
トワークを識別するネットワークID1002などが含
まれている。FIG. 14 is a reproduction of FIG. 8-11 of the above-mentioned “Point Illustrative Practical MPEG Textbook” p. 146. FIG. The table ID 1001 includes a network ID 1002 for identifying a network.
【0035】実際の放送にはさらに多種のパケットが用
いられるが、ここでは以上のTSパケットに基づいて説
明を行なう。上に説明したTSパケットを用いて番組1
と番組2が放送されていると仮定した場合に、これをデ
ジタルVTRに記録する場合の動作について説明する。
ここでデジタルVTRはトランスポートストリームを記
録できるものであり、例として番組1だけを記録する場
合について説明する。Although various types of packets are used in actual broadcasting, the description will be made based on the above-described TS packets. Program 1 using the TS packet described above
The following describes the operation in the case where it is assumed that program 2 is being broadcast and this is recorded on a digital VTR.
Here, the digital VTR can record a transport stream, and a case where only the program 1 is recorded will be described as an example.
【0036】番組1を記録する場合には、まず番組1の
映像と音声を格納しているTSパケット(TSP映像
1,TSP音声1)を記録しなければならない。しかし
これだけでは不十分であり、これらの映像や音声が格納
されているTSパケットのパケットIDを表す情報も記
録しておかなければならない。このため番組1に対応す
るPMT(TSP−PMT)も記録する必要がある。さ
らにTSP−PMTのパケットIDはPATにより示さ
れるため、TSP−PATを記録する必要がある。In recording program 1, first, TS packets (TSP video 1 and TSP audio 1) storing the video and audio of program 1 must be recorded. However, this is not enough, and information indicating the packet ID of the TS packet storing the video and audio must also be recorded. Therefore, the PMT (TSP-PMT) corresponding to the program 1 also needs to be recorded. Further, since the packet ID of the TSP-PMT is indicated by the PAT, it is necessary to record the TSP-PAT.
【0037】しかしながら、TSP−PATに格納され
ているデータには番組1だけでなく番組2のPMTのパ
ケットIDに関する情報も含まれている。このため、放
送されたTSP−PATをそのまま記録すると記録され
たトランスポートストリーム内に番組2が含まれていな
いことを示すことができない。そこで、TSP−PAT
を記録する際には、PATのデータを正しいものに、す
なわち番組1のTSP−PMTのパケットIDだけが格
納されているように修正しなければならない。PATだ
けでなくPMTも同様で、番組1を示す様々なTSパケ
ットのうちデジタルVTRに記録しなかったTSパケッ
トのパケットIDはPMTの中から削除しなければなら
ない。このように、放送されたトランスポートストリー
ムをデジタルVTRに記録する場合には、いくつかのT
Sパケット内の情報を正しい情報に置き換えなければな
らない。However, the data stored in the TSP-PAT includes not only the program 1 but also information on the PMT packet ID of the program 2. For this reason, if the broadcasted TSP-PAT is recorded as it is, it cannot be shown that the recorded transport stream does not include the program 2. Therefore, TSP-PAT
Must be corrected so that the PAT data is correct, that is, only the packet ID of the TSP-PMT of program 1 is stored. The same applies to not only the PAT but also the PMT. The packet ID of the TS packet not recorded in the digital VTR among the various TS packets indicating the program 1 must be deleted from the PMT. As described above, when recording a broadcast transport stream on a digital VTR, several T
The information in the S packet must be replaced with correct information.
【0038】本発明は、このようなTSパケットの置き
換えを行なうことのできるパケット処理装置に関するも
のであり、本実施の形態1では、デジタルVTRにトラ
ンスポートストリームにより放送された番組を記録する
場合のTSパケットの置き換えについて説明する。The present invention relates to a packet processing apparatus capable of performing such TS packet replacement. In the first embodiment, the present invention relates to a case where a program broadcasted by a transport stream is recorded on a digital VTR. The replacement of TS packets will be described.
【0039】まず、図1は本願の請求項1ないし12の
発明に対応するものであり、本発明の実施の形態1によ
る,上述のようなパケット処理機能を有するパケット処
理装置を内蔵したデジタル放送の受信機の構成を示す。First, FIG. 1 corresponds to the first to twelfth aspects of the present invention, and shows a digital broadcast incorporating a packet processing device having the above-described packet processing function according to the first embodiment of the present invention. 1 shows the configuration of the receiver.
【0040】図1において、1はデジタル放送を受信す
るためのアンテナ、2はアンテナ1で受信されたデジタ
ル放送から所望の放送周波数のトランスポートストリー
ムを選局するチューナ、3はチューナ2で選局されたト
ランスポートストリームを復調する復調器、10は復調
器3により復調されたトランスポートストリームのなか
から不要な番組に相当するTSパケットを除去する等の
処理を行うトランスポートストリームパケット処理装置
である。In FIG. 1, reference numeral 1 denotes an antenna for receiving a digital broadcast, reference numeral 2 denotes a tuner for selecting a transport stream having a desired broadcast frequency from digital broadcast received by the antenna 1, and reference numeral 3 denotes a tuner for tuning. A demodulator 10 for demodulating the transport stream thus demodulated is a transport stream packet processing device for performing processing such as removing TS packets corresponding to unnecessary programs from the transport stream demodulated by the demodulator 3. .
【0041】また、4は図示しないリモコン受信機によ
り受信した視聴者の番組選択情報に基づいて上記トラン
スポートストリームパケット処理装置10に対し置き換
え対象となるTSパケットに関するデータを設定したり
該パケット処理装置10を制御するCPUであり、これ
は、外部から指示された情報に基づき置き換える対象と
なるテーブルデータを割り出し、当該割り出した置き換
え対象テーブルデータに関する情報を上記テーブルデー
タ置き換え手段に設定する置き換え対象テーブルデータ
情報設定手段と置き換え対象パケット情報設定手段に相
当するものであり、トランスポートストリームパケット
処理装置10とともに本願の請求項3ないし6の発明お
よび本願の請求項9ないし12の発明を構成するもので
ある。また、5はデータのバッファエリアとして使用さ
れるメモリ、6はAVデータ処理を行い再生された映像
情報を出力するAVデコーダ、7はパケット出力回路1
02の出力を図示しないデジタルVTRに出力するデジ
タルVTRインタフェースである。Reference numeral 4 designates data relating to TS packets to be replaced in the transport stream packet processing device 10 based on the viewer's program selection information received by a remote control receiver (not shown). 10. The CPU controls the table data to be replaced based on information specified externally, and sets information on the determined table data to be replaced in the table data replacing means. They correspond to information setting means and replacement target packet information setting means, and together with the transport stream packet processing device 10, constitute inventions of claims 3 to 6 of the present application and claims 9 to 12 of the present application. . 5 is a memory used as a buffer area for data, 6 is an AV decoder that performs AV data processing and outputs reproduced video information, and 7 is a packet output circuit 1.
02 is a digital VTR interface for outputting the output of the digital VTR 02 to a digital VTR (not shown).
【0042】また、上記トランスポートストリームパケ
ット処理装置10において、101は復調器3により復
調されたパケットのなかから視聴者のリモコン操作等に
より指定された番組に対応するパケットを選択するパケ
ット選択回路であり、これはパケット形式のデータを順
次入力パケットとして入力するパケット入力手段に相当
する。また、102はこの選択されたパケットの一部を
書き換えて出力するパケット出力回路であり、これは、
上記入力パケットの中から置き換える対象となるパケッ
トを検出し当該置き換え対象パケットの置き換えを実行
するパケット置き換え手段,または、上記入力パケット
中の置き換えの対象となるテーブルデータを検出し当該
テーブルデータの置き換えを実行するテーブルデータ置
き換え手段に相当し、パケット選択回路101とともに
本願の請求項1または2の発明を構成するものである。
103はパケット選択回路101により選択されたパケ
ットのなかからデータを取り出すデータ取り出し回路で
あり、これは上記入力パケットの中からデコードすべき
所要のパケットを取り出すパケット取り出し手段に相当
する。また、104はこのデータ取り出し回路103と
メモリ5との間でデータのやりとりを行うメモリアクセ
ス回路であり、これは、上記所要のパケットをデコード
に先だってメモリに記憶すべくメモリアクセスを行うメ
モリアクセス手段メモリアクセス手段に相当するもので
ある。In the transport stream packet processing apparatus 10, a packet selection circuit 101 selects a packet corresponding to a program specified by a viewer's remote control operation or the like from among the packets demodulated by the demodulator 3. This corresponds to packet input means for sequentially inputting packet format data as input packets. A packet output circuit 102 rewrites and outputs a part of the selected packet.
Packet replacement means for detecting a packet to be replaced from the input packet and performing replacement of the packet to be replaced, or detecting table data to be replaced in the input packet and replacing the table data. It corresponds to table data replacement means to be executed, and together with the packet selection circuit 101, constitutes the invention of claim 1 or 2 of the present application.
Reference numeral 103 denotes a data extracting circuit for extracting data from the packets selected by the packet selecting circuit 101, and corresponds to a packet extracting means for extracting a required packet to be decoded from the input packets. Numeral 104 denotes a memory access circuit for exchanging data between the data fetch circuit 103 and the memory 5. This memory access means 104 performs a memory access to store the required packet in the memory prior to decoding. This corresponds to a memory access unit.
【0043】次に図1の動作について図15のフローチ
ャートを参照しながら説明する。放送局の放送番組はQ
AM,QPSK等の変調方式により変調されて地上局か
ら送出され、衛星局により中継されて、デジタル放送受
信機のアンテナ1により受信され、視聴者がリモコン送
信機等を操作して、所望の放送局のチャンネル番号を入
力することにより(図15のステップS1)、チューナ
2により該当チャンネルの選局が行われる。チューナ2
により選局された放送局からの信号は、復調器3によっ
て復調され、トランスポートストリーム(以下、TSと
称す)となってTSパケット処理装置10に入力され
る。Next, the operation of FIG. 1 will be described with reference to the flowchart of FIG. Q is the broadcast program of the broadcasting station
The signal is modulated by a modulation method such as AM and QPSK and transmitted from a ground station, relayed by a satellite station, received by an antenna 1 of a digital broadcast receiver, and operated by a viewer by operating a remote control transmitter or the like to obtain a desired broadcast. By inputting the channel number of the station (step S1 in FIG. 15), the tuner 2 selects the corresponding channel. Tuner 2
Is demodulated by the demodulator 3 and converted into a transport stream (hereinafter, referred to as TS) to be input to the TS packet processing apparatus 10.
【0044】TSパケット処理装置10に入力されたT
Sパケットはパケット選択回路101に入力される。パ
ケット選択回路101ではトランスポートストリームか
らPAT等の視聴用やデジタルVTRへの記録に必要な
パケットIDのTSパケットを取り出す(図15のステ
ップS2)。The T input to the TS packet processor 10
The S packet is input to the packet selection circuit 101. The packet selection circuit 101 extracts a TS packet having a packet ID necessary for viewing and listening to a PAT or for recording on a digital VTR from the transport stream (step S2 in FIG. 15).
【0045】そしてこのようにして取り出されたTSパ
ケットが、視聴用のTSパケットの場合、データ取り出
し回路103により、PAT内の情報からPMTが取り
出され(図15のステップS5)、PMT内の情報から
当該チャンネルのパケットが分離されることにより(図
15のステップS6)、TSパケット内から映像や音
声,字幕等のその他のデータが取り出される。これらの
データはメモリアクセス回路104によりメモリ5内に
バッファリングされる。映像や音声のデータは、AVデ
コーダ6によりメモリ5から取り出されて(図15のス
テップS7)伸長処理を施された後、図示しない表示装
置へ出力される。一方PATやPMTなどの情報はCP
U4によりメモリ5から取り出され、該CPU4によ
り、本受信機のパケット処理装置の制御のために用いら
れる。If the TS packet thus extracted is a TS packet for viewing, the PMT is extracted from the information in the PAT by the data extracting circuit 103 (step S5 in FIG. 15), and the information in the PMT is extracted. Then, the data of the channel is separated (step S6 in FIG. 15), so that other data such as video, audio, and subtitles are extracted from the TS packet. These data are buffered in the memory 5 by the memory access circuit 104. The video and audio data are extracted from the memory 5 by the AV decoder 6 (step S7 in FIG. 15), subjected to decompression processing, and then output to a display device (not shown). On the other hand, information such as PAT and PMT is CP
It is extracted from the memory 5 by U4 and used by the CPU 4 for controlling the packet processing device of the receiver.
【0046】これに対し、デジタルVTRへ記録するた
めのTSパケットは、パケット選択回路101からデー
タ取り出し回路103に出力される。本実施の形態1の
パケット出力回路の構成図を図2に示す。図2は本願の
請求項1,3,7,9の発明に対応する,本発明の実施
の形態1に係るパケット処理装置の構成要素であるパケ
ット出力回路を示すブロック図である。このパケット出
力回路は図1のトランスポートストリームパケット処理
装置において、そのパケット出力回路として使用される
ものである。On the other hand, a TS packet to be recorded on the digital VTR is output from the packet selection circuit 101 to the data extraction circuit 103. FIG. 2 shows a configuration diagram of the packet output circuit according to the first embodiment. FIG. 2 is a block diagram showing a packet output circuit, which is a component of the packet processing device according to the first embodiment of the present invention and corresponds to the inventions of claims 1, 3, 7, and 9 of the present application. This packet output circuit is used as the packet output circuit in the transport stream packet processing device of FIG.
【0047】図において、1021は置き換え対象のT
SパケットのパケットIDとこれを置換えた後の置き換
えパケットを構成するデータとしての置き換えデータと
の組が3つ,図1のCPU4により設定されている置き
換えデータ記憶部であり、これは、置き換えの対象とな
るパケットを示す置き換え対象パケットと、当該置き換
え対象パケットに含まれる置き換え対象データに対し置
き換えが実行された後のデータを示す置き換えデータと
の対応を示す置き換えテーブルデータを記憶する置き換
えテーブル記憶手段に相当する。また、1022は図1
のパケット選択回路101から入力された選択トランス
ポートストリームを構成するTSパケットが置き換えデ
ータ記憶部1021に設定されている置き換え対象パケ
ットIDのうちの一つに一致しているか否かを判断し、
一致している場合にはパケット組立部1023とパケッ
ト置き換え部1024に対し一致した旨を通知するパケ
ット判断部であり、これは、上記入力パケットが上記置
き換え対象パケットに該当するか否かを検出する置き換
え対象パケット検出手段に相当する。また、1023は
パケット判断部1022から一致していることが通知さ
れた場合に、一致した置き換え対象パケットIDに対応
する置換えデータを置き換えデータ記憶部1021から
読み出し、このデータが含まれるようにTSパケットを
組み立てるパケット組立部、1024はパケット判断部
1022から一致していることが通知されるとパケット
組立部1023が出力しているTSパケットを外部に出
力し、一致していないことが通知されている場合にはパ
ケット判断部1022が出力した入力TSパケットをそ
のまま外部に出力するパケット置き換え部であり、パケ
ット組立部1023とパケット置き換え部1024によ
り、上記入力パケットが上記置き換え対象パケットに該
当する場合には、上記置き換えテーブルデータを参照し
て上記置き換えデータを読み出し、当該置き換えデータ
を含む置き換えパケットを組み立てて、上記置き換え対
象パケットを当該置き換えパケットに置き換えて出力
し、上記入力パケットが上記置き換え対象パケットでな
い場合には、上記入力パケットをそのまま出力するパケ
ット出力手段1020を構成する。In the figure, reference numeral 1021 denotes a T to be replaced.
A set of three sets of the packet ID of the S packet and the replacement data as the data constituting the replacement packet after replacing the S packet is a replacement data storage unit set by the CPU 4 in FIG. Replacement table storage means for storing replacement table data indicating a correspondence between a replacement target packet indicating a target packet and replacement data indicating data after replacement has been performed on replacement target data included in the replacement target packet Is equivalent to FIG.
It is determined whether or not the TS packet forming the selected transport stream input from the packet selection circuit 101 of (a) matches one of the replacement target packet IDs set in the replacement data storage unit 1021;
If they match, the packet judging unit notifies the packet assembling unit 1023 and the packet replacing unit 1024 of the coincidence, and detects whether or not the input packet corresponds to the packet to be replaced. It corresponds to the replacement target packet detecting means. In addition, when the packet determining unit 1022 notifies that the packet ID matches, the replacement data 1023 reads the replacement data corresponding to the matching replacement target packet ID from the replacement data storage unit 1021, and sets the TS packet so that this data is included. The packet assembling unit 1024 that assembles the packet outputs the TS packet output from the packet assembling unit 1023 to the outside when notified of the coincidence from the packet determining unit 1022, and is notified that the packet does not match. In this case, the packet replacement unit outputs the input TS packet output from the packet determination unit 1022 to the outside as it is. The packet assembling unit 1023 and the packet replacement unit 1024 determine whether the input packet corresponds to the replacement target packet. And refer to the replacement table data above The replacement data is read, a replacement packet including the replacement data is assembled, the replacement target packet is replaced with the replacement packet, and the replacement packet is output. If the input packet is not the replacement target packet, the input packet is output as it is. The packet output means 1020 performs the configuration.
【0048】次に図2の動作について説明する。図1の
パケット選択回路101から出力された選択トランスポ
ートストリームを構成するTSパケットは、パケット判
断部1022によって置き換えデータ記憶部1021の
テーブルサーチが実行され、置き換え対象に該当するか
否かが判断される。このテーブルサーチはリニアサーチ
で行ってもよいが、複数の比較器を並列に配置して、入
力されたTSパケットと全ての置換え対象データを同時
に比較するようにしてもよい。Next, the operation of FIG. 2 will be described. For the TS packets constituting the selected transport stream output from the packet selection circuit 101 of FIG. You. This table search may be performed by a linear search, but a plurality of comparators may be arranged in parallel to simultaneously compare the input TS packet with all the replacement target data.
【0049】そして、このようなテーブルサーチを実行
した結果、TSパケットが置き換え対象に該当すると判
断された場合には(図15のステップS3)、パケット
組立部1023が置き換えデータ記憶部1021からこ
れに対応する置換え後のデータとしての置き換えデータ
を読み出すことにより、置き換えが実行され(図15の
ステップS4)、パケット組立部1023により置換え
後のパケットが組立てられた後、パケット置き換え部1
024を介して外部に出力される。これに対し、置き換
え対象に該当しないと判断された場合には、外部から入
力されたTSパケットはパケット置き換え部1024を
通過して外部にそのまま出力される。Then, as a result of executing such a table search, when it is determined that the TS packet is to be replaced (step S3 in FIG. 15), the packet assembling unit 1023 transfers the TS packet from the replacement data storage unit 1021 to the replacement unit. The replacement is performed by reading the corresponding replacement data as the replacement data (step S4 in FIG. 15), and after the replacement packet is assembled by the packet assembling unit 1023, the packet replacement unit 1
024 to the outside. On the other hand, when it is determined that the TS packet does not correspond to the replacement target, the TS packet input from the outside passes through the packet replacement unit 1024 and is output to the outside as it is.
【0050】ここで番組1をデジタルVTRに記録する
場合を考える。この場合、全てのトランスポートストリ
ームのなかから番組1のみに関係する映像、音声の情報
とPAT、番組1のPMTを選択し、デジタルVTRに
出力しなければならない。そしてその際、PAT,PM
Tを、デジタルVTRに出力される出力トランスポート
ストリームに関して正しい情報になるように置き換えな
ければならない。ここでは図3に示す入力トランスポー
トストリームが入力され、図3の出力トランスポートス
トリームがパケット出力回路から出力される場合につい
て説明する。Here, consider the case where program 1 is recorded on a digital VTR. In this case, it is necessary to select the video and audio information and PAT relating to only the program 1 from all the transport streams, and to select the PMT of the program 1 and output them to the digital VTR. And at that time, PAT, PM
T must be replaced so that it is the correct information about the output transport stream output to the digital VTR. Here, a case where the input transport stream shown in FIG. 3 is input and the output transport stream of FIG. 3 is output from the packet output circuit will be described.
【0051】入力トランスポートストリームは、番組
1,番組2の2つの番組に関する情報を含んでおり、図
3のようなTSパケット列からなるとする。図3におい
て、V1は映像1、即ち番組1の映像である。また、S
1は音声1、即ち番組1の音声である。同様にV2,S
2は映像2,音声2、即ち番組2の映像,音声である。
また、PはPAT、PM1はPMT1,即ち番組1のP
MTであり、PM2はPMT2,即ち番組2のPMTで
ある。The input transport stream contains information on two programs, Program 1 and Program 2, and is assumed to be composed of a TS packet sequence as shown in FIG. In FIG. 3, V1 is a video 1, that is, a video of the program 1. Also, S
1 is audio 1, that is, audio of program 1. Similarly, V2, S
Reference numeral 2 denotes video 2 and audio 2, that is, video and audio of program 2.
P is PAT, PM1 is PMT1, that is, P1 of program 1.
MT, and PM2 is PMT2, that is, PMT of program 2.
【0052】入力トランスポートストリームはまず図1
のパケット選択回路101に入力され、ここで番組1に
関連するTSパケットだけが選択される。これが図3の
選択後トランスポートストリームであり、TSP−PA
T(P),TSP映像1(V1),TSP音声1(S
1),TSP−PMT1(PM1)が含まれる。しかし
ながら、このままではTSP−PAT(P)やTSP−
PMT1(PM1)の情報は正しくないため、これらは
正しいデータに書き換えなければならない。The input transport stream is first shown in FIG.
, And only the TS packets related to the program 1 are selected. This is the transport stream after selection in FIG.
T (P), TSP video 1 (V1), TSP audio 1 (S
1), TSP-PMT1 (PM1). However, as it is, TSP-PAT (P) and TSP-
Since the information of PMT1 (PM1) is not correct, they must be rewritten to correct data.
【0053】パケット選択回路101により選択された
選択後のトランスポートストリームはパケット出力回路
102に出力される。以下ではパケット出力回路102
におけるTSパケットの置き換え機能の動作について説
明する。パケット出力回路102内の置き換えデータ記
憶部1021にはCPU4により次のデータを設定しこ
れに記憶しておく。The selected transport stream selected by the packet selection circuit 101 is output to the packet output circuit 102. In the following, the packet output circuit 102
The operation of the TS packet replacement function in the above will be described. The following data is set in the replacement data storage unit 1021 in the packet output circuit 102 by the CPU 4 and stored therein.
【0054】[0054]
【表1】 [Table 1]
【0055】パケット出力回路102に入力された選択
トランスポートストリーム入力はパケット判断部102
2に入力される。入力されたTSパケットがTSP映像
1やTSP音声1の場合には、置き換えデータ記憶部1
021に置き換え対象パケットIDとして設定されてい
るパケットIDのどれとも一致しないため、TSパケッ
トはパケット置き換え部1024からそのまま外部に出
力される。これに対し、入力されたTSパケットがTS
P−PATの場合、パケット判断部1022で置き換え
対象パケットIDの内TSP−PATのパケットIDと
一致することが検出される。この一致情報はパケット組
立部1023に伝えられる。パケット組立部1023で
は置き換えデータ記憶部1021のTSP−PATのパ
ケットIDに対応して設定されている新PATのデータ
を取り出し、これをTSパケットの形式に組み立てる。
ここで組み立てられたTSパケットをTSP−新PAT
(PN)と記す。TSP−新PATはパケット置き換え
部1024に入力される。パケット置き換え部1024
にはパケット判断部1022から、入力TSパケットが
置き換え対象パケットIDの内の一つに一致しているこ
とが通知されており、TSP−PATの代わりにTSP
−新PAT(PN)を出力する。選択後のトランスポー
トストリーム入力としてTSP−PMT1が入力された
時も同様に、置き換えデータ記憶部1021に設定され
ている新PMT1のデータよりなるTSP−新PMT1
(PM1N)に置き換えて出力される。The selected transport stream input to the packet output circuit 102 is
2 is input. When the input TS packet is TSP video 1 or TSP audio 1, the replacement data storage unit 1
Since the packet ID does not match any of the packet IDs set as the replacement target packet IDs, the TS packet is output from the packet replacement unit 1024 to the outside as it is. On the other hand, the input TS packet
In the case of P-PAT, the packet judgment unit 1022 detects that the packet ID matches the packet ID of TSP-PAT among the packet IDs to be replaced. This coincidence information is transmitted to the packet assembling unit 1023. The packet assembling section 1023 extracts the new PAT data set corresponding to the TSP-PAT packet ID in the replacement data storage section 1021 and assembles it into a TS packet format.
The TS packet assembled here is converted to TSP-new PAT.
(PN). The TSP-new PAT is input to the packet replacement unit 1024. Packet replacement unit 1024
Has been notified from the packet determination unit 1022 that the input TS packet matches one of the packet IDs to be replaced, and the TSP-PAT is used instead of the TSP-PAT.
-Output the new PAT (PN). Similarly, when the TSP-PMT1 is input as the selected transport stream input, the TSP-new PMT1 including the data of the new PMT1 set in the replacement data storage unit 1021 is similarly used.
(PM1N) and output.
【0056】このようにして、図3の入力トランスポー
トストリームは入力されたトランスポートストリーム内
のTSパケットの内、データの書換えの必要なものだけ
新しく組み立てたTSパケットに置き換えて出力するこ
とが可能となり、入力トランスポートストリームは目的
とする番組のみを対象とするデータのみからなるストリ
ームとなって、ストリーム内に占める有効な情報量が削
減される。In this way, the input transport stream shown in FIG. 3 can be output by replacing the TS packets in the input transport stream that need to be rewritten with newly assembled TS packets. Thus, the input transport stream is a stream composed only of data for only the target program, and the amount of effective information occupying in the stream is reduced.
【0057】なお、この情報量の削減処理により、スト
リーム中にはデータの空隙がややランダムに生じるが、
デジタルVTRインタフェース7の内部かデジタルVT
Rの側で、ストリームの十分なデータ量をバッファし、
そのバッファしたデータに対し単にデータの時間軸伸長
を行えば、ややランダムなデータの空隙が埋まる。そし
て、これにより、トランスポートストリームのビットレ
ートが下がり、家庭用の記録帯域が狭いデジタルVTR
に、トランスポートストリームの記録が可能となる。ま
た、ここではPAT、PMTについて置き換える場合を
説明したが、置き換え対象となるパケットの種類はこれ
に限るものではない。さらに、置き換えデータ記憶部に
設定できる置き換え対象のパケットの種類も2種類に限
るものではない。By the process of reducing the amount of information, data gaps are generated at random in the stream.
Inside the digital VTR interface 7 or digital VT
On the R side, buffer a sufficient amount of data in the stream,
Simply expanding the time axis of the buffered data fills a somewhat random data gap. As a result, the bit rate of the transport stream decreases, and the digital VTR having a narrow recording band for home use.
In addition, the recording of the transport stream becomes possible. Although the case of replacing the PAT and PMT has been described here, the type of the packet to be replaced is not limited to this. Further, the types of packets to be replaced that can be set in the replacement data storage unit are not limited to two.
【0058】(実施の形態2)また、上記実施の形態1
では、置き換えデータ記憶部に置換えデータを設定して
おき、置き換え対象パケットが入力された時に新たに置
換えデータを含むTSパケットを組み立てる装置につい
てのみ説明したが、置換え後のデータとして置換え後の
パケットである置き換えパケットそのものを記憶してお
き、パケット組立部を省略する構成とすることも可能で
ある。(Embodiment 2) Also, in Embodiment 1 described above.
In the above description, only the device in which replacement data is set in the replacement data storage unit and a TS packet including replacement data is newly assembled when a packet to be replaced is input has been described. It is also possible to store a replacement packet itself and omit the packet assembling unit.
【0059】図4は本願の請求項1,5,7,11の発
明に対応する,本発明の実施の形態2に係るパケット処
理装置の構成要素であるパケット出力回路を示すブロッ
ク図である。このパケット出力回路は実施の形態1にお
ける図2の回路と同様に、図1のトランスポートストリ
ームパケット処理装置において、そのパケット出力回路
として使用されるものである。FIG. 4 is a block diagram showing a packet output circuit which is a component of the packet processing apparatus according to the second embodiment of the present invention and corresponds to the inventions of claims 1, 5, 7, and 11 of the present invention. This packet output circuit is used as the packet output circuit in the transport stream packet processing device of FIG. 1, similarly to the circuit of FIG. 2 in the first embodiment.
【0060】図4において、図2と同一符号は同一また
は相当するものを示し、1027は置き換え対象のTS
パケットのパケットIDとこれを置換えた後の置き換え
パケットとの組が3つ,図1のCPU4により設定され
ている置き換えデータ記憶部であり、置き換えの対象と
なるパケットを示す置き換え対象パケットと当該置き換
え対象パケットに対し置き換えが実行された後のパケッ
トを示す置き換えパケットとの対応を示す置き換えテー
ブルデータを記憶するテーブル置き換えテーブル記憶手
段に相当するものである。この書き換えデータ記憶部1
027には次のデータを記憶しておく。In FIG. 4, the same reference numerals as those in FIG. 2 denote the same or corresponding components, and 1027 denotes the TS to be replaced.
A set of three of the packet ID of the packet and the replacement packet after replacement thereof is a replacement data storage unit set by the CPU 4 in FIG. This corresponds to table replacement table storage means for storing replacement table data indicating correspondence with a replacement packet indicating a packet after replacement has been performed on a target packet. This rewrite data storage unit 1
027 stores the following data.
【0061】[0061]
【表2】 [Table 2]
【0062】また、この図4の実施形態2では図2のパ
ケット組立部が省略されているため、パケット置き換え
部1024単独で上記入力パケットが上記置き換え対象
パケットに該当する場合には、上記置き換えテーブルデ
ータを参照して上記置き換えパケットを読み出し、上記
置き換え対象パケットを当該置き換えパケットに置き換
えて出力し、上記入力パケットが上記置き換え対象パケ
ットでない場合には、上記入力パケットをそのまま出力
するパケット出力手段1020を構成している。In the second embodiment shown in FIG. 4, the packet assembling unit shown in FIG. 2 is omitted. Therefore, when the input packet corresponds to the packet to be replaced by the packet replacing unit 1024 alone, the replacement table A packet output unit 1020 that reads the replacement packet with reference to data, replaces the replacement target packet with the replacement packet, and outputs the input packet if the input packet is not the replacement target packet, outputs the input packet as it is. Make up.
【0063】次に図4の動作について説明する。パケッ
ト出力回路102に入力された選択トランスポートスト
リーム入力はパケット判断部1022に入力される。入
力されたTSパケットがTSP映像1やTSP音声1の
場合には、置き換えデータ記憶部1027に置き換え対
象パケットIDとして設定されているパケットIDのど
れとも一致しないため、TSパケットがパケット置き換
え部1024からそのまま出力される。これに対し、入
力されたTSパケットがTSP−PATの場合、パケッ
ト判断部1022で置き換え対象パケットIDの内TS
P−PATのパケットIDと一致することが検出され
る。この一致情報は置き換えデータ記憶部1027に伝
えられる。置き換えデータ記憶部1027はTSP−P
ATのパケットIDに対応して設定されている新PAT
のパケットを読み出す。ここで読み出されたTSパケッ
トをTSP−新PAT(PN)と記す。TSP−新PA
Tはパケット置き換え部1024に入力される。パケッ
ト置き換え部1024にはパケット判断部1022か
ら、入力TSパケットが置き換え対象パケットIDの内
の一つに一致していることが通知されており、TSP−
PATの代わりにTSP−新PAT(PN)を出力す
る。選択後のトランスポートストリーム入力としてTS
P−PMT1が入力された時も同様に、置き換えデータ
記憶部1027に設定されている新PMT1のデータよ
りなるTSP−新PMT1(PM1N)に置き換えて出
力される。Next, the operation of FIG. 4 will be described. The selected transport stream input input to the packet output circuit 102 is input to the packet determination unit 1022. If the input TS packet is TSP video 1 or TSP audio 1, it does not match any of the packet IDs set as replacement target packet IDs in the replacement data storage unit 1027. Output as is. On the other hand, if the input TS packet is a TSP-PAT, the packet determination unit 1022 determines that the TS
It is detected that the packet ID matches the packet ID of the P-PAT. This coincidence information is transmitted to the replacement data storage unit 1027. The replacement data storage unit 1027 stores the TSP-P
New PAT set corresponding to AT packet ID
Is read out. The TS packet read here is referred to as TSP-new PAT (PN). TSP-New PA
T is input to the packet replacement unit 1024. The packet replacement unit 1024 is notified from the packet determination unit 1022 that the input TS packet matches one of the replacement target packet IDs.
Output TSP-new PAT (PN) instead of PAT. TS as transport stream input after selection
Similarly, when the P-PMT1 is input, it is replaced with the TSP-new PMT1 (PM1N) composed of the data of the new PMT1 set in the replacement data storage unit 1027 and output.
【0064】このようにして、図5の入力トランスポー
トストリームは入力されたトランスポートストリーム内
のTSパケットの内、データの書換えの必要なものだけ
新しく組み立てたTSパケットに置き換えて出力するこ
とが可能となり、入力トランスポートストリームは目的
とする番組のみを対象とするデータのみからなるストリ
ームとなって、ストリーム内に占める有効な情報量が削
減される。In this manner, the input transport stream shown in FIG. 5 can be output by replacing the TS packets in the input transport stream with the newly assembled TS packets only for the data that needs to be rewritten. Thus, the input transport stream is a stream composed only of data for only the target program, and the amount of effective information occupying in the stream is reduced.
【0065】その際、予め置き換え後の置き換えパケッ
トが置き換えデータ記憶部1027に設定されており、
置き換えパケットを組み立てる必要がないため、置き換
え処理を迅速に実行でき、かつパケット組立部が不要と
なるため、その分ランダムロジックを削減でき、装置を
より安価に構成できる。At this time, the replacement packet after replacement is set in the replacement data storage unit 1027 in advance.
Since there is no need to assemble the replacement packet, the replacement process can be performed quickly, and the packet assembling unit is not required. Therefore, the random logic can be reduced by that amount, and the device can be configured at lower cost.
【0066】なお、この情報量の削減処理により、スト
リーム中にはデータの空隙がややランダムに生じるが、
デジタルVTRインタフェース7の内部かデジタルVT
Rの側で、ストリームの十分なデータ量をバッファし、
そのバッファしたデータに対し単にデータの時間軸伸長
を行えば、ややランダムなデータの空隙が埋まる。そし
て、これにより、トランスポートストリームのビットレ
ートが下がり、家庭用の記録帯域が狭いデジタルVTR
に、トランスポートストリームの記録が可能となる。ま
た、ここではPAT、PMTについて置き換える場合を
説明したが、置き換え対象となるパケットの種類はこれ
に限るものではない。さらに、置き換えデータ記憶部に
設定できる置き換え対象のパケットの種類も2種類に限
るものではない。Note that, due to the information amount reduction processing, data gaps are generated at random in the stream.
Inside the digital VTR interface 7 or digital VT
On the R side, buffer a sufficient amount of data in the stream,
Simply expanding the time axis of the buffered data fills a somewhat random data gap. As a result, the bit rate of the transport stream decreases, and the digital VTR having a narrow recording band for home use.
In addition, the recording of the transport stream becomes possible. Although the case of replacing the PAT and PMT has been described here, the type of the packet to be replaced is not limited to this. Further, the types of packets to be replaced that can be set in the replacement data storage unit are not limited to two.
【0067】(実施の形態3)実施の形態1,2ではT
Sパケット全体を置き換える装置について説明したが、
この実施の形態3では置き換え対象のTSパケット内の
置き換え対象になるテーブルデータだけを置き換える装
置について説明する。図6は本願の請求項2,4,8,
10の発明に対応する,本発明の実施の形態3に係るパ
ケット処理装置の構成要素であるパケット出力回路を示
すブロック図である。このパケット出力回路は実施の形
態1における図2の回路と同様に、図1のトランスポー
トストリームパケット処理装置において、そのパケット
出力回路として使用されるものである。(Embodiment 3) In Embodiments 1 and 2, T
Although the device for replacing the entire S packet has been described,
In the third embodiment, an apparatus that replaces only the table data to be replaced in the TS packet to be replaced will be described. FIG. 6 shows claims 2, 4, 8,
FIG. 13 is a block diagram showing a packet output circuit corresponding to the tenth invention, which is a component of the packet processing device according to the third embodiment of the present invention. This packet output circuit is used as the packet output circuit in the transport stream packet processing device of FIG. 1, similarly to the circuit of FIG. 2 in the first embodiment.
【0068】図6において、図2と同一符号は同一また
は相当するものを示し、1025は置き換え対象のデー
タを含むTSパケットのパケットIDとその中のデータ
を置き換えた後のデータを示す置き換え対象データから
なる組が3つ,図1のCPU4により設定されている置
き換えデータ記憶部であり、これは、置き換えの対象と
なるテーブルデータを含むパケットを示す置き換え対象
パケットと、当該置き換え対象テーブルデータ中の置き
換えを行うべき置き換え対象データに対し置き換えが実
行された後のデータを示す置き換えデータとの対応を示
す置き換えテーブルデータを記憶する置き換えデータ記
憶手段に相当する。また、1022は図1のパケット選
択回路101から入力された選択トランスポートストリ
ームを構成するTSパケットが置き換えデータ記憶部1
028に設定されている置き換え対象パケットIDのう
ちの一つと一致しているか否かを判断し、一致している
場合にはテーブルデータ組立部1025とテーブルデー
タ置き換え部1026に対し一致した旨を通知するパケ
ット判断部であり、これは、上記入力パケットが上記置
き換え対象テーブルデータを含むパケットであるか否か
を検出する入力パケット検出手段に相当する。また、1
025はパケット判断部1022から一致していること
が通知された場合に、一致した置き換え対象パケットI
Dに対応する置換え後のデータを置き換えデータ記憶部
1028から読み出し、このデータが含まれるようにテ
ーブルデータを組み立てるテーブルデータ組立部、10
26はパケット判断部1022から一致していることを
通知されるとテーブルデータ組立部1025が出力して
いるテーブルデータを入力TSパケット内のテーブルデ
ータに置き換えて出力し、一致していないことが通知さ
れている場合にはパケット判断部1022が出力した入
力TSパケットを出力するテーブルデータ置き換え部で
あり、これらは、上記入力パケットが上記置き換え対象
テーブルデータを含むパケットに該当する場合には、上
記置き換えテーブルデータを参照して上記置き換えデー
タを読み出し、当該置き換えデータを含む置き換えテー
ブルデータを組み立てて、上記置き換え対象テーブルデ
ータを当該置き換えテーブルデータに置き換えて出力
し、上記入力パケットが上記置き換え対象テーブルデー
タを含まない場合には、上記入力パケットをそのまま出
力するパケット出力手段1020を構成する。In FIG. 6, the same reference numerals as those in FIG. 2 denote the same or corresponding elements, and 1025 denotes a packet ID of a TS packet including data to be replaced and data to be replaced indicating data after replacing data therein. Is a replacement data storage unit that is set by the CPU 4 of FIG. 1. The replacement data storage unit includes a replacement target packet indicating a packet including table data to be replaced and a replacement data packet in the replacement target table data. This corresponds to replacement data storage means for storing replacement table data indicating correspondence with replacement data indicating data after replacement has been performed on replacement target data to be replaced. Reference numeral 1022 denotes a data storage unit 1 in which TS packets constituting the selected transport stream input from the packet selection circuit 101 in FIG.
It is determined whether or not the packet ID matches one of the replacement target packet IDs set in “028”, and if they match, the table data assembling unit 1025 and the table data replacing unit 1026 are notified of the match. This is equivalent to input packet detection means for detecting whether or not the input packet is a packet including the table data to be replaced. Also, 1
025 indicates that the packet to be replaced I
D is read from the replacement data storage unit 1028, and the table data assembling unit 10 assembles table data so as to include this data.
26, when notified by the packet judgment unit 1022 that they match, replaces the table data output by the table data assembling unit 1025 with the table data in the input TS packet and outputs it. If the input packet corresponds to a packet including the table data to be replaced, the table data replacement unit outputs the input TS packet output by the packet determination unit 1022 when the packet is included. The replacement data is read out with reference to the table data, replacement table data including the replacement data is assembled, the replacement target table data is replaced with the replacement table data, and the replacement packet data is output. If not included , Constituting a packet output unit 1020 directly outputs the input packet.
【0069】次に動作について説明する。図1のパケッ
ト選択回路101から入力された選択トランスポートス
トリームを構成するTSパケットは、パケット判断部1
022によって置き換えデータ記憶部1028のテーブ
ルサーチが実行され、置き換え対象に該当するか否かが
判断される。そして、該当すると判断された場合、置き
換えデータ記憶部1028から置換えを行った後のデー
タとしての置き換えデータを読み出すことにより、置き
換えが実行され、テーブルデータ組立部1025により
置き換えデータを含むテーブルが組立てられた後、テー
ブルデータ置き換え部1026を介して外部に出力され
る。そしてその際、TSパケットのうちの該当するテー
ブルデータの部分が置き換えられて、置き換えが実行さ
れる。これに対し、置き換え対象に該当しない場合、外
部から入力されたTSパケットはパケット判断部102
2およびテーブルデータ置き換え部1026を通過して
外部にそのまま出力される。Next, the operation will be described. The TS packets constituting the selected transport stream input from the packet selection circuit 101 of FIG.
At 022, a table search of the replacement data storage unit 1028 is performed, and it is determined whether or not the table corresponds to a replacement target. If it is determined that the data is applicable, the replacement is performed by reading replacement data as replacement data from the replacement data storage unit 1028, and the table including the replacement data is assembled by the table data assembling unit 1025. After that, the data is output to the outside via the table data replacing unit 1026. At that time, the corresponding table data portion of the TS packet is replaced, and replacement is performed. On the other hand, when the packet does not correspond to the replacement target, the TS packet input from the outside is
2 and output directly to the outside through the table data replacement unit 1026.
【0070】ここで放送のための情報を格納しているN
ITというテーブルデータを含むTSパケットを、蓄積
のための情報を格納しているSIT(Selection Inform
ation Table )というテーブルデータに置き換える場合
を考える。図7に示す入力トランスポートストリームが
入力された場合、図1のパケット選択回路で番組1に関
連するTSパケットだけが選ばれ、これが選択後トラン
スポートストリームとして、パケット出力回路に入力さ
れる。パケット出力回路内の置き換えデータ記憶部には
次のデータを記憶しておく。Here, N storing information for broadcasting
SIT (Selection Inform) storing information for storing TS packets containing table data called IT
ation Table). When the input transport stream shown in FIG. 7 is input, only the TS packets related to the program 1 are selected by the packet selection circuit in FIG. The following data is stored in the replacement data storage unit in the packet output circuit.
【0071】[0071]
【表3】 [Table 3]
【0072】選択後トランスポートストリーム内のNI
Tを含むTSパケットがパケット出力回路のパケット判
断部1022に入力される。入力されたTSパケットが
TSP−NITの場合、パケット判断部1022で置き
換え対象パケットIDとして設定されているTSP−N
ITのパケットIDと一致することが検出される。この
一致情報はテーブルデータ組立部1025に伝えられ
る。テーブルデータ組立部1025では置き換えデータ
記憶部1028のTSP−NITのパケットIDに対応
して設定されているSITのデータを取り出し、これを
テーブルデータの形式に組み立てる。SITのテーブル
データはテーブルデータ置き換え部1026に入力され
る。テーブルデータ置き換え部1026にはパケット判
断部1022から、入力TSパケットが置き換え対象パ
ケットIDの内の一つに一致していることが通知されて
おり、かつTSP−NITが入力されている。テーブル
データ置き換え部1026では、TSP−NITからN
ITのテーブルデータを捨て去り、代わりにテーブルデ
ータ組立部1025から入力されているSITテーブル
データに置き換えることにより、置き換えを実行する。
そしてこのテーブルデータの置き換えられたTSパケッ
トが出力される。このようにして、図7の入力トランス
ポートストリームはデジタルVTRの記録に適した出力
トランスポートストリームとして出力される。The NI in the transport stream after selection
A TS packet including T is input to the packet determination unit 1022 of the packet output circuit. If the input TS packet is TSP-NIT, the TSP-N set as the replacement target packet ID in the packet determination unit 1022
It is detected that the packet ID matches the IT packet ID. This coincidence information is transmitted to the table data assembling unit 1025. The table data assembling unit 1025 extracts the SIT data set corresponding to the TSP-NIT packet ID in the replacement data storage unit 1028, and assembles the data into the table data format. The SIT table data is input to the table data replacement unit 1026. The table data replacement unit 1026 is notified from the packet determination unit 1022 that the input TS packet matches one of the packet IDs to be replaced, and receives the TSP-NIT. In the table data replacement unit 1026, the TSP-NIT
The replacement is performed by discarding the IT table data and replacing it with the SIT table data input from the table data assembling unit 1025 instead.
Then, the TS packet in which the table data is replaced is output. Thus, the input transport stream of FIG. 7 is output as an output transport stream suitable for recording of a digital VTR.
【0073】以上のように、入力されたトランスポート
ストリーム内のTSパケットの内、TSパケットが格納
しているテーブルデータの書換えの必要なものだけ新し
く組み立てたテーブルデータに置き換えて出力すること
が可能となり、入力トランスポートストリームは目的と
する番組のみを対象とするデータのみからなるストリー
ムとなって、ストリーム内に占める有効な情報量が削減
される。なお、ここではNITをSITに置き換える場
合について説明したが、置き換え対象となるテーブルデ
ータの種類はこれに限るものではない。また、置き換え
データ記憶部に設定できる置き換え対象のパケットの種
類も1種類に限るものではない。As described above, of the TS packets in the input transport stream, only the table data stored in the TS packets that need to be rewritten can be replaced with newly assembled table data and output. Thus, the input transport stream is a stream composed only of data for only the target program, and the amount of effective information occupying in the stream is reduced. Here, the case where NIT is replaced with SIT has been described, but the type of table data to be replaced is not limited to this. Further, the type of the packet to be replaced that can be set in the replacement data storage unit is not limited to one.
【0074】(実施の形態4)さらに、上記実施の形態
3では、置き換えデータ記憶部に置換え後のデータに相
当する置き換えデータを設定しておき、置き換え対象パ
ケットが入力された時に新たに置換え後のテーブルデー
タである置き換えテーブルデータを組み立てるように動
作する装置について説明したが、置換え後のデータとし
て置換えテーブルデータそのものを記憶しておき、テー
ブルデータ組立部を省略する構成とすることも可能であ
る。(Embodiment 4) Further, in the above-described Embodiment 3, replacement data corresponding to the data after replacement is set in the replacement data storage unit, and the replacement data is newly added when the replacement target packet is input. The description has been given of the device that operates so as to assemble the replacement table data which is the table data of the above. However, it is also possible to store the replacement table data itself as the data after the replacement and omit the table data assembling unit. .
【0075】図8は本願の請求項2,6,8,12の発
明に対応する,本発明の実施の形態4に係るパケット処
理装置の構成要素であるパケット出力回路を示すブロッ
ク図である。このパケット出力回路は実施の形態1にお
ける図2の回路と同様に、図1のトランスポートストリ
ームパケット処理装置において、そのパケット出力回路
として使用されるものである。FIG. 8 is a block diagram showing a packet output circuit, which is a component of the packet processing apparatus according to the fourth embodiment of the present invention, corresponding to the second, sixth, eighth, and twelfth aspects of the present invention. This packet output circuit is used as the packet output circuit in the transport stream packet processing device of FIG. 1, similarly to the circuit of FIG. 2 in the first embodiment.
【0076】図8において、図2と同一符号は同一また
は相当するものを示し、1029は置き換え対象のTS
パケットのパケットIDとそのなかの置換えるべきテー
ブルデータとの組が3つ,図1のCPU4により設定さ
れている置き換えデータ記憶部であり、これは置き換え
の対象となるテーブルデータを示す置き換え対象テーブ
ルデータと該置き換え対象テーブルデータに対し置き換
えが実行された後のテーブルデータを示す置き換えテー
ブルとの対応を示すテーブル置き換えテーブルデータを
記憶する置き換えテーブル記憶手段に相当するものであ
る。この書き換えデータ記憶部1029には次のデータ
を記憶しておく。In FIG. 8, the same reference numerals as those in FIG. 2 denote the same or corresponding components, and 1029 denotes the TS to be replaced.
A set of three packet IDs of the packet and the table data to be replaced in the packet is a replacement data storage unit set by the CPU 4 in FIG. This corresponds to replacement table storage means for storing table replacement table data indicating correspondence between data and a replacement table indicating table data after replacement has been performed on the replacement target table data. The following data is stored in the rewrite data storage unit 1029.
【0077】[0077]
【表4】 [Table 4]
【0078】また、この図8の実施形態4では図2のパ
ケット組立部が省略されているため、パケット置き換え
部1024単独で、上記入力パケットが上記置き換え対
象テーブルデータを含むパケットに該当する場合には、
上記テーブル置き換えテーブルデータを参照して上記置
き換えテーブルデータを読み出し、上記置き換え対象テ
ーブルデータを当該置き換えテーブルデータに置き換え
て出力し、上記入力パケットが上記置き換え対象テーブ
ルデータを含まない場合には、上記入力パケットをその
まま出力するパケット出力手段1020を構成してい
る。In the fourth embodiment shown in FIG. 8, since the packet assembling unit shown in FIG. 2 is omitted, the packet replacing unit 1024 is used alone when the input packet corresponds to the packet including the table data to be replaced. Is
The replacement table data is read out with reference to the table replacement table data, and the replacement table data is replaced with the replacement table data and output. If the input packet does not include the replacement table data, the input It constitutes a packet output means 1020 for outputting a packet as it is.
【0079】次に図8の動作について説明する。パケッ
ト出力回路102に入力された選択トランスポートスト
リーム入力はパケット判断部1022に入力される。入
力されたTSパケットがTSP映像1やTSP音声1の
場合には、置き換えデータ記憶部1029に置き換え対
象パケットIDとして設定されているパケットIDのど
れとも一致しないため、TSパケットがテーブルデータ
置き換え部1026からそのまま出力される。これに対
し、入力されたTSパケットがTSP−NITの場合、
パケット判断部1022で置き換え対象パケットIDの
内TSP−NITのパケットIDと一致することが検出
される。この一致情報は置き換えデータ記憶部1029
に伝えられる。置き換えデータ記憶部1029はTSP
−NITのパケットIDに対応して設定されている新S
ITのパケットを読み出す。ここで読み出されたTSパ
ケットをTSP−新SITと記す。TSP−新SITは
テーブルデータ置き換え部1026に入力される。テー
ブルデータ置き換え部1026にはパケット判断部10
22から、入力TSパケットが置き換え対象パケットI
Dの内の一つに一致していることが通知されており、T
SP−NITの代わりにTSP−新SITを出力する。Next, the operation of FIG. 8 will be described. The selected transport stream input input to the packet output circuit 102 is input to the packet determination unit 1022. If the input TS packet is TSP video 1 or TSP audio 1, it does not match any of the packet IDs set as replacement target packet IDs in the replacement data storage unit 1029. Is output as is. On the other hand, when the input TS packet is TSP-NIT,
The packet determination unit 1022 detects that the packet ID matches the packet ID of the TSP-NIT among the packet IDs to be replaced. This matching information is stored in the replacement data storage unit 1029.
Conveyed to. The replacement data storage unit 1029 stores the TSP
-New S set corresponding to NIT packet ID
Read the IT packet. The TS packet read here is referred to as TSP-new SIT. The TSP-new SIT is input to the table data replacement unit 1026. The table determining unit 1026 includes the packet determining unit 10
22, the input TS packet is replaced with the replacement target packet I.
D has been notified that it matches one of
Output TSP-new SIT instead of SP-NIT.
【0080】このようにして、図9の入力トランスポー
トストリームは入力されたトランスポートストリーム内
のTSパケットの内、データの書換えの必要なものだけ
新しく組み立てたTSパケットに置き換えて出力するこ
とが可能となり、入力トランスポートストリームは目的
とする番組のみを対象とするデータのみからなるストリ
ームとなって、ストリーム内に占める有効な情報量が削
減される。In this way, the input transport stream shown in FIG. 9 can be output by replacing the TS packets in the input transport stream that need to be rewritten with newly assembled TS packets. Thus, the input transport stream is a stream composed only of data for only the target program, and the amount of effective information occupying in the stream is reduced.
【0081】その際、予め置き換え後の置き換えパケッ
トが置き換えデータ記憶部1029に設定されており、
置き換えパケットを組み立てる必要がないため、置き換
え処理が迅速にでき、かつパケット組立部が不要となる
ため、その分ランダムロジックを削減でき、装置を安価
に構成できる。なお、ここではNITをSITに置き換
える場合を説明したが、置き換え対象となるパケットの
種類はこれに限るものではない。また、置き換えデータ
記憶部に設定できる置き換え対象のパケットの種類も1
種類に限るものではない。At this time, the replacement packet after replacement is set in the replacement data storage unit 1029 in advance.
Since there is no need to assemble a replacement packet, the replacement process can be performed quickly, and a packet assembling unit is not required. Therefore, random logic can be reduced by that amount, and the apparatus can be configured at low cost. Here, the case where the NIT is replaced with the SIT has been described, but the type of the packet to be replaced is not limited to this. Also, the type of the packet to be replaced that can be set in the replacement data storage unit is 1
It is not limited to the type.
【0082】[0082]
【発明の効果】以上のように、本願の請求項1の発明に
係るパケット処理装置によれば、パケット形式のデータ
を順次入力パケットとして入力するパケット入力手段
と、上記入力パケットの中から置き換える対象となるパ
ケットを検出し当該置き換え対象パケットの置き換えを
実行するパケット置き換え手段とを備えるようにしたの
で、入力されたパケット列から必要なデータだけを出力
する場合などにおいて、出力のパケット列の状態を反映
したパケットに置き換えることで、正しい出力パケット
列を得ることが可能となる効果がある。As described above, according to the packet processing apparatus of the first aspect of the present invention, the packet input means for sequentially inputting the packet format data as the input packet, and the object to be replaced from the input packet Packet replacement means for detecting a packet to be replaced and performing the replacement of the packet to be replaced, so that when only necessary data is output from the input packet sequence, the state of the output packet sequence is changed. By replacing the packet with the reflected packet, there is an effect that a correct output packet sequence can be obtained.
【0083】また、本願の請求項2の発明に係るパケッ
ト処理装置によれば、パケット形式のデータを順次入力
パケットとして入力するパケット入力手段と、上記入力
パケット中の置き換えの対象となるテーブルデータを検
出し当該テーブルデータの置き換えを実行するテーブル
データ置き換え手段とを備えるようにしたので、入力さ
れたパケット列から必要なデータだけを出力する場合な
どにおいて、出力のパケット列の状態を反映したパケッ
トに置き換えることで、正しい出力パケット列を得るこ
とが可能となり、しかもその置き換えをパケット全体で
なく必要なテーブルデータ部分だけに限って行うことが
できる効果がある。According to the packet processing apparatus of the second aspect of the present invention, the packet input means for sequentially inputting the packet format data as the input packet, and the table data to be replaced in the input packet, A table data replacement means for detecting and replacing the table data is provided, so that when only necessary data is output from an input packet sequence, a packet reflecting the state of the output packet sequence is output. By replacing, a correct output packet sequence can be obtained, and the replacement can be performed not only for the entire packet but only for the necessary table data portion.
【0084】また、本願の請求項3の発明に係るパケッ
ト処理装置によれば、請求項1のパケット処理装置にお
いて、上記パケット置き換え手段は、置き換えの対象と
なるパケットを示す置き換え対象パケットと、これに対
して置き換えるべき置き換え後データと、の対応を示す
置き換え対応テーブルデータを記憶する置き換え対応テ
ーブルデータ記憶手段と、上記入力パケットが上記置き
換え対象パケットに該当するか否かを検出する置き換え
対象パケット検出手段と、上記入力パケットが上記置き
換え対象パケットに該当する場合には、上記置き換え対
応テーブルデータを参照して上記置き換え後データを読
み出し、当該置き換え後データを含む置き換えパケット
を組み立てて、上記置き換え対象パケットを当該置き換
えパケットに置き換えて出力し、上記入力パケットが上
記置き換え対象パケットでない場合には、上記入力パケ
ットをそのまま出力するパケット出力手段とを備えるよ
うにしたので、入力されたパケット列から必要なデータ
だけを出力する場合などにおいて、置き換え後のパケッ
ト全体を記憶しておくことなく、置き換えの必要なデー
タ部分だけを設定しておき、置き換え対象のパケットが
入力されたときに置き換え後のパケットを組み立てて正
しいパケットを出力でき、置き換えテーブルに設定して
おくべきデータ量を削減することのできるパケット処理
装置を得ることができる効果がある。Further, according to the packet processing device of the third aspect of the present invention, in the packet processing device of the first aspect, the packet replacement means includes a replacement target packet indicating a packet to be replaced, Replacement correspondence table data storage means for storing replacement correspondence table data indicating the correspondence between the replacement data to be replaced and the replacement target packet detection means for detecting whether or not the input packet corresponds to the replacement target packet Means, when the input packet corresponds to the replacement target packet, reads the replacement data with reference to the replacement correspondence table data, assembles a replacement packet including the replacement data, and In the replacement packet If the input packet is not the packet to be replaced, the packet output means is provided to output the input packet as it is, so that only necessary data is output from the input packet sequence. In, without storing the entire packet after replacement, only the data part that needs to be replaced can be set, and when the packet to be replaced is input, the replaced packet can be assembled and the correct packet can be output. Thus, there is an effect that a packet processing apparatus capable of reducing the amount of data to be set in the replacement table can be obtained.
【0085】また、本願の請求項4の発明に係るパケッ
ト処理装置によれば、請求項2のパケット処理装置にお
いて、上記テーブルデータ置き換え手段は、置き換えの
対象となるテーブルデータを含むパケットを示す置き換
え対象パケットと、これに対して置き換えるべき置き換
え後データと、の対応を示す置き換え対応テーブルデー
タを記憶する置き換え対応テーブルデータ記憶手段と、
上記入力パケットが上記置き換え対象テーブルデータを
含むパケットであるか否かを検出する入力パケット検出
手段と、上記入力パケットが上記置き換え対象テーブル
データを含むパケットに該当する場合には、上記置き換
え対応テーブルデータを参照して上記置き換え後データ
を読み出し、当該置き換え後データを含む置き換えテー
ブルデータを組み立てて、上記置き換え対象テーブルデ
ータを当該置き換えテーブルデータに置き換えて出力
し、上記入力パケットが上記置き換え対象テーブルデー
タを含まない場合には、上記入力パケットをそのまま出
力するパケット出力手段とを備えるようにしたので、入
力されたパケット列から必要なデータだけを出力する場
合などにおいて、置き換え後のテーブルデータ全体を記
憶しておくことなく、置き換えの必要なデータ部分だけ
を記憶しておき、置き換え対象のテーブルデータを含む
パケットが入力されたときに置き換え後のテーブルデー
タを組み立て、入力パケット内の置き換え対象テーブル
データを置き換えて正しいテーブルデータを出力するこ
とができ、あらかじめ設定しておくデータ量を削減する
ことのできるパケット処理装置を得ることができる効果
がある。According to a fourth aspect of the present invention, in the packet processing apparatus of the second aspect, the table data replacing means includes a replacement unit which indicates a packet including table data to be replaced. Replacement correspondence table data storage means for storing replacement correspondence table data indicating a correspondence between the target packet and the replaced data to be replaced with the target packet;
Input packet detection means for detecting whether or not the input packet is a packet including the replacement target table data; and, if the input packet corresponds to a packet including the replacement target table data, the replacement correspondence table data , Read the data after replacement, assemble replacement table data including the data after replacement, replace the table data to be replaced with the table data to be replaced, and output the data. If not included, a packet output means for outputting the input packet as it is is provided, so that when only necessary data is output from the input packet sequence, the entire table data after replacement is stored. Without leaving Only the data part that needs to be replaced is stored, and when a packet containing the table data to be replaced is input, the replacement table data is assembled, and the replacement table data in the input packet is replaced to obtain the correct table data. There is an effect that a packet processing device that can output the data and reduce the amount of data set in advance can be obtained.
【0086】また、本願の請求項5の発明に係るパケッ
ト処理装置によれば、請求項1のパケット処理装置にお
いて、上記パケット置き換え手段は、置き換えの対象と
なるパケットを示す置き換え対象パケットと、これに対
して置き換えるべき置き換え後パケットと、の対応を示
す置き換え対応テーブルデータを記憶する置き換え対応
テーブルデータ記憶手段と、上記入力パケットが上記置
き換え対象パケットに該当するか否かを検出する置き換
え対象パケット検出手段と、上記入力パケットが上記置
き換え対象パケットに該当する場合には、上記置き換え
対応テーブルデータを参照して上記置き換え後パケット
を読み出し、上記置き換え対象パケットを当該置き換え
後パケットに置き換えて出力し、上記入力パケットが上
記置き換え対象パケットでない場合には、上記入力パケ
ットをそのまま出力するパケット出力手段とを備えるよ
うにしたので、入力されたパケット列から必要なデータ
だけを出力する場合などにおいて、パケットの置き換え
を迅速に行うことができ、置き換えを行うハードウエア
量を削減することのできるパケット処理装置を得ること
ができる効果がある。According to the packet processing apparatus of the present invention, the packet replacement means includes a replacement target packet indicating a packet to be replaced, And a replacement correspondence table data storage means for storing replacement correspondence table data indicating the correspondence between the replacement packet to be replaced and the replacement target packet detection means for detecting whether or not the input packet corresponds to the replacement target packet. Means, when the input packet corresponds to the replacement target packet, reads the replacement packet with reference to the replacement correspondence table data, replaces the replacement target packet with the replacement packet, and outputs the replacement packet. If the input packet is If the packet is not a packet, the packet output means for outputting the input packet as it is is provided, so that when only necessary data is output from the input packet sequence, the packet can be quickly replaced. Thus, there is an effect that a packet processing apparatus capable of reducing the amount of hardware to be replaced can be obtained.
【0087】また、本願の請求項6の発明に係るパケッ
ト処理装置によれば、請求項2のパケット処理装置にお
いて、上記テーブルデータ置き換え手段は、置き換えの
対象となるテーブルデータを含むパケットを示す置き換
え対象パケットと、これに対して置き換えるべき置き換
え後テーブルデータと、の対応を示す置き換え対応テー
ブルデータを記憶する置き換え対応テーブルデータ記憶
手段と、上記入力パケットが上記置き換え対象テーブル
データを含むパケットであるか否かを検出する入力パケ
ット検出手段と、上記入力パケットが上記置き換え対象
テーブルデータを含むパケットに該当する場合には、上
記置き換え対応テーブルデータを参照して上記置き換え
後テーブルデータを読み出し、上記置き換え対象テーブ
ルデータを当該置き換え後テーブルデータに置き換えて
出力し、上記入力パケットが上記置き換え対象テーブル
データを含むパケットでない場合には、上記入力パケッ
トをそのまま出力するパケット出力手段とを備えるよう
にしたので、入力されたパケット列から必要なデータだ
けを出力する場合などにおいて、テーブルデータの置き
換えを迅速に行うことができ、しかもテーブルデータの
組み立てを行わない分ハードウエア量を削減することの
できるパケット処理装置を得ることができる効果があ
る。According to the packet processing apparatus of the present invention, the table data replacing means includes a replacement unit which indicates a packet including table data to be replaced. A replacement correspondence table data storage means for storing replacement correspondence table data indicating the correspondence between the target packet and the replacement table data to be replaced, and whether the input packet is a packet including the replacement target table data Input packet detecting means for detecting whether or not the input packet corresponds to a packet including the replacement target table data, reading the replacement table data with reference to the replacement correspondence table data, Table data A packet output unit that outputs the input packet as it is when the input packet is not a packet including the table data to be replaced, and outputs the input packet as it is. For example, when only necessary data is output from the server, it is possible to obtain a packet processing apparatus capable of quickly replacing table data and reducing the amount of hardware because the table data is not assembled. effective.
【0088】また、本願の請求項7の発明に係るパケッ
ト処理装置によれば、パケット形式のデータを順次入力
パケットとして入力するパケット入力手段と、上記入力
パケットの中から置き換える対象となるパケットを検出
し当該置き換え対象パケットの置き換えを実行するパケ
ット置き換え手段と、外部から指示された情報に基づき
置き換える対象となるパケットを割り出し、当該割り出
した置き換え対象パケットに関する情報を上記パケット
置き換え手段に設定する置き換え対象パケット情報設定
手段と、上記入力パケットの中からデコードすべき所要
のパケットを取り出すパケット取り出し手段と、上記所
要のパケットをデコードに先だってメモリに記憶すべく
メモリアクセスを行うメモリアクセス手段とを備えるよ
うにしたので、入力されたパケット列から必要なデータ
だけを出力する場合などにおいて、出力のパケット列の
状態を反映したパケットに置き換えることで、正しい出
力パケット列を得ることが可能となり、しかも、所要の
データを取り出してこれをデコードする準備ができる効
果がある。Further, according to the packet processing apparatus of the present invention, a packet input means for sequentially inputting packet format data as an input packet, and detecting a packet to be replaced from the input packet A packet replacement unit for performing replacement of the packet to be replaced, a packet to be replaced based on information externally specified, and a packet to be replaced that sets information on the determined replacement target packet in the packet replacement unit. Information setting means, packet extracting means for extracting a required packet to be decoded from the input packet, and memory access means for performing memory access to store the required packet in a memory prior to decoding. So enter For example, when only necessary data is output from a given packet sequence, it is possible to obtain a correct output packet sequence by replacing the output packet sequence with a packet that reflects the state of the output packet sequence. This has the effect of being ready to decode this.
【0089】また、本願の請求項8の発明に係るパケッ
ト処理装置によれば、パケット形式のデータを順次入力
パケットとして入力するパケット入力手段と、上記入力
パケットの中から置き換える対象となるテーブルデータ
を検出し当該置き換え対象テーブルデータの置き換えを
実行するテーブルデータ置き換え手段と、外部から指示
された情報に基づき置き換える対象となるテーブルデー
タを割り出し、当該割り出した置き換え対象テーブルデ
ータに関する情報を上記テーブルデータ置き換え手段に
設定する置き換え対象テーブルデータ情報設定手段と、
上記入力パケットの中からデコードすべき所要のパケッ
トを取り出すパケット取り出し手段と、上記所要のパケ
ットをデコードに先だってメモリに記憶すべくメモリア
クセスを行うメモリアクセス手段とを備えるようにした
ので、出力のパケット列の状態を反映したパケットに置
き換えることで、正しい出力パケット列を得ることが可
能となり、しかもその置き換えをパケット全体でなく必
要なテーブルデータ部分だけに限って行うことができ、
しかも、所要のデータを取り出してこれをデコードする
準備ができる効果がある。According to the packet processing apparatus of the present invention, the packet input means for sequentially inputting the data in the packet format as the input packet, and the table data to be replaced from the input packet, A table data replacement means for detecting and performing replacement of the replacement target table data; and a table data replacement means for determining table data to be replaced based on information instructed from the outside; Replacement target table data information setting means to be set to
Packet extraction means for extracting a required packet to be decoded from the input packet and memory access means for performing memory access to store the required packet in a memory prior to decoding are provided. By replacing the packet with a packet that reflects the state of the column, a correct output packet sequence can be obtained, and the replacement can be performed only on the necessary table data portion instead of the entire packet.
In addition, there is an effect that required data can be taken out and ready to be decoded.
【0090】また、本願の請求項9の発明に係るパケッ
ト処理装置によれば、請求項7のパケット処理装置にお
いて、上記パケット置き換え手段は、置き換えの対象と
なるパケットを示す置き換え対象パケットと、これに対
して置き換えるべき置き換え後データと、の対応を示す
置き換え対応テーブルデータを記憶する置き換えデータ
記憶手段と、上記入力パケットが上記置き換え対象パケ
ットに該当するか否かを検出する置き換え対象パケット
検出手段と、上記入力パケットが上記置き換え対象パケ
ットに該当する場合には、上記置き換え対応テーブルデ
ータを参照して上記置き換え後データを読み出し、当該
置き換え後データを含む置き換えパケットを組み立て
て、上記置き換え対象パケットを当該置き換えパケット
に置き換えて出力し、上記入力パケットが上記置き換え
対象パケットでない場合には、上記入力パケットをその
まま出力するパケット出力手段とを備えるようにしたの
で、入力されたパケット列から必要なデータだけを出力
する場合などにおいて、置き換え後のパケット全体を記
憶しておくことなく、置き換えの必要なデータ部分だけ
を設定しておき、置き換え対象のパケットが入力された
ときに置き換え後のパケットを組み立てて正しいパケッ
トを出力でき、置き換えテーブルに設定しておくべきデ
ータ量を削減することができ、しかもデコードに向けて
所要のデータを取り出すことができるパケット処理装置
を得ることができる効果がある。According to the packet processing device of the ninth aspect of the present invention, in the packet processing device of the seventh aspect, the packet replacement means includes a replacement target packet indicating a packet to be replaced, Replacement data storage means for storing replacement correspondence table data indicating the correspondence between replacement data to be replaced with, and replacement target packet detection means for detecting whether or not the input packet corresponds to the replacement target packet. If the input packet corresponds to the replacement target packet, the replacement data is read by referring to the replacement correspondence table data, a replacement packet including the replacement data is assembled, and the replacement target packet is Replace with the replacement packet and output In the case where the input packet is not the packet to be replaced, a packet output unit that outputs the input packet as it is is provided. Therefore, when only necessary data is output from the input packet sequence, Instead of storing the entire packet, only the data part that needs to be replaced is set, and when the packet to be replaced is input, the replacement packet can be assembled and the correct packet can be output. This has the effect of reducing the amount of data to be set and obtaining a packet processing device capable of extracting required data for decoding.
【0091】また、本願の請求項10の発明に係るパケ
ット処理装置によれば、請求項8のパケット処理装置に
おいて、上記テーブルデータ置き換え手段は、置き換え
の対象となるテーブルデータを含むパケットを示す置き
換え対象パケットと、これに対して置き換えるべき置き
換え後データと、の対応を示す置き換え対応テーブルデ
ータを記憶する置き換えデータ記憶手段と、上記入力パ
ケットが上記置き換え対象テーブルデータを含むパケッ
トであるか否かを検出する入力パケット検出手段と、上
記入力パケットが上記置き換え対象テーブルデータを含
むパケットに該当する場合には、上記置き換え対応テー
ブルデータを参照して上記置き換え後データを読み出
し、当該置き換え後データを含む置き換えテーブルデー
タを組み立てて、上記置き換え対象テーブルデータを当
該置き換えテーブルデータに置き換えて出力し、上記入
力パケットが上記置き換え対象テーブルデータを含まな
い場合には、上記入力パケットをそのまま出力するパケ
ット出力手段とを備えるようにしたので、入力されたパ
ケット列から必要なデータだけを出力する場合などにお
いて、置き換え後のテーブルデータ全体を記憶しておく
ことなく、置き換えの必要なデータ部分だけを記憶して
おき、置き換え対象のテーブルデータを含むパケットが
入力されたときに置き換え後のテーブルデータを組み立
て、入力パケット内の置き換え対象テーブルデータを置
き換えて正しいテーブルデータを出力することができ、
あらかじめ設定しておくデータ量を削減することがで
き、しかもデコードに向けて所要のデータを取り出すこ
とができるパケット処理装置を得ることができる効果が
ある。According to the packet processing device of the present invention, the table data replacing means includes a replacement unit for indicating a packet including table data to be replaced. Replacement data storage means for storing replacement correspondence table data indicating a correspondence between the target packet and the replacement data to be replaced with the replacement packet; and determining whether the input packet is a packet including the replacement target table data. An input packet detecting means for detecting, and when the input packet corresponds to a packet including the table data to be replaced, reading the data after replacement with reference to the replacement correspondence table data, and replacing the data including the data after replacement. Assemble the table data and Since the replacement target table data is replaced with the replacement table data and output, and the input packet does not include the replacement target table data, a packet output unit that outputs the input packet as it is is provided. For example, when only necessary data is output from the replaced packet sequence, only the data portion that needs to be replaced is stored without storing the entire table data after replacement, and the table data to be replaced is included. When the packet is input, the replacement table data is assembled, the replacement target table data in the input packet is replaced, and the correct table data can be output.
This has the effect of reducing the amount of data set in advance and obtaining a packet processing device capable of extracting required data for decoding.
【0092】また、本願の請求項11の発明に係るパケ
ット処理装置によれば、請求項7のパケット処理装置に
おいて、上記パケット置き換え手段は、置き換えの対象
となるパケットを示す置き換え対象パケットと、これに
対して置き換えるべき置き換え後パケットと、の対応を
示す置き換え対応テーブルデータを記憶するテーブル置
き換えデータ記憶手段と、上記入力パケットが上記置き
換え対象パケットに該当するか否かを検出する置き換え
対象パケット検出手段と、上記入力パケットが上記置き
換え対象パケットに該当する場合には、上記置き換え対
応テーブルデータを参照して上記置き換え後パケットを
読み出し、上記置き換え対象パケットを当該置き換え後
パケットに置き換えて出力し、上記入力パケットが上記
置き換え対象パケットでない場合には、上記入力パケッ
トをそのまま出力するパケット出力手段とを備えるよう
にしたので、入力されたパケット列から必要なデータだ
けを出力する場合などにおいて、パケットの置き換えを
迅速に行うことができ、置き換えを行うハードウエア量
を削減することができ、しかもデコードに向けて所要の
データを取り出すことができるパケット処理装置を得る
ことができる効果がある。According to the packet processing apparatus of the present invention, the packet replacement means includes a replacement target packet indicating a packet to be replaced, Table replacement data storage means for storing replacement correspondence table data indicating the correspondence between the replacement packet to be replaced and the replacement packet detection means for detecting whether the input packet corresponds to the replacement target packet If the input packet corresponds to the replacement target packet, the replacement packet is read out with reference to the replacement correspondence table data, and the replacement target packet is replaced with the replacement packet and output. If the packet is Packet output means for outputting the input packet as it is when the packet is not a packet, so that when only necessary data is output from the input packet sequence, the packet can be quickly replaced. This makes it possible to reduce the amount of hardware to be replaced and to obtain a packet processing device capable of extracting required data for decoding.
【0093】また、本願の請求項12の発明に係るパケ
ット処理装置によれば、請求項8のパケット処理装置に
おいて、上記テーブルデータ置き換え手段は、置き換え
の対象となるテーブルデータを示す置き換え対象テーブ
ルデータと、これに対して置き換えるべき置き換え後テ
ーブルと、の対応を示す置き換え対応テーブルデータを
記憶する置き換えデータ記憶手段と、上記入力パケット
が上記置き換え対象テーブルデータを含むことを検出す
る入力パケット検出手段と、上記入力パケットが上記置
き換え対象テーブルデータを含むパケットに該当する場
合には、上記置き換え対応テーブルデータを参照して上
記置き換え後テーブルデータを読み出し、上記置き換え
対象テーブルデータを当該置き換え後テーブルデータに
置き換えて出力し、上記入力パケットが上記置き換え対
象テーブルデータを含まない場合には、上記入力パケッ
トをそのまま出力するパケット出力手段とを備えるよう
にしたので、入力されたパケット列から必要なデータだ
けを出力する場合などにおいて、テーブルデータの置き
換えを迅速に行うことができ、テーブルデータの組み立
てを行わない分ハードウエア量を削減することができ、
しかもデコードに向けて所要のデータを取り出すことが
できるパケット処理装置を得ることができる効果があ
る。[0093] According to the packet processing apparatus of the present invention, the table data replacing means in the packet processing apparatus of the present invention, wherein the replacement target table data indicating the table data to be replaced is provided. Replacement data storage means for storing replacement correspondence table data indicating the correspondence between the replacement table to be replaced, and input packet detection means for detecting that the input packet includes the replacement target table data. If the input packet corresponds to a packet including the replacement target table data, the replacement table data is read with reference to the replacement correspondence table data, and the replacement target table data is replaced with the replacement table data. Output In the case where the input packet does not include the table data to be replaced, a packet output unit that outputs the input packet as it is is provided, so that only necessary data is output from the input packet sequence. , The table data can be quickly replaced, and the amount of hardware can be reduced because the table data is not assembled.
In addition, there is an effect that a packet processing device capable of extracting required data for decoding can be obtained.
【図1】本発明の実施の形態1によるトランスポートス
トリームを入力する受信装置の構成図。FIG. 1 is a configuration diagram of a receiving apparatus for inputting a transport stream according to a first embodiment of the present invention.
【図2】本発明の実施の形態1におけるパケット出力回
路の構成図。FIG. 2 is a configuration diagram of a packet output circuit according to the first embodiment of the present invention.
【図3】本発明の実施の形態1におけるトランスポート
ストリーム置き換えの様子を示す説明図。FIG. 3 is an explanatory diagram showing a state of transport stream replacement according to the first embodiment of the present invention.
【図4】本発明の実施の形態2におけるパケット出力回
路の構成図。FIG. 4 is a configuration diagram of a packet output circuit according to a second embodiment of the present invention.
【図5】本発明の実施の形態2におけるトランスポート
ストリーム置き換えの様子を示す説明図。FIG. 5 is an explanatory diagram showing how a transport stream is replaced in the second embodiment of the present invention.
【図6】本発明の実施の形態3におけるパケット出力回
路の構成図。FIG. 6 is a configuration diagram of a packet output circuit according to a third embodiment of the present invention.
【図7】本発明の実施の形態3におけるトランスポート
ストリーム置き換えの様子を示す説明図。FIG. 7 is an explanatory diagram showing how a transport stream is replaced in the third embodiment of the present invention.
【図8】本発明の実施の形態4におけるパケット出力回
路の構成図。FIG. 8 is a configuration diagram of a packet output circuit according to a fourth embodiment of the present invention.
【図9】本発明の実施の形態4におけるトランスポート
ストリーム置き換えの様子を示す説明図。FIG. 9 is an explanatory diagram showing a state of transport stream replacement in Embodiment 4 of the present invention.
【図10】トランスポートストリームの構成を示す説明
図。FIG. 10 is an explanatory diagram showing a configuration of a transport stream.
【図11】PATのパケットIDを示す説明図。FIG. 11 is an explanatory diagram showing a packet ID of a PAT.
【図12】パケットのPIDとしてのPMTを示す説明
図。FIG. 12 is an explanatory diagram showing a PMT as a PID of a packet.
【図13】トランスポートストリームの階層構造の一例
を示す説明図。FIG. 13 is an explanatory diagram showing an example of a hierarchical structure of a transport stream.
【図14】NITのパケットIDを示す説明図。FIG. 14 is an explanatory diagram showing a packet ID of NIT.
【図15】本発明の実施の形態1によるトランスポート
ストリームを入力する受信装置の動作を示すフローチャ
ート図。FIG. 15 is a flowchart showing an operation of the receiving apparatus for inputting a transport stream according to the first embodiment of the present invention.
1 アンテナ 2 チューナ 3 復調器 4 CPU 5 メモリ 6 AVデコーダ 7 デジタルVTRインタフェース 10 トランスポートストリームパケット処理装置 101 パケット選択回路 102 パケット出力回路 103 データ取り出し回路 104 メモリアクセス回路 1020 パケット出力手段 1021,1027,1028,1029 置き換えデ
ータ記憶部 1022 パケット判断部 1023 パケット組立部 1024 パケット置き換え部 1025 テーブルデータ組立部 1026 テーブルデータ置き換え部Reference Signs List 1 antenna 2 tuner 3 demodulator 4 CPU 5 memory 6 AV decoder 7 digital VTR interface 10 transport stream packet processing device 101 packet selection circuit 102 packet output circuit 103 data extraction circuit 104 memory access circuit 1020 packet output means 1021, 1027, 1028 , 1029 Replacement data storage unit 1022 Packet determination unit 1023 Packet assembling unit 1024 Packet replacing unit 1025 Table data assembling unit 1026 Table data replacing unit
Claims (12)
トとして入力するパケット入力手段と、 上記入力パケットの中から置き換える対象となるパケッ
トを検出し当該置き換え対象パケットの置き換えを実行
するパケット置き換え手段とを備えたことを特徴とする
パケット処理装置。1. Packet input means for sequentially inputting packet format data as an input packet, and packet replacement means for detecting a packet to be replaced from the input packet and executing replacement of the packet to be replaced. A packet processing device.
トとして入力するパケット入力手段と、 上記入力パケット中の置き換えの対象となるテーブルデ
ータを検出し当該テーブルデータの置き換えを実行する
テーブルデータ置き換え手段とを備えたことを特徴とす
るパケット処理装置。2. Packet input means for sequentially inputting packet format data as an input packet, and table data replacing means for detecting table data to be replaced in the input packet and executing replacement of the table data. A packet processing device comprising:
ットと、これに対して置き換えるべき置き換え後データ
と、の対応を示す置き換え対応テーブルデータを記憶す
る置き換え対応テーブルデータ記憶手段と、 上記入力パケットが上記置き換え対象パケットに該当す
るか否かを検出する置き換え対象パケット検出手段と、 上記入力パケットが上記置き換え対象パケットに該当す
る場合には、上記置き換え対応テーブルデータを参照し
て上記置き換え後データを読み出し、当該置き換え後デ
ータを含む置き換えパケットを組み立てて、上記置き換
え対象パケットを当該置き換えパケットに置き換えて出
力し、上記入力パケットが上記置き換え対象パケットで
ない場合には、上記入力パケットをそのまま出力するパ
ケット出力手段とを備えたことを特徴とするパケット処
理装置。3. The packet processing device according to claim 1, wherein said packet replacement means includes a replacement correspondence indicating a correspondence between a replacement target packet indicating a packet to be replaced and post-replacement data to be replaced. A replacement correspondence table data storage means for storing table data; a replacement target packet detecting means for detecting whether the input packet corresponds to the replacement target packet; and a case where the input packet corresponds to the replacement target packet. Reads the replacement data with reference to the replacement correspondence table data, assembles a replacement packet including the replacement data, replaces the replacement target packet with the replacement packet, and outputs the replacement packet. Target packet If not, the packet processing apparatus characterized by comprising a packet output means for outputting as the input packet.
示す置き換え対象パケットと、これに対して置き換える
べき置き換え後データと、の対応を示す置き換え対応テ
ーブルデータを記憶する置き換え対応テーブルデータ記
憶手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットであるか否かを検出する入力パケット検出
手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットに該当する場合には、上記置き換え対応テ
ーブルデータを参照して上記置き換え後データを読み出
し、当該置き換え後データを含む置き換えテーブルデー
タを組み立てて、上記置き換え対象テーブルデータを当
該置き換えテーブルデータに置き換えて出力し、上記入
力パケットが上記置き換え対象テーブルデータを含まな
い場合には、上記入力パケットをそのまま出力するパケ
ット出力手段とを備えたことを特徴とするパケット処理
装置。4. The packet processing device according to claim 2, wherein said table data replacement means includes: a replacement target packet indicating a packet including table data to be replaced; and replacement data to be replaced. Replacement correspondence table data storage means for storing replacement correspondence table data indicating correspondence; input packet detection means for detecting whether the input packet is a packet including the replacement target table data; If the packet includes the target table data, the replacement data is read out by referring to the replacement correspondence table data, the replacement table data including the replacement data is assembled, and the replacement target table data is replaced. Te And it is replaced with the table data, when the input packet does not include the target table data replacement above, the packet processing apparatus characterized by comprising a packet output means for outputting as the input packet.
ットと、これに対して置き換えるべき置き換え後パケッ
トと、の対応を示す置き換え対応テーブルデータを記憶
する置き換え対応テーブルデータ記憶手段と、 上記入力パケットが上記置き換え対象パケットに該当す
るか否かを検出する置き換え対象パケット検出手段と、 上記入力パケットが上記置き換え対象パケットに該当す
る場合には、上記置き換え対応テーブルデータを参照し
て上記置き換え後パケットを読み出し、上記置き換え対
象パケットを当該置き換え後パケットに置き換えて出力
し、上記入力パケットが上記置き換え対象パケットでな
い場合には、上記入力パケットをそのまま出力するパケ
ット出力手段とを備えたことを特徴とするパケット処理
装置。5. The packet processing apparatus according to claim 1, wherein said packet replacement means includes a replacement correspondence indicating a correspondence between a replacement target packet indicating a packet to be replaced and a replaced packet to be replaced. A replacement correspondence table data storing means for storing table data; a replacement target packet detecting means for detecting whether the input packet corresponds to the replacement target packet; and a case where the input packet corresponds to the replacement target packet. Reads the replacement packet with reference to the replacement correspondence table data, replaces the replacement packet with the replacement packet, and outputs the replacement packet. If the input packet is not the replacement target packet, the Output as it is Packet processing device being characterized in that a packet output unit.
示す置き換え対象パケットと、これに対して置き換える
べき置き換え後テーブルデータと、の対応を示す置き換
え対応テーブルデータを記憶する置き換え対応テーブル
データ記憶手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットであるか否かを検出する入力パケット検出
手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットに該当する場合には、上記置き換え対応テ
ーブルデータを参照して上記置き換え後テーブルデータ
を読み出し、上記置き換え対象テーブルデータを当該置
き換え後テーブルデータに置き換えて出力し、上記入力
パケットが上記置き換え対象テーブルデータを含むパケ
ットでない場合には、上記入力パケットをそのまま出力
するパケット出力手段とを備えたことを特徴とするパケ
ット処理装置。6. The packet processing device according to claim 2, wherein said table data replacement means includes: a replacement target packet indicating a packet including table data to be replaced; replacement table data to be replaced; Replacement correspondence table data storage means for storing replacement correspondence table data indicating the correspondence of the above, input packet detection means for detecting whether or not the input packet is a packet including the replacement target table data, When the packet corresponds to the packet including the replacement target table data, the replacement table data is read out with reference to the replacement correspondence table data, and the replacement target table data is replaced with the replacement table data and output. Pake If bets is not a packet that contains the target table data replacement above, the packet processing apparatus characterized by comprising a packet output means for outputting as the input packet.
トとして入力するパケット入力手段と、 上記入力パケットの中から置き換える対象となるパケッ
トを検出し当該置き換え対象パケットの置き換えを実行
するパケット置き換え手段と、 外部から指示された情報に基づき置き換える対象となる
パケットを割り出し、当該割り出した置き換え対象パケ
ットに関する情報を上記パケット置き換え手段に設定す
る置き換え対象パケット情報設定手段と、 上記入力パケットの中からデコードすべき所要のパケッ
トを取り出すパケット取り出し手段と、 上記所要のパケットをデコードに先だってメモリに記憶
すべくメモリアクセスを行うメモリアクセス手段とを備
えたことを特徴とするパケット処理装置。7. A packet input means for sequentially inputting packet format data as an input packet, a packet replacement means for detecting a packet to be replaced from the input packet and executing replacement of the packet to be replaced, A replacement target packet information setting means for determining a packet to be replaced based on the information instructed from the packet information, and setting information on the determined replacement target packet in the packet replacement means; A packet processing apparatus comprising: a packet extracting unit that extracts a packet; and a memory access unit that performs memory access to store the required packet in a memory prior to decoding.
トとして入力するパケット入力手段と、 上記入力パケットの中から置き換える対象となるテーブ
ルデータを検出し当該置き換え対象テーブルデータの置
き換えを実行するテーブルデータ置き換え手段と、 外部から指示された情報に基づき置き換える対象となる
テーブルデータを割り出し、当該割り出した置き換え対
象テーブルデータに関する情報を上記テーブルデータ置
き換え手段に設定する置き換え対象テーブルデータ情報
設定手段と、 上記入力パケットの中からデコードすべき所要のパケッ
トを取り出すパケット取り出し手段と、 上記所要のパケットをデコードに先だってメモリに記憶
すべくメモリアクセスを行うメモリアクセス手段とを備
えたことを特徴とするパケット処理装置。8. A packet input means for sequentially inputting data in a packet format as an input packet, and a table data replacement means for detecting table data to be replaced from the input packet and executing replacement of the replacement target table data. Replacement table data information setting means for determining table data to be replaced based on externally instructed information, and setting information on the calculated replacement table data in the table data replacement means; and A packet processing apparatus comprising: a packet extracting means for extracting a required packet to be decoded from the packet; and a memory access means for performing memory access to store the required packet in a memory prior to decoding. .
ットと、これに対して置き換えるべき置き換え後データ
と、の対応を示す置き換え対応テーブルデータを記憶す
る置き換えデータ記憶手段と、 上記入力パケットが上記置き換え対象パケットに該当す
るか否かを検出する置き換え対象パケット検出手段と、 上記入力パケットが上記置き換え対象パケットに該当す
る場合には、上記置き換え対応テーブルデータを参照し
て上記置き換え後データを読み出し、当該置き換え後デ
ータを含む置き換えパケットを組み立てて、上記置き換
え対象パケットを当該置き換えパケットに置き換えて出
力し、上記入力パケットが上記置き換え対象パケットで
ない場合には、上記入力パケットをそのまま出力するパ
ケット出力手段とを備えたことを特徴とするパケット処
理装置。9. The packet processing device according to claim 7, wherein said packet replacement means includes a replacement correspondence indicating a correspondence between a replacement target packet indicating a packet to be replaced and post-replacement data to be replaced. Replacement data storage means for storing table data; replacement target packet detection means for detecting whether or not the input packet corresponds to the replacement target packet; if the input packet corresponds to the replacement target packet, The replacement data is read by referring to the replacement correspondence table data, a replacement packet including the replacement data is assembled, the replacement target packet is replaced with the replacement packet, and the replacement packet is output. If not The packet processing device characterized by comprising a packet output means for outputting as the input packet.
て、 上記テーブルデータ置き換え手段は、 置き換えの対象となるテーブルデータを含むパケットを
示す置き換え対象パケットと、これに対して置き換える
べき置き換え後データと、の対応を示す置き換え対応テ
ーブルデータを記憶する置き換えデータ記憶手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットであるか否かを検出する入力パケット検出
手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットに該当する場合には、上記置き換え対応テ
ーブルデータを参照して上記置き換え後データを読み出
し、当該置き換え後データを含む置き換えテーブルデー
タを組み立てて、上記置き換え対象テーブルデータを当
該置き換えテーブルデータに置き換えて出力し、上記入
力パケットが上記置き換え対象テーブルデータを含まな
い場合には、上記入力パケットをそのまま出力するパケ
ット出力手段とを備えたことを特徴とするパケット処理
装置。10. The packet processing device according to claim 8, wherein said table data replacement means includes: a replacement target packet indicating a packet including table data to be replaced; and replacement data to be replaced. Replacement data storage means for storing replacement correspondence table data indicating correspondence; input packet detection means for detecting whether or not the input packet is a packet including the replacement target table data; and If the packet corresponds to a packet including data, the replacement data is read by referring to the replacement correspondence table data, replacement table data including the replacement data is assembled, and the replacement target table data is replaced with the replacement table data. And outputs replaced, when the input packet does not include the target table data replacement above, the packet processing apparatus characterized by comprising a packet output means for outputting as the input packet.
て、 上記パケット置き換え手段は、 置き換えの対象となるパケットを示す置き換え対象パケ
ットと、これに対して置き換えるべき置き換え後パケッ
トと、の対応を示す置き換え対応テーブルデータを記憶
するテーブル置き換えデータ記憶手段と、 上記入力パケットが上記置き換え対象パケットに該当す
るか否かを検出する置き換え対象パケット検出手段と、 上記入力パケットが上記置き換え対象パケットに該当す
る場合には、上記置き換え対応テーブルデータを参照し
て上記置き換え後パケットを読み出し、上記置き換え対
象パケットを当該置き換え後パケットに置き換えて出力
し、上記入力パケットが上記置き換え対象パケットでな
い場合には、上記入力パケットをそのまま出力するパケ
ット出力手段とを備えたことを特徴とするパケット処理
装置。11. The packet processing device according to claim 7, wherein said packet replacement means includes a replacement correspondence indicating a correspondence between a replacement target packet indicating a packet to be replaced and a replacement packet to be replaced. Table replacement data storage means for storing table data; replacement target packet detection means for detecting whether the input packet corresponds to the replacement target packet; if the input packet corresponds to the replacement target packet, Read the replacement packet with reference to the replacement correspondence table data, replace the replacement target packet with the replacement packet, and output the replacement packet. If the input packet is not the replacement target packet, leave the input packet as it is. Output Packet processing device being characterized in that a packet output unit.
て、 上記テーブルデータ置き換え手段は、 置き換えの対象となるテーブルデータを示す置き換え対
象テーブルデータと、これに対して置き換えるべき置き
換え後テーブルと、の対応を示す置き換え対応テーブル
データを記憶する置き換えデータ記憶手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むことを検出する入力パケット検出手段と、 上記入力パケットが上記置き換え対象テーブルデータを
含むパケットに該当する場合には、上記置き換え対応テ
ーブルデータを参照して上記置き換え後テーブルデータ
を読み出し、上記置き換え対象テーブルデータを当該置
き換え後テーブルデータに置き換えて出力し、上記入力
パケットが上記置き換え対象テーブルデータを含まない
場合には、上記入力パケットをそのまま出力するパケッ
ト出力手段とを備えたことを特徴とするパケット処理装
置。12. The packet processing device according to claim 8, wherein said table data replacement means sets correspondence between replacement target table data indicating table data to be replaced and a replacement table to be replaced with the replacement target table data. Replacement data storage means for storing replacement correspondence table data shown; input packet detection means for detecting that the input packet includes the replacement target table data; and the input packet corresponds to a packet including the replacement target table data. In this case, the replacement table data is read out with reference to the replacement correspondence table data, the replacement target table data is replaced with the replacement table data and output, and the input packet includes the replacement target table data. If not, the packet processing apparatus characterized by comprising a packet output means for outputting as the input packet.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10038440A JPH11239175A (en) | 1998-02-20 | 1998-02-20 | Packet processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10038440A JPH11239175A (en) | 1998-02-20 | 1998-02-20 | Packet processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11239175A true JPH11239175A (en) | 1999-08-31 |
Family
ID=12525373
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10038440A Pending JPH11239175A (en) | 1998-02-20 | 1998-02-20 | Packet processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11239175A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001313877A (en) * | 2000-02-21 | 2001-11-09 | Matsushita Electric Ind Co Ltd | Digital broadcast receiving apparatus, digital broadcast receiving system, digital broadcast receiving method, digital broadcast receiving program, and recording medium |
| EP1164727A1 (en) * | 2000-06-06 | 2001-12-19 | Robert Bosch Gmbh | Method and apparatus for decoding digital audio data |
| CN1299503C (en) * | 2003-07-31 | 2007-02-07 | 松下电器产业株式会社 | Data output control device |
| WO2007029532A1 (en) * | 2005-09-02 | 2007-03-15 | Leader Electronics Corp. | Device for correcting broadcasting ts partially |
| US7606464B2 (en) | 2003-06-19 | 2009-10-20 | Sony Corporation | Signal processing apparatus and associated methodology for controlling the recording of data streams |
-
1998
- 1998-02-20 JP JP10038440A patent/JPH11239175A/en active Pending
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001313877A (en) * | 2000-02-21 | 2001-11-09 | Matsushita Electric Ind Co Ltd | Digital broadcast receiving apparatus, digital broadcast receiving system, digital broadcast receiving method, digital broadcast receiving program, and recording medium |
| EP1164727A1 (en) * | 2000-06-06 | 2001-12-19 | Robert Bosch Gmbh | Method and apparatus for decoding digital audio data |
| US7606464B2 (en) | 2003-06-19 | 2009-10-20 | Sony Corporation | Signal processing apparatus and associated methodology for controlling the recording of data streams |
| KR101007841B1 (en) * | 2003-06-19 | 2011-01-13 | 소니 주식회사 | Signal processing device, signal processing method, recording limiting device and recording limiting method |
| CN1299503C (en) * | 2003-07-31 | 2007-02-07 | 松下电器产业株式会社 | Data output control device |
| US7656869B2 (en) | 2003-07-31 | 2010-02-02 | Panasonic Corporation | Data output control apparatus |
| WO2007029532A1 (en) * | 2005-09-02 | 2007-03-15 | Leader Electronics Corp. | Device for correcting broadcasting ts partially |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0903036B1 (en) | Processing of digital data and program guide information | |
| KR100263827B1 (en) | Data reproducing apparatus | |
| US5838873A (en) | Packetized data formats for digital data storage media | |
| US5844478A (en) | Program specific information formation for digital data processing | |
| JP4805639B2 (en) | Method for decoding packetized video program information including program related text messages | |
| JP3265980B2 (en) | Program information configuration method and program information configuration device | |
| JP5433143B2 (en) | Digital broadcast media recording apparatus and recording method | |
| EP0903034B1 (en) | Decoding of digital data including program specific information | |
| EP2320644A1 (en) | Digital signal processing | |
| US7061930B2 (en) | Data selection/storage apparatus and data processing apparatus using data selection/storage apparatus | |
| JP2009044766A (en) | System for forming and processing program map information suitable for terrestrial, cable or satellite broadcast | |
| US20080231750A1 (en) | Broadcast Reception Device | |
| US20060053249A1 (en) | Information recording/reproduction processing device, method, and computer program | |
| JPH11239175A (en) | Packet processing device | |
| KR100659453B1 (en) | Receiving apparatus and method, recording medium | |
| EP1701551A2 (en) | Signal processing apparatus and signal processing method | |
| US20060269225A1 (en) | Information recording device, information output device, information recording program, information output program, recording medium, and information recording medium | |
| US20090013364A1 (en) | Digital broadcasting system and method for processing data | |
| US20080232782A1 (en) | Recording apparatus, image reproducing apparatus, and special reproduction method therefor | |
| JP2003008526A (en) | Data processing device | |
| JP3666093B2 (en) | Digital signal processor | |
| JP3975473B2 (en) | Signal processing apparatus, signal processing method, and information recording medium | |
| KR100515707B1 (en) | Program specific information formation for digital data processing | |
| JP4296895B2 (en) | Data processing apparatus and method | |
| KR101171524B1 (en) | Digital broadcasting receiver and method for recording reservation using same |