JP2002269897A - Device and method for recording and reproducing - Google Patents

Device and method for recording and reproducing

Info

Publication number
JP2002269897A
JP2002269897A JP2001071066A JP2001071066A JP2002269897A JP 2002269897 A JP2002269897 A JP 2002269897A JP 2001071066 A JP2001071066 A JP 2001071066A JP 2001071066 A JP2001071066 A JP 2001071066A JP 2002269897 A JP2002269897 A JP 2002269897A
Authority
JP
Japan
Prior art keywords
data
count value
recording medium
extracted
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001071066A
Other languages
Japanese (ja)
Inventor
Koichi Kurihara
弘一 栗原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001071066A priority Critical patent/JP2002269897A/en
Publication of JP2002269897A publication Critical patent/JP2002269897A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent an overflow and underflow in a buffer arranged in a MPEG-2 decoder. SOLUTION: A selecting means 15 selects data of prescribed data group from an input data stream by each transmission unit. A counter 20 counts time information corresponding to the data selected by the selecting means 15. An adding means 23 adds the count value of the counter 20 at the time when the data are selected by the selecting means 15, to the data selected by the selecting means 15, and supplies the result to a recording medium.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、トランスポートス
トリームにより伝送されるデジタル放送プログラム(番
組)データを記録再生する記録再生装置及び記録再生方
法に関する。
The present invention relates to a recording / reproducing apparatus and a recording / reproducing method for recording / reproducing digital broadcast program (program) data transmitted by a transport stream.

【0002】[0002]

【従来の技術】近年、MPEG(Moving Picture Exper
ts Group)2と呼ばれる符号化方式(MPEG2規格)
を用いたテレビジョン放送のデジタル化が実施されてい
る。MPEG2規格を用いたデジタル放送において、映
像、音声、文字等の符号化データ(PES:Packetized
Elementary Stream形式やSection形式などがある)
は、図5に示すパケットと呼ばれる構造に分割され、こ
のパケット群からなるトランスポートストリーム(T
S)によって伝送される。
2. Description of the Related Art In recent years, MPEG (Moving Picture Exper
ts Group) 2 (MPEG2 standard)
Digitalization of television broadcasts has been implemented. In digital broadcasting using the MPEG2 standard, encoded data such as video, audio, and text (PES: Packetized
Elementary Stream format, Section format, etc.)
Is divided into a structure called a packet shown in FIG. 5, and a transport stream (T
S).

【0003】図5に示すように、MPEG2規格のパケ
ット(MPEG−TSパケット)は、主としてヘッダ
(Header)、アダプテーションフィールド(Adaptation
Field)、ペイロード(Payload)の3部から構成されてい
る。なお、図5は、バイトアラインした際の構造図であ
り、分かり易いように、各バイト(8ビット)データに
は先頭バイトから順に0〜187までの番号をByte Num
ber(BN)として付している。
As shown in FIG. 5, a packet conforming to the MPEG2 standard (MPEG-TS packet) is mainly composed of a header and an adaptation field.
Field) and payload (Payload). FIG. 5 is a structural diagram when byte alignment is performed. For simplicity, each byte (8 bits) data is numbered from 0 to 187 in order from the leading byte.
ber (BN).

【0004】図5に示すように、MPEG−TSパケッ
トは、188バイト長を有している。ヘッダは4バイト
長で、各パケットに必ず付加されるデータ部である。こ
のヘッダは、パケットの先頭を示すsync(同期)バ
イトやパケットの種類を識別するPID(Program Iden
tifier)などを含んでいる。
[0004] As shown in FIG. 5, an MPEG-TS packet has a length of 188 bytes. The header has a length of 4 bytes and is a data part always added to each packet. This header includes a sync (synchronization) byte indicating the beginning of the packet and a PID (Program ID
tifier).

【0005】アダプテーションフィールドは、PCR
(Program Clock Reference)と呼ばれる送信側の時間
軸を受信側で再現するための時刻基準情報などを含んで
いる。このPCRは、送信側から定期的に伝送される。
The adaptation field contains the PCR
It includes time reference information for reproducing a time axis on the transmission side called “Program Clock Reference” on the reception side. This PCR is periodically transmitted from the transmission side.

【0006】ペイロードには、PESやSection
データが分割・多重されている。アダプテーションフィ
ールド及びペイロードの有無は、ヘッダのアダプテーシ
ョンフィールドフラグ:adffに記述されている。ア
ダプテーションフィールドが含まれている場合、その最
初のバイト:adf−lenにアダプテーションフィー
ルド長が記述されている。受信側は、このadf−le
nをもとにアダプテーションフィールドとペイロードと
の境界を検出することができる。
The payload includes a PES or a section.
Data is split or multiplexed. The presence or absence of the adaptation field and the payload is described in an adaptation field flag: adff of the header. When the adaptation field is included, the adaptation field length is described in the first byte: adf-len. The receiving side, this adf-le
The boundary between the adaptation field and the payload can be detected based on n.

【0007】その他、図5に示した各データの役割は周
知であるため、ここではその名称のみを示し、説明は省
略する。
In addition, since the role of each data shown in FIG. 5 is well known, only the name is shown here, and the description is omitted.

【0008】err:エラーインジケータ、unit:
Unit Startインジケータ、pri:優先度インジケー
タ、scrm:スクランブルフラグ、cc:Continuity
Counter、tbdis:Time Base Discontinuity、p
crf:pcrフラグ。
Err: error indicator, unit:
Unit Start indicator, pri: priority indicator, scrm: scramble flag, cc: Continuity
Counter, tbdis: Time Base Discontinuity, p
crf: pcr flag.

【0009】受信側は、MPEG2デコーダ(復号化装
置)により、上記のようなトランスポートストリーム構
造から、PIDを参照し、同一PIDのパケットを抽出
することで伝送ストリームから所望のプログラム(番
組)のみを復号することができる。したがって、MPE
G2規格に対応したテレビジョン受像機は、例えば複数
番組A、B、Cの符号化データを含むトランスポートス
トリームが入力された場合でも、所望の1番組のみを取
り出すことができる。
On the receiving side, the MPEG2 decoder (decoding device) refers to the PID from the transport stream structure as described above, and extracts the packet of the same PID, thereby only the desired program (program) from the transmission stream. Can be decoded. Therefore, the MPE
A television receiver compliant with the G2 standard can take out only one desired program even when a transport stream including coded data of a plurality of programs A, B, and C is input, for example.

【0010】ところで、このように複数番組の符号化デ
ータを含むトランスポートストリームから所望のパケッ
トのみを抽出して、記録媒体としての例えばテープ、ハ
ードディスク、DVD(Digital Versatile Disk)ある
いはメモリに記録することが考えられる。なお、デジタ
ル放送規格などでは、抽出されたパケット群をパーシャ
ルTSと呼び、これと区別する意味で、複数番組のパケ
ットが多重化されている抽出前の状態をフルTSと呼ん
でいる。したがって、所望のパケット群(番組)のみを
記録媒体に記録或いは再生することを「パーシャルTS
録画/再生」と表現する場合がある。
By the way, only desired packets are extracted from the transport stream including the coded data of a plurality of programs and recorded on a recording medium such as a tape, a hard disk, a DVD (Digital Versatile Disk) or a memory. Can be considered. In the digital broadcasting standard and the like, the extracted packet group is called a partial TS, and a state before extraction in which packets of a plurality of programs are multiplexed is called a full TS in a sense to distinguish it from the partial TS. Therefore, recording or reproducing only a desired packet group (program) on a recording medium is referred to as “partial TS”.
Recording / playback ".

【0011】図6は、このパーシャルTS録画/再生処
理を説明するために示す図である。図6(a)は受信ス
トリーム(フルTS或いはトランスポートストリー
ム)、図6(b)は受信ストリームから抽出したパケッ
ト(パーシャルTS)、図6(c)は記録媒体から再生
したパケット、図6(d)はバッファ容量をそれぞれ示
している。また、図7は記録媒体に記録されたパケット
を示している。
FIG. 6 is a diagram for explaining the partial TS recording / playback processing. FIG. 6A shows a received stream (full TS or transport stream), FIG. 6B shows a packet (partial TS) extracted from the received stream, FIG. 6C shows a packet reproduced from a recording medium, and FIG. d) indicates the buffer capacity, respectively. FIG. 7 shows a packet recorded on a recording medium.

【0012】図6(a)に示す受信ストリームは、送信
側にて3種類の番組A、B、Cを符号化し、各番組A、
B、Cをさらに、A1、A2、…及びB1、B2、…及
びC1、C2、…、とそれぞれパケット化し、MPEG
2規格のトランスポートストリームとして伝送されてき
たものとする。
The receiving stream shown in FIG. 6 (a) encodes three types of programs A, B, and C on the transmitting side, and
B and C are further packetized as A1, A2,... And B1, B2,.
It is assumed that the data has been transmitted as a transport stream of two standards.

【0013】ところで、一般的にMPEG2デコーダに
おけるデコード時間は、データの内容によって異なる。
このため、処理時間の差を吸収するため、MPEG2デ
コーダは、受信(符号化)データを一旦バッファに格納
している。このバッファの容量は、MPEG2規格にお
いて定められている。このため、送信側では、このバッ
ファにおいて、オーバーフロー又はアンダーフローが発
生しないように伝送ストリーム(受信側或いはMPEG
2デコーダからみたときの受信ストリーム)を制御して
いる。すなわち、送信側では各パケットの復号化時間を
考慮して、同一種類(番組)のパケットの連続数や伝送
クロックを決定している。
By the way, generally, the decoding time in the MPEG2 decoder differs depending on the contents of data.
Therefore, in order to absorb the difference in processing time, the MPEG2 decoder temporarily stores the received (encoded) data in a buffer. The capacity of this buffer is defined in the MPEG2 standard. For this reason, on the transmitting side, the transmission stream (receiving side or MPEG) is used to prevent overflow or underflow from occurring in this buffer.
2 decoder). That is, the transmitting side determines the number of consecutive packets of the same type (program) and the transmission clock in consideration of the decoding time of each packet.

【0014】例えば、図6(a)に示すように、3種類
の番組を1つのトランスポートストリームとして伝送す
るためには、1番組の3倍以上のデータ量を単位時間当
たりに伝送しなければならない。このため、1つのトラ
ンスポートストリームで1番組を伝送するために、最低
限必要な伝送クロックの少なくとも3倍の周波数が必要
になる。
For example, as shown in FIG. 6A, in order to transmit three types of programs as one transport stream, it is necessary to transmit three times or more the data amount of one program per unit time. No. Therefore, in order to transmit one program by one transport stream, a frequency that is at least three times the minimum required transmission clock is required.

【0015】また、図6(a)に示す受信ストリーム
は、パケットA2の入力が終了してからパケットA3の
入力が終了する迄に3パケット分の入力時間を有してい
る。このため、パケットA1、A2の復号化処理に3パ
ケット分の復号化時間が必要である可能性を示してい
る。
The received stream shown in FIG. 6A has an input time for three packets from the end of the input of the packet A2 to the end of the input of the packet A3. This indicates that the decoding process of the packets A1 and A2 may require three packets of decoding time.

【0016】いま、図6(b)に示すように、番組Aに
基づくパケットA1、A2、…のみを抽出して記録する
場合を考える。この抽出パケット群を便宜上、パーシャ
ルAとする。パーシャルAを記録媒体に記録データとし
て記録する(書込む)場合、図7に示すように、パーシ
ャルA中の各パケットA1、A2、…は入力順に連続し
て記録される。このように連続して記録することによ
り、記録媒体の記憶容量を削減することができる。
Now, consider a case where only packets A1, A2,... Based on program A are extracted and recorded as shown in FIG. This extracted packet group is referred to as partial A for convenience. When the partial A is recorded (written) as recording data on the recording medium, as shown in FIG. 7, the packets A1, A2,... By recording continuously in this manner, the storage capacity of the recording medium can be reduced.

【0017】パーシャルAを記録媒体から再生する(読
み出す)場合、バッファにおいてオーバーフロー又はア
ンダーフローが発生することを防ぐため、再生データの
レートを元の伝送レートに戻し、この後、MPEG2デ
コーダへ供給しなければならない。再生データのレート
復元の方法は、再生されたパケットA1、A2、…を等
間隔で出力する場合と、図6(c)に示すように、バー
スト的に配列して出力する場合がある。
When reproducing (reading) the partial A from the recording medium, in order to prevent overflow or underflow from occurring in the buffer, the reproduction data rate is returned to the original transmission rate, and thereafter, the data is supplied to the MPEG2 decoder. There must be. The method of restoring the rate of the reproduced data includes outputting the reproduced packets A1, A2,... At equal intervals, and outputting the packets A1, A2,... In a burst arrangement as shown in FIG.

【0018】参考までに、MPEG2デコーダへの供給
レートの求め方(復元方法)の一例を示す。PCR(Pr
ogram Clock Reference)を含む2つのパケットA
(n)とA(n+k)間の符号化データ数Nと、この2
つのパケットに多重化されているPCR(n)とPCR
(n+k)を調べる。すなわち、おおよそN/(PCR
(n+k)−PCR(n))により、番組Aの単位時間
当たりの伝送データ量を示す平均伝送レート、すなわ
ち、供給レートを求めることができる。
For reference, an example of how to determine the supply rate to the MPEG2 decoder (restoration method) will be described. PCR (Pr
gram Clock Reference)
(N) and the number N of coded data between A (n + k) and this 2
PCR (n) and PCR multiplexed into one packet
Check (n + k). That is, approximately N / (PCR
By (n + k) -PCR (n)), an average transmission rate indicating the amount of transmission data per unit time of the program A, that is, a supply rate can be obtained.

【0019】この供給レートから求まる供給(或いは出
力)クロックを用いて再生データを出力した場合、パケ
ットは等間隔になる。また、予め定めた全ての伝送クロ
ックよりも周波数が高い供給クロックを用いて再生デー
タを出力した場合、パケットはバースト的になる。どち
らの場合もある一定時間(例えば1秒)内で平均化した
供給レートは同一となる。
When reproduced data is output using a supply (or output) clock obtained from this supply rate, packets are equally spaced. If the reproduced data is output using a supply clock having a higher frequency than all predetermined transmission clocks, the packet becomes bursty. In both cases, the supply rates averaged within a certain time (for example, one second) are the same.

