JP4583870B2 - Transport stream processing device - Google Patents

Transport stream processing device Download PDF

Info

Publication number
JP4583870B2
JP4583870B2 JP2004303052A JP2004303052A JP4583870B2 JP 4583870 B2 JP4583870 B2 JP 4583870B2 JP 2004303052 A JP2004303052 A JP 2004303052A JP 2004303052 A JP2004303052 A JP 2004303052A JP 4583870 B2 JP4583870 B2 JP 4583870B2
Authority
JP
Japan
Prior art keywords
packet
pid
program
transport stream
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004303052A
Other languages
Japanese (ja)
Other versions
JP2006115398A (en
Inventor
昌一 後藤
悦人 中津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2004303052A priority Critical patent/JP4583870B2/en
Publication of JP2006115398A publication Critical patent/JP2006115398A/en
Application granted granted Critical
Publication of JP4583870B2 publication Critical patent/JP4583870B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、デジタル映像信号及び/又はデジタル音声信号を処理するトランスポートストリーム処理装置に関し、特に蓄積媒体に記録されたトランスポートストリームを再生する蓄積媒体制御装置が出力するデジタル映像信号及び/又はデジタル音声信号を処理するのに適したトランスポートストリーム処理装置に関する。   The present invention relates to a transport stream processing apparatus that processes a digital video signal and / or a digital audio signal, and more particularly to a digital video signal and / or digital output from a storage medium control apparatus that reproduces a transport stream recorded on a storage medium. The present invention relates to a transport stream processing apparatus suitable for processing an audio signal.

デジタルテレビ放送が始まり、デジタル映像信号及び/又はデジタル音声信号を処理する製品が市場に広まりつつある。デジタル映像信号を処理する製品は、デジタル映像信号については、MPEG(Moving Picture Experts Group)の規格に沿って映像データを所定の大きさのパケットとして取り扱い、その伝送およびその他の処理を行う。   With the start of digital television broadcasting, products that process digital video signals and / or digital audio signals are spreading on the market. Products that process digital video signals handle video data as packets of a predetermined size in accordance with MPEG (Moving Picture Experts Group) standards, and perform transmission and other processing of digital video signals.

図11に、MPEG方式を用いた伝送データの構成を示す。番組の映像データ及び音声データは、複数のパケットに分解され、それらを連ねた1つのデータストリームとして表される。図11は、2つのデータストリームを示す。2つのデータストリームを、それぞれトランスポートストリーム(以下「TS」と記す)1および2と呼ぶ。
現行の衛星放送(例えばBS放送等)では、1つの伝送帯域をトランスポートと呼び、1つのトランスポートで1つのTSが伝送される。従って、図11の2つのTSはそれぞれ別々の伝送帯域で伝送される。
FIG. 11 shows the structure of transmission data using the MPEG system. The video data and audio data of the program are decomposed into a plurality of packets and expressed as one data stream obtained by connecting them. FIG. 11 shows two data streams. The two data streams are referred to as transport streams (hereinafter referred to as “TS”) 1 and 2, respectively.
In current satellite broadcasting (for example, BS broadcasting), one transmission band is called a transport, and one TS is transmitted by one transport. Accordingly, the two TSs in FIG. 11 are transmitted in different transmission bands.

TSには、複数の番組データを含めることができる。図11のTS1には、番組Aおよび番組Bが含まれている。番組に関するデータは、主として映像データ、音声データからなり、その他のデータを含めることもできる。このようにTSには複数の番組に関する映像、音声をはじめとする種々のデータがパケット単位で時分割されて放送される。
またこれらのパケットにはPID(Packet Identifier)と呼ばれるパケット識別子(識別番号)がついており、PIDに基づいて、それぞれのパケットの種類、もしくは属性を識別することができる。また、パケットで実際の情報が書き込まれている部分をペイロード部と呼ぶ。
A TS can include a plurality of program data. TS1 in FIG. 11 includes program A and program B. The data relating to the program is mainly composed of video data and audio data, and may include other data. In this way, various data including video and audio related to a plurality of programs are time-divided and broadcast in units of packets on the TS.
These packets have a packet identifier (identification number) called a PID (Packet Identifier), and the type or attribute of each packet can be identified based on the PID. Further, a portion where actual information is written in a packet is called a payload portion.

図10は、TS中に含まれるパケットの構成を階層的に示す。まずPAT(Program Association Table)パケットと呼ばれるパケットがTSに含まれる。PATパケットはPATを有する。PATには、PMT(Program Mapping Table)パケットというパケットのPIDが書き込まれている。各PMTパケットはPMTを有する。PMTには、TS中に含まれる番組に関する情報が記録されている。
図10では、TS1のPATパケットのPAT中には、TS1が番組Aと番組Bとを含むこと、番組AのPMTパケットのPIDが「100」であること、及び番組BのPMTパケットのPIDが「200」であること、が書き込まれている。TS2のPATパケットのPAT中には、TS2が番組Cと番組Dとを含むこと、番組CのPMTパケットのPIDが「300」であること、及び番組DのPMTパケットのPIDが「400」であること、が書き込まれている。なお、以下本明細書中ではPIDを10進の数字として説明を行う。
FIG. 10 shows a hierarchical structure of packets included in the TS. First, a packet called a PAT (Program Association Table) packet is included in the TS. A PAT packet has a PAT. In the PAT, a PID of a packet called a PMT (Program Mapping Table) packet is written. Each PMT packet has a PMT. In the PMT, information related to programs included in the TS is recorded.
In FIG. 10, during the PAT of the PAT packet of TS1, TS1 includes program A and program B, the PID of the PMT packet of program A is “100”, and the PID of the PMT packet of program B is PID. “200” is written. In the PAT of the PAT packet of TS2, TS2 includes program C and program D, the PID of the PMT packet of program C is “300”, and the PID of the PMT packet of program D is “400”. There has been written. In the following description, PID is described as a decimal number.

次に番組AのPMTパケットのPMT中には、番組Aの映像データが含まれるパケット(以下「映像パケット」と呼ぶ。)のPIDが110であること、及び番組Aの音声データが含まれるパケット(以下「音声パケット」と呼ぶ。)のPIDが120であることが書き込まれている。すなわち、TS1の中でPIDが110であるパケットは、番組Aの映像パケットであり、PIDが120であるパケットは、番組Aの音声パケットであることがわかる。
同様に番組B、C及びDに関するPMTパケットのPMTには、それぞれの番組の映像パケット、音声パケットのPIDが書き込まれている。なお、PATには、PMTパケット以外のパケットのPIDを書き込むことができる。PMTには、映像パケット、音声パケット以外のパケットのPIDが書き込まれる場合がある。
なお、階層の最上位に位置するPATパケット自体のPIDは、「000」と決められる場合が多い。
Next, in the PMT of the PMT packet of program A, the packet containing the video data of program A (hereinafter referred to as “video packet”) has a PID of 110, and the packet containing the audio data of program A It is written that the PID of 120 (hereinafter referred to as “voice packet”) is 120. That is, it can be seen that a packet with a PID of 110 in TS1 is a video packet of program A, and a packet with a PID of 120 is an audio packet of program A.
Similarly, PIDs of video packets and audio packets of the respective programs are written in the PMTs of the PMT packets related to the programs B, C, and D. Note that the PID of a packet other than the PMT packet can be written in the PAT. In some cases, PMTs of packets other than video packets and audio packets are written in the PMT.
Note that the PID of the PAT packet itself positioned at the top of the hierarchy is often determined to be “000”.

番組を構成する情報は映像データと音声データが大部分を占めるため、TS中には映像パケットと音声パケットの数が多い。これらのパケットの流れの中の所々にPATパケットやPMTパケットを含むパケットが配置される。現在行われているBSデジタル放送では、100msecから数100msecに1回程度の割合で、PATパケットやPMTパケットが配置されている。
このような構成の放送波であるTSを受信する受信機は、TSの中から、PATパケット、PMTパケットを順番に抜き取り、それぞれのパケットの中身を見て、所望の番組に関する映像パケットや音声パケットを取得する。
Since the video data and audio data occupy most of the information constituting the program, there are a large number of video packets and audio packets in the TS. Packets including a PAT packet and a PMT packet are arranged at various points in the flow of these packets. In BS digital broadcasting currently performed, PAT packets and PMT packets are arranged at a rate of about once every 100 msec to several 100 msec.
A receiver that receives a TS, which is a broadcast wave having such a configuration, sequentially extracts a PAT packet and a PMT packet from the TS, looks at the contents of each packet, and receives a video packet or an audio packet related to a desired program. To get.

図7に、このTSからユーザが希望する番組に関するデータを選別する従来例のトランスポートストリーム処理装置を有するデジタル放送受信機を示す。従来例のデジタル放送受信機は、放送電波を受信するアンテナ101、放送電波から1つのTSを選択して復調するチューナ102、スクランブルをかけられたTSをデスクランブルするデスクランブラ103、IEEE1394の規格に準じた外部入力端子105、入力切換スイッチ106、従来例のトランスポートストリーム処理装置700、AVデコーダ107及び蓄積媒体制御装置104を有する。   FIG. 7 shows a digital broadcast receiver having a conventional transport stream processing apparatus for selecting data related to a program desired by a user from this TS. A conventional digital broadcast receiver includes an antenna 101 that receives broadcast radio waves, a tuner 102 that selects and demodulates one TS from the broadcast radio waves, a descrambler 103 that descrambles a scrambled TS, and an IEEE 1394 standard. It has a conforming external input terminal 105, input selector switch 106, conventional transport stream processing device 700, AV decoder 107, and storage medium control device 104.

蓄積媒体制御装置104は、送信部141、受信部142、バッファ143、蓄積媒体133、制御部(図示しない。)を有する。マイクロコンピュータで構成された制御部は、トランスポートストリーム装置700と通信する。受信部142は、トランスポートストリーム処理装置700が出力した圧縮されたデジタル映像パケット及び/又は圧縮されたデジタル音声パケットを含むTSをバッファ143に一時格納した後、蓄積媒体144に記録する。蓄積媒体144は任意の記録媒体であって、例えば、光ディスク、磁気テープ、半導体メモリカード、ハードディスク等である。再生時、蓄積媒体制御装置104は、蓄積媒体144から読み出されたデジタル映像パケット及び/又は圧縮されたデジタル音声パケットを含むTSをバッファ143に一時格納した後、送信部141を通じて出力する。   The storage medium control device 104 includes a transmission unit 141, a reception unit 142, a buffer 143, a storage medium 133, and a control unit (not shown). A control unit configured with a microcomputer communicates with the transport stream apparatus 700. The receiving unit 142 temporarily stores the TS including the compressed digital video packet and / or the compressed digital audio packet output from the transport stream processing apparatus 700 in the buffer 143 and then records the TS in the storage medium 144. The storage medium 144 is an arbitrary recording medium, and is, for example, an optical disk, a magnetic tape, a semiconductor memory card, a hard disk, or the like. At the time of reproduction, the storage medium control device 104 temporarily stores the TS including the digital video packet read from the storage medium 144 and / or the compressed digital audio packet in the buffer 143 and then outputs the TS through the transmission unit 141.

入力切換スイッチ106は、デスクランブラ103が出力するTS、外部入力端子105が出力するTS及び蓄積媒体制御装置104が出力するTSのいずれかを選択して出力してトランスポートストリーム処理装置700に入力する。   The input changeover switch 106 selects one of the TS output from the descrambler 103, the TS output from the external input terminal 105, and the TS output from the storage medium control device 104 and outputs the selected TS to the transport stream processing device 700. To do.

従来例のトランスポートストリーム処理装置700は、番組情報管理部711、DEMUX部(抽出部)109を有する。DEMUX部(抽出部)109は、PIDフィルタ121、セクションフィルタ122を有する。PIDフィルタ121は、PIDテーブル131、PID比較器132、出力切換スイッチ133を有する。   A conventional transport stream processing apparatus 700 includes a program information management unit 711 and a DEMUX unit (extraction unit) 109. The DEMUX unit (extraction unit) 109 includes a PID filter 121 and a section filter 122. The PID filter 121 includes a PID table 131, a PID comparator 132, and an output changeover switch 133.

トランスポートストリーム処理装置700は入力切換スイッチ106によって選択されたTSを入力する。入力されたTSは、PIDフィルタ121によって、パケット毎のPIDが調べられる。PIDフィルタ121は、選択すべきパケットのPIDを番組情報管理部711から選択すべきパケット番号Npとして通知をうける。この通知については番組情報管理部711の説明の際に同時に説明する。   The transport stream processing device 700 inputs the TS selected by the input selector switch 106. The input TS is checked for PID for each packet by the PID filter 121. The PID filter 121 is notified of the PID of the packet to be selected as the packet number Np to be selected from the program information management unit 711. This notification will be described at the same time when the program information management unit 711 is described.

PIDフィルタ121は、そのパケットが選択すべき映像パケット及び/又は音声パケットである場合は、選択されたパケットPsavとしてAVデコーダ107へ送る。PIDフィルタ121がパケットPsavをバッファメモリ(図示しない。)に記録し、AVデコーダ107がバッファメモリからパケットPsavを読み出す構成としても良い。AVデコーダ107は、圧縮された映像データ及び/又は音声データであるパケットPsavを伸長し、出力する。ユーザからの指示に応じて、選択されたパケットPsavが蓄積媒体144に記録される。   When the packet is a video packet and / or an audio packet to be selected, the PID filter 121 sends the packet to the AV decoder 107 as the selected packet Psav. The PID filter 121 may record the packet Psav in a buffer memory (not shown), and the AV decoder 107 may read the packet Psav from the buffer memory. The AV decoder 107 decompresses and outputs a packet Psav that is compressed video data and / or audio data. The selected packet Psav is recorded on the storage medium 144 in accordance with an instruction from the user.

PIDフィルタ121は、パケットのPIDを調べて、そのパケットが映像及び/又は音声パケット以外のパケットで、PATパケットやPMTパケットやその他の取得する必要があるパケットであれば、そのパケットを管理情報パケットPiとしてセクションフィルタ122へ送る。セクションフィルタ122は、管理情報パケットPiの内容を解析し、その内容Diを番組情報管理部711へ送る。   The PID filter 121 checks the PID of the packet, and if the packet is a packet other than a video and / or audio packet and is a PAT packet, PMT packet, or other packet that needs to be acquired, the packet is designated as a management information packet. It is sent to the section filter 122 as Pi. The section filter 122 analyzes the content of the management information packet Pi and sends the content Di to the program information management unit 711.

番組情報管理部711は、メモリ、メモリコントローラ等からなり、デジタル放送受信機全体のシステム制御部(図示せず)から処理すべき番組の情報を受け取っている。番組情報管理部711は、PATの内容から取得すべきPMTパケットのPIDを知り、PMTの内容から取得すべき映像パケット及び/又は音声パケット等のPIDを知る。番組情報管理部711は、PATパケットのPID、取得すべきPMTパケットのPID、取得すべき映像パケット及び/又は音声パケット等のPIDを、選択すべきパケットの番号NpとしてPIDフィルタ121に通知する。   The program information management unit 711 includes a memory, a memory controller, and the like, and receives program information to be processed from a system control unit (not shown) of the entire digital broadcast receiver. The program information management unit 711 knows the PID of the PMT packet to be acquired from the content of the PAT, and knows the PID of the video packet and / or the audio packet to be acquired from the content of the PMT. The program information management unit 711 notifies the PID filter 121 of the PID of the PAT packet, the PID of the PMT packet to be acquired, and the PID of the video packet and / or the audio packet to be acquired as the number Np of the packet to be selected.

従来例のようにトランスポートストリーム処理装置700を含む機器(ここではデジタル放送受信機)にテープ、ディスク、固体記憶素子などの蓄積媒体144が接続されており、PIDフィルタ121が蓄積媒体144に指定された番組に関するパケットを送信する場合、PIDフィルタ121はPATパケットと、選択される番組に関するPMTパケットと、指定された番組の映像及び/又は音声のパケット等をパーシャルストリーム(Ps)として蓄積媒体144に送る。
外部入力端子105は、IEEE1394以外の伝送規格又は専用規格のTSを入力しても良い。
A storage medium 144 such as a tape, a disk, or a solid-state storage element is connected to a device (here, a digital broadcast receiver) including the transport stream processing device 700 as in the conventional example, and the PID filter 121 is designated as the storage medium 144. When transmitting a packet related to the selected program, the PID filter 121 stores the PAT packet, the PMT packet related to the selected program, and the video and / or audio packet of the designated program as a partial stream (Ps) as a storage medium 144. Send to.
The external input terminal 105 may input a TS of a transmission standard other than IEEE1394 or a dedicated standard.

図8を用いて、PIDフィルタ121の動作を中心にさらに詳しい説明を行う。PIDフィルタ121は、PIDテーブル131とPID比較器132とスイッチ133を含む構成である。ここでは、図11のTS1が入力され、その中の番組Aを選択する場合について説明を行う。
PIDテーブル131は、PIDフィルタ121が選択して出力するパケットのPIDを登録するテーブルである。入力されたTS1は、1パケットずつPID比較器132に入力される。PID比較器132は、PIDテーブル131に書き込まれたPIDを有するパケットについて後段に通過させ、それ以外のパケットを破棄する。
With reference to FIG. 8, a more detailed description will be given centering on the operation of the PID filter 121. The PID filter 121 includes a PID table 131, a PID comparator 132, and a switch 133. Here, a case where TS1 in FIG. 11 is input and program A is selected will be described.
The PID table 131 is a table for registering PIDs of packets that are selected and output by the PID filter 121. The input TS1 is input to the PID comparator 132 packet by packet. The PID comparator 132 passes the packet having the PID written in the PID table 131 to the subsequent stage, and discards the other packets.

初期状態においては、PIDテーブル131には「000」というPATパケットを示すパケット番号がセットされる(St100)。このPIDテーブル131に書き出された番号を有するパケットをPID比較器132は後段の処理へ通過させる(Fp100)。すなわち、通常、PIDフィルタ121は最初のPATパケットを受信するまでは、入力されたパケットを破棄する。PATパケットのPIDが「000」であるのは、特に必然性があるものではないが、運用上そのようにされる場合が多い。   In the initial state, a packet number indicating a PAT packet “000” is set in the PID table 131 (St100). The PID comparator 132 passes the packet having the number written in the PID table 131 to the subsequent processing (Fp100). That is, normally, the PID filter 121 discards the input packet until the first PAT packet is received. Although the PID of the PAT packet is “000”, it is not necessarily inevitable, but it is often used in the operation.

スイッチ133では、PATパケットをセクションフィルタ122に送る(Pi100)。セクションフィルタ122では、PATパケットのペイロード部に格納されたPATの内容を解析し、その内容を番組情報管理部へ送る(Di100)。
番組情報管理部711では、選択すべき番組Aに関する情報はPIDが「100」であるPMTパケットのペイロード部に格納されたPMTに書かれてあることを知り、PIDテーブル131にその番号を通知する(Np100)。PIDテーブル131にはPID「100」がセットされる(St200)。
The switch 133 sends the PAT packet to the section filter 122 (Pi100). The section filter 122 analyzes the contents of the PAT stored in the payload part of the PAT packet and sends the contents to the program information management part (Di100).
The program information management unit 711 knows that the information related to the program A to be selected is written in the PMT stored in the payload part of the PMT packet whose PID is “100”, and notifies the PID table 131 of the number. (Np100). PID “100” is set in the PID table 131 (St200).

次にPID比較器132は、「100」のPIDが付与されたPMTパケットが来るまでは、入力されるパケットを破棄し続ける。PID比較器132は、PIDが「100」のPMTパケットを認識したらPMTパケットを通過させる(Fp200)。通過したPMTパケットは、スイッチ133を介してセクションフィルタ122に送られる(Pi200)。セクションフィルタ122は、PMTパケットのペイロード部に格納されたPMTの内容を解析し、その内容を番組情報管理部711へ送る(Di200)。
番組情報管理部711では、選択すべき番組Aの映像情報が「110」のPIDを有するパケットに、また音声情報は「120」のPIDを有するパケットに入っていることを知り、これらの番号をPIDテーブル131に通知する(Np200)。PIDテーブル131にはこれらのPIDがセットされる(St300)。なお、これらのパケットはAVデコーダに送られることを示すフラグも、PIDテーブル131にセットされる。図ではこのフラグを黒丸で示した。
Next, the PID comparator 132 continues to discard the input packet until a PMT packet with a PID of “100” is received. When the PID comparator 132 recognizes the PMT packet with the PID “100”, the PID packet is passed (Fp200). The passed PMT packet is sent to the section filter 122 via the switch 133 (Pi200). The section filter 122 analyzes the contents of the PMT stored in the payload part of the PMT packet and sends the contents to the program information management part 711 (Di200).
The program information management unit 711 knows that the video information of the program A to be selected is contained in a packet having a PID of “110”, and that the audio information is contained in a packet having a PID of “120”. Notify the PID table 131 (Np200). These PIDs are set in the PID table 131 (St300). A flag indicating that these packets are sent to the AV decoder is also set in the PID table 131. In the figure, this flag is indicated by a black circle.

これ以降PID比較器132は、番組Aに関するそれぞれ映像および音声情報を有する「110」と「120」のPIDを有するパケットを通過させる。それらのパケットはAVデコーダに送られるフラグがあることによって、スイッチ133を介してAVデコーダ107に送られる(Psav)。
デジタルストリームメモリ(DSM)である蓄積媒体144に選択された番組を記録する場合には、PATパケット、PMTパケット、映像及び/又は音声のパケットを蓄積媒体制御装置104の受信部142に出力する(Ps)。
Thereafter, the PID comparator 132 passes packets having PIDs “110” and “120” having video and audio information relating to the program A, respectively. These packets are sent to the AV decoder 107 via the switch 133 due to the presence of a flag sent to the AV decoder (Psav).
When the selected program is recorded in the storage medium 144 that is a digital stream memory (DSM), the PAT packet, the PMT packet, the video and / or the audio packet are output to the reception unit 142 of the storage medium control device 104 ( Ps).

図9には、PIDテーブル131、PID比較器132、スイッチ133を含むDEMUX部109の動作のフローチャートを示す。
まずDEMUX部109がパケットを入力する(ステップ910)。PID比較器132は、このパケットのPIDがPIDテーブル131にあるか否かを判断し(ステップ912)、PIDテーブル131に無い場合は、再度パケットの入力のステップ910に戻る。
入力されたパケットのPIDがPIDテーブル131に有った場合、PID比較器132は、TSpとして出力するか否かを判断し(ステップ914)、出力する場合はTSpとして出力する(ステップ916)。このTSpは蓄積媒体144などに送られる。
FIG. 9 shows a flowchart of the operation of the DEMUX unit 109 including the PID table 131, the PID comparator 132, and the switch 133.
First, the DEMUX unit 109 inputs a packet (step 910). The PID comparator 132 determines whether or not the PID of this packet is in the PID table 131 (step 912), and if it is not in the PID table 131, returns to the step 910 for inputting the packet again.
If the PID of the input packet is in the PID table 131, the PID comparator 132 determines whether or not to output as TSp (step 914), and if so, outputs it as TSp (step 916). This TSp is sent to the storage medium 144 or the like.

TSpとして出力するか否かにかかわらず、PID比較器132は、パケットをAVデコーダ107に送るか否かを、PIDテーブル131のフラグに基づいて判断する(ステップ918)。パケットをAVデコーダ107に送らない場合は、PID比較器132は、パケットをセクションフィルタ122に送る(ステップ922)。セクションフィルタ122は、そのパケットの内容を番組情報管理部711に送る(ステップ924)。パケットをAVデコーダ107に送る場合は、PID比較器132は、パケットをPsavとしてAVデコーダに送る(ステップ920)。そして再びパケット入力のステップ910に戻る。   Regardless of whether or not to output as TSp, the PID comparator 132 determines whether or not to send the packet to the AV decoder 107 based on the flag of the PID table 131 (step 918). If the packet is not sent to the AV decoder 107, the PID comparator 132 sends the packet to the section filter 122 (step 922). The section filter 122 sends the contents of the packet to the program information management unit 711 (step 924). When sending the packet to the AV decoder 107, the PID comparator 132 sends the packet as Psav to the AV decoder (step 920). Then, the process returns to the packet input step 910 again.

このようにして外部に出力されるパケット群は、図10のTS1から番組Aに関する情報およびPATパケットやPMTパケットを抜き取ったパケット群であり、図12のようになる。この図12に示されるように、元のTSから不要なパケットを抜いたTSをパーシャルストリーム(以後「TSp」という)と呼ぶ。
これらの技術に関しては、特許文献1に開示されている(特許文献1参照)。
The packet group output to the outside in this way is a packet group obtained by extracting the information related to the program A, the PAT packet and the PMT packet from TS1 in FIG. 10, and is as shown in FIG. As shown in FIG. 12, a TS obtained by removing unnecessary packets from the original TS is referred to as a partial stream (hereinafter referred to as “TSp”).
These techniques are disclosed in Patent Document 1 (see Patent Document 1).

特開2000−341597号公報JP 2000-341597 A

図7を用いて、従来例のトランスポートストリーム処理装置700が蓄積媒体144から再生したパーシャルストリームTSpを順に入力する場合の動作を説明する。なお、図示していないが、デジタル放送受信機全体のシステム制御部から番組情報管理部711には、予め蓄積媒体制御装置104の蓄積媒体144中のどの番組を再生するかが通知されており、また蓄積媒体制御装置104にも同様にどの番組を再生するかについて通知が行われているものとする。   The operation when the transport stream processing apparatus 700 of the conventional example inputs the partial stream TSp reproduced from the storage medium 144 in order will be described with reference to FIG. Although not shown, the system control unit of the entire digital broadcast receiver is notified in advance to the program information management unit 711 which program in the storage medium 144 of the storage medium control device 104 is to be played back. Similarly, it is assumed that the storage medium control device 104 is notified of which program is to be reproduced.

トランスポートストリーム処理装置700は、蓄積媒体144から再生されたTSpから目的の番組の映像および音声のパケットを取り出す際には、従来技術で説明したようにPIDフィルタ部121の中のPIDテーブル131に目的の番組の映像および音声のパケットに関するPIDをセットしなければならない。
これらの映像および音声データのパケットのPIDは、再生されるTSpの中のPMTパケットのPMTに書き込まれており、またそのPMTパケットのPIDは同じく再生されるTSp中のPATパケットのPATに記載されている。
When the transport stream processing apparatus 700 takes out the video and audio packets of the target program from the TSp reproduced from the storage medium 144, the transport stream processing apparatus 700 stores the PID table 131 in the PID filter unit 121 as described in the related art. The PID for the video and audio packets of the target program must be set.
The PID of these video and audio data packets is written in the PMT of the PMT packet in the reproduced TSp, and the PID of the PMT packet is also described in the PAT of the PAT packet in the reproduced TSp. ing.

従って、蓄積媒体144から新しい番組を再生する場合、再生されたTSp中のPATパケットとPMTパケットがPIDフィルタ121を通過しないとPIDテーブル131に映像および音声のパケットに関するPIDは設定されない。そのPATパケットとPMTパケットは、100msから数100ms程度の時間間隔でしか埋め込まれていない。
すなわち、蓄積媒体144から番組を再生する場合、トランスポートストリーム処理装置700は、ストリームの入力を開始してからPIDテーブル131に目的の番組の映像および音声パケットのPIDがセットされるまで、パケットを破棄する。従って、ストリームの入力を開始してからPIDテーブル131に目的の番組の映像および音声パケットのPIDがセットされるまでの時間は、待ち時間となってしまうという問題があった。
Therefore, when a new program is reproduced from the storage medium 144, the PID relating to the video and audio packets is not set in the PID table 131 unless the PAT packet and the PMT packet in the reproduced TSp pass through the PID filter 121. The PAT packet and the PMT packet are embedded only at a time interval of about 100 ms to several hundreds of ms.
That is, when a program is reproduced from the storage medium 144, the transport stream processing device 700 starts to input a packet until the PID of the target program video and audio packet is set in the PID table 131. Discard. Therefore, there is a problem that the time from the start of stream input until the PID of the target program video and audio packet is set in the PID table 131 becomes a waiting time.

特に蓄積媒体144から連続して番組を再生する場合には(例えば番組Aから番組C)、現在再生中の番組(番組A)が終了してから、次の番組(番組C)の再生まで、一定以上の時間が必要になるという課題が生じる。このような時間間隔は、短いようであるが、利用者に不快感を感じさせるには十分な時間である。また、次の番組のPATパケット及びPMTパケットを受信するまでの間に入力する映像および音声パケットを破棄することにより、その間の映像および音声を視聴できないという問題があった。   In particular, when a program is reproduced continuously from the storage medium 144 (for example, program A to program C), from the end of the currently reproduced program (program A) to the reproduction of the next program (program C). There arises a problem that a certain amount of time is required. Such a time interval seems to be short, but is sufficient to make the user feel uncomfortable. In addition, there is a problem in that video and audio during that time cannot be viewed by discarding the video and audio packets input until the PAT packet and PMT packet of the next program are received.

本発明は、再生までの待ち時間を短くし、パケットを破棄することがないトランスポートストリーム処理装置を提供することを目的とする。   An object of the present invention is to provide a transport stream processing apparatus that shortens the waiting time until reproduction and does not discard packets.

上記課題を解決するため、本発明は下記の構成を有する。請求項1に記載の発明は、パケット識別子を有するパケットを入力し、
入力したパケットの中から所定の登録されたパケット識別子を有する前記パケットのみを選択するパケット識別子フィルタを有し、前記パケット識別子フィルタは、パケット識別子を登録するパケット識別子テーブルを有し、
選択された前記パケットのペイロード部にパケット識別子が書き込まれていればそのパケット識別子で前記パケット識別子テーブルを更新し、
選択された前記パケットが所定のダミーパケットであった場合、前記ダミーパケット内の映像及び/又は音声のパケットのパケット識別子を抽出して、前記パケット識別子テーブルを更新し、
選択された前記パケットが映像及び/又は音声のパケットであれば、前記パケット識別子テーブルに登録されたパケット識別子を有する前記パケットのみを選択して出力する抽出部と、
トランスポートストリーム出力装置が出力するトランスポートストリームの中に含まれる少なくとも映像及び/又は音声のパケットの前記パケット識別子を取得し、前記パケット識別子をペイロード部に書き込んでパケット識別子を付したダミーパケットを生成し前記トランスポートストリーム出力装置が出力する前記トランスポートストリームの先頭に前記ダミーパケットを付加する制御部と、
を有するトランスポートストリーム処理装置である。
In order to solve the above problems, the present invention has the following configuration. The invention according to claim 1 inputs a packet having a packet identifier,
A packet identifier filter that selects only the packet having a predetermined registered packet identifier from the input packets, the packet identifier filter has a packet identifier table for registering a packet identifier;
If the packet identifier is written in the payload portion of the selected packet , the packet identifier table is updated with the packet identifier,
If the selected packet is a predetermined dummy packet, the packet identifier of the video and / or audio packet in the dummy packet is extracted, and the packet identifier table is updated,
If the selected packet is a video and / or audio packet, an extraction unit that selects and outputs only the packet having a packet identifier registered in the packet identifier table ;
The packet identifier of at least the video and / or audio packet included in the transport stream output by the transport stream output device is acquired, and the packet identifier is written in the payload part to generate a dummy packet with the packet identifier A controller that adds the dummy packet to the head of the transport stream output by the transport stream output device;
Is a transport stream processing apparatus.

請求項2に記載の発明は、前記制御部は前記ダミーパケットの前記パケット識別子として、固有のパケット識別子を付することを特徴とする請求項1記載のトランスポートストリーム処理装置である。   The invention according to claim 2 is the transport stream processing apparatus according to claim 1, wherein the control unit attaches a unique packet identifier as the packet identifier of the dummy packet.

請求項3に記載の発明は、前記制御部は前記ダミーパケットとしてNULLパケットを使用し、通常のNULLパケットと識別するための情報を前記NULLパケット内に付加することを特徴とする請求項1記載のトランスポートストリーム処理装置である。   The invention according to claim 3 is characterized in that the control unit uses a NULL packet as the dummy packet, and adds information for distinguishing it from a normal NULL packet in the NULL packet. This is a transport stream processing apparatus.

蓄積媒体に番組を記録する際にその番組の映像および音声のパケットPIDを別途記録しておく。本発明では、蓄積媒体から再生されるTSpの先頭にそのTSp中の映像パケットや音声パケットなどのPIDを予め書き込んだダミーパケットを付加するようにしたので、TSp中のPATパケットやPMTパケットの到来を待たずとも、映像パケットや音声パケットをAVデコーダに送ることができるので、再生までの待ち時間を短くすることができるという効果を得ることができる。   When a program is recorded on the storage medium, video and audio packet PIDs of the program are recorded separately. In the present invention, since a dummy packet in which a PID such as a video packet or an audio packet in the TSp is previously written is added to the head of the TSp reproduced from the storage medium, the arrival of the PAT packet or the PMT packet in the TSp Since the video packet and the audio packet can be sent to the AV decoder without waiting for, the effect that the waiting time until reproduction can be shortened can be obtained.

また、PATパケット、PMTパケットを受信するまでの、映像および音声パケットを破棄することなく、映像および音声をTSpのはじめから視聴できる。   Also, video and audio can be viewed from the beginning of TSp without discarding video and audio packets until the PAT packet and PMT packet are received.

以下本発明の実施をするための最良の形態を具体的に示した実施の形態について、図面とともに記載する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments that specifically show the best mode for carrying out the present invention will be described below with reference to the drawings.

《実施の形態》
図1に本発明の実施の形態に係るトランスポートストリーム処理装置を有するデジタル放送受信機の構成を示す。本実施の形態に係るデジタル放送受信機は、放送電波を受信するアンテナ101、放送電波から1つのTSを選択して復調するチューナ102、スクランブルをかけられたTSをデスクランブルするデスクランブラ103、IEEE1394の規格に準じた外部入力端子105、入力切換スイッチ106、トランスポートストリーム処理装置100、AVデコーダ107、蓄積媒体制御装置104、及びシステム制御部(図示しない。)を有する。
<< Embodiment >>
FIG. 1 shows a configuration of a digital broadcast receiver having a transport stream processing apparatus according to an embodiment of the present invention. The digital broadcast receiver according to the present embodiment includes an antenna 101 that receives broadcast radio waves, a tuner 102 that selects and demodulates one TS from the broadcast radio waves, a descrambler 103 that descrambles the scrambled TS, and IEEE 1394. The external input terminal 105, the input changeover switch 106, the transport stream processing device 100, the AV decoder 107, the storage medium control device 104, and the system control unit (not shown).

本発明の実施の形態のデジタル放送受信機は、従来例のトランスポートストリーム処理装置700に代えて、トランスポートストリーム処理装置100を有する。蓄積媒体制御装置104は、トランスポートストリーム処理装置100が出力した圧縮されたデジタル映像パケット及び/又は圧縮されたデジタル音声パケットを含むTSを蓄積媒体144に記録する時、その番組の映像パケット及び/又は音声パケットのPIDを、TSと別個に、蓄積媒体144に記録する。蓄積媒体制御装置104は、トランスポートストリーム処理装置100からの問い合わせに応じて、記録した番組の映像パケット及び/又は音声パケットのPIDを直ぐに知らせることが出来る。本発明のデジタル放送受信機は、それ以外の構成要素については従来例と同一である。   The digital broadcast receiver according to the embodiment of the present invention includes a transport stream processing device 100 instead of the conventional transport stream processing device 700. When the storage medium control apparatus 104 records a TS including the compressed digital video packet and / or the compressed digital audio packet output from the transport stream processing apparatus 100 on the storage medium 144, the storage medium control apparatus 104 outputs the video packet and / or Alternatively, the PID of the voice packet is recorded on the storage medium 144 separately from the TS. In response to an inquiry from the transport stream processing apparatus 100, the storage medium control apparatus 104 can immediately notify the PID of the video packet and / or audio packet of the recorded program. The other components of the digital broadcast receiver of the present invention are the same as those of the conventional example.

トランスポートストリーム処理装置100は、PIDフィルタ121およびセクションフィルタ122を含むDEMUX部(抽出部)109と、番組情報管理部111とダミーパケット挿入部112とを含む制御部108と、を有する。DEMUX部109は従来技術での説明と同じである。
また、PIDフィルタ121が、入力されたTSから蓄積媒体144へパーシャルストリームTSpを出力する動作についても、従来技術での説明と同じである。
The transport stream processing apparatus 100 includes a DEMUX unit (extraction unit) 109 including a PID filter 121 and a section filter 122, and a control unit 108 including a program information management unit 111 and a dummy packet insertion unit 112. The DEMUX unit 109 is the same as described in the prior art.
The operation of the PID filter 121 that outputs the partial stream TSp from the input TS to the storage medium 144 is the same as that described in the related art.

まず、本実施の形態に係るトランスポートストリーム処理装置100が、入力されたTSからある番組を選択し、その番組に係るTSpを蓄積媒体に記録する場合について説明する。トランスポートストリーム処理装置100が出力するパケットをPsとも表示し、TSpとも表示する。
デジタル放送受信機全体のシステム制御部(図示せず)は、番組情報管理部111にTS1中の所定の番組に関するパーシャルストリームTSpを蓄積媒体制御装置104に出力することを指示する。
説明のために図10の2つのストリームTS1とTS2のうち、番組Aと番組Cを蓄積媒体144に記録するものとする。TS1とTS2は別々のトランスポンダによって送信されるため、チューナ102がこれらのトランスポンダを適切に選局する。また、番組Cは時間的に番組Aより後に放送されているものとする。
蓄積媒体144は、ハードディスクや光ディスクなどの板状の記録媒体、テープ状の記録媒体、固体メモリ等の任意の記録再生可能な記録媒体である。記録媒体は、取り換え可能であっても取り換えできなくても良い。
First, the case where the transport stream processing apparatus 100 according to the present embodiment selects a program from the input TS and records the TSp related to the program on a storage medium will be described. The packet output from the transport stream processing apparatus 100 is also displayed as Ps and also as TSp.
A system control unit (not shown) of the entire digital broadcast receiver instructs the program information management unit 111 to output a partial stream TSp related to a predetermined program in TS1 to the storage medium control device 104.
For the sake of explanation, it is assumed that program A and program C of the two streams TS1 and TS2 in FIG. Since TS1 and TS2 are transmitted by separate transponders, the tuner 102 tunes these transponders appropriately. Further, it is assumed that the program C is broadcast after the program A in time.
The storage medium 144 is an arbitrary recording / reproducing recording medium such as a plate-shaped recording medium such as a hard disk or an optical disk, a tape-shaped recording medium, or a solid-state memory. The recording medium may or may not be replaced.

トランスポートストリーム処理装置100は、従来技術で説明したようにTS中の所望の番組について、関連するパケットを抜き取り、蓄積媒体制御装置104へ送信する。すなわち、TS1中のPATパケットおよびPMTパケットを取得し、映像および音声パケットのPIDを検出し、そのPIDに該当するパケット群をTSp(Ps)として蓄積媒体制御装置104に送信する。蓄積媒体制御装置104は、TS1中の番組AとTS2中の番組Cに関するTSp(Ps)を蓄積媒体144に記録する。   As described in the prior art, the transport stream processing apparatus 100 extracts a related packet for a desired program in the TS and transmits it to the storage medium control apparatus 104. That is, the PAT packet and the PMT packet in TS1 are acquired, the PIDs of the video and audio packets are detected, and the packet group corresponding to the PID is transmitted to the storage medium control device 104 as TSp (Ps). The storage medium control device 104 records TSp (Ps) related to the program A in TS1 and the program C in TS2 on the storage medium 144.

番組情報管理部111は、蓄積媒体144に送信するパケットのPIDの情報を、蓄積媒体制御装置104に別途通知する(Ri1)。番組情報管理部111は、この通知情報Ri1を、TSp(Ps)の送信に先駆けて蓄積媒体制御装置104に通知しても良いし、TSp(Ps)の送信の後に通知しても良い。また、図ではパーシャルストリームPsの伝送ラインと別の通信ラインによってRi1が通知されるように示したが、Psと同じ通信ラインを用いてもよい。TSpおよびRi1の通信にはIEEE1394などの規格によるプロトコルを用いても良く、専用の回線およびプロトコルを用いても良い。   The program information management unit 111 separately notifies the storage medium control device 104 of the PID information of the packet to be transmitted to the storage medium 144 (Ri1). The program information management unit 111 may notify the notification information Ri1 to the storage medium control device 104 prior to the transmission of TSp (Ps), or may be notified after the transmission of TSp (Ps). In the figure, Ri1 is shown to be notified by a communication line different from the transmission line of partial stream Ps, but the same communication line as Ps may be used. For communication of TSp and Ri1, a protocol based on a standard such as IEEE 1394 may be used, or a dedicated line and protocol may be used.

実施の形態の構成に代えて、番組情報管理部111は蓄積媒体144に記録するパケットのPIDの情報を、蓄積媒体144に通知するのではなく、内蔵するメモリ(好ましくは不揮発性メモリ)に格納しても良い。
蓄積媒体制御装置104は、トランスポートストリーム処理装置100を含む機器に含まれる構成であってもよいし、機器と別個の装置であってもよい。
Instead of the configuration of the embodiment, the program information management unit 111 does not notify the storage medium 144 of the PID information of the packet to be recorded on the storage medium 144 but stores it in a built-in memory (preferably a non-volatile memory). You may do it.
The storage medium control device 104 may be included in a device including the transport stream processing device 100, or may be a device separate from the device.

次に、蓄積媒体144から番組AとCのTSpが再生される場合について説明する。デジタル放送受信機全体のシステム制御部(図示しない。)が、蓄積媒体制御装置104及びトランスポートストリーム処理装置100に、蓄積媒体144に記録された番組に関するTSpの再生を指示する。
これに代えて、システム制御部(図示しない。)が、蓄積媒体制御装置104のみに、蓄積媒体144に記録された番組に関するTSpの再生を指示しても良い。蓄積媒体制御装置104は、再生する番組を直接又はデジタル放送受信機のシステム制御部(図示しない。)を介して、トランスポートストリーム処理装置100に伝える。
又は、システム制御部(図示しない。)が、トランスポートストリーム処理装置100のみに、蓄積媒体144に記録された番組に関するTSpの再生を指示しても良い。トランスポートストリーム処理装置100は、再生する番組を直接又はデジタル放送受信機のシステム制御部(図示しない。)を介して、蓄積媒体制御装置104に伝える。
Next, a case where the TSp of programs A and C are reproduced from the storage medium 144 will be described. A system control unit (not shown) of the entire digital broadcast receiver instructs the storage medium control device 104 and the transport stream processing device 100 to reproduce the TSp related to the program recorded in the storage medium 144.
Instead, the system control unit (not shown) may instruct only the storage medium control device 104 to play back the TSp related to the program recorded on the storage medium 144. The storage medium control device 104 transmits the program to be reproduced to the transport stream processing device 100 directly or via a system control unit (not shown) of the digital broadcast receiver.
Alternatively, the system control unit (not shown) may instruct only the transport stream processing apparatus 100 to reproduce the TSp related to the program recorded on the storage medium 144. The transport stream processing apparatus 100 transmits a program to be reproduced to the storage medium control apparatus 104 directly or via a system control unit (not shown) of a digital broadcast receiver.

番組情報管理部111は、蓄積媒体144から再生される番組のTSpに属するパケット(映像パケット及び/又は音声パケットを含む。)のPIDの情報を、蓄積媒体制御装置104から取得する(Ri2)。番組情報管理部111は再生番組のTSpに属するパケットのPIDの情報を、蓄積媒体制御装置104から直接取得しても良く、デジタル放送受信機のシステム制御部(図示しない。)を介して取得しても良い。番組情報管理部111が上記のPIDの情報を内蔵するメモリに格納してる場合は、PIDの情報をメモリから読み出す。   The program information management unit 111 acquires, from the storage medium control device 104, PID information of packets (including video packets and / or audio packets) belonging to the TSp of the program reproduced from the storage medium 144 (Ri2). The program information management unit 111 may directly acquire the PID information of the packet belonging to the TSp of the reproduction program from the storage medium control device 104 or via a system control unit (not shown) of the digital broadcast receiver. May be. When the program information management unit 111 stores the PID information in a built-in memory, the PID information is read from the memory.

番組情報管理部111が蓄積媒体制御装置104に上記のPIDの情報を要求し、それに応じて蓄積媒体制御装置104がPIDの情報を送る構成であっても良く、蓄積媒体制御装置104が自動的にPIDの情報を自ら送出し、番組情報管理部111がその情報を取得する構成であっても良い。さらに、通知の際に使われる回線が特に限定されないのは、これらの情報を番組情報管理部111から蓄積媒体制御装置104に伝送する場合と同様である。   The program information management unit 111 may request the storage medium control device 104 for the PID information, and the storage medium control device 104 may send the PID information accordingly. Alternatively, the PID information may be transmitted by itself, and the program information management unit 111 may acquire the information. Further, the line used for notification is not particularly limited, as in the case where these pieces of information are transmitted from the program information management unit 111 to the storage medium control device 104.

番組情報管理部111は、ダミーパケット挿入部112に、再生する番組のTSp中にある映像及び/又は音声パケットのPIDを通知する(Np1)。ダミーパケット挿入部112は、固有のPIDをつけたパケットを用意し、そのパケットのペイロード部に再生する番組の映像及び/又は音声パケットのPIDを書き込む。従って、用意されたパケットはPMTパケットと同じ形式のパケットとなる。
ダミーパケットとは、蓄積媒体144に記録したTSpには、もともとないパケットで、TSp(TSを含む)を扱う機器が取り扱いの都合上付加したパケットをいう。ペイロード部の内容によらない。
The program information management unit 111 notifies the dummy packet insertion unit 112 of the PID of the video and / or audio packet in the TSp of the program to be reproduced (Np1). The dummy packet insertion unit 112 prepares a packet with a unique PID and writes the video and / or audio packet PID of the program to be reproduced in the payload portion of the packet. Therefore, the prepared packet has the same format as the PMT packet.
The dummy packet is a packet that is not originally included in the TSp recorded in the storage medium 144 and is added for convenience of handling by a device that handles the TSp (including TS). It does not depend on the contents of the payload part.

ダミーパケット挿入部112は、蓄積媒体144からの再生されたTSpを待って、その先頭に用意したダミーパケットを付加してDEMUX部109へ送る。従って再生されるTSpは図4に示すダミーパケットとそれに続くTS1のようになる。   The dummy packet insertion unit 112 waits for the reproduced TSp from the storage medium 144, adds the prepared dummy packet to the head thereof, and sends it to the DEMUX unit 109. Therefore, the reproduced TSp is a dummy packet shown in FIG. 4 followed by TS1.

図3にダミーパケット挿入部112の構成を示す。ダミーパケット挿入部112は、ダミーパケット生成部220と、送信部240と、バッファ260とからなる。
ダミーパケット挿入部112の動作を説明する。番組情報管理部111はダミーパケット生成部220に、再生するTSpに含まれるパケット(映像及び/又は音声のパケットを含む。)のPIDの情報を送信する(Np1)。ダミーパケット生成部220は、これらのPIDをペイロード部に書き込んだダミーパケットを生成する。ダミーパケット自体のPIDは通常TSでは使用される可能性が低い、ユニークな数値を使用する。ここでは説明のために「1000」とする。ダミーパケット生成部220は作成したダミーパケットを送信部240へ送る。
一方バッファ260は、蓄積媒体制御装置104からのTSpの到着を待っており、パケットを受け取ったらそれを蓄えておく。
FIG. 3 shows the configuration of the dummy packet insertion unit 112. The dummy packet insertion unit 112 includes a dummy packet generation unit 220, a transmission unit 240, and a buffer 260.
The operation of the dummy packet insertion unit 112 will be described. The program information management unit 111 transmits PID information of packets (including video and / or audio packets) included in the TSp to be reproduced to the dummy packet generation unit 220 (Np1). The dummy packet generation unit 220 generates a dummy packet in which these PIDs are written in the payload portion. The PID of the dummy packet itself is a unique numerical value that is unlikely to be used in the normal TS. Here, it is set to “1000” for explanation. The dummy packet generation unit 220 sends the created dummy packet to the transmission unit 240.
On the other hand, the buffer 260 waits for the arrival of TSp from the storage medium control device 104, and stores it when a packet is received.

なお、ダミーパケットとして、1000というユニークな値をつけるのではなく、NULLパケットのPIDを付与しても良い。例えば、Np1によって通知された、これから再生するTSpの映像及び/又は音声等のパケットのPIDと、通常のNULLパケットと識別するためのフラグと、をペイロード部に書き込んだダミーパケットを作成して、NULLパケットのPIDを付与する。
送信部240は、バッファ260に蓄積媒体144からのTSpのパケットが貯まっていることを検知して、最初にダミーパケット生成部220から受け取ったダミーパケットをDEMUX部109(PID比較器132)に送信する。
The dummy packet may be given a PID of a NULL packet instead of giving a unique value of 1000. For example, create a dummy packet in which the PID of a packet such as a video and / or audio of TSP to be reproduced from now on, which is notified by Np1, and a flag for distinguishing from a normal NULL packet are written in the payload part, A PID of a NULL packet is given.
The transmission unit 240 detects that the TSp packets from the storage medium 144 are accumulated in the buffer 260 and transmits the dummy packet first received from the dummy packet generation unit 220 to the DEMUX unit 109 (PID comparator 132). To do.

ダミーパケットの送信後一定時間の間隔を空けて、送信部240は、バッファ260に蓄積されたTSpをDEMUX部109(PID比較器132)に送信開始する。一定時間の間隔を、TS内での通常のパケットの間隔より大きくすることにより、TSpの先頭のパケットがDEMUX部109に到達する前に、番組情報管理部111が、ダミーパケットから抽出された再生番組のパケットのPIDの情報を取得し、PIDテーブル131に書き込むことを確実に完了出来る。   The transmission unit 240 starts to transmit the TSp stored in the buffer 260 to the DEMUX unit 109 (PID comparator 132) after a certain time interval after the transmission of the dummy packet. By making the fixed time interval larger than the normal packet interval in the TS, the program information management unit 111 reproduces the extracted packet from the dummy packet before the first packet of the TSp reaches the DEMUX unit 109. Acquiring the PID information of the program packet and writing it to the PID table 131 can be reliably completed.

または、ダミーパケット送信後、ダミーパケットにつけたPIDとは別のPIDを付与したペイロード部が空のパケット(例えばNULLパケット)を数個送ってもよい。この空のパケットをダミーパケットの送信に先駆けて数個送っておいてもよい。これにより、DEMUX部109はこれらの空のパケットを受信する中で同期を確立できる。例えばDEMUX部109のPLLは、パケット中に含まれるクロック情報と同期を確立できる。DEMUX部109は、バッファ260から読み出されたTSpを最初から確実に読み取ることが出来る。
上記のようにして、ダミーパケット挿入部112は所望の映像及び/又は音声等のパケットのPIDを書き込んだダミーパケットを蓄積媒体144から読み出したTSpの先頭に付加する。
Alternatively, after transmitting the dummy packet, several packets (for example, a NULL packet) with an empty payload portion to which a PID different from the PID attached to the dummy packet is assigned may be sent. Several empty packets may be sent prior to the transmission of the dummy packet. Thus, the DEMUX unit 109 can establish synchronization while receiving these empty packets. For example, the PLL of the DEMUX unit 109 can establish synchronization with the clock information included in the packet. The DEMUX unit 109 can reliably read the TSp read from the buffer 260 from the beginning.
As described above, the dummy packet insertion unit 112 adds a dummy packet in which a PID of a desired video and / or audio packet is written to the head of the TSp read from the storage medium 144.

次に映像及び/又は音声のPIDが書き込まれたダミーパケットを先頭に付加されたTSpが、DEMUX部109でどのように処理されるかを図2を参照しながら説明する。図2はDEMUX部109内部の構成を示す。
DEMUX部109に入力された上記のダミーパケット付のTSpは、PIDフィルタ121に入力される。PIDフィルタ121の構成は従来例において説明した。
Next, how the DEMUX unit 109 processes a TSp with a dummy packet in which a video and / or audio PID is written at the head will be described with reference to FIG. FIG. 2 shows an internal configuration of the DEMUX unit 109.
The TSp with dummy packet input to the DEMUX unit 109 is input to the PID filter 121. The configuration of the PID filter 121 has been described in the conventional example.

初期状態において、PIDテーブル131には「000」というPATパケットのPID(St10)と、「1000」というダミーパケットのPID(St20)と、がセットされる。実施の形態のPIDテーブル131は、限られた数のPIDを登録できるテーブルである。PIDテーブル131の容量は小さく、現在PIDフィルタ121が選択して出力しているパケットのPIDを登録するのに必要な記憶容量を多少上回る程度の容量しかない。PIDテーブル131に、将来PIDフィルタ121が選択して出力するパケットのPIDを登録すると、PIDテーブル131の記憶容量が足りなくなる恐れがある。そこで、番組情報管理部111が、できるだけPIDフィルタ121が現在選択して出力している又は今から選択して出力しようとしているパケットのPIDのみを登録することが好ましい。   In the initial state, the PID of the PAT packet “000” (St10) and the PID (St20) of the dummy packet “1000” are set in the PID table 131. The PID table 131 of the embodiment is a table that can register a limited number of PIDs. The capacity of the PID table 131 is small, and the capacity is only slightly larger than the storage capacity necessary for registering the PID of the packet currently selected and output by the PID filter 121. If the PID of a packet that the PID filter 121 selects and outputs in the future is registered in the PID table 131, the storage capacity of the PID table 131 may be insufficient. Therefore, it is preferable that the program information management unit 111 registers only the PID of the packet that the PID filter 121 currently selects and outputs as much as possible, or the packet that is currently selected and output.

番組情報管理部111は、ダミーパケット挿入部112に再生番組の映像及び/又は音声パケットのPIDを通知(Np1)する時と同時に、ダミーパケットのPIDをPIDテーブル131にセットする。DEMUX部109がダミーパケット挿入部112からダミーパケットを受ける前であれば、番組情報管理部111がダミーパケットのPIDをPIDテーブル131にセットするタイミングが時間的に前後するのはかまわない。
しかし、この時、PIDテーブル131の記憶容量が不足することを防止するために、番組情報管理部111は再生番組の映像及び/又は音声パケットのPIDをPIDテーブル131に記録しない。
The program information management unit 111 sets the PID of the dummy packet in the PID table 131 simultaneously with notifying the dummy packet insertion unit 112 of the PID of the reproduced program video and / or audio packet (Np1). If the DEMUX unit 109 has not yet received a dummy packet from the dummy packet insertion unit 112, the timing at which the program information management unit 111 sets the PID of the dummy packet in the PID table 131 may vary in time.
However, at this time, in order to prevent the storage capacity of the PID table 131 from being insufficient, the program information management unit 111 does not record the PID of the video and / or audio packet of the reproduced program in the PID table 131.

PID比較器132の動作も従来技術の場合と同様である。PID比較器132は、PIDテーブル131に書き出されたPIDを有するパケットを通過させてスイッチ133に送る(Fp10)。すなわち、PIDフィルタ121は最初のPATパケットもしくはPIDが「1000」であるダミーパケットを受信するまでは、入力されたパケットを破棄する。   The operation of the PID comparator 132 is the same as that of the prior art. The PID comparator 132 passes the packet having the PID written in the PID table 131 and sends it to the switch 133 (Fp10). That is, the PID filter 121 discards the input packet until the first PAT packet or a dummy packet with a PID of “1000” is received.

本発明の場合、蓄積媒体144からのストリームの先頭にはPIDが「1000」のダミーパケットが付加されているので、PIDフィルタ121はそのダミーパケットを通過させる。
スイッチ133では、そのパケットをセクションフィルタ122に送る(Pi10)。セクションフィルタ122は、入力したダミーパケットのペイロード部に格納されたPIDを抽出し、そのPIDの情報を番組情報管理部111へ送る(Di10)。ここでのPIDの情報(Di10)は、蓄積媒体144からの再生されるTSpに含まれる映像及び/又は音声等のパケットのPIDである。
In the present invention, since a dummy packet with a PID of “1000” is added to the head of the stream from the storage medium 144, the PID filter 121 passes the dummy packet.
The switch 133 sends the packet to the section filter 122 (Pi10). The section filter 122 extracts the PID stored in the payload portion of the input dummy packet, and sends the PID information to the program information management unit 111 (Di10). The PID information (Di10) here is the PID of a packet such as video and / or audio included in the TSp reproduced from the storage medium 144.

番組情報管理部111は、選択すべき番組Aに属するパケットが、PIDが「110」である映像パケットと、PIDが「120」の音声パケットと、であることをTSp中のPMTパケットを取得せずとも知る。番組情報管理部111は、PIDテーブル131に、これらのパケットのPIDを書き込む。ダミーパケットは、蓄積媒体制御装置104が再生出力するTSpの先頭に付加されている故に、番組情報管理部111は、PIDフィルタ121が今から選択して出力しようとしているパケットのPIDを、それらのパケットが入力開始される寸前に登録することができる。   The program information management unit 111 acquires the PMT packet in TSp that the packet belonging to the program A to be selected is a video packet with a PID of “110” and an audio packet with a PID of “120”. Know at least. The program information management unit 111 writes the PIDs of these packets in the PID table 131. Since the dummy packet is added to the head of the TSp reproduced and output by the storage medium control device 104, the program information management unit 111 selects the PID of the packet that the PID filter 121 is to select and output from now on, It can be registered just before the packet starts to be input.

番組情報管理部111は、PID比較器132が選択するパケットのPIDと、選択したパケットの中でAVデコーダ107へ送るパケットを示すフラグと、通知する(Np10)。PIDテーブル131にはこれらのPID及びフラグがセットされる(St30)。図2ではパケットのPIDの横に、フラグを黒丸で示した。PID比較器132は、黒丸のフラグが付加されたPIDのパケットを、AVデコーダ107に送出する。
これ以降PID比較器132は、番組Aに関する映像及び/又は音声情報を有するPIDが「110」及び「120」であるパケットを通過させる。それらのパケットにはAVデコーダ107へ送るフラグがあることに基づいて、スイッチ133は、それらのパケットをAVデコーダ107に送る(Psav)。
The program information management unit 111 notifies the PID of the packet selected by the PID comparator 132 and a flag indicating a packet to be sent to the AV decoder 107 among the selected packets (Np10). These PIDs and flags are set in the PID table 131 (St30). In FIG. 2, the flag is indicated by a black circle next to the PID of the packet. The PID comparator 132 sends the PID packet with the black circle flag added to the AV decoder 107.
Thereafter, the PID comparator 132 passes packets having PIDs “110” and “120” having video and / or audio information related to the program A. Based on the fact that these packets have a flag to be sent to the AV decoder 107, the switch 133 sends these packets to the AV decoder 107 (Psav).

DEMUX部は、図13に示す構成であっても良い。図13は、本発明のDEMUX部1309の構成を示すブロック図である。図13において、DEMUX部1309(抽出部)は、PIDフィルタ1321とセクションフィルタ122とを有する。PIDフィルタ1321は、PIDテーブル131、PID比較器132、出力切換スイッチ133、PID抽出器1334を有する。DEMUX部1309は、DEMUX部109の構成に加えてPID抽出器1334を有する。それ以外の点において両者は同一である。   The DEMUX unit may have the configuration shown in FIG. FIG. 13 is a block diagram showing the configuration of the DEMUX unit 1309 of the present invention. In FIG. 13, the DEMUX unit 1309 (extraction unit) includes a PID filter 1321 and a section filter 122. The PID filter 1321 includes a PID table 131, a PID comparator 132, an output changeover switch 133, and a PID extractor 1334. The DEMUX unit 1309 includes a PID extractor 1334 in addition to the configuration of the DEMUX unit 109. Otherwise, they are the same.

PID比較器132は、検出したダミーパケットをPID抽出器1334に送る。PID抽出器1334は、ダミーパケットから映像及び/又は音声パケットのPIDを直接抽出してPIDテーブル131に設定する(NP10a)。この構成によれば、PID抽出部1334を追加したことによりDEMUX部の回路規模は増加するが、PIDテーブル131にPIDを設定するスピードが向上する。それ故に、ダミーパケットの送信後、バッファ260に格納された次の番組であるTSpを直ちにDEMUX部109に送信することができる。先に説明したタイミング調整が不要となる。   The PID comparator 132 sends the detected dummy packet to the PID extractor 1334. The PID extractor 1334 directly extracts the PID of the video and / or audio packet from the dummy packet and sets it in the PID table 131 (NP10a). According to this configuration, the addition of the PID extraction unit 1334 increases the circuit scale of the DEMUX unit, but the speed of setting the PID in the PID table 131 is improved. Therefore, after the dummy packet is transmitted, the next program TSp stored in the buffer 260 can be immediately transmitted to the DEMUX unit 109. The timing adjustment described above is not necessary.

次にTS1中の番組Aの再生に続いてTS2中の番組Cの再生を行う場合について説明する。蓄積媒体制御装置104が番組Cを再生開始する前に、番組情報管理部111は、デジタル放送受信機全体のシステム制御部(図示しない。)から番組Cの再生指令を受ける。例えば番組Aの再生指令と同時に又は番組Aの再生中に、番組情報管理部111は、システム制御部(図示しない。)から番組Cの再生指令を受ける。
番組Cの再生指令を受けると、番組情報管理部111はダミーパケット挿入部112に番組Cについて取得すべきパケットのPIDを通知する。例えば番組Cの映像パケットと音声パケットのPIDである「310」と「320」である。
Next, a case where program C in TS2 is reproduced following reproduction of program A in TS1 will be described. Before the storage medium control device 104 starts playback of the program C, the program information management unit 111 receives a playback instruction for the program C from the system control unit (not shown) of the entire digital broadcast receiver. For example, the program information management unit 111 receives a reproduction instruction for the program C from a system control unit (not shown) simultaneously with the reproduction instruction for the program A or during the reproduction of the program A.
When receiving the reproduction instruction for program C, program information management section 111 notifies dummy packet insertion section 112 of the PID of the packet to be acquired for program C. For example, “310” and “320” are the PIDs of the video packet and audio packet of program C.

蓄積媒体制御装置104は番組Aの再生を終了し、番組Cの再生に切り替わる際には、所定の通知信号を発する。この信号は図1に示すRi3として番組情報管理部111に伝えられる。番組情報管理部111はこの信号を受けて、ダミーパケット挿入部112に番組CのTSpの先頭にダミーパケットを付加することを指示する(Np2)。これ以降の処理は、番組Aを再生する場合と同様である。先のTS1と、ダミーパケットと、次のTS2との関係は、図4に示すようになる。すなわちTSp1に続いてダミーパケットが挿入され、TSp2が続くようになる。
実施の形態において、ダミーパケット挿入部112には予め番組Cに属するパケットのPIDが通知されていた。これに代えて、蓄積媒体制御装置104から番組情報管理部111にこの番組Cへの切り替え通知の際に、これらのPIDの情報を蓄積媒体制御装置104からダミーパケット挿入部112に通知するようにしても良い。
When the storage medium control device 104 ends the reproduction of the program A and switches to the reproduction of the program C, it issues a predetermined notification signal. This signal is transmitted to the program information management unit 111 as Ri3 shown in FIG. Upon receiving this signal, the program information management unit 111 instructs the dummy packet insertion unit 112 to add a dummy packet to the head of the TSp of the program C (Np2). The subsequent processing is the same as in the case of reproducing the program A. The relationship between the previous TS1, the dummy packet, and the next TS2 is as shown in FIG. That is, a dummy packet is inserted following TSp1, and TSp2 follows.
In the embodiment, the PID of the packet belonging to the program C is notified to the dummy packet insertion unit 112 in advance. Instead, when the storage medium control device 104 notifies the program information management unit 111 of switching to the program C, the storage medium control device 104 notifies the dummy packet insertion unit 112 of the information on these PIDs. May be.

図5および図6に、番組情報管理部111の主要な動作をフローチャートとして示す。図5は、番組情報管理部111が、チューナー102又は外部入力端子(図1ではIEEE1394)105からのTSを選局するよう、システム制御部(図示しない。)から指令された場合のフローチャートである。
動作をスタートさせた後、番組情報管理部111は、DEMUX部109にPATパケットのPIDである「000」を指定する(ステップ512)。ステップ514に移って、番組情報管理部111はDEMUX部109からの回答を待つ。DEMUX部109の動作については、すでに図9で説明を行った。
5 and 6 show a main operation of the program information management unit 111 as a flowchart. FIG. 5 is a flowchart when the program information management unit 111 is instructed by a system control unit (not shown) to select a TS from the tuner 102 or the external input terminal (IEEE1394 in FIG. 1) 105. .
After starting the operation, the program information management unit 111 designates “000”, which is the PID of the PAT packet, in the DEMUX unit 109 (step 512). In step 514, the program information management unit 111 waits for an answer from the DEMUX unit 109. The operation of the DEMUX unit 109 has already been described with reference to FIG.

DEMUX部109は、PIDが「000」であるPATパケットのPATの中のPID情報を番組情報管理部111に回答する。番組情報管理部111は、PID情報の中から所望の番組(番組Aとする)のPMTパケットのPIDを得て、それをDEMUX部109に再度設定する(ステップ516)。そして再度DEMUX部109からの回答を待つ(ステップ518)。
DEMUX部109は、番組AのPMTパケットのPMTの中のPID情報を番組情報管理部111に回答する。番組情報管理部111は、そこに記載された映像パケット及び/又は音声パケット等のPIDをDEMUX部109に設定する(ステップ520)。すでに説明したように番組情報管理部111は、この時、映像パケットと音声パケットとはAVデコーダ107へ送信するパケットであることを示すフラグを同時にDEMUX部109に送信する。番組情報管理部111は、番組Aに属する映像及び/又は音声のパケットのPIDだけでなく、番組Aに属する他のパケットのPID、例えばタイムスタンプに関する情報を有するパケットのPIDをDEMUX部109に設定しても良い。
The DEMUX unit 109 returns the PID information in the PAT of the PAT packet with the PID “000” to the program information management unit 111. The program information management unit 111 obtains the PID of the PMT packet of the desired program (program A) from the PID information, and sets it again in the DEMUX unit 109 (step 516). Then, it waits for an answer from the DEMUX unit 109 again (step 518).
The DEMUX unit 109 returns the PID information in the PMT of the PMT packet of the program A to the program information management unit 111. The program information management unit 111 sets PIDs such as video packets and / or audio packets described therein in the DEMUX unit 109 (step 520). As already described, the program information management unit 111 simultaneously transmits to the DEMUX unit 109 a flag indicating that the video packet and the audio packet are packets to be transmitted to the AV decoder 107. The program information management unit 111 sets not only the PIDs of video and / or audio packets belonging to the program A but also PIDs of other packets belonging to the program A, for example, PIDs of packets having information related to time stamps, to the DEMUX unit 109 You may do it.

次に図6を参照して、番組情報管理部111が蓄積媒体制御装置104が再生したTSpを入力する場合の、番組情報管理部111の動作について説明する。番組情報管理部111は、蓄積媒体制御装置104が再生モードであることを、デジタル放送受信機のシステム制御部(図示しない。)から通知される。
番組情報管理部111は、蓄積媒体制御装置104が再生する番組Aの選局指令を受ける(ステップ610)。番組情報管理部111は、再生される番組Aに属するパケットのPIDの情報を、蓄積媒体制御装置104から得る(ステップ612)。再生される番組Aに属するパケットは、映像及び/又は音声のパケットを含み、タイムスタンプ情報を有するパケット等を含めてもよい。
Next, the operation of the program information management unit 111 when the program information management unit 111 inputs the TSp reproduced by the storage medium control device 104 will be described with reference to FIG. The program information management unit 111 is notified from the system control unit (not shown) of the digital broadcast receiver that the storage medium control device 104 is in the playback mode.
The program information management unit 111 receives a channel selection command for the program A to be reproduced by the storage medium control device 104 (step 610). The program information management unit 111 obtains the PID information of the packet belonging to the program A to be reproduced from the storage medium control device 104 (step 612). Packets belonging to the program A to be reproduced include video and / or audio packets, and may include packets having time stamp information.

次に番組情報管理部111は、これらのパケットのPIDをダミーパケット挿入部112へ通知する(ステップ614)。ダミーパケット挿入部112の動作については、図3を用いて説明した。番組情報管理部111は、ダミーパケット特有のPIDをDEMUX部109に設定する(ステップ616)。図1でいうNp1の通知がこれに相当する。ダミーパケットのPIDに関しては予め決めておいてもよいし、番組情報管理部111が随時決めて、ダミーパケット挿入部112に指示してもよい。またダミーパケット挿入部112が任意に若しくはいくつかの範囲の中からダミーパケットのPIDを随時選択して決め、それを番組情報管理部111に通知する構成にしてもよい。
以上のように準備ができたら、番組情報管理部111はダミーパケット挿入部112に、TSpの送信を指示する(ステップ618)。この指示に基づき、ダミーパケット挿入部112の送信部240がダミーパケットを送出し、その後バッファ260に蓄えられた蓄積媒体制御装置104からのTSpを送出する。
Next, the program information management unit 111 notifies the dummy packet insertion unit 112 of the PIDs of these packets (step 614). The operation of the dummy packet insertion unit 112 has been described with reference to FIG. The program information management unit 111 sets a PID specific to the dummy packet in the DEMUX unit 109 (step 616). The notification of Np1 in FIG. 1 corresponds to this. The PID of the dummy packet may be determined in advance, or the program information management unit 111 may determine at any time and instruct the dummy packet insertion unit 112. Alternatively, the dummy packet insertion unit 112 may arbitrarily or arbitrarily select and determine the PID of the dummy packet from several ranges and notify the program information management unit 111 of it.
When the preparation is completed as described above, the program information management unit 111 instructs the dummy packet insertion unit 112 to transmit the TSp (step 618). Based on this instruction, the transmission unit 240 of the dummy packet insertion unit 112 transmits a dummy packet, and then transmits the TSp from the storage medium control device 104 stored in the buffer 260.

番組情報管理部111はDEMUX部109からの回答を待つ(ステップ620)。
DEMUX部109は、ダミーパケットにセットしたPID情報、即ち、蓄積媒体制御装置104が出力した再生TSpに含まれる映像及び/又は音声等のパケットのPIDの情報を番組情報管理部111に回答する。番組情報管理部111は、これらのPIDをDEMUX部109に再度設定する(ステップ622)。この時、映像、音声パケットについてはAVデコーダ107へ送信することを示すフラグを同時にDEMUX部109にセットする。それ以降、DEMUX部109は、上述のように、入力したパケットをPIDテーブルの指示に従い処理する。
The program information management unit 111 waits for an answer from the DEMUX unit 109 (step 620).
The DEMUX unit 109 replies to the program information management unit 111 with the PID information set in the dummy packet, that is, the PID information of the packet such as video and / or audio included in the reproduction TSp output from the storage medium control device 104. The program information management unit 111 sets these PIDs in the DEMUX unit 109 again (step 622). At this time, a flag indicating that video and audio packets are transmitted to the AV decoder 107 is simultaneously set in the DEMUX unit 109. Thereafter, as described above, the DEMUX unit 109 processes the input packet according to the instruction of the PID table.

図5および図6の説明は番組情報管理部111の主要な動作についてのフローチャートである。これらのフローチャートの中に随時別の処理フローを挿入したり、図5および図6のフローチャートのうち、置き換え可能なステップを他のステップに置き換えたり、他の処理方法で代用したりすることは、単に設計事項であることは言うまでも無い。
実施の形態のトランスポートストリーム処理装置は、デジタル放送受信機に組み込まれていたが、これに限られない。例えばトランスポートストリーム処理装置は、蓄積媒体制御装置に組み込まれていても良い。又は、トランスポートストリーム処理装置は、単体であっても良い。本発明は、ダミーパケットをパーシャルストリームの先頭に挿入することに限られるものではない。ダミーパケットをフルストリームの先頭に挿入してもよい。
5 and 6 are flowcharts of main operations of the program information management unit 111. Inserting another processing flow as needed in these flowcharts, replacing the replaceable steps in the flowcharts of FIGS. 5 and 6 with other steps, or substituting with other processing methods, Needless to say, it is simply a design matter.
The transport stream processing apparatus according to the embodiment is incorporated in a digital broadcast receiver, but is not limited thereto. For example, the transport stream processing device may be incorporated in the storage medium control device. Alternatively, the transport stream processing apparatus may be a single unit. The present invention is not limited to inserting a dummy packet at the head of a partial stream. A dummy packet may be inserted at the beginning of the full stream.

実施の形態においては、本発明のトランスポートストリーム処理装置と蓄積媒体制御装置104とを有するデジタル放送受信機を例示した。しかしこの構成に限られるものではない。本発明のトランスポートストリーム処理装置は、下記の構成を有する任意のトランスポートストリーム出力装置と組み合わせることが出来る。   In the embodiment, the digital broadcast receiver having the transport stream processing device and the storage medium control device 104 of the present invention has been exemplified. However, it is not limited to this configuration. The transport stream processing apparatus of the present invention can be combined with any transport stream output apparatus having the following configuration.

トランスポートストリーム出力装置は、トランスポートストリームを少なくとも一時蓄積可能で、トランスポートストリームの中の番組の映像パケット及び/又は音声パケットのPIDを抽出しそれを別途記憶する。トランスポートストリーム処理装置等の他の装置がPIDを記憶しても良い。トランスポートストリーム処理装置からの問い合わせに応じて番組の映像パケット及び/又は音声パケットのPIDをトランスポートストリーム処理装置に知らせる。所定の指令に応じて蓄積したトランスポートストリームを出力開始する。   The transport stream output device can at least temporarily store the transport stream, extracts the PID of the video packet and / or audio packet of the program in the transport stream, and stores it separately. Other devices such as a transport stream processing device may store the PID. In response to an inquiry from the transport stream processing device, the PID of the video packet and / or audio packet of the program is notified to the transport stream processing device. Output of the accumulated transport stream is started in response to a predetermined command.

例えばデスクランブラ103が出力するトランスポートストリームを一時蓄積する大容量のRAMとその制御部とを設ける。RAMにトランスポートストリームを一時蓄積する時、その制御部は、PATパケットとPMTパケットとを検出し、各番組の映像パケット及び/又は音声パケットのPIDを、RAMの所定の場所に格納する。トランスポートストリーム処理装置からの問い合わせに応じて、制御部は番組の映像パケット及び/又は音声パケットのPIDをトランスポートストリーム処理装置に知らせる。システム制御部(又はトランスポートストリーム処理装置)からの指令に応じて、制御部はRAMに蓄積したトランスポートストリームを出力開始する。この構成により、少なくともユーザが映像及び/又は音声の出力を指令してから、トランスポートストリーム処理装置が実際に映像及び/音声を出力するまでの間のパケットを破棄することがない。ユーザが映像及び/又は音声の出力を指令した時に、既にチューナ等が目的の番組を含むトランスポートストリームを出力していれば、従来より再生までの待ち時間が短くなる。   For example, a large-capacity RAM that temporarily stores a transport stream output from the descrambler 103 and its control unit are provided. When temporarily storing the transport stream in the RAM, the control unit detects the PAT packet and the PMT packet, and stores the PID of the video packet and / or the audio packet of each program in a predetermined location of the RAM. In response to an inquiry from the transport stream processing device, the control unit informs the transport stream processing device of the PID of the video packet and / or audio packet of the program. In response to a command from the system control unit (or transport stream processing device), the control unit starts outputting the transport stream stored in the RAM. With this configuration, at least the user commands the video and / or audio output until the transport stream processing apparatus actually outputs the video and / or audio, the packet is not discarded. When the user commands the output of video and / or audio, if the tuner or the like has already output a transport stream including the target program, the waiting time until playback becomes shorter than before.

本発明は、映像パケット及び/又は音声パケットを含むトランスポートストリームを処理するトランスポートストリーム処理装置として有用である。   The present invention is useful as a transport stream processing apparatus that processes a transport stream including video packets and / or audio packets.

本発明の実施の形態のトランスポートストリーム処理装置を有するデジタル放送受信機の構成図1 is a configuration diagram of a digital broadcast receiver having a transport stream processing apparatus according to an embodiment of the present invention. 本発明の実施の形態のトランスポートストリーム処理装置のDEMUX部の詳細な構成図Detailed configuration diagram of the DEMUX unit of the transport stream processing apparatus according to the embodiment of the present invention 本発明の実施の形態のトランスポートストリーム処理装置のダミーパケット挿入部の構成を示す図The figure which shows the structure of the dummy packet insertion part of the transport stream processing apparatus of embodiment of this invention 本発明の実施の形態のトランスポートストリーム処理装置によってダミーパケットを挿入されたパーシャルストリームの構成を示す図The figure which shows the structure of the partial stream by which the dummy packet was inserted by the transport stream processing apparatus of embodiment of this invention 本発明の実施の形態のトランスポートストリーム処理装置がチューナ等から入力したトランスポートストリームから所定の番組を選択する場合の動作フローを示す図The figure which shows the operation | movement flow in case the transport stream processing apparatus of embodiment of this invention selects a predetermined program from the transport stream input from the tuner etc. 本発明の実施の形態のトランスポートストリーム処理装置が蓄積媒体等からの再生ストリームから所定の番組を選択する場合の動作フローを示す図The figure which shows the operation | movement flow in case the transport stream processing apparatus of embodiment of this invention selects a predetermined program from the reproduction | regeneration stream from a storage medium etc. 従来例のトランスポートストリーム処理装置を有するデジタル放送受信機の構成図Configuration diagram of a digital broadcast receiver having a conventional transport stream processing apparatus 従来例のトランスポートストリーム処理装置のDEMUX部の詳細な構成図Detailed configuration diagram of the DEMUX unit of the transport stream processing apparatus of the conventional example DEMUX部の動作を示すフローチャートFlow chart showing operation of DEMUX unit トランスポートストリームの階層的な構成を示す図Diagram showing the hierarchical structure of the transport stream トランスポートストリームの構成を示す図Diagram showing the structure of the transport stream 本発明の実施の形態のパーシャルトランスポートストリームの構成を示す図The figure which shows the structure of the partial transport stream of embodiment of this invention 本発明の他の実施の形態のDEMUX部の構成を示す図The figure which shows the structure of the DEMUX part of other embodiment of this invention.

符号の説明Explanation of symbols

100、700 トランスポートストリーム処理装置
101 アンテナ
102 チューナ
103 デスクランブラ
104 蓄積媒体制御装置
105 外部入力端子
106 入力切換スイッチ
107 AVデコーダ
108 制御部
109、1309 DEMUX部(抽出部)
111、711 番組情報管理部
112 ダミーパケット挿入部
121、1321 PIDフィルタ
122 セクションフィルタ
131 PIDテーブル
132 PID比較器
133 スイッチ
141 送信部
142 受信部
143 バッファ
144 蓄積媒体
1334 PID抽出器
100, 700 Transport stream processing device 101 Antenna 102 Tuner 103 Descrambler 104 Storage medium control device 105 External input terminal 106 Input changeover switch 107 AV decoder 108 Control unit 109, 1309 DEMUX unit (extraction unit)
111, 711 Program information management unit 112 Dummy packet insertion unit 121, 1321 PID filter 122 Section filter 131 PID table 132 PID comparator 133 Switch 141 Transmission unit 142 Reception unit 143 Buffer 144 Storage medium 1334 PID extractor

Claims (3)

パケット識別子を有するパケットを入力し、
入力したパケットの中から所定の登録されたパケット識別子を有する前記パケットのみを選択するパケット識別子フィルタを有し、前記パケット識別子フィルタは、パケット識別子を登録するパケット識別子テーブルを有し、
選択された前記パケットのペイロード部にパケット識別子が書き込まれていればそのパケット識別子で前記パケット識別子テーブルを更新し、
選択された前記パケットが所定のダミーパケットであった場合、前記ダミーパケット内の映像及び/又は音声のパケットのパケット識別子を抽出して、前記パケット識別子テーブルを更新し、
選択された前記パケットが映像及び/又は音声のパケットであれば、前記パケット識別子テーブルに登録されたパケット識別子を有する前記パケットのみを選択して出力する抽出部と、
トランスポートストリーム出力装置が出力するトランスポートストリームの中に含まれる少なくとも映像及び/又は音声のパケットの前記パケット識別子を取得し、前記パケット識別子をペイロード部に書き込んでパケット識別子を付したダミーパケットを生成し前記トランスポートストリーム出力装置が出力する前記トランスポートストリームの先頭に前記ダミーパケットを付加する制御部と、
を有するトランスポートストリーム処理装置。
Enter a packet with a packet identifier,
A packet identifier filter that selects only the packet having a predetermined registered packet identifier from the input packets, the packet identifier filter has a packet identifier table for registering a packet identifier;
If the packet identifier is written in the payload portion of the selected packet , the packet identifier table is updated with the packet identifier,
If the selected packet is a predetermined dummy packet, the packet identifier of the video and / or audio packet in the dummy packet is extracted, and the packet identifier table is updated,
If the selected packet is a video and / or audio packet, an extraction unit that selects and outputs only the packet having a packet identifier registered in the packet identifier table ;
The packet identifier of at least the video and / or audio packet included in the transport stream output by the transport stream output device is acquired, and the packet identifier is written in the payload part to generate a dummy packet with the packet identifier A controller that adds the dummy packet to the head of the transport stream output by the transport stream output device;
A transport stream processing apparatus.
前記制御部は前記ダミーパケットの前記パケット識別子として、固有のパケット識別子を付することを特徴とする請求項1記載のトランスポートストリーム処理装置。   The transport stream processing apparatus according to claim 1, wherein the control unit attaches a unique packet identifier as the packet identifier of the dummy packet. 前記制御部は前記ダミーパケットとしてNULLパケットを使用し、通常のNULLパケットと識別するための情報を前記NULLパケット内に付加することを特徴とする請求項1記載のトランスポートストリーム処理装置。   2. The transport stream processing apparatus according to claim 1, wherein the control unit uses a NULL packet as the dummy packet, and adds information for identifying the packet as a normal NULL packet in the NULL packet.
JP2004303052A 2004-10-18 2004-10-18 Transport stream processing device Expired - Fee Related JP4583870B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004303052A JP4583870B2 (en) 2004-10-18 2004-10-18 Transport stream processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004303052A JP4583870B2 (en) 2004-10-18 2004-10-18 Transport stream processing device

Publications (2)

Publication Number Publication Date
JP2006115398A JP2006115398A (en) 2006-04-27
JP4583870B2 true JP4583870B2 (en) 2010-11-17

Family

ID=36383496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004303052A Expired - Fee Related JP4583870B2 (en) 2004-10-18 2004-10-18 Transport stream processing device

Country Status (1)

Country Link
JP (1) JP4583870B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008271065A (en) * 2007-04-19 2008-11-06 Hitachi Ltd Digital information reproducing apparatus
CN113973219B (en) * 2020-07-23 2024-04-09 瑞昱半导体股份有限公司 Method and circuit system for obtaining program information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001086431A (en) * 1999-09-13 2001-03-30 Toshiba Corp Recording and reproducing device
JP2003078875A (en) * 2001-08-31 2003-03-14 Matsushita Electric Ind Co Ltd Stream processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001086431A (en) * 1999-09-13 2001-03-30 Toshiba Corp Recording and reproducing device
JP2003078875A (en) * 2001-08-31 2003-03-14 Matsushita Electric Ind Co Ltd Stream processor

Also Published As

Publication number Publication date
JP2006115398A (en) 2006-04-27

Similar Documents

Publication Publication Date Title
EP2357800B1 (en) Digital signal processing
US7359620B2 (en) Information transmitting method, information processing method and apparatus, and information recording and reproducing method and apparatus
US7843772B2 (en) Content use system, recording apparatus, reproducing apparatus and system control method
US6404711B1 (en) System including comparing a separated time stamp to a generated timing signal and controlling a timing signal on the basis of continuity of time stamps
EP1276325A2 (en) Mpeg encoding apparatus, mpeg decoding apparatus, and encoding program
KR100555658B1 (en) Stream decoder
US6556546B1 (en) Multiplex data transmitting and receiving equipment
JP2000251457A (en) Reproducing method for digital data stream and device
US5895123A (en) Information recording/reproduction apparatus for reproducing picture and audio signals in synchronization
JP2002185920A (en) Recording and reproducing device for digital broadcast
US6950472B2 (en) Coded data transfer control method and storage and reproduction system
JP4583870B2 (en) Transport stream processing device
JP2006054022A (en) Device and method for controlling recording
US7006755B2 (en) Storage device with an index indicating a sequential relationship
KR100317801B1 (en) Apparatus and method for saving/reviving of broadcasting signal for digital television
EP1542232A1 (en) Information recording and reproducing apparatus and information recording method
CN1905640B (en) Recording signal processing apparatus and control method thereof
JP3764806B2 (en) Receiver
KR100331825B1 (en) apparatus and method for transmitting transmission stream in digital interface
US7248780B2 (en) Reproducing device, medium, information aggregate, transmitting medium, and recording medium
US8275246B2 (en) Digital content reproducing and storing apparatus, digital content reproducing and storing method, digital content storing apparatus, digital content reproducing apparatus, and computer readable medium storing digital content reproducing and storing program
US8290335B2 (en) Method and apparatus for recording transport stream
JP2003037794A (en) Digital broadcast receiving/reproducing device
JP4300190B2 (en) Receiving apparatus and receiving method
JP2004515022A (en) Method of providing program specification information on information recording medium

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061129

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100806

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100824

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100901

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees