JP7617606B2 - Systems and programs - Google Patents
Systems and programs Download PDFInfo
- Publication number
- JP7617606B2 JP7617606B2 JP2020059735A JP2020059735A JP7617606B2 JP 7617606 B2 JP7617606 B2 JP 7617606B2 JP 2020059735 A JP2020059735 A JP 2020059735A JP 2020059735 A JP2020059735 A JP 2020059735A JP 7617606 B2 JP7617606 B2 JP 7617606B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- recording medium
- personal computer
- recording
- operating system
- 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
Links
- 238000000034 method Methods 0.000 claims description 145
- 230000006870 function Effects 0.000 claims description 63
- 238000003384 imaging method Methods 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims description 2
- 238000005192 partition Methods 0.000 description 29
- 238000013467 fragmentation Methods 0.000 description 15
- 238000006062 fragmentation reaction Methods 0.000 description 15
- 230000001133 acceleration Effects 0.000 description 14
- 238000012545 processing Methods 0.000 description 13
- 238000013461 design Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000003780 insertion Methods 0.000 description 6
- 230000037431 insertion Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000000737 periodic effect Effects 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000006378 damage Effects 0.000 description 4
- 230000015654 memory Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 2
- 235000019504 cigarettes Nutrition 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000029305 taxis Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、例えばシステムおよびプログラム等に関する。 The present invention relates to, for example, systems and programs.
例えば、車両で取得した情報である車両状況情報(例えば前方映像、速度、加速度など)を記録媒体に記録するドライブレコーダは、特にトラック等の運送用の車両や、タクシー,バス等の営業用車両への搭載が広まっており、さらに、一般の車両にも搭載されつつある。 For example, drive recorders that record vehicle status information (such as forward video, speed, and acceleration) acquired by the vehicle onto a recording medium are becoming increasingly popular, particularly in transportation vehicles such as trucks, and commercial vehicles such as taxis and buses, and are also increasingly being installed in general vehicles.
ドライブレコーダには、例えば車両の走行時等に車両状況情報を常時記録するものや、事故時及び急制動時の発生前後の一定期間についての車両状況情報を随時記録するものがある。 Dash cams include those that constantly record vehicle status information while the vehicle is traveling, and those that record vehicle status information at any time for a certain period of time before and after an accident or sudden braking.
こうしたドライブレコーダによる車両状況情報の記録は、ドライブレコーダに着脱可能なSDカード等のメモリカードなどの着脱可能な記録媒体に対して行っている。そして車両状況情報の解析は一般的にパソコン上で動作するビューアーアプリケーションソフト(以下ビューアアプリという)の処理で行われるものが多い。 The recording of vehicle status information by such drive recorders is performed on removable recording media such as memory cards, such as SD cards, which can be attached to the drive recorder. Analysis of the vehicle status information is generally performed using viewer application software (hereafter referred to as the viewer app) that runs on a PC.
解析の際には車両のドライブレコーダからこの記録媒体を抜き取り、事務所等の解析用のパソコンに接続されたメモリカードリーダにこの記録媒体を挿入する。パソコンではビューアアプリの処理によりメモリカードリーダに挿入された記録媒体の車両状況情報を読取って画面にその情報を可視化して表示する(例えば特許文献1)。これにより車両状況情報の確認や分析を画面に可視化された情報に基づいて行うことができる。 When performing analysis, the recording medium is removed from the vehicle's drive recorder and inserted into a memory card reader connected to a personal computer for analysis in an office, etc. The personal computer reads the vehicle status information from the recording medium inserted into the memory card reader through processing by a viewer application, and displays the information in a visualized form on the screen (see, for example, Patent Document 1). This allows the vehicle status information to be confirmed and analyzed based on the information visualized on the screen.
しかしながら、従来のシステムには、様々な問題があった。
そこで、本発明は従来よりも優れた特性を有するシステム及びプログラム等を提供することを目的とする。
However, conventional systems have had various problems.
SUMMARY OF THE PRESENT EMBODIMENTS An object of the present invention is to provide a system, program, etc. having superior characteristics to conventional systems.
本発明の目的はこれに限定されず、本明細書及び図面等に開示される構成の部分から奏する効果を得ることを目的とする構成についても分割出願・補正等により権利取得する意思を有する。例えば本明細書において「~できる」「~可能である」などと記載した箇所を「~が課題である」と読み替えた課題が本明細書には開示されている。課題はそれぞれ独立したものとして記載しているものであり、各々の課題を解決するための構成についても単独で分割出願・補正等により権利取得する意思を有する。課題が明細書の記載から黙示的に把握されるものであっても、本出願人は本明細書に記載の構成の一部を補正又は分割出願にて特許請求の範囲とする意思を有する。またこれら独立の課題を組み合わせた課題を解決する構成についても開示しているものであり、権利取得する意思を有する。 The object of the present invention is not limited to this, and the applicant intends to obtain rights to configurations that aim to obtain effects from parts of the configurations disclosed in this specification and drawings, etc., through divisional applications, amendments, etc. For example, this specification discloses problems in which the phrases "can" and "is possible" are read as "the problem is". The problems are described as being independent, and the applicant intends to obtain rights to the configurations for solving each problem separately through divisional applications, amendments, etc. Even if the problems are implicitly understood from the description in the specification, the applicant intends to include part of the configurations described in this specification in the scope of the patent claims through amendments or divisional applications. The applicant has also disclosed configurations that solve problems that combine these independent problems, and the applicant intends to obtain rights to them.
(1)本システムがアクセス可能な記録媒体に対して、生成した情報の記録を行うシステムであって、前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくともその一部を読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式で前記生成した情報の記録を行うシステムとするとよい。 (1) This system records the generated information on a recording medium accessible by this system, and when the recording medium is accessible from a personal computer, at least a portion of the information can be read by a general operating system of the personal computer, but the system records the generated information using a method different from the writing method used by the general operating system.
このようにすれば、システムで記録された情報を一般的なオペレーティングシステムで読み取ることができるとともに、当該一般的なオペレーティングシステムにおける書き込み方式とは異なるシステムにとって都合のよい方式で記録を行うことができる。このように両者を両立させることができる。例えば、当該一般的なオペレーティングシステムにおける書き込み方式とは異なるシステムにおいて、例えば、記録媒体の内容の断片化、不意の電源断・不意の記録媒体の取り外し等によるアクセス不可等による管理領域の破壊等を抑制することも可能となり、定期的な記録媒体のフォーマットを行う回数を低減することができたり、あるいは、定期的な記録媒体のフォーマットを行わなくともよいように構成できる。 In this way, information recorded in the system can be read by a general operating system, and can be recorded in a method that is convenient for the system and different from the writing method in the general operating system. In this way, both can be achieved. For example, in a system that uses a writing method different from that in the general operating system, it is possible to prevent, for example, fragmentation of the contents of the recording medium, destruction of the management area due to inaccessibility caused by a sudden power outage or sudden removal of the recording medium, etc., and the number of times that periodic formatting of the recording medium is performed can be reduced, or it can be configured so that periodic formatting of the recording medium is not necessary.
当該システムがアクセス可能な記録媒体としては、当該システムに接続された記録媒体(例えばUSBケーブル等で接続されるSSD、HDD等)とするとよく、特に当該システムが当該記録媒体を着脱可能に装着可能な構成(例えばSDカードリーダライタ等を内蔵した構成等)とし、当該システムに装着された記録媒体(例えばSDカード等)とするとよい。 The recording medium accessible by the system may be a recording medium connected to the system (e.g., an SSD, HDD, etc. connected via a USB cable, etc.), and in particular, the system may be configured to removably mount the recording medium (e.g., a configuration with a built-in SD card reader/writer, etc.), and the recording medium may be a recording medium mounted on the system (e.g., an SD card, etc.).
パーソナルコンピュータとしては例えばいわゆるIBM PC/AT互換機とするとよい。また一般的なオペレーティングシステムとしては例えばマイクロソフト社のWindowsとするとよい。 The personal computer may be, for example, an IBM PC/AT compatible machine. A typical operating system may be, for example, Microsoft Windows.
前記記録媒体にパーソナルコンピュータからアクセス可能なときとしては、例えば、当該システムに無線通信機能(例えばWiFiによるネットワーク接続機能など)を備え、当該パーソナルコンピュータにもこれに接続可能な無線通信機能を備え、パーソナルコンピュータから当該システムの記録媒体にアクセス可能なときとしてもよいが、特に、着脱可能な記録媒体を当該システムから外し、パーソナルコンピュータにその記録媒体を接続したときとするとよい。 When the recording medium is accessible from a personal computer, it may be when the system has a wireless communication function (such as a WiFi network connection function) and the personal computer also has a wireless communication function that can be connected to the system, and the recording medium of the system can be accessed from the personal computer, but it is particularly preferable to remove a removable recording medium from the system and connect the recording medium to the personal computer.
前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくともその一部を読み出し可能とする構成としては、一般的なオペレーティングシステムの標準のフォーマットと互換性を有するフォーマットとするとよく、例えばマイクロソフト社のWindowsのエクスプローラーでドライブレターのアイコンを右クリックして表示される「フォーマット」を選択した際に、GUIで表示されるものを用いてフォーマットされる形式とするとよい。
フォーマットとしては、特にFAT16,FAT32,exFATの少なくともいずれか1つとするとよい。
In order to configure the recording medium so that at least a portion of it can be read by a general operating system of the personal computer when the recording medium is accessible from the personal computer, the recording medium should be in a format that is compatible with the standard format of the general operating system, for example, a format that is displayed in a GUI when a drive letter icon is right-clicked in Microsoft Windows Explorer and "Format" is selected.
The format should preferably be at least one of FAT16, FAT32, and exFAT.
前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくともその一部を読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式での記録の構成としては、前記記録媒体に対してパーソナルコンピュータの一般的なオペレーティングシステムが用いているフォーマットと同じフォーマットのパーテーションを備えるとともに異なるフォーマットのパーテーションを備える構成としたり(特に下記の(10)とするとよい)、前記記録媒体に対してパーソナルコンピュータの一般的なオペレーティングシステムが用いているフォーマットと同じフォーマットのパーテーションを備えそのパーテーションの記録の手順を一般的なオペレーティングシステムが行う手順とは異なる手順としたり(特に下記の(2)から(8)の少なくともいずれか1つのようにするとよい)するとよい。これらを組み合わせるようにしてもよい。 When the recording medium is inserted in a personal computer, at least a part of it can be read by the general operating system of the personal computer, but the configuration for recording in a method different from the writing method in the general operating system may be such that the recording medium is provided with a partition in the same format as that used by the general operating system of the personal computer, as well as a partition in a different format (particularly, (10) below is preferable), or the recording medium is provided with a partition in the same format as that used by the general operating system of the personal computer, and the procedure for recording the partition is different from that used by the general operating system (particularly, at least one of (2) to (8) below is preferable). A combination of these may also be used.
(2)前記生成した情報として撮像手段によって撮像された撮像データに基づく映像データを備え、
前記一般的なオペレーティングシステムにおける書き込み方式は、ファイルにデータが書き込まれファイルサイズが0から1以上に変化するときその時点の未使用クラスタを1つ割り当て、当該ファイルのディレクトリエントリ内にそのクラスタ番号をセットし、以降、ファイルサイズが増大して書き込み中のクラスタをあふれるたびに新しいクラスタを割り当てクラスタチェーンを形成していく書き込み方式であるのに対し、
前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、映像データを含むファイルを生成する際に所定数の連続する番号の未使用クラスタを予め割り当てることでクラスタチェーンを形成し、クラスタサイズに前記所定数を乗じたサイズの領域に前記映像データを含むデータを連続して書き込んでファイルを生成する構成とするとよい。
(2) the generated information includes video data based on imaging data captured by an imaging means;
The writing method in the above general operating system is such that when data is written to a file and the file size changes from 0 to 1 or more, one unused cluster is allocated at that time, and that cluster number is set in the directory entry of the file. Thereafter, whenever the file size increases and the cluster being written overflows, a new cluster is allocated and a cluster chain is formed.
A method different from the writing method used in the general operating system may involve forming a cluster chain by pre-allocating a predetermined number of consecutively numbered unused clusters when generating a file including video data, and then writing data including the video data continuously into an area of a size calculated by multiplying the cluster size by the predetermined number to generate the file.
このようにすれば、システムにおいて、撮像手段によって撮像された撮像データに基づく映像データの書き込み・消去を記録媒体に対して繰り返し行ったとしても、ファイルの断片化を従来よりも起きにくくできるとともに、パーソナルコンピュータの一般的なオペレーティングシステムで映像データの記録されたファイルを読み出すことができる。 In this way, even if the system repeatedly writes and erases video data based on imaging data captured by the imaging means to the recording medium, file fragmentation is less likely to occur than in the past, and files containing recorded video data can be read using a typical operating system of a personal computer.
一般的なオペレーティングシステムで少なくともその一部を読み出し可能な構成としては、一般的なオペレーティングシステムの標準のフォーマットソフトウェアでのフォーマット時に選択可能なクラスタサイズでフォーマットするとよく、例えばマイクロソフト社のWindowsで選択可能なクラスタサイズ(マイクロソフト社ではアロケーションユニットサイズという)で記録媒体をフォーマットする機能を備えるとよい。このクラスタサイズは、フォーマットがFAT16,FAT32の場合4Kバイト、8Kバイト16Kバイト、32Kバイト、64Kバイトである。フォーマットがexFATの場合、4 Kバイト、32 Kバイト、128 Kバイトである。
前記所定数は100以上とするとよく、1000以上とするとさらによい。。
To make it possible to read at least a part of the disk with a general operating system, the disk should be formatted with a selectable cluster size when formatting with standard formatting software for the general operating system, for example, by providing a function for formatting the recording medium with a selectable cluster size (called allocation unit size by Microsoft) in Microsoft Windows. The cluster size is 4K bytes, 8K bytes, 16K bytes, 32K bytes, and 64K bytes when the format is FAT16 or FAT32. When the format is exFAT, the cluster size is 4K bytes, 32K bytes, and 128K bytes.
The predetermined number is preferably 100 or more, and more preferably 1000 or more.
また「クラスタサイズに前記所定数を乗じたサイズ」は、特に、メガバイト単位のサイズとするとよい。特に数十メガバイト単位のサイズとするとよい。 The "size obtained by multiplying the cluster size by the specified number" should preferably be a size in megabytes, and more preferably a size in tens of megabytes.
例えば「クラスタサイズに前記所定数を乗じたサイズ」は、一般的なオペレーティングシステムの標準のフォーマットソフトウェアでのフォーマット時に選択可能なクラスタサイズに比べ、一桁以上の大きいサイズとするとよい。例えば一般的なオペレーティングシステムの標準のフォーマットソフトウェアでのフォーマット時に選択可能なクラスタサイズがキロバイト単位であれば、「クラスタサイズに前記所定数を乗じたサイズ」はメガバイト単位とするとよい。 For example, the "size obtained by multiplying the cluster size by the specified number" should be at least one order of magnitude larger than the cluster sizes selectable when formatting with standard formatting software for general operating systems. For example, if the cluster sizes selectable when formatting with standard formatting software for general operating systems are in kilobytes, the "size obtained by multiplying the cluster size by the specified number" should be in megabytes.
また、この構成において、この映像データが含まれる1つのファイルのサイズは、「クラスタサイズに前記所定数を乗じたサイズ」よりも大きく設定するとよい。例えば映像ファイルの記録時間・ビットレート等の設定を「クラスタサイズに前記所定数を乗じたサイズ」よりも大きなサイズのファイルが生成される設定とするとよい。望ましくは、この映像データが含まれる1つのファイルのサイズは、「クラスタサイズに前記所定数を乗じたサイズ」の数倍から十数倍程度に設定するとよい。 In addition, in this configuration, the size of one file containing this video data should be set to be larger than the "size obtained by multiplying the cluster size by the specified number." For example, the recording time, bit rate, etc. of the video file should be set to create a file that is larger in size than the "size obtained by multiplying the cluster size by the specified number." Desirably, the size of one file containing this video data should be set to be several to several dozen times the "size obtained by multiplying the cluster size by the specified number."
一般的なオペレーティングシステムにおける書き込み方式は、ファイルにデータが書き込まれファイルサイズが0から1以上に変化するときその時点の未使用クラスタが1つ割り当てられ、当該ファイルのディレクトリエントリ内にそのクラスタ番号をセットし、以降、ファイルサイズが増大して書き込み中のクラスタをあふれるたびに新しいクラスタを割り当てクラスタチェーンが形成される書き込み方式であるため、異なるサイズのファイルの生成、削除を繰り返した場合に記録媒体の使用効率は高くできる。例えば、小さいサイズのファイル、大きいファイルのサイズが混在していた場合、クラスタ番号が連続した領域が確保されるとは限らないものの、無駄なく使えるのでパソコンのファイルの書き込みの方式としてはよい方式といえる。しかしながら、システムにおいては、映像データは大きいファイルのサイズとなる。そのため、映像データを記録するためにはクラスタサイズはメガバイト単位とすると断片化が発生しにくい上、効率の低下も少なくて済む。例えばFATにおいては、フォーマット時に選択可能なクラスタサイズはキロバイト単位なので、50Mバイトのファイルを記録すると、約5000個のクラスタの場所に分散し、書き込み、消去を繰り返すとだんだん、クラスタの書き込み場所が断片化してくるのが欠点であるが、本方式によれば、所定数の連続したクラスタを確保した上でその連続したクラスタに映像データを書き込むため、断片化を抑制できる。 In a typical operating system, when data is written to a file and the file size changes from 0 to 1 or more, one unused cluster is assigned at that time, and that cluster number is set in the directory entry of the file. After that, whenever the file size increases and the cluster being written overflows, a new cluster is assigned and a cluster chain is formed. This writing method allows for high usage efficiency of the recording medium when files of different sizes are repeatedly created and deleted. For example, if small and large files are mixed, the area with consecutive cluster numbers may not be secured, but since it can be used without waste, it is a good method for writing files to a computer. However, in a system, video data is a large file size. Therefore, when recording video data, if the cluster size is set in megabytes, fragmentation is less likely to occur and there is less loss of efficiency. For example, in FAT, the cluster size that can be selected when formatting is in kilobytes, so when a 50MB file is recorded, it is dispersed across approximately 5,000 cluster locations, and the drawback is that the cluster write locations gradually become fragmented as writing and erasing are repeated. However, with this method, a certain number of consecutive clusters are secured, and video data is written to those consecutive clusters, so fragmentation can be suppressed.
パーソナルコンピュータでこの方式を実現するデバイスドライバを作成して組み込むようにして本システムを構成するようにしてもよいが、パーソナルコンピュータではない組み込み機器でこの方式を実現するプログラムを構成して備えるとよい。システムは特に車両において映像等を記録するドライブレコーダとすると特によい。 The system may be configured by creating and incorporating a device driver that realizes this method in a personal computer, but it is more effective to configure and include a program that realizes this method in an embedded device other than a personal computer. The system is particularly effective as a drive recorder that records video and the like in a vehicle.
なお、システムにおける特に映像データは、システムに電源が供給されている間、撮像手段によって撮像された撮像データに基づいて生成されつづけ、記録されつづける(常時記録という)構成を備えるとよい。 The system may be configured so that, in particular, the video data continues to be generated and recorded based on the imaging data captured by the imaging means while power is being supplied to the system (this is called continuous recording).
(3)前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくともその一部を読み出し可能ではあるが、一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、当該システムの前記記録媒体の初期化処理において、パーソナルコンピュータの一般的なオペレーティングシステムで採用されるファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、前記映像データの記録は当該予め確保されたクラスタを使用するファイル内にそのファイルのサイズを超えない範囲で上書きして映像を記録していくことで、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する構成とするとよい。 (3) When the recording medium is inserted in a personal computer, at least a portion of it can be read by a general operating system of the personal computer, but a method that differs from the writing method in the general operating system is to reserve clusters in a fixed location for files that can be read by a file system adopted by the general operating system of the personal computer during initialization processing of the recording medium in the system, and record the video data by overwriting the file that uses the previously reserved clusters to the extent that the size of the file is not exceeded, thereby recording a file containing the video data without changing the location of the cluster of the file.
このようにすれば、記録媒体内でシステムにおいて記録する映像データの書き込みによるファイルの断片化を抑制できる。また、ファイルの管理領域へのアクセスを低減ないし不要とすることが可能となり、例えば従来のシステムにおいて発生していたファイルの管理領域の更新中にシステムの不意の電源断や記録媒体の不意の取り出しによる記録媒体に記録した映像ファイルがパーソナルコンピュータで読み出せなくなるといった問題の起こる可能性を大幅に低減できる。
なお、例えば、この(3)の機能と(2)の機能の双方を備え、いずれの記録を行うかを設定し設定した方の記録を行う機能を備えるようにしてもよい。
In this way, it is possible to suppress fragmentation of files caused by writing video data recorded in the system to the recording medium. It is also possible to reduce or eliminate access to the file management area, and it is possible to significantly reduce the possibility of problems occurring in conventional systems, such as video files recorded on the recording medium becoming unable to be read by a personal computer due to an unexpected power outage of the system or an unexpected removal of the recording medium while updating the file management area.
For example, the system may be provided with both the function (3) and the function (2), and the function of setting which recording to perform may be provided to perform the recording of the set function.
(4)前記記録媒体の初期化処理において、前記予め確保されたクラスタを使用するファイルは固定長のファイルとして予め複数作成しておき、 前記映像データは可変ビットレートであり、所定の単位時間の映像データが1の前記固定長のファイルに記録されるように前記固定長のサイズを、前記可変ビットレートの最大ビットレートで前記所定の単位時間記録するときの映像データを含むデータのサイズよりも大きくするよう設定した記録を行う機能を備えるとよい。 (4) In the initialization process of the recording medium, a plurality of files using the previously secured clusters are created in advance as fixed-length files, and the video data is at a variable bit rate, and a recording function is provided in which the size of the fixed length is set to be larger than the size of data including the video data when recorded for the specified unit of time at the maximum bit rate of the variable bit rate so that the video data for the specified unit of time is recorded in one file of the fixed length.
このようにすれば、単位時間あたりの映像データは予め作成された固定長のファイル内に記録されることになる。したがって、ファイルの断片化の発生をほぼ確実に防止できるとともに、管理領域の破壊の可能性を低減できる。なお、次の単位時間の映像データは次の予め作成された固定長のファイル内に記録することを繰り返し、すべての予め作成された固定長のファイルへの映像データの記録が完了したら次に一番はじめに記録した固定長のファイルへ映像データを上書きしていく構成とするとよい。 In this way, the video data per unit time is recorded in a pre-created fixed-length file. This almost certainly prevents file fragmentation and reduces the possibility of damage to the management area. The next unit time of video data is recorded in the next pre-created fixed-length file, and this is repeated until all video data has been recorded in all pre-created fixed-length files, at which point the video data is overwritten into the first fixed-length file recorded.
所定の単位時間は1分から10分の範囲が望ましい。特に1分または5分とするとよい。仮にシステムにおいて映像データの記録中に不意の電源断や不意の媒体の取り外しなどが発生しても、失われる可能性があるデータがこれらの時間内で済むからである。 The specified unit time should preferably be in the range of 1 to 10 minutes. It is especially good to set it to 1 or 5 minutes. This is because even if the system experiences a sudden power outage or the media is removed unexpectedly while recording video data, the data that could potentially be lost will be limited to this time.
(5)前記記録媒体の初期化処理において、前記予め確保されたクラスタを使用するファイルは固定長のファイルとして予め複数作成しておき、 前記映像データは可変ビットレートであり、当該可変ビットレートの映像データが1の前記固定長のファイルにできるだけ充足して記録されるように、1の固定長ファイルへ記録した容量を監視して、記録する前記固定長のファイルを変更していく機能を備えるとよい。 (5) In the initialization process of the recording medium, a plurality of files using the previously secured clusters are created in advance as fixed-length files, and the video data is variable bit rate. A function is provided for monitoring the capacity recorded in one fixed-length file and changing the fixed-length file to be recorded so that the video data of the variable bit rate is recorded as fully as possible in one fixed-length file.
このようにすれば、1の固定長のファイルに記録される映像の時間は一定とはならないが、上記(4)方式で発生する固定長のファイルの全体に映像が記録されず記録媒体に記録可能な映像の時間数が減ってしまうという課題を解決できる。あらかじめファイルを作っておき(決まった場所のクラスタを確保しておき)そのクラスタ場所を変えずに上書きする方式において、あらかじめ決めておくということは、そのファイルサイズを絶対に超えたファイルを作れないということになる。そのため、(4)の方式では、最大の欠点である記録媒体内の余らせておく容量が半端なく多くなるとを意味する。例えば、(2)や後述の(10)と同じ時間を記録しようとすると、映像品質が規定されるビットレートを例えば2/3程度に落とさなければならない。そのため、汚い映像になってしまうということになる。しかしながら、(5)のようにすれば、このような問題を解決できる。 In this way, the length of the video recorded in the fixed-length file (1) will not be constant, but it will solve the problem that occurs in the above method (4) where the video is not recorded in the entire fixed-length file, reducing the amount of video that can be recorded on the recording medium. In a method where a file is created in advance (a cluster is reserved in a fixed location) and the cluster location is overwritten without changing, the fact that the file size is determined in advance means that a file that exceeds that size can never be created. Therefore, the biggest drawback of method (4) is that the amount of free space left on the recording medium becomes extremely large. For example, if you try to record the same amount of time as (2) or (10) described below, you will have to reduce the bit rate at which the video quality is determined to about 2/3. This will result in poor quality video. However, if you use method (5), this problem can be solved.
1の前記固定長のファイルにできるだけ充足して記録されるようにする構成としては、例えば、次の固定長のファイルがキーフレームから始まるように、少なくともキーフレーム間(キーフレームから次のキーフレームの1つ前のフレーム)の映像をシステム内にバッファリングしておき、キーフレーム間の映像が現在書き込み中のファイルにまだ入る場合には現在書き込み中のファイルへ書き込み、入らない(あふれる)場合には次の固定長のファイルに記録するように制御するとよい。キーフレーム間としては例えばIフレーム間とするとよく、PフレームやBフレームから次の固定長のファイルの内容が始まらないように構成し、Iフレームから始まるように構成するとよい。
なお、例えば、この(5)の機能と(4)の機能の双方を備え、いずれの記録を行うかを設定し設定した方の記録を行う機能を備えるようにしてもよい。
As a configuration for recording as much as possible into the fixed-length file of one, for example, it is preferable to buffer at least the video between key frames (the frame from the key frame to the frame before the next key frame) in the system so that the next fixed-length file starts from a key frame, and if the video between the key frames still fits into the file currently being written, it is written into the file currently being written, and if it does not fit (overflows), it is controlled so that it is recorded into the next fixed-length file. For example, the video between key frames may be between I frames, and it is preferable to configure so that the content of the next fixed-length file does not start from a P frame or B frame, but starts from an I frame.
For example, both the function (5) and the function (4) may be provided, and a function for setting which recording to perform and performing the recording of the set function may be provided.
(6)当該システムは、電源が投入されている間、前記映像データを前記記録媒体に対して常時記録する機能を備え、 前記記録媒体の初期化処理において、前記予め確保されたクラスタを使用するファイルは非常に大きな1のファイルとして予め作成しておき、 前記常時記録する映像データは当該非常に大きなファイル内に記録するようにしてもよい。
このようにすれば、処理を簡略化できるとともに、断片化の可能性を従来よりも低減することができる。
(6) The system may have a function of constantly recording the video data on the recording medium while the power is on, and in an initialization process of the recording medium, a file using the pre-allocated clusters may be created in advance as a single very large file, and the video data to be constantly recorded may be recorded within the very large file.
In this way, the process can be simplified and the possibility of fragmentation can be reduced more than before.
なお、例えば、(4)から(6)の機能のうち少なくともいずれか2つを備え、いずれの記録を行うかを設定し設定したものの記録をする機能を備えるようにしてもよい。 For example, the device may be provided with at least two of the functions (4) to (6), and may have a function for setting which recordings to make and recording the selected items.
非常に大きな1のファイルとしては、例えば、記録媒体の容量以下かつ当該ファイルを格納するファイルシステムの有する最大容量とするとよい。あるいは、非常に大きな1のファイルとしては、例えば、記録媒体の容量の半分以上の容量を有するファイルとするとよく、特にこのファイルのサイズが記録媒体の容量の半分以上(かつ例えば記録媒体の容量以下)とするとよい。またこの範囲で設定させる機能を備えるとよい。 A very large file may, for example, be one that is equal to or less than the capacity of the recording medium and has the maximum capacity of the file system that stores the file. Alternatively, a very large file may, for example, be one that has a capacity of more than half the capacity of the recording medium, and in particular, the size of this file may be more than half the capacity of the recording medium (and, for example, less than the capacity of the recording medium). It may also be desirable to have a function that allows the size to be set within this range.
(7) 前記予め確保されたクラスタを使用するファイルは前記記録媒体の初期化処理において前記パーソナルコンピュータのオペレーティングシステムにおいて不可視なファイルとして生成しておき、前記映像データの書き込み時に当該書き込みを行うファイルを可視なファイルとしていく機能を備えるとよい。 (7) The file using the previously reserved clusters may be generated as an invisible file in the operating system of the personal computer during the initialization process of the recording medium, and the file to be written may be made visible when the video data is written.
このようにすれば、前記記録媒体の初期化処理を終えた直後の記録媒体をパーソナルコンピュータで読みだしたときに、前記予め確保されたクラスタを使用する何も映像データが記録されていないファイルが見えてしまうことがなくなる。 In this way, when the recording medium is read by a personal computer immediately after the initialization process of the recording medium is completed, files that use the previously secured clusters and have no video data recorded on them will not be visible.
(8) 前記予め確保されたクラスタを使用するファイルは前記記録媒体の初期化処理において前記パーソナルコンピュータのオペレーティングシステムにおいて映像を再生可能なファイルとして生成する機能を備えるとよい。 (8) The file using the pre-allocated clusters may have a function of generating a file capable of playing video on the operating system of the personal computer during initialization of the recording medium.
このようにすれば、前記記録媒体の初期化処理を終えた直後の記録媒体をパーソナルコンピュータで読みだしたときに見えるファイルを再生して映像を見ることができる。この映像を再生可能なファイルの映像データは再生によって所定の画面を表示しつづける映像とするとよい、例えば、所定の色で一面が覆われた映像(例えば真っ黒な画面の映像)としたり、例えば「未記録のファイルです」といった文字列を表示しつづける映像としたり、予めシステムの内部に記録された所定の映像を含むファイルをコピーして生成したりしてもよい。
なお、例えば、この(8)の機能と(7)の機能の双方を備え、いずれの記録を行うかを設定し設定した方の記録を行う機能を備えるようにしてもよい。
In this way, the image can be viewed by playing the file that is visible when the recording medium is read out on a personal computer immediately after the initialization process of the recording medium is completed. The image data of the playable file may be an image that continues to display a specific screen when played back, for example, an image completely covered with a specific color (for example, an image of a completely black screen), an image that continues to display a character string such as "This is an unrecorded file," or a file containing a specific image that has been recorded in advance inside the system may be generated by copying the file.
For example, both the function (8) and the function (7) may be provided, and a function for setting which recording to perform and performing the selected recording may be provided.
(9)前記映像データを含むファイルは、前記パーソナルコンピュータの一般的なオペレーティングシステムで再生可能なファイル形式で生成する機能を備えるとよい。 (9) The file containing the video data may be generated in a file format that can be played on a general operating system of the personal computer.
このようにすれば、記録媒体に記録された映像ファイルを、パーソナルコンピュータの一般的なオペレーティングシステムで再生可能となる。特に(8)の構成を備えるとよい。特に(4)から(6)の構成において、初期化処理において作成するファイルについても前記パーソナルコンピュータの一般的なオペレーティングシステムで再生可能なファイル形式で生成するとよい。 In this way, the video file recorded on the recording medium can be played back on a general operating system of the personal computer. It is particularly preferable to have the configuration of (8). In particular, in the configurations of (4) to (6), it is also preferable to generate the file created in the initialization process in a file format that can be played back on the general operating system of the personal computer.
上記(2)から(9)のフォーマット形式は前記パーソナルコンピュータのオペレーティングシステムにおいて採用されるフォーマット形式とするとよく、初期化処理においては、当該フォーマット形式でフォーマットした後に(2)から(9)の各項で述べた初期化処理を行うとよい。 The above format formats (2) to (9) may be the format formats adopted by the operating system of the personal computer, and in the initialization process, the format may be formatted in the format and then the initialization process described in each of items (2) to (9) may be performed.
(10)前記生成した情報として撮像手段によって撮像された撮像データに基づく映像データを備え、 前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくともその一部を読み出し可能な構成として、前記記録媒体に対して前記パーソナルコンピュータの一般的なオペレーティングシステムが用いているフォーマットと同じフォーマットのパーテーションを備え、当該パーテーションへの書き込みを行う機能を備え、 前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式として、パーソナルコンピュータの一般的なオペレーティングシステムが用いているフォーマットとは異なるフォーマットのパーテーションを備え、 当該異なるフォーマットのパーテーションに対しては、映像データのインデックスを管理領域に書き込まず、映像データを記録媒体にシーケンシャルに詰めて書き込みを行う機能を備えるとよい。 (10) The generated information may include video data based on imaging data captured by an imaging means, and the recording medium may be configured to be at least partially readable by a general operating system of the personal computer when the recording medium is attached to the personal computer, and the recording medium may be provided with a partition of the same format as that used by the general operating system of the personal computer, and the recording medium may be provided with a function for writing to the partition, and a partition of a different format than that used by the general operating system of the personal computer may be provided as a method for writing to the partition of the different format, and the video data may be written to the recording medium sequentially without writing an index of the video data to a management area.
このようにすれば、断片化という概念はなくなる。また映像データは、パーソナルコンピュータの一般的なオペレーティングシステムの標準機能だけでは見ることができない。したがって、のセキュリティー要素も高いといえる。 In this way, the concept of fragmentation is eliminated. Furthermore, video data cannot be viewed using the standard functions of a typical operating system on a personal computer. Therefore, the security element of is also high.
また例えば(2)から(9)の機能においては管理領域書いているときに記録媒体をシステムから抜くとタイミングによっては、記録媒体の中身が全滅する。(10)の方式ではこのようなことがおこならない。なお(2)から(9)の機能において映像データの記録時には管理領域を触らないように構成するとよいが、すべてこのように構成することが困難な場合もある。そのような場合には(10)の方式をとるとよい。 For example, in functions (2) to (9), if the recording medium is removed from the system while the management area is being written, depending on the timing, the contents of the recording medium may be lost. This does not happen with method (10). It is advisable to configure functions (2) to (9) so that the management area is not touched when recording video data, but there are cases where it is difficult to configure all of them in this way. In such cases, method (10) is recommended.
なお、(10)の構成において、前記記録媒体に対して前記パーソナルコンピュータの一般的なオペレーティングシステムが用いているフォーマットと同じフォーマットのパーテーションについても、(10)の映像データの記録とともに(2)から(9)の少なくともいずれか1の映像データの記録を行う機能を備えるようにしてもよい。このようにすれば、いずれかのパーテーションが破壊されたとしても、破壊されていないパーテーションから映像データを読み出して再生させることができる。 In the configuration of (10), a partition having the same format as that used by the general operating system of the personal computer on the recording medium may also be provided with a function for recording at least one of the video data of (2) to (9) in addition to recording the video data of (10). In this way, even if any of the partitions is destroyed, the video data can be read and played back from the undestroyed partition.
なお(10)の方式では、映像データは可変長のため、映像フレームの先頭を見つけることが非常に困難となる。そこで、それぞれのフレームにチェーンデータをつけて置き、フレーム間で検索ができるようにするとよい。フレーム単位にFATでいうディレクトリエントリがあるような仕組みとするとよい。欠点は、パーソナルコンピュータの一般的なオペレーティングシステムにおいて例えばエクスプローラーのようなファイル検索するAPPで見えないので、専用のAPPが必要になる。例えば記録媒体がSDカードである場合、SDカードのアクセスとして、連続されたエリアに書き込みを行うと早く書けるが、とびとびのエリアに書き込みを行うと書き込み速度が一気に低下する。しかし(10)のように構成すれば。これを防ぐことができ、例えば、2カメラ/常時記録とイベントを別々に合計4ストリームの同時書き込みを実現できる。また、通信型のシステムでは、プラス汚い映像(容量の少ない映像)を足して8ストリームの書き込みも他の記録方法に比べ比較的容易に可能となる。 In the method (10), since the video data is variable length, it is very difficult to find the beginning of a video frame. Therefore, it is a good idea to attach chain data to each frame so that searches can be performed between frames. It is a good idea to have a system in which there is a directory entry, as in FAT, for each frame. The disadvantage is that it is not visible in a file search application such as Explorer in a general operating system of a personal computer, so a dedicated application is required. For example, when the recording medium is an SD card, writing to a continuous area is faster when accessing the SD card, but writing to discontinuous areas reduces the writing speed dramatically. However, if configured as in (10), this can be prevented, and for example, simultaneous writing of a total of four streams can be achieved, for example, for two cameras/continuous recording and events separately. Also, in a communication-type system, writing eight streams by adding dirty video (video with low capacity) is relatively easy compared to other recording methods.
(11) 前記映像データについて、管理領域を使用せずに過去へ所定時間遡るための第一の情報と、管理領域を使用せずに過去へ所定フレーム遡るための第二の情報とを付与し、当該第一の情報と第二の情報に基づいて映像の頭出しを行う機能を備えるとよい。
(12)(1)から(12)のいずれかに記載のシステムの機能をコンピュータに実現させるためのプログラムとするとよい。
(11) It is preferable that the video data is provided with a function of adding first information for going back a predetermined time in the past without using a management area, and second information for going back a predetermined frame in the past without using a management area, and cueing the video based on the first information and the second information.
(12) It is preferable that the functions of the system described in any one of (1) to (12) be realized by a computer as a program.
(13)上記(10)のシステムで記録した前記パーソナルコンピュータの一般的なオペレーティングシステムが用いているフォーマットとは異なるフォーマットのパーテーションの映像データを前記パーソナルコンピュータの一般的なオペレーティングシステムから参照可能とする機能をコンピュータに実現させるためのドライバプログラムをパーソナルコンピュータの一般的なオペレーティングシステム向けに提供するとよい。 (13) It is preferable to provide a driver program for the general operating system of a personal computer to enable a computer to realize a function that enables the general operating system of the personal computer to reference video data of a partition in a format different from the format used by the general operating system of the personal computer, the video data being recorded by the system of (10) above.
上述した(1)から(13)に記載した「パーソナルコンピュータ」を「スマートフォン」に置き換えた構成としてもよい。また、上述した(1)から(13)に記載した「パーソナルコンピュータ」を「タブレット」に置き換えた構成としてもよい。これらの場合、一般的なオペレーティングシステムとしては、Androidとするとよい。 The "personal computer" described in (1) to (13) above may be replaced with a "smartphone." Also, the "personal computer" described in (1) to (13) above may be replaced with a "tablet." In these cases, Android may be used as a general operating system.
上述した(1)から(11)に示した発明は、任意に組み合わせることができる。例えば、(1)に示した発明の全て又は一部の構成に、(2)以降の少なくとも1つの発明の少なくとも一部の構成を加える構成としてもよい。特に、(1)に示した発明に、(2)以降の少なくとも1つの発明の少なくとも一部の構成を加えた発明とするとよい。また、(1)から(11)に示した発明から任意の構成を抽出し、抽出された構成を組み合わせてもよい。本願の出願人は、これらの構成を含む発明について権利を取得する意思を有する。また「~の場合」「~のとき」という記載があったとしても、その場合やそのときに限られる構成として記載はしているものではない。これらはよりよい構成の例を示しているものであって、これらの場合やときでない構成についても権利取得する意思を有する。また順番を伴った記載になっている箇所もこの順番に限らない。一部の箇所を削除したり、順番を入れ替えたりした構成についても開示しているものであり、権利取得する意思を有する。 The inventions shown in (1) to (11) above can be combined in any way. For example, the invention shown in (1) may be combined with at least a part of the configuration of at least one of the inventions from (2) onwards. In particular, the invention shown in (1) may be combined with at least a part of the configuration of at least one of the inventions from (2) onwards. Any configuration may be extracted from the inventions shown in (1) to (11) and the extracted configurations may be combined. The applicant of this application intends to acquire rights to the inventions including these configurations. Furthermore, even if there is a description such as "in the case of" or "when", this is not intended to describe the configuration as being limited to that case or time. These are examples of better configurations, and the applicant intends to acquire rights to configurations other than these cases or times. Furthermore, the parts described in order are not limited to this order. Configurations in which some parts have been deleted or the order has been changed are also disclosed, and the applicant intends to acquire rights to them.
本発明によれば、従来よりも優れたシステム等を提供できる。
例えば、記録媒体の内容の断片化、不意の電源断・不意の記録媒体の取り外し等によるアクセス不可等による管理領域の破壊等を抑制することも可能となり、定期的な記録媒体のフォーマットを行う回数を低減することができたり、あるいは、定期的な記録媒体のフォーマットを行わなくともよいシステム等を提供することができる。
According to the present invention, it is possible to provide a system etc. that is superior to conventional systems.
For example, it is possible to prevent fragmentation of the contents of the recording medium, or destruction of the management area due to inaccessibility caused by an abrupt power outage or abrupt removal of the recording medium, thereby reducing the number of times that recording media need to be formatted periodically, or providing a system that does not require periodic formatting of recording media.
なお、本願の発明の効果はこれに限定されず、本明細書及び図面等に開示される構成の部分から奏する効果についても開示されており、当該効果を奏する構成についても分割出願・補正等により権利取得する意思を有する。例えば本明細書において「~できる」「~可能である」などと記載した箇所などは奏する効果を明示する記載であり、また「~できる」「~可能である」などといった記載がなくとも効果を示す部分が存在する。またこのような記載がなくとも当該構成よって把握される効果が存在する。 Note that the effects of the invention of this application are not limited to these, and effects achieved from the configuration parts disclosed in this specification and drawings, etc. are also disclosed, and it is our intention to obtain rights to the configuration that achieves said effects through divisional applications, amendments, etc. For example, in this specification, statements such as "can do" and "is possible" are statements that clearly indicate the effect that is achieved, and there are also parts that show the effect even without statements such as "can do" and "is possible." Also, there are effects that can be understood from the configuration even without such statements.
以下、図面を参照して本発明を実施するための形態について説明する。なお、以下に示す実施形態は、本発明を提供した一つの実施形態であり、以下の記載に基づいて本願発明の内容が限定して解釈されるものではない。
以下、本発明の一実施例として本システムを車両に設置されたドライブレコーダで実行されるプログラムの処理によって実現した例に基づいて説明する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the embodiment shown below is one embodiment of the present invention, and the contents of the present invention should not be interpreted as being limited based on the following description.
Hereinafter, as an embodiment of the present invention, the present system will be described based on an example in which the system is realized by processing a program executed by a drive recorder installed in a vehicle.
図1に示すように、本実施例のドライブレコーダ1は、ドライブレコーダ1によって撮影された撮像データを圧縮して生成した映像データを記録媒体の一例であるSDカードに記録する機能を備える。そして、車両のエンジンが切られ、ドライブレコーダの電源が落とされた状態で、ドライブレコーダ1からSDカードが抜き取られ、事務所等に設置されたパソコン35に接続されたSDカードリーダライタ36に装着された場合、パソコン35によって実行される図5に示したビューアソフトの画面上で、記録された映像データを再生して表示させる機能を備える。なお、SDカードは32GBの容量のカードである。また、パソコン35上では、オペレーティングシステムとしてマイクロソフト社のWindows10が動作している。
As shown in FIG. 1, the
ドライブレコーダ1は、図2に示すように、車両のフロントガラス3の上部であって左右方向中央付近のルームミラー4に隣接する助手席側の位置に、両面テープ等の取付部材の一面を貼り付け、他面をフロントガラスに貼り付けて固定している。ドライブレコーダ1は、車両前方を撮影する向きにカメラのレンズが向けられて固定されている。ドライブレコーダ1はシガーソケット5と電源ケーブル6が接続され、車両のアクセサリ電源がオンの場合に車両側から給電を受ける。
As shown in FIG. 2, the
図3はドライブレコーダ1の電気的な概略構成を示す図である。図3に示すように、ドライブレコーダ1は、コントローラMCと、CCDカメラ13と、インターフェース33と、GPS受信器24と、タッチパネル付きの表示部25と、SDカードリーダー31と、加速度センサ15と、データベース32等を備える。コントローラMCには、CCDカメラ13に接続されCCDカメラ13からの映像信号をコントローラMCへの入力可能なデジタル信号へ変換するインターフェース33と、加速度センサ15、GPS受信機24、表示部25、SDカードリーダー31、データベース32がそれぞれ接続されている。
Figure 3 is a diagram showing the schematic electrical configuration of the
コントローラMCは周知のCPUやROM及びRAM等のメモリ、タイマ、その他の周辺回路等を有するマイコン等から構成されている。コントローラMCのROM内には、SDカードを映像データが書き込みを可能な状態にする初期化処理をするためのカード初期化処理プログラム、GPS受信器24によって受信された位置情報等を含むGPS情報と、加速度センサ15によって検出された加速度情報と、CCDカメラ13によって撮影された映像情報とを含む生成情報をSDカードに保存させる記録処理プログラム、後述する各種の処理を行うためのプログラム、リアルタイムOS(Operation System)等の各種プログラムが記憶されており、コントローラMCはこうしたプログラムを実行することで各種の機能を実現する。
コントローラMCは記録処理プログラムを実行して、後述する8種類のフォーマットうちいずれかのフォーマットで生成情報を記録する記録処理を行う。
The controller MC is composed of a microcomputer having a known CPU, memories such as ROM and RAM, a timer, other peripheral circuits, etc. The ROM of the controller MC stores various programs such as a card initialization processing program for performing initialization processing to make the SD card in a state in which video data can be written, a recording processing program for storing generated information including GPS information including position information received by the
The controller MC executes a recording process program to perform a recording process for recording the generated information in one of eight formats, which will be described later.
GPS受信器24はコントローラMCの指示に基づいて現在時間における自車の位置情報を検出する。検出タイミングは本実施例では1秒ごととされている。コントローラMCは、記録処理において1秒毎に位置情報を含むGPS情報を取得する。位置情報は、GPS衛星からの信号に基づいて求めた時刻、自車の位置、速度、緯度、経度、高度等である。
The
加速度センサ15は3軸(X,Y,Z)それぞれの方向の加速度及び傾きを検出する3軸タイプのセンサであって、常時検出値をコントローラMCに出力する。コントローラMCは、記録処理において10msごとにこの3軸の加速度の情報と時刻の情報を関連づけて加速度情報を生成する。
The
SDカードリーダー31はコントローラMCの制御に基づいて挿入口18から挿入されるSDカードのデータを読み取り、あるいはSDカードのデータを更新する。データベース32はコントローラMCに外付けした不揮発性メモリ(例えばEEPROM)である。
The
CCDカメラ13は撮影されるデジタル変換をするインターフェース部33を介して常時撮影した撮像情報をコントローラMCに出力する。コントローラMCは記録処理においてインターフェース部33を介して入力した撮像情報を時刻と関連付けて圧縮して映像情報を生成する。
The
コントローラMCは、電源投入直後及び記録処理中にSDカードが抜かれたことを検出したときにSDカード装着チェック処理を行う。SDカード装着チェック処理は、SDカードリーダライタ31にSDカードが装着されているか否かをチェックし、SDカードの装着が検出できた場合にはSDカードフォーマット確認処理へ移行し、SDカードの装着が検出できない場合には表示部25に「SDカードを挿入してください」という文字列を表示してSDカードの装着を待ち、SDカードの装着が検出されたらこの表示を消して、SDカードフォーマット確認処理へ移行する処理である。
The controller MC performs an SD card insertion check process immediately after power-on or when it detects that the SD card has been removed during recording processing. The SD card insertion check process checks whether an SD card is inserted in the SD card reader/
SDカードフォーマット確認処理は、SDカードの各セクタを読みパーテーションとフォーマットの論理構造を確認して後述の8種類のフォーマットのいずれのフォーマットのカードにあたるかを判定し、判定結果のフォーマットの種類を記録処理に渡して記録処理を開始する。記録処理では渡されたそのフォーマットの種類の構造にしたがってSDカードへの記録を行う。なお、8種類のいずれのフォーマットにも該当しない場合には、カード初期化処理に移行する。 The SD card format confirmation process reads each sector of the SD card, checks the partition and format logical structure, and determines which of the eight formats described below the card is in, then passes the resulting format type to the recording process to start the recording process. The recording process records to the SD card according to the structure of the format type passed in. If the format does not match any of the eight types, the process moves to card initialization process.
カード初期化処理は、表示部25に図6に示す映像データ記録フォーマット画面を表示する。映像データ記録フォーマット画面は、8種類のフォーマットからいずれかのフォーマットを選択してカードの初期化指示を入力させる画面である。この映像データ記録フォーマット画面は、上下方向に並んだ8つの行のフォーマット方法を示す文字列と各行の文字列の左に備えたラジオボタンと、最下部に設けた「キャンセル」ボタンと、「初期化」ボタンとを備える。「初期化」ボタンがタッチされたときにはラジオボタンで選択された行の文字列が示す1のフォーマット方法で初期化処理を行った後、選択されているフォーマットの種類をコントローラMC内のRAMに記憶し、記録処理へ移行する。「キャンセル」ボタンがタッチされた場合には、SDカードフォーマット確認処理へ再度移行する。
The card initialization process displays the video data recording format screen shown in FIG. 6 on the
8つのフォーマット方法は、図6に示すように、上から順に「所定数の連続する番号の未使用クラスタを予め割り当てる」「所定の単位時間の映像データを1の固定長のファイルに記録(初期化時可視)」「所定の単位時間の映像データを1の固定長のファイルに記録(初期化時不可視)」「可変ビットレートの映像データを1の固定長のファイルにできるだけ充足して記録(初期化時可視)」「可変ビットレートの映像データが1の固定長のファイルにできるだけ充足して記録(初期化時不可視)」「常時記録する映像データは非常に大きな1のファイル内に記録(初期化時可視)」「常時記録する映像データは非常に大きな1のファイル内に記録(初期化時不可視)」「独自フォーマットで記録」である。各場合の処理について次の(1)から(8)に説明する。
(1)「クラスタチェーン中で所定数の連続する番号の未使用クラスタを予め割り当てる」の場合
As shown in Fig. 6, the eight formatting methods are, from top to bottom, "allocate a predetermined number of unused clusters with consecutive numbers in advance", "record a predetermined unit of video data in one fixed-length file (visible at initialization)", "record a predetermined unit of video data in one fixed-length file (invisible at initialization)", "record variable bit rate video data as full as possible in one fixed-length file (visible at initialization)", "record variable bit rate video data as full as possible in one fixed-length file (invisible at initialization)", "record video data to be recorded continuously in one very large file (visible at initialization)", "record video data to be recorded continuously in one very large file (invisible at initialization)", and "record in a unique format". The processing for each case is explained below in (1) to (8).
(1) In the case of "pre-allocating a predetermined number of consecutive unused clusters in the cluster chain"
コントローラMCは、「クラスタチェーン中で所定数の連続する番号の未使用クラスタを予め割り当てる」が選択されている状態で「初期化」ボタンがタッチされたことを検出すると、SDカードの全体を1パーテーションとして、その1パーテーションをFAT32形式でフォーマットするFAT32形式の通常のフォーマットを行った後、記録処理へ移行する。このフォーマットの際のクラスタサイズは、SDカードの検出された容量が512MBから8,191MBの間の場合は4KB、8,192MBから16,383MBの場合には8 KB、16,384MBから32,767MBの場合には16 KB、32,768MB以上の場合32 KBというWindows10と同じクラスタサイズでフォーマットを行う。そして、この記録処理ではRAMに記憶されたフォーマットの種類が「クラスタチェーン中で所定数の連続する番号の未使用クラスタを予め割り当てる」であることを判定すると、1フレームごとにCCDカメラ13から取得した撮像情報を所定のコーデック(例えばH.254等)で圧縮した映像情報にGPS情報と加速度情報とを字幕データとしてテキスト形式で付加したフレーム情報を生成してフレーム情報60秒分を1つのコンテナファイル(例えばAVIコンテナ)として書き込む。このコンテナファイルのサイズは概ね70MB未満程度となる。このファイルを書き込むとき、パソコン35におけるWindows10の書き込み方式は、ファイルにデータが書き込まれファイルサイズが0から1以上に変化するときその時点の未使用クラスタを1つ割り当て、当該ファイルのディレクトリエントリ内にそのクラスタ番号をセットし、以降、ファイルサイズが増大して書き込み中のクラスタをあふれるたびに新しいクラスタを割り当てクラスタチェーンを形成していく書き込み方式であるが、ドライブレコーダ35は、パソコン35で動作するWindows10における書き込み方式とは異なる方式で書き込む。この異なる方式は、映像情報を含む生成情報を記録するコンテナファイルをSDカード内に記録する際に所定数の連続する番号の未使用クラスタを予め割り当てることでクラスタチェーンを生成し、クラスタサイズ(本実施形態では32KB)にこの所定数(本実施形態では10MB/32KB個)を乗じたサイズ(本実施形態では10MB)の領域に映像情報を連続して書き込んでファイルを生成する処理としている。そして、同様に次の10MBを確保して書き込むことを繰り返し、コンテナファイルをFAT32ファイルシステム上に書き込んでいく。
When the controller MC detects that the "Initialize" button has been touched while "Pre-allocate a specified number of consecutive unused clusters in the cluster chain" is selected, it performs a normal FAT32 format in which the entire SD card is treated as one partition and that partition is formatted in FAT32 format, and then moves to the recording process. The cluster size during this formatting is the same as Windows 10: 4KB if the detected capacity of the SD card is between 512MB and 8,191MB, 8KB if it is between 8,192MB and 16,383MB, 16KB if it is between 16,384MB and 32,767MB, and 32KB if it is 32,768MB or more. In this recording process, if it is determined that the type of the format stored in the RAM is "pre-allocating a predetermined number of consecutive unused clusters in a cluster chain", the imaging information acquired from the
具体的には新たなコンテナファイルをSDカード内に生成するとき、FAT32でフォーマットされたFAT(ファイルアロケーションテーブル)上で前記所定数の連続した番号のクラスタを確保可能な範囲を検索し、この範囲にクラスタチェーンを生成する(先頭のクラスタには次のクラスタ番号、次のクラスタには次の次のクラスタ番頭と連続的にクラスタ番号を格納する)。そして先頭のクラスタ番号を、当該コンテナファイルのファイル名等を記録したディレクトリエントリに記録する。そして、このクラスタチェーンに相当するクラスタ群の容量である10MB分を書き出したら新たに10MB分のクラスタチェーンを同様に生成してそのチェーンの先頭に最終のクラスタからチェーンさせることを繰り返し、1分分のコンテナファイル(本実施形態では70MB未満程度)を書き出して、ファイルをクローズする。10MB単位をいわば一つの巨大な仮想的なクラスタとして扱い、7つの仮想的なクラスタで1分分の映像情報を含む70MB弱のコンテナファイルを保存することができる。 Specifically, when a new container file is generated in an SD card, a range in which the predetermined number of consecutively numbered clusters can be secured is searched for on the FAT (file allocation table) formatted with FAT32, and a cluster chain is generated in this range (the first cluster stores the next cluster number, the next cluster stores the cluster number, and so on). The first cluster number is then recorded in a directory entry that records the file name, etc., of the container file. After writing out 10MB, which is the capacity of the cluster group corresponding to this cluster chain, a new cluster chain of 10MB is similarly generated, and the last cluster is chained to the beginning of the chain, repeatedly, writing out one minute's worth of container file (less than about 70MB in this embodiment), and closing the file. Each 10MB unit is treated as one huge virtual cluster, so to speak, and a container file of just under 70MB containing one minute's worth of video information can be stored in seven virtual clusters.
この方式によれば、ドライブレコーダ1において、CCDカメラ13によって撮像された撮像情報に基づく映像情報を含む生成情報の書き込み・消去をSDカードに対して繰り返し行ったとしても、ファイルの断片化を従来よりも起きにくくできるとともに、パソコン35のWindows10で、このファイルを読み出すことができる。
With this method, even if the
Windows10における書き込み方式は、ファイルにデータが書き込まれファイルサイズが0から1以上に変化するときその時点の未使用クラスタが1つ割り当てられ、当該ファイルのディレクトリエントリ内にそのクラスタ番号をセットし、以降、ファイルサイズが増大して書き込み中のクラスタをあふれるたびに新しいクラスタを割り当てクラスタチェーンが形成される書き込み方式であるため、異なるサイズのファイルの生成、削除を繰り返した場合に記録媒体の使用効率は高くできる。例えば、小さいサイズのファイル、大きいファイルのサイズが混在していた場合、クラスタ番号が連続した領域が確保されるとは限らないものの、無駄なく使えるのでパソコンのファイルの書き込みの方式としてはよい方式といえる。しかしながら、ドライブレコーダ1においては、映像情報を含む生成情報を記録するコンテナファイルは大きいファイルサイズとなる。そのため、映像情報を記録するためにはクラスタサイズはメガバイト単位とすると断片化が発生しにくい上、効率の低下も少なくて済む。例えばFATにおいては、フォーマット時に選択可能なクラスタサイズはキロバイト単位なので、70Mバイトのファイルを記録すると、約7000個のクラスタの場所に分散し、書き込み、消去を繰り返すとだんだん、クラスタの書き込み場所が断片化してくるのが欠点であるが、本方式によれば、10MBづつの連続したクラスタを確保した上でその連続したクラスタにコンテナファイルを書き込むため、断片化を抑制できる。
(2)「所定の単位時間の映像データを1の固定長のファイルに記録(初期化時可視)」の場合
In the writing method in Windows 10, when data is written to a file and the file size changes from 0 to 1 or more, one unused cluster at that time is assigned, and the cluster number is set in the directory entry of the file. After that, whenever the file size increases and the cluster being written overflows, a new cluster is assigned to form a cluster chain, so that the efficiency of use of the recording medium can be increased when files of different sizes are repeatedly created and deleted. For example, when small and large files are mixed, an area with consecutive cluster numbers is not necessarily secured, but it can be used without waste, so it can be said to be a good method for writing files to a personal computer. However, in the
(2) In the case of "recording video data of a specific unit time in one fixed-length file (visible at initialization)"
コントローラMCは、「所定の単位時間の映像データを1の固定長のファイルに記録(初期化時可視)」が選択されている状態で「初期化」ボタンがタッチされたことを検出すると、SDカードの全体を1パーテーションとして、その1パーテーションをFAT32形式でフォーマットするFAT32形式の通常のフォーマットを行った後、32GBのSDカードに70MBの固定長のAVIファイルを400個作成し(ファイル名は0001.aviから0400.aviまで)、記録処理へ移行する。このAVIファイルは内部の映像情報として真っ黒な画面を記録している。記録処理ではWindows10で採用されるFAT32ファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、映像情報を含むAVIファイルの記録は当該予め確保されたクラスタを使用する各AVIファイル内にそのAVIファイルのサイズを超えない範囲で上書きして映像を記録していく。つまり、1フレームごとにCCDカメラ13から取得した撮像情報を所定のコーデック(例えばH.254等)で圧縮した映像情報にGPS情報と加速度情報とを字幕データとしてテキスト形式で付加したフレーム情報を生成してフレーム情報60秒分を1つのコンテナファイル(例えばAVIコンテナ)として初期化処理で作成されているファイルに上書きしていく。このようにして、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する。映像情報は可変ビットレートであり、1分の映像データが1つのこの固定長のファイルに記録されるように固定長のサイズ(前記70MB)を、可変ビットレートの最大ビットレート(本実施形態では8Mbps)で1分分記録するときの映像情報を含む生成情報を含むコンテナファイルのサイズ(本実施形態では前記8Mbps*60秒/8バイト=60MB)よりも大きくするよう設定している。1分の生成情報を1番目のAVIファイルに上書き記録し、次の1分の生成情報は2番目のAVIファイルに上書きしと記録していき、・・・400番目のAVIファイルの上書きが完了したら、1番目のAVIファイルの上書き記録へ戻る。これを繰り返すことで連続的に予めファイルとして確保されたクラスタに記録をすることができる。
When the controller MC detects that the "Initialize" button has been touched while "Record a specific unit of video data in one fixed-length file (visible at initialization)" is selected, it performs a normal FAT32 format in which the entire SD card is treated as one partition and that partition is formatted in FAT32 format, then creates 400 70MB fixed-length AVI files (with file names from 0001.avi to 0400.avi) on the 32GB SD card and moves to recording processing. This AVI file records a completely black screen as the internal video information. In the recording process, clusters are reserved at a fixed location for files that can be read by the FAT32 file system used in Windows 10, and the recording of the AVI file containing video information is performed by overwriting each AVI file that uses the previously reserved clusters to the extent that the size of the AVI file is not exceeded. That is, frame information is generated by compressing the image information acquired from the
このようにすれば、単位時間あたりの映像データは予め作成された固定長のファイル内に上書き記録されることになる。したがって、ファイルの断片化の発生をほぼ確実に防止できるとともに、FATなどの管理領域の破壊の可能性を低減できる。 In this way, the video data per unit time is overwritten and recorded in a pre-created fixed-length file. This almost certainly prevents file fragmentation and reduces the possibility of damage to management areas such as the FAT.
単位時間は本実施形態では1分としている。このようにすれば、仮にドライブレコーダ1において映像情報の記録中に不意の電源断や不意の媒体の取り外しなどが発生しても、失われる可能性があるデータが1分以内でで済む。
In this embodiment, the unit time is one minute. In this way, even if an unexpected power outage or unexpected removal of the medium occurs while the
また、本実施形態では、ファイルの管理領域への書き込みを行わずに内容のみを上書き更新している。そのため、例えば従来のシステムにおいて発生していたファイルの管理領域の更新中にシステムの不意の電源断や記録媒体の不意の取り出しによる記録媒体に記録した映像ファイルの管理領域がパーソナルコンピュータで読み出せなくなるといった問題の起こる可能性を大幅に低減できる。したがって、従来必要だった定期的な記録媒体のフォーマットを行わなくてもよくなり、従来よりも優れたドライブレコーダを提供できる。 Furthermore, in this embodiment, only the contents are overwritten and updated without writing to the file management area. This significantly reduces the possibility of problems occurring, such as when the management area of a video file recorded on a recording medium becomes unreadable by a personal computer due to an unexpected power outage of the system or an unexpected removal of the recording medium while updating the file management area, which occurred in conventional systems. This eliminates the need to perform periodic formatting of recording media, as was previously necessary, and provides a drive recorder that is superior to conventional drive recorders.
本実施形態では、予め確保されたクラスタを使用するAVIファイルはSDカードの初期化処理においてパソコン35のオペレーティングシステムであるWindows10において映像を再生可能なファイルとして生成する機能を備えている。そのため、SDカードの初期化処理を終えた直後のSDカードをパーソナルコンピュータで読みだしたときに見えるAVIファイルを再生して映像を見ることができる。この映像を再生可能なAVIファイルの映像データは再生によって黒色の画面を表示しつづける映像としているが、例えば、他の色で一面が覆われた映像(例えば青色の画面の映像 )としたり、例えば「未記録のファイルです」といった文字列を表示しつづける映像としたりしてもよい。また、予めドライブレコーダ1のデータベース32内に所定の映像を含む上記構造のAVIファイルを記憶しておき、初期化処理中のファイルの生成時にこのファイルをデータベース32からSDカード内にコピーして生成してもよい。
(3)「所定の単位時間の映像データを1の固定長のファイルに記録(初期化時不可視)」の場合
In this embodiment, the AVI file using the pre-allocated clusters has a function of generating a file capable of playing video in Windows 10, which is the operating system of the
(3) In the case of "recording video data of a specific unit time in one fixed-length file (invisible at initialization)"
上記(2)の処理の中で「32GBのSDカードに70MBの固定長のAVIファイルを400個作成し記録処理へ移行する。」という処理を、「32GBのSDカードに70MBの固定長のAVIファイルを400個作成し、すべてのファイルのディレクトリエントリのファイル名の先頭のバイトを削除を示すバイトデータ(本実施形態では0xE5)に置き換えておき、AVIファイルへのデータ書き込み開始時に当該ファイルのファイル名の先頭バイトを元のバイトデータに戻す処理を行う。 In the process (2) above, the process "Create 400 fixed-length AVI files of 70 MB on a 32 GB SD card and move on to recording processing" has been changed to "Create 400 fixed-length AVI files of 70 MB on a 32 GB SD card, replace the first byte of the file name of the directory entry of all files with byte data indicating deletion (0xE5 in this embodiment), and when data writing to the AVI files begins, return the first byte of the file name of the relevant file to the original byte data.
このように予め確保されたクラスタを使用するAVIファイルはSDカードの初期化処理においてパソコン35のオペレーティングシステムであるWindows10において削除された不可視なファイルとして生成しておき、映像情報を含む生成情報のAVIファイルへの書き込み時に当該書き込みを行うファイルを可視なファイルとしていく機能を備えている。
The AVI file that uses the clusters reserved in advance in this way is generated as an invisible file that is deleted in Windows 10, the operating system of the
こうすることで、SDカードの初期化処理を終えた直後の記録媒体をバソコン35で読みだしたときに、予め確保されたクラスタを使用する何も映像データが記録されていないファイルが見えてしまうことがなくなる。
(4)「可変ビットレートの映像データを1の固定長のファイルにできるだけ充足して記録(初期化時可視)」の場合
This prevents files that use previously secured clusters and have no recorded video data from being seen when the recording medium is read by the
(4) In the case of "recording variable bit rate video data as much as possible into one fixed length file (visible at initialization)"
上記(3)では、1分の映像情報を含む生成情報を、予め初期化処理で生成した固定長のファイルに上書き記録する構成とし、1分の生成情報を1番目のAVIファイルに上書き記録して、次の1分の生成情報は2番目のAVIファイルに上書きしと記録していき、・・・400番目のAVIファイルの上書きが完了したら、1番目のAVIファイルの上書き記録へ戻るという処理を行ったが、これを1分の映像情報とせずにできるだけ、AVIファイルの中身が埋まるように記録する。すなわち、可変ビットレートの映像情報が1の固定長のAVIファイルにできるだけ充足して記録されるように、1の固定長のAVIファイルへ生成情報を記録した容量を監視しつつ記録していき、当該容量をオーバーする前に記録する固定長のAVIファイルを次のAVIファイルへと変更していく処理を行う。 In the above (3), the generation information including one minute of video information is overwritten and recorded in a fixed-length file previously generated by the initialization process, and one minute of the generation information is overwritten and recorded in the first AVI file, the next minute of the generation information is overwritten and recorded in the second AVI file, and so on. Once the 400th AVI file has been overwritten, the process returns to overwriting the first AVI file, but this is not recorded as one minute of video information, but rather recorded so that the contents of the AVI file are filled as much as possible. In other words, the capacity of one fixed-length AVI file in which the generation information has been recorded is monitored and recorded so that the variable bit rate video information is recorded as fully as possible in one fixed-length AVI file, and the fixed-length AVI file being recorded is changed to the next AVI file before the capacity is exceeded.
このようにすれば、1の固定長のAVIファイルに記録される映像の時間は一定とはならないが、上記(3)方式で発生する固定長のAVIファイルの全体に映像が記録されずSDカードに記録可能な映像の時間数が減ってしまうという課題を解決できる。あらかじめAVIファイルを作っておき(決まった場所のクラスタを確保しておき)そのクラスタ場所を変えずに上書きする方式において、あらかじめ決めておくということは、そのファイルサイズを絶対に超えたAVIファイルを作らないよう処理することになる。そのため、(3)の方式では、特にビットレートが低い変化の乏しい映像を撮影しているときに、最大の欠点であるSDカード内の余らせておく容量が半端なく多くなることを意味する。しかしながら、(4)のようにすれば、このような問題を解決できる。 In this way, although the length of video recorded in the fixed-length AVI file (1) will not be constant, it solves the problem that occurs with method (3) above, where video is not recorded in the entire fixed-length AVI file, reducing the amount of video that can be recorded on the SD card. In a method in which an AVI file is created in advance (clusters are reserved in fixed locations) and the cluster locations are overwritten without changing, having a predetermined file size means that the processing will be performed so that an AVI file that exceeds that file size will never be created. Therefore, method (3) has the greatest drawback of leaving an enormous amount of free space on the SD card, especially when shooting video with a low bit rate and little change. However, method (4) can solve this problem.
1の固定長のAVIファイルにできるだけ充足して記録されるようにする構成としては、次の固定長のファイルがキーフレームから始まるように、少なくともキーフレーム間(キーフレームから次のキーフレームの1つ前のフレーム)の映像をドライブレコーダ1のコントローラMC内のRAMにバッファリングしておき、キーフレーム間の映像が現在書き込み中のAVIファイルにまだ入る場合には現在書き込み中のAVIファイルへ書き込み、入らない(あふれる)場合には次の固定長のAVIファイルに記録するように制御する。キーフレーム間としては、Iフレーム間としており、PフレームやBフレームから次の固定長のファイルの内容が始まらないようにしており、必ずIフレームから始まるように構成している。
(5)「可変ビットレートの映像データが1の固定長のファイルにできるだけ充足して記録(初期化時不可視)」の場合
上記(2)に対する(3)の処理の変更と同様に、(4)に対する処理の変更を行った処理を行う。
(6)「常時記録する映像データは非常に大きな1のファイル内に記録(初期化時可視)」の場合
In order to record as much as possible into one fixed-length AVI file, at least the video between key frames (the frame before the next key frame from the key frame) is buffered in the RAM in the controller MC of the
(5) In the case of "Variable bit rate video data is recorded as much as possible into one fixed length file (invisible at initialization)", a process is carried out in which the process has been changed to (4) in the same manner as the process of (3) has been changed to (2) above.
(6) "Video data is recorded continuously in one very large file (visible at initialization)"
コントローラMCは、「常時記録する映像データは非常に大きな1のファイル内に記録(初期化時可視)」が選択されている状態で「初期化」ボタンがタッチされたことを検出すると、SDカードの全体を1パーテーションとして、その1パーテーションをFAT32形式でフォーマットするFAT32形式の通常のフォーマットを行った後、32GBのSDカードに4GBの固定長のAVIファイルを7個作成し(ファイル名は0001.aviから0007.aviまで)、記録処理へ移行する。このAVIファイルは内部の映像情報として真っ黒な画面を記録している。記録処理ではWindows10で採用されるFAT32ファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、映像情報を含むAVIファイルの記録は当該予め確保されたクラスタを使用する各AVIファイル内にそのAVIファイルのサイズを超えない範囲で上書きして映像を記録していく。1フレームごとにCCDカメラ13から取得した撮像情報を所定のコーデック(例えばH.254等)で圧縮した映像情報にGPS情報と加速度情報とを字幕データとしてテキスト形式で付加したフレーム情報を生成してフレーム情報を1つのコンテナファイル(例えばAVIコンテナ)として初期化処理で作成されているファイルを満たすまで上書きしていく。このとき、できるだけ、AVIファイルの中身が埋まるように記録する。すなわち、可変ビットレートの映像情報が1の固定長のAVIファイルにできるだけ充足して記録されるように、1の固定長のAVIファイルへ生成情報を記録した容量を監視しつつ記録していき、当該容量をオーバーする前に記録する固定長のAVIファイルを次のAVIファイルへと変更していく処理を行う。このようにして、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する。このようにドライブレコーダ1は、電源が投入されている間、映像情報を含む生成情報をSDカードに対して常時記録する機能を備えておりSDカードの初期化処理において、予め確保されたクラスタを使用するファイルを非常に大きな4GBの1のファイルとして予め複数作成しておき、常時記録する映像情報はこの当該非常に大きな4GBの1のファイル内に記録するようにしている。このようにすれば、処理を簡略化できるとともに、断片化の可能性を従来よりも低減することができる。
When the controller MC detects that the "Initialize" button has been touched while "Record video data to be recorded at all times in one very large file (visible at initialization)" is selected, it performs a normal FAT32 format in which the entire SD card is treated as one partition and this partition is formatted in FAT32 format, then creates seven 4GB fixed-length AVI files (file names 0001.avi to 0007.avi) on the 32GB SD card and moves to recording processing. This AVI file records a completely black screen as the internal video information. In the recording process, clusters are reserved at a fixed location for files that can be read by the FAT32 file system used in Windows 10, and the recording of the AVI file containing video information is performed by overwriting each AVI file that uses the previously reserved clusters to the extent that the size of the AVI file is not exceeded. The captured image information obtained from the
本実施形態では、非常に大きな1のファイルとして、例えば、SDカードの容量である32GB以下かつ当該ファイルを格納するファイルシステムの有するファイルの最大容量である4GBとしたが、exFATでフォーマットを行うように変更して、この非常に大きな1のファイルを、例えば、SDカードの容量の半分以上の容量を有するファイルとしてもよい。特にこの1のファイルのサイズはSDカードの容量の半分以上(かつ例えばSDカードのの容量以下)とするとよい。またこの範囲で、表示部25に表示した図6の画面にさらにスライダを表示して、容量をスライダのユーザ操作(ドラッグ)によって設定させる機能を備えるようにしてもよい。
(7)「常時記録する映像データは非常に大きな1のファイル内に記録(初期化時不可視)」の場合
上記(2)に対する(3)の処理の変更と同様に、(6)に対する処理の変更を行った処理を行う。
In this embodiment, the very large file is, for example, 32 GB or less, which is the capacity of an SD card, and 4 GB, which is the maximum capacity of a file in the file system that stores the file. However, by changing the format to exFAT, this very large file may be, for example, a file having a capacity of more than half the capacity of the SD card. In particular, the size of this file should be more than half the capacity of the SD card (and, for example, less than the capacity of the SD card). Also, within this range, a slider may be displayed on the screen of FIG. 6 displayed on the
(7) In the case where "video data to be recorded continuously is recorded in one very large file (not visible at initialization)", a process is carried out in which the process for (6) has been changed in the same manner as the process for (2) above has been changed to (3).
これまでに述べた(1)から(7)のフォーマット方法及び記録方法では、フォーマット形式はFAT32であるから、パソコン35のWindows10のエクスプローラー等のアプリでファイルを参照することができる。また、これまでに述べた(1)から(7)のフォーマット方法及び記録方法では、映像情報を含むファイルは、パソコン35のWindows10で再生可能なファイル形式で生成しているのでSDカードに記録されたAVIファイルを、パソコン35のWindows10上で再生可能となる。
(8)「独自フォーマットで記録」の場合
In the formatting and recording methods (1) to (7) described above, the format format is FAT32, so that files can be viewed using an application such as Explorer of Windows 10 on the
(8) In the case of "recording in a proprietary format"
コントローラMCは、独自フォーマットで記録」が選択されている状態で「初期化」ボタンがタッチされたことを検出すると、SDカードの全体の半分のサイズで2つのパーテーションを作成する。一つは先頭のパーテーションでFAT32形式でフォーマットする。後方のもう一つのパーテーションはフォーマットせずに、1フレームごとにCCDカメラ13から取得した撮像情報を所定のコーデック(例えばH.254等)で圧縮した映像情報にGPS情報と加速度情報とを字幕データとしてテキスト形式で付加したフレーム情報を生成してフレーム情報を直接シーケンシャルに記録していく。すなわち、後ろのパーテーションはFATのような管理領域を持たず、その結果、映像情報のインデックスを管理領域に書き込まず、映像情報を含む生成情報をSDカードにシーケンシャルに詰めて書き込みを行う。
When the controller MC detects that the "Initialize" button has been touched while "Record in unique format" is selected, it creates two partitions that are half the size of the entire SD card. One is the first partition, which is formatted in FAT32 format. The other rear partition is not formatted, and frame information is generated by compressing the image information acquired from the
このようにすることで断片化という概念はなくなる。また映像情報は、パソコン35のWindows10の標準機能だけでは見ることができない。したがって、のセキュリティー要素も高いといえる。したがって、従来必要だった定期的な記録媒体のフォーマットを行わなくてもよくなり、従来よりも優れたシステムを提供できる。
By doing this, the concept of fragmentation is eliminated. Furthermore, the video information cannot be viewed using only the standard functions of Windows 10 on the
また例えば(1)から(7)の機能においてはFAT等の管理領域を書いているときに記録媒体をシステムから抜くとタイミングによっては、記録媒体の中身が全滅する。(8)の方式ではこのようなことがおこらならない。なお(1)から(7)の機能において映像情報の記録時にはFAT等の管理領域はできるだけ書き込まないように構成するとよいが、すべてこのように構成することが困難な場合もある。そのような場合には(8)の方式を選択するとよい。 For example, in functions (1) to (7), if the recording medium is removed from the system while the FAT or other management area is being written, depending on the timing, the contents of the recording medium may be lost. This does not happen with method (8). In functions (1) to (7), it is best to configure the system so that the FAT or other management area is not written to as much as possible when recording video information, but there are cases where it is difficult to configure all of them in this way. In such cases, method (8) should be selected.
なお、(8)の構成において、SDカードに対してパソコン35のWindows10が用いているフォーマットと同じフォーマットのパーテーションについても、(8)の記録処理とともに(1)から(7)の少なくともいずれか1の記録処理を並行して行う機能を備えるようにしてもよい。このようにすれば、いずれかのパーテーションが破壊されたとしても、破壊されていないパーテーションから映像データを読み出して再生させることができる。
In the configuration of (8), a function may be provided to perform at least one of the recording processes (1) to (7) in parallel with the recording process of (8) for partitions that have the same format as the format used by Windows 10 of the
なお(8)の方式では、映像情報は可変長のため、映像フレームの先頭を見つけることが非常に困難となる。そこで、それぞれのフレームにチェーンデータをつけて置き、フレーム間で検索ができるようにするとよい。フレーム単位にFATでいうディレクトリエントリがあるような仕組みとするとよい。欠点は、パーソナルコンピュータの一般的なオペレーティングシステムにおいて例えばエクスプローラーのようなファイル検索するAPPで見えないので、専用のAPPが必要になる。例えば記録媒体がSDカードである場合、SDカードのアクセスとして、連続されたエリアに書き込みを行うと早く書けるが、とびとびのエリアに書き込みを行うと書き込み速度が一気に低下する。しかし(10)のように構成すれば。これを防ぐことができ、例えば、2カメラ/常時記録とイベントを別々に合計4ストリームの同時書き込みを実現できる。また、通信型のシステムでは、プラス汚い映像(容量の少ない映像)を足して8ストリームの書き込みも他の記録方法に比べ比較的容易に可能となる。 In the method (8), since the video information is variable length, it is very difficult to find the beginning of a video frame. Therefore, it is a good idea to attach chain data to each frame so that it can be searched between frames. It is a good idea to have a system in which there is a directory entry, as in FAT, for each frame. The disadvantage is that it is not visible in a file search application such as Explorer in a general operating system of a personal computer, so a dedicated application is required. For example, when the recording medium is an SD card, writing to a continuous area is fast when accessing the SD card, but writing to discontinuous areas drops the writing speed at once. However, if configured as in (10), this can be prevented, and for example, simultaneous writing of a total of four streams can be achieved, for example, for two cameras/continuous recording and events separately. Also, in a communication type system, writing eight streams by adding dirty video (video with low capacity) is relatively easy compared to other recording methods.
なお、(1)から(7)の記録処理においても、映像情報について、管理領域を使用せずに過去へ所定時間遡るための第一の情報と、管理領域を使用せずに過去へ所定フレーム遡るための第二の情報とを付与して記録しておき、ドライブレコーダ1にSDカードの再生ボタン・巻き戻しボタン・早送りボタンを設け、再生ボタンの押下がコントローラMCで検出された場合に再生を開始し、巻き戻しボタン・早送りボタンの押下が検出されたときには当該第一の情報と第二の情報に基づいて映像の頭出しを行う処理を行うようにしてもよい。また当該第一の情報と第二の情報に基づいて映像の頭出しを行う処理を図5のパソコン35上で実行されるビューワーソフト上で行うようにしてもよい。
In the recording processes (1) to (7), the video information may also be recorded with first information for going back a predetermined time without using the management area, and second information for going back a predetermined number of frames without using the management area, and the
上述した(1)から(8)の機能によれば、ドライブレコーダ1がアクセス可能なSDカードに対して、生成情報の記録を行うドライブレコーダ1であって、SDカードにパソコン35からアクセス可能なときにパソコン35のWindows10で少なくともその一部を読み出し可能ではあるが、Windows10における書き込み方式とは異なる方式で生成情報の記録を行うドライブレコーダを実現できる。
The functions (1) to (8) described above allow the
こうすることで、ドライブレコーダ1で記録された情報をWindows10で読み取ることができるとともに、Windows10における書き込み方式とは異なるドライブレコーダ1にとって都合のよい方式で記録を行うことができる。このように両者を両立させることができる。
By doing this, the information recorded by the
ドライブレコーダ1がアクセス可能な記録媒体としては、本実施形態ではSDカードとしたが、ドライブレコーダ1に接続された記録媒体としてもよく、例えばUSBケーブル等で接続されるSSD、HDD等としてもよい。
In this embodiment, the recording medium accessible by the
本実施形態では、SDカードにパソコン35からアクセス可能なときとして、SDカードがパソコン35に接続されたSDカードリーダライタに挿入されているときとしたが、例えば、ドライブレコーダ1に無線通信機能(例えばWiFiによるネットワーク接続機能など)を備え、パソコン35にもこれに接続可能な無線通信機能を備え、パソコン35からドライブレコーダ1のSDカードにアクセス可能なときとしてもよい。
本実施形態でFAT32とした部分は、SDカードの容量に応じて、FAT16,FAT32,exFATなどの少なくともいずれか1つとしてもよい。
In this embodiment, the SD card can be accessed from the
The portion of the embodiment where FAT32 is used may be at least one of FAT16, FAT32, exFAT, etc. depending on the capacity of the SD card.
またパソコン35のWindows10に、上記(10)の処理で記録した後ろのパーテーション内の生成情報から映像情報を取得して展開して表示する機能を図5のビューワーソフトを備えるとよい。
It is also advisable to provide the Windows 10 of the
あるいは、ビューワーソフトは、(10)の後ろのパーテーションを読み取る特別な読み取り処理を行うものとせずに、Windows10のデバイスドライバ(ファイルシステムの処理を行うドライバ)として、上記(10)の処理で記録した後ろのパーテーション内の生成情報をファイルとして参照可能に提供するソフトウェアとして構成してもよい。 Alternatively, the viewer software may be configured as software that provides the generation information in the subsequent partition recorded in the process of (10) above as a file that can be referenced, as a Windows 10 device driver (a driver that processes the file system), rather than as software that performs special reading processing to read the subsequent partition of (10).
本実施形態では、パソコン35の例で説明したがパソコンに代えて「スマートフォン」または「タブレット」に置き換えた構成としてもよい。これらの場合、一般的なオペレーティングシステムとしては、Androidとするとよい。
In this embodiment, the example of a
なお、本発明の範囲は、明細書に明示的に説明された構成や限定されるものではなく、本明細書に開示される本発明の様々な側面の組み合わせをも、その範囲に含むものである。本発明のうち、特許を受けようとする構成を、添付の特許請求の範囲に特定したが、現在の処は特許請求の範囲に特定されていない構成であっても、本明細書に開示される構成を、将来的に特許請求の範囲とする意思を有する。 The scope of the present invention is not limited to the configurations explicitly described in the specification, but includes combinations of various aspects of the present invention disclosed in this specification. The configurations of the present invention that are sought to be patented are specified in the attached claims, but it is our intention to include configurations disclosed in this specification in the claims in the future, even if they are not currently specified in the claims.
本願発明は上述した実施の形態に記載の構成に限定されない。上述した各実施の形態や変形例の構成要素は任意に選択して組み合わせて構成するとよい。また各実施の形態や変形例の任意の構成要素と、発明を解決するための手段に記載の任意の構成要素又は発明を解決するための手段に記載の任意の構成要素を具体化した構成要素とは任意に組み合わせて構成するとよい。これらについても本願の補正又は分割出願等において権利取得する意思を有する。「~の場合」「~のとき」という記載があったとしてもその場合やそのときに限られる構成として記載はしているものではない。これらの場合やときでない構成についても開示しているものであり、権利取得する意思を有する。また順番を伴った記載になっている箇所もこの順番に限らない。一部の箇所を削除したり、順番を入れ替えた構成についても開示しているものであり、権利取得する意思を有する。 The present invention is not limited to the configurations described in the above-mentioned embodiments. The components of each of the above-mentioned embodiments and variations may be arbitrarily selected and combined. Any components of each of the embodiments and variations may be arbitrarily combined with any components described in the means for solving the invention or any components that embody any components described in the means for solving the invention. We intend to acquire rights to these as well through amendments to this application or divisional applications, etc. Even if there is a description such as "in the case of" or "when", this is not intended to describe a configuration that is limited to that case or time. We also disclose configurations that are not in these cases or times, and we intend to acquire rights to them. Furthermore, the parts that are described in order are not limited to this order. We also disclose configurations in which some parts are deleted or the order is changed, and we intend to acquire rights to them.
また、意匠登録出願への変更により、全体意匠又は部分意匠について権利取得する意思を有する。図面は本装置の全体を実線で描画しているが、全体意匠のみならず当該装置の一部の部分に対して請求する部分意匠も包含した図面である。例えば当該装置の一部の部材を部分意匠とすることはもちろんのこと、部材と関係なく当該装置の一部の部分を部分意匠として包含した図面である。当該装置の一部の部分としては、装置の一部の部材としても良いし、その部材の部分としても良い。全体意匠はもちろんのこと、図面の実線部分のうち任意の部分を破線部分とした部分意匠を、権利化する意思を有する。また、装置の筐体の内部のモジュール・部材・部品等についても、図面に表示されているものは、いずれも独立して取引の対象となるものであって、同様に、意匠登録出願への変更を行って権利化を行う意思を有するものである。 In addition, by converting to a design registration application, it is intended to obtain rights to the overall design or partial design. The drawings show the entire device in solid lines, but they include not only the overall design but also partial designs claimed for a portion of the device. For example, it is not only a drawing that includes a portion of the device as a partial design, but also a drawing that includes a portion of the device as a partial design regardless of the portion. A portion of the device may be a portion of the device, or a portion of that portion. It is intended to obtain rights to not only the overall design, but also partial designs in which any portion of the solid line portion of the drawing is shown as a broken line portion. In addition, the modules, materials, parts, etc. inside the device's casing, all of which are shown in the drawings, are subject to trade independently, and it is intended to obtain rights to them by converting to a design registration application in the same way.
1…ドライブレコーダ、2…本体ケース、15…加速度センサ、24…GPS受信器、31…SDカードリーダーライター、32…データベース、35…パソコン、36…SDカードリーダーライター、45…モニター、MC…コントローラ。
1... drive recorder, 2... main body case, 15... acceleration sensor, 24... GPS receiver, 31... SD card reader/writer, 32... database, 35... personal computer, 36... SD card reader/writer, 45... monitor, MC... controller.
Claims (6)
前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式で前記生成した情報の記録を行う機能を備え、
前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくとも前記記録媒体の一部を読み出し可能ではあるが、一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、当該システムの前記記録媒体の初期化処理において、パーソナルコンピュータの一般的なオペレーティングシステムで採用されるファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、前記生成した情報の記録は前記初期化処理において確保されたクラスタを使用するファイル内にそのファイルのサイズを超えない範囲で上書きして映像を記録していくことで、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する構成を備え、
前記記録媒体の初期化処理において、前記初期化処理において確保されたクラスタを使用するファイルは固定長のファイルとして予め複数作成しておき、
前記映像データは可変ビットレートであり、所定の単位時間の映像データが1の前記固定長のファイルに記録されるように前記固定長のサイズを、前記可変ビットレートの最大ビットレートで前記所定の単位時間記録するときの映像データを含むデータのサイズよりも大きくするよう設定した記録を行う機能を備えること
を特徴とするシステム。 A system having a function of recording generated information on a recording medium,
a function of recording the generated information in a manner that is readable by a general operating system of a personal computer when the recording medium is accessible from the personal computer, but that is different from a writing method used by the general operating system;
When the recording medium is inserted in a personal computer, at least a part of the recording medium can be read by a general operating system of the personal computer, but the method differs from the writing method in the general operating system in that, in the initialization process of the recording medium of the system, clusters are reserved at a fixed location for files that can be read by a file system adopted in the general operating system of the personal computer, and the generated information is recorded by overwriting a file that uses the clusters reserved in the initialization process to the extent that does not exceed the size of the file, thereby recording a file containing video data without changing the location of the cluster of the file,
In the initialization process of the recording medium, a plurality of files using the clusters secured in the initialization process are created in advance as fixed-length files;
The video data is variable bit rate, and the system has a recording function that sets the size of the fixed length to be larger than the size of data including the video data when recorded for the specified unit time at the maximum bit rate of the variable bit rate, so that video data for the specified unit time is recorded in one fixed length file.
前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式で前記生成した情報の記録を行う機能を備え、
前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくとも前記記録媒体の一部を読み出し可能ではあるが、一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、当該システムの前記記録媒体の初期化処理において、パーソナルコンピュータの一般的なオペレーティングシステムで採用されるファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、前記生成した情報の記録は前記初期化処理において確保されたクラスタを使用するファイル内にそのファイルのサイズを超えない範囲で上書きして映像を記録していくことで、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する構成を備え、
前記記録媒体の初期化処理において、前記初期化処理において確保されたクラスタを使用するファイルは固定長のファイルとして予め複数作成しておき、
前記映像データは可変ビットレートであり、当該可変ビットレートの映像データが1の前記固定長のファイルに記録されるように、1の固定長ファイルへ記録した容量を監視して、記録する前記固定長のファイルを変更していく機能を備えること
を特徴とするシステム。 A system having a function of recording generated information on a recording medium,
a function of recording the generated information in a manner that is readable by a general operating system of a personal computer when the recording medium is accessible from the personal computer, but that is different from a writing method used by the general operating system;
When the recording medium is inserted in a personal computer, at least a part of the recording medium can be read by a general operating system of the personal computer, but the method differs from the writing method in the general operating system in that, in the initialization process of the recording medium of the system, clusters are reserved at a fixed location for files that can be read by a file system adopted in the general operating system of the personal computer, and the generated information is recorded by overwriting a file that uses the clusters reserved in the initialization process to the extent that does not exceed the size of the file, thereby recording a file containing video data without changing the location of the cluster of the file,
In the initialization process of the recording medium, a plurality of files using the clusters secured in the initialization process are created in advance as fixed-length files;
The video data is variable bit rate, and the system has a function of monitoring the capacity recorded in one fixed-length file and changing the fixed-length file to be recorded so that the variable bit rate video data is recorded in one fixed-length file.
前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式で前記生成した情報の記録を行う機能を備え、
前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくとも前記記録媒体の一部を読み出し可能ではあるが、一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、当該システムの前記記録媒体の初期化処理において、パーソナルコンピュータの一般的なオペレーティングシステムで採用されるファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、前記生成した情報の記録は前記初期化処理において確保されたクラスタを使用するファイル内にそのファイルのサイズを超えない範囲で上書きして映像を記録していくことで、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する構成を備え、
当該システムは、電源が投入されている間、前記映像データを前記記録媒体に対して常時記録する機能を備え、
前記記録媒体の初期化処理において、前記初期化処理において確保されたクラスタを使用するファイルは非常に大きな1のファイルとして予め作成しておき、
前記常時記録する映像データは当該非常に大きなファイル内に記録する機能を備えること
を特徴とするシステム。 A system having a function of recording generated information on a recording medium,
a function of recording the generated information in a manner that is readable by a general operating system of a personal computer when the recording medium is accessible from the personal computer, but that is different from a writing method used by the general operating system;
When the recording medium is inserted in a personal computer, at least a part of the recording medium can be read by a general operating system of the personal computer, but the method differs from the writing method in the general operating system in that, in the initialization process of the recording medium of the system, clusters are reserved at a fixed location for files that can be read by a file system adopted in the general operating system of the personal computer, and the generated information is recorded by overwriting a file that uses the clusters reserved in the initialization process to the extent that does not exceed the size of the file, thereby recording a file containing video data without changing the location of the cluster of the file,
the system has a function of constantly recording the video data on the recording medium while the power is on;
In the initialization process of the recording medium, a file using the clusters secured in the initialization process is created in advance as a very large single file,
The system is characterized by having a function for recording the constantly recorded video data in the very large file.
前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式で前記生成した情報の記録を行う機能を備え、
前記記録媒体をパーソナルコンピュータに装着しているときにパーソナルコンピュータの一般的なオペレーティングシステムで少なくとも前記記録媒体の一部を読み出し可能ではあるが、一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、当該システムの前記記録媒体の初期化処理において、パーソナルコンピュータの一般的なオペレーティングシステムで採用されるファイルシステムで読み出し可能なファイル用に決まった場所のクラスタを確保しておき、前記生成した情報の記録は前記初期化処理において確保されたクラスタを使用するファイル内にそのファイルのサイズを超えない範囲で上書きして映像を記録していくことで、そのファイルのクラスタの場所を変えず映像データを備えるファイルを記録する構成を備え、
前記確保されたクラスタを使用するファイルは前記記録媒体の初期化処理において前記パーソナルコンピュータのオペレーティングシステムにおいて削除されたファイルである不可視なファイルとして生成しておき、前記映像データの書き込み時に当該書き込みを行うファイルを削除されていないファイルである可視なファイルとしていく機能を備えること
を特徴とするシステム。 A system having a function of recording generated information on a recording medium,
a function of recording the generated information in a manner that is readable by a general operating system of a personal computer when the recording medium is accessible from the personal computer, but that is different from a writing method used by the general operating system;
When the recording medium is inserted in a personal computer, at least a part of the recording medium can be read by a general operating system of the personal computer, but the method differs from the writing method in the general operating system in that, in the initialization process of the recording medium of the system, clusters are reserved at a fixed location for files that can be read by a file system adopted in the general operating system of the personal computer, and the generated information is recorded by overwriting a file that uses the clusters reserved in the initialization process to the extent that does not exceed the size of the file, thereby recording a file containing video data without changing the location of the cluster of the file,
The system is characterized by having a function of generating a file that uses the secured cluster as an invisible file that is a file that has been deleted in the operating system of the personal computer during the initialization process of the recording medium, and converting the file to be written when writing the video data into a visible file that is an undeleted file.
前記記録媒体にパーソナルコンピュータからアクセス可能なときにパーソナルコンピュータの一般的なオペレーティングシステムで読み出し可能ではあるが、前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式で前記生成した情報として撮像手段によって撮像された撮像データに基づく映像データの記録を行う機能を備え、
前記一般的なオペレーティングシステムにおける書き込み方式は、ファイルにデータが書き込まれファイルサイズが0から1以上に変化するときその時点の未使用クラスタを1つ割り当て、当該ファイルのディレクトリエントリ内にそのクラスタ番号をセットし、以降、ファイルサイズが増大して書き込み中のクラスタをあふれるたびに新しいクラスタを割り当てクラスタチェーンを形成していく書き込み方式であるのに対し、
前記一般的なオペレーティングシステムにおける書き込み方式とは異なる方式は、映像データを含むファイルを生成する際に所定数の連続する番号の未使用クラスタを予め割り当てることでクラスタチェーンを形成し、クラスタサイズに前記所定数を乗じたサイズの領域に前記映像データを含むデータを連続して書き込んでファイルを生成する構成を備え、
前記映像データについて、前記記録媒体に存在するディレクトリエントリを備えた管理領域を使用せずに過去へ所定時間遡るための第一の情報と、前記記録媒体に存在するディレクトリエントリを備えた管理領域を使用せずに過去へ所定フレーム遡るための第二の情報とを付与し、当該第一の情報と第二の情報に基づいて映像の頭出しを行う機能を備えること
を特徴とするシステム。 A system having a function of recording generated information on a recording medium,
a function of recording video data based on imaging data captured by an imaging means as the generated information in a manner readable by a general operating system of the personal computer when the recording medium is accessible from the personal computer but different from a writing method in the general operating system;
The writing method in the above general operating system is such that when data is written to a file and the file size changes from 0 to 1 or more, one unused cluster is allocated at that time, and that cluster number is set in the directory entry of the file. Thereafter, whenever the file size increases and the cluster being written overflows, a new cluster is allocated and a cluster chain is formed.
The method different from the writing method in the general operating system includes a configuration in which, when generating a file including video data, a cluster chain is formed by pre-allocating a predetermined number of unused clusters with consecutive numbers, and data including the video data is continuously written in an area having a size obtained by multiplying the cluster size by the predetermined number to generate the file,
The system is characterized by having a function of adding to the video data first information for going back a predetermined time in the past without using a management area with a directory entry present on the recording medium, and second information for going back a predetermined frame in the past without using a management area with a directory entry present on the recording medium , and cueing the video based on the first information and second information.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020059735A JP7617606B2 (en) | 2020-03-30 | 2020-03-30 | Systems and programs |
| JP2024123128A JP2024153805A (en) | 2020-03-30 | 2024-07-30 | Systems and programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020059735A JP7617606B2 (en) | 2020-03-30 | 2020-03-30 | Systems and programs |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2024123128A Division JP2024153805A (en) | 2020-03-30 | 2024-07-30 | Systems and programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021157698A JP2021157698A (en) | 2021-10-07 |
| JP7617606B2 true JP7617606B2 (en) | 2025-01-20 |
Family
ID=77918615
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020059735A Active JP7617606B2 (en) | 2020-03-30 | 2020-03-30 | Systems and programs |
| JP2024123128A Pending JP2024153805A (en) | 2020-03-30 | 2024-07-30 | Systems and programs |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2024123128A Pending JP2024153805A (en) | 2020-03-30 | 2024-07-30 | Systems and programs |
Country Status (1)
| Country | Link |
|---|---|
| JP (2) | JP7617606B2 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000311063A (en) | 1999-04-27 | 2000-11-07 | Hitachi Ltd | File sharing method in cluster including mainframe |
| JP2004078408A (en) | 2002-08-13 | 2004-03-11 | Sony Corp | Recording apparatus and method, recording medium, and program |
| JP2004288007A (en) | 2003-03-24 | 2004-10-14 | Ikegami Tsushinki Co Ltd | Digital image recording device, image viewer device, image reproduction program, and recording medium |
| US20090180209A1 (en) | 2005-09-22 | 2009-07-16 | Matsushita Electric Industrial Co., Ltd. | Information recording medium access device, and data recording method |
| JP2010130114A (en) | 2008-11-25 | 2010-06-10 | Fujitsu Ten Ltd | Drive recorder |
| JP2010250638A (en) | 2009-04-17 | 2010-11-04 | Panasonic Corp | Recording apparatus and recording method |
| JP2014131312A (en) | 2014-02-10 | 2014-07-10 | Sony Corp | Image processing device, image processing method, and program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3443304B2 (en) * | 1998-02-02 | 2003-09-02 | 三洋電機株式会社 | Video recording device |
-
2020
- 2020-03-30 JP JP2020059735A patent/JP7617606B2/en active Active
-
2024
- 2024-07-30 JP JP2024123128A patent/JP2024153805A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000311063A (en) | 1999-04-27 | 2000-11-07 | Hitachi Ltd | File sharing method in cluster including mainframe |
| JP2004078408A (en) | 2002-08-13 | 2004-03-11 | Sony Corp | Recording apparatus and method, recording medium, and program |
| JP2004288007A (en) | 2003-03-24 | 2004-10-14 | Ikegami Tsushinki Co Ltd | Digital image recording device, image viewer device, image reproduction program, and recording medium |
| US20090180209A1 (en) | 2005-09-22 | 2009-07-16 | Matsushita Electric Industrial Co., Ltd. | Information recording medium access device, and data recording method |
| JP2010130114A (en) | 2008-11-25 | 2010-06-10 | Fujitsu Ten Ltd | Drive recorder |
| JP2010250638A (en) | 2009-04-17 | 2010-11-04 | Panasonic Corp | Recording apparatus and recording method |
| JP2014131312A (en) | 2014-02-10 | 2014-07-10 | Sony Corp | Image processing device, image processing method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024153805A (en) | 2024-10-29 |
| JP2021157698A (en) | 2021-10-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6823417B2 (en) | Memory controller for memory card manages file allocation table | |
| JP5577238B2 (en) | Access device, information recording device, controller, and information recording system | |
| US20110022807A1 (en) | Write once recording device | |
| CN102932622B (en) | The kinescope method of digital video recording equipment and device | |
| JP2002519794A (en) | Flexible management of multiple file systems | |
| KR100425678B1 (en) | Memory card to adapt digital player and file write/read method thereof | |
| KR20190061549A (en) | File system and method of storing files based on the file system | |
| JP7617606B2 (en) | Systems and programs | |
| EP1459319A2 (en) | Data storage methods and apparatuses with basic and extended file system capacity | |
| JP2000267904A (en) | Data recorder and its method | |
| JP2005050192A (en) | Information recording system | |
| US8301862B2 (en) | Formatting device | |
| US8200936B2 (en) | Systems and methods for recording information to a memory card | |
| JPH02193236A (en) | Storage management system for memory card | |
| JP4401666B2 (en) | Digital image recording apparatus and image viewer apparatus | |
| JP2009205590A (en) | Access module, information recording module, controller, and information recording system | |
| KR100678888B1 (en) | Device and method for recording and reading information | |
| CN112597102B (en) | High-efficiency mirror image file system implementation method | |
| US6523105B1 (en) | Recording medium control device and method | |
| JP2004295405A (en) | Data access device | |
| CN101047017B (en) | Information recording apparatus and recording method | |
| KR100379573B1 (en) | A file system for recording and displaying a digital broadcasting data | |
| JP2006323462A (en) | File copying apparatus and file copying method | |
| JP3552247B2 (en) | Electronic still camera | |
| WO2010079160A1 (en) | Method and apparatus for creating files in a file system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230130 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231031 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231121 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240120 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20240430 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240730 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20240820 |
|
| 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: 20241126 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241224 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7617606 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |