JP2008193598A - Video recording and reproducing apparatus - Google Patents

Video recording and reproducing apparatus Download PDF

Info

Publication number
JP2008193598A
JP2008193598A JP2007028339A JP2007028339A JP2008193598A JP 2008193598 A JP2008193598 A JP 2008193598A JP 2007028339 A JP2007028339 A JP 2007028339A JP 2007028339 A JP2007028339 A JP 2007028339A JP 2008193598 A JP2008193598 A JP 2008193598A
Authority
JP
Japan
Prior art keywords
block
video
recording
data
video data
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
JP2007028339A
Other languages
Japanese (ja)
Other versions
JP4790643B2 (en
Inventor
Takeshi Abe
毅 安部
Takahiro Hiramatsu
隆宏 平松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007028339A priority Critical patent/JP4790643B2/en
Publication of JP2008193598A publication Critical patent/JP2008193598A/en
Application granted granted Critical
Publication of JP4790643B2 publication Critical patent/JP4790643B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce amount of use of a memory of a management table related to frame data having been held and managed on a physical memory heretofore, and to efficiently perform recording and reproducing without reducing performance of a recording medium. <P>SOLUTION: The recording medium includes a block data area partitioned for the unit of a block in a fixed size sufficiently larger than unit data of video data to be recorded, a video management table and a block management table. A recording/reading control section collects unit data of video data to be recorded in the unit of a block and adds, in that case, a recording time for each item of unit data of video data contained in a block and position information on the block as header information of the block, sequentially records the generated block in the block data area, and updates the video management table and the block management table in accordance with the recording processing. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、監視カメラで取得した映像をデジタル化してハードディスクなどの記録媒体へ記録し、記録した映像を要求に応じて再生する映像記録再生装置に関するものである。   The present invention relates to a video recording / reproducing apparatus that digitizes video acquired by a surveillance camera, records the video on a recording medium such as a hard disk, and plays back the recorded video as required.

最近の監視システムでは、監視対象を撮影する場所にカメラを設置し、その映像をリアルタイムに表示装置で監視すると共に、監視映像を映像記録再生装置に蓄積し、必要に応じて記録した映像を再生できるようにしている。このような映像記録再生装置では、記録した映像の中から必要な映像を再生する場合、監視対象を識別するカメラ番号や撮影時刻などを指定して映像を呼び出すようにしている。そのため、記録時には映像データと各種情報を随時結びつける処理を行っている。また、映像記録再生装置の記録媒体としては、ランダムアクセス可能なハードディスクなどが用いられるが、近年は記録容量が数百GBを超えるハードディスクも登場し記録可能な映像の時間長が延びると共に、データの入出力性能も向上している。
ハードディスクへアクセスする際の連続書込みサイズが大きくなるほど転送速度の向上が期待できるため、従来の映像記録再生装置の中には、記録領域をブロックと呼ばれるある固定の大きさで区画しておき、そのブロック単位で映像データを出し入れすることで、データの入出力性能の向上を図っているものがある(例えば特許文献1参照)。また、この特許文献1に記載の技術では、映像データの記録媒体上での位置情報を管理した管理テーブルなどは、記録媒体上に書き込まれると同時に、再生や検索を素早く行うために高速アクセス可能な物理メモリに保持されており、映像データを記録しながら媒体上の管理テーブルも適宜更新され、装置の電源が切断された場合でも、次回起動時には記録した内容が保持されているような機構を実現している。
In recent monitoring systems, a camera is installed at the location where the object to be monitored is photographed, and the video is monitored in real time by the display device. I can do it. In such a video recording / playback apparatus, when a necessary video is played back from the recorded video, the video is called by designating a camera number for identifying a monitoring target, a shooting time, or the like. For this reason, during recording, processing for associating video data with various information is performed as needed. As a recording medium of the video recording / reproducing apparatus, a randomly accessible hard disk or the like is used. Recently, a hard disk having a recording capacity exceeding several hundred GB has appeared, and the time length of video that can be recorded has been extended, Input / output performance is also improved.
Since the transfer speed can be expected to increase as the continuous write size increases when accessing the hard disk, the conventional video recording / playback device divides the recording area into a fixed size called a block. There are some which improve the data input / output performance by putting in and out video data in units of blocks (see, for example, Patent Document 1). In the technique described in Patent Document 1, a management table for managing position information of video data on a recording medium is written on the recording medium, and at the same time, can be accessed at high speed for quick playback and search. The management table on the medium is appropriately updated while recording video data, and the recorded contents are retained at the next startup even when the power of the device is turned off. Realized.

図8は、特許文献1に記載されているような映像記録再生装置の概略機能構成を示すブロック図である。
図において、映像記録再生装置1は、監視カメラ2で撮影した映像を蓄積し、記録した監視映像を再生して表示装置3に表示する。映像記録再生装置1は、図示していないが操作者が記録映像の再生を要求する入力機構も備えている。映像受信部11では、監視カメラ2からの監視映像を受信して映像変換部12に与える。映像変換部12では、受信した映像を記録に適した形式に変換する。記録・読出し制御部13では、映像変換部12で変換された映像データをハードディスクなどの記録媒体14に所定の方法に従って記録していく。また、記録・読出し制御部13は、再生要求に応じて記録媒体14に記録されている映像データを読み出し、映像変換部15に与える。映像変換部15では、記録・読出し制御部13が読み出した映像データを表示に適した形式に変換して映像送信部16へ与える。映像送信部16では、映像変換部15から出力された映像情報を表示のため表示装置3へ送出する。
FIG. 8 is a block diagram showing a schematic functional configuration of a video recording / reproducing apparatus as described in Patent Document 1. In FIG.
In the figure, a video recording / reproducing apparatus 1 accumulates videos taken by the surveillance camera 2, reproduces the recorded surveillance video, and displays it on the display device 3. Although not shown, the video recording / playback apparatus 1 also includes an input mechanism for an operator to request playback of a recorded video. The video reception unit 11 receives the monitoring video from the monitoring camera 2 and gives it to the video conversion unit 12. The video conversion unit 12 converts the received video into a format suitable for recording. The recording / reading control unit 13 records the video data converted by the video conversion unit 12 on a recording medium 14 such as a hard disk according to a predetermined method. Further, the recording / reading control unit 13 reads the video data recorded on the recording medium 14 in response to the reproduction request, and provides the video conversion unit 15 with the video data. The video conversion unit 15 converts the video data read by the recording / reading control unit 13 into a format suitable for display and provides the video transmission unit 16 with the video data. The video transmission unit 16 sends the video information output from the video conversion unit 15 to the display device 3 for display.

図9は従来の記録媒体上に形成されるデータ構造を示す。
記録媒体14は、映像管理テーブル20、ブロック管理テーブル30、ブロックデータ領域40、フレーム管理テーブル50からなる記録領域を持つ。映像管理テーブル20は、記録される映像データの一つ一つを管理するためのデータテーブルである。ブロックデータ領域40は、映像データの単位よりも十分に大きなサイズのブロックと呼ばれる単位で区画された記録領域である。実際の映像データはブロック単位に分割されて順次対応するブロックに記録される。ブロック管理テーブル30は、ブロックデータ領域40上のブロックにアクセスするための位置情報などを格納するデータテーブルである。フレーム管理テーブル50は、映像データの単位であるフレームを撮影時刻や区画されたブロック上での記録位置情報を格納するデータテーブルである。ここで、映像管理テーブル20、ブロック管理テーブル30、フレーム管理テーブル50は、映像記録再生装置1が起動した後は、映像再生などの要求に素早く応えるために記録・読出し制御部13の物理メモリ(図示せず)に保持され、各管理テーブルで変更が発生した都度、記録媒体40上の同管理テーブルへは変更内容が書き込まれる。
FIG. 9 shows a data structure formed on a conventional recording medium.
The recording medium 14 has a recording area including a video management table 20, a block management table 30, a block data area 40, and a frame management table 50. The video management table 20 is a data table for managing each video data to be recorded. The block data area 40 is a recording area partitioned in units called blocks having a size sufficiently larger than the unit of video data. Actual video data is divided into blocks and sequentially recorded in corresponding blocks. The block management table 30 is a data table that stores location information and the like for accessing blocks on the block data area 40. The frame management table 50 is a data table that stores the photographing time of frames, which are units of video data, and recording position information on partitioned blocks. Here, the video management table 20, the block management table 30, and the frame management table 50 are stored in the physical memory of the recording / reading control unit 13 in order to quickly respond to a request for video playback after the video recording / playback apparatus 1 is activated. Each time a change occurs in each management table, the contents of the change are written in the same management table on the recording medium 40.

図10に、図9に示したデータ構造の各部の具体例とデータ関係を示す。
映像管理テーブル20は、新しい映像データの記録が開始されると新規エントリが確保され、記録の進捗に合わせて、先頭フレーム番号、終端フレーム番号、先頭時刻、終端時刻などが更新される。ブロック管理テーブル30は、ブロックデータ領域40における記録媒体14上の位置情報を保持し、ブロックの使用・未使用を管理する。フレーム管理テーブル50は、映像データのアクセス単位であるフレームデータの記録時刻、ブロックデータ領域40上でのブロック番号、ブロック内での開始位置(開始アドレス)、フレームデータのサイズを管理するとともに、フレームデータ間のリンク情報を次フレーム番号と前フレーム番号によって管理する。次フレーム番号は該当フレームデータの次のフレームデータのインデックスが入り、前フレーム番号には一つ前のフレームデータへのインデックス番号が入る。
FIG. 10 shows a specific example of each part of the data structure shown in FIG. 9 and the data relationship.
In the video management table 20, when recording of new video data is started, a new entry is secured, and the start frame number, end frame number, start time, end time, and the like are updated as the recording progresses. The block management table 30 holds position information on the recording medium 14 in the block data area 40, and manages use / unuse of blocks. The frame management table 50 manages the recording time of frame data, which is an access unit of video data, the block number on the block data area 40, the start position (start address) within the block, the size of the frame data, and the frame data Link information between data is managed by the next frame number and the previous frame number. The next frame number contains the index of the next frame data of the corresponding frame data, and the previous frame number contains the index number for the previous frame data.

図10の例では、映像管理テーブル20の映像番号1のレコードには、先頭フレーム番号1から終端フレーム番号jの間に、記録時刻1から記録時刻jまでの時刻範囲で映像データが記録されていることを示している。また、これとリンクしてフレーム管理テーブル50には、フレーム番号1からフレーム番号jまでのレコードに、映像データのアクセス単位であるフレーム一つ一つの情報が記録されていることを示している。例えば、フレーム番号1のフレームデータについては、記録時刻1で、ブロック番号1のブロックのアドレス0から100バイトのサイズで記録されていることを示している。実際のデータは、ブロックデータ領域40のブロック1の先頭から100バイト分の領域に格納されている。以下同様に、フレーム番号2からjまでの映像データが、ブロックデータ領域40のブロック1からブロック2にそれぞれ領域を確保して記録されている。なお、ブロックはあらかじめ固定サイズで確保されるが、実際には符号化によって圧縮されたフレームデータは映像の複雑度などにより大きさが変動するため、フレームデータを記録していく過程でブロックをまたがるようなフレームデータも記録できるような機構を備える。   In the example of FIG. 10, video data is recorded in the video number 1 record in the video management table 20 between the first frame number 1 and the last frame number j in the time range from the recording time 1 to the recording time j. It shows that. In addition, linked to this, the frame management table 50 indicates that information for each frame, which is an access unit of video data, is recorded in the records from frame number 1 to frame number j. For example, the frame data of frame number 1 is recorded at the recording time 1 with a size of 100 bytes from the address 0 of the block of block number 1. Actual data is stored in an area of 100 bytes from the top of the block 1 in the block data area 40. Similarly, video data of frame numbers 2 to j are recorded in blocks 1 to 2 in the block data area 40 while securing the respective areas. The block is secured in advance in a fixed size, but in practice, the frame data compressed by encoding varies in size depending on the complexity of the video, etc., so that the block is straddled in the process of recording the frame data. A mechanism capable of recording such frame data is also provided.

また、図10に示した例で、記録されている映像番号1の映像データについて、任意の時刻Tから再生するには、時刻Tが映像番号1の記録時刻の範囲(先頭時刻〜終端時刻)に入っていることを確認する。次に、フレーム管理テーブル50に登録されているフレーム情報を順に辿って、時刻T以上となる記録時刻を持つフレームを検索する。該当フレームがあれば、実際に記録されている位置情報であるブロック番号、開始アドレス、サイズの各情報を使用して、ブロックデータ領域40からフレームデータを読み出し送出する。以降は、次フレーム番号を参照して次フレームデータを、記録時刻を再現するようにタイミングよく順次送出していくことで、再生処理を実現する。   Further, in the example shown in FIG. 10, in order to reproduce the recorded video data of video number 1 from an arbitrary time T, time T is a range of the recording time of video number 1 (start time to end time). Make sure it is in. Next, the frame information registered in the frame management table 50 is sequentially traced to search for a frame having a recording time that is equal to or greater than time T. If there is a corresponding frame, the frame data is read out from the block data area 40 and transmitted using the block number, start address, and size information that are actually recorded position information. Thereafter, referring to the next frame number, the next frame data is sequentially transmitted in a timely manner so as to reproduce the recording time, thereby realizing the reproduction process.

上記図8〜図10で説明した従来の映像記録再生装置の例では、記録・読出し制御部130は、再生や検索を迅速に行うために、管理テーブル20,30,50を高速アクセス可能な物理メモリで保持している。これら管理テーブルの中で、フレーム管理テーブル50の大きさは、記録する映像データの単位サイズや記録媒体の大きさにも依存するが、JPEGなど圧縮フォーマットを使用した場合のフレームデータは、数KBから数十KBである。一方、記録媒体をハードディスクと想定した場合、ハードディスク単体使用では数百GBであるが、複数のハードディスクを使用してRAID(Redundant Arrays of Inexpensive Disks )を構成するような場合は、数TBの記録容量を実現できる。このような条件下で記録できるフレーム数は数百億枚のオーダとなり、フレーム管理テーブル50のサイズは数GBオーダとなり、より多くのメモリが必要になるため、コスト的にも装置のメモリ量の削減が必要となる。これに対して、映像管理テーブル、ブロック管理テーブル、フレーム管理テーブルのような管理情報を仮想記憶(ハードディスク等)で管理することで、少ない容量の物理メモリでも管理情報を扱える仕組みが提案されている(例えば特許文献2参照)。   In the example of the conventional video recording / reproducing apparatus described with reference to FIGS. 8 to 10, the recording / reading control unit 130 is a physical that can access the management tables 20, 30, and 50 at high speed in order to perform reproduction and retrieval quickly. It is held in memory. Among these management tables, the size of the frame management table 50 depends on the unit size of the video data to be recorded and the size of the recording medium, but the frame data when using a compression format such as JPEG is several KB. To several tens of kilobytes. On the other hand, when the recording medium is assumed to be a hard disk, the hard disk alone uses several hundred GB. However, when a plurality of hard disks are used to construct a RAID (Redundant Array of Inexpensive Disks), a recording capacity of several TB is required. Can be realized. Under such conditions, the number of frames that can be recorded is on the order of tens of billions, the size of the frame management table 50 is on the order of several GB, and more memory is required. Reduction is necessary. On the other hand, a mechanism has been proposed in which management information such as a video management table, a block management table, and a frame management table is managed by virtual storage (such as a hard disk) so that the management information can be handled even with a small amount of physical memory. (For example, refer to Patent Document 2).

特開2000−20365号公報(図7)JP 2000-20365 A (FIG. 7) 特開2004−192402号公報JP 2004-192402 A

特許文献2の技術では、映像管理テーブル、ブロック管理テーブル、フレーム管理テーブルのような管理情報を、仮想記憶で管理するようにしているが、アクセス対象の管理情報が物理メモリにない状態が発生するような場合は、その都度ハードディスクからの読み込みが発生し、その後、実際のデータ領域へアクセスすることになるため応答が悪くなるという問題がある。   In the technique of Patent Document 2, management information such as a video management table, a block management table, and a frame management table is managed in a virtual memory, but there is a state where there is no management information to be accessed in a physical memory. In such a case, there is a problem that reading from the hard disk occurs each time and then the actual data area is accessed, resulting in poor response.

この発明は、上記問題点を解決するためになされたもので、物理メモリ上で保持・管理していたフレームデータに関する管理テーブル分のメモリ使用量を削減するとともに、記録媒体の性能を落とさずに、効率良く記録・再生を行うことができる映像記録再生装置を得ることを目的とする。   The present invention has been made to solve the above-mentioned problems, and reduces the memory usage for the management table related to the frame data held and managed in the physical memory, and without reducing the performance of the recording medium. Another object of the present invention is to obtain a video recording / reproducing apparatus capable of efficiently recording / reproducing.

この発明に係る映像記録再生装置は、監視カメラからの映像を記録に適した形式の映像データに変換する第1の映像変換部と、映像データを記録する記録媒体と、映像変換部で変換された映像データを記録媒体に記録し、要求に応じて当該記録媒体から記録された映像データを読み出す処理を行う記録・読出し制御部と、記録・読出し制御部から読み出された映像データを表示に適した形式の信号に変換する第2の映像変換部とを備え、記録媒体は、記録する映像データの単位データよりも十分に大きな固定サイズのブロック単位で区画されたブロックデータ領域と、ブロックデータ領域に記録された映像データがあてはめられたブロックの先頭ブロック番号、終端ブロック番号、記録時刻の範囲を含む映像管理テーブルと、ブロックデータ領域上のブロックの位置情報、リンクする前後ブロック番号、映像データの単位データの数、記録時刻の範囲を含むブロック管理テーブルを有し、記録・読出し制御部は、記録する映像データの単位データをブロック単位にまとめ、その際、ブロックに含まれる映像データの単位データ毎の記録時刻およびブロック上の位置情報をブロックのヘッダ情報として付加し、生成したブロックを前記ブロックデータ領域に順次記録し、またこの記録処理に伴って映像管理テーブルおよびブロック管理テーブルを更新するものである。   A video recording / playback apparatus according to the present invention is converted by a first video conversion unit that converts video from a surveillance camera into video data in a format suitable for recording, a recording medium that records video data, and a video conversion unit. The video data read from the recording / reading control unit and the recording / reading control unit for recording the video data recorded on the recording medium and reading the video data recorded from the recording medium in response to the request. A second video conversion unit that converts the signal into a signal of a suitable format, and the recording medium includes a block data area partitioned by a block unit having a fixed size sufficiently larger than the unit data of the video data to be recorded, and block data A video management table including the start block number, end block number, and recording time range of the block to which the video data recorded in the area is applied, and block data It has a block management table that includes block location information, block number before and after linking, number of video data unit data, and recording time range, and the recording / reading control unit stores unit data of video data to be recorded. The data is grouped into block units. At that time, the recording time for each unit data of the video data included in the block and the position information on the block are added as the header information of the block, and the generated block is sequentially recorded in the block data area. Along with this recording process, the video management table and the block management table are updated.

この発明によれば、映像データの単位データ(フレームデータ)をまとめたブロック単位毎に記録媒体上で連続的に記録し、映像データの単位データに関する管理情報をブロックのヘッダ情報にして映像データとともに記録するようにしたので、データ入出力処理の性能向上を図ることができる。また、記録時および再生時には、映像情報を管理する映像管理テーブルとブロックの位置情報を管理するブロック管理テーブルのみを物理メモリに読み出して管理するため、アクセス性能の向上を図ることができるとともに、従来映像データの単位データの管理テーブルに割り当てられたメモリ使用量を削減できる。また、再生時においては、該当映像データを含むブロックを特定した後、そのヘッダの該当映像データの管理情報を参照すると同時に該当データを含むブロックを一度に読み出せるようにできるので、効率よい再生が期待できる。   According to the present invention, video data unit data (frame data) is continuously recorded on a recording medium for each block unit, and management information related to the video data unit data is used as block header information together with the video data. Since recording is performed, the performance of data input / output processing can be improved. In addition, during recording and playback, only the video management table for managing video information and the block management table for managing block position information are read and managed in the physical memory, so that access performance can be improved and The memory usage allocated to the management table of the unit data of the video data can be reduced. Also, at the time of playback, after identifying the block containing the corresponding video data, it is possible to read the block containing the corresponding data at the same time while referring to the management information of the corresponding video data in the header, so that efficient playback is possible. I can expect.

実施の形態1.
図1は、この発明の実施の形態1による映像記録再生装置の機能構成を示すブロック図である。この構成は前述の図8に示された従来の構成と外観上類似するが、この実施の形態1の場合、記録・読出し制御部130の処理と記録媒体140のデータ構造に以下に説明する特徴を持たせている。その他の部分は従来と同様である。
図2に、この実施の形態1に係る記録媒体上に形成されるデータ構造を示す。記録媒体140は、映像管理テーブル200、ブロック管理テーブル300、ブロックデータ領域400からなる記録領域を持つ。映像管理テーブル200は、記録される映像データの一つ一つを管理するためのデータテーブルである。ブロックデータ領域400は、映像データの単位よりも十分に大きな固定サイズのブロックと呼ばれる単位で区画された記録領域である。実際の映像データはこのブロック単位に分割されて順次対応するブロックに記録される。ブロック管理テーブル300は、ブロックデータ領域400上のブロックにアクセスするためのブロックの位置情報などを格納するデータテーブルである。ここで、映像管理テーブル200およびブロック管理テーブル300は、映像記録再生装置1が起動した後は、映像再生などの要求に素早く応えるために記録・読出し制御部130の物理メモリ(図示せず)に読み込まれ保持され、記録・再生処理により変更が発生する都度、記録媒体140上の同管理テーブルへは変更内容が書き込まれ、装置の電源が切断された場合でも次回起動時には記録した内容が保持されている機能を有している。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a functional configuration of a video recording / reproducing apparatus according to Embodiment 1 of the present invention. This configuration is similar in appearance to the conventional configuration shown in FIG. 8 described above, but in the case of the first embodiment, the processing described below in the processing of the recording / reading control unit 130 and the data structure of the recording medium 140 are described below. Is given. Other parts are the same as in the prior art.
FIG. 2 shows a data structure formed on the recording medium according to the first embodiment. The recording medium 140 has a recording area including a video management table 200, a block management table 300, and a block data area 400. The video management table 200 is a data table for managing each video data to be recorded. The block data area 400 is a recording area partitioned in units called fixed-size blocks that are sufficiently larger than video data units. Actual video data is divided into block units and sequentially recorded in corresponding blocks. The block management table 300 is a data table that stores block position information for accessing blocks on the block data area 400. Here, the video management table 200 and the block management table 300 are stored in a physical memory (not shown) of the recording / reading control unit 130 in order to quickly respond to a request for video playback after the video recording / playback apparatus 1 is activated. Each time a change occurs due to recording / playback processing, the changed content is written to the same management table on the recording medium 140, and the recorded content is retained at the next startup even when the power of the apparatus is turned off. Has the function.

図3に、図2に示したデータ構造の各部の具体例とデータ関係を示す。
映像管理テーブル200は、新しい映像データの記録が開始されると新規エントリが確保され、記録の進捗に合わせて、先頭ブロック番号、終端ブロック番号、先頭時刻、終端時刻などが更新される。ブロック管理テーブル300は、ブロックデータ領域400における記録媒体140上のブロックの位置情報である開始アドレスを格納し、ブロックデータのリンク情報である次ブロック番号と前ブロック番号を管理する。また、ブロック内に記録される映像データのフレーム数、先頭フレームの記録時刻および終端フレームの時刻を管理する。さらに、ブロックの使用・未使用を管理し、空きブロック情報として利用できるようにしている。ブロックデータ領域400は、フレームデータよりも十分に大きなサイズを持つ単位ブロックで固定的に分割されているが、各ブロックの先頭にはブロックヘッダを設けており、401および402に示すように、ブロック内に記録されているフレームに関する情報をヘッダ情報として管理している。ブロックヘッダは、具体的には、ブロック内に記録されているフレームのインデックス番号、記録時刻、ブロック内での開始位置を示す開始アドレス、フレームデータのサイズ、および該当ブロック内に収まらずに次のブロックにまたがることを示す続き情報を管理している。
FIG. 3 shows a specific example of each part of the data structure shown in FIG. 2 and the data relationship.
In the video management table 200, when recording of new video data is started, a new entry is secured, and the start block number, end block number, start time, end time, etc. are updated as the recording progresses. The block management table 300 stores the start address that is the position information of the block on the recording medium 140 in the block data area 400, and manages the next block number and the previous block number that are the link information of the block data. Also, the number of video data frames recorded in the block, the recording time of the first frame, and the time of the end frame are managed. Furthermore, the use / unuse of blocks is managed so that it can be used as empty block information. The block data area 400 is fixedly divided into unit blocks having a size sufficiently larger than the frame data, but a block header is provided at the head of each block, and as shown in 401 and 402, Information about the frames recorded in is managed as header information. Specifically, the block header includes the index number of the frame recorded in the block, the recording time, the start address indicating the start position in the block, the size of the frame data, and the next address that does not fit in the block. It manages continuation information indicating that it extends across blocks.

図3に示した例において、映像管理テーブル200、ブロック管理テーブル300およびブロックデータ領域400の関連について詳述する。
映像管理テーブル200の映像番号1のレコードには、先頭ブロック番号1から終端ブロック番号2のブロックに、記録時刻B11から記録時刻B2jまでの時刻範囲で映像データが記録されていることを示している。これとリンクしてブロック管理テーブル300では、ブロック番号1とブロック番号2が使用状態となっていることを示している。ブロック番号1のブロックは、次ブロック番号2が順方向にリンクされており、前ブロック番号にはリンクがないため、先頭ブロックであることが判別できる。また、フレームデータがi枚記録されており、記録されているフレームデータの時間範囲は記録時刻B11から記録時刻B1iとなっている。一方、ブロック番号2のブロックは、前ブロック番号が1で逆方向リンクされており、次ブロック番号としてはリンクがないため終端ブロックであることが判別できる。また、フレームデータがj枚記録されており、記録されているフレームデータの時間範囲は記録時刻B21から記録時刻B2jとなっている。
In the example shown in FIG. 3, the relationship between the video management table 200, the block management table 300, and the block data area 400 will be described in detail.
The record of the video number 1 in the video management table 200 indicates that video data is recorded in the block from the start block number 1 to the end block number 2 in the time range from the recording time B11 to the recording time B2j. . Linked to this, the block management table 300 indicates that block number 1 and block number 2 are in use. The block with the block number 1 can be identified as the first block because the next block number 2 is linked in the forward direction and there is no link with the previous block number. Further, i frame data are recorded, and the time range of the recorded frame data is from the recording time B11 to the recording time B1i. On the other hand, the block of block number 2 is reverse-linked with the previous block number of 1, and since there is no link as the next block number, it can be determined that it is a terminal block. Further, j pieces of frame data are recorded, and the time range of the recorded frame data is from recording time B21 to recording time B2j.

ブロックデータ領域400に記録されているブロック1のヘッダ401には、上記ブロック管理テーブル300のブロック番号1の情報とリンクして、ブロック1内に記録されているフレームデータそれぞれに関する情報が記録されている。本例ではブロックサイズを500バイトとしているが、フレーム番号iのフレームデータは、ブロック内での記録開始アドレスが410、サイズが150バイトであるため、該当ブロックに収まらずに次ブロックへまたがっており、続き情報は「あり」となっている。ブロック2のヘッダ402も同様にブロック管理テーブル300のブロック番号2の情報とリンクしており、ブロック2内に記録されているフレームデータそれぞれに関する情報が記録されている。   In the header 401 of the block 1 recorded in the block data area 400, information on each frame data recorded in the block 1 is recorded by linking with the information of the block number 1 in the block management table 300. Yes. In this example, the block size is 500 bytes, but the frame data of frame number i has a recording start address in the block of 410 and a size of 150 bytes, so it does not fit in the corresponding block and extends to the next block. The following information is “Yes”. Similarly, the header 402 of the block 2 is linked to the information of the block number 2 of the block management table 300, and information regarding each frame data recorded in the block 2 is recorded.

次に、図4のフローチャートに従って記録動作を説明する。
映像受信部11では、監視カメラ2からの映像を受信すると映像変換部12に渡す。映像変換部12では、渡された映像を記録に適した形式に変換する。ここでは、例えば監視カメラ2からの映像がアナログ映像であった場合にはA/D変換した後、例えばJPEGなどの符号化処理を行って、撮影日時等の情報を付加して映像データにする。記録・読出し制御部130では、映像変換部12で得られた映像データを受信すると(ステップST1)、映像データに付加された情報から映像データなどの撮影日時(記録時刻)を識別する(ステップST2)。映像データは、ブロックデータ領域400のブロックへ記録するために準備されたブロックサイズ(例、500バイト)と同じ蓄積サイズを持つカレントバッファ(図示せず)に蓄積される。また、同じくカレントバッファ内のブロックヘッダに相当する領域のフレーム番号、記録時刻、開始アドレス、フレームデータのサイズを更新する(ステップST3)。カレントバッファへ蓄積した映像データの累積がブロックサイズ以上となっているかを調べ(ステップST4)、ブロックサイズよりも小さい場合には映像データの受信処理を継続する。
Next, the recording operation will be described with reference to the flowchart of FIG.
When the video reception unit 11 receives the video from the monitoring camera 2, it passes it to the video conversion unit 12. The video conversion unit 12 converts the transferred video into a format suitable for recording. Here, for example, if the video from the monitoring camera 2 is an analog video, after A / D conversion, for example, encoding processing such as JPEG is performed, and information such as the shooting date is added to form video data. . When receiving the video data obtained by the video conversion unit 12 (step ST1), the recording / reading control unit 130 identifies the shooting date and time (recording time) of the video data or the like from the information added to the video data (step ST2). ). The video data is stored in a current buffer (not shown) having the same storage size as the block size (for example, 500 bytes) prepared for recording in the block of the block data area 400. Similarly, the frame number, recording time, start address, and frame data size of the area corresponding to the block header in the current buffer are updated (step ST3). Whether the accumulation of the video data accumulated in the current buffer is equal to or larger than the block size is checked (step ST4), and if it is smaller than the block size, the video data reception process is continued.

