JP2009284353A - Receiver and receiving method - Google Patents

Receiver and receiving method Download PDF

Info

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
Application number
JP2008135968A
Other languages
Japanese (ja)
Inventor
Satoshi Suzuki
聡嗣 鈴木
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2008135968A priority Critical patent/JP2009284353A/en
Publication of JP2009284353A publication Critical patent/JP2009284353A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Circuits Of Receivers In General (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a receiver and receiving method for monitoring extinguishment of a section and reducing redundant data transfer to a memory and redundant data analysis by a processor. <P>SOLUTION: The receiver includes: a monitor flag storage section 181; a filter information storage section 157 for storing a last version number; a filter processing section 182 in which when a section included in received data is input, a monitor flag is cleared, a version number included in the section is compared with the last version number, and the section is discarded when matched, or the section is transferred to a memory 172 when not matched; and a processor 171 which is configured to obtain the section from the memory 172, monitors the monitor flag at predetermined time intervals and resets the monitor flag when the monitor flag is cleared, or detects that the section is extinguished when the monitor flag is set. <P>COPYRIGHT: (C)2010,JPO&INPIT

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.

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

しかしながら、実際には、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 tuner 120, a demodulator 130, a descrambler 140, a demultiplexer 150, an MPEG video decoder 160, and an MPEG audio decoder 161. . The receiving device 10 includes a bus 170, a processor 171, and a memory 172.

アンテナ110は、外部から信号を受信して、チューナ120に出力するものである。ここで、信号とは、RF(Radio Frequency)信号である。   The antenna 110 receives a signal from the outside and outputs it to the tuner 120. Here, the signal is an RF (Radio Frequency) signal.

チューナ120は、ユーザによって指定された周波数(番組)の信号を受信し、デモジュレータ130に出力するものである。   The tuner 120 receives a signal having a frequency (program) designated by the user and outputs the signal to the demodulator 130.

デモジュレータ130は、チューナ120から入力された信号に対して、A/D(Analog to Digital)変換およびエラー訂正処理等のデジタル復調処理を行う。デモジュレータ130は、復調によって取得したデータをデスクランブラ140に出力する。ここでは、復調によって取得したデータは、例えば、MPEG2−TS形式のデータであり、例えば、トランスポートストリームのデータである。   The demodulator 130 performs digital demodulation processing such as A / D (Analog to Digital) conversion and error correction processing on the signal input from the tuner 120. The demodulator 130 outputs the data acquired by demodulation to the descrambler 140. Here, the data acquired by demodulation is, for example, data in the MPEG2-TS format, for example, transport stream data.

デスクランブラ140は、デモジュレータ130から入力されたデータ(受信データ)のデータ部にかけられたスクランブルを解いて、解いた後のデータをデマルチプレクサ150に出力するものである。日本のデジタル放送を例にすると、TSパケットのデータ部にはMulti2によるスクランブル処理が施されている。したがって、例えば、デスクランブラ140は、デモジュレータ130からトランスポートストリームのデータを受信すると、そのデータ部にかけられたスクランブルを解いて、デマルチプレクサ150に出力する。このように、デスクランブラ140は、TSパケットのデータ部にスクランブル処理が施されている場合に必要となる。TSパケットについては、図3を参照して後述する。   The descrambler 140 solves the scramble applied to the data part of the data (received data) input from the demodulator 130 and outputs the solved data to the demultiplexer 150. Taking Japanese digital broadcasting as an example, the data portion of the TS packet is scrambled by Multi2. Therefore, for example, when descrambler 140 receives transport stream data from demodulator 130, descrambler 140 unscrambles the data portion and outputs the result to demultiplexer 150. As described above, the descrambler 140 is necessary when the data portion of the TS packet is scrambled. The TS packet will be described later with reference to FIG.

デマルチプレクサ150は、デスクランブラ140から入力されたデータ(受信データ)の中から所定のデータを分離するものである。デマルチプレクサ150は、デスクランブラ140から多重化されたTSパケットが入力された場合には、入力されたTSパケットの中から所定のパケットに対して分離を行う。そして、分離して得られた映像圧縮データをMPEGビデオデコーダ160に、分離して得られた音声圧縮データをMPEGオーディオデコーダ161に出力する。また、デマルチプレクサ150は、分離して得られたPSI(Program Specific Information)データを、バス170を介してメモリ172に送信する。   The demultiplexer 150 separates predetermined data from the data (received data) input from the descrambler 140. When the multiplexed TS packet is input from the descrambler 140, the demultiplexer 150 separates a predetermined packet from the input TS packets. The compressed video data obtained by the separation is output to the MPEG video decoder 160, and the compressed audio data obtained by the separation is output to the MPEG audio decoder 161. Further, the demultiplexer 150 transmits PSI (Program Specific Information) data obtained by the separation to the memory 172 via the bus 170.

MPEGビデオデコーダ160は、デマルチプレクサ150から入力された映像圧縮データの復号を行い、映像データを生成し、映像データに基づいた映像を出力するビデオに出力する。   The MPEG video decoder 160 decodes the compressed video data input from the demultiplexer 150, generates video data, and outputs the video based on the video data to a video that is output.

MPEGオーディオデコーダ161は、デマルチプレクサ150から入力された音声圧縮データの復号を行い、音声データを生成し、音声データに基づいた音声を出力するオーディオに出力する。   The MPEG audio decoder 161 decodes the audio compression data input from the demultiplexer 150, generates audio data, and outputs the audio based on the audio data as audio.

バス170は、デマルチプレクサ150や、プロセッサ171、メモリ172等がデータを交換する際に使用される経路である。   The bus 170 is a path used when the demultiplexer 150, the processor 171, the memory 172, and the like exchange data.

プロセッサ171は、制御部の一例として機能するものであり、例えば、CPU(Central Processing Unit)によって構成され、メモリ172に格納されたプログラムを実行することによってその機能を実現する。   The processor 171 functions as an example of a control unit. For example, the processor 171 includes a CPU (Central Processing Unit), and realizes the function by executing a program stored in the memory 172.

メモリ172は、データを記憶するものであり、例えば、RAM(Random Access Memory)によって構成される。   The memory 172 stores data, and is configured by, for example, a RAM (Random Access Memory).

図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 TS interface unit 151 receives data input from the descrambler 140 and outputs the input data to the PID filter unit 152.

PIDフィルタ部152は、PID比較部153と、PID抽出部154とを備えて構成されている。PIDフィルタ部152は、PID比較部153による比較の結果、TSインタフェース部151から入力されたデータが抽出すべきTSパケットであると判断した場合には、TSパケットの形式に応じた出力先にデータを出力する。   The PID filter unit 152 includes a PID comparison unit 153 and a PID extraction unit 154. When the PID filter unit 152 determines that the data input from the TS interface unit 151 is a TS packet to be extracted as a result of the comparison by the PID comparison unit 153, the data is output to the output destination corresponding to the format of the TS packet. Is output.

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 filter unit 152 outputs the TS packet input from the TS interface unit 151 to the PES parser unit 158 when the TS packet determined to be extracted includes data in PES format such as video or audio. To do. In addition, when the TS packet determined to be extracted includes the data (section) in the section format, the PID filter unit 152 outputs the TS packet input from the TS interface unit 151 to the section filter unit 155. To do. The section format will be described later with reference to FIG. Further, when the TS packet determined to be extracted includes data in the PCR format, the PID filter unit 152 outputs the TS packet input from the TS interface unit 151 to the PCR parser unit 159.

PID抽出部154は、TSインタフェース部151から入力されたデータの中からPID値を抽出して、抽出したPID値をPID比較部153に出力するものである。PID抽出部154は、TSインタフェース部151から多重化されたTSパケットが入力された場合には、そのTSパケットの中から、PID値を抽出して、抽出したPID値をPID比較部153に出力する。   The PID extraction unit 154 extracts a PID value from the data input from the TS interface unit 151 and outputs the extracted PID value to the PID comparison unit 153. When a multiplexed TS packet is input from the TS interface unit 151, the PID extraction unit 154 extracts a PID value from the TS packet and outputs the extracted PID value to the PID comparison unit 153. To do.

PID比較部153は、PID抽出部154から入力されたPID値と、抽出対象となるTSパケットに対応するPID値とを比較するものである。抽出対象となるTSパケットに対応するPID値は、ホスト(プロセッサ171(図1参照))によってあらかじめPID比較部153に設定されている。   The PID comparison unit 153 compares the PID value input from the PID extraction unit 154 with the PID value corresponding to the TS packet to be extracted. The PID value corresponding to the TS packet to be extracted is set in the PID comparison unit 153 in advance by the host (processor 171 (see FIG. 1)).

PESパーサ部158は、PIDフィルタ部152からTSパケットが入力されると、TSヘッダが除かれたPES形式のデータとして、映像圧縮データをMPEGビデオデコーダ160に、音声圧縮データをMPEGオーディオデコーダ161に出力する。   When a TS packet is input from the PID filter unit 152, the PES parser unit 158 converts the compressed video data into the MPEG video decoder 160 and the compressed audio data into the MPEG audio decoder 161 as PES format data from which the TS header has been removed. Output.

PCRパーサ部159は、PIDフィルタ部152からTSパケットが入力されると、TSヘッダが除かれたPCR形式のデータとして、STC(System Time Clock)制御部162に出力する。   When the TS packet is input from the PID filter unit 152, the PCR parser unit 159 outputs the data to the STC (System Time Clock) control unit 162 as PCR-format data from which the TS header has been removed.

セクションフィルタ部155は、フィルタ処理部156と、フィルタ情報記憶部157とを備えて構成されている。   The section filter unit 155 includes a filter processing unit 156 and a filter information storage unit 157.

フィルタ処理部156は、PIDフィルタ部152からTSパケットが入力されると、フィルタ情報記憶部157に記憶されているフィルタ情報に基づいて、TSパケットに含まれるセクションが取得対象のセクションであるか否かを選択するものである。選択されたTSパケットは、TSヘッダが除かれたセクション形式のデータ(セクション)として、メモリ172に転送され、蓄えられる。   When the TS packet is input from the PID filter unit 152, the filter processing unit 156 determines whether the section included in the TS packet is the acquisition target section based on the filter information stored in the filter information storage unit 157. Is to choose. The selected TS packet is transferred to and stored in the memory 172 as section format data (section) from which the TS header is removed.

フィルタ情報記憶部157は、フィルタ情報を記憶するものである。フィルタ情報については、図5及び図6を参照して後述する。   The filter information storage unit 157 stores filter information. The filter information will be described later with reference to FIGS.

図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 packet 200 input to the demultiplexer 150 is formed of a fixed-length packet of 188 bytes, for example. The TS packet 200 includes synchronization information 210 indicating the head of the packet, and includes a packet identification number (PID 214) made up of, for example, 13 bits at a fixed position of the packet. The PID 214 is assigned to classify what kind of data the data included in the data portion 218 of the TS packet 200 is. For example, if 0x0000 is set in the PID 214, it indicates PAT data, and if 0x0001 is set, it indicates CAT (Conditional Access Table) data. For example, the data portion 218 of the TS packet 200 includes a section.

その他、TSパケット200に含まれる各項目について説明するが、これらの項目のうち、いずれの組み合わせが含まれるかについては特に限定されるものではない。   In addition, although each item contained in TS packet 200 is demonstrated, it is not specifically limited about which combination is included among these items.

トランスポートエラーインジケータ211は、TSパケット200内のビットエラーの有無を示すフラグである。   The transport error indicator 211 is a flag indicating the presence / absence of a bit error in the TS packet 200.

ペイロードユニット開始インジケータ212は、例えば、1が設定されているとき、本TSパケット200のペイロードの開始点がPESパケットの開始点、又はポインタであることを示すものである。   The payload unit start indicator 212 indicates that, for example, when 1 is set, the start point of the payload of the TS packet 200 is the start point or pointer of the PES packet.

トランスポート優先度213は、同一のPID214の値を持つパケットの中での優先度を示すフラグである。   The transport priority 213 is a flag indicating the priority among packets having the same PID 214 value.

トランスポートスクランブル制御215は、TSパケット200のペイロードのスクランブルモードを識別するのに使用する領域である。   The transport scramble control 215 is an area used to identify the scramble mode of the payload of the TS packet 200.

アダプテーションフィールド制御216は、アダプテーションフィールド部/データ部218の構成を示すために使用する領域である。   The adaptation field control 216 is an area used to indicate the configuration of the adaptation field part / data part 218.

連続性指標217は、同一のPID214の値を持つTSパケット200の順序を指定する領域である。   The continuity index 217 is an area for designating the order of TS packets 200 having the same PID 214 value.

アダプテーションフィールド部218は、ITU−T(International Telecommunication Union Telecommunication Standardization Sector)勧告H.222.0に従い、設定されるものである。   The adaptation field unit 218 is an ITU-T (International Telecommunication Union Communication Standardization Sector) recommendation H.264. It is set according to 222.0.

図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 section syntax instruction 312 is defined as 0 for the normal format and 1 for the extended format. In the MPEG2-TS standard, data such as PAT and PMT are defined in an extended format. In the section of the extended format, 8 bytes from the table identifier 311 to the final section number 320 are used as a section header, and the section filter unit 155 performs filtering of the 8-byte section header.

その他、セクション形式に含まれる各項目について説明するが、これらの項目のうち、いずれの組み合わせが含まれるかについては特に限定されるものではない。   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 table identifier 311, a section syntax instruction 312, an unused area 313, a section length 314, and a table identifier extension 315. These will be described.

テーブル識別子311は、セクションが属するテーブル(セクションの種類)を識別するために使用する領域である。例えば、テーブル識別子311に0x00が設定されていれば、PATのセクションであることを示す。   The table identifier 311 is an area used for identifying the table (section type) to which the section belongs. For example, if 0x00 is set in the table identifier 311, it indicates a PAT section.

不使用領域313は、使用されない領域であるが、例えば、111が設定されることと定めておく。   The unused area 313 is an area that is not used. For example, it is determined that 111 is set.

セクション長314は、セクション長領域より後に続くデータバイト数を書き込む領域である。   The section length 314 is an area in which the number of data bytes following the section length area is written.

データ321は、データが書き込まれる領域である。   Data 321 is an area where data is written.

拡張形式(図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 table identifier extension 315, a non-use area 316, a version number 317, a current next instruction 318, a section Number 319, final section number 320 and CRC 322 are included. These will be described.

テーブル識別子拡張315は、テーブル識別子311の拡張を行う領域である。   The table identifier extension 315 is an area where the table identifier 311 is extended.

不使用領域316は、使用されない領域であるが、例えば、111が設定されることと定めておく。   The unused area 316 is an area that is not used. For example, it is determined that 111 is set.

バージョン番号317は、テーブルのバージョン番号を書き込む領域である。同一内容のセクションに対しては、同一の番号が設定され、内容が更新されたセクションに対しては、更新前のセクションに対して設定されていた番号とは異なる番号(例えば、1加算した番号)が設定される。   The version number 317 is an area in which the version number of the table is written. The same number is set for sections with the same content, and the number for which a content has been updated is different from the number set for the section before the update (for example, a number obtained by adding 1). ) Is set.

カレントネクスト指示318は、例えば、テーブルが現在使用可能である場合には1とし、テーブルが現在使用不可であり、次に有効となることを示す場合には0とする。   The current next instruction 318 is, for example, 1 when the table is currently usable, and 0 when the table indicates that the table is currently unusable and becomes valid next time.

セクション番号319は、テーブルを構成するセクション番号を書き込む領域である。   The section number 319 is an area in which section numbers constituting the table are written.

最終セクション番号320は、テーブルを構成する最後のセクション番号を書き込む領域である。   The last section number 320 is an area in which the last section number constituting the table is written.

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 information storage unit 157 includes, for example, a filter pattern 420, a match pattern 430, a mismatch pattern 440, and a mask pattern 450.

入力データ410は、TSパケット200(図3参照)内に多重化されているセクションヘッダ(図4(b)参照)を示し、セクションフィルタ部155で抽出される。   Input data 410 indicates a section header (see FIG. 4B) multiplexed in the TS packet 200 (see FIG. 3), and is extracted by the section filter unit 155.

フィルタパターン420は、フィルタ処理部156によるフィルタ処理において、入力データ410と一致比較又は不一致比較される対象となる情報である。   The filter pattern 420 is information to be subjected to a match comparison or a mismatch comparison with the input data 410 in the filter processing by the filter processing unit 156.

マッチパターン430は、フィルタパターン420に設定したデータを一致で比較することを選択するために使用する情報である。   The match pattern 430 is information used to select comparison between data set in the filter pattern 420 by matching.

ミスマッチパターン440は、フィルタパターン420に設定したデータを不一致で比較することを選択するために使用する情報である。   The mismatch pattern 440 is information used to select comparison of data set in the filter pattern 420 with a mismatch.

マスクパターン450は、フィルタパターン420に設定したデータを比較するか否かを選択するために使用する情報である。   The mask pattern 450 is information used for selecting whether or not the data set in the filter pattern 420 is compared.

一致比較を行う側では、フィルタ処理部156は、入力データ410から一致検出を行うデータを取り出す。また、フィルタ処理部156は、フィルタパターン420からも一致検出を行うデータを取り出す。フィルタ処理部156は、双方のデータが一致した場合、結果は成立、不一致の場合は不成立となる。   On the coincidence comparison side, the filter processing unit 156 extracts data for performing coincidence detection from the input data 410. In addition, the filter processing unit 156 extracts data for performing coincidence detection from the filter pattern 420. The filter processing unit 156 determines that the result is satisfied when the two data match, and is not satisfied when the data does not match.

不一致比較を行う側では、フィルタ処理部156は、入力データ410から不一致検出を行うデータを取り出す。また、フィルタ処理部156は、フィルタパターンからも不一致検出を行うデータを取り出す。フィルタ処理部156は、双方のデータが一致の場合、結果は不成立、不一致の場合は成立となる。但し、不一致比較が全く行われない場合に限り、不一致比較の結果は成立とみなす。   On the side where the mismatch comparison is performed, the filter processing unit 156 extracts data for performing mismatch detection from the input data 410. In addition, the filter processing unit 156 extracts data for performing mismatch detection from the filter pattern. The filter processing unit 156 determines that the result is not satisfied when the two data match, and is satisfied when the data does not match. However, the result of the mismatch comparison is considered to be true only when no mismatch comparison is performed.

一致比較を行う側と不一致比較を行う側とにおいて、双方とも結果が成立であった場合、取得すべきセクションと判断される。その他の場合には、破棄すべきセクションと判断される。セクションのフィルタリングは、セクション形式のデータ(セクション)が埋め込まれた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 section filter unit 155. If the section is acquired as a result of filtering, the filter processing unit 156 notifies the processor 171 that the section has been acquired. When the section is discarded, the filter processing unit 156 does not notify the processor 171 in principle.

図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 table identifier 311. In order to detect that the contents of the section have been updated by the version number 317, a filter condition for comparing the mismatch is set in the data of the version number 317.

図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 filter processing unit 156 starts a section filter (step S102). Subsequently, the filter processing unit 156 determines whether or not the table identifiers 311 match (step S103). In this determination, the table identifier 311 in the TS packet is compared with the table identifier 311 set in the filter pattern 420 stored in the filter information storage unit 157. If it is determined that they do not match (“NO” in step S103), the filter processing unit 156 discards the section in the TS packet (step S107) and returns to step S101.

フィルタ処理部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 filter processing unit 156 determines whether the version numbers match (step S104). In this determination, the version number 317 in the TS packet is compared with the version number 317 set in the filter pattern 420 stored in the filter information storage unit 157. If it is determined that they match (“YES” in step S104), the filter processing unit 156 discards the section (step S107) and returns to step S101. Here, the section is discarded because it can be determined that the content of the section in the TS packet has not been updated from the content of the section in the TS packet input last time by matching the version numbers.

フィルタ処理部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 filter processing unit 156 acquires a section (step S105), transfers the data to the memory 172 (step S106), and returns to step S101. Here, the section is acquired because it can be determined that the contents of the section in the TS packet are updated from the contents of the section in the TS packet input last time due to the mismatch of the version numbers. The filter processing unit 156 obtains the section, stores the version number in the TS packet as the previous version number indicating the version of the section included in the previously received data, and uses it for the subsequent comparison. The storage destination is the version number 317 set in the filter pattern 420 stored in the filter information storage unit 157. The data transferred here is, for example, section format data (section) from which the TS header is removed. The filter processing unit 156 may notify the processor 171 that the data has been transferred to the memory 172 together with the transfer of the data.

以上の処理によれば、受信したデータに含まれるセクションの内容が前回から更新されていない場合には、メモリ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 memory 172. Further, since the data transferred to the memory 172 is the data in which the section contents are updated, it is not necessary for the processor 171 to analyze whether or not the section contents have been updated. Therefore, redundant data transfer to the memory 172 and redundant data analysis by the processor 171 can be reduced. However, in the processor 171, it cannot be specified whether the cause of the data not being transferred to the memory 172 is the section discard by the filter processing unit 156 or the section disappearance.

図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 filter processing unit 156 starts a section filter (step S202). Subsequently, the filter processing unit 156 determines whether or not the table identifiers 311 match (step S203). In this determination, the table identifier 311 in the TS packet is compared with the table identifier 311 set in the filter pattern 420 stored in the filter information storage unit 157. If it is determined that they do not match (“NO” in step S203), the filter processing unit 156 discards the section in the TS packet (step S206) and returns to step S201.

フィルタ処理部156は、一致すると判定した場合には(ステップS203で「YES」)、セクションを取得して(ステップS204)、メモリ172にデータを転送し(ステップS205)、ステップS201に戻る。ここで転送されるデータは、例えば、TSヘッダが除かれたセクション形式のデータ(セクション)である。また、フィルタ処理部156は、データの転送とともに、プロセッサ171に対して、メモリ172にデータを転送した旨を通知する。   If it is determined that they match (“YES” in step S203), the filter processing unit 156 acquires a section (step S204), transfers the data to the memory 172 (step S205), and returns to step S201. The data transferred here is, for example, section format data (section) from which the TS header is removed. Further, the filter processing unit 156 notifies the processor 171 that the data has been transferred to the memory 172 along with the transfer of the data.

以上の処理によれば、フィルタ処理部156からプロセッサ171へのセクション取得の通知が所定の周期内に行われていれば、プロセッサ171は、セクションが消滅していないと判断できる。プロセッサ171が取得したセクションは、ソフトウェアにより解析が行われ、バージョン番号が一致する場合には破棄される。しかし、受信されたデータに含まれるセクションの内容が前回から更新されていない場合であっても、メモリ172にデータ転送がなされる。また、プロセッサ171において、セクションの内容が更新されたか否かを解析する必要がある。したがって、メモリ172に対する冗長なデータ転送とプロセッサ171による冗長なデータ解析とがなされる。   According to the above processing, if the section acquisition notification from the filter processing unit 156 to the processor 171 is performed within a predetermined period, the processor 171 can determine that the section has not disappeared. The section acquired by the processor 171 is analyzed by software, and is discarded when the version numbers match. However, even if the content of the section included in the received data has not been updated since the previous time, the data is transferred to the memory 172. Further, the processor 171 needs to analyze whether or not the contents of the section have been updated. Therefore, redundant data transfer to the memory 172 and redundant data analysis by the processor 171 are performed.

図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 general demultiplexer 150 shown in FIG. 2, the demultiplexer 150 shown in FIG. 9 has a monitoring flag storage unit 181 added thereto, and the filter processing unit 182 includes a filter processing unit 156 (see FIG. 2). Is different.

監視フラグ記憶部181は、監視フラグを記憶するものである。この監視フラグは、受信されたデータに含まれる所定の情報であるセクションが消滅したか否かを示す値がセットされる。セクションが消滅したことを示す値として、ここでは1を使用するが、この値に限定されるものではない。また、セクションが消滅していないことを示す値として、ここでは0を使用するが、この値に限定されるものではない。監視フラグ記憶部181は、ここでは、セクションフィルタ部180の内部に存在することとするが、フィルタ処理部182及びプロセッサ171から読み書き可能な領域であれば、どこに存在していてもよい。また、監視フラグは、例えば、PID毎に用意される。   The monitoring flag storage unit 181 stores a monitoring flag. This monitoring flag is set to a value indicating whether or not a section which is predetermined information included in the received data has disappeared. Here, 1 is used as a value indicating that the section has disappeared, but the value is not limited to this value. Further, although 0 is used here as a value indicating that the section has not disappeared, it is not limited to this value. Here, the monitoring flag storage unit 181 exists inside the section filter unit 180, but may be present anywhere as long as it can be read and written by the filter processing unit 182 and the processor 171. Moreover, the monitoring flag is prepared for each PID, for example.

フィルタ情報記憶部157は、少なくとも、前回受信されたデータに含まれていたセクションのバージョンを示す前回バージョン番号を記憶するものである。また、前回バージョン番号の他に、取得対象となるセクションに対応するテーブル識別子を記憶することとしてもよい。   The filter information storage unit 157 stores at least a previous version number indicating a version of a section included in previously received data. In addition to the previous version number, a table identifier corresponding to the section to be acquired may be stored.

フィルタ処理部182は、受信されたデータに含まれるセクションが入力されると、監視フラグをクリアするとともに、セクションに含まれたバージョン番号と前回バージョン番号とが一致するか否かを判定するものである。フィルタ処理部182は、一致すると判定した場合には、セクションを破棄し、一致しないと判定した場合には、セクションをメモリ172に転送する。   When the section included in the received data is input, the filter processing unit 182 clears the monitoring flag and determines whether the version number included in the section matches the previous version number. is there. The filter processing unit 182 discards the section when it is determined that they match, and transfers the section to the memory 172 when it determines that they do not match.

プロセッサ171は、メモリ172からセクションを取得可能にされており、所定の時間ごとに監視フラグを監視するものである。プロセッサ171は、監視した結果において監視フラグがクリアされていると判定した場合には、監視フラグをリセットし、監視フラグがセットされていると判定した場合には、セクションが消滅したことを検出する。所定の時間は、例えば、1秒、2秒等の時間であるが、特に限定されるものではない。プロセッサ171は、セクションが消滅したことを検出した際には、セクション消滅時における所定の処理を行うこととしてもよい。例えば、受信装置10が図示しない表示処理部をさらに備え、この図示しない表示処理部が、プロセッサ171からセクションが消滅した旨の通知を受け付けると、セクションが消滅している旨を示すメッセージを作成し、ビデオに出力することとしてもよい。メッセージとしては、例えば、「現在放送中の番組はありません」等であるが、これに限定されるものではない。この図示しない表示処理部は、例えば、MPEGビデオデコーダ160(図1参照)とビデオとの間に位置するものである。   The processor 171 can acquire a section from the memory 172, and monitors a monitoring flag every predetermined time. The processor 171 resets the monitoring flag when it is determined that the monitoring flag is cleared in the monitoring result, and detects that the section has disappeared when it is determined that the monitoring flag is set. . The predetermined time is, for example, 1 second, 2 seconds, or the like, but is not particularly limited. When the processor 171 detects that the section has disappeared, the processor 171 may perform a predetermined process when the section disappears. For example, the receiving device 10 further includes a display processing unit (not shown), and when the display processing unit (not shown) receives a notification from the processor 171 that the section has disappeared, it creates a message indicating that the section has disappeared. It is good also as outputting to a video. The message is, for example, “There is no program currently being broadcast”, but is not limited thereto. The display processing unit (not shown) is located, for example, between the MPEG video decoder 160 (see FIG. 1) and the video.

図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 filter processing unit 182 starts section filtering (step S302). Subsequently, the filter processing unit 182 determines whether or not the table identifiers 311 match (step S303). In this determination, the table identifier 311 in the TS packet is compared with the table identifier 311 stored in the filter information storage unit 157. If it is determined that they do not match (“NO” in step S303), the filter processing unit 182 discards the section in the TS packet (step S309) and returns to step S301.

フィルタ処理部182は、一致すると判定した場合には(ステップS303で「YES」)、監視フラグをクリアし(ステップS305)、ステップS306に進む。監視フラグをクリアするとは、監視フラグ記憶部181に記憶されている監視フラグに、セクションが消滅していないことを示す値(例えば、0)を設定することである。   If it is determined that they match (“YES” in step S303), the filter processing unit 182 clears the monitoring flag (step S305), and proceeds to step S306. Clearing the monitoring flag means setting a value (for example, 0) indicating that the section has not disappeared in the monitoring flag stored in the monitoring flag storage unit 181.

続いて、フィルタ処理部182は、バージョン番号が一致するか否かを判定する(ステップS306)。この判定では、TSパケット内のバージョン番号317とフィルタ情報記憶部157に記憶されているバージョン番号317とを比較する。フィルタ処理部182は、一致すると判定した場合には(ステップS306で「YES」)、セクションを破棄して(ステップS309)、ステップS301に戻る。ここで、セクションを破棄するのは、バージョン番号の一致によって、TSパケット内のセクションの内容が、前回入力されたTSパケット内のセクションの内容から更新されていないと判断できるからである。   Subsequently, the filter processing unit 182 determines whether or not the version numbers match (step S306). In this determination, the version number 317 in the TS packet is compared with the version number 317 stored in the filter information storage unit 157. If it is determined that they match (“YES” in step S306), the filter processing unit 182 discards the section (step S309) and returns to step S301. Here, the section is discarded because it can be determined that the content of the section in the TS packet has not been updated from the content of the section in the TS packet input last time by matching the version numbers.

フィルタ処理部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 filter processing unit 182 acquires a section (step S307), transfers the data to the memory 172 (step S308), and returns to step S301. Here, the section is acquired because it can be determined that the contents of the section in the TS packet are updated from the contents of the section in the TS packet input last time due to the mismatch of the version numbers. The filter processing unit 182 acquires the section, stores the version number in the TS packet as the previous version number indicating the version of the section included in the previously received data, and uses it for the subsequent comparison. The data transferred here is, for example, section format data (section) from which the TS header is removed. The filter processing unit 182 may notify the processor 171 that the data has been transferred to the memory 172 together with the transfer of the data.

図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 processor 171 initializes the monitoring flag (step S401) and enables the section filter (step S402). In this initialization, the monitoring flag stored in the monitoring flag storage unit 181 has a value indicating that the section has not disappeared (for example, 0) or a value indicating that the section has disappeared (for example, 1). Set. Subsequently, when the monitoring timing comes (step S403), the processor 171 determines whether or not the monitoring flag is cleared (step S404). In this determination, it is determined whether or not a value (for example, 0) indicating that the section has not disappeared is set in the monitoring flag stored in the monitoring flag storage unit 181.

プロセッサ171は、監視フラグがクリアされていると判定した場合には(ステップS404で「YES」)、監視フラグをリセットし(ステップS405)、ステップS403に戻る。監視フラグをリセットするとは、監視フラグ記憶部181に記憶されている監視フラグに、セクションが消滅したことを示す値(例えば、1)を再設定することである。監視フラグがクリアされていないと判定した場合には(ステップS404で「NO」)、セクションの消滅を検出し(ステップS406)、ステップS403に戻る。   If the processor 171 determines that the monitoring flag is cleared (“YES” in step S404), the processor 171 resets the monitoring flag (step S405), and returns to step S403. To reset the monitoring flag is to reset a value (for example, 1) indicating that the section has disappeared to the monitoring flag stored in the monitoring flag storage unit 181. If it is determined that the monitoring flag is not cleared (“NO” in step S404), the disappearance of the section is detected (step S406), and the process returns to step S403.

図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 processor 171 looks at the monitoring flag at the section monitoring timing. If the monitoring flag is cleared, it is determined that the section has not disappeared, and the monitoring flag is set. On the other hand, if the monitoring flag remains set, it is determined that the section has not reached during the monitoring period, and the disappearance of the section is detected.

本実施形態によれば、受信したデータに含まれるセクションの内容が前回から更新されていない場合には、メモリ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 memory 172. Further, since the data transferred to the memory 172 is the data in which the section contents are updated, it is not necessary for the processor 171 to analyze whether or not the section contents have been updated. Therefore, redundant data transfer to the memory 172 and redundant data analysis by the processor 171 can be reduced. Further, the processor 171 can detect the disappearance of the section by referring to the value set in the monitoring flag.

これによって、プロセッサ171の負荷が軽減され、他のアプリケーション等にプロセッサ処理を利用することが可能となる。また、バージョン番号が同じであるセクションをメモリ172に対して転送せずに、セクションの消滅を監視することが可能なため、他のアプリケーション等のデータ転送に利用する帯域を増やすことが可能となる。   As a result, the load on the processor 171 is reduced, and the processor processing can be used for other applications. Further, since it is possible to monitor the disappearance of the section without transferring the section having the same version number to the memory 172, it is possible to increase the bandwidth used for data transfer of other applications and the like. .

上記では、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   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.

一般的な受信装置の構成を示す図である。It is a figure which shows the structure of a general receiver. 一般的なデマルチプレクサの構成を示す図である。It is a figure which shows the structure of a general demultiplexer. デマルチプレクサに入力されるデータの構成例を示す図である。It is a figure which shows the structural example of the data input into a demultiplexer. セクション形式の一例を示す図である。It is a figure which shows an example of a section format. 一般的なセクションのフィルタ処理例を模式的に示す図である。It is a figure which shows typically the example of filter processing of a general section. 一般的なセクションのフィルタ設定例を示す図である。It is a figure which shows the filter setting example of a general section. 一般的なセクションのフィルタ処理例の流れを示すフローチャートである。It is a flowchart which shows the flow of the filter process example of a general section. 一般的なセクションのフィルタ処理例の流れを示すフローチャートである。It is a flowchart which shows the flow of the filter process example of a general section. 本実施形態に係るデマルチプレクサの構成を示す図である。It is a figure which shows the structure of the demultiplexer concerning this embodiment. 本実施形態に係るセクションのフィルタ処理例の流れを示すフローチャートである。It is a flowchart which shows the flow of the example of filter processing of the section which concerns on this embodiment. 本実施形態に係るプロセッサによるセクション消滅監視の処理例の流れを示すフローチャートである。It is a flowchart which shows the flow of the process example of the section disappearance monitoring by the processor which concerns on this embodiment. 本実施形態に係るセクション消滅監視の様子を示す模式図である。It is a schematic diagram which shows the mode of the section disappearance monitoring which concerns on this embodiment.

符号の説明Explanation of symbols

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 Antenna 120 Tuner 130 Demodulator 140 Descrambler 150 Demultiplexer 155 Section filter unit 156 Filter processing unit 157 Filter information storage unit 171 Processor (control unit)
172 Memory 180 Section filter unit 181 Monitoring flag storage unit 182 Filter processing unit 200 TS packet 311 Table identifier 317 Version number

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.
JP2008135968A 2008-05-23 2008-05-23 Receiver and receiving method Withdrawn JP2009284353A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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