JP2006060784A - Apparatus and method for processing transport stream and digital broadcast receiver - Google Patents

Apparatus and method for processing transport stream and digital broadcast receiver Download PDF

Info

Publication number
JP2006060784A
JP2006060784A JP2005195263A JP2005195263A JP2006060784A JP 2006060784 A JP2006060784 A JP 2006060784A JP 2005195263 A JP2005195263 A JP 2005195263A JP 2005195263 A JP2005195263 A JP 2005195263A JP 2006060784 A JP2006060784 A JP 2006060784A
Authority
JP
Japan
Prior art keywords
transport stream
processing
tsp
software
service information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005195263A
Other languages
Japanese (ja)
Inventor
So Tamura
創 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005195263A priority Critical patent/JP2006060784A/en
Publication of JP2006060784A publication Critical patent/JP2006060784A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a transport stream processing apparatus capable of efficiently utilizing processing performance of hardware and software. <P>SOLUTION: In the transport stream processing apparatus for separating desired data from a transport stream (TS) by executing a plurality of items of processing, a hardware transport stream separator 1 executes one part of the plurality of items of processing by a hardware configuration. A software transport stream separator 14 executes the residual processing of the plurality of items of processing which are not executed by the separator 1 by a software configuration. In this case, a processing switching device 15 switches to decide whether or not the separator 14 executes the residual processing. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、デジタル放送受信機において、トランスポートストリームパケット(以下TSP)形式で入力されるデータを処理するトランスポートストリーム処理装置、トランスポートストリーム処理方法、および前記装置を有するデジタル放送受信機に関する。   The present invention relates to a transport stream processing apparatus, a transport stream processing method, and a digital broadcast receiver having the apparatus for processing data input in a transport stream packet (hereinafter referred to as TSP) format in a digital broadcast receiver.

例えば、日本国内においては、CSデジタル放送が1995年から放送され、BSデジタル放送が2000年12月1日から放送されている。これらの放送を送信する放送局は、デジタル情報を圧縮した映像情報、音声情報、およびそれに付加される番組情報等の付加情報などをMPEG2システム規格によって多重化することでトランスポートストリーム(TS)を作成したうえで、作成したトランスポートストリーム(TS)をデジタル変調して送信する。デジタル放送受信機は、受信した信号をデジタル復調することでトランスポートストリーム(TS)を得たうえで、得られたトランスポートストリーム(TS)から、映像,音声,その他の情報を分離して再生する。   For example, in Japan, CS digital broadcasting has been broadcast since 1995, and BS digital broadcasting has been broadcast since December 1, 2000. Broadcasting stations that transmit these broadcasts multiplex transport information (TS) by multiplexing digital information compressed video information, audio information, and additional information such as program information added thereto according to the MPEG2 system standard. After creation, the created transport stream (TS) is digitally modulated and transmitted. A digital broadcast receiver obtains a transport stream (TS) by digitally demodulating the received signal, and then separates and reproduces video, audio, and other information from the obtained transport stream (TS). To do.

CS,BSのデジタル放送では、このようにして、映像や音声などの多重化データが、トランスポートストリームパケット(TSP)と呼ばれる固定長のデータ列であるトランスポートストリーム(TS)に重畳されて送信される。   In CS and BS digital broadcasting, multiplexed data such as video and audio is thus superimposed and transmitted on a transport stream (TS), which is a fixed-length data string called a transport stream packet (TSP). Is done.

図3は、トランスポートストリームパケット(TSP)の一般的なフォーマットを示す模式図である。トランスポートストリームパケット(TSP)は188バイト固定長のパケットで、最初の4バイトはパケットヘッダと呼ばれる。パケットヘッダにおいて、1バイト目はトランスポートストリームパケット(TSP)を処理する処理装置と同期を取るための同期バイトであり、データ値は常に”47h”(hは16進数を意味する)である。以降、パケットヘッダでは、デジタル復調回路にてデータエラーを検出した場合に「1」が立つトランスポート・エラー・インジケーター(TEI)ビット、セクションまたはパッケージドエレメンタリストリーム(PES)パケットの先頭があることを示すペイロードユニットスタートインジケータ(PUSI)ビット、TSPのスクランブル情報を示すトランスポートスクランブルコントロール(TSC)ビット、アダプテーションフィールドの有無を示すアダプテーションフィールドコントロール(AFC)ビット、パケットの連続性を示すコンティニュイティカウンタ(CC)などがアサインされている。   FIG. 3 is a schematic diagram showing a general format of a transport stream packet (TSP). The transport stream packet (TSP) is a packet having a fixed length of 188 bytes, and the first 4 bytes are called a packet header. In the packet header, the first byte is a synchronization byte for synchronizing with the processing device that processes the transport stream packet (TSP), and the data value is always “47h” (h means a hexadecimal number). Thereafter, in the packet header, there is a transport error indicator (TEI) bit that is set to “1” when a data error is detected by the digital demodulation circuit, and the beginning of a section or packaged elementary stream (PES) packet. Payload unit start indicator (PUSI) bit indicating TSP scramble information, transport scramble control (TSC) bit indicating scramble information, adaptation field control (AFC) bit indicating the presence or absence of an adaptation field, and continuity counter indicating packet continuity (CC) etc. are assigned.

トランスポートストリームパケット(TSP)の5バイト目以降は、可変長(Nバイト)のアダプテーションフィールドと可変長の(188−4−Nバイト)のペイロードとで構成される。ペイロードエリアには、画像,音声,字幕を含むPESパケット、受信者を特定するための情報や各種サービス情報などが格納されている。   The fifth and subsequent bytes of the transport stream packet (TSP) are composed of an adaptation field of variable length (N bytes) and a payload of variable length (188-4-N bytes). The payload area stores PES packets including images, audio, and captions, information for identifying a receiver, various service information, and the like.

トランスポートストリームパケット(TSP)は、特定の契約者のみが視聴できるようにスクランブル処理が施された状態で送信される。さらには、デジタル放送受信機では、受信したトランスポートストリームパケット(TSP)から、必要なデータのみを取り出すフィルタリング処理が実施される。したがって、デジタル放送受信機は、トランスポートストリームパケット(TSP)にデスクランブル処理とフィルタリング処理とを実施したのち出力する。出力先はプロセッサ(CPU)がアクセス可能なメモリや音声/映像を取り出すAVデコーダやパーシャルトランスポートストリーム(パーシャルTS)出力ポートなどがある。そのようにトランスポートストリームパケット(TSP)にフィルタリングやデスクランブルなどの処理を施して所望のデータを分離し取り出す装置をトランスポートストリーム処理装置と呼ぶ。   The transport stream packet (TSP) is transmitted in a state in which it is scrambled so that only a specific contractor can view it. Further, in the digital broadcast receiver, a filtering process for extracting only necessary data from the received transport stream packet (TSP) is performed. Therefore, the digital broadcast receiver outputs the transport stream packet (TSP) after performing descrambling processing and filtering processing. The output destination includes a memory that can be accessed by a processor (CPU), an AV decoder that extracts audio / video, and a partial transport stream (partial TS) output port. A device that performs processing such as filtering and descrambling on the transport stream packet (TSP) to separate and extract desired data is called a transport stream processing device.

従来のトランスポートストリーム処理装置は、次の3つの構成を備える。すなわち、第1の構成は、トランスポートストリーム分離のための処理をすべてハードウェアで実行する構成である。第2の構成は、トランスポートストリーム分離のための処理をすべてソフトウェアで実行する構成である。第3の構成は、ハードウェアとソフトウェアとで処理を分担する構成である。   A conventional transport stream processing apparatus has the following three configurations. That is, the first configuration is a configuration in which all processing for transport stream separation is executed by hardware. The second configuration is a configuration in which all processing for transport stream separation is executed by software. The third configuration is a configuration in which processing is shared between hardware and software.

例えば、トランスポートストリーム分離のための複数の処理課程のすべてをハードウェアで行っているトランスポートストリーム分離装置について、特許文献1,2,3が開示しており、トランスポートストリーム分離のための複数の処理課程をハードウェアとソフトウェアとで分担するスランスポートストリーム分離装置について、特許文献4が開示している。特に、特許文献3には、トランスポートストリーム(PTS)にサービスインフォメーション(SI)置き換え処理を施したパーシャルトランスポートストリーム(PTS)を出力するトランスポートストリーム処理装置についても開示している。
特開平10−341419 特開2000−13448(P2000−13448A) 特開平11−239186 特開平10−210461
For example, Patent Documents 1, 2, and 3 disclose a transport stream separating apparatus that performs all of a plurality of processing steps for transport stream separation by hardware. Patent Document 4 discloses a transport stream separating apparatus that divides the processing process of hardware by software and software. In particular, Patent Document 3 also discloses a transport stream processing apparatus that outputs a partial transport stream (PTS) obtained by performing service information (SI) replacement processing on a transport stream (PTS).
JP-A-10-341419 JP2000-13448 (P2000-13448A) JP-A-11-239186 JP-A-10-210461

上記した従来のトランスポートストリーム処理装置には次のような課題がある。例えば、同じトランスポートストリーム(TS)に実施されるサービスインフォメーション(SI)置き換え処理には多様な処理が存在するため、パーシャルトランスポートストリーム(PTS)出力等には多種多能な状況や状態が生じる。そのため、全ての処理をハードウェアで実施する構成においてすべての状況や状態に対応しようとすると高い動作周波数や回路追加が必要になる。また、全ての処理をソフトウェアで実施する構成においてすべての状況や状態に対応しようとすると、常に高いCPUパワーが必要となる。さらには、処理をハードウェアとソフトウェアとで分担する構成では、処理の分担が固定しているために、最大の性能を発揮できるとは限らない。   The above-described conventional transport stream processing apparatus has the following problems. For example, since there are various processes in the service information (SI) replacement process performed on the same transport stream (TS), various versatile situations and states occur in the partial transport stream (PTS) output and the like. . For this reason, in a configuration in which all processing is performed by hardware, a high operating frequency and circuit addition are required to cope with all situations and states. In addition, in a configuration in which all processing is performed by software, high CPU power is always required to cope with all situations and states. Furthermore, in a configuration in which processing is shared between hardware and software, since the sharing of processing is fixed, the maximum performance may not be exhibited.

したがって、本発明の主たる目的は、ハードウェア、ソフトウェアの処理能力を効率よく利用可能なトランスポートストリーム処理装置を提供することである。   Accordingly, a main object of the present invention is to provide a transport stream processing apparatus that can efficiently use the processing capabilities of hardware and software.

上記目的を達成するため、本発明のトランスポートストリーム処理装置は、複数の処理を実行することで、トランスポートストリーム(TS)から所望のデータを分離するトランスポートストリーム処理装置において次のように構成する。   In order to achieve the above object, a transport stream processing apparatus of the present invention is configured as follows in a transport stream processing apparatus that separates desired data from a transport stream (TS) by executing a plurality of processes. To do.

すなわち、本発明のトランスポートストリーム処理装置は、前記複数の処理の一部をハードウェア構成で実行するハードウェアトランスポートストリーム分離器と、前記ハードウェアトランスポートストリーム分離器が担っていない前記複数の処理の残余の処理を、ソフトウェア構成で実行するソフトウェアトランスポートストリーム分離器と、前記残余の処理を、前記ソフトウェアトランスポートストリーム分離器によって実行するか否かを切り替える処理切り替え器とを備える。   That is, the transport stream processing apparatus of the present invention includes a hardware transport stream separator that executes a part of the plurality of processes in a hardware configuration, and the plurality of the plurality of processes that are not carried by the hardware transport stream separator. A software transport stream separator that executes the remaining processing of the process with a software configuration, and a process switch that switches whether the remaining processing is executed by the software transport stream separator.

本発明によれば、状況に応じてソフトウェアによる処理を追加することで、従来のように、新規のハードウェア構成の追加しなければ実現することが不可能であった新規な処理の追加を、新規のハードウェア構成を追加することなく実現することが可能となる。また、追加した処理の実行/不実行を必要に応じて切り替えることが可能となる。   According to the present invention, by adding processing by software according to the situation, addition of new processing that could not be realized without adding a new hardware configuration as in the past, This can be realized without adding a new hardware configuration. In addition, execution / non-execution of the added process can be switched as necessary.

本発明によれば、ハードウェア、ソフトウェアの処理能力を効率よく利用することが可能なトランスポート分離装置およびそれを有するデジタル放送受信機を構成することができる。 ADVANTAGE OF THE INVENTION According to this invention, the transport separation apparatus which can utilize the processing capability of hardware and software efficiently, and a digital broadcasting receiver which has it can be comprised.

本発明の具体例を説明する前に、本発明が実施されるデジタル放送受信機内のデータ受信に関わる基本構成の概略を図4を参照して説明する。   Before describing a specific example of the present invention, an outline of a basic configuration related to data reception in a digital broadcast receiver in which the present invention is implemented will be described with reference to FIG.

デジタル放送受信機では、主として、CPU(プロセッサ)41と、メモリ(記憶器)42と、チューナ47と、トランスポートストリーム処理装置43とがデータ受信に関わる。   In a digital broadcast receiver, a CPU (processor) 41, a memory (memory device) 42, a tuner 47, and a transport stream processing device 43 are mainly involved in data reception.

CPU41はプロセッサとして機能する。メモリ42は、CPU41上で動作するソフトウェアによってアクセスが可能な装置構成を有する。チューナ47は、受信電波の中から目的の搬送波を周波数選択し、さらに復調および誤り訂正を行い、搬送波から1つのトランスポートストリームを選択し出力する処理までを行う。トランスポートストリーム処理装置43の機能は前述した通りである。図4では、それぞれ矢印によりデータの流れと制御の流れとが示される。   The CPU 41 functions as a processor. The memory 42 has a device configuration that can be accessed by software operating on the CPU 41. The tuner 47 selects a target carrier from the received radio wave, performs demodulation and error correction, and performs processing up to selecting and outputting one transport stream from the carrier. The function of the transport stream processing device 43 is as described above. In FIG. 4, the flow of data and the flow of control are indicated by arrows, respectively.

トランスポートストリーム処理装置43は、同期器401と、PIDフィルタ402と、デスクランブラ403と、セクションフィルタ404と、CRCチェック器405と、出力器406と、PESパケットフィルタ407と、サービスインフォメーション(SI)置き換え器408と、パーシャルTS出力器409とを備える。識別データ(PID)は、Packet Identification data のことであって、パケット識別子(Packet Identifier)と同義である。   The transport stream processing device 43 includes a synchronizer 401, a PID filter 402, a descrambler 403, a section filter 404, a CRC check unit 405, an output unit 406, a PES packet filter 407, and service information (SI). A replacement unit 408 and a partial TS output unit 409 are provided. The identification data (PID) is packet identification data and is synonymous with a packet identifier.

同期器401は、入力されるトランスポートストリーム(TS)から先頭データを検出するとともに、トランスポートストリームパケット(TSP)を抽出して出力する。   The synchronizer 401 detects the head data from the input transport stream (TS) and extracts and outputs the transport stream packet (TSP).

PIDフィルタ402は、同期器401から入力されたトランスポートストリームパケット(TSP)の識別データ(PID)を基にして必要なトランスポートストリームパケット(TSP)だけをTS401として出力し、必要でないトランスポートストリームパケット(TSP)を破棄する。   The PID filter 402 outputs only the necessary transport stream packet (TSP) as the TS 401 based on the identification data (PID) of the transport stream packet (TSP) input from the synchronizer 401, and the unnecessary transport stream. Discard the packet (TSP).

デスクランブラ403は、PIDフィルタ402から入力されるTS401(トランスポートストリームパケット(TSP))に重畳されているトランスポートスクランブルコントロール(TSC)を判断し、TS401にスクランブルがかかっていると判断する場合には、TS401のスクランブルを解除(デスクランブル)してTS402として出力する。スクランブルがかかっていないと判断する場合には、デスクランブラ403は、TS401に何も処理を施すことなくTS402として出力する。   The descrambler 403 determines the transport scramble control (TSC) superimposed on the TS 401 (transport stream packet (TSP)) input from the PID filter 402, and determines that the TS 401 is scrambled. Cancels descrambling of TS 401 and outputs it as TS 402. When it is determined that the scramble is not applied, the descrambler 403 outputs the TS 401 without performing any processing.

セクションフィルタ404は、入力されるTS402(デスクランブラ処理済のトランスポートストリームパケット(TSP))の中からセクションを取り出し、取り出したセクションのヘッダ部にフィルタリング処理を行うことで、必要なセクションだけをTS403としてCRCチェック器405に出力し、必要でないセクションを破棄する。   The section filter 404 extracts a section from the input TS 402 (descrambler-processed transport stream packet (TSP)) and performs a filtering process on the header section of the extracted section, so that only a necessary section is TS 403. Is output to the CRC checker 405, and unnecessary sections are discarded.

CRCチェック器405は、入力されるTS403に対して、そのセクションのCRCエラー(Cyclic Redundancy Check error)をチェックしてそのセクションにCRCチェック結果を付与してTS404として出力器406に出力する。   The CRC checker 405 checks the CRC error (Cyclic Redundancy Check error) of the section of the input TS 403, gives a CRC check result to the section, and outputs it to the output unit 406 as TS 404.

出力器406は、入力されるTS404をメモリ42に出力する。ただし、CRCを持たないセクション(このセクションは、セクションシンタックスインジケータ(SSI)=0のセクションである)は、CRCチェック器405でCRCチェックを受けることなく出力器406から出力される。   The output unit 406 outputs the input TS 404 to the memory 42. However, a section having no CRC (this section is a section having a section syntax indicator (SSI) = 0) is output from the output unit 406 without undergoing a CRC check by the CRC checker 405.

PESパケットフィルタ407は、入力されるTS402の中からPESパケットを取り出し、取り出したPESパケットヘッダに対して必要なPESパケットであるか否かのフィルタリング処理を行う。そして、PESパケットフィルタ407は、必要と判断したPESパケットをTS405として出力器406に出力し、必要でないと判断したPESパケットを破棄する。出力器406は、入力されるTS405をメモリ42に出力する。   The PES packet filter 407 extracts a PES packet from the input TS 402, and performs a filtering process to determine whether the extracted PES packet header is a necessary PES packet. Then, the PES packet filter 407 outputs the PES packet determined to be necessary to the output unit 406 as TS405, and discards the PES packet determined to be unnecessary. The output unit 406 outputs the input TS 405 to the memory 42.

サービスインフォメーション(SI)置き換え器408とパーシャルTS出力器409とは、入力されるトランスポートストリーム(TS)から、必要なプログラムを取り出し、パーシャルトランスポートストリーム(PTS)として出力する構成である。   The service information (SI) replacement unit 408 and the partial TS output unit 409 are configured to take out a necessary program from an input transport stream (TS) and output it as a partial transport stream (PTS).

サービスインフォメーション(SI)置き換え器408は、入力されるTS402に、パーシャルトランスポートストリーム(PTS)として出力する際に必要となるセクション(番組情報を格納している)を含むトランスポートストリームパケット(TSP)を合成してTS407として出力する。   The service information (SI) replacer 408 includes a transport stream packet (TSP) including a section (program information is stored) necessary for output as a partial transport stream (PTS) in the input TS 402. Are combined and output as TS407.

番組情報としてセクションに格納されるデータとしては、PAT(プログラムアソシエーションテーブル)、PMT(プログラムマップテーブル)、SIT(セレクションインフォメーションテーブル)、DIT(ディスコンティニュイティインフォメーションテーブル)などがある。   Data stored in the section as program information includes PAT (program association table), PMT (program map table), SIT (selection information table), DIT (discontinuity information table), and the like.

パーシャルTS出力器409は、サービスインフォメーション(SI)置き換え器408から出力されるTS407をパーシャルトランスポートストリーム(PTS)としてトランスポートストリーム処理装置の外部に出力する。   The partial TS output unit 409 outputs the TS 407 output from the service information (SI) replacement unit 408 to the outside of the transport stream processing apparatus as a partial transport stream (PTS).

サービスインフォメーション(SI)置き換え処理を行った場合におけるデジタル放送受信機の処理例を図5のフローチャートを参照して説明する。このフローチャートは、ハードウェアによるサービスインフォメーション(SI)置き換え処理ステップである。   A processing example of the digital broadcast receiver when the service information (SI) replacement processing is performed will be described with reference to the flowchart of FIG. This flowchart is a service information (SI) replacement processing step by hardware.

ステップs51は、同期ステップs501と、PIDフィルタリングステップs502と、デスクランブルステップs503と、SI置き換えステップs504と、パーシャルTS出力ステップs505とから構成される。   Step s51 includes a synchronization step s501, a PID filtering step s502, a descrambling step s503, an SI replacement step s504, and a partial TS output step s505.

同期ステップs501は、入力されるトランスポートストリーム(TS)から先頭データを検出してトランスポートストリームパケット(TSP)を抽出する。この際、抽出されるトランスポートストリームパケット(TSP)は、その到着時間を示すタイムスタンプ情報が付与される。   The synchronization step s501 detects the top data from the input transport stream (TS) and extracts the transport stream packet (TSP). At this time, the transport stream packet (TSP) to be extracted is given time stamp information indicating its arrival time.

PIDフィルタリングステップs502は、ステップs501で処理されたトランスポートストリームパケット(TSP)の識別データ(PID)に基づいて、必要なトランスポートストリームパケット(TSP)と必要でないトランスポートストリームパケット(TSP)とを選別する。そして、必要なトランスポートストリームパケット(TSP)はそのまま出力し、必要でないトランスポートストリームパケット(TSP)には、そのトランスポートストリームパケット(TSP)を破棄する事を示す破棄ログを付与して出力する。さらには、このステップs502では、サービスインフォメーション(SI)置き換えステップs504で置き換え処理されるトランスポートストリームパケット(TSP)を選別しており、置き換え処理対象となるトランスポートストリームパケット(TSP)には、置き換え処理対象である事を示す置き換えログを付与して出力する。   In the PID filtering step s502, necessary transport stream packets (TSP) and unnecessary transport stream packets (TSP) are classified based on the identification data (PID) of the transport stream packets (TSP) processed in step s501. Sort out. The necessary transport stream packet (TSP) is output as it is, and the unnecessary transport stream packet (TSP) is output with a discard log indicating that the transport stream packet (TSP) is discarded. . Furthermore, in this step s502, the transport stream packet (TSP) to be replaced in the service information (SI) replacement step s504 is selected, and the transport stream packet (TSP) to be replaced is replaced with the transport stream packet (TSP) to be replaced. A replacement log indicating that it is a processing target is attached and output.

デスクランブルステップs503は、ステップs502で処理されたトランスポートストリームパケット(TSP)に格納されているトランスポートスクランブルコントロール(TSC)に基づいて、そのパケットがスクランブル処理されたものであるか否かを判断し、スクランブルがかかっていると判断する場合には、データにかかったスクランブルを解除(デスクランブル)し、スクランブルがかかっていないと判断する場合には、スクランブル解除(デスクランブル)しない。   The descrambling step s503 determines whether or not the packet has been scrambled based on the transport scramble control (TSC) stored in the transport stream packet (TSP) processed in step s502. When it is determined that the data is scrambled, the scramble applied to the data is released (descrambled). When it is determined that the data is not scrambled, the data is not descrambled (descrambled).

サービスインフォメーション(SI)置き換えステップs504は、ステップs53で処理されたトランスポートストリームパケット(TSP)に、そのトランスポートストリーム(PTS)の番組情報を格納したセクションを含んだトランスポートストリームパケット(TSP)を生成する。具体的には、ステップs502で置き換えログが付与されたトランスポートストリームパケット(TSP)には、所望のトランスポートストリームパケット(TSP)を置き換えして出力し、ステップs502において破棄ログが付与されたトランスポートストリームパケット(TSP)には、番組情報を格納したセクションを含んだトランスポートストリームパケット(TSP)を上書きして出力する。破棄ログ付与パケットであっても、置き換えされることなく残余するパケットは破棄される。   In service information (SI) replacement step s504, a transport stream packet (TSP) including a section storing program information of the transport stream (PTS) is added to the transport stream packet (TSP) processed in step s53. Generate. Specifically, the transport stream packet (TSP) to which the replacement log is assigned in step s502 is output by replacing the desired transport stream packet (TSP), and the transport log packet to which the discard log is assigned in step s502. The port stream packet (TSP) is overwritten with a transport stream packet (TSP) including a section storing program information and output. Even if the packet is a discard log addition packet, the remaining packet is discarded without being replaced.

パーシャルトランスポートストリーム(PTS)の出力テップs505は、s504で処理されたトランスポートストリームパケット(TSP)をパーシャルトランスポートストリーム(PTS)として前記タイムスタンプに従ってトランスポートストリーム処理装置の外部に出力する。   The output step s505 of the partial transport stream (PTS) outputs the transport stream packet (TSP) processed in s504 as a partial transport stream (PTS) to the outside of the transport stream processing apparatus according to the time stamp.

次に、本発明の実施の形態に係るトランスポートストリーム処理装置およびそれを有するデジタル放送受信機を詳細に説明する。図1は本実施形態に係るデジタル放送受信装置内のデータ受信に関わる構成を概略して示すブロック図である。このデジタル放送受信装置は、上述した図4の構成と同様、主としてCPU(プロセッサ)11と、メモリ(記憶器)12と、チューナ17と、トランスポートストリーム処理装置とがデータ受信に関わる。メモリ12はCPU11上で動作するソフトウェアによってアクセスが可能な装置構成を有する。チューナ17は、受信電波の中から目的の搬送波を周波数選択し、さらに復調および誤り訂正を行い、搬送波から1つのトランスポートストリームを選択し出力する処理までを行う。単線矢印は制御の流れを示し、二重線矢印はデータの流れを示す。   Next, a transport stream processing apparatus according to an embodiment of the present invention and a digital broadcast receiver having the transport stream processing apparatus will be described in detail. FIG. 1 is a block diagram schematically showing a configuration relating to data reception in the digital broadcast receiving apparatus according to the present embodiment. In this digital broadcast receiving apparatus, the CPU (processor) 11, the memory (storage device) 12, the tuner 17, and the transport stream processing apparatus are mainly involved in data reception, as in the configuration of FIG. 4 described above. The memory 12 has a device configuration that can be accessed by software running on the CPU 11. The tuner 17 selects a target carrier wave from the received radio wave, performs demodulation and error correction, and performs processing up to selecting and outputting one transport stream from the carrier wave. Single-line arrows indicate the flow of control, and double-line arrows indicate the flow of data.

トランスポートストリーム処理装置は、トランスポートストリーム(TS)から所望のデータを分離するために複数の処理過程を実施する装置である。このトランスポートストリーム処理装置は、ハードウェアトランスポートストリーム分離器13と、ソフトウェアトランスポートストリーム分離器14と、処理切り替え器15とを備える。   A transport stream processing apparatus is an apparatus that performs a plurality of processing steps in order to separate desired data from a transport stream (TS). This transport stream processing apparatus includes a hardware transport stream separator 13, a software transport stream separator 14, and a processing switcher 15.

ハードウェアトランスポートストリーム分離器13は、同期器101と、PIDフィルタ102と、デスクランブラ103と、サービスインフォメーション(SI)置き換え器104と、パーシャルトランスポートストリーム(PTS)出力器105,110と、出力器106と、入力器109とを備える。本実施形態では、出力器106により第1の出力器が構成され、パーシャルトランスポートストリーム(PTS)出力器110により第2の出力器が構成される。   The hardware transport stream separator 13 includes a synchronizer 101, a PID filter 102, a descrambler 103, a service information (SI) replacer 104, partial transport stream (PTS) output units 105 and 110, and an output. Device 106 and an input device 109. In the present embodiment, the output device 106 constitutes a first output device, and the partial transport stream (PTS) output device 110 constitutes a second output device.

同期器101は、入力されるトランスポートストリーム(TS)の先頭データを検出し、さらには、入力されるトランスポートストリーム(TS)からトランスポートストリームパケット(TSP)を抽出する。抽出に際して、同期器101は、トランスポートストリームパケット(TSP)にその到着時間を示すタイムスタンプ情報を付与する。   The synchronizer 101 detects head data of the input transport stream (TS), and further extracts a transport stream packet (TSP) from the input transport stream (TS). At the time of extraction, the synchronizer 101 adds time stamp information indicating the arrival time to the transport stream packet (TSP).

PIDフィルタ102は、同期器101から入力されるトランスポートストリームパケット(TSP)から必要なパケットと必要でないパケットとを選別し、必要なパケットをそのままTS101として出力し、必要でないパケットには、破棄する事を示す破棄ログを付与したうえでTS101として出力する。   The PID filter 102 selects necessary packets and unnecessary packets from the transport stream packet (TSP) input from the synchronizer 101, outputs the necessary packets as they are as the TS 101, and discards them as unnecessary packets. After giving a discard log indicating this, it is output as TS101.

PIDフィルタ102は、トランスポートストリームパケット(TSP)の必要性を、そのパケットに付与されている識別データ(PID)に基づいて判断する。さらにPIDフィルタ102は、後段に配置されるサービスインフォメーション(SI)置き換え器104によって置き換え処理されるトランスポートストリームパケット(TSP)には、置き換え対象である事を示す置き換えログを付与してTS101として出力する。   The PID filter 102 determines the necessity of a transport stream packet (TSP) based on identification data (PID) attached to the packet. Further, the PID filter 102 attaches a replacement log indicating that it is a replacement target to the transport stream packet (TSP) to be replaced by the service information (SI) replacer 104 disposed in the subsequent stage, and outputs it as TS101. To do.

デスクランブラ103は、TS101に付与されているトランスポートスクランブルコントロール(TSC)を判読することで、TS101がスクランブル処理されたものであるか否かを判断する。そして、スクランブルがかかっていると判断する場合、デスクランブラ103は、そのTS101のスクランブルを解除(デスクランブル)したうえで、TS102として出力する。スクランブルがかかっていないと判断する場合、そのTS101に何も処理を実行せずにTS102として出力する。   The descrambler 103 determines whether the TS 101 has been scrambled by reading the transport scramble control (TSC) assigned to the TS 101. When it is determined that the scramble is applied, the descrambler 103 cancels the descrambling of the TS 101 (descrambles), and outputs it as the TS 102. When it is determined that the scramble is not applied, the TS 101 is output as TS 102 without performing any processing.

サービスインフォメーション(SI)置き換え器104は、パーシャルトランスポートストリーム(PTS)の番組情報を格納したセクションを含んだトランスポートストリームパケット(TSP)を、TS102に合成したうえで、TS103として出力する。具体的には、置き換えログが付与されたトランスポートストリームパケット(TSP)は、所望のトランスポートストリームパケット(TSP)が置き換えされてTS103として出力され、破棄ログが付与されたトランスポートストリームパケット(TSP)は、番組情報を格納したセクションを含んだトランスポートストリームパケット(TSP)が置き換えされて出力される。破棄ログが付与されたパケットであっても置き換えされることなく残余するパケットは破棄される。   The service information (SI) replacement unit 104 synthesizes a transport stream packet (TSP) including a section storing program information of a partial transport stream (PTS) with the TS 102 and outputs the resultant as TS 103. Specifically, the transport stream packet (TSP) to which the replacement log is attached is output as TS103 by replacing the desired transport stream packet (TSP), and the transport stream packet (TSP) to which the discard log is attached. ) Is output by replacing the transport stream packet (TSP) including the section storing the program information. Even if a discard log is attached to a packet, the remaining packet is discarded without being replaced.

パーシャルトランスポートストリーム(PTS)出力器105は、サービスインフォメーション(SI)置き換え器104から入力されるTS103をパーシャルTS1としてトランスポートストリーム処理装置の外部に出力する。出力はTS103に書き込まれたタイムスタンプに従って実施される。   The partial transport stream (PTS) output unit 105 outputs TS103 input from the service information (SI) replacement unit 104 as a partial TS1 to the outside of the transport stream processing apparatus. The output is performed according to the time stamp written in TS103.

出力器106は、デスクランブラ103から入力されるTS102をメモリ12に出力する。   The output device 106 outputs the TS 102 input from the descrambler 103 to the memory 12.

入力器109は、メモリ12のデータを読み出す。   The input device 109 reads data from the memory 12.

パーシャルトランスポートストリーム(PTS)出力器110は、入力器109によって読み出されるTS107をパーシャルTS2としてトランスポートストリーム処理装置の外部に出力する。   The partial transport stream (PTS) output unit 110 outputs TS 107 read by the input unit 109 as a partial TS 2 to the outside of the transport stream processing apparatus.

ソフトウェアトランスポートストリーム分離器14は、サービスインフォメーション(SI)置き換え器107と、サービスインフォメーション(SI)上書き器108とを備える。   The software transport stream separator 14 includes a service information (SI) replacer 107 and a service information (SI) overwriter 108.

サービスインフォメーション(SI)置き換え器107は、入力されるTS102(デスクランブル処理済のトランスポートストリームパケットTSP)にその番組情報を合成する。具体的には、TS102をパーシャルトランスポートストリーム(PTS)として出力する際に必要となるセクションを含んだトランスポートストリームパケット(TSP)が合成される。必要となるセクションに格納されるデータとしては例えば番組情報が挙げられる。合成されたデータは、TS105としてメモリ12もしくはサービスインフォメーション(SI)上書き器108に出力される。   The service information (SI) replacer 107 combines the program information with the input TS 102 (descrambled transport stream packet TSP). Specifically, a transport stream packet (TSP) including a section necessary for outputting TS 102 as a partial transport stream (PTS) is synthesized. An example of data stored in a necessary section is program information. The synthesized data is output as TS 105 to the memory 12 or the service information (SI) overwrite unit 108.

なお、セクションに格納される番組情報は、PAT(プログラムアソシエーションテーブル)、PMT(プログラムマップテーブル)、SIT(セレクションインフォメーションテーブル)、およびDIT(ディスコンティニュイティインフォメーションテーブル)を含む。   The program information stored in the section includes a PAT (program association table), a PMT (program map table), an SIT (selection information table), and a DIT (discontinuity information table).

サービスインフォメーション(SI)上書き器108は、サービスインフォメーション(SI)置き換え器107,104によってサービスインフォメーション(SI)置き換え処理が施されたセクション(TS105,TS103)の一部またはすべてについてそのデータの上書きを行う。データの上書きとしては、PMT(プログラムマップテーブル)に含まれる記述子の1つであるデジタルコピー制御記述子におけるデジタルレコーディングコントロールデータのみの書き換えを一例として挙げられる。サービスインフォメーション(SI)上書き器108でサービスインフォメーション(SI)の上書きが施されたデータはTS106としてメモリ12に出力されて記憶される。   The service information (SI) overwrite unit 108 overwrites the data of some or all of the sections (TS 105, TS 103) subjected to the service information (SI) replacement process by the service information (SI) replacement units 107, 104. . As an example of data overwriting, rewriting of only digital recording control data in a digital copy control descriptor, which is one of descriptors included in a PMT (program map table), can be cited as an example. Data on which the service information (SI) is overwritten by the service information (SI) overwrite unit 108 is output to the memory 12 and stored as TS 106.

サービスインフォメーション(SI)置き換え器107とサービスインフォメーション(SI)上書き器108とは、その処理がCPU11で動作するソフトウェアとして構成される。   The service information (SI) replacing unit 107 and the service information (SI) overwriting unit 108 are configured as software whose processing is executed by the CPU 11.

処理切り替え器15は、ソフトウェアトランスポートストリーム分離器14を無効にするか、有効にするかを切り替える。具体的には、処理切り替え器15は、サービスインフォメーション(SI)置き換え器107の無効/有効を切り替えるサービスインフォメーション(SI)置き換え切り替えフラグ111と、サービスインフォメーション(SI)上書き器108の無効/有効を切り替えるサービスインフォメーション(SI)上書き切り替えフラグ112とを生成する。本具体例では、処理切り替え器15は、CPU11によりその機能が実現される。   The process switcher 15 switches whether the software transport stream separator 14 is disabled or enabled. Specifically, the process switching unit 15 switches the service information (SI) replacement switching flag 111 for switching the service information (SI) replacement unit 107 to invalid / valid and the service information (SI) overwriting unit 108 for switching invalid / valid. A service information (SI) overwrite switching flag 112 is generated. In this specific example, the function of the process switch 15 is realized by the CPU 11.

以下、このトランスポートストリーム処理装置の動作を説明する。トランスポートストリーム処理装置に入力されるトランスポートストリーム(TS)は、同期器101において、その先頭データが検出され、さらにはトランスポートストリームパケット(TSP)が抽出される。トランスポートストリームパケット(TSP)の抽出に際して、トランスポートストリームパケット(TSP)には、その到着時間を示すタイムスタンプ情報が同期器101により付与される。   The operation of this transport stream processing device will be described below. In the transport stream (TS) input to the transport stream processing apparatus, the head data is detected by the synchronizer 101, and further the transport stream packet (TSP) is extracted. When the transport stream packet (TSP) is extracted, the transport stream packet (TSP) is given time stamp information indicating the arrival time by the synchronizer 101.

同期器101から出力されるトランスポートストリームパケット(TSP)は、PIDフィルタ102において、必要なトランスポートストリームパケット(TSP)と必要でないトランスポートストリームパケット(TSP)とに選別される。必要なトランスポートストリームパケット(TSP)は、そのまま、PIDフィルタ102からTS102として出力される。必要でないトランスポートストリームパケット(TSP)は、PIDフィルタ102によって破棄ログが付与されてPIDフィルタ102からTS102として出力される。さらには、後段のサービスインフォメーション(SI)置き換え器104において置き換え処理されるトランスポートストリームパケット(TSP)には置き換えログがPIDフィルタ102によって付与されたうえでTS101として出力される。   The transport stream packet (TSP) output from the synchronizer 101 is selected by the PID filter 102 into a necessary transport stream packet (TSP) and an unnecessary transport stream packet (TSP). The necessary transport stream packet (TSP) is output as it is from the PID filter 102 as TS102. Unnecessary transport stream packets (TSP) are given a discard log by the PID filter 102 and output from the PID filter 102 as TS102. Further, a replacement log is added by the PID filter 102 to the transport stream packet (TSP) to be replaced by the service information (SI) replacer 104 in the subsequent stage, and is output as TS101.

TS101は、デスクランブラ103においてデスクランブル処理されたうえで、TS102として出力される。デスクランブル処理は、スクランブル処理されたTS101だけに実施される。   TS 101 is descrambled by descrambler 103 and then output as TS 102. The descrambling process is performed only on the scrambled TS101.

デスクランブラ103が出力するTS102の出力先は、サービスインフォメーション(SI)置き換え切り替えフラグ111の設定(有効/無効)に応じて切り替え制御される。つまり、サービスインフォメーション(SI)置き換え切り替えフラグ111の設定(有効/無効)によって、サービスインフォメーション(SI)置き換え器107の処理の有効/無効が切り替え制御される。   The output destination of the TS 102 output by the descrambler 103 is controlled to be switched according to the setting (valid / invalid) of the service information (SI) replacement switching flag 111. That is, the setting of the service information (SI) replacement switching flag 111 (valid / invalid) switches between valid / invalid processing of the service information (SI) replacement unit 107.

さらにまた、サービスインフォメーション(SI)置き換え器104が出力するTS103の出力先は、サービスインフォメーション(SI)上書き切り替えフラグ112の設定(有効/無効)に応じて切り替え制御される。つまり、サービスインフォメーション(SI)上書き切り替えフラグ112の設定(有効/無効)によって、サービスインフォメーション(SI)上書き器108の処理の有効/無効が切り替え制御される。   Furthermore, the output destination of the TS 103 output from the service information (SI) replacer 104 is controlled to be switched according to the setting (valid / invalid) of the service information (SI) overwrite switching flag 112. That is, the setting of the service information (SI) overwrite switching flag 112 (valid / invalid) controls the validity / invalidity of the processing of the service information (SI) overwrite unit 108.

サービスインフォメーション(SI)置き換え切り替えフラグ111と、サービスインフォメーション(SI)上書き切り替えフラグ112とは、予め、このトランスポートストリーム処理装置の操作者によってこのトランスポートストリーム処理装置に設定される。設定はこのトランスポートストリーム処理装置に設けられた図示しない入力器(入力スイッチやキーボート等)を介して操作者により実施される。入力される設定は処理切り替え器15として機能するCPU11に入力される。CPU11は、入力される設定に基づいてサービスインフォメーション(SI)置き換え切り替えフラグ111と、サービスインフォメーション(SI)上書き切り替えフラグ112とのフラグを設定する。   The service information (SI) replacement switching flag 111 and the service information (SI) overwrite switching flag 112 are set in advance in the transport stream processing apparatus by an operator of the transport stream processing apparatus. The setting is performed by an operator via an input device (input switch, keyboard, etc.) (not shown) provided in the transport stream processing apparatus. The input setting is input to the CPU 11 functioning as the process switching unit 15. The CPU 11 sets a service information (SI) replacement switching flag 111 and a service information (SI) overwrite switching flag 112 based on the input settings.

フラグ111,112それぞれの設定状態の組み合わせにより、サービスインフォメーション(SI)置き換え器104(ハードウェア構成)と、サービスインフォメーション(SI)置き換え器107と、サービスインフォメーション(SI)上書き器108とにおけるそれぞれの処理の有効/無効が設定される。   Processing in the service information (SI) replacement unit 104 (hardware configuration), the service information (SI) replacement unit 107, and the service information (SI) overwrite unit 108 depending on the combination of the setting states of the flags 111 and 112. Valid / invalid of is set.

設定には次の4つの設定パターンが存在する。
第1の設定
・フラグ111:無効、フラグ112:無効
第1の設定では、サービスインフォメーション(SI)置き換え器104(ハードウェア構成)の処理が有効となり、ソフトウェアトランスポート分離器14(サービスインフォメーション(SI)置き換え器107,サービスインフォメーション(SI)上書き器108)の処理は無効となる。
There are the following four setting patterns for setting.
First setting / flag 111: invalid, flag 112: invalid In the first setting, the processing of the service information (SI) replacer 104 (hardware configuration) is valid, and the software transport separator 14 (service information (SI ) The processing of the replacement unit 107 and the service information (SI) overwriting unit 108) becomes invalid.

したがって、デスクランブラ103から出力されるTS102は、サービスインフォメーション(SI)置き換え器104(ハードウェア)に入力される。サービスインフォメーション(SI)置き換え器104は、入力されるTS102に、番組情報格納セクションを含むトランスポートストリームパケット(TSP)を合成したうえで、TS103としてパーシャルトランスポートストリーム(PTS)出力器105に出力する。パーシャルトランスポートストリーム(PTS)出力器105は、入力されるTS103をパーシャルTS1として装置外に出力する。   Therefore, the TS 102 output from the descrambler 103 is input to the service information (SI) replacement unit 104 (hardware). The service information (SI) replacement unit 104 synthesizes a transport stream packet (TSP) including a program information storage section with the input TS 102, and then outputs it to the partial transport stream (PTS) output unit 105 as a TS 103. . A partial transport stream (PTS) output unit 105 outputs the input TS 103 as a partial TS 1 to the outside of the apparatus.

このように、第1の設定では、トランスポートストリームパケット(TSP)を、ハードウェアトランスポートストリーム分離装置13(PIDフィルタ102,デスクランブラ103,サービスインフォメーション(SI)置き換え器104)だけで処理したうえで、パーシャルTS1として装置の外部に出力する。   As described above, in the first setting, the transport stream packet (TSP) is processed only by the hardware transport stream separator 13 (PID filter 102, descrambler 103, service information (SI) replacer 104). Thus, it is output to the outside of the apparatus as a partial TS1.

この設定は、要求されるトランスポートストリーム分離処理が、ハードウェアトランスポートストリーム分離装置13だけで十分に実行可能である場合に有効である。
第2の設定
・フラグ111:無効、フラグ112:有効
第2の設定では、サービスインフォメーション(SI)置き換え器104(ハードウェア構成)の処理とサービスインフォメーション(SI)上書き器108(ソフトウェア構成)の処理とが有効となり、サービスインフォメーション(SI)置き換え器107の処理が無効となる。
This setting is effective when the requested transport stream separation process can be sufficiently executed only by the hardware transport stream separation device 13.
Second setting / flag 111: Invalid, flag 112: Valid In the second setting, processing of the service information (SI) replacer 104 (hardware configuration) and processing of the service information (SI) overwrite unit 108 (software configuration) Becomes valid, and the processing of the service information (SI) replacer 107 becomes invalid.

したがって、デスクランブラ103から出力されるTS102は、サービスインフォメーション(SI)置き換え器104(ハードウェア)に入力される。サービスインフォメーション(SI)置き換え器104は、入力されるTS102に番組情報を格納したセクションを含んだトランスポートストリームパケット(TSP)を合成したうえで、TS103として出力器106に出力する。出力器106は、入力されるTS103をメモリ12に出力する。   Therefore, the TS 102 output from the descrambler 103 is input to the service information (SI) replacement unit 104 (hardware). The service information (SI) replacement unit 104 synthesizes a transport stream packet (TSP) including a section in which program information is stored in the input TS 102, and outputs it to the output unit 106 as a TS 103. The output device 106 outputs the input TS 103 to the memory 12.

ソフトウェアトランスポートストリーム分離装置14において、処理が有効となっているサービスインフォメーション(SI)上書き器108は、メモリ12からTS103を読み出してその一部またはすべてについてデータを上書きする。上書き処理の例としては、前述したように、PMT(プログラムマップテーブル)に含まれる記述子の1つであるデジタルコピー制御記述子におけるデジタルレコーディングコントロールデータの書き換え処理がある。   In the software transport stream separator 14, the service information (SI) overwrite unit 108 for which processing is enabled reads out the TS 103 from the memory 12 and overwrites data for a part or all of it. As an example of the overwriting process, as described above, there is a rewriting process of digital recording control data in a digital copy control descriptor which is one of descriptors included in a PMT (program map table).

サービスインフォメーション(SI)上書き器108は、上書き処理を実施したデータを、TS106としてメモリ12に出力する。入力器109は、メモリ12からTS106を読み出し、読み出したTS106をTS108としてパーシャルTS出力器110に出力する。パーシャルTS出力器110は、入力されるTS108をパーシャルTS2として装置の外部に出力する。   The service information (SI) overwrite unit 108 outputs the data subjected to the overwrite process to the memory 12 as a TS 106. The input device 109 reads the TS 106 from the memory 12 and outputs the read TS 106 to the partial TS output device 110 as TS 108. The partial TS output device 110 outputs the input TS 108 as a partial TS 2 to the outside of the apparatus.

このように、第2の設定では、トランスポートストリームパケット(TSP)を、ハードウェアトランスポートストリーム分離装置13(PIDフィルタ102,デスクランブラ103,サービスインフォメーション(SI)置き換え器104)で処理したうえで、さらに、ソフトウェアトランスポートストリーム分離装置14のサービスインフォメーション(SI)上書き器108において、さらに上書き処理をソフトウェアにより実施したうえで、パーシャルTS2として装置外に出力する。   As described above, in the second setting, the transport stream packet (TSP) is processed by the hardware transport stream separator 13 (PID filter 102, descrambler 103, service information (SI) replacer 104). Further, the service information (SI) overwrite unit 108 of the software transport stream separation device 14 further performs overwriting processing by software, and then outputs it as a partial TS2 outside the device.

この設定は、要求されるトランスポートストリーム分離処理が、ハードウェアトランスポートストリーム分離装置13の処理だけでは不十分であり、さらに、サービスインフォメーション(SI)上書き処理が追加要求されている場合に有効である。
第3の設定
・フラグ111:有効、フラグ112:無効
第3の設定では、サービスインフォメーション(SI)置き換え器107(ソフトウェア構成)の処理が有効となり、サービスインフォメーション(SI)置き換え器104(ハードウェア構成)の処理と、サービスインフォメーション(SI)上書き器108(ソフトウェア構成)の処理が無効となる。
This setting is effective when the requested transport stream separation process is not sufficient for the hardware transport stream separation apparatus 13 alone, and when service information (SI) overwrite processing is additionally requested. is there.
Third setting / flag 111: valid, flag 112: invalid In the third setting, processing of the service information (SI) replacer 107 (software configuration) is enabled, and the service information (SI) replacer 104 (hardware configuration). ) And the service information (SI) overwrite unit 108 (software configuration) are invalidated.

したがって、デスクランブラ103から出力されるTS102は、サービスインフォメーション(SI)置き換え器107(ソフトウェア構成)に入力される。サービスインフォメーション(SI)置き換え器107は、入力されるTS102に番組情報を格納したセクションを含んだトランスポートストリームパケット(TSP)を合成したうえで、TS105としてメモリ12に出力する。入力器109は、メモリ12からTS105を読み出し、読み出したTS105をTS108としてパーシャルTS出力器110に出力する。パーシャルTS出力器110は、入力されるTS108を、パーシャルTS2として装置の外部に出力する。   Therefore, the TS 102 output from the descrambler 103 is input to the service information (SI) replacement unit 107 (software configuration). The service information (SI) replacer 107 synthesizes a transport stream packet (TSP) including a section in which program information is stored in the input TS 102, and then outputs it to the memory 12 as a TS 105. The input device 109 reads the TS 105 from the memory 12 and outputs the read TS 105 as the TS 108 to the partial TS output device 110. The partial TS output unit 110 outputs the input TS 108 as a partial TS 2 to the outside of the apparatus.

このように、第3の設定では、トランスポートストリームパケット(TSP)を、ソフトウェアトランスポートストリーム分離装置14において、サービスインフォメーション(SI)置き換え器107だけで処理したうえで、パーシャルTS2として装置の外部に出力する。   As described above, in the third setting, the transport stream packet (TSP) is processed only by the service information (SI) replacer 107 in the software transport stream separating apparatus 14, and then is transmitted to the outside of the apparatus as a partial TS2. Output.

この設定は、要求されるトランスポートストリーム分離処理が、サービスインフォメーション(SI)置き換え処理だけを必要しているものの、その処理をサービスインフォメーション(SI)置き換え器104(ハードウェア構成)で実施するより、サービスインフォメーション(SI)置き換え器107(ソフトウェア構成)で実施する方が効率がよい場合に有効である。
第4の設定
・フラグ111:有効、フラグ112:有効
第4の設定ではソフトウェアトランスポートストリーム分離装置14の全構成(サービスインフォメーション(SI)置き換え器107,サービスインフォメーション(SI)上書き器108)の処理が有効となり、サービスインフォメーション(SI)置き換え器104(ハードウェア構成)の処理が無効となる。
In this setting, although the required transport stream separation process requires only the service information (SI) replacement process, the service information (SI) replacement unit 104 (hardware configuration) performs the process. This is effective when the service information (SI) replacement unit 107 (software configuration) is more efficient.
Fourth setting / flag 111: valid, flag 112: valid In the fourth setting, processing of all configurations (service information (SI) replacer 107, service information (SI) overwrite unit 108) of the software transport stream separator 14 Becomes valid, and processing of the service information (SI) replacer 104 (hardware configuration) becomes invalid.

したがって、デスクランブラ103から出力されるTS102は、サービスインフォメーション(SI)置き換え器107(ソフトウェア構成)に入力される。サービスインフォメーション(SI)置き換え器107は、入力されるTS102に、番組情報格納セクションを含むトランスポートストリームパケット(TSP)を合成したうえで、TS105としてサービスインフォメーション(SI)上書き器108に出力する。サービスインフォメーション(SI)上書き器108は、入力される一部またはすべてについてデータの上書きを行う。上書き処理の例は、前述した通りである。   Therefore, the TS 102 output from the descrambler 103 is input to the service information (SI) replacement unit 107 (software configuration). The service information (SI) replacement unit 107 synthesizes a transport stream packet (TSP) including a program information storage section with the input TS 102 and outputs the resultant to the service information (SI) overwrite unit 108 as a TS 105. The service information (SI) overwrite unit 108 overwrites data for some or all of the input information. An example of the overwriting process is as described above.

サービスインフォメーション(SI)上書き器108は、上書き処理を実施したデータを、TS106としてメモリ12に出力する。入力器109は、メモリ12からTS106を読み出し、読み出したTS106をTS108としてパーシャルTS出力器110に出力する。パーシャルTS出力器110は、入力されるTS108をパーシャルTS2として装置の外部に出力する。   The service information (SI) overwrite unit 108 outputs the data subjected to the overwrite process to the memory 12 as a TS 106. The input device 109 reads the TS 106 from the memory 12 and outputs the read TS 106 to the partial TS output device 110 as TS 108. The partial TS output device 110 outputs the input TS 108 as a partial TS 2 to the outside of the apparatus.

このように、第4の設定では、トランスポートストリームパケット(TSP)を、ハードウェアトランスポートストリーム分離装置13でPIDフィルタリング処理(PIDフィルタ102)とデスクランブル処理(第1のデスクランブラ103)とを施したうえで、ソフトウェアトランスポートストリーム分離装置14(サービスインフォメーション(SI)置き換え器107,サービスインフォメーション(SI)上書き器108)でさらに処理する。そして、処理済のデータをパーシャルTS2として装置外に出力する。   Thus, in the fourth setting, the transport stream packet (TSP) is subjected to the PID filtering process (PID filter 102) and the descrambling process (first descrambler 103) by the hardware transport stream separating apparatus 13. After that, the software transport stream separator 14 (service information (SI) replacement unit 107, service information (SI) overwrite unit 108) further processes. Then, the processed data is output to the outside of the apparatus as a partial TS2.

この設定は、要求されるトランスポートストリーム分離処理がサービスインフォメーション(SI)置き換え処理とサービスインフォメーション(SI)上書き処理とを要求し、さらには、サービスインフォメーション(SI)置き換え処理をサービスインフォメーション(SI)置き換え器104(ハードウェア構成)で実施するより、サービスインフォメーション(SI)置き換え器107(ソフトウェア構成)で実施する方が効率がよい場合に有効である。   In this setting, the requested transport stream separation process requires service information (SI) replacement processing and service information (SI) overwrite processing, and service information (SI) replacement processing is replaced with service information (SI) replacement. This is effective when the service information (SI) replacement unit 107 (software configuration) is more efficient than the unit 104 (hardware configuration).

次に、このトランスポートストリーム処理装置によるトランスポートストリーム処理方法の手順を図2のフローチャートを参照して説明する。   Next, the procedure of the transport stream processing method by this transport stream processing apparatus will be described with reference to the flowchart of FIG.

このトランスポートストリーム処理装置の動作では、処理切り替えステップs23として、サービスインフォメーション(SI)置き換えステップ1108の無効/有効を切り替えるサービスインフォメーション(SI)置き換え切り替えステップs204を有し、ソフトウェアによるトランスポートストリーム分離ステップs22としてサービスインフォメーション(SI)置き換えステップs208を有する。   The operation of the transport stream processing apparatus includes a service information (SI) replacement switching step s204 for switching invalid / valid of the service information (SI) replacement step 1108 as a process switching step s23, and a transport stream separation step by software Service information (SI) replacement step s208 is included as s22.

