JP2008028787A - Data processor - Google Patents
Data processor Download PDFInfo
- Publication number
- JP2008028787A JP2008028787A JP2006200197A JP2006200197A JP2008028787A JP 2008028787 A JP2008028787 A JP 2008028787A JP 2006200197 A JP2006200197 A JP 2006200197A JP 2006200197 A JP2006200197 A JP 2006200197A JP 2008028787 A JP2008028787 A JP 2008028787A
- Authority
- JP
- Japan
- Prior art keywords
- block
- data
- channel
- management
- multiplexing
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
Description
この発明は、データ処置装置に関し、特にたとえば映像記録再生装置に適用され、複数チャネルのデータを時分割多重処理を経て記録媒体に記録する、データ処理装置に関する。 The present invention relates to a data processing apparatus, and more particularly to a data processing apparatus that is applied to, for example, a video recording / reproducing apparatus and records data of a plurality of channels on a recording medium through time division multiplexing.
従来のこの種の装置の一例が、特許文献1に開示されている。この従来技術によれば、入力されたnチャネルのビデオデータは、チャネル1→チャネル2→…→チャネルn→チャネル1→…の要領でデータ記録媒体に順序記録される。つまり、nチャネルのビデオデータは、同時に表示されるべき映像が同時的に再生し易いように配置されて、データ記録媒体に記録される。
しかし、換言すれば、従来技術は、nチャネルのビデオデータの配置を考慮しなければ簡便な再生ができないという問題がある。 However, in other words, the conventional technique has a problem that simple reproduction cannot be performed without considering the arrangement of n-channel video data.
それゆえに、この発明の主たる目的は、データ配置に関係なく所望のチャネルのデータを簡便に再生することができる、データ処理装置を提供することである。 Therefore, a main object of the present invention is to provide a data processing apparatus capable of easily reproducing data of a desired channel regardless of the data arrangement.
請求項1の発明に従うデータ処理装置(10:実施例で相当する参照符号。以下同じ)は、複数チャネルにそれぞれ属する複数のデータブロックを互いに並行して繰り返し出力する出力手段(161a, 161b, 161c, 161d)、出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第1多重手段(20a)、出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する作成手段(162a, 162b, 162c, 162d)、作成手段によって作成された複数の管理ブロックに第1多重手段の時分割多重処理と同じ態様の時分割多重処理を施して多重管理ブロックを生成する第2多重手段(20b)、第2多重手段によって注目される管理ブロックが属するチャネルを検出するチャネル検出手段(S27)、チャネル検出手段によって検出されたチャネルと同じチャネルに属する別の管理ブロックを第2多重手段によって生成済みの多重管理ブロックから検出するブロック検出手段(S37)、第2多重手段によって注目される管理ブロックからブロック検出手段によって検出された管理ブロックまでの距離を算出する算出手段(S31, S41, S51)、および算出手段によって算出された距離を示す距離情報を第2多重手段によって注目される管理ブロックおよびブロック検出手段によって検出された管理ブロックの少なくとも一方に割り当てる割り当て手段(S33, S43)を備える。 The data processing device (10: reference numeral corresponding to the embodiment; the same applies hereinafter) according to the first aspect of the invention is an output means (161a, 161b, 161c) that repeatedly outputs a plurality of data blocks respectively belonging to a plurality of channels in parallel with each other. , 161d), a first multiplexing unit (20a) for generating a multiplexed data block by performing time division multiplexing processing on the plurality of data blocks output by the output unit, and managing the plurality of data blocks output by the output unit, respectively A creation means (162a, 162b, 162c, 162d) for creating a plurality of management blocks, and a plurality of management blocks created by the creation means are subjected to time division multiplexing processing in the same manner as the time division multiplexing processing of the first multiplexing means. A second multiplexing means (20b) for generating a multiplex management block, a channel detection means (S27) for detecting a channel to which the management block noticed by the second multiplex means belongs, Block detection means (S37) for detecting another management block belonging to the same channel as the channel detected by the output means from the multiplexed management block generated by the second multiplexing means, and blocks from the management block noted by the second multiplexing means Calculating means (S31, S41, S51) for calculating the distance to the management block detected by the detecting means, and management block and block detection to which distance information indicating the distance calculated by the calculating means is noted by the second multiplexing means An assigning means (S33, S43) assigned to at least one of the management blocks detected by the means is provided.
出力手段は、複数チャネルにそれぞれ属する複数のデータブロックを互いに並行して繰り返し出力する。出力手段によって出力された複数のデータブロックは第1多重手段によって時分割多重処理を施され、これによって多重データブロックが生成される。作成手段は、出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する。作成手段によって作成された複数の管理ブロックは第1多重手段の時分割多重処理と同じ態様の時分割多重処理を第2多重手段によって施され、これによって多重管理ブロックが生成される。 The output means repeatedly outputs a plurality of data blocks respectively belonging to a plurality of channels in parallel with each other. The plurality of data blocks output by the output means are subjected to time division multiplexing processing by the first multiplexing means, whereby a multiplexed data block is generated. The creation means creates a plurality of management blocks that respectively manage the plurality of data blocks output by the output means. The plurality of management blocks created by the creation means are subjected to time division multiplexing processing in the same manner as the time division multiplexing processing of the first multiplexing means by the second multiplexing means, thereby generating multiple management blocks.
第2多重手段によって注目される管理ブロックが属するチャネルは、チャネル検出手段によって検出される。ブロック検出手段は、チャネル検出手段によって検出されたチャネルと同じチャネルに属する別の管理ブロックを、第2多重手段によって生成済みの多重管理ブロックから検出する。算出手段は、第2多重手段によって注目される管理ブロックからブロック検出手段によって検出された管理ブロックまでの距離を算出する。算出手段によって算出された距離を示す距離情報は、第2多重手段によって注目される管理ブロックおよびブロック検出手段によって検出された管理ブロックの少なくとも一方に、割り当て手段によって割り当てられる。 The channel to which the management block noticed by the second multiplexing means belongs is detected by the channel detecting means. The block detecting means detects another management block belonging to the same channel as the channel detected by the channel detecting means from the multiplexed management blocks generated by the second multiplexing means. The calculating means calculates the distance from the management block noticed by the second multiplexing means to the management block detected by the block detecting means. The distance information indicating the distance calculated by the calculating means is assigned by the assigning means to at least one of the management block noticed by the second multiplexing means and the management block detected by the block detecting means.
このように、複数チャネルの各々について作成された複数のデータブロックは、時分割多重処理を施される。複数チャネルの各々について作成された複数の管理ブロックも、同じ態様で時分割多重処理を施される。さらに、同じチャネルに属する2つの管理ブロック間の距離を示す距離情報がこの2つの管理ブロックの少なくとも一方に割り当てられる。したがって、管理ブロックに割り当てられた距離情報を参照することで、所望のチャネルのデータを簡便に再生することができる。 Thus, the plurality of data blocks created for each of the plurality of channels are subjected to time division multiplexing processing. A plurality of management blocks created for each of the plurality of channels are also subjected to time division multiplexing processing in the same manner. Furthermore, distance information indicating the distance between two management blocks belonging to the same channel is assigned to at least one of the two management blocks. Therefore, by referring to the distance information assigned to the management block, it is possible to easily reproduce the data of the desired channel.
請求項2の発明に従うデータ処理装置は、請求項1に従属し、算出手段は、管理ブロックのサイズに関連する数値を第2多重手段の処理と並行してチャネル毎に積算する積算手段(S31)、および積算手段によって求められた複数の積算値のうちチャネル検出手段によって検出されたチャネルに対応する積算値を初期化する初期化手段(S51)を含む。これによって、同じチャネルに属する2つの管理ブロック間の距離が的確に求められる。 A data processing device according to a second aspect of the present invention is dependent on the first aspect, wherein the calculating means integrates a numerical value related to the size of the management block for each channel in parallel with the processing of the second multiplexing means (S31). ), And an initializing means (S51) for initializing the integrated value corresponding to the channel detected by the channel detecting means among the plurality of integrated values obtained by the integrating means. Thereby, the distance between two management blocks belonging to the same channel is accurately obtained.
請求項3の発明に従うデータ処理装置は、請求項2に従属し、データブロックは各々が可変サイズを有する複数のデータ要素によって形成され、管理ブロックは複数のデータ要素にそれぞれ対応しかつ各々が既定サイズを有する複数の管理要素によって形成される。可変サイズのデータ要素によって形成されるデータブロックは、管理ブロックとこれに割り当てられた距離情報とを参照することで的確に特定される。 A data processing device according to a third aspect of the present invention is dependent on the second aspect, wherein the data block is formed by a plurality of data elements each having a variable size, the management block corresponds to each of the plurality of data elements, and each of the data blocks is predetermined. Formed by a plurality of management elements having a size. The data block formed by the variable-size data element is accurately identified by referring to the management block and the distance information assigned thereto.
請求項4の発明に従うデータ処理装置は、請求項3に従属し、積算手段は第2多重手段によって注目される管理ブロックを形成する新規の管理要素が得られる毎に既定サイズに相当する数値を積算する。
The data processing device according to the invention of claim 4 is dependent on
請求項5の発明に従うデータ処理装置は、請求項4に従属し、割り当て手段は、チャネル検出手段によって検出されたチャネルについて積算手段によって求められた積算値を距離情報として新規のブロック要素に割り当てる第1数値割り当て手段(S33)を含む。これによって、所望のチャネルのデータのみの逆方向再生が可能となる。 The data processing device according to the invention of claim 5 is dependent on claim 4, and the assigning means assigns the integrated value obtained by the integrating means for the channel detected by the channel detecting means to the new block element as distance information. One numerical value assigning means (S33) is included. As a result, only the data of the desired channel can be reproduced in the reverse direction.
請求項6の発明に従うデータ処理装置は、請求項3ないし5のいずれかに従属し、算出手段はチャネル検出手段によって検出されたチャネルに対応する積算値から既定サイズに相当する数値を繰り返し減算する減算手段(S41)をさらに含み、割り当て手段は減算手段によって求められた複数の減算値をブロック検出手段によって検出された管理ブロックを形成する複数の管理要素に距離情報としてそれぞれ割り当てる第2数値割り当て手段(S43)を含む。これによって、所望のチャネルのデータのみの順方向再生が可能となる。 A data processing device according to a sixth aspect of the invention is dependent on any one of the third to fifth aspects, wherein the calculating means repeatedly subtracts a numerical value corresponding to the predetermined size from the integrated value corresponding to the channel detected by the channel detecting means. Subtracting means (S41) is further included, and the assigning means assigns a plurality of subtraction values obtained by the subtracting means to the plurality of management elements forming the management block detected by the block detecting means, as second distance assigning means. Includes (S43). As a result, it is possible to reproduce only the data of the desired channel in the forward direction.
請求項7の発明に従うデータ処理装置は、請求項6に従属し、新規の管理要素が管理ブロックの先頭の管理要素であるか否かを判別する判別手段(S29)をさらに備え、減算手段は判別手段の結果が否定的な結果から肯定的な結果に更新されたとき減算処理を実行する。
The data processing device according to the invention of
請求項8の発明に従うデータ処理装置は、請求項3ないし7のいずれかに従属し、複数チャネルの各々のデータは動画像を表すデータであり、データ要素は1フレームの画像データに相当する。これによって、時分割多重を施された動画像データの簡便な倍速再生が可能となる。 A data processing device according to an eighth aspect of the invention is dependent on any one of the third to seventh aspects, wherein each data of a plurality of channels is data representing a moving image, and a data element corresponds to one frame of image data. Thereby, simple double-speed reproduction of moving image data subjected to time-division multiplexing is possible.
請求項9の発明に従うデータ処理装置は、請求項1ないし8のいずれかに従属し、第1多重手段によって作成された多重データブロックを記録媒体(30)に記録する第1記録手段(S5)、および第2多重手段によって作成された多重管理ブロックを記録媒体に記録する第2記録手段(S49)をさらに備える。
A data processing device according to the invention of
請求項10の発明に従うデータ処理装置は、請求項1ないし9のいずれかに従属し、割り当て手段によって割り当てられた距離情報に基づいて記録媒体に記録された多重データブロックから指定チャネルのデータブロックを特定するブロック特定手段(S91, S103)、ブロック特定手段によって特定されたデータブロックを非ブロック化する非ブロック化手段(40a, 40b, 40c, 40d)、および非ブロック化手段によって非ブロック化されたデータを出力する出力手段(42, 44)をさらに備える。 A data processing device according to a tenth aspect of the present invention is dependent on any one of the first to ninth aspects, and the data block of the designated channel is determined from the multiple data blocks recorded on the recording medium based on the distance information allocated by the allocating means. Block identifying means (S91, S103) to identify, deblocking means (40a, 40b, 40c, 40d) to deblock the data block identified by the block identifying means, and deblocked by the deblocking means Output means (42, 44) for outputting data is further provided.
請求項11の発明に従うデータ処理装置は、請求項1ないし10のいずれかに従属し、出力手段は符号化方式としてMPEG方式を採用する。
The data processing apparatus according to the invention of
請求項12の発明に従うデータ処理装置は、請求項1ないし11のいずれかに従属し、複数チャネルのデータは互いに異なるビットレートを有する。 A data processing device according to a twelfth aspect of the present invention is dependent on any one of the first to eleventh aspects of the present invention, and the data of a plurality of channels have different bit rates.
請求項13の発明に従うデータ処理プログラムは、複数チャネルにそれぞれ属する複数のデータブロックを互いに並行して繰り返し出力する出力手段(161a, 161b, 161c, 161d)、出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第1多重手段(20a)、出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する作成手段(162a, 162b, 162c, 162d)、および作成手段によって作成された複数の管理ブロックに第1多重手段の時分割多重処理と同じ態様の時分割多重処理を施して多重管理ブロックを生成する第2多重手段(20b)を備えるデータ処理装置(10)のプロセサ(24)に、第2多重手段によって注目される管理ブロックが属するチャネルを検出するチャネル検出ステップ(S27)、チャネル検出ステップによって検出されたチャネルと同じチャネルに属する別の管理ブロックを第2多重手段によって生成済みの多重管理ブロックから検出するブロック検出ステップ(S37)、第2多重手段によって注目される管理ブロックからブロック検出ステップによって検出された管理ブロックまでの距離を算出する算出ステップ(S31, S41, S51)、および算出手段によって算出された距離を示す距離情報を第2多重手段によって注目される管理ブロックおよびブロック検出手段によって検出された管理ブロックの少なくとも一方に割り当てる割り当てステップ(S33, S43)を実行させるための、データ処理プログラムである。 According to a thirteenth aspect of the present invention, there is provided a data processing program comprising: output means (161a, 161b, 161c, 161d) for repeatedly outputting a plurality of data blocks respectively belonging to a plurality of channels in parallel; and a plurality of data blocks output by the output means A first multiplexing means (20a) for generating a multiplexed data block by performing time-division multiplexing processing, and creating means for creating a plurality of management blocks for managing the plurality of data blocks output by the output means (162a, 162b, 162c, 162d), and a second multiplexing means (20b) for generating a multiple management block by subjecting the plurality of management blocks created by the creating means to time division multiplexing processing in the same manner as the time division multiplexing processing of the first multiplexing means A channel detection unit for detecting a channel to which a management block noticed by the second multiplexing means belongs to the processor (24) of the data processing device (10) comprising: (S27), a block detection step (S37) for detecting another management block belonging to the same channel as the channel detected by the channel detection step from the multiplexed management block generated by the second multiplexing means, and attention by the second multiplexing means The second multiplexing means receives the calculation step (S31, S41, S51) for calculating the distance from the management block to the management block detected by the block detection step, and the distance information indicating the distance calculated by the calculation means A data processing program for executing an allocation step (S33, S43) assigned to at least one of the management block detected by the block detection unit and the management block detected by the block detection means.
請求項1の発明と同様、所望のチャネルのデータを簡便に再生することができる。 Similar to the first aspect of the invention, data of a desired channel can be easily reproduced.
請求項14の発明に従うデータ処理方法は、複数チャネルにそれぞれ属する複数のデータブロックを互いに並行して繰り返し出力する出力手段(161a, 161b, 161c, 161d)、出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第1多重手段(20a)、出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する作成手段(162a, 162b, 162c, 162d)、および作成手段によって作成された複数の管理ブロックに第1多重手段の時分割多重処理と同じ態様の時分割多重処理を施して多重管理ブロックを生成する第2多重手段(20b)を備えるデータ処理装置(10)のデータ処理方法であって、第2多重手段によって注目される管理ブロックが属するチャネルを検出するチャネル検出ステップ(S27)、チャネル検出ステップによって検出されたチャネルと同じチャネルに属する別の管理ブロックを第2多重手段によって生成済みの多重管理ブロックから検出するブロック検出ステップ(S37)、第2多重手段によって注目される管理ブロックからブロック検出ステップによって検出された管理ブロックまでの距離を算出する算出ステップ(S31, S41, S51)、および算出手段によって算出された距離を示す距離情報を第2多重手段によって注目される管理ブロックおよびブロック検出手段によって検出された管理ブロックの少なくとも一方に割り当てる割り当てステップ(S33, S43)を備える。 The data processing method according to the fourteenth aspect of the invention is directed to output means (161a, 161b, 161c, 161d) for repeatedly outputting a plurality of data blocks respectively belonging to a plurality of channels in parallel with each other, and a plurality of data blocks output by the output means A first multiplexing means (20a) for generating a multiplexed data block by performing time-division multiplexing processing, and creating means for creating a plurality of management blocks for managing the plurality of data blocks output by the output means (162a, 162b, 162c, 162d), and a second multiplexing means (20b) for generating a multiple management block by subjecting the plurality of management blocks created by the creating means to time division multiplexing processing in the same manner as the time division multiplexing processing of the first multiplexing means A data processing method for a data processing apparatus (10) comprising: channel detection for detecting a channel to which a management block noted by a second multiplexing means belongs Step (S27), a block detection step (S37) for detecting another management block belonging to the same channel as the channel detected by the channel detection step from the multiplexed management block generated by the second multiplexing means, and attention by the second multiplexing means The second multiplexing means receives the calculation step (S31, S41, S51) for calculating the distance from the management block to the management block detected by the block detection step, and the distance information indicating the distance calculated by the calculation means And assigning steps (S33, S43) to at least one of the management blocks detected by the block detection means.
請求項1の発明と同様、所望のチャネルのデータを簡便に再生することができる。 Similar to the first aspect of the invention, data of a desired channel can be easily reproduced.
この発明によれば、複数チャネルの各々について作成された複数のデータブロックは、時分割多重処理を施される。複数チャネルの各々について作成された複数の管理ブロックも、同じ態様で時分割多重処理を施される。さらに、同じチャネルに属する2つの管理ブロック間の距離を示す距離情報がこの2つの管理ブロックの少なくとも一方に割り当てられる。したがって、管理ブロックに割り当てられた距離情報を参照することで、所望のチャネルのデータを簡便に再生することができる。 According to the present invention, a plurality of data blocks created for each of a plurality of channels are subjected to time division multiplexing processing. A plurality of management blocks created for each of the plurality of channels are also subjected to time division multiplexing processing in the same manner. Furthermore, distance information indicating the distance between two management blocks belonging to the same channel is assigned to at least one of the two management blocks. Therefore, by referring to the distance information assigned to the management block, it is possible to easily reproduce the data of the desired channel.
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
図1を参照して、この実施例のハードディスクビデオレコーダ10は、4つのビデオ入力端子T1〜T4を含む。4台の監視カメラ(図示せず)から出力された4チャネルのコンポジットビデオ信号はそれぞれ、ビデオ入力端子T1〜T4を介してNTSCデコーダ12a〜12dに与えられる。NTSCデコーダ12a〜12dの各々は、与えられたコンポジットビデオ信号をデコードしてビデオデータを出力する。 Referring to FIG. 1, the hard disk video recorder 10 of this embodiment includes four video input terminals T1 to T4. Four-channel composite video signals output from four surveillance cameras (not shown) are applied to NTSC decoders 12a to 12d via video input terminals T1 to T4, respectively. Each of the NTSC decoders 12a to 12d decodes a given composite video signal and outputs video data.
ここで、NTSCデコーダ12aからの出力経路はチャネルCH1に相当し、NTSCデコーダ12bからの出力経路はチャネルCH2に相当する。また、NTSCデコーダ12cからの出力経路はチャネルCH3に相当し、NTSCデコーダ12dからの出力経路はチャネルCH4に相当する。
Here, the output path from the NTSC decoder 12a corresponds to the channel CH1, and the output path from the
また、この実施例では、ビデオデータのフレームレートは、CH1:CH2:CH3:CH4=1:2:1:4の比率を有する。具体的には、チャネルCH1のビデオデータは15fpsのフレームレートを有し、チャネルCH2のビデオデータは30fpsのフレームレートを有する。また、チャネルCH3のビデオデータは15fpsのフレームレートを有し、チャネルCH4のビデオデータは60fpsのフレームレートを有する。 In this embodiment, the frame rate of the video data has a ratio of CH1: CH2: CH3: CH4 = 1: 2: 1: 4. Specifically, the video data of channel CH1 has a frame rate of 15 fps, and the video data of channel CH2 has a frame rate of 30 fps. Further, the video data of channel CH3 has a frame rate of 15 fps, and the video data of channel CH4 has a frame rate of 60 fps.
操作パネル26の上で録画開始操作が行われると、メインCPU24は、記録処理回路14を起動し、ハードディスク30へのMPEGファイルの新規作成をHDD(Hard Disk Drive)28に命令する。メインCPU24はまた、管理データを作成し、かつ作成された管理データのハードディスク30への記録をHDD28に命令する。
When a recording start operation is performed on the
図2を参照して、ハードディスク30の記録領域は、管理領域30a,MPEG領域30bおよびINDEX領域30cに区分される。管理領域30aには、メインCPU24によって作成された管理データを格納する管理ファイルが記録される。MPEG領域30bには、録画開始操作から録画終了操作までの期間に作成された多重MPEG−PS(後述)を各々が格納する複数のMPEGファイル#1,#2,…が記録される。INDEX領域30cには、多重INDEX−S(後述)を格納するINDEXファイルが記録される。
Referring to FIG. 2, the recording area of
管理ファイルに格納される管理データは、図3に示すデータ構造を有する。図3によれば、管理データは、TAG情報,開始時刻情報,終了時刻情報,MPEGファイル番号,MPEGファイル開始位置情報,INDEX開始位置情報および4チャネル分のREC情報を含む。 The management data stored in the management file has a data structure shown in FIG. According to FIG. 3, the management data includes TAG information, start time information, end time information, MPEG file number, MPEG file start position information, INDEX start position information, and REC information for four channels.
開始時刻情報は、録画開始操作が行われた時刻を示す。終了時刻情報は、録画終了操作が行われた時刻を示す。MPEGファイル番号は、新規に作成されたMPEGファイルの識別番号を示す。MPEGファイル開始位置情報は、新規に作成されたMPEGファイルの書き込み開始位置を示す。INDEX開始位置情報は、新規に作成されたMPEGファイルに格納される多重MPEG−PSに対応する多重INDEX−Sの書き込み開始位置を示す。REC情報は、GOP(後述)を形成するフレーム数やフレームレートをチャネル毎に含む。 The start time information indicates the time when the recording start operation is performed. The end time information indicates the time when the recording end operation is performed. The MPEG file number indicates an identification number of a newly created MPEG file. The MPEG file start position information indicates the write start position of a newly created MPEG file. The INDEX start position information indicates the write start position of the multiplexed INDEX-S corresponding to the multiplexed MPEG-PS stored in the newly created MPEG file. The REC information includes the number of frames and frame rate forming a GOP (described later) for each channel.
録画開始操作の後にNTSCデコーダ12a〜12dから出力された4チャネルのビデオデータは、記録処理回路14を形成するMPEGエンコーダ16a〜16dにそれぞれ与えられる。図4を参照して、MPEGエンコーダ16a(16b〜16d)は、符号化回路161a(161b〜161d)およびINDEX作成回路162a(162b〜162d)を有する。符号化回路161a(161b〜161d)は、与えられたビデオデータにMPEG方式に従うエンコード処理を施して、複数のビデオフレームからなるMPEG−PSを出力する。一方、INDEX作成回路162a(162b〜162d)は、符号化回路161a(161b〜161d)によって生成されたMPEG−PSを管理するためのINDEX−Sを生成する。
The 4-channel video data output from the NTSC decoders 12a to 12d after the recording start operation is supplied to
つまり、INDEX作成回路162aによって作成されるINDEX−Sは符号化回路161aによって生成されるMPEG−PSに対応し、INDEX作成回路162bによって作成されるINDEX−Sは符号化回路161bによって生成されるMPEG−PSに対応する。また、INDEX作成回路162cによって作成されるINDEX−Sは符号化回路161cによって生成されるMPEG−PSに対応し、INDEX作成回路162dによって作成されるINDEX−Sは符号化回路161dによって生成されるMPEG−PSに対応する。
That is, INDEX-S created by the
MPEGエンコーダ16aから出力されたMPEG−PSおよびINDEX−Sはエンコーダバッファ18aに書き込まれ、MPEGエンコーダ16bから出力されたMPEG−PSおよびINDEX−Sはエンコーダバッファ18bに書き込まれる。また、MPEGエンコーダ16cから出力されたMPEG−PSおよびINDEX−Sはエンコーダバッファ18cに書き込まれ、MPEGエンコーダ16dから出力されたMPEG−PSおよびINDEX−Sエンコーダバッファ18dに書き込まれる。
The MPEG-PS and INDEX-S output from the
図5(A)を参照して、各チャネルのMPEG−PSは複数のパックによって形成され、各々のパックにはパックヘッダ,システムヘッダおよび複数のPESパケットが含まれる。MPEGフォーマットではIフレーム,BフレームおよびPフレームの3つのフレームタイプが規定されており、複数のパックの各々がIフレーム,BフレームまたはPフレームに相当する。したがって、1つのビデオフレームを形成するPESパケットが異なるパックに跨ることはない。Iフレームは15フレーム毎に作成され、Iフレームから始まる15個のビデオフレームによって1つのGOP(Group Of Pictures)が形成される。 Referring to FIG. 5A, the MPEG-PS of each channel is formed by a plurality of packs, and each pack includes a pack header, a system header, and a plurality of PES packets. In the MPEG format, three frame types of I frame, B frame, and P frame are defined, and each of a plurality of packs corresponds to an I frame, a B frame, or a P frame. Therefore, PES packets forming one video frame do not straddle different packs. An I frame is created every 15 frames, and one GOP (Group Of Pictures) is formed by 15 video frames starting from the I frame.
上述のように、ビデオデータのフレームレートは、チャネルCH1,CH2,CH3およびCH4についてそれぞれ15fps,30fps,15fpsおよび60fpsである。したがって、チャネルCH1のMPEG−PSを形成する1GOPは1.0秒に相当し、チャネルCH2のMPEG−PSを形成する1GOPは0.5秒に相当する。また、チャネルCH3のMPEG−PSを形成する1GOPは1.0秒に相当し、チャネルCH4のMPEG−PSを形成する1GOPは0.25秒に相当する。 As described above, the frame rate of the video data is 15 fps, 30 fps, 15 fps, and 60 fps for channels CH1, CH2, CH3, and CH4, respectively. Therefore, 1 GOP forming the MPEG-PS of the channel CH1 corresponds to 1.0 second, and 1 GOP forming the MPEG-PS of the channel CH2 corresponds to 0.5 second. Further, 1 GOP forming the MPEG-PS of the channel CH3 corresponds to 1.0 second, and 1 GOP forming the MPEG-PS of the channel CH4 corresponds to 0.25 second.
図5(B)を参照して、INDEX−Sは各々が24バイトの基本情報を有する複数のINDEXフレームによって形成され、1つのINDEXフレームが1つのビデオフレームに割り当てられる。つまり、MPEG−PSを形成する複数のビデオフレームは、INDEX−Sを形成する複数のINDEXフレームによってそれぞれ管理される。なお、上述の1GOPに対応する15個のINDEXフレームを“INDEXブロック”と定義する。 Referring to FIG. 5B, INDEX-S is formed by a plurality of INDEX frames each having basic information of 24 bytes, and one INDEX frame is assigned to one video frame. That is, the plurality of video frames forming the MPEG-PS are respectively managed by the plurality of INDEX frames forming the INDEX-S. The 15 INDEX frames corresponding to the above-mentioned 1 GOP are defined as “INDEX blocks”.
24バイトの基本情報には、対応するビデオフレームのサイズを示すフレームサイズ情報,対応するビデオフレームのタイプを示すフレームタイプ情報,対応するビデオフレームを作成した時刻を示す時刻情報,対応するビデオフレームのPTS,および対応するビデオフレームのMPEGファイル先頭からの距離を示すMPEGオフセットが記述される。 The 24-byte basic information includes frame size information indicating the size of the corresponding video frame, frame type information indicating the type of the corresponding video frame, time information indicating the time when the corresponding video frame was created, and the corresponding video frame. The PTS and the MPEG offset indicating the distance from the beginning of the MPEG file of the corresponding video frame are described.
図1に示すコントローラ20は、図6に示すようにMPEG−PS多重回路20aおよびINDEX多重回路20bによって構成される。MPEG−PS多重回路20aは、エンコーダバッファ18a〜18dに格納されたMPEG−PSにチャネル間のフレームレートの相違を考慮したGOP単位の時分割多重処理を施す。これによって、多重MPEG−PSが生成される。一方、INDEX多重回路20bは、エンコーダバッファ18a〜18dに格納されたINDEX−SにINDEXブロック単位の時分割多重処理を施す。これによって、多重INDEX−Sが生成される。
The
INDEX多重回路20bにおける時分割多重処理の態様ないし順序は、MPEG−PS多重回路20aにおける時分割多重処理の態様ないし順序と同じである。したがって、多重INDEX−Sを形成する複数のINDEXブロックないし複数のINDEXフレームの配列順序は、多重MPEG−PSを形成する複数のGOPないし複数のビデオフレームの配列順序に適合する。こうして作成された多重MPEG−PSおよび多重INDEX−Sは、1フレームずつストリームバッファ22に蓄積される。
The mode or order of the time division multiplexing processing in the
上述のように、フレームレートはCH1:CH2:CH3:CH4=1:2:1:4の比率を有する。このため、GOP単位の時分割多重処理によって得られる多重MPEG−PSは図7に示すデータ構造を有する。図7を参照して、チャネルCH1に属する1つのGOPが挿入されると、次にチャネルCH2に属する2つのGOPが挿入される。続いて、チャネルCH3に属する1つのGOPが挿入され、さらにチャネルCH4に属する4つのGOPが挿入される。これ以降は、同様の挿入動作が繰り返される。 As described above, the frame rate has a ratio of CH1: CH2: CH3: CH4 = 1: 2: 1: 4. For this reason, the multiplexed MPEG-PS obtained by the GOP unit time-division multiplexing process has the data structure shown in FIG. Referring to FIG. 7, when one GOP belonging to channel CH1 is inserted, next two GOPs belonging to channel CH2 are inserted. Subsequently, one GOP belonging to channel CH3 is inserted, and further four GOPs belonging to channel CH4 are inserted. Thereafter, the same insertion operation is repeated.
また、多重INDEX−Sは、図8に示すデータ構造を有する。INDEXブロックは、多重MPEG−PSを形成するGOPの配列に沿う順序で配列される。ただし、各々のINDEXフレームには16バイトの拡張情報が付加され、合計40バイトが1つのビデオフレームに割り当てられる。拡張情報には、オフセットXK(K:1〜4のいずれか1つのチャネル番号),オフセットYK,MPEGファイル番号およびチャネル番号が記述される。 The multiple INDEX-S has a data structure shown in FIG. The INDEX blocks are arranged in an order that follows the arrangement of GOPs forming a multiplexed MPEG-PS. However, 16-byte extension information is added to each INDEX frame, and a total of 40 bytes are allocated to one video frame. In the extended information, an offset XK (K: any one of 1 to 4 channel numbers), an offset YK, an MPEG file number, and a channel number are described.
注目するINDEXフレームに対応するビデオフレームを“注目ビデオフレーム”と定義し、注目ビデオフレームが属するGOPを“注目GOP”と定義する。さらに、注目GOPよりも先に作成された複数のGOPのうち、注目GOPが属するチャネルと同じチャネルに属しかつ注目GOPに直近のGOPを“先行GOP”と定義する。さらに、注目GOPよりも後に作成された複数のGOPのうち、注目GOPが属するチャネルと同じチャネルに属しかつ注目GOPに直近のGOPを“後続GOP”と定義する。 A video frame corresponding to the focused INDEX frame is defined as a “focused video frame”, and a GOP to which the focused video frame belongs is defined as a “focused GOP”. Further, among a plurality of GOPs created before the attention GOP, a GOP that belongs to the same channel as the channel to which the attention GOP belongs and is closest to the attention GOP is defined as a “preceding GOP”. Further, among a plurality of GOPs created after the attention GOP, a GOP that belongs to the same channel as the channel to which the attention GOP belongs and is closest to the attention GOP is defined as a “subsequent GOP”.
すると、図9(A)および図9(B)に示すように、注目するINDEXフレームに記述されたオフセットXKは、先行GOPの先頭ビデオフレームに対応するINDEXフレームから注目するINDEXフレームまでの距離D1を示す。また、注目するINDEXフレームに記述されたオフセットYKは、後続GOPの先頭ビデオフレームに対応するINDEXフレームから注目するINDEXフレームまでの距離D2を示す。 Then, as shown in FIGS. 9A and 9B, the offset XK described in the noticed INDEX frame is the distance D1 from the INDEX frame corresponding to the leading video frame of the preceding GOP to the noticed INDEX frame. Indicates. The offset YK described in the noticed INDEX frame indicates a distance D2 from the INDEX frame corresponding to the first video frame of the subsequent GOP to the noticed INDEX frame.
なお、注目するINDEXフレームに記述されたチャネル番号は、注目ビデオフレームが属するチャネルの識別番号である。また、注目するINDEXフレームに記述されたMPEGファイル番号は、今回の録画開始操作に応答して作成されるMPEGファイルの識別番号である。 The channel number described in the noticed INDEX frame is the identification number of the channel to which the noticed video frame belongs. The MPEG file number described in the INDEX frame of interest is the identification number of the MPEG file created in response to the current recording start operation.
こうして作成された多重MPEG−PSおよび多重INDEX−Sが、ハードディスク30に新規に作成されたMPEGファイルおよびハードディスク30に作成済みのINDEXファイルにそれぞれ書き込まれる。
The multiplexed MPEG-PS and multiplexed INDEX-S created in this way are written into the newly created MPEG file on the
操作パネル26によって録画終了操作が行われると、記録処理回路14が停止され、多重MPEG−PSのMPEGファイルへの書き込み処理と多重INDEX−SのINDEXファイルへの書き込み処理とが終了される。さらに、終了時刻情報が管理データ(図3参照)に追記される。
When the recording end operation is performed by the
メインCPU24は、録画動作に関連して、図10に示す録画タスク,図11〜図12に示す記録管理タスクを含む複数のタスクに従う処理を並列的に実行する。なお、これらのタスクに対応する制御プログラムは、図示しないフラッシュメモリに記憶される。
In relation to the recording operation, the
図10を参照して、ステップS1では録画開始操作が行われたか否かを判別する。ここでYESであれば、ステップS3で記録処理回路14を起動し、ステップS5で映像記録タスクを起動し、そしてステップS7で記録管理タスクを起動する。録画終了操作が行われると、ステップS9からステップS11に進み、映像記録タスクおよび記録管理タスクに録画の終了を通知する。ステップS13では記録処理回路14を停止させ、その後にステップS1に戻る。
Referring to FIG. 10, it is determined in step S1 whether or not a recording start operation has been performed. If YES here, the
図11〜図12を参照して、ステップS21では図3に示す管理データをハードディスク30の管理ファイルに書き込む。この時点で終了時刻情報は空欄とされる。ステップS23では、オフセットX1,X2,X3およびX4の各々に“0”を設定する。ステップS25では、多重INDEX−Sを形成する新規のINDEXフレームがストリームバッファ22に蓄積されたか否かを判別する。ここでYESであれば、蓄積された新規のINDEXフレームのチャネル番号をステップS27で検出する。チャネル番号は、変数Kに設定される。ステップS29では蓄積された新規のINDEXフレームがGOPの先頭のビデオフレームに対応する否かを判別し、YESであればステップS37に進む一方、NOであればステップS31に進む。
With reference to FIG. 11 to FIG. 12, in step S21, the management data shown in FIG. At this time, the end time information is blank. In step S23, “0” is set in each of the offsets X1, X2, X3, and X4. In step S25, it is determined whether or not a new INDEX frame forming the multiplexed INDEX-S has been accumulated in the
ステップS31では、オフセットX1,X2,X3およびX4の各々の数値を現在値に40バイト加算した数値に更新する。続くステップS33では、新規のINDEXフレームを形成する付加情報にオフセットXKを記述する。また、ステップS35では、同じ付加情報にMPEGファイル番号およびチャネル番号を記述する。ステップS35の処理が完了すると、ステップS25に戻る。 In step S31, the numerical values of the offsets X1, X2, X3, and X4 are updated to values obtained by adding 40 bytes to the current value. In the subsequent step S33, the offset XK is described in the additional information forming the new INDEX frame. In step S35, the MPEG file number and the channel number are described in the same additional information. When the process of step S35 is completed, the process returns to step S25.
ステップS37ではチャネルCHKの先行GOPを特定し、ステップS39では変数Nを“0”に設定する。ステップS41では、オフセットXKから“40バイト*N”を減算した数値をオフセットYKとする。ステップS43では、特定した先行GOPのN番目のビデオフレームに対応するINDEXフレームの付加情報にオフセットYKを記述する。 In step S37, the preceding GOP of the channel CHK is specified, and in step S39, the variable N is set to “0”. In step S41, a value obtained by subtracting “40 bytes * N” from the offset XK is set as the offset YK. In step S43, the offset YK is described in the additional information of the INDEX frame corresponding to the Nth video frame of the specified preceding GOP.
ステップS45では変数Nが“14”を上回るか否かを判別し、NOであれば、ステップS47で変数NをインクリメントしてからステップS41に戻る。この結果、40バイトずつ減少するオフセットYKが、先行GOPを形成する15個のビデオフレームにそれぞれ対応する15個のINDEXフレームに記述される。変数Nが“14”を上回るとステップS49に進み、ステップS43の処理の繰り返しによって作成された15個のINDEXフレームからなる多重INDEX−Sをハードディスク30に書き込む。
In step S45, it is determined whether or not the variable N exceeds “14”. If NO, the variable N is incremented in step S47, and the process returns to step S41. As a result, the offset YK that decreases by 40 bytes is described in the 15 INDEX frames respectively corresponding to the 15 video frames that form the preceding GOP. When the variable N exceeds “14”, the process proceeds to step
ステップS51ではオフセットXKに“−40バイト”を設定し、ステップS53では録画タスクから終了通知が与えられたか否かを判別する。ここでNOであればそのままステップS31に戻る一方、YESであればステップS55で終了時刻を管理データに追記してからステップS31に戻る。 In step S51, "-40 bytes" is set in the offset XK. In step S53, it is determined whether or not an end notification is given from the recording task. If “NO” here, the process directly returns to the step S31 while if “YES”, the end time is added to the management data in a step S55, and then, the process returns to the step S31.
再び図1を参照して、ハードディスク32内の同じMPEGファイルに格納された4チャネルのMPEG−PSは、並列的に再生される。操作パネル26によって所望のMPEGファイルが選択されると、まずメインCPU24によって初期化処理が実行される。
Referring again to FIG. 1, the 4-channel MPEG-PS stored in the same MPEG file in the
具体的には、所望のMPEGファイルに対応する管理ファイルから管理データが読み出され、読み出された管理データに記述されたチャネルCH1〜CH4のREC情報がMPEGエンコーダ40a〜40dにそれぞれ設定される。また、1倍の再生速度がMPEGエンコーダ40a〜40dに共通的に設定される。さらに、所望のMPEGファイルに対応する多重INDEX−SがINDEXファイルから読み出され、読み出された多重INDEX−Sの先頭部分に記述された4チャネル分のオフセットY1〜Y4がレジスタR1〜R4にそれぞれ設定される。
Specifically, the management data is read from the management file corresponding to the desired MPEG file, and the REC information of the channels CH1 to CH4 described in the read management data is set in the
操作パネル26によって再生開始操作が行われると、メインCPU24によって再生処理回路32が起動される。MPEGエンコーダ40a〜40dの各々は、設定されたREC情報および再生速度に基づく周期で、転送要求をメインCPU24に向けて発行する。転送要求には、要求元のチャネル番号が記述される。
When a reproduction start operation is performed by the
メインCPU24は、現時点の再生速度が30倍速以下のとき低速再生処理を行う一方、現時点の再生速度が30倍速を上回るとき高速再生処理を行う。これによって、所望のチャネルに対応する1GOP相当のビデオフレームまたは1GOPの先頭のビデオフレームが所望のMPEGファイルから特定される。
The
特定されたビデオフレームは、ハードディスク30からストリームバッファ34に転送された後、コントローラ36によってデコーダバッファ38a〜38dの1つ(具体的には、要求元に対応するデコーダバッファ)に与えられる。デコーダバッファに格納されたビデオフレームは対応するMPEGデコーダによってデコードされ、デコードされたビデオデータはマルチプレクサ42に与えられる。
The identified video frame is transferred from the
マルチプレクサ42は、こうしてMPEGデコーダ40a〜40dから与えられる4チャネルのビデオデータを多重する。多重されたビデオデータは、NTSCエンコーダ44によってコンポジットビデオ信号に変換され、変換されたコンポジットビデオ信号はモニタ46に向けて出力される。この結果、4台の監視カメラによってそれぞれ捉えられた4つのシーンが、1つの画面内に表示される。
The
なお、操作パネル26によって速度変更操作が行われると、所望の再生速度がMPEGデコーダ40a〜40dに設定される。この結果、画面上の画像の動きが変化する。
When a speed change operation is performed through the
メインCPU24は、再生動作に関連して、図13〜図15に示す再生タスクを含む複数のタスクを並列的に実行する。これらのタスクに対応する制御プログラムも、図示しないフラッシュメモリに記憶される。
The
まずステップS61で所望のMPEGファイルを選択する。ステップS63では、対応する管理データに記述されたチャネルCH1〜CH4のREC情報をMPEGデコーダ40a〜40dにそれぞれ設定し、1倍の再生速度をMPEGデコーダ40a〜40dに共通的に設定する。ステップS65では、レジスタR1〜R4を初期化する。具体的には、所望のMPEGファイルに対応する多重INDEX−SをINDEXファイルから検出し、検出された多重INDEX−Sの先頭部分に記述されたオフセットY1〜Y4をレジスタR1〜R4にそれぞれ設定する。
First, in step S61, a desired MPEG file is selected. In step S63, the REC information of the channels CH1 to CH4 described in the corresponding management data is set in the
再生開始操作が行われるとステップS67でYESと判断し、ステップS69で再生処理回路32を起動する。ステップS71では転送要求が発行されたか否かを判別する。MPEGデコーダ40a〜40dのいずれか1つから転送要求が発行されるとステップS71でYESと判断し、要求元のチャネル番号を検出する。検出されたチャネル番号は、変数Kに設定される。
If a reproduction start operation is performed, YES is determined in step S67, and the
ステップS75では、現時点の再生速度を判別する。現時点の再生速度が30倍速以上であればステップS77で低速再生処理を実行する一方、現時点の再生速度が30倍速未満であればステップS79で高速再生処理を実行する。ステップS77またはS79の処理によって、要求されたチャネルのビデオフレームがハードディスク30からストリームバッファ34に転送される。
In step S75, the current playback speed is determined. If the current playback speed is 30 times or higher, the low speed playback process is executed in step S77, while if the current playback speed is less than 30 times the high speed playback process is executed in step S79. Through the processing in step S77 or S79, the video frame of the requested channel is transferred from the
ステップS77またはS79の処理が完了するとステップS81に進み、ストリームバッファ34に格納されたビデオフレームを要求されたチャネルに対応するデコーダバッファに転送する。転送されたビデオフレームは、要求されたチャネルに対応するMPEGデコーダによってデコードされる。この結果、対応する画像がTVモニタ46から出力される。
When the process of step S77 or S79 is completed, the process proceeds to step S81, and the video frame stored in the
ステップS83では速度変更操作が行われたか否かを判別し、NOであればそのままステップS87に進む一方、YESであればステップS85で所望の再生速度をMPEGデコーダ40a〜40dの各々に設定してからステップS87に進む。ステップS87では再生終了操作が行われたか否かを判別し、NOであればステップS71に戻る一方、YESであればステップS89で再生処理回路32を停止してからステップS61に戻る。
In step S83, it is determined whether or not a speed change operation has been performed. If NO, the process proceeds directly to step S87. If YES, a desired reproduction speed is set in each of the
ステップS77の低速再生処理は、図14に示すサブルーチンに従う。まずステップS91で、レジスタRKに設定されたオフセットYKを参照してチャネルCHKの後続GOPを特定する。ステップS93では現再生速度が15倍速未満であるか否かを判別し、ステップS97では現再生速度が15倍速であるか否かを判別する。 The low speed reproduction process in step S77 follows a subroutine shown in FIG. First, in step S91, the subsequent GOP of the channel CHK is specified with reference to the offset YK set in the register RK. In step S93, it is determined whether or not the current playback speed is less than 15 times speed. In step S97, it is determined whether or not the current playback speed is 15 times speed.
現再生速度が15倍速未満であればステップS93からステップS95に進み、特定された後続GOPを形成する15個のビデオフレームをハードディスク30からストリームバッファ34に転送する。現再生速度が15倍速であれば、ステップS97からステップS99に進み、特定された後続GOPの先頭のビデオフレームをハードディスク30からストリームバッファ34に転送する。
If the current playback speed is less than 15 times, the process proceeds from step S93 to step S95, and 15 video frames forming the specified subsequent GOP are transferred from the
現再生速度が15倍速を上回るときは、ステップS97からステップS101に進み、特定された後続GOPの先頭フレームに対応するINDEXフレームをINDEXファイルから検出する。ステップS103では、検出されたINDEXフレームに記述されたオフセットYKを参照して同じチャネルCHKのさらに後続のGOPを特定する。ステップS105では、ステップS103で特定された後続GOPの先頭のビデオフレームをハードディスク30からストリームバッファ34に転送する。
When the current playback speed exceeds 15 × speed, the process proceeds from step S97 to step S101, and an INDEX frame corresponding to the head frame of the specified subsequent GOP is detected from the INDEX file. In step S103, a subsequent GOP of the same channel CHK is specified with reference to the offset YK described in the detected INDEX frame. In step S105, the first video frame of the subsequent GOP specified in step S103 is transferred from the
ステップS95,S99またはS105の処理が完了するとステップS107に進み、転送されたビデオフレーム(先頭のビデオフレーム)に対応するINDEXフレームをINDEXファイルから検出する。ステップS109では、検出されたINDEXフレームに記述されたオフセットYKをレジスタRKに設定し、その後に上階層のルーチンに復帰する。 When the process of step S95, S99 or S105 is completed, the process proceeds to step S107, and an INDEX frame corresponding to the transferred video frame (first video frame) is detected from the INDEX file. In step S109, the offset YK described in the detected INDEX frame is set in the register RK, and then the process returns to the upper layer routine.
ステップS79の高速再生処理は、図15に示すサブルーチンに従う。ステップS111では、所望のMPEGファイルに対応する管理データを管理ファイルから読み出し、読み出された管理データに記述された4チャネル分のREC情報を取得する。ステップS113では取得されたREC情報を参照して各チャネルのフレームレートを検出し、ステップS115ではレジスタRKに設定されたオフセットYKを取得する。ステップS117では、こうして得られたREC情報およびオフセットYKに基づいて、次に再生すべきビデオフレームを予測する。 The high-speed playback process in step S79 follows a subroutine shown in FIG. In step S111, management data corresponding to a desired MPEG file is read from the management file, and REC information for four channels described in the read management data is acquired. In step S113, the frame rate of each channel is detected with reference to the acquired REC information, and in step S115, the offset YK set in the register RK is acquired. In step S117, the video frame to be reproduced next is predicted based on the REC information and the offset YK thus obtained.
ステップS119では、予測されたビデオフレームに対応するINDEXフレームをINDEXファイルから検出する。ステップS121では検出されたINDEXフレームがチャネルCHKのGOPの先頭フレームに対応するか否かを判別し、NOであればステップS123で次のINDEXフレームを検出してからステップS121に戻る。 In step S119, an INDEX frame corresponding to the predicted video frame is detected from the INDEX file. In step S121, it is determined whether or not the detected INDEX frame corresponds to the first frame of the GOP of the channel CHK. If NO, the next INDEX frame is detected in step S123, and the process returns to step S121.
こうしてチャネルCHKのGOPの先頭のビデオフレームが特定されると、ステップS121からステップS125に進み、特定されたビデオフレームをハードディスク30からストリームバッファ34に転送する。ステップS127では、最後に検出されたINDEXフレームが有するオフセットYKをレジスタRKに設定し、その後に上階層のルーチンに復帰する。
When the first video frame of the GOP of the channel CHK is specified in this way, the process proceeds from step S121 to step S125, and the specified video frame is transferred from the
以上の説明から分かるように、符号化回路161a〜161dは、4チャネルにそれぞれ属する4つのGOP(データブロック)を互いに並行して繰り返し出力する。1つのGOPは15個のビデオフレーム(データ要素)によって形成される。また、4チャネルの各々に対応する複数のGOPによってMPEG−PSが形成される。符号化回路161a〜161dの各々から出力されたMPEG−PSはMPEG−PS多重回路20aによってGOP単位の時分割多重処理を施され、これによって多重MPEG−PSが生成される。
As can be seen from the above description, the
INDEX作成回路162a〜162dは、符号化回路161a〜161dから出力された複数のGOPをそれぞれ管理する複数のINDEXブロック(管理ブロック)を作成する。1つのINDEXブロックは15個のINDEXフレーム(管理要素)によって形成される。また、1つのINDEXフレームが1つのビデオフレームに対応する。INDEX多重回路20bは、INDEX作成回路162a〜162dによって作成された複数のINDEXブロックにMPEG−PS多重回路20aの時分割多重処理に同じ態様ないし順序の時分割多重処理を施して、多重INDEX−Sを生成する。
The
INDEX多重回路20bによって注目されるINDEXブロックが属するチャネルは、メインCPU24によって検出される(S27)。メインCPU24は、検出されたチャネルと同じチャネルに属する別のINDEXブロックを、INDEX多重回路20bによって生成済みの多重INDEX−Sから検出する(S37)。メインCPU24は、INDEX多重回路20bによって注目されるINDEXブロックから上述のようにして検出された別のINDEXブロックまでの距離(=オフセットX,Y)を算出する(S31, S41, S51)。算出された距離を示す距離情報は、INDEX多重回路20bによって注目されるINDEXブロックおよび上述のようにして検出されたINDEXブロックの少なくとも一方に、メインCPU24によって割り当てられる(S33, S43)。
The channel to which the INDEX block noticed by the
このように、4チャネルの各々について作成された複数のGOPは、時分割多重処理を施される。4チャネルの各々について作成された複数のINDEXブロックも、同じ態様ないし順序で時分割多重処理を施される。さらに、同じチャネルに属する2つのINDEXブロック間の距離を示す距離情報がこの2つのINDEXブロックの少なくとも一方に割り当てられる。したがって、INDEXブロックに割り当てられた距離情報を参照することで、所望のチャネルのデータを簡便に再生することができる。 Thus, the plurality of GOPs created for each of the four channels are subjected to time division multiplexing processing. A plurality of INDEX blocks created for each of the four channels are also subjected to time division multiplexing processing in the same manner or order. Further, distance information indicating the distance between two INDEX blocks belonging to the same channel is assigned to at least one of the two INDEX blocks. Therefore, by referring to the distance information assigned to the INDEX block, it is possible to easily reproduce the data of the desired channel.
なお、この実施例では、記録媒体としてハードディスクを想定しているが、これに代えてDVDや大規模の不揮発性メモリを用いるようにしてもよい。また、この実施例では、符号化方式としてMPEG方式を採用しているが、これに代えてM−JPEG方式やM−JPEG2000方式を採用するようにしてもよい。 In this embodiment, a hard disk is assumed as a recording medium, but a DVD or a large-scale nonvolatile memory may be used instead. In this embodiment, the MPEG method is adopted as the encoding method, but the M-JPEG method or the M-JPEG2000 method may be adopted instead.
10 … ハードディスクビデオレコーダ
14 …記録処理回路
16a〜16d …MPEGエンコーダ
20,36 …コントローラ
22,34 …ストリームバッファ
24 …メインCPU
30 …ハードディスク
40a〜40d …MPEGデコーダ
DESCRIPTION OF SYMBOLS 10 ... Hard
30:
Claims (14)
前記出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第1多重手段、
前記出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する作成手段、
前記作成手段によって作成された複数の管理ブロックに前記第1多重手段の時分割多重処理と同じ態様の時分割多重処理を施して多重管理ブロックを生成する第2多重手段、
前記第2多重手段によって注目される管理ブロックが属するチャネルを検出するチャネル検出手段、
前記チャネル検出手段によって検出されたチャネルと同じチャネルに属する別の管理ブロックを前記第2多重手段によって生成済みの多重管理ブロックから検出するブロック検出手段、
前記第2多重手段によって注目される管理ブロックから前記ブロック検出手段によって検出された管理ブロックまでの距離を算出する算出手段、および
前記算出手段によって算出された距離を示す距離情報を前記第2多重手段によって注目される管理ブロックおよび前記ブロック検出手段によって検出された管理ブロックの少なくとも一方に割り当てる割り当て手段を備える、データ処理装置。 Output means for repeatedly outputting a plurality of data blocks respectively belonging to a plurality of channels in parallel;
First multiplexing means for performing time division multiplexing on the plurality of data blocks output by the output means to generate a multiplexed data block;
Creating means for creating a plurality of management blocks each managing a plurality of data blocks output by the output means;
Second multiplexing means for generating a multiple management block by performing time division multiplexing processing in the same manner as the time division multiplexing processing of the first multiplexing means on the plurality of management blocks created by the creating means;
Channel detecting means for detecting a channel to which a management block noted by the second multiplexing means belongs;
Block detecting means for detecting another management block belonging to the same channel as the channel detected by the channel detecting means from the multiplexed management blocks generated by the second multiplexing means;
Calculating means for calculating a distance from a management block noticed by the second multiplexing means to a management block detected by the block detecting means; and distance information indicating the distance calculated by the calculating means as the second multiplexing means A data processing apparatus comprising: an assigning unit that assigns to at least one of the management block noted by the block and the management block detected by the block detection unit.
前記管理ブロックは前記複数のデータ要素にそれぞれ対応しかつ各々が既定サイズを有する複数の管理要素によって形成される、請求項2記載のデータ処理装置。 The data block is formed by a plurality of data elements each having a variable size;
The data processing apparatus according to claim 2, wherein the management block is formed by a plurality of management elements respectively corresponding to the plurality of data elements and each having a predetermined size.
前記割り当て手段は前記減算手段によって求められた複数の減算値を前記ブロック検出手段によって検出された管理ブロックを形成する複数の管理要素に前記距離情報としてそれぞれ割り当てる第2数値割り当て手段を含む、請求項3ないし5のいずれかに記載のデータ処理装置。 The calculating means further includes subtracting means for repeatedly subtracting a numerical value corresponding to the predetermined size from an integrated value corresponding to the channel detected by the channel detecting means,
The assigning means includes second numerical value assigning means for assigning a plurality of subtraction values obtained by the subtracting means to the plurality of management elements forming the management block detected by the block detecting means, respectively, as the distance information. The data processing device according to any one of 3 to 5.
前記減算手段は前記判別手段の結果が否定的な結果から肯定的な結果に更新されたとき減算処理を実行する、請求項6記載のデータ処理装置。 A discriminating means for discriminating whether or not the new management element is the first management element of the management block;
The data processing apparatus according to claim 6, wherein the subtracting unit executes a subtracting process when the result of the determining unit is updated from a negative result to a positive result.
前記データ要素は1フレームの画像データに相当する、請求項3ないし7のいずれかに記載のデータ処理装置。 The data of each of the plurality of channels is data representing a moving image,
The data processing apparatus according to claim 3, wherein the data element corresponds to one frame of image data.
前記第2多重手段によって作成された多重管理ブロックを前記記録媒体に記録する第2記録手段をさらに備える、請求項1ないし8のいずれかに記載のデータ処理装置。 A first recording means for recording the multiplexed data block created by the first multiplexing means on a recording medium; and a second recording means for recording the multiplexed management block created by the second multiplexing means on the recording medium. A data processing apparatus according to any one of claims 1 to 8.
前記ブロック特定手段によって特定されたデータブロックを非ブロック化する非ブロック化手段、および
前記非ブロック化手段によって非ブロック化されたデータを出力する出力手段をさらに備える、請求項1ないし9のいずれかに記載のデータ処理装置。 Block specifying means for specifying the data block of the designated channel from the multiple data blocks recorded on the recording medium based on the distance information assigned by the assigning means;
The deblocking means for deblocking the data block specified by the block specifying means, and the output means for outputting the data deblocked by the deblocking means, further comprising: The data processing apparatus described in 1.
前記出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第1多重手段、
前記出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する作成手段、および
前記作成手段によって作成された複数の管理ブロックに前記第1多重手段の時分割多重処理と同じ態様の時分割多重処理を施して多重管理ブロックを生成する第2多重手段を備えるデータ処理装置のプロセサに、
前記第2多重手段によって注目される管理ブロックが属するチャネルを検出するチャネル検出ステップ、
前記チャネル検出ステップによって検出されたチャネルと同じチャネルに属する別の管理ブロックを前記第2多重手段によって生成済みの多重管理ブロックから検出するブロック検出ステップ、
前記第2多重手段によって注目される管理ブロックから前記ブロック検出ステップによって検出された管理ブロックまでの距離を算出する算出ステップ、および
前記算出手段によって算出された距離を示す距離情報を前記第2多重手段によって注目される管理ブロックおよび前記ブロック検出手段によって検出された管理ブロックの少なくとも一方に割り当てる割り当てステップを実行させるための、データ処理プログラム。 Output means for repeatedly outputting a plurality of data blocks respectively belonging to a plurality of channels in parallel;
First multiplexing means for performing time division multiplexing on the plurality of data blocks output by the output means to generate a multiplexed data block;
Creating means for creating a plurality of management blocks for managing each of the plurality of data blocks output by the output means; and the same as time division multiplexing processing of the first multiplexing means for the plurality of management blocks created by the creating means In a processor of a data processing device comprising a second multiplexing means for performing a time division multiplexing process of the aspect to generate a multiplexing management block,
A channel detection step of detecting a channel to which a management block noted by the second multiplexing means belongs;
A block detection step of detecting another management block belonging to the same channel as the channel detected in the channel detection step from the multiplexed management block generated by the second multiplexing means;
A calculating step for calculating a distance from a management block noticed by the second multiplexing unit to a management block detected by the block detecting step; and distance information indicating the distance calculated by the calculating unit. A data processing program for executing an assigning step to assign to at least one of the management block noted by the block and the management block detected by the block detection means.
前記出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第1多重手段、
前記出力手段によって出力された複数のデータブロックをそれぞれ管理する複数の管理ブロックを作成する作成手段、および
前記作成手段によって作成された複数の管理ブロックに前記第1多重手段の時分割多重処理と同じ態様の時分割多重処理を施して多重管理ブロックを生成する第2多重手段を備えるデータ処理装置のデータ処理方法であって、
前記第2多重手段によって注目される管理ブロックが属するチャネルを検出するチャネル検出ステップ、
前記チャネル検出ステップによって検出されたチャネルと同じチャネルに属する別の管理ブロックを前記第2多重手段によって生成済みの多重管理ブロックから検出するブロック検出ステップ、
前記第2多重手段によって注目される管理ブロックから前記ブロック検出ステップによって検出された管理ブロックまでの距離を算出する算出ステップ、および
前記算出手段によって算出された距離を示す距離情報を前記第2多重手段によって注目される管理ブロックおよび前記ブロック検出手段によって検出された管理ブロックの少なくとも一方に割り当てる割り当てステップを備える、データ処理方法。 Output means for repeatedly outputting a plurality of data blocks respectively belonging to a plurality of channels in parallel;
First multiplexing means for performing time division multiplexing on the plurality of data blocks output by the output means to generate a multiplexed data block;
Creating means for creating a plurality of management blocks for managing each of the plurality of data blocks output by the output means; and the same as time division multiplexing processing of the first multiplexing means for the plurality of management blocks created by the creating means A data processing method for a data processing apparatus comprising a second multiplexing unit that performs time division multiplexing processing of an aspect to generate a multiplexing management block,
A channel detection step of detecting a channel to which a management block noted by the second multiplexing means belongs;
A block detection step of detecting another management block belonging to the same channel as the channel detected in the channel detection step from the multiplexed management block generated by the second multiplexing means;
A calculating step for calculating a distance from a management block noticed by the second multiplexing unit to a management block detected by the block detecting step; and distance information indicating the distance calculated by the calculating unit. A data processing method comprising: an allocation step of allocating to at least one of the management block noted by the block and the management block detected by the block detection means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006200197A JP4660435B2 (en) | 2006-07-24 | 2006-07-24 | Data processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006200197A JP4660435B2 (en) | 2006-07-24 | 2006-07-24 | Data processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008028787A true JP2008028787A (en) | 2008-02-07 |
JP4660435B2 JP4660435B2 (en) | 2011-03-30 |
Family
ID=39118970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006200197A Expired - Fee Related JP4660435B2 (en) | 2006-07-24 | 2006-07-24 | Data processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4660435B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014006940A1 (en) * | 2012-07-03 | 2014-01-09 | シャープ株式会社 | Multi-channel recording and reproduction device, control method and control program therefor, recording medium, and television receiver |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001128120A (en) * | 1999-10-26 | 2001-05-11 | Victor Co Of Japan Ltd | Encoded bit stream recording and/or reproducing device, and recording disk medium |
JP2004334969A (en) * | 2003-05-07 | 2004-11-25 | Matsushita Electric Ind Co Ltd | Method for recording multifile in real time and reproducing method |
JP2006033239A (en) * | 2004-07-14 | 2006-02-02 | Sanyo Electric Co Ltd | Contents recording apparatus |
-
2006
- 2006-07-24 JP JP2006200197A patent/JP4660435B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001128120A (en) * | 1999-10-26 | 2001-05-11 | Victor Co Of Japan Ltd | Encoded bit stream recording and/or reproducing device, and recording disk medium |
JP2004334969A (en) * | 2003-05-07 | 2004-11-25 | Matsushita Electric Ind Co Ltd | Method for recording multifile in real time and reproducing method |
JP2006033239A (en) * | 2004-07-14 | 2006-02-02 | Sanyo Electric Co Ltd | Contents recording apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014006940A1 (en) * | 2012-07-03 | 2014-01-09 | シャープ株式会社 | Multi-channel recording and reproduction device, control method and control program therefor, recording medium, and television receiver |
JP2014013633A (en) * | 2012-07-03 | 2014-01-23 | Sharp Corp | Multi-channel recording and reproduction device, control method and control program therefor, recording medium, and television receiver |
Also Published As
Publication number | Publication date |
---|---|
JP4660435B2 (en) | 2011-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4715633B2 (en) | RECORDING DEVICE, RECORDING METHOD, RECORDING PROGRAM, EDITING DEVICE, EDITING METHOD, AND EDITING PROGRAM | |
TWI401955B (en) | A reproducing apparatus, a recording medium, a reproducing method, and a reproducing system | |
US7716259B2 (en) | File splitting apparatus, file splitting method and file splitting program | |
TWI405466B (en) | A regeneration device, a regeneration program, a regeneration method, and a regeneration system | |
KR20000070936A (en) | Optical disc and computer-readable storage medium, and recording method and apparatus therefor | |
JPWO2006033279A1 (en) | Data processing device | |
US20060095463A1 (en) | Information processing apparatus | |
JP2008053763A (en) | Av data recording device and method, av data reproducing device and method, and recording medium recorded by the av data recording device or the method | |
KR20070090104A (en) | Data processing apparatus, data processing method and data processing program, data structure and recording medium, and reproducing apparatus, reproducing method and reproducing program | |
EP2018054A1 (en) | Information processing device, information processing method, and computer program | |
JP2006303652A (en) | Information recording and reproducing system, apparatus, and method | |
JP2006518962A (en) | Data decoding apparatus for providing browseable slide show, decoding method thereof, and information storage medium therefor | |
JPH1196730A (en) | Optical disk and its editing device and reproducing device | |
KR20040088484A (en) | Method and apparatus for recording a multi-component stream and a high-density recording medium having a multi-component stream recorded theron and reproducing method and apparatus of said recording medium | |
JP4791969B2 (en) | Data processing device | |
CN101331763B (en) | Apparatus and method for processing information | |
JP4552802B2 (en) | Recording apparatus, recording method, recording method program, and recording medium recording the recording method program | |
JP4660435B2 (en) | Data processing device | |
EP2814032A1 (en) | Information processing device, information recording medium and information processing method, and program | |
JP2008092364A (en) | Data processing device | |
JP2005085364A (en) | File recording device, file reproducing device, file recording method, program thereof, recording medium recorded with this program, file reproducing method, program thereof, and recording medium recorded with program thereof | |
KR100506845B1 (en) | Method for editing a multi-view stream in optical disc device | |
JP4820375B2 (en) | Method and apparatus for managing information for editing recorded data | |
CN100525420C (en) | Recording method and recording device | |
JP2006020281A (en) | Recording device, playback device, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090709 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100928 |
|
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: 20101130 |
|
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: 20101228 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |