JP5299462B2 - Video data storage device and video data storage method - Google Patents

Video data storage device and video data storage method Download PDF

Info

Publication number
JP5299462B2
JP5299462B2 JP2011076510A JP2011076510A JP5299462B2 JP 5299462 B2 JP5299462 B2 JP 5299462B2 JP 2011076510 A JP2011076510 A JP 2011076510A JP 2011076510 A JP2011076510 A JP 2011076510A JP 5299462 B2 JP5299462 B2 JP 5299462B2
Authority
JP
Japan
Prior art keywords
image data
written
partition
video data
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.)
Active
Application number
JP2011076510A
Other languages
Japanese (ja)
Other versions
JP2011160465A (en
Inventor
靖 梅崎
剛 三浦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2011076510A priority Critical patent/JP5299462B2/en
Publication of JP2011160465A publication Critical patent/JP2011160465A/en
Application granted granted Critical
Publication of JP5299462B2 publication Critical patent/JP5299462B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ビデオデータを保管するための装置及び方法に、関する。   The present invention relates to an apparatus and method for storing video data.

周知のように、既存の通信インフラを利用して遠隔監視システムを構築する事例がある。この事例においては、各監視地点に監視カメラが設置され、それら監視カメラは、エンコーダと通信インフラとデコーダとを順に介して本部のモニタやコンピュータに、接続される。監視カメラが生成するビデオデータは、エンコーダによって通信規約に従った形態に変換されてデコーダに送られ、モニタやコンピュータが、デコーダから渡されたビデオデータに基づいて映像を表示したりデータベースに蓄積したりする。   As is well known, there is a case where a remote monitoring system is constructed using an existing communication infrastructure. In this case, a monitoring camera is installed at each monitoring point, and these monitoring cameras are connected to a head office monitor and a computer through an encoder, a communication infrastructure, and a decoder in this order. The video data generated by the surveillance camera is converted into a format according to the communication protocol by the encoder and sent to the decoder. The monitor or computer displays video based on the video data passed from the decoder or stores it in the database. Or

ところで、既存の通信インフラによっては、高い通信速度を得られない場合がある。この場合、全ての監視カメラからビデオデータを本部のコンピュータに常時送信する運用形態を採っていると、トラフィックが集中して輻輳状態となってしまう。このため、遠隔監視システムの中には、通常の状態ではビデオデータの送信は行わずに現地の記憶装置に蓄積しておいて、何らかの事象が発生した場合に、その発生時から所定時間遡った時点までのビデオデータを、本部のコンピュータに送信するという運用形態をとっているものがある。この運用形態によれば、ネットワークに負荷を掛けることなく、遠隔監視システムを構築できるようになる。   By the way, high communication speed may not be obtained depending on the existing communication infrastructure. In this case, if an operation mode is employed in which video data is constantly transmitted from all surveillance cameras to the computer at the headquarters, traffic is concentrated and a congestion state occurs. For this reason, some remote monitoring systems do not transmit video data in a normal state, but store them in a local storage device, and if some event occurs, they go back a predetermined time from the time of occurrence. There is an operation form in which video data up to a point in time is transmitted to a computer at the headquarters. According to this operation mode, a remote monitoring system can be constructed without imposing a load on the network.

特開2001−339677号公報JP 2001-339677 A 特許第2807456号Japanese Patent No. 2807456

前述したようなネットワーク負荷を抑えた運用形態において、監視カメラのビデオデータが蓄積される記憶装置には、エンドレスなビデオカセットテープにデータを記録する装置や、デジタルビデオデータに変換してHDD[Hard Disk Drive]に記録する装置が採
用される。
In the operation mode in which the network load is suppressed as described above, the storage device for storing the video data of the surveillance camera may be a device for recording data on an endless video cassette tape, a HDD [Hard A device that records to [Disk Drive] is employed.

しかしながら、エンドレステープには、連続使用による画質の劣化やテープ自体の延伸,及び、無休駆動による可動部分のガタ付きなど、耐久性に問題がある。このため、管理者は、各地に赴いてエンドレステープを交換するという作業を、頻繁に行わねばならなかった。   However, endless tapes have problems in durability, such as deterioration in image quality due to continuous use, stretching of the tape itself, and backlash of movable parts due to continuous driving. For this reason, the administrator had to frequently go to various places and change the endless tape.

一方、HDDの中には、24時間無休の連続駆動が保証されている非常に高価なものもある。しかし、HDDは精密機器であるが故、価格の高低に拘わらず、気温や振動や塵埃などの設置環境により動作不良が生ずるという問題がある。このため、管理者は、折角既存の通信インフラを利用してネットワーク敷設費用を抑えていても、空調設備などの整った特殊な環境下にHDDを設置するという多大な費用を、掛けねばならなかった。   On the other hand, some HDDs are very expensive and are guaranteed to be continuously driven 24 hours a day. However, since the HDD is a precision device, there is a problem that operation failure occurs depending on the installation environment such as temperature, vibration, and dust regardless of the price. For this reason, even if the administrator uses the existing communication infrastructure to reduce the cost of laying the network, the administrator has to spend a great deal of money to install the HDD in a special environment that is equipped with air conditioning equipment. It was.

本発明は、前述したような従来技術の有する問題点に鑑みてなされたものであり、その課題は、カメラが連続的に生成するビデオデータのうち記録時から所定時間前までの部分を現地で保管する運用形態を採る場合において、記録媒体の交換を頻繁に行わなくて済み、尚且つ、設置環境による動作不良が生じないようにすることにある。   The present invention has been made in view of the problems of the prior art as described above, and the problem is that the portion of video data continuously generated by the camera from the time of recording to a predetermined time before is recorded locally. In the case of adopting a storage operation mode, it is not necessary to frequently exchange recording media, and to prevent malfunction due to the installation environment.

開示のビデオデータ保管装置は、上記課題を解決するために、以下の手段を採用する。   The disclosed video data storage apparatus employs the following means in order to solve the above-described problems.

即ち、第1の態様は、
フラッシュメモリとSDRAMとから構成されるビデオデータ保管装置であって、
フラッシュメモリからなる記憶媒体の全記憶領域を均等に区分することによって、容量が互いに等しい区画をその記憶領域上に複数定義する区画定義部,
ビデオデータを構成するイメージデータが入力されるたびに、そのイメージデータに時刻情報を付加して前記記憶領域における最も古いイメージデータが格納されている区画に書き込む格納部,及び、
前記格納部が何れかの区画にイメージデータを書き込むたびに、その区画に書き込まれた時刻情報とその区画の前記記憶領域内での所在位置を示す情報とを対応付けて前記SDRAMに記憶する記憶部
を備えることを特徴とするビデオデータ保管装置である。
That is, the first aspect is
A video data storage device comprising a flash memory and an SDRAM,
A partition definition unit for defining a plurality of partitions having the same capacity on the storage area by equally partitioning the entire storage area of the storage medium including the flash memory;
A storage unit for adding time information to the image data and writing it to a section storing the oldest image data in the storage area each time image data constituting video data is input; and
Each time the storage unit writes image data in any partition, the time information written in the partition is associated with information indicating the location of the partition in the storage area and stored in the SDRAM A video data storage device comprising a unit.

開示の装置によれば、カメラが連続的に生成するビデオデータのうち記録時から所定時間前までの部分を現地で保管する運用形態を採る場合において、記録媒体の交換を頻繁に行わなくて済み、尚且つ、設置環境による動作不良が生じないようになる。   According to the disclosed apparatus, it is not necessary to frequently change the recording medium in the case of adopting an operation mode in which a portion of video data continuously generated by the camera is stored on site from a recording time to a predetermined time before. Moreover, the malfunction due to the installation environment is prevented.

本実施形態の遠隔監視システムの構成図Configuration diagram of remote monitoring system of this embodiment ビデオデータ送信装置の構成図Configuration diagram of video data transmitter 第1及び第2の記憶領域にビデオデータを記録する方法を示す説明図Explanatory drawing which shows the method of recording video data in the 1st and 2nd storage area (a)異常検出前及び(b)異常検出後の第2の記憶領域へのイメージデータの格納状態を示す図The figure which shows the storage state of the image data to the 2nd storage area before (a) abnormality detection and (b) after abnormality detection.

次に、本発明を実施するための最良の形態について、添付図面を参照しながら、詳細に説明する。   Next, the best mode for carrying out the present invention will be described in detail with reference to the accompanying drawings.

先ず、本実施形態の遠隔監視システムの構成について説明する。   First, the configuration of the remote monitoring system of this embodiment will be described.

図1は、本実施形態の遠隔監視システムの構成図である。   FIG. 1 is a configuration diagram of a remote monitoring system according to the present embodiment.

図1に示されるように、本実施形態の遠隔監視システムは、少なくとも一組の監視カメラ10,異常検出センサ20及びビデオデータ送信装置30と、少なくとも一組のビデオデータ受信装置40及びモニタ50とからなる。   As shown in FIG. 1, the remote monitoring system according to the present embodiment includes at least one set of monitoring camera 10, anomaly detection sensor 20 and video data transmitting device 30, and at least one set of video data receiving device 40 and monitor 50. Consists of.

監視カメラ10は、監視対象を撮影してビデオデータを生成する装置であり、監視対象に視野を向けて電柱や家根や壁に設置される。   The monitoring camera 10 is a device that shoots a monitoring target and generates video data. The monitoring camera 10 is installed on a utility pole, a house root, or a wall with a visual field facing the monitoring target.

異常検出センサ20は、監視対象において異常が生じたことを検出するためのセンサである。具体例としては、いわゆる赤外線センサや光電管測定器がある。赤外線センサは、発光素子から出て受光素子に入る赤外線が侵入者によって遮られたときに異常が生じたとして信号を出力するセンサである。光電管測定器は、受発光素子から出て反射板で反射されて再び受発光素子に戻る赤外線が侵入者によって遮られたときに異常が生じたとして信号を出力するセンサである。   The abnormality detection sensor 20 is a sensor for detecting that an abnormality has occurred in the monitoring target. Specific examples include so-called infrared sensors and phototube measuring instruments. The infrared sensor is a sensor that outputs a signal that an abnormality has occurred when the infrared ray that has exited from the light emitting element and entered the light receiving element is blocked by an intruder. The phototube measuring device is a sensor that outputs a signal that an abnormality has occurred when the infrared ray that has exited from the light emitting / receiving element, reflected by the reflecting plate, and returned to the light emitting / receiving element is blocked by an intruder.

ビデオデータ送信装置30は、監視カメラ10が生成したビデオデータに適宜処理を施して一定期間保管するとともに、IP[Internet Protocol]ネットワーク上の図示せぬ
端末装置から要求があった場合に、保管しておいたビデオデータをそのIPネットワークの通信規約に従った通信形態に変換してビデオデータ受信装置40に送信する装置である。なお、このビデオデータ送信装置30の構成については、後述する。このビデオデータ送信装置30は、風雨や塵埃に晒されないないように、所定の筐体内に設置される。
The video data transmitting device 30 performs appropriate processing on the video data generated by the surveillance camera 10 and stores it for a certain period, and stores it when there is a request from a terminal device (not shown) on the IP [Internet Protocol] network. The video data is converted into a communication form according to the communication protocol of the IP network and transmitted to the video data receiving device 40. The configuration of the video data transmission device 30 will be described later. The video data transmitting device 30 is installed in a predetermined housing so as not to be exposed to wind and rain or dust.

ビデオデータ受信装置40は、ビデオデータ送信装置30からIPネットワークを介して受信したビデオデータに適宜処理を施してモニタ50へ出力する装置である。   The video data receiving device 40 is a device that appropriately processes the video data received from the video data transmitting device 30 via the IP network and outputs the processed video data to the monitor 50.

モニタ50は、ビデオデータ受信装置40から入力されたビデオデータに基づいて映像を表示する装置である。   The monitor 50 is a device that displays video based on video data input from the video data receiving device 40.

次に、ビデオデータ送信装置30の構成について説明する。   Next, the configuration of the video data transmission device 30 will be described.

図2は、ビデオデータ送信装置30の構成図である。   FIG. 2 is a configuration diagram of the video data transmission device 30.

図2に示されるように、ビデオデータ送信装置30は、フラッシュROM[Read Only Memory]30a,CPU[Central Processing Unit]30b,SDRAM[Synchronous
Dynamic Random Access Memory]30c,入力インターフェース30d,AD[Analogue Digital]コンバータ30e,MPEG−4[Moving Picture Expert Group 4]ビデオエンコーダ30f,MPEG−2ビデオエンコーダ30g,LAN[Local Area Network]コントローラ30h,PC[Personal Computer]カードコントローラ30iを、内蔵
している。
As shown in FIG. 2, the video data transmitting apparatus 30 includes a flash ROM [Read Only Memory] 30a, a CPU [Central Processing Unit] 30b, and an SDRAM [Synchronous].
Dynamic Random Access Memory] 30c, input interface 30d, AD [Analogue Digital] converter 30e, MPEG-4 [Moving Picture Expert Group 4] video encoder 30f, MPEG-2 video encoder 30g, LAN [Local Area Network] controller 30h, PC [Personal Computer] A card controller 30i is incorporated.

フラッシュROM30aは、当該装置30の機能を発揮するのに必要な各種プログラム及び各種データを記憶する読み出し専用の記憶装置である。CPU30aは、フラッシュROM30a内のプログラムに従って処理を行う制御ユニットである。SDRAM30cは、CPU30bの作業領域が展開される読み書き自在な記憶装置である。入力インターフェース30dは、異常検出センサ20から異常発生の信号を受信すると、その旨をCPU30bに割り込み通知するインターフェースである。   The flash ROM 30a is a read-only storage device that stores various programs and various data necessary for performing the functions of the device 30. The CPU 30a is a control unit that performs processing according to a program in the flash ROM 30a. The SDRAM 30c is a readable / writable storage device in which a work area of the CPU 30b is expanded. When receiving an abnormality occurrence signal from the abnormality detection sensor 20, the input interface 30d is an interface that notifies the CPU 30b of that fact.

ADコンバータ30eは、監視カメラ10が生成したビデオデータをアナログデータからデジタルデータに変換する変換器である。MPEG−4ビデオエンコーダ30fは、ADコンバータ30eがアナログデータに変換したビデオデータをMPEG−4規格に従って圧縮する圧縮器である。MPEG−2ビデオエンコーダ30gは、ADコンバータ30eがアナログデータに変換したビデオデータをMPEG−2規格に従って圧縮する圧縮器である。   The AD converter 30e is a converter that converts video data generated by the surveillance camera 10 from analog data to digital data. The MPEG-4 video encoder 30f is a compressor that compresses video data converted into analog data by the AD converter 30e in accordance with the MPEG-4 standard. The MPEG-2 video encoder 30g is a compressor that compresses video data converted into analog data by the AD converter 30e in accordance with the MPEG-2 standard.

LANコントローラ30hは、IPネットワーク内におけるルータ等の中継装置との間でデータの送受信を行うためのインターフェースである。PCカードコントローラ30iは、PCカード(日本電子工業振興協会及び米国PCメモリーカード国際協会の商標)という拡張カードが着脱自在に装着されるスロットを有するとともに、そのPCカードを、その機能に応じて、メモリーカードアダプタや無線LANインターフェース、PHS[Personal Handyphone System]データカードとして、動作させるためのインターフェースである。   The LAN controller 30h is an interface for transmitting / receiving data to / from a relay device such as a router in the IP network. The PC card controller 30i has a slot on which an expansion card called a PC card (trademark of the Japan Electronics Industry Promotion Association and the American PC Memory Card International Association) can be detachably mounted, and the PC card can be used according to its function. It is an interface for operating as a memory card adapter, a wireless LAN interface, and a PHS [Personal Handyphone System] data card.

そして、本実施形態では、フラッシュメモリーを内蔵するメモリーカード31がメモリーカードアダプタタイプのPCカードを通じてPCカードコントローラ30iに装着されている。勿論、メモリーカード31に限定されず、例えば、フラッシュメモリーを内蔵し
たPCカードがPCカードコントローラ30iに装着されていてもよい。要するに、可動部分を持たないフラッシュメモリーを内蔵しているものであれば、何でも良い。
In this embodiment, a memory card 31 containing a flash memory is mounted on the PC card controller 30i through a memory card adapter type PC card. Of course, the present invention is not limited to the memory card 31 and, for example, a PC card incorporating a flash memory may be attached to the PC card controller 30i. In short, anything that incorporates flash memory with no moving parts is acceptable.

なお、フラッシュメモリーを内蔵するメモリーカード31としては、例えば、SD[Secure Digital]カード(東芝社,松下電器産業社,及び、米国サンディスク社商標),コンパクトフラッシュ(米国サンディスク社商標),メモリースティック(ソニー社商標),スマートメディア(東芝社商標),及び、xD[eXtreme Digital]ピクチャーカード
(富士写真フイルム社及びオリンパス光学工業社商標)がある。
As the memory card 31 incorporating the flash memory, for example, an SD [Secure Digital] card (Toshiba Corporation, Matsushita Electric Industrial Co., Ltd. and SanDisk Corporation, USA), CompactFlash (U.S. SanDisk Corporation), Memory Stick (Trademark of Sony Corporation), smart media (trademark of Toshiba Corporation), and xD [eXtreme Digital] picture card (trademark of Fuji Photo Film Co., Ltd. and Olympus Optical Co., Ltd.).

以上のように構成されるビデオデータ送信装置30では、メモリーカード31のフラッシュメモリーの記憶領域が、MPEG−4ビデオエンコーダ30fから出力されるビデオデータが記録される第1の記憶領域31aと、MPEG−2ビデオエンコーダ30gから出力されるビデオデータが記録される第2の記憶領域31bとに、分けられる。   In the video data transmitting apparatus 30 configured as described above, the storage area of the flash memory of the memory card 31 includes the first storage area 31a in which the video data output from the MPEG-4 video encoder 30f is recorded, and the MPEG. -2 is divided into a second storage area 31b in which video data output from the video encoder 30g is recorded.

そして、フラッシュROM30a内の所定のプログラムに基づくファイルシステム機能により、MPEG−4ビデオエンコーダ30fから出力されるビデオデータが、常時、第1の記憶領域31aに記録され、MPEG−2ビデオエンコーダ30gから出力されるビデオデータが、常時、第2の記憶領域31bに記録されるようになっている。   The video data output from the MPEG-4 video encoder 30f is always recorded in the first storage area 31a and output from the MPEG-2 video encoder 30g by a file system function based on a predetermined program in the flash ROM 30a. The video data to be recorded is always recorded in the second storage area 31b.

但し、本実施形態のこのファイルシステム機能は、FAT[File Allocation Table]のような従来のファイルシステム機能とは異なった方法で、ビデオデータを第1及び第2の記憶領域31a,31bに記録する。   However, this file system function of the present embodiment records video data in the first and second storage areas 31a and 31b by a method different from the conventional file system function such as FAT [File Allocation Table]. .

図3は、第1及び第2の記憶領域31a,31bにビデオデータを記録する方法を示す説明図である。   FIG. 3 is an explanatory diagram showing a method of recording video data in the first and second storage areas 31a and 31b.

図3には、第1及び第2の記憶領域31a,31bのうちの一方の記憶領域を、示しているが、この図3に示されるように、第1及び第2の記憶領域31a,31bは、何れも、互いに同じ容量の区画に均等に区分されて、管理される。一区画の容量は、ビデオデータを構成するイメージデータの大きさと、そのイメージデータを管理するためのヘッダ情報の大きさとを足し合わせたものと、等しいものとなっている。そのヘッダ情報には、少なくとも、そのイメージデータの一区画への格納を開始した時の時刻を示す時刻情報が、含まれている。   FIG. 3 shows one of the first and second storage areas 31a and 31b. As shown in FIG. 3, the first and second storage areas 31a and 31b are shown. All are equally divided into sections of the same capacity and managed. The capacity of one section is equal to the sum of the size of the image data constituting the video data and the size of the header information for managing the image data. The header information includes at least time information indicating the time when storage of the image data in one section is started.

従って、記憶領域を複数の区画に区分して管理する当該ファイルシステム機能は、前述した区画定義部に相当している。   Therefore, the file system function for managing the storage area by dividing it into a plurality of partitions corresponds to the partition definition unit described above.

また、一つの記憶領域における各区画には、図3の1,2,…,N−1,Nにて示されるように、順番が定義付けられており、ビデオデータを構成するイメージデータは、先頭の区画から末尾の区画に向かって順に、一区画当り一つずつ格納される。そして、末尾の区画までイメージデータが格納されると、その次のメージデータは、先頭の区画内のイメージデータに上書きされ、以後のイメージデータは、各区画の順番に従って、各区画内のイメージデータに上書きされる(サイクリック)。つまり、古いイメージデータから順に上書きされることにより、この記憶領域には、イメージデータが順次記録されるにも拘わらず、イメージデータの記録時点から所定時間遡った時点までのN個のイメージデータが、常に、一時保管されることとなる。   Each partition in one storage area is defined in order as shown by 1, 2,..., N-1, N in FIG. One is stored for each partition in order from the first partition to the last partition. When the image data is stored up to the last section, the next image data is overwritten with the image data in the first section, and the subsequent image data is the image data in each section according to the order of each section. Is overwritten (cyclic). In other words, by overwriting in order from the old image data, N image data from the recording time of the image data to a time point that is a predetermined time back in spite of the sequential recording of the image data in this storage area. Will always be stored temporarily.

また、何れかの区画にイメージデータが格納されるときには、その格納開始時刻を示す時刻情報がそのイメージデータのヘッダ情報に含まれて、そのイメージデータとともに同じ区画内に記録される。   When image data is stored in any of the sections, time information indicating the storage start time is included in the header information of the image data and is recorded in the same section together with the image data.

従って、各区画にイメージデータを順に書き込む当該ファイルシステム機能は、前述した格納部にも相当している。   Therefore, the file system function for sequentially writing image data to each partition corresponds to the storage unit described above.

さらに、記憶領域の何れかの区画にイメージデータが格納されると、その格納開始時刻を示す時刻情報と、その区画における先頭セクタアドレスを示す情報とが、SDRAM30cに送られる。そのSDRAM30cには、時刻情報と先頭セクタアドレス情報とを対応付けて記憶するデータ管理テーブル32が、二つ用意されており、第1の記憶領域31aにイメージデータが格納されるたびに、そのイメージデータについての時刻情報と先頭セクタアドレス情報とが第1のデータ管理テーブル32aに格納され、第2の記憶領域31bにイメージデータが格納されるたびに、そのイメージデータについての時刻情報と先頭セクタアドレス情報とが第2のデータ管理テーブル32bに格納される。勿論、イメージデータが、何れかの区画に既に格納されていたイメージデータに対して上書きされたときには、データ管理テーブル32a,32bにおいて、そのイメージデータについての時刻情報と先頭セクタアドレス情報が、その区画に元あったイメージデータの時刻情報と先頭セクタアドレス情報に、上書きされる。   Further, when image data is stored in any partition of the storage area, time information indicating the storage start time and information indicating the head sector address in the partition are sent to the SDRAM 30c. The SDRAM 30c is provided with two data management tables 32 for storing time information and head sector address information in association with each other, and each time image data is stored in the first storage area 31a, the image information is stored. The time information and head sector address information about the image data is stored in the first data management table 32a and the image data is stored in the second storage area 31b. Information is stored in the second data management table 32b. Of course, when the image data is overwritten on the image data already stored in any of the partitions, the time information and the head sector address information about the image data are stored in the data management tables 32a and 32b. The time information and head sector address information of the image data based on

従って、SDRAM30c内の第1及び第2のデータ管理テーブル32a,32bに時刻情報と先頭セクタアドレス情報とを記録する当該ファイルシステム機能は、前述した記憶部にも相当している。   Therefore, the file system function for recording the time information and the head sector address information in the first and second data management tables 32a and 32b in the SDRAM 30c corresponds to the storage unit described above.

なお、第1及び第2のデータ管理テーブル32a,32bは、SDRAM30c上に生成されているため、ビデオデータ送信装置30の主電源が切断されると、SDRAM30c上から消滅する。このため、このビデオデータ送信装置30のフラッシュROM30aには、ビデオデータ送信装置30の主電源が投入されたときに、メモリーカード31の第1及び第2の記憶領域31a,32bの各区画のヘッダ情報と先頭セクタアドレス情報とを読み出して、SDRAM30c上に第1及び第2のデータ管理テーブル32a,32bをそれぞれ生成する処理をCPU30bに行わせるプログラムが、格納されている。   Since the first and second data management tables 32a and 32b are generated on the SDRAM 30c, they disappear from the SDRAM 30c when the main power supply of the video data transmitting device 30 is cut off. For this reason, the flash ROM 30a of the video data transmission device 30 has a header for each section of the first and second storage areas 31a and 32b of the memory card 31 when the main power of the video data transmission device 30 is turned on. A program for reading the information and the head sector address information and causing the CPU 30b to perform processing for generating the first and second data management tables 32a and 32b on the SDRAM 30c is stored.

ところで、メモリーカード31内のフラッシュメモリーに記録されるデータについて、FATのような一般的なファイルシステム機能によって管理しようとすると、フラッシュメモリー内に、FATファイルシステムにおけるFAT領域のようなデータを管理するための情報を記録しておく領域が、確保される。そして、その一般的なファイルシステムは、メモリーカード31にデータを記録するたびに、当該領域内の情報を更新することとなる。しかしながら、フラッシュメモリーには、その内部の記憶素子についての書換(上書き)可能な回数の上限が存在する。このため、フラッシュメモリーに24時間無休でイメージデータを連続記録するような使い方をしていていると、イメージデータ記録領域の書換回数がその上限に達する前に、データ管理情報記録領域の書換回数がかなり早期にその上限に達してしまって、イメージデータ記録領域を隅々まで使い切る前にフラッシュメモリーが寿命を迎えてしまうこととなっていた。   By the way, if data recorded in the flash memory in the memory card 31 is to be managed by a general file system function such as FAT, data such as a FAT area in the FAT file system is managed in the flash memory. An area in which information for recording is recorded is secured. The general file system updates information in the area every time data is recorded on the memory card 31. However, the flash memory has an upper limit of the number of times the internal storage element can be rewritten (overwritten). For this reason, if the image data is continuously recorded in the flash memory 24 hours a day, the number of times the data management information recording area is rewritten before the image data recording area reaches the upper limit. The upper limit was reached fairly early, and the flash memory had reached the end of its life before the image data recording area was used up.

一方、本実施形態によれば、前述したように、第1及び第2のデータ管理テーブル32a,32bが、SDRAM30c上に生成されるため、第1及び第2のデータ管理テーブル32a,32bへのアクセスが頻繁にあっても、第1及び第2の記憶領域31a,31bの書換回数が一様に増加するため、フラッシュメモリーが早期に寿命を迎えることもないし、寿命を迎えたときに使い切っていない領域もない。   On the other hand, according to the present embodiment, as described above, since the first and second data management tables 32a and 32b are generated on the SDRAM 30c, the first and second data management tables 32a and 32b are stored in the first and second data management tables 32a and 32b. Even if access is frequent, the number of rewrites of the first and second storage areas 31a and 31b increases uniformly, so the flash memory does not reach the end of its life early and is used up when it reaches the end of its life. There is no territory.

ここで、フラッシュメモリーの内部記憶素子の書換回数の上限をWt[回]とし、このフラッシュメモリーの記憶領域の記憶容量をS[bit]とし、ビデオエンコーダ30f,
30gの符号化レートをR[bit/秒]としたとき、フラッシュメモリーの書換寿命は、
{Wt×(S/R)}[秒]と表現できる。
Here, the upper limit of the number of rewrites of the internal storage element of the flash memory is Wt [times], the storage capacity of the storage area of the flash memory is S [bit], and the video encoder 30f,
When the encoding rate of 30 g is R [bit / second], the flash memory rewrite life is
It can be expressed as {Wt × (S / R)} [seconds].

また、本実施形態では、第2の記憶領域31bには、第1の記憶領域31aには無い状態切替機能が、付加されている。具体的には、MPEG−2ビデオエンコーダ30gからのビデオデータを構成するイメージデータが順次第2の記憶領域31bに格納されている状態において、異常検出センサ20で異常が検出されると、当該状態切替機能が、第2の記憶領域31bに格納されているイメージデータのうち、その異常検出時から所定時間前までに格納されたイメージデータを、上書きされない状態にする。この機能も、フラッシュROM30a内のプログラムに基づくものである。   In the present embodiment, a state switching function not provided in the first storage area 31a is added to the second storage area 31b. Specifically, when an abnormality is detected by the abnormality detection sensor 20 in a state where the image data constituting the video data from the MPEG-2 video encoder 30g is sequentially stored in the second storage area 31b, this state The switching function sets the image data stored in the second storage area 31b from the time when the abnormality is detected to a predetermined time before being overwritten. This function is also based on the program in the flash ROM 30a.

図4は、異常が検出されたときのビデオデータの保存方法を示す説明図である。なお、図4(a)は、異常検出センサ20が異常を検出する前における第2の記憶領域31bへのイメージデータの格納状態を示しており、図4(b)は、異常検出センサ20が異常を検出した後における第2の記憶領域31bへのイメージデータの格納状態を示している。   FIG. 4 is an explanatory diagram showing a video data storage method when an abnormality is detected. 4A shows the storage state of the image data in the second storage area 31b before the abnormality detection sensor 20 detects an abnormality. FIG. The storage state of the image data in the second storage area 31b after the abnormality is detected is shown.

図4(a)に示されるように、異常検出センサ20が異常を検出する前においては、どの区画のイメージデータとも、一時保管された後、上書きにより内容が更新される。一方、異常検出センサ20が異常を検出した後においては、図4(b)に示されるように、その異常検出センサが異常を検出した時から所定時間前までに格納されたイメージデータが、全て上書き禁止にされ、本実施形態のファイルシステム機能は、その上書き禁止にされたイメージデータが格納されている区画以外の残りの区画へ、イメージデータを格納することとなる。なお、図4(b)に示された区画のうち、右上隅が黒く塗りつぶされている区画が、イメージデータの上書きが禁止されている区画を、意味している。   As shown in FIG. 4A, before the abnormality detection sensor 20 detects an abnormality, the image data of any section is temporarily stored and then updated by overwriting. On the other hand, after the abnormality detection sensor 20 detects an abnormality, as shown in FIG. 4B, all the image data stored until a predetermined time from when the abnormality detection sensor detects the abnormality Overwriting is prohibited, and the file system function of this embodiment stores image data in the remaining partitions other than the partition in which the image data for which overwrite is prohibited is stored. Of the sections shown in FIG. 4B, a section whose upper right corner is painted black means a section where overwriting of image data is prohibited.

より具体的に説明すると、第2の記憶領域31bの各区画に格納されるイメージデータのヘッダ情報には、時刻情報の他に、書込禁止フラグ情報が、含まれている。前述した状態切替機能は、異常検出センサ20が異常検出信号を発したときに、その時点の直前に格納された所定個数(例えば3個)のイメージデータの書込禁止フラグ情報を、書込可能状態から書込不可状態に切り替える。   More specifically, the header information of the image data stored in each section of the second storage area 31b includes write prohibition flag information in addition to time information. When the abnormality detection sensor 20 issues an abnormality detection signal, the state switching function described above can write the write prohibition flag information of a predetermined number (for example, three) of image data stored immediately before that point. Switch from state to write-disabled state.

一方、前述した本実施形態のファイルシステム機能は、第2の記憶領域31bの各区画にイメージデータを書き込みしようとする際(各区画内のイメージデータを上書き更新しようとする際)、その区画内のヘッダ情報に含まれる書込禁止フラグ情報を読みとって、書込可能状態であるか書込不可状態であるかを確認する。そして、そのファイルシステム機能は、書込可能状態であればその区画にイメージデータの書き込みを行い、書込不可状態であれば、各区画に割り当てられた順番に従いながら、書込可能状態となっている区画を探し出し、探し出した区画以降においてイメージデータの書き込みを行う。   On the other hand, the file system function of the present embodiment described above, when trying to write image data to each partition of the second storage area 31b (when attempting to overwrite and update the image data in each partition), The write prohibition flag information included in the header information is read to confirm whether it is in a writable state or a writable state. If the file system function is in a writable state, the image data is written to the partition. If the file system function is not writable, the file system function is in a writable state in accordance with the order assigned to each partition. Find the existing section, and write the image data after the found section.

このように構成されているため、図4(b)の矢印が示すように、書込不可状態の区画が避けられ、それ以外の区画がイメージデータの書き込み対象として利用されることとなる。   Since it is configured in this manner, as shown by the arrow in FIG. 4B, the unwritable section is avoided, and the other sections are used as image data write targets.

従って、当該状態切替機能は、前述した状態切替部に相当している。   Therefore, the state switching function corresponds to the state switching unit described above.

次に、本実施形態におけるメモリーカード31の寿命について説明する。   Next, the life of the memory card 31 in this embodiment will be described.

例えば、全容量が8GBで、書換可能回数の上限Wtが10万回であるメモリーカード31を使用する場合について説明する。この場合、本実施形態では、全容量のうち、4GBが第1の記憶領域31aに割り当てられ、残りの4GBが第2の記憶領域31bに割り当てられる。   For example, a case will be described in which the memory card 31 having a total capacity of 8 GB and an upper limit Wt of rewritable times of 100,000 is used. In this case, in the present embodiment, 4 GB of the total capacity is allocated to the first storage area 31a and the remaining 4 GB is allocated to the second storage area 31b.

そして、MPEG−4ビデオエンコーダ30fにより生成される画像のサイズが360p×240pであり、画像符号化レート(出力速度)が350K[bit/秒]であるとき
、第1の記憶領域31aの全容量Sが、4GB=32768G[bit]であるので、第1
の記憶領域31aに格納されたイメージデータを全て書き換えるのに必要な一周書換時間(S/R)は、32768/0.35=93623[秒]=26[時間]となる。また、第1の記憶領域31a全体の書換寿命{Wt×(S/R)}は、100000×26=2600000[時間]≒296[年]となる。
When the size of an image generated by the MPEG-4 video encoder 30f is 360p × 240p and the image encoding rate (output speed) is 350K [bit / second], the entire capacity of the first storage area 31a Since S is 4 GB = 32768 G [bit], the first
The round rewriting time (S / R) required to rewrite all the image data stored in the storage area 31a is 32768 / 0.35 = 93623 [seconds] = 26 [hours]. Further, the rewrite life {Wt × (S / R)} of the entire first storage area 31a is 100000 × 26 = 2600000 [hour] ≈296 [year].

また、MPEG−2ビデオエンコーダ30gにより生成される画像のサイズが720p×480pであり、画像符号化レートが3M[bit/秒]であるとき、第2の記憶領域3
1bの全容量Sも、4GB=32768G[bit]であるので、第2の記憶領域31bに
格納されたイメージデータを全て書き換えるのに必要な一周書換時間(S/R)は、32768/3=10923[秒]=3[時間]となる。また、第2の記憶領域31b全体の書換寿命{Wt×(S/R)}は、100000×3=300000[時間]≒34[年]となる。
When the size of the image generated by the MPEG-2 video encoder 30g is 720p × 480p and the image encoding rate is 3M [bit / second], the second storage area 3
Since the total capacity S of 1b is also 4 GB = 32768 G [bit], the round rewriting time (S / R) required to rewrite all the image data stored in the second storage area 31b is 32768/3 = 10923 [seconds] = 3 [time]. The rewrite life {Wt × (S / R)} of the entire second storage area 31b is 100000 × 3 = 300000 [hours] ≈34 [years].

なお、第2の記憶領域31bにおいて、2時間分のイメージデータが上書き禁止にされた状態のとき、一周書換時間(S/R)は、3−2=1[時間]となるので、この状態を維持し続けた場合、第2の記憶領域31bの書換寿命{Wt×(S/R)}は、100000[時間]=11[年]である。   In the second storage area 31b, when the image data for 2 hours is prohibited from being overwritten, the one-time rewrite time (S / R) is 3-2 = 1 [hour]. Is maintained, the rewrite life {Wt × (S / R)} of the second storage area 31b is 100,000 [hours] = 11 [years].

このように、MPEG−4ビデオエンコーダ30fによって低レートにて生成された圧縮ビデオデータと、MPEG−2ビデオエンコーダ30gによって高レートにて生成された圧縮ビデオデータとを、何れも、24時間連続無休でメモリーカード31に書き込んだとしても、10年以上の寿命が保証されている。   As described above, the compressed video data generated at a low rate by the MPEG-4 video encoder 30f and the compressed video data generated at a high rate by the MPEG-2 video encoder 30g are both continuously open 24 hours a day. Even if the data is written in the memory card 31, the lifetime of 10 years or more is guaranteed.

また、第1の記憶領域31aの一周書換時間(S/R)は、24時間以上あり、第2の記憶領域31bの一周書換時間(S/R)は、2時間以上確保されている。   Further, the round rewriting time (S / R) of the first storage area 31a is 24 hours or more, and the round rewriting time (S / R) of the second storage area 31b is 2 hours or more.

次に、本実施形態のビデオデータ送信装置30の作用及び効果について説明する。   Next, the operation and effect of the video data transmitting apparatus 30 of this embodiment will be described.

本実施形態のビデオデータ送信装置30は、監視カメラ10からビデオデータが入力されると、デジタル変換した後、MPEG−4ビデオエンコーダ30fにより低レートにて生成された圧縮ビデオデータと、MPEG−2ビデオエンコーダ30gにより高レートにて生成された圧縮ビデオデータとを、メモリーカード31の第1及び第2の記憶領域31a,31bに書き込む。   When video data is input from the surveillance camera 10, the video data transmitting apparatus 30 according to the present embodiment performs digital conversion and then compresses video data generated at a low rate by the MPEG-4 video encoder 30 f and MPEG-2. The compressed video data generated at a high rate by the video encoder 30g is written into the first and second storage areas 31a and 31b of the memory card 31.

そして、異常検出センサ20が異常を検出する前においては、前述したように、第1及の記憶領域31aでも第2の記憶領域31bでも、古いイメージデータから順に上書きされながら、イメージデータの記録時点から所定時間遡った時点までのN個のイメージデータが、常に、一時保管される。   Then, before the abnormality detection sensor 20 detects an abnormality, as described above, in the first storage area 31a and the second storage area 31b, the image data is recorded while being overwritten in order from the old image data. N pieces of image data up to a point in time after a predetermined time are always temporarily stored.

そして、異常検出センサ20が異常を検出すると、第2の記憶領域31b内の区画のうち、異常検出時点の直前にイメージデータが書き込まれた所定個数の区画が、書き込み禁止となり、以後のイメージデータが残りの区画に書き込まれるようになる。そして、書き込み禁止の区画において上書きされずに保存されることとなった幾つかのイメージデータは、LANコントローラ30hを通じてIPネットワーク上の他のコンピュータへ提供されたり、このビデオデータ送信装置30の設置箇所へ赴いてきた管理者によって回収されたりする。   When the abnormality detection sensor 20 detects an abnormality, the predetermined number of partitions in which the image data is written immediately before the abnormality detection time among the partitions in the second storage area 31b are prohibited from being written. Will be written to the remaining partitions. Then, some image data that has been stored without being overwritten in the write-protected section is provided to other computers on the IP network through the LAN controller 30h, or the installation location of the video data transmitting apparatus 30 It is collected by the manager who has visited.

このように回収されたイメージデータは、MPEG−2ビデオエンコーダ30gにより圧縮されたものであることから、例えば、車のナンバープレート上の文字を読みとったり、人の輪郭や顔つきや表情などを読みとったりできるような高画質なイメージを、表示装置に表示させることができる。従って、監視カメラ10の監視対象において異常が発生したときの様子を、精細に検証することができることとなる。   Since the image data collected in this way is compressed by the MPEG-2 video encoder 30g, for example, characters on a license plate of a car are read, and a person's outline, facial expression, facial expression, etc. are read. Such a high-quality image can be displayed on the display device. Therefore, the situation when an abnormality occurs in the monitoring target of the monitoring camera 10 can be verified in detail.

一方、異常検出センサ20が異常を検出したとしても、第1の記憶領域31aの区画は何れも書き込み禁止とはならず、イメージデータの書き込みが継続される。このイメージデータは、MPEG−4ビデオエンコーダ30fにより圧縮されたものであることから、MPEG−2により圧縮されたイメージに比べると、画質はさほど良くないものの、人や車の形や姿勢などは把握することができるものとなっている。従って、異常が発生したときに、第1の記憶領域31aに残っているビデオデータを、IPネットワーク及びビデオデータ受信装置40などを通じて、モニタ50上で再生したり、図示せぬコンピュータに格納した後で再生したり、このビデオデータ送信装置30の設置箇所へ赴いて回収したりすることにより、人や車の動きなどを検証することができることとなる。また、一周書換時間が、上記の例で言えば、26時間もあるので、異常が発生した後、ビデオデータを急いで回収しなくても済む。   On the other hand, even if the abnormality detection sensor 20 detects an abnormality, the writing of the image data is continued in all the sections of the first storage area 31a. Since this image data is compressed by the MPEG-4 video encoder 30f, the image quality is not so good compared to the image compressed by MPEG-2, but the shape and posture of people and cars are grasped. It has become something that can be done. Accordingly, when an abnormality occurs, the video data remaining in the first storage area 31a is reproduced on the monitor 50 through the IP network and the video data receiving device 40 or stored in a computer (not shown). Or by moving to the place where the video data transmitting device 30 is installed and collecting it, it is possible to verify the movement of a person or a vehicle. Further, in the above example, the round rewriting time is 26 hours, so that it is not necessary to quickly collect video data after an abnormality occurs.

このように、本実施形態によれば、メモリーカード31の記憶領域に偏りなく且つ平均的に各イメージデータの書き込みがなされるため、記憶領域の一部が書込回数の上限に達することによって記憶媒体を隅々まで使い切ることなく寿命を迎えてしまうことがない。その結果、記憶媒体の交換を頻繁に行わなくて済むようになる。   As described above, according to the present embodiment, since each image data is written on the average in the storage area of the memory card 31 without being biased, the storage is performed when a part of the storage area reaches the upper limit of the number of times of writing. There is no end to life without using up all the media. As a result, the storage medium need not be frequently replaced.

また、メモリーカード31がフラッシュメモリからなることにより、HDD[Hard Disk Drive]のように可動部分を持たない。このため、無休駆動による可動部分のガタ付き
が生ずることもなく、また、設置環境による動作不良が生ずることもない。
Further, since the memory card 31 is made of a flash memory, it does not have a movable part like an HDD [Hard Disk Drive]. For this reason, there is no backlash of the movable part due to non-stop driving, and there is no malfunction due to the installation environment.

さらに、本実施形態のように、低レート(低画質)のイメージデータと高レート(高画質)のイメージデータと共にメモリーカード31に記録することにより、ビデオを長時間保管(録画)できるとともに、検証に耐え得る高画質なイメージを保存することができるようになる。   Furthermore, as in this embodiment, by recording on the memory card 31 together with low rate (low image quality) image data and high rate (high image quality) image data, the video can be stored (recorded) for a long time and verified. It will be possible to save high-quality images that can withstand.

(付記1)
フラッシュメモリからなる記憶媒体の全記憶領域を区分することによって、容量が互いに等しい区画をその記憶領域上に複数定義する区画定義部,
ビデオデータを構成するイメージデータが入力されるたびに、そのイメージデータに時刻情報を付加して前記記憶領域における最も古いイメージデータが格納されている区画に書き込む格納部,及び、
前記格納部が何れかの区画にイメージデータを書き込むたびに、その区画に書き込まれた時刻情報とその区画の前記記憶領域内での所在位置を示す情報とを対応付けて記憶する記憶部
を備えることを特徴とするビデオデータ保管装置。
(Appendix 1)
A partition definition unit that defines a plurality of partitions having the same capacity on the storage area by partitioning the entire storage area of the storage medium including the flash memory;
A storage unit for adding time information to the image data and writing it to a section storing the oldest image data in the storage area each time image data constituting video data is input; and
Each time the storage unit writes image data in any partition, the storage unit stores time information written in the partition and information indicating the location of the partition in the storage area in association with each other. A video data storage device.

(付記2)
イメージデータの保存が指示されると、その指示された時点の直前にイメージデータが書き込まれた所定個数の区画を、イメージデータが書き込めない状態にする状態切替部を、更に備え、
前記格納部は、イメージデータを何れかの区画に書き込む際、イメージデータが書き込めない状態となっている区画を除く残りの区画のうち、最も古いイメージデータが格納さ
れている区画にイメージデータを書き込む
ことを特徴とする付記1記載のビデオデータ保管装置。
(Appendix 2)
When the storage of the image data is instructed, it further includes a state switching unit that sets the predetermined number of sections in which the image data is written immediately before the instructed time point to a state in which the image data cannot be written,
The storage unit writes the image data in a partition in which the oldest image data is stored among the remaining partitions except the partition in which the image data cannot be written when the image data is written in any of the partitions. The video data storage device according to appendix 1, wherein

(付記3)
前記格納部は、イメージデータを何れかの区画に書き込む際、そのイメージデータに対し、時刻情報とともに、上書きされても良い旨を示す状態のフラグ情報を付加し、それら情報を付加したイメージデータを、上書きを禁止する旨を示す状態のフラグ情報が書き込まれている区画を除く残りの区画のうち、最も古いイメージデータが格納されている区画に、書き込み、
前記状態切替部は、イメージデータの保存が指示されたとき、その指示された時点の直前にイメージデータが書き込まれた所定個数の区画のフラグ情報を、上書きされても良い旨を示す状態から、上書きを禁止する旨を示す状態へ、切り替える
ことを特徴とする付記2記載のビデオデータ保管装置。
(Appendix 3)
When the image data is written in any of the sections, the storage unit adds flag information indicating that the image data may be overwritten together with time information, and adds the image data to which the information is added. Write to the partition where the oldest image data is stored among the remaining partitions except the partition where the flag information indicating that overwriting is prohibited is written,
The state switching unit, when instructed to save image data, from a state indicating that the flag information of a predetermined number of sections in which the image data was written immediately before the instructed time point may be overwritten, The video data storage device according to appendix 2, wherein the video data storage device is switched to a state indicating that overwriting is prohibited.

(付記4)
ネットワークを介して何れかの端末装置から要求が指示されると、イメージデータが書き込めない状態の区画に格納されているイメージデータを、その端末装置へ送信する送信部
を更に備えることを特徴とする付記1記載のビデオデータ保管装置。
(Appendix 4)
When a request is instructed from any of the terminal devices via the network, the image processing apparatus further includes a transmission unit that transmits image data stored in a partition where image data cannot be written to the terminal device. The video data storage device according to attachment 1.

(付記5)
フラッシュメモリからなる記憶媒体の全記憶領域を均等に区分することによって、容量が互いに等しい区画をその記憶領域上に複数定義しておき、
ビデオデータを構成するイメージデータが入力されるたびに、そのイメージデータに時刻情報を付加して前記記憶領域における最も古いイメージデータが格納されている区画に書き込むとともに、
何れかの区画にイメージデータが書き込まれるたびに、その区画に書き込まれた時刻情報とその区画の前記記憶領域内での所在位置を示す情報とを対応付けて記憶する
ことを特徴とするビデオデータ保管方法。
(Appendix 5)
By equally dividing the entire storage area of the storage medium consisting of flash memory, a plurality of partitions having the same capacity are defined on the storage area,
Each time image data constituting video data is input, time information is added to the image data and written to a section in the storage area where the oldest image data is stored,
Video data characterized in that each time image data is written in any of the sections, the time information written in that section and information indicating the location of the section in the storage area are stored in association with each other Storage method.

(付記6)
コンピュータを、
フラッシュメモリからなる記憶媒体の全記憶領域を区分することによって、容量が互いに等しい区画をその記憶領域上に複数定義する区画定義手段,
ビデオデータを構成するイメージデータが入力されるたびに、そのイメージデータに時刻情報を付加して前記記憶領域における最も古いイメージデータが格納されている区画に書き込む格納手段,及び、
前記格納手段が何れかの区画にイメージデータを書き込むたびに、その区画に書き込まれた時刻情報とその区画の前記記憶領域内での所在位置を示す情報とを対応付けて記憶装置に記憶する記憶手段
として機能させる
ことを特徴とするビデオデータ保管プログラム。
(Appendix 6)
Computer
Partition defining means for partitioning all storage areas of a storage medium comprising a flash memory to define a plurality of partitions having the same capacity on the storage area;
Storage means for adding time information to the image data and writing it to a section storing the oldest image data in the storage area each time image data constituting video data is input; and
Each time the storage means writes image data in any partition, the time information written in that partition is associated with information indicating the location of the partition in the storage area and stored in the storage device A video data storage program characterized by functioning as a means.

10 監視カメラ
20 異常検出センサ
30 ビデオデータ送信装置
30c SDRAM
30f MPEG−4ビデオエンコーダ
30g MPEG−2ビデオエンコーダ
30i PCカードコントローラ
40 ビデオデータ受信装置
50 モニタ
DESCRIPTION OF SYMBOLS 10 Surveillance camera 20 Abnormality detection sensor 30 Video data transmitter 30c SDRAM
30f MPEG-4 video encoder 30g MPEG-2 video encoder 30i PC card controller 40 Video data receiver 50 Monitor

Claims (3)

フラッシュメモリとSDRAMとから構成されるビデオデータ保管装置であって、
フラッシュメモリからなる記憶媒体の全記憶領域を均等に区分することによって、容量が互いに等しい区画をその記憶領域上に複数定義する区画定義部,
ビデオデータを構成するイメージデータが入力されるたびに、そのイメージデータに時刻情報を付加して前記記憶領域における最も古いイメージデータが格納されている区画に書き込む格納部
前記格納部が何れかの区画にイメージデータを書き込むたびに、その区画に書き込まれた時刻情報とその区画の前記記憶領域内での所在位置を示す情報とを対応付けて前記SDRAMに記憶する記憶部,及び、
イメージデータの保存が指示されると、その指示された時点の直前にイメージデータが書き込まれた所定個数の区画を、イメージデータが書き込めない状態にする状態切替部を、備え、
前記格納部は、イメージデータを何れかの区画に書き込む際、イメージデータが書き込めない状態となっている区画を除く残りの区画のうち、最も古いイメージデータが格納されている区画にイメージデータを書き込む
ことを特徴とするビデオデータ保管装置。
A video data storage device comprising a flash memory and an SDRAM,
A partition definition unit for defining a plurality of partitions having the same capacity on the storage area by equally partitioning the entire storage area of the storage medium including the flash memory;
A storage unit that adds time information to image data and writes it to a section storing the oldest image data in the storage area each time image data constituting video data is input ,
Each time the storage unit writes image data in any partition, the time information written in the partition is associated with information indicating the location of the partition in the storage area and stored in the SDRAM Part and
A state switching unit that, when instructed to store image data, sets a predetermined number of sections in which image data is written immediately before the instructed time point to a state in which image data cannot be written;
The storage unit writes the image data in a partition in which the oldest image data is stored among the remaining partitions except the partition in which the image data cannot be written when the image data is written in any of the partitions. <br/> A video data storage device characterized by the above.
前記格納部は、イメージデータを何れかの区画に書き込む際、そのイメージデータに対し、時刻情報とともに、上書きされても良い旨を示す状態のフラグ情報を付加し、それら情報を付加したイメージデータを、上書きを禁止する旨を示す状態のフラグ情報が書き込まれている区画を除く残りの区画のうち、最も古いイメージデータが格納されている区画に、書き込み、
前記状態切替部は、イメージデータの保存が指示されたとき、その指示された時点の直前にイメージデータが書き込まれた所定個数の区画のフラグ情報を、上書きされても良い旨を示す状態から、上書きを禁止する旨を示す状態へ、切り替える
ことを特徴とする請求項記載のビデオデータ保管装置。
When the image data is written in any of the sections, the storage unit adds flag information indicating that the image data may be overwritten together with time information, and adds the image data to which the information is added. Write to the partition where the oldest image data is stored among the remaining partitions except the partition where the flag information indicating that overwriting is prohibited is written,
The state switching unit, when instructed to save image data, from a state indicating that the flag information of a predetermined number of sections in which the image data was written immediately before the instructed time point may be overwritten, 2. The video data storage device according to claim 1 , wherein the video data storage device is switched to a state indicating that overwriting is prohibited.
フラッシュメモリとSDRAMとから構成されるビデオデータ保管装置のビデオデータ保管方法であって、
前記フラッシュメモリからなる記憶媒体の全記憶領域を均等に区分することによって、容量が互いに等しい区画をその記憶領域上に複数定義しておき、
ビデオデータを構成するデータが入力されるたびに、そのデータに時刻情報を付加して前記記憶領域における最も古いデータが格納されている区画に書き込むとともに、
何れかの区画にデータが書き込まれるたびに、その区画に書き込まれた時刻情報とその区画の前記記憶領域内での所在位置を示す情報とを対応付けて前記SDRAMに記憶し、
イメージデータの保存が指示されると、その指示された時点の直前にイメージデータが書き込まれた所定個数の区画を、イメージデータが書き込めない状態にし、
イメージデータを何れかの区画に書き込む際、イメージデータが書き込めない状態となっている区画を除く残りの区画のうち、最も古いイメージデータが格納されている区画にイメージデータを書き込む
ことを特徴とするビデオデータ保管方法。
A video data storage method for a video data storage device comprising a flash memory and an SDRAM,
By equally dividing the entire storage area of the storage medium composed of the flash memory, a plurality of partitions having the same capacity are defined on the storage area.
Each time the data constituting the video data is input, time information is added to the data and written to the section where the oldest data in the storage area is stored,
Each time data is written in any of the partitions, the time information written in the partition is associated with information indicating the location of the partition in the storage area and stored in the SDRAM ,
When storage of image data is instructed, a predetermined number of sections in which image data has been written immediately before the instructed time point are set in a state in which image data cannot be written,
When writing image data to any of the partitions, write the image data to the partition where the oldest image data is stored among the remaining partitions except the partition where image data cannot be written. <br/> A video data storage method characterized by.
JP2011076510A 2011-03-30 2011-03-30 Video data storage device and video data storage method Active JP5299462B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011076510A JP5299462B2 (en) 2011-03-30 2011-03-30 Video data storage device and video data storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011076510A JP5299462B2 (en) 2011-03-30 2011-03-30 Video data storage device and video data storage method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006071080A Division JP2007251519A (en) 2006-03-15 2006-03-15 Video data storage device and video data storage method

Publications (2)

Publication Number Publication Date
JP2011160465A JP2011160465A (en) 2011-08-18
JP5299462B2 true JP5299462B2 (en) 2013-09-25

Family

ID=44591945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011076510A Active JP5299462B2 (en) 2011-03-30 2011-03-30 Video data storage device and video data storage method

Country Status (1)

Country Link
JP (1) JP5299462B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3487339B2 (en) * 1999-10-22 2004-01-19 船井電機株式会社 Disk unit
JP2003153165A (en) * 2001-11-19 2003-05-23 Mitsubishi Electric Corp System for video monitoring
JP2004071033A (en) * 2002-08-05 2004-03-04 Mitsubishi Electric Corp Data writing method for flash memory
JP2005346478A (en) * 2004-06-03 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Schedule preparation support method, support apparatus, and support program
JP2007202110A (en) * 2005-12-26 2007-08-09 Ricoh Co Ltd Imaging apparatus, position information recording method and program

Also Published As

Publication number Publication date
JP2011160465A (en) 2011-08-18

Similar Documents

Publication Publication Date Title
JP2007251519A (en) Video data storage device and video data storage method
CN110610556B (en) Robot inspection management method and system, electronic device and storage medium
EP2330823A1 (en) Method and system for controlling playing of monitoring video record
US8953051B2 (en) Imaging device and imaging method
TW200948080A (en) Content aware storage of video data
JP5299464B2 (en) Video data storage device and video data storage method
JP2010028754A (en) Video-recording transfer device
JP6661856B2 (en) Devices and programs
JP5299463B2 (en) Data storage device and data storage method
JP5299461B2 (en) Data storage device and data storage method
JP5299462B2 (en) Video data storage device and video data storage method
JP2021192515A (en) Device and program
JP2006295846A (en) Monitoring apparatus with multiple recording medium drives
WO2015083408A1 (en) System management device, system management method, and program
JP2009055180A (en) Surveillance camera system
CN105120214A (en) System for monitoring smoking in workshop on the basis of image analysis
US11290707B2 (en) Method for carrying out a health check of cameras and a camera system
JP2009135811A (en) Image recorder
KR101484783B1 (en) Digital video recorder and hard disc management method
JPWO2015045179A1 (en) Video storage / delivery device, system, method, and program
JP6931936B2 (en) Equipment and programs
KR20230039131A (en) Gis video control system based on mobility terminal and method for providing video thereof
JP6239256B2 (en) Video surveillance system and decoder
JP6669564B2 (en) Monitoring system
KR20080074460A (en) Video recording system and backup control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20130219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130422

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130603

R150 Certificate of patent or registration of utility model

Ref document number: 5299462

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150