JP2003259308A - Electronic device and signal processing method - Google Patents

Electronic device and signal processing method

Info

Publication number
JP2003259308A
JP2003259308A JP2003032826A JP2003032826A JP2003259308A JP 2003259308 A JP2003259308 A JP 2003259308A JP 2003032826 A JP2003032826 A JP 2003032826A JP 2003032826 A JP2003032826 A JP 2003032826A JP 2003259308 A JP2003259308 A JP 2003259308A
Authority
JP
Japan
Prior art keywords
data
transport stream
mpeg
video
decoder
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.)
Granted
Application number
JP2003032826A
Other languages
Japanese (ja)
Other versions
JP3716836B2 (en
Inventor
Hisafumi Yanagihara
尚史 柳原
Teruyoshi Komuro
輝芳 小室
Hisato Shima
久登 嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2003032826A priority Critical patent/JP3716836B2/en
Publication of JP2003259308A publication Critical patent/JP2003259308A/en
Application granted granted Critical
Publication of JP3716836B2 publication Critical patent/JP3716836B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To correctly decode video data even when a program is changed. <P>SOLUTION: The electronic device of this invention capable of receiving a transport stream from another device via a digital interface 31 is provided with: a detection means 29 for detecting whether or not discontinuous information is included in attached information in the transport stream received via the digital interface 31; a video decoder 24 for decoding video data included in the transport stream; and an audio decoder 25 for decoding audio data included in the transport stream, and when the detection means 29 detects the discontinuous information, buffer memories 24a, 25a associated with the video decoder 24 and the audio decoder 25 are cleared. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、MPEG(Moving
Picture Image Coding Experts Group)等の高能率符号
化技術を応用して符号化されたビデオ信号及びオーディ
オ信号を他の機器から受信するようにした電子機器及び
信号処理方法に関する。
TECHNICAL FIELD The present invention is based on the MPEG (Moving
The present invention relates to an electronic device and a signal processing method for receiving a video signal and an audio signal encoded by applying a high efficiency encoding technique such as Picture Image Coding Experts Group) from another device.

【0002】[0002]

【従来の技術】近年、米国や欧州諸国において、MPE
G等の高能率符号化技術を応用して、ビデオ信号及びオ
ーディオ信号を符号化し、通信衛星等を介して伝送し、
受信側においてこれを復調するようにしたシステムが普
及しつつある。
2. Description of the Related Art In recent years, MPE has been used in the United States and European countries.
Applying high-efficiency coding technology such as G, it encodes video and audio signals and transmits them via communication satellites,
Systems that demodulate this on the receiving side are becoming widespread.

【0003】これらのシステムでは、受信側に専用の受
信・復調装置が必要となる。この受信・復調装置におい
ては、複数チャンネルのデータが多重化されたトランス
ポートストリームから所望のチャンネルのトランスポー
トストリームを選択する部分と、所望のチャンネルのト
ランスポートストリームから所望のプログラムのビデオ
データとオーディオデータを分離する部分と、分離した
ビデオデータ及びオーディオデータを復号化する部分と
を備えている。
These systems require a dedicated receiving / demodulating device on the receiving side. In this receiving / demodulating device, a portion for selecting a transport stream of a desired channel from a transport stream in which data of a plurality of channels are multiplexed, and video data and audio of a desired program from the transport stream of the desired channel. It has a part for separating the data and a part for decoding the separated video data and audio data.

【0004】このシステムでは、受信・復調装置におい
て、前述した所望のチャンネルのトランスポートストリ
ームの受信や所望のプログラムのビデオデータ及びオー
ディオデータの分離ができるようにするために、多重化
されたトランスポートストリーム中にPSI(Program S
pesific Information:プログラム仕様情報)やEPG
(Electronic Program Guide:電子番組ガイド)あるい
はSI(Sevice Information:サービス情報)を付加し
ている。
In this system, in the receiving / demodulating device, the multiplexed transport is carried out in order to enable the reception of the transport stream of the desired channel and the separation of the video data and the audio data of the desired program. PSI (Program S
pesific Information: Program specification information) and EPG
(Electronic Program Guide) or SI (Sevice Information) is added.

【0005】[0005]

【発明が解決しようとする課題】ビデオ信号及びオーデ
ィオ信号を符号化して記録/再生するビデオテープレコ
ーダ(以下、DVCRという。)が商品化されている。
このようなDVCRに前述したデジタル放送のビデオデ
ータ及びオーディオデータを復号化せずに記録/再生す
ることが考えられている(久保田 幸雄 編著「図解 デ
ジタルビデオ読本」,pp.140−152,(株)オ
ーム社,平成7年8月25日)。
Video tape recorders (hereinafter referred to as DVCRs) for encoding and recording / reproducing video signals and audio signals have been commercialized.
It has been considered to record / reproduce the video data and audio data of the above-mentioned digital broadcast on such a DVCR without decoding them (Kubota Yukio ed., Illustrated Digital Video Reader, pp.140-152, (Shares). ) Ohmsha, August 25, 1995).

【0006】本発明は、上述したようなDVCRがデジ
タル放送のプログラムを複数個連続して再生し、これを
前述した受信・復調装置に入力して復号化する際に、プ
ログラムの変化時における復号化動作を迅速に行なえる
ようにした電子機器及び信号処理方法を提供することを
目的とする。
According to the present invention, when the DVCR as described above continuously reproduces a plurality of digital broadcasting programs and inputs them into the above-mentioned receiving / demodulating device for decoding, the decoding is performed when the programs change. It is an object of the present invention to provide an electronic device and a signal processing method capable of quickly performing a digitizing operation.

【0007】[0007]

【課題を解決するための手段】上述したような課題を解
決するために、本発明は、トランスポートストリームを
デジタルインターフェイスを介して他の機器から受信す
ることが可能な電子機器において、デジタルインターフ
ェイスを介して受信されるトランスポートストリーム中
の付加情報内に不連続情報が含まれているか否かを検出
する検出手段と、トランスポートストリームに含まれる
ビデオデータを復号するビデオデコーダと、トランスポ
ートストリームに含まれるオーディオデータを復号する
オーディオデコーダとを備え、不連続情報が検出された
ときには、ビデオデコーダとオーディオデコーダに関連
するバッファメモリをクリアするようにした。また、本
発明は、トランスポートストリームをデジタルインター
フェイスを介して他の機器から受信する信号処理方法で
あって、デジタルインターフェイスを介して受信される
トランスポートストリーム中の付加情報内に不連続情報
が含まれているか否かを検出し、トランスポートストリ
ームに含まれるビデオデータをビデオデコーダで復号
し、トランスポートストリームに含まれるオーディオデ
ータをオーディオデコーダで復号し、不連続情報が検出
されたときには、上記ビデオデコーダとオーディオデコ
ーダに関連するバッファメモリをクリアするようにし
た。
In order to solve the above-mentioned problems, the present invention provides a digital interface in an electronic device capable of receiving a transport stream from another device via the digital interface. Detecting means for detecting whether or not the discontinuity information is included in the additional information in the transport stream received via the video stream, the video decoder for decoding the video data included in the transport stream, and the transport stream. An audio decoder for decoding the included audio data is provided, and when discontinuity information is detected, the buffer memories associated with the video decoder and the audio decoder are cleared. Further, the present invention is a signal processing method for receiving a transport stream from another device via a digital interface, wherein discontinuity information is included in additional information in the transport stream received via the digital interface. Video data included in the transport stream is decoded by a video decoder, audio data included in the transport stream is decoded by an audio decoder, and when the discontinuity information is detected, the above video is detected. Enabled to clear the buffer memory related to the decoder and audio decoder.

【0008】[0008]

【発明の実施の形態】以下、本発明をデジタル信号記録
再生装置に適用した例を挙げて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An example in which the present invention is applied to a digital signal recording / reproducing apparatus will be described below.