【0020】しかしながら、上述したように、MPEG
2デコーダは、番組B、Cの伝送時間を用いて番組Aの
復号化処理をバッファのオーバーフロー又はアンダーフ
ローなしに行なう必要があり、送信側はMPEG2デコ
ーダの復合化処理に要する時間を考慮してパーシャルA
の送信間隔を制御していた。しかし、パーシャルAを記
録媒体に一旦記録してから再生した場合、送信時とは異
なる間隔でパケットA1、A2、…がMPEG2デコー
ダに供給される。この結果、そのバッファがオーバーフ
ロー又はアンダーフローすることがある。
However, as described above, MPEG
The two decoders need to use the transmission times of the programs B and C to decode the program A without overflow or underflow of the buffer, and the transmitting side takes into account the time required for the decoding process of the MPEG2 decoder. Partial A
The transmission interval was controlled. However, when the partial A is once recorded on the recording medium and then reproduced, the packets A1, A2,... Are supplied to the MPEG2 decoder at intervals different from those at the time of transmission. As a result, the buffer may overflow or underflow.

【0021】この様子を図6(d)に示すグラフを用い
て説明する。図6(d)に示すLa(細線)は、図6
(b)に示すパーシャルAを記録媒体に記録せず、その
ままMPEG2デコーダに供給し、復号化した際にバッ
ファ内を占めるデータ量の推移を示している。
This situation will be described with reference to a graph shown in FIG. La (thin line) shown in FIG.
The partial A shown in (b) is not recorded on the recording medium, but is supplied to the MPEG2 decoder as it is, and the transition of the data amount occupying the buffer when decoded is shown.

【0022】また、図6(d)に示すLc(太線)は、
パーシャルAを一旦記録媒体に記録し、再生時に図6
(c)に示すように、バースト的にMPEG2デコーダ
に供給し、復号化した際のバッファ内を占めるデータ量
の推移を示している。
Lc (thick line) shown in FIG.
The partial A is temporarily recorded on the recording medium, and is reproduced at the time of reproduction as shown in FIG.
As shown in (c), a change in the amount of data occupying in the buffer when the data is supplied to the MPEG2 decoder in a burst and decoded is shown.

【0023】なお、比較を容易にするため、記録から再
生までの時間(遅延量)を無視し、両方とも時間0にて
パーシャルAがMPEG2デコーダ(バッファ)に供給
され始めたものとして、LaとLcの時間軸を合わせて
ある。
In order to facilitate comparison, the time (delay amount) from recording to reproduction is neglected, and both are assumed to start supplying Partial A to the MPEG2 decoder (buffer) at time 0. The time axis of Lc is adjusted.

【0024】[0024]

【発明が解決しようとする課題】図6(d)に示すよう
に、伝送時のパケット間隔、及び伝送クロックにより抽
出パケットをMPEG2デコーダに供給した場合、La
(細線)のように、バッファの容量を越えたり(オーバ
ーフロー)、下回ったり(アンダーフロー)することな
く復号化を継続できる。すなわち、伝送時のパケット間
隔に従ってパーシャルAがバッファに記憶されている場
合、バッファ内のパーシャルAは、伝送時のパケット間
隔に従って復号化処理が実行される。バッファ内のパー
シャルAの占有量は、パーシャルAの復号化処理が終了
する毎に減少する。このため、バッファはオーバーフロ
ー、又はアンダーフローすることがない。
As shown in FIG. 6 (d), when an extracted packet is supplied to an MPEG2 decoder by a packet interval at the time of transmission and a transmission clock, La
Decoding can be continued without exceeding (underflow) or exceeding (underflow) the buffer capacity as shown by (thin line). That is, when the partial A is stored in the buffer according to the packet interval at the time of transmission, the partial A in the buffer is subjected to the decoding process according to the packet interval at the time of transmission. The occupancy of the partial A in the buffer decreases each time the decoding process of the partial A ends. Therefore, the buffer does not overflow or underflow.

【0025】しかし、抽出パケットを記録媒体に一旦記
録してから再生し、MPEG2デコーダに供給した場
合、Lc(太線)のように、時間T0におけるオーバー
フロー、或いは時間T1におけるアンダーフローが生じ
る。すなわち、パーシャルAは、伝送時のパケット間隔
とは無関係にバッファに供給されるため、オーバーフロ
ー又はアンダーフローが生じる。
However, when the extracted packet is once recorded on a recording medium and then reproduced and supplied to the MPEG2 decoder, an overflow at time T0 or an underflow at time T1 occurs as shown by Lc (thick line). That is, since the partial A is supplied to the buffer regardless of the packet interval at the time of transmission, an overflow or an underflow occurs.

【0026】この問題を解決するため、抽出パケット間
にて削除したパケット数を記録する方法が、特開平08
−138316公報に開示されている。しかし、この公
報に開示された従来の技術は、記録対象となる全トラン
スポートストリームの伝送クロックが一定でなければな
らない。このため、異なる伝送クロックを用いる放送が
混在する場合、例えば、BSデジタル放送と地上波デジ
タル放送を受信できる状態で、所望の番組を一つ又は複
数記録する場合などに、この技術を適応することができ
なかった。
In order to solve this problem, a method of recording the number of packets deleted between extracted packets is disclosed in
-138316. However, in the conventional technique disclosed in this publication, the transmission clocks of all transport streams to be recorded must be constant. For this reason, when broadcasting using different transmission clocks is mixed, for example, when one or more desired programs are recorded in a state where BS digital broadcasting and terrestrial digital broadcasting can be received, this technology is applied. Could not.

【0027】本発明は、上記課題を解決するためになさ
れたものであり、その目的とするところは、デコーダに
設けられたバッファのオーバーフローやアンダーフロー
を防止することができ、再生されたデータを確実に復号
化することが可能な記録再生装置及び記録再生方法を提
供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to prevent overflow and underflow of a buffer provided in a decoder, and to reproduce reproduced data. An object of the present invention is to provide a recording / reproducing device and a recording / reproducing method capable of reliably decoding.

【0028】[0028]

【課題を解決するための手段】本発明の記録装置は、上
記課題を解決するため、それぞれデータを含む複数種類
のデータ群を所定の伝送単位で時分割した入力データス
トリームから所定のデータ群のデータを伝送単位毎に選
択する選択手段と、前記選択手段により選択された前記
データに対応する時間情報をカウントするカウンタと、
前記選択手段により選択されたデータに、前記選択手段
により前記データが選択された時の前記カウンタのカウ
ント値を付加し、記録媒体に供給する付加手段とを具備
している。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, a recording apparatus according to the present invention converts a plurality of types of data groups each including data from an input data stream obtained by time-dividing a predetermined transmission unit into a predetermined data group. Selecting means for selecting data for each transmission unit, and a counter for counting time information corresponding to the data selected by the selecting means,
An adding unit that adds the count value of the counter when the data is selected by the selection unit to the data selected by the selection unit and supplies the data to a recording medium.

【0029】さらに、本発明の再生装置は、データ群を
構成する複数のデータそれぞれに、そのデータが選択さ
れた時の時間情報に対応するカウント値が付加された状
態で記録媒体に記録され、この記録媒体から前記データ
を再生する再生装置であって、前記記録媒体から読み出
されたデータのカウント値を抽出する抽出手段と、前記
抽出手段により抽出された最初のカウント値を初期値と
して時間情報をカウントするカウンタと、前記カウンタ
のカウント値と前記抽出手段により抽出されたカウント
値とを比較し、前記抽出されたカウント値が前記カウン
タのカウント値より大きい場合、前記記録媒体からのデ
ータの読み出しを停止させる停止信号を出力する比較器
とを具備している。
Further, the reproducing apparatus of the present invention records the data on a recording medium in a state where a count value corresponding to time information when the data is selected is added to each of a plurality of data constituting a data group, A reproducing apparatus for reproducing the data from the recording medium, comprising: extracting means for extracting a count value of the data read from the recording medium; and a time count with the first count value extracted by the extracting means as an initial value. A counter for counting information, a count value of the counter is compared with a count value extracted by the extracting means, and when the extracted count value is larger than the count value of the counter, data of the data from the recording medium is read. A comparator that outputs a stop signal for stopping reading.

【0030】また、本発明の記録方法は、それぞれデー
タを含む複数種類のデータ群を所定の伝送単位で時分割
した入力データストリームから所定のデータ群のデータ
を伝送単位毎に選択し、前記伝送単位毎に選択されたデ
ータに、前記データが選択された時の時間に対応するカ
ウント値を付加し、このカウント値が付加されたデータ
を記録媒体に供給する。
Further, according to the recording method of the present invention, data of a predetermined data group is selected for each transmission unit from an input data stream obtained by time-dividing a plurality of types of data groups each including data, and A count value corresponding to the time when the data is selected is added to the data selected for each unit, and the data with the added count value is supplied to a recording medium.

【0031】さらに、本発明の再生方法は、データ群を
構成する複数のデータそれぞれに、そのデータが選択さ
れた時の時間情報に対応するカウント値が付加された状
態で記録媒体に記録され、この記録媒体から前記データ
を再生する再生方法であって、前記記録媒体から読み出
されたデータのカウント値を抽出し、前記抽出された最
初のカウント値を初期値として時間情報をカウントし、
前記カウントされたカウント値と前記抽出されたカウン
ト値とを比較し、前記抽出されたカウント値が前記カウ
ントされたカウント値より大きい場合、前記記録媒体か
らのデータの読み出しを停止し、抽出されたカウント値
が前記カウントされたカウント値以下の場合、前記記録
媒体からデータを読み出すことを特徴とする。
Further, according to the reproducing method of the present invention, a plurality of data constituting a data group are recorded on a recording medium in a state where a count value corresponding to time information when the data is selected is added, A reproduction method for reproducing the data from the recording medium, wherein a count value of data read from the recording medium is extracted, and time information is counted with the extracted first count value as an initial value,
Comparing the counted count value with the extracted count value, if the extracted count value is greater than the counted count value, stop reading data from the recording medium; When the count value is equal to or less than the counted value, data is read from the recording medium.

【0032】[0032]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0033】図1は、本発明の記録装置の一実施形態を
示している。
FIG. 1 shows an embodiment of the recording apparatus of the present invention.

【0034】アンテナ11は、BSデジタル放送又は地
上波デジタル放送のデジタルテレビジョン信号を受信す
る。このアンテナ11の出力信号はチューナ12に供給
される。このチューナ12は、所望のチャンネルを選局
する。このチューナ12から出力される選択されたチャ
ンネルのトランスポートストリームTSは、MPEG2
デコーダ13の第1のスイッチ14に供給される。この
第1のスイッチ14は、番組の記録時にチューナ12の
出力信号を選択し、再生時に後述する記録再生装置21
の出力信号を選択する。
The antenna 11 receives a digital television signal of a BS digital broadcast or a terrestrial digital broadcast. The output signal of the antenna 11 is supplied to a tuner 12. The tuner 12 selects a desired channel. The transport stream TS of the selected channel output from the tuner 12 is an MPEG2
The signal is supplied to the first switch 14 of the decoder 13. The first switch 14 selects an output signal of the tuner 12 at the time of recording a program and a recording / reproducing device 21 described later at the time of reproduction.
Select the output signal of

【0035】第1のスイッチ14の出力端には、データ
選択部15が接続されている。このデータ選択部15
は、前記第1のスイッチ14から供給されるトランスポ
ートストリームTSの中から、記録すべき1つの番組を
選択する。すなわち、このデータ選択部15は、パケッ
ト内のPIDに従って、トランスポートストリームTS
から所望の1つの番組に対応するパケットを抽出する。
このデータ選択部15の出力端には、パケットを復号化
処理するデコード部16が接続されている。このデコー
ド部16にはパケットを記憶するバッファ17が設けら
れている。
A data selector 15 is connected to an output terminal of the first switch 14. This data selector 15
Selects one program to be recorded from the transport stream TS supplied from the first switch 14. That is, the data selection unit 15 determines the transport stream TS according to the PID in the packet.
, A packet corresponding to one desired program is extracted.
The output of the data selector 15 is connected to a decoder 16 for decoding a packet. The decoding unit 16 is provided with a buffer 17 for storing packets.

【0036】さらに、前記データ選択部15の出力端に
は、PCR抽出部18が接続されている。このPCR抽
出部18は、データ選択部15から出力されるパケット
に含まれる、図5に示す時刻基準情報PCRを抽出す
る。この取り出されたPCRは、前述したように番組毎
に設定された時間情報であり、パケットの送信タイミン
グを示している。
Further, a PCR extraction unit 18 is connected to an output terminal of the data selection unit 15. The PCR extraction unit 18 extracts the time reference information PCR shown in FIG. 5 included in the packet output from the data selection unit 15. The extracted PCR is time information set for each program as described above, and indicates the packet transmission timing.

【0037】前記PCR抽出部18の出力端は比較器1
9の一方入力端に接続されている。この比較器19の他
方入力端には、STC(System Time Counter)20の
出力端が接続されている。このSTC20は番組に対応
した時間情報を24時間分カウント可能なカウンタであ
る。比較器19はPCR抽出部18から供給される時間
情報とSTC20から供給されるカウント値とを比較
し、これらの誤差を検出する。この比較器19から出力
される誤差信号はPLL(Phase Locked Loop)回路を
構成するループフィルタ21に供給される。このループ
フィルタ21は前記誤差信号に対応する電圧を発生し、
これをVCO(電圧制御発振器)22に供給する。この
VCO22は、ループフィルタ21から供給された電圧
に応じた周波数のシステムクロック信号を発生する。こ
のVCO22から出力されるシステムクロック信号は前
記STC20に供給される。このSTC20はVCO2
2から供給されるシステムクロック信号を順次カウント
する。このようにして、STC20のカウント値が時刻
基準情報PCRに一致するように制御される。
The output terminal of the PCR extraction unit 18 is connected to the comparator 1
9 is connected to one input terminal. An output terminal of an STC (System Time Counter) 20 is connected to the other input terminal of the comparator 19. The STC 20 is a counter capable of counting time information corresponding to a program for 24 hours. The comparator 19 compares the time information supplied from the PCR extraction unit 18 with the count value supplied from the STC 20, and detects these errors. The error signal output from the comparator 19 is supplied to a loop filter 21 constituting a PLL (Phase Locked Loop) circuit. This loop filter 21 generates a voltage corresponding to the error signal,
This is supplied to a VCO (voltage controlled oscillator) 22. The VCO 22 generates a system clock signal having a frequency according to the voltage supplied from the loop filter 21. The system clock signal output from the VCO 22 is supplied to the STC 20. This STC20 is VCO2
The system clock signal supplied from 2 is sequentially counted. In this way, control is performed so that the count value of the STC 20 matches the time reference information PCR.

【0038】前記STC20の出力端はマルチプレクサ
としての第2のスイッチ23に供給される。この第2の
スイッチ23は、前記データ選択部15から供給される
パッケトにスタートコードSC、及び前記STC20か
ら出力されるカウント値を付加する。この第2のスイッ
チ23の出力端は、記録再生装置24に接続されてい
る。この記録再生装置24は、例えばビデオテープレコ
ーダ、ハードディスク装置、DVD(Digital Versatil
e Disk)あるいはメモリ等の記録媒体により構成され
る。前記第2のスイッチ23から出力された信号はこの
記録再生装置24に順次記録される。この記録再生装置
24の出力端は前記第1のスイッチ14に接続されてい
る。
The output terminal of the STC 20 is supplied to a second switch 23 as a multiplexer. The second switch 23 adds a start code SC and a count value output from the STC 20 to a packet supplied from the data selection unit 15. The output terminal of the second switch 23 is connected to a recording / reproducing device 24. The recording / reproducing device 24 is, for example, a video tape recorder, a hard disk device, a DVD (Digital Versatil
e Disk) or a recording medium such as a memory. The signal output from the second switch 23 is sequentially recorded in the recording / reproducing device 24. The output terminal of the recording / reproducing device 24 is connected to the first switch 14.

【0039】上記構成において、図2を参照して番組の
記録動作について説明する。
In the above configuration, the recording operation of the program will be described with reference to FIG.

【0040】記録動作時第1のスイッチ14は、チュー
ナ12の出力信号を選択している。チューナ12から出
力される選択されたトランスポートストリームTSは、
MPEG2デコーダ13に供給される。このMPEG2
デコーダ13において、第1のスイッチ14を通過した
トランスポートストリームTSはデータ選択部15に供
給される。このデータ選択部15は、パケット内のPI
Dに従って、トランスポートストリームTSから所望の
1つの番組に対応するパケットを抽出する。この抽出さ
れたパケットはデコード部16及びPCR抽出部18に
供給される。デコード部16は、供給されたパケットを
バッファ17に順次記憶するとともにデコードし、映像
信号、及び音声信号として出力する。
At the time of the recording operation, the first switch 14 selects the output signal of the tuner 12. The selected transport stream TS output from the tuner 12 is
It is supplied to the MPEG2 decoder 13. This MPEG2
In the decoder 13, the transport stream TS that has passed through the first switch 14 is supplied to a data selection unit 15. The data selection unit 15 determines whether the PI
According to D, a packet corresponding to one desired program is extracted from the transport stream TS. The extracted packet is supplied to the decoding unit 16 and the PCR extraction unit 18. The decoding unit 16 sequentially stores and decodes the supplied packets in the buffer 17, and outputs the packets as a video signal and an audio signal.

【0041】一方、PCR抽出部18は、供給されたパ
ケットから時刻基準情報PCRを抽出する。この抽出し
たPCRはSTC20から出力されるカウント値ととも
に比較器19に供給される。比較器19は、PCRとカ
ウント値の誤差を検出し、この検出した誤差信号をロー
プフィルタ21に供給する。ループフィルタ21はこの
誤差信号に対応する電圧を発生し、VCO22に供給す
る。このため、VCO22は供給された電圧に対応する
周波数のシステムクロック信号を発生する。このシステ
ムクロック信号は、STC20に供給される。このた
め、STC20は、カウント値が常にPCRに等しくな
るようPLL回路により制御される。図2に破線で示す
カウント値の変化は、STC20の動作を概略的に示し
ている。
On the other hand, the PCR extracting unit 18 extracts time reference information PCR from the supplied packet. The extracted PCR is supplied to the comparator 19 together with the count value output from the STC 20. The comparator 19 detects an error between the PCR and the count value, and supplies the detected error signal to the rope filter 21. The loop filter 21 generates a voltage corresponding to the error signal and supplies it to the VCO 22. Therefore, the VCO 22 generates a system clock signal having a frequency corresponding to the supplied voltage. This system clock signal is supplied to the STC 20. Therefore, the STC 20 is controlled by the PLL circuit so that the count value is always equal to the PCR. The change in the count value indicated by the broken line in FIG. 2 schematically indicates the operation of the STC 20.

【0042】図2から明らかなように、STC20から
出力されるカウント値は、PCRに一致している。この
ため、このカウント値はパケットがMPEG2デコーダ
13に到着した時間を示している。
As is clear from FIG. 2, the count value output from the STC 20 matches the PCR. Therefore, this count value indicates the time when the packet arrives at the MPEG2 decoder 13.

【0043】一方、第2のスイッチは、データ選択部1
5からパケットが出力された場合、この抽出されたパケ
ットに、そのパケットにその時のSTC20のカウント
値を付加して、記録再生装置24に供給する。すなわ
ち、第2のスイッチ23には、パケットの先頭を示すス
タートコードSC、STC20から出力されるカウント
値、及びデータ選択部15から出力されたパケットが供
給される。この第2のスイッチ23は、前記データ選択
部15から抽出されたパケットが出力されたとき、この
パケットに前記スタートコードSC、及びこのときのS
TC20のカウント値(図2にはSTCで示す)を付加
する。
On the other hand, the second switch is a data selector 1
When a packet is output from No. 5, the extracted packet is added to the count value of the STC 20 at that time and supplied to the recording / reproducing device 24. That is, the start code SC indicating the head of the packet, the count value output from the STC 20, and the packet output from the data selection unit 15 are supplied to the second switch 23. When a packet extracted from the data selection unit 15 is output, the second switch 23 adds the start code SC and S at this time to the packet.
The count value of TC20 (shown as STC in FIG. 2) is added.

【0044】このようにして、生成されたスタートコー
ドSC及びカウント値を有する独自の形式のパケットは
記録再生装置24に供給され記録される。以下、同様に
して、データ選択部15において抽出されたパケットに
スタートコードSC及びカウント値が付加され、記録再
生装置24に順次連続して記録される。
The packet of the unique format having the generated start code SC and count value is supplied to the recording / reproducing device 24 and recorded. Hereinafter, similarly, the start code SC and the count value are added to the packet extracted in the data selection unit 15 and the packet is sequentially and continuously recorded in the recording / reproducing device 24.

【0045】図2に示す記録データは、記録再生装置2
4に連続して記録された独自形式のパケットを示してい
る。
The recording data shown in FIG.
4 shows a unique format packet continuously recorded.

