JP2012191384A - Program receiver, program reception method, and program reception program - Google Patents

Program receiver, program reception method, and program reception program Download PDF

Info

Publication number
JP2012191384A
JP2012191384A JP2011052487A JP2011052487A JP2012191384A JP 2012191384 A JP2012191384 A JP 2012191384A JP 2011052487 A JP2011052487 A JP 2011052487A JP 2011052487 A JP2011052487 A JP 2011052487A JP 2012191384 A JP2012191384 A JP 2012191384A
Authority
JP
Japan
Prior art keywords
packet
program
received
packets
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011052487A
Other languages
Japanese (ja)
Inventor
Tomofumi Tezuka
智史 手塚
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.)
Sumitomo Electric Networks Inc
Original Assignee
Sumitomo Electric Networks Inc
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 Sumitomo Electric Networks Inc filed Critical Sumitomo Electric Networks Inc
Priority to JP2011052487A priority Critical patent/JP2012191384A/en
Publication of JP2012191384A publication Critical patent/JP2012191384A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To perform the shortening of a time to be required for program selection and also appropriate stream reception processing concerning a configuration for receiving and processing a stream where program information is divided into multiple packets.SOLUTION: A program receiver 101 includes: a buffer 12 for temporarily accumulating packets which are received by a reception part 11 and outputting them in accumulation order; a packet discrimination part 14 for discriminating the packets received from the buffer 12, based on identifiers; and an accumulation packet search part 17 for searching the packets to be indicated by the designated identifiers in the buffer 12. The accumulation packet search part 17 searches program map packets which are received during a period from the reception of a channel selection indication to the reception of a first program-related packet. The packet discrimination part 14 discriminates a reproduction object packet, based on the identifiers which are included in the program map packets searched by the accumulation packet search part 17.

Description

本発明は、番組受信装置、番組受信方法および番組受信プログラムに関し、特に、番組の情報が複数のパケットに分割されたストリームを受信して処理するための番組受信装置、番組受信方法および番組受信プログラムに関する。   The present invention relates to a program receiving apparatus, a program receiving method, and a program receiving program, and in particular, a program receiving apparatus, a program receiving method, and a program receiving program for receiving and processing a stream in which program information is divided into a plurality of packets. About.

特開2006−262483号公報(特許文献1)には、デジタル放送におけるチャンネル切り替え時間を短縮するための技術が開示されている。すなわち、デジタルマルチメディア放送受信器における放送チャンネルの切り替えを制御する装置であって、伝送ストリームパケットを第1バッファリングした後に、上記切り替えられる放送チャンネルに関するプログラム情報を獲得するために、上記バッファリングされたデータからPAT(Program Association Table)、PMT(Program Map Table)、およびイントラフレームを検索する第1の逆多重化部と、上記伝送ストリームパケットを第2バッファリングし、上記第1の逆多重化部で獲得したプログラム情報に基づいて、上記第2バッファリングした伝送ストリームパケットから該当放送チャンネルのオーディオ或いはビデオ伝送ストリームパケットを検索してオーディオ或いはビデオ逆多重化を遂行する第2の逆多重化部とを備える。   Japanese Patent Laying-Open No. 2006-262483 (Patent Document 1) discloses a technique for reducing the channel switching time in digital broadcasting. That is, an apparatus for controlling switching of a broadcast channel in a digital multimedia broadcast receiver, which is buffered to acquire program information related to the switched broadcast channel after first buffering a transmission stream packet. A first demultiplexer that searches a PAT (Program Association Table), a PMT (Program Map Table), and an intra frame from the received data; and the second buffering of the transmission stream packet, and the first demultiplexing A second demultiplexing unit that performs audio or video demultiplexing by searching for audio or video transmission stream packets of the corresponding broadcast channel from the second buffered transmission stream packets based on the program information acquired by the unit With.

また、特表2005−522953号公報(特許文献2)には、以下のような技術が開示されている。すなわち、装置は、チャンネル変更イベントに応じてデータ・キャッシュ動作を行い、該動作によってチャンネル変更時間を削減する。該装置は、チャンネル変更コマンドに応じて着信データ・ストリームをキャッシュするよう動作するキャッシュ・メモリを含む。プロセッサは、該着信データ・ストリームの中に含まれる番組特定情報を探索するよう動作する。復号器は、該プロセッサが該番組特定情報を探索することに応じて該キャッシュ・データ・ストリームを復号化する。   The following technique is disclosed in Japanese Translation of PCT International Publication No. 2005-522953 (Patent Document 2). That is, the device performs a data cache operation in response to a channel change event, and reduces the channel change time by the operation. The apparatus includes a cache memory that operates to cache an incoming data stream in response to a channel change command. The processor is operative to search for program specific information contained in the incoming data stream. A decoder decodes the cache data stream in response to the processor searching for the program specific information.

特開2006−262483号公報JP 2006-26283 A 特表2005−522953号公報JP 2005-522953 A

しかしながら、特許文献2に記載の技術では、チャンネル変更コマンド後の最も直近のシーケンス・ブロックを探索することから、PMTよりも後に受信されたシーケンスヘッダだけでなく、PMTよりも前に受信されたシーケンスヘッダを使用してしまう可能性がある。この場合、所望の番組とは異なった番組が再生されてしまう。   However, since the technique described in Patent Document 2 searches for the latest sequence block after the channel change command, not only the sequence header received after the PMT but also the sequence received before the PMT. There is a possibility of using the header. In this case, a program different from the desired program is reproduced.

また、特許文献1にも、このような問題点を解決するための構成は開示されていない。   Also, Patent Document 1 does not disclose a configuration for solving such a problem.

この発明は、上述の課題を解決するためになされたもので、その目的は、番組の情報が複数のパケットに分割されたストリームを受信して処理する構成において、番組の選択に要する時間を短縮するとともに、ストリームの受信処理を適切に行なうことが可能な番組受信装置、番組受信方法および番組受信プログラムを提供することである。   The present invention has been made to solve the above-described problems, and its object is to reduce the time required for selecting a program in a configuration in which a stream in which program information is divided into a plurality of packets is received and processed. In addition, a program receiving apparatus, a program receiving method, and a program receiving program capable of appropriately performing stream reception processing are provided.

上記課題を解決するために、この発明のある局面に係わる番組受信装置は、1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理するための番組受信装置であって、上記複数のパケットは、再生対象パケット、上記番組に対応して生成され、対応の上記番組の上記再生対象パケットの識別子を含む番組マップパケット、および1または複数の上記番組マップパケットの識別子を含む番組関連パケットを含み、上記パケットを受信するための受信部と、上記受信部によって受信された上記パケットを一時的に蓄積し、蓄積順に出力するためのバッファと、上記バッファから受けた上記パケットを上記識別子に基づいて判別するためのパケット判別部と、指定された上記識別子が示す上記パケットを上記バッファにおいて検索するための蓄積パケット検索部とを備え、上記蓄積パケット検索部は、チャンネル選択指示を受けてから最初の上記番組関連パケットが受信されるまでの間に受信された上記番組マップパケットを検索し、上記パケット判別部は、上記蓄積パケット検索部によって検索された上記番組マップパケットに含まれる上記識別子に基づいて上記再生対象パケットを判別する。   In order to solve the above problems, a program receiving apparatus according to an aspect of the present invention is a program receiving apparatus for receiving and processing a stream obtained by dividing information of one or a plurality of programs into a plurality of packets, The plurality of packets are generated corresponding to the reproduction target packet, the program map packet including the identifier of the reproduction target packet of the corresponding program, and the program including one or more identifiers of the program map packet. A receiving unit for receiving the packet, including a related packet; a buffer for temporarily storing the packets received by the receiving unit; and outputting the packets in the order of storage; and the packet received from the buffer A packet discriminating unit for discriminating based on the identifier and the packet indicated by the designated identifier in the buffer; And the stored packet search unit searches for the program map packet received from when a channel selection instruction is received until the first program-related packet is received. The packet determination unit determines the reproduction target packet based on the identifier included in the program map packet searched by the stored packet search unit.

このような構成により、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に受信された番組マップパケットについて、当該番組マップパケットより後に受信したパケットを番組再生に用いることができる。これにより、チャンネル選択に要する時間を短縮することができる。また、チャンネル選択指示を受けてから当該番組マップパケットを受信するまでの期間において受信したパケットは番組再生に用いないことから、チャンネル選択に伴って不適切な番組が再生されることを防ぐことができる。   With such a configuration, with respect to a program map packet received from when a channel selection instruction is received until a program-related packet is received, a packet received after the program map packet can be used for program reproduction. Thereby, the time required for channel selection can be shortened. Further, since the received packet is not used for program playback in the period from receiving the channel selection instruction to receiving the program map packet, it is possible to prevent an inappropriate program from being played back along with the channel selection. it can.

好ましくは、上記パケット判別部は、上記蓄積パケット検索部が上記番組マップパケットを検索できなかった場合には、上記チャンネル選択指示を受けてから最初に受信された上記番組関連パケットよりも後に上記バッファから受けた上記番組マップパケットに含まれる上記識別子に基づいて上記再生対象パケットを判別する。   Preferably, when the stored packet search unit cannot search for the program map packet, the packet determination unit may store the buffer later than the program-related packet first received after receiving the channel selection instruction. The reproduction target packet is discriminated based on the identifier included in the program map packet received from.

これにより、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に番組マップパケットが存在しない場合でも、チャンネル選択に伴って不適切な番組が再生されることを防ぐことができる。   Thereby, even when the program map packet does not exist after the channel selection instruction is received until the program related packet is received, it is possible to prevent an inappropriate program from being reproduced along with the channel selection.

好ましくは、上記番組受信装置は、さらに、上記バッファに蓄積された上記パケットのうち、上記番組関連パケットを除き、上記チャンネル選択指示を受けてから最初の上記番組マップパケットが受信されるまでの間に受信された上記パケットを削除するための蓄積パケット廃棄部を備える。   Preferably, the program receiving apparatus further excludes the program-related packet from the packets stored in the buffer, and receives the channel selection instruction until the first program map packet is received. A storage packet discarding unit for deleting the received packet.

このような構成により、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に受信された番組マップパケットについて、当該番組マップパケットより前かつチャンネル選択指示を受けた後に受信したパケットが誤って番組再生に用いられることを確実に防ぐことができる。   With such a configuration, with respect to a program map packet received from when a channel selection instruction is received until a program-related packet is received, the packet received before the program map packet and after receiving the channel selection instruction is It can be surely prevented from being erroneously used for program reproduction.

好ましくは、上記パケット判別部は、上記チャンネル選択指示を受けると、上記蓄積パケット検索部によって検索された上記番組マップパケットより後に受信された上記パケットを上記バッファから受けるまで、上記再生対象パケットの判別を停止する。   Preferably, upon receiving the channel selection instruction, the packet determination unit determines the reproduction target packet until the packet received after the program map packet searched by the stored packet search unit is received from the buffer. To stop.

このような構成により、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に受信された番組マップパケットについて、当該番組マップパケットより前かつチャンネル選択指示を受けた後に受信したパケットが誤って番組再生に用いられることを確実に防ぐことができる。   With such a configuration, with respect to a program map packet received from when a channel selection instruction is received until a program-related packet is received, the packet received before the program map packet and after receiving the channel selection instruction is It can be surely prevented from being erroneously used for program reproduction.

好ましくは、上記番組受信装置は、さらに、上記チャンネル選択指示を受けて、上記バッファに蓄積された上記パケットを削除するための蓄積パケット廃棄部を備える。   Preferably, the program receiving apparatus further includes a stored packet discard unit for receiving the channel selection instruction and deleting the packet stored in the buffer.

このような構成により、選択前の番組に対応するパケットのうち、チャンネル選択指示を受けた時点でバッファに蓄積されているパケットを用いて再生等が行われることを確実に防ぐことができる。   With such a configuration, it is possible to reliably prevent the reproduction or the like from being performed using the packet stored in the buffer at the time of receiving the channel selection instruction among the packets corresponding to the program before selection.

好ましくは、上記蓄積パケット検索部は、上記チャンネル選択指示を受けてから最初の上記番組関連パケットが受信されるまでの間に受信された上記番組マップパケットを、上記バッファにおいて、過去に受信された上記パケットから順番に検索する。   Preferably, the stored packet search unit has received the program map packet received in the past in the buffer after receiving the channel selection instruction and before receiving the first program-related packet. Search in order from the packet.

このように、過去に受信したパケットから順番に検索を行なう構成により、番組マップパケットを早期に検索することができる。   Thus, the program map packet can be searched at an early stage by the configuration in which the search is performed in order from the packet received in the past.

好ましくは、上記番組関連パケットおよび上記番組マップパケットはそれぞれ所定の周期で繰り返し送信され、上記バッファは、ある上記番組関連パケットが送信されてから次の上記番組関連パケットが送信されるまでの間に送信される上記パケットを少なくとも蓄積可能である。   Preferably, each of the program-related packet and the program map packet is repeatedly transmitted at a predetermined cycle, and the buffer is transmitted between the transmission of a certain program-related packet and the transmission of the next program-related packet. The packet to be transmitted can be stored at least.