【0009】まず、本発明が適用されたデジタル信号記
録再生装置が再生したMPEGのデジタル信号を受けて
復号化するように構成された受信・復調装置について説
明する。
First, a receiving / demodulating apparatus configured to receive and decode an MPEG digital signal reproduced by a digital signal recording / reproducing apparatus to which the present invention is applied will be described.

【0010】図4は、この受信・復調装置の構成を示す
ブロック図である。この受信・復調装置は、IRD(Int
egrated Receiver Decoder)と称されている。
FIG. 4 is a block diagram showing the configuration of this receiving / demodulating device. This receiver / demodulator is based on IRD (Int
It is called egrated Receiver Decoder).

【0011】受信・復調装置は、ダウンコンバータ(図
示せず)から送られてくるRF信号を入力し、所望のチ
ャンネルのトランスポートストリームを選択するフロン
トエンド21と、フロントエンド21で選択したトラン
スポートストリームから所望のプログラムのMPEGビ
デオデータとMPEGオーディオデータと付加情報を分
離するデマルチプレクサ22と、デマルチプレクサ22
を通して入出力するデータを一時的に蓄積するバッファ
メモリ23とを備えている。
The receiving / demodulating device receives a RF signal sent from a down converter (not shown) and selects a transport stream of a desired channel, and a transport selected by the front end 21. Demultiplexer 22 for separating MPEG video data and MPEG audio data of a desired program and additional information from a stream, and demultiplexer 22
And a buffer memory 23 for temporarily accumulating data to be input and output through.

【0012】この受信・復調装置は、デマルチプレクサ
22で分離したビデオデータを復号化するMPEGビデ
オデコーダ24と、デマルチプレクサ22で分離したオ
ーディオデータを復号化するMPEGオーディオデコー
ダ25と、MPEGビデオデコーダ24で復号化したビ
デオ信号をNTSC方式のビデオ信号に変換するNTS
Cエンコーダ26と、NTSCエンコーダ26の出力を
アナログ化するD/Aコンバータ27と、MPEGオー
ディオデコーダ25の出力をアナログ化するD/Aコン
バータ28とを備えている。MPEGビデオデコーダ2
4にはビデオデータを一時的に蓄積するバッファメモリ
24aが設けられ、MPEGオーディオデコーダ25に
は、オーディオデータを一時的に蓄積するバッファメモ
リ25aが設けられている。
This receiving / demodulating apparatus includes an MPEG video decoder 24 for decoding the video data separated by the demultiplexer 22, an MPEG audio decoder 25 for decoding the audio data separated by the demultiplexer 22, and an MPEG video decoder 24. NTS that converts the video signal decoded by the method into an NTSC video signal
A C encoder 26, a D / A converter 27 that analogizes the output of the NTSC encoder 26, and a D / A converter 28 that analogizes the output of the MPEG audio decoder 25. MPEG video decoder 2
4 is provided with a buffer memory 24a for temporarily storing video data, and the MPEG audio decoder 25 is provided with a buffer memory 25a for temporarily storing audio data.

【0013】さらに、受信・復調装置は、装置全体の動
作を制御するマイクロコンピュータ(以下マイコンとい
う)29と、フロントパネル30と、デマルチプレクサ
22で分離したMPEGビデオデータ、MPEGオーデ
ィオデータ、及び付加情報を外部へ送信し、また外部か
ら受信したMPEGビデオデータ、MPEGオーディオ
データ、及び付加情報をデマルチプレクサ22へ送るデ
ジタルインタフェース31を備えている。
Further, the reception / demodulation device includes a microcomputer (hereinafter referred to as a microcomputer) 29 for controlling the operation of the entire device, a front panel 30, and MPEG video data, MPEG audio data, and additional information separated by the demultiplexer 22. Is transmitted to the outside, and a digital interface 31 for transmitting the MPEG video data, the MPEG audio data, and the additional information received from the outside to the demultiplexer 22 is provided.

【0014】フロントエンド21は、チューナとQPS
K復調器とエラー訂正回路とから構成されており、多重
化されている複数チャンネルのトランスポートストリー
ムから、ユーザーがフロントパネル30で指定した所望
のチャンネルのトランスポートストリームを選択してQ
PSK復調し、さらにエラーの検出・訂正を行う。
The front end 21 is a tuner and a QPS.
It is composed of a K demodulator and an error correction circuit, and selects a transport stream of a desired channel designated by the user on the front panel 30 from the multiplexed transport streams of a plurality of channels and selects Q.
PSK demodulation and error detection / correction are performed.

【0015】図5に1チャンネル分のトランスポートス
トリームの例を示す。この図に示すように、1チャンネ
ルのトランスポートストリームには複数個のプログラム
(ここでは、プログラム番号1〜3を図示)が多重化さ
れている。ここで、プログラムとは仮想的な放送チャン
ネル、日本の現行放送でいえば、例えばNHK衛星第
1、NHK衛星第2等の放送サービスのことである。
FIG. 5 shows an example of a transport stream for one channel. As shown in this figure, a plurality of programs (here, program numbers 1 to 3 are shown) are multiplexed in the transport stream of one channel. Here, the program is a virtual broadcasting channel, and in the case of current broadcasting in Japan, for example, a broadcasting service such as NHK satellite No. 1 and NHK satellite No. 2 etc.

【0016】各プログラムのデータは所定の長さ(18
8バイト)でパケット化されており、その先頭にヘッダ
を持っている。ヘッダには、データを識別するためのP
ID(Paket Identification:パケットID))が付与
されている。
The data of each program has a predetermined length (18
It is packetized with 8 bytes) and has a header at the beginning. The header has a P for identifying the data.
ID (Paket Identification: packet ID)) is given.

【0017】フロントエンド21で選択された所望のチ
ャンネルのトランスポートストリームから、デマルチプ
レクサ22を通して付加情報を含むパケットが一旦バッ
ファメモリ23に書き込まれる。そして、ここから所望
のプログラムのMPEGビデオデータとMPEGオーデ
ィオデータを認識して分離し、そのビデオデータをMP
EGビデオデコーダ24へ、オーディオデータをMPE
Gオーディオデコーダ25へ送る。図9においては、プ
ログラム番号2のビデオデータとオーディオデータを分
離している。
From the transport stream of the desired channel selected by the front end 21, a packet containing additional information is temporarily written in the buffer memory 23 through the demultiplexer 22. Then, MPEG video data and MPEG audio data of a desired program are recognized and separated from this, and the video data is MP-processed.
MPE audio data to EG video decoder 24
Send to the G audio decoder 25. In FIG. 9, the video data and the audio data of program number 2 are separated.

【0018】この分離に際しては、パケットに付与され
ているPID(パケットID)を見る。それが所望のプ
ログラムのビデオデータ及びオーディオデータを識別す
るPIDであれば、それぞれMPEGビデオデコーダ2
4とMPEGオーディオデコーダ25へ送る。図9にお
いては、プログラム番号2のビデオデータに付与されて
いるPIDは“xx”であり、オーディオデータに付与
されているPIDは“yy”である。なお、受信・復調
装置においてプログラム番号とPIDとの対応関係を知
る方法については、後述する。
At the time of this separation, the PID (packet ID) given to the packet is checked. If it is a PID that identifies the video data and audio data of the desired program, the MPEG video decoder 2
4 and MPEG audio decoder 25. In FIG. 9, the PID given to the video data of program number 2 is "xx", and the PID given to the audio data is "yy". A method of knowing the correspondence between the program number and the PID in the receiving / demodulating device will be described later.

【0019】MPEGビデオデコーダ24へ送られたビ
デオデータは、バッファメモリ24aに記憶され、適宜
読み出されて復号化される。復号化されたビテオデータ
はNTSCエンコーダ25によりNTSC方式のビデオ
信号に変換され、D/Aコンバータ26によりアナログ
ビデオ信号に変換された後、外部のモニタ装置(図示せ
ず)へ供給される。また、MPEGオーディオデコーダ
25へ送られたオーディオデータは、バッファメモリ2
5aに記憶され、適宜読み出されて復号化される。復号
化されたオーディオデータは、D/Aコンバータ28に
よりアナログオーディオ信号に変換された後、モニタ装
置等のスピーカー(図示せず)へ供給される。
The video data sent to the MPEG video decoder 24 is stored in the buffer memory 24a, read out as appropriate, and decoded. The decoded video data is converted into an NTSC video signal by the NTSC encoder 25, converted into an analog video signal by the D / A converter 26, and then supplied to an external monitor device (not shown). Also, the audio data sent to the MPEG audio decoder 25 is stored in the buffer memory 2
5a, read out and decoded as appropriate. The decoded audio data is converted into an analog audio signal by the D / A converter 28 and then supplied to a speaker (not shown) such as a monitor device.

【0020】以上のようにして、デジタル放送のビデオ
信号及びオーディオ信号を受信し復号化してモニタ装置
に表示することができる。
As described above, the video signal and audio signal of the digital broadcast can be received, decoded and displayed on the monitor device.

【0021】次に、付加情報について説明する。前述し
たように、多重化されたビットストリーム中にはPSI
(プログラム使用情報)やEPG(電子番組ガイド)あ
るいはSI(サービス情報)が付加されている。ここで
は、MPEGで規定されているPSIと欧州のデジタル
放送であるDVB(DIgital Video Broadcasting)システ
ムで規定されているSIについて説明する。
Next, the additional information will be described. As described above, PSI may be included in the multiplexed bitstream.
(Program use information), EPG (electronic program guide) or SI (service information) is added. Here, PSI defined by MPEG and SI defined by DVB (DIgital Video Broadcasting) system which is a digital broadcasting in Europe will be described.

【0022】(1):PAT(Programme Association Tabl
e) このテーブルは、MPEGで規定されており、PID
(パケットID)は0である。そして、主な内容は、後
述するNITのPIDと、PMTのPIDの記述であ
る。
(1): PAT (Programme Association Tabl)
e) This table is specified by MPEG and has PID
(Packet ID) is 0. The main contents are the description of the PID of the NIT and the PID of the PMT described later.

【0023】(2):PMT(Programme Map Table) このテーブルもMPEGで規定されており、PIDは前
述したPATにより決められている。主な内容は、プロ
グラム番号とPIDとの対応の記述と、ECM(番組に
付随するスクランブルデータ)のPIDの記述である。
(2): PMT (Programme Map Table) This table is also defined by MPEG, and the PID is determined by the PAT described above. The main contents are a description of the correspondence between the program number and the PID, and a description of the PID of the ECM (scramble data accompanying the program).

【0024】(3):CAT(Conditional Access Table) このテーブルもMPEGで規定されており、PIDは1
である。そして、主な内容は、EMM(顧客向けのスク
ランブル情報)の記述である。
(3): CAT (Conditional Access Table) This table is also defined by MPEG, and the PID is 1.
Is. The main content is a description of EMM (scramble information for customers).

【0025】(4):NIT(Network Information Table) PIDは、0010である。そして、主な内容はネット
ワーク名(衛星名、地上波送信所等)の記述と、その各
トランスポートストリーム(物理チャンネル)に関する
変調方式や周波数の記述である。
(4): NIT (Network Information Table) PID is 0010. The main contents are a description of the network name (satellite name, terrestrial transmission station, etc.) and a description of the modulation method and frequency for each transport stream (physical channel).

【0026】以下のテーブルはDVBで規定されてい
る。
The following table is specified by DVB.

【0027】(5):BAT(Bouqust Association Table) PIDは、0011である。そして、主な内容は、ブー
ケ(Bouquet:番組供給者)の名称と仕向国の記述、及び
トランスポートストリーム(物理チャンネル)に関する
サービスの内容とCASS(Conditional Access Servic
e System) 方式の記述である。
(5): BAT (Bouqust Association Table) PID is 0011. The main contents are the description of the name of the bouquet (program provider) and the destination country, the contents of the service regarding the transport stream (physical channel), and the CAS (Conditional Access Servic).
e System) method description.

【0028】(6):SDT(Service Description Table) PIDは、0011である。そして、主な内容は、トラ
ンスポートストリーム(物理チャンネル)に関し、そこ
に含まれるサービスIDとそのブーケの名称等の記述で
ある。ここで、サービスIDとは、NHK衛星第1、N
HK衛星第2等の放送チャンネルのことである。すなわ
ち、MPEGで規定されているブログラム番号と同じで
ある。
(6): SDT (Service Description Table) PID is 0011. The main content of the transport stream (physical channel) is a description of the service ID and the name of the bouquet included in the service stream. Here, the service ID is the first or Nth NHK satellite.
It is a broadcasting channel such as the second satellite of HK satellite. That is, it is the same as the program number specified by MPEG.

【0029】(7):EIT(Event Information Table) PIDは、0012である。そして、主な内容は、イベ
ントIDとその開始時刻、放送時間、番組内容等の記述
である。そして、このイベントID毎にトランスポート
ストリームIDとサービスIDが記述されている。ここ
で、イベントとは、例えば「7時のニュース(12月1
日放送分)」等の番組のことである。
(7): EIT (Event Information Table) PID is 0012. The main content is a description of the event ID, its start time, broadcast time, program content, and the like. Then, a transport stream ID and a service ID are described for each event ID. Here, the event is, for example, “7 o'clock news (December 1
It is a program such as "broadcast for daily broadcast".

【0030】(8):TDT(Time Data Table) PIDは、0010である。そして、主な内容は、世界
標準時の情報の記述である。このTDTを用いて装置内
の時計(図示せず)の時刻合わせを行える。
(8): TDT (Time Data Table) PID is 0010. And the main content is the description of the information of the world standard time. Using this TDT, the time of a clock (not shown) in the apparatus can be adjusted.

【0031】(9):RST(Running Status Table) PIDは、0013である。そして、主な内容は、イベ
ントの実行状況の記述である。すなわち、あるイベント
の開始前、実行中、終了等の記述をする。
(9): RST (Running Status Table) PID is 0013. The main content is a description of the execution status of the event. That is, the description such as before the start of a certain event, during the execution, and the end is described.

【0032】次に、受信・復調装置におけるマイコン2
9が以上説明したPSIとSIをどのように処理するか
について説明する。
Next, the microcomputer 2 in the receiving / demodulating device
How the 9 processes the PSI and SI described above will be described.

【0033】まず、受信・復調装置においては、各ネッ
トワークの方式に合わせて、定数等の設定を行う。この
情報はNITに記述されているので、各トランスポート
ストリームに対し変調方式、周波数、ビットレート、誤
り訂正方式等が得られる。設定後、これらの情報はマイ
コン29のEEPROM(図示せず)に格納する。
First, in the receiving / demodulating device, constants and the like are set according to the method of each network. Since this information is described in NIT, the modulation method, frequency, bit rate, error correction method, etc. can be obtained for each transport stream. After setting, these pieces of information are stored in the EEPROM (not shown) of the microcomputer 29.

【0034】次に、EITを用いてイベントの検索を行
う。各放送イベントには固有のイベントIDが付与さ
れ、EITに放送番組の名称や内容が開始時刻と共に記
述され、イベント毎にそのトランスポートストリームI
DとサービスIDが記述されている。そこで、EITか
らトランスポートストリームIDを判別し、NITで得
たトランスポートストリームの定数を用いて受信・復調
装置を設定し、所望のチャンネルのトランスポートスト
リーム選択する。
Next, an event is searched using the EIT. A unique event ID is given to each broadcast event, the name and contents of the broadcast program are described in the EIT together with the start time, and the transport stream I for each event is recorded.
D and the service ID are described. Therefore, the transport stream ID is discriminated from the EIT, the receiving / demodulating device is set using the constant of the transport stream obtained by NIT, and the transport stream of the desired channel is selected.

