JP2006115412A - Data recorder - Google Patents

Data recorder Download PDF

Info

Publication number
JP2006115412A
JP2006115412A JP2004303252A JP2004303252A JP2006115412A JP 2006115412 A JP2006115412 A JP 2006115412A JP 2004303252 A JP2004303252 A JP 2004303252A JP 2004303252 A JP2004303252 A JP 2004303252A JP 2006115412 A JP2006115412 A JP 2006115412A
Authority
JP
Japan
Prior art keywords
data
image data
storage
storage area
stored
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
JP2004303252A
Other languages
Japanese (ja)
Other versions
JP4116604B2 (en
Inventor
Masanori Sumiyoshi
正紀 住吉
Kunio Yamauchi
邦夫 山内
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.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
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 Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2004303252A priority Critical patent/JP4116604B2/en
Publication of JP2006115412A publication Critical patent/JP2006115412A/en
Application granted granted Critical
Publication of JP4116604B2 publication Critical patent/JP4116604B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To maintain high quality for comparatively new data and to enable old data to be stored for a long time. <P>SOLUTION: A data storage region is divided into storage regions EA, EB, EC and received image data are firstly stored in the storage region EA at a full rate. If there is no space in the storage region EA, frames of the oldest image data stored in the storage region EA are thinned at a thinning rate 1/2 and moved to the storage region EB, and newly received image data are overwritten and stored in an empty region that is produced in the storage region EA by said data move, at the full rate. Furthermore, if there is no space in the storage regions EB, EC, the oldest image data are sequentially moved while being thinned similarly to the case of the storage region EA, and storage target frames of the storage regions EB, EA are sequentially moved to the regions which are made empty by the move. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、カメラにより得られた画像データをメモリに記憶するデータ記録装置に関する。   The present invention relates to a data recording apparatus for storing image data obtained by a camera in a memory.

近年、例えば、カメラを用いて侵入者や進入物体等を監視するシステムが種々開発され、そのいくつかは実用化されている。例えば、特許文献1に記載される監視カメラシステムでは、監視対象エリアにカメラを設置し、このカメラにより撮影された画像データをネットワークを介して監視センタに伝送し、この監視センタに設けられた記録装置で記憶するようにしている。   In recent years, for example, various systems for monitoring an intruder or an entering object using a camera have been developed, and some of them have been put into practical use. For example, in the surveillance camera system described in Patent Document 1, a camera is installed in an area to be monitored, image data captured by the camera is transmitted to a monitoring center via a network, and recording provided in the monitoring center is performed. It is memorized by the device.

しかしながら、記録装置の容量は固定であるため、一定時間分のデータしか記憶することができない。このため、記録装置の容量が一杯になった場合には以後のデータ記憶を停止するか、或いは記録装置に記録されているデータを古い順に消去して代わりに新たな監視データを記憶させる必要がある。   However, since the capacity of the recording device is fixed, only a certain amount of data can be stored. For this reason, when the capacity of the recording device becomes full, it is necessary to stop the subsequent data storage or to erase the data recorded in the recording device in the oldest order and store new monitoring data instead. is there.

特開2003−319378号公報JP 2003-319378 A

ところが、前記従来の記録装置では、記録装置の容量が一杯になると古いデータが無条件に一括消去される。このため、記録装置の容量を十分に大きくとれない場合には、各監視データの保存期間が短くなり、過去の監視データを検証する必要が生じた場合に目的の監視データが既に全て消去されていて検証をまったく行えなくなると云った不具合が発生する。   However, in the conventional recording apparatus, old data is unconditionally erased when the capacity of the recording apparatus becomes full. For this reason, when the capacity of the recording device cannot be increased sufficiently, the storage period of each monitoring data is shortened, and when it is necessary to verify past monitoring data, all the target monitoring data has already been erased. This causes a problem that verification cannot be performed at all.

一方、限られた記憶容量の範囲でできる限り多くの監視データを記憶させるために、監視データのフレームレートや画質を低下させてデータ量を削減する技術も種々提案されている。しかし、この種の技術では全ての監視データが準動画又は静止画になったり、或いは解像度が低下した映像になってしまう。このため、例えば管理者や閲覧者が記録直後の監視データを再生して監視エリアの状況を確認する通常の監視動作において、監視データの品質が低く詳細な確認が困難になる。   On the other hand, in order to store as much monitoring data as possible within a limited storage capacity, various techniques for reducing the data amount by reducing the frame rate and image quality of monitoring data have been proposed. However, with this type of technology, all the monitoring data becomes a quasi-moving image or a still image, or an image with reduced resolution. For this reason, for example, in a normal monitoring operation in which the administrator or the viewer reproduces the monitoring data immediately after recording and confirms the status of the monitoring area, the quality of the monitoring data is low, and detailed confirmation becomes difficult.

この発明は上記事情に着目してなされたもので、その目的とするところは、比較的新しいデータについては高品質を維持しかつ古いデータについては長期間の保存を可能としたデータ記録装置を提供することにある。   The present invention has been made paying attention to the above circumstances, and the object of the present invention is to provide a data recording apparatus that maintains high quality for relatively new data and enables long-term storage of old data There is to do.

上記目的を達成するためにこの発明は、時系列で入力される複数のデータを記憶媒体に順次記憶するデータ記録装置において、上記入力されたデータを第1の品質で上記記憶媒体に記憶する第1の手段と、上記記憶媒体に記憶されたデータ量が予め定められた上限値に達した場合に、上記記憶媒体に記憶されたデータを上記第1の品質より低い第2の品質に変換して記憶を継続する第2の手段と、上記品質の変換処理により生成された空き領域に、新たに入力されたデータを第1の品質で記憶する第3の手段とを備えるようにしたものである。   In order to achieve the above object, the present invention provides a data recording apparatus for sequentially storing a plurality of data input in time series in a storage medium, wherein the input data is stored in the storage medium with a first quality. 1 and when the amount of data stored in the storage medium reaches a predetermined upper limit, the data stored in the storage medium is converted to a second quality lower than the first quality. The second means for continuing the storage and the third means for storing the newly input data with the first quality in the free space generated by the quality conversion process. is there.

したがってこの発明によれば、比較的新しいデータについては高品質を維持して記憶され、かつ古くなるにつれ品質が下げられて記憶が継続される。このため、全てのデータを高品質の状態で記憶し続ける場合に比べて長期間の保存が可能となり、一方全てのデータを当初から品質を落とした状態で記憶する場合に比べて高品質の記憶データに基づく種々処理が可能となる。   Therefore, according to the present invention, relatively new data is stored while maintaining a high quality, and the quality is lowered and stored as it gets older. For this reason, it is possible to save for a long time compared to the case where all data is continuously stored in a high quality state, while the high quality storage is possible compared to the case where all data is stored in a state in which the quality is reduced from the beginning. Various processes based on the data are possible.

例えば、監視カメラにより撮像された画像データを記録する装置においては、管理者や閲覧者が記録直後の監視データを再生して監視エリアの状況を確認する通常の監視業務では高品質の画像データを用いて詳細な確認作業を行うことができ、一方過去に遡って監視データを検証する必要が生じた場合には長期保存された所望の古いデータを検索することが可能となる。   For example, in an apparatus that records image data captured by a surveillance camera, high-quality image data is obtained in a normal surveillance operation in which an administrator or a viewer reproduces surveillance data immediately after recording to check the status of the surveillance area. It is possible to perform detailed confirmation work using the data, while when it becomes necessary to verify the monitoring data retroactively, it is possible to retrieve desired old data stored for a long time.

この発明を実現する具体的な構成としては次のようなものが考えられる。
第1の構成は、記憶媒体のデータ記憶領域を第1の記憶領域と第2の記憶領域とから構成し、入力されたデータを第1の品質で上記第1の記憶領域に記憶する。そして、第1の記憶領域に記憶されたデータ量が予め定められた上限値に達した場合に、当該第1の記憶領域に記憶された第1の品質のデータを第2の品質のデータに変換したのち、上記第2の記憶領域に移動させる。そして、この第2の記憶領域へのデータの移動により第1の記憶領域に生成された空き領域に、新たに入力されたデータを第1の品質で記憶するものである。
このように構成すると、各データが常にデータ単位でまとめて記憶されるので、記憶媒体上のアドレス管理を簡単化することができる。
The following can be considered as a specific configuration for realizing the present invention.
In the first configuration, the data storage area of the storage medium includes a first storage area and a second storage area, and the input data is stored in the first storage area with a first quality. When the amount of data stored in the first storage area reaches a predetermined upper limit value, the first quality data stored in the first storage area is converted into the second quality data. After the conversion, it is moved to the second storage area. Then, the newly input data is stored with the first quality in the empty area generated in the first storage area by the movement of the data to the second storage area.
With this configuration, each data is always stored collectively in units of data, so that address management on the storage medium can be simplified.

第2の構成は、記憶媒体にデータ記憶領域とアドレス管理領域とを設けた場合に、入力されたデータを第1の品質で上記データ記憶領域に記憶すると共に、このデータ記憶領域に記憶されたデータの記憶アドレスを上記アドレス管理領域に記憶する。そして、上記データ記憶領域に記憶されたデータ量が予め定められた上限値に達した場合に、当該データ記憶領域に記憶された第1の品質のデータの記憶アドレスを上記アドレス管理領域において間欠的に削除することにより上記第1の品質のデータを第2の品質のデータに間接的に変換する。そして、上記間欠的なアドレス削除によりデータ記憶領域に生成された空き領域に、新たに入力されたデータを第1の品質で記憶すると共に、上記空き領域の記憶アドレスを削除前のデータの記憶アドレスから上記新たに記憶されたデータの記憶アドレスに変更するものである。
このように構成すると、データ記憶領域上でデータを物理的に移動させることなく、データに対する記憶アドレスの付け替え処理により品質変換を伴うデータの延長保存処理を実現できる。
In the second configuration, when a data storage area and an address management area are provided in the storage medium, the input data is stored in the data storage area with the first quality and stored in the data storage area. A data storage address is stored in the address management area. When the amount of data stored in the data storage area reaches a predetermined upper limit value, the storage address of the first quality data stored in the data storage area is intermittently stored in the address management area. The first quality data is indirectly converted into second quality data. The newly input data is stored with the first quality in the empty area generated in the data storage area by the intermittent address deletion, and the storage address of the data before the deletion is stored as the storage address of the empty area. To the storage address of the newly stored data.
With this configuration, it is possible to realize an extended data storage process that involves quality conversion by changing the storage address of the data without physically moving the data in the data storage area.

要するにこの発明では、時系列で入力されるデータを第1の品質で記憶媒体に順次記憶し、記憶媒体のデータ量が上限値に達した場合に当該記憶媒体に記憶されたデータを上記第1の品質より低い第2の品質に変換して記憶を継続させ、この品質の変換処理により生成された余剰記憶領域に新たに入力されたデータを第1の品質で記憶するようにしている。
したがってこの発明によれば、比較的新しいデータについては高品質を維持しかつ古いデータについては長期間の保存を可能としたデータ記録装置を提供することができる。
In short, in the present invention, data input in time series is sequentially stored in the storage medium with the first quality, and when the data amount of the storage medium reaches the upper limit value, the data stored in the storage medium is stored in the first medium. The second quality lower than the first quality is converted and stored, and the newly input data is stored in the first quality in the surplus storage area generated by the quality conversion process.
Therefore, according to the present invention, it is possible to provide a data recording apparatus that maintains high quality for relatively new data and enables long-term storage for old data.

(第1の実施形態)
図1は、この発明の第1の実施形態に係わるデータ記録装置を備えた監視システムの概略構成図である。
この監視システムは、監視対象エリアに配置された複数の監視カメラCM1〜CMrを通信ネットワークNWを介して監視サーバ装置SVに接続すると共に、この監視サーバ装置SVに対し複数の閲覧用端末を上記通信ネットワークNWを介して接続可能としたものである。
(First embodiment)
FIG. 1 is a schematic configuration diagram of a monitoring system including a data recording apparatus according to the first embodiment of the present invention.
This monitoring system connects a plurality of monitoring cameras CM1 to CMr arranged in a monitoring target area to a monitoring server device SV via a communication network NW, and communicates a plurality of browsing terminals to the monitoring server device SV. Connection is possible via the network NW.

通信ネットワークNWは、例えばLAN(Local Area Network)、或いはインターネットに代表されるコンピュータ・ネットワークと、このコンピュータ・ネットワークと閲覧用端末との間を接続するための加入者網とから構成される。なお、上記監視カメラCM1〜CMrと監視サーバ装置SVとの間を接続するネットワークと、閲覧用端末と監視サーバ装置SVとの間を接続するネットワークとを別々に構成することも可能である。   The communication network NW includes, for example, a computer network represented by a LAN (Local Area Network) or the Internet, and a subscriber network for connecting the computer network and a browsing terminal. It is also possible to separately configure a network connecting the monitoring cameras CM1 to CMr and the monitoring server device SV and a network connecting the browsing terminal and the monitoring server device SV.

閲覧用端末は監視対象施設の管理者やオーナ等の閲覧者が使用するもので、固定端末PC1〜PCkと、移動通信端末MS1〜MSjとから構成される。固定端末PC1〜PCkは例えばパーソナル・コンピュータからなり、加入者線や有線LAN等の有線回線を介して上記通信ネットワークNWに接続される。移動通信端末MS1〜MSjは携帯電話機やPDA(Personal Digital Assistants)、携帯型のパーソナル・コンピュータからなり、無線回線を介して上記上記通信ネットワークNWに接続される。   The browsing terminal is used by a manager of the facility to be monitored or a browser such as an owner, and is composed of fixed terminals PC1 to PCk and mobile communication terminals MS1 to MSj. The fixed terminals PC1 to PCk are composed of personal computers, for example, and are connected to the communication network NW via a subscriber line or a wired line such as a wired LAN. The mobile communication terminals MS1 to MSj are composed of mobile phones, PDAs (Personal Digital Assistants), and portable personal computers, and are connected to the communication network NW via a wireless line.

監視サーバ装置SVにはデータベースDBが付設されており、この監視サーバ装置SVとデータベースDBによりデータ記録装置が構成される。
データベースDBは記憶媒体としてハードディスクを使用したもので、データ記憶領域と、管理情報記憶領域とを備えている。データ記憶領域は、図3に示すように記憶領域EA ,EB ,EC に分割されている。記憶領域EA は、監視カメラCM1〜CMrにより撮像された比較的新しい監視データをフルレートで記憶するために用いられる。記憶領域EB は、上記記憶領域EA に記憶された監視データの中で古くなった監視データをフルレートの1/2で記憶するために用いられる。記憶領域EC は、上記記憶領域EB に記憶された画像データの中でさらに古くなった画像データをフルレートの1/4で記憶するために用いられる。
The monitoring server device SV is provided with a database DB, and the monitoring server device SV and the database DB constitute a data recording device.
The database DB uses a hard disk as a storage medium, and includes a data storage area and a management information storage area. The data storage area is divided into storage areas EA, EB, and EC as shown in FIG. The storage area EA is used for storing relatively new monitoring data captured by the monitoring cameras CM1 to CMr at a full rate. The storage area EB is used for storing the monitoring data that has become obsolete among the monitoring data stored in the storage area EA at half the full rate. The storage area EC is used to store image data that is older in the image data stored in the storage area EB at 1/4 of the full rate.

管理情報記憶領域には記憶領域管理テーブルが記憶されている。記憶領域管理テーブルは、上記各記憶領域EA ,EB ,EC に対応して設けられ、それぞれ当該記憶領域EA ,EB ,EC に記憶された監視データの管理情報を記憶する。管理情報には、監視データ名(データ識別番号)、当該監視データを構成する複数のフレームの番号、各フレームの先頭記憶アドレス、各フレームのデータ長、及び記録時刻が含まれる。図5にその一例を示す。   A storage area management table is stored in the management information storage area. The storage area management table is provided corresponding to each of the storage areas EA, EB, and EC, and stores management information of monitoring data stored in the storage areas EA, EB, and EC, respectively. The management information includes a monitoring data name (data identification number), a number of a plurality of frames constituting the monitoring data, a head storage address of each frame, a data length of each frame, and a recording time. An example is shown in FIG.

一方、監視サーバ装置SVは次のように構成される。図2はこの監視サーバ装置SVの構成を示すブロック図である。監視サーバ装置SVは中央処理ユニット(CPU;Central Processing Unit)11を備え、このCPU11にはバス12を介して、プログラムメモリ13と、画像エンコーダ14と、画像デコーダ15がそれぞれ接続される。さらにCPU11には、インタフェース群として、データベースインタフェース(データベースI/F)16と、ネットワークインタフェース(ネットワークI/F)17と、入出力インタフェース(入出力I/F)18と、シリアル通信インタフェース(シリアル通信I/F)19がそれぞれ接続されている。   On the other hand, the monitoring server device SV is configured as follows. FIG. 2 is a block diagram showing the configuration of the monitoring server device SV. The monitoring server device SV includes a central processing unit (CPU) 11, and a program memory 13, an image encoder 14, and an image decoder 15 are connected to the CPU 11 via a bus 12. Further, the CPU 11 includes a database interface (database I / F) 16, a network interface (network I / F) 17, an input / output interface (input / output I / F) 18, and a serial communication interface (serial communication). I / F) 19 are connected to each other.

データベースI/F16は、CPU11の制御の下、データベースDBに対する監視データ及び管理情報の書き込み及び読み出しを行う。ネットワークI/F17は通信ネットワークNWに接続され、CPU11の制御の下、監視カメラCM1〜CMrとの間で遠隔制御信号及び監視データの送受信を行う。また、固定端末PC1〜PCk及び移動通信端末MS1〜MSjとの間で監視データ及びその閲覧要求の送受信を行う。なお、以下では監視データが画像データである場合について説明するが、監視データは画像データ画像データに加え音声データを含む場合もある。   The database I / F 16 writes and reads monitoring data and management information to and from the database DB under the control of the CPU 11. The network I / F 17 is connected to the communication network NW, and transmits and receives remote control signals and monitoring data to and from the monitoring cameras CM1 to CMr under the control of the CPU 11. In addition, the monitoring data and the browsing request thereof are transmitted and received between the fixed terminals PC1 to PCk and the mobile communication terminals MS1 to MSj. In the following, a case where the monitoring data is image data will be described. However, the monitoring data may include audio data in addition to the image data image data.

入出力I/F18には入力部20及び表示部21が接続される。入力部20は例えばキーボード及びマウスからなり、監視制御のための制御コマンド等を入力するために使用される。表示部21は例えば液晶表示器からなり、入出力I/F18から出力される監視映像等の表示データを表示する。また入出力I/F18には各種コネクタも設けられ、これらのコネクタにはセンサ等が接続される。シリアル通信I/F19は、外部のシリアル機器との間でデータのシリアル通信を行うために使用される。   An input unit 20 and a display unit 21 are connected to the input / output I / F 18. The input unit 20 includes a keyboard and a mouse, for example, and is used to input a control command for monitoring control. The display unit 21 is composed of, for example, a liquid crystal display and displays display data such as a monitoring video output from the input / output I / F 18. The input / output I / F 18 is also provided with various connectors, and sensors and the like are connected to these connectors. The serial communication I / F 19 is used for serial data communication with an external serial device.

画像エンコーダ14及び画像デコーダ15は、例えばDSP(Digital Signal Processor)により構成される。画像エンコーダ14は、上記ネットワークI/F17により受信された画像データを圧縮符号化する。画像デコーダ15は、データベースDBから読み出された符号化画像データを伸長復号して元の画像データを再生する。   The image encoder 14 and the image decoder 15 are configured by, for example, a DSP (Digital Signal Processor). The image encoder 14 compresses and encodes the image data received by the network I / F 17. The image decoder 15 decompresses and decodes the encoded image data read from the database DB and reproduces the original image data.

プログラムメモリ13には、この発明に係わる制御プログラムとして、データ記憶制御プログラム131と、アドレス管理プログラム132と、データ再生制御プログラム133が格納されている。
データ記憶制御プログラム131は、上記データベースDBの記憶領域EA ,EB ,EC に対する画像データの記憶制御を行うもので、受信された画像データを先ず記憶領域EA にフルレート、例えば毎秒30フレーム(30fps)で記憶させる。次に、上記記憶領域EA に空き領域がなくなった場合に、当該記憶領域EA に記憶されたフレーム画像データを記録時刻が古い順にフルレートの1/2、例えば15fps に間引くようにし、間引きの対象とならない画像フレームを記憶領域EB に移動記憶させる。さらに上記記憶領域EB にも空き領域がなくなった場合には、当該記憶領域EB に記憶された画像データを最古のフレームから順にフルレートの1/4、例えば7.5fps に間引くようにし、間引きの対象とならない画像フレームを記憶領域EC に移動記憶させる。
The program memory 13 stores a data storage control program 131, an address management program 132, and a data reproduction control program 133 as control programs according to the present invention.
The data storage control program 131 controls the storage of image data in the storage areas EA, EB, and EC of the database DB. The received image data is first stored in the storage area EA at a full rate, for example, 30 frames per second (30 fps). Remember me. Next, when there is no more free space in the storage area EA, the frame image data stored in the storage area EA is thinned out to ½ of the full rate, for example, 15 fps in order from the oldest recording time. The image frame that should not be moved is moved and stored in the storage area EB. Further, when there is no more free space in the storage area EB, the image data stored in the storage area EB is thinned out to ¼ of the full rate in order from the oldest frame, for example, 7.5 fps. The image frame that is not the object is moved and stored in the storage area EC.

アドレス管理プログラム132は、上記データ記憶制御プログラム131により上記記憶領域EA に対し新たな画像データが記憶されるごとに、当該画像データの管理情報を生成して記憶領域管理テーブルに記憶させる。また、画像データが記憶領域EA から記憶領域EB へ、また記憶領域EB から記憶領域EC へそれぞれ移動記憶されるごとに、当該画像データの管理情報を書き換える。   Each time new image data is stored in the storage area EA by the data storage control program 131, the address management program 132 generates management information for the image data and stores it in the storage area management table. Each time image data is moved and stored from the storage area EA to the storage area EB and from the storage area EB to the storage area EC, the management information of the image data is rewritten.

データ再生制御プログラム133は、閲覧用の固定端末PC1〜PCk又は移動通信端末MS1〜MSjから画像データの閲覧要求が送られた場合に、上記記憶領域管理テーブルに記憶された管理情報をもとに該当する画像データを上記記憶領域EA ,EB ,EC から選択的に読み出す。そして、この読み出された画像データを、そのフレームレート等を挿入したヘッダ情報と共にネットワークI/F17から要求元の端末に向け送信する。なお、端末がフレームレートに応じた画像再生機能を備えていない場合には、上記読み出された画像データに対して間引き処理前の画像を再生するための速度変換処理やフレーム補間処理を行い、この再生処理後の画像データを端末へ送信するようにしてもよい。   The data reproduction control program 133 is based on the management information stored in the storage area management table when an image data browsing request is sent from the browsing fixed terminals PC1 to PCk or the mobile communication terminals MS1 to MSj. Relevant image data is selectively read from the storage areas EA, EB, and EC. Then, the read image data is transmitted from the network I / F 17 to the requesting terminal together with header information in which the frame rate and the like are inserted. If the terminal does not have an image playback function corresponding to the frame rate, the read image data is subjected to speed conversion processing and frame interpolation processing for playback of the image before thinning processing, The image data after the reproduction process may be transmitted to the terminal.

次に、以上のように構成されたデータ記録装置による画像データの記録動作を説明する。図6はその制御手順と制御内容を示すフローチャートである。
監視サーバ装置SVのCPU11は、監視カメラCM1〜CMrから1フレームの画像データが送られるごとに、当該画像データをステップ6aによりネットワークI/F17から取り込む。画像データを取り込むとCPU11は、先ずこの画像データを画像エンコーダ14で圧縮符号化する。なお、上記監視カメラCM1〜CMrから画像データと共に音声データが送られた場合には、この音声データを図示しない音声エンコーダにより圧縮符号化する。
Next, the image data recording operation by the data recording apparatus configured as described above will be described. FIG. 6 is a flowchart showing the control procedure and control contents.
Each time one frame of image data is sent from the monitoring cameras CM1 to CMr, the CPU 11 of the monitoring server apparatus SV fetches the image data from the network I / F 17 in step 6a. When the image data is captured, the CPU 11 first compresses and encodes the image data with the image encoder 14. When audio data is sent together with image data from the monitoring cameras CM1 to CMr, the audio data is compressed and encoded by an audio encoder (not shown).

次にCPU11は、ステップ6bにおいてデータベースDBのデータ記憶領域EA の空き容量を判定する。この判定の結果、上記圧縮符号化された画像データを記憶するために必要な空き容量が上記記憶領域EA に存在することが確認されると、ステップ6nに移行してここで上記記憶領域EA 内の空き領域に上記圧縮符号化された画像データを記憶させる。そして、この記憶処理の終了後に、ステップ6oにおいて上記新たな記憶された画像データの管理情報を生成し、この生成された管理情報を上記記憶領域EA に対応する記憶領域管理テーブルに追加記憶する。   Next, in step 6b, the CPU 11 determines the free capacity of the data storage area EA of the database DB. As a result of the determination, if it is confirmed that the free space necessary for storing the compression-encoded image data exists in the storage area EA, the process proceeds to step 6n, where the storage area EA The compressed and encoded image data is stored in the empty area. Then, after the storage process is completed, the management information of the newly stored image data is generated in step 6o, and the generated management information is additionally stored in the storage area management table corresponding to the storage area EA.

例えば、記憶領域EA が全て空きの状態で1フレームの画像データfa1が受信された場合には、この受信された1フレームの画像データfa1を圧縮符号化した後図4に示すように記憶領域EA に記憶する。そして、その管理情報を図5に示すように記憶領域管理テーブルに記憶する。以後同様に、上記フレーム画像データfa1に続いてフレーム画像データfa2,fa3,…が受信された場合にも、これらのフレーム画像データfa2,fa3,…を圧縮符号化した後図4に示すように記憶領域EA に順次記憶する。そして、その管理情報を図5に示すように記憶領域管理テーブルにそれぞれ記憶する。   For example, when one frame of image data fa1 is received with all the storage areas EA being empty, the received one frame of image data fa1 is compression-encoded and then stored in the storage area EA as shown in FIG. To remember. Then, the management information is stored in the storage area management table as shown in FIG. Similarly, when frame image data fa2, fa3,... Are received subsequent to the frame image data fa1, the frame image data fa2, fa3,... Are compressed and encoded as shown in FIG. The data is sequentially stored in the storage area EA. Then, the management information is stored in the storage area management table as shown in FIG.

一方、上記圧縮符号化された1フレームの画像データを記憶するための空き容量が上記記憶領域EA に存在しなかったとする。この場合CPU11はステップ6cに移行し、記憶領域管理テーブルの管理情報をもとに、記憶領域EA に記憶されたフレーム画像データの中から記録時刻が最も古い画像データを選択する。そして、この選択された最古のフレーム画像データを、当該データが保存対象であるか否かを確認したのち記憶領域EB へ移動させるための処理を実行する。   On the other hand, it is assumed that there is no free space in the storage area EA for storing the compression-encoded image data of one frame. In this case, the CPU 11 proceeds to step 6c, and selects the image data with the oldest recording time from the frame image data stored in the storage area EA based on the management information in the storage area management table. Then, after confirming whether or not the selected oldest frame image data is a storage target, a process for moving to the storage area EB is executed.

すなわち、先ずステップ6dにおいて、上記最古のフレーム画像データが保存対象となっているか否かを判定する。保存対象か否かは、フレーム画像データを記憶領域EA から記憶領域EB へ移動させる際のフレームの間引き率により決まる。例えば、間引き率が1/2であれば保存対象のフレームは1フレームおきに設定される。   That is, first in step 6d, it is determined whether or not the oldest frame image data is to be saved. Whether or not the image is to be saved is determined by a frame thinning rate when moving the frame image data from the storage area EA to the storage area EB. For example, if the thinning rate is ½, the frames to be stored are set every other frame.

上記ステップ6dにおいて保存対象フレームと判定されると、CPU11は続いてステップ6eにより記憶領域EB に上記保存対象のフレーム画像データを記憶するために必要な空き容量が存在するか否かを判定する。この判定の結果、空き容量が存在することが確認されると、CPU11はステップ6mに移行して、上記保存対象のフレーム画像データを上記記憶領域EA から記憶領域EB の空き領域に移動させる。そして、ステップ6nにおいて、上記移動により実質的に空きとなった記憶領域EA の領域に、上記圧縮符号化された1フレームの画像データを記憶させる。これに対し、保存対象でないフレームについては記憶領域EB へ移動させない。そして上記ステップ6nに移行し、ここで記憶領域EA の上記保存対象でないフレーム画像データが記憶されていた領域に、上記圧縮符号化された1フレームの画像データを上書き保存させる。   If it is determined in step 6d that the frame is to be stored, the CPU 11 subsequently determines in step 6e whether or not there is a free space necessary for storing the frame image data to be stored in the storage area EB. As a result of this determination, if it is confirmed that there is free space, the CPU 11 moves to step 6m, and moves the frame image data to be saved from the storage area EA to the free area of the storage area EB. In step 6n, the compression-encoded image data of one frame is stored in the storage area EA that is substantially vacant by the movement. On the other hand, frames that are not to be saved are not moved to the storage area EB. Then, the process proceeds to step 6n, where the one frame of compressed and encoded image data is overwritten and saved in the area where the frame image data not to be saved is stored in the storage area EA.

例えば、いま図4に示すようにフレーム画像データfa1,fa2,fa3,fa4,…の順に記録時刻が古く、かつ間引き率が1/2であれば、上記各フレーム画像データfa1,fa2,fa3,fa4,…のうちの奇数フレームの画像データfa1,fa3,fa5,…を保存対象のフレーム画像データとして古い順に選択して記憶領域EB に移動させる。これに対し偶数フレームの画像データfa2,fa4,fa6,…は保存対象のフレーム画像データではないので移動させない。そして、上記奇数フレームの画像データfa1,fa3,fa5,…が移動した後の領域と、上記保存対象ではない偶数フレームの画像データfa2,fa4,fa6,…が記憶されている領域に、新たに受信された各フレーム画像データfi1,fi2,fi3,…を順次上書き保存する。
そして、上記上書き保存の終了後に、ステップ6oにおいて記憶領域管理テーブルの該当するフレーム画像データの管理情報を書き換える。
For example, as shown in FIG. 4, if the recording time is old and the thinning rate is 1/2 in the order of the frame image data fa1, fa2, fa3, fa4,..., The frame image data fa1, fa2, fa3, .. out of fa4,... are selected as the frame image data to be stored in the oldest order and moved to the storage area EB. On the other hand, the even frame image data fa2, fa4, fa6,... Are not moved because they are not the frame image data to be stored. In the area after the image data fa1, fa3, fa5,... Of the odd frame are moved, and in the area in which the image data fa2, fa4, fa6,. The received frame image data fi1, fi2, fi3,... Are sequentially overwritten and saved.
Then, after the overwriting is completed, the management information of the corresponding frame image data in the storage area management table is rewritten in step 6o.

以後同様に、記憶領域EB に空き容量が存在する限り、上記記憶領域EA に記憶されたフレーム画像データのうち保存対象フレームの画像データが記録時刻の古い順に記憶領域EB の空き領域に移動される。そして、この移動された保存対象フレームの移動前の記憶領域と、保存対象でないフレームの記憶領域に、新たに受信されたフレーム画像データが順次上書き保存される。   Similarly, as long as there is free space in the storage area EB, the image data of the frame to be saved among the frame image data stored in the storage area EA is moved to the free area in the storage area EB in order of oldest recording time. . Then, the newly received frame image data is sequentially overwritten and stored in the storage area before the movement of the moved storage target frame and the storage area of the frame not to be stored.

一方、上記ステップ6eにおいて、記憶領域EB に空き容量が存在しないと判定されたとする。この場合CPU11はステップ6fに移行し、ここで記憶領域EB に記憶された各フレーム画像データを記録時刻が古い順に選択して、当該フレーム画像データが保存対象であるか否かを確認したのち記憶領域EC へ移動させるための処理を実行する。   On the other hand, in step 6e, it is determined that there is no free space in the storage area EB. In this case, the CPU 11 proceeds to step 6f, where each frame image data stored in the storage area EB is selected in order from the oldest recording time, and whether or not the frame image data is to be saved is stored. A process for moving to the area EC is executed.

すなわちCPU11は、先ずステップ6gにおいて、上記記憶領域EB において最古のフレーム画像データを選択し、このフレーム画像データが保存対象となっているか否かを判定する。なお、この場合も保存対象であるか否かは、フレーム画像データを記憶領域EB から記憶領域EC へ移動させる際のフレームの間引き率により決まる。例えば、間引き率が1/2であれば保存対象のフレームは1フレームおきに設定される。   That is, in step 6g, the CPU 11 first selects the oldest frame image data in the storage area EB, and determines whether or not this frame image data is a storage target. In this case as well, whether or not the image is to be saved is determined by the frame thinning rate when moving the frame image data from the storage area EB to the storage area EC. For example, if the thinning rate is ½, the frames to be stored are set every other frame.

上記ステップ6gにおいて保存対象フレームと判定されると、CPU11はステップ6hにより記憶領域EC に上記保存対象のフレーム画像データを移動させるために必要な空き容量が存在するか否かを判定する。この判定の結果、空き容量が存在することが確認されると、CPU11はステップ6kに移行して、上記保存対象のフレーム画像データを上記記憶領域EB から記憶領域EC の空き領域に移動させる。そして、この移動処理後にステップ6mに移行し、ここで上記移動処理により実質的に空きとなった記憶領域EB の領域に上記記憶領域EA に記憶されていた保存対象のフレーム画像データを移動させる。そして、ステップ6nにより上記記憶領域EB へのデータ移動により実質的に空きとなった記憶領域EA に、新たに受信されたフレーム画像データを記憶させる。そして最後に、ステップ6oにより記憶領域管理テーブルの該当するフレーム画像データの管理情報を書き換える。   If it is determined in step 6g that the frame is to be stored, the CPU 11 determines in step 6h whether or not there is a free space necessary for moving the frame image data to be stored in the storage area Ec. As a result of this determination, if it is confirmed that there is free space, the CPU 11 proceeds to step 6k, and moves the frame image data to be saved from the storage area EB to the free area of the storage area EC. Then, after this moving process, the process proceeds to step 6m, where the frame image data to be saved stored in the storage area EA is moved to the area of the storage area EB which has become substantially empty by the moving process. Then, in step 6n, the newly received frame image data is stored in the storage area EA which has become substantially empty due to the data movement to the storage area EB. Finally, in step 6o, the management information of the corresponding frame image data in the storage area management table is rewritten.

これに対し、上記記憶領域EB の保存対象でないフレームの画像データについては記憶領域EC へ移動させない。そして、ステップ6mに移行し、ここで上記移動させなかった非保存対象のフレーム画像データの記憶領域に上記記憶領域EA に記憶されていた保存対象の奇数フレームの画像データを上書き記憶させる。そして、この上書き記憶の終了後に、ステップ6oにより記憶領域管理テーブルの該当する画像データの管理情報を書き換える。   On the other hand, image data of a frame that is not a storage target of the storage area EB is not moved to the storage area EC. Then, the process proceeds to step 6m, where the image data of the odd-numbered frame to be stored, which has been stored in the storage area EA, is overwritten and stored in the storage area of the frame image data not to be moved. Then, after this overwrite storage is completed, the management information of the corresponding image data in the storage area management table is rewritten in step 6o.

例えば、いま図4に示すように記憶領域EB においてフレーム画像データfk1,fk3,fk5,…の順に記録時刻が古く、かつ間引き率が1/2であれば、上記各フレーム画像データfk1,fk3,fk5,…のうちの奇数番目のフレーム画像データfk1,fk5,fk9,…を保存対象のフレーム画像データとして古い順に選択して記憶領域EC に移動させる。これに対し偶数番目のフレーム画像データfk3,fk7,…は保存対象のフレーム画像データではないので移動させない。そして、上記奇数番目のフレーム画像データfk1,fk5,fk9,…が移動した後の領域と、上記保存対象ではない偶数番目のフレーム画像データfk3,fk7,…が記憶されている領域に、上記記憶領域EA に記憶されていた保存対象の奇数フレームの画像データfa1,fa3,fa5,…を移動させる。そしてこの奇数フレームの画像データfa1,fa3,fa5,…が移動した後の領域と、保存対象ではない偶数フレームの画像データfa2,fa4,fa6,…が記憶されている領域に、新たに受信されたフレーム画像データfi1,fi2,…を順次上書き保存する。
また、上記上書き保存の終了後に、ステップ6oにおいて記憶領域管理テーブルの該当するフレーム画像データの管理情報を書き換える。
For example, as shown in FIG. 4, if the recording times are old in the order of the frame image data fk1, fk3, fk5,... And the thinning rate is 1/2 in the storage area EB, the frame image data fk1, fk3, .. among the odd-numbered frame image data fk1, fk5, fk9,... of fk5,. On the other hand, the even-numbered frame image data fk3, fk7,... Are not moved and are not moved. In the area after the odd-numbered frame image data fk1, fk5, fk9,... Have moved, and in the area in which the even-numbered frame image data fk3, fk7,. The odd frame image data fa1, fa3, fa5,... Stored in the area EA are moved. .. Are newly received in the area where the image data fa1, fa3, fa5,... Of the odd frames are moved and the area where the image data fa2, fa4, fa6,. The frame image data fi1, fi2,.
Further, after the overwriting is completed, the management information of the corresponding frame image data in the storage area management table is rewritten in step 6o.

以後同様に、記憶領域EC に空き容量が存在する限り、上記記憶領域EB に記憶された保存対象フレームが記録時刻の古い順に記憶領域EC の空き領域に移される。そして、上記記憶領域EB における、上記移動により実質的に空きとなった領域と、非保存対象のフレームが記憶されていた領域に、上記記憶領域EA に記憶されていた保存対象のフレーム画像データが古い順に移される。さらに、記憶領域EA における、上記移動により実質的に空きとなった領域と、保存対象ではないフレーム画像データが記憶されていた領域に、新たに受信されたフレーム画像データが順次上書き記憶される。   Similarly, as long as there is free space in the storage area EC, the frames to be stored stored in the storage area EB are moved to the free area in the storage area EC in the order of the oldest recording time. Then, the storage target frame image data stored in the storage area EA is stored in the storage area EB in the area that is substantially vacant by the movement and in the area in which the non-save target frame is stored. Moved from oldest to newest. Further, the newly received frame image data is sequentially overwritten and stored in the storage area EA in the area that has become substantially empty due to the above movement and the area in which the frame image data that is not to be saved is stored.

なお、上記ステップ6hにおいて、記憶領域EC に空き容量が存在しないと判定されたとする。この場合CPU11はステップ6iに移行し、ここで記憶領域EC に記憶されたフレーム画像データを記録時刻の古い順に選択する。そして、この選択されたフレーム画像データが記憶されていた記憶領域EC の領域に、記憶領域EB の保存対象のフレーム画像データを移動させる(ステップ6k)。そして、ステップ6mにより記憶領域EA における保存対象のフレーム画像データを記憶領域EB に移動させ、この移動により実質的に空きとなった記憶領域EA の最後に新たに受信されたフレーム画像データを記憶させる。   In step 6h, it is determined that there is no free space in the storage area Ec. In this case, the CPU 11 proceeds to step 6i, where the frame image data stored in the storage area EC is selected in order of oldest recording time. Then, the frame image data to be saved in the storage area EB is moved to the area of the storage area EC where the selected frame image data was stored (step 6k). Then, in step 6m, the frame image data to be stored in the storage area EA is moved to the storage area EB, and the newly received frame image data is stored at the end of the storage area EA that has become substantially free by this movement. .

例えば、図4に示す例では記憶領域EC に記憶されているフレーム画像データfs1,fs5,fs9,…を記録時刻の古い順に選択し、この選択されたフレーム画像データが記憶されていた領域に、記憶領域EB の保存対象のフレーム画像データfk1,fk5,fk9,…を記録時刻の古い順に移動させる。そして、上記記憶領域EB の移動後の領域に記憶領域EA における保存対象フレームfa1,fa3,fa5,…を記録時刻の古い順に移動させ、さらに上記記憶領域EA の移動後の領域に、新たに受信されたフレーム画像データfi1,fi2,…を順次上書き保存する。   For example, in the example shown in FIG. 4, the frame image data fs1, fs5, fs9,... Stored in the storage area Ec are selected in order from the oldest recording time, and in the area where the selected frame image data is stored, The frame image data fk1, fk5, fk9,... To be stored in the storage area EB are moved in order of oldest recording time. Then, the storage target frames fa1, fa3, fa5,... In the storage area EA are moved to the area after the movement of the storage area EB in order from the oldest recording time, and further received in the area after the movement of the storage area EA. The frame image data fi1, fi2,... Are sequentially overwritten and saved.

一方、以上のようにデータベースDBの各データ記憶領域EA ,EB ,EC に記憶された画像データは、次のように再生される。
すなわち、閲覧用の固定端末PC1〜PCk及び移動通信端末MS1〜MSjから画像データの閲覧要求が到来すると、監視サーバ装置SVのCPU11は受信された閲覧要求から閲覧者が指定した再生開始時刻を抽出する。そして、この抽出された再生開始時刻をもとに記憶領域管理テーブルから該当する時刻に記録された画像データの管理情報を読み出し、この読み出された管理情報に含まれる記憶アドレスをもとに記憶領域EA ,EB ,EC を選択的にアクセスして、該当するフレーム画像データを読み出す。
On the other hand, the image data stored in the data storage areas EA, EB, EC of the database DB as described above is reproduced as follows.
That is, when an image data browsing request arrives from the browsing fixed terminals PC1 to PCk and the mobile communication terminals MS1 to MSj, the CPU 11 of the monitoring server device SV extracts the playback start time designated by the viewer from the received browsing request. To do. Then, the management information of the image data recorded at the corresponding time is read from the storage area management table based on the extracted reproduction start time, and stored based on the storage address included in the read management information. The areas EA, EB, and EC are selectively accessed to read out the corresponding frame image data.

次に、上記読み出されたフレーム画像データを、当該フレーム画像データのフレームレート等の管理情報を含むヘッダと共にネットワークI/F17から閲覧要求元の端末に向け送信する。以後同様に、記録時刻順にフレーム画像データを記憶領域EA ,EB ,EC から読み出し、この読み出されたフレーム画像データをその管理情報を含むヘッダと共に閲覧要求元の端末へ送信する。なお、この画像データの送信動作は端末から閲覧終了要求が到来した時点で終了する。   Next, the read frame image data is transmitted from the network I / F 17 to the browsing request source terminal together with a header including management information such as the frame rate of the frame image data. Thereafter, similarly, the frame image data is read from the storage areas EA, EB, and EC in the order of recording time, and the read frame image data is transmitted to the browsing request source terminal together with the header including the management information. This image data transmission operation ends when a browsing end request is received from the terminal.

以上述べたように第1の実施形態では、データ記憶領域を物理的に異なる3個の記憶領域EA ,EB ,EC に分割し、受信されたフレーム画像データを先ずフルレートで上記記憶領域EA に記憶する。そして、記憶領域EA に空きがなくなった場合には、当該記憶領域EA に記憶されたフレーム画像データを記録時刻が古い順に間引き率1/2で間引いて保存対象のフレーム画像データを記憶領域EB に移動させ、このデータ移動により記憶領域EA に生成された空き領域に、新たに受信されたフレーム画像データをフルレートで上書き保存するようにしている。また、記憶領域EB ,EC にも空き領域がなくなった場合には、上記記憶領域EA の場合と同様にそれぞれ記憶されたフレーム画像データを記録時刻の古い順に間引き率1/2で間引いて保存対象のフレーム画像データを順次移動させ、この移動により空きとなった領域に記憶領域EB ,EA の保存対象フレームを順次移動させるようにしている。   As described above, in the first embodiment, the data storage area is divided into three physically different storage areas EA, EB, and EC, and the received frame image data is first stored in the storage area EA at the full rate. To do. When the storage area EA runs out of space, the frame image data stored in the storage area EA is thinned out at the thinning rate 1/2 in the order of the oldest recording time, and the frame image data to be saved is stored in the storage area EB. The newly received frame image data is overwritten and saved at the full rate in the empty area generated in the storage area EA by this data movement. Also, when there are no more free areas in the storage areas EB and EC, the frame image data stored in the storage area EA is thinned out at the thinning rate 1/2 in the order of the oldest recording time as in the case of the storage area EA. The frame image data is sequentially moved, and the frames to be stored in the storage areas EB and EA are sequentially moved to an area which becomes empty by this movement.

したがって、受信直後の比較的新しい画像データについては高品質を維持して記憶され、かつ古くなるにつれ品質が下げられて記憶が継続されることになる。このため、全ての画像データを高品質の状態で記憶し続ける場合に比べて長期間の保存が可能となり、一方全ての画像データを当初から品質を落とした状態で記憶する場合に比べて高品質の画像データに基づく処理が可能となる。例えば、監視システムにおいては、管理者や閲覧者が記録直後の比較的新しい画像データを用いて監視エリアの状況を詳細に確認することができる。一方、過去に遡って画像データを検証する必要が生じた場合には、長期保存された古い画像データの中から所望の画像データを読み出して検証を行うことができる。   Accordingly, relatively new image data immediately after reception is stored while maintaining high quality, and as the image data becomes older, the quality is lowered and storage is continued. For this reason, it is possible to store for a long time compared to the case where all the image data is continuously stored in a high quality state, while the quality is higher than the case where all the image data is stored in a state in which the quality is reduced from the beginning. Can be processed based on the image data. For example, in a monitoring system, an administrator or a viewer can check the status of a monitoring area in detail using relatively new image data immediately after recording. On the other hand, when it becomes necessary to verify image data retroactively, desired image data can be read from the old image data stored for a long time and verified.

(第2の実施形態)
上記第1の実施形態では、データ記憶領域を物理的に異なる3個の記憶領域EA ,EB ,EC に分割し、上位側の記憶領域に空きが足りなくなるごとに、記憶データをフレーム単位で間引き処理しつつ順次下位側の記憶領域へ物理的に移動させるようにした。
これに対し、この発明の第2の実施形態は、データベースにデータ記憶領域と記憶管理テーブルとを設け、受信されたフレーム画像データを上記データ記憶領域に順次記憶する。そして、データ記憶領域に空きが足りなくなった場合に、記憶されているフレーム画像データを物理的に移動させずに、上記フレーム画像データに対して間引き処理を行い、この間引き処理により生成された空き領域に新たに受信されたフレーム画像データを記憶するようにしたものである。
(Second Embodiment)
In the first embodiment, the data storage area is divided into three physically different storage areas EA, EB, and EC, and the storage data is thinned out in units of frames each time there is not enough space in the upper storage area. Physically moved to the lower storage area sequentially while processing.
On the other hand, in the second embodiment of the present invention, a data storage area and a storage management table are provided in a database, and received frame image data is sequentially stored in the data storage area. Then, when there is not enough space in the data storage area, the frame image data stored is not physically moved, and the frame image data is thinned out. The newly received frame image data is stored in the area.

図7乃至図11は、この発明の第2の実施形態を説明するための図である。なお、監視サーバ装置SVの構成については、その制御手順と内容を除いて前記図2と同一なので説明は省略する。
データベースDBには、データ記憶領域と記憶管理テーブルとが設けられている。データ記憶領域には、受信されたフレーム画像データが固定的に記憶される。図7はその一例を示すもので、アドレス“0000”〜“FFFF”で表されるデータ記憶領域にフレーム画像データfa1,fa2,…,fan,…が順に記憶された状態を示している。
7 to 11 are views for explaining a second embodiment of the present invention. The configuration of the monitoring server device SV is the same as that shown in FIG.
The database DB is provided with a data storage area and a storage management table. The received frame image data is fixedly stored in the data storage area. FIG. 7 shows an example of this, and shows a state in which frame image data fa1, fa2,..., Fan,... Are stored in order in the data storage areas represented by addresses “0000” to “FFFF”.

一方、記憶管理テーブルには、上記データ記憶領域に記憶された各フレーム画像データの管理情報が記憶される。管理情報は、フレーム画像データのフレーム番号と、先頭記憶アドレスと、末尾記憶アドレスと、データ長と、記録時刻と、レート変更の有無と、フレームレート(fps)とから構成される。図8にその一例を示す。   On the other hand, management information of each frame image data stored in the data storage area is stored in the storage management table. The management information includes a frame number of frame image data, a head storage address, a tail storage address, a data length, a recording time, whether a rate is changed, and a frame rate (fps). An example is shown in FIG.

監視サーバ装置SVのプログラムメモリ13には、前記第1の実施形態と同様、データ記憶制御プログラムと、アドレス管理プログラムと、データ再生制御プログラムが格納されている。
データ記憶制御プログラムは、上記データベースDBのデータ記憶領域に対する画像データの記憶制御を行うもので、データ記憶領域に空き領域が存在するときには、受信されたフレーム画像データをデータ記憶領域に順次記憶する。一方、データ記憶領域に空き領域がなくなった場合には、間引き処理により生成された空き領域に、新たに受信されたフレーム画像データを書き込む。
Similar to the first embodiment, the program memory 13 of the monitoring server device SV stores a data storage control program, an address management program, and a data reproduction control program.
The data storage control program performs storage control of image data in the data storage area of the database DB. When there is an empty area in the data storage area, the received frame image data is sequentially stored in the data storage area. On the other hand, when there is no free space in the data storage area, the newly received frame image data is written into the free space generated by the thinning process.

アドレス管理プログラムは、データ記憶領域に新たにフレーム画像データが記憶されるごとに、当該記憶されたフレーム画像データに関する管理情報及びアドレス情報を生成して、記憶管理テーブルに追加記憶する。またデータ記憶領域に空き領域がなくなった場合には、記憶管理テーブルに記憶された管理情報をもとに、上記データ記憶領域に記憶された複数のフレーム画像データを記録時刻が古い順に選択する。そして、上記選択されたフレーム画像データが保存対象フレームであるか否かを判定し、保存対象でないフレーム画像データの記憶アドレスは空き領域として、新たに受信されたフレーム画像データを書き込み、保存対象でないフレーム画像データの管理情報を、新たに書き込まれるフレーム画像データの管理情報に書き換える。一方保存対象のフレーム画像データについては、記憶領域の物理的な移動は行わず、管理情報のフレームレートをフルレートの1/2に変更すると共に、レート変更の有無の項目を「無」から「有」に変更する。   Each time frame image data is newly stored in the data storage area, the address management program generates management information and address information related to the stored frame image data, and additionally stores them in the storage management table. When there is no more free space in the data storage area, a plurality of frame image data stored in the data storage area are selected in order of oldest recording time based on the management information stored in the storage management table. Then, it is determined whether or not the selected frame image data is a frame to be stored, and the storage address of the frame image data that is not the storage target is a free area, and the newly received frame image data is written and not the storage target The management information of the frame image data is rewritten to the management information of the newly written frame image data. On the other hand, for the frame image data to be saved, the storage area is not physically moved, the frame rate of the management information is changed to ½ of the full rate, and the rate change item is changed from “No” to “Yes”. Change to

データ再生制御プログラムは、閲覧用の固定端末PC1〜PCk又は移動通信端末MS1〜MSj端末から画像データの閲覧要求が送られた場合に、当該閲覧要求に含まれる再生開始時刻に従い、該当する記録時刻のフレーム画像データから順に読み出す。そして、この読み出されたフレーム画像データをそのフレームレート等を含むヘッダと共に、ネットワークI/F17から閲覧要求元の端末に向け送信する。   When a browsing request for image data is sent from the browsing fixed terminals PC1 to PCk or the mobile communication terminals MS1 to MSj, the data playback control program corresponds to the corresponding recording time according to the playback start time included in the browsing request. Are sequentially read from the frame image data. Then, the read frame image data is transmitted from the network I / F 17 to the browsing request source terminal together with a header including the frame rate and the like.

次に、以上のように構成された装置におけるデータ記録動作を説明する。図9はその制御手順と制御内容を示すフローチャートである。
監視サーバ装置SVのCPU11は、監視カメラCM1〜CMrからフレーム画像データが送られるごとに、当該フレーム画像データをステップ10aによりネットワークI/F17から取り込む。フレーム画像データを取り込むとCPU11は、先ずこの取り込んだフレーム画像データを画像エンコーダ14で圧縮符号化する。なお、フレーム画像データに音声データが付属している場合には、この音声データについても図示しない音声エンコーダにより圧縮符号化する。
Next, a data recording operation in the apparatus configured as described above will be described. FIG. 9 is a flowchart showing the control procedure and control contents.
Every time frame image data is sent from the monitoring cameras CM1 to CMr, the CPU 11 of the monitoring server device SV fetches the frame image data from the network I / F 17 in step 10a. When the frame image data is captured, the CPU 11 first compresses and encodes the captured frame image data with the image encoder 14. When audio data is attached to the frame image data, the audio data is also compressed and encoded by an audio encoder (not shown).

次にCPU11は、ステップ10bにおいて、データベースDBのデータ記憶領域に論理的に設定された2つの仮想領域VA ,VB のうち、仮想領域VA の空き容量を判定する。なお、仮想領域VA ,VB とは、データ記憶領域における空き容量の管理のために画像データのフレームレートに応じて予め設定された領域であり、仮想領域VA はフルレートのフレーム画像データが記憶される領域、仮想領域VB は間引き処理によりレートが下げられたフレーム画像データを記憶する領域と定義される。   Next, in step 10b, the CPU 11 determines the free capacity of the virtual area VA among the two virtual areas VA and VB logically set in the data storage area of the database DB. The virtual areas VA and VB are areas set in advance according to the frame rate of the image data for managing free space in the data storage area, and the virtual area VA stores full-rate frame image data. The area and virtual area VB are defined as areas for storing frame image data whose rate has been lowered by the thinning process.

図10は、上記仮想領域VA ,VB に記憶された全データ量を計算する処理内容を示すフローチャートである。仮想領域VA の空き容量を判定する場合、CPU11は先ずステップ11bにより記憶データ管理テーブル(図8)の「フレームレート」の項目を参照し、フレーム画像データの各々についてそのフレームレートがフルレート(30fps )であるか否かをステップ11cで判定する。この判定の結果フルレートであれば、ステップ11dにより当該フルレートのデータのデータ量を順次累積加算する。そして、記憶管理テーブルで管理されている全てのフレーム画像データについて上記処理が終わったことをステップ11aで確認すると、CPU11は仮想領域VA における全記憶データ量の計算処理を終了する。   FIG. 10 is a flowchart showing the processing contents for calculating the total amount of data stored in the virtual areas VA and VB. When determining the free capacity of the virtual area VA, the CPU 11 first refers to the item “frame rate” of the stored data management table (FIG. 8) in step 11b, and the frame rate of each frame image data is the full rate (30 fps). It is determined in step 11c whether or not. If the result of this determination is the full rate, the data amount of the full rate data is sequentially accumulated and added in step 11d. When it is confirmed in step 11a that the above processing has been completed for all the frame image data managed in the storage management table, the CPU 11 ends the calculation processing of the total storage data amount in the virtual area VA.