このような構成により、バッファにおいて番組関連パケット間における番組マップパケットを確実に検索することができる。   With such a configuration, it is possible to reliably search for a program map packet between program-related packets in the buffer.

好ましくは、上記パケット判別部は、上記バッファから受けた上記パケットの中から上記番組関連パケットを取得し、上記番組受信装置は、さらに、上記パケット判別部によって取得された上記番組関連パケットを解析し、上記番組関連パケットが示す上記識別子を上記パケット判別部に通知するための識別情報取得部を備え、上記パケット判別部は、受けた上記パケットの中から、上記識別情報取得部から通知された上記識別子に基づいて上記番組マップパケットを取得し、上記識別情報取得部は、上記パケット判別部によって取得された上記番組マップパケットを解析し、上記番組マップパケットが示す上記識別子を取得し、上記パケット判別部は、上記識別情報取得部によって取得された上記番組マップパケットが示す上記識別子に基づいて、上記バッファから受けた上記パケットの中から上記再生対象パケットを判別し、上記識別情報取得部は、上記チャンネル選択指示を受けてから最初の上記番組関連パケットが受信されるまでの間に受信された上記番組マップパケットが上記蓄積パケット検索部によって検索された場合には、検索された上記番組マップパケットが示す上記再生対象パケットの識別子を上記パケット判別部に通知し、上記パケット判別部は、上記識別情報取得部から通知された上記識別子に基づいて上記再生対象パケットを判別する。   Preferably, the packet determining unit acquires the program-related packet from the packets received from the buffer, and the program receiving device further analyzes the program-related packet acquired by the packet determining unit. An identification information acquisition unit for notifying the packet determination unit of the identifier indicated by the program-related packet, the packet determination unit being notified from the identification information acquisition unit from the received packets The program map packet is acquired based on an identifier, and the identification information acquisition unit analyzes the program map packet acquired by the packet determination unit, acquires the identifier indicated by the program map packet, and determines the packet determination. Is based on the identifier indicated by the program map packet acquired by the identification information acquisition unit. The packet to be reproduced is determined from the packets received from the buffer, and the identification information acquisition unit receives the first program-related packet after receiving the channel selection instruction. When the stored program map packet is searched by the stored packet search unit, the packet determination unit notifies the identifier of the reproduction target packet indicated by the searched program map packet to the packet determination unit. The reproduction target packet is determined based on the identifier notified from the identification information acquisition unit.

このような構成により、パケットの識別子を用いた通常のストリーム受信処理を行なう構成において、チャンネル選択に伴う不適切な番組の再生の防止を、簡易な構成および処理で実現することができる。   With such a configuration, in a configuration in which normal stream reception processing using a packet identifier is performed, it is possible to realize prevention of inappropriate program reproduction accompanying channel selection with a simple configuration and processing.

より好ましくは、上記識別情報取得部は、上記蓄積パケット検索部が上記番組マップパケットを検索できなかった場合には、上記チャンネル選択指示を受けてから最初に受信された上記番組関連パケットよりも後に受信された上記番組マップパケットが示す上記識別子を上記パケット判別部に通知する。   More preferably, when the stored packet search unit is unable to search for the program map packet, the identification information acquisition unit is later than the program-related packet received first after receiving the channel selection instruction. The packet identifier is notified of the identifier indicated by the received program map packet.

このような構成により、パケットの識別子を用いた通常のストリーム受信処理を行なう構成において、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に番組マップパケットが存在しない場合でも、チャンネル選択に伴って不適切な番組が再生されることを、簡易な構成および処理で防ぐことができる。   With such a configuration, in a configuration in which normal stream reception processing using a packet identifier is performed, even if a program map packet does not exist after receiving a channel selection instruction until a program-related packet is received, the channel It is possible to prevent an inappropriate program from being reproduced along with the selection with a simple configuration and processing.

より好ましくは、上記パケット判別部は、上記チャンネル選択指示を受けると、上記識別情報取得部から新たに上記識別子が通知されるまで、上記再生対象パケットの判別を停止する。   More preferably, when receiving the channel selection instruction, the packet determination unit stops determining the reproduction target packet until the identifier is newly notified from the identification information acquisition unit.

このような構成により、パケットの識別子を用いた通常のストリーム受信処理を行なう構成において、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に受信された番組マップパケットについて、当該番組マップパケットより前かつチャンネル選択指示を受けた後に受信したパケットが誤って番組再生に用いられることを、簡易な構成および処理で確実に防ぐことができる。   With such a configuration, in a configuration in which normal stream reception processing using a packet identifier is performed, a program map packet received during a period from when a channel selection instruction is received until a program-related packet is received A simple configuration and processing can reliably prevent a packet received before a map packet and after receiving a channel selection instruction from being erroneously used for program reproduction.

上記課題を解決するために、この発明のある局面に係わる番組受信方法は、1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理する番組受信方法であって、上記複数のパケットは、上記番組の内容を示す再生対象パケット、上記番組に対応して生成され、対応の上記番組の上記再生対象パケットの識別子を含む番組マップパケット、および1または複数の上記番組マップパケットの識別子を含む番組関連パケットを含み、上記パケットを受信するステップと、受信した上記パケットを一時的に蓄積し、蓄積順に出力するステップと、指定された上記識別子が示す上記パケットを、蓄積中の上記パケットの中から検索するステップと、蓄積順に出力した上記パケットを上記識別子に基づいて判別するステップとを含み、上記パケットを検索するステップにおいては、チャンネル選択指示を受けてから最初の上記番組関連パケットが受信されるまでの間に受信された上記番組マップパケットを検索し、上記パケットを判別するステップにおいては、検索した上記番組マップパケットに含まれる上記識別子に基づいて上記再生対象パケットを判別する。   In order to solve the above problems, a program receiving method according to an aspect of the present invention is a program receiving method for receiving and processing a stream obtained by dividing information of one or a plurality of programs into a plurality of packets. The packet of the reproduction target packet indicating the content of the program, the program map packet generated corresponding to the program and including the identifier of the reproduction target packet of the corresponding program, and one or a plurality of the program map packets Including a program-related packet including an identifier, receiving the packet, temporarily storing the received packet, outputting the packet in the order of accumulation, and storing the packet indicated by the specified identifier A step of searching among packets, and a step of determining the packets output in the order of accumulation based on the identifiers. In the step of searching for the packet, in the step of searching for the program map packet received from when a channel selection instruction is received until the first program-related packet is received, and determining the packet Determines the reproduction target packet based on the identifier included in the searched program map packet.

このような構成により、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に受信された番組マップパケットについて、当該番組マップパケットより後に受信したパケットを番組再生に用いることができる。これにより、チャンネル選択に要する時間を短縮することができる。また、チャンネル選択指示を受けてから当該番組マップパケットを受信するまでの期間において受信したパケットは番組再生に用いないことから、チャンネル選択に伴って不適切な番組が再生されることを防ぐことができる。   With such a configuration, with respect to a program map packet received from when a channel selection instruction is received until a program-related packet is received, a packet received after the program map packet can be used for program reproduction. Thereby, the time required for channel selection can be shortened. Further, since the received packet is not used for program playback in the period from receiving the channel selection instruction to receiving the program map packet, it is possible to prevent an inappropriate program from being played back along with the channel selection. it can.

上記課題を解決するために、この発明のある局面に係わる番組受信プログラムは、1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理する番組受信プログラムであって、上記複数のパケットは、上記番組の内容を示す再生対象パケット、上記番組に対応して生成され、対応の上記番組の上記再生対象パケットの識別子を含む番組マップパケット、および1または複数の上記番組マップパケットの識別子を含む番組関連パケットを含み、コンピュータに、上記パケットを受信するステップと、受信した上記パケットを一時的に蓄積し、蓄積順に出力するステップと、指定された上記識別子が示す上記パケットを、蓄積中の上記パケットの中から検索するステップと、蓄積順に出力した上記パケットを上記識別子に基づいて判別するステップとを実行させるためのプログラムであり、上記パケットを検索するステップにおいては、チャンネル選択指示を受けてから最初の上記番組関連パケットが受信されるまでの間に受信された上記番組マップパケットを検索し、上記パケットを判別するステップにおいては、検索した上記番組マップパケットに含まれる上記識別子に基づいて上記再生対象パケットを判別する。   In order to solve the above problems, a program receiving program according to an aspect of the present invention is a program receiving program for receiving and processing a stream obtained by dividing information of one or a plurality of programs into a plurality of packets. The packet of the reproduction target packet indicating the content of the program, the program map packet generated corresponding to the program and including the identifier of the reproduction target packet of the corresponding program, and one or a plurality of the program map packets A program-related packet including an identifier, and receiving the packet in a computer; temporarily storing the received packet; outputting the packet in the accumulation order; and storing the packet indicated by the specified identifier Searching among the above-mentioned packets, and the packets output in the order of accumulation as the identifier And the step of searching for the packet, in the step of searching for the packet, the program received between the time the channel selection instruction is received and the first packet related to the program is received. In the step of searching the map packet and determining the packet, the reproduction target packet is determined based on the identifier included in the searched program map packet.

このような構成により、チャンネル選択指示を受けてから番組関連パケットが受信されるまでの間に受信された番組マップパケットについて、当該番組マップパケットより後に受信したパケットを番組再生に用いることができる。これにより、チャンネル選択に要する時間を短縮することができる。また、チャンネル選択指示を受けてから当該番組マップパケットを受信するまでの期間において受信したパケットは番組再生に用いないことから、チャンネル選択に伴って不適切な番組が再生されることを防ぐことができる。   With such a configuration, with respect to a program map packet received from when a channel selection instruction is received until a program-related packet is received, a packet received after the program map packet can be used for program reproduction. Thereby, the time required for channel selection can be shortened. Further, since the received packet is not used for program playback in the period from receiving the channel selection instruction to receiving the program map packet, it is possible to prevent an inappropriate program from being played back along with the channel selection. it can.

本発明によれば、番組の情報が複数のパケットに分割されたストリームを受信して処理する構成において、番組の選択に要する時間を短縮するとともに、ストリームの受信処理を適切に行なうことができる。   According to the present invention, in a configuration in which a stream in which program information is divided into a plurality of packets is received and processed, the time required for selecting a program can be shortened and stream reception processing can be performed appropriately.

本発明の実施の形態に係る番組受信装置の構成を示す図である。It is a figure which shows the structure of the program receiver which concerns on embodiment of this invention. 本発明の実施の形態に係る番組受信装置におけるTSフィルタ部がTSパケットの判別および振り分け処理を行なう際の動作手順を定めたフローチャートである。It is the flowchart which defined the operation | movement procedure at the time of the TS filter part in the program receiver which concerns on embodiment of this invention performing the discrimination | determination and distribution process of TS packet. チャンネル切り替えによって生じる問題点を説明するための図である。It is a figure for demonstrating the problem which arises by channel switching. ストリームの内容変更を示す図である。It is a figure which shows the content change of a stream. チャンネル切り替えによって生じる他の問題点を説明するための図である。It is a figure for demonstrating the other problem which arises by channel switching. 本発明の実施の形態に係る番組受信装置がチャンネル切り替え処理を行なう際の動作手順を定めたフローチャートである。It is the flowchart which defined the operation | movement procedure at the time of the channel switching process in the program receiver which concerns on embodiment of this invention. 本発明の実施の形態に係る番組受信装置およびサーバがチャンネル切り替えを行なう際の動作手順を定めたフローチャートである。It is the flowchart which defined the operation | movement procedure when the program receiver and server which concern on embodiment of this invention switch a channel. 本発明の実施の形態に係る番組受信装置における各ユニットが、チャンネル切り替え命令に伴って初期化等の処理を行なう際の動作手順を定めたフローチャートである。It is the flowchart which defined the operation | movement procedure at the time of each unit in the program receiver which concerns on embodiment of this invention performs processes, such as initialization, according to a channel switching command. 本発明の実施の形態に係る番組受信装置における蓄積パケット検索部がTSパケットの検索処理を行なう際の動作手順を定めたフローチャートである。It is the flowchart which defined the operation | movement procedure at the time of the stored packet search part in the program receiver which concerns on embodiment of this invention performs the search process of TS packet. 本発明の実施の形態に係る番組受信装置におけるチャンネル切り替えタイミングの一例を示す図である。It is a figure which shows an example of the channel switching timing in the program receiver which concerns on embodiment of this invention. 本発明の実施の形態に係る番組受信装置のバッファに蓄積されたTSパケットの一例を示す図である。It is a figure which shows an example of the TS packet accumulate | stored in the buffer of the program receiver which concerns on embodiment of this invention. 本発明の実施の形態に係る番組受信装置におけるチャンネル切り替えタイミングの一例を示す図である。It is a figure which shows an example of the channel switching timing in the program receiver which concerns on embodiment of this invention. 本発明の実施の形態に係る番組受信装置のバッファに蓄積されたTSパケットの一例を示す図である。It is a figure which shows an example of the TS packet accumulate | stored in the buffer of the program receiver which concerns on embodiment of this invention.

以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