【0046】記録再生装置24に順次記録された各パケ
ットは、そのパケットがMPEG2デコーダ13に到着
した時の時間情報を示すカウント値を有している。この
ため、このカウント値を用いて元のパケットの間隔を再
現することができる。
Each packet sequentially recorded in the recording / reproducing device 24 has a count value indicating time information when the packet arrives at the MPEG2 decoder 13. For this reason, the original packet interval can be reproduced using this count value.

【0047】図3は、本発明の再生装置の一実施形態を
示しており、図1と同一部分には同一符号を付す。
FIG. 3 shows an embodiment of the reproducing apparatus of the present invention, and the same parts as those in FIG. 1 are denoted by the same reference numerals.

【0048】図3において、第1のスイッチ14の出力
端には、STC抽出部31が接続されている。このST
C抽出部31は、記録再生装置24から読み出されたパ
ケットに付加されているカウント値を抽出する。このS
TC抽出部31の出力端はSTC20、及び比較器32
に接続されている。この比較器32はSTC抽出部31
により抽出されたカウント値とSTC20から出力され
るカウント値とを比較する。この比較器32の出力端は
記録再生装置24に接続されている。この比較器32
は、抽出されたカウント値STC1がSTC20から出
力されるカウント値STC2より大きい場合、記録再生
装置24の再生動作を停止させる停止信号を出力する。
In FIG. 3, an STC extraction unit 31 is connected to an output terminal of the first switch 14. This ST
The C extracting unit 31 extracts the count value added to the packet read from the recording / reproducing device 24. This S
The output terminal of the TC extraction unit 31 is the STC 20 and the comparator 32
It is connected to the. This comparator 32 is an STC extraction unit 31
Is compared with the count value output from the STC 20. The output terminal of the comparator 32 is connected to the recording / reproducing device 24. This comparator 32
Outputs a stop signal for stopping the reproducing operation of the recording / reproducing device 24 when the extracted count value STC1 is larger than the count value STC2 output from the STC 20.

【0049】また、デコーダ部16の入力端にはパケッ
ト分離部33が接続されている。このパケット分離部3
3は、記録再生装置24から再生され、第1のスイッチ
14を介して供給されるパケットのうちから前記スター
トコードSC、及びカウント値を除去し、パケットのみ
をデコード部16に供給する。
The input end of the decoder section 16 is connected to a packet separating section 33. This packet separation unit 3
3 removes the start code SC and the count value from the packets reproduced from the recording / reproducing device 24 and supplied through the first switch 14, and supplies only the packets to the decoding unit 16.

【0050】上記構成において、図4を参照して再生動
作について説明する。
In the above configuration, a reproducing operation will be described with reference to FIG.

【0051】再生時、第1のスイッチ14は、図3に示
すように、再生側に切り替えられる。この状態におい
て、記録再生装置24から最初のパケットが読み出され
る。すなわち、最初のパケットのスタートコードSC及
びカウント値STCが順次読み出され、この読み出され
たスタートコードSC及びカウント値STCはMPEG
2デコーダ13に供給される。STC抽出部31は、第
1のスイッチ14を介して供給されたこれらデータの内
からカウント値を抽出する。この最初に抽出されたカウ
ント値は、STC20に初期値として供給される。
At the time of reproduction, the first switch 14 is switched to the reproduction side as shown in FIG. In this state, the first packet is read from the recording / reproducing device 24. That is, the start code SC and the count value STC of the first packet are sequentially read out.
2 decoder 13. The STC extraction unit 31 extracts a count value from the data supplied via the first switch 14. The first extracted count value is supplied to the STC 20 as an initial value.

【0052】STC20は、再生時、MPEG2の規格
で定められた所定周波数のシステムクロック信号により
自走し、設定されたカウント値を初期値としてカウント
アップする。
During reproduction, the STC 20 runs by a system clock signal of a predetermined frequency defined by the MPEG2 standard, and counts up using the set count value as an initial value.

【0053】比較器32は、STC抽出部31から供給
されるカウント値STC1とSTC20から供給される
カウント値STC2とを比較する。最初のパケットの場
合、比較結果は、STC1≦STC2となる。このた
め、前記記録再生装置24から続いて読み出されたパケ
ットは、パケット分離部33により、スタートコードS
Cとカウント値が除去され、デコード部16に供給され
る。
The comparator 32 compares the count value STC1 supplied from the STC extractor 31 with the count value STC2 supplied from the STC 20. In the case of the first packet, the comparison result is STC1 ≦ STC2. For this reason, the packets subsequently read from the recording / reproducing device 24 are subjected to the start code S
C and the count value are removed and supplied to the decoding unit 16.

【0054】続くパケットを記録再生装置24から読み
出す場合、比較器32は次のような動作を行う。すなわ
ち、比較器32はSTC抽出部31により抽出されたカ
ウント値STC1とSTC20のカウント値STC2を
比較する。この結果、STC1>STC2である場合、
比較器32は停止信号を出力する。このため、記録再生
装置24は、読み出し動作を停止し、パケットは読み出
されない。
When reading a subsequent packet from the recording / reproducing device 24, the comparator 32 operates as follows. That is, the comparator 32 compares the count value STC1 extracted by the STC extraction unit 31 with the count value STC2 of the STC20. As a result, when STC1> STC2,
The comparator 32 outputs a stop signal. Therefore, the recording / reproducing device 24 stops the read operation, and the packet is not read.

【0055】STC20は、自走している。このため、
所定時間経過後、STC20のカウント値STC2は、
抽出されたカウント値STC1より大きくなる。比較器
32は比較結果がSTC1≦STC2となると、停止信
号を解除する。このため、記録再生装置24は、パケッ
トの読み出しを開始する。この読み出されたパケット
は、パケット分離部33を介してデコード部16に供給
される。以下、同様の動作により、記録再生装置24か
ら読み出されたカウント値STC1がSCT20のカウ
ント値STC2以上となると、記録再生装置24からパ
ケットが読み出される。この読み出されたパケットは、
デコード部16に供給されて復号化処理が行われる。
The STC 20 is self-running. For this reason,
After a lapse of a predetermined time, the count value STC2 of the STC 20 becomes:
It becomes larger than the extracted count value STC1. When the comparison result satisfies STC1 ≦ STC2, the comparator 32 releases the stop signal. Therefore, the recording / reproducing device 24 starts reading the packet. The read packet is supplied to the decoding unit 16 via the packet separating unit 33. Hereinafter, by the same operation, when the count value STC1 read from the recording / reproducing device 24 becomes equal to or larger than the count value STC2 of the SCT 20, the packet is read from the recording / reproducing device 24. This read packet is
The data is supplied to the decoding unit 16 and subjected to a decoding process.

【0056】このようにして記録再生装置24から再生
されたパケットは、記録時にそのパケットがMPEG2
デコーダ13に到着した時間間隔で、デコード部16に
供給される。したがって、デコード部16はバッファ1
7のオーバーフロー又はアンダーフローを起こすことな
く、確実に復号化処理を行うことができる。
The packet reproduced from the recording / reproducing device 24 in this manner is such that the packet is recorded in the MPEG-2 format at the time of recording.
It is supplied to the decoding unit 16 at the time interval at which it arrives at the decoder 13. Therefore, the decoding unit 16
7, the decoding process can be reliably performed without causing overflow or underflow.

【0057】なお、再生されたトランスポートストリー
ムを外部に出力する場合は、パケット分離部33の出力
信号をそのまま出力すればよい。
When the reproduced transport stream is to be output to the outside, the output signal of the packet separating section 33 may be output as it is.

【0058】上記実施形態によれば、記録時に、STC
20は、選択された番組の時間経過をカウントし、第2
のスイッチは、データ選択部15からパケットが出力さ
れた場合、この選択されたパケットに、その時のSTC
20のカウント値を付加して、記録再生装置24に供給
している。このため、記録再生装置24に記録されたパ
ケットは、そのパケットがMPEG2デコーダ13に到
達した時間を示すカウント値が付加された状態で記録再
生装置24に記録される。したがって、この付加された
カウント値により、そのパケットがMPEG2デコーダ
13に到達した時間を再現することができる。
According to the above embodiment, when recording, the STC
20 counts the elapsed time of the selected program, and
When a packet is output from the data selection unit 15, the switch of the selected
A count value of 20 is added and supplied to the recording / reproducing device 24. For this reason, the packet recorded in the recording / reproducing device 24 is recorded in the recording / reproducing device 24 with a count value indicating the time when the packet arrives at the MPEG2 decoder 13 added. Therefore, the time when the packet reaches the MPEG2 decoder 13 can be reproduced by the added count value.

【0059】また、PCR抽出部18は、パケットに付
加された時刻基準情報PCRを抽出し、PLL回路を構
成するループフィルタ21、VCO22は、PCRに基
づいてシステムクロック信号を生成してSTC20に供
給している。このため、STC20をPCRに同期させ
ることができるため、STC20のカウント値を校正で
きる。したがって、各パケットに付加されるカウント値
を送信側で設定されたパケットの時間間隔に精確に一致
させることができる。
The PCR extracting section 18 extracts the time reference information PCR added to the packet, and the loop filter 21 and the VCO 22 constituting the PLL circuit generate a system clock signal based on the PCR and supply it to the STC 20. are doing. For this reason, since the STC 20 can be synchronized with the PCR, the count value of the STC 20 can be calibrated. Therefore, the count value added to each packet can be accurately matched with the packet time interval set on the transmitting side.

【0060】また、再生時において、STC抽出部31
は各パケットに付加されたカウント値を抽出し、比較器
32はこの抽出されたカウント値と自走するSTC20
のカウント値とを比較し、抽出されたカウント値がST
C20のカウント値より大きい場合、記録再生装置24
からのパケットの読み出しを停止させ、STC20のカ
ウント値が抽出されたカウント値以上となった場合、記
録再生装置24からパケットを読み出し可能としてい
る。このため、再生されたパケットは、記録時にパケッ
トがMPEG2デコーダ13に到着した時の時間間隔に
よりMPEG2デコーダ13に供給される。したがっ
て、バッファ17がオーバーフロー又はアンダーフロー
を起こすことを防止でき、確実に復号化処理を行うこと
ができる。
At the time of reproduction, the STC extraction unit 31
Extracts the count value added to each packet, and the comparator 32 compares the extracted count value with the self-running STC 20.
And the extracted count value is ST
If it is larger than the count value of C20, the recording / reproducing device 24
When the count value of the STC 20 becomes equal to or greater than the extracted count value, the packet can be read from the recording / reproducing device 24. Therefore, the reproduced packet is supplied to the MPEG2 decoder 13 at a time interval when the packet arrives at the MPEG2 decoder 13 during recording. Therefore, it is possible to prevent the buffer 17 from overflowing or underflowing, and it is possible to reliably perform the decoding process.

【0061】尚、本発明は上記実施形態に限定されるも
のではなく、本発明の要旨を変えない範囲において種々
変形実施可能なことは勿論である。
It should be noted that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention.

【0062】[0062]

【発明の効果】以上、詳述したように本発明によれば、
デコーダに設けられたバッファのオーバーフローやアン
ダーフローを防止することができ、再生されたデータを
確実に復号化することが可能な記録再生装置及び記録再
生方法を提供できる。
As described in detail above, according to the present invention,
It is possible to provide a recording / reproducing apparatus and a recording / reproducing method capable of preventing overflow and underflow of a buffer provided in a decoder and capable of reliably decoding reproduced data.

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

【図1】本発明の第1の実施形態を示すものであり、記
録時の構成を示す構成図。
FIG. 1 shows the first embodiment of the present invention, and is a configuration diagram showing a configuration at the time of recording.

【図2】図1の動作を説明するために示す図。FIG. 2 is a view shown for explaining the operation of FIG. 1;

【図3】本発明の第1の実施形態を示すものであり、再
生時の構成を示す構成図。
FIG. 3, showing the first embodiment of the present invention, is a configuration diagram showing a configuration at the time of reproduction.

【図4】図3の動作を説明するために示す図。FIG. 4 is a view shown for explaining the operation of FIG. 3;

【図5】パケットの構造を説明するために示す図。FIG. 5 is a view for explaining the structure of a packet.

【図6】パーシャルTS録画/再生処理を説明するため
に示す図。
FIG. 6 is a view for explaining a partial TS recording / playback process.

【図7】記録媒体に記録されたパケットを説明するため
に示す図。
FIG. 7 is a view for explaining a packet recorded on a recording medium.

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

