JP2009284353A - Receiver and receiving method - Google Patents
Receiver and receiving method Download PDFInfo
- Publication number
- JP2009284353A JP2009284353A JP2008135968A JP2008135968A JP2009284353A JP 2009284353 A JP2009284353 A JP 2009284353A JP 2008135968 A JP2008135968 A JP 2008135968A JP 2008135968 A JP2008135968 A JP 2008135968A JP 2009284353 A JP2009284353 A JP 2009284353A
- Authority
- JP
- Japan
- Prior art keywords
- section
- data
- monitoring flag
- filter
- version number
- 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.)
- Withdrawn
Links
Images
Landscapes
- Circuits Of Receivers In General (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、受信装置及び受信方法に関する。詳しくは、受信データに含まれるセクションの消滅を監視する受信装置及び受信方法に関する。 The present invention relates to a receiving apparatus and a receiving method. Specifically, the present invention relates to a receiving apparatus and a receiving method for monitoring disappearance of a section included in received data.
MPEG2−System(Moving Picture Experts Group2−System)規格では、1のストリームの中に1の番組(プログラム)が構成されるプログラムストリーム(PS)や、1のストリームの中に複数の番組(プログラム)が構成されるトランスポートストリーム(TS)が使用される。トランスポートストリームは、TSパケットが複数含まれて構成され、TSパケットのデータ部にはセクションが含まれる。セクションを含むデータは周期的に再送され、セクションヘッダに記述されるバージョン番号は、セクションの内容が更新された場合に変化する。 In the MPEG2-System (Moving Picture Experts Group 2-System) standard, a program stream (PS) in which one program (program) is configured in one stream, and a plurality of programs (programs) are included in one stream. A configured transport stream (TS) is used. The transport stream is configured by including a plurality of TS packets, and the data portion of the TS packet includes a section. The data including the section is retransmitted periodically, and the version number described in the section header changes when the section contents are updated.
従来、デマルチプレクサでは、セクションヘッダに記述されるバージョン番号が更新されたことを検出できるようにフィルタ設定を行い、セクションフィルタリング処理を行う技術がある(例えば、特許文献1参照)。この技術では、セクションのフィルタリングを行う場合には、既に取得済みのセクションと同じバージョン番号を指定する。そして、指定したバージョン番号と受信データに含まれるセクションのセクションヘッダに記述されているバージョン番号との比較を行う。バージョン番号が一致した場合には、既に取得済みのセクションと内容が重複するため、フィルタリングを行うことによって、受信データに含まれるセクションを冗長なセクションとして破棄する。 Conventionally, a demultiplexer has a technique for performing section filtering processing by setting a filter so that it can be detected that a version number described in a section header has been updated (see, for example, Patent Document 1). In this technique, when section filtering is performed, the same version number as the already acquired section is designated. Then, the specified version number is compared with the version number described in the section header of the section included in the received data. If the version numbers match, the content of the already acquired section is duplicated. Therefore, by filtering, the section included in the received data is discarded as a redundant section.
しかしながら、実際には、PAT(Program Association Table)、PMT(Program Map Table)等といった所定のセクションについては、デマルチプレクサにおいて、バージョン番号の不一致をフィルタ条件には設定しない。デマルチプレクサが毎回データを取得した後、メモリバスを介してメモリにデータを転送し、制御部(プロセッサ)がメモリからデータを取得してフィルタリングを行う。このような処理を行う理由は、プロセッサにおいて、セクションがデマルチプレクサによるフィルタリングによって破棄されている場合とトランスポートストリーム内に存在しなくなった場合との区別を行うことができないからである。ここで、セクションがトランスポートストリーム内に存在しなくなるとは、セクションが消滅したことを意味する。例えば、トランスポートストリーム内にPATが存在しない場合、受信装置側では、受信可能なストリームが存在しないか、あるいは、送出システムが正常動作していないと判断する(ARIB TR−B14 第4編 テーブル運用詳細 30.1)。 However, in actuality, in a predetermined section such as PAT (Program Association Table), PMT (Program Map Table), etc., the version number mismatch is not set as a filter condition in the demultiplexer. After the demultiplexer acquires the data every time, the data is transferred to the memory via the memory bus, and the control unit (processor) acquires the data from the memory and performs filtering. The reason for performing such processing is that the processor cannot distinguish between the case where the section is discarded by filtering by the demultiplexer and the case where the section no longer exists in the transport stream. Here, the section no longer exists in the transport stream means that the section has disappeared. For example, if there is no PAT in the transport stream, the receiving apparatus determines that there is no receivable stream or that the transmission system is not operating normally (ARIB TR-B14, Volume 4, Table Operation). Details 30.1).
このような技術によれば、プロセッサにおいてセクションの消滅を監視できるが、デマルチプレクサにおいてフィルタリングを行わないため、メモリに対する冗長なデータ転送が行われるという問題があった。また、プロセッサにおいては、メモリにデータ転送がされた旨の通知を受けると、セクションの消滅を監視するために、メモリからデータを取得して解析するという冗長な処理が行われるという問題があった。 According to such a technique, the disappearance of the section can be monitored in the processor, but since there is no filtering in the demultiplexer, there is a problem that redundant data transfer to the memory is performed. In addition, when the processor receives a notification that data has been transferred to the memory, there is a problem in that redundant processing is performed to acquire and analyze data from the memory in order to monitor the disappearance of the section. .
本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、受信データに含まれるセクションの消滅を監視することが可能であり、メモリに対する冗長なデータ転送とプロセッサによる冗長なデータ解析とを低減することが可能な、新規かつ改良された受信装置及び受信方法を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to monitor the disappearance of a section included in received data, and to perform redundant data transfer to a memory and a processor. It is an object of the present invention to provide a new and improved receiving apparatus and receiving method capable of reducing redundant data analysis.
上記目的を達成するために、本発明のある観点によれば、受信されたデータに含まれる所定の情報であるセクションが消滅したことを示す値がセットされた監視フラグを記憶する監視フラグ記憶部と、前回受信されたデータに含まれていたセクションのバージョンを示す前回バージョン番号を記憶するフィルタ情報記憶部と、受信されたデータに含まれるセクションが入力されると、監視フラグをクリアするとともに、セクションに含まれたバージョン番号と前回バージョン番号とが一致するか否かを判定し、一致すると判定した場合には、セクションを破棄し、一致しないと判定した場合には、セクションをメモリに転送するフィルタ処理部と、メモリからセクションを取得可能にされ、所定の時間ごとに監視フラグを監視し、監視した結果において監視フラグがクリアされていると判定した場合には、監視フラグをリセットし、監視フラグがセットされていると判定した場合には、セクションが消滅したことを検出する制御部と、を備える、受信装置が提供される。 In order to achieve the above object, according to an aspect of the present invention, a monitoring flag storage unit stores a monitoring flag in which a value indicating that a section, which is predetermined information included in received data, has disappeared is set. When the filter information storage unit that stores the previous version number indicating the version of the section included in the previously received data and the section included in the received data are input, the monitoring flag is cleared, Determines whether the version number contained in the section matches the previous version number. If it is determined that it matches, the section is discarded, and if it does not match, the section is transferred to memory. Sections can be acquired from the filter processing unit and memory, and the monitoring flag is monitored every predetermined time. If it is determined that the monitoring flag is cleared in, the monitoring flag is reset, and if it is determined that the monitoring flag is set, a control unit that detects that the section has disappeared, and A receiving device is provided.
また、上記受信装置は、上記制御部からセクションが消滅したことを検出した旨の通知を受け付けると、セクションが消滅している旨を示すメッセージを作成し、ビデオに出力する表示処理部をさらに備えることとしてもよい。 In addition, the reception device further includes a display processing unit that generates a message indicating that the section has disappeared and outputs the message to the video upon receiving a notification from the control unit that the section has disappeared. It is good as well.
また、上記目的を達成するために、本発明の別の観点によれば、フィルタ処理部が、受信されたデータに含まれる所定の情報であるセクションが入力されると、セクションが消滅したことを示す値がセットされた監視フラグを記憶する監視フラグ記憶部に記憶された監視フラグをクリアするとともに、セクションに含まれたバージョン番号と、前回受信されたデータに含まれていたセクションのバージョンを示す前回バージョン番号を記憶するフィルタ情報記憶部に記憶された前回バージョン番号とが一致するか否かを判定し、一致すると判定した場合には、セクションを破棄し、一致しないと判定した場合には、セクションをメモリに転送するステップと、メモリからセクションを取得可能にされた制御部が、所定の時間ごとに監視フラグを監視し、監視した結果において監視フラグがクリアされていると判定した場合には、監視フラグをリセットし、監視フラグがセットされていると判定した場合には、セクションが消滅したことを検出するステップと、を含む、受信方法が提供される。 In order to achieve the above object, according to another aspect of the present invention, when a section, which is predetermined information included in received data, is input to the filter processing unit, the section is deleted. Clears the monitoring flag stored in the monitoring flag storage unit that stores the monitoring flag in which the indicated value is set, and indicates the version number included in the section and the version of the section included in the previously received data It is determined whether or not the previous version number stored in the filter information storage unit that stores the previous version number matches.If it is determined to match, the section is discarded. The step of transferring the section to the memory, and the control unit capable of acquiring the section from the memory are monitored flags every predetermined time. Monitoring and resetting the monitoring flag if it is determined that the monitoring flag is cleared in the monitoring result, and detecting that the section has disappeared if it is determined that the monitoring flag is set And a receiving method is provided.
本発明によれば、受信データに含まれるセクションの消滅を監視することが可能であり、メモリに対する冗長なデータ転送とプロセッサによる冗長なデータ解析とを省略することが可能な、受信装置及び受信方法を提供することが可能となる。 According to the present invention, it is possible to monitor the disappearance of a section included in received data, and it is possible to omit redundant data transfer to a memory and redundant data analysis by a processor, and a receiving apparatus and a receiving method Can be provided.
以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書および図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the present specification and drawings, components having substantially the same functional configuration are denoted by the same reference numerals, and redundant description is omitted.
図1は、一般的な受信装置の構成を示す図である。図1を参照して、一般的な受信装置の構成について説明する。 FIG. 1 is a diagram illustrating a configuration of a general receiving apparatus. With reference to FIG. 1, the structure of a general receiving apparatus will be described.
受信装置10は、外部から信号を受信する装置であり、例えば、デジタル放送受信装置である。図1に示すように、受信装置10は、アンテナ110と、チューナ120と、デモジュレータ130と、デスクランブラ140と、デマルチプレクサ150と、MPEGビデオデコーダ160と、MPEGオーディオデコーダ161とを備えている。また、受信装置10は、バス170と、プロセッサ171と、メモリ172とを備えている。
The receiving device 10 is a device that receives a signal from the outside, and is, for example, a digital broadcast receiving device. As shown in FIG. 1, the receiving apparatus 10 includes an antenna 110, a
アンテナ110は、外部から信号を受信して、チューナ120に出力するものである。ここで、信号とは、RF(Radio Frequency)信号である。
The antenna 110 receives a signal from the outside and outputs it to the
チューナ120は、ユーザによって指定された周波数(番組)の信号を受信し、デモジュレータ130に出力するものである。
The
デモジュレータ130は、チューナ120から入力された信号に対して、A/D(Analog to Digital)変換およびエラー訂正処理等のデジタル復調処理を行う。デモジュレータ130は、復調によって取得したデータをデスクランブラ140に出力する。ここでは、復調によって取得したデータは、例えば、MPEG2−TS形式のデータであり、例えば、トランスポートストリームのデータである。
The
デスクランブラ140は、デモジュレータ130から入力されたデータ(受信データ)のデータ部にかけられたスクランブルを解いて、解いた後のデータをデマルチプレクサ150に出力するものである。日本のデジタル放送を例にすると、TSパケットのデータ部にはMulti2によるスクランブル処理が施されている。したがって、例えば、デスクランブラ140は、デモジュレータ130からトランスポートストリームのデータを受信すると、そのデータ部にかけられたスクランブルを解いて、デマルチプレクサ150に出力する。このように、デスクランブラ140は、TSパケットのデータ部にスクランブル処理が施されている場合に必要となる。TSパケットについては、図3を参照して後述する。
The
デマルチプレクサ150は、デスクランブラ140から入力されたデータ(受信データ)の中から所定のデータを分離するものである。デマルチプレクサ150は、デスクランブラ140から多重化されたTSパケットが入力された場合には、入力されたTSパケットの中から所定のパケットに対して分離を行う。そして、分離して得られた映像圧縮データをMPEGビデオデコーダ160に、分離して得られた音声圧縮データをMPEGオーディオデコーダ161に出力する。また、デマルチプレクサ150は、分離して得られたPSI(Program Specific Information)データを、バス170を介してメモリ172に送信する。
The
MPEGビデオデコーダ160は、デマルチプレクサ150から入力された映像圧縮データの復号を行い、映像データを生成し、映像データに基づいた映像を出力するビデオに出力する。
The MPEG
MPEGオーディオデコーダ161は、デマルチプレクサ150から入力された音声圧縮データの復号を行い、音声データを生成し、音声データに基づいた音声を出力するオーディオに出力する。
The
バス170は、デマルチプレクサ150や、プロセッサ171、メモリ172等がデータを交換する際に使用される経路である。
The bus 170 is a path used when the
プロセッサ171は、制御部の一例として機能するものであり、例えば、CPU(Central Processing Unit)によって構成され、メモリ172に格納されたプログラムを実行することによってその機能を実現する。
The
メモリ172は、データを記憶するものであり、例えば、RAM(Random Access Memory)によって構成される。
The
図2は、一般的なデマルチプレクサの構成を示す図である。図2を参照して、一般的なデマルチプレクサの構成について説明する。 FIG. 2 is a diagram illustrating a configuration of a general demultiplexer. The configuration of a general demultiplexer will be described with reference to FIG.
TSインタフェース部151は、デスクランブラ140からデータの入力を受け付け、入力を受け付けたデータをPIDフィルタ部152に出力するものである。
The
PIDフィルタ部152は、PID比較部153と、PID抽出部154とを備えて構成されている。PIDフィルタ部152は、PID比較部153による比較の結果、TSインタフェース部151から入力されたデータが抽出すべきTSパケットであると判断した場合には、TSパケットの形式に応じた出力先にデータを出力する。
The
PIDフィルタ部152は、抽出すべきであると判断したTSパケットが、ビデオやオーディオ等のPES形式のデータを含む場合には、TSインタフェース部151から入力されたTSパケットをPESパーサ部158に出力する。また、PIDフィルタ部152は、抽出すべきであると判断したTSパケットが、セクション形式のデータ(セクション)を含む場合には、TSインタフェース部151から入力されたTSパケットをセクションフィルタ部155に出力する。セクション形式については、図4を参照して後述する。さらに、PIDフィルタ部152は、抽出すべきであると判断したTSパケットが、PCR形式のデータを含む場合には、TSインタフェース部151から入力されたTSパケットをPCRパーサ部159に出力する。
The
PID抽出部154は、TSインタフェース部151から入力されたデータの中からPID値を抽出して、抽出したPID値をPID比較部153に出力するものである。PID抽出部154は、TSインタフェース部151から多重化されたTSパケットが入力された場合には、そのTSパケットの中から、PID値を抽出して、抽出したPID値をPID比較部153に出力する。
The
PID比較部153は、PID抽出部154から入力されたPID値と、抽出対象となるTSパケットに対応するPID値とを比較するものである。抽出対象となるTSパケットに対応するPID値は、ホスト(プロセッサ171(図1参照))によってあらかじめPID比較部153に設定されている。
The
PESパーサ部158は、PIDフィルタ部152からTSパケットが入力されると、TSヘッダが除かれたPES形式のデータとして、映像圧縮データをMPEGビデオデコーダ160に、音声圧縮データをMPEGオーディオデコーダ161に出力する。
When a TS packet is input from the
PCRパーサ部159は、PIDフィルタ部152からTSパケットが入力されると、TSヘッダが除かれたPCR形式のデータとして、STC(System Time Clock)制御部162に出力する。
When the TS packet is input from the
セクションフィルタ部155は、フィルタ処理部156と、フィルタ情報記憶部157とを備えて構成されている。
The
フィルタ処理部156は、PIDフィルタ部152からTSパケットが入力されると、フィルタ情報記憶部157に記憶されているフィルタ情報に基づいて、TSパケットに含まれるセクションが取得対象のセクションであるか否かを選択するものである。選択されたTSパケットは、TSヘッダが除かれたセクション形式のデータ(セクション)として、メモリ172に転送され、蓄えられる。
When the TS packet is input from the
フィルタ情報記憶部157は、フィルタ情報を記憶するものである。フィルタ情報については、図5及び図6を参照して後述する。
The filter
図3は、デマルチプレクサに入力されるデータの構成例を示す図である。図3を参照して、デマルチプレクサに入力されるデータの一例について説明する。 FIG. 3 is a diagram illustrating a configuration example of data input to the demultiplexer. An example of data input to the demultiplexer will be described with reference to FIG.
図3に示すように、デマルチプレクサ150に入力されるTSパケット200は、例えば、188バイトの固定長パケットで形成されている。TSパケット200には、パケットの先頭を示す同期情報210が含まれており、パケットの固定の位置に、例えば13ビットからなるパケット識別番号(PID214)が含まれている。PID214は、TSパケット200のデータ部218に含まれるデータがどのような種類のデータであるかを分類するために割り当てられている。例えば、PID214に0x0000が設定されていればPATのデータであることを示し、0x0001が設定されていればCAT(Conditional Access Table)のデータであることを示す。TSパケット200のデータ部218には、例えば、セクションが含まれている。
As shown in FIG. 3, the
その他、TSパケット200に含まれる各項目について説明するが、これらの項目のうち、いずれの組み合わせが含まれるかについては特に限定されるものではない。
In addition, although each item contained in
トランスポートエラーインジケータ211は、TSパケット200内のビットエラーの有無を示すフラグである。
The
ペイロードユニット開始インジケータ212は、例えば、1が設定されているとき、本TSパケット200のペイロードの開始点がPESパケットの開始点、又はポインタであることを示すものである。
The payload
トランスポート優先度213は、同一のPID214の値を持つパケットの中での優先度を示すフラグである。
The
トランスポートスクランブル制御215は、TSパケット200のペイロードのスクランブルモードを識別するのに使用する領域である。
The
アダプテーションフィールド制御216は、アダプテーションフィールド部/データ部218の構成を示すために使用する領域である。
The
連続性指標217は、同一のPID214の値を持つTSパケット200の順序を指定する領域である。
The
アダプテーションフィールド部218は、ITU−T(International Telecommunication Union Telecommunication Standardization Sector)勧告H.222.0に従い、設定されるものである。
The
図4は、セクション形式の一例を示す図である。図4を参照して、セクション形式について説明する。ここで、セクションとは、受信データに含まれる所定の情報であるが、例えば、所定の番組を選択するための情報(PSI)や、番組に関するサービス情報(SI)等である。セクション形式とは、セクションのデータ形式である。 FIG. 4 is a diagram illustrating an example of a section format. The section format will be described with reference to FIG. Here, the section is predetermined information included in the received data, and is, for example, information (PSI) for selecting a predetermined program, service information (SI) related to the program, or the like. The section format is a section data format.
図4に示すように、セクション形式には、例えば、通常形式(図4(a)参照)、拡張形式(図4(b)参照)等がある。これらを区別するために、セクションシンタクス指示312が、通常形式の場合は0、拡張形式の場合は1と定められている。MPEG2−TS規格では、PATやPMT等のデータは拡張形式で定義されている。拡張形式のセクションでは、テーブル識別子311から最終セクション番号320までの8バイトをセクションヘッダとしており、セクションフィルタ部155では、8バイトのセクションヘッダのフィルタリングを行っている。
As shown in FIG. 4, the section format includes, for example, a normal format (see FIG. 4A), an expanded format (see FIG. 4B), and the like. In order to distinguish these, the
その他、セクション形式に含まれる各項目について説明するが、これらの項目のうち、いずれの組み合わせが含まれるかについては特に限定されるものではない。 In addition, although each item contained in a section format is demonstrated, it is not specifically limited about which combination is included among these items.
通常形式(図4(a)参照)には、テーブル識別子311、セクションシンタクス指示312、不使用領域313、セクション長314及びテーブル識別子拡張315が含まれている。これらについて説明する。
The normal format (see FIG. 4A) includes a
テーブル識別子311は、セクションが属するテーブル(セクションの種類)を識別するために使用する領域である。例えば、テーブル識別子311に0x00が設定されていれば、PATのセクションであることを示す。
The
不使用領域313は、使用されない領域であるが、例えば、111が設定されることと定めておく。
The
セクション長314は、セクション長領域より後に続くデータバイト数を書き込む領域である。
The
データ321は、データが書き込まれる領域である。
拡張形式(図4(b)参照)には、通常形式(図4(a)参照)に含まれる項目の他、テーブル識別子拡張315、不使用領域316、バージョン番号317、カレントネクスト指示318、セクション番号319、最終セクション番号320及びCRC322が含まれている。これらについて説明する。
In the extended format (see FIG. 4B), in addition to the items included in the normal format (see FIG. 4A), a
テーブル識別子拡張315は、テーブル識別子311の拡張を行う領域である。
The
不使用領域316は、使用されない領域であるが、例えば、111が設定されることと定めておく。
The
バージョン番号317は、テーブルのバージョン番号を書き込む領域である。同一内容のセクションに対しては、同一の番号が設定され、内容が更新されたセクションに対しては、更新前のセクションに対して設定されていた番号とは異なる番号(例えば、1加算した番号)が設定される。
The
カレントネクスト指示318は、例えば、テーブルが現在使用可能である場合には1とし、テーブルが現在使用不可であり、次に有効となることを示す場合には0とする。
The current
セクション番号319は、テーブルを構成するセクション番号を書き込む領域である。
The
最終セクション番号320は、テーブルを構成する最後のセクション番号を書き込む領域である。
The
CRC(Cyclic Redundancy Check)322は、ITU−T(International Telecommunication Union Telecommunication Standardization Sector)勧告H.222.0に従い付加される、巡回冗長検査符号である。 CRC (Cyclic Redundancy Check) 322 is an ITU-T (International Telecommunication Union Telecommunication Standardization Sector) recommendation. This is a cyclic redundancy check code added according to 222.0.
図5は、一般的なセクションのフィルタ処理例を模式的に示す図である。図5を参照して(適宜図2参照)、一般的なセクションのフィルタ処理例について説明する。 FIG. 5 is a diagram schematically illustrating an example of a general section filtering process. An example of general section filtering will be described with reference to FIG. 5 (see FIG. 2 as appropriate).
図5に示すように、フィルタ情報記憶部157に記憶されているフィルタ情報には、例えば、フィルタパターン420と、マッチパターン430と、ミスマッチパターン440と、マスクパターン450とが含まれる。
As illustrated in FIG. 5, the filter information stored in the filter
入力データ410は、TSパケット200(図3参照)内に多重化されているセクションヘッダ(図4(b)参照)を示し、セクションフィルタ部155で抽出される。
フィルタパターン420は、フィルタ処理部156によるフィルタ処理において、入力データ410と一致比較又は不一致比較される対象となる情報である。
The
マッチパターン430は、フィルタパターン420に設定したデータを一致で比較することを選択するために使用する情報である。
The
ミスマッチパターン440は、フィルタパターン420に設定したデータを不一致で比較することを選択するために使用する情報である。
The
マスクパターン450は、フィルタパターン420に設定したデータを比較するか否かを選択するために使用する情報である。
The
一致比較を行う側では、フィルタ処理部156は、入力データ410から一致検出を行うデータを取り出す。また、フィルタ処理部156は、フィルタパターン420からも一致検出を行うデータを取り出す。フィルタ処理部156は、双方のデータが一致した場合、結果は成立、不一致の場合は不成立となる。
On the coincidence comparison side, the
不一致比較を行う側では、フィルタ処理部156は、入力データ410から不一致検出を行うデータを取り出す。また、フィルタ処理部156は、フィルタパターンからも不一致検出を行うデータを取り出す。フィルタ処理部156は、双方のデータが一致の場合、結果は不成立、不一致の場合は成立となる。但し、不一致比較が全く行われない場合に限り、不一致比較の結果は成立とみなす。
On the side where the mismatch comparison is performed, the
一致比較を行う側と不一致比較を行う側とにおいて、双方とも結果が成立であった場合、取得すべきセクションと判断される。その他の場合には、破棄すべきセクションと判断される。セクションのフィルタリングは、セクション形式のデータ(セクション)が埋め込まれたTSパケットがセクションフィルタ部155に入力された場合に処理が行われる。フィルタリングの結果、セクションを取得した場合には、フィルタ処理部156は、プロセッサ171にセクションを取得した旨の通知をする。セクションを破棄した場合には、原則として、フィルタ処理部156は、プロセッサ171に通知をしない。
If both the side performing the coincidence comparison and the side performing the non-coincidence comparison are successful, the section is determined to be acquired. In other cases, it is determined that the section should be discarded. Section filtering is performed when a TS packet in which section format data (section) is embedded is input to the
図6は、一般的なセクションのフィルタ設定例を示す図である。図6を参照して(適宜図2参照)、一般的なセクションのフィルタ設定例について説明する。 FIG. 6 is a diagram illustrating a filter setting example of a general section. A general section filter setting example will be described with reference to FIG. 6 (see FIG. 2 as appropriate).
図6(a)は、セクションの内容が更新されたことを検出する場合のフィルタ設定例を示すものである。テーブル識別子311等のテーブル毎に固有のデータには、一致を比較するフィルタ条件を設定する。セクションの内容が更新されたことをバージョン番号317で検出するため、バージョン番号317のデータには不一致を比較するフィルタ条件を設定する。
FIG. 6A shows an example of filter setting when detecting that the contents of a section are updated. A filter condition for comparing coincidence is set for data unique to each table such as the
図6(b)は、セクションの消滅を監視する場合のフィルタ設定例を示すものである。テーブル毎に固有のデータのみ一致を比較するフィルタ条件を設定する。 FIG. 6B shows a filter setting example when monitoring the disappearance of a section. Set a filter condition for comparing only the unique data for each table.
図7は、一般的なセクションのフィルタ処理例の流れを示すフローチャートであり、図6(a)に示したフィルタ設定例に示したようにセクションのフィルタを設定した場合におけるフィルタ処理の流れを示すフローチャートである。図7を参照して(適宜図2及び図6参照)、一般的なフィルタ処理部が行うセクションのフィルタ処理例について説明する。 FIG. 7 is a flowchart showing the flow of a general section filter processing example, and shows the flow of the filter processing when the section filter is set as shown in the filter setting example shown in FIG. It is a flowchart. With reference to FIG. 7 (refer to FIGS. 2 and 6 as appropriate), an example of section filtering performed by a general filter processing unit will be described.
フィルタ処理部156は、PIDフィルタ部152からTSパケットの入力を受け付けると(ステップS101)、セクションフィルタを開始する(ステップS102)。続いて、フィルタ処理部156は、テーブル識別子311が一致するか否かを判定する(ステップS103)。この判定では、TSパケット内のテーブル識別子311とフィルタ情報記憶部157に記憶されているフィルタパターン420に設定されたテーブル識別子311とを比較する。フィルタ処理部156は、一致しないと判定した場合には(ステップS103で「NO」)、TSパケット内のセクションを破棄して(ステップS107)、ステップS101に戻る。
When receiving an input of a TS packet from the PID filter unit 152 (step S101), the
フィルタ処理部156は、一致すると判定した場合には(ステップS103で「YES」)、バージョン番号が一致するか否かを判定する(ステップS104)。この判定では、TSパケット内のバージョン番号317とフィルタ情報記憶部157に記憶されているフィルタパターン420に設定されたバージョン番号317とを比較する。フィルタ処理部156は、一致すると判定した場合には(ステップS104で「YES」)、セクションを破棄して(ステップS107)、ステップS101に戻る。ここで、セクションを破棄するのは、バージョン番号の一致によって、TSパケット内のセクションの内容が、前回入力されたTSパケット内のセクションの内容から更新されていないと判断できるからである。
If it is determined that they match (“YES” in step S103), the
フィルタ処理部156は、一致しないと判定した場合には(ステップS104で「NO」)、セクションを取得して(ステップS105)、メモリ172にデータを転送し(ステップS106)、ステップS101に戻る。ここで、セクションを取得するのは、バージョン番号の不一致によって、TSパケット内のセクションの内容が、前回入力されたTSパケット内のセクションの内容から更新されたと判断できるからである。フィルタ処理部156は、セクションの取得とともに、TSパケット内のバージョン番号を、前回受信されたデータに含まれていたセクションのバージョンを示す前回バージョン番号として記憶し、次回以降の比較に用いる。記憶先は、フィルタ情報記憶部157に記憶されているフィルタパターン420に設定されたバージョン番号317である。また、ここで転送されるデータは、例えば、TSヘッダが除かれたセクション形式のデータ(セクション)である。フィルタ処理部156は、データの転送とともに、プロセッサ171に対して、メモリ172にデータを転送した旨を通知することとしてもよい。
If it is determined that they do not match (“NO” in step S104), the
以上の処理によれば、受信したデータに含まれるセクションの内容が前回から更新されていない場合には、メモリ172にデータ転送を行う必要がない。また、メモリ172に転送されるのは、セクションの内容が更新されたデータであるので、プロセッサ171において、セクションの内容が更新されたか否かを解析する必要がない。したがって、メモリ172に対する冗長なデータ転送とプロセッサ171による冗長なデータ解析とを低減できる。しかし、プロセッサ171において、メモリ172にデータが転送されない原因が、フィルタ処理部156によるセクション破棄であるのか、セクション消滅であるのかについて特定できない。
According to the above processing, when the content of the section included in the received data has not been updated since the previous time, it is not necessary to transfer data to the
図8は、一般的なセクションのフィルタ処理例の流れを示すフローチャートであり、図6(b)に示したフィルタ設定例に示したようにセクションのフィルタを設定した場合におけるフィルタ処理の流れを示すフローチャートである。図8を参照して(適宜図2及び図6参照)、一般的なフィルタ処理部が行うセクションのフィルタ処理例について説明する。 FIG. 8 is a flowchart showing the flow of a general section filter processing example, and shows the flow of the filter processing when the section filter is set as shown in the filter setting example shown in FIG. 6B. It is a flowchart. With reference to FIG. 8 (see FIGS. 2 and 6 as appropriate), an example of section filtering performed by a general filtering unit will be described.
フィルタ処理部156は、PIDフィルタ部152からTSパケットの入力を受け付けると(ステップS201)、セクションフィルタを開始する(ステップS202)。続いて、フィルタ処理部156は、テーブル識別子311が一致するか否かを判定する(ステップS203)。この判定では、TSパケット内のテーブル識別子311とフィルタ情報記憶部157に記憶されているフィルタパターン420に設定されたテーブル識別子311とを比較する。フィルタ処理部156は、一致しないと判定した場合には(ステップS203で「NO」)、TSパケット内のセクションを破棄して(ステップS206)、ステップS201に戻る。
When receiving an input of a TS packet from the PID filter unit 152 (step S201), the
フィルタ処理部156は、一致すると判定した場合には(ステップS203で「YES」)、セクションを取得して(ステップS204)、メモリ172にデータを転送し(ステップS205)、ステップS201に戻る。ここで転送されるデータは、例えば、TSヘッダが除かれたセクション形式のデータ(セクション)である。また、フィルタ処理部156は、データの転送とともに、プロセッサ171に対して、メモリ172にデータを転送した旨を通知する。
If it is determined that they match (“YES” in step S203), the
以上の処理によれば、フィルタ処理部156からプロセッサ171へのセクション取得の通知が所定の周期内に行われていれば、プロセッサ171は、セクションが消滅していないと判断できる。プロセッサ171が取得したセクションは、ソフトウェアにより解析が行われ、バージョン番号が一致する場合には破棄される。しかし、受信されたデータに含まれるセクションの内容が前回から更新されていない場合であっても、メモリ172にデータ転送がなされる。また、プロセッサ171において、セクションの内容が更新されたか否かを解析する必要がある。したがって、メモリ172に対する冗長なデータ転送とプロセッサ171による冗長なデータ解析とがなされる。
According to the above processing, if the section acquisition notification from the
図9は、本実施形態に係るデマルチプレクサの構成を示す図である。図9を参照して、本実施形態に係るデマルチプレクサの構成について説明する。 FIG. 9 is a diagram illustrating a configuration of the demultiplexer according to the present embodiment. The configuration of the demultiplexer according to this embodiment will be described with reference to FIG.
図9に示したデマルチプレクサ150は、図2に示した一般的なデマルチプレクサ150と比較して、監視フラグ記憶部181が追加され、フィルタ処理部182がフィルタ処理部156(図2参照)と異なっている。
Compared with the
監視フラグ記憶部181は、監視フラグを記憶するものである。この監視フラグは、受信されたデータに含まれる所定の情報であるセクションが消滅したか否かを示す値がセットされる。セクションが消滅したことを示す値として、ここでは1を使用するが、この値に限定されるものではない。また、セクションが消滅していないことを示す値として、ここでは0を使用するが、この値に限定されるものではない。監視フラグ記憶部181は、ここでは、セクションフィルタ部180の内部に存在することとするが、フィルタ処理部182及びプロセッサ171から読み書き可能な領域であれば、どこに存在していてもよい。また、監視フラグは、例えば、PID毎に用意される。
The monitoring
フィルタ情報記憶部157は、少なくとも、前回受信されたデータに含まれていたセクションのバージョンを示す前回バージョン番号を記憶するものである。また、前回バージョン番号の他に、取得対象となるセクションに対応するテーブル識別子を記憶することとしてもよい。
The filter
フィルタ処理部182は、受信されたデータに含まれるセクションが入力されると、監視フラグをクリアするとともに、セクションに含まれたバージョン番号と前回バージョン番号とが一致するか否かを判定するものである。フィルタ処理部182は、一致すると判定した場合には、セクションを破棄し、一致しないと判定した場合には、セクションをメモリ172に転送する。
When the section included in the received data is input, the
プロセッサ171は、メモリ172からセクションを取得可能にされており、所定の時間ごとに監視フラグを監視するものである。プロセッサ171は、監視した結果において監視フラグがクリアされていると判定した場合には、監視フラグをリセットし、監視フラグがセットされていると判定した場合には、セクションが消滅したことを検出する。所定の時間は、例えば、1秒、2秒等の時間であるが、特に限定されるものではない。プロセッサ171は、セクションが消滅したことを検出した際には、セクション消滅時における所定の処理を行うこととしてもよい。例えば、受信装置10が図示しない表示処理部をさらに備え、この図示しない表示処理部が、プロセッサ171からセクションが消滅した旨の通知を受け付けると、セクションが消滅している旨を示すメッセージを作成し、ビデオに出力することとしてもよい。メッセージとしては、例えば、「現在放送中の番組はありません」等であるが、これに限定されるものではない。この図示しない表示処理部は、例えば、MPEGビデオデコーダ160(図1参照)とビデオとの間に位置するものである。
The
図10は、本実施形態に係るセクションのフィルタ処理例の流れを示すフローチャートである。図10を参照して(適宜図9参照)、本実施形態に係るフィルタ処理部が行うセクションのフィルタ処理例について説明する。 FIG. 10 is a flowchart showing the flow of a section filtering process example according to this embodiment. With reference to FIG. 10 (refer to FIG. 9 as appropriate), an example of section filter processing performed by the filter processing unit according to the present embodiment will be described.
フィルタ処理部182は、PIDフィルタ部152からTSパケットの入力を受け付けると(ステップS301)、セクションフィルタを開始する(ステップS302)。続いて、フィルタ処理部182は、テーブル識別子311が一致するか否かを判定する(ステップS303)。この判定では、TSパケット内のテーブル識別子311とフィルタ情報記憶部157に記憶されているテーブル識別子311とを比較する。フィルタ処理部182は、一致しないと判定した場合には(ステップS303で「NO」)、TSパケット内のセクションを破棄して(ステップS309)、ステップS301に戻る。
When receiving the input of the TS packet from the PID filter unit 152 (step S301), the
フィルタ処理部182は、一致すると判定した場合には(ステップS303で「YES」)、監視フラグをクリアし(ステップS305)、ステップS306に進む。監視フラグをクリアするとは、監視フラグ記憶部181に記憶されている監視フラグに、セクションが消滅していないことを示す値(例えば、0)を設定することである。
If it is determined that they match (“YES” in step S303), the
続いて、フィルタ処理部182は、バージョン番号が一致するか否かを判定する(ステップS306)。この判定では、TSパケット内のバージョン番号317とフィルタ情報記憶部157に記憶されているバージョン番号317とを比較する。フィルタ処理部182は、一致すると判定した場合には(ステップS306で「YES」)、セクションを破棄して(ステップS309)、ステップS301に戻る。ここで、セクションを破棄するのは、バージョン番号の一致によって、TSパケット内のセクションの内容が、前回入力されたTSパケット内のセクションの内容から更新されていないと判断できるからである。
Subsequently, the
フィルタ処理部182は、一致しないと判定した場合には(ステップS306で「NO」)、セクションを取得して(ステップS307)、メモリ172にデータを転送し(ステップS308)、ステップS301に戻る。ここで、セクションを取得するのは、バージョン番号の不一致によって、TSパケット内のセクションの内容が、前回入力されたTSパケット内のセクションの内容から更新されたと判断できるからである。フィルタ処理部182は、セクションの取得とともに、TSパケット内のバージョン番号を、前回受信されたデータに含まれていたセクションのバージョンを示す前回バージョン番号として記憶し、次回以降の比較に用いる。また、ここで転送されるデータは、例えば、TSヘッダが除かれたセクション形式のデータ(セクション)である。フィルタ処理部182は、データの転送とともに、プロセッサ171に対して、メモリ172にデータを転送した旨を通知することとしてもよい。
If it is determined that they do not match (“NO” in step S306), the
図11は、本実施形態に係るプロセッサによるセクション消滅監視の処理例の流れを示すフローチャートである。図11を参照して(適宜図9参照)、本実施形態に係るプロセッサが行うセクション消滅監視の処理例について説明する。 FIG. 11 is a flowchart showing a flow of a processing example of section disappearance monitoring by the processor according to the present embodiment. With reference to FIG. 11 (refer to FIG. 9 as appropriate), a processing example of section disappearance monitoring performed by the processor according to the present embodiment will be described.
プロセッサ171は、監視フラグを初期化し(ステップS401)、セクションフィルタを有効にする(ステップS402)。この初期化では、監視フラグ記憶部181に記憶されている監視フラグに、セクションが消滅していないことを示す値(例えば、0)、又は、セクションが消滅したことを示す値(例えば、1)を設定する。続いて、プロセッサ171は、監視タイミングになると(ステップS403)、監視フラグがクリアされているか否かを判定する(ステップS404)。この判定では、監視フラグ記憶部181に記憶されている監視フラグに、セクションが消滅していないことを示す値(例えば、0)が設定されたか否かを判定する。
The
プロセッサ171は、監視フラグがクリアされていると判定した場合には(ステップS404で「YES」)、監視フラグをリセットし(ステップS405)、ステップS403に戻る。監視フラグをリセットするとは、監視フラグ記憶部181に記憶されている監視フラグに、セクションが消滅したことを示す値(例えば、1)を再設定することである。監視フラグがクリアされていないと判定した場合には(ステップS404で「NO」)、セクションの消滅を検出し(ステップS406)、ステップS403に戻る。
If the
図12は、本実施形態に係るセクション消滅監視の様子を示す模式図である。図12を参照して、本実施形態に係るセクション消滅監視について説明する。 FIG. 12 is a schematic diagram showing a state of section disappearance monitoring according to the present embodiment. With reference to FIG. 12, the section disappearance monitoring according to the present embodiment will be described.
プロセッサ171は、セクションの監視タイミングで監視フラグをみる。監視フラグがクリアされていれば、セクションが消滅していないと判断し、監視フラグをセットする。一方、監視フラグがセットされたままであれば、監視周期の間にセクションの到達がないと判断し、セクションの消滅を検出する。
The
本実施形態によれば、受信したデータに含まれるセクションの内容が前回から更新されていない場合には、メモリ172にデータ転送を行う必要がない。また、メモリ172に転送されるのは、セクションの内容が更新されたデータであるので、プロセッサ171において、セクションの内容が更新されたか否かを解析する必要がない。したがって、メモリ172に対する冗長なデータ転送とプロセッサ171による冗長なデータ解析とを低減できる。さらに、プロセッサ171において、監視フラグに設定されている値を参照することで、セクションの消滅を検出できる。
According to this embodiment, when the content of the section included in the received data has not been updated since the previous time, there is no need to transfer data to the
これによって、プロセッサ171の負荷が軽減され、他のアプリケーション等にプロセッサ処理を利用することが可能となる。また、バージョン番号が同じであるセクションをメモリ172に対して転送せずに、セクションの消滅を監視することが可能なため、他のアプリケーション等のデータ転送に利用する帯域を増やすことが可能となる。
As a result, the load on the
上記では、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 In the above, the preferred embodiments of the present invention have been described with reference to the accompanying drawings, but it goes without saying that the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.
10 受信装置
110 アンテナ
120 チューナ
130 デモジュレータ
140 デスクランブラ
150 デマルチプレクサ
155 セクションフィルタ部
156 フィルタ処理部
157 フィルタ情報記憶部
171 プロセッサ(制御部)
172 メモリ
180 セクションフィルタ部
181 監視フラグ記憶部
182 フィルタ処理部
200 TSパケット
311 テーブル識別子
317 バージョン番号
DESCRIPTION OF SYMBOLS 10 Receiving device 110
172
Claims (3)
前回受信されたデータに含まれていた前記セクションのバージョンを示す前回バージョン番号を記憶するフィルタ情報記憶部と、
受信されたデータに含まれる前記セクションが入力されると、前記監視フラグをクリアするとともに、当該セクションに含まれたバージョン番号と前記前回バージョン番号とが一致するか否かを判定し、一致すると判定した場合には、当該セクションを破棄し、一致しないと判定した場合には、当該セクションをメモリに転送するフィルタ処理部と、
前記メモリから前記セクションを取得可能にされ、所定の時間ごとに前記監視フラグを監視し、監視した結果において当該監視フラグがクリアされていると判定した場合には、当該監視フラグをリセットし、当該監視フラグがセットされていると判定した場合には、前記セクションが消滅したことを検出する制御部と、
を備える、受信装置。 A monitoring flag storage unit for storing a monitoring flag in which a value indicating that a section, which is predetermined information included in received data, has disappeared, is set;
A filter information storage unit for storing a previous version number indicating the version of the section included in the previously received data;
When the section included in the received data is input, the monitoring flag is cleared, and it is determined whether the version number included in the section matches the previous version number. If this is the case, discard the section, and if it is determined that they do not match, a filter processing unit that transfers the section to the memory;
The section can be acquired from the memory, the monitoring flag is monitored every predetermined time, and when it is determined that the monitoring flag is cleared in the monitoring result, the monitoring flag is reset, If it is determined that the monitoring flag is set, a control unit that detects that the section has disappeared;
A receiving device.
をさらに備える、請求項1に記載の受信装置。 The display processing unit according to claim 1, further comprising: a display processing unit that generates a message indicating that the section has disappeared and outputs the message to a video when receiving a notification that the section has disappeared from the control unit. Receiver.
前記メモリから前記セクションを取得可能にされた制御部が、所定の時間ごとに前記監視フラグを監視し、監視した結果において当該監視フラグがクリアされていると判定した場合には、当該監視フラグをリセットし、当該監視フラグがセットされていると判定した場合には、前記セクションが消滅したことを検出するステップと、
を含む、受信方法。 When a section that is predetermined information included in the received data is input, the filter processing unit is stored in a monitoring flag storage unit that stores a monitoring flag in which a value indicating that the section has disappeared is set. The previous time stored in the filter information storage unit that clears the monitoring flag and stores the version number included in the section and the previous version number indicating the version of the section included in the previously received data Determining whether or not the version number matches, discarding the section if determined to match, and transferring the section to the memory if determined not to match; and
When the control unit enabled to acquire the section from the memory monitors the monitoring flag every predetermined time, and determines that the monitoring flag is cleared in the monitoring result, the monitoring flag is set. Resetting and determining that the section has disappeared if it is determined that the monitoring flag is set;
Including a receiving method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008135968A JP2009284353A (en) | 2008-05-23 | 2008-05-23 | Receiver and receiving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008135968A JP2009284353A (en) | 2008-05-23 | 2008-05-23 | Receiver and receiving method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009284353A true JP2009284353A (en) | 2009-12-03 |
Family
ID=41454309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008135968A Withdrawn JP2009284353A (en) | 2008-05-23 | 2008-05-23 | Receiver and receiving method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009284353A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016526361A (en) * | 2013-06-19 | 2016-09-01 | エルジー エレクトロニクス インコーポレイティド | Broadcast transmission / reception apparatus and broadcast transmission / reception method |
-
2008
- 2008-05-23 JP JP2008135968A patent/JP2009284353A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016526361A (en) * | 2013-06-19 | 2016-09-01 | エルジー エレクトロニクス インコーポレイティド | Broadcast transmission / reception apparatus and broadcast transmission / reception method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080259962A1 (en) | Contents reproducing apparatus | |
EP1746836A2 (en) | Encoded stream reproducing apparatus | |
JP2022121490A (en) | Transmission method, reception method, transmission apparatus and reception apparatus | |
JP2019154036A (en) | Transmission method, reception method, transmitter, and receiver | |
EP2329654A1 (en) | Devices and methods of digital video and/or audio reception and/or output having error detection and/or concealment circuitry and techniques | |
US20130107118A1 (en) | System and method for transport stream sync byte detection with transport stream having multiple emulated sync bytes | |
KR20050120491A (en) | Transmission error processing method and apparatus in a dmb system | |
JP4875451B2 (en) | Digital data receiver | |
US7688726B2 (en) | Broadcast reception apparatus, TS packet reproduction apparatus, broadcast reception method and program | |
EP1940167A1 (en) | Digital broadcast receiver | |
JP2002057998A (en) | Digital broadcast system, digital broadcast transmitter, and digital broadcast receiver | |
KR100864715B1 (en) | Digital broadcasting receiver and method for judging scramble channel thereof | |
JP4731343B2 (en) | Decoding device | |
JP2009284353A (en) | Receiver and receiving method | |
JP2003008526A (en) | Data processor | |
JP2009141615A (en) | Receiver and receiving method | |
TWI762980B (en) | Method for debugging digital stream and circuit system thereof | |
US20080209295A1 (en) | Apparatus and method for pre-processing on layer 2 in digital broadcasting receiving device | |
JP4334434B2 (en) | Digital broadcast receiver | |
JP2006332821A (en) | Digital broadcasting receiver and digital broadcast receiving method | |
JP3870557B2 (en) | Transport stream receiver | |
JP2007266778A (en) | Demodulation circuit, and digital broadcast receiver | |
JP5566277B2 (en) | Multiple broadcast receiver | |
JP2007013647A (en) | Digital broadcasting receiver and digital broadcast receiving program | |
JP4831469B2 (en) | Terrestrial digital television broadcast receiving system and receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110802 |