[構成および基本動作]   [Configuration and basic operation]

図1は、本発明の実施の形態に係る番組受信装置の構成を示す図である。   FIG. 1 is a diagram showing a configuration of a program receiving apparatus according to an embodiment of the present invention.

図1を参照して、番組受信装置101は、受信部11と、バッファ12と、TSフィルタ部(パケット判別部)13と、逆多重部(パケット判別部)14と、ビデオデコーダ15と、オーディオデコーダ16と、蓄積パケット検索部17と、制御部(識別情報取得部および蓄積パケット廃棄部)18とを備える。   Referring to FIG. 1, a program receiving apparatus 101 includes a receiving unit 11, a buffer 12, a TS filter unit (packet discriminating unit) 13, a demultiplexing unit (packet discriminating unit) 14, a video decoder 15, and an audio. A decoder 16, an accumulated packet search unit 17, and a control unit (identification information acquisition unit and accumulated packet discard unit) 18 are provided.

番組受信装置101は、1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理する。たとえば、番組受信装置101は、MPEG2―TS(Moving Picture Experts Group 2 Transport Stream)規格に従うストリームを受信して処理する。   The program receiving apparatus 101 receives and processes a stream obtained by dividing information of one or a plurality of programs into a plurality of packets. For example, the program receiving apparatus 101 receives and processes a stream according to the MPEG2-TS (Moving Picture Experts Group 2 Transport Stream) standard.

より詳細には、番組受信装置101は、たとえばSTB(Set Top Box)であり、局側装置からストリームを受信し、当該ストリームから映像および音声をデコードし、ディスプレイ装置102において番組を再生する。この局側装置は、たとえば、デジタル放送の放送局に設置される装置、またはIPTV(Internet Protocol Television)に対応するサーバである。なお、番組受信装置101は、ディスプレイ装置102を備える構成であってもよい。   More specifically, the program receiving apparatus 101 is, for example, an STB (Set Top Box), receives a stream from the station side apparatus, decodes video and audio from the stream, and reproduces the program on the display apparatus 102. The station-side device is, for example, a device installed in a digital broadcasting broadcast station or a server corresponding to IPTV (Internet Protocol Television). Note that the program receiving apparatus 101 may be configured to include the display apparatus 102.

ストリームには複数のTSパケットが含まれ、各TSパケットは、識別子であるPID(Packet Identification)を含む。そして、ストリームには、番組の映像を示すビデオTSパケットおよび番組の音声を示すオーディオTSパケットの他に、PSI(Program Specific Information)を示すTSパケットが含まれる。このPSIには、PAT(Program Association Table)およびPMT(Program Map Table)が含まれる。PATは、ストリームに含まれる1または複数の番組すなわち現在放送中である1または複数の番組の識別子であるチャンネルIDと、各放送チャンネルの情報を含むPMTのPIDとを含む。PMTは、対応の番組の内容を含むビデオTSパケットおよびオーディオTSパケットのPIDを含む。PATおよびPMTは、局側装置からそれぞれ所定の周期で繰り返し送信される。   The stream includes a plurality of TS packets, and each TS packet includes a PID (Packet Identification) that is an identifier. The stream includes a TS packet indicating PSI (Program Specific Information) in addition to a video TS packet indicating program video and an audio TS packet indicating program audio. This PSI includes a PAT (Program Association Table) and a PMT (Program Map Table). The PAT includes one or more programs included in the stream, that is, a channel ID that is an identifier of one or more programs that are currently being broadcast, and a PMT PID that includes information on each broadcast channel. The PMT includes PIDs of video TS packets and audio TS packets that include the contents of the corresponding program. PAT and PMT are repeatedly transmitted from the station side device at predetermined intervals.

すなわち、ストリームにおける複数のTSパケットは、番組の映像または音声を示す再生対象パケットであるビデオTSパケットおよびオーディオTSパケットを含む。また、ストリームにおける複数のTSパケットは、番組に対応して生成され、対応の番組の再生対象パケットのPIDを含むPMTパケット、および1または複数のPMTパケットのPIDを含むPATパケットを含む。以下、PMTパケットおよびPATパケットを、それぞれ単にPMTおよびPATと称する場合がある。   That is, the plurality of TS packets in the stream includes a video TS packet and an audio TS packet, which are playback target packets indicating video or audio of the program. The plurality of TS packets in the stream include a PMT packet that is generated corresponding to a program and includes a PID of a reproduction target packet of the corresponding program, and a PAT packet that includes a PID of one or more PMT packets. Hereinafter, the PMT packet and the PAT packet may be simply referred to as PMT and PAT, respectively.

より詳細には、受信部11は、局側装置から送信されるTSパケットを受信し、バッファ12へ出力する。   More specifically, the receiving unit 11 receives a TS packet transmitted from the station side device and outputs the TS packet to the buffer 12.

バッファ12は、たとえばFIFO(First In First Out)であり、受信部11から受けたTSパケットを蓄積し、TSパケットが一定数を超えて蓄積されると、一定数を超えた分のTSパケットを蓄積順に出力する。たとえば、バッファ12は、あるPATパケットが送信されてから次のPATパケットが送信されるまでの間に送信される各TSパケットを少なくとも蓄積可能である。   The buffer 12 is, for example, a FIFO (First In First Out), accumulates TS packets received from the receiving unit 11, and if TS packets are accumulated beyond a certain number, TS packets exceeding the certain number are accumulated. Output in order of accumulation. For example, the buffer 12 can store at least each TS packet transmitted between the transmission of one PAT packet and the transmission of the next PAT packet.

TSフィルタ部13は、バッファ12から受けたTSパケットを逆多重部14へ出力する。また、TSフィルタ部13は、バッファ12から受けた各TSパケットの中からPATパケットを取得する。より詳細には、TSフィルタ部13は、TSパケットのPIDを参照し、予め登録されたPATのPIDと一致するTSパケットを制御部18へ出力する。   The TS filter unit 13 outputs the TS packet received from the buffer 12 to the demultiplexing unit 14. In addition, the TS filter unit 13 acquires a PAT packet from each TS packet received from the buffer 12. More specifically, the TS filter unit 13 refers to the PID of the TS packet and outputs a TS packet that matches the PID of the PAT registered in advance to the control unit 18.

逆多重部14は、TSフィルタ部13を介してバッファ12から受けた各TSパケットの中から再生対象パケットを判別して出力する。より詳細には、逆多重部14は、TSフィルタ部13から受けたTSパケットのPIDを参照することにより、制御部18から通知されたビデオTSパケットのPIDと一致するか否かを判定し、一致したTSパケットをビデオデコーダ15へ出力する。また、逆多重部14は、制御部18から通知されたオーディオTSパケットのPIDと一致するか否かを判定し、一致したTSパケットをオーディオデコーダ16へ出力する。   The demultiplexing unit 14 discriminates and outputs the reproduction target packet from the TS packets received from the buffer 12 via the TS filter unit 13. More specifically, the demultiplexing unit 14 refers to the PID of the TS packet received from the TS filter unit 13 to determine whether or not it matches the PID of the video TS packet notified from the control unit 18, The matched TS packet is output to the video decoder 15. Further, the demultiplexing unit 14 determines whether or not it matches the PID of the audio TS packet notified from the control unit 18, and outputs the matching TS packet to the audio decoder 16.

このように、逆多重部14の前段にバッファ12を設ける構成により、PMTからPIDが取得された後に、逆多重部14がバッファ12からTSパケットを受けて、再生対象パケットの判別および振り分け処理を行なうことが可能となる。   In this way, with the configuration in which the buffer 12 is provided before the demultiplexing unit 14, after the PID is acquired from the PMT, the demultiplexing unit 14 receives the TS packet from the buffer 12, and performs the discrimination and distribution processing of the packet to be reproduced. Can be performed.

ビデオデコーダ15は、逆多重部14から受けたTSパケットに対して復号化処理を行なってビデオ信号を生成し、ディスプレイ装置102へ出力する。   The video decoder 15 performs a decoding process on the TS packet received from the demultiplexing unit 14 to generate a video signal, and outputs the video signal to the display device 102.

オーディオデコーダ16は、逆多重部14から受けたTSパケットに対して復号化処理を行なってオーディオ信号を生成し、ディスプレイ装置102へ出力する。   The audio decoder 16 performs a decoding process on the TS packet received from the demultiplexing unit 14 to generate an audio signal, and outputs the audio signal to the display device 102.

ディスプレイ装置102は、ビデオデコーダ15から受けたビデオ信号およびオーディオデコーダ16から受けたオーディオ信号に基づいて番組を再生する。   The display device 102 reproduces a program based on the video signal received from the video decoder 15 and the audio signal received from the audio decoder 16.

図2は、本発明の実施の形態に係る番組受信装置におけるTSフィルタ部がTSパケットの判別および振り分け処理を行なう際の動作手順を定めたフローチャートである。   FIG. 2 is a flowchart defining an operation procedure when the TS filter unit in the program receiving apparatus according to the embodiment of the present invention performs TS packet discrimination and distribution processing.

図2を参照して、まず、TSフィルタ部13は、バッファ12から受けたTSパケットのPIDを監視する(ステップS1)。   Referring to FIG. 2, first, TS filter unit 13 monitors the PID of the TS packet received from buffer 12 (step S1).

次に、TSフィルタ部13は、PATパケットのPIDと一致するTSパケットを取得し(ステップS2)、制御部18へ出力する(ステップS3)。   Next, the TS filter unit 13 acquires a TS packet that matches the PID of the PAT packet (step S2) and outputs the TS packet to the control unit 18 (step S3).

次に、制御部18は、TSフィルタ部13から受けたTSパケットすなわちPATパケットを解析してPMTパケットのPIDを取得し(ステップS4)、PMTパケットのPIDをTSフィルタ部13に通知する(ステップS5)。   Next, the control unit 18 analyzes the TS packet received from the TS filter unit 13, that is, the PAT packet, acquires the PID of the PMT packet (step S4), and notifies the TS filter unit 13 of the PID of the PMT packet (step S4). S5).

次に、TSフィルタ部13は、制御部18から通知されたPMTパケットのPIDと一致するTSパケットを取得し(ステップS6)、制御部18へ出力する(ステップS7)。その後、TSフィルタ部13は、バッファ12から受けたTSパケットのPIDを引き続き監視する(ステップS11)。   Next, the TS filter unit 13 acquires a TS packet that matches the PID of the PMT packet notified from the control unit 18 (step S6), and outputs the TS packet to the control unit 18 (step S7). Thereafter, the TS filter unit 13 continuously monitors the PID of the TS packet received from the buffer 12 (step S11).

次に、制御部18は、TSフィルタ部13から受けたTSパケットすなわちPMTパケットを解析し、当該PMTパケットに対応する番組のビデオTSパケットのPIDおよびオーディオTSパケットのPIDを取得し(ステップS8)、ビデオTSパケットのPIDおよびオーディオTSパケットのPIDを逆多重部14に通知する(ステップS9)。   Next, the control unit 18 analyzes the TS packet, that is, the PMT packet received from the TS filter unit 13, and acquires the PID of the video TS packet and the audio TS packet of the program corresponding to the PMT packet (step S8). The PID of the video TS packet and the PID of the audio TS packet are notified to the demultiplexing unit 14 (step S9).

次に、逆多重部14は、制御部18から新たに通知されたビデオTSパケットのPIDおよびオーディオTSパケットのPIDに基づいて、TSパケットの判別および振り分け処理を行なう(ステップS10)。   Next, the demultiplexing unit 14 performs TS packet discrimination and distribution processing based on the PID of the video TS packet and the audio TS packet newly notified from the control unit 18 (step S10).

図3は、チャンネル切り替えによって生じる問題点を説明するための図である。図3において、横軸が時間を表しており、紙面左側ほど過去に送信された情報を示している。   FIG. 3 is a diagram for explaining a problem caused by channel switching. In FIG. 3, the horizontal axis represents time, and the information transmitted in the past is shown on the left side of the page.

図3を参照して、番組受信装置が以下のような動作を行なう場合について考える。すなわち、番組受信装置が、チャンネル切り替え命令を受けてからPATを受信し、当該PATに含まれるPIDに対応するPMT1を取得する。そして、番組受信装置が、PMT1に含まれるビデオTSパケットのPIDおよびオーディオTSパケットのPIDを用いて、PMT1より前に番組受信装置101が受信したビデオTSパケットおよびオーディオTSパケットを判別し、番組の再生を行なう。   Referring to FIG. 3, consider the case where the program receiving apparatus performs the following operation. That is, the program receiving apparatus receives the PAT after receiving the channel switching command, and acquires PMT1 corresponding to the PID included in the PAT. Then, the program receiving apparatus determines the video TS packet and the audio TS packet received by the program receiving apparatus 101 before PMT1 using the PID of the video TS packet and the audio TS packet included in PMT1, and Perform playback.

ここで、番組受信装置がチャンネル切り替え命令を受ける前に局側装置から送信されたPMT2と、チャンネル切り替え命令を受けた後に番組受信装置が受信したPMT1とが同じ内容である場合には、このような動作を行なっても問題はなく、チャンネル切り替えに要する時間を短縮することが可能である。   Here, when the PMT2 transmitted from the station-side device before the program receiving apparatus receives the channel switching command and the PMT1 received by the program receiving apparatus after receiving the channel switching command, the contents are as follows. There is no problem even if the operation is performed, and the time required for channel switching can be shortened.

図4は、ストリームの内容変更を示す図である。   FIG. 4 is a diagram showing the change of the contents of the stream.

ストリームにおいて、PMT2の生成タイミングからPMT1の生成タイミングまでの間でプログラム変更が行われ、PMT1およびPMT2の内容が異なる場合がある。図4に示す例では、プログラム変更前は、21ch、22chおよび23chのビデオTSパケットのPIDがそれぞれ100、101および102であり、オーディオTSパケットのPIDが110、111および112である。そして、プログラム変更後は、21ch、22chおよび23chのビデオTSパケットのPIDがすべて100であり、オーディオTSパケットのPIDがすべて110である。   In the stream, the program is changed between the generation timing of PMT2 and the generation timing of PMT1, and the contents of PMT1 and PMT2 may be different. In the example shown in FIG. 4, before the program change, the PIDs of the 21ch, 22ch, and 23ch video TS packets are 100, 101, and 102, respectively, and the PIDs of the audio TS packets are 110, 111, and 112, respectively. After the program change, the PIDs of the video TS packets of 21ch, 22ch, and 23ch are all 100 and the PIDs of the audio TS packets are all 110.

たとえば、PMT1およびPMT2が22chの番組に対応しており、チャンネル切り替えによって22chが選局されたとする。この場合、逆多重部14は、PMT1に含まれる22chのビデオTSパケットのPID「100」のTSパケットおよびオーディオTSパケットのPID「110」のTSパケットをそれぞれビデオデコーダ15およびオーディオデコーダ16へ出力する。   For example, it is assumed that PMT1 and PMT2 correspond to a 22ch program and 22ch is selected by channel switching. In this case, the demultiplexing unit 14 outputs the TS packet of PID “100” of the 22ch video TS packet included in the PMT1 and the TS packet of PID “110” of the audio TS packet to the video decoder 15 and the audio decoder 16, respectively. .

ここで、PMT1を受信する前に番組受信装置101が受信したTSパケットは、プログラム変更前に送信されたTSパケットであることから、PID「100」のTSパケットおよびPID「110」のTSパケットは、21chのビデオTSパケットおよびオーディオTSパケットである。このため、チャンネル切り替え命令を受けた後、最初のうちは、不適切な番組すなわち21chの番組が再生されてしまう。   Here, since the TS packet received by the program receiving apparatus 101 before receiving the PMT1 is the TS packet transmitted before the program change, the TS packet with the PID “100” and the TS packet with the PID “110” are , 21ch video TS packet and audio TS packet. For this reason, after receiving the channel switching command, an inappropriate program, that is, a 21ch program is reproduced at first.

図5は、チャンネル切り替えによって生じる他の問題点を説明するための図である。図の見方は図3と同様である。   FIG. 5 is a diagram for explaining another problem caused by channel switching. The way of viewing the figure is the same as in FIG.

図5を参照して、番組に対して年齢視聴制限が設定される場合を考える。一般的に、年齢視聴制限はPMTの情報に基づいて行われる。   Referring to FIG. 5, consider the case where age viewing restrictions are set for a program. In general, age viewing restriction is performed based on PMT information.

たとえば、PMT1以前の期間は視聴禁止期間であり、PMT1以降は視聴可能期間である場合、すなわちPMT1が受信される前に番組受信装置101に到着したTSパケットは年齢視聴制限の対象であり、PMT1が受信された後に番組受信装置101に到着したTSパケットは年齢視聴制限の対象でない場合を考える。   For example, a period before PMT1 is a viewing prohibition period, and a period after PMT1 is a viewable period, that is, a TS packet that arrives at the program receiving apparatus 101 before PMT1 is received is subject to age viewing restriction. Assume that a TS packet that arrives at the program receiving apparatus 101 after receiving is not subject to age viewing restriction.

このような状況において、番組受信装置は、局側装置からPMT2が送信されてから番組受信装置がPMT1を受信するまでの間にチャンネル切り替え命令を受けて、その後、PAT1を受信し、当該PAT1に含まれるPIDに対応するPMT1を取得する。そして、番組受信装置は、PMT1に含まれるビデオTSパケットのPIDおよびオーディオTSパケットのPIDを用いて、PMT1より前に番組受信装置101が受信したビデオTSパケットおよびオーディオTSパケットを判別し、番組の再生を行なう。   In such a situation, the program receiving apparatus receives a channel switching command after the PMT2 is transmitted from the station side apparatus until the program receiving apparatus receives the PMT1, and then receives the PAT1 and receives the PAT1. PMT1 corresponding to the included PID is acquired. Then, the program receiving apparatus determines the video TS packet and the audio TS packet received by the program receiving apparatus 101 before PMT1 using the PID of the video TS packet and the PID of the audio TS packet included in PMT1, and Perform playback.

この場合、PMT1を受信する前に番組受信装置が受信したTSパケットは、年齢視聴制限の対象であるにも関わらず、PMT1が受信された後の年齢視聴制限の対象でないTSパケットと同様に処理され、年齢視聴制限を無視した不適切な番組が再生されてしまう。   In this case, TS packets received by the program receiving apparatus before receiving PMT1 are processed in the same manner as TS packets that are not subject to age viewing restriction after PMT1 is received, even though they are subject to age viewing restriction. Inappropriate programs that ignore age restrictions are played.

そこで、本発明の実施の形態に係る番組受信装置では、以下のような動作を行なうことにより、上記各問題点を解決する。   Therefore, the program receiving apparatus according to the embodiment of the present invention solves the above problems by performing the following operations.

蓄積パケット検索部17は、選択すべきチャンネルを示すチャンネル切り替え命令を受けてから最初のPATパケットが受信されるまでの間に受信されたPMTパケットをバッファ12において検索する。ここで、チャンネル切り替え命令の示すチャンネルは、マルチチャンネル中の1つのチャンネルの場合もある。たとえば、蓄積パケット検索部17は、当該PMTパケットを、バッファ12において、過去に受信されたTSパケットから順番に検索する。   The accumulated packet search unit 17 searches the buffer 12 for a PMT packet received from when a channel switching command indicating a channel to be selected is received until the first PAT packet is received. Here, the channel indicated by the channel switching command may be one of the multi-channels. For example, the accumulated packet search unit 17 searches the buffer 12 in order from TS packets received in the past in the buffer 12.

そして、逆多重部14は、蓄積パケット検索部17によって検索されたPMTパケットに含まれるPIDに基づいて再生対象パケットを判別し、出力する。   Then, the demultiplexing unit 14 determines and outputs a reproduction target packet based on the PID included in the PMT packet searched by the stored packet searching unit 17.

より詳細には、制御部18は、TSフィルタ部13によって取得されたPATパケットを解析し、PATパケットが示すPIDをTSフィルタ部13に通知する。   More specifically, the control unit 18 analyzes the PAT packet acquired by the TS filter unit 13 and notifies the TS filter unit 13 of the PID indicated by the PAT packet.

次に、TSフィルタ部13は、バッファ12から受けた各TSパケットの中から、制御部18から通知されたPIDに基づいてPMTパケットを取得する。   Next, the TS filter unit 13 acquires a PMT packet based on the PID notified from the control unit 18 from among the TS packets received from the buffer 12.

次に、制御部18は、TSフィルタ部13によって取得されたPMTパケットを解析し、PMTパケットが示すPIDを取得する。   Next, the control unit 18 analyzes the PMT packet acquired by the TS filter unit 13 and acquires the PID indicated by the PMT packet.

次に、逆多重部14は、制御部18によって取得されたPMTパケットが示すPIDに基づいて、TSフィルタ部13から受けた各TSパケットの中から再生対象パケットを判別して出力する。   Next, based on the PID indicated by the PMT packet acquired by the control unit 18, the demultiplexing unit 14 discriminates and outputs the reproduction target packet from among the TS packets received from the TS filter unit 13.

次に、制御部18は、チャンネル切り替え命令を受けてから最初のPATパケットが受信されるまでの間に受信されたPMTパケットが蓄積パケット検索部17によって検索された場合には、検索されたPMTパケットが示す再生対象パケットのPIDを逆多重部14に通知する。   Next, when the PMT packet received from when the channel switching command is received until the first PAT packet is received is searched by the accumulated packet search unit 17, the control unit 18 searches for the searched PMT. The demultiplexing unit 14 is notified of the PID of the reproduction target packet indicated by the packet.

そして、逆多重部14は、制御部18から通知されたPIDに基づいて再生対象パケットを判別し、出力する。   Then, the demultiplexing unit 14 determines and outputs a reproduction target packet based on the PID notified from the control unit 18.

また、逆多重部14は、蓄積パケット検索部17がPMTパケットを検索できなかった場合には、チャンネル切り替え命令を受けてから最初に受信されたPATパケットよりも後にバッファ12から受けたPMTパケットが示すPIDに基づいて、再生対象パケットを判別し、出力する。より詳細には、制御部18は、蓄積パケット検索部17がPMTパケットを検索できなかった場合には、チャンネル切り替え命令を受けてから最初に受信されたPATパケットよりも後に受信されたPMTパケットが示すPIDを逆多重部14に通知する。   In addition, when the accumulated packet search unit 17 cannot search for the PMT packet, the demultiplexing unit 14 receives the PMT packet received from the buffer 12 after the PAT packet received first after receiving the channel switching command. Based on the indicated PID, the reproduction target packet is determined and output. More specifically, when the accumulated packet retrieval unit 17 cannot retrieve the PMT packet, the control unit 18 determines that the PMT packet received after the PAT packet received first after receiving the channel switching command is received. The demultiplexing unit 14 is notified of the indicated PID.

また、制御部18は、チャンネル切り替え命令を受けて、バッファ12に蓄積された各TSパケットを削除する。   Further, the control unit 18 receives the channel switching command and deletes each TS packet stored in the buffer 12.

さらに、制御部18は、バッファ12に蓄積された各TSパケットのうち、PATパケットを除き、チャンネル切り替え命令を受けてから最初のPMTパケットが受信されるまでの間に受信された各TSパケットを削除する。   Further, the control unit 18 excludes the PAT packet from among the TS packets stored in the buffer 12, and receives each TS packet received from when the channel switching command is received until the first PMT packet is received. delete.

また、逆多重部14は、チャンネル切り替え命令を受けると、蓄積パケット検索部17によって検索されたPMTパケットより後に受信された各TSパケットをバッファ12から受けるまで、再生対象パケットの判別および出力を停止する。より詳細には、逆多重部14は、チャンネル切り替え命令を受けると、制御部18から新たにPIDが通知されるまで、再生対象パケットの判別および出力を停止する。   Further, when receiving the channel switching command, the demultiplexing unit 14 stops the discrimination and output of the reproduction target packet until receiving from the buffer 12 each TS packet received after the PMT packet searched by the stored packet searching unit 17. To do. More specifically, when receiving the channel switching command, the demultiplexing unit 14 stops determining and outputting the reproduction target packet until a new PID is notified from the control unit 18.

[動作]
次に、本発明の実施の形態に係る番組受信装置がチャンネル切り替え処理を行なう際の動作について図面を用いて詳細に説明する。
[Operation]
Next, the operation when the program receiving apparatus according to the embodiment of the present invention performs the channel switching process will be described in detail with reference to the drawings.

番組受信装置101は、以下に示す各フローチャートの各ステップを図示しないメモリから読み出して実行する。このプログラムは、外部からインストールすることができる。このインストールされるプログラムは、たとえば記録媒体に格納された状態で流通する。   The program receiving apparatus 101 reads out each step of each flowchart shown below from a memory (not shown) and executes it. This program can be installed externally. The installed program is distributed in a state stored in a recording medium, for example.

図6は、本発明の実施の形態に係る番組受信装置がチャンネル切り替え処理を行なう際の動作手順を定めたフローチャートである。   FIG. 6 is a flowchart defining an operation procedure when the program receiving apparatus according to the embodiment of the present invention performs the channel switching process.

図6を参照して、まず、番組受信装置101は、チャンネル切り替え命令を受けるまで、通常のストリーム受信処理を継続する(ステップS61でNO)。   Referring to FIG. 6, first, program receiving apparatus 101 continues the normal stream receiving process until a channel switching command is received (NO in step S61).

次に、番組受信装置101は、チャンネル切り替え命令を受けると(ステップS61でYES)、バッファ12に蓄積された各TSパケットの中から、チャンネル切り替え命令を受けてから最初に受信したPATパケットを検索する(ステップS62)。   Next, when receiving the channel switching command (YES in step S61), the program receiving apparatus 101 searches the TS packets stored in the buffer 12 for the first PAT packet received after receiving the channel switching command. (Step S62).

次に、番組受信装置101は、バッファ12に蓄積された各TSパケットの中から、当該最初のPATパケットより前に受信したPMTパケットを検索し、検索できた場合には(ステップS63でYES)、検索したPMTパケットからビデオTSパケットのPIDおよびオーディオTSパケットのPIDを取得する(ステップS64)。   Next, the program receiving apparatus 101 searches for the PMT packet received before the first PAT packet from among the TS packets stored in the buffer 12, and if the search is successful (YES in step S63). Then, the PID of the video TS packet and the PID of the audio TS packet are acquired from the retrieved PMT packet (step S64).

次に、番組受信装置101は、取得したビデオTSパケットのPIDおよびオーディオTSパケットのPIDに基づいて、バッファ12に蓄積された各TSパケットの中から、検索したPMTパケットより後に受信したビデオTSパケットおよびオーディオTSパケットの判別および振り分け処理を行い、映像および音声をデコードし、ディスプレイ装置102において番組を再生する(ステップS65)。   Next, the program receiving apparatus 101 receives the video TS packet received after the searched PMT packet from among the TS packets stored in the buffer 12 based on the acquired PID of the video TS packet and the PID of the audio TS packet. Then, the audio TS packet is discriminated and distributed, the video and audio are decoded, and the program is reproduced on the display device 102 (step S65).

一方、番組受信装置101は、バッファ12に蓄積された各TSパケットの中に、当該最初のPATパケットより前に受信したPMTパケットが存在しなかった場合には(ステップS63でNO)、当該最初のPATパケットより後に受信したPMTパケットからビデオTSパケットのPIDおよびオーディオTSパケットのPIDを取得する(ステップS66)。すなわち、番組受信装置101は、通常のストリーム受信処理に戻る。より詳細には、蓄積パケット検索部17が処理を終了し、TSフィルタ部13が、制御部18から通知されたPMTパケットのPIDを用いて、当該最初のPATパケットより後に受信したPMTパケットを取得し、制御部18へ出力する。なお、蓄積パケット検索部17が引き続き処理を継続し、当該最初のPATパケットより後に受信したPMTパケットをバッファ12において検索する構成であってもよい。   On the other hand, when the PMT packet received before the first PAT packet does not exist in each TS packet stored in the buffer 12 (NO in step S63), the program receiving apparatus 101 The PID of the video TS packet and the PID of the audio TS packet are acquired from the PMT packet received after the PAT packet (step S66). That is, the program receiving apparatus 101 returns to the normal stream receiving process. More specifically, the accumulated packet search unit 17 ends the process, and the TS filter unit 13 acquires the PMT packet received after the first PAT packet by using the PID of the PMT packet notified from the control unit 18. And output to the control unit 18. Alternatively, the accumulated packet search unit 17 may continue the processing and search the buffer 12 for PMT packets received after the first PAT packet.

次に、番組受信装置101は、取得したビデオTSパケットのPIDおよびオーディオTSパケットのPIDに基づいて、バッファ12に蓄積された各TSパケットの中から、当該PMTパケットより後に受信したビデオTSパケットのPIDおよびオーディオTSパケットのPIDの判別および振り分け処理を行い、映像および音声をデコードし、ディスプレイ装置102において番組を再生する(ステップS67)。   Next, based on the acquired PID of the video TS packet and the PID of the audio TS packet, the program receiving apparatus 101 determines the video TS packet received after the PMT packet from among the TS packets stored in the buffer 12. PID and audio TS packet PID discrimination and distribution processing are performed, video and audio are decoded, and a program is reproduced on the display device 102 (step S67).

図7は、本発明の実施の形態に係る番組受信装置およびサーバがチャンネル切り替えを行なう際の動作手順を定めたフローチャートである。番組受信装置101側の処理は、たとえば制御部18が行なう。   FIG. 7 is a flowchart defining an operation procedure when the program receiving apparatus and the server according to the embodiment of the present invention perform channel switching. For example, the control unit 18 performs the processing on the program receiving apparatus 101 side.

図7を参照して、たとえばIPTVシステムにおいて、番組受信装置101が、サーバから旧チャンネルのストリームの受信処理を行なっている状態において(ステップS41)、たとえばユーザからチャンネル切り替え命令を受ける(ステップS42)。   Referring to FIG. 7, in the IPTV system, for example, in a state where program receiving apparatus 101 is receiving a stream of the old channel from the server (step S41), for example, a channel switching command is received from the user (step S42). .

次に、番組受信装置101は、チャンネル切り替え命令を受けて、チャンネル変更要求をサーバへ送信する(ステップS43)。   Next, the program receiving apparatus 101 receives a channel switching command and transmits a channel change request to the server (step S43).

次に、サーバは、番組受信装置101からチャンネル変更要求を受けて、チャンネル変更要求の示す新チャンネルのストリームを番組受信装置101へ送信する(ステップS44)。   Next, the server receives a channel change request from the program receiving apparatus 101, and transmits a stream of a new channel indicated by the channel change request to the program receiving apparatus 101 (step S44).

図8は、本発明の実施の形態に係る番組受信装置における各ユニットが、チャンネル切り替え命令に伴って初期化等の処理を行なう際の動作手順を定めたフローチャートである。   FIG. 8 is a flowchart defining an operation procedure when each unit in the program receiving apparatus according to the embodiment of the present invention performs processing such as initialization in accordance with a channel switching command.

図8を参照して、まず、制御部18は、チャンネル切り替え命令を受けて(ステップS51)、受信処理停止命令を各ユニットへ出力する(ステップS52)。   Referring to FIG. 8, first, control unit 18 receives a channel switching command (step S51), and outputs a reception processing stop command to each unit (step S52).

また、制御部18は、バッファ12内のすべてのTSパケットを削除する(ステップS53)。これにより、切り替え前のチャンネルに対応するTSパケットのうち、チャンネル切り替え命令を受けた時点でバッファ12に蓄積されているTSパケットを用いて再生等が行われることを防ぐことができる。   The control unit 18 deletes all TS packets in the buffer 12 (step S53). As a result, it is possible to prevent reproduction or the like from being performed using the TS packets stored in the buffer 12 when the channel switching command is received among the TS packets corresponding to the channel before switching.

次に、ビデオデコーダ15およびオーディオデコーダ16は、制御部18から受信処理停止命令を受けて、逆多重部14からのTSパケットに対する復号化処理を停止する(ステップS54)。   Next, the video decoder 15 and the audio decoder 16 receive the reception process stop command from the control unit 18 and stop the decoding process for the TS packet from the demultiplexing unit 14 (step S54).

また、逆多重部14は、制御部18から受信処理停止命令を受けて、TSフィルタ部13から受けるTSパケットの判別および振り分け処理を停止する。たとえば、逆多重部14は、現在使用しているビデオTSパケットのPIDおよびオーディオTSパケットのPIDをクリアする(ステップS55)。これにより、制御部18からビデオTSパケットのPIDおよびオーディオTSパケットのPIDが新たに通知されるまで、番組の再生が停止される。   Further, the demultiplexing unit 14 receives the reception processing stop command from the control unit 18 and stops the TS packet discrimination and distribution processing received from the TS filter unit 13. For example, the demultiplexing unit 14 clears the currently used video TS packet PID and audio TS packet PID (step S55). Thereby, the reproduction of the program is stopped until the PID of the video TS packet and the PID of the audio TS packet are newly notified from the control unit 18.

次に、制御部18およびサーバ間で図7に示す各ステップの処理が行われ、制御部18は、サーバへチャンネル変更要求を送信すると(ステップS56)、受信処理再開命令を各ユニットへ出力する(ステップS57)。   Next, the processing of each step shown in FIG. 7 is performed between the control unit 18 and the server. When the control unit 18 transmits a channel change request to the server (step S56), the reception processing restart command is output to each unit. (Step S57).

次に、各ユニットは、TSパケットの受信処理を再開する。具体的には、蓄積パケット検索部17および制御部18の処理により、逆多重部14にビデオTSパケットのPIDおよびオーディオTSパケットのPIDが新たに通知され、逆多重部14は、TSフィルタ部13から受けたTSパケットの判別および振り分け処理を再開する(ステップS58)。   Next, each unit resumes the TS packet reception process. Specifically, the PID of the video TS packet and the PTS of the audio TS packet are newly notified to the demultiplexing unit 14 by the processing of the accumulated packet search unit 17 and the control unit 18, and the demultiplexing unit 14 receives the TS filter unit 13. The TS packet determination and distribution process received from step 1 is resumed (step S58).

図9は、本発明の実施の形態に係る番組受信装置における蓄積パケット検索部がTSパケットの検索処理を行なう際の動作手順を定めたフローチャートである。   FIG. 9 is a flowchart defining an operation procedure when the stored packet search unit in the program receiving apparatus according to the embodiment of the present invention performs a TS packet search process.

図9を参照して、まず、制御部18がチャンネル切り替え命令を受けてバッファ12内のすべてのTSパケットを削除した(ステップS21および図8のステップS53)後、受信部11から新たに出力されたTSパケットがバッファ12において蓄積されていく。次に、蓄積パケット検索部17は、制御部18からの受信処理再開命令を受けて(ステップS22および図8のステップS57)、バッファ12内のTSパケットのPIDを参照することにより、PATパケットのPIDと一致するTSパケットを検索する(ステップS23)。   Referring to FIG. 9, first, control unit 18 receives a channel switching command and deletes all TS packets in buffer 12 (step S21 and step S53 in FIG. 8), and then newly outputs from reception unit 11. The TS packets are accumulated in the buffer 12. Next, the accumulated packet search unit 17 receives a reception process restart command from the control unit 18 (step S22 and step S57 in FIG. 8), and refers to the PID of the TS packet in the buffer 12, thereby A TS packet that matches the PID is searched (step S23).

次に、蓄積パケット検索部17は、PATパケットのPIDと一致するTSパケットを取得し(ステップS24)、制御部18へ出力する(ステップS25)。   Next, the accumulated packet search unit 17 acquires a TS packet that matches the PID of the PAT packet (step S24), and outputs it to the control unit 18 (step S25).

次に、制御部18は、蓄積パケット検索部17から受けたTSパケットすなわちPATパケットを解析してPMTパケットのPIDを取得し(ステップS26)、PMTパケットのPIDを蓄積パケット検索部17に通知する(ステップS27)。   Next, the control unit 18 analyzes the TS packet, that is, the PAT packet received from the stored packet search unit 17 to acquire the PID of the PMT packet (step S26), and notifies the stored packet search unit 17 of the PID of the PMT packet. (Step S27).

次に、蓄積パケット検索部17は、制御部18から通知されたPMTパケットのPIDと一致するTSパケットを取得し(ステップS28)、制御部18へ出力する(ステップS29)。その後、蓄積パケット検索部17は、番組受信装置101が次のチャンネル切り替え命令を受けるまで、すなわち制御部18から受信処理再開命令を受けるまで待機する(ステップS34)。   Next, the accumulated packet search unit 17 acquires a TS packet that matches the PID of the PMT packet notified from the control unit 18 (step S28), and outputs the TS packet to the control unit 18 (step S29). Thereafter, the stored packet search unit 17 waits until the program receiving apparatus 101 receives the next channel switching command, that is, until it receives the receiving process restart command from the control unit 18 (step S34).

次に、制御部18は、蓄積パケット検索部17から受けたTSパケットすなわちPMTパケットについて、当該PMTパケットより前に蓄積されたバッファ12における各TSパケットを削除する。すなわち、制御部18は、チャンネル切り替え命令を受けてから最初のPMTパケットが受信されるまでの間に受信された各TSパケットを削除する(ステップS30)。   Next, the control unit 18 deletes each TS packet in the buffer 12 stored before the PMT packet, regarding the TS packet received from the stored packet search unit 17, that is, the PMT packet. That is, the control unit 18 deletes each TS packet received between the time when the channel switching command is received and the time when the first PMT packet is received (step S30).

次に、制御部18は、蓄積パケット検索部17から受けたTSパケットすなわちPMTパケットを解析して当該PMTパケットに対応する番組のビデオTSパケットのPIDおよびオーディオTSパケットのPIDを取得し(ステップS31)、ビデオTSパケットのPIDおよびオーディオTSパケットのPIDを逆多重部14に通知する(ステップS32)。   Next, the control unit 18 analyzes the TS packet, that is, the PMT packet received from the accumulated packet search unit 17, and obtains the PID of the video TS packet and the audio TS packet of the program corresponding to the PMT packet (step S31). ), The PID of the video TS packet and the PID of the audio TS packet are notified to the demultiplexing unit 14 (step S32).

次に、逆多重部14は、制御部18から新たに通知されたビデオTSパケットのPIDおよびオーディオTSパケットのPIDに基づいて、TSパケットの判別および振り分け処理を行なう(ステップS33)。   Next, the demultiplexing unit 14 performs TS packet discrimination and distribution processing based on the PID of the video TS packet and the audio TS packet newly notified from the control unit 18 (step S33).

なお、図9に示す動作手順は、チャンネル切り替え命令を受けてから最初にPMTを取得する場合に実行される。以降、次にチャンネルが切り替えられるまでの間は、図2に示す動作手順に従ってPMTを取得することができる。   The operation procedure shown in FIG. 9 is executed when the PMT is first acquired after receiving the channel switching command. Thereafter, the PMT can be acquired according to the operation procedure shown in FIG. 2 until the next channel is switched.