次にCPU11は、上記仮想領域VA における全記憶データ量の計算結果に基づいて、ステップ10cにより仮想領域VA に空き領域があるか否かを判定する。この判定の結果、上記圧縮符号化されたフレーム画像データを記憶するために必要な空き容量が上記仮想領域VA に存在することを確認すると、ステップ10kに移行してここで上記仮想領域VA 内の空き領域に上記圧縮符号化されたフレーム画像データを記憶させる。そして、この記憶処理の終了後に、ステップ10lにおいて上記新たに記憶されたフレーム画像データの管理情報を生成し、この生成された管理情報を記憶管理テーブル(図8)に追加記憶する。上記管理情報には、先に述べたようにフレーム番号、先頭記憶アドレス及び末尾記憶アドレス、データ長、記録時刻、レート変更の有無、及びフレームレート(fps)が含まれる。   Next, the CPU 11 determines whether or not there is a free area in the virtual area VA in step 10c based on the calculation result of the total storage data amount in the virtual area VA. As a result of this determination, if it is confirmed that the free space necessary for storing the compression-encoded frame image data exists in the virtual area VA, the process proceeds to step 10k, where the virtual area VA The compression-encoded frame image data is stored in an empty area. Then, after the storage process is completed, management information of the newly stored frame image data is generated in step 101, and the generated management information is additionally stored in the storage management table (FIG. 8). As described above, the management information includes a frame number, a head storage address and a tail storage address, data length, recording time, presence / absence of rate change, and frame rate (fps).

一方、上記圧縮符号化されたフレーム画像データを記憶するための空き容量が上記仮想領域VA に存在しなかったとする。この場合CPU11はステップ10dに移行し、記憶管理テーブルの管理情報をもとに、仮想領域VA に記憶されたフレーム画像データの中から記録時刻が最も古いフレーム画像データを選択する。そして、この選択された最古のフレーム画像データについて当該データが保存対象フレームであるか否かを判定し、空き領域としての認知処理またはフレームレートの変更処理を実行する。   On the other hand, it is assumed that there is no free space in the virtual area VA for storing the compression-encoded frame image data. In this case, the CPU 11 proceeds to step 10d and selects the frame image data with the oldest recording time from the frame image data stored in the virtual area VA based on the management information in the storage management table. Then, with respect to the selected oldest frame image data, it is determined whether or not the data is a frame to be saved, and recognition processing as a free area or frame rate change processing is executed.

すなわち、先ずステップ10eにおいて、上記最古のフレーム画像データが保存対象フレームであるか否かを判定する。保存対象フレームであるか否かは、予め設定されたフレーム間引き率により決まる。例えば、間引き率が1/2であれば保存対象のフレームは1フレームおきに設定される。上記ステップ10eにおいて上記最古のフレーム画像データが保存対象フレームでないと判定されると、CPU11はステップ10kに移行して当該最古のフレーム画像データが記憶されていた領域に新たに取得されたフレーム画像データを記憶する。そして、ステップ10lにおいて、上記新たに記憶されたフレーム画像データの管理情報を記憶管理テーブルに記憶する。   That is, first, in step 10e, it is determined whether or not the oldest frame image data is a storage target frame. Whether or not the frame is a storage target frame is determined by a preset frame thinning rate. For example, if the thinning rate is ½, the frames to be stored are set every other frame. When it is determined in step 10e that the oldest frame image data is not a frame to be saved, the CPU 11 proceeds to step 10k and newly acquired in the area where the oldest frame image data is stored. Store image data. In step 101, the management information of the newly stored frame image data is stored in the storage management table.

これに対し上記ステップ10eにおいて上記最古のフレーム画像データが保存対象フレームであると判定されると、CPU11はステップ10fに移行してここで当該保存対象フレームの管理情報を更新する。例えば、いまフレーム画像データfa1が最古のフレーム画像データとして選択され、かつ当該データが保存対象フレームであれば、図8に示すように当該フレーム画像データに対応する管理情報のフレームレートが「15」に更新され、かつレート変更の有無が「無」から「有」に更新される。   On the other hand, if it is determined in step 10e that the oldest frame image data is a storage target frame, the CPU 11 proceeds to step 10f and updates the management information of the storage target frame. For example, if the frame image data fa1 is selected as the oldest frame image data and the data is a frame to be saved, the frame rate of the management information corresponding to the frame image data is “15” as shown in FIG. And the rate change presence / absence is updated from “No” to “Yes”.

続いてCPU11は、ステップ10gにおいて、今度は仮想領域VB の全記憶データ量の計算処理を行う。この計算処理も、先に述べた仮想領域VA に対する計算処理と同じく図10に示した手順により行われる。そうして仮想領域VB の全記憶データ量の計算結果が得られると、CPU11はこの計算結果をもとに仮想領域VB に取得データを記憶するために必要な空き容量が存在するか否かをステップ10hにより判定する。この判定の結果、空き容量が存在することが確認されると、CPU11はステップ10jに移行してここで上記仮想領域VB 内の空き領域に上記取得データを記憶させる。そして、この記憶処理の終了後に、ステップ10lにおいて上記新たな記憶されたフレーム画像データの管理情報を生成し、この生成された管理情報を記憶管理テーブルに追加記憶する。   Subsequently, in step 10g, the CPU 11 performs a calculation process of the total storage data amount of the virtual area VB. This calculation process is also performed according to the procedure shown in FIG. 10 in the same manner as the calculation process for the virtual area VA described above. When the calculation result of the total storage data amount in the virtual area VB is obtained in this way, the CPU 11 determines whether or not there is a free capacity necessary for storing the acquired data in the virtual area VB based on the calculation result. The determination is made at step 10h. As a result of this determination, if it is confirmed that there is a free capacity, the CPU 11 proceeds to step 10j and stores the acquired data in the free area in the virtual area VB. Then, after the storage process is completed, management information of the newly stored frame image data is generated in step 101, and the generated management information is additionally stored in the storage management table.

一方、上記ステップ10hにおいて、仮想領域VB に空き容量が存在しないと判定されたとする。この場合CPU11はステップ10iに移行し、ここで仮想領域VB に記憶されたフレーム画像データの中から記録時刻が最も古いフレーム画像データを選択する。そして、ステップ10jに移行して、上記選択されたフレーム画像データの記憶領域に取得データを記憶し、この取得データの記憶終了後にステップ10lにて管理情報を更新する。
以後同様に、フレーム画像データが受信されるごとに上記処理が繰り返し実行される。
On the other hand, in step 10h, it is determined that there is no free space in the virtual area VB. In this case, the CPU 11 proceeds to step 10i where the frame image data with the oldest recording time is selected from the frame image data stored in the virtual area VB. Then, the process proceeds to step 10j, where the acquired data is stored in the storage area of the selected frame image data, and the management information is updated in step 101 after the storage of the acquired data is completed.
Thereafter, similarly, the above processing is repeatedly executed every time frame image data is received.

以上述べたように第2の実施形態では、データ記憶領域に空きがなくなった場合に、記憶管理テーブル上において、空き領域としての認知処理またはフレームレートの変更処理を行うことによりフレーム画像データを間接的に間引き処理し、この間引き処理により実質的に空きとなった領域に新たな画像データをフレーム単位で記憶するようにしている。
したがって、管理情報の変更により間引き処理を含む画像データの延長保存処理を行えるようになり、これによりデータ記憶領域における画像データの物理的な移動処理が不要になって、その分処理手順を削減して処理の簡単化及び高速化を図ることができる。
As described above, in the second embodiment, when there is no more free space in the data storage area, the frame image data is indirectly obtained by performing recognition processing as a free space or frame rate change processing on the storage management table. Therefore, new image data is stored in units of frames in an area that is substantially freed by the thinning process.
Therefore, it becomes possible to perform extended storage processing of image data including thinning processing by changing management information, which eliminates the need for physical movement processing of image data in the data storage area, thereby reducing the processing procedure accordingly. Thus, the processing can be simplified and speeded up.

(その他の実施形態)
前記各実施形態では、画像符号化方式としてJPEG(Joint Photographic Experts Group)方式を採用した場合を例にとって説明した。しかし、それに限らずMPEG(Motion Picture Experts Group)方式を採用した場合にもこの発明は適用可能である。
MPEG方式により符号化された画像データは、Iフレーム(MPEG1/2ではIピクチャ、MPEG4ではI−VOPと呼称される)と、これに続く複数のPフレーム(MPEG1/2ではPピクチャ、MPEG4ではP−VOPと呼称される)とから構成される。したがって、このような符号化データを前記各実施形態と同様に単純にフレーム単位で間引き処理しようとすると、Iフレームが削除されてデータが再生できなくなるおそれがある。
(Other embodiments)
In each of the above embodiments, the case where the JPEG (Joint Photographic Experts Group) method is adopted as the image encoding method has been described as an example. However, the present invention is not limited to this, and the present invention can be applied to a case where an MPEG (Motion Picture Experts Group) system is adopted.
Image data encoded by the MPEG system is composed of an I frame (I picture in MPEG1 / 2, called I-VOP in MPEG4), and a plurality of P frames (P picture in MPEG1 / 2, MPEG4). (Referred to as P-VOP). Therefore, if such encoded data is simply thinned out in units of frames as in the above embodiments, the I frame may be deleted and data may not be reproduced.

そこで、MPEG方式を採用している場合の間引き方式としては、
(1)Iフレームを残してPフレームを後ろから選択的に削除する方式(削除する1または複数のPフレームは間引かずに連続的に選択する)。
(2)目的フレームの位置でIフレームを作成し、その前後のPフレームを削除する方式。
のいずれかを採用する。
Therefore, as a thinning method when the MPEG method is adopted,
(1) A method of selectively deleting P frames from behind while leaving I frames (one or more P frames to be deleted are selected continuously without being thinned).
(2) A method of creating an I frame at the position of the target frame and deleting P frames before and after the I frame.
Adopt one of the following.

図11は上記(2)の間引き方式を説明するための図である。同図において、I1 フレームとI2 フレームとの間のP1nフレームを目的フレーム位置とした場合、先ずI1 フレームに対しP11フレームからP1nフレームを順に反映させてP1nフレームの位置におけるI1.5フレームを作成する。そして、この作成されたI1.5フレームを上記P1nフレームに置き換え、しかるのち上記I1 フレームとI2 フレームとの間にあるP11フレーム〜P1mフレームを削除する。このようにすれば、Iフレームを損なうことなく、間引き処理後のデータから間引き処理前のデータを復号再生することが可能となる。   FIG. 11 is a diagram for explaining the thinning method (2). In the figure, when the P1n frame between the I1 frame and the I2 frame is set as the target frame position, the P1n frame to the P1n frame are first reflected on the I1 frame in order to create the I1.5 frame at the position of the P1n frame. . Then, the created I1.5 frame is replaced with the P1n frame, and thereafter, the P11 to P1m frames between the I1 frame and the I2 frame are deleted. In this way, it is possible to decode and reproduce the data before the thinning process from the data after the thinning process without damaging the I frame.

また前記第1及び第2の実施形態では、データ記憶領域に画像データをフルレートで記憶し、その後データ記憶領域に空き領域がなくなった場合に、上記画像データに対し間引き処理を行って情報量を減らしたのち記憶を継続させるようにした。しかし、この発明はそれに限るもものではない。例えば、記憶容量の等しい複数の記憶領域を用意する。そして、受信された画像データを記憶する際に、当該画像データをもとにフレームレートの異なる複数の画像データを生成し、この生成された複数のデータをそれぞれ上記記憶領域に並行して記憶する。例えば、受信された1個の画像データに対し、フルレートのデータと、1/2/レートのデータと、1/4レートのデータを生成し、これら3種類のデータをそれぞれ記憶容量の等しい第1、第2及び第3の記憶領域に記憶する。   In the first and second embodiments, when the image data is stored in the data storage area at the full rate, and thereafter there is no free area in the data storage area, the image data is thinned out to reduce the amount of information. The memory was continued after decreasing. However, the present invention is not limited to this. For example, a plurality of storage areas having the same storage capacity are prepared. When the received image data is stored, a plurality of image data having different frame rates are generated based on the image data, and the generated plurality of data are stored in parallel in the storage area. . For example, full-rate data, 1/2 / rate data, and 1 / 4-rate data are generated for one piece of received image data, and these three types of data have the same storage capacity. , Stored in the second and third storage areas.

このように構成すると、第1の記憶領域には保存期間は短いが比較的新しい画像データが高品質の状態で記憶され、一方第3の記憶領域には品質は低下するが古い画像データを長期間にわたり保存することが可能となる。また第2の記憶領域には、中程度の品質の画像データを必要十分な期間にわたり記憶することができる。しかも、このような構成を採用すると、記憶後において画像データの物理的な移動やアドレスの変更処理が不要となり、これにより画像データの記憶管理制御をさらに簡単化することができる。また、画像データを再生する際に記憶領域を選択することで、希望するレートの画像データを選択的に再生することができる。   With this configuration, the first storage area has a short storage period but relatively new image data is stored in a high quality state, while the third storage area has lower quality but the old image data is longer. It can be stored for a period of time. In the second storage area, medium quality image data can be stored for a necessary and sufficient period. In addition, when such a configuration is adopted, it is not necessary to perform physical movement of image data or address change processing after storage, thereby further simplifying image data storage management control. Also, by selecting a storage area when reproducing image data, it is possible to selectively reproduce image data at a desired rate.

さらに、前記各実施形態では、全てのフレームの情報サイズを同一サイズと仮定するか、或いはデータ記憶領域に1フレームの最大情報サイズに相当する複数のフレーム記憶エリアを固定的に設定し、これらのフレーム記憶エリアに、新たに入力された画像データのフレームの記憶や保存対象フレームの移動を行う場合について説明した。しかし、画像符号化方式によっては各フレームの情報サイズが常に一定になるとは限らない。この場合、新たに入力された画像データのフレームや保存対象フレームを、上記サイズが固定されたフレーム記憶エリアに記憶または移動しようとすると、余剰領域が発生したり反対に記憶領域が不足する場合がある。   Further, in each of the above embodiments, it is assumed that the information size of all frames is the same size, or a plurality of frame storage areas corresponding to the maximum information size of one frame are fixedly set in the data storage area, A case has been described in which a frame of newly input image data is stored in the frame storage area and a frame to be saved is moved. However, depending on the image encoding method, the information size of each frame is not always constant. In this case, if an attempt is made to store or move a newly input frame of image data or a frame to be stored in the frame storage area having the fixed size, a surplus area may be generated or conversely, the storage area may be insufficient. is there.

そこで、先ず余剰領域が発生した場合には、非監視時間帯を利用して、或いは画像データの記憶処理動作と並行して、データ記憶領域に対するデフラグメンテーション処理を実行するとよい。一方記憶領域が1個のフレーム記憶エリアでは不足する場合には、新たに入力された画像データのフレームや保存対象フレームを、複数のフレーム記憶エリアに跨って記憶するように制御する。そして、この複数のフレーム記憶エリアへの記憶の結果余剰記憶領域が発生した場合には、上記したようにデフラグメンテーション処理を実行する。以上のようにすれば、フレームの情報サイズが可変長の場合においても、確実でかつ効率的なメモリ領域管理が可能となる。   Therefore, first, when a surplus area is generated, the defragmentation process for the data storage area may be executed using the non-monitoring time zone or in parallel with the image data storage processing operation. On the other hand, when the storage area is insufficient in one frame storage area, control is performed so that a frame of newly input image data and a frame to be saved are stored across a plurality of frame storage areas. When an excess storage area is generated as a result of storage in the plurality of frame storage areas, the defragmentation process is executed as described above. In this way, reliable and efficient memory area management can be performed even when the frame information size is variable.

さらに、前記実施形態では間引き処理後の画像データを再生する際に、各フレームの再生タイミングをその記録時刻をもとに間引き処理前の画像データの速度に対応するように調整するようにしたが、再生タイミングを調整せずにあえてそのまま再生するようにしてもよい。このようにすると、古いデータについては自動的に早送り再生されることになり、この結果過去の古いデータの再閲覧を短時間に行うことが可能となる。   Furthermore, in the embodiment, when reproducing the image data after the thinning process, the reproduction timing of each frame is adjusted based on the recording time so as to correspond to the speed of the image data before the thinning process. Alternatively, playback may be performed without adjusting the playback timing. In this way, old data is automatically fast-forwarded and replayed, and as a result, past old data can be re-viewed in a short time.

さらに、記憶された画像データを再生する際には、その管理情報をもとに記録時刻は勿論のこと、レート変更の有無やフレームレートを表すキャラクタデータを画像データに重畳するか、または画像データとは別の表示エリアを設けてこのエリアに表示するようにしてもよい。また、フレームレートについては、キャラクタデータを用いる代わりに、画像データの背景色または表示枠の色を異ならせることで表示するようにしてもよい。   Furthermore, when the stored image data is reproduced, not only the recording time but also the character data representing the presence / absence of the rate change and the frame rate are superimposed on the image data based on the management information, or the image data A separate display area may be provided and displayed in this area. The frame rate may be displayed by changing the background color of the image data or the color of the display frame instead of using the character data.

さらに、データ記憶領域に記憶されている複数の画像データをサムネール形式に編集して一覧表示することもでき、その際フレームレートの違いを上記キャラクタデータまたは色を異ならせることにより表示するようにしてもよい。このようにすると、記憶されている複数の画像データをサムネール形式で一覧表示する際に、各画像データのフレームレートを一目で確認することが可能となる。   Furthermore, a plurality of image data stored in the data storage area can be edited and displayed in a thumbnail format, and the difference in frame rate can be displayed by changing the character data or color. Also good. In this way, when displaying a list of a plurality of stored image data in the thumbnail format, the frame rate of each image data can be confirmed at a glance.

前記第1の実施形態では、データ記憶領域に3個の記憶領域EA ,EB ,EC を設け、古い画像データから順に記憶領域EA から記憶領域EB へ、さらに記憶領域EB から記憶領域EC へと、間引きしながら記憶場所を移動させる場合を例にとって説明した。しかしこれに限るものではなく、記憶領域を2個にしてもよく、また4個以上にしてもよい。また、上記複数の記憶領域は同一記憶装置上または同一記憶媒体上に設ける以外に、例えば異なるサーバや端末の記憶装置に分散して設けてもよく、さらには異なる複数の記憶媒体に分散して設けてもよい。同様に、前記第2の実施形態においては2個の仮記憶領域VA ,VB を定義した場合を例にとって説明したが、仮記憶領域は3個以上設定してもよい。   In the first embodiment, three storage areas EA, EB, and EC are provided in the data storage area. From the oldest image data, the storage area EA is changed to the storage area EB, and the storage area EB is changed to the storage area EC. The case where the memory location is moved while thinning out has been described as an example. However, the present invention is not limited to this, and the number of storage areas may be two, or four or more. In addition to providing the plurality of storage areas on the same storage device or the same storage medium, for example, they may be distributed in storage devices of different servers or terminals, and further distributed in different storage media. It may be provided. Similarly, in the second embodiment, the case where two temporary storage areas VA and VB are defined has been described as an example, but three or more temporary storage areas may be set.

さらに前記各実施形態では、監視システムにおいて監視カメラにより得られる画像データを監視サーバ装置のデータベースに記憶する構成例を示したが、他の構成例として例えばディジタルカメラまたはビデオカメラにより得られる画像データ(静止画及び動画を含む)をディジタルカメラ内の記憶部に記憶するような構成においても、この発明を適用することが可能である。   Further, in each of the above embodiments, the configuration example in which the image data obtained by the surveillance camera in the surveillance system is stored in the database of the surveillance server device has been shown. However, as another configuration example, for example, the image data ( The present invention can also be applied to a configuration in which (including still images and moving images) is stored in a storage unit in the digital camera.

また、記憶領域間で画像データの記憶場所を移動させる際の間引き率は1/2に限らず1/3以上でもよく、さらに受信される画像データの数に応じて適応的に可変するようにしてもよい。さらに、画像データの情報品質を低下させる手法としては、フレーム単位の間引き処理以外に画素単位での間引き処理を用いてもよい。   Further, the thinning rate when moving the storage location of the image data between the storage areas is not limited to 1/2, and may be 1/3 or more, and may be adaptively changed according to the number of received image data. May be. Furthermore, as a method for reducing the information quality of image data, thinning processing in units of pixels may be used in addition to thinning out processing in units of frames.

さらに前記各実施形態では、奇数番目のフレームを保存対象フレームとし、偶数番目のフレームを間引き対象フレームとした。しかし、監視システムにおいては、例えば異常が検出されたフレームとその前後の所定数のフレームを保存対象フレームとし、その他の各フレームの中で間欠的に間引き処理を行うようにするとよい。このようにすると、異常が検出されたフレームを確実に保存することが可能となる。   Further, in each of the above embodiments, the odd-numbered frame is a storage target frame, and the even-numbered frame is a thinning target frame. However, in the monitoring system, for example, a frame in which an abnormality is detected and a predetermined number of frames before and after the frame are set as the storage target frames, and the thinning process may be intermittently performed in the other frames. In this way, it is possible to reliably save a frame in which an abnormality is detected.

さらに前記第1の実施形態では、各記憶領域EA ,EB ,EC の中で記録時刻が最も古いフレームから順に選択して間引き処理を行ったのち下層の記憶領域へ移動させるようにしたが、必ずしも記録時刻が最も古いフレームから選択する必要はなく、また記録時刻に関係なくランダムに選択するようにしてもよい。これは、前記第2の実施形態についても同様である。   Furthermore, in the first embodiment, the frames having the oldest recording times are selected in order from the storage areas EA, EB, and EC, and after the thinning process is performed, they are moved to the lower storage area. It is not necessary to select from the frame with the oldest recording time, and it may be selected randomly regardless of the recording time. The same applies to the second embodiment.

さらに前記実施形態では、監視システムにおいて監視カメラにより得られる画像データを記録する場合を例にとって説明したが、画像データに限らず測定データや資料データ、各種計算データ等を記録する場合にも、この発明は適用可能である。
その他、データ記録装置の構成、データ記憶制御、アドレス管理制御及びデータ再生制御の手順と内容、データの種類などについても、この発明の要旨を逸脱しない範囲で種々変形して実施できる。
Furthermore, in the above-described embodiment, the case where image data obtained by a monitoring camera is recorded in the monitoring system has been described as an example. However, not only image data but also measurement data, document data, various calculation data, and the like are recorded. The invention is applicable.
In addition, the configuration of the data recording apparatus, data storage control, address management control and data reproduction control procedures and contents, data types, and the like can be variously modified without departing from the scope of the present invention.

要するにこの発明は、上記各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記各実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   In short, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.

この発明に係わる監視システムの第1の実施形態を示す概略構成図。BRIEF DESCRIPTION OF THE DRAWINGS The schematic block diagram which shows 1st Embodiment of the monitoring system concerning this invention. 図1に示す監視システムにおいて監視データ記録装置の構成を示すブロック図。The block diagram which shows the structure of the monitoring data recording apparatus in the monitoring system shown in FIG. 図2に示す監視データ記録装置に設けられるデータベースの監視データ記憶領域の構成を示す図。The figure which shows the structure of the monitoring data storage area of the database provided in the monitoring data recording apparatus shown in FIG. 図3に示した監視データ記憶領域に対するデータの記憶制御動作を説明するための図。The figure for demonstrating the storage control operation | movement of the data with respect to the monitoring data storage area shown in FIG. 図2に示す監視データ記録装置に設けられる記憶領域管理テーブルの構成を示す図。The figure which shows the structure of the storage area management table provided in the monitoring data recording apparatus shown in FIG. 図2に示す監視データ記録装置によるデータ記憶制御の手順と内容を示すフローチャート。The flowchart which shows the procedure and content of the data storage control by the monitoring data recording device shown in FIG. この発明の第2の実施形態に係わる監視データ記録装置に設けられるデータ記憶領域の構成を示す図。The figure which shows the structure of the data storage area provided in the monitoring data recording device concerning 2nd Embodiment of this invention. この発明の第2の実施形態に係わる監視データ記録装置に設けられる記憶管理テーブルに記憶される管理情報の一例を示す図。The figure which shows an example of the management information memorize | stored in the memory | storage management table provided in the monitoring data recording apparatus concerning 2nd Embodiment of this invention. この発明の第2の実施形態に係わる監視データ記録装置によるデータ記憶制御の手順と内容を示すフローチャート。The flowchart which shows the procedure and content of the data storage control by the monitoring data recording device concerning 2nd Embodiment of this invention. 図9に示したフローチャートにおける記憶データ量の計算手順とその内容を示すフローチャート。The flowchart which shows the calculation procedure of the memory | storage data amount in the flowchart shown in FIG. 9, and its content. この発明の他の実施形態に係わる監視データ記録装置におけるフレーム間引き方式を説明するための図。The figure for demonstrating the frame thinning-out system in the monitoring data recording device concerning other embodiment of this invention.

符号の説明Explanation of symbols

CM1〜CMr…監視カメラ、SV…監視サーバ装置、DB…データベース、PC1〜PCk…固定端末、MS1〜MSj…移動通信端末、NW…通信ネットワーク、11…CPU、12…バス、13…プログラムメモリ、131…データ記憶制御プログラム、132…データ記憶管理プログラム、133…データ再生制御プログラム、14…画像エンコーダ、15…画像デコーダ、16…データベースインタフェース、17…ネットワークインタフェース、18…入出力インタフェース、19…シリアル通信インタフェース、20…入力部、21…表示部。   CM1 to CMr ... surveillance camera, SV ... surveillance server device, DB ... database, PC1-PCk ... fixed terminal, MS1-MSj ... mobile communication terminal, NW ... communication network, 11 ... CPU, 12 ... bus, 13 ... program memory, DESCRIPTION OF SYMBOLS 131 ... Data storage control program, 132 ... Data storage management program, 133 ... Data reproduction control program, 14 ... Image encoder, 15 ... Image decoder, 16 ... Database interface, 17 ... Network interface, 18 ... Input / output interface, 19 ... Serial Communication interface 20... Input unit 21.

Claims (2)

時系列で入力される複数のデータを記憶媒体に順次記憶するデータ記録装置において、
前記入力されたデータを第1の品質で前記記憶媒体に記憶する第1の手段と、
前記記憶媒体に記憶されたデータ量が予め定められた上限値に達した場合に、前記記憶媒体に記憶されたデータを前記第1の品質より低い第2の品質に変換して記憶を継続する第2の手段と、
前記品質の変換により生成された空き領域に、新たに入力されたデータを前記第1の品質で記憶する第3の手段と
を具備することを特徴とするデータ記録装置。
In a data recording apparatus for sequentially storing a plurality of data input in time series in a storage medium,
First means for storing the input data in the storage medium with a first quality;
When the amount of data stored in the storage medium reaches a predetermined upper limit, the data stored in the storage medium is converted to a second quality lower than the first quality and the storage is continued. A second means;
3. A data recording apparatus comprising: a third means for storing newly input data with the first quality in an empty area generated by the quality conversion.
前記記憶媒体のデータ記憶領域が第1の記憶領域と第2の記憶領域とから構成される場合に、
前記第1の手段は、前記入力されたデータを第1の品質で前記第1の記憶領域に記憶し、
前記第2の手段は、前記第1の記憶領域に記憶されたデータ量が予め定められた上限値に達した場合に、当該第1の記憶領域に記憶された第1の品質のデータを読み出して第2の品質のデータに変換し、この第2の品質のデータを前記第2の記憶領域に移動させ、
前記第3の手段は、前記第2の記憶領域へのデータの移動により前記第1の記憶領域に生成された空き領域に、新たに入力されたデータを前記第1の品質で記憶することを特徴とする請求項1記載のデータ記憶装置。
When the data storage area of the storage medium is composed of a first storage area and a second storage area,
The first means stores the input data in the first storage area with a first quality,
The second means reads the first quality data stored in the first storage area when the amount of data stored in the first storage area reaches a predetermined upper limit value. The second quality data, and move the second quality data to the second storage area,
The third means stores the newly input data with the first quality in the empty area generated in the first storage area by moving the data to the second storage area. The data storage device according to claim 1, wherein:
JP2004303252A 2004-10-18 2004-10-18 Data recording device Expired - Fee Related JP4116604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004303252A JP4116604B2 (en) 2004-10-18 2004-10-18 Data recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004303252A JP4116604B2 (en) 2004-10-18 2004-10-18 Data recording device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008062968A Division JP4327221B2 (en) 2008-03-12 2008-03-12 Data recording device

Publications (2)

Publication Number Publication Date
JP2006115412A true JP2006115412A (en) 2006-04-27
JP4116604B2 JP4116604B2 (en) 2008-07-09

Family

ID=36383507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004303252A Expired - Fee Related JP4116604B2 (en) 2004-10-18 2004-10-18 Data recording device

Country Status (1)

Country Link
JP (1) JP4116604B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008015798A (en) * 2006-07-06 2008-01-24 Hitachi Kokusai Electric Inc Video transmitter
JP2008193598A (en) * 2007-02-07 2008-08-21 Mitsubishi Electric Corp Video recording and reproducing apparatus
JP2009296382A (en) * 2008-06-05 2009-12-17 Fujifilm Corp Image processing system, image processing method, and program
US7880774B2 (en) 2005-04-28 2011-02-01 Kabushiki Kaisha Toshiba Image recording apparatus and method
KR101018549B1 (en) 2008-03-18 2011-03-03 가시오게산키 가부시키가이샤 Imaging apparatus, imaging mehtod and recording medium having imaging program recorded
CN113468129A (en) * 2020-03-31 2021-10-01 横河电机株式会社 Data management system, data management method, and recording medium having data management program recorded thereon

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7880774B2 (en) 2005-04-28 2011-02-01 Kabushiki Kaisha Toshiba Image recording apparatus and method
JP2008015798A (en) * 2006-07-06 2008-01-24 Hitachi Kokusai Electric Inc Video transmitter
JP2008193598A (en) * 2007-02-07 2008-08-21 Mitsubishi Electric Corp Video recording and reproducing apparatus
KR101018549B1 (en) 2008-03-18 2011-03-03 가시오게산키 가부시키가이샤 Imaging apparatus, imaging mehtod and recording medium having imaging program recorded
JP2009296382A (en) * 2008-06-05 2009-12-17 Fujifilm Corp Image processing system, image processing method, and program
CN113468129A (en) * 2020-03-31 2021-10-01 横河电机株式会社 Data management system, data management method, and recording medium having data management program recorded thereon
EP3889795A1 (en) 2020-03-31 2021-10-06 Yokogawa Electric Corporation Data management system, data management method, and recording medium with data management program recorded thereon
US11411576B2 (en) 2020-03-31 2022-08-09 Yokogawa Electric Corporation Data management system, data management method, and storage medium with data management program stored thereon

Also Published As

Publication number Publication date
JP4116604B2 (en) 2008-07-09

Similar Documents

Publication Publication Date Title
US8437623B2 (en) Recording apparatus and method
US20070252897A1 (en) Image capturing apparatus and method, and recording medium therefor
JP2002305713A (en) Image processing unit and its method, and storage medium
JP4317234B2 (en) Image display control device, image display control method, and image display control program
JP4327221B2 (en) Data recording device
KR100763699B1 (en) Information processing apparatus, information managing method and medium
JP4116604B2 (en) Data recording device
JP5683301B2 (en) Image recording device
JP4405860B2 (en) Control device for controlling image processing apparatus
JP2008310889A (en) Recording and reproducing device
JP2005151173A (en) Moving picture recording reproducing apparatus, moving picture reproducer and moving picture reproducing method
JP4458785B2 (en) Image management device
JP2012165050A (en) Video recording device and information processing device
US20040086262A1 (en) Video data reproducing system and method
JP2007174686A (en) Image data recording apparatus and image data recording method
WO2000025312A1 (en) Information recording method and system, image compression/decompression system, system control method, and monitoring system including part or all of them
JP2017112455A (en) Information processing unit
JP2009140233A (en) Video recording apparatus and monitoring system
JP2007049634A (en) Reproducing apparatus and reproducing method
JP2003209786A (en) System and method for preparing record of event based on image from multiple image capture devices
KR20090015863A (en) Information processing system, recording apparatus, portable device, information processing method, and program
JP3933103B2 (en) Image data recording apparatus and image data recording method
JP2006094543A (en) Method and apparatus recording digital data comprising image data
JP3840125B2 (en) Image processing device
JP2014096194A (en) Recording device and recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080312

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080417

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4116604

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140425

Year of fee payment: 6

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