【0035】以上、フロントエンド21において所望の
チャンネルのトランスポートストリームを選択する際の
処理を説明した。次に、デマルチプレクサ22の出力を
MPEGビデオデコーダ24及びMPEGオーディオデ
コーダ25へ送る際のマイコン29の処理について説明
する。
The processing for selecting the transport stream of the desired channel in the front end 21 has been described above. Next, the processing of the microcomputer 29 when sending the output of the demultiplexer 22 to the MPEG video decoder 24 and the MPEG audio decoder 25 will be described.

【0036】図6に、デマルチプレクサ22へ入力され
るトランスポートストリームの1例と、その中のPAT
及びPMTの内容を示す。また、図7は、バッファメモ
リ23の内部構成例を示す。そして、図8は、この処理
の流れを示す図である。ここでは、プログラム番号1の
放送を選択したものとして説明する。
FIG. 6 shows an example of the transport stream input to the demultiplexer 22 and the PAT therein.
And the contents of PMT are shown. Further, FIG. 7 shows an internal configuration example of the buffer memory 23. FIG. 8 is a diagram showing the flow of this processing. Here, it is assumed that the program number 1 broadcast is selected.

【0037】まず、図8に示すステップS1に示すよう
に、フロントエンド21の出力をデマルチプレクサ22
を通してバッファメモリ23に書き込む。バッファメモ
リ23は、図7に示すようにデータ毎に格納エリア23
A〜23Cが定められているので、それぞれのエリアに
書き込む。
First, as shown in step S1 shown in FIG. 8, the output of the front end 21 is demultiplexed by the demultiplexer 22.
Through the buffer memory 23. The buffer memory 23 has a storage area 23 for each data as shown in FIG.
Since A to 23C are defined, write in each area.

【0038】次に、ステップS2に示すように、バッフ
ァメモリ23の付加情報エリア23Cに書き込んだ付加
情報の中からPATを探す。この処理は、PIDが0の
パケットを探せばよい。図6(2)に示すように、PA
Tにはプログラム毎のPMTのPIDが記述されてい
る。ここでは、PMT1のPIDを“cc”、PMT2
のPIDを“dd”として記述している。
Next, as shown in step S2, the PAT is searched from the additional information written in the additional information area 23C of the buffer memory 23. This processing may be performed by searching for a packet with a PID of 0. As shown in FIG. 6 (2), PA
PID of PMT for each program is described in T. Here, the PID of PMT1 is “cc”, and PMT2 is
PID is described as "dd".

【0039】そこで、次にPIDが“cc”のパケット
を探す。これによりプログラム番号1に対応するPMT
1を検出することができる。図6(3)に示すように、
PMT1にはプログラム番号1の、MPEGビデオデー
タ、MPEGオーディオデータ、及びECMのPIDが
記述されている。
Therefore, next, a packet with a PID of "cc" is searched for. As a result, the PMT corresponding to program number 1
1 can be detected. As shown in FIG. 6 (3),
The PMT 1 describes the MPEG video data, MPEG audio data, and ECM PID of program number 1.

【0040】したがって、プログラム番号1の放送を見
る場合には、バッファメモリ23のMPEGビデオデー
タエリア23AからPIDが“aa”のパケットを読み
出し、デマルチプレクサ22を通してMPEGビデオデ
コーダ24へ送り、MPEGオーディオデータエリア2
3BからPIDが“ab”のパケットを読み出し、デマ
ルチプレクサ22を通してMPEGオーディオデコーダ
25へ送る。図5に示したように、このときヘッダを除
いたデータだけを送る。また、PIDが“xx”のパケ
ットに記述されているECM情報を用いてスクランブル
をデコードする。
Therefore, when watching the broadcast of the program number 1, the packet having the PID of "aa" is read from the MPEG video data area 23A of the buffer memory 23 and sent to the MPEG video decoder 24 through the demultiplexer 22 to receive the MPEG audio data. Area 2
The packet with PID "ab" is read from 3B and sent to the MPEG audio decoder 25 through the demultiplexer 22. As shown in FIG. 5, at this time, only the data excluding the header is sent. Also, the scramble is decoded using the ECM information described in the packet with the PID of "xx".

【0041】また、プログラム番号2の放送を見る場合
には、同様にしてPIDが“dd”のパケットを探す。
このパケットには図6(4)に示すように、プログラム
番号2の、ビデオデータ、オーディオデータ、及びEC
MのPIDが記述されている。そこで、MPEGビデオ
データエリア23AからPIDが“ba”のパケットを
読み出してMPEGビデオデコーダ24へ送り、MPE
Gオーディオデータエリア23BからPIDが“bb”
のパケットを読み出してMPEGオーディオデコーダ2
5へ送る。また、PIDが“zz”のパケットに記述さ
れているECM情報を用いてスクランブルをデコードす
る。
When watching the program number 2, the packet with the PID "dd" is searched for in the same manner.
In this packet, as shown in FIG. 6 (4), video data, audio data, and EC of program number 2
The PID of M is described. Therefore, the packet with the PID of "ba" is read from the MPEG video data area 23A and sent to the MPEG video decoder 24, and the MPE
PID is "bb" from the G audio data area 23B
MPEG packets to read out the packet
Send to 5. Also, the scramble is decoded using the ECM information described in the packet whose PID is "zz".

【0042】以上、フロントエンド21から入力された
トランスポートストリームをデコードする通常の処理に
ついて説明した。図4に示す受信・復調装置は、さらに
デマルチプレクサ22で分離したMPEGビデオデー
タ、MPEGオーディオデータ、及び付加情報をデジタ
ルインタフェース31を介して外部の記録再生装置、例
えばDVCRへ出力することができる。また、外部の記
録再生装置が出力したMPEGビデオデータ、MPEG
オーディオデータ、及び付加情報をデジタルインタフェ
ース31を介して受信し、デマルチプレクサ22へ送る
ことができる。次にこれらの処理について説明する。
The normal processing for decoding the transport stream input from the front end 21 has been described above. The receiving / demodulating device shown in FIG. 4 can further output the MPEG video data, the MPEG audio data, and the additional information separated by the demultiplexer 22 to an external recording / reproducing device, for example, a DVCR via the digital interface 31. Also, MPEG video data and MPEG output from an external recording / reproducing apparatus
The audio data and the additional information can be received via the digital interface 31 and sent to the demultiplexer 22. Next, these processes will be described.

【0043】まず、デマルチプレクサ22の出力をデジ
タルインタフェース31から外部へ送出する際のマイコ
ン29の処理について説明する。この処理の大半は前述
した通常の処理と同じであるため、異なる点についての
み説明する。
First, the processing of the microcomputer 29 when transmitting the output of the demultiplexer 22 from the digital interface 31 to the outside will be described. Since most of this processing is the same as the normal processing described above, only different points will be described.

【0044】MPEGビデオデータ及びMPEGオーデ
ィオデータは、パケットヘッダを付けたままデジタルイ
ンタフェース31へ送る。つまり、マイコン29がバッ
ファメモリ23から読み出すときに、ヘッダごと読み出
し、デマルチプレクサ22を通してデジタルインタフェ
ース31へ送る。
The MPEG video data and MPEG audio data are sent to the digital interface 31 with the packet header attached. That is, when the microcomputer 29 reads from the buffer memory 23, it reads the entire header and sends it to the digital interface 31 through the demultiplexer 22.

【0045】PSI及びSIもヘッダを付けたままデジ
タルインタフェース31へ送る。ただし、PATは選択
したプログラム番号のPMTを指定するPIDだけを残
し、他は除去する。例えば、プログラム番号1を選択し
た場合には、PMT1のPID(図6の場合においては
“cc”)だけを残し、他は除去する。
The PSI and SI are also sent to the digital interface 31 with the header attached. However, the PAT leaves only the PID designating the PMT of the selected program number and removes the others. For example, when the program number 1 is selected, only the PID of PMT 1 (“cc” in the case of FIG. 6) is left and the others are removed.

【0046】このようにしてデジタルインタフェース3
1へ送られたデータは、ここから外部へ送出される。デ
ジタルインタフェース31は、例えばIEEE−139
4に準拠したものである。この場合、データをIEEE
−1394のアイソクロナスパケットに入れて出力す
る。デジタルインタフェース31から出力されたアイソ
クロナスパケットは、外部のDVCRへ送られる。
In this way, the digital interface 3
The data sent to 1 is sent out from here. The digital interface 31 is, for example, IEEE-139.
4 is compliant. In this case, the data is IEEE
-Output in a 1394 isochronous packet. The isochronous packet output from the digital interface 31 is sent to the external DVCR.

【0047】図9に、前述したアイソクロナスパケット
のフォーマットを示す。タグ(tag)フィールドの2
ビットが012 のときに、データフィールドの先頭に2
クァドレットのコモンアイソクロナスパケットヘッダー
(以下CIPヘッダーという)を挿入する。デジタルビ
デオ機器やデジタルオーディオ機器等のデジタルオーデ
ィオ・ビデオ信号の実時間データを扱う目的のために、
tagの値を01とする。図10は、タグ=01
値をとる場合のCIPヘッダーを示す。また、図11
は、CIPヘッダーにおけるFMT(フォーマットタイ
プ)の割り付け例を示す。本実施の形態では、FMT=
100001でMPEG信号伝送のフォーマットを指
定している。そして、図9に示したCIPヘッダー以降
のデータブロックにMPEGのデータを入れる。
FIG. 9 shows the format of the above-mentioned isochronous packet. 2 in the tag field
When the bit is 012, 2 at the beginning of the data field
A quadlet common isochronous packet header (hereinafter referred to as a CIP header) is inserted. For the purpose of handling real-time data of digital audio / video signals of digital video equipment and digital audio equipment,
The value of tag is 01 2 . Figure 10 shows a CIP header when taking the value of the tag = 01 2. In addition, FIG.
Shows an example of FMT (format type) allocation in the CIP header. In this embodiment, FMT =
It specifies the format of the MPEG signal transmission 100001 2. Then, the MPEG data is put in the data block after the CIP header shown in FIG.

【0048】図1は、本発明を適用したDVCRの構成
を示すブロック図である。このDVCRは、アナログビ
デオ信号を符号化して記録/再生する機能と、外部から
入力されるMPEGのデジタル信号を記録/再生する機
能とを有する。
FIG. 1 is a block diagram showing the structure of a DVCR to which the present invention is applied. The DVCR has a function of encoding and recording / reproducing an analog video signal and a function of recording / reproducing an MPEG digital signal input from the outside.

【0049】まず、アナログビデオ信号の記録/再生に
ついて説明する。
First, recording / reproducing of an analog video signal will be described.

【0050】本発明を適用したDVCRは、アナログビ
デオ信号の記録を行うために、ビデオ信号をデジタル化
するA/Dコンバータ1と、A/Dコンバータ1の出力
に対してDCT(離散コサイン変換)、量子化、可変長
符号化等のデータ圧縮符号化処理を施すデータ圧縮符号
化回路2と、データ圧縮符号化回路2の出力をフレーム
化するフレーミング回路3とを備えている。
The DVCR to which the present invention is applied, in order to record an analog video signal, an A / D converter 1 for digitizing a video signal and a DCT (discrete cosine transform) for the output of the A / D converter 1. A data compression coding circuit 2 that performs data compression coding processing such as quantization and variable length coding, and a framing circuit 3 that frames the output of the data compression coding circuit 2.

【0051】このDVCRは、フレーミング回路3の出
力と後述する信号処理マイコン8が作成するビデオ補助
データ(VAUXデータ)を合成するマルチプレクサ4
と、マルチプレクサ4の出力に誤り訂正符号を付加する
誤り訂正符号付加回路7と、誤り訂正符号付加回路7の
出力に記録変調処理を施すチャネルエンコーダ6とを備
えている。
This DVCR is a multiplexer 4 for synthesizing the output of the framing circuit 3 and video auxiliary data (VAUX data) created by a signal processing microcomputer 8 described later.
And an error correction code addition circuit 7 for adding an error correction code to the output of the multiplexer 4, and a channel encoder 6 for performing recording modulation processing on the output of the error correction code addition circuit 7.

【0052】さらに、DVCRは、ユーザー操作等を基
にビデオ信号のTVチャンネル、録画日時等の情報信号
の生成等を行うモード処理マイコン7と、モード処理マ
イコン7の出力を基にVAUXデータの作成等を行う信
号処理マイコン8とを備えている。ここで、VAUXデ
ータにはTVチャンネル、録画日時、ビデオテープ上の
録画開始位置(REC START)や録画終了位置
(REC END)等がある。
Furthermore, the DVCR creates a VAUX data based on the output of the mode processing microcomputer 7 and the mode processing microcomputer 7 for generating the information signal such as the TV channel of the video signal and the recording date and time based on the user operation. And a signal processing microcomputer 8 for performing the above. Here, the VAUX data includes a TV channel, recording date and time, recording start position (REC START) and recording end position (REC END) on the video tape, and the like.

【0053】図2に、誤り訂正符号付加回路5から出力
されるデータの1トラック分のフォーマットを示す。こ
の図に示すように、ビデオデータ及びVAUXデータは
90バイトのブロック単位に形成される。このデータ
は、チャネルエンコーダ6において記録変調処理を受
け、記録アンプ(図示せず)により増幅され、磁気ヘッ
ド(図示せず)を用いてビデオテープ(図示せず)に記
録される。なお、実際のDVCRでは、ビデオデータ及
びVAUXデータと共にオーディオデータやサブコード
データ等がトラック上で時分割されて記録される。
FIG. 2 shows the format of one track of the data output from the error correction code adding circuit 5. As shown in this figure, the video data and VAUX data are formed in 90-byte block units. This data undergoes recording modulation processing in the channel encoder 6, is amplified by a recording amplifier (not shown), and is recorded on a video tape (not shown) using a magnetic head (not shown). In an actual DVCR, audio data, subcode data and the like are recorded on a track in a time division manner together with video data and VAUX data.

【0054】以上、アナログのビデオ入力信号を符号化
して記録することについて説明した。次に、記録されて
いるビデオ信号の再生について説明する。
The encoding and recording of the analog video input signal has been described above. Next, reproduction of the recorded video signal will be described.

【0055】本発明を適用したDVCRは、ビデオテー
プから再生され、再生アンプ(図示せず)で増幅された
データの波形等化やデータクロックの再生等を行う再生
回路9と、再生回路9の出力データに対して記録復調処
理を施すチャネルデコーダ10と、チャネルデコーダ1
0の出力に対して誤り訂正処理を施す誤り訂正回路11
と、誤り訂正回路11の出力からビデオデータとVAU
Xデータとを分離するデマルチプレクサ12と、このビ
デオデータのフレームを分解するデフレーミング回路1
3と、デフレーミング回路13の出力に対して、可変長
符号の復号、逆量子化、逆DCT等の処理を施すデータ
圧縮復号化回路14と、データ圧縮復号化回路14の出
力をアナログ化してアナログビデオ信号に変換するD/
Aコンバータ15とを備えている。なお、デマルチプレ
クサ12で分離されたVAUXデータは、信号処理マイ
コン8へ送られ、ここからモード処理マイコン7へ送ら
れる。
The DVCR to which the present invention is applied is composed of a reproducing circuit 9 for reproducing waveforms of data reproduced from a video tape and amplified by a reproducing amplifier (not shown) and reproducing a data clock. A channel decoder 10 for recording and demodulating output data, and a channel decoder 1
Error correction circuit 11 for performing error correction processing on the output of 0
And video data and VAU from the output of the error correction circuit 11.
Demultiplexer 12 for separating X data and deframing circuit 1 for decomposing a frame of this video data
3, a data compression decoding circuit 14 that performs processing such as variable length code decoding, inverse quantization, and inverse DCT on the output of the deframing circuit 13, and the output of the data compression decoding circuit 14 is converted into an analog signal. D / to convert to analog video signal
And an A converter 15. The VAUX data separated by the demultiplexer 12 is sent to the signal processing microcomputer 8 and from there to the mode processing microcomputer 7.

【0056】次に、外部から入力される符号化されてい
る信号の記録/再生について説明する。このDVCR
は、デジタルインタフェース16を備えている。このデ
ジタルインタフェース16は、図4の受信・復調装置に
おけるデジタルインタフェース31と同様に構成されて
いる。そして、図4のデジタルインタフェース31との
間で、IEEE−1394のパケットの送受信を行う。
Next, recording / reproducing of an encoded signal input from the outside will be described. This DVCR
Has a digital interface 16. The digital interface 16 has the same structure as the digital interface 31 in the receiving / demodulating device shown in FIG. Then, the IEEE-1394 packet is transmitted / received to / from the digital interface 31 of FIG.

【0057】次に、デジタルインタフェース16から入
力されるMPEGデータを記録する動作を説明する。前
述したように、このMPEGデータは、図4の受信・復
調装置のデジタルインタフェース31からアイソクロナ
スパケットに入れて伝送されたものである。
Next, the operation of recording the MPEG data input from the digital interface 16 will be described. As described above, this MPEG data is transmitted in the isochronous packet from the digital interface 31 of the receiving / demodulating device of FIG.

【0058】まず、デジタルインタフェース16におい
てアイソクロナスパケットからMPEGのデータ、すな
わちMPEGビデオデータ、MPEGオーディオデー
タ、及び付加情報が分離される。分離されたデータはス
イッチSW1を通ってマルチプレクサ4へ送られ、ここ
で信号処理マイコン8から出力されたVAUXデータと
多重化され、誤り訂正符号付加回路5により、図2のフ
ォーマットに形成される。つまり、MPEGビデオデー
タ、MPEGオーディオデータ、及び付加情報の全てが
ビデオデータの記録エリアに記録されることになる。誤
り訂正符号付加回路5以後の処理については、前述した
アナログビデオ入力信号の記録時と同じである。
First, in the digital interface 16, MPEG data, that is, MPEG video data, MPEG audio data, and additional information are separated from the isochronous packet. The separated data is sent to the multiplexer 4 through the switch SW1, where it is multiplexed with the VAUX data output from the signal processing microcomputer 8 and formed into the format of FIG. 2 by the error correction code adding circuit 5. That is, the MPEG video data, the MPEG audio data, and the additional information are all recorded in the video data recording area. The processing after the error correction code adding circuit 5 is the same as the recording of the analog video input signal described above.

【0059】次に、MPEGデータの再生時の処理につ
いて説明する。再生時の処理も、再生データをデマルチ
プレクサ12へ入力するまでは、前述したビデオ信号の
再生時と同じである。デマルチプレクサ12に入力され
た再生データは、ここでMPEGのデータとVAUXデ
ータとに分離される。MPEGのデータはスイッチSW
2を通ってデジタルインタフェース16へ送られる。ま
た、VAUXデータは、信号処理マイコン8へ送られ
る。
Next, the processing for reproducing the MPEG data will be described. The processing at the time of reproduction is the same as that at the time of reproducing the video signal described above until the reproduction data is input to the demultiplexer 12. The reproduction data input to the demultiplexer 12 is separated into MPEG data and VAUX data here. Switch SW for MPEG data
2 to the digital interface 16. Further, the VAUX data is sent to the signal processing microcomputer 8.

【0060】デジタルインタフェース16では、MPE
Gデータに対して図9及び図10に示したヘッダーを付
加し、アイソクロナスパケットとして外部へ出力する。
このアイソクロナスパケットは受信・復調装置のデジタ
ルインタフェース31へ入力され、ここで元のMPEG
のビデオデータ、MPEGのビデオデータ、及び付加情
報が取り出され、デマルチプレクサ22を通ってバッフ
ァメモリ23に書き込まれる。
In the digital interface 16, the MPE
The header shown in FIGS. 9 and 10 is added to the G data, and the G data is output to the outside as an isochronous packet.
This isochronous packet is input to the digital interface 31 of the receiving / demodulating device, where the original MPEG
Video data of MPEG, video data of MPEG, and additional information are extracted and written in the buffer memory 23 through the demultiplexer 22.

【0061】バッファメモリ23に書き込まれたMPE
Gビデオデータ及びMPEGオーディオデータの処理
は、前述した、フロントエンド21から入力されたトラ
ンスポートストリーム中のこれらのデータの処理と同じ
である。一方、バッファメモリ23に書き込まれたPS
I及びSIに対してマイコン29は以下のように処理す
る。
MPE written in the buffer memory 23
The processing of G video data and MPEG audio data is the same as the processing of these data in the transport stream input from the front end 21 described above. On the other hand, the PS written in the buffer memory 23
The microcomputer 29 processes I and SI as follows.

【0062】PATとPMTは、そのまま使用する。前
述したように、受信・復調装置から外部のDVCRへデ
ータを出力する際に、PATから選択したプログラム番
号のPMTを指定するPIDだけを残し、他は除去して
いるので、ここで外部のDVCRから入力されたデータ
中のPATには入力中のプログラム番号のPMTを指定
するPIDだけが記述されている。したがって、PAT
を見てPMTを探し、そのPMTを見て入力中のプログ
ラムのMPEGビデオデータ及びMPEGオーディオデ
ータを読み出すことができる。読み出したMPEGビデ
オデータ及びMPEGオーディオデータは、デマルチプ
レクサ22を通ってMPEGビデオデコータ24及びM
PEGオーディオデコータ25へ送られ、以後フロント
エンド21からのこれらのデータと同様に処理される。
The PAT and PMT are used as they are. As described above, when the data is output from the receiving / demodulating device to the external DVCR, only the PID designating the PMT of the program number selected from the PAT is left and the others are removed. In the PAT in the data input from, only the PID designating the PMT of the program number being input is described. Therefore, PAT
Can be searched for the PMT, and the PMT can be read to read the MPEG video data and the MPEG audio data of the program being input. The read MPEG video data and MPEG audio data pass through the demultiplexer 22 and the MPEG video decoder 24 and M
It is sent to the PEG audio decoder 25, and thereafter, processed in the same manner as these data from the front end 21.

【0063】EITについては、PAT内に記述されて
いるプログラムのアクチュアル(actual)かつプレゼント
(present)の情報のみをデコードし、他は無視する。こ
こで、アクチュアルとは選択したチャンネルのトランス
ポートストリームであることを意味し、プレゼントとは
選択したプログラムが現在放送中であることを意味す
る。
Regarding EIT, the actual and present of the program described in PAT
Decode only the (present) information and ignore the others. Here, “actual” means a transport stream of the selected channel, and “present” means that the selected program is currently being broadcast.

【0064】RSTについては、PAT内に記述されて
いるプログラムに関するもののみをデコードし、他は無
視する。SDTについては、PAT内に記述されている
プログラムのアクチュアルのもののみをデコードし、他
は無視する。
Regarding the RST, only those relating to the program described in the PAT are decoded and the others are ignored. Regarding SDT, only the actual one of the program described in PAT is decoded, and the others are ignored.

【0065】NITは、フロントエンド21における設
定に必要であるが、デマルチプレクサ22においては必
要ないので無視する。BATについても、同様に無視す
る。
The NIT is necessary for the setting in the front end 21, but is not necessary in the demultiplexer 22, so it is ignored. Similarly, BAT is also ignored.

【0066】TDTについては、外部のDVCRの再生
信号を入力する際には、再生信号中のTDTは録画時の
時刻を示すものであって、現在の時刻を示すものではな
いため、このTDTは無視する。これにより、内蔵時計
の時刻合わせの際に誤った時間に合わせる事態を避ける
ことができる。
Regarding the TDT, when the reproduction signal of the external DVCR is input, the TDT in the reproduction signal indicates the time at the time of recording, and does not indicate the current time. Therefore, this TDT is ignore. As a result, it is possible to avoid a situation where the internal clock is set to the wrong time when the time is set.

【0067】さらに、外部のDVCRから複数個のプロ
グラムが連続的に入力される場合について説明する。前
述したように、マイコン29はPATを見てPMTを探
し、そのPMTを見て外部のDVCRから入力中のプロ
グラムのMPEGビデオデータ及びMPEGオーディオ
データを読み出す。ところが、外部のDVCRが複数個
のプログラムを連続的に出力している際に、マイコン2
9はプログラムが切り替わった場合には、新たにPAT
を見てPMTを探し、切り替わったプログラムのMPE
Gビデオデータ及びMPEGオーディオデータを読みだ
すことができない。また、MPEGビデオデコーダ24
及びMPEGオーディオデコーダ25においては、復号
化処理に過去のデータを用いているため、プログラムが
切り替わったときには、バッファメモリ24a及び25
a内に残っている切り替え前のプログラムのデータをク
リアしなければ、正しい復号化ができない。
Further, a case where a plurality of programs are continuously input from an external DVCR will be described. As described above, the microcomputer 29 looks up the PAT to find the PMT, looks at the PMT, and reads the MPEG video data and MPEG audio data of the program being input from the external DVCR. However, when the external DVCR continuously outputs a plurality of programs, the microcomputer 2
9 is a new PAT when the program is switched.
To find PMT and see the MPE of the switched program
G video data and MPEG audio data cannot be read. In addition, the MPEG video decoder 24
Since the MPEG audio decoder 25 uses the past data for the decoding process, when the program is switched, the buffer memories 24a and 25 are used.
Correct decoding cannot be performed unless the data of the program before switching remaining in a is cleared.

【0068】同様に、SIについても、トランスポート
ストリームの異なるプログラムに切り替わった場合に
は、バッファメモリ23内のSIを書き換えることが必
要となる。
Similarly, regarding the SI, it is necessary to rewrite the SI in the buffer memory 23 when the program is switched to a different program of the transport stream.

【0069】そこで、本実施の形態では、DVCRが再
生しているプログラムが変化したときに、アイソクロナ
スパケットのヘッダにそれを識別するフラグを設けてい
る。すなわち、図10のFDFのビットb0に不連続フ
ラグを設けている。
Therefore, in the present embodiment, when the program reproduced by the DVCR changes, a flag for identifying it is provided in the header of the isochronous packet. That is, the discontinuity flag is provided in the bit b0 of the FDF in FIG.

【0070】この不連続フラグは、DVCRの再生信号
においてトランスポートストリームが不連続になったと
きに所定の時間(例、1秒間)“H(ハイ)”レベルに
する。具体的には、信号処理マイコン8がデマルチプレ
クサ12から送られてくる再生VAUXデータ中に記録
開始位置(REC START)や記録終了位置(RE
C END)を示すデータを検出したときに、デジタル
インタフェース16に知らせることにより、不連続フラ
グを“H(ハイ)”レベルにする。
This discontinuity flag is set to the "H (high)" level for a predetermined time (eg, 1 second) when the transport stream becomes discontinuous in the DVCR reproduction signal. Specifically, the signal processing microcomputer 8 includes a recording start position (REC START) and a recording end position (RE) in the reproduction VAUX data sent from the demultiplexer 12.
When the data indicating C END) is detected, the discontinuity flag is set to the “H (high)” level by notifying the digital interface 16.

【0071】そして、受信・復調装置においては、デジ
タルインタフェース31により、この不連続フラグを検
出すると、マイコン29がバッファメモリ23内のSI
を書き換えると共に、MPEGビデオデコーダ24及び
MPEGオーディオデコーダ25に対して、それぞれの
バッファメモリ24a,25aをクリアする指令を与え
る。
In the receiving / demodulating device, when the discontinuity flag is detected by the digital interface 31, the microcomputer 29 detects the SI in the buffer memory 23.
Is given, and an instruction to clear the buffer memories 24a and 25a is given to the MPEG video decoder 24 and the MPEG audio decoder 25.

【0072】また、本実施の形態では、DVCRのモー
ドが停止(STOP)から再生(PB)に変化した時に
も、前述した不連続フラグを“H(ハイ)”レベルにす
る。具体的には、モード処理マイコン7がユーザーのP
B操作を検出し、それを信号処理マイコン8へ伝え、信
号処理マイコン8がデジタルインタフェース16に指令
することで実現する。これにより、DVCRがプログラ
ムの途中から再生した場合等においても、受信・復調装
置におけるバッファメモリ24a及び25a内のデータ
のクリアとバッファメモリ23内のSIの書き換えを実
行できるようにしている。
Further, in the present embodiment, even when the DVCR mode changes from stop (STOP) to reproduction (PB), the above-mentioned discontinuity flag is set to the "H (high)" level. Specifically, the mode processing microcomputer 7 sets the user's P
This is realized by detecting the B operation, transmitting it to the signal processing microcomputer 8, and instructing the digital interface 16 by the signal processing microcomputer 8. As a result, even when the DVCR is reproduced from the middle of the program, the data in the buffer memories 24a and 25a in the receiving / demodulating device can be cleared and the SI in the buffer memory 23 can be rewritten.

【0073】さらに、本実施の形態では、FDFのビッ
トb1に変速再生フラグを設けている。これは、DVC
Rの動作モードがスロー及びキュー/レビューの時に
“H(ハイ)”レベルにするフラグである。このような
変速再生時には、MPEGのIピクチャーのみが有効デ
ータとなるため、バッファメモリ24aがアンダフロー
し、その結果次のIピクチャーが復号化されるまでMP
EGビデオデコーダ24の出力が途切れてしまう。そこ
で、受信・復調装置では、この変速再生フラグを検出し
た時には、次のIピクチャーが入力されるまで最後に復
号化したIピクチャーをMPEGビデオデコーダ24か
ら出力し続けるように構成している。
Further, in this embodiment, the variable speed reproduction flag is provided in the bit b1 of the FDF. This is DVC
This flag is set to "H (high)" level when the operation mode of R is slow and cue / review. During such variable speed reproduction, since only the MPEG I picture is valid data, the buffer memory 24a underflows, and as a result, the MP picture is read until the next I picture is decoded.
The output of the EG video decoder 24 is interrupted. Therefore, the receiving / demodulating device is configured so that when the variable speed reproduction flag is detected, the last decoded I picture is continuously output from the MPEG video decoder 24 until the next I picture is input.

【0074】以上説明したフラグを、図3に示す。ここ
で、NPはノーマルプレイのデータであり、TPはトリ
ックプレイのデータである。また、NP1→NP2は、
ノーマルプレイのプログラムが変化したことを示す。
The flags described above are shown in FIG. Here, NP is normal play data and TP is trick play data. In addition, NP1 → NP2 is
Indicates that the normal play program has changed.

【0075】[0075]

【発明の効果】以上詳細に説明したように、本発明に係
る電子機器及び信号処理方法は、デジタルインターフェ
イスを介して受信されるトランスポートストリーム中の
付加情報内に不連続情報が検出されたときには、ビデオ
デコーダとオーディオデコーダに関連するバッファメモ
リをクリアすることにより、プログラムが切り替わった
ときでも、ビデオデータを正しく復号化することができ
る。
As described in detail above, the electronic device and the signal processing method according to the present invention are used when discontinuity information is detected in the additional information in the transport stream received through the digital interface. By clearing the buffer memories associated with the video decoder and the audio decoder, the video data can be correctly decoded even when the program is switched.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明を適用したDVCRの構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a DVCR to which the present invention has been applied.

【図2】図1の誤り訂正符号付加回路から出力されるデ
ータの1トラック分のフォーマットを示す図である。
FIG. 2 is a diagram showing a format for one track of data output from the error correction code addition circuit of FIG.

【図3】本発明を適用したDVCRにおけるフラグを示
す図である。
FIG. 3 is a diagram showing flags in a DVCR to which the present invention has been applied.

【図4】本発明を適用したデジタル信号記録再生装置の
出力を受けるように構成した受信・復調装置の構成を示
すブロック図である。
FIG. 4 is a block diagram showing a configuration of a receiving / demodulating device configured to receive an output of a digital signal recording / reproducing device to which the present invention is applied.

【図5】1チャンネル分のトランスポートストリームの
例を示す図である。
[Fig. 5] Fig. 5 is a diagram illustrating an example of a transport stream for one channel.

【図6】デマルチプレクサへ入力されるトランスポート
ストリームの1例とその中のPAT及びPMTの内容を
示す図である。
FIG. 6 is a diagram showing an example of a transport stream input to a demultiplexer and the contents of PAT and PMT therein.

【図7】図4におけるバッファメモリ3の内部構成例を
示す図である。
7 is a diagram showing an internal configuration example of a buffer memory 3 in FIG.

【図8】デマルチプレクサの出力をMPEGビデオデコ
ーダ及びMPEGオーディオデコーダへ送る際のマイコ
ンの処理の流れを示す図である。
FIG. 8 is a diagram showing a processing flow of a microcomputer when sending an output of a demultiplexer to an MPEG video decoder and an MPEG audio decoder.

【図9】アイソクロナスパケットのフォーマットを示す
図である。
FIG. 9 is a diagram showing a format of an isochronous packet.

【図10】タグ=01の値をとる場合のCIPヘッダ
ーを示す図である。
10 is a diagram showing a CIP header when taking tag = 01 2 values.

【図11】CIPヘッダーにおけるFMTの割り付け例
を示す図である。
FIG. 11 is a diagram showing an example of FMT allocation in a CIP header.

【符号の説明】[Explanation of symbols]

5 誤り訂正符号付加回路、 6 チャネルエンコー
ダ、 7 モード処理マイコン、 8 信号処理マイコ
ン、 9 再生回路、 10 チャネルデコーダ、 1
1 誤り訂正回路、 16 デジタルインタフェース
5 error correction code addition circuit, 6 channel encoder, 7 mode processing microcomputer, 8 signal processing microcomputer, 9 reproduction circuit, 10 channel decoder, 1
1 error correction circuit, 16 digital interface

フロントページの続き (72)発明者 嶋 久登 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5C025 BA14 BA25 BA27 DA04 DA05 5C053 FA22 GB04 GB06 GB37 HA21 LA07 5C063 AB07 CA23 CA36 DA07 DA13 EB04 EB29 Continued front page    (72) Inventor Hisato Shima             6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Soni             -Inside the corporation F-term (reference) 5C025 BA14 BA25 BA27 DA04 DA05                 5C053 FA22 GB04 GB06 GB37 HA21                       LA07                 5C063 AB07 CA23 CA36 DA07 DA13                       EB04 EB29

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 トランスポートストリームをデジタルイ
ンターフェイスを介して他の機器から受信することが可
能な電子機器において、 上記デジタルインターフェイスを介して受信されるトラ
ンスポートストリーム中の付加情報内に不連続情報が含
まれているか否かを検出する検出手段と、 上記トランスポートストリームに含まれるビデオデータ
を復号するビデオデコーダと、 上記トランスポートストリームに含まれるオーディオデ
ータを復号するオーディオデコーダとを備え、 上記不連続情報が検出されたときには、上記ビデオデコ
ーダとオーディオデコーダに関連するバッファメモリを
クリアするようにしたことを特徴とする電子機器。
1. An electronic device capable of receiving a transport stream from another device via a digital interface, wherein discontinuity information is included in additional information in the transport stream received via the digital interface. The discontinuity comprises: detection means for detecting whether or not it is included, a video decoder for decoding video data included in the transport stream, and an audio decoder for decoding audio data included in the transport stream. An electronic device characterized in that when information is detected, a buffer memory associated with the video decoder and the audio decoder is cleared.
【請求項2】 トランスポートストリームをデジタルイ
ンターフェイスを介して他の機器から受信する信号処理
方法であって、 上記デジタルインターフェイスを介して受信されるトラ
ンスポートストリーム中の付加情報内に不連続情報が含
まれているか否かを検出し、 上記トランスポートストリームに含まれるビデオデータ
をビデオデコーダで復号し、 上記トランスポートストリームに含まれるオーディオデ
ータをオーディオデコーダで復号し、 上記不連続情報が検出されたときには、上記ビデオデコ
ーダとオーディオデコーダに関連するバッファメモリを
クリアするようにしたことを特徴とする信号処理方法。
2. A signal processing method for receiving a transport stream from another device via a digital interface, wherein discontinuity information is included in additional information in the transport stream received via the digital interface. Is detected, the video data included in the transport stream is decoded by the video decoder, the audio data included in the transport stream is decoded by the audio decoder, and when the discontinuity information is detected, , A signal processing method characterized in that a buffer memory associated with the video decoder and the audio decoder is cleared.
JP2003032826A 2003-02-10 2003-02-10 Electronic apparatus and signal processing method Expired - Lifetime JP3716836B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003032826A JP3716836B2 (en) 2003-02-10 2003-02-10 Electronic apparatus and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003032826A JP3716836B2 (en) 2003-02-10 2003-02-10 Electronic apparatus and signal processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP35283095A Division JP4190594B2 (en) 1995-12-25 1995-12-28 Electronic apparatus and signal processing method

Publications (2)

Publication Number Publication Date
JP2003259308A true JP2003259308A (en) 2003-09-12
JP3716836B2 JP3716836B2 (en) 2005-11-16

Family

ID=28672867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003032826A Expired - Lifetime JP3716836B2 (en) 2003-02-10 2003-02-10 Electronic apparatus and signal processing method

Country Status (1)

Country Link
JP (1) JP3716836B2 (en)

Also Published As

Publication number Publication date
JP3716836B2 (en) 2005-11-16

Similar Documents

Publication Publication Date Title
KR100461206B1 (en) Digital Signal Processors and Digital Signal Processing Methods
JP4190594B2 (en) Electronic apparatus and signal processing method
JP3593773B2 (en) Reproduction device and signal processing method
JP3666093B2 (en) Digital signal processor
JP3716836B2 (en) Electronic apparatus and signal processing method
JP3716834B2 (en) Playback apparatus and playback method
JP3716835B2 (en) Playback apparatus and playback method
JP3125787B2 (en) Electronic equipment and signal processing method
JP4296895B2 (en) Data processing apparatus and method
JP4277843B2 (en) Digital signal recording / reproducing apparatus and digital signal reproducing method
JP3127920B2 (en) Digital signal processing device and signal processing method
JP3125786B2 (en) Electronic equipment and signal processing method
KR100484557B1 (en) Digital signal processing device, digital signal processor and digital signal processing method
JP2000236499A (en) Digital broadcast receiver
JP2001298675A (en) Device and method for processing information and recording medium

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050822

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080909

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100909

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110909

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110909

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120909

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130909

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term