図10は、本発明の実施の形態に係る番組受信装置におけるチャンネル切り替えタイミングの一例を示す図である。   FIG. 10 is a diagram showing an example of channel switching timing in the program receiving apparatus according to the embodiment of the present invention.

図10を参照して、チャンネル切り替え命令を受けたタイミングt1以降において、最初に受信したPATaより前に受信したPMTaがバッファ12に存在する場合には、番組受信装置101は、PMTaを受信してからPATaを受信するまでの期間において受信したビデオTSパケットおよびオーディオTSパケットを番組再生に用いる。すなわち、PMTaより後の期間Taにおいて受信したTSパケットを番組再生に用いることができる。これにより、チャンネル切り替えに要する時間を短縮することができる。   Referring to FIG. 10, when PMTa received before PATa received first is present in buffer 12 after timing t1 when the channel switching command is received, program receiving apparatus 101 receives PMTa. The video TS packet and the audio TS packet received during the period from the reception to the PATa are used for program reproduction. That is, a TS packet received in a period Ta after PMTa can be used for program reproduction. Thereby, the time required for channel switching can be shortened.

そして、番組受信装置101は、チャンネル切り替え命令を受けてからPMTaを受信するまでの期間Tkにおいて受信したビデオTSパケットのPIDおよびオーディオTSパケットは番組再生に用いないことから、図3〜図5に示すような問題が生じることを防ぐことができる。   Since the program receiving apparatus 101 does not use the PID and audio TS packet of the video TS packet received during the period Tk from when the channel switching command is received until the PMTa is received, to the program playback, FIG. It is possible to prevent the problem as shown.

図11は、本発明の実施の形態に係る番組受信装置のバッファに蓄積されたTSパケットの一例を示す図である。図11において、VはビデオTSパケットであり、AはオーディオTSパケットであり、PATはPATパケットであり、PMTはPMTパケットである。また、横軸が時間を表しており、紙面左側ほど過去に受信されたTSパケットを示している。   FIG. 11 is a diagram showing an example of TS packets stored in the buffer of the program receiving apparatus according to the embodiment of the present invention. In FIG. 11, V is a video TS packet, A is an audio TS packet, PAT is a PAT packet, and PMT is a PMT packet. In addition, the horizontal axis represents time, and the left side of the drawing indicates TS packets received in the past.

図11を参照して、番組受信装置101は、チャンネル切り替え命令を受けたタイミングt1以降において、最初に受信したPATaより前のPMTaがバッファ12に存在することから、PMTaを受信してからPATaを受信するまでのP2で示す3つのTSパケット、およびPATaより後に受信したP1で示す1つのパケットを番組再生に用いる。   Referring to FIG. 11, program receiving apparatus 101 receives PMTa after receiving PMTa since PMTa before PATa received first is present in buffer 12 after timing t1 at which the channel switching command is received. Three TS packets indicated by P2 until reception and one packet indicated by P1 received after PATa are used for program reproduction.

そして、番組受信装置101は、PMTaより前に受信したP3で示す6つのパケットは番組再生に用いない。   The program receiving apparatus 101 does not use the six packets indicated by P3 received before PMTa for program reproduction.

図12は、本発明の実施の形態に係る番組受信装置におけるチャンネル切り替えタイミングの一例を示す図である。   FIG. 12 is a diagram showing an example of channel switching timing in the program receiving apparatus according to the embodiment of the present invention.

図12を参照して、チャンネル切り替え命令を受けたタイミングt1以降において、最初に受信したPATbより前のPMTがバッファ12に存在しない場合には、番組受信装置101は、PATbより後に受信したPMTbについて、PMTbより後の期間Tbにおいて受信したビデオTSパケットおよびオーディオTSパケットを番組再生に用いる。   Referring to FIG. 12, when the PMT before the first received PATb does not exist in the buffer 12 after the timing t <b> 1 when the channel switching command is received, the program receiving apparatus 101 determines the PMTb received after the PATb. , Video TS packets and audio TS packets received in a period Tb after PMTb are used for program reproduction.

そして、番組受信装置101は、チャンネル切り替え命令を受けてからPMTbを受信するまでの期間Tkにおいて受信したビデオTSパケットのPIDおよびオーディオTSパケットは番組再生に用いないことから、図3〜図5に示すような問題が生じることを防ぐことができる。   Since the program receiving apparatus 101 does not use the PID and audio TS packet of the video TS packet received during the period Tk from when the channel switching command is received until the PMTb is received, to the program reproduction, FIG. It is possible to prevent the problem as shown.

図13は、本発明の実施の形態に係る番組受信装置のバッファに蓄積されたTSパケットの一例を示す図である。図13の見方は図11と同様である。   FIG. 13 is a diagram showing an example of TS packets stored in the buffer of the program receiving apparatus according to the embodiment of the present invention. The view of FIG. 13 is the same as that of FIG.

図13を参照して、番組受信装置101は、チャンネル切り替え命令を受けたタイミングt1以降において、最初に受信したPATbより前のPMTがバッファ12に存在しないことから、PMTbより後に受信したP11で示す4つのTSパケットを番組再生に用いる。   Referring to FIG. 13, since the PMT before the first received PATb does not exist in the buffer 12 after the timing t1 when receiving the channel switching command, the program receiving apparatus 101 is indicated by P11 received after the PMTb. Four TS packets are used for program reproduction.

そして、番組受信装置101は、PMTbより前に受信したP12およびP13で示す5つのパケットは番組再生に用いない。   The program receiving apparatus 101 does not use the five packets indicated by P12 and P13 received before PMTb for program reproduction.

ところで、特許文献2に記載の技術では、チャンネル変更コマンド後の最も直近のシーケンス・ブロックを探索することから、PMTよりも後に受信されたシーケンスヘッダだけでなく、PMTよりも前に受信されたシーケンスヘッダを使用してしまう可能性がある。この場合、所望の番組とは異なった番組が再生されてしまう。   By the way, in the technique described in Patent Document 2, since the latest sequence block after the channel change command is searched, not only the sequence header received after the PMT but also the sequence received before the PMT. There is a possibility of using the header. In this case, a program different from the desired program is reproduced.

これに対して、本発明の実施の形態に係る番組受信装置では、受信部11は、TSパケットを受信する。バッファ12は、受信部11によって受信されたTSパケットを一時的に蓄積し、蓄積順に出力する。逆多重部14は、バッファ12から受けたTSパケットをPIDに基づいて判別し、出力する。蓄積パケット検索部17は、チャンネル切り替え命令を受けてから最初のPATパケットが受信されるまでの間に受信されたPMTパケットをバッファ12において検索する。そして、逆多重部14は、蓄積パケット検索部17によって検索されたPMTパケットに含まれるPIDに基づいて再生対象パケットを判別し、出力する。   On the other hand, in the program receiving apparatus according to the embodiment of the present invention, receiving unit 11 receives a TS packet. The buffer 12 temporarily accumulates TS packets received by the receiving unit 11 and outputs them in the order of accumulation. The demultiplexer 14 determines and outputs the TS packet received from the buffer 12 based on the PID. The accumulated packet search unit 17 searches the buffer 12 for PMT packets received during the period from when the channel switching command is received until the first PAT packet is received. Then, the demultiplexing unit 14 determines and outputs a reproduction target packet based on the PID included in the PMT packet searched by the stored packet searching unit 17.

このような構成により、チャンネル切り替え命令を受けてからPATパケットが受信されるまでの間に受信されたPMTパケットについて、当該PMTパケットより後に受信したTSパケットを番組再生に用いることができる。これにより、チャンネル切り替えに要する時間を短縮することができる。また、チャンネル切り替え命令を受けてから当該PMTパケットを受信するまでの期間において受信したビデオTSパケットおよびオーディオTSパケットは番組再生に用いないことから、チャンネル切り替えに伴って不適切な番組が再生されることを防ぐことができる。   With such a configuration, with respect to the PMT packet received from when the channel switching command is received until the PAT packet is received, the TS packet received after the PMT packet can be used for program reproduction. Thereby, the time required for channel switching can be shortened. In addition, since the video TS packet and audio TS packet received during the period from receiving the channel switching command to receiving the PMT packet are not used for program playback, an inappropriate program is played back when the channel is switched. Can be prevented.

また、本発明の実施の形態に係る番組受信装置では、逆多重部14は、蓄積パケット検索部17がPMTパケットを検索できなかった場合には、チャンネル切り替え命令を受けてから最初に受信されたPATパケットよりも後にバッファ12から受けたPMTパケットに含まれるPIDに基づいて、再生対象パケットを判別し、出力する。   Further, in the program receiving apparatus according to the embodiment of the present invention, the demultiplexing unit 14 is first received after receiving the channel switching command when the accumulated packet searching unit 17 cannot search the PMT packet. Based on the PID included in the PMT packet received from the buffer 12 after the PAT packet, the reproduction target packet is determined and output.

これにより、チャンネル切り替え命令を受けてからPATパケットが受信されるまでの間にPMTパケットが存在しない場合でも、チャンネル切り替えに伴って不適切な番組が再生されることを防ぐことができる。   As a result, it is possible to prevent an inappropriate program from being reproduced along with channel switching even when there is no PMT packet between the reception of the channel switching command and the reception of the PAT packet.

また、本発明の実施の形態に係る番組受信装置では、制御部18は、バッファ12に蓄積された各TSパケットのうち、PATパケットを除き、チャンネル切り替え命令を受けてから最初のPMTパケットが受信されるまでの間に受信された各TSパケットを削除する。   In the program receiving apparatus according to the embodiment of the present invention, the control unit 18 receives the first PMT packet after receiving the channel switching command, except for the PAT packet, among the TS packets stored in the buffer 12. Each TS packet received until it is deleted is deleted.

このような構成により、チャンネル切り替え命令を受けてからPATパケットが受信されるまでの間に受信されたPMTパケットについて、当該PMTパケットより前かつチャンネル切り替え命令を受けた後に受信したビデオTSパケットおよびオーディオTSパケットが誤って番組再生に用いられることを確実に防ぐことができる。   With such a configuration, for a PMT packet received from when a channel switching command is received until a PAT packet is received, the video TS packet and audio received before the PMT packet and after receiving the channel switching command. It is possible to reliably prevent the TS packet from being erroneously used for program reproduction.

また、本発明の実施の形態に係る番組受信装置では、逆多重部14は、チャンネル切り替え命令を受けると、蓄積パケット検索部17によって検索されたPMTパケットより後に受信された各TSパケットをバッファ12から受けるまで、再生対象パケットの判別および出力を停止する。   In the program receiving apparatus according to the embodiment of the present invention, when receiving the channel switching command, the demultiplexing unit 14 buffers each TS packet received after the PMT packet searched by the stored packet searching unit 17. Until receiving from, the discrimination and output of the reproduction target packet are stopped.

このような構成により、チャンネル切り替え命令を受けてからPATパケットが受信されるまでの間に受信されたPMTパケットについて、当該PMTパケットより前かつチャンネル切り替え命令を受けた後に受信したビデオTSパケットおよびオーディオTSパケットが誤って番組再生に用いられることを確実に防ぐことができる。   With such a configuration, for a PMT packet received from when a channel switching command is received until a PAT packet is received, the video TS packet and audio received before the PMT packet and after receiving the channel switching command. It is possible to reliably prevent the TS packet from being erroneously used for program reproduction.

また、本発明の実施の形態に係る番組受信装置では、制御部18は、チャンネル切り替え命令を受けて、バッファ12に蓄積された各TSパケットを削除する。   In the program receiving apparatus according to the embodiment of the present invention, the control unit 18 receives each channel switching command and deletes each TS packet stored in the buffer 12.

このような構成により、切り替え前のチャンネルに対応するTSパケットのうち、チャンネル切り替え命令を受けた時点でバッファ12に蓄積されているTSパケットを用いて再生等が行われることを確実に防ぐことができる。   With such a configuration, it is possible to reliably prevent reproduction or the like from being performed using the TS packets stored in the buffer 12 at the time of receiving the channel switching command among the TS packets corresponding to the channel before switching. it can.

また、本発明の実施の形態に係る番組受信装置では、蓄積パケット検索部17は、チャンネル切り替え命令を受けてから最初のPATパケットが受信されるまでの間に受信されたPMTパケットを、バッファ12において、過去に受信されたTSパケットから順番に検索する。   In the program receiving apparatus according to the embodiment of the present invention, the accumulated packet search unit 17 uses the buffer 12 to receive the PMT packet received during the period from when the channel switching command is received until the first PAT packet is received. , Search in order from the TS packets received in the past.

このように、過去に受信したTSパケットから順番に検索を行なう構成により、PMTパケットを早期に検索することができる。   As described above, the PMT packet can be searched early by the configuration in which the search is performed in order from the TS packets received in the past.

また、本発明の実施の形態に係る番組受信装置では、PATパケットおよびPMTパケットはそれぞれ所定の周期で繰り返し送信される。そして、バッファ12は、あるPATパケットが送信されてから次のPATパケットが送信されるまでの間に送信される各TSパケットを少なくとも蓄積可能である。   Moreover, in the program receiving apparatus according to the embodiment of the present invention, the PAT packet and the PMT packet are repeatedly transmitted at a predetermined period. The buffer 12 can store at least each TS packet transmitted from the time when a certain PAT packet is transmitted until the next PAT packet is transmitted.

このような構成により、バッファにおいてPATパケット間におけるPMTパケットを確実に検索することができる。   With such a configuration, it is possible to reliably search for PMT packets between PAT packets in the buffer.

また、本発明の実施の形態に係る番組受信装置では、TSフィルタ部13は、バッファ12からTSパケットを受けて逆多重部14へ出力するとともに、受けた各TSパケットの中からPATパケットを取得する。制御部18は、TSフィルタ部13によって取得されたPATパケットを解析し、PATパケットが示すPIDをTSフィルタ部13に通知する。TSフィルタ部13は、受けた各TSパケットの中から、制御部18から通知されたPIDに基づいてPMTパケットを取得する。制御部18は、TSフィルタ部13によって取得されたPMTパケットを解析し、PMTパケットが示すPIDを取得する。逆多重部14は、制御部18によって取得されたPMTパケットが示すPIDに基づいて、TSフィルタ部13から受けた各TSパケットの中から再生対象パケットを判別して出力する。制御部18は、チャンネル切り替え命令を受けてから最初のPATパケットが受信されるまでの間に受信されたPMTパケットが蓄積パケット検索部17によって検索された場合には、検索されたPMTパケットが示す再生対象パケットのPIDを逆多重部14に通知する。そして、逆多重部14は、制御部18から通知されたPIDに基づいて再生対象パケットを判別し、出力する。   In the program receiving apparatus according to the embodiment of the present invention, the TS filter unit 13 receives TS packets from the buffer 12 and outputs them to the demultiplexing unit 14, and obtains PAT packets from the received TS packets. To do. The control unit 18 analyzes the PAT packet acquired by the TS filter unit 13 and notifies the TS filter unit 13 of the PID indicated by the PAT packet. The TS filter unit 13 acquires a PMT packet based on the PID notified from the control unit 18 from the received TS packets. The control unit 18 analyzes the PMT packet acquired by the TS filter unit 13 and acquires the PID indicated by the PMT packet. Based on the PID indicated by the PMT packet acquired by the control unit 18, the demultiplexing unit 14 discriminates and outputs the reproduction target packet from among the TS packets received from the TS filter unit 13. When the PMT packet received from when the channel switching command is received until the first PAT packet is received is searched by the accumulated packet search unit 17, the control unit 18 indicates the searched PMT packet. The demultiplexing unit 14 is notified of the PID of the packet to be reproduced. Then, the demultiplexing unit 14 determines and outputs a reproduction target packet based on the PID notified from the control unit 18.

このような構成により、パケットの識別子を用いた通常のストリーム受信処理を行なう構成において、チャンネル切り替えに伴う不適切な番組の再生の防止を、簡易な構成および処理で実現することができる。   With such a configuration, in a configuration in which a normal stream reception process using a packet identifier is performed, it is possible to prevent reproduction of an inappropriate program accompanying channel switching with a simple configuration and process.

また、本発明の実施の形態に係る番組受信装置では、制御部18は、蓄積パケット検索部17がPMTパケットを検索できなかった場合には、チャンネル切り替え命令を受けてから最初に受信されたPATパケットよりも後に受信されたPMTパケットが示すPIDを逆多重部14に通知する。   Further, in the program receiving apparatus according to the embodiment of the present invention, when the accumulated packet search unit 17 cannot search for the PMT packet, the control unit 18 first receives the PAT received after receiving the channel switching command. The demultiplexing unit 14 is notified of the PID indicated by the PMT packet received after the packet.

このような構成により、パケットの識別子を用いた通常のストリーム受信処理を行なう構成において、チャンネル切り替え命令を受けてからPATパケットが受信されるまでの間にPMTパケットが存在しない場合でも、チャンネル切り替えに伴って不適切な番組が再生されることを、簡易な構成および処理で防ぐことができる。   With such a configuration, in a configuration in which normal stream reception processing using a packet identifier is performed, channel switching can be performed even when no PMT packet exists between receiving a channel switching command and receiving a PAT packet. Accordingly, it is possible to prevent an inappropriate program from being reproduced with a simple configuration and processing.

また、本発明の実施の形態に係る番組受信装置では、逆多重部14は、チャンネル切り替え命令を受けると、制御部18から新たにPIDが通知されるまで、再生対象パケットの判別および出力を停止する。   Further, in the program receiving apparatus according to the embodiment of the present invention, when the demultiplexing unit 14 receives the channel switching command, the demultiplexing unit 14 stops determining and outputting the reproduction target packet until a new PID is notified from the control unit 18. To do.

このような構成により、パケットの識別子を用いた通常のストリーム受信処理を行なう構成において、チャンネル切り替え命令を受けてからPATパケットが受信されるまでの間に受信されたPMTパケットについて、当該PMTパケットより前かつチャンネル切り替え命令を受けた後に受信したビデオTSパケットおよびオーディオTSパケットが誤って番組再生に用いられることを、簡易な構成および処理で確実に防ぐことができる。   With such a configuration, in a configuration in which normal stream reception processing using a packet identifier is performed, a PMT packet received between receiving a channel switching command and receiving a PAT packet is received from the PMT packet. It is possible to reliably prevent a video TS packet and an audio TS packet received before and after receiving a channel switching command from being erroneously used for program reproduction with a simple configuration and processing.

なお、本発明の実施の形態に係る番組受信装置では、チャンネル切り替え命令に伴う番組再生を適切に行なうためのストリーム受信処理を実行する構成であるとしたが、これに限定するものではない。チャンネル切り替え命令に限らず、チャンネルを選択するためのチャンネル選択指示であればよく、たとえば番組受信装置101の起動時におけるチャンネルの選択命令等についても、同様のストリーム受信処理を適用することが可能である。また、番組表から番組を選択することによって行われるチャンネル選択指示であってもよい。   The program receiving apparatus according to the embodiment of the present invention is configured to execute the stream receiving process for appropriately performing the program reproduction accompanying the channel switching command, but the present invention is not limited to this. A channel selection instruction for selecting a channel is not limited to a channel switching instruction. For example, a similar stream reception process can be applied to a channel selection instruction when the program receiving apparatus 101 is activated. is there. Moreover, the channel selection instruction | indication performed by selecting a program from a program schedule may be sufficient.

また、本発明の実施の形態に係る番組受信装置では、逆多重部14は、ビデオTSパケットおよびオーディオTSパケットを振り分ける構成であるとしたが、これに限定するものではない。映像および音声の一方を再生すればよい場合には、逆多重部14は、TSフィルタ部13から受けた各パケットの中から、ビデオTSパケットまたはオーディオTSパケットを判別して出力する構成であればよい。   In the program receiving apparatus according to the embodiment of the present invention, the demultiplexing unit 14 is configured to distribute the video TS packet and the audio TS packet. However, the present invention is not limited to this. If only one of video and audio is to be reproduced, the demultiplexing unit 14 determines a video TS packet or an audio TS packet from each packet received from the TS filter unit 13 and outputs it. Good.

また、本発明の実施の形態に係る番組受信装置では、ビデオTSパケットおよびオーディオTSパケットが再生対象パケットであるとしたが、これに限定するものではない。番組受信装置101は、映像および音声以外に、字幕およびデータ放送等を再生対象とする構成であってもよい。また、字幕およびデータ放送は、再生対象番組の内容とは関係の無いものであってもよい。   In the program receiving apparatus according to the embodiment of the present invention, the video TS packet and the audio TS packet are the reproduction target packets, but the present invention is not limited to this. The program receiving apparatus 101 may be configured to reproduce subtitles, data broadcasts, and the like in addition to video and audio. The subtitles and the data broadcast may be unrelated to the content of the reproduction target program.

また、本発明の実施の形態に係る番組受信装置では、逆多重部14は、TSフィルタ部13を介してバッファ12から受けた各TSパケットの中から再生対象パケットを判別し、出力する構成であるとしたが、これに限定するものではない。逆多重部14は、再生対象パケットを判別する構成であればよく、再生対象パケット以外のパケットを廃棄する構成であってもよいし、廃棄しない構成であってもよい。   Further, in the program receiving apparatus according to the embodiment of the present invention, the demultiplexing unit 14 determines the playback target packet from the TS packets received from the buffer 12 via the TS filter unit 13 and outputs the packet. Although there is, it is not limited to this. The demultiplexing unit 14 may be configured to discriminate the reproduction target packet, and may be configured to discard packets other than the reproduction target packet or may not be discarded.

また、本発明の実施の形態に係る番組受信装置では、TSフィルタ部13および逆多重部14が別個に設けられる構成であるとしたが、TSフィルタ部13および逆多重部14は、共通のハードウェア回路で実現される等、共通に設けられてもよい。   In the program receiving apparatus according to the embodiment of the present invention, the TS filter unit 13 and the demultiplexing unit 14 are separately provided. However, the TS filter unit 13 and the demultiplexing unit 14 have a common hardware configuration. It may be provided in common such as realized by a wear circuit.

また、本発明の実施の形態に係る番組受信装置は、MPEG2―TS規格に従うストリームの受信処理を行なう構成であるとしたが、これに限定するものではない。他の規格に従うストリームの受信処理を行なう構成であってもよい。   In addition, the program receiving apparatus according to the embodiment of the present invention is configured to perform stream receiving processing according to the MPEG2-TS standard, but the present invention is not limited to this. It may be configured to perform stream reception processing according to another standard.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

11 受信部
12 バッファ
13 TSフィルタ部(パケット判別部)
14 逆多重部(パケット判別部)
15 ビデオデコーダ
16 オーディオデコーダ
17 蓄積パケット検索部
18 制御部(識別情報取得部および蓄積パケット廃棄部)
101 番組受信装置
11 Receiver 12 Buffer 13 TS Filter (Packet Discrimination Unit)
14 Inverse multiplexing part (packet discrimination part)
15 Video decoder 16 Audio decoder 17 Stored packet search unit 18 Control unit (identification information acquisition unit and stored packet discard unit)
101 Program receiving device

Claims (12)

1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理するための番組受信装置であって、
前記複数のパケットは、再生対象パケット、前記番組に対応して生成され、対応の前記番組の前記再生対象パケットの識別子を含む番組マップパケット、および1または複数の前記番組マップパケットの識別子を含む番組関連パケットを含み、
前記パケットを受信するための受信部と、
前記受信部によって受信された前記パケットを一時的に蓄積し、蓄積順に出力するためのバッファと、
前記バッファから受けた前記パケットを前記識別子に基づいて判別するためのパケット判別部と、
指定された前記識別子が示す前記パケットを前記バッファにおいて検索するための蓄積パケット検索部とを備え、
前記蓄積パケット検索部は、チャンネル選択指示を受けてから最初の前記番組関連パケットが受信されるまでの間に受信された前記番組マップパケットを検索し、
前記パケット判別部は、前記蓄積パケット検索部によって検索された前記番組マップパケットに含まれる前記識別子に基づいて前記再生対象パケットを判別する、番組受信装置。
A program receiving apparatus for receiving and processing a stream obtained by dividing information of one or more programs into a plurality of packets,
The plurality of packets are a reproduction target packet, a program map packet generated corresponding to the program and including an identifier of the reproduction target packet of the corresponding program, and a program including an identifier of one or more program map packets Including related packets,
A receiving unit for receiving the packet;
A buffer for temporarily storing the packets received by the receiving unit and outputting them in the order of storage;
A packet determining unit for determining the packet received from the buffer based on the identifier;
An accumulated packet search unit for searching in the buffer for the packet indicated by the specified identifier,
The stored packet search unit searches for the program map packet received between receiving a channel selection instruction and receiving the first program-related packet,
The program receiving device, wherein the packet discriminating unit discriminates the reproduction target packet based on the identifier included in the program map packet searched by the stored packet searching unit.
前記パケット判別部は、前記蓄積パケット検索部が前記番組マップパケットを検索できなかった場合には、前記チャンネル選択指示を受けてから最初に受信された前記番組関連パケットよりも後に前記バッファから受けた前記番組マップパケットに含まれる前記識別子に基づいて前記再生対象パケットを判別する、請求項1に記載の番組受信装置。   The packet discriminating unit received from the buffer later than the program-related packet received first after receiving the channel selection instruction when the accumulated packet searching unit could not search the program map packet. The program receiving apparatus according to claim 1, wherein the reproduction target packet is determined based on the identifier included in the program map packet. 前記番組受信装置は、さらに、
前記バッファに蓄積された前記パケットのうち、前記番組関連パケットを除き、前記チャンネル選択指示を受けてから最初の前記番組マップパケットが受信されるまでの間に受信された前記パケットを削除するための蓄積パケット廃棄部を備える、請求項1または請求項2に記載の番組受信装置。
The program receiving device further includes:
The packet stored in the buffer, except for the program-related packet, is for deleting the packet received from when the channel selection instruction is received until the first program map packet is received. The program receiving apparatus according to claim 1, further comprising a stored packet discard unit.
前記パケット判別部は、前記チャンネル選択指示を受けると、前記蓄積パケット検索部によって検索された前記番組マップパケットより後に受信された前記パケットを前記バッファから受けるまで、前記再生対象パケットの判別を停止する、請求項1から請求項3のいずれか1項に記載の番組受信装置。   When receiving the channel selection instruction, the packet determination unit stops determining the reproduction target packet until the packet received after the program map packet searched by the stored packet search unit is received from the buffer. The program receiving device according to any one of claims 1 to 3. 前記番組受信装置は、さらに、
前記チャンネル選択指示を受けて、前記バッファに蓄積された前記パケットを削除するための蓄積パケット廃棄部を備える、請求項1から請求項4のいずれか1項に記載の番組受信装置。
The program receiving device further includes:
5. The program receiving device according to claim 1, further comprising: a stored packet discard unit that receives the channel selection instruction and deletes the packet stored in the buffer. 6.
前記蓄積パケット検索部は、前記チャンネル選択指示を受けてから最初の前記番組関連パケットが受信されるまでの間に受信された前記番組マップパケットを、前記バッファにおいて、過去に受信された前記パケットから順番に検索する、請求項1から請求項5のいずれか1項に記載の番組受信装置。   The stored packet search unit receives the program map packet received from when the channel selection instruction is received until the first program-related packet is received from the packet received in the past in the buffer. The program receiving device according to any one of claims 1 to 5, wherein the program is searched in order. 前記番組関連パケットおよび前記番組マップパケットはそれぞれ所定の周期で繰り返し送信され、
前記バッファは、ある前記番組関連パケットが送信されてから次の前記番組関連パケットが送信されるまでの間に送信される前記パケットを少なくとも蓄積可能である、請求項1から請求項6のいずれか1項に記載の番組受信装置。
The program-related packet and the program map packet are each repeatedly transmitted at a predetermined cycle,
7. The buffer according to claim 1, wherein the buffer is capable of storing at least the packet transmitted between the time when the program-related packet is transmitted and the time when the next program-related packet is transmitted. The program receiving apparatus according to item 1.
前記パケット判別部は、前記バッファから受けた前記パケットの中から前記番組関連パケットを取得し、
前記番組受信装置は、さらに、
前記パケット判別部によって取得された前記番組関連パケットを解析し、前記番組関連パケットが示す前記識別子を前記パケット判別部に通知するための識別情報取得部を備え、
前記パケット判別部は、受けた前記パケットの中から、前記識別情報取得部から通知された前記識別子に基づいて前記番組マップパケットを取得し、
前記識別情報取得部は、前記パケット判別部によって取得された前記番組マップパケットを解析し、前記番組マップパケットが示す前記識別子を取得し、
前記パケット判別部は、前記識別情報取得部によって取得された前記番組マップパケットが示す前記識別子に基づいて、前記バッファから受けた前記パケットの中から前記再生対象パケットを判別し、
前記識別情報取得部は、前記チャンネル選択指示を受けてから最初の前記番組関連パケットが受信されるまでの間に受信された前記番組マップパケットが前記蓄積パケット検索部によって検索された場合には、検索された前記番組マップパケットが示す前記再生対象パケットの識別子を前記パケット判別部に通知し、
前記パケット判別部は、前記識別情報取得部から通知された前記識別子に基づいて前記再生対象パケットを判別する、請求項1から請求項7のいずれか1項に記載の番組受信装置。
The packet discrimination unit acquires the program-related packet from the packets received from the buffer,
The program receiving device further includes:
An identification information acquisition unit for analyzing the program related packet acquired by the packet determination unit and notifying the packet determination unit of the identifier indicated by the program related packet;
The packet determination unit acquires the program map packet based on the identifier notified from the identification information acquisition unit from the received packet,
The identification information acquisition unit analyzes the program map packet acquired by the packet determination unit, acquires the identifier indicated by the program map packet,
The packet determination unit determines the reproduction target packet from the packets received from the buffer based on the identifier indicated by the program map packet acquired by the identification information acquisition unit,
The identification information acquisition unit, when the program map packet received from when the channel selection instruction is received until the first program-related packet is received is searched by the accumulated packet search unit, Notifying the packet discriminator of the identifier of the packet to be reproduced indicated by the searched program map packet;
The program receiving device according to claim 1, wherein the packet determining unit determines the reproduction target packet based on the identifier notified from the identification information acquiring unit.
前記識別情報取得部は、前記蓄積パケット検索部が前記番組マップパケットを検索できなかった場合には、前記チャンネル選択指示を受けてから最初に受信された前記番組関連パケットよりも後に受信された前記番組マップパケットが示す前記識別子を前記パケット判別部に通知する、請求項8に記載の番組受信装置。   The identification information acquisition unit, when the storage packet search unit cannot search the program map packet, received after the program-related packet received first after receiving the channel selection instruction The program receiving apparatus according to claim 8, wherein the identifier indicated by the program map packet is notified to the packet determination unit. 前記パケット判別部は、前記チャンネル選択指示を受けると、前記識別情報取得部から新たに前記識別子が通知されるまで、前記再生対象パケットの判別を停止する、請求項8または請求項9に記載の番組受信装置。   The said packet discrimination | determination part stops the discrimination | determination of the said reproduction | regeneration object packet, until the said identifier is newly notified from the said identification information acquisition part, if the said channel selection instruction | indication is received. Program receiving device. 1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理する番組受信方法であって、
前記複数のパケットは、前記番組の内容を示す再生対象パケット、前記番組に対応して生成され、対応の前記番組の前記再生対象パケットの識別子を含む番組マップパケット、および1または複数の前記番組マップパケットの識別子を含む番組関連パケットを含み、
前記パケットを受信するステップと、
受信した前記パケットを一時的に蓄積し、蓄積順に出力するステップと、
指定された前記識別子が示す前記パケットを、蓄積中の前記パケットの中から検索するステップと、
蓄積順に出力した前記パケットを前記識別子に基づいて判別するステップとを含み、
前記パケットを検索するステップにおいては、チャンネル選択指示を受けてから最初の前記番組関連パケットが受信されるまでの間に受信された前記番組マップパケットを検索し、
前記パケットを判別するステップにおいては、検索した前記番組マップパケットに含まれる前記識別子に基づいて前記再生対象パケットを判別する、番組受信方法。
A program receiving method for receiving and processing a stream obtained by dividing information of one or a plurality of programs into a plurality of packets,
The plurality of packets are a reproduction target packet indicating the content of the program, a program map packet generated corresponding to the program and including an identifier of the reproduction target packet of the corresponding program, and one or a plurality of the program maps Including a program-related packet including the identifier of the packet;
Receiving the packet;
Temporarily storing the received packets and outputting them in the order of storage;
Retrieving the packet indicated by the specified identifier from the packets being stored;
Determining the packets output in the order of accumulation based on the identifiers;
In the step of searching for the packet, the program map packet received from when a channel selection instruction is received until the first program-related packet is received is searched,
The program receiving method, wherein in the step of discriminating the packet, the reproduction target packet is discriminated based on the identifier included in the searched program map packet.
1または複数の番組の情報を複数のパケットに分割したストリームを受信して処理する番組受信プログラムであって、
前記複数のパケットは、前記番組の内容を示す再生対象パケット、前記番組に対応して生成され、対応の前記番組の前記再生対象パケットの識別子を含む番組マップパケット、および1または複数の前記番組マップパケットの識別子を含む番組関連パケットを含み、
コンピュータに、
前記パケットを受信するステップと、
受信した前記パケットを一時的に蓄積し、蓄積順に出力するステップと、
指定された前記識別子が示す前記パケットを、蓄積中の前記パケットの中から検索するステップと、
蓄積順に出力した前記パケットを前記識別子に基づいて判別するステップとを実行させるためのプログラムであり、
前記パケットを検索するステップにおいては、チャンネル選択指示を受けてから最初の前記番組関連パケットが受信されるまでの間に受信された前記番組マップパケットを検索し、
前記パケットを判別するステップにおいては、検索した前記番組マップパケットに含まれる前記識別子に基づいて前記再生対象パケットを判別する、番組受信プログラム。
A program receiving program for receiving and processing a stream obtained by dividing information of one or more programs into a plurality of packets,
The plurality of packets are a reproduction target packet indicating the content of the program, a program map packet generated corresponding to the program and including an identifier of the reproduction target packet of the corresponding program, and one or a plurality of the program maps Including a program-related packet including the identifier of the packet;
On the computer,
Receiving the packet;
Temporarily storing the received packets and outputting them in the order of storage;
Retrieving the packet indicated by the specified identifier from the packets being stored;
And a step for determining the packets output in the order of accumulation based on the identifiers,
In the step of searching for the packet, the program map packet received from when a channel selection instruction is received until the first program-related packet is received is searched,
In the step of determining the packet, a program receiving program for determining the reproduction target packet based on the identifier included in the searched program map packet.
JP2011052487A 2011-03-10 2011-03-10 Program receiver, program reception method, and program reception program Pending JP2012191384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011052487A JP2012191384A (en) 2011-03-10 2011-03-10 Program receiver, program reception method, and program reception program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011052487A JP2012191384A (en) 2011-03-10 2011-03-10 Program receiver, program reception method, and program reception program

Publications (1)

Publication Number Publication Date
JP2012191384A true JP2012191384A (en) 2012-10-04

Family

ID=47084077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011052487A Pending JP2012191384A (en) 2011-03-10 2011-03-10 Program receiver, program reception method, and program reception program

Country Status (1)

Country Link
JP (1) JP2012191384A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10271464A (en) * 1997-03-25 1998-10-09 Victor Co Of Japan Ltd Digital broadcast receiver
JP2003110954A (en) * 2001-09-26 2003-04-11 Toshiba Corp Digital broadcast receiver and service id switching method
JP2003250134A (en) * 2001-12-19 2003-09-05 Matsushita Electric Ind Co Ltd Digital broadcast receiver, method and program
US20050172314A1 (en) * 2002-04-08 2005-08-04 Krakora Robert V. Apparatus and method for data caching to reduce channel change delay
JP2006262483A (en) * 2005-03-16 2006-09-28 Samsung Electronics Co Ltd Device and method for controlling switchover of brodcasting channel in digital multimedia broadcasting receiver
US20080120671A1 (en) * 2006-11-16 2008-05-22 Jaecheol Sim Method and system for speeding up channel change in internet protocol television service and digital broadcasting environment
JP2008289077A (en) * 2007-05-21 2008-11-27 Sony Corp Reception apparatus and method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10271464A (en) * 1997-03-25 1998-10-09 Victor Co Of Japan Ltd Digital broadcast receiver
JP2003110954A (en) * 2001-09-26 2003-04-11 Toshiba Corp Digital broadcast receiver and service id switching method
JP2003250134A (en) * 2001-12-19 2003-09-05 Matsushita Electric Ind Co Ltd Digital broadcast receiver, method and program
US20050172314A1 (en) * 2002-04-08 2005-08-04 Krakora Robert V. Apparatus and method for data caching to reduce channel change delay
JP2006262483A (en) * 2005-03-16 2006-09-28 Samsung Electronics Co Ltd Device and method for controlling switchover of brodcasting channel in digital multimedia broadcasting receiver
US20080120671A1 (en) * 2006-11-16 2008-05-22 Jaecheol Sim Method and system for speeding up channel change in internet protocol television service and digital broadcasting environment
JP2008289077A (en) * 2007-05-21 2008-11-27 Sony Corp Reception apparatus and method, and program

Similar Documents

Publication Publication Date Title
AU2011200246B2 (en) Method and apparatus for receiving, storing, and presenting multimedia programming without indexing prior to storage
US8045843B2 (en) Method for recording a digital broadcast program and time-based playback of a recorded broadcast program and apparatus therefor
KR20070080982A (en) Apparatus and method for tricking playing of a digital broadcasting stream
US20150071608A1 (en) Receiving device, transmitting device and transmitting/receiving system
KR101731829B1 (en) Device and method for processing digital contents in digital video receiver
JP2002077820A (en) Accumulating/reproducing device and digital broadcast transmitting device
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
JP5063944B2 (en) Digital broadcast receiver with recording function
JP2010258489A (en) Video display device, reception device, transmission and reception system, and video display method
JP2012191384A (en) Program receiver, program reception method, and program reception program
US20030091331A1 (en) Method for implementing low-speed playback of a digital broadcast program
JP5476179B2 (en) Tuner switching device, tuner switching system, and method for controlling tuner switching device
US11157556B2 (en) Method and apparatus for thumbnail generation for a video device
KR100323707B1 (en) method for store and check of A/V and data stream in digital broadcasting
JP5350037B2 (en) Display control apparatus, control method thereof, and program
JP5100852B2 (en) Digital signal recording / reproducing apparatus and method, digital signal reproducing apparatus and method
JP2005130262A (en) Image browsing device and method

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20140123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140917

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140924

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150210