[go: up one dir, main page]

JP2012070344A - Digital broadcast reception device and digital broadcast reception method - Google Patents

Digital broadcast reception device and digital broadcast reception method Download PDF

Info

Publication number
JP2012070344A
JP2012070344A JP2010215715A JP2010215715A JP2012070344A JP 2012070344 A JP2012070344 A JP 2012070344A JP 2010215715 A JP2010215715 A JP 2010215715A JP 2010215715 A JP2010215715 A JP 2010215715A JP 2012070344 A JP2012070344 A JP 2012070344A
Authority
JP
Japan
Prior art keywords
packet
video data
program
digital broadcast
pes packet
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
JP2010215715A
Other languages
Japanese (ja)
Inventor
Satoru Tokuyama
悟 徳山
Jun Yugawa
純 湯川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2010215715A priority Critical patent/JP2012070344A/en
Publication of JP2012070344A publication Critical patent/JP2012070344A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】選局時の映像非表示期間を短くすること。
【解決手段】選択されたチャンネルのデジタル放送信号を受信して復調するチューナ101と、復調されたストリームからパケットを抽出するデマルチプレクサ102と、抽出されたパケットの内の映像データパケットに含まれる映像データを復号するMPEG映像デコーダ105と、番組データを格納するパケットのパケット識別子を含む番組特定情報をチャンネル毎に有する管理情報を記憶する記憶部107と、制御部110と、を備え、制御部110は、選択されたチャンネルの番組特定情報が前記管理情報内にある場合には、選択されたチャンネルの番組特定情報を取得して、取得した番組特定情報に含まれるパケット識別子に対応するパケットをデマルチプレクサ102に抽出させ、選択されたチャンネルのパケット識別子が更新された場合に、選択されたチャンネルの番組特定情報に含まれているパケット識別子を更新する。
【選択図】図1
[PROBLEMS] To shorten an image non-display period at the time of channel selection.
A tuner that receives and demodulates a digital broadcast signal of a selected channel, a demultiplexer that extracts a packet from the demodulated stream, and a video included in a video data packet of the extracted packet. An MPEG video decoder 105 that decodes data, a storage unit 107 that stores management information including, for each channel, program identification information including a packet identifier of a packet that stores program data, and a control unit 110. If the program specifying information of the selected channel is in the management information, the program specifying information of the selected channel is acquired, and the packet corresponding to the packet identifier included in the acquired program specifying information is The multiplexer 102 extracts and updates the packet identifier of the selected channel. If it is, it updates the packet identifier contained in the program specific information of the selected channel.
[Selection] Figure 1

Description

本発明は、デジタル放送受信装置及びデジタル放送受信方法に関する。   The present invention relates to a digital broadcast receiving apparatus and a digital broadcast receiving method.

デジタル放送では、1つ又は複数のプログラムの映像データ及び音声データが多重化されてTS(Transport Stream)として放送されている。映像データ及び音声データはパケット化(1パケット188バイト構成)され、それぞれのパケットは、PIDと呼ばれる任意のパケット識別子情報によって番号付けされている。TSには、さらに番組を構成する映像データ及び音声データ等の番組データを特定するために必要な情報を含んでいるPSI(Program Specific Information)が多重化されている。PSIにはPAT(Program Association Table)及びPMT(Program Map Table)が含まれる。   In digital broadcasting, video data and audio data of one or more programs are multiplexed and broadcast as TS (Transport Stream). Video data and audio data are packetized (one packet is composed of 188 bytes), and each packet is numbered by arbitrary packet identifier information called PID. In the TS, PSI (Program Specific Information) including information necessary for specifying program data such as video data and audio data constituting the program is multiplexed. PSI includes a PAT (Program Association Table) and a PMT (Program Map Table).

デジタル放送を選局する際には、デジタル放送の受信機は、まずPATを取得し、PATに記述されているPMTのPIDを参照してPMTを取得する。PMTには映像データのPID、音声データのPID、字幕データのPID、PCR(Program Clock Reference)のPID、ECM(Entitlement Control Message)のPIDが記述されており、デジタル放送の受信機は、それぞれのパケットを取得することで番組を再生することができる。言い換えると、デジタル放送の選局ではPAT及びPMTを取得する必要があるが、これらのパケットは周期的に多重化されているためパケットを取得するまで待たなければならず、映像データ及び音声データ等のパケットを取得して、これらのデータ蓄積を開始するまでに時間を要する。この時間は、映像が表示されない映像非表示期間となる。   When selecting a digital broadcast, the digital broadcast receiver first acquires a PAT, and acquires the PMT by referring to the PID of the PMT described in the PAT. The PMT describes video data PID, audio data PID, subtitle data PID, PCR (Program Clock Reference) PID, and ECM (Entimental Control Message) PID. A program can be reproduced by acquiring a packet. In other words, it is necessary to acquire PAT and PMT in digital broadcast tuning, but since these packets are periodically multiplexed, it is necessary to wait until the packets are acquired, such as video data and audio data. It takes time to acquire these packets and start storing these data. This time is a video non-display period in which no video is displayed.

そこで、特許文献1に記載のデジタル放送受信機は、最後に選局処理を行ったときのチャンネルの番組データのPIDを保存し、次にこのチャンネルが選局されたときには、保存したPIDを用いることで、映像非表示期間を短縮している。   Therefore, the digital broadcast receiver described in Patent Document 1 stores the PID of the program data of the channel when the channel selection process was last performed, and uses the stored PID when the channel is selected next time. This shortens the video non-display period.

特開2010−016663号公報(第8頁、図4)JP 2010-016663 A (page 8, FIG. 4)

特許文献1に記載されたデジタル放送受信機では、最後に選局処理が行われた後に、例えば、番組が変わる等により映像データ及び音声データのPIDが変化した場合には、保存したPIDと放送中の番組のPIDとの間に違いが生じる。そのため、このような場合には、特許文献1に記載のデジタル放送受信機は、次回選局時に保存したPIDを参照して選局を行うと、放送中の番組の映像データ及び音声データのPIDと異なっているため、選局処理の途中から映像データ及び音声データのPIDを取り直さなければならず、映像非表示期間が長くなってしまう。   In the digital broadcast receiver described in Patent Document 1, when the PID of video data and audio data changes due to, for example, a program change after the last channel selection processing, the stored PID and broadcast There is a difference with the PID of the middle program. Therefore, in such a case, when the digital broadcast receiver described in Patent Document 1 selects a channel by referring to the PID stored at the next channel selection, the PID of the video data and audio data of the program being broadcast is selected. Therefore, the PID of the video data and the audio data has to be taken again during the channel selection process, and the video non-display period becomes long.

そこで、本発明は、選局時の映像非表示期間を短くすることを目的とする。   Therefore, an object of the present invention is to shorten the video non-display period at the time of channel selection.

本発明に係るデジタル放送受信装置は、
選択されたチャンネルのデジタル放送信号を受信して復調するチューナと、
前記チューナで復調されたストリームからパケットを抽出するデマルチプレクサと、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットに含まれる映像データを復号する映像デコーダと、
番組データを格納するパケットのパケット識別子を含む番組特定情報をチャンネル毎に有する管理情報を記憶する記憶部と、
制御部と、を備え、
前記制御部は、
前記選択されたチャンネルの番組特定情報が前記管理情報内にある場合には、前記選択されたチャンネルの番組特定情報を取得して、前記取得した番組特定情報に含まれるパケット識別子に対応するパケットを前記デマルチプレクサに抽出させる抽出パケット予測設定手段と、
前記選択されたチャンネルのパケット識別子が更新された場合に、前記選択されたチャンネルの番組特定情報に含まれているパケット識別子を更新する番組特定情報処理手段と、を備えることを特徴とする。
A digital broadcast receiving apparatus according to the present invention,
A tuner that receives and demodulates the digital broadcast signal of the selected channel;
A demultiplexer that extracts packets from the stream demodulated by the tuner;
A video decoder for decoding video data included in a video data packet among the packets extracted by the demultiplexer;
A storage unit for storing management information including program identification information including a packet identifier of a packet storing program data for each channel;
A control unit,
The controller is
When the program identification information of the selected channel is in the management information, the program identification information of the selected channel is acquired, and a packet corresponding to the packet identifier included in the acquired program identification information is acquired. Extraction packet prediction setting means for causing the demultiplexer to extract;
Program identification information processing means for updating a packet identifier included in the program identification information of the selected channel when the packet identifier of the selected channel is updated.

本発明によれば、選局時の映像非表示期間を短くすることができる。   According to the present invention, the video non-display period at the time of channel selection can be shortened.

実施の形態1に係るデジタル放送受信装置の構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a digital broadcast receiving apparatus according to Embodiment 1. FIG. 実施の形態1における管理情報の一例である番組特定情報管理テーブルを示す概略図である。6 is a schematic diagram showing a program specific information management table which is an example of management information in Embodiment 1. FIG. 実施の形態1における制御部の機能を概略的に示すブロック図である。3 is a block diagram schematically showing functions of a control unit in Embodiment 1. FIG. 実施の形態1におけるTSヘッダの構造を示す概略図である。3 is a schematic diagram showing a structure of a TS header in Embodiment 1. FIG. 実施の形態1に係るデジタル放送受信装置の選局処理を示すフローチャートである。3 is a flowchart showing a channel selection process of the digital broadcast receiving device according to the first embodiment. 実施の形態1における番組特定情報取得更新処理を示すフローチャートである。4 is a flowchart showing a program specific information acquisition update process in the first embodiment. 実施の形態1における番組特定情報更新処理を示すフローチャートである。4 is a flowchart showing a program specific information update process in the first embodiment. 実施の形態1におけるPESパケット検出処理を示すフローチャートである。6 is a flowchart showing PES packet detection processing in the first embodiment. 実施の形態1におけるバッファ部に蓄積されている映像データパケットの概略図である。4 is a schematic diagram of video data packets stored in a buffer unit in Embodiment 1. FIG. 実施の形態2における制御部の機能を概略的に示すブロック図である。6 is a block diagram schematically showing functions of a control unit in Embodiment 2. FIG. 実施の形態2におけるIピクチャ検出処理を示すフローチャートである。10 is a flowchart showing I picture detection processing in the second embodiment. 実施の形態2におけるバッファ部に蓄積されている映像データパケットを示す概略図である。6 is a schematic diagram illustrating video data packets stored in a buffer unit according to Embodiment 2. FIG.

実施の形態1.
図1は、実施の形態1に係るデジタル放送受信装置100の構成を概略的に示すブロック図である。デジタル放送受信装置100は、チューナ101と、デマルチプレクサ102と、B−CASカード103と、デスクランブラ104と、MPEG映像デコーダ105と、MPEG音声デコーダ106と、記憶部107と、制御部110と、キー受信部111と、リモコン112とを備える。なお、図1の括弧内の符号は、実施の形態2における構成を示す符号である。
Embodiment 1 FIG.
FIG. 1 is a block diagram schematically showing the configuration of the digital broadcast receiving apparatus 100 according to the first embodiment. The digital broadcast receiving apparatus 100 includes a tuner 101, a demultiplexer 102, a B-CAS card 103, a descrambler 104, an MPEG video decoder 105, an MPEG audio decoder 106, a storage unit 107, a control unit 110, A key receiving unit 111 and a remote controller 112 are provided. In addition, the code | symbol in the parenthesis of FIG. 1 is a code | symbol which shows the structure in Embodiment 2. FIG.

チューナ101は、デジタル放送信号を受信するアンテナ120から得られるデジタル放送信号を復調する。
デマルチプレクサ102は、トランスポートストリーム(Transpot Stream:以下、TSという)から、必要なパケットを分離する。また、デマルチプレクサ102は、バッファ部102Aを備え、分離したパケットの内の映像データパケット及び音声データパケットを一時的に保存する。
The tuner 101 demodulates the digital broadcast signal obtained from the antenna 120 that receives the digital broadcast signal.
The demultiplexer 102 separates necessary packets from a transport stream (hereinafter referred to as TS). The demultiplexer 102 includes a buffer unit 102A, and temporarily stores video data packets and audio data packets in the separated packets.

B−CASカード103は、図示していないが、例えば、カードスロットを介してデジタル放送受信装置100に接続されており、制御部110よりECMを与えられると、デスクランブルするための復号鍵を制御部110に提供する。
デスクランブラ104は、B−CASカード103から提供された復号鍵を用いて、暗号化されたデータを復号(デスクランブル)する。
Although not shown, the B-CAS card 103 is connected to the digital broadcast receiving apparatus 100 via, for example, a card slot, and controls a decryption key for descrambling when an ECM is given from the control unit 110. Part 110 is provided.
The descrambler 104 uses the decryption key provided from the B-CAS card 103 to decrypt (descramble) the encrypted data.

MPEG映像デコーダ105は、MPEG方式で符号化されたMPEG映像データをMPEG復号(デコード)し、映像信号を出力する。MPEG映像デコーダ105から出力された映像信号は、表示部121に送られることで、この映像信号に対応する映像が表示部121に表示される。
MPEG音声デコーダ106は、MPEG方式で符号化されたMPEG音声データをMPEG復号(デコード)し、音声信号を出力する。MPEG音声デコーダ106から出力された音声信号は、スピーカ122に送られる。
The MPEG video decoder 105 performs MPEG decoding (decoding) on the MPEG video data encoded by the MPEG method, and outputs a video signal. The video signal output from the MPEG video decoder 105 is sent to the display unit 121, and a video corresponding to this video signal is displayed on the display unit 121.
The MPEG audio decoder 106 decodes (decodes) MPEG audio data encoded by the MPEG method, and outputs an audio signal. The audio signal output from the MPEG audio decoder 106 is sent to the speaker 122.

記憶部107には、番組特定情報を管理するための管理情報が記憶される。管理情報は、チャンネル毎に、番組データを格納するパケットのパケット識別子(PID)を番組特定情報として備える。ここで、番組データは、映像データ、音声データ、字幕データ、PCR及びECMを含む。
例えば、管理情報は、図2に示すようなテーブル形式の情報として構成することができる。図2は、管理情報の一例である番組特定情報管理テーブル130を示す概略図である。番組特定情報管理テーブル130は、サービスID欄130Aと、PATのバージョン番号欄130Bと、PMTのバージョン番号欄130Cと、映像データのPID欄130Dと、音声データのPID欄130Eと、字幕データのPID欄130Fと、PCRのPID欄130Gと、ECMのPID欄130Hとを備える。
サービスID欄130Aは、チャンネルを識別するための識別情報であるサービスIDを格納する。
PATのバージョン番号欄130Bは、PMTのバージョン番号欄130Cで特定されるバージョン番号のPMTのPIDを格納したPATのバージョン番号を格納する。
PMTのバージョン番号欄130Cは、映像データ等のPIDを取得したPMTのバージョン番号を格納する。
映像データのPID欄130Dは、映像データのPIDを格納する。
音声データのPID欄130Eは、音声データのPIDを格納する。
字幕データのPID欄130Fは、字幕データのPIDを格納する。
PCRのPID欄130Gは、PCRのPIDを格納する。
ECMのPID欄130Hは、ECMのPIDを格納する。
The storage unit 107 stores management information for managing program specifying information. The management information includes a packet identifier (PID) of a packet storing program data as program specifying information for each channel. Here, the program data includes video data, audio data, caption data, PCR, and ECM.
For example, the management information can be configured as information in a table format as shown in FIG. FIG. 2 is a schematic diagram showing a program specifying information management table 130 which is an example of management information. The program identification information management table 130 includes a service ID column 130A, a PAT version number column 130B, a PMT version number column 130C, a video data PID column 130D, an audio data PID column 130E, and a subtitle data PID. A column 130F, a PCR PID column 130G, and an ECM PID column 130H are provided.
The service ID column 130A stores a service ID that is identification information for identifying a channel.
The PAT version number field 130B stores the PAT version number in which the PID of the PMT having the version number specified in the PMT version number field 130C is stored.
The PMT version number column 130C stores the version number of the PMT from which the PID such as video data has been acquired.
The video data PID column 130D stores the PID of the video data.
The audio data PID column 130E stores the PID of the audio data.
The PID column 130F of caption data stores the PID of caption data.
The PCR PID column 130G stores the PID of the PCR.
The ECM PID column 130H stores the ECM PID.

また、記憶部107には、制御部110での処理を行うためのアプリケーションプログラムが記憶される。
例えば、記憶部107は、不揮発性メモリであるフラッシュROM108と、揮発性メモリであるRAM109とにより構成することができ、フラッシュROM108は、番組特定情報管理テーブル130及びアプリケーションプログラムを記憶し、これらは、RAM109に読み出される。
The storage unit 107 stores an application program for performing processing in the control unit 110.
For example, the storage unit 107 can be configured by a flash ROM 108 that is a non-volatile memory and a RAM 109 that is a volatile memory, and the flash ROM 108 stores a program specific information management table 130 and an application program. Read out to the RAM 109.

制御部110は、デジタル放送受信装置100での処理を制御する。
図3は、制御部110の機能を概略的に示すブロック図である。図示するように、制御部110は、再生制御手段110Aと、先読み選局手段110Bと、PESパケット検出手段110Gと、PESパケット転送手段110Hとを備える。
The control unit 110 controls processing in the digital broadcast receiving apparatus 100.
FIG. 3 is a block diagram schematically showing functions of the control unit 110. As shown in the figure, the control unit 110 includes reproduction control means 110A, prefetch channel selection means 110B, PES packet detection means 110G, and PES packet transfer means 110H.

再生制御手段110Aは、デジタル放送受信装置100におけるデジタル放送の再生処理の全体を制御する。例えば、再生制御手段110Aは、キー受信部111を介して、リモコン112からの選局指示を受けると、選局指示に対応するチャンネルのデジタル放送信号を受信できるように、チューナ101を制御する。また、再生制御手段110Aは、ECMパケットからECMを取得し、このECMをB−CASカード103に送り、B−CASカード103から復号鍵を取得する。そして、再生制御手段110Aは、取得した復号鍵をデスクランブラ104に設定する。   The reproduction control unit 110 </ b> A controls the entire digital broadcast reproduction process in the digital broadcast receiving apparatus 100. For example, upon receiving a channel selection instruction from the remote controller 112 via the key receiving unit 111, the reproduction control unit 110A controls the tuner 101 so that a digital broadcast signal of a channel corresponding to the channel selection instruction can be received. Further, the reproduction control unit 110A acquires the ECM from the ECM packet, sends this ECM to the B-CAS card 103, and acquires the decryption key from the B-CAS card 103. Then, the reproduction control unit 110 </ b> A sets the acquired decryption key in the descrambler 104.

先読み選局手段110Bは、選局指示に対応するチャンネルの番組特定情報を取得し、この番組特定情報で示されるPIDをデマルチプレクサ102に設定する。また、先読み選局手段110Bは、番組特定情報を取得する処理、及び番組特定情報を更新する処理を行う。ここで、先読み選局手段110Bは、抽出パケット予測設定手段110Cと、番組特定情報処理手段110Dとを備える。   The prefetch channel selection unit 110B acquires the program identification information of the channel corresponding to the channel selection instruction, and sets the PID indicated by the program identification information in the demultiplexer 102. Further, the prefetch channel selection means 110B performs a process of acquiring the program specifying information and a process of updating the program specifying information. Here, the prefetch channel selection unit 110B includes an extracted packet prediction setting unit 110C and a program identification information processing unit 110D.

抽出パケット予測設定手段110Cは、記憶部107に記憶されている番組特定情報管理テーブル130から、選局指示に対応するチャンネルの番組特定情報を抽出し、抽出した番組特定情報で示される映像データパケットのPID、音声データパケットのPID、字幕データパケットのPID、PCRパケットのPID及びECMパケットのPIDをデマルチプレクサ102に設定する。   The extracted packet prediction setting unit 110C extracts the program specifying information of the channel corresponding to the channel selection instruction from the program specifying information management table 130 stored in the storage unit 107, and the video data packet indicated by the extracted program specifying information , The PID of the audio data packet, the PID of the caption data packet, the PID of the PCR packet, and the PID of the ECM packet are set in the demultiplexer 102.

番組特定情報処理手段110Dは、TSから番組特定情報を取得し、この番組特定情報を番組特定情報管理テーブル130に格納する処理を行うとともに、番組特定情報管理テーブル130に格納されている番組特定情報を更新する処理を行う。
ここで、番組特定情報処理手段110Dは、番組特定情報取得更新手段110Eと、番組特定情報更新手段110Fとを備える。
番組特定情報取得更新手段110Eは、番組特定情報管理テーブル130に番組特定情報を格納し、この番組特定情報を更新する処理を行う。
番組特定情報更新手段110Fは、番組特定情報取得更新手段110Eが番組特定情報を格納する処理及び更新する処理の何れも行っていないときに、番組特定情報管理テーブル130に格納されている番組特定情報を更新する処理を行う。
The program specific information processing means 110D acquires the program specific information from the TS, performs processing for storing the program specific information in the program specific information management table 130, and also stores the program specific information stored in the program specific information management table 130. Process to update.
Here, the program specific information processing unit 110D includes a program specific information acquisition / updating unit 110E and a program specific information updating unit 110F.
The program specific information acquisition / updating means 110E stores the program specific information in the program specific information management table 130 and performs a process of updating the program specific information.
The program identification information updating unit 110F stores the program identification information stored in the program identification information management table 130 when the program identification information acquisition / updating unit 110E is not performing any of the process of storing and updating the program identification information. Process to update.

PESパケット検出手段110Gは、デマルチプレクサ102のバッファ部102Aに格納されている映像データパケットのうち、ピクチャデータの先頭が含まれている映像データパケットを検出する。例えば、PESパケット検出手段110Gは、TSヘッダのペイロードユニット開始インジケータが「1」である場合に、このようなTSヘッダを有する映像データパケットにピクチャデータの先頭が含まれていると判断する。図4は、TSヘッダ131の構造を示す概略図である。図示するように、TSヘッダ131は、同期バイト131Aと、トランスポートエラーインジケータ131Bと、ペイロートユニット開始インジケータ131Cと、トランスポート優先度131Dと、PID131Eと、トランスポートスクランブル制御131Fと、アダプテーションフィールド制御131Gと、連続性指標131Hとを備える。そして、ペイロートユニット開始インジケータ131Cが「1」であれば、PESパケットの先頭が含まれ、PESパケットの先頭には必ずピクチャデータの先頭が配置されている。
そして、PESパケット検出手段110Gは、ピクチャデータの先頭が含まれている映像データパケットがバッファ部102Aに記憶されている位置を示すPESパケット先頭位置情報を生成する。なお、PESパケット検出手段110Gは、特定したPESパケット先頭位置情報を記憶部107に記憶させておく。
The PES packet detection unit 110G detects a video data packet that includes the head of picture data among the video data packets stored in the buffer unit 102A of the demultiplexer 102. For example, when the payload unit start indicator of the TS header is “1”, the PES packet detection unit 110G determines that the top of the picture data is included in the video data packet having such a TS header. FIG. 4 is a schematic diagram showing the structure of the TS header 131. As shown, the TS header 131 includes a synchronization byte 131A, a transport error indicator 131B, a payload unit start indicator 131C, a transport priority 131D, a PID 131E, a transport scramble control 131F, and an adaptation field control. 131G and a continuity index 131H. If the payroit unit start indicator 131C is “1”, the head of the PES packet is included, and the head of the picture data is always arranged at the head of the PES packet.
Then, the PES packet detection unit 110G generates PES packet head position information indicating the position where the video data packet including the head of the picture data is stored in the buffer unit 102A. Note that the PES packet detection unit 110G stores the specified PES packet head position information in the storage unit 107.

PESパケット転送手段110Hは、B−CASカード103から復号鍵が取得されると、バッファ部102Aより、PESパケット先頭位置情報で特定される位置から映像データパケットを読み出し、デスクランブラ104に転送して、この映像データパケットを復号させる。また、PESパケット転送手段110Hは、デスクランブラ104で復号された復号済みの映像データパケットをMPEG映像デコーダ105に転送して、この復号済みの映像データパケットに対してMPEG復号を行われる。
また、PESパケット転送手段110Hは、バッファ部102Aより、音声データパケットについても読み出し、デスクランブラ104に転送して、この音声データパケットを復号させる。また、PESパケット転送手段110Hは、デスクランブラ104で復号された復号済みの音声データパケットをMPEG音声デコーダ106に転送して、この復号済みの音声データパケットに対してMPEG復号を行われる。ここで、PESパケット転送手段110Hは、デスクランブラ104に転送した映像データパケットに対応する音声データパケットをデスクランブラ104に転送すればよい。
When the decryption key is acquired from the B-CAS card 103, the PES packet transfer unit 110H reads the video data packet from the position specified by the PES packet head position information from the buffer unit 102A, and transfers it to the descrambler 104. The video data packet is decoded. The PES packet transfer unit 110H transfers the decoded video data packet decoded by the descrambler 104 to the MPEG video decoder 105, and performs MPEG decoding on the decoded video data packet.
The PES packet transfer unit 110H also reads out the audio data packet from the buffer unit 102A, transfers it to the descrambler 104, and decodes the audio data packet. The PES packet transfer unit 110H transfers the decoded audio data packet decoded by the descrambler 104 to the MPEG audio decoder 106, and MPEG decoding is performed on the decoded audio data packet. Here, the PES packet transfer unit 110 </ b> H may transfer the audio data packet corresponding to the video data packet transferred to the descrambler 104 to the descrambler 104.

キー受信部111は、リモコン112が入力を受け付けたキー操作に対応する操作信号を受信する。
リモコン112は、ユーザよりキー操作の入力を受け付ける。
The key receiving unit 111 receives an operation signal corresponding to a key operation accepted by the remote controller 112.
The remote control 112 receives an input of a key operation from the user.

図5は、実施の形態1に係るデジタル放送受信装置100の選局処理を示すフローチャートである。なお、デジタル放送受信装置100では、アプリケーションプログラムがフラッシュROM108からRAM109に読み出されてアプリケーションプログラムが起動され、制御部110として機能する。また、制御部110は、フラッシュROM108に番組特定情報管理テーブル130が格納されている場合は、番組特定情報管理テーブル130をRAM109に読み出し、制御部110は、RAM109に読み出された番組特定情報管理テーブル130を用いて処理を行う。フラッシュROM108に番組特定情報管理テーブル130が格納されていない場合は、制御部110は、RAM109に番組特定情報管理テーブル130を生成する。   FIG. 5 is a flowchart showing channel selection processing of digital broadcast receiving apparatus 100 according to Embodiment 1. In the digital broadcast receiving apparatus 100, the application program is read from the flash ROM 108 to the RAM 109, and the application program is activated to function as the control unit 110. Further, when the program specific information management table 130 is stored in the flash ROM 108, the control unit 110 reads the program specific information management table 130 into the RAM 109, and the control unit 110 reads the program specific information management table read into the RAM 109. Processing is performed using the table 130. When the program specific information management table 130 is not stored in the flash ROM 108, the control unit 110 generates the program specific information management table 130 in the RAM 109.

ユーザが、現在視聴しているチャンネルを切り替えるためにリモコン112の選局キーを押下すると、キー受信部111が、選局キーの押下操作に対応する操作信号を受信する(S10)。   When the user presses the channel selection key of the remote controller 112 to switch the channel currently being viewed, the key receiving unit 111 receives an operation signal corresponding to the operation of pressing the channel selection key (S10).

再生制御手段110Aは、ステップS10で受信された操作信号で特定される選局先チャンネルのデジタル放送信号を受信して復調するために、チューナ101に対してチューナ制御を開始する(S11)。   The reproduction control means 110A starts tuner control for the tuner 101 in order to receive and demodulate the digital broadcast signal of the channel selected by the operation signal received in step S10 (S11).

ステップS11でチューナ制御が開始されると、先読み選局手段110Bは、先読み選局処理を開始する。先読み選局処理は、ステップS12からS16の処理である。
まず、抽出パケット予測設定手段110Cは、選局先チャンネルの番組特定情報を番組特定情報管理テーブル130から抽出することができるか否かを判断する(S12)。そして、抽出パケット予測設定手段110Cは、選局先チャンネルの番組特定情報を抽出することができない場合(ステップS12でNo)には、ステップS13の処理に進み、選局先チャンネルの番組特定情報を抽出することができる場合(ステップS12でYes)には、ステップS14の処理に進む。
When tuner control is started in step S11, the prefetch channel selection unit 110B starts prefetch channel selection processing. The prefetch channel selection process is a process of steps S12 to S16.
First, the extracted packet prediction setting unit 110C determines whether or not the program specific information of the channel to be selected can be extracted from the program specific information management table 130 (S12). If the extracted packet prediction setting unit 110C cannot extract the program identification information of the channel selection destination channel (No in step S12), the process proceeds to step S13, and the program identification information of the channel selection destination channel is obtained. If it can be extracted (Yes in step S12), the process proceeds to step S14.

ステップS13では、番組特定情報取得更新手段110Eは、番組特定情報取得更新処理を行う。番組特定情報取得更新処理については、図6を用いて詳細に説明する。   In step S13, the program specific information acquisition update unit 110E performs a program specific information acquisition update process. The program specific information acquisition / update process will be described in detail with reference to FIG.

ステップS14では、抽出パケット予測設定手段110Cは、番組特定情報管理テーブル130から、選局先チャンネルの番組特定情報を抽出し、この番組特定情報から、映像データパケットのPID、音声データパケットのPID、字幕データパケットのPID、PCRパケットのPID及びECMパケットのPIDを抽出して、これらをデマルチプレクサ102に設定する。これらが設定されたデマルチプレクサ102では、設定されたPIDに対応するパケットを取得する。また、デマルチプレクサ102は、取得した映像データパケット及び音声データパケットをバッファ部102Aに記憶させる。   In step S14, the extracted packet prediction setting unit 110C extracts the program identification information of the channel to be selected from the program identification information management table 130, and from this program identification information, the PID of the video data packet, the PID of the audio data packet, The PID of the caption data packet, the PID of the PCR packet, and the PID of the ECM packet are extracted and set in the demultiplexer 102. The demultiplexer 102 in which these are set acquires a packet corresponding to the set PID. Further, the demultiplexer 102 stores the acquired video data packet and audio data packet in the buffer unit 102A.

ここで、ステップS14でデマルチプレクサ102にPIDが設定されると、ステップS15及びS16の処理と、ステップS17〜S19の処理とが並行して行われる。   Here, when the PID is set in the demultiplexer 102 in step S14, the processes in steps S15 and S16 and the processes in steps S17 to S19 are performed in parallel.

まず、番組特定情報更新手段110Fは、ステップS13の番組特定情報取得更新処理が開始済みか否かを判断する(S15)。そして、番組特定情報更新手段110Fは、番組特定情報取得更新処理が開始済みではない場合(ステップS15でNo)には、ステップS16の処理に進む。   First, the program specific information update unit 110F determines whether or not the program specific information acquisition update process of step S13 has been started (S15). And the program specific information update means 110F progresses to the process of step S16, when the program specific information acquisition update process has not been started (No in step S15).

ステップS16では、番組特定情報更新手段110Fは、番組特定情報更新処理を行う。番組特定情報更新処理については、図7を用いて詳細に説明する。   In step S16, the program specific information update unit 110F performs program specific information update processing. The program specific information update process will be described in detail with reference to FIG.

また、PESパケット検出手段はPESパケット検出処理を開始する(S17)。PESパケット検出処理については、図8を用いて詳細に説明する。   Further, the PES packet detection means starts the PES packet detection process (S17). The PES packet detection process will be described in detail with reference to FIG.

次に、PESパケット転送手段110Hは、PESパケットの先頭位置に対応する映像データパケットから、MPEG映像デコーダ105に転送し、また、音声データパケットについても、MPEG音声デコーダ106に転送する(S18)。   Next, the PES packet transfer means 110H transfers the video data packet corresponding to the head position of the PES packet to the MPEG video decoder 105, and also transfers the audio data packet to the MPEG audio decoder 106 (S18).

そして、MPEG映像デコーダ105及びMPEG音声デコーダ106は、入力された映像データパケット及び音声データパケットをそれぞれMPEG復号する(S19)。なお、MPEG復号された映像信号は、表示部121に、MPEG復号された音声信号は、スピーカ122にそれぞれ出力される。   Then, the MPEG video decoder 105 and the MPEG audio decoder 106 MPEG-decode the input video data packet and audio data packet, respectively (S19). The MPEG-decoded video signal is output to the display unit 121, and the MPEG-decoded audio signal is output to the speaker 122.

図6は、番組特定情報取得更新処理を示すフローチャートである。
まず、制御部110の番組特定情報取得更新手段110Eは、番組特定情報管理テーブル130に新たなレコードを追加し、追加したレコードのサービスID欄130Aに選局されたチャンネルに対応するサービスIDを格納し、他の欄130B〜130Hにはヌル値等の初期値を格納する(S20)。
FIG. 6 is a flowchart showing the program specific information acquisition update process.
First, the program specific information acquisition / update means 110E of the control unit 110 adds a new record to the program specific information management table 130, and stores the service ID corresponding to the selected channel in the service ID column 130A of the added record. Then, initial values such as a null value are stored in the other columns 130B to 130H (S20).

次に、制御部110の番組特定情報取得更新手段110Eは、デマルチプレクサ102より、固定PIDであるPATパケットの取得を開始する(S21)。   Next, the program specific information acquisition / update unit 110E of the control unit 110 starts acquisition of a PAT packet that is a fixed PID from the demultiplexer 102 (S21).

次に、番組特定情報取得更新手段110Eは、PATパケットを取得したか否かを確認する(S22)。番組特定情報取得更新手段110Eは、PATパケットを取得した場合(ステップS22でYes)には、ステップS23の処理に進み、PATパケットを取得していない場合(ステップS22でNo)には、ステップS31の処理に進む。   Next, the program specific information acquisition update unit 110E checks whether or not a PAT packet has been acquired (S22). If the PAT packet is acquired (Yes in step S22), the program specific information acquisition / updating means 110E proceeds to the process of step S23. If the PAT packet is not acquired (No in step S22), the program specific information acquisition / updating means 110E Proceed to the process.

ステップS23では、番組特定情報取得更新手段110Eは、取得したPATパケットを解析してPATのバージョン番号を取得する。   In step S23, the program specific information acquisition / update unit 110E analyzes the acquired PAT packet and acquires the PAT version number.

次に、番組特定情報取得更新手段110Eは、番組特定情報管理テーブル130において、選局先チャンネルのサービスIDがサービスID欄130Aに格納されているレコードを特定し、ステップS23で取得したPATのバージョン番号が、特定したレコードのPATバージョン番号欄130Bに格納されているPATのバージョン番号から更新されているか否かを判断する(S24)。なお、番組特定情報取得更新手段110Eは、これらのバージョン番号が異なっている場合には、更新されていると判断する。そして、番組特定情報取得更新手段110Eは、更新されている場合(ステップS24でYes)には、ステップS25の処理に進み、更新されていない場合(ステップS24でNo)には、ステップS22の処理に戻る。   Next, the program identification information acquisition / updating means 110E identifies the record in which the service ID of the selected channel is stored in the service ID column 130A in the program identification information management table 130, and the version of the PAT acquired in step S23. It is determined whether or not the number has been updated from the PAT version number stored in the PAT version number column 130B of the identified record (S24). In addition, the program specific information acquisition update means 110E judges that it is updated when these version numbers are different. Then, the program specific information acquisition / updating means 110E proceeds to the process of step S25 if updated (Yes in step S24), and proceeds to the process of step S22 if not updated (No in step S24). Return to.

ステップS25では、番組特定情報取得更新手段110Eは、ステップS23で取得したPATのバージョン番号を、番組特定情報管理テーブル130に保持する。例えば、番組特定情報取得更新手段110Eは、選局先チャンネルのサービスIDに対応して番組特定情報管理テーブル130に既に格納されているPATのバージョン番号を削除して、ステップS23で取得したPATのバージョン番号を新たに格納する。   In step S25, the program specific information acquisition / update unit 110E holds the version number of the PAT acquired in step S23 in the program specific information management table 130. For example, the program specific information acquisition / updating means 110E deletes the PAT version number already stored in the program specific information management table 130 in correspondence with the service ID of the selected channel, and acquires the PAT of the PAT acquired in step S23. Stores a new version number.

次に、番組特定情報取得更新手段110Eは、取得したPATパケットを解析し、PMTパケットのPIDを特定して、PMTパケットの取得を開始する(S26)。   Next, the program specifying information acquisition / updating unit 110E analyzes the acquired PAT packet, specifies the PID of the PMT packet, and starts acquiring the PMT packet (S26).

そして、番組特定情報取得更新手段110Eは、PMTパケットを取得したか否かを確認する(S27)。番組特定情報取得更新手段110Eは、PMTパケットを取得した場合(ステップS27でYes)には、ステップS28の処理に進み、PMTパケットを取得していない場合(ステップS27でNo)には、ステップS32の処理に進む。   Then, the program specific information acquisition / update means 110E confirms whether or not the PMT packet has been acquired (S27). When the PMT packet is acquired (Yes in step S27), the program specific information acquisition / updating means 110E proceeds to the process of step S28, and when the PMT packet is not acquired (No in step S27), the program specifying information acquisition / updating means 110E Proceed to the process.

ステップS28では、番組特定情報取得更新手段110Eは、取得したPMTパケットを解析してPMTのバージョン番号を取得する。   In step S28, the program specific information acquisition update unit 110E analyzes the acquired PMT packet and acquires the version number of the PMT.

次に、番組特定情報取得更新手段110Eは、番組特定情報管理テーブル130において、選局先チャンネルのサービスIDがサービスID欄130Aに格納されているレコードを特定し、ステップS28で取得したPMTのバージョン番号が、特定したレコードのPMTバージョン番号欄130Cに格納されているPMTのバージョン番号から更新されているか否かを判断する(S29)。なお、番組特定情報取得更新手段110Eは、これらのバージョン番号が異なっている場合には、更新されていると判断する。そして、番組特定情報取得更新手段110Eは、更新されている場合(ステップS29でYes)には、ステップS30の処理に進み、更新されていない場合(ステップS29でNo)には、ステップS27の処理に戻る。   Next, the program identification information acquisition / updating means 110E identifies the record in which the service ID of the selected channel is stored in the service ID column 130A in the program identification information management table 130, and the version of the PMT acquired in step S28. It is determined whether or not the number has been updated from the version number of the PMT stored in the PMT version number column 130C of the identified record (S29). In addition, the program specific information acquisition update means 110E judges that it is updated when these version numbers are different. Then, the program specific information acquisition / updating means 110E proceeds to the process of step S30 when updated (Yes in step S29), and proceeds to the process of step S27 when not updated (No in step S29). Return to.

ステップS30では、番組特定情報取得更新手段110Eは、ステップS28で取得したPMTのバージョン番号を、番組特定情報管理テーブル130に保持するとともに、PMTパケットを解析して映像データパケットのPID、音声データパケットのPID、字幕データパケットのPID、PCRパケットのPID、ECMパケットのPIDを取得し、選局先チャンネルに対応して番組特定情報管理テーブル130に格納されている内容に対して変更があるか否かを判別して、変更がある場合は、変更後の内容を番組特定情報管理テーブル130に保持する。   In step S30, the program specific information acquisition / updating means 110E holds the PMT version number acquired in step S28 in the program specific information management table 130, analyzes the PMT packet, and analyzes the PID and audio data packet of the video data packet. The PID of the subtitle data packet, the PID of the PCR packet, and the PID of the ECM packet are acquired, and whether or not there is a change in the content stored in the program specific information management table 130 corresponding to the selected channel If there is a change, the changed content is stored in the program specifying information management table 130.

一方、ステップS22において、PATパケットを取得していない場合(ステップS22でNo)には、番組特定情報取得更新手段110Eは、ステップS31の処理に進む。ステップS31では、番組特定情報取得更新手段110Eは、PMTパケットを取得したか否かを確認する。そして、番組特定情報取得更新手段110Eは、PMTパケットを取得した場合(ステップS31でYes)には、ステップS28の処理に進み、PMTパケットを取得していない場合(ステップS31でNo)には、ステップS22の処理に戻る。   On the other hand, if the PAT packet has not been acquired in step S22 (No in step S22), the program specific information acquisition / update means 110E proceeds to the process of step S31. In step S31, the program specific information acquisition update unit 110E confirms whether or not a PMT packet has been acquired. When the PMT packet is acquired (Yes in Step S31), the program specific information acquisition / updating unit 110E proceeds to the process of Step S28, and when the PMT packet is not acquired (No in Step S31), The process returns to step S22.

また、ステップS27において、PMTパケットを取得していない場合(ステップS27でNo)には、番組特定情報取得更新手段110Eは、ステップS32の処理に進む。ステップS32では、番組特定情報取得更新手段110Eは、PATパケットを取得したか否かを確認する。そして、番組特定情報取得更新手段110Eは、PATパケットを取得した場合(ステップS32でYes)には、ステップS23の処理に戻り、PATパケットを取得していない場合(ステップS32でNo)には、ステップS27の処理に戻る。   If the PMT packet has not been acquired in step S27 (No in step S27), the program specific information acquisition / updating means 110E proceeds to the process of step S32. In step S32, the program specific information acquisition update unit 110E confirms whether or not a PAT packet has been acquired. If the PAT packet is acquired (Yes in step S32), the program specific information acquisition / updating means 110E returns to the process of step S23, and if the PAT packet is not acquired (No in step S32), The process returns to step S27.

図7は、番組特定情報更新処理を示すフローチャートである。
まず、番組特定情報更新手段110Fは、番組特定情報管理テーブル130において、選局先チャンネルのサービスIDがサービスID欄130Aに格納されているレコードを特定し、特定したレコードのPATのバージョン番号欄130Bに格納されている値を初期化する(S40)。例えば、番組特定情報更新手段110Fは、特定したレコードのPATのバージョン番号欄130Bの値を削除して、ヌル値等の初期値を格納する。
FIG. 7 is a flowchart showing the program identification information update process.
First, the program identification information updating unit 110F identifies the record in which the service ID of the channel to be selected is stored in the service ID column 130A in the program identification information management table 130, and the PAT version number column 130B of the identified record. The value stored in is initialized (S40). For example, the program specifying information updating unit 110F deletes the value in the PAT version number column 130B of the specified record and stores an initial value such as a null value.

そして、番組特定情報更新手段110Fは、ステップS41からS52までの処理を行う。ここで、これらの処理は、図6のステップS21からS32までの処理と同様の処理であるが、番組特定情報取得更新手段110Eの代わりに番組特定情報更新手段110Fが行う。   And the program specific information update means 110F performs the process from step S41 to S52. Here, these processes are the same as the processes from steps S21 to S32 in FIG. 6, but are performed by the program specific information update unit 110F instead of the program specific information acquisition update unit 110E.

なお、図6及び図7には記載されていないが、番組特定情報管理テーブル130がフラッシュROM108に記憶され、RAM109に読み出されて処理が行われている場合には、番組特定情報管理テーブル130に格納されている情報が更新されるたびに、更新後の番組特定情報管理テーブル130をフラッシュROM131に記憶するのが望ましい。   Although not shown in FIGS. 6 and 7, when the program specific information management table 130 is stored in the flash ROM 108 and read out to the RAM 109 and processed, the program specific information management table 130 is stored. It is desirable to store the updated program specific information management table 130 in the flash ROM 131 each time the information stored in the is updated.

図8は、PESパケット検出処理を示すフローチャートである。   FIG. 8 is a flowchart showing the PES packet detection process.

まず、PESパケット検出手段110Gは、デマルチプレクサ102のバッファ部102Aより、バッファされた順番に従って、映像データパケットを取得する(S60)。   First, the PES packet detection unit 110G acquires video data packets from the buffer unit 102A of the demultiplexer 102 according to the buffered order (S60).

次に、PESパケット検出手段110Gは、取得した映像データパケットの先頭に配置されているTSヘッダ131(図4を参照)の解析を開始する(S61)。   Next, the PES packet detection unit 110G starts analysis of the TS header 131 (see FIG. 4) arranged at the head of the acquired video data packet (S61).

PESパケット検出手段110Gは、TSヘッダ131を解析してペイロードユニット開始インジケータ130Cが「1」であるか否かを判断する(S62)。PESパケット検出手段110Gは、ペイロードユニット開始インジケータが「1」である場合(ステップS62でYes)には、ステップS63の処理に進み、ペイロードユニット開始インジケータが「1」ではない場合(ステップS62でNo)には、ステップS60の処理に戻り、次の映像データパケットを取得する。   The PES packet detection unit 110G analyzes the TS header 131 and determines whether or not the payload unit start indicator 130C is “1” (S62). When the payload unit start indicator is “1” (Yes in Step S62), the PES packet detection unit 110G proceeds to the process of Step S63, and when the payload unit start indicator is not “1” (No in Step S62). ), The process returns to step S60 to obtain the next video data packet.

ステップS63では、PESパケット検出手段110Gは、ステップS60において取得した映像データパケットがバッファ部102Aに格納されている位置を、PESパケット先頭位置情報として取得する。なお、PESパケット検出手段110Gは、このようにして取得したPESパケット先頭位置情報を記憶部107に記憶させておく。   In step S63, the PES packet detection unit 110G acquires the position where the video data packet acquired in step S60 is stored in the buffer unit 102A as PES packet head position information. The PES packet detection unit 110G stores the PES packet head position information thus acquired in the storage unit 107.

次に、PESパケット転送手段110Hは、PESパケット先頭位置情報が取得されると、再生制御手段110AがB−CASカード103より復号鍵を取得したか否かを確認する(S64)。PESパケット転送手段110Hは、復号鍵が取得された場合(ステップS64でYes)には、ステップS65の処理に進み、復号鍵が取得されていない場合(ステップS64でNo)には、復号鍵が取得されるまで待機する。   Next, when the PES packet head position information is acquired, the PES packet transfer unit 110H confirms whether or not the reproduction control unit 110A has acquired the decryption key from the B-CAS card 103 (S64). When the decryption key is acquired (Yes in step S64), the PES packet transfer unit 110H proceeds to the process of step S65. When the decryption key is not acquired (No in step S64), the PES packet transfer unit 110H acquires the decryption key. Wait until it is obtained.

ステップS65では、PESパケット転送手段110Hは、バッファ部102Aより、ステップS63で取得されたPESパケット先頭位置情報で示される位置から映像データパケットを読み出して、デスクランブラ104に転送して、復号を開始させる。ここで、PESパケット転送手段110Hは、対応する音声データパケットについてもバッファ部102Aより読み出して、デスクランブラ104に転送して、復号を開始させる。   In step S65, the PES packet transfer unit 110H reads the video data packet from the position indicated by the PES packet head position information acquired in step S63 from the buffer unit 102A, transfers it to the descrambler 104, and starts decoding. Let Here, the PES packet transfer unit 110H also reads out the corresponding audio data packet from the buffer unit 102A, transfers it to the descrambler 104, and starts decoding.

