JP2008028787A - Data processor - Google Patents

Data processor Download PDF

Info

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
Application number
JP2006200197A
Other languages
Japanese (ja)
Other versions
JP4660435B2 (en
Inventor
Atsuhiko Tatsuta
篤彦 辰田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2006200197A priority Critical patent/JP4660435B2/en
Publication of JP2008028787A publication Critical patent/JP2008028787A/en
Application granted granted Critical
Publication of JP4660435B2 publication Critical patent/JP4660435B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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

<P>PROBLEM TO BE SOLVED: To provide a data processor which easily reproduces the data of a wanted channel independent of data arrangement. <P>SOLUTION: A controller 20 applies a 4 channel MPEG-PS with a time division multiplexing process to generate a multiplex MPEG-PS, and applies a 4 channel INDEX-S with the same time division multiplexing process to generate a multiplex INDEX-S. The multiplex MPEG-PS is formed with a plurality of GOPs; and the multiplex INDEX-S is formed with a plurality of INDEX blocks. A main CPU24 detects another INDEX block belonging to the same channel as the INDEX block which is interested anew by the controller 20, from the multiplex INDEX-S which is already generated. The main CPU24 calculates a distance from the INDEX block interested by the controller 20 to another INDEX block, and allocates the distance information representing a calculated distance to each of the two INDEX blocks. Thus, by referencing the distance information, the data of a wanted channel is easily reproduced. <P>COPYRIGHT: (C)2008,JPO&INPIT

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チャネルのビデオデータは、同時に表示されるべき映像が同時的に再生し易いように配置されて、データ記録媒体に記録される。
特開平9−182016号公報[H04N 5/907, 5/68, 5/765]
An example of a conventional device of this type is disclosed in Patent Document 1. According to this prior art, input n-channel video data is sequentially recorded on a data recording medium in the manner of channel 1 → channel 2 →... → channel n → channel 1 →. That is, the n-channel video data is recorded on the data recording medium so that videos to be displayed at the same time can be easily reproduced simultaneously.
JP-A-9-182016 [H04N 5/907, 5/68, 5/765]

しかし、換言すれば、従来技術は、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 claim 3, and the accumulating means obtains a numerical value corresponding to the predetermined size every time a new management element forming a management block noticed by the second multiplexing means is obtained. Accumulate.

請求項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 claim 7 is dependent on claim 6, and further comprises a discriminating means (S29) for discriminating whether or not the new management element is the first management element of the management block, and the subtraction means comprises: When the result of the discriminating means is updated from a negative result to a positive result, a subtraction process is executed.

請求項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 claim 9 is dependent on any one of claims 1 to 8, and the first recording means (S5) for recording the multiplexed data block created by the first multiplexing means on the recording medium (30). And second recording means (S49) for recording the multiplexed management block created by the second multiplexing means on the recording medium.

請求項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 claim 11 is dependent on any one of claims 1 to 10, and the output means adopts the MPEG system as an encoding system.

請求項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 NTSC decoder 12b corresponds to the channel CH2. The output path from the NTSC decoder 12c corresponds to the channel CH3, and the output path from the NTSC decoder 12d corresponds to the channel CH4.

また、この実施例では、ビデオデータのフレームレートは、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 operation panel 26, the main CPU 24 activates the recording processing circuit 14 and instructs an HDD (Hard Disk Drive) 28 to newly create an MPEG file on the hard disk 30. The main CPU 24 also creates management data and instructs the HDD 28 to record the created management data on the hard disk 30.

図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 hard disk 30 is divided into a management area 30a, an MPEG area 30b, and an INDEX area 30c. A management file for storing management data created by the main CPU 24 is recorded in the management area 30a. In the MPEG area 30b, a plurality of MPEG files # 1, # 2,... Each storing multiple MPEG-PS (described later) created during the period from the recording start operation to the recording end operation are recorded. In the INDEX area 30c, an INDEX file that stores multiple INDEX-S (described later) is recorded.

管理ファイルに格納される管理データは、図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 MPEG encoders 16a to 16d forming the recording processing circuit 14, respectively. Referring to FIG. 4, the MPEG encoder 16a (16b to 16d) includes an encoding circuit 161a (161b to 161d) and an INDEX creation circuit 162a (162b to 162d). The encoding circuit 161a (161b to 161d) performs encoding processing according to the MPEG system on the given video data, and outputs MPEG-PS composed of a plurality of video frames. On the other hand, the INDEX creation circuit 162a (162b to 162d) generates an INDEX-S for managing the MPEG-PS generated by the encoding circuit 161a (161b to 161d).

つまり、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 INDEX creation circuit 162a corresponds to MPEG-PS created by the encoding circuit 161a, and INDEX-S created by the INDEX creation circuit 162b is MPEG generated by the coding circuit 161b. -Corresponds to PS. The INDEX-S created by the INDEX creation circuit 162c corresponds to the MPEG-PS created by the encoding circuit 161c, and the INDEX-S created by the INDEX creation circuit 162d is the MPEG generated by the encoding circuit 161d. -Corresponds to PS.

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 MPEG encoder 16a are written into the encoder buffer 18a, and the MPEG-PS and INDEX-S output from the MPEG encoder 16b are written into the encoder buffer 18b. The MPEG-PS and INDEX-S output from the MPEG encoder 16c are written in the encoder buffer 18c, and are written in the MPEG-PS and INDEX-S encoder buffer 18d output from the MPEG encoder 16d.

図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 controller 20 shown in FIG. 1 includes an MPEG-PS multiplexing circuit 20a and an INDEX multiplexing circuit 20b as shown in FIG. The MPEG-PS multiplexing circuit 20a performs time-division multiplexing processing for each GOP in consideration of the difference in frame rate between channels on the MPEG-PS stored in the encoder buffers 18a to 18d. Thereby, a multiplexed MPEG-PS is generated. On the other hand, the INDEX multiplexing circuit 20b performs time division multiplexing processing for each INDEX block on the INDEX-S stored in the encoder buffers 18a to 18d. As a result, a multiple INDEX-S is generated.

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 INDEX multiplexing circuit 20b is the same as the mode or order of the time division multiplexing processing in the MPEG-PS multiplexing circuit 20a. Therefore, the arrangement order of the plurality of INDEX blocks or the plurality of INDEX frames forming the multiplex INDEX-S matches the arrangement order of the plurality of GOPs or the plurality of video frames forming the multiplex MPEG-PS. The multiplexed MPEG-PS and multiplexed INDEX-S created in this way are stored in the stream buffer 22 frame by frame.

上述のように、フレームレートは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 hard disk 30 and the created INDEX file on the hard disk 30, respectively.

操作パネル26によって録画終了操作が行われると、記録処理回路14が停止され、多重MPEG−PSのMPEGファイルへの書き込み処理と多重INDEX−SのINDEXファイルへの書き込み処理とが終了される。さらに、終了時刻情報が管理データ(図3参照)に追記される。   When the recording end operation is performed by the operation panel 26, the recording processing circuit 14 is stopped, and the writing process to the multiplexed MPEG-PS MPEG file and the writing process to the multiplexed INDEX-S INDEX file are finished. Furthermore, end time information is added to the management data (see FIG. 3).

メインCPU24は、録画動作に関連して、図10に示す録画タスク,図11〜図12に示す記録管理タスクを含む複数のタスクに従う処理を並列的に実行する。なお、これらのタスクに対応する制御プログラムは、図示しないフラッシュメモリに記憶される。   In relation to the recording operation, the main CPU 24 executes in parallel processing according to a plurality of tasks including the recording task shown in FIG. 10 and the recording management tasks shown in FIGS. Note that control programs corresponding to these tasks are stored in a flash memory (not shown).

図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 recording processing circuit 14 is activated in step S3, the video recording task is activated in step S5, and the recording management task is activated in step S7. When the recording end operation is performed, the process proceeds from step S9 to step S11 to notify the video recording task and the recording management task of the end of the recording. In step S13, the recording processing circuit 14 is stopped, and then the process returns to step S1.

図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 stream buffer 22. If YES here, the channel number of the accumulated new INDEX frame is detected in step S27. The channel number is set in the variable K. In step S29, it is determined whether or not the accumulated new INDEX frame corresponds to the first video frame of the GOP. If YES, the process proceeds to step S37, and if NO, the process proceeds to step S31.

ステップ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 S 49, and multiple INDEX-S composed of 15 INDEX frames created by repeating the process of step S 43 is written to the hard disk 30.

ステップ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 hard disk 32 is reproduced in parallel. When a desired MPEG file is selected by the operation panel 26, an initialization process is first executed by the main CPU 24.

具体的には、所望の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 MPEG encoders 40a to 40d, respectively. . In addition, a single reproduction speed is commonly set for the MPEG encoders 40a to 40d. Further, the multiplex INDEX-S corresponding to the desired MPEG file is read from the INDEX file, and the offsets Y1 to Y4 for four channels described in the head portion of the read multiplex INDEX-S are stored in the registers R1 to R4. Each is set.

操作パネル26によって再生開始操作が行われると、メインCPU24によって再生処理回路32が起動される。MPEGエンコーダ40a〜40dの各々は、設定されたREC情報および再生速度に基づく周期で、転送要求をメインCPU24に向けて発行する。転送要求には、要求元のチャネル番号が記述される。   When a reproduction start operation is performed by the operation panel 26, the reproduction processing circuit 32 is activated by the main CPU 24. Each of the MPEG encoders 40a to 40d issues a transfer request to the main CPU 24 at a cycle based on the set REC information and the reproduction speed. The request source channel number is described in the transfer request.

メインCPU24は、現時点の再生速度が30倍速以下のとき低速再生処理を行う一方、現時点の再生速度が30倍速を上回るとき高速再生処理を行う。これによって、所望のチャネルに対応する1GOP相当のビデオフレームまたは1GOPの先頭のビデオフレームが所望のMPEGファイルから特定される。   The main CPU 24 performs low-speed playback processing when the current playback speed is 30 times or less, and performs high-speed playback processing when the current playback speed exceeds 30 times speed. As a result, the video frame corresponding to 1 GOP corresponding to the desired channel or the head video frame of 1 GOP is specified from the desired MPEG file.

特定されたビデオフレームは、ハードディスク30からストリームバッファ34に転送された後、コントローラ36によってデコーダバッファ38a〜38dの1つ(具体的には、要求元に対応するデコーダバッファ)に与えられる。デコーダバッファに格納されたビデオフレームは対応するMPEGデコーダによってデコードされ、デコードされたビデオデータはマルチプレクサ42に与えられる。   The identified video frame is transferred from the hard disk 30 to the stream buffer 34, and then given to one of the decoder buffers 38a to 38d (specifically, the decoder buffer corresponding to the request source) by the controller 36. The video frame stored in the decoder buffer is decoded by the corresponding MPEG decoder, and the decoded video data is supplied to the multiplexer 42.

マルチプレクサ42は、こうしてMPEGデコーダ40a〜40dから与えられる4チャネルのビデオデータを多重する。多重されたビデオデータは、NTSCエンコーダ44によってコンポジットビデオ信号に変換され、変換されたコンポジットビデオ信号はモニタ46に向けて出力される。この結果、4台の監視カメラによってそれぞれ捉えられた4つのシーンが、1つの画面内に表示される。   The multiplexer 42 thus multiplexes the 4-channel video data provided from the MPEG decoders 40a to 40d. The multiplexed video data is converted into a composite video signal by the NTSC encoder 44, and the converted composite video signal is output to the monitor 46. As a result, four scenes captured by the four surveillance cameras are displayed in one screen.

なお、操作パネル26によって速度変更操作が行われると、所望の再生速度がMPEGデコーダ40a〜40dに設定される。この結果、画面上の画像の動きが変化する。   When a speed change operation is performed through the operation panel 26, desired playback speeds are set in the MPEG decoders 40a to 40d. As a result, the movement of the image on the screen changes.

メインCPU24は、再生動作に関連して、図13〜図15に示す再生タスクを含む複数のタスクを並列的に実行する。これらのタスクに対応する制御プログラムも、図示しないフラッシュメモリに記憶される。   The main CPU 24 executes a plurality of tasks including the reproduction task shown in FIGS. 13 to 15 in parallel in relation to the reproduction operation. Control programs corresponding to these tasks are also stored in a flash memory (not shown).

まずステップ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 MPEG decoders 40a to 40d, respectively, and a single reproduction speed is commonly set in the MPEG decoders 40a to 40d. In step S65, the registers R1 to R4 are initialized. Specifically, the multiplex INDEX-S corresponding to the desired MPEG file is detected from the INDEX file, and the offsets Y1 to Y4 described at the head portion of the detected multiplex INDEX-S are set in the registers R1 to R4, respectively. .

再生開始操作が行われるとステップ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 reproduction processing circuit 32 is activated in step S69. In step S71, it is determined whether or not a transfer request has been issued. When a transfer request is issued from any one of the MPEG decoders 40a to 40d, YES is determined in step S71, and the request source channel number is detected. The detected channel number is set in the variable K.

ステップ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 hard disk 30 to the stream buffer 34.

ステップ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 stream buffer 34 is transferred to the decoder buffer corresponding to the requested channel. The transferred video frame is decoded by the MPEG decoder corresponding to the requested channel. As a result, a corresponding image is output from the TV monitor 46.

ステップ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 MPEG decoders 40a to 40d in step S85. To step S87. In step S87, it is determined whether or not a reproduction end operation has been performed. If NO, the process returns to step S71. If YES, the reproduction processing circuit 32 is stopped in step S89, and the process returns to step S61.

ステップ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 hard disk 30 to the stream buffer 34. If the current playback speed is 15 times speed, the process proceeds from step S97 to step S99, and the top video frame of the identified subsequent GOP is transferred from the hard disk 30 to the stream buffer 34.

現再生速度が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 hard disk 30 to the stream buffer 34.

ステップ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 hard disk 30 to the stream buffer 34. In step S127, the offset YK of the INDEX frame detected last is set in the register RK, and then the process returns to the upper layer routine.

以上の説明から分かるように、符号化回路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 encoding circuits 161a to 161d repeatedly output four GOPs (data blocks) belonging to the four channels in parallel with each other. One GOP is formed by 15 video frames (data elements). An MPEG-PS is formed by a plurality of GOPs corresponding to each of the four channels. The MPEG-PS output from each of the encoding circuits 161a to 161d is subjected to time division multiplexing processing in units of GOPs by the MPEG-PS multiplexing circuit 20a, thereby generating a multiplexed MPEG-PS.

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 creation circuits 162a to 162d create a plurality of INDEX blocks (management blocks) that respectively manage a plurality of GOPs output from the encoding circuits 161a to 161d. One INDEX block is formed by 15 INDEX frames (management elements). One INDEX frame corresponds to one video frame. The INDEX multiplex circuit 20b performs time division multiplex processing in the same manner or order as the time division multiplex processing of the MPEG-PS multiplex circuit 20a on the plurality of INDEX blocks created by the INDEX creation circuits 162a to 162d. Is generated.

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 INDEX multiplex circuit 20b belongs is detected by the main CPU 24 (S27). The main CPU 24 detects another INDEX block belonging to the same channel as the detected channel from the multiplexed INDEX-S generated by the INDEX multiplexing circuit 20b (S37). The main CPU 24 calculates the distance (= offset X, Y) from the INDEX block noticed by the INDEX multiplexing circuit 20b to another INDEX block detected as described above (S31, S41, S51). The distance information indicating the calculated distance is assigned by the main CPU 24 to at least one of the INDEX block noted by the INDEX multiplexing circuit 20b and the INDEX block detected as described above (S33, S43).

このように、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.

この発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. 図1実施例に適用されるハードディスクのマッピング状態の一例を示す図解図である。It is an illustration figure which shows an example of the mapping state of the hard disk applied to the FIG. 1 Example. 管理データの構造の一例を示す図解図である。It is an illustration figure which shows an example of the structure of management data. 図1実施例に適用されるMPEGエンコーダの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the MPEG encoder applied to the FIG. 1 Example. (A)はMPEG−PSの構造の一例を示す図解図であり、(B)はINDEX−Sの構造の一例を示す図解図である。(A) is an illustrative view showing an example of the structure of MPEG-PS, and (B) is an illustrative view showing an example of the structure of INDEX-S. 図1実施例に適用される記録側のコントローラの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the controller of the recording side applied to the FIG. 1 Example. 多重MPEG−PSのデータ構造の一例を示す図解図である。It is an illustration figure which shows an example of the data structure of multiplexed MPEG-PS. 多重INDEX−Sの構造の一例を示す図解図である。It is an illustration figure which shows an example of the structure of multiple | multiplex INDEX-S. (A)は多重MPEG−PSの構造の一例を示す図解図であり、(B)は多重INDEX−Sの構造の一例を示す図解図である。(A) is an illustrative view showing an example of a structure of multiplexed MPEG-PS, and (B) is an illustrative view showing an example of a structure of multiplexed INDEX-S. 図1実施例に適用されるCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作のさらにその他の一部を示すフロー図である。FIG. 12 is a flowchart showing yet another portion of behavior of the CPU applied to the embodiment in FIG. 1. 図1実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 1 Example.

符号の説明Explanation of symbols

10 … ハードディスクビデオレコーダ
14 …記録処理回路
16a〜16d …MPEGエンコーダ
20,36 …コントローラ
22,34 …ストリームバッファ
24 …メインCPU
30 …ハードディスク
40a〜40d …MPEGデコーダ
DESCRIPTION OF SYMBOLS 10 ... Hard disk video recorder 14 ... Recording processing circuit 16a-16d ... MPEG encoder 20, 36 ... Controller 22, 34 ... Stream buffer 24 ... Main CPU
30: Hard disk 40a-40d ... MPEG decoder

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多重手段の処理と並行してチャネル毎に積算する積算手段、および前記積算手段によって求められた複数の積算値のうち前記チャネル検出手段によって検出されたチャネルに対応する積算値を初期化する初期化手段を含む、請求項1記載のデータ処理装置。   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, and the channel among a plurality of integrated values obtained by the integrating means 2. The data processing apparatus according to claim 1, further comprising initialization means for initializing an integrated value corresponding to the channel detected by the detection means. 前記データブロックは各々が可変サイズを有する複数のデータ要素によって形成され、
前記管理ブロックは前記複数のデータ要素にそれぞれ対応しかつ各々が既定サイズを有する複数の管理要素によって形成される、請求項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記載のデータ処理装置。   4. The data processing apparatus according to claim 3, wherein the accumulating unit accumulates a numerical value corresponding to the predetermined size every time a new management element forming a management block noticed by the second multiplexing unit is obtained. 前記割り当て手段は、前記チャネル検出手段によって検出されたチャネルについて前記積算手段によって求められた積算値を前記距離情報として前記新規のブロック要素に割り当てる第1数値割り当て手段を含む、請求項4記載のデータ処理装置。   5. The data according to claim 4, wherein the allocating unit includes a first numerical value allocating unit that allocates the integrated value obtained by the integrating unit for the channel detected by the channel detecting unit to the new block element as the distance information. Processing equipment. 前記算出手段は前記チャネル検出手段によって検出されたチャネルに対応する積算値から前記既定サイズに相当する数値を繰り返し減算する減算手段をさらに含み、
前記割り当て手段は前記減算手段によって求められた複数の減算値を前記ブロック検出手段によって検出された管理ブロックを形成する複数の管理要素に前記距離情報としてそれぞれ割り当てる第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.
前記第1多重手段によって作成された多重データブロックを記録媒体に記録する第1記録手段、および
前記第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.
前記出力手段は符号化方式としてMPEG方式を採用する、請求項1ないし10のいずれかに記載のデータ処理装置。   11. The data processing apparatus according to claim 1, wherein the output means employs an MPEG system as an encoding system. 前記複数チャネルのデータは互いに異なるビットレートを有する、請求項1ないし11のいずれかに記載のデータ処理装置。   The data processing apparatus according to claim 1, wherein the data of the plurality of channels have different bit rates. 複数チャネルにそれぞれ属する複数のデータブロックを互いに並行して繰り返し出力する出力手段、
前記出力手段によって出力された複数のデータブロックに時分割多重処理を施して多重データブロックを生成する第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.
JP2006200197A 2006-07-24 2006-07-24 Data processing device Expired - Fee Related JP4660435B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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