13…MPEG2デコーダ、14…第1のスイッチ、1
5…データ選択部、16…デコード部、17…バッフ
ァ、18…PCR抽出部、19…比較器、20…ST
C、23…第2のスイッチ、24…記録再生装置、31
…STC抽出部、32…比較器、33…パケット抽出
部。
13 MPEG2 decoder, 14 first switch, 1
5 data selection unit, 16 decoding unit, 17 buffer, 18 PCR extraction unit, 19 comparator, 20 ST
C, 23: second switch, 24: recording / reproducing device, 31
... STC extraction unit, 32 ... comparator, 33 ... packet extraction unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA20 FA30 GB06 GB38 JA22 KA06 KA08 KA11 KA20 LA07 5C059 KK35 MA00 RB02 RB10 RC03 RC04 SS02 SS11 UA08 UA34 5D044 AB05 AB07 BC01 BC04 CC03 CC04 DE12 DE13 DE39 DE53 EF03 EF05 FG10 FG18 GK08 ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 それぞれデータを含む複数種類のデータ
群を所定の伝送単位で時分割した入力データストリーム
から所定のデータ群のデータを伝送単位毎に選択する選
択手段と、 前記選択手段により選択された前記データに対応する時
間情報をカウントするカウンタと、 前記選択手段により選択されたデータに、前記選択手段
により前記データが選択された時の前記カウンタのカウ
ント値を付加し、記録媒体に供給する付加手段とを具備
することを特徴とする記録装置。
1. A selecting means for selecting, for each transmission unit, data of a predetermined data group from an input data stream obtained by time-dividing a plurality of types of data groups each including data in a predetermined transmission unit; A counter for counting time information corresponding to the data, and adding the count value of the counter when the data is selected by the selection means to the data selected by the selection means and supplying the data to a recording medium A recording apparatus comprising: an adding unit.
【請求項2】 前記選択手段により選択された前記デー
タに含まれる時間情報を抽出する抽出手段と、 前記抽出手段により抽出された時間情報と前記カウンタ
のカウント値とを比較し、これらの誤差信号を出力する
比較手段と、 前記前記比較手段から出力される誤差信号に応じた電圧
を発生する電圧発生手段と、 前記電圧発生手段から供給される電圧に応じた周波数の
クロック信号を発生し、前記カウンタに供給する発振器
とを具備することを特徴とする請求項1記載の記録装
置。
2. An extracting unit for extracting time information included in the data selected by the selecting unit, and comparing the time information extracted by the extracting unit with a count value of the counter, and obtaining an error signal. A voltage generating means for generating a voltage corresponding to the error signal output from the comparing means, a clock signal having a frequency corresponding to the voltage supplied from the voltage generating means, 2. The recording apparatus according to claim 1, further comprising an oscillator that supplies the counter.
【請求項3】 データ群を構成する複数のデータそれぞ
れに、そのデータが選択された時の時間情報に対応する
カウント値が付加された状態で記録媒体に記録され、こ
の記録媒体から前記データを再生する再生装置であっ
て、 前記記録媒体から読み出されたデータのカウント値を抽
出する抽出手段と、 前記抽出手段により抽出された最初のカウント値を初期
値として時間情報をカウントするカウンタと、 前記カウンタのカウント値と前記抽出手段により抽出さ
れたカウント値とを比較し、前記抽出されたカウント値
が前記カウンタのカウント値より大きい場合、前記記録
媒体からのデータの読み出しを停止させる停止信号を出
力する比較器とを具備することを特徴とする再生装置。
3. A plurality of data constituting a data group are recorded on a recording medium in a state where a count value corresponding to time information when the data is selected is added to the recording medium. A reproducing apparatus for reproducing, wherein an extracting means for extracting a count value of data read from the recording medium, a counter for counting time information with an initial count value extracted by the extracting means as an initial value, The count value of the counter is compared with the count value extracted by the extracting means. If the extracted count value is larger than the count value of the counter, a stop signal for stopping reading data from the recording medium is output. A reproducing apparatus comprising: a comparator for outputting the signal.
【請求項4】 前記記録媒体から読み出されたデータよ
り前記カウント値を分離する分離手段をさらに具備する
ことを特徴とする請求項3記載の再生装置。
4. The reproducing apparatus according to claim 3, further comprising a separating unit configured to separate the count value from data read from the recording medium.
【請求項5】 それぞれデータを含む複数種類のデータ
群を所定の伝送単位で時分割した入力データストリーム
から所定のデータ群のデータを伝送単位毎に選択し、 前記伝送単位毎に選択されたデータに、前記データが選
択された時の時間に対応するカウント値を付加し、この
カウント値が付加されたデータを記録媒体に供給するこ
とを特徴とする記録方法。
5. A data of a predetermined data group is selected for each transmission unit from an input data stream obtained by time-dividing a plurality of types of data groups each including data in a predetermined transmission unit, and the data selected for each transmission unit is selected. And a count value corresponding to the time when the data is selected, and supplying the data with the count value to a recording medium.
【請求項6】 データ群を構成する複数のデータそれぞ
れに、そのデータが選択された時の時間情報に対応する
カウント値が付加された状態で記録媒体に記録され、こ
の記録媒体から前記データを再生する再生方法であっ
て、 前記記録媒体から読み出されたデータのカウント値を抽
出し、 前記抽出された最初のカウント値を初期値として時間情
報をカウントし、 前記カウントされたカウント値と前記抽出されたカウン
ト値とを比較し、前記抽出されたカウント値が前記カウ
ントされたカウント値より大きい場合、前記記録媒体か
らのデータの読み出しを停止し、抽出されたカウント値
が前記カウントされたカウント値以下の場合、前記記録
媒体からデータを読み出すことを特徴とする再生方法。
6. A plurality of data constituting a data group are recorded on a recording medium in a state where a count value corresponding to time information at the time when the data is selected is recorded on a recording medium. A reproduction method for reproducing, wherein a count value of data read from the recording medium is extracted, time information is counted with the extracted first count value as an initial value, and the counted value and the counted value Comparing with the extracted count value, if the extracted count value is larger than the counted count value, stop reading data from the recording medium, and change the extracted count value to the counted count value. When the value is equal to or less than the value, data is read from the recording medium.
JP2001071066A 2001-03-13 2001-03-13 Device and method for recording and reproducing Pending JP2002269897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001071066A JP2002269897A (en) 2001-03-13 2001-03-13 Device and method for recording and reproducing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001071066A JP2002269897A (en) 2001-03-13 2001-03-13 Device and method for recording and reproducing

Publications (1)

Publication Number Publication Date
JP2002269897A true JP2002269897A (en) 2002-09-20

Family

ID=18928840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001071066A Pending JP2002269897A (en) 2001-03-13 2001-03-13 Device and method for recording and reproducing

Country Status (1)

Country Link
JP (1) JP2002269897A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009118086A (en) * 2007-11-05 2009-05-28 Hitachi Ltd Storage device and clock management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009118086A (en) * 2007-11-05 2009-05-28 Hitachi Ltd Storage device and clock management method

Similar Documents

Publication Publication Date Title
US5832085A (en) Method and apparatus storing multiple protocol, compressed audio video data
US7881584B2 (en) Reproducing apparatus and method, and recording medium
US6493362B1 (en) Data recording method and data recording system
US8346054B2 (en) Recording device, recording method and reproducing device
US20020105905A1 (en) Data stream control system for associating counter values with stored selected data packets from an incoming data transport stream to preserve interpacket time interval information
EP1006729A2 (en) Data recording and/or reproducing apparatus, method, and system and recording medium
KR20020026169A (en) Method and apparatus for editing digital video recordings, and recordings made by such methods
KR100981378B1 (en) Device and process for the read-synchronization of video data and of ancillary data and associated products
US20070286245A1 (en) Digital signal processing apparatus and data stream processing method
US7343087B2 (en) Data stream playback device and method, digital broadcast receiver and related computer program
US7865064B2 (en) Recording/output apparatus and recording/output method
US7706400B2 (en) Transport stream processing device and transport stream processing method
JP3558983B2 (en) Digital broadcast recording and playback device
JP4380930B2 (en) Audio / video decoding / playback apparatus and synchronized playback method thereof
CA2490879C (en) Reproducing apparatus and method, and recording medium
JPH06343065A (en) Decoding system, demultiplex method and signal processing method
JP2005151463A (en) Device and method for receiving stream data
JP2002269897A (en) Device and method for recording and reproducing
JP2002290910A (en) Multimedia information recording and reproducing device
RU2411596C2 (en) Method of reproduction
JP2001111610A (en) Receiver for information data transmission system
KR100348262B1 (en) apparatus and method for storing/decoding of digital broadcasting data
JP4770003B2 (en) MPEG transport stream transmission / reception system, transmission apparatus, transmission method, reception apparatus, and reception method
JP2001119668A (en) Recorder
JP2009100114A (en) Data recording and reproducing method