図9は、バッファ部102Aに蓄積されている映像データパケットの概略図である。例えば、バッファ部102Aには、映像データパケットとして、パケット(1)〜(9)が蓄積されている。なお、括弧内の数字は、パケットがバッファ部102Aに蓄積された順番を示すものとする。また、PUSIは、ペイロードユニット開始インジケータであり、“0”又は“1”は、ペイロードユニット開始インジケータの値である。
ここで、パケット(1)〜(6)までの映像データパケットは、ペイロードユニット開始インジケータの値が“0”であるため、PESパケットの途中からのデータであり、ピクチャデータの先頭が含まれていない。従って、パケット(1)〜(6)を復号して、MPEG映像デコーダ105に転送したとしても、MPEG復号を行うことができず、映像信号は出力されない。このため、パケット(1)〜(6)をデスクランブラ104及びMPEG映像デコーダ105で処理したとしても、映像データパケットを復号してMPEG映像デコーダに転送する時間は、無駄になる。
そこで、PESパケット検出手段110GがPESパケットの先頭を含むパケット(7)を検出して、PESパケット転送手段110Hが、パケット(7)からデスクランブラ104及びMPEG映像デコーダ105に転送することで、無駄な時間を省くことができる。
FIG. 9 is a schematic diagram of video data packets stored in the buffer unit 102A. For example, packets (1) to (9) are stored in the buffer unit 102A as video data packets. The numbers in parentheses indicate the order in which packets are accumulated in the buffer unit 102A. PUSI is a payload unit start indicator, and “0” or “1” is a value of the payload unit start indicator.
Here, the video data packets of packets (1) to (6) are data from the middle of the PES packet because the value of the payload unit start indicator is “0”, and include the head of the picture data. Absent. Therefore, even if the packets (1) to (6) are decoded and transferred to the MPEG video decoder 105, MPEG decoding cannot be performed and no video signal is output. For this reason, even if the packets (1) to (6) are processed by the descrambler 104 and the MPEG video decoder 105, the time for decoding the video data packet and transferring it to the MPEG video decoder is wasted.
Therefore, the PES packet detection unit 110G detects the packet (7) including the head of the PES packet, and the PES packet transfer unit 110H transfers the packet (7) to the descrambler 104 and the MPEG video decoder 105. Save time.

以上のように、本実施の形態に係るデジタル放送受信装置100によれば、選局処理をする際に、番組特定情報管理テーブル130に格納されているPIDを利用するため、TSパケットから選局先チャンネルの番組データのパケットに対応するPIDを取得する時間がなくなり、すばやく番組データの取得が開始される。さらに番組視聴中に番組データに対応するPIDが更新された場合には、更新されたPIDが番組特定情報管理テーブル130に保持されるため、次回選局時にPIDの取り直しを行わないで、すばやく番組データの取得が開始される。従って、本実施の形態に係るデジタル放送受信装置100によれば、映像非表示期間を短縮することができる。   As described above, according to digital broadcast receiving apparatus 100 according to the present embodiment, when a channel selection process is performed, a PID stored in program specific information management table 130 is used. There is no time to acquire the PID corresponding to the packet of the program data of the previous channel, and acquisition of the program data is started quickly. Further, when the PID corresponding to the program data is updated while the program is being viewed, the updated PID is held in the program identification information management table 130, so that the program can be quickly retrieved without re-acquiring the PID at the next channel selection. Data acquisition starts. Therefore, according to digital broadcast receiving apparatus 100 according to the present embodiment, the video non-display period can be shortened.

また、本実施の形態に係るデジタル放送受信装置100によれば、復号鍵を取得するまでの間に取得した映像データパケットのうちPESパケットの先頭が含まれる映像データパケットを検出し、復号鍵を取得した後に、この映像データパケットから復号を開始して、MPEG映像デコーダ105に転送することで、MPEG復号を開始するまでの時間が短くなる。従って、本実施の形態に係るデジタル放送受信装置100によれば、映像非表示期間を短縮することができる。   Moreover, according to the digital broadcast receiving apparatus 100 according to the present embodiment, the video data packet including the head of the PES packet is detected from the video data packets acquired until the decryption key is acquired, and the decryption key is set. After the acquisition, the decoding is started from the video data packet and transferred to the MPEG video decoder 105, thereby shortening the time until the MPEG decoding is started. Therefore, according to digital broadcast receiving apparatus 100 according to the present embodiment, the video non-display period can be shortened.

さらに、本実施の形態に係るデジタル放送受信装置100によれば、PMTのバージョン番号を番組特定情報管理テーブル130に保持しているため、PMTのバージョン番号が更新された場合にのみ、番組データのPIDの更新処理が行われる。このため、本実施の形態に係るデジタル放送受信装置100によれば、PMTパケットを取得するたびに、番組特定情報の更新処理を行う必要がなくなり、制御部110の処理負荷が軽減される。   Furthermore, according to digital broadcast receiving apparatus 100 according to the present embodiment, since the PMT version number is held in program specifying information management table 130, only when the PMT version number is updated, the program data PID update processing is performed. Therefore, according to digital broadcast receiving apparatus 100 according to the present embodiment, it is not necessary to perform update processing of program specifying information every time a PMT packet is acquired, and the processing load on control unit 110 is reduced.

そして、本実施の形態に係るデジタル放送受信装置100によれば、番組特定情報管理テーブル130をフラッシュROM108に格納しておくことで、電源がオフにされた場合でも番組特定情報管理テーブル130が消去されないため、電源がオンにされてからすぐにPIDの蓄積を開始することができ、また、番組特定情報管理テーブル130に格納されているPIDを用いて、映像非表示期間を短縮することができる。   Then, according to digital broadcast receiving apparatus 100 according to the present embodiment, by storing program specific information management table 130 in flash ROM 108, program specific information management table 130 is erased even when the power is turned off. Therefore, PID accumulation can be started immediately after the power is turned on, and the video non-display period can be shortened by using the PID stored in the program specific information management table 130. .

実施の形態2.
デジタル放送では、映像データの符号化方式としてMPEG(Moving Picture Experts Group)2方式が採用されている。MPEG2方式では、映像データがIピクチャ、Pピクチャ、Bピクチャの3種類のデータに分割され、これらのデータはGOP(Group Of Picture)という単位でグループ化されている。このMPEG2方式では、Iピクチャは、それ自体で全ての情報を含んでいるので単体で復号できるが、Pピクチャ及びBピクチャは、差分情報のみであるため予測画像が無ければ復号することができない。言い換えると、デジタル放送を選局する際には、選局後のチャンネルの映像データに含まれるIピクチャの出現を待って映像データの復号が始まる。IピクチャはGOPの先頭に配置されており、GOPは15フレームで構成されているので、最大で0.5秒程度Iピクチャの出現待ち期間が発生する。このため、この期間は、映像非表示期間となる。
Embodiment 2. FIG.
In digital broadcasting, an MPEG (Moving Picture Experts Group) 2 system is adopted as a video data encoding system. In the MPEG2 system, video data is divided into three types of data of I picture, P picture, and B picture, and these data are grouped in units of GOP (Group Of Picture). In this MPEG2 system, an I picture contains all information by itself and can be decoded alone. However, since a P picture and a B picture are only difference information, they cannot be decoded without a predicted image. In other words, when digital broadcasting is selected, decoding of video data starts after the appearance of an I picture included in the video data of the channel after channel selection. Since the I picture is arranged at the head of the GOP and the GOP is composed of 15 frames, the I picture appearance waiting period occurs for about 0.5 seconds at the maximum. Therefore, this period is a video non-display period.

この点、特許文献1に記載されたデジタル放送受信機では、保存されたPIDを用いることで、映像データの取得開始を早くしているが、映像データをMPEG復号する際には、取得された映像データの先頭からIピクチャの検出を行うため、Iピクチャが映像データの先頭から離れた位置に存在している場合には、MPEG復号を開始するまでに時間がかかり、映像非表示期間が長くなってしまう。
そこで、実施の形態2では、このような問題点を解決するデジタル放送受信装置を提供する。
In this regard, the digital broadcast receiver described in Patent Document 1 uses the stored PID to start the acquisition of video data earlier, but when the video data was MPEG-decoded, the acquisition was performed. Since the I picture is detected from the head of the video data, if the I picture exists at a position away from the head of the video data, it takes time to start MPEG decoding, and the video non-display period is long. turn into.
Therefore, Embodiment 2 provides a digital broadcast receiving apparatus that solves such problems.

図1に示すように、実施の形態2に係るデジタル放送受信装置200は、チューナ101と、デマルチプレクサ102と、B−CASカード103と、デスクランブラ104と、MPEG映像デコーダ105と、MPEG音声デコーダ106と、制御部210と、記憶部107と、キー受信部111と、リモコン112とを備える。実施の形態2に係るデジタル放送受信装置200は、制御部210の構成及び処理において、実施の形態1に係るデジタル放送受信装置100と異なっている。   As shown in FIG. 1, a digital broadcast receiving apparatus 200 according to Embodiment 2 includes a tuner 101, a demultiplexer 102, a B-CAS card 103, a descrambler 104, an MPEG video decoder 105, and an MPEG audio decoder. 106, a control unit 210, a storage unit 107, a key reception unit 111, and a remote control 112. The digital broadcast receiving apparatus 200 according to Embodiment 2 is different from the digital broadcast receiving apparatus 100 according to Embodiment 1 in the configuration and processing of the control unit 210.

図10は、実施の形態2における制御部210の機能を概略的に示すブロック図である。図示するように、制御部210は、再生制御手段110Aと、先読み選局手段110Bと、PESパケット検出手段210Gと、PESパケット転送手段210Hと、特定パケット復号制御手段210Iと、Iピクチャ検出手段210Jとを備える。実施の形態2における制御部210は、PESパケット検出手段210G及びPESパケット転送手段210Hでの処理の点、並びに、特定パケット復号制御手段210I及びIピクチャ検出手段210Jが設けられている点において、実施の形態1における制御部110と異なっている。   FIG. 10 is a block diagram schematically showing functions of the control unit 210 in the second embodiment. As shown in the figure, the control unit 210 includes a reproduction control unit 110A, a prefetch channel selection unit 110B, a PES packet detection unit 210G, a PES packet transfer unit 210H, a specific packet decoding control unit 210I, and an I picture detection unit 210J. With. The control unit 210 according to the second embodiment is implemented in terms of processing in the PES packet detection unit 210G and the PES packet transfer unit 210H, and in that a specific packet decoding control unit 210I and an I picture detection unit 210J are provided. This is different from the control unit 110 in the first embodiment.

PESパケット検出手段210Gは、再生制御手段110AがB−CASカード103より復号鍵を取得するまでの間に、デマルチプレクサ102のバッファ部102Aに格納されている映像データパケットのうち、ピクチャデータの先頭が含まれている映像データパケットを検出する。そして、PESパケット検出手段210Gは、バッファ部102Aにおいて、ピクチャデータの先頭が含まれている映像データパケットが格納されている位置を示すPESパケット先頭位置情報を1つ以上取得し、取得したPESパケット先頭位置情報を含むPESパケット位置管理情報を生成する。そして、PESパケット検出手段210Gは、生成したPESパケット位置管理情報を記憶部107に記憶させる。なお、本実施の形態においては、PESパケット検出手段210Gは、PESパケット位置管理情報として、PESパケット先頭位置情報を、例えば、取得した順番がわかるように、テーブル形式のデータ構造に格納したPESパケット位置管理テーブルを生成する。   The PES packet detection means 210G is the head of the picture data among the video data packets stored in the buffer unit 102A of the demultiplexer 102 until the reproduction control means 110A acquires the decryption key from the B-CAS card 103. Is detected. Then, the PES packet detection unit 210G acquires one or more PES packet head position information indicating the position where the video data packet including the head of the picture data is stored in the buffer unit 102A, and acquires the acquired PES packet. PES packet position management information including head position information is generated. Then, the PES packet detection unit 210G causes the storage unit 107 to store the generated PES packet position management information. In the present embodiment, the PES packet detection unit 210G uses PES packet head position information as PES packet position management information, for example, a PES packet stored in a data structure in a table format so that the acquired order can be known. A location management table is generated.

特定パケット復号制御手段210Iは、PESパケット位置管理テーブルから、取得順に従ってPESパケット先頭位置情報を抽出し、抽出したPESパケット先頭位置情報で示される映像データパケットを、バッファ部102Aより取得する。
そして、特定パケット復号制御手段210Iは、取得した映像データパケットをデスクランブラ104に送り、復号させ、復号済みの映像データパケットをIピクチャ検出手段210Jに与える。
The specific packet decoding control unit 210I extracts the PES packet head position information from the PES packet position management table according to the acquisition order, and acquires the video data packet indicated by the extracted PES packet head position information from the buffer unit 102A.
Then, the specific packet decoding control unit 210I sends the acquired video data packet to the descrambler 104, decodes it, and gives the decoded video data packet to the I picture detection unit 210J.

Iピクチャ検出手段210Jは、特定パケット復号制御手段210Iから得られた復号済みの映像データパケットを解析し、このパケットにIピクチャが含まれているか否かを判断する。   The I picture detection unit 210J analyzes the decoded video data packet obtained from the specific packet decoding control unit 210I, and determines whether or not the I picture is included in the packet.

PESパケット転送手段210Hは、Iピクチャ検出手段210JによりIピクチャが含まれていると判断された映像データパケットのPESパケット先頭位置情報をPESパケット位置管理テーブルから取得する。そして、PESパケット転送手段210Hは、バッファ部102Aより、取得されたPESパケット先頭位置情報で特定される位置から映像データパケットを読み出し、デスクランブラ104に転送して、復号させる。また、PESパケット転送手段210Hは、デスクランブラ104で復号された復号済みの映像データパケットをMPEG映像デコーダ105に転送して、MPEG復号を行わせる。
また、PESパケット転送手段210Hは、バッファ部102Aより、音声データパケットについても読み出し、デスクランブラ104に転送して、この音声データパケットを復号させる。また、PESパケット転送手段210Hは、デスクランブラ104で復号された復号済みの音声データパケットをMPEG音声デコーダ106に転送して、この復号済みの音声データパケットに対してMPEG復号を行われる。ここで、PESパケット転送手段210Hは、デスクランブラ104に転送した映像データパケットに対応する音声データパケットをデスクランブラ104に転送すればよい。
The PES packet transfer unit 210H obtains the PES packet head position information of the video data packet determined to contain the I picture by the I picture detection unit 210J from the PES packet position management table. Then, the PES packet transfer unit 210H reads the video data packet from the position specified by the acquired PES packet head position information from the buffer unit 102A, transfers it to the descrambler 104, and decodes it. Further, the PES packet transfer means 210H transfers the decoded video data packet decoded by the descrambler 104 to the MPEG video decoder 105 to perform MPEG decoding.
The PES packet transfer unit 210H also reads out the audio data packet from the buffer unit 102A, transfers it to the descrambler 104, and decodes the audio data packet. Further, the PES packet transfer means 210H transfers the decoded audio data packet decoded by the descrambler 104 to the MPEG audio decoder 106, and MPEG decoding is performed on the decoded audio data packet. Here, the PES packet transfer unit 210 </ b> H may transfer the audio data packet corresponding to the video data packet transferred to the descrambler 104 to the descrambler 104.

実施の形態2に係るデジタル放送受信装置200の選局処理は、図5に示す実施の形態1に係るデジタル放送受信装置100の選局処理とほぼ同様であるが、ステップS17のPESパケット検出処理が、Iピクチャ検出処理に変わっている点において異なっている。以下、Iピクチャ検出処理について説明する。   The channel selection process of digital broadcast receiving apparatus 200 according to Embodiment 2 is substantially the same as the channel selection process of digital broadcast receiving apparatus 100 according to Embodiment 1 shown in FIG. 5, but the PES packet detection process of step S17. Is different from the I picture detection processing. Hereinafter, I picture detection processing will be described.

図11は、Iピクチャ検出処理を示すフローチャートである。
まず、PESパケット検出手段210Gは、デマルチプレクサ102のバッファ部102Aより、バッファされた順番に従って、映像データパケットを取得する(S70)。
FIG. 11 is a flowchart showing the I picture detection process.
First, the PES packet detection unit 210G acquires video data packets from the buffer unit 102A of the demultiplexer 102 in the buffered order (S70).

次に、PESパケット検出手段210Gは、取得した映像データパケットの先頭に配置されているTSヘッダ131(図4を参照)の解析を開始する(S71)。   Next, the PES packet detection unit 210G starts analysis of the TS header 131 (see FIG. 4) arranged at the head of the acquired video data packet (S71).

PESパケット検出手段210Gは、TSヘッダ131を解析してペイロードユニット開始インジケータ130Cが「1」であるか否かを判断する(S72)。PESパケット検出手段210Gは、ペイロードユニット開始インジケータが「1」である場合(ステップS72でYes)には、ステップS73の処理に進み、ペイロードユニット開始インジケータが「1」ではない場合(ステップS72でNo)には、ステップS70の処理に戻り、次の映像データパケットを取得する。   The PES packet detection unit 210G analyzes the TS header 131 and determines whether or not the payload unit start indicator 130C is “1” (S72). When the payload unit start indicator is “1” (Yes in Step S72), the PES packet detection unit 210G proceeds to the process of Step S73, and when the payload unit start indicator is not “1” (No in Step S72). ), The process returns to step S70 to obtain the next video data packet.

ステップS73では、PESパケット検出手段210Gは、ステップS70において、バッファ部102Aから映像データパケットを取得した位置を、PESパケット先頭位置情報として取得する。   In step S73, the PES packet detection unit 210G acquires the position where the video data packet is acquired from the buffer unit 102A in step S70 as PES packet head position information.

次に、PESパケット検出手段210Gは、ステップS73で取得したPESパケット先頭位置情報を、取得順に従ってPESパケット位置管理テーブルに格納する(S74)。   Next, the PES packet detection unit 210G stores the PES packet head position information acquired in step S73 in the PES packet position management table according to the acquisition order (S74).

次に、PESパケット検出手段210Gは、再生制御手段110AがB−CASカード103より復号鍵を取得したか否かを確認する(S75)。PESパケット検出手段210Gは、復号鍵が取得された場合(ステップS75でYes)には、ステップS76の処理に進み、復号鍵が取得されていない場合(ステップS75でNo)には、ステップS70に戻り、次の映像データパケットを取得する。   Next, the PES packet detection unit 210G confirms whether or not the reproduction control unit 110A has acquired the decryption key from the B-CAS card 103 (S75). When the decryption key is acquired (Yes in step S75), the PES packet detection unit 210G proceeds to the process of step S76, and when the decryption key is not acquired (No in step S75), the process proceeds to step S70. Return and obtain the next video data packet.

ステップS76では、特定パケット復号制御手段210Iは、PESパケット位置管理テーブルに格納された順番に従って、PESパケット先頭位置情報を抽出し、抽出されたPESパケット先頭位置情報で示される位置から映像データパケットを読み出して、デスクランブラ104に転送して、復号を開始させる。そして、特定パケット復号制御手段210Iは、復号済みの映像データパケットをIピクチャ検出手段210Jに与える。   In step S76, the specific packet decoding control unit 210I extracts the PES packet head position information according to the order stored in the PES packet position management table, and extracts the video data packet from the position indicated by the extracted PES packet head position information. The data is read out and transferred to the descrambler 104 to start decoding. Then, the specific packet decoding control unit 210I gives the decoded video data packet to the I picture detection unit 210J.

