JP2008166900A - Recorder/reproducer and recording/reproducing method - Google Patents

Recorder/reproducer and recording/reproducing method Download PDF

Info

Publication number
JP2008166900A
JP2008166900A JP2006350996A JP2006350996A JP2008166900A JP 2008166900 A JP2008166900 A JP 2008166900A JP 2006350996 A JP2006350996 A JP 2006350996A JP 2006350996 A JP2006350996 A JP 2006350996A JP 2008166900 A JP2008166900 A JP 2008166900A
Authority
JP
Japan
Prior art keywords
data
recording
packet
information
control information
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
JP2006350996A
Other languages
Japanese (ja)
Other versions
JP4607090B2 (en
Inventor
Masao Noguchi
正雄 野口
Tomohide Okumura
友秀 奥村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2006350996A priority Critical patent/JP4607090B2/en
Publication of JP2008166900A publication Critical patent/JP2008166900A/en
Application granted granted Critical
Publication of JP4607090B2 publication Critical patent/JP4607090B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recorder/reproducer which can record the recording data, e.g. image data, voice data or other data, efficiently on a recording medium and can read out the data efficiently, and to provide a recording/reproducing method. <P>SOLUTION: The recorder/reproducer comprises a data multiplexing section for generating a media packet of unfixed data length by imparting a common access control header 30 having an identical information item regardless of the type of data for every predetermined data range of encoded recording data 41, 45 and 47, and a recording medium 11a having a data recording region 11c for recording a media packet. A data recording section records a media packet generated from the data multiplexing section as packet data 40 in the data recording region 11c. A data extracting section reads out the packet data 40 recorded in the data recording region 11c based on the control information 31-36 of the access control header 30. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、記録再生装置および記録再生方法に関するものであり、特に、監視用途などに適用する記録再生装置、ならびに、記録再生方法に関するものである。   The present invention relates to a recording / reproducing apparatus and a recording / reproducing method, and more particularly, to a recording / reproducing apparatus and a recording / reproducing method applied to monitoring applications.

従来の記録再生装置においては、カメラなどから入力された映像信号を記録する際に、映像信号を符号化した記録用のデータをハードディスクや光ディスクなどの記録媒体に記録する方法が一般的である。例えば監視用途のように、長時間の記録を必要とする場合には、主として次の2つの符号化技術が広く用いられる。一つは、フレーム内の空間的冗長性を利用してデータサイズを小さくするJPEG(Joint Photographic Experts Group)などのイントラ符号化技術である。残りの一つは、フレーム間の時間的冗長性を利用してさらに高能率にデータサイズを小さくするMPEG(Moving Picture Expert Group)などのインター符号化技術である。   In a conventional recording / reproducing apparatus, when recording a video signal input from a camera or the like, a method of recording recording data obtained by encoding the video signal on a recording medium such as a hard disk or an optical disk is generally used. For example, the following two encoding techniques are widely used when long-time recording is required as in monitoring applications. One is an intra-coding technique such as JPEG (Joint Photographic Experts Group) that reduces the data size by utilizing spatial redundancy in a frame. The remaining one is an inter-coding technique such as MPEG (Moving Picture Expert Group) that uses the temporal redundancy between frames to reduce the data size more efficiently.

イントラ符号化技術では、一枚のフレームごとにデータは独立しており、フレームデータごとに復号化が可能である。一方、インター符号化技術では、イントラ符号化によりキーフレームがまず符号化され、そのキーフレームを基準に時間軸方向のフレーム間相関を用いて、キーフレームに続くフレームが符号化される。こうして、符号化されたキーフレームとそれに続くフレームがまとまって映像情報は形成される。例えば、MPEG符号化を行うと、まず、Iフレームと呼ばれるイントラ符号化したキーフレームが符号化され、その後Iフレームを基準に時間軸方向のフレーム間相関を用いて、Iフレームに続くPフレームあるいはBフレームが予測符号化される。Pフレームは、過去のフレームから予測符号化された順方向予測符号化フレームであり、Bフレームは、IフレームとPフレームの両方から予測符号化された双方向予測符号化フレームである。MPEG符号化された映像情報は、このようなデータ構造となっているため、Iフレームはそのデータのみで独立して復号化可能であるが、PフレームやBフレームは、独立して復号化できず、PフレームやBフレームを復号化する際には、まずIフレームが復号化されなければならない。さらに、時間方向の相間を利用してインター符号化したPフレームやBフレームは、イントラ符号化したIフレームに比べ、データのサイズが小さく、また、符号量がばらつくため、符号化されたデータのサイズがフレームごとに不定データ長となる。   In the intra coding technique, data is independent for each frame, and decoding is possible for each frame data. On the other hand, in the inter coding technique, a key frame is first coded by intra coding, and a frame following the key frame is coded using inter-frame correlation in the time axis direction with reference to the key frame. Thus, the encoded key frame and the subsequent frame are combined to form video information. For example, when MPEG encoding is performed, first, an intra-coded key frame called an I frame is encoded, and then a P frame following the I frame or an I frame is used as a reference by using inter-frame correlation in the time axis direction. B frames are predictively encoded. The P frame is a forward predictive encoded frame that is predictively encoded from a past frame, and the B frame is a bidirectional predictive encoded frame that is predictively encoded from both an I frame and a P frame. Since MPEG-encoded video information has such a data structure, an I frame can be decoded independently only by the data, but a P frame and a B frame can be decoded independently. First, when decoding a P frame or a B frame, the I frame must first be decoded. Furthermore, P frames and B frames that have been inter-coded using the phase in the time direction have a smaller data size and a larger amount of code than I-frames that have been intra-coded. The size is an indefinite data length for each frame.

ところで、長時間の記録が必要な場合には、有限容量の記録媒体に対して、符号化された記録用のデータをいかに効率よく記録するかが重要となる。一般的に、記録媒体は、記録単位でアライメント(セクタアライン)された記録用のデータが記録されるデータ記録領域と、記録用のデータをその記録単位で管理するための管理データが記録される管理データ領域とを有する。   By the way, when recording for a long time is required, it is important how efficiently the encoded recording data is recorded on a recording medium having a finite capacity. In general, a recording medium records a data recording area in which recording data aligned (sector-aligned) in recording units is recorded, and management data for managing the recording data in the recording units. And a management data area.

記録媒体は有限であるため、多くの記録用のデータを記録するためには、管理データ領域を小さくして、データ記録領域を大きくすればよい。その管理データ領域を小さくするためには、例えば、記録単位を大きくして記録用のデータを管理する数を減らせばよい。しかし、データサイズが不定データ長である記録用のデータを、大きな記録単位でアライメントすれば、記録用のデータの最後尾でのアライメントにおいて、一部だけ使用しただけでほとんど記録されないデータ記録領域が現れ、効率よく記録されないという問題があった。反対に、不定データ長の記録用のデータを小さな記録単位でアライメントすれば、データ記録領域は無駄なく使用されるようになるが、記録用のデータを管理する数が増えるため、管理データ領域のサイズが大きくなるという問題があった。   Since the recording medium is limited, in order to record a large amount of data for recording, the management data area may be reduced and the data recording area may be increased. In order to reduce the management data area, for example, the recording unit may be increased to reduce the number of recording data managed. However, if the recording data whose data size is indefinite data length is aligned in a large recording unit, there is a data recording area that is hardly recorded even if only a part is used in the alignment at the end of the recording data. It appeared and there was a problem that it was not recorded efficiently. On the other hand, if data for recording with an indefinite data length is aligned in a small recording unit, the data recording area can be used without waste, but the number of management of recording data increases. There was a problem that the size increased.

また、記録映像の再生においては、記録された映像データから所望のシーンを見つけることが必要であり、そのために、フレームを読み飛ばして高速に再生したり、逆方向に再生したりすることが必要になる。ところが、MPEGなどのようにインター符号化された映像データにおいては、必ずIフレームから復号処理を行わなければならないので、まずIフレームを符号化したデータが必要となる。しかし、PフレームやBフレームの符号化された記録用のデータのサイズが一定でないため、Iフレームの符号化データを記録媒体から高速に読み出すことは困難であった。   In playback of recorded video, it is necessary to find a desired scene from the recorded video data. For this reason, it is necessary to skip frames and play back at a high speed or in the reverse direction. become. However, since inter-coded video data such as MPEG must always be decoded from an I frame, data obtained by encoding an I frame is required first. However, since the size of the recording data encoded in the P frame or B frame is not constant, it is difficult to read out the encoded data of the I frame from the recording medium at high speed.

これらの改善策として、特許文献1に、一定映像フレーム数ごとにキーフレームを記録し、キーフレームごとに記録用のデータをグループ化してデータユニットを形成する発明が記載されている。このデータユニットのサイズをアライメントの記録単位として記録媒体に記録するため、効率よくデータを記録している。また、この発明は、管理データ領域に、データユニット単位で、トラック番号、ゾーン番号、セクタ番号のアドレス情報を記録してデータ管理している。   As these improvement measures, Patent Document 1 describes an invention in which a key frame is recorded for each predetermined number of video frames, and recording data is grouped for each key frame to form a data unit. Since the size of the data unit is recorded on the recording medium as an alignment recording unit, data is efficiently recorded. Also, in the present invention, data management is performed by recording track number, zone number, and sector number address information in the management data area in units of data units.

特開平7−87443号公報(第11頁、第1図、第6図)Japanese Patent Laid-Open No. 7-87443 (page 11, FIG. 1, FIG. 6)

しなしながら、従来の技術では、約1秒程度のデータをデータユニットごとにまとめてから、各圧縮手段でそれぞれ発生符合量を制御してセクタアラインするため、符号量制御処理が増加するという問題があった。また、セクタアラインを約1秒程度という小さな単位ごとに行うため、頻繁にセクタアラインが発生し、この部分で記録データ領域が効率的に利用できないという問題があった。   However, in the conventional technique, since data of about 1 second is collected for each data unit and then the generated code amount is controlled by each compression means to perform sector alignment, the code amount control processing increases. was there. In addition, since sector alignment is performed for each small unit of about 1 second, sector alignment frequently occurs, and there is a problem that the recording data area cannot be efficiently used in this portion.

また、従来の技術では、アドレス情報は1チャンネルのデータを記録することしか考慮されておらず、監視用途などで一般的に行われている複数チャンネルのデータを同時に記録あるいは再生することができないという問題があった。   In the prior art, address information only considers recording of data of one channel, and data of a plurality of channels generally used for monitoring purposes cannot be recorded or reproduced at the same time. There was a problem.

さらに、従来の技術では、高速再生を行う時に、データユニットに素早くアクセスする目的でデータユニットごとの先頭アドレスを管理領域の管理テーブルに記録しているが、管理テーブルには、開始ポインタから次に順方向に再生するユニットのアドレスしか示されていない。そのため、順方向の高速再生はできても、逆方向の高速再生を行うことができないという問題があった。   Furthermore, in the conventional technology, when performing high-speed playback, the start address for each data unit is recorded in the management table of the management area for the purpose of quickly accessing the data unit. Only the address of the unit that plays in the forward direction is shown. Therefore, there is a problem that high-speed playback in the reverse direction cannot be performed even if high-speed playback in the forward direction can be performed.

また、従来の技術では、キーフレームのアドレスがゾーン番号やセクタ番号などの物理アドレスで記述されているため、記録データの一部を別の記録媒体にコピーした場合などには、そのままでは高速再生が困難であるという問題があった。   In addition, in the conventional technology, the key frame address is described by a physical address such as a zone number or sector number. Therefore, when a part of the recorded data is copied to another recording medium, it is played back at high speed as it is. There was a problem that was difficult.

本発明は、上記のような問題点を解決するためになされたものであり、記録再生装置ならびに記録再生方法において、映像データや音声データを効率よく記録媒体上に記録するとともに、効率よく読みだすことを目的とするものである。   The present invention has been made to solve the above-described problems. In a recording / reproducing apparatus and a recording / reproducing method, video data and audio data are efficiently recorded on a recording medium and efficiently read out. It is for the purpose.

本発明の請求項1に係る記録再生装置は、符号化された記録用のデータに対し、所定のデータ範囲ごとに、データの種類にかかわらず同一の情報項目を有する共通のヘッダを付与して、不定データ長のパケットを生成するデータ多重化部と、前記パケットが記録されるデータ記録領域を有する記録媒体とを備える。そして、前記データ多重化部が生成した前記パケットを前記データ記録領域に連続して記録するデータ記録部と、前記ヘッダの制御情報に基づいて、前記データ記録領域に記録されたパケットデータを読み出すデータ抽出部とを備える。   The recording / reproducing apparatus according to claim 1 of the present invention provides a common header having the same information item for each predetermined data range, regardless of the type of data, for encoded recording data. A data multiplexing unit for generating a packet having an indefinite data length, and a recording medium having a data recording area in which the packet is recorded. And a data recording unit for continuously recording the packets generated by the data multiplexing unit in the data recording area, and data for reading packet data recorded in the data recording area based on the control information of the header And an extraction unit.

本発明の請求項14に係る記録再生方法は、符号化された記録用のデータに対し、所定のデータ範囲ごとに、データの種類にかかわらず同一の情報項目を有する共通のヘッダを付与して、不定データ長のパケットを生成する工程と、前記パケットを記録媒体のデータ記録領域に連続して記録する工程とを備える。そして、前記ヘッダの制御情報に基づいて、前記データ記録領域に記録されたパケットデータを読み出す工程を備える。   In the recording / reproducing method according to claim 14 of the present invention, a common header having the same information item is added to encoded data for recording for each predetermined data range regardless of the type of data. A step of generating a packet having an indefinite data length, and a step of continuously recording the packet in a data recording area of a recording medium. And the process of reading the packet data recorded on the said data recording area based on the control information of the said header is provided.

本発明の記録再生装置および記録再生方法によれば、記録用のデータ、例えば、映像データや音声データやその他データを効率よく記録媒体上に記録するとともに、効率よく読みだすことができる。   According to the recording / reproducing apparatus and the recording / reproducing method of the present invention, recording data, for example, video data, audio data, and other data can be efficiently recorded on the recording medium and can be efficiently read.

<実施の形態1>
図1は、本実施の形態に係る記録再生装置を説明するブロック図である。本実施の形態に係る記録再生装置1は、映像入力部2,3と、映像符号化部4,5と、音声入力部6と、音声符号化部7と、データ多重化部8と、制御情報生成部9と、データ記録部10と、データ蓄積部11と、制御情報読み出し部12と、データ読み出し部13と、データ分離部14と、映像復号化部15,16と、映像出力部17,18と、音声復号化部19と、音声出力部20と、付加情報入力部21と、付加情報符号化部22と、付加情報復号化部23と、付加情報出力部24とを備える。
<Embodiment 1>
FIG. 1 is a block diagram illustrating a recording / reproducing apparatus according to the present embodiment. The recording / reproducing apparatus 1 according to the present embodiment includes a video input units 2 and 3, video encoding units 4 and 5, an audio input unit 6, an audio encoding unit 7, a data multiplexing unit 8, a control Information generation unit 9, data recording unit 10, data storage unit 11, control information reading unit 12, data reading unit 13, data separation unit 14, video decoding units 15 and 16, and video output unit 17 , 18, speech decoding unit 19, speech output unit 20, additional information input unit 21, additional information encoding unit 22, additional information decoding unit 23, and additional information output unit 24.

なお、図1においては、記録再生装置1に設けられる、あるいは、記録再生装置1に直接接続される部分のうち、本発明の効果に直接的な影響を及ぼさない部分(例えば、ユーザが記録の開始や停止などを指定するためのコマンド入力手段、および、機器の状態を表示する状態表示手段、および、画像の符号化および復号化処理において一時的にデータを格納するデータ一時格納手段、および、一時的に格納されたデータを制御する制御手段、および、出力された画像信号を表示する表示装置)は省略している。   In FIG. 1, of the parts provided in the recording / reproducing apparatus 1 or directly connected to the recording / reproducing apparatus 1, those parts that do not directly affect the effects of the present invention (for example, recording by the user) Command input means for designating start, stop, etc., status display means for displaying the status of the device, data temporary storage means for temporarily storing data in image encoding and decoding processing, and The control means for controlling the temporarily stored data and the display device for displaying the output image signal are omitted.

映像入力部2,3それぞれには、カメラなどから出力される映像信号が入力される。本実施の形態では、映像入力部2には1chの映像信号が入力され、映像入力部3には2chの映像信号が入力されており、2チャンネルの映像信号が入力される構成となっている。映像符号化部4,5それぞれは、映像入力部2,3それぞれから入力された映像信号を符号化して、映像データを生成する。音声入力部6には、マイクなどから出力される1chの音声信号が入力される。音声符号化部7は、音声入力部6から入力された音声信号を符号化して、音声データを生成する。付加情報入力部21には、映像信号、および、音声信号以外の信号(以下、その他信号)が入力され、付加情報符号化部22は、その信号を符号化してその他データを生成する。その他データとしては、例えば、メタデータが該当する。なお、以下、映像符号化部4,5と、音声符号化部7と、付加情報符号化部22をまとめて、符号化部と呼ぶ。   A video signal output from a camera or the like is input to each of the video input units 2 and 3. In the present embodiment, a 1ch video signal is input to the video input unit 2, a 2ch video signal is input to the video input unit 3, and a 2-channel video signal is input. . Each of the video encoding units 4 and 5 encodes the video signal input from each of the video input units 2 and 3 to generate video data. The audio input unit 6 receives a 1ch audio signal output from a microphone or the like. The audio encoding unit 7 encodes the audio signal input from the audio input unit 6 to generate audio data. Signals other than video signals and audio signals (hereinafter, other signals) are input to the additional information input unit 21, and the additional information encoding unit 22 encodes the signals to generate other data. For example, metadata corresponds to the other data. Hereinafter, the video encoding units 4 and 5, the audio encoding unit 7, and the additional information encoding unit 22 are collectively referred to as an encoding unit.

データ多重化部8は、図2に示すように、符号化された記録用のデータ41に対し、所定のデータ範囲ごとに、データの種類にかかわらず同一の情報項目を有する共通のヘッダであるアクセス制御ヘッダ30を付与して、不定データ長のパケットであるメディアパケットを生成し、多重化する。この図で示しているパケットデータ40は、後述するデータ記録領域11cにメディアパケットを記録したものである。   As shown in FIG. 2, the data multiplexing unit 8 is a common header having the same information item regardless of the data type for each predetermined data range with respect to the encoded recording data 41. An access control header 30 is added to generate and multiplex a media packet that is a packet of indefinite data length. The packet data 40 shown in this figure is obtained by recording a media packet in a data recording area 11c described later.

記録用のデータ41は、上述した、映像信号を符号化した映像データ、および、音声信号を符号化した音声データ、および、その他データの少なくとも一つを含む。本実施の形態では、記録用のデータ41に、2チャンネルの映像データと、1チャンネルの音声データと、1チャンネルのその他データが該当する。図2では、記録用のデータ41が、1chの映像信号を符号化した映像データである場合を例示的に示している。以下、映像データと、音声データと、その他データとを区別しない場合には、記録用のデータ41と呼ぶこととする。   The recording data 41 includes at least one of the above-described video data obtained by encoding a video signal, audio data obtained by encoding an audio signal, and other data. In this embodiment, the recording data 41 corresponds to 2-channel video data, 1-channel audio data, and 1-channel other data. FIG. 2 exemplarily shows a case where the recording data 41 is video data obtained by encoding a 1ch video signal. Hereinafter, when video data, audio data, and other data are not distinguished, they will be referred to as recording data 41.

アクセス制御ヘッダ30は、記録用のデータ41が、映像データと、音声データと、その他データのいずれにあるかにかかわらず、同一の情報項目を有する。このアクセス制御ヘッダ30の情報項目は、パケットデータ40を読み出す制御に用いられる制御情報31〜36を含む。この制御情報31〜36の内容は、データ多重化部8で与えられてもよいし、制御情報生成部9で与えてもよい。アクセス制御ヘッダ30は、所定のデータ範囲ごとの記録用のデータ41に付与されて、不定データ長のメディアパケットが生成される。また、以下の図において、横方向にハッチングしたものは、アクセス制御ヘッダ30を表すものとする。   The access control header 30 has the same information item regardless of whether the recording data 41 is in video data, audio data, or other data. The information item of the access control header 30 includes control information 31 to 36 used for control for reading the packet data 40. The contents of the control information 31 to 36 may be given by the data multiplexing unit 8 or may be given by the control information generating unit 9. The access control header 30 is added to the recording data 41 for each predetermined data range, and a media packet having an indefinite data length is generated. In the following diagram, the hatched portion in the horizontal direction represents the access control header 30.

図3は、データ蓄積部11内に設けられた記録媒体11aと、記録媒体11a上の記憶領域を示す図である。記録媒体11aは、図1の同一番号と同一あるいはこれに相当するものであり、メディアパケットがパケットデータ40として記録されるデータ記録領域11cを有する。また、記録媒体11aの管理データ領域11bには、パケットデータ40を管理する管理データが保存される。図1のデータ記録部10は、データ多重化部8が生成したメディアパケットを、パケットデータ40として記録媒体11aのデータ記録領域11cに連続して記録する。   FIG. 3 is a diagram showing a recording medium 11a provided in the data storage unit 11 and a storage area on the recording medium 11a. The recording medium 11 a is the same as or corresponds to the same number in FIG. 1 and has a data recording area 11 c in which media packets are recorded as packet data 40. Further, management data for managing the packet data 40 is stored in the management data area 11b of the recording medium 11a. The data recording unit 10 in FIG. 1 continuously records the media packets generated by the data multiplexing unit 8 as packet data 40 in the data recording area 11c of the recording medium 11a.

データ記録領域11cに記録されたパケットデータ40を再生する場合には、制御情報読み出し部12とデータ読み出し部13により構成されるデータ抽出部が、アクセス制御ヘッダ30の制御情報に基づいて、データ記録領域11cに記録されたパケットデータ40を読み出す。本実施の形態では、制御情報読み出し部12が、データ記録領域11cに記録されたパケットデータ40の制御情報のうち、所望の制御情報と一致する制御情報を検索して読み出す。データ読み出し部13は、制御情報読み出し部12において一致したパケットデータ40を読み出す。   When reproducing the packet data 40 recorded in the data recording area 11 c, the data extraction unit configured by the control information reading unit 12 and the data reading unit 13 performs data recording based on the control information in the access control header 30. The packet data 40 recorded in the area 11c is read out. In the present embodiment, the control information reading unit 12 searches for and reads out control information that matches the desired control information from the control information of the packet data 40 recorded in the data recording area 11c. The data reading unit 13 reads the packet data 40 that matches in the control information reading unit 12.

データ読み出し部13から読み出されたパケットデータ40のうち、映像データは、データ分離部14にて映像復号化部15,16に送られる。そして、復号化部である映像復号化部15,16は、データ読み出し部13で読み出された映像データを復号化する。映像出力部17,18それぞれは、映像復号化部15,16それぞれで復号化された映像データ、つまり、映像信号を出力する。同様に、データ読み出し部13から読み出されたパケットデータ40のうち、音声データは、データ分離部14にて音声復号化部19に送られる。そして、復号化部である音声復号化部19は、データ読み出し部13で読み出された音声データを復号化する。音声出力部20は、音声復号化部19で復号化された音声データ、つまり、音声信号を出力する。同様に、データ読み出し部13から読み出されたパケットデータ40のうち、その他データは、データ分離部14にて付加情報復号化部23に送られる。そして、復号化部である付加情報復号化部23は、データ読み出し部13で読み出されたその他データを復号化する。付加情報出力部24は、付加情報復号化部23で復号化されたその他データ、つまり、その他信号を出力する。なお、以下、映像復号化部15,16、および、音声復号化部19、および、付加情報復号化部23をまとめて、復号化部と呼ぶ。   Of the packet data 40 read from the data reading unit 13, the video data is sent to the video decoding units 15 and 16 by the data separation unit 14. Then, the video decoding units 15 and 16 serving as decoding units decode the video data read by the data reading unit 13. The video output units 17 and 18 respectively output the video data decoded by the video decoding units 15 and 16, that is, video signals. Similarly, of the packet data 40 read from the data reading unit 13, the voice data is sent to the voice decoding unit 19 by the data separation unit 14. Then, the voice decoding unit 19 as a decoding unit decodes the voice data read by the data reading unit 13. The audio output unit 20 outputs the audio data decoded by the audio decoding unit 19, that is, the audio signal. Similarly, other data of the packet data 40 read from the data reading unit 13 is sent to the additional information decoding unit 23 by the data separation unit 14. Then, the additional information decoding unit 23 as a decoding unit decodes the other data read by the data reading unit 13. The additional information output unit 24 outputs other data decoded by the additional information decoding unit 23, that is, other signals. Hereinafter, the video decoding units 15 and 16, the audio decoding unit 19, and the additional information decoding unit 23 are collectively referred to as a decoding unit.

本実施の形態では、映像符号化部4,5は、映像信号をMPEG符号化し、映像復号化部15,16は、MPEG符号化された映像データを復号化するものとする。そして、映像データは、独立して映像復号化部15,16で復号化可能な第1の記録用のデータ41であるIフレームの映像データ、または、Iフレームの映像データに従属して映像復号化部15,16で復号化可能な第2の記録用のデータ41であるPフレームの映像データを含むものとする。また、音声データは、音声復号化部19にて独立して復号化可能であるとし、その他データは、付加情報復号化部23にて独立して復号化可能であるとする。   In the present embodiment, it is assumed that the video encoding units 4 and 5 encode the video signal as MPEG, and the video decoding units 15 and 16 decode the MPEG encoded video data. The video data is decoded according to the I-frame video data or the I-frame video data, which is the first recording data 41 that can be independently decoded by the video decoding units 15 and 16. It is assumed that the video data of the P frame which is the second recording data 41 that can be decoded by the conversion units 15 and 16 is included. Further, it is assumed that the audio data can be decoded independently by the audio decoding unit 19, and other data can be decoded independently by the additional information decoding unit 23.

図4は、パケットデータ40の記録方法を詳細に説明するための図である。なお、この図において、データ記録領域11cは図3で示したものと同一、あるいは、これに相当するものである。また、映像データ42,44,46に付されたch1は、チャンネル1番の映像信号を符号化した映像データを示し、映像データ43,48に付されたch2は、チャンネル2番の映像信号を符号化した映像データを示す。また、映像データ42,43に付された(I)は独立して符号化可能なIフレームの映像データを示し、映像データ44,46,48に付された(P)はIフレームに従属して符号可能なPフレームの映像データであることを示す。また、各パケットデータ40のデータサイズが大きくなるにつれて、図のパケットデータ40の横幅を大きくしている。この図では、上述したように、データ多重化部8が生成したメディアパケットは、パケットデータ40として、データ記録領域11cに連続して記録されている。   FIG. 4 is a diagram for explaining the recording method of the packet data 40 in detail. In this figure, the data recording area 11c is the same as or equivalent to that shown in FIG. Further, ch1 attached to the video data 42, 44, 46 indicates video data obtained by encoding the video signal of channel 1, and ch2 attached to the video data 43, 48 indicates the video signal of channel 2. The encoded video data is shown. In addition, (I) attached to the video data 42 and 43 indicates I frame video data that can be encoded independently, and (P) attached to the video data 44, 46, and 48 depends on the I frame. This indicates that the video data can be encoded as a P frame. Further, as the data size of each packet data 40 increases, the width of the packet data 40 in the figure is increased. In this figure, as described above, the media packets generated by the data multiplexing unit 8 are continuously recorded as the packet data 40 in the data recording area 11c.

記録用のデータ41の所定のデータ範囲は、記録用のデータ41のデータサイズに相当する。この所定のデータ範囲は、必ずしも一定のサイズによって規定されるものではなく、符号化部、および、復号化部によって規定されるデータサイズである。所定のデータ範囲は、例えば、符号化部、および、復号化部で認識可能な最小データ単位で規定される。   The predetermined data range of the recording data 41 corresponds to the data size of the recording data 41. The predetermined data range is not necessarily defined by a fixed size, but is a data size defined by the encoding unit and the decoding unit. The predetermined data range is defined in, for example, the minimum data unit that can be recognized by the encoding unit and the decoding unit.

本実施の形態では、映像データ42,43,44,46,48の所定のデータ範囲は、映像符号化部4,5によって、1フレームの映像をMPEG符号化されたときのデータサイズであるとともに、映像復号化部15,16によって、MPEG復号化されたデータとして認識可能なデータサイズであるものとしている。   In the present embodiment, the predetermined data range of the video data 42, 43, 44, 46, 48 is the data size when one frame of video is MPEG-encoded by the video encoding units 4 and 5. It is assumed that the data size is recognizable as MPEG decoded data by the video decoding units 15 and 16.

Pフレームの映像データ44,46,48のデータサイズ、つまり、所定のデータ範囲は、Iフレームとの時間軸方向のフレーム間相関で予測符号化されるため、Iフレームの映像データ42,43の所定のデータ範囲とは異なる。また、ここでは、チャンネル1のPフレームの映像データ44,46と、チャンネル2のPフレームの映像データ48は同じ大きさで表しているが、それらは互いに大きさが異なる場合のほうが多い。したがって、図4に示すように、映像データ42,43,44,46,48の所定のデータ範囲は、不定データ長である。その結果、映像データ42,43,44,46,48に、所定のデータ長からなるアクセス制御ヘッダ30を付与したパケットデータ40は、不定データ長となる。   The data size of the P frame video data 44, 46, 48, that is, the predetermined data range is predictively encoded by inter-frame correlation with the I frame in the time axis direction. Different from the predetermined data range. Here, the video data 44 and 46 of the P frame of channel 1 and the video data 48 of the P frame of channel 2 are represented by the same size, but they are often different in size. Therefore, as shown in FIG. 4, the predetermined data range of the video data 42, 43, 44, 46, 48 is an indefinite data length. As a result, the packet data 40 obtained by adding the access control header 30 having a predetermined data length to the video data 42, 43, 44, 46, 48 has an indefinite data length.

映像データの所定のデータ範囲は、不定データ長としたが、もちろん、一部の所定のデータ範囲を一定のデータサイズとしてもよい。本実施の形態では、図4に示すように、音声データ45,49の所定のデータ範囲は、一定のデータサイズ、例えば、1KB程度としている。また、その他データ47,50の所定のデータ範囲も、一定のデータサイズとしている。   Although the predetermined data range of the video data has an indefinite data length, of course, a part of the predetermined data range may have a constant data size. In the present embodiment, as shown in FIG. 4, the predetermined data range of the audio data 45 and 49 is set to a constant data size, for example, about 1 KB. The predetermined data range of the other data 47 and 50 is also set to a constant data size.

次に、アクセス制御ヘッダ30に格納される制御情報31〜36と、それらの制御情報を用いた読み出しについて説明する。アクセス制御ヘッダ30に格納される制御情報は、当該制御情報が付与されたパケットデータ40が、映像データであるか、音声データであるか、その他データであるかを特定するためのID情報31を含む。このID情報31は、各記録用のデータ41のチャンネルごとにも固有の値を割り当てるものとする。   Next, control information 31 to 36 stored in the access control header 30 and reading using the control information will be described. The control information stored in the access control header 30 includes ID information 31 for specifying whether the packet data 40 to which the control information is attached is video data, audio data, or other data. Including. The ID information 31 is assigned a unique value for each channel of the recording data 41.

図5に、ID情報31の割り当て例を示す。この例の場合、ID情報31=「0x00」はチャンネル1番のカメラ、ID情報31=「0x01」はチャンネル2番のカメラ、ID情報31=「0x10」はチャンネル1番のマイク、ID情報31=「0x20」はチャンネル1番のその他データというように、ID情報31を割り当てている。本実施の形態では、16進数表記した「0x00」から「0xFF」までのID情報31に対して割り当てできるものとする。   FIG. 5 shows an example of assignment of ID information 31. In this example, ID information 31 = "0x00" is the camera of channel 1, ID information 31 = "0x01" is the camera of channel 2, ID information 31 = "0x10" is the microphone of channel 1, ID information 31 = “0x20” is assigned ID information 31 such as “other data of channel 1”. In the present embodiment, it is assumed that the ID information 31 from “0x00” to “0xFF” expressed in hexadecimal can be assigned.

このように割り当てた場合、チャンネル1番のカメラ映像から生成される全てのパケットデータ40には、ID情報31として「0x00」が与えられる。同様に、チャンネル2番のカメラ映像から生成される全てのパケットデータ40には、ID情報31として「0x01」が与えられる。チャンネル1番のマイク音声から生成される全てのパケットデータ40には、ID情報31として「0x10」が与えられる。チャンネル1番のその他データから生成される全てのパケットデータ40には、ID情報31として「0x20」が与えられる。   When assigned in this way, “0x00” is given as the ID information 31 to all packet data 40 generated from the camera image of channel # 1. Similarly, “0x01” is given as the ID information 31 to all the packet data 40 generated from the camera image of channel # 2. All packet data 40 generated from the microphone sound of channel 1 is given “0x10” as ID information 31. All packet data 40 generated from the other data of channel 1 is given “0x20” as ID information 31.

パケットデータ40を再生する場合には、制御情報読み出し部12が、所望のID情報31と一致するパケットデータ40のID情報31を読み出す。所望のID情報31と一致する場合には、データ読み出し部13は、制御情報読み出し部12で読み出されたID情報31を含むパケットデータ40を読み出す。所望のID情報31と一致しない場合には、一致するID情報31を読み出すまで、次のパケットデータ40、例えば、隣のパケットデータ40の制御情報を読み出す。   When reproducing the packet data 40, the control information reading unit 12 reads the ID information 31 of the packet data 40 that matches the desired ID information 31. If the ID information 31 matches the desired ID information 31, the data reading unit 13 reads the packet data 40 including the ID information 31 read by the control information reading unit 12. If it does not match the desired ID information 31, the control information of the next packet data 40, for example, the adjacent packet data 40, is read until the matching ID information 31 is read.

アクセス制御ヘッダ30の制御情報は、図4に示すように、その制御情報を含むパケットデータ40が、データ記録領域11cに記録された日時情報32を含む。パケットデータ40を再生する場合には、制御情報読み出し部12は、所望の日時情報32と一致するパケットデータ40の日時情報32を読み出す。所望の日時情報32と一致する場合には、データ読み出し部13は、制御情報読み出し部12で読み出された日時情報32を含むパケットデータ40を読み出す。所望の日時情報32と一致しない場合には、一致する日時情報32を読み出すまで、次のパケットデータ40、例えば、隣のパケットデータ40の制御情報を読み出す。   As shown in FIG. 4, the control information of the access control header 30 includes date / time information 32 in which packet data 40 including the control information is recorded in the data recording area 11c. When reproducing the packet data 40, the control information reading unit 12 reads the date information 32 of the packet data 40 that matches the desired date information 32. If the data matches the desired date / time information 32, the data reading unit 13 reads the packet data 40 including the date / time information 32 read by the control information reading unit 12. If it does not match the desired date / time information 32, the control information of the next packet data 40, for example, the adjacent packet data 40, is read until the matching date / time information 32 is read.

アクセス制御ヘッダ30の制御情報は、その制御情報が付与されたパケットデータ40が、Iフレームの映像データか、Pフレームの映像データかを特定するための情報である独立/従属フラグ36を含む。   The control information of the access control header 30 includes an independent / subordinate flag 36 that is information for specifying whether the packet data 40 to which the control information is attached is video data of I frame or video data of P frame.

本実施の形態では、パケットデータ40が、イントラ符号化されたIフレーム、つまり、独立して復号化可能なフレームであれば、独立/従属フラグ36に、例えば、「1」が与えられる。一方、パケットデータ40が、インター符号化されたPフレーム、つまり、独立して有意な復号処理ができないフレームであれば、独立/従属フラグ36に、例えば、「0」が与えられる。同様に、独立して有意な復号処理できる音声データおよびその他データの独立/従属フラグ36には「1」が与えられる。   In the present embodiment, if the packet data 40 is an intra-coded I frame, that is, a frame that can be decoded independently, for example, “1” is given to the independent / dependent flag 36. On the other hand, if the packet data 40 is an inter-coded P frame, that is, a frame that cannot be independently significantly decoded, for example, “0” is given to the independent / subordinate flag 36. Similarly, “1” is given to the independent / subordinate flag 36 of the audio data and other data that can be significantly decoded independently.

なお、この独立/従属フラグ36を生成するにあたっては、符号化部において独立復号化可能か不可能かについての情報が取得できる場合には、制御情報生成部9がその情報に基づいて独立/従属フラグ36を与える。符号化部においてその情報が取得できない場合には、制御情報生成部9にて独立符号化可能か不可能かについてデータ分析を行い、その結果に基づいて、制御情報生成部9が独立/従属フラグ36を与える。   When generating the independent / dependent flag 36, if the information about whether independent decoding is possible or not can be acquired in the encoding unit, the control information generating unit 9 determines whether the independent / dependent flag is based on the information. Flag 36 is given. When the information cannot be acquired by the encoding unit, the control information generating unit 9 performs data analysis as to whether or not independent encoding is possible, and based on the result, the control information generating unit 9 36 is given.

なお、本実施の形態では、音声データ、その他データが独立して有意な復号処理ができるとしているが、これに限ったものではなく、独立して有意な復号処理ができない場合には、その独立/従属フラグ36に「0」を与えてもよい。   In this embodiment, audio data and other data can be significantly decoded independently. However, the present invention is not limited to this, and when independent significant decoding cannot be performed, the independent The subordinate flag 36 may be given “0”.

アクセス制御ヘッダ30の制御情報は、その制御情報を含むパケットデータ40のデータサイズ情報33を含む。制御情報読み出し部12は、このデータサイズ情報33を読み出すことで、隣のパケットデータ40が、データ記録領域11cにおいてどの位置から記録開始されたかについて知ることができる。   The control information of the access control header 30 includes data size information 33 of the packet data 40 including the control information. By reading the data size information 33, the control information reading unit 12 can know from which position the adjacent packet data 40 is recorded in the data recording area 11c.

アクセス制御ヘッダ30の制御情報は、その制御情報のID情報31と一致するID情報31を含むパケットデータ40のうち、その制御情報を含むメディアパケットの次の時点に生成されたパケットデータ40の位置を、その制御情報を含むパケットデータ40の位置から相対的に示すアドレス情報である正方向ポインタ34を含む。図6の下側には、正方向ポインタ34について、各パケットデータ40の正方向ポインタ60〜67が示す位置を矢印で表している。   The control information of the access control header 30 is the position of the packet data 40 generated at the next time of the media packet including the control information among the packet data 40 including the ID information 31 that matches the ID information 31 of the control information. Is included in the forward direction pointer 34 which is address information indicating the relative position from the position of the packet data 40 including the control information. On the lower side of FIG. 6, the positions of the forward direction pointers 34 indicated by the forward direction pointers 60 to 67 of the packet data 40 are indicated by arrows.

例えば、正方向ポインタ60は、映像ch1のID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。正方向ポインタ60に示されたパケットデータ40の正方向ポインタ61は、映像ch1のID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。正方向ポインタ61に示されたパケットデータ40の正方向ポインタ62は、映像ch1のID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。正方向ポインタ62に示されたパケットデータ40の正方向ポインタ63は、映像ch1のID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。   For example, the forward direction pointer 60 includes the ID information 31 of the video ch1 and indicates the head position of the packet data 40 generated at the next time point of the own packet data 40. The forward direction pointer 61 of the packet data 40 indicated by the forward direction pointer 60 includes the ID information 31 of the video ch1 and indicates the head position of the packet data 40 generated at the next time point of the own packet data 40. The forward direction pointer 62 of the packet data 40 indicated by the forward direction pointer 61 includes the ID information 31 of the video ch1 and indicates the head position of the packet data 40 generated at the next time point of the own packet data 40. The forward direction pointer 63 of the packet data 40 indicated by the forward direction pointer 62 includes the ID information 31 of the video ch1 and indicates the head position of the packet data 40 generated at the next time point of the own packet data 40.

同様に、正方向ポインタ64は、映像ch2のID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。正方向ポインタ65,66は、音声ch1のID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。正方向ポインタ67は、その他データのID情報31を含み、自己のパケットデータ40の次の時点に生成されたパケットデータ40の先頭位置を示す。   Similarly, the forward direction pointer 64 includes the ID information 31 of the video ch2 and indicates the head position of the packet data 40 generated at the next time point of the own packet data 40. The forward direction pointers 65 and 66 include the ID information 31 of the voice ch1 and indicate the head position of the packet data 40 generated at the next time point of the own packet data 40. The forward direction pointer 67 includes the ID information 31 of other data, and indicates the head position of the packet data 40 generated at the next time point of the own packet data 40.

アクセス制御ヘッダ30の制御情報は、その制御情報のID情報31と一致するID情報31を含むパケットデータ40のうち、その制御情報を含むメディアパケットの前の時点に生成されたパケットデータ40の位置を、その制御情報を含むパケットデータ40の位置から相対的に示すアドレス情報である逆方向ポインタ35を含む。図6の上側には、この逆方向ポインタ35について、各パケットデータ40の逆方向ポインタ70,74,75,76,77が示す位置を矢印で表している。   The control information of the access control header 30 is the position of the packet data 40 generated at the previous time of the media packet including the control information among the packet data 40 including the ID information 31 that matches the ID information 31 of the control information. Includes a backward pointer 35 which is address information indicating the relative position from the position of the packet data 40 including the control information. On the upper side of FIG. 6, the positions of the backward pointers 35 indicated by the backward pointers 70, 74, 75, 76, and 77 of the packet data 40 are indicated by arrows.

さらに、本実施の形態では、アクセス制御ヘッダ30の制御情報は、その制御情報のID情報31と一致するID情報31を含むパケットデータ40のうち、その制御情報を含むメディアパケットの前の時点に生成され、独立して符号化可能なパケットデータ40の位置を、その制御情報を含むパケットデータ40の位置から相対的に示すアドレス情報である逆方向ポインタ35を含む。図6の上側には、この逆方向ポインタ35について、各パケットデータ40の逆方向ポインタ71〜73が示す位置を矢印で表している。   Furthermore, in the present embodiment, the control information of the access control header 30 is the packet data 40 that includes the ID information 31 that matches the ID information 31 of the control information, at a point before the media packet that includes the control information. It includes a backward pointer 35 that is address information indicating the position of the packet data 40 that is generated and can be independently encoded relative to the position of the packet data 40 including the control information. On the upper side of FIG. 6, the position indicated by the backward pointers 71 to 73 of each packet data 40 is indicated by an arrow with respect to the backward pointer 35.

図6に示すように、映像ch1の逆方向ポインタ70〜73は、それぞれ、Pフレームのパケットデータ40から、独立符号可能なIフレームのパケットデータ40の位置を示している。映像ch2の逆方向ポインタ74は、自己の前の時点に生成されたパケットデータ40の位置を示しているが、これは、同時に、独立符号可能なIフレームのパケットデータ40の位置を示している。音声の逆方向ポインタ75,76は、自己の前の時点に生成されたパケットデータ40の位置を示しているが、これは、同時に、独立符号可能なパケットデータ40の位置を示している。その他データの逆方向ポインタ77は、自己の前の時点に生成されたパケットデータ40の位置を示しているが、これは、同時に、独立符号可能なパケットデータ40の位置を示している。以上のように、本実施の形態における逆方向ポインタ70〜77全ては、独立して符号化可能なパケットデータ40の先頭位置を示しているものとなっている。   As shown in FIG. 6, the backward pointers 70 to 73 of the video ch 1 indicate the positions of the I frame packet data 40 that can be independently encoded from the P frame packet data 40. The backward pointer 74 of the video ch2 indicates the position of the packet data 40 generated at the previous time point, and this indicates the position of the packet data 40 of the I frame that can be independently encoded at the same time. . The backward pointers 75 and 76 of the voice indicate the position of the packet data 40 generated at the previous time point, and this indicates the position of the packet data 40 that can be independently encoded. The backward pointer 77 of the other data indicates the position of the packet data 40 generated at the previous time point, and this indicates the position of the packet data 40 that can be independently encoded. As described above, all the backward pointers 70 to 77 in the present embodiment indicate the head position of the packet data 40 that can be encoded independently.

パケットデータ40を再生する場合には、制御情報読み出し部12は、所望のID情報31と一致するパケットデータ40のID情報31を読み出す。所望のID情報31と一致する場合には、データ読み出し部13は、制御情報読み出し部12で読み出されたID情報31を含むパケットデータ40を読み出す。それとともに、制御情報読み出し部12は、正方向ポインタ34、あるいは、逆方向ポインタ35により示されるパケットデータ40とその制御情報を連鎖的に読み出す。所望のID情報31と一致しない場合には、一致するID情報31を読み出すまで、次のパケットデータ40、例えば、隣のパケットデータ40の制御情報を読み出す。   When reproducing the packet data 40, the control information reading unit 12 reads the ID information 31 of the packet data 40 that matches the desired ID information 31. If the ID information 31 matches the desired ID information 31, the data reading unit 13 reads the packet data 40 including the ID information 31 read by the control information reading unit 12. At the same time, the control information reading unit 12 reads the packet data 40 indicated by the forward direction pointer 34 or the backward direction pointer 35 and its control information in a chain. If it does not match the desired ID information 31, the control information of the next packet data 40, for example, the adjacent packet data 40, is read until the matching ID information 31 is read.

以上のような記録再生装置1、および、記録再生方法によれば、パケットデータ40を記録媒体11aのデータ記録領域11cに連続して記録する。これにより、パケットデータ40、つまり、映像データや、音声データ、その他データが不定データ長であっても、データ記録領域11cにおける未使用領域を削減できるので、効率よく記録媒体11aに記録することができる。また、複数種類のパケットデータ40が、アクセス制御ヘッダ30の制御情報31〜36によって、一元的に管理される。そのため、読み出すデータの種類を変更する場合に、従来のような管理データ領域11bとデータ記録領域11cと間を往来して読み出さなくても、データ記録領域11cにおいて読み出すことができる、パケットデータ40を効率的に読み出すことができる。特に、複数の符号化部で同時に符号化されたデータは、記録媒体11a上において互いに近い位置に記録されることになるので、複数のパケットデータ40を同時に読み出す場合に、効率的に読み出すことができる。   According to the recording / reproducing apparatus 1 and the recording / reproducing method as described above, the packet data 40 is continuously recorded in the data recording area 11c of the recording medium 11a. Thereby, even if the packet data 40, that is, video data, audio data, and other data has an indefinite data length, the unused area in the data recording area 11c can be reduced, so that the data can be efficiently recorded on the recording medium 11a. it can. A plurality of types of packet data 40 are managed centrally by the control information 31 to 36 of the access control header 30. Therefore, when the type of data to be read is changed, the packet data 40 that can be read in the data recording area 11c can be read without going back and forth between the management data area 11b and the data recording area 11c as in the prior art. It can be read efficiently. In particular, since data encoded simultaneously by a plurality of encoding units is recorded at positions close to each other on the recording medium 11a, the data can be efficiently read when reading a plurality of packet data 40 simultaneously. it can.

また、ID情報31により、所望の種類のパケットデータ40を、データ記録領域11cから読み出すことができるので、データのチャンネルごと、データの種類ごとに再生することができる。   In addition, since the ID information 31 allows the desired type of packet data 40 to be read from the data recording area 11c, it can be reproduced for each data channel and each data type.

また、高速再生を行う場合には、時間方向で数フレームの映像データを間引いて、独立して復号化可能なフレームの映像データのみを用いて復号化する手法が一般的である。そのため、高速再生および高速逆再生ができるか否かは、独立復号化可能なフレームをいかに素早く読み出せるかによる。本実施の形態では、独立/従属フラグ36を読み取ることで、その映像データが独立して復号化可能であるかを瞬時に判別可能であるため、高速再生において必要とされる高速な記録用のデータ41の読み出しが可能となる。   In addition, when performing high-speed playback, it is common to thin out several frames of video data in the time direction and perform decoding using only video data of frames that can be decoded independently. Therefore, whether or not high-speed reproduction and high-speed reverse reproduction can be performed depends on how quickly a frame that can be independently decoded can be read out. In the present embodiment, by reading the independent / subordinate flag 36, it is possible to instantaneously determine whether or not the video data can be independently decoded. Therefore, for high-speed recording required in high-speed playback. Data 41 can be read.

また、所望のID情報31を一度読み出すことができれば、正方向ポインタ34および逆方向ポインタ35を読み出すことで、次に読み出すべきパケットデータ40の位置を連鎖的に知ることができる。これにより、素早い読み出しが可能となるため、高速再生、または、高速逆再生を実現することができる。また、パケットデータ40そのものに、次のパケットデータ40の位置を相対的に示す正方向ポインタ34および逆方向ポインタ35が付加されるため、別の記録媒体11aへ一部をコピーした場合でも、上記と同様の効果を得ることができる。   If the desired ID information 31 can be read once, the position of the packet data 40 to be read next can be known in a chain by reading the forward pointer 34 and the backward pointer 35. Thereby, since quick reading is possible, high-speed reproduction or high-speed reverse reproduction can be realized. Further, since the forward direction pointer 34 and the backward direction pointer 35 relatively indicating the position of the next packet data 40 are added to the packet data 40 itself, even when a part is copied to another recording medium 11a, The same effect can be obtained.

また、所望のID情報31を読み出す際に、所望のID情報31を一度読み出すことができれば、次に読み出すべき、独立して復号化可能なパケットデータ40の位置を連鎖的に知ることができる。これにより、効率よく独立して復号化不可能なデータを間引くことができるため、さらなる高速逆再生を実現することができる。   Further, when the desired ID information 31 can be read once when the desired ID information 31 is read, it is possible to know the position of the packet data 40 that should be read next and can be decoded independently. As a result, data that cannot be decoded independently can be thinned out efficiently, and further high-speed reverse reproduction can be realized.

また、アクセス制御ヘッダ30の制御情報は、その制御情報を含むパケットデータ40が、データ記録領域11cに記録された日時情報32を含む。この日時情報32により、所望の日時に記録されたパケットデータ40を容易に読み出すことができる。   The control information of the access control header 30 includes date / time information 32 in which the packet data 40 including the control information is recorded in the data recording area 11c. With this date / time information 32, the packet data 40 recorded at a desired date / time can be easily read.

なお、本実施の形態では、2つの映像符号化部4,5と、1つの音声符号化部7と、1つの付加情報符号化部22を設けた構成としているが、符号化部の個数はこれに限ったものではない。また、同様に、復号化部の個数についてもこれに限ったものではない。   In the present embodiment, two video encoding units 4 and 5, one audio encoding unit 7, and one additional information encoding unit 22 are provided. However, the number of encoding units is as follows. It is not limited to this. Similarly, the number of decoding units is not limited to this.

また、一の符号化部、および、一の復号化部それぞれは、1チャンネルの信号を処理するものとして示したが、一の符号化部、および、一の復号化部それぞれは、複数チャンネルを処理するものであってもよい。例えば、一の符号化部で4チャンネルの映像が符号化されるものであってもよい。この場合、一の符号化部から出力される記録用のデータ41に、4チャンネルそれぞれに応じた異なるID情報31を割り当てることで、同様の効果が得られる。   In addition, each of the one encoding unit and one decoding unit is shown as processing a signal of one channel, but each of the one encoding unit and one decoding unit has a plurality of channels. It may be processed. For example, 4 channel videos may be encoded by one encoding unit. In this case, the same effect can be obtained by assigning different ID information 31 corresponding to each of the four channels to the recording data 41 output from one encoding unit.

なお、映像および音声以外のその他のデータは、図2の付加情報復号化部23で有意な情報で解読されて付加情報出力部24から信号として出力されているが、この信号出力は直接出力するものに限ったものではない。たとえば、付加情報復号化部23で復号化されたその他データを映像信号に重量して映像出力部17,18から出力してもよい。   Other data other than video and audio are decoded by significant information by the additional information decoding unit 23 in FIG. 2 and output as signals from the additional information output unit 24. This signal output is directly output. It is not limited to things. For example, other data decoded by the additional information decoding unit 23 may be weighted as a video signal and output from the video output units 17 and 18.

また、記録媒体11aに記録するパケットデータ40が不定データ長である場合に、本実施の形態に係る装置および方法による効果は大きいが、固定長であるパケットデータ40について、本実施の形態で示した方法で記録してもなんら問題はない。さらに、映像データがMPEG符号化された場合について示したが、これに限ったものではなく、JPEG、あるいは、その他の符号化方式のデータであっても上述した方法で記録することができる。たとえば、JPEGで符号化した場合には、独立/従属フラグ36は、常に、「1」となる。そして、その場合、例えば、逆方向ポインタ35は、ID情報31ごとに自己の前の時点に生成されたパケットデータ40の直前のアドレスを示すものとなる。   In addition, when the packet data 40 to be recorded on the recording medium 11a has an indefinite data length, the effect of the apparatus and method according to the present embodiment is great, but the fixed length packet data 40 is shown in the present embodiment. There is no problem even if it is recorded by the method. Furthermore, although the case where the video data is MPEG-encoded has been shown, the present invention is not limited to this, and even JPEG or other encoding scheme data can be recorded by the above-described method. For example, in the case of encoding with JPEG, the independent / subordinate flag 36 is always “1”. In this case, for example, the backward pointer 35 indicates the address immediately before the packet data 40 generated at the previous time for each ID information 31.

また、記録再生装置1は、専用のハードウェアをもって構成してもよいし、汎用のパーソナルコンピュータ上でソフトウェアによる処理手段によって実現してもよい。   Further, the recording / reproducing apparatus 1 may be configured with dedicated hardware, or may be realized by a processing means using software on a general-purpose personal computer.

<実施の形態2>
図7は、本実施の形態に係る記録再生装置1、および、記録再生方法を説明する図であり、より具体的には、データ記録領域11cにおけるデータ構造を説明する図である。なお、本実施の形態において、実施の形態1で示した構成と同一、または、これに相当するものについては、同一の符号を付すものとする。
<Embodiment 2>
FIG. 7 is a diagram for explaining the recording / reproducing apparatus 1 and the recording / reproducing method according to the present embodiment. More specifically, FIG. 7 is a diagram for explaining the data structure in the data recording area 11c. Note that in this embodiment, components that are the same as or correspond to the components described in Embodiment 1 are denoted by the same reference numerals.

図7に示すように、データ記録領域11cは、一定データ間隔ごとに分割された分割データ記録領域89を含む。ポインタパケット80は、この分割データ記録領域89ごとに設けられている。なお、本実施の形態では、上記の一定データ間隔は記録媒体11aの記録単位の整数倍の間隔であり、ポインタパケット80は、記録媒体11aの記録単位の整数倍の間隔ごとに設けられているものとする。以下の図において、斜め方向にハッチングしたものは、ポインタパケット80を表すものとする。   As shown in FIG. 7, the data recording area 11c includes divided data recording areas 89 that are divided at regular data intervals. A pointer packet 80 is provided for each divided data recording area 89. In the present embodiment, the constant data interval is an interval that is an integral multiple of the recording unit of the recording medium 11a, and the pointer packet 80 is provided every interval that is an integral multiple of the recording unit of the recording medium 11a. Shall. In the following drawings, the hatched ones represent pointer packets 80.

ポインタパケット80に、そのポインタパケット80が設けられた分割データ記録領域89に記録されたパケットデータ40のID情報31それぞれに対して、分割データ記録領域89に記録され、そのID情報31を含むパケットデータ40のうち最初に読み出されるパケットデータ40の位置を、そのポインタパケット80の位置から相対的に示すアドレス情報である先頭ポインタ81〜83を格納している。なお、本実施の形態の分割データ記録領域89には、「0x00」から「0xFF」までのID情報31を含むパケットデータ40が記録できるものとする。   Packets recorded in the divided data recording area 89 for each ID information 31 of the packet data 40 recorded in the divided data recording area 89 provided with the pointer packet 80 and including the ID information 31 in the pointer packet 80 In the data 40, the first pointers 81 to 83 which are address information indicating the position of the packet data 40 to be read first from the position of the pointer packet 80 are stored. It should be noted that packet data 40 including ID information 31 from “0x00” to “0xFF” can be recorded in the divided data recording area 89 of the present embodiment.

ポインタパケット80に格納されている先頭ポインタ81は、ID情報31が「0x00」であるパケットデータ40のうち、そのポインタパケット80が設けられた分割データ記録領域89において最初に読み出されるパケットデータ40のアドレスを示す。図8は、その様子を示すものであり、この図において、No.1を付したパケットデータ40は、その分割データ記録領域89において最初に読み出されるパケットデータ40であることを示す。また、ポインタパケット80に格納されている先頭ポインタ83は、ID情報31が「0xFF」であるパケットデータ40のうち、そのポインタパケット80が設けられた分割データ記録領域89において最初に読み出されるパケットデータ40のアドレスを示す。同様に、「0x01」から「0xFE」までのID情報31それぞれに対して、同様のパケットデータ40のアドレスを示す先頭ポインタ82をポインタパケット80に格納している。このようにして、全てのID情報31に対して、最初に読み出されるパケットデータ40のアドレスを格納している。なお、分割データ記録領域89に、対応するID情報31のパケットデータ40がない場合には、その先頭ポインタは、例えば、「0」が格納される。   The head pointer 81 stored in the pointer packet 80 is the packet data 40 that is first read out in the divided data recording area 89 in which the pointer packet 80 is provided among the packet data 40 whose ID information 31 is “0x00”. Indicates an address. FIG. 8 shows such a situation. The packet data 40 to which 1 is attached indicates that the packet data 40 is read first in the divided data recording area 89. The head pointer 83 stored in the pointer packet 80 is packet data that is first read out in the divided data recording area 89 in which the pointer packet 80 is provided, out of the packet data 40 whose ID information 31 is “0xFF”. 40 addresses are shown. Similarly, for each ID information 31 from “0x01” to “0xFE”, a head pointer 82 indicating the address of the same packet data 40 is stored in the pointer packet 80. In this way, the address of the packet data 40 that is read first is stored for all the ID information 31. When there is no packet data 40 corresponding to the ID information 31 in the divided data recording area 89, for example, “0” is stored as the head pointer.

また、ポインタパケット80に、そのポインタパケット80が設けられた分割データ記録領域89に記録されたパケットデータ40のID情報31それぞれに対して、分割データ記録領域89に記録され、そのID情報31を含むパケットデータ40のうち最後に読み出されるパケットデータ40の位置を、そのポインタパケット80の位置から相対的に示すアドレス情報である終端ポインタ84〜86を格納している。   Further, the pointer packet 80 is recorded in the divided data recording area 89 for each of the ID information 31 of the packet data 40 recorded in the divided data recording area 89 in which the pointer packet 80 is provided. Stored are end pointers 84 to 86 which are address information indicating the position of the packet data 40 to be read last out of the included packet data 40 relative to the position of the pointer packet 80.

ポインタパケット80に格納されている終端ポインタ84は、ID情報31が「0x00」であるパケットデータ40のうち、そのポインタパケット80が設けられた分割データ記録領域89において最後に読み出されるパケットデータ40のアドレスを示す。この図において、No.k,l,m,n(k,l,m,nは自然数)を付したパケットデータ40は、その分割データ記録領域89において最後に読み出されるパケットデータ40であることを示す。また、ポインタパケット80に格納されている終端ポインタ86は、ID情報31が「0xFF」であるパケットデータ40のうち、そのポインタパケット80が設けられた分割データ記録領域89において最後に読み出されるパケットデータ40のアドレスを示す。同様に、「0x01」から「0xFE」までのID情報31それぞれに対して、同様のパケットデータ40のアドレスを示す終端ポインタ85をポインタパケット80に格納している。このようにして、全てのID情報31に対して、最後に読み出されるパケットデータ40のアドレスを格納している。なお、分割データ記録領域89に、対応するID情報31のパケットデータ40がない場合には、その終端ポインタは、例えば、「0」が格納される。   The end pointer 84 stored in the pointer packet 80 is the packet data 40 that is read last in the divided data recording area 89 provided with the pointer packet 80 among the packet data 40 whose ID information 31 is “0x00”. Indicates an address. In this figure, no. The packet data 40 to which k, l, m, and n (k, l, m, and n are natural numbers) is the packet data 40 that is read last in the divided data recording area 89. The end pointer 86 stored in the pointer packet 80 is packet data read last in the divided data recording area 89 provided with the pointer packet 80 out of the packet data 40 whose ID information 31 is “0xFF”. 40 addresses are shown. Similarly, for each ID information 31 from “0x01” to “0xFE”, a terminal pointer 85 indicating the address of the same packet data 40 is stored in the pointer packet 80. In this way, the address of the packet data 40 that is read last is stored for all the ID information 31. When there is no packet data 40 corresponding to the ID information 31 in the divided data recording area 89, for example, “0” is stored as the end pointer.

なお、先頭ポインタ81から先頭ポインタ83、および、終端ポインタ84から終端ポインタ85のデータサイズは、分割データ記録領域89のサイズに決定されるものであり、この分割データ記録領域89の範囲のアドレスを相対的に表現できるだけのサイズが確保されているものとする。   The data size of the start pointer 81 to the start pointer 83 and the end pointer 84 to the end pointer 85 is determined by the size of the divided data recording area 89. It is assumed that a size that can be expressed relatively is secured.

また、図8に示すように、ポインタパケット80に、そのポインタパケット80が設けられた分割データ記録領域89に、パケットデータ40が最初の時間に記録された最小日時情報87と、そのポインタパケット80が設けられた分割データ記録領域89に、パケットデータ40が最後の時間に記録された最大日時情報88とを格納している。   Further, as shown in FIG. 8, the pointer packet 80 has minimum date / time information 87 in which the packet data 40 is recorded at the first time in the divided data recording area 89 provided with the pointer packet 80, and the pointer packet 80. Is stored in the divided data recording area 89 where the packet data 40 is recorded at the last time.

本実施の形態では、制御情報読み出し部12は、パケットデータ40の制御情報を読み出す前に、まず、このポインタパケット80を読み出す。それから、所望のID情報31を含むパケットデータ40に先頭ポインタ81〜83が記録されていて、再生を行う場合には、先頭ポインタ81〜83の情報により、分割データ記録領域89において最初に読み出すべきパケットデータ40を読み出す。所望のID情報31を含むパケットデータ40に終端ポインタ84〜86が記録されていて、逆再生を行う場合には、終端ポインタ84〜86の情報により、分割データ記録領域89において最後に読み出すべきパケットデータ40を読み出す。もし、所望のID情報31を含むパケットデータ40が記録されていない場合には、次のポインタパケット80を読み出す。   In the present embodiment, the control information reading unit 12 first reads the pointer packet 80 before reading the control information of the packet data 40. Then, when the head pointers 81 to 83 are recorded in the packet data 40 including the desired ID information 31 and reproduction is performed, it should be read first in the divided data recording area 89 based on the information of the head pointers 81 to 83. Packet data 40 is read. When the end pointers 84 to 86 are recorded in the packet data 40 including the desired ID information 31 and reverse playback is performed, the packet to be read last in the divided data recording area 89 according to the information of the end pointers 84 to 86. Data 40 is read out. If the packet data 40 including the desired ID information 31 is not recorded, the next pointer packet 80 is read out.

また、制御情報読み出し部12は、先頭ポインタ81〜83、および、終端ポインタ84〜86を読み出す前に、まず、最小日時情報87、および、最大日時情報88を読み出す。そして、所望の日時が、最小日時情報87から最大日時情報88の間にあるかを読み出す。所望の日時が、最小日時情報87から最大日時情報88の間にあれば、続けて先頭ポインタ81〜83、あるいは、終端ポインタ84〜86を読み出す。もし、所望の日時が、最小日時情報87から最大日時情報88の間になければ、次のポインタパケット80を読み出す。   Further, the control information reading unit 12 first reads the minimum date / time information 87 and the maximum date / time information 88 before reading the head pointers 81 to 83 and the end pointers 84 to 86. Then, it is read out whether the desired date / time is between the minimum date / time information 87 and the maximum date / time information 88. If the desired date / time is between the minimum date / time information 87 and the maximum date / time information 88, the start pointers 81 to 83 or the end pointers 84 to 86 are read out. If the desired date / time is not between the minimum date / time information 87 and the maximum date / time information 88, the next pointer packet 80 is read.

以上のような記録再生装置1、および、記録再生方法によれば、パケットデータ40を読み出す前に、ポインタパケット80を読み出すことで、対応する分割データ記録領域89に、所望のID情報31を含むパケットデータ40が記録されているかどうかを瞬時に検索することができる。こうして、制御情報読み出し部12が、所望の制御情報を読み出す場合に、効率よく所望の制御情報を検索することができるので、高速なパケットデータ40の読み出しが可能となる。   According to the recording / reproducing apparatus 1 and the recording / reproducing method as described above, the desired ID information 31 is included in the corresponding divided data recording area 89 by reading the pointer packet 80 before reading the packet data 40. Whether the packet data 40 is recorded can be instantly searched. In this way, when the control information reading unit 12 reads desired control information, the desired control information can be searched efficiently, so that the packet data 40 can be read at high speed.

また、このポインタパケット80は、記録媒体11aの記録単位の整数倍の間隔ごとに設けられているので、記録媒体11aから効率よくポインタパケット80を読み出すことができる。   Further, since the pointer packet 80 is provided at intervals of an integral multiple of the recording unit of the recording medium 11a, the pointer packet 80 can be efficiently read from the recording medium 11a.

また、最小日時情報87、および、最大日時情報88を読み出すことにより、対応する分割データ記録領域89に、所望のパケットデータ40が記録されているかどうかを瞬時に検索することができる。こうして、制御情報読み出し部12が、所望の制御情報を読み出す場合に、効率よく所望の制御情報を検索することができるので、高速なパケットデータ40の読み出しが可能となる。   Further, by reading out the minimum date information 87 and the maximum date information 88, it is possible to instantly search whether or not the desired packet data 40 is recorded in the corresponding divided data recording area 89. In this way, when the control information reading unit 12 reads desired control information, the desired control information can be searched efficiently, so that the packet data 40 can be read at high speed.

<実施の形態3>
実施の形態2では、高速読み出しを行うために、データ記録領域11cに一定データ間隔ごとにポインタパケット80を設けた。そのため、ポインタパケット80前後の領域に、データサイズが大きいパケットデータ40を記録する場合には、ポインタパケット80の直前のデータ記録領域11cが不足して記録できなくなる場合がある。そのような場合、次のポインタパケット80のデータ記録領域11cに記録しなければならないため、結果として、ポインタパケット80の直前に記録されない領域が生じるようになり、その領域が無駄になってしまう。本実施の形態は、その無駄が生じないようにするためのものである。
<Embodiment 3>
In the second embodiment, pointer packets 80 are provided in the data recording area 11c at regular data intervals in order to perform high-speed reading. For this reason, when packet data 40 having a large data size is recorded in the area before and after the pointer packet 80, the data recording area 11c immediately before the pointer packet 80 may be insufficient and cannot be recorded. In such a case, the data must be recorded in the data recording area 11c of the next pointer packet 80. As a result, an area that is not recorded immediately before the pointer packet 80 is generated, and this area is wasted. This embodiment is for preventing the waste.

図9は、本実施の形態に係る記録再生装置1、および、記録再生方法を説明する図であり、より具体的には、データ記録領域11cにおけるデータ格納方法を説明する図である。なお、本実施の形態において、実施の形態2で示した構成と同一、または、これに相当するものについては、同一の符号を付すものとする。   FIG. 9 is a diagram for explaining the recording / reproducing apparatus 1 and the recording / reproducing method according to the present embodiment. More specifically, FIG. 9 is a diagram for explaining a data storing method in the data recording area 11c. Note that in this embodiment, components that are the same as or correspond to the components described in Embodiment 2 are denoted by the same reference numerals.

映像データ90は、実施の形態1における映像データに相当する。ここでは、映像データ90について示すが、記録用のデータ41であればよく、音声データや、その他データであってもよい。データ多重化部8は、一の記録用のデータ41である映像データ90を分割して生成される複数の分割データである分割映像データ91〜93それぞれに、分割前のその映像データ90に付与されるアクセス制御ヘッダ30を付与してメディアパケットを生成する。本実施の形態では、映像データ90の分割を3分割としている。   Video data 90 corresponds to the video data in the first embodiment. Here, the video data 90 is shown, but the recording data 41 may be used, and audio data or other data may be used. The data multiplexing unit 8 assigns the divided video data 91 to 93, which are a plurality of divided data generated by dividing the video data 90 that is one recording data 41, to the video data 90 before division. The access control header 30 is added to generate a media packet. In the present embodiment, the video data 90 is divided into three parts.

アクセス制御ヘッダ30の制御情報は、分割状態を示すチェインフラグ37を含む。例えば、チェインフラグ37の値が「1」で有る場合には、その分割映像データ91が、映像データ90の先頭の分割映像データであることを意味する。同様に、チェインフラグの値が「2」である場合には、その分割映像データ92が、映像データ90の中間の分割映像データであることを意味する。チェインフラグ37の値が「3」である場合には、その分割映像データ93が、映像データ90の最後の分割映像データであることを意味する。   The control information of the access control header 30 includes a chain flag 37 indicating the division state. For example, when the value of the chain flag 37 is “1”, it means that the divided video data 91 is the first divided video data of the video data 90. Similarly, when the value of the chain flag is “2”, it means that the divided video data 92 is intermediate divided video data of the video data 90. When the value of the chain flag 37 is “3”, it means that the divided video data 93 is the last divided video data of the video data 90.

図9では、先頭の分割映像データ91に付与されるアクセス制御ヘッダ30内のチェインフラグ37には「1」が記述されている。同様に、中間の分割映像データ92に付与されるアクセス制御ヘッダ30内のチェインフラグ37は「2」が記述され、最終の分割映像データ93に付与されるアクセス制御ヘッダ30内のチェインフラグ37は「3」が記述されている。   In FIG. 9, “1” is described in the chain flag 37 in the access control header 30 assigned to the first divided video data 91. Similarly, “2” is described in the chain flag 37 in the access control header 30 added to the intermediate divided video data 92, and the chain flag 37 in the access control header 30 added to the final divided video data 93 is “3” is described.

データ記録部10は、ポインタパケット80の直前に生じるデータ記録領域11cの未使用領域に、チェインフラグ37を含むパケットデータ40を記録する。制御情報読み出し部12は、データ記録領域11cにおいて、チェインフラグ37を含むパケットデータ40を読み出した場合には、対応するチェインフラグ37を含むパケットデータ40全てを読み出す。そして、それらのパケットデータ40に含まれる分割映像データ91〜93から、元の記録用の映像データ90を復元する。   The data recording unit 10 records the packet data 40 including the chain flag 37 in an unused area of the data recording area 11c generated immediately before the pointer packet 80. When the control information reading unit 12 reads the packet data 40 including the chain flag 37 in the data recording area 11c, the control information reading unit 12 reads all the packet data 40 including the corresponding chain flag 37. Then, the original video data 90 for recording is restored from the divided video data 91 to 93 included in the packet data 40.

このように構成された本実施の形態に係る記録再生装置1は、所定のデータ範囲を有する映像データ90を分割した分割映像データ91〜93を、データ記録領域11cに記録できるようになる。そのため、ポインタパケット80を設けてデータ記録領域11cに生じる未使用領域に、分割映像データ91〜93をポインタパケット80の前後に分けて記録することで、データ記録領域11cの無駄を発生させることなく、効率よく記録することができる。さらに、ポインタパケット80が設けられた分割データ記録領域89のデータ間隔よりも大きなパケットデータ40を記録する場合でも、上記と同様にすれば、そのパケットデータ40を分割データ記録領域89に記録することができる。また、上記の構成は、長時間記憶するような構成に限ったものではなく、例えば、符号化部から出力された記録用のデータ41を一時的に保持して記録するメモリに適用してもよい。そうすれば、メモリの容量に対して大きな所定のデータ範囲を有する記録用のデータ41を、そのメモリに記録する場合でも、分割して記録するようにすることにより、装置に必要とされるメモリをより小さなメモリで代用することが可能となる。   The recording / reproducing apparatus 1 according to the present embodiment configured as described above can record the divided video data 91 to 93 obtained by dividing the video data 90 having a predetermined data range in the data recording area 11c. Therefore, by providing the pointer packet 80 and recording the divided video data 91 to 93 in the unused area generated in the data recording area 11c before and after the pointer packet 80, the data recording area 11c is not wasted. Can be recorded efficiently. Furthermore, even when packet data 40 larger than the data interval of the divided data recording area 89 provided with the pointer packet 80 is recorded, the packet data 40 is recorded in the divided data recording area 89 in the same manner as described above. Can do. Further, the above configuration is not limited to a configuration for storing for a long time, and may be applied to, for example, a memory that temporarily stores and records the recording data 41 output from the encoding unit. Good. Then, even when recording data 41 having a predetermined data range that is large relative to the capacity of the memory is recorded in the memory, the memory required for the apparatus is divided and recorded. Can be substituted with a smaller memory.

なお、本実施の形態では、一の映像データ90の分割を3分割とした例で示しているが、4分割以上とすることも可能であり、その場合には、中間に位置する複数のパケットデータ40のチェインフラグに対して、例えば、2が記述される。また、2分割で記録しても問題はない。また、全ての映像データ90を分割する必要はない。   In the present embodiment, an example is shown in which one video data 90 is divided into three. However, it is possible to divide the video data 90 into four or more. In this case, a plurality of packets positioned in the middle are used. For example, 2 is described for the chain flag of the data 40. There is no problem even if recording is performed in two parts. Further, it is not necessary to divide all the video data 90.

また、本実施の形態では、記録用のデータ41が、映像データであるとして、分割データのパケット化を説明したが、映像データに限ったものではなく、上述した音声データやその他データに対しても同様にパケット化するようにしてもよく、その場合にも、上記と同様の効果を得ることができる。   Further, in the present embodiment, the packetization of the divided data is described on the assumption that the recording data 41 is video data. However, the recording data 41 is not limited to video data, and is not limited to the above-described audio data or other data. Similarly, packetization may be performed, and in this case, the same effect as described above can be obtained.

<実施の形態4>
図10は、本実施の形態に係る記録再生装置1、および、記録再生方法を説明する図であり、より具体的には、データ記録領域11cにおけるデータ構造の説明図である。なお、本実施の形態において、実施の形態1で示した構成と同一、または、これに相当するものについては、同一の符号を付すものとする。
<Embodiment 4>
FIG. 10 is a diagram for explaining the recording / reproducing apparatus 1 and the recording / reproducing method according to the present embodiment. More specifically, FIG. 10 is a diagram for explaining the data structure in the data recording area 11c. Note that in this embodiment, components that are the same as or correspond to the components described in Embodiment 1 are denoted by the same reference numerals.

図10で示したS1からS9は、パケットデータ40のそれぞれのデータサイズを示している。本実施の形態においては、パケットデータ40のデータサイズS1からS9を、離散的な不定データ長で構成するものとする。離散的な不定データ長とは、たとえば、データ転送単位(例えば、32バイト)の整数倍などで構成するものである。記録用のデータ41のデータサイズが32バイトの整数倍でない場合には、記録用のデータ41の終端に、データアライメントのためのスタッフィングを行うものとする。   S1 to S9 shown in FIG. 10 indicate the data sizes of the packet data 40, respectively. In the present embodiment, the data sizes S1 to S9 of the packet data 40 are configured with discrete indefinite data lengths. The discrete indefinite data length is constituted by, for example, an integer multiple of a data transfer unit (for example, 32 bytes). When the data size of the recording data 41 is not an integer multiple of 32 bytes, stuffing for data alignment is performed at the end of the recording data 41.

そして、アクセス制御ヘッダ30に格納されているデータサイズ情報33、および、正方向ポインタ34、および、逆方向ポインタ35の値は、この32バイトを基準とした値で表現する。たとえば、パケットデータ40のサイズが3072バイトであって、基準とした値が32バイトである場合、96(=3072/32)という新たなアドレスで表現する。   The values of the data size information 33, the forward direction pointer 34, and the backward direction pointer 35 stored in the access control header 30 are expressed as values based on these 32 bytes. For example, when the size of the packet data 40 is 3072 bytes and the reference value is 32 bytes, it is expressed by a new address of 96 (= 3072/32).

以上のような記録再生装置1、および、記録再生方法によれば、パケットデータ40の先頭位置は離散的となり、記録単位で区切った範囲を1単位として新たなアドレスとすることができる。このようにすれば、パケットデータ40のデータサイズ情報33、および、パケットデータ40の先頭位置示す正方向ポインタ34、および、逆方向ポインタ35は、より小さなデータサイズでアドレスを表現することが可能となる。そうすると、アクセス制御ヘッダ30のデータサイズを小さくすることにより、アクセス制御ヘッダ30に対する記録用のデータ41を記録する比率が領域が増えるため、記録媒体11aの記録効率を向上することが実現可能となる。この効果は、実施の形態2で説明したポインタパケット80の先頭ポインタ81〜83、および、終端ポインタ84〜86についても同様の効果があり、さらに記録媒体11aの記録効率を向上することが可能となる。   According to the recording / reproducing apparatus 1 and the recording / reproducing method as described above, the head position of the packet data 40 becomes discrete, and a range delimited by recording units can be set as a new address. In this way, the data size information 33 of the packet data 40, the forward direction pointer 34 indicating the head position of the packet data 40, and the backward direction pointer 35 can express an address with a smaller data size. Become. Then, by reducing the data size of the access control header 30, the ratio of recording the recording data 41 to the access control header 30 increases, so that it is possible to improve the recording efficiency of the recording medium 11a. . This effect is the same for the start pointers 81 to 83 and the end pointers 84 to 86 of the pointer packet 80 described in the second embodiment, and the recording efficiency of the recording medium 11a can be further improved. Become.

<実施の形態5>
図11は、本実施の形態に係る記録再生装置1、および、記録再生方法を説明するブロック図であり、より具体的には、実施の形態1に示した記録再生装置1に加え、ネットワーク受信部25と、ネットワーク送信部26とを備える。なお、本実施の形態において、実施の形態1で示した構成と同一、または、これに相当するものについては、同一の符号を付すものとする。また、実施の形態1と同様、図11において、本実施の形態の効果に直接影響を及ぼさない部分は省略して示している。
<Embodiment 5>
FIG. 11 is a block diagram for explaining the recording / reproducing apparatus 1 and the recording / reproducing method according to the present embodiment. More specifically, in addition to the recording / reproducing apparatus 1 shown in the first embodiment, network reception Unit 25 and network transmission unit 26. Note that in this embodiment, components that are the same as or correspond to the components described in Embodiment 1 are denoted by the same reference numerals. In addition, as in the first embodiment, in FIG. 11, portions that do not directly affect the effects of the present embodiment are omitted.

映像入力部2,3それぞれには、カメラなどから出力される映像信号が入力される。本実施の形態では、2チャンネルの映像信号が入力される構成となっている。映像符号化部4,5それぞれは、映像入力部2,3からそれぞれ入力された映像信号を符号化して、映像データを生成する。また、音声入力部6には、マイクなどから出力される音声信号が入力される。音声符号化部7は、音声入力部6から入力された音声信号を符号化して、音声データを生成する。これらは、実施の形態1と同様である。ネットワーク受信部25には、LANなどのネットワークを介して、ネットワークカメラなどの符号化装置が接続される。このように、ネットワーク受信部25は、符号化された記録用のデータ41をネットワークを介して外部、例えば、外部装置から受信する。   A video signal output from a camera or the like is input to each of the video input units 2 and 3. In this embodiment, a two-channel video signal is input. Each of the video encoding units 4 and 5 encodes the video signal input from each of the video input units 2 and 3 to generate video data. In addition, an audio signal output from a microphone or the like is input to the audio input unit 6. The audio encoding unit 7 encodes the audio signal input from the audio input unit 6 to generate audio data. These are the same as in the first embodiment. The network receiving unit 25 is connected to an encoding device such as a network camera via a network such as a LAN. In this way, the network receiving unit 25 receives the encoded recording data 41 from the outside, for example, an external device via the network.

データ多重化部8は、符号化された記録用のデータ41に対し、所定のデータ範囲ごとに、データの種類にかかわらず同一の情報項目を有する共通のアクセス制御ヘッダ30を付与して、不定データ長のメディアパケットを生成し、多重化する。ここで、記録用のデータ41は、上述した映像信号を符号化した映像データ、および、音声信号を符号化した音声データに、さらに、ネットワーク受信部25で受信したデータの少なくとも一つを含む。ここで、ネットワーク受信部25で受信したデータは、映像データ、音声データ、および、映像信号、および、音声信号以外のその他信号を符号化したその他データのいずれであってもよい。   The data multiplexing unit 8 assigns a common access control header 30 having the same information item to the encoded recording data 41 for each predetermined data range regardless of the type of data. Generate and multiplex data length media packets. Here, the recording data 41 includes at least one of the data received by the network receiver 25 in addition to the video data obtained by encoding the video signal and the audio data obtained by encoding the audio signal. Here, the data received by the network receiving unit 25 may be any of video data, audio data, video signals, and other data obtained by encoding other signals other than audio signals.

アクセス制御ヘッダ30の情報項目は、パケットメディアを読み出す制御に用いられる制御情報を含む。この制御情報の内容は、データ多重化部8によって与えられてもよいし、制御情報生成部9で与えもよい。その後、データ記録部10は、データ多重化部8が生成したメディアパケットを、パケットデータ40としてデータ記録領域11cに連続して記録する。   The information item of the access control header 30 includes control information used for control of reading the packet medium. The contents of this control information may be given by the data multiplexing unit 8 or may be given by the control information generating unit 9. Thereafter, the data recording unit 10 continuously records the media packets generated by the data multiplexing unit 8 as packet data 40 in the data recording area 11c.

データ記録領域11cに記録されたパケットデータ40を再生する場合には、制御情報読み出し部12とデータ読み出し部13により構成されるデータ抽出部が、アクセス制御ヘッダ30の制御情報に基づいて、データ記録領域11cに記録されたパケットデータ40を読み出す。本実施の形態では、制御情報読み出し部12が、データ記録領域11cに記録されたパケットデータ40の制御情報のうち、所望の制御情報と一致する制御情報を検索して読み出す。データ読み出し部13は、制御情報読み出し部12において一致したパケットデータ40を読み出す。   When reproducing the packet data 40 recorded in the data recording area 11 c, the data extraction unit configured by the control information reading unit 12 and the data reading unit 13 performs data recording based on the control information in the access control header 30. The packet data 40 recorded in the area 11c is read out. In the present embodiment, the control information reading unit 12 searches for and reads out control information that matches the desired control information from the control information of the packet data 40 recorded in the data recording area 11c. The data reading unit 13 reads the packet data 40 that matches in the control information reading unit 12.

データ読み出し部13から読み出された記録用のデータ41は、データ分離部14にて分離して、映像復号化部15,16に送られるか、音声復号化部19に送られるか、もしくは、ネットワーク送信部26に送出される。ネットワーク送信部26は、制御情報に基づいて読み出されたパケットデータ40を、ネットワークを介して外部、例えば、外部装置に送信する。   The recording data 41 read from the data reading unit 13 is separated by the data separation unit 14 and sent to the video decoding units 15 and 16, sent to the audio decoding unit 19, or It is sent to the network transmission unit 26. The network transmission unit 26 transmits the packet data 40 read based on the control information to the outside, for example, an external device via the network.

以上の構成からなる本実施の形態に係る記録再生装置1は、ネットワークを介した記録用のデータ41も、データ多重化部8において、アクセス制御ヘッダ30を付与してパケットデータ40として記録する。このため、遠隔地のデータを記録再生装置1にて記録する場合や、記録再生装置1に記録された記録用のデータ41をネットワークを介して遠隔地にて再生することができる。そして、記録再生装置1を実施の形態1と同様な構成としているため、実施の形態1と同様な効果を有し、データ記録領域11cの効率的な利用を実現するとともに、アクセス制御ヘッダ30の情報およびポインタパケット80の情報を用いることで高速な読み出しを実現することができる。   The recording / reproducing apparatus 1 according to the present embodiment having the above configuration records the data 41 for recording via the network as the packet data 40 by adding the access control header 30 in the data multiplexing unit 8. For this reason, when data at a remote location is recorded by the recording / reproducing apparatus 1, the recording data 41 recorded on the recording / reproducing apparatus 1 can be reproduced at a remote location via the network. Since the recording / reproducing apparatus 1 has the same configuration as that of the first embodiment, it has the same effect as that of the first embodiment, realizes efficient use of the data recording area 11c, and the access control header 30. By using the information and the information of the pointer packet 80, high-speed reading can be realized.

なお、本実施の形態では、ネットワーク受信部25から受信してデータ記録領域11cに記録された記録用のデータ41を、ネットワーク送信部26から外部に送信する構成について説明した。しかし、これに限ったものではなく、ネットワーク受信部25から受信してデータ記録領域11cに記録された記録用のデータ41を、復号化部において復号化し、映像出力部17,18、あるいは、音声出力部20により出力してもかまわない。このようにすることで、例えば、遠隔地の記録装置に記録された記録用のデータ41を、本記録再生装置1で視聴することができる。また、本記録再生装置1の符号化部で符号化してデータ記録領域11cに記録した記録用のデータ41を、データ読み出し部13にて読み出した後、ネットワーク送信部26にて外部に送信してもよい。このようにすることで、本記録再生装置1での記録用のデータ41を、ネットワークを介して遠隔地の記録再生装置1で視聴することができる。   In the present embodiment, the configuration has been described in which the recording data 41 received from the network receiving unit 25 and recorded in the data recording area 11c is transmitted from the network transmitting unit 26 to the outside. However, the present invention is not limited to this, and the recording data 41 received from the network receiving unit 25 and recorded in the data recording area 11c is decoded by the decoding unit, and the video output units 17 and 18 or the audio data is recorded. It may be output by the output unit 20. In this way, for example, the recording data 41 recorded in a remote recording device can be viewed on the recording / reproducing device 1. The recording data 41 encoded by the encoding unit of the recording / reproducing apparatus 1 and recorded in the data recording area 11c is read by the data reading unit 13 and then transmitted to the outside by the network transmission unit 26. Also good. By doing so, the recording data 41 in the recording / reproducing apparatus 1 can be viewed on the remote recording / reproducing apparatus 1 via the network.

実施の形態1に係る記録再生装置を示すブロック図である。1 is a block diagram showing a recording / reproducing apparatus according to Embodiment 1. FIG. 実施の形態1に係る記録再生装置および記録再生方法を示す図である。1 is a diagram illustrating a recording / reproducing apparatus and a recording / reproducing method according to Embodiment 1. FIG. 実施の形態1に係る記録再生装置および記録再生方法を示す図である。1 is a diagram illustrating a recording / reproducing apparatus and a recording / reproducing method according to Embodiment 1. FIG. 実施の形態1に係る記録再生装置および記録再生方法を示す図である。1 is a diagram illustrating a recording / reproducing apparatus and a recording / reproducing method according to Embodiment 1. FIG. 実施の形態1に係る記録再生装置および記録再生方法を示す図である。1 is a diagram illustrating a recording / reproducing apparatus and a recording / reproducing method according to Embodiment 1. FIG. 実施の形態1に係る記録再生装置および記録再生方法を示す図である。1 is a diagram illustrating a recording / reproducing apparatus and a recording / reproducing method according to Embodiment 1. FIG. 実施の形態2に係る記録再生装置および記録再生方法を示す図である。It is a figure which shows the recording / reproducing apparatus and recording / reproducing method which concern on Embodiment 2. FIG. 実施の形態2に係る記録再生装置および記録再生方法を示す図である。It is a figure which shows the recording / reproducing apparatus and recording / reproducing method which concern on Embodiment 2. FIG. 実施の形態3に係る記録再生装置および記録再生方法を示す図である。It is a figure which shows the recording / reproducing apparatus and recording / reproducing method which concern on Embodiment 3. FIG. 実施の形態4に係る記録再生装置および記録再生方法を示す図である。It is a figure which shows the recording / reproducing apparatus and recording / reproducing method which concern on Embodiment 4. 実施の形態5に係る記録再生装置を示すブロック図である。FIG. 10 is a block diagram showing a recording / reproducing device according to Embodiment 5;

符号の説明Explanation of symbols

1 記録再生装置、2,3 映像入力部、4,5 映像符号化部、6 音声入力部、7 音声符号化部、8 データ多重化部、9 制御情報生成部、10 データ記録部、11 データ蓄積部、11a 記録媒体、11b 管理データ領域、11c データ記録領域、12 制御情報読み出し部、13 データ読み出し部、14 データ分離部、15,16 映像復号化部、17,18 映像出力部、19 音声復号化部、20 音声出力部、21 付加情報入力部、22 付加情報符号化部、23 付加情報復号化部、24 付加情報出力部、25 ネットワーク受信部、26 ネットワーク送信部、30 アクセス制御ヘッダ、31 ID情報、32 日時情報、33 データサイズ情報、34,60〜67 正方向ポインタ、35,70〜77 逆方向ポインタ、36 独立/従属フラグ、37 チェインフラグ、40 パケットデータ、41 記録用のデータ、42 チャンネル1のIフレームの映像データ、43 チャンネル2のIフレームの映像データ、44,46 チャンネル1のPフレームの映像データ、45,49 チャンネル1の音声データ、47,50 その他データ、48 チャンネル2のPフレームの映像データ、80 ポインタパケット、81〜83 先頭ポインタ、84〜86 終端ポインタ、87 最小日時情報、88 最大日時情報、89 分割データ記録領域、90 映像データ、91〜93 分割映像データ。   DESCRIPTION OF SYMBOLS 1 Recording / reproducing apparatus, 2,3 Video input part, 4,5 Video encoding part, 6 Audio input part, 7 Audio encoding part, 8 Data multiplexing part, 9 Control information generation part, 10 Data recording part, 11 Data Storage section, 11a recording medium, 11b management data area, 11c data recording area, 12 control information reading section, 13 data reading section, 14 data separation section, 15, 16 video decoding section, 17, 18 video output section, 19 audio Decoding unit, 20 audio output unit, 21 additional information input unit, 22 additional information encoding unit, 23 additional information decoding unit, 24 additional information output unit, 25 network receiving unit, 26 network transmitting unit, 30 access control header, 31 ID information, 32 Date / time information, 33 Data size information, 34, 60 to 67 Forward pointer, 35, 70 to 77 Reverse direction poi 36, independent / subordinate flag, 37 chain flag, 40 packet data, 41 recording data, 42 channel 1 I frame video data, 43 channel 2 I frame video data, 44, 46 channel 1 P frame Video data, 45, 49 channel 1 audio data, 47, 50 other data, 48 channel 2 P frame video data, 80 pointer packet, 81-83 head pointer, 84-86 end pointer, 87 minimum date and time information, 88 maximum date and time information, 89 divided data recording area, 90 video data, 91-93 divided video data.

Claims (18)

符号化された記録用のデータに対し、所定のデータ範囲ごとに、データの種類にかかわらず同一の情報項目を有する共通のヘッダを付与して、不定データ長のパケットを生成するデータ多重化部と、
前記パケットが記録されるデータ記録領域を有する記録媒体と、
前記データ多重化部が生成した前記パケットを前記データ記録領域に連続して記録するデータ記録部と、
前記ヘッダの制御情報に基づいて、前記データ記録領域に記録されたパケットデータを読み出すデータ抽出部とを備える、
記録再生装置。
A data multiplexing unit that generates a packet of indefinite data length by adding a common header having the same information item to a predetermined data range regardless of the type of data for encoded recording data When,
A recording medium having a data recording area in which the packet is recorded;
A data recording unit for continuously recording the packets generated by the data multiplexing unit in the data recording area;
A data extraction unit for reading packet data recorded in the data recording area based on the control information of the header;
Recording / playback device.
前記記録用のデータは、映像信号を符号化した映像データ、および、音声信号を符号化した音声データ、および、それ以外の信号を符号化したその他データの少なくとも一つを含み、
前記制御情報は、当該制御情報が付与された前記パケットデータが、前記映像データであるか前記音声データであるか前記その他データであるかを特定するためのID情報を含む、
請求項1に記載の記録再生装置。
The data for recording includes at least one of video data encoded video signals, audio data encoded audio signals, and other data encoded other signals,
The control information includes ID information for specifying whether the packet data to which the control information is attached is the video data, the audio data, or the other data.
The recording / reproducing apparatus according to claim 1.
前記データ抽出部で読み出された前記パケットデータを復号化する復号化部をさらに備え、
一の前記パケットデータは、独立して前記復号化部で復号化可能な第1の記録用のデータ、または、前記第1の記録用のデータに従属して前記復号化部で復号化可能な第2の記録用のデータのいずれかを含み、
前記制御情報は、当該制御情報が付与された前記パケットデータが、前記第1の記録用のデータであるか前記第2の記録用のデータであるかを特定するための情報を含む、
請求項2に記載の記録再生装置。
A decoding unit for decoding the packet data read by the data extraction unit;
The one packet data can be decoded by the decoding unit depending on the first recording data that can be decoded independently by the decoding unit or the first recording data. Including any of the second recording data,
The control information includes information for specifying whether the packet data provided with the control information is the first recording data or the second recording data.
The recording / reproducing apparatus according to claim 2.
前記制御情報は、
当該制御情報を含む前記パケットデータのデータサイズ情報と、
当該制御情報の前記ID情報と一致する前記ID情報を含む前記パケットデータのうち、当該制御情報を含む前記パケットの生成時間直後に生成された前記パケットデータの位置を、当該制御情報を含む前記パケットデータの位置から相対的に示すアドレス情報と、
当該制御情報の前記ID情報と一致する前記ID情報を含む前記パケットデータのうち、当該制御情報を含む前記パケットの生成時間直前に生成された前記パケットデータの位置を、当該制御情報を含む前記パケットデータの位置から相対的に示すアドレス情報とを含む、
請求項2または請求項3に記載の記録再生装置。
The control information is
Data size information of the packet data including the control information;
Among the packet data including the ID information that matches the ID information of the control information, the position of the packet data generated immediately after the generation time of the packet including the control information is the packet including the control information. Address information relative to the data position;
Among the packet data including the ID information that matches the ID information of the control information, the position of the packet data generated immediately before the generation time of the packet including the control information is the packet including the control information. Including address information relative to the data position,
The recording / reproducing apparatus of Claim 2 or Claim 3.
前記データ抽出部で読み出された前記パケットデータを復号化する復号化部をさらに備え、
一の前記パケットデータは、独立して前記復号化部で復号化可能な第1の記録用のデータ、または、前記第1の記録用のデータに従属して前記復号化部で復号化可能な第2の記録用のデータのいずれかを含み、
前記制御情報は、
当該制御情報を含む前記パケットデータのデータサイズ情報と、
当該制御情報の前記ID情報と一致する前記ID情報を含む前記パケットデータのうち、当該制御情報を含む前記パケットの生成時間直後に生成された前記パケットデータの位置を、当該制御情報を含む前記パケットデータの位置から相対的に示すアドレス情報と、
当該制御情報の前記ID情報と一致する前記ID情報を含む前記パケットデータのうち、当該制御情報を含む前記パケットの生成時間直前に生成され、前記第1の記録用のデータを含む前記パケットデータの位置を、当該制御情報を含む前記パケットデータの位置から相対的に示すアドレス情報とを含む、
請求項2に記載の記録再生装置。
A decoding unit for decoding the packet data read by the data extraction unit;
The one packet data can be decoded by the decoding unit depending on the first recording data that can be decoded independently by the decoding unit or the first recording data. Including any of the second recording data,
The control information is
Data size information of the packet data including the control information;
Among the packet data including the ID information that matches the ID information of the control information, the position of the packet data generated immediately after the generation time of the packet including the control information is the packet including the control information. Address information relative to the data position;
Of the packet data that includes the ID information that matches the ID information of the control information, the packet data that is generated immediately before the generation time of the packet that includes the control information and includes the first recording data. Address information indicating the position relative to the position of the packet data including the control information,
The recording / reproducing apparatus according to claim 2.
前記データ記録領域は、
一定データ間隔ごとに分割された分割データ記録領域を含み、
前記分割データ記録領域ごとに設けられるポインタパケットを備え、
前記ポインタパケットに、
当該ポインタパケットが設けられた前記分割データ記録領域に記録された前記パケットデータの前記ID情報それぞれに対して、当該分割データ記録領域に記録され、当該ID情報を含む前記パケットデータのうち最初に読み出される前記パケットデータの位置を、当該ポインタパケットの位置から相対的に示すアドレス情報と、
当該ポインタパケットが設けられた前記分割データ記録領域に記録された前記パケットデータの前記ID情報それぞれに対して、当該分割データ記録領域に記録され、当該ID情報を含む前記パケットデータのうち最後に読み出される前記パケットデータの位置を、当該ポインタパケットの位置から相対的に示すアドレス情報とを格納している、
請求項2乃至請求項5のいずれかに記載の記録再生装置。
The data recording area is
Including a divided data recording area divided at regular data intervals;
A pointer packet provided for each of the divided data recording areas,
In the pointer packet,
For each of the ID information of the packet data recorded in the divided data recording area provided with the pointer packet, it is recorded in the divided data recording area and read out first among the packet data including the ID information. Address information indicating the position of the packet data relative to the position of the pointer packet;
For each of the ID information of the packet data recorded in the divided data recording area provided with the pointer packet, it is recorded in the divided data recording area and is finally read out of the packet data including the ID information. Storing address information indicating the position of the packet data relative to the position of the pointer packet,
The recording / reproducing apparatus according to claim 2.
前記一定データ間隔は、
前記記録媒体の記録単位の整数倍の間隔である、
請求項6に記載の記録再生装置。
The fixed data interval is
The interval is an integral multiple of the recording unit of the recording medium,
The recording / reproducing apparatus according to claim 6.
前記ポインタパケットに、
当該ポインタパケットが設けられた前記分割データ記録領域に前記パケットデータが最初の時間に記録された最小日時情報と、当該ポインタパケットが設けられた前記分割データ記録領域に前記パケットデータが最後の時間に記録された最大日時情報とを格納している、
請求項6または請求項7に記載の記録再生装置。
In the pointer packet,
The minimum date and time information in which the packet data is recorded at the first time in the divided data recording area in which the pointer packet is provided, and the packet data in the last time in the divided data recording area in which the pointer packet is provided. Stores the recorded maximum date and time information,
The recording / reproducing apparatus according to claim 6 or 7.
前記制御情報は、当該制御情報を含む前記パケットデータが前記データ記録領域に記録された日時情報を含む、
請求項1乃至請求項8のいずれかに記載の記録再生装置。
The control information includes date and time information when the packet data including the control information is recorded in the data recording area.
The recording / reproducing apparatus according to claim 1.
前記パケットデータのデータサイズは、離散的である、
請求項1乃至請求項9のいずれかに記載の記録再生装置。
The data size of the packet data is discrete.
The recording / reproducing apparatus according to claim 1.
前記データ多重化部は、一の前記記録用のデータを分割して生成される分割データそれぞれに、分割前の当該記録用のデータに付与される前記ヘッダを付与して前記パケットを生成し、
前記制御情報は、分割状態を示す情報を含む、
請求項1乃至請求項10のいずれかに記載の記録再生装置。
The data multiplexing unit generates the packet by adding the header added to the recording data before the division to each of the divided data generated by dividing the one recording data,
The control information includes information indicating a division state.
The recording / reproducing apparatus according to claim 1.
前記記録用のデータをネットワークを介して外部から受信するネットワーク受信部をさらに備える、
請求項1乃至請求項11のいずれかに記載の記録再生装置。
A network receiving unit for receiving the data for recording from outside via a network;
The recording / reproducing apparatus according to claim 1.
前記制御情報に基づいて読み出された前記パケットデータをネットワークを介して外部に送信するネットワーク送信部をさらに備える、
請求項1乃至請求項12のいずれかに記載の記録再生装置。
A network transmission unit for transmitting the packet data read based on the control information to the outside via a network;
The recording / reproducing apparatus according to claim 1.
符号化された記録用のデータに対し、所定のデータ範囲ごとに、データの種類にかかわらず同一の情報項目を有する共通のヘッダを付与して、不定データ長のパケットを生成する工程と、
前記パケットを記録媒体のデータ記録領域に連続して記録する工程と、
前記ヘッダの制御情報に基づいて、前記データ記録領域に記録されたパケットデータを読み出す工程とを備える、
記録再生方法。
For the encoded data for recording, for each predetermined data range, adding a common header having the same information item regardless of the type of data, and generating a packet of indefinite data length;
Continuously recording the packets in a data recording area of a recording medium;
Reading packet data recorded in the data recording area based on the control information of the header,
Recording and playback method.
前記記録用のデータは、映像信号を符号化した映像データ、および、音声信号を符号化した音声データ、および、それ以外の信号を符号化したその他データの少なくとも一つを含み、
前記制御情報は、当該制御情報が付与された前記パケットデータが、前記映像データであるか前記音声データであるか前記その他データであるかを特定するためのID情報を含む、
請求項14に記載の記録再生方法。
The data for recording includes at least one of video data encoded video signals, audio data encoded audio signals, and other data encoded other signals,
The control information includes ID information for specifying whether the packet data to which the control information is attached is the video data, the audio data, or the other data.
The recording / reproducing method according to claim 14.
前記制御情報に基づいて読み出された前記パケットデータを復号化する工程をさらに備え、
一の前記パケットデータは、独立して復号化可能な第1の記録用のデータ、または、前記第1の記録用のデータに従属して復号化可能な第2の記録用のデータのいずれかを含み、
前記制御情報は、当該制御情報が付与された前記パケットデータが、前記第1の記録用のデータであるか前記第2の記録用のデータであるかを特定するための情報を含む、
請求項15に記載の記録再生方法。
Further comprising the step of decoding the packet data read based on the control information,
One of the packet data is either the first recording data that can be decoded independently or the second recording data that can be decoded depending on the first recording data. Including
The control information includes information for specifying whether the packet data provided with the control information is the first recording data or the second recording data.
The recording / reproducing method according to claim 15.
前記制御情報に基づいて読み出された前記パケットデータを復号化する工程をさらに備え、
一の前記パケットデータは、独立して復号化可能な第1の記録用のデータ、または、前記第1の記録用のデータに従属して復号化可能な第2の記録用のデータのいずれかを含み、
前記制御情報は、
当該制御情報を含む前記パケットデータのデータサイズ情報と、
当該制御情報の前記ID情報と一致する前記ID情報を含む前記パケットデータのうち、当該制御情報を含む前記パケットの生成時間直後に生成された前記パケットデータの位置を、当該制御情報を含む前記パケットデータの位置から相対的に示すアドレス情報と、
当該制御情報の前記ID情報と一致する前記ID情報を含む前記パケットデータのうち、当該制御情報を含む前記パケットの生成時間直前に生成され、前記第1の記録用のデータを含む前記パケットデータの位置を、当該制御情報を含む前記パケットデータの位置から相対的に示すアドレス情報とを含む、
請求項15に記載の記録再生方法。
Further comprising the step of decoding the packet data read based on the control information,
One of the packet data is either the first recording data that can be decoded independently or the second recording data that can be decoded depending on the first recording data. Including
The control information is
Data size information of the packet data including the control information;
Among the packet data including the ID information that matches the ID information of the control information, the position of the packet data generated immediately after the generation time of the packet including the control information is the packet including the control information. Address information relative to the data position;
Of the packet data that includes the ID information that matches the ID information of the control information, the packet data that is generated immediately before the generation time of the packet that includes the control information and includes the first recording data. Address information indicating the position relative to the position of the packet data including the control information,
The recording / reproducing method according to claim 15.
前記データ記録領域は、
一定データ間隔ごとに分割された分割データ記録領域を含み、
前記分割データ記録領域ごとに設けられるポインタパケットを備え、
前記ポインタパケットに、
当該ポインタパケットが設けられた前記分割データ記録領域に記録された前記パケットデータの前記ID情報それぞれに対して、当該分割データ記録領域に記録され、当該ID情報を含む前記パケットデータのうち最初に読み出される前記パケットデータの位置を、当該ポインタパケットの位置から相対的に示すアドレス情報と、
当該ポインタパケットが設けられた前記分割データ記録領域に記録された前記パケットデータの前記ID情報それぞれに対して、当該分割データ記録領域に記録され、当該ID情報を含む前記パケットデータのうち最後に読み出される前記パケットデータの位置を、当該ポインタパケットの位置から相対的に示すアドレス情報とを格納している、
請求項15乃至請求項17のいずれかに記載の記録再生方法。
The data recording area is
Including a divided data recording area divided at regular data intervals;
A pointer packet provided for each of the divided data recording areas,
In the pointer packet,
For each of the ID information of the packet data recorded in the divided data recording area provided with the pointer packet, it is recorded in the divided data recording area and read out first among the packet data including the ID information. Address information indicating the position of the packet data relative to the position of the pointer packet;
For each of the ID information of the packet data recorded in the divided data recording area provided with the pointer packet, it is recorded in the divided data recording area and is finally read out of the packet data including the ID information. Storing address information indicating the position of the packet data relative to the position of the pointer packet,
The recording / reproducing method according to claim 15.
JP2006350996A 2006-12-27 2006-12-27 Recording / reproducing apparatus and recording / reproducing method Active JP4607090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006350996A JP4607090B2 (en) 2006-12-27 2006-12-27 Recording / reproducing apparatus and recording / reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006350996A JP4607090B2 (en) 2006-12-27 2006-12-27 Recording / reproducing apparatus and recording / reproducing method

Publications (2)

Publication Number Publication Date
JP2008166900A true JP2008166900A (en) 2008-07-17
JP4607090B2 JP4607090B2 (en) 2011-01-05

Family

ID=39695797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006350996A Active JP4607090B2 (en) 2006-12-27 2006-12-27 Recording / reproducing apparatus and recording / reproducing method

Country Status (1)

Country Link
JP (1) JP4607090B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0787443A (en) * 1993-09-16 1995-03-31 Toshiba Corp Device for generating/reproducing/synchronizing and managing compressed signal
JPH11261964A (en) * 1998-03-12 1999-09-24 Sharp Corp Moving image recording method, reproduction method and device
JP2001103424A (en) * 1999-09-29 2001-04-13 Victor Co Of Japan Ltd Coded bit stream recording and/or reproducing device, and recording medium
JP2003339019A (en) * 2002-05-20 2003-11-28 Mitsubishi Electric Corp Recording and reproducing apparatus and recording and reproducing method
JP2004295947A (en) * 2003-03-25 2004-10-21 Toshiba Corp Information recording medium, information recording/reproducing method, and information recording/reproducing device
JP2004356751A (en) * 2003-05-27 2004-12-16 Sony Corp Information processing apparatus, information processing method, and recording medium
JP2006304232A (en) * 2005-04-25 2006-11-02 Matsushita Electric Ind Co Ltd Multiplexing device and reproducing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0787443A (en) * 1993-09-16 1995-03-31 Toshiba Corp Device for generating/reproducing/synchronizing and managing compressed signal
JPH11261964A (en) * 1998-03-12 1999-09-24 Sharp Corp Moving image recording method, reproduction method and device
JP2001103424A (en) * 1999-09-29 2001-04-13 Victor Co Of Japan Ltd Coded bit stream recording and/or reproducing device, and recording medium
JP2003339019A (en) * 2002-05-20 2003-11-28 Mitsubishi Electric Corp Recording and reproducing apparatus and recording and reproducing method
JP2004295947A (en) * 2003-03-25 2004-10-21 Toshiba Corp Information recording medium, information recording/reproducing method, and information recording/reproducing device
JP2004356751A (en) * 2003-05-27 2004-12-16 Sony Corp Information processing apparatus, information processing method, and recording medium
JP2006304232A (en) * 2005-04-25 2006-11-02 Matsushita Electric Ind Co Ltd Multiplexing device and reproducing device

Also Published As

Publication number Publication date
JP4607090B2 (en) 2011-01-05

Similar Documents

Publication Publication Date Title
JP4421156B2 (en) Image reproducing apparatus and image recording / reproducing apparatus
US6002834A (en) Optical disk having table relating sector address and time and optical disk reproducing apparatus
EP0729153B1 (en) Optical disk and optical disk reproduction apparatus
US8676038B2 (en) Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program
WO2006115151A1 (en) Recording device, reproducing device, recording/reproducing device, recording program, recording medium for such recording program, reproducing program, and recording medium for such reproducing program
JP2008010110A (en) File dividing apparatus, file dividing method, and file dividing program
JP2006303652A (en) Information recording and reproducing system, apparatus, and method
JP2007036495A (en) Reproducer, compressor, recorder and reproducing method
JP4552802B2 (en) Recording apparatus, recording method, recording method program, and recording medium recording the recording method program
JP2868981B2 (en) Apparatus and method for generating compressed signal and apparatus and method for reproducing
JP4548226B2 (en) Data processing method, apparatus and program thereof
JP4607090B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP2008072182A (en) Moving picture decoding device, moving picture decoding method, moving picture decoding program, moving picture encoding device, moving picture encoding method, moving picture encoding program, and moving picture encoding and decoding device
JP4624437B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP2003009085A (en) Device and method for recording digital signal and device and method for reproducing digital signal
JP2005197839A (en) Special reproduction method of transport stream and recording and reproducing apparatus for transport stream
JP2003289504A (en) Recording and reproducing apparatus and reproducing method for moving image and audio data
JP2000152236A (en) Moving picture coder, multiplexing method, its system and recording and reproducing device
JP4373481B2 (en) Video playback device
JP5100852B2 (en) Digital signal recording / reproducing apparatus and method, digital signal reproducing apparatus and method
JP4169002B2 (en) Audio format conversion apparatus and encoding apparatus
JP2019149790A (en) Recorder, player, converter, transmitter, recording method, playback method, conversion method, and data structure of stream data
JP2005004840A (en) Disk reproducing equipment
JP2011188193A (en) Recording/reproduction device, and recording/reproduction method
JP2007259029A (en) Video signal recording device, recording medium, and video signal reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090202

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100408

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101006

R150 Certificate of patent or registration of utility model

Ref document number: 4607090

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131015

Year of fee payment: 3

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

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

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