ハードウェアトランスポートストリーム分離ステップs21は、同期ステップs201と、PIDフィルタリングステップs202と、デスクランブラステップs203と、サービスインフォメーション(SI)置き換えステップs205と、パーシャルTS1出力ステップs207とを有する。   The hardware transport stream separation step s21 includes a synchronization step s201, a PID filtering step s202, a descrambler step s203, a service information (SI) replacement step s205, and a partial TS1 output step s207.

以下処理フローに従い説明する。ステップs201は同期ステップであり、このステップでは、入力されるトランスポートストリーム(TS)の先頭データを検出し、さらには、入力されるトランスポートストリーム(TS)からトランスポートストリームパケット(TSP)を抽出する。抽出に際して、トランスポートストリームパケット(TSP)にその到着時間を示すタイムスタンプ情報が付与される。   This will be described according to the processing flow. Step s201 is a synchronization step. In this step, the head data of the input transport stream (TS) is detected, and further, the transport stream packet (TSP) is extracted from the input transport stream (TS). To do. At the time of extraction, time stamp information indicating the arrival time is given to the transport stream packet (TSP).

ステップs202は、PIDフィルタリングステップであって、このステップでは、トランスポートストリームパケット(TSP)から必要なパケットと必要でないパケットとを選別し、必要なパケットをそのままTS101として出力し、必要でないパケットには、破棄する事を示す破棄ログを付与したうえでTS101として出力する。   Step s202 is a PID filtering step. In this step, necessary packets and unnecessary packets are selected from the transport stream packet (TSP), and necessary packets are output as TS 101 as they are. Then, a discard log indicating discarding is added and output as TS101.

PIDフィルタリング処理では、トランスポートストリームパケット(TSP)の必要性を、そのパケットに付与されている識別データ(PID)に基づいて判断する。さらには、後段での処理過程である置き換え処理において、置き換え処理対象となるトランスポートストリームパケット(TSP)には、置き換え対象である事を示す置き換えログが付与される。   In the PID filtering process, the necessity of a transport stream packet (TSP) is determined based on identification data (PID) given to the packet. Furthermore, in the replacement process, which is a subsequent process, a transport log packet (TSP) that is a replacement process target is assigned a replacement log indicating that it is a replacement target.

ステップs203はデスクランブルステップであって、このステップでは、まず、ステップs102で生成されたTS101に付与されているトランスポートスクランブルコントロール(TSC)を判読してTS101がスクランブル処理されたものであるか否かを判断する。そして、スクランブルがかかっていると判断する場合は、TS101のスクランブルを解除(デスクランブル)したうえで、TS102として出力する。スクランブルがかかっていないと判断する場合、TS101に何も処理を実行せずにTS102として出力して、ステップs204に進む。   Step s203 is a descrambling step. In this step, first, whether the TS101 is scrambled by reading the transport scramble control (TSC) assigned to the TS101 generated in step s102. Determine whether. When it is determined that the scramble is applied, the scramble of the TS 101 is released (descrambled) and then output as the TS 102. If it is determined that the scramble is not applied, the TS 101 is output as TS 102 without performing any processing, and the process proceeds to step s204.

ステップs204は、サービスインフォメーション(SI)置き換え切り替えステップであって、このステップでは、サービスインフォメーション(SI)置き換え切り替えフラグ111を判定する。そして、フラグ111を無効と判定する場合は、ハードウェアによるトランスポート分離ステップs21(具体的にはステップs205)に進む。フラグ111が有効と判定する場合には、ステップs212に進む。   Step s204 is a service information (SI) replacement switching step. In this step, the service information (SI) replacement switching flag 111 is determined. When determining that the flag 111 is invalid, the process proceeds to a hardware transport separation step s21 (specifically, step s205). If it is determined that the flag 111 is valid, the process proceeds to step s212.

ステップs205は、ハードウェアサービスインフォメーション(SI)置き換えステップであって、このステップでは、ステップs203でデスクランブル処理されたTS102に、番組情報格納セクションを含むトランスポートストリームパケット(TSP)を合成してTS103として出力する。ステップs205では、上記処理をハードウェア構成により実施する。   Step s205 is a hardware service information (SI) replacement step. In this step, the TS102 descrambled in step s203 is combined with a transport stream packet (TSP) including a program information storage section to create a TS103. Output as. In step s205, the above processing is performed by a hardware configuration.

ステップs205の処理において、置き換えログが付与されたトランスポートストリームパケット(TSP)は、所望のトランスポートストリームパケット(TSP)の置き換え処理が実施される。破棄ログが付与されたトランスポートストリームパケット(TSP)は、番組情報格納セクションを含むトランスポートストリームパケット(TSP)の置き換え用スペースとして使用され、余りは破棄される。   In the process of step s205, the transport stream packet (TSP) to which the replacement log is added is replaced with a desired transport stream packet (TSP). The transport stream packet (TSP) to which the discard log is attached is used as a space for replacing the transport stream packet (TSP) including the program information storage section, and the remainder is discarded.

ステップs206は、サービスインフォメーション(SI)上書き切り替えステップであって、このステップでは、サービスインフォメーション(SI)上書き切り替えフラグ112が判定される。そして、フラグ112が無効と判定される場合、ハードウェアによるハードウェアトランスポートストリーム分離ステップs21の最終ステップであるステップs207に進む。フラグ112が有効と判定される場合、ハードウェアトランスポートストリーム分離ステップs21から離れてステップs208に進む。   Step s206 is a service information (SI) overwrite switching step, in which the service information (SI) overwrite switching flag 112 is determined. If it is determined that the flag 112 is invalid, the process proceeds to step s207, which is the final step of the hardware transport stream separation step s21 by hardware. If it is determined that the flag 112 is valid, the process leaves the hardware transport stream separation step s21 and proceeds to step s208.

ステップs206でフラグ112が無効と判定された場合に移行するステップ207は、パーシャルTS1出力ステップであり、ステップs205で生成されたTS103をパーシャルトランスポートストリーム1(パーシャルTS1)として、タイムスタンプに従ってトランスポートストリーム処理装置の外部に出力する。タイムスタンプは、同期ステップs201において、予めトランスポートストリームパケット(TSP)に付与されている。ステップs207の処理が実行されると一連の処理が終了する。   Step 207 to which the process proceeds when the flag 112 is determined to be invalid in step s206 is a partial TS1 output step. The TS103 generated in step s205 is set as the partial transport stream 1 (partial TS1) and transported according to the time stamp. Output to the outside of the stream processing device. The time stamp is previously given to the transport stream packet (TSP) in the synchronization step s201. When the processing of step s207 is executed, a series of processing ends.

一方、ステップs206でフラグ112が有効と判定された場合に移行するステップs208は、メモリ格納ステップであって、このステップでは、ステップs205で生成されたTS103を一旦メモリ12に格納してステップs209に進む。   On the other hand, step s208, which is shifted when it is determined that the flag 112 is valid in step s206, is a memory storing step. In this step, the TS 103 generated in step s205 is temporarily stored in the memory 12 and the process proceeds to step s209. move on.

ステップs209はサービスインフォメーション(SI)上書きステップであって、このステップでは、メモリ12からTS103を読み出したうえで、読み出したTS103のセクションの一部、またはすべてに対してデータの上書きを行ってTS106を生成する。具体的には、例えばPMTに含まれる記述子の1つであるデジタルコピー制御記述子におけるデジタルレコーディングコントロールデータのみに上書きを実施する。ステップs209はこの処理をソフトウェア構成により実施する。ステップs209でTS106を生成したのちステップs210に進む。   Step s209 is a service information (SI) overwriting step. In this step, the TS 103 is read from the memory 12, and the data is overwritten on a part or all of the section of the read TS 103 to set the TS 106. Generate. Specifically, for example, overwriting is performed only on digital recording control data in a digital copy control descriptor which is one of descriptors included in the PMT. In step s209, this process is performed by a software configuration. After generating the TS 106 in step s209, the process proceeds to step s210.

ステップs210はメモリ格納ステップであって、このステップでは、ステップs209で生成されたTS105をCPU12によってアクセス可能なメモリ12に格納する。なお、ソフトウェアサービスインフォメーション(SI)上書きステップs209に前後して実施するメモリ格納ステップs208,s210は、ソフトウェア処理であるサービスインフォメーション(SI)上書きステップs209が実行可能となるように、CPU11上で動作するソフトウェアでアクセス可能なメモリ12にTS103やTS105を一旦格納する処理である。   Step s210 is a memory storing step. In this step, the TS 105 generated in step s209 is stored in the memory 12 accessible by the CPU 12. The memory storage steps s208 and s210 performed before and after the software service information (SI) overwriting step s209 operate on the CPU 11 so that the service information (SI) overwriting step s209, which is software processing, can be executed. This process temporarily stores the TS 103 and TS 105 in the memory 12 accessible by software.

ステップ211は、パーシャルTS2出力ステップであって、このステップでは、メモリ12に格納されているTS105を読み出して、パーシャルトランスポートストリーム2(パーシャルTS2)として、タイムスタンプに従ってトランスポートストリーム処理装置の外部に出力する。タイムスタンプは、同期ステップs201において、予めトランスポートストリームパケット(TSP)に付与されている。ステップs211を実行すると一連の処理は終了する。   Step 211 is a partial TS2 output step. In this step, TS105 stored in the memory 12 is read out, and as a partial transport stream 2 (partial TS2), it is provided outside the transport stream processing apparatus according to the time stamp. Output. The time stamp is previously given to the transport stream packet (TSP) in the synchronization step s201. When step s211 is executed, the series of processing ends.

一方、ステップs204でフラグ111が有効と判定される場合に実行するステップs212はメモリ格納ステップであり、ステップs203で生成されるTS102をCPU11よりアクセス可能なメモリ12に格納してステップs213に進む。   On the other hand, step s212, which is executed when the flag 111 is determined to be valid in step s204, is a memory storing step. The TS generated in step s203 is stored in the memory 12 accessible from the CPU 11, and the process proceeds to step s213.

ステップs213はサービスインフォメーション(SI)置き換えステップであって、このステップでは、メモリ12から読み出したTS102に、番組情報格納セクションを含むトランスポートストリームパケット(TSP)を合成してTS105として出力する。ステップs213はこの処理をソフトウェア構成により実施する。ステップs213を遂行したのちはステップs214に進む。なお、ソフトウェアサービスインフォメーション(SI)置き換えステップs213に先行して実施するメモリ格納ステップs212は、ソフトウェア処理であるサービスインフォメーション(SI)置き換えステップs213が実行可能となるように、CPU11上で動作するソフトウェアでアクセス可能なメモリ12にTS102を一旦格納する処理である。   Step s213 is a service information (SI) replacement step. In this step, a transport stream packet (TSP) including a program information storage section is synthesized with TS102 read from memory 12, and output as TS105. In step s213, this process is performed by a software configuration. After performing step s213, the process proceeds to step s214. The memory storage step s212 performed prior to the software service information (SI) replacement step s213 is software that operates on the CPU 11 so that the service information (SI) replacement step s213, which is software processing, can be executed. This process temporarily stores the TS 102 in the accessible memory 12.

ステップs214は、サービスインフォメーション(SI)上書き切り替えステップであって、このステップでは、サービスインフォメーション(SI)上書き切り替えフラグ112が判定される。   Step s214 is a service information (SI) overwrite switching step, in which the service information (SI) overwrite switching flag 112 is determined.

ステップs214でフラグ112が有効と判断される場合、前述したステップs209の処理を実行することで、TS105のセクションの一部、またはすべてに対してデータの上書きを行ってTS106を生成する。   If it is determined in step s214 that the flag 112 is valid, the process of step s209 described above is executed, so that data is overwritten on part or all of the section of TS105 to generate TS106.

ステップs209を実行したのちは、さらに、ステップs210,s211の処理を実行することでパーシャルTS2を生成する。そして、生成したパーシャルTS2をトランスポートストリーム処理装置の外部に出力する。ステップs211の処理を実行すると一連の処理を終了する。   After executing step s209, the process of steps s210 and s211 is further executed to generate partial TS2. Then, the generated partial TS2 is output to the outside of the transport stream processing apparatus. When the process of step s211 is executed, the series of processes is terminated.

ステップs214でフラグ112が無効と判断される場合、ステップs209(ソフトウェアサービスインフォメーション(SI)上書き処理)を実施することなく、前述したステップs210,s211の処理を実行してパーシャルTS2を生成する。そして、生成したパーシャルTS2をトランスポートストリーム処理装置外に出力する。ステップs211の処理を実行すると一連の処理を終了する。   If it is determined in step s214 that the flag 112 is invalid, the process of steps s210 and s211 described above is executed without executing step s209 (software service information (SI) overwriting process) to generate a partial TS2. Then, the generated partial TS2 is output outside the transport stream processing apparatus. When the process of step s211 is executed, the series of processes is terminated.

前述した各設定を実施する場合、図2のフローチャートでは次のようにして処理が移行する。
第1の設定(フラグ111:無効、フラグ112:無効)
開始→ステップs201→ステップs202→ステップs203→ステップs204(フラグ111の無効判断)→ステップs205→ステップs206(フラグ112の無効判断)→ステップs207→終了
第2の設定(フラグ111:無効、フラグ112:有効)
開始→ステップs201→ステップs202→ステップs203→ステップs204(フラグ111の無効判断)→ステップs205→ステップs206(フラグ112の有効判断)→ステップs208→ステップs209→ステップs210→ステップs211→終了
第3の設定(フラグ111:有効、フラグ112:無効)
開始→ステップs201→ステップs202→ステップs203→ステップs204(フラグ111の有効判断)→ステップs212→ステップs213→ステップs214(フラグ112の無効判断)→ステップs210→ステップs211→終了
第4の設定(フラグ111:有効、フラグ112:有効)
開始→ステップs201→ステップs202→ステップs203→ステップs204(フラグ111の有効判断)→ステップs212→ステップs213→ステップs214(フラグ112の有効判断)→ステップs209→ステップs210→ステップs211→終了
このようにハードウェアによるサービスインフォメーション(SI)置き換え処理を行ったパーシャルTS1と、ソフトウェアによる別のサービスインフォメーション(SI)置き換え処理を行ったパーシャルTS2とを出力する事により、2種類のサービスインフォメーション(SI)置き換え処理(置き換え+上書き)実行したパーシャルトランスポートストリーム(PTS)を出力する実装が、ハードウェアによるサービスインフォメーション(SI)置き換え器の追加をすることなく可能となる。
When each setting described above is performed, the process proceeds as follows in the flowchart of FIG.
First setting ( flag 111: invalid, flag 112: invalid)
Start → Step s201 → Step s202 → Step s203 → Step s204 (determination of invalidity of flag 111) → Step s205 → Step s206 (determination of invalidation of flag 112) → Step s207 → End
Second setting ( flag 111: invalid, flag 112: valid)
Start → Step s201 → Step s202 → Step s203 → Step s204 (determination of flag 111) → Step s205 → Step s206 (determination of flag 112) → Step s208 → Step s209 → Step s210 → Step s211 → End
Third setting ( flag 111: valid, flag 112: invalid)
Start → Step s201 → Step s202 → Step s203 → Step s204 (valid determination of flag 111) → Step s212 → Step s213 → Step s214 (determination of invalidity of flag 112) → Step s210 → Step s211 → End
Fourth setting ( flag 111: valid, flag 112: valid)
Start → Step s201 → Step s202 → Step s203 → Step s204 (Validity determination of flag 111) → Step s212 → Step s213 → Step s214 (Validity determination of flag 112) → Step s209 → Step s210 → Step s211 → End Two types of service information (SI) replacement processing are performed by outputting a partial TS1 that has undergone hardware service information (SI) replacement processing and a partial TS2 that has undergone another service information (SI) replacement processing by software. (Replacement + Overwrite) Implementation of outputting executed partial transport stream (PTS) is a hardware service information (SI) replacer This is possible without any addition.

本発明の実施の形態に係るトランスポートストリーム処理装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the transport stream processing apparatus which concerns on embodiment of this invention. 実施の形態におけるフローチャートである。It is a flowchart in an embodiment. ストリームパケットの構成図である。It is a block diagram of a stream packet. 本発明のトランスポートストリーム処理装置の基本構成を示すブロック図である。It is a block diagram which shows the basic composition of the transport stream processing apparatus of this invention. 本発明のトランスポートストリーム処理装置の基本構成における処理フローチャートである。It is a process flowchart in the basic composition of the transport stream processing apparatus of this invention.

符号の説明Explanation of symbols

1 ハードウェアトランスポート分離器 6 状態判断器
11 CPU 12 外部メモリ
14 ソフトウェアトランスポート分離器
15 処理切り替え器 101 同期器
102 PIDフィルタ 103 デスクランブラ
104 サービスインフォメーション(SI)置き換え器
105 パーシャルTS出力器 106 出力器
107 サービスインフォメーション(SI)置き換え器
108 サービスインフォメーション(SI)上書き器
109 入力器 110 パーシャルTS出力器
DESCRIPTION OF SYMBOLS 1 Hardware transport separator 6 State judgment device 11 CPU 12 External memory 14 Software transport separator 15 Process switching device 101 Synchronizer 102 PID filter 103 Descrambler
104 Service Information (SI) Replacer 105 Partial TS Output Unit 106 Output Unit 107 Service Information (SI) Replace Unit 108 Service Information (SI) Overwrite Unit 109 Input Unit 110 Partial TS Output Unit

Claims (11)

複数の処理を実行することで、トランスポートストリーム(TS)から所望のデータを分離するトランスポートストリーム処理装置であって、
前記複数の処理の一部をハードウェア構成で実行するハードウェアトランスポートストリーム分離器と、
前記ハードウェアトランスポートストリーム分離器が担っていない前記複数の処理の残余の処理を、ソフトウェア構成で実行するソフトウェアトランスポートストリーム分離器と、
前記残余の処理を、前記ソフトウェアトランスポートストリーム分離器によって実行するか否かを切り替える処理切り替え器と、
を備えるトランスポートストリーム処理装置。
A transport stream processing apparatus that separates desired data from a transport stream (TS) by executing a plurality of processes,
A hardware transport stream separator that executes a part of the plurality of processes in a hardware configuration;
A software transport stream separator that performs the remaining processes of the plurality of processes not performed by the hardware transport stream separator in a software configuration;
A process switcher for switching whether or not the remaining process is executed by the software transport stream separator;
A transport stream processing apparatus comprising:
前記残余の処理は、前記トランスポートストリームのパケット(TSP)に含まれるセクションの一部もしくはすべてを上書きするサービスインフォメーション(SI)上書き処理である、
請求項1のトランスポートストリーム処理装置。
The remaining process is a service information (SI) overwrite process for overwriting a part or all of a section included in the packet (TSP) of the transport stream.
The transport stream processing apparatus according to claim 1.
前記ソフトウェアトランスポートストリーム分離器がソフトウェアとして動作するプロセッサと、
前記プロセッサ上で動作するソフトウェアがアクセス可能な記憶器と、
をさらに備え、
前記ハードウェアトランスポートストリーム分離器は、第1の出力器と入力器と第2の出力器とを備え、
前記第1の出力器は、前記処理切り替え器が前記ソフトウェアトランスポートストリーム分離器による前記残余の処理の実行を指示する際には、前記ソフトウェアトランスポートストリーム分離器が処理対象とする前記複数の処理の処理途中時のデータ(以下、処理途中データという)を読み出して前記記憶器に記憶させるものであり、
前記ソフトウェアトランスポートストリーム分離器は、前記処理切り替え器が前記ソフトウェアトランスポートストリーム分離器による前記残余の処理の実行を指示する際には、前記記憶器に記憶されている前記処理途中データを読み出して前記残余の処理を実行したうえで、処理済データを前記記憶器に記憶させるものであり、
前記入力器は、前記処理切り替え器が前記ソフトウェアトランスポートストリーム分離器による前記残余の処理の実行を指示する際には、前記記憶器に記憶されている前記処理済データを前記記憶器から読み出すものであり、
前記第2の出力器は、前記入力器が前記記憶器から読み出した前記処理済データを、当該トランスポートストリーム処理装置の出力データとして出力するものである、
請求項1のトランスポートストリーム処理装置。
A processor in which the software transport stream separator operates as software;
A memory accessible by software running on the processor;
Further comprising
The hardware transport stream separator includes a first output device, an input device, and a second output device,
The first output unit includes the plurality of processes to be processed by the software transport stream separator when the processing switch instructs the execution of the remaining processing by the software transport stream separator. Data in the middle of processing (hereinafter referred to as data in the middle of processing) is read and stored in the storage device,
The software transport stream separator reads the in-process data stored in the storage device when the processing switch instructs the execution of the remaining processing by the software transport stream separator. After the remaining processing is performed, the processed data is stored in the storage device,
The input device reads the processed data stored in the storage device from the storage device when the processing switch instructs the execution of the remaining processing by the software transport stream separator And
The second output device outputs the processed data read from the storage device by the input device as output data of the transport stream processing device.
The transport stream processing apparatus according to claim 1.
前記ハードウェアトランスポートストリーム分離器は、前記複数の処理それぞれを実行する構成として、
前記トランスポートストリーム(TS)からトランスポートストリームパケット(TSP)単位でデータを取り出す同期器と、
前記同期器でパケット単位で取り出された前記トランスポートストリームパケット(TSP)を識別データ(PID)に基づいてPIDフィルタリングするPIDフィルタリング器と、
PIDフィルタリングされたトランスポートストリームパケット(TSP)をデスクランブルするデスクランブル器と、
デスクランブルされたトランスポートストリームパケット(TSP)をパーシャルトランスポートストリーム(PTS)として出力する際に必要となるトランスポートストリームパケット(TSP)を作成して、前記デスクランブルされたトランスポートストリームパケット(TSP)に合成するサービスインフォメーション(SI)置き換え器と、
を備え、
前記ソフトウェアトランスポートストリーム分離器は、前記サービスインフォメーション(SI)置き換え器から出力されるトランスポートストリームパケット(TSP)に含まれるセクションの一部もしくはすべてを上書きして出力するサービスインフォメーション(SI)上書き器を備え、
前記第2の出力器が出力する前記処理済データは、前記サービスインフォメーション(SI)上書き器の出力である、
請求項3のトランスポートストリーム処理装置。
The hardware transport stream separator is configured to execute each of the plurality of processes,
A synchronizer for retrieving data from the transport stream (TS) in units of transport stream packets (TSP);
A PID filter that performs PID filtering on the transport stream packet (TSP) extracted in packet units by the synchronizer based on identification data (PID);
A descrambler for descrambling the PID filtered transport stream packet (TSP);
A transport stream packet (TSP) necessary for outputting the descrambled transport stream packet (TSP) as a partial transport stream (PTS) is created, and the descrambled transport stream packet (TSP) Service information (SI) replacer to be combined with
With
The software transport stream separator is a service information (SI) overwrite unit for overwriting and outputting a part or all of a section included in a transport stream packet (TSP) output from the service information (SI) replacer. With
The processed data output by the second output device is an output of the service information (SI) overwrite device.
The transport stream processing apparatus according to claim 3.
前記処理切り替え器は、当該トランスポートストリーム処理装置の操作者によりフラグ設定されるサービスインフォメーション(SI)上書き切り替えフラグを備え、前記サービスインフォメーション(SI)上書き切り替えフラグが有効な場合には前記サービスインフォメーション(SI)上書き器の動作の実行を指示し、無効な場合には前記サービスインフォメーション(SI)上書き器の動作の不実行を指示する、
請求項4のトランスポートストリーム処理装置。
The processing switching unit includes a service information (SI) overwrite switching flag that is flagged by an operator of the transport stream processing apparatus. When the service information (SI) overwrite switching flag is valid, the service information (SI) SI) Instructs execution of the operation of the overwrite device, and instructs non-execution of the operation of the service information (SI) overwrite device when invalid.
The transport stream processing apparatus according to claim 4.
複数の処理を実行することで、トランスポートストリーム(TS)から所望のデータを分離するトランスポートストリーム処理方法であって、
前記複数の処理の一部をハードウェア構成で実行するハードウェアトランスポートストリーム分離ステップと、
前記ハードウェアトランスポートストリーム分離ステップが担っていない前記複数の処理の残余の処理を、ソフトウェア構成で実行するソフトウェアトランスポートストリーム分離ステップと、
前記残余の処理を、前記ソフトウェアトランスポートストリーム分離ステップによって実行するか否かを切り替える処理切り替えステップと、
を含むトランスポートストリーム処理方法。
A transport stream processing method for separating desired data from a transport stream (TS) by executing a plurality of processes,
A hardware transport stream separation step for executing a part of the plurality of processes in a hardware configuration;
A software transport stream separation step for executing the remaining processes of the plurality of processes not performed by the hardware transport stream separation step in a software configuration;
A process switching step for switching whether or not the remaining process is executed by the software transport stream separation step;
A transport stream processing method including:
前記残余の処理は、前記トランスポートストリームのパケット(TSP)に含まれるセクションの一部もしくはすべてを上書きするサービスインフォメーション(SI)上書き処理である、
請求項6のトランスポートストリーム処理装置。
The remaining process is a service information (SI) overwrite process for overwriting a part or all of a section included in the packet (TSP) of the transport stream.
The transport stream processing apparatus according to claim 6.
前記ハードウェアトランスポートストリーム分離ステップは、第1の記憶ステップと、読み出しステップと、出力ステップとを含み、
ソフトウェアトランスポートストリーム分離ステップは、残余の処理実行ステップと、第2の記憶ステップとを含み、
前記第1の記憶ステップは、前記処理切り替えステップにおいて前記ソフトウェアトランスポートストリーム分離ステップによる前記残余の処理の実行が指示される際には、前記ソフトウェアトランスポートストリーム分離ステップが処理対象とする前記複数の処理の処理途中時のデータ(以下、処理途中データという)を読み出して記憶器に記憶するステップであり、
前記残余の処理実行ステップは、前記処理切り替えステップが前記ソフトウェアトランスポートストリーム分離ステップによる前記残余の処理の実行を指示する際には、前記記憶器に記憶している前記処理途中データを読み出して前記残余の処理を実行するステップであり、
前記第2の記憶ステップは、前記残余の処理実行ステップの処理済データを前記記憶器に記憶するステップであり、
前記読み出しステップは、前記処理切り替えステップが前記ソフトウェアトランスポートストリーム分離ステップによる前記残余の処理の実行を指示する際には、前記記憶器に記憶している前記処理済データを読み出すステップであり、
前記出力ステップは、前記記憶器から読み出した前記処理済データを当該トランスポートストリーム処理方法の出力データとして出力するステップである、
請求項6のトランスポートストリーム処理方法。
The hardware transport stream separation step includes a first storage step, a read step, and an output step;
The software transport stream separation step includes a remaining process execution step and a second storage step,
In the first storage step, when the execution of the remaining processing by the software transport stream separation step is instructed in the process switching step, the plurality of software transport stream separation steps are processing targets. It is a step of reading out data during processing (hereinafter referred to as data during processing) and storing it in a storage device,
When the processing switching step instructs the execution of the residual processing by the software transport stream separation step, the residual processing execution step reads out the intermediate processing data stored in the storage device and A step that performs the rest of the processing,
The second storage step is a step of storing the processed data of the remaining processing execution step in the storage device,
The reading step is a step of reading the processed data stored in the storage device when the processing switching step instructs execution of the remaining processing by the software transport stream separation step,
The output step is a step of outputting the processed data read from the storage device as output data of the transport stream processing method.
The transport stream processing method according to claim 6.
前記複数の処理ステップは、
前記トランスポートストリーム(TS)からトランスポートストリームパケット(TSP)単位でデータを取り出す同期ステップと、
前記トランスポートストリームパケット(TSP)を識別データ(PID)に基づいてPIDフィルタリングするPIDフィルタリングステップと、
PIDフィルタリングされたトランスポートストリームパケット(TSP)をデスクランブルするデスクランブルステップと、
デスクランブルされたトランスポートストリームパケット(TSP)をパーシャルトランスポートストリーム(PTS)として出力する際に必要となるトランスポートストリームパケット(TSP)を作成して、前記デスクランブルされたトランスポートストリームパケット(TSP)に合成するサービスインフォメーション(SI)置き換えステップと、
とを含み、
前記ソフトウェアトランスポートストリーム分離ステップは、前記サービスインフォメーション(SI)置き換えステップで処理されたトランスポートストリームパケット(TSP)に含まれるセクションの一部もしくはすべてを上書きして出力するサービスインフォメーション(SI)上書きステップを含み、
前記出力ステップが出力する前記処理済データは、前記サービスインフォメーション(SI)上書きステップの出力である、
請求項8のトランスポートストリーム処理方法。
The plurality of processing steps include:
A synchronization step of retrieving data from the transport stream (TS) in units of transport stream packets (TSP);
A PID filtering step of PID filtering the transport stream packet (TSP) based on identification data (PID);
A descrambling step for descrambling the PID filtered transport stream packet (TSP);
A transport stream packet (TSP) necessary for outputting the descrambled transport stream packet (TSP) as a partial transport stream (PTS) is created, and the descrambled transport stream packet (TSP) Service information (SI) replacement step to be combined with
Including
In the software transport stream separating step, a service information (SI) overwriting step of overwriting and outputting a part or all of a section included in the transport stream packet (TSP) processed in the service information (SI) replacing step. Including
The processed data output by the output step is an output of the service information (SI) overwriting step.
The transport stream processing method according to claim 8.
前記複数の処理の実行前に行う前処理として、操作者の操作に基づいて前記切り替えフラグのフラグを設定するステップをさらに含み、
前記処理切り替えステップは、前記切り替えフラグが有効な場合には前記ソフトウェアトランスポートストリーム分離ステップによる前記残余の処理の実行を指示し、無効な場合には前記ソフトウェアトランスポートストリーム分離ステップによる前記残余の処理の不実行を指示する、
請求項9のトランスポートストリーム処理方法。
As a pre-process to be performed before the execution of the plurality of processes, further includes a step of setting a flag of the switching flag based on an operation of an operator,
The process switching step instructs execution of the residual processing by the software transport stream separation step when the switching flag is valid, and the residual processing by the software transport stream separation step when invalid. Instructing the non-execution of the
The transport stream processing method according to claim 9.
トランスポートストリーム(TS)を含むデジタル放送を受信するチューナと、請求項1のトランスポートストリーム処理装置とを有するデジタル放送受信機。   A digital broadcast receiver comprising a tuner for receiving a digital broadcast including a transport stream (TS) and the transport stream processing device according to claim 1.
JP2005195263A 2004-07-22 2005-07-04 Apparatus and method for processing transport stream and digital broadcast receiver Pending JP2006060784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005195263A JP2006060784A (en) 2004-07-22 2005-07-04 Apparatus and method for processing transport stream and digital broadcast receiver

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004214414 2004-07-22
JP2005195263A JP2006060784A (en) 2004-07-22 2005-07-04 Apparatus and method for processing transport stream and digital broadcast receiver

Publications (1)

Publication Number Publication Date
JP2006060784A true JP2006060784A (en) 2006-03-02

Family

ID=36107851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005195263A Pending JP2006060784A (en) 2004-07-22 2005-07-04 Apparatus and method for processing transport stream and digital broadcast receiver

Country Status (1)

Country Link
JP (1) JP2006060784A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008187248A (en) * 2007-01-26 2008-08-14 Toshiba Corp Stream reproducing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008187248A (en) * 2007-01-26 2008-08-14 Toshiba Corp Stream reproducing device
JP4682159B2 (en) * 2007-01-26 2011-05-11 富士通東芝モバイルコミュニケーションズ株式会社 Stream playback device

Similar Documents

Publication Publication Date Title
JP7386463B2 (en) Transmission method, reception method, transmission device and reception device
JP3599681B2 (en) Device for demultiplexing transport streams
US7974316B2 (en) Receiving apparatus for digital broadcasting signal and receiving/recording/reproducing apparatus thereof
JP2019118076A (en) Packet conversion device
KR100555658B1 (en) Stream decoder
JP4349533B2 (en) Flexible multiplexed signal transmission system
US8861519B2 (en) Data filtering apparatus and data filtering method
US20060018340A1 (en) Transport stream processing apparatus
US8064453B2 (en) Transport stream processing apparatus
US20060034273A1 (en) Transport stream processing apparatus
JP2006060784A (en) Apparatus and method for processing transport stream and digital broadcast receiver
EP1605687B1 (en) System for receiving packet streams
JP7443076B2 (en) receiving device
JP3769477B2 (en) Demultiplexing circuit
JP2006060783A (en) Transport stream processing apparatus
JP2006279529A (en) Device and method for generating terrestrial digital teletext signal
JP7443075B2 (en) transmitting device
KR101141644B1 (en) Apparatus and Method of PSI converting
EP1965587A2 (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
JP3978699B2 (en) Separation apparatus and method, and reception apparatus and method
CN113475087A (en) Transmitting/receiving method and transmitting/receiving device
JP2001157156A (en) Digital broadcasting receiver
JP2003229906A (en) Transport stream processing apparatus and method
JP2005072916A (en) Device and method for processing transport stream, and digital broadcasting receiver
JPWO2009147776A1 (en) Transport stream recording / transmission method and apparatus