一方、ステップST4において、カレントバッファへ蓄積した映像データの累積がブロックサイズ以上であった場合は、カレントバッファに収まらなかった余剰フレームデータを確認し(ステップST5)、余剰フレームデータを、あらかじめ準備しておいた次バッファへ蓄積する(ステップST6)。一方、ステップST5において余剰フレームデータがなければ、ブロック管理テーブル300から空きブロックを検索して、カレントバッファに記録されているヘッダ情報とフレームデータをブロックデータ領域400の該当空きブロックへ記録する(ステップST7)。ステップST7で記録した該当ブロックのブロック管理テーブルについて、前ブロック番号、フレーム数、先頭時刻、終端時刻および使用情報に関して更新するとともに、ブロック管理テーブルにおける前ブロックの情報についても次ブロック番号を更新する(ステップST8)。次バッファをカレントバッファとして処理ステップST1へ戻る。   On the other hand, if the accumulation of the video data accumulated in the current buffer is greater than or equal to the block size in step ST4, the surplus frame data that did not fit in the current buffer is confirmed (step ST5), and the surplus frame data is prepared in advance. The stored data is stored in the next buffer (step ST6). On the other hand, if there is no surplus frame data in step ST5, an empty block is searched from the block management table 300, and the header information and frame data recorded in the current buffer are recorded in the corresponding empty block in the block data area 400 (step ST5). ST7). The block management table of the corresponding block recorded in step ST7 is updated with respect to the previous block number, the number of frames, the start time, the end time, and the usage information, and the next block number is also updated with respect to the information of the previous block in the block management table ( Step ST8). The process returns to the processing step ST1 with the next buffer as the current buffer.

上記動作において、映像データを受信している状態では、記録・読出し制御部130は、記録媒体140上のブロックデータ領域400に対して、ブロック1、ブロック2、ブロック3、…のように順番に映像データを記録していくとともに、ブロック管理テーブル300のブロック情報を更新して、ブロック単位で記録を行うため、記録媒体140へのデータ記録性能の向上が図れる。
ここで、ブロックデータは数百KB〜数MBのオーダである。記録媒体140をハードディスクと想定した場合、ハードディスク単体使用では数百GBであるが、複数のハードディスクを使用してRAIDを構成するような場合は、数TBの記録容量を実現できる。このような条件下で記録できるブロック数は数千万〜数億個のオーダとなり、ブロック管理テーブルのサイズは数MB〜数十MBのオーダであるため、従来例と比較してメモリ使用量削減の効果がある。
また、昨今の映像記録再生装置が搭載する物理メモリ量は数十MB程度であるが、管理情報を仮想記憶で管理する必要がないので、ページフォルト等に起因する物理メモリとハードディスク間のデータ入れ替え処理による遅延は発生することがない。
In the above operation, in a state where video data is being received, the recording / reading control unit 130 sequentially performs the block data area 400 on the recording medium 140 in the order of block 1, block 2, block 3,. Since the video data is recorded and the block information in the block management table 300 is updated and recorded in units of blocks, the data recording performance on the recording medium 140 can be improved.
Here, the block data is on the order of several hundred KB to several MB. Assuming that the recording medium 140 is a hard disk, it is several hundred GB when a single hard disk is used, but when a RAID is configured using a plurality of hard disks, a recording capacity of several TB can be realized. The number of blocks that can be recorded under these conditions is on the order of tens of millions to hundreds of millions, and the size of the block management table is on the order of several megabytes to several tens of megabytes. There is an effect.
In addition, the amount of physical memory installed in recent video recording / playback apparatuses is about several tens of MB, but there is no need to manage management information in virtual memory, so data exchange between the physical memory and the hard disk due to page faults, etc. There is no delay due to processing.

次に、図5のフローチャートに従って再生動作を説明する。
まず、操作者により再生したい映像番号Iと指定時刻Tが入力された場合(ステップST10)、記録・読出し制御部130では、映像管理テーブル200から映像番号Iに該当し、指定時刻Tが記録時刻の範囲(先頭時刻〜終端時刻)にあるブロック番号を抽出し、ブロック管理テーブル300に登録されているブロック情報を順に辿って、時刻Tを含む記録時刻の範囲(先頭時刻〜終端時刻)を持つブロックを検索する(ステップST11)。検索により該当ブロックがない場合(ステップST12)、再生処理を終了する。一方、ステップST12において該当ブロックが存在した場合は、該当ブロック情報の開始アドレス、サイズの各情報を使用して、ブロックデータ領域400から該当ブロックのデータをバッファ(図示せず)へ読み出す(ステップST13)。読み出したブロックのブロックヘッダに記録されているフレーム情報の記録時刻から、時刻T以降のフレーム情報を検索し、検索された該当フレームをブロック内から読み出して映像変換部15へ出力する(ステップST14)。映像変換部15では、記録・読出し制御部130が読み出した映像データを表示に適した形式に変換し、映像送信部16を介して表示装置3へ送出する(ステップST15)。
Next, the reproduction operation will be described with reference to the flowchart of FIG.
First, when the operator inputs a video number I to be reproduced and a designated time T (step ST10), the recording / reading control unit 130 corresponds to the video number I from the video management table 200, and the designated time T is the recording time. Block numbers in the range (start time to end time) are extracted, and block information registered in the block management table 300 is sequentially traced to have a recording time range including time T (start time to end time). A block is searched (step ST11). If there is no corresponding block as a result of the search (step ST12), the reproduction process is terminated. On the other hand, if the corresponding block exists in step ST12, the data of the corresponding block is read from the block data area 400 to a buffer (not shown) using each information of the start address and size of the corresponding block information (step ST13). ). The frame information after the time T is searched from the recording time of the frame information recorded in the block header of the read block, and the searched frame is read from the block and output to the video conversion unit 15 (step ST14). . The video conversion unit 15 converts the video data read by the recording / reading control unit 130 into a format suitable for display, and sends it to the display device 3 via the video transmission unit 16 (step ST15).

記録・読出し制御部130は、続いて、送出した映像データの次フレーム情報をヘッダ情報から確認し(ステップST16)、該当ブロック内に次フレームデータがない場合(ステップST17)は、次ブロックデータをバッファへ読み込む(ステップST18)。一方、ステップST17において、次フレームデータがあった場合は、バッファのブロックデータから次フレームデータを取り出し、前回送出したフレームデータの記録時刻と次フレームデータの記録時刻の時間差を送出待ち時間Wとして保持する(ステップST19)。前回フレームデータを送出した時刻から待ち時間Wが経過していた場合(ステップST20)、次フレームデータで処理ステップST15の処理を実行する。また、ステップST20において、待ち時間Wが経過していない場合は経過するまで待つ。   Subsequently, the recording / reading control unit 130 confirms the next frame information of the transmitted video data from the header information (step ST16), and if there is no next frame data in the corresponding block (step ST17), the next block data is stored. Reading into the buffer (step ST18). On the other hand, if there is next frame data in step ST17, the next frame data is extracted from the block data of the buffer, and the time difference between the recording time of the previously sent frame data and the recording time of the next frame data is held as the transmission waiting time W. (Step ST19). When the waiting time W has elapsed from the time when the previous frame data was transmitted (step ST20), the processing at step ST15 is executed with the next frame data. In step ST20, if the waiting time W has not elapsed, the process waits until it elapses.

上記再生処理を実行している間、記録・読出し制御部130は記録媒体140上のブロックデータ領域400から、ブロック管理テーブル300のリンク情報に従って、ブロックデータを順番に読み出すとともに、ブロックデータ内のヘッダ情報に記録されているフレーム管理情報に従ってフレームデータを順番に記録時刻を再現するように取り出し、表示装置3へ再生映像を送出する。このとき、記録媒体140からのデータ読み出しは、ブロック単位の映像データにアクセスすることになるため、記録媒体からのデータ読み出し性能の向上が図れる。
また、フレームデータへアクセスするためにブロックデータのヘッダ情報を読み出す必要があるが、このとき一度の処理で、ヘッダ情報を読み出すと同時に該当フレームデータを含むブロックデータも読み出すことができるため、管理情報を仮想記憶によって管理するメモリ削減方法と比較して効率が良い。
During execution of the reproduction process, the recording / reading control unit 130 sequentially reads block data from the block data area 400 on the recording medium 140 according to the link information of the block management table 300, and also includes a header in the block data. According to the frame management information recorded in the information, the frame data is taken out in order so as to reproduce the recording time, and the reproduced video is sent to the display device 3. At this time, reading data from the recording medium 140 accesses video data in units of blocks, so that the performance of reading data from the recording medium can be improved.
In addition, it is necessary to read out the header information of the block data in order to access the frame data. At this time, the block information including the corresponding frame data can be read out at the same time as reading out the header information by one process. This is more efficient than a memory reduction method that manages virtual memory using virtual memory.

以上のように、この実施の形態1によれば、フレームデータ(映像データの単位データ)をブロック単位にまとめて記録するようにし、その際ブロックデータのヘッダ情報としてフレームデータに関する管理情報を付加しておき、ブロックデータをブロック情報テーブルにて管理するようにしている。したがって、記録時および再生時には、映像情報を管理する映像管理テーブルとブロックの位置情報を管理するブロック管理テーブルのみを物理メモリに読み出して管理するため、アクセス性能の向上を図ることができるとともに、従来フレーム管理テーブルに割り当てられたメモリ使用量を削減できる。また、再生時には、フレームデータにアクセスするためにブロックのヘッダ情報を読み出すと同時に該当フレームデータを含むブロックデータを読み出すようにしたので、効率よくフレームデータにアクセスができるため、再生時の性能向上も図ることができる。   As described above, according to the first embodiment, frame data (unit data of video data) is recorded in units of blocks, and management information relating to frame data is added as header information of the block data. The block data is managed in the block information table. Therefore, at the time of recording and reproduction, only the video management table for managing video information and the block management table for managing block position information are read and managed in the physical memory, so that access performance can be improved and Memory usage allocated to the frame management table can be reduced. Also, during playback, the block header information is read out simultaneously with the block header information in order to access the frame data, and the block data including the corresponding frame data is read out. Can be planned.

実施の形態2.
図6は、この発明の実施の形態2による映像記録再生装置の機能構成を示すブロック図である。図において、この実施の形態2は、監視カメラおよび表示装置をそれぞれ複数台接続した映像記録再生装置について示している。ここでは、2台接続を例としているが、2台以上であってもよい。
映像受信部11では、監視カメラ2a,2bからそれぞれの監視映像を受信するが、各映像は別々に受信されて映像変換部12へ渡される。映像変換部12では、各映像を記録に適した形式に変換するが、このとき、撮影時刻および監視カメラ2a,2bのそれぞれを識別するための情報(カメラID)を対応する映像データに付加する。記録・読出し制御部130では、映像データに付加された識別情報から、どの監視カメラからの映像データかを識別して、カメラ毎に映像データを記録媒体140に記録する。記録・読出し制御部130にて行われる記録処理の動作は、監視カメラごとの映像データに対して図4に示した処理フローが行われるだけであり、処理内容そのものは殆んど変わらない。そのため、監視カメラごとの映像データが時間経過とともに対応ブロックへ記録されていく。ただし、符号化レートの異なる監視カメラからの複数映像を同時に記録する場合は、撮影日時が同時刻帯の映像データを含むブロックは交互に隣接して連続して記録する。このことにより、ハードディスクのような記録媒体は物理的にヘッド移動量が少なくなり、シーケンシャルな記録を行うことができる。
Embodiment 2. FIG.
FIG. 6 is a block diagram showing a functional configuration of a video recording / reproducing apparatus according to Embodiment 2 of the present invention. In the figure, the second embodiment shows a video recording / reproducing apparatus in which a plurality of surveillance cameras and display apparatuses are connected. Here, two units are connected as an example, but two or more units may be used.
The video receiving unit 11 receives the respective monitoring videos from the monitoring cameras 2 a and 2 b, but each video is received separately and passed to the video conversion unit 12. The video conversion unit 12 converts each video into a format suitable for recording. At this time, information (camera ID) for identifying the shooting time and each of the monitoring cameras 2a and 2b is added to the corresponding video data. . The recording / reading control unit 130 identifies from which monitoring camera the video data comes from the identification information added to the video data, and records the video data in the recording medium 140 for each camera. The operation of the recording process performed in the recording / reading control unit 130 is only the processing flow shown in FIG. 4 performed on the video data for each surveillance camera, and the processing content itself is hardly changed. Therefore, video data for each surveillance camera is recorded in the corresponding block as time passes. However, when simultaneously recording a plurality of videos from surveillance cameras having different encoding rates, blocks including video data having the same shooting time and date are recorded continuously adjacent to each other. As a result, a recording medium such as a hard disk physically reduces the amount of head movement and can perform sequential recording.

この実施の形態2に係るデータ構造の各部の具体例とデータ関係を図7に示す。実施の形態2の映像管理テーブル200では、実施の形態1の図3における映像管理テーブルに対して、カメラIDのフィールドが追加されており、それ以外の構成は基本的に同じである。この例では、映像管理テーブル200の映像番号1にはカメラIDとしてaが記録されていることから、監視カメラ20aからの映像データが記録されていることを表す。また、映像番号2のレコードにはカメラIDとしてbが記録されていることから、監視カメラ20bからの映像データが記録されていることを表す。これとリンクするブロック管理テーブル300では、映像番号1の映像としてブロック番号1と3が使用され、映像番号2の映像としてブロック番号2が使用されていることを表している。なお、映像管理テーブル200のカメラIDは、再生要求するときに操作者が指定する記録映像の検索キーとして指定時刻とともに用いられる。   FIG. 7 shows a specific example of each part of the data structure according to the second embodiment and the data relationship. In the video management table 200 of the second embodiment, a camera ID field is added to the video management table in FIG. 3 of the first embodiment, and the other configurations are basically the same. In this example, since “a” is recorded as the camera ID in the video number 1 of the video management table 200, this indicates that the video data from the monitoring camera 20a is recorded. In addition, since b is recorded as the camera ID in the record of the video number 2, it represents that the video data from the monitoring camera 20b is recorded. The block management table 300 linked to this indicates that block numbers 1 and 3 are used as the video of video number 1, and block number 2 is used as the video of video number 2. The camera ID of the video management table 200 is used together with the specified time as a search key for a recorded video specified by the operator when a reproduction request is made.

一方、記録した映像を表示装置3aおよび表示装置3bで再生する場合、記録・読出し制御部130では、記録媒体140から読み出したブロックの映像データに、送出先となる表示装置を識別する情報(表示装置ID)を付加して、映像変換部15へ出力する。この場合、どのカメラの映像をどの表示装置で再生するかということが一般的に行われるから、例えばカメラIDと表示装置IDとの組み合わせテーブルを予め設けておき、読み出した映像データに付加されているカメラIDに対応する表示装置IDを取り出して付加するようにすればよい。映像変換部15および映像送信部16では、付加された識別情報に基づいて表示先の表示装置に切り替えて映像を送出するように動作する。なお、記録媒体140から読み出す映像データは表示先の表示装置の数に応じて、複数の映像データを同時に読み出して送出することも可能である。
また、監視用途では異なる場所に設置された複数の監視カメラからの映像を同時に記録しておき、これら記録されている映像を、記録時刻と同期させて複数の表示装置に並べて表示する場合がある。このような場合の再生動作においては、記録・読出し制御部130は再生処理をそれぞれの表示装置に対して複数同時に行うことになる。この場合の記録されている映像データは既に同時刻帯のブロックとして記録媒体140上に交互に隣接して記録されているので、ハードディスクのような記録媒体では物理的に少ないヘッドの移動量で各ブロックを読み出すことができる。
On the other hand, when the recorded video is played back on the display device 3a and the display device 3b, the recording / reading control unit 130 uses the information (display) to identify the display device as the transmission destination in the video data of the block read from the recording medium 140. Device ID) is added and output to the video conversion unit 15. In this case, since it is generally performed on which display device the video of which camera is reproduced, for example, a combination table of camera ID and display device ID is provided in advance and added to the read video data. What is necessary is just to take out and add display apparatus ID corresponding to the camera ID which exists. The video conversion unit 15 and the video transmission unit 16 operate so as to switch to the display destination display device based on the added identification information and send the video. Note that the video data read from the recording medium 140 can be simultaneously read out and sent out according to the number of display destination display devices.
In surveillance applications, video from a plurality of surveillance cameras installed at different locations may be recorded simultaneously, and the recorded videos may be displayed side by side on a plurality of display devices in synchronization with the recording time. . In the reproduction operation in such a case, the recording / reading control unit 130 performs a plurality of reproduction processes simultaneously on the respective display devices. In this case, the recorded video data is already recorded alternately on the recording medium 140 as a block of the same time zone. Therefore, in a recording medium such as a hard disk, each moving amount of the head is physically small. The block can be read.

以上のように、この実施の形態2によれば、複数台のカメラによる記録を行う場合でも、映像管理テーブルに監視カメラの識別情報を追加することで、実施の形態1での基本構成を変更することなく記録が行え、撮影日時が同時刻帯の映像データを含むブロックは交互に隣接して連続して記録されるようにしたので、シーケンシャルなデータの記録が行える。また、同時に記録した複数台のカメラからの同時刻帯の映像を、複数台の表示装置によりマルチ画面のように同時に映像を並べて再生するような場合、同時刻帯に記録されたブロックは記録媒体上で交互に隣接してシーケンシャルに記録されているため、ハードディスクのような記録媒体では物理的にヘッド移動量が少なくなり、効率の良い再生を行うことができる。   As described above, according to the second embodiment, even when recording is performed by a plurality of cameras, the basic configuration in the first embodiment is changed by adding the identification information of the monitoring camera to the video management table. Since the blocks including the video data having the same shooting time and date are recorded continuously adjacent to each other, sequential data can be recorded. In addition, in the case where images simultaneously recorded from a plurality of cameras at the same time zone are played back side by side as a multi-screen by a plurality of display devices, the blocks recorded in the same time zone are recorded on a recording medium. Since recording is performed sequentially adjacent to each other on the upper side, the amount of head movement is physically reduced in a recording medium such as a hard disk, and efficient reproduction can be performed.

この発明の実施の形態1による映像記録再生装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the video recording / reproducing apparatus by Embodiment 1 of this invention. この発明の実施の形態1に係る記録媒体に形成されるデータ構造を示す説明図である。It is explanatory drawing which shows the data structure formed in the recording medium which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係るデータ構造の各部の具体例とデータ関係を示す説明図である。It is explanatory drawing which shows the specific example and data relationship of each part of the data structure which concern on Embodiment 1 of this invention. この発明の実施の形態1に係る記録時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the recording which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る再生時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the reproduction | regeneration which concerns on Embodiment 1 of this invention. この発明の実施の形態2による映像記録再生装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the video recording / reproducing apparatus by Embodiment 2 of this invention. この発明の実施の形態2に係るデータ構造の各部の具体例とデータ関係を示す説明図である。It is explanatory drawing which shows the specific example and data relationship of each part of the data structure which concern on Embodiment 2 of this invention. 従来の記録再生装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the conventional recording / reproducing apparatus. 従来の記録媒体のデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of the conventional recording medium. 従来の記録媒体のデータ構造の各部の具体例とデータ関係を示す説明図である。It is explanatory drawing which shows the specific example of each part of the data structure of the conventional recording medium, and data relationship.

符号の説明Explanation of symbols

1 映像記録再生装置、2 監視カメラ、3 表示装置、11 映像受信部、12 映像変換部(第1の映像変換部)、15 映像変換部(第2の映像変換部)、16 映像送信部、130 記録・読出し制御部、140 記録媒体、200 映像管理テーブル、300 ブロック管理テーブル、400 ブロックデータ領域、401,402 ブロックヘッダ。   DESCRIPTION OF SYMBOLS 1 Video recording / reproducing apparatus, 2 Surveillance camera, 3 Display apparatus, 11 Video receiver, 12 Video converter (1st video converter), 15 Video converter (2nd video converter), 16 Video transmitter, 130 recording / reading control unit, 140 recording medium, 200 video management table, 300 block management table, 400 block data area, 401, 402 block header.

Claims (4)