次に、Iピクチャ検出手段210Jは、特定パケット復号制御手段210Iから得られた復号済みの映像データパケットを解析し、ピクチャヘッダを示すスタートコードが含まれているか判断する(S77)。スタートコードは、32ビットの値(0x00000100)である。そして、Iピクチャ検出手段210Jは、ピクチャヘッダを示すスタートコードが含まれている場合(ステップS77でYes)には、ステップS78の処理に進み、ピクチャヘッダを示すスタートコードが含まれていない場合(ステップS77でNo)には、ステップS76の処理に戻り、次のPESパケットの先頭を含む映像データパケットの復号を行わせる。   Next, the I picture detection unit 210J analyzes the decoded video data packet obtained from the specific packet decoding control unit 210I and determines whether a start code indicating a picture header is included (S77). The start code is a 32-bit value (0x00000100). If the start code indicating the picture header is included (Yes in step S77), the I picture detection unit 210J proceeds to the process of step S78, and if the start code indicating the picture header is not included ( In step S77, the process returns to step S76, and the video data packet including the head of the next PES packet is decoded.

ステップS78では、Iピクチャ検出手段210Jは、映像データパケットのピクチャヘッダに含まれるピクチャタイプを取得する。   In step S78, the I picture detection means 210J obtains the picture type included in the picture header of the video data packet.

そして、Iピクチャ検出手段210Jは、取得したピクチャタイプがIピクチャであるか否かを判断する(S79)。Iピクチャ検出手段210Jは、ピクチャタイプがIピクチャである場合(ステップS79でYes)には、ステップS80の処理に進み、ピクチャタイプがIピクチャではない場合(ステップS79でNo)には、ステップS76の処理に戻り、次のPESパケットの先頭を含む映像データパケットの復号を行わせる。   Then, the I picture detection unit 210J determines whether or not the acquired picture type is an I picture (S79). If the picture type is an I picture (Yes in step S79), the I picture detection unit 210J proceeds to the process of step S80. If the picture type is not an I picture (No in step S79), the I picture detection unit 210J proceeds to step S76. Returning to the process, the video data packet including the head of the next PES packet is decoded.

ステップS80では、Iピクチャが含まれていると判断された映像データパケットは、ステップS76で復号済みであるため、PESパケット転送手段210Hは、バッファ部102Aより、Iピクチャ検出手段210JによりIピクチャが含まれていると判断された映像データパケットの次の映像データパケットから、バッファ部102Aより読み出して、デスクランブラ104に転送して、復号を開始させる。
そして、PESパケット転送手段210Hは、Iピクチャが含まれていると判断された映像データパケットからMPEG映像デコーダ105に転送を行う。
In step S80, since the video data packet determined to contain the I picture has been decoded in step S76, the PES packet transfer unit 210H receives the I picture from the buffer unit 102A by the I picture detection unit 210J. The video data packet next to the video data packet determined to be included is read from the buffer unit 102A, transferred to the descrambler 104, and decoding is started.
Then, the PES packet transfer means 210H transfers the video data packet determined to contain the I picture to the MPEG video decoder 105.

図12は、バッファ部102Aに蓄積されている映像データパケットを示す概略図である。例えば、バッファ部102Aには、映像データパケットとして、パケット(1)〜(22)が蓄積されている。なお、括弧内の数字は、パケットがバッファ部102Aに蓄積された順番を示す。また、PUSIは、ペイロードユニット開始インジケータであり、“0”又は“1”は、ペイロードユニット開始インジケータの値である。さらに、PTは、ピクチャタイプであり、“B”はピクチャタイプがBピクチャであることを示し、“P”はピクチャタイプがPピクチャであることを示し、“I”はピクチャタイプがIピクチャであることを示す。
ここで、パケット(1)〜(19)までの映像データパケットは、Iピクチャが含まれていないため、パケット(1)〜(19)を復号して、MPEG映像デコーダ105に転送したとしても、MPEG復号を行うことができず、映像信号は出力されない。このため、パケット(1)〜(19)をデスクランブラ104及びMPEG映像デコーダ105で処理したとしても、映像データパケットを復号してMPEG映像デコーダに転送する時間は、無駄な時間となってしまう。
そこで、予め、PESパケット検出手段110GがPESパケットの先頭を含むパケット(1)、パケット(10)、パケット(20)を検出して、復号鍵が得られた時点で、パケット(1)、パケット(10)、パケット(20)の順に復号してIピクチャの検出を行い、Iピクチャの先頭を含むパケット(20)を検出するとパケット(21)から復号を開始して、パケット(20)からMPEG映像デコーダに転送することで、無駄な時間を省くことができる。
FIG. 12 is a schematic diagram showing video data packets stored in the buffer unit 102A. For example, packets (1) to (22) are stored in the buffer unit 102A as video data packets. The numbers in parentheses indicate the order in which packets are accumulated in the buffer unit 102A. PUSI is a payload unit start indicator, and “0” or “1” is a value of the payload unit start indicator. Furthermore, PT is a picture type, “B” indicates that the picture type is a B picture, “P” indicates that the picture type is a P picture, and “I” indicates that the picture type is an I picture. Indicates that there is.
Here, since the video data packets of packets (1) to (19) do not include an I picture, even if packets (1) to (19) are decoded and transferred to MPEG video decoder 105, MPEG decoding cannot be performed, and no video signal is output. For this reason, even if the packets (1) to (19) are processed by the descrambler 104 and the MPEG video decoder 105, the time for decoding the video data packet and transferring it to the MPEG video decoder is wasted time.
Therefore, when the PES packet detection unit 110G detects the packet (1), the packet (10), and the packet (20) including the head of the PES packet in advance and the decryption key is obtained, the packet (1) and the packet (10) Decode in the order of packet (20) to detect I picture. When packet (20) including the head of I picture is detected, decoding starts from packet (21) and MPEG from packet (20) By transferring to the video decoder, wasted time can be saved.

以上のように、本実施の形態に係るデジタル放送受信装置200によれば、選局処理を行う際に、復号鍵を取得するまでの間に取得した映像データパケットのうち、PESパケットの先頭が含まれる映像データパケットを検出し、復号鍵を取得した後はPESパケットの先頭を含む映像データパケットを復号してIピクチャを検出し、Iピクチャの先頭を含む映像データパケットから復号を開始してMPEG映像デコーダに転送するため、MPEG復号を開始するまでの時間が短くなり、映像非表示期間を短縮することができる。   As described above, according to digital broadcast receiving apparatus 200 according to the present embodiment, the head of the PES packet among the video data packets acquired until the decryption key is acquired when performing the channel selection process. After detecting the included video data packet and obtaining the decryption key, the video data packet including the head of the PES packet is decoded to detect the I picture, and decoding is started from the video data packet including the head of the I picture. Since the data is transferred to the MPEG video decoder, the time until the MPEG decoding starts is shortened, and the video non-display period can be shortened.

以上に記載した実施の形態2においては、復号鍵が取得されるまで、ステップS70からS74の処理を行って、PESパケット先頭位置情報を取得して、PESパケット位置管理テーブルに順次格納するようにしているが、ステップS76からS79の処理でIピクチャを含む映像データパケットが見つかるまで、ステップS70からS74の処理を継続して行うようにしてもよい。このようにすることで、確実にIピクチャを含む映像データパケットが見つかるようになる。   In the second embodiment described above, the processing of steps S70 to S74 is performed until the decryption key is acquired, the PES packet head position information is acquired, and sequentially stored in the PES packet position management table. However, the processing in steps S70 to S74 may be continued until a video data packet including an I picture is found in the processing in steps S76 to S79. By doing so, a video data packet including an I picture can be surely found.

以上に記載した実施の形態1及び2では、デマルチプレクサ102のバッファ部102Aに、映像データパケット及び音声データパケットを蓄積するようにしているが、例えば、RAM109等、デマルチプレクサ102以外の部分に映像データパケット及び音声データパケットをバッファするように構成することもできる。   In the first and second embodiments described above, the video data packet and the audio data packet are stored in the buffer unit 102A of the demultiplexer 102. For example, the video is stored in a portion other than the demultiplexer 102 such as the RAM 109. It can also be configured to buffer data packets and voice data packets.

なお、映像データ及び音声データに対してスクランブル処理が行われていない場合には、図1に示すB-CASカード103及びデスクランブラ104を設けずに、B-CASカード103から復号鍵を取得してデスクランブラ104に設定し、デスクランブラで映像データパケット及び音声データパケットを復号する処理を省略することができる。このような場合には、図8のステップS64を行う必要はなく、また、図11のステップS75では、他の条件、例えば、PESパケット先頭位置情報の取得数又は映像データパケットの取得を開始してからの時間等に閾値を設けて、この閾値を満たしている場合には、ステップS76の処理に進むようにすればよい。   If the video data and audio data are not scrambled, the decryption key is obtained from the B-CAS card 103 without providing the B-CAS card 103 and the descrambler 104 shown in FIG. Thus, it is possible to omit the processing of setting the descrambler 104 and decoding the video data packet and the audio data packet by the descrambler. In such a case, it is not necessary to perform step S64 in FIG. 8, and in step S75 in FIG. 11, the acquisition number of the PES packet head position information or the acquisition of the video data packet is started. If a threshold value is provided for the time after that and the threshold value is satisfied, the process may proceed to step S76.

以上に記載した実施の形態1及び2では、デジタル放送受信装置100、200は、映像信号及び音声信号を表示部121及びスピーカ122に出力するようにしているが、デジタル放送受信装置に表示部及びスピーカを備え、映像又は音声が出力されるようにしてもよい。   In the first and second embodiments described above, the digital broadcast receiving devices 100 and 200 output video signals and audio signals to the display unit 121 and the speaker 122. A speaker may be provided to output video or audio.

100:デジタル放送受信装置、 101:チューナ、 102:デマルチプレクサ、 102A:バッファ部、 103:B−CASカード、 104:デスクランブラ、 105:MPEG映像デコーダ、 106:MPEG音声デコーダ、 107:記憶部、 110、210:制御部、 110A:再生制御手段、 110B:先読み選局手段、 110C:抽出パケット予測設定手段、 110D:番組特定情報処理手段、 110E:番組特定情報取得更新手段、 110F:番組特定情報更新手段、 110G、210G:PESパケット検出手段、 110H、210H:PESパケット転送手段、 210I:特定パケット復号制御手段、 210J:Iピクチャ検出手段、 111:キー受信部、 112:リモコン。   DESCRIPTION OF SYMBOLS 100: Digital broadcast receiver 101: Tuner 102: Demultiplexer 102A: Buffer part 103: B-CAS card 104: Descrambler 105: MPEG video decoder 106: MPEG audio decoder 107: Storage part 110, 210: control unit, 110A: reproduction control means, 110B: prefetch channel selection means, 110C: extracted packet prediction setting means, 110D: program specific information processing means, 110E: program specific information acquisition / update means, 110F: program specific information Updating means, 110G, 210G: PES packet detection means, 110H, 210H: PES packet transfer means, 210I: specific packet decoding control means, 210J: I picture detection means, 111: key receiving section, 112: remote control.

Claims (13)

選択されたチャンネルのデジタル放送信号を受信して復調するチューナと、
前記チューナで復調されたストリームからパケットを抽出するデマルチプレクサと、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットに含まれる映像データを復号する映像デコーダと、
番組データを格納するパケットのパケット識別子を含む番組特定情報をチャンネル毎に有する管理情報を記憶する記憶部と、
制御部と、を備え、
前記制御部は、
前記選択されたチャンネルの番組特定情報が前記管理情報内にある場合には、前記選択されたチャンネルの番組特定情報を取得して、前記取得した番組特定情報に含まれるパケット識別子に対応するパケットを前記デマルチプレクサに抽出させる抽出パケット予測設定手段と、
前記選択されたチャンネルのパケット識別子が更新された場合に、前記選択されたチャンネルの番組特定情報に含まれているパケット識別子を更新する番組特定情報処理手段と、を備えること
を特徴とするデジタル放送受信装置。
A tuner that receives and demodulates the digital broadcast signal of the selected channel;
A demultiplexer that extracts packets from the stream demodulated by the tuner;
A video decoder for decoding video data included in a video data packet among the packets extracted by the demultiplexer;
A storage unit for storing management information including program identification information including a packet identifier of a packet storing program data for each channel;
A control unit,
The controller is
When the program identification information of the selected channel is in the management information, the program identification information of the selected channel is acquired, and a packet corresponding to the packet identifier included in the acquired program identification information is acquired. Extraction packet prediction setting means for causing the demultiplexer to extract;
And a program specific information processing means for updating the packet identifier included in the program specific information of the selected channel when the packet identifier of the selected channel is updated. Receiver device.
前記番組特定情報処理手段は、前記選択されたチャンネルの番組特定情報が前記管理情報内にない場合には、前記デマルチプレスクサで抽出された前記パケットの内の番組データを格納するパケットのパケット識別子を抽出する抽出処理を行い、該抽出処理で抽出されたパケット識別子を含む番組特定情報を生成して、前記管理情報内に格納すること
を特徴とする請求項1に記載のデジタル放送受信装置。
The program specifying information processing means, when the program specifying information of the selected channel is not in the management information, a packet packet storing program data in the packet extracted by the demultiplexer The digital broadcast receiving apparatus according to claim 1, wherein an extraction process for extracting an identifier is performed, program specifying information including a packet identifier extracted by the extraction process is generated, and stored in the management information. .
前記制御部は、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出手段と、
前記PESパケットの先頭位置が検出された映像データパケット以降の映像データパケットを前記映像デコーダに転送するPESパケット転送手段と、をさらに備えること
を特徴とする請求項1又は2に記載のデジタル放送受信装置。
The controller is
PES packet detecting means for detecting a head position of a PES packet from among video data packets extracted from the packet by the demultiplexer;
3. The digital broadcast reception according to claim 1, further comprising: a PES packet transfer unit configured to transfer a video data packet after the video data packet in which a head position of the PES packet is detected to the video decoder. apparatus.
前記デマルチプレクサで抽出された前記パケットを復号するデスクランブラをさらに備え、
前記制御部は、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出手段と、
前記PESパケットの先頭位置が検出された映像データパケット以降の映像データパケットを前記デスクランブラで復号させ、復号済みの映像データパケットを前記映像デコーダに転送するPESパケット転送手段と、をさらに備えること
を特徴とする請求項1又は2に記載のデジタル放送受信装置。
A descrambler for decoding the packet extracted by the demultiplexer;
The controller is
PES packet detecting means for detecting a head position of a PES packet from among video data packets extracted from the packet by the demultiplexer;
PES packet transfer means for decoding a video data packet after the video data packet in which the head position of the PES packet is detected by the descrambler and transferring the decoded video data packet to the video decoder. The digital broadcast receiving apparatus according to claim 1 or 2, characterized in that:
前記番組特定情報は、当該番組特定情報に含まれているパケット識別子を取得したPMTのバージョン番号をさらに含み、
前記番組特定情報処理手段は、前記ストリームから取得したPMTパケットのPMTのバージョン番号が、前記選択されたチャンネルの番組特定情報に含まれているPMTのバージョン番号と異なっている場合に、前記選択されたチャンネルの番組特定情報に含まれているパケット識別子を更新すること
を特徴とする請求項1から4の何れか一項に記載のデジタル放送受信装置。
The program specifying information further includes a version number of the PMT that acquired the packet identifier included in the program specifying information,
The program specific information processing means is selected when the PMT version number of the PMT packet acquired from the stream is different from the PMT version number included in the program specific information of the selected channel. The digital broadcast receiving apparatus according to any one of claims 1 to 4, wherein the packet identifier included in the program specifying information of the channel is updated.
前記記憶部は、不揮発性メモリを備えており、
前記管理情報は、前記不揮発性メモリに記憶されていること
を特徴とする請求項1から5の何れか一項に記載のデジタル放送受信装置。
The storage unit includes a nonvolatile memory,
The digital broadcast receiver according to claim 1, wherein the management information is stored in the nonvolatile memory.
前記制御部は、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出手段と、
前記PESパケットの先頭位置が検出された映像データパケットの中からIピクチャを検出するIピクチャ検出手段と、
前記Iピクチャが検出された映像データパケット以降の映像データパケットを前記映像デコーダに転送するPESパケット転送手段と、をさらに備えること
を特徴とする請求項1、2、5又は6に記載のデジタル放送受信装置。
The controller is
PES packet detecting means for detecting a head position of a PES packet from among video data packets extracted from the packet by the demultiplexer;
I picture detection means for detecting an I picture from the video data packet in which the head position of the PES packet is detected;
7. The digital broadcast according to claim 1, further comprising: a PES packet transfer means for transferring a video data packet after the video data packet in which the I picture is detected to the video decoder. Receiver device.
前記デマルチプレクサで抽出された前記パケットを復号するデスクランブラをさらに備え、
前記制御部は、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出手段と、
前記デスクランブラに、前記PESパケットの先頭位置が検出された映像データパケットを復号させる特定パケット復号制御手段と、
前記デスクランブラで復号された復号済みの映像データパケットの中からIピクチャを検出するIピクチャ検出手段と、
前記Iピクチャが検出された映像データパケットの次の映像データパケット以降の映像データパケットを前記デスクランブラで復号させ、前記Iピクチャが検出された映像データパケット以降の復号済みの映像データパケットを前記映像デコーダに転送するPESパケット転送手段と、をさらに備えること
を特徴とする請求項1、2、5又は6に記載のデジタル放送受信装置。
A descrambler for decoding the packet extracted by the demultiplexer;
The controller is
PES packet detecting means for detecting a head position of a PES packet from among video data packets extracted from the packet by the demultiplexer;
Specific packet decoding control means for causing the descrambler to decode the video data packet in which the head position of the PES packet is detected;
I picture detection means for detecting an I picture from decoded video data packets decoded by the descrambler;
The video data packet after the video data packet next to the video data packet in which the I picture is detected is decoded by the descrambler, and the decoded video data packet after the video data packet in which the I picture is detected is the video. The digital broadcast receiving apparatus according to claim 1, 2, 5 or 6, further comprising PES packet transfer means for transferring to a decoder.
選択されたチャンネルのデジタル放送信号を受信して復調するチューナと、
前記チューナで復調されたストリームからパケットを抽出するデマルチプレクサと、
前記デマルチプレクサで抽出された前記パケットの内の映像データパケットに含まれる映像データを復号する映像デコーダと、
番組データを格納するパケットのパケット識別子を含む番組特定情報をチャンネル毎に有する管理情報を記憶する記憶部と、
制御部と、を備えるデジタル放送受信装置が行うデジタル放送受信方法であって、
前記制御部が、前記選択されたチャンネルの番組特定情報が前記管理情報内にある場合には、前記選択されたチャンネルの番組特定情報を取得して、前記取得した番組特定情報に含まれるパケット識別子に対応するパケットを前記デマルチプレクサに抽出させる抽出パケット予測設定過程と、
前記制御部が、前記選択されたチャンネルのパケット識別子が更新された場合に、前記選択されたチャンネルの番組特定情報に含まれているパケット識別子を更新する番組特定情報処理過程と、を備えること
を特徴とするデジタル放送受信方法。
A tuner that receives and demodulates the digital broadcast signal of the selected channel;
A demultiplexer that extracts packets from the stream demodulated by the tuner;
A video decoder for decoding video data included in a video data packet among the packets extracted by the demultiplexer;
A storage unit for storing management information including program identification information including a packet identifier of a packet storing program data for each channel;
A digital broadcast receiving method performed by a digital broadcast receiving device comprising a control unit,
When the program specifying information of the selected channel is included in the management information, the control unit acquires the program specifying information of the selected channel and includes a packet identifier included in the acquired program specifying information. An extraction packet prediction setting process for causing the demultiplexer to extract packets corresponding to
A program specifying information processing step of updating the packet identifier included in the program specifying information of the selected channel when the packet identifier of the selected channel is updated; A digital broadcast receiving method as a feature.
前記制御部が、前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出過程と、
前記制御部が、前記PESパケットの先頭位置が検出された映像データパケット以降の映像データパケットを前記映像デコーダに転送するPESパケット転送過程と、をさらに備えること
を特徴とする請求項9に記載のデジタル放送受信方法。
A PES packet detection process in which the control unit detects a head position of a PES packet from the video data packets in the packets extracted by the demultiplexer;
The PES packet transfer process in which the control unit further includes a PES packet transfer process of transferring a video data packet subsequent to a video data packet in which a head position of the PES packet is detected to the video decoder. Digital broadcast receiving method.
前記デジタル放送受信装置は、前記デマルチプレクサで抽出された前記パケットを復号するデスクランブラをさらに備え、
前記制御部が、前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出過程と、
前記PESパケットの先頭位置が検出された映像データパケット以降の映像データパケットを前記デスクランブラで復号させ、復号済みの映像データパケットを前記映像デコーダに転送するPESパケット転送過程と、をさらに備えること
を特徴とする請求項9に記載のデジタル放送受信方法。
The digital broadcast receiver further comprises a descrambler that decodes the packet extracted by the demultiplexer,
A PES packet detection process in which the control unit detects a head position of a PES packet from the video data packets in the packets extracted by the demultiplexer;
A PES packet transfer step of decoding a video data packet after the video data packet in which the head position of the PES packet is detected by the descrambler and transferring the decoded video data packet to the video decoder. The digital broadcast receiving method according to claim 9, wherein:
前記制御部が、前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出過程と、
前記制御部が、前記PESパケットの先頭位置が検出された映像データパケットの中からIピクチャを検出するIピクチャ検出過程と、
前記制御部が、前記Iピクチャが検出された映像データパケット以降の映像データパケットを前記映像デコーダに転送するPESパケット転送過程と、をさらに備えること
を特徴とする請求項9に記載のデジタル放送受信方法。
A PES packet detection process in which the control unit detects a head position of a PES packet from the video data packets in the packets extracted by the demultiplexer;
An I picture detection process in which the control unit detects an I picture from a video data packet in which a head position of the PES packet is detected;
The digital broadcast reception according to claim 9, further comprising: a PES packet transfer process in which the control unit transfers a video data packet after the video data packet in which the I picture is detected to the video decoder. Method.
前記デジタル放送受信装置は、デマルチプレクサで抽出された前記パケットを復号するデスクランブラをさらに備え、
前記制御部が、前記デマルチプレクサで抽出された前記パケットの内の映像データパケットの中からPESパケットの先頭位置を検出するPESパケット検出過程と、
前記制御部が、前記デスクランブラに、前記PESパケットの先頭位置が検出された映像データパケットを復号させる特定パケット復号制御過程と、
前記制御部が、前記デスクランブラで復号された復号済みの映像データパケットの中からIピクチャを検出するIピクチャ検出過程と、
前記制御部が、前記Iピクチャが検出された映像データパケットの次の映像データパケット以降の映像データパケットを前記デスクランブラで復号させ、前記Iピクチャが検出された映像データパケット以降の復号済みの映像データパケットを前記映像デコーダに転送するPESパケット転送過程と、をさらに備えること
を特徴とする請求項9に記載のデジタル放送受信方法。
The digital broadcast receiver further includes a descrambler that decodes the packet extracted by a demultiplexer,
A PES packet detection process in which the control unit detects a head position of a PES packet from the video data packets in the packets extracted by the demultiplexer;
A specific packet decoding control process in which the control unit causes the descrambler to decode a video data packet in which a head position of the PES packet is detected;
The controller detects an I picture from the decoded video data packet decoded by the descrambler; and
The control unit causes the descrambler to decode video data packets after the video data packet next to the video data packet in which the I picture is detected, and has decoded video after the video data packet in which the I picture is detected. The digital broadcast receiving method according to claim 9, further comprising: a PES packet transfer process of transferring a data packet to the video decoder.
JP2010215715A 2010-09-27 2010-09-27 Digital broadcast reception device and digital broadcast reception method Withdrawn JP2012070344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010215715A JP2012070344A (en) 2010-09-27 2010-09-27 Digital broadcast reception device and digital broadcast reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010215715A JP2012070344A (en) 2010-09-27 2010-09-27 Digital broadcast reception device and digital broadcast reception method

Publications (1)

Publication Number Publication Date
JP2012070344A true JP2012070344A (en) 2012-04-05

Family

ID=46167036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010215715A Withdrawn JP2012070344A (en) 2010-09-27 2010-09-27 Digital broadcast reception device and digital broadcast reception method

Country Status (1)

Country Link
JP (1) JP2012070344A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017047540A1 (en) * 2015-09-16 2017-03-23 ソニー株式会社 Transmission device, transmission method, reproduction device, and reproduction method
JP2017092869A (en) * 2015-11-16 2017-05-25 株式会社Pfu Video processing apparatus, video processing system and video processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017047540A1 (en) * 2015-09-16 2017-03-23 ソニー株式会社 Transmission device, transmission method, reproduction device, and reproduction method
JPWO2017047540A1 (en) * 2015-09-16 2018-07-05 ソニー株式会社 Transmission device, transmission method, reproduction device, and reproduction method
US10511802B2 (en) 2015-09-16 2019-12-17 Sony Corporation Transmission device, transmission method, reproducing device and reproducing method
JP2017092869A (en) * 2015-11-16 2017-05-25 株式会社Pfu Video processing apparatus, video processing system and video processing method
US10263743B2 (en) 2015-11-16 2019-04-16 Pfu Limited Video-processing apparatus, video-processing system, and video-processing method

Similar Documents

Publication Publication Date Title
KR101898304B1 (en) Transmission device, transmission method, receiving device, receiving method, program, and broadcasting system
JP5793871B2 (en) Reception device, reception method, supply device, supply method, program, and broadcasting system
EP2624548B1 (en) Receiving device, receiving method, and program
CN102630382B (en) Digital broadcast reception device, and channel changing method
US9210464B2 (en) Digital broadcast receiver device and digital broadcast receiving method
JP4575321B2 (en) Apparatus and method for controlling switching of broadcast channel in digital multimedia broadcast receiver
EP2330814B1 (en) Broadcasting receiver and method of providing background channel epg
JP2016058967A (en) Broadcasting apparatus, broadcasting method, and program
US20090019513A1 (en) Method and apparatus for changing channel in digital broadcasting receiver
JP5649768B2 (en) Digital broadcast recording device
JP2012070344A (en) Digital broadcast reception device and digital broadcast reception method
EP2359589B1 (en) Display device and method for providing data broadcasting thereof
US20120039396A1 (en) Data transmitting device and data transmitting and receiving system
JP2006309819A (en) Video recording and reproducing device
JP2007006405A (en) Digital broadcast receiver
KR20060113522A (en) Video decoder initialization device and method of digital broadcasting receiver
KR20060113523A (en) Data processing device and method of digital broadcast receiver
WO2007105697A1 (en) Digital image data processing device and processing method
JP4866135B2 (en) Image processing apparatus and image processing method
KR100598360B1 (en) Device and method for reducing video display delay time when switching channels
JP2003110954A (en) Digital broadcast receiving apparatus and service ID switching method
JP2008252832A (en) Reception device, data stream output device, broadcasting system, control method for reception device, control method for data stream output device, control program, and recording medium
JP2008147985A (en) Digital broadcast receiving apparatus, digital broadcast system, control program, and readable recording medium
JP4552200B2 (en) Digital broadcast receiver
JP4546395B2 (en) Broadcast reception control method and broadcast reception apparatus

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: 20131203