JP2009194851A - Image recording and reproducing apparatus - Google Patents
Image recording and reproducing apparatus Download PDFInfo
- Publication number
- JP2009194851A JP2009194851A JP2008036279A JP2008036279A JP2009194851A JP 2009194851 A JP2009194851 A JP 2009194851A JP 2008036279 A JP2008036279 A JP 2008036279A JP 2008036279 A JP2008036279 A JP 2008036279A JP 2009194851 A JP2009194851 A JP 2009194851A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- file
- playback
- buffer
- recorded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、デジタル放送の内容を録画し、必要に応じて再生可能な録画再生装置における制御技術に関するものである。 The present invention relates to a control technique in a recording / playback apparatus capable of recording the contents of a digital broadcast and playing it back as necessary.
デジタル放送の番組を受信し録画する録画再生装置(一般的にレコーダと呼ばれている)では、デジタル放送であるMPEG−TS(Motion Picture Experts Group - Transport Stream)を圧縮したままの状態で録画したり、録画したファイルを再生したりすることができる。また、そのような録画再生装置に搭載される機能として、録画しながら再生することができる機能(「追っかけ再生」と称する)が知られている(例えば特許文献1参照)。この機能によれば、現在録画中の番組を、録画終了まで待つことなく、番組の最初から再生しつつ録画を続けることができる。もちろん、再生を途中で止め、また後で続きを見ることも可能とされる。 Recording and playback devices (generally called recorders) that receive and record digital broadcast programs record digital broadcast MPEG-TS (Motion Picture Experts Group-Transport Stream) in a compressed state. Or play back recorded files. Further, as a function installed in such a recording / playback apparatus, a function capable of playing back while recording (referred to as “chase playback”) is known (see, for example, Patent Document 1). According to this function, it is possible to continue the recording while reproducing the program being recorded from the beginning of the program without waiting for the end of the recording. Of course, it is possible to stop the playback halfway and watch the continuation later.
上記のように従来の録画再生装置に搭載される追っかけ再生機能によれば、現在録画中の番組を、録画終了まで待つことなく、番組の最初から再生しつつ録画を続けることができるし、再生を途中で止め、また後で続きを見ることができる。 As described above, according to the chasing playback function installed in the conventional recording / playback apparatus, it is possible to continue recording while playing from the beginning of the program without waiting until the end of recording the program being recorded. Can be stopped halfway and you can see more later.
しかしながら、従来の録画再生装置に搭載される追っかけ再生機能によれば、追っかけ再生の開始位置が、録画ファイルの先頭や、デジタル放送視聴一時停止時点に限られており、追っかけ再生の開始位置を、利用者が任意に設定することができない。また、そのような技術については、上記特許文献1にも記載されていない。
However, according to the chasing playback function installed in the conventional recording / playback apparatus, the start position of chasing playback is limited to the beginning of the recording file and the digital broadcast viewing pause time, and the start position of chasing playback is The user cannot set it arbitrarily. Further, such a technique is not described in
本発明の目的は、追っかけ再生の開始位置を任意に設定可能とする技術を提供することにある。 An object of the present invention is to provide a technique that can arbitrarily set the start position of chasing playback.
本発明の前記並びにその他の目的と新規な特徴は本明細書の記述及び添付図面から明らかになるであろう。 The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
本願において開示される発明のうち代表的なものについて簡単に説明すれば下記のとおりである。 A representative one of the inventions disclosed in the present application will be briefly described as follows.
すなわち、デジタル放送を録画するための録画ファイルに対応して、タイムサーチ情報の管理を可能とするタイムサーチ管理ファイルを記憶可能な記録部と、上記タイムサーチ情報の任意位置に追っかけ再生の開始位置の設定を可能とする操作部と、上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生を制御する制御部とを含んで録画再生装置を構成する。上記制御部の制御により、上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生を可能とする。 That is, a recording unit capable of storing a time search management file that enables management of time search information corresponding to a recording file for recording a digital broadcast, and a start position of chasing playback at an arbitrary position of the time search information And a control unit that controls chasing playback from the start position of chasing playback set at an arbitrary position of the time search information. By the control of the control unit, it is possible to perform chasing playback from the start position of chasing playback set at an arbitrary position of the time search information.
本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。 The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.
すなわち、追っかけ再生の開始位置を任意に設定することができる。 That is, the start position of chasing playback can be arbitrarily set.
1.代表的な実施の形態
先ず、本願において開示される発明の代表的な実施の形態について概要を説明する。代表的な実施の形態についての概要説明で括弧を付して参照する図面の参照符号はそれが付された構成要素の概念に含まれるものを例示するに過ぎない。
1. Representative Embodiment First, an outline of a typical embodiment of the invention disclosed in the present application will be described. The reference numerals of the drawings referred to with parentheses in the outline description of the representative embodiments merely exemplify what are included in the concept of the components to which the reference numerals are attached.
〔1〕本発明の代表的な実施の形態に係る録画再生装置(100)は、上記デジタル放送を録画するための録画ファイルに対応して、タイムサーチ情報の管理を可能とするタイムサーチ管理ファイルを記憶可能な記録部(107)と、上記タイムサーチ情報の任意位置に追っかけ再生の開始位置の設定を可能とする操作部(102)と、上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生を制御する制御部(101)とを含む。 [1] A recording / playback apparatus (100) according to a typical embodiment of the present invention can manage time search information corresponding to a recording file for recording the digital broadcast. , A recording unit (107) that can store the time search information, an operation unit (102) that enables setting the start position of chasing playback at an arbitrary position of the time search information, and chasing playback set at an arbitrary position of the time search information And a control unit (101) for controlling the chasing playback from the start position.
上記の構成によれば、上記制御部の制御により、上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生を行うことができる。 According to the above configuration, chasing playback from the chasing playback start position set at an arbitrary position of the time search information can be performed under the control of the control unit.
〔2〕上記デジタル放送から録画ファイルが形成される際、指定されたパケット数毎に、上記録画ファイルにデータが追加記録されるように構成することができる。 [2] When a recording file is formed from the digital broadcast, data can be additionally recorded in the recording file for each designated number of packets.
〔3〕受信されたデジタル放送を一時保存するTSバッファ(201)と、上記TSバッファに、上記追っかけ再生開始位置に対応するデータが存在するか否かを判断する第1機能(101)と、を含み、上記TSバッファに、上記追っかけ再生開始位置に対応するデータが存在する場合に、上記TSバッファ内に上記読み出し位置が設定されるように構成することができる。 [3] A TS buffer (201) for temporarily storing the received digital broadcast, a first function (101) for determining whether data corresponding to the chasing playback start position exists in the TS buffer, When the data corresponding to the chasing playback start position exists in the TS buffer, the read position can be set in the TS buffer.
〔4〕受信されたデジタル放送を復号するための復号部で正常に復号できたかどうかを判断する第2機能(101)を含み、正常に復号できた位置が上記タイムサーチ情報として保存されるように構成することができる。 [4] Including a second function (101) for determining whether or not the decoding unit for decoding the received digital broadcast has been normally decoded, and the position where the decoding has been normally performed is stored as the time search information. Can be configured.
〔5〕上記受信されたデジタル放送を一時保存するTSバッファ(201)を設けることができる。その場合において、上記制御部(101)は、上記デジタル放送録画開始のための録画開始処理機能と、上記デジタル放送の録画中処理のための録画中処理機能と、上記デジタル放送の録画終了のための録画終了処理機能と、上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生のための追っかけ再生処理機能とを含んで構成することができる。 [5] A TS buffer (201) for temporarily storing the received digital broadcast can be provided. In this case, the control unit (101) is configured to start a recording start processing function for starting the digital broadcast recording, a recording processing function for the digital broadcasting recording process, and an end of the recording of the digital broadcast. And a chasing playback processing function for chasing playback from the chasing playback start position set at an arbitrary position in the time search information.
〔6〕上記録画開始処理機能による処理には、表示画像を構成するためのIDR情報を検索する第1処理(502)と、上記IDR情報が存在する場合に、そのIDR情報の中からIDR画像の位置情報を抽出し、その読み出し位置を設定する第2処理(504)と、上記第2処理の後に、上記録画ファイルと、上記タイムサーチ管理ファイルをオープンする第3処理(505)とを含めることができる。 [6] The processing by the recording start processing function includes a first process (502) for searching for IDR information for constituting a display image, and, if the IDR information exists, an IDR image from the IDR information. And a second process (504) for setting the read position, and a third process (505) for opening the recording file and the time search management file after the second process. be able to.
〔7〕上記録画中処理機能による処理には、デジタル放送であるTSパケットを受信し、それを上記TSバッファに記録する第4処理(604,605)と、次のTSパケットの受信に備えて、上記TSバッファにおけるTSパケット書き込み位置を更新する第5処理(606)と、上記TSパケットのデータ内容を解析し、IDR画像であるかどうかを判断する第6処理(607)とを含めることができる。さらに、上記録画中処理機能による処理には、取得したTSパケットのデータがIDR画像であった場合は、IDR情報を保存する第7処理(608)と、録画ファイルに記録する前に、記録すべきTSパケットのパケット数が、指定したパケット数に到達したかどうかを判断する第8処理(609)と、記録すべきTSパケットのパケット数が、指定したパケット数に到達した場合に、上記TSパケットを録画ファイルに記録する第9処理(610)と、次の録画ファイルへの書き込みに備えて、上記TSバッファの読み出し位置を更新する第10処理(611)とを含めることができる。そして、上記録画中処理機能による処理には、録画中の録画ファイルにおいて、記録済みTSパケットについて、録画中の録画ファイルの仮終端を更新し、再生系への録画ファイル仮終端更新通知が許可されているかどうかを判断する第11処理(613)と、を含めることができる。 [7] For the processing by the processing function during recording, a TS packet that is a digital broadcast is received and recorded in the TS buffer (604, 605), and in preparation for the reception of the next TS packet. , Including a fifth process (606) for updating the TS packet writing position in the TS buffer and a sixth process (607) for analyzing the data content of the TS packet and determining whether the TS packet is an IDR image. it can. Furthermore, in the processing by the processing function during recording, when the data of the acquired TS packet is an IDR image, the seventh processing (608) for saving IDR information and recording before recording in the recording file are performed. The eighth process (609) for determining whether the number of TS packets to be reached has reached the designated number of packets, and when the number of TS packets to be recorded has reached the designated number of packets, the TS A ninth process (610) for recording the packet in the recording file and a tenth process (611) for updating the reading position of the TS buffer in preparation for writing to the next recording file can be included. For the processing by the processing function during recording, the provisional end of the recording file being recorded is updated for the recorded TS packet in the recording file being recorded, and notification of the provisional end update of the recording file to the playback system is permitted. And an eleventh process (613) for determining whether or not it is present.
〔8〕上記録画終了処理機能による処理には、録画中の録画ファイルに、記録すべきTSパケットを記録する第12処理(702)と、記録完了した録画ファイルの終端を更新し、保存されているIDR情報を、タイムサーチポイントとしてタイムサーチ管理ファイルに記録する第13処理(704)と、録画ファイルのクローズと、タイムサーチ管理ファイルのクローズを行う第14処理(705,706)とを含めることができる。 [8] In the processing by the recording end processing function, the twelfth processing (702) for recording the TS packet to be recorded in the recording file being recorded and the end of the recording file that has been recorded are updated and stored. Including a thirteenth process (704) for recording existing IDR information as a time search point in the time search management file, a fourteenth process (705, 706) for closing the recording file, and closing the time search management file. Can do.
〔9〕上記追っかけ再生処理機能による処理には、追っかけ再生を開始する位置を、録画中の録画ファイルの先頭に設定し、シーク位置を検索する第15処理(902,903)と、追っかけ再生の開始が指示されたかどうかを判断し、追っかけ再生の開始が指示された場合に追っかけ再生を開始する第16処理(910)とを含めることができる。 [9] The processing by the chasing playback processing function includes the fifteenth processing (902, 903) for setting the position to start chasing playback at the beginning of the recording file being recorded and searching for the seek position, and the chasing playback. It is possible to include a sixteenth process (910) for determining whether or not start is instructed and starting chasing playback when instructed to start chasing playback.
〔10〕上記第15処理には、指定されたシーク位置が上記TSバッファ内に存在するかどうかを判断し、該当シーク位置が、上記TSバッファ内に無かった場合は、録画中の録画ファイル内に読み出し位置を設定し、該当シーク位置が、上記TSバッファ内に存在した場合は、上記TSバッファ内に読み出し位置を設定する第17処理(1105,1106,1107)を含めることができる。 [10] In the fifteenth process, it is determined whether or not the specified seek position exists in the TS buffer. If the corresponding seek position is not in the TS buffer, the recorded file being recorded is recorded. When the read position is set in the TS buffer and the corresponding seek position exists in the TS buffer, a 17th process (1105, 1106, 1107) for setting the read position in the TS buffer can be included.
〔11〕上記制御部は、所定のプログラムを実行するマイクロコンピュータによって形成され、上記制御部における上記各処理機能は、上記プログラムの実行によって実現することができる。 [11] The control unit is formed by a microcomputer that executes a predetermined program, and the processing functions in the control unit can be realized by executing the program.
2.実施の形態の説明
次に、実施の形態について更に詳述する。
2. Next, the embodiment will be described in more detail.
<実施の形態1>
以下では、デジタル放送を受信録画し、再生を行う録画再生装置の例として、デジタル放送受信機能付き携帯端末について説明する。ここでの携帯端末は、ユーザが保持する形態のものだけに限られず、例えば自動車に搭載する車載用途の携帯端末なども含むものである。
<
In the following, a mobile terminal with a digital broadcast receiving function will be described as an example of a recording / playback apparatus that receives and records digital broadcasts and plays back. Here, the portable terminal is not limited to the one held by the user, but includes, for example, a portable terminal for in-vehicle use installed in an automobile.
図1には、本発明の実施の形態1にかかるデジタル放送受信機能付き携帯端末100(以下「携帯端末100」と省略して記載する場合がある)の内部構成が示される。図1に示されるデジタル放送受信機能付き携帯端末100は、特に制限されないが、制御部101、操作部102、選局部103、放送用受信アンテナ104、無線通信部105、通信用送受信アンテナ106、記憶部107、録画ファイル記録部108、映像復号部109、表示部110、音声出力部112、及び内部タイマ113を含んで成る。
FIG. 1 shows an internal configuration of a
制御部101は、CPU(Central Processing Unit)等を含むマイクロコンピュータにより構成され、所定のプログラムが上記CPUで実行されることによって、携帯端末100全体の制御が可能とされる。特に、本発明における各種処理機能は、上記CPUにおいて所定のプログラムが実行されることによって実現される。
The
操作部102は、番号キーやファンクションキーを含む複数のキー等から構成され、ユーザ(視聴者)からの指示を与えることができる。
The
選局部103は、放送用受信アンテナ104を介して受信されたデジタル放送を選局するためのチューナであり、受信されたデジタル放送の信号を復調し、デジタルデータを出力する。無線通信部105は、通信用送受信アンテナ106を介して、CDMA(Code Division Multiple Access)等の無線通信を行うモデムである。
The
記憶部107は、制御部101の動作プログラムや、その他の各種情報を保存することができる。録画ファイル記録部108は、受信されたデジタル放送番組が録画保存に用いられる。尚、記憶部107と録画ファイル記録部108は、それぞれ別のRAM(Random Access Memory)等のメモリであっても良いし、1つのメモリの記憶領域を分けることで、記憶部107と録画ファイル記録部108とを形成しても良い。さらに、メモリカードなどの取り外し可能な外部記憶媒体を用いるようにしても良い。例えば、録画ファイル記録部108を外部記憶媒体とし、記憶部107をRAMで構成するようにしても良い。録画ファイル記録部108を外部記憶媒体とし、複数の媒体を取り替えて用いることができるようにすることにより、多くのもしくは長時間のデジタル放送番組データを録画することができる。
The
映像復号部109は、圧縮された映像データを復号するデコーダであり、表示部110は、映像復号部109で復号された映像を表示する液晶モニタ等のディスプレイである。音声復号部111は、圧縮された音声データを復号するデコーダであり、音声出力部112は、音声復号部111で復号された音声を出力するスピーカやイヤホン等である。
The
尚、表示部110を、ユーザがペンや指を用いてディスプレイの画面に触れることにより、文字や数字、ユーザ指示を入力することができるタッチパネル方式にしても良い。これにより、ユーザは、使用状況や入力する情報に応じて、入力手段として操作部102と表示部110とを使い分けることができる。また、携帯端末100を小型化するために、操作部102を省略することもできる。
The
上記の構成において、デジタル放送を放送用受信アンテナ104及び選局部103を介して受信すると、記憶部107に一時保存する。一時保存されたデジタル放送データは、制御部101の制御により、圧縮映像データと圧縮音声データとに分離される。圧縮映像データは、映像復号部109にて復号され、表示部110に表示される。また、圧縮音声データは、音声復号部111にて復号され、音声出力部112にて音声として出力される。
In the above configuration, when a digital broadcast is received via the
内部タイマ113は、本実施の形態における携帯端末100の基本クロックである27MHzのクロックをカウントする。この基本クロックは、デジタル放送の放送局とデジタル放送を受信する携帯端末100との同期や、表示する映像データと出力する音声データとの同期等に使用される。
The
受信されたデジタル放送番組を録画する場合は、デジタル放送のデジタルデータ(TSフォーマット)が録画ファイル記録部108に保存される。
When recording a received digital broadcast program, digital data (TS format) of the digital broadcast is stored in the recording
通信用送受信アンテナ106および無線通信部105を介して受信したデジタルデータは、制御部101の制御により、メール等の文字データと通話等の音声データに分離される。メール等の文字データは表示部110にて表示され、通話等の音声データは、音声出力部112にて音声として出力される。また、制御部101の制御により、記憶部107等に保存されたデータを読み出し、無線通信部105および通信用送受信アンテナ106を介してデジタルデータとして送信する。デジタル放送の番組表である電子番組表(EPG:Electronic Program Guide)等も、この通信用送受信アンテナ106および無線通信部105を利用して入手する。
The digital data received via the
尚、図1及びそれ以降の図においては、映像と音声のデータについてのみ記載しており、字幕とPCR(Program Clock Reference)等については省略している。 In FIG. 1 and the subsequent drawings, only video and audio data are described, and captions, PCR (Program Clock Reference), and the like are omitted.
図2は、本実施の形態によるデジタル放送受信機能付き携帯端末100における主要部の構成を示すもので、デジタル放送受信し、受信されたデジタル放送を視聴しながら録画する場合や、受信されたデジタル放送を録画しながら、録画中の録画ファイルから再生する追っかけ再生のデータの流れに着目して示される。
FIG. 2 shows a configuration of a main part of the
デジタル放送は、放送用受信アンテナ104を介して受信し、選局部(チューナ)103にて選局される。選局されたデジタル放送は、TS(Transfer Stream)フォーマットのまま、記憶部107内のTSバッファ201に一時保存される。TSフォーマットについては、MPEG−2 Systems (ISO/IEC13818-1)に、記載されているので、ここでは説明を省略する。
The digital broadcast is received via the
TSバッファ201に一時保存されたTSデータは、制御部101内のTSデータを分離するデマルチプレクス部であるDEMUX(Demultiplexing)部202により、映像データのPES(Packetized Elementary Stream:パケット化ストリーム)と音声データのPESとに分離され、映像データのPESは、記憶部107内の映像ESバッファ203に、音声データのPESは、記憶107内の音声ESバッファ204にそれぞれ格納される。映像ESバッファ203に格納された映像データは、映像復号部109で復号され、表示部110で表示される。音声ESバッファ204に格納された音声データは、音声復号部111で復号され、音声出力部112から音声として出力される。
The TS data temporarily stored in the
携帯端末向けのデジタル放送である1セグ放送の映像圧縮符号化は、H.264規格(MPEG-4 part10 AVC/H.264:国際標準化機構/国際電気技術委員会(ISO/IEC)の動画専門家グループ(MPEG)と国際電気通信連合(ITU)の動画符号化専門家グループ(VCEG)との間で共同開発された高度な符号化及び復号化技術)に基づいており、IDR(Instantaneous Decoder Refresh:デコード復号動作の瞬時リフレッシュ)のイントラピクチャ(画面内符号化のピクチャ)からのみ正しく復号できるようになっている。 Video compression encoding of 1-segment broadcasting, which is digital broadcasting for portable terminals, is H.264. H.264 standard (MPEG-4 part10 AVC / H.264: International Standards Organization / International Electrotechnical Commission (ISO / IEC) Video Expert Group (MPEG) and International Telecommunication Union (ITU) Video Coding Expert Group Based on advanced coding and decoding technology jointly developed with (VCEG), and from IDR (Instantaneous Decoder Refresh) intra pictures (intra-picture coding pictures) Only be able to decrypt correctly.
このIDR画像の情報(ファイル先頭からの位置情報やPTS(Presentation Time Stamp:再生タイムスタンプ)情報等)は、録画ファイルを途中から再生する際の重要な情報になっており、シーク等の特殊再生を行う場合に参照される。本実施の形態では、デジタル放送の受信開始時から、このIDR情報を記憶部107内のIDR情報保存部205に順次保存している。
This IDR image information (position information from the beginning of the file, PTS (Presentation Time Stamp) information, etc.) is important information when the recorded file is played back from the middle, and special playback such as seek Referenced when doing. In this embodiment, the IDR information is sequentially stored in the IDR
IDR情報保存部205に保存する情報は、IDR画像を含むアクセス・ユニットであるIDRアクセス・ユニットに関する情報であり、ファイル先頭からのTSパケット番号、PTS情報、ファイル先頭からの経過時間、IDR画像を表示するのに必要なTSパケット数等から構成されている。
The information stored in the IDR
受信されたデジタル放送を録画する場合は、IDR情報保存部205の中から対象の録画データに有効なIDR画像の情報(ファイル先頭からの位置情報等)も併せて録画ファイル記録部108に保存する。
When recording the received digital broadcast, IDR image information (position information from the beginning of the file, etc.) valid for the target recording data is also stored in the recording
マルチプレクサ部であるMPX(Multiplexer)部206は、再生系のソース選択するブロックである。このMPX部206によって、受信中のデジタル放送を再生するか、録画中ファイルもしくは録画済みファイルから再生するかの選択が可能とされる。
An MPX (Multiplexer)
デジタル放送を受信し、受信されたデジタル放送を視聴しながら録画する場合は、制御部101の制御により、TSバッファ201側を選択し、受信中のデジタル放送を再生する。
When receiving a digital broadcast and recording while viewing the received digital broadcast, the
追っかけ再生時は、制御部101の制御により、録画ファイル記録部108を選択し、録画中ファイルもしくは録画済みファイルから再生する。何れの場合も、録画中は、TSバッファ201から、順次、録画ファイル記録部108内の録画ファイルに追加記録される。
At the time of chasing playback, under the control of the
図3には、本実施の形態における録画処理の手順が示される。 FIG. 3 shows a recording process procedure in the present embodiment.
この録画処理は、対象のデジタル放送が選局部103において選局され、当該デジタル放送のMPEG−TSが制御部101にて解析可能な状態であることを前提とする。
This recording process is based on the premise that the target digital broadcast is selected by the
録画処理を開始すると(ステップ301)、まず各バッファ等のメモリ確保、内部タイマ113の設定、TSバッファ201の書き込みポインタの設定、TSバッファ201の読み出し位置の設定等の初期設定(ステップ302)を行う。次に録画開始準備処理(ステップ303)では、デジタル放送を受信開始して表示部110に表示すると共に、いつ録画開始が行われても対応できるように録画開始の準備を行う。
When the recording process is started (step 301), initial settings (step 302) such as securing the memory of each buffer, setting of the
次にステップ304にて、録画開始の判断を行う。ユーザ指示、もしくは予約録画時の録画開始時刻に到達していないことにより、録画が開始されない場合は、前述の録画開始準備処理(ステップ303)を継続する。ユーザ指示、もしくは予約録画時の録画開始時刻に到達したことにより、録画が開始された場合は、後述する録画開始処理(ステップ305)で録画開始のための処理を行う。
Next, at
次にステップ306にて、録画開始処理(ステップ305)でエラーが発生したかどうかを判断する。録画開始処理(ステップ305)でエラーが発生しなかったと判断した場合は、後述する録画中処理(ステップ307)に移行する。次にステップ308にて録画中処理(ステップ307)でエラーが発生したかどうかを判断する。録画中処理(ステップ307)でエラーが発生しなかったと判断した場合は、ステップ309にて録画終了指示があるかどうかの判断を行う。
In
ステップ309で、ユーザ指示、もしくは予約録画時の録画終了時刻に到達しないことにより、録画が終了されない場合は、録画中処理(ステップ307)に戻って処理を継続する。ユーザ指示、もしくは予約録画時の録画終了時刻に到達したことにより、録画が終了した場合は、後述する録画終了処理(ステップ310)に移行する。
In
次にステップ311にて、録画終了処理(ステップ310)でエラーが発生したかどうかを判断する。録画終了処理(ステップ310)でエラーが発生しなかったと判断した場合は、録画処理を終了する(ステップ312)。
Next, in
ステップ306、ステップ308、ステップ311のいずれかにおいて、エラーが発生したと判断した場合は、個々の処理に対応したエラー処理を行い(ステップ313)、録画処理を終了する(ステップ312)。
If it is determined in any of
図4には、図3における録画開始準備処理(ステップ303)の手順が示される。 FIG. 4 shows the procedure of the recording start preparation process (step 303) in FIG.
録画開始準備処理を開始すると(ステップ401)、デジタル放送であるTSパケットを取得し(ステップ402)、TSバッファ201に保存する(ステップ403)。TSパケットが保存されたら、TSバッファ201への書き込み位置を更新し(ステップ404)、次のTSパケットの取得に備える。
When the recording start preparation process is started (step 401), a TS packet that is a digital broadcast is acquired (step 402) and stored in the TS buffer 201 (step 403). When the TS packet is saved, the writing position in the
次にステップ405にて、取得したTSパケットのデータがIDR画像であるかどうかを判断する。ステップ405で、取得したTSパケットのデータがIDR画像でない場合は、録画開始準備処理を終了する(ステップ406)。ステップ405で、取得したTSパケットのデータがIDR画像である場合は、IDR画像の位置情報等からなるIDR情報をIDR情報保存部205に保存し(ステップ407)、録画開始準備処理を終了する(ステップ406)。
Next, in
図5には、図3における録画開始処理(ステップ305)の手順が示される。 FIG. 5 shows the procedure of the recording start process (step 305) in FIG.
録画開始処理を開始すると(ステップ501)、表示部110に現在表示されている画像を表示するために必要となるIDR画像の情報を、IDR情報保存部205に保存されているIDR情報の中から遡って検索し(ステップ502)、ステップ503にて、IDR情報保存部205に保存されているIDR情報の中に該当するIDR情報が存在したかどうかを判断する。
When the recording start process is started (step 501), the IDR image information necessary for displaying the image currently displayed on the
ステップ503で、該当するIDR情報が存在すると判断した場合は、そのIDR情報の中からIDR画像の位置情報を抽出し、TSバッファ201の読み出し位置を設定する(ステップ504)。これにより、録画ファイルの先頭はIDR画像となり、当該録画ファイルは、IDR画像から再生開始することができることになる。その後、録画ファイルと、タイムサーチ管理ファイルをオープンし(ステップ505)、録画開始処理を終了する(ステップ506)。
If it is determined in
ステップ503で、該当するIDR情報が存在しないと判断した場合は、録画開始エラー処理(ステップ507)にて録画開始エラーを設定し、録画開始処理を終了する(ステップ506)。
If it is determined in
図6には、図3における録画中処理(ステップ307)の手順が示される。 FIG. 6 shows the procedure of the recording process (step 307) in FIG.
録画中処理を開始すると(ステップ601)、録画終了指示があるかどうかを判断し(ステップ602)、ステップ602で録画終了指示があった場合は、録画中処理を終了する(ステップ603)。ステップ602で録画終了指示が無かった場合は、デジタル放送であるTSパケットを受信し(ステップ604)、それをTSバッファに記録する(ステップ605)。そして、次のTSパケットの受信に備えて、TSバッファにおけるTSパケット書き込み位置を更新する(ステップ606)。
When the in-recording process is started (step 601), it is determined whether there is a recording end instruction (step 602). If there is a recording end instruction in
ステップ604で受信したTSパケットのデータ内容を解析し、IDR画像であるかどうかを判断する(ステップ607)。ステップ607において、受信したTSパケットのデータ内容がIDR画像でない場合は、ステップ609に移行する(ステップ608)。ステップ607において、取得したTSパケットのデータがIDR画像であった場合は、IDR画像の位置情報等からなるIDR情報をIDR情報保存部205に保存し(ステップ608)、ステップ609に移行する。
The data content of the TS packet received in
ステップ609では、録画ファイルに記録する前に、記録すべきTSパケットのパケット数が、指定したパケット数に到達したかどうかを判断する。これは、ファイルシステムが、ファイルシステム管理の都合上クラスタ単位(32768バイト(もしくは16384バイト))で記録するのに対し、1個のTSパケットは、188バイト(実際は、TSパケットの先頭に4バイトを付加して192バイトで扱っている)であり、整数倍にはなっていない。そこで、両者の最小公倍数である98304バイト(3クラスタ(32768バイト×3)、512パケット(192バイト×512))に到達するのを待ち、記録すべきファイルシステムと、受信したTSパケットとの整合性を確保している。尚、録画終了時においては、両者の最小公倍数である98304バイトに到達するのを待たずに、記録すべきTSパケットは全て記録する。
In
本実施の形態では、512パケット(98304バイト)を指定パケット数に設定したが、複数のTSパケットを束ねて暗号化もしくは暗号復号化する場合は、複数のTSパケットのバイト数と、ファイルステムのクラスタ単位との最小公倍数のバイト数によるパケット数に設定することもできる。 In the present embodiment, 512 packets (98304 bytes) are set to the designated number of packets. However, when a plurality of TS packets are bundled and encrypted or decrypted, the number of bytes of the plurality of TS packets and the file system It can also be set to the number of packets by the number of bytes of the least common multiple with the cluster unit.
ステップ609で、指定したパケット数に到達しなかった場合は、ステップ602に戻り、ステップ609で指定したパケット数に到達した場合は、ステップ610に移行する。
If the number of packets specified in
ステップ610では、到達した指定数のTSパケットを録画ファイルに記録し、次の録画ファイルへの書き込みに備えて、TSバッファの読み出し位置を更新する(ステップ611)。その後、ステップ612に移行する。
In
ステップ612では、録画中の録画ファイルにおいて、ステップ610で記録した記録済みTSパケットについて、録画中の録画ファイルの仮終端を更新し、再生系への録画ファイル仮終端更新通知が許可されているかどうかを判断する(ステップ613)。
In
再生系への録画ファイル仮終端更新通知の許可は、制御部101の制御により行う。録画中ファイルから再生する追っかけ再生の場合は、再生系への録画ファイル仮終端更新通知を許可し、受信中のデジタル放送を視聴しながら録画する場合は、再生系への録画ファイル仮終端更新通知を許可しない運用を行っている。
The recording file temporary end update notification is permitted to the reproduction system under the control of the
ステップ613で、再生系への録画ファイル仮終端更新通知が許可されていない場合は、ステップ602に戻り、録画中処理を継続する。ステップ613で、再生系への録画ファイル仮終端更新通知が許可されている場合は、再生系に対して録画ファイル仮終端更新通知を行い(ステップ614)、ステップ602に戻る(録画中処理は継続する)。
If it is determined in
再生系に対して録画ファイル仮終端更新通知を行う理由は、録画中の録画ファイルの終端が、録画中に順次更新され、再生系として、録画ファイルのどこまでがファイル再生できるかを明確にするためである。 The reason for sending the recording file temporary end update notification to the playback system is that the end of the recording file being recorded is updated sequentially during recording, and as a playback system it is clear how far the recorded file can be played back. It is.
図7には、図3における録画終了処理(ステップ310)の手順が示される。 FIG. 7 shows the procedure of the recording end process (step 310) in FIG.
録画終了処理を開始すると(ステップ701)、録画中の録画ファイルに、記録すべきTSパケット(録画データ)を記録する(ステップ702)。 When the recording end process is started (step 701), the TS packet (recording data) to be recorded is recorded in the recording file being recorded (step 702).
次に、記録完了した録画ファイルの終端を更新し(ステップ703)、IDR情報保存部205に保存されているIDR情報を、タイムサーチポイントとしてタイムサーチ管理ファイルに記録する(ステップ704)。
Next, the end of the recorded recording file is updated (step 703), and the IDR information stored in the IDR
その後、録画ファイルのクローズ(ステップ705)と、タイムサーチ管理ファイルのクローズ(ステップ706)を行い、録画終了処理を終了する(ステップ707)。 Thereafter, the recording file is closed (step 705) and the time search management file is closed (step 706), and the recording end process is ended (step 707).
図8には、タイムサーチ管理ファイルの具体的なデータの例が示される。 FIG. 8 shows an example of specific data of the time search management file.
図8のタイムサーチ管理ファイルは、IDR情報保存部205に格納されているIDR情報から生成したファイルである。
The time search management file in FIG. 8 is a file generated from the IDR information stored in the IDR
先頭は、タイムサーチ管理ファイル内におけるタイムサーチポイントの登録数(4バイト)を示しており、図8の例では、タイムサーチポイントは6個であるため、この登録数の値は「6」に設定されている。 The top indicates the number of registered time search points (4 bytes) in the time search management file. In the example of FIG. 8, since there are six time search points, the value of the registered number is “6”. Is set.
次の4つのパラメータは、タイムサーチポイント番号0に関する情報であり、各情報は、全て4バイトで構成している。情報の内容は、(1)ファイル内の読み出し位置を示すファイル先頭からのパケット番号(開始パケット番号)、(2)画像を表示するのに必要なパケット数(必要パケット数)、(3)表示時刻を示すタイムスタンプの値(PTS(Presentation Time Stamp)値)、(4)録画ファイルの先頭の再生時刻からこのポイントが表示するまでの表示相対時刻(ファイル先頭からの相対時刻)とされる。
The next four parameters are information relating to time
表示時刻を示すPTS値は、映像と音声の同期再生を行うために、必要となる値であり、デジタル放送の中に多重されている番組時刻基準値情報を示すPCR(Program Clock Reference)に同期した値である。PTS値は、33ビットで、その精度は、90kHzであるが、本実施の形態1では、4バイト(32ビット)の格納エリアに格納するため、32ビットで、その精度を45kHzとしている。 The PTS value indicating the display time is a value necessary to perform synchronized reproduction of video and audio, and is synchronized with a PCR (Program Clock Reference) indicating program time reference value information multiplexed in the digital broadcast. It is the value. The PTS value is 33 bits and the accuracy is 90 kHz. In the first embodiment, since the PTS value is stored in a storage area of 4 bytes (32 bits), it is 32 bits and the accuracy is 45 kHz.
尚、PTSについては、MPEG−2 Systems (ISO/IEC13818-1)に詳述されている。 The PTS is described in detail in MPEG-2 Systems (ISO / IEC13818-1).
タイムサーチポイント番号0のデータは、パケット番号0(ファイル先頭)から開始され、必要パケット数は176パケット、PTS値は1803184、ファイル先頭からの相対時刻はファイル内の最初のタイムサーチポイント(先頭)であるため0(秒)となっている。
The data of time
タイムサーチポイント番号1のデータは、パケット番号9660(ファイル先頭)から開始され、必要パケット数は172パケット、PTS値は3605424、ファイル先頭からの相対時刻は20(秒)となっている。
The data of time
以降、タイムサーチポイントが1個増加するごとに、4個のパラメータ(16バイト)が追加される。タイムサーチポイント数が6個の場合、パラメータ総数は、24個で構成され、タイムサーチ管理ファイルの総バイト数は、登録数を加えた、100バイトとなる。 Thereafter, every time search point increases by one, four parameters (16 bytes) are added. When the number of time search points is 6, the total number of parameters is 24, and the total number of bytes of the time search management file is 100 bytes including the number of registrations.
図8のタイムサーチ管理ファイルでは、20秒ごとにタイムサーチポイントが存在していることになっているが、実際には、全てのIDR画像位置をタイムサーチポイントして登録している(但し、IDR画像と次のIDR画像との時間間隔が短い場合は、省略することもある。)。 In the time search management file of FIG. 8, there is a time search point every 20 seconds, but in practice, all IDR image positions are registered as time search points (however, If the time interval between the IDR image and the next IDR image is short, it may be omitted.)
次に、図9、図10、及び、図11に基づいて、追っかけ再生動作について詳述する。図9は、録画中ファイルから再生する追っかけ再生開始位置決定に関するフローチャート、図10は、追っかけ再生中のフローチャート、図11は、シーク位置検索処理のフローチャートである。尚、図9及び図10における同一符号「A」は、処理が連続していることを示している。 Next, the chasing playback operation will be described in detail based on FIG. 9, FIG. 10, and FIG. FIG. 9 is a flowchart relating to determination of the chase playback start position to be played back from a file being recorded, FIG. 10 is a flowchart during chase playback, and FIG. 11 is a flowchart of seek position search processing. Note that the same reference numeral “A” in FIGS. 9 and 10 indicates that the processing is continuous.
追っかけ再生開始処理を開始すると(ステップ901)、先ず、追っかけ再生を開始する位置(シーク位置(録画ファイル先頭からの相対時刻))を、録画中の録画ファイルの先頭に設定し(ステップ902)、後述するシーク位置検索処理(ステップ903)を行う。シーク位置検索処理(ステップ903)でエラーがあったかどうかを判断し(ステップ904)、シーク位置検索処理(ステップ903)でエラーが無かった場合は、ステップ905に移行する。 When the chasing playback start process is started (step 901), first, the position at which chasing playback is started (seek position (relative time from the beginning of the recording file)) is set to the beginning of the recording file being recorded (step 902). A seek position search process (step 903) to be described later is performed. It is determined whether or not there is an error in the seek position search process (step 903) (step 904), and if there is no error in the seek position search process (step 903), the process proceeds to step 905.
ステップ905では、録画中の録画ファイル仮終端更新通知があるかどうかを判断する。ステップ905で、録画中の録画ファイル仮終端更新通知が有る場合は、録画ファイル仮終端を更新し(ステップ906)、ステップ907に移行する。ステップ905で、録画中の録画ファイル仮終端更新通知が無かった場合は、ステップ907に移行する。
In
ステップ907では、追っかけ再生開始位置を移動させるためのシーク指示があるかどうかを判断する。ステップ907で、シーク指示が有った場合は、後述するシーク位置検索処理(ステップ908)を行い、シーク位置検索処理(ステップ908)でエラーがあったかどうかを判断する(ステップ909)。シーク位置検索処理(ステップ908)でエラーがなかった場合は、シーク位置検索処理(ステップ908)で設定された読み出し位置(追っかけ再生開始位置)に移動し、ステップ910に移行する。ステップ907で、シーク指示が無かった場合は、ステップ910に移行する。
In
ステップ910では、追っかけ再生の開始が指示されたかどうかを判断する。ステップ910で、追っかけ再生の開始が指示されなかった場合は、追っかけ再生の終了指示があるかどうかを判断し(ステップ911)、追っかけ再生の終了指示が有った場合は、ステップ910までに決定された追っかけ再生開始位置に基づき追っかけ再生開始位置決定処理を終了する(ステップ912)。
In
シーク位置検索処理(ステップ903、または、ステップ908)で、エラーがあるかどうかを判断(ステップ904、または、ステップ906)した結果、エラーが有った場合は、シークエラー処理(ステップ913)を行い、追っかけ再生開始処理を終了する(ステップ912)。 In the seek position search process (step 903 or step 908), if there is an error as a result of determining whether there is an error (step 904 or step 906), seek error process (step 913) is performed. The chasing reproduction start process is terminated (step 912).
ステップ910で、追っかけ再生開始の指示があった場合は、追っかけ再生を開始する(端子914を介して、図10の端子1001に移行する)。
If there is an instruction to start chasing playback in
図9では、シーク位置を、録画ファイル先頭からの相対時刻としているが、タイムサーチポイント間の移動で行うこともできる。この手法は、操作部102の操作による早送り(FF)や早戻し(FR)などを実現する上での一般的手法である。
In FIG. 9, the seek position is the relative time from the beginning of the recording file, but it can also be performed by moving between time search points. This method is a general method for realizing fast forward (FF), fast reverse (FR), etc. by operation of the
追っかけ再生を開始する(端子1001)と、追っかけ再生位置(読み出し位置)からパケットデータを読み出し、DEMUX部202に読み出したパケットデータを転送する(ステップ1002)。 When the chasing playback is started (terminal 1001), the packet data is read from the chasing playback position (reading position), and the read packet data is transferred to the DEMUX unit 202 (step 1002).
ステップ1002において、シーク直後の読み出しの場合は、IDR情報保存部205のIDR情報により決定され、必要パケット数分(タイムサーチポイント番号0では、176パケット)を読み出し、DEMUX部202に読み出したパケットデータを転送する(ステップ1002)。その後、読み出し位置をパケットデータ転送分更新し(ステップ1003)、更新後の読み出し位置を決定する。
In
ここでの読み出し位置は、ファイル先頭からのパケット番号で管理している。また、録画中の録画ファイルに記録済みのパケット数により、録画中の録画ファイルの仮最終パケット番号が確定する。 The reading position here is managed by the packet number from the beginning of the file. Further, the provisional final packet number of the recording file being recorded is determined based on the number of packets already recorded in the recording file being recorded.
ステップ1004で、更新後の読み出し位置が、TSバッファ201内に存在しなかった場合は、録画中の録画ファイル内に読み出し位置を設定し(ステップ1005)、ステップ1007に移行する。この場合、MPX部206は、制御部101の制御により、録画ファイル記録部113を選択する。
If the updated read position does not exist in the
ステップ1004で、更新後の読み出し位置が、TSバッファ201内に存在した場合は、TSバッファ201内に読み出し位置を設定し(ステップ1006)、ステップ1007に移行する。この場合、MPX部206は、制御部101の制御により、TSバッファ102を選択する。
If the updated read position exists in the
ファイル先頭からのパケット番号で管理している読み出し位置が、録画中の録画ファイルと、TSバッファ201の両方に存在した場合、読み出し位置をTSバッファ201内に設定する理由は、録画ファイル記録部113の録画ファイルをアクセスするより、TSバッファ201をアクセスする方が、アクセス時間が短いことに起因している。
If the read position managed by the packet number from the beginning of the file exists in both the recording file being recorded and the
ステップ1007では、録画中の録画ファイル仮終端更新通知があるかどうかを判断する。ステップ1007で、録画中の録画ファイル仮終端更新通知があった場合は、録画ファイル仮終端を更新し(ステップ1008)、ステップ1009へ移行する。ステップ1007で、録画中の録画ファイル仮終端更新通知がなかった場合は、ステップ1009へ移行する。
In
ステップ1009では、追っかけ再生開始位置を移動させるためのシーク指示があるかどうかを判断する。ステップ1009で、シーク指示が有った場合は、後述するシーク位置検索処理(ステップ1010)を行い、シーク位置検索処理(ステップ1010)でエラーがあったかどうかを判断する(ステップ1011)。ステップ1011で、シーク位置検索処理(ステップ1010)でエラーがなかった場合は、追っかけ再生開始位置が指定されたシーク位置に移動し、ステップ1012に移行する。ステップ1009で、シーク指示が無かった場合は、ステップ1012に移行する。
In
ステップ1012では、追っかけ再生の終了指示があるかどうかを判断し、ステップ1012で、追っかけ再生の終了指示が有った場合は、追っかけ再生中処理を終了する(ステップ1013)。 In step 1012, it is determined whether there is an instruction to end chasing playback. If there is an instruction to end chasing playback in step 1012, the process during chasing playback ends (step 1013).
シーク位置検索処理(ステップ1010)で、エラーがあるかどうかを判断(ステップ1011)した結果、シーク位置検索処理(ステップ1010)で、エラーが有った場合は、シークエラー処理(1014)を行い、追っかけ再生開始処理を終了する(ステップ1013)。 In the seek position search process (step 1010), as a result of determining whether there is an error (step 1011), if there is an error in the seek position search process (step 1010), the seek error process (1014) is performed. Then, the chasing playback start process is terminated (step 1013).
図11には、上記シーク位置検索処理の流れが示される。 FIG. 11 shows the flow of the seek position search process.
シーク位置検索処理を開始すると(ステップ1101)、先ず、指定されたシーク位置から、IDR情報保存部205内を検索し(ステップ1102)、該当シーク位置が存在するかどうかを判断する(ステップ1103)。
When the seek position search process is started (step 1101), first, the IDR
図8のタイムサーチ管理ファイルは、IDR情報保存部205のIDR情報とほぼ等価であるので、図8のタイムサーチ管理ファイルを用いて説明する。指定されたシーク位置(録画ファイル先頭からの相対時刻)が、タイムサーチポイントのファイル先頭からの相対表示時刻に完全に一致した場合は、そのタイムサーチポイントが該当するシーク位置となり、ファイル先頭からのパケット番号により、読み出し位置が決定する。指定されたシーク位置(録画ファイル先頭からの相対時刻)が、タイムサーチポイントのファイル先頭からの相対表示時刻に一致しなかった場合は、タイムサーチポイントのファイル先頭からの相対表示時刻が、指定されたシーク位置(録画ファイル先頭からの相対時刻)より小さい値のタイムサーチポイントを、該当するシーク位置とし、ファイル先頭からのパケット番号により、読み出し位置を決定する。
The time search management file in FIG. 8 is substantially equivalent to the IDR information in the IDR
録画中の録画ファイル仮終端の更新が有った場合、ファイル先頭からのパケット番号に必要パケット数を加算した値が、録画中の録画ファイルにおける更新後の仮最終パケット番号を超えた場合は、そのタイムサーチポイントは、録画中の録画ファイルに存在しないとして判断する。 When there is an update of the recording file temporary end during recording, if the value obtained by adding the required number of packets to the packet number from the top of the file exceeds the updated temporary final packet number in the recording file being recorded, The time search point is determined not to exist in the recording file being recorded.
ステップ1103で、該当シーク位置が存在した場合は、その該当シーク位置が、TSバッファ201内に存在するかどうかを判断する(ステップ1105)。
In
ステップ1105で、該当シーク位置が、TSバッファ201内に無かった場合は、録画中の録画ファイル内に読み出し位置を設定し(ステップ1106)、シーク位置検索処理を終了する(ステップ1108)。この場合、MPX部206は、制御部101の制御により、録画ファイル記録部113を選択する。
If the corresponding seek position is not in the
ステップ1105で、該当シーク位置が、TSバッファ201内に存在した場合は、TSバッファ201内に読み出し位置を設定し(ステップ1107)、シーク位置検索処理を終了する(ステップ1108)。この場合、MPX部206は、制御部101の制御により、TSバッファ201を選択する。
If the corresponding seek position exists in the
ステップ1103で、該当シーク位置が存在しなかった場合は、タイムサーチポイントが1個も存在しなかったことを意味するので、シークエラーを設定し(1104)、シーク位置検索処理を終了する(ステップ1108)。
If the corresponding seek position does not exist in
追っかけ再生の指示は、ユーザ(視聴者)が行うが、以下の場合などが想定される。 The chasing playback instruction is given by the user (viewer), but the following cases are assumed.
(1)放送受信中に電話着信があり、通話時間中の放送を録画して、追っかけ再生を行う。 (1) A telephone call is received during broadcast reception, and the broadcast during the call time is recorded and chasing playback is performed.
(2)放送受信中にメール着信があり、メール視聴時間中の放送を録画して、追っかけ再生を行う。 (2) A mail is received during broadcast reception, and the broadcast during the mail viewing time is recorded and chased and reproduced.
(3)音声のみを視聴し、音声のみ視聴していた時間中の放送を録画して、追っかけ再生を行う。 (3) Watch only the sound, record the broadcast during the time when only the sound was watched, and perform chasing playback.
(4)デジタル放送のデータ放送のみを表示し、データ放送のみ視聴していた時間中の放送を録画して、追っかけ再生を行う。 (4) Only the data broadcast of the digital broadcast is displayed, the broadcast during the time when only the data broadcast was viewed is recorded, and the chase playback is performed.
(5)予約録画中に、録画終了を待たずに、録画番組を再生視聴する。 (5) During the reserved recording, the recorded program is reproduced and viewed without waiting for the end of the recording.
(6)放送受信中、受信した番組中のハイライトシーンを再生視聴する。この際、早送り(FF)や、早戻し(FR)等を利用し、速やかに目的とする再生開始位置を検索すると利便性が高い。 (6) During the broadcast reception, the highlight scene in the received program is reproduced and viewed. At this time, it is convenient to quickly search for a target reproduction start position using fast forward (FF), fast reverse (FR), or the like.
勿論、ユーザ(視聴者)は、現在受信中のデジタル放送の再生に、いつでも切り替えることができる。 Of course, the user (viewer) can switch to playback of the digital broadcast currently being received at any time.
図9、図10、及び図11に示される実施の形態では、該当シーク位置が、TSバッファ201内に存在するかどうかを判断しており、録画中の録画ファイルからの再生から、TSバッファ201内のパケットデータからの再生に切り替えることができ、1倍速を超える時短再生の場合、受信中のデジタル放送に追いついた時点で、現在受信中のデジタル放送の再生に切り替えることができる。
In the embodiment shown in FIG. 9, FIG. 10, and FIG. 11, it is determined whether or not the corresponding seek position exists in the
その際、受信中のデジタル放送に追いついたことを、ユーザ(視聴者)に表示や音声等により、知らしめることもできる。 At this time, the user (viewer) can be notified of the catch-up of the digital broadcast being received by display or voice.
追いついた時点で知らしめることや、追いつき再生中に知らしめることも、選択枝の一つである。 It is one of the choices to notify at the time of catching up or to notify during catch-up playback.
例えば、追いつき再生中に知らしめる残り追いつき時間の表示には、「残り秒数の数値による表示」を採用することができる。尚、1倍速のタイムシフト再生中は、一定数値となる。 For example, “display by numerical value of remaining seconds” can be adopted to display the remaining catch-up time to be notified during catch-up reproduction. Note that the value is constant during 1 × speed time-shift playback.
また、追いつき再生中に知らしめる残り追いつき時間の表示には、「スクロールバーによる表示」を採用することができる。この場合、録画開始時点から最新受信位置までに対する、現在表示中の位置が示される。尚、1倍速のタイムシフト再生中は、録画開始時点から最新受信位置までの全体時間が増大しているので、比例配分は異なるが、最新受信位置までの区間が一定となる。 Further, “display by scroll bar” can be adopted for displaying the remaining catch-up time to be notified during catch-up reproduction. In this case, the currently displayed position from the recording start time to the latest reception position is shown. During time-shift playback at 1 × speed, since the total time from the recording start time to the latest reception position is increased, the proportional distribution is different, but the section to the latest reception position is constant.
録画中の録画ファイルのパケットデータから、TSバッファ201内のパケットデータに、再生するパケットデータを切り替える際、録画中の録画ファイル内のタイムサーチポイントで、必要パケット数を転送後、そのタイムサーチポイントのファイル先頭からのパケット番号を必要パケット数に加算したパケット番号から、TSパケット201内のパレット番号を決定すれば、パケットデータの欠落無く、パケットデータが円滑に継続される。
When switching the packet data to be reproduced from the packet data of the recording file being recorded to the packet data in the
尚、図9、図10、及び図11に示される実施の形態では、該当シーク位置が、TSバッファ201内に存在するかどうかを判断しているが、録画中の録画ファイル仮終端の更新により、その都度、録画中の録画ファイルの仮終端パケット番号を算出し、録画中の録画ファイルに記録済みのタイムサーチポイントのみをシーク対象とすることもできる。
In the embodiment shown in FIG. 9, FIG. 10, and FIG. 11, it is determined whether or not the seek position exists in the
<実施の形態2>
実施の形態1では、録画時にIDR(Instantaneous Decoder Refresh:デコード復号動作の瞬時リフレッシュ)画像検出を行っているが、その手法は、PES(Packetized Elementary Stream:パケット化ストリーム)ヘッダの解析のみで、IDR画像であることを判別し、IDR情報保存部205に保存している。IDR情報保存部205に保存しているIDR画像が正常に復号化できることを保証していないので、シークし、該当IDR画像を表示した際、正常に復号化できない画像を表示する可能性がある。
<
In the first embodiment, IDR (Instantaneous Decoder Refresh) image detection is performed at the time of recording. However, the technique is based only on analysis of a PES (Packetized Elementary Stream) header, and IDR. It is determined that the image is an image and stored in the IDR
そこで、実施の形態2では、IDR情報保存部205に保存しているIDR画像が正常に復号化できることを保証するため、録画時に、IDR画像を復号化し、正常に復号化できることを確認して、IDR情報保存部205に保存する。
Therefore, in the second embodiment, in order to ensure that the IDR image stored in the IDR
図12は、実施の形態2によるデジタル放送受信機能付き携帯端末100における、デジタル放送受信し、受信されたデジタル放送を録画しながら追っかけ再生する場合のデータの流れを示すブロック図である。
FIG. 12 is a block diagram illustrating a data flow when the digital broadcast receiving function-equipped
録画系ブロック1201と、再生系ブロック1202に分離して管理している。
The
尚、再生系ブロック1202については、図2のブロック図で説明済みであるので、ここではそれについての詳細な説明を省略する。
Note that the
録画系ブロック1201では、録画系専用に、録画用DEMUX部1203、録画用ESバッファ1204、録画用映像復号部1205を追加している。
In the
デジタル放送は、放送用受信アンテナ104を介して受信し、選局部(チューナ)103にて選局される。選局されたデジタル放送は、TS(Transfer Stream)フォーマットのまま、記憶部107内のTSバッファ201に一時保存する。
The digital broadcast is received via the
TSバッファ201に一時保存したTSデータは、制御部101内のTSデータを分離する録画用デマルチプレクス部である録画用DEMUX(Demultiplexing)部1203により、映像データのPES(Packetized Elementary Stream:パケット化ストリーム)のみを抽出し、記憶部107内の録画用映像ESバッファ1204に格納する。映像ESバッファ1204に格納した映像データが、IDR画像であった場合は、録画用映像復号部1205で復号化処理を行う。
The TS data temporarily stored in the
勿論、復号されたIDR画像は表示せず、IDR画像の復号化処理が完了し、正常にIDR画像が復号化されたかどうかが判断された後は、次のIDR画像の復号化処理に備えて、録画用映像ESバッファ1204をクリアする。
Of course, the decoded IDR image is not displayed, and after the IDR image decoding process is completed and it is determined whether the IDR image is normally decoded, it is prepared for the next IDR image decoding process. The recording
本実施形態では、IDR画像かどうかの判別を、録画用映像ESバッファ1204に格納後、録画用映像復号部1205による復号化を行う前に判別しているが、録画用映像ESバッファ1204に格納する前、もしくは、録画用DEMUX部1203の処理より前に判断することもできる。
In this embodiment, whether or not an IDR image is determined is stored in the recording
図13には、実施の形態2における録画系ブロック1201の処理アルゴリズムを説明するためのフローチャートが示される。
FIG. 13 shows a flowchart for explaining the processing algorithm of the
録画中処理を開始すると(ステップ1301)、録画終了指示があるかどうかを判断し(ステップ1302)、録画終了指示があった場合は、録画中処理を終了する(ステップ1303)。 When the in-recording process is started (step 1301), it is determined whether there is a recording end instruction (step 1302). If there is a recording end instruction, the in-recording process is ended (step 1303).
ステップ1302で録画終了指示が無かった場合、デジタル放送であるTSパケットを受信し(ステップ1304)し、TSバッファに一時保存する(ステップ1305)。そして、次のTSパケットの受信に備えて、TSバッファにおけるTSパケット書き込み位置を更新する(ステップ1306)。
If there is no instruction to end recording in
その後、ステップ1304で受信したTSパケットのデータ内容を解析し、IDR画像であるかどうかを判断する(ステップ1307)。ステップ1307で、受信したTSパケットのデータ内容がIDR画像でない場合は、ステップ1302に戻る。ステップ1307で、取得したTSパケットのデータがIDR画像であった場合は、録画用映像復号部1205にて復号化処理(ステップ1308)を行い、ステップ1308の復号化処理にて復号化エラーがあったかどうかを判断する(ステップ1309)。
Thereafter, the data content of the TS packet received in
ステップ1309で、ステップ1308の復号化処理にて復号化エラーがあった場合、IDR画像が正常に復号化できなかったと判断して、IDR情報保存部205に保存することなく、ステップ1302へ戻る。ステップ1309で、ステップ1308の復号化処理にて復号化エラーが無かった場合、IDR画像が正常に復号化できたと判断して、IDR情報保存部205にIDR画像位置等のIDR情報を保存し(ステップ1310)、ステップ1302へ戻る。
In
この結果、IDR情報保存部205には、正常に復号化できるIDR情報のみが保存されることになる。
As a result, only IDR information that can be normally decrypted is stored in the IDR
以上に説明したように、本実施の形態による録画再生装置によれば、受信しているデジタル放送より過去のデジタル放送を視聴する追っかけ再生において、利用者が、追っかけ再生位置を任意に設定できることが可能となる。 As described above, according to the recording / playback apparatus according to the present embodiment, the user can arbitrarily set the chasing playback position in chasing playback in which a past digital broadcast is viewed from the received digital broadcast. It becomes possible.
尚、本実施の形態では、録画再生装置の例として携帯端末100について説明しているが、据置型の固定受信装置でも本発明が適用できることは自明である。また、デジタル放送には、地上波によるデジタル放送や、人工衛星を介したデジタル放送があるが、無線によるデジタル放送であることについては同じであり、同様に本発明を適用することができる。
In the present embodiment, the
<実施の形態3>
本発明の実施の形態3は、実施の形態1及び実施の形態2で説明した録画再生制御回路の処理を行う機能を独立した制御回路として、IC(半導体集積回路)化して提供することが考えられる。
<
The third embodiment of the present invention is considered to provide an IC (semiconductor integrated circuit) as an independent control circuit with the function of performing the processing of the recording / playback control circuit described in the first and second embodiments. It is done.
例えば実施の形態1の図1における制御部101の機能のうち、録画および再生の一連の処理を行う機能を、独立した録画再生制御回路とすることが可能である。また、さらに拡張して録画再生装置の他の構成を取り込んで録画再生制御回路とすることも可能である。
For example, among the functions of the
図14には、本発明の実施の形態3にかかる録画再生制御回路の構成例が示される。図14に示されるように、録画再生制御回路1401は、実施の形態1の図1におけるデジタル放送受信機能付き携帯端末100の構成において、制御部101の一部として実装され、映像復号部109、音声復号部111、内部タイマ113、記憶部1402を有する構成となっている。録画再生制御回路1401は、IC化して提供される。
FIG. 14 shows a configuration example of a recording / playback control circuit according to the third embodiment of the present invention. As shown in FIG. 14, the recording /
内部タイマ113は、図14に示すように録画再生制御回路1401の内部に有する構成以外にも、録画再生制御回路1401の外部から取り込む構成であってもよい。また、記憶部1402は、制御部101が利用する記憶部107を利用する構成とすることも可能である。
As shown in FIG. 14, the
図15には、本実施の形態3による携帯端末100における主要部構成が示される。ここでは、デジタル放送を受信し追っかけ再生時のデータの流れに着目して示される。データの流れは実施の形態1の図2で示したものと同様であるが、録画再生制御回路1501(図14における録画再生制御回路1401に相当する)によって実行される部分を新たに図示している。
FIG. 15 shows a main part configuration of
図16には、本実施の形態3にかかる録画再生制御回路の別の構成例が示される。ここでは、デジタル放送を受信し追っかけ再生時のデータの流れに着目して示される。データの流れは実施の形態2の図12で示したものと同様であるが、録画再生制御回路1601によって実行される部分を新たに図示している。
FIG. 16 shows another configuration example of the recording / playback control circuit according to the third embodiment. Here, the flow of data at the time of digital broadcast reception and chasing playback is shown. The flow of data is the same as that shown in FIG. 12 of the second embodiment, but the part executed by the recording /
以上のように、再生の一連の処理を行う機能を録画再生制御回路(1401、1501、1601)として提供することで、携帯電話、PDAや車載端末などの携帯端末、DVDレコーダーなど、デジタル放送を受信することができる様々な機器について、録画再生制御回路(1401、1501、1601)を実装することによって、実施の形態1で説明したような録画再生装置を容易に実現することが可能となる。 As described above, by providing a recording / playback control circuit (1401, 1501, 1601) with a function for performing a series of playback processing, digital broadcasting can be performed on mobile terminals such as mobile phones, PDAs and in-vehicle terminals, and DVD recorders. By mounting the recording / playback control circuit (1401, 1501, 1601) for various devices that can receive the video, the recording / playback apparatus described in the first embodiment can be easily realized.
以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。 As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.
以上の説明では主として本発明者によってなされた発明をその背景となった利用分野であるデジタル放送受信機能付き携帯端末に適用した場合について説明したが、本発明はそれに限定されるものではなく、録画再生装置に広く適用することができる。 In the above description, the case where the invention made by the present inventor is mainly applied to a portable terminal with a digital broadcast receiving function, which is a field of use as a background, has been described. However, the present invention is not limited thereto, and recording is performed. It can be widely applied to playback devices.
本発明は、少なくとも受信されたデジタル放送の録画及び再生を可能とすることを条件に適用することができる。 The present invention can be applied on condition that recording and reproduction of at least received digital broadcast is possible.
100 デジタル放送受信機能付き携帯端末
101 制御部
102 操作部
103 選局部
104 放送用受信アンテナ
105 無線通信部
106 通信用送受信アンテナ
107 記憶部
108 録画ファイル記録部
109 映像復号部
110 表示部
111 音声復号部
112 音声出力部
113 内部タイマ
201 TSバッファ
202 DEMUX部
203 映像ESバッファ
204 音声ESバッファ
205 IDR情報保存部
206 MPX部
1203 録画用DEMUX部
1204 録画用映像ESバッファ
1205 録画用映像復号部
1401 録画再生制御回路
1402 記憶部
1501 録画再生制御回路
1601 録画再生制御回路
DESCRIPTION OF
Claims (11)
上記デジタル放送を録画するための録画ファイルに対応して、タイムサーチ情報の管理を可能とするタイムサーチ管理ファイルを記憶可能な記録部と、
上記タイムサーチ情報の任意位置に追っかけ再生の開始位置の設定を可能とする操作部と、
上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生を制御する制御部と、を含むことを特徴とする録画再生装置。 A recording / playback apparatus that enables recording and playback of a received digital broadcast,
Corresponding to a recording file for recording the digital broadcast, a recording unit capable of storing a time search management file that enables management of time search information;
An operation unit that enables setting of the start position of chasing playback at an arbitrary position of the time search information;
And a control unit that controls chasing playback from the chasing playback start position set at an arbitrary position of the time search information.
上記TSバッファに、上記追っかけ再生開始位置に対応するデータが存在するか否かを判断する第1機能と、を含み、
上記TSバッファに、上記追っかけ再生開始位置に対応するデータが存在する場合に、上記TSバッファ内に上記読み出し位置が設定される請求項1記載の録画再生装置。 A TS buffer for temporarily storing the received digital broadcast;
A first function for determining whether or not data corresponding to the chasing playback start position exists in the TS buffer;
The recording / playback apparatus according to claim 1, wherein when the data corresponding to the chasing playback start position exists in the TS buffer, the reading position is set in the TS buffer.
上記制御部は、上記デジタル放送録画開始のための録画開始処理機能と、
上記デジタル放送の録画中処理のための録画中処理機能と、
上記デジタル放送の録画終了のための録画終了処理機能と、
上記タイムサーチ情報の任意位置に設定された追っかけ再生の開始位置からの追っかけ再生のための追っかけ再生処理機能と、を含む請求項1記載の録画再生装置。 A TS buffer for temporarily storing the received digital broadcast;
The control unit includes a recording start processing function for starting the digital broadcast recording;
A recording processing function for the above digital broadcast recording processing;
A recording end processing function for ending the recording of the digital broadcast;
The recording / playback apparatus according to claim 1, further comprising a chasing playback processing function for chasing playback from a chasing playback start position set at an arbitrary position of the time search information.
上記IDR情報が存在する場合に、そのIDR情報の中からIDR画像の位置情報を抽出し、その読み出し位置を設定する第2処理と、
上記第2処理の後に、上記録画ファイルと、上記タイムサーチ管理ファイルをオープンする第3処理と、を含む請求項5記載の録画再生装置。 The process by the recording start processing function includes a first process for searching for IDR information for constituting a display image,
A second process for extracting position information of an IDR image from the IDR information when the IDR information is present, and setting the reading position;
6. The recording / reproducing apparatus according to claim 5, further comprising a third process for opening the recording file and the time search management file after the second process.
次のTSパケットの受信に備えて、上記TSバッファにおけるTSパケット書き込み位置を更新する第5処理と、
上記TSパケットのデータ内容を解析し、IDR画像であるかどうかを判断する第6処理と、
取得したTSパケットのデータがIDR画像であった場合は、IDR情報を保存する第7処理と、
録画ファイルに記録する前に、記録すべきTSパケットのパケット数が、指定したパケット数に到達したかどうかを判断する第8処理と、
記録すべきTSパケットのパケット数が、指定したパケット数に到達した場合に、上記TSパケットを録画ファイルに記録する第9処理と、
次の録画ファイルへの書き込みに備えて、上記TSバッファの読み出し位置を更新する第10処理と、
録画中の録画ファイルにおいて、記録済みTSパケットについて、録画中の録画ファイルの仮終端を更新し、再生系への録画ファイル仮終端更新通知が許可されているかどうかを判断する第11処理と、を含む請求項5記載の録画再生装置。 The processing by the processing function during recording includes a fourth process of receiving a TS packet that is a digital broadcast and recording it in the TS buffer;
In preparation for receiving the next TS packet, a fifth process for updating the TS packet writing position in the TS buffer;
Analyzing the data content of the TS packet and determining whether it is an IDR image;
When the acquired TS packet data is an IDR image, a seventh process for storing IDR information;
An eighth process for determining whether the number of TS packets to be recorded has reached the specified number of packets before recording in the recording file;
A ninth process for recording the TS packet in a recording file when the number of TS packets to be recorded reaches the designated number of packets;
A tenth process for updating the reading position of the TS buffer in preparation for writing to the next recording file;
An eleventh process for updating a provisional end of the recording file being recorded for a recorded TS packet in a recording file being recorded, and determining whether or not notification of the provisional end update of the recording file to the playback system is permitted; 6. The recording / reproducing apparatus according to claim 5, further comprising:
記録完了した録画ファイルの終端を更新し、保存されているIDR情報を、タイムサーチポイントとしてタイムサーチ管理ファイルに記録する第13処理と、
録画ファイルのクローズと、タイムサーチ管理ファイルのクローズを行う第14処理と、を含む請求項5記載の録画再生装置。 The processing by the recording end processing function includes a twelfth processing for recording a TS packet to be recorded in a recording file being recorded,
A thirteenth process of updating the end of the recording file that has been recorded and recording the stored IDR information as a time search point in the time search management file;
6. The recording / reproducing apparatus according to claim 5, further comprising: a fourteenth process for closing the recording file and closing the time search management file.
追っかけ再生の開始が指示されたかどうかを判断し、追っかけ再生の開始が指示された場合に追っかけ再生を開始する第16処理と、を含む請求項5記載の録画再生装置。 The chasing playback processing function includes a fifteenth process for setting a position at which chasing playback is started to the beginning of a recording file being recorded and searching for a seek position;
6. A recording / reproducing apparatus according to claim 5, further comprising: a sixteenth process for determining whether or not start of chasing playback has been instructed and starting chasing playback when instructed to start chasing playback.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008036279A JP2009194851A (en) | 2008-02-18 | 2008-02-18 | Image recording and reproducing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008036279A JP2009194851A (en) | 2008-02-18 | 2008-02-18 | Image recording and reproducing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009194851A true JP2009194851A (en) | 2009-08-27 |
Family
ID=41076415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008036279A Withdrawn JP2009194851A (en) | 2008-02-18 | 2008-02-18 | Image recording and reproducing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009194851A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021082918A (en) * | 2019-11-18 | 2021-05-27 | Tvs Regza株式会社 | Broadcasting receiver and program |
-
2008
- 2008-02-18 JP JP2008036279A patent/JP2009194851A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021082918A (en) * | 2019-11-18 | 2021-05-27 | Tvs Regza株式会社 | Broadcasting receiver and program |
JP7314027B2 (en) | 2019-11-18 | 2023-07-25 | Tvs Regza株式会社 | Broadcast receiver and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7738767B2 (en) | Method, apparatus and program for recording and playing back content data, method, apparatus and program for playing back content data, and method, apparatus and program for recording content data | |
EP1552690B1 (en) | Data management method | |
US8457478B2 (en) | Method and apparatus for receiving, storing, and presenting multimedia programming without indexing prior to storage | |
JP4357449B2 (en) | Control method of recording / playback apparatus | |
US8872975B2 (en) | Receiving device, display controlling method, and program | |
KR100405975B1 (en) | Method for stream jump | |
US8483548B2 (en) | Digital broadcast recording apparatus | |
US8364003B2 (en) | Broadcast signal-providing device, broadcast signal-providing method, broadcast signal-providing program, and broadcast signal-providing system | |
US8254764B2 (en) | Recording apparatus, image reproducing apparatus, and special reproduction method therefor | |
JP4366038B2 (en) | Television broadcast processing apparatus and control method for television broadcast processing apparatus | |
US20080317434A1 (en) | Information recording/reproducing apparatus | |
US20080298781A1 (en) | Apparatus for recording audio-video data and method of recording audio-video data | |
US8213778B2 (en) | Recording device, reproducing device, recording medium, recording method, and LSI | |
JP2009194851A (en) | Image recording and reproducing apparatus | |
JP4063212B2 (en) | Information recording / reproducing apparatus and information recording method | |
JP5244764B2 (en) | Digital broadcast receiving apparatus and program | |
JP2009017380A (en) | Recording/reproduction control circuit | |
JP2008061061A (en) | Video-recording and playback apparatus | |
JP4735560B2 (en) | Digital broadcast playback device | |
JP2007068042A (en) | Receiving device and method | |
US20090123132A1 (en) | Apparatus and method for recording broadcasting data | |
KR100737071B1 (en) | A timeshift mode driving apparatus and method in a pvr system | |
JP5571220B2 (en) | DIGITAL BROADCAST RECEIVING DEVICE, OUTPUT METHOD AND PROGRAM IN DIGITAL BROADCAST RECEIVING DEVICE | |
JP2011244117A (en) | System semiconductor integrated circuit equipped with moving image decorder and method for operating the same | |
KR20070081168A (en) | Method for recording program and television receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20100527 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110510 |