監視カメラからの映像を記録に適した形式の映像データに変換する第1の映像変換部と、映像データを記録する記録媒体と、前記映像変換部で変換された映像データを前記記録媒体に記録し、要求に応じて当該記録媒体から記録された映像データを読み出す処理を行う記録・読出し制御部と、記録・読出し制御部から読み出された映像データを表示に適した形式の信号に変換する第2の映像変換部とを備え、
前記記録媒体は、記録する映像データの単位データよりも十分に大きな固定サイズのブロック単位で区画されたブロックデータ領域と、前記ブロックデータ領域に記録された映像データがあてはめられたブロックの先頭ブロック番号、終端ブロック番号、記録時刻の範囲を含む映像管理テーブルと、前記ブロックデータ領域上のブロックの位置情報、リンクする前後ブロック番号、映像データの単位データの数、記録時刻の範囲を含むブロック管理テーブルを有し、
前記記録・読出し制御部は、記録する映像データの単位データをブロック単位にまとめ、その際、ブロックに含まれる映像データの単位データ毎の記録時刻およびブロック上の位置情報をブロックのヘッダ情報として付加し、生成したブロックを前記ブロックデータ領域に順次記録し、またこの記録処理に伴って前記映像管理テーブルおよび前記ブロック管理テーブルを更新することを特徴とする映像記録再生装置。
A first video conversion unit that converts video from a surveillance camera into video data in a format suitable for recording, a recording medium that records video data, and video data converted by the video conversion unit is recorded on the recording medium In response to the request, the recording / reading control unit for performing processing for reading the video data recorded from the recording medium, and the video data read from the recording / reading control unit are converted into a signal in a format suitable for display. A second video conversion unit,
The recording medium includes a block data area partitioned by a block unit having a fixed size sufficiently larger than unit data of video data to be recorded, and a first block number of a block to which video data recorded in the block data area is fitted Video management table including end block number and recording time range, block management table including block position information on the block data area, block number before and after linking, number of unit data of video data, and recording time range Have
The recording / reading control unit summarizes the unit data of the video data to be recorded into blocks, and adds the recording time and the position information on the block for each unit of the video data included in the block as the header information of the block. Then, the generated block is sequentially recorded in the block data area, and the video management table and the block management table are updated in accordance with the recording process.
記録・読出し制御部は、指定時刻の映像データを読み出す際には、映像管理テーブルとブロック管理テーブルに基づいて該当映像データを含むブロックを特定して読み出し、そのブロックのヘッダ情報に基づいて前記指定時刻以降にある映像データを当該特定されたブロックから読み出して第2の映像変換部へ出力することを特徴とする請求項1記載の映像記録再生装置。   When reading the video data at the specified time, the recording / reading control unit identifies and reads the block including the video data based on the video management table and the block management table, and specifies the specified based on the header information of the block 2. The video recording / reproducing apparatus according to claim 1, wherein video data after the time is read from the specified block and output to the second video converting unit. 第1の映像変換部は、複数のカメラからの映像データが同時に入力された場合に、カメラの撮影時刻およびカメラの識別情報を対応する映像データに付加して出力し、
記録・読出し制御部は、撮影時刻が同じ時刻帯の映像データを含むブロックを記録媒体上で隣接させて連続的に記録し、
映像管理テーブルは、記録した各映像データに対応するカメラの識別情報を含み、前記記録・読出し制御部により記録時に更新されるようにしたことを特徴とする請求項1または請求項2記載の映像記録再生装置。
The first video conversion unit, when video data from a plurality of cameras are simultaneously input, adds the shooting time of the camera and camera identification information to the corresponding video data and outputs the video data,
The recording / reading control unit continuously records adjacent blocks on the recording medium that include video data in the same shooting time zone,
3. The video according to claim 1, wherein the video management table includes camera identification information corresponding to each recorded video data and is updated by the recording / reading control unit at the time of recording. Recording / playback device.
記録・読出し制御部は、記録された映像データを異なる表示装置で再生する場合は、記録媒体から読み出したブロックの映像データに、送出先となる表示装置の識別情報を付加して第2の映像変換部へ出力することを特徴とする請求項2または請求項3記載の映像記録再生装置。   When reproducing the recorded video data on a different display device, the recording / reading control unit adds the identification information of the display device serving as a transmission destination to the video data of the block read from the recording medium, and outputs the second video. 4. The video recording / reproducing apparatus according to claim 2, wherein the video recording / reproducing apparatus outputs the data to a conversion unit.
JP2007028339A 2007-02-07 2007-02-07 Video recording / playback device Expired - Fee Related JP4790643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007028339A JP4790643B2 (en) 2007-02-07 2007-02-07 Video recording / playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007028339A JP4790643B2 (en) 2007-02-07 2007-02-07 Video recording / playback device

Publications (2)

Publication Number Publication Date
JP2008193598A true JP2008193598A (en) 2008-08-21
JP4790643B2 JP4790643B2 (en) 2011-10-12

Family

ID=39753228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007028339A Expired - Fee Related JP4790643B2 (en) 2007-02-07 2007-02-07 Video recording / playback device

Country Status (1)

Country Link
JP (1) JP4790643B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010171561A (en) * 2009-01-21 2010-08-05 Hitachi Ltd Video information control apparatus and method
CN102148049A (en) * 2010-02-10 2011-08-10 索尼公司 Recording apparatus, imaging and recording apparatus, recording method, and program
JP5948465B1 (en) * 2015-06-04 2016-07-06 株式会社ファンクリエイト Video processing system and video processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000020365A (en) * 1998-07-07 2000-01-21 Matsushita Electric Ind Co Ltd Data processor and file managing method therefor
JP2004192402A (en) * 2002-12-12 2004-07-08 Matsushita Electric Ind Co Ltd Recording method and recording apparatus
JP2004220355A (en) * 2003-01-15 2004-08-05 Sony Corp File system, file operation mechanism and file operation method
JP2004355724A (en) * 2003-05-29 2004-12-16 Hitachi Kokusai Electric Inc Circulation recording device and picture accumulation/distribution system
JP2005033598A (en) * 2003-07-08 2005-02-03 Sanyo Electric Co Ltd Image management apparatus
JP2006115412A (en) * 2004-10-18 2006-04-27 Hitachi Kokusai Electric Inc Data recorder

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000020365A (en) * 1998-07-07 2000-01-21 Matsushita Electric Ind Co Ltd Data processor and file managing method therefor
JP2004192402A (en) * 2002-12-12 2004-07-08 Matsushita Electric Ind Co Ltd Recording method and recording apparatus
JP2004220355A (en) * 2003-01-15 2004-08-05 Sony Corp File system, file operation mechanism and file operation method
JP2004355724A (en) * 2003-05-29 2004-12-16 Hitachi Kokusai Electric Inc Circulation recording device and picture accumulation/distribution system
JP2005033598A (en) * 2003-07-08 2005-02-03 Sanyo Electric Co Ltd Image management apparatus
JP2006115412A (en) * 2004-10-18 2006-04-27 Hitachi Kokusai Electric Inc Data recorder

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010171561A (en) * 2009-01-21 2010-08-05 Hitachi Ltd Video information control apparatus and method
US8566890B2 (en) 2009-01-21 2013-10-22 Hitachi Consumer Electronics Co., Ltd. Video information control apparatus and method
US9154545B2 (en) 2009-01-21 2015-10-06 Hitachi Maxell, Ltd. Video information control apparatus and method
CN102148049A (en) * 2010-02-10 2011-08-10 索尼公司 Recording apparatus, imaging and recording apparatus, recording method, and program
JP2011166541A (en) * 2010-02-10 2011-08-25 Sony Corp Recording apparatus, imaging and recording apparatus, recording method, and program
JP5948465B1 (en) * 2015-06-04 2016-07-06 株式会社ファンクリエイト Video processing system and video processing method

Also Published As

Publication number Publication date
JP4790643B2 (en) 2011-10-12

Similar Documents

Publication Publication Date Title
KR100606486B1 (en) Circulating memory apparatus and image storage and distribution system
JP2008243367A (en) Method and device for recording broadcast data
US7000068B2 (en) Recording and playback apparatus and recording and playback method
JP4790643B2 (en) Video recording / playback device
WO2008057901A2 (en) Method and apparatus for managing multimedia content recording assets
CN111163297A (en) Method for realizing high concurrency and quick playback of video monitoring cloud storage
JPWO2007072843A1 (en) Recording apparatus for recording content on a plurality of recording media and control method therefor
JP4401132B2 (en) Circulation recorder
JP2001086462A (en) Moving image recording device and moving image reproducing device
CN102930875B (en) A kind of method of real-time synchronization video and audio recording
JP4821741B2 (en) Video recording / reproducing system and video data reading method
JP4250477B2 (en) Media data recording method, media data recording apparatus, computer program, and computer-readable recording medium
WO2004049709A1 (en) System and method for referencing av data accumulated in av server
JP2009151838A (en) Data processor and data processing method
JP2003061022A (en) Broadcast program recorder for digital broadcast
JP4155878B2 (en) Information recording / reproducing device
KR20130139163A (en) Video managing apparatus and method of surveillance systems
JP5697526B2 (en) Video surveillance recorder and video surveillance system
JP2004192402A (en) Recording method and recording apparatus
KR100508310B1 (en) Apparatus for recording and regenerating digital video therefor
JP2007102992A (en) Material management system
JP2000165794A (en) Recording and reproducing device and video data managing system
JP2006195632A (en) Record reproduction device, management information control method thereof, and program
JP2002170360A (en) Digital disk recorder
JP2004112465A (en) Recording and reproducing apparatus and recorded data managing method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080707

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091022

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110610

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

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

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

Free format text: PAYMENT UNTIL: 20140729

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4790643

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees