JP2019012564A - Electronic apparatus and program - Google Patents
Electronic apparatus and program Download PDFInfo
- Publication number
- JP2019012564A JP2019012564A JP2018191444A JP2018191444A JP2019012564A JP 2019012564 A JP2019012564 A JP 2019012564A JP 2018191444 A JP2018191444 A JP 2018191444A JP 2018191444 A JP2018191444 A JP 2018191444A JP 2019012564 A JP2019012564 A JP 2019012564A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- area
- video data
- file
- recorded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 description 32
- 238000007726 management method Methods 0.000 description 30
- 238000012545 processing Methods 0.000 description 18
- 230000001133 acceleration Effects 0.000 description 14
- 238000001514 detection method Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Abstract
Description
本発明は、映像データを記録する電子機器及びプログラムに関する。 The present invention relates to an electronic device and a program for recording video data.
従来、映像データを常時記録及びイベント記録するドライブレコーダ等の電子機器が知られている。常時記録は、アクセサリスイッチがオンしている間など、電子機器へ外部から電源が供給されている場合に通常切れ目なく映像データを記録するものである。アクセサリスイッチは、車載バッテリから車両に備わるオーディオ等のアクセサリ類に対する電力の供給と電力の供給の遮断とを切り替えるスイッチである。イベント記録は、電子機器に備わっている加速度センサーにおける検出値が所定の閾値を超えた場合等の、車両の運行中の危険状態や事故等のイベントの発生を契機として映像データを記録するものである。 2. Description of the Related Art Conventionally, electronic devices such as drive recorders that constantly record video data and record events are known. In the continuous recording, video data is normally recorded without a break when power is supplied to the electronic device from the outside, for example, while the accessory switch is turned on. The accessory switch is a switch that switches between supply of electric power to an accessory such as an audio provided in the vehicle from the vehicle-mounted battery and interruption of the supply of electric power. Event recording records video data triggered by the occurrence of an event such as a dangerous state or accident during operation of the vehicle, such as when the detection value of an acceleration sensor provided in an electronic device exceeds a predetermined threshold. is there.
このような電子機器としては、記録方法の相違により、主に2つの方式が存在している。 As such an electronic device, there are mainly two systems due to the difference in recording method.
この2つの方式のうち一方の方式は、常時記録のための記録領域と、イベント記録のための記録領域と、を個別に管理して記録するものである(例えば、特許文献1)。この方式によれば、常時記録のための記録領域に記録可能なファイル数と、イベント記録のための記録領域に記録可能なファイル数と、を予め設定しておく。そして、各記録領域において、設定したファイル数に達した場合には、最も古いファイルに上書きして常時記録又はイベント記録を行う。この方式では、イベント記録の頻度が極端に少ない場合、記録領域を効率よく使用できないという課題を有する。 One of these two methods is to manage and record a recording area for constant recording and a recording area for event recording separately (for example, Patent Document 1). According to this method, the number of files that can be recorded in the recording area for constant recording and the number of files that can be recorded in the recording area for event recording are set in advance. When the set number of files is reached in each recording area, the oldest file is overwritten and recording or event recording is always performed. This method has a problem that the recording area cannot be used efficiently when the frequency of event recording is extremely low.
上記の2つの方式のうち他方の方式は、常時記録のための記録領域と、イベント記録のための記録領域と、を一体に管理して記録するものである。この方式によれば、同一の記録領域に対して、映像データを常時記録すると共に、イベントが発生する毎に映像データをイベント記録していく。この際、常時記録した映像データと、イベント記録した映像データと、で記録領域が一杯になった場合、イベント記録済みの映像データに対して上書きすることなく、常時記録済みの映像データのうち最も古い映像データに上書きして、新たに常時記録及びイベント記録を行う。そして、イベント記録による映像データで記録領域が一杯になった場合には、記録を停止する。この方式によれば、イベント記録の頻度が少ない場合であっても、記録容量を効率よく使用することができる。 The other of the above two methods is to manage and record a recording area for constant recording and a recording area for event recording. According to this method, video data is always recorded in the same recording area, and video data is event-recorded every time an event occurs. At this time, if the recording area becomes full of the video data recorded at all times and the video data recorded at the event, the video data recorded at the most time without overwriting the video data already recorded at the event. Overwrite the old video data and perform new continuous recording and event recording. Then, when the recording area is filled with video data obtained by event recording, recording is stopped. According to this method, even when the frequency of event recording is low, the recording capacity can be used efficiently.
しかしながら、常時記録のための記録領域と、イベント記録のための記録領域と、を一体に管理して記録する方式の従来の電子機器においては、イベント記録した映像データで記録領域が一杯になった場合に記録を停止するので、記録領域がなくなったことに気付かない場合には映像データを記録できないために映像を見ることができず、また、再び記録させるためには、例えば、記録媒体を電子機器から取り出して、パーソナルコンピュータ等のハードディスクに移動する等、手動で他の媒体に映像データを移し替えないといけないため面倒であるという課題を有する。 However, in a conventional electronic device that manages and records a recording area for constant recording and a recording area for event recording in a unified manner, the recording area is filled with event-recorded video data. In this case, if the recording area is not noticed, the video data cannot be recorded and the video cannot be viewed. There is a problem that it is troublesome because the video data must be manually transferred to another medium, such as being taken out from the device and moved to a hard disk such as a personal computer.
本発明の目的は、映像データを移し替える作業等を行わなくても映像データを記録させて見ることができ、映像データを移し替える作業等を行う煩わしさを極力回避することができる電子機器及びプログラムを提供することである。 An object of the present invention is to provide an electronic device capable of recording and viewing video data without performing an operation of transferring video data and the like, and avoiding the inconvenience of performing an operation of transferring video data as much as possible. Is to provide a program.
(1)映像データを連続的に記録する連続記録と、前記映像データを所定のイベントが発生する毎に断続的に記録する断続記録と、を同一の記録領域を共用して行う電子機器であって、前記記録領域における前記連続記録に用いられる記録可能領域の容量に応じて、前記記録領域に対して前記断続記録を行った前記映像データの少なくとも一部を消去して前記記録可能領域の容量を確保する記録制御手段を有することを特徴とする。 (1) An electronic device that performs continuous recording for continuously recording video data and intermittent recording for recording the video data intermittently every time a predetermined event occurs, sharing the same recording area. Then, according to the capacity of the recordable area used for the continuous recording in the recording area, the capacity of the recordable area by erasing at least a part of the video data subjected to the intermittent recording with respect to the recording area It has a recording control means for ensuring the above.
このようにすることで、映像データを移し替える作業等を行わなくても映像データを記録させて見ることができ、映像データを移し替える作業等を行う煩わしさを極力回避することができる。映像データを連続的に記録する連続記録としては、所定時間に亘って切れ目なく映像データを記録するとよく、例えば車両のアクセサリスイッチをONしている間など電子機器に対して車両などの外部から電源が供給されているときに映像データを常時記録するとよい。このようにすることで、所定時間の映像データを漏れなく記録させて見ることができる。所定のイベントの発生としては、車両の状態や車両外の状況に応じて起こる出来事とするとよく、例えば車両の加速度の値が閾値を超えた場合、現在位置と予め設定した眺めの良いビューポイントとの距離が所定距離以内になった場合、現在位置と予め設定した交差点や事故多発地帯等の注意を促す場所との距離が所定距離以内になった場合とするとよい。また、車両の状態や車両外の状況は、測位システムを用いた測位により求めた車両の現在位置と交差点や事故多発地帯等の注意を促す場所との距離、測位システムを用いた測位により求めた車両の現在位置とビューポイントとの距離、又は、電子機器に設けられたセンサーにおける検出値と閾値との比較結果により判断するとよく、例えばGPS(Global Positioning System)を用いた測位により求めた車両の現在位置と交差点や事故多発地帯等の注意を促す場所との距離が所定距離以内か否か、GPSを用いた測位により求めた車両の現在位置とビューポイントとの距離が所定距離以内か否か、又は、加速度センサーにおける加速度の検出値が閾値以上であるか否かなどにより判断するとよい。このようにすることで、測位システムを用いた測位により求めた車両の現在位置、又はセンサーの検出値に応じて、映像データを連続記録とは別に断続記録させて見ることができる。 By doing so, the video data can be recorded and viewed without performing the operation of transferring the video data, and the troublesome work of transferring the video data can be avoided as much as possible. As continuous recording for continuously recording video data, video data should be recorded without interruption for a predetermined time. For example, while the accessory switch of the vehicle is turned on, the electronic device is powered from the outside such as the vehicle. It is good to always record the video data when is supplied. In this way, video data for a predetermined time can be recorded and viewed without omission. The occurrence of the predetermined event may be an event that occurs according to the state of the vehicle or the situation outside the vehicle. For example, when the acceleration value of the vehicle exceeds a threshold value, the current position and a preset view point with a good view If the distance between the current position and the location where the attention is urged, such as a preset intersection or an accident-prone area, may be within the predetermined distance. In addition, the state of the vehicle and the situation outside the vehicle were determined by the distance between the current position of the vehicle determined by positioning using the positioning system and the location where warning is required, such as intersections and accident-prone areas, and by positioning using the positioning system. It may be determined from the distance between the current position of the vehicle and the viewpoint, or the comparison result between the detection value of the sensor provided in the electronic device and the threshold value. For example, the vehicle position obtained by positioning using GPS (Global Positioning System) Whether the distance between the current position and the place where warning is required, such as an intersection or accident-prone area, is within a predetermined distance, and whether the distance between the current position of the vehicle obtained by positioning using GPS and the viewpoint is within a predetermined distance Alternatively, the determination may be made based on whether or not the detected acceleration value in the acceleration sensor is greater than or equal to a threshold value. By doing in this way, according to the present position of the vehicle calculated by positioning using the positioning system or the detection value of the sensor, the video data can be viewed intermittently separately from the continuous recording.
映像データを所定のイベントが発生する毎に断続的に記録する断続記録としては、イベントが発生した際の映像データを、連続記録の記録時間よりも短い時間且つイベント発生時刻を含む時間記録するとよく、例えば加速度センサーにより検出した加速度の検出値が閾値を超えた場合の映像データを、連続記録の記録時間よりも短い時間且つ加速度の検出値が閾値を超えた時刻を含む時間記録するとよい。このようにすることで、イベントが発生した際の映像データを、連続記録した映像データとは別に効率よく見ることができる。記録領域としては、所定のファイルシステムでフォーマットされたメモリカードの所定の領域とするとよく、例えばFAT(File Allocation Table)形式のファイルシステムでフォーマットされたメモリカードにおける、映像データを記録する領域であるデータ領域とするとよい。このようにすることで、連続記録により作成した連続記録ファイルの映像データと、断続記録により作成した断続記録ファイルの映像データと、をメモリカードの所定の領域に記録させてファイルとして管理することができる。同一の記録領域の共用としては、同一の記録領域に映像データを連続記録することも断続記録することもできるようにするとよく、例えば所定のファイルシステムでフォーマットされた記録媒体のデータ領域の各クラスタに、映像データを連続記録することも断続記録することもできるようにするとよい。このようにすることで、記録領域における、映像データを断続記録させる領域
と、映像データを連続記録させる領域と、の割り合いをその記録させる頻度に応じて変化させることで、映像データを移し替える作業等を行わない場合において記録領域を効率よく使用させることができる。
As intermittent recording in which video data is intermittently recorded every time a predetermined event occurs, video data at the time of the event may be recorded for a time shorter than the continuous recording time and including the event occurrence time. For example, the video data when the detected acceleration value detected by the acceleration sensor exceeds the threshold value may be recorded for a time that is shorter than the continuous recording time and includes a time when the detected acceleration value exceeds the threshold value. In this way, video data when an event occurs can be efficiently viewed separately from video data recorded continuously. The recording area may be a predetermined area of a memory card formatted with a predetermined file system, for example, an area for recording video data in a memory card formatted with a FAT (File Allocation Table) format file system. It should be a data area. By doing this, the video data of the continuous recording file created by continuous recording and the video data of the intermittent recording file created by intermittent recording can be recorded in a predetermined area of the memory card and managed as a file. it can. For sharing the same recording area, video data can be recorded continuously or intermittently in the same recording area. For example, each cluster in the data area of a recording medium formatted with a predetermined file system. In addition, video data can be recorded continuously or intermittently. By doing so, the video data is transferred by changing the ratio of the area in which the video data is intermittently recorded and the area in which the video data is continuously recorded in the recording area according to the frequency of the recording. When the work or the like is not performed, the recording area can be used efficiently.
記録領域における連続記録に用いられる記録可能領域の容量としては、記録領域における連続記録に用いられる最小管理領域により定まる量とするとよく、例えばファイルシステムでフォーマットした記録媒体のデータ領域に映像データを記録する場合において、連続記録ファイルの映像データを記録するデータ領域のクラスタ数により定まる量とするとよい。このようにすることで、記録領域に記録する映像データの管理の一環として連続記録のための記録可能領域の容量を把握することができる。記録領域に対して断続記録を行った映像データの少なくとも一部の消去としては、断続記録済みの映像データのうち、より過去に記録された映像データから順に選択した少なくとも一部の映像データとするとよい。また、少なくとも一部の消去としては、記録領域に対して断続記録を行った映像データの全部又は一部を消去するようにするとよい。このようにすることで、見る可能性の高い最近に断続記録した映像データを優先的に残しておくことができる。 The capacity of the recordable area used for continuous recording in the recording area may be determined by the minimum management area used for continuous recording in the recording area. For example, video data is recorded in the data area of a recording medium formatted by the file system. In this case, the amount may be determined by the number of clusters in the data area for recording video data of the continuous recording file. By doing so, the capacity of the recordable area for continuous recording can be grasped as part of the management of the video data recorded in the recording area. As the erasure of at least a part of the video data that has been intermittently recorded in the recording area, it is assumed that at least a part of the video data that has been recorded in the past from among the video data that has been intermittently recorded is selected in order. Good. In addition, as at least a part of the erasure, it is preferable to erase all or a part of the video data that has been intermittently recorded in the recording area. In this way, it is possible to preferentially leave video data that has been recorded intermittently with a high possibility of being viewed.
記録可能領域の容量の確保としては、断続記録済みの映像データに上書きすることなく、連続記録済みの映像データに上書きして新たに連続記録及び断続記録する際に、連続記録のための記録可能領域の容量がその後の断続記録により直ぐに無くなってしまうことのない程度の容量を確保するとよく、例えばファイルシステムを用いて管理されるデータ領域において、過去の所定時間において断続記録した頻度に応じたファイル数の断続記録ファイルを消去して記録可能領域の容量を確保するとよい。このようにすることで、断続記録された映像データを消去する処理を頻繁に発生させないようにすることができる。 In order to secure the capacity of the recordable area, it is possible to record for continuous recording when overwriting the continuously recorded video data and newly recording continuously or intermittently without overwriting the intermittently recorded video data. It is good to ensure that the capacity of the area does not immediately disappear due to subsequent intermittent recording. For example, in a data area managed using a file system, a file corresponding to the frequency of intermittent recording in the past predetermined time It is preferable to secure the capacity of the recordable area by deleting a number of intermittent recording files. By doing so, it is possible to prevent frequent occurrence of the process of erasing the intermittently recorded video data.
(2)前記記録制御手段は、前記連続記録及び前記断続記録により前記記録領域の容量が一杯になった場合に、前記記録領域に対して前記連続記録を行った前記映像データに上書きして新たに前記連続記録及び前記断続記録を行う一方、前記記録可能領域の容量が所定値以下にならないように前記消去を行うことを特徴とする。 (2) When the recording area becomes full due to the continuous recording and the intermittent recording, the recording control means overwrites the video data on which the continuous recording has been performed on the recording area, and newly In addition, the continuous recording and the intermittent recording are performed while the erasing is performed so that the capacity of the recordable area does not become a predetermined value or less.
このようにすることで、連続記録に用いられる記録可能領域の容量を常に確保することができ、映像データを漏れなく連続記録することができる。連続記録及び断続記録により記録領域の容量が一杯になった場合としては、記録領域に記録された映像データに上書きしないと連続記録及び断続記録することができない状態になった場合とするとよい。このようにすることで、記録領域に記録された映像データに上書きしないと連続記録及び断続記録することができない状態まで、映像データを連続記録及び断続記録させることができ、記録領域を効率よく使用させることができる。記録可能領域に対して連続記録を行った映像データに上書きして連続記録及び断続記録することとしては、連続記録済みの映像データに上書きして映像データを連続記録すると共に、イベントが発生した際に、連続記録済みの映像データに上書きして映像データを断続記録するとよい。このようにすることで、映像データを移し替える作業等を行わない場合であっても映像データを連続記録及び断続記録させることができる。記録可能領域の容量としては、記録領域における連続記録に用いられる最小管理領域により定まる量とするとよく、例えばファイルシステムでフォーマットした記録媒体のデータ領域に映像データを記録する場合において、連続記録ファイルの映像データを記録するデータ領域のクラスタ数と、クラスタの容量と、を乗算して求めた量とするとよい。このようにすることで、記録領域に記録する映像データの管理の一環として連続記録のための記録可能領域の容量を把握することができる。記録可能領域の容量が所定値以下にならないように消去する処理としては、容量不足により連続記録することができない状態を回避することが可能な容量を常に確保する処理とするとよく、例えばファイルシステムでフォーマットした記録領域に映像データを記録する際において、断続記録済みの断続記録ファイルを10ファイル消去して確保した容量とするとよい。この
ようにすることで、容量不足により連続記録できない状態を回避することができるので、映像データを途切れさせることなく連続記録させて見ることができる。
In this way, the capacity of the recordable area used for continuous recording can always be secured, and video data can be continuously recorded without omission. The case where the capacity of the recording area becomes full due to continuous recording and intermittent recording may be a case where continuous recording and intermittent recording cannot be performed unless the video data recorded in the recording area is overwritten. In this way, video data can be continuously recorded and intermittently recorded until the video data recorded in the recording area cannot be overwritten unless it is overwritten, and the recording area can be used efficiently. Can be made. Continuous recording and intermittent recording by overwriting the video data that has been continuously recorded in the recordable area means overwriting the continuously recorded video data and continuously recording the video data, and when an event occurs. In addition, the video data may be intermittently recorded by overwriting the continuously recorded video data. In this way, video data can be continuously recorded and intermittently recorded even when the operation of transferring the video data is not performed. The capacity of the recordable area may be an amount determined by the minimum management area used for continuous recording in the recording area. For example, when recording video data in the data area of a recording medium formatted by a file system, An amount obtained by multiplying the number of clusters in the data area in which video data is recorded and the capacity of the clusters may be obtained. In this way, the capacity of the recordable area for continuous recording can be grasped as part of the management of the video data recorded in the recording area. As a process of erasing so that the capacity of the recordable area does not become a predetermined value or less, it is preferable to always secure a capacity capable of avoiding a state where continuous recording cannot be performed due to a lack of capacity. When recording video data in the formatted recording area, it is preferable to have a capacity that is secured by deleting 10 intermittent recording files that have been intermittently recorded. In this way, it is possible to avoid a state where continuous recording cannot be performed due to insufficient capacity, so that video data can be continuously recorded without being interrupted.
(3)前記記録制御手段は、前記連続記録及び前記断続記録により前記記録領域の容量が一杯になった場合に、前記記録領域に対して前記連続記録を行った前記映像データに上書きして新たに前記連続記録及び前記断続記録を行う一方、前記記録可能領域の容量が無くなった場合に前記消去を行うことを特徴とする。 (3) When the recording area becomes full due to the continuous recording and the intermittent recording, the recording control means overwrites the video data on which the continuous recording has been performed on the recording area to newly In addition, the continuous recording and the intermittent recording are performed while the erasing is performed when the capacity of the recordable area is exhausted.
このようにすることで、連続記録に用いられる記録可能領域の容量が無くなった場合に、連続記録に用いられる記録可能領域の容量を確保することができる。連続記録及び断続記録により記録領域の容量が一杯になった場合としては、記録領域に記録された映像データに上書きしないと連続記録及び断続記録することができない状態になった場合とするとよい。このようにすることで、記録領域に記録された映像データに上書きしないと連続記録及び断続記録することができない状態まで、映像データを連続記録及び断続記録させることができ、記録領域を効率よく使用させることができる。記録領域に対して連続記録を行った映像データに上書きして連続記録及び断続記録する処理としては、連続記録済みの映像データに上書きして映像データを連続記録すると共に、イベントが発生した際に、連続記録済みの映像データに上書きして映像データを断続記録するとよい。このようにすることで、映像データを移し替える作業等を行わない場合であっても映像データを連続記録及び断続記録させることができる。記録可能領域の容量としては、記録領域における連続記録に用いられる最小管理領域により定まる量とするとよく、例えばファイルシステムでフォーマットした記録媒体のデータ領域に映像データを記録する場合において、連続記録ファイルの映像データを記録するデータ領域のクラスタ数とするとよい。このようにすることで、記録領域に記録する映像データの管理の一環として連続記録のための記録可能領域の容量を把握することができる。記録可能領域の容量が無くなった場合としては、ファイルシステムにより管理される記録領域の最小管理領域毎に連続記録ファイルの映像データを記録する場合において、連続記録ファイルの映像データの記録に用いることが可能な最小管理領域が無くなった場合とするとよく、例えばファイルシステムを用いて管理されるデータ領域において、連続記録ファイルの映像データの記録に用いることが可能なクラスタが無くなった場合とするとよい。このようにすることで、連続記録ファイルの映像データを記録するための最小管理領域が無くなっているか否かを判断するだけの簡単な処理を行うために処理速度の速い電子機器を実現できる。また処理負荷が小さくて済むので、安価の処理装置で電子機器を構成できる。さらには、たとえば判定回路・削除回数等を減らせるため、映像の記録が途切れる可能性を小さくすることもできる。したがって、ユーザは、安価に機器を購入でき、途切れることのない映像を得ることが従来よりも確実にできる。 In this way, when the capacity of the recordable area used for continuous recording runs out, the capacity of the recordable area used for continuous recording can be secured. The case where the capacity of the recording area becomes full due to continuous recording and intermittent recording may be a case where continuous recording and intermittent recording cannot be performed unless the video data recorded in the recording area is overwritten. In this way, video data can be continuously recorded and intermittently recorded until the video data recorded in the recording area cannot be overwritten unless it is overwritten, and the recording area can be used efficiently. Can be made. As a process of overwriting the video data that has been continuously recorded in the recording area and continuously recording and intermittent recording, it is possible to overwrite the continuously recorded video data and continuously record the video data, and when an event occurs The video data may be intermittently recorded by overwriting the continuously recorded video data. In this way, video data can be continuously recorded and intermittently recorded even when the operation of transferring the video data is not performed. The capacity of the recordable area may be an amount determined by the minimum management area used for continuous recording in the recording area. For example, when recording video data in the data area of a recording medium formatted by a file system, The number of clusters in the data area for recording video data may be used. In this way, the capacity of the recordable area for continuous recording can be grasped as part of the management of the video data recorded in the recording area. When the capacity of the recordable area runs out, when recording video data of a continuous recording file for each minimum management area of the recording area managed by the file system, it is used for recording video data of the continuous recording file. For example, the minimum possible management area may be eliminated. For example, in a data area managed using a file system, a cluster that can be used for recording video data of a continuous recording file is eliminated. In this way, it is possible to realize an electronic device with a high processing speed in order to perform simple processing only for determining whether or not there is no minimum management area for recording video data of a continuous recording file. In addition, since the processing load is small, an electronic device can be configured with an inexpensive processing apparatus. Furthermore, for example, since the determination circuit, the number of times of deletion, and the like can be reduced, the possibility that video recording is interrupted can be reduced. Therefore, the user can purchase the device at a low cost and more reliably obtain an uninterrupted video than before.
(4)前記記録制御手段は、ファイルシステムを用いて前記記録領域の最小管理領域毎に前記映像データを記録して、前記連続記録により連続記録ファイルを作成する一方、前記断続記録により断続記録ファイルを作成し、前記連続記録ファイルの前記映像データを記録した前記最小管理領域に基づいて前記記録可能領域の容量を算出することを特徴とする。 (4) The recording control means records the video data for each minimum management area of the recording area using a file system, and creates a continuous recording file by the continuous recording, while an intermittent recording file by the intermittent recording. And the capacity of the recordable area is calculated based on the minimum management area where the video data of the continuous recording file is recorded.
このようにすることで、連続記録ファイル及び断続記録ファイルを、ファイルシステムを用いて記録することができる。ファイルシステムとしては、FAT(File Allocation Table)を用いるとよい。このようにすれば、連続記録ファイルと断続記録ファイルとを区別して管理することができ、パソコン等で記録されたファイルを容易に読み出して再生させることができる。連続記録ファイルは、ファイルシステムを用いて連続記録した映像データのファイルであり、例えばファイルシステムを用いて常時記録した映像データのファイルであり、他のファイルと識別可能なファイル名が付与される。断続記録ファイルは、
ファイルシステムを用いて映像データを所定時間に亘って断続記録したファイルであり、例えばファイルシステムを用いてイベント発生毎にイベント発生時刻を含む1分間に亘って映像データを断続記録したファイルであり、他のファイルと識別可能なファイル名が付与される。このようにすれば、ファイル名を見て連続記録ファイルと断続記録ファイルとを識別することが可能となり、容易に識別することができる。記録領域の最小管理領域としては、クラスタとするとよい。このようにすることで、記録領域に記録された映像データを、クラスタ毎に管理することができる。最小管理領域に基づいて記録可能領域の容量を算出する処理としては、連続記録ファイルを作成して記録する際に、連続記録ファイルの映像データを記録するために用いられる記録可能領域における最小管理領域より容量を算出するとよく、例えばファイルシステムでフォーマットされた記録媒体のデータ領域のクラスタ毎に映像データを記録する際に、連続記録ファイルを記録するために用いられるクラスタ数より記録可能領域の容量を算出するとよい。このようにすることで、連続記録ファイルを作成して記録する際における映像データの管理の一環として、連続記録に用いられる記録可能領域の容量を算出させることができる。
By doing in this way, a continuous recording file and an intermittent recording file can be recorded using a file system. As the file system, FAT (File Allocation Table) may be used. In this way, the continuous recording file and the intermittent recording file can be managed separately, and the file recorded by the personal computer or the like can be easily read and reproduced. The continuous recording file is a video data file continuously recorded using a file system, for example, a video data file constantly recorded using a file system, and is given a file name that can be distinguished from other files. Intermittent recording files are
A file in which video data is intermittently recorded for a predetermined time using a file system, for example, a file in which video data is intermittently recorded for one minute including an event occurrence time for each event occurrence using a file system, A file name that can be distinguished from other files is assigned. In this way, it becomes possible to identify the continuous recording file and the intermittent recording file by looking at the file name, and can easily identify them. The minimum management area of the recording area is preferably a cluster. In this way, the video data recorded in the recording area can be managed for each cluster. As a process of calculating the capacity of the recordable area based on the minimum management area, the minimum management area in the recordable area used for recording the video data of the continuous recording file when creating and recording the continuous recording file For example, when recording video data for each cluster of the data area of the recording medium formatted by the file system, the capacity of the recordable area is calculated from the number of clusters used for recording the continuous recording file. It is good to calculate. In this way, the capacity of a recordable area used for continuous recording can be calculated as part of video data management when creating and recording a continuous recording file.
(5)前記消去を行う際に報知する報知手段を更に有することを特徴とする。 (5) It further has a notifying means for notifying when performing the erasure.
このようにすることで、断続記録された映像データが消去されることを知ることができる。報知としては、断続記録した映像データを消去することを画像や音声でお知らせするとよく、消去を行う際としては、消去を行う前でもよく、消去中でもよいが、特に前記消去を行うことまたは消去をおこなったことをユーザが認識可能な態様での報知をする構成とするとよい。このようにすることで、記録された映像データを移し替えないために断続記録された映像データが消去されることを、消去を行う前、消去中又は消去を行った後に画像や音声で知らせてもらうことができる。消去をおこなったことをユーザが認識可能な態様で報知する構成としては、例えば「古いイベントファイルを消しました」という表示をする構成とするとよい。このようにすることで、古いイベントファイルを消去することにより連続記録ファイルを記録するための容量が確保されたことを認識することができ、途切れることなく連続記録が行われるとの安心感を得ることができる。 In this way, it can be known that the intermittently recorded video data is erased. As notification, it is good to inform the user that the intermittently recorded video data is to be erased by image or sound, and when erasing, it may be before erasing or during erasing, but in particular the erasing or erasing is performed. It is good to set it as the structure which alert | reports in the aspect which a user can recognize having done. In this way, the recorded video data will be erased in order to prevent the recorded video data from being transferred, and it will be notified by image or sound before erasing, during erasing or after erasing. I can get it. As a configuration for notifying that the deletion has been performed in a manner that the user can recognize, for example, it may be configured to display “old event file deleted”. By doing so, it is possible to recognize that the capacity for recording the continuous recording file has been secured by deleting the old event file, and to obtain a sense of security that continuous recording is performed without interruption. be able to.
(6)前記記録制御手段は、前記断続記録により前記記録領域に記録した前記映像データのうち古い前記映像データから順番に前記消去を行うことを特徴とする。 (6) The recording control means performs the erasing in order from the oldest video data among the video data recorded in the recording area by the intermittent recording.
このようにすることで、記録しておく必要性の高い映像データを残しておくことができる。古い映像データとしては、ファイルシステムを用いて映像データをファイルとして管理する場合に、ファイル作成時刻が古い断続記録ファイルの映像データとするとよく、例えばファイルシステムを用いて映像データをファイルとして管理する場合に、メモリカードのファイル管理領域に記録されている時刻情報が示すファイル作成時刻の古い断続記録ファイルの映像データとするとよい。このようにすることで、ファイル作成時刻の古い断続記録ファイルから順にファイル単位で一括消去させることができる。 In this way, video data that is highly necessary to be recorded can be left. As old video data, when managing video data as a file using a file system, it may be video data of an intermittent recording file whose file creation time is old. For example, when managing video data as a file using a file system Furthermore, the video data of the intermittent recording file having the old file creation time indicated by the time information recorded in the file management area of the memory card may be used. By doing so, it is possible to erase in batches in order from the intermittent recording file with the oldest file creation time.
電子機器の機能はコンピュータに実現させるためのプログラムとして構成するとよい。 The function of the electronic device may be configured as a program for causing a computer to realize the function.
本発明によれば、映像データを移し替える作業等を行わなくても映像データを記録させて見ることができ、映像データを移し替える作業等を行う煩わしさを極力回避することができる。 According to the present invention, it is possible to record and view video data without performing the operation of transferring the video data, and it is possible to avoid the inconvenience of performing the operation of transferring the video data as much as possible.
以下、図面を適宜参照して、本発明の実施形態につき、詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.
(第1の実施形態)
<ドライブレコーダの構成> 本発明の第1の実施形態におけるドライブレコーダ1の構成について、図1を用いて説明する。図1は、本実施形態におけるドライブレコーダ1のブロック図を示している。
(First embodiment)
<Configuration of Drive Recorder> The configuration of the drive recorder 1 in the first embodiment of the present invention will be described with reference to FIG. FIG. 1 shows a block diagram of a drive recorder 1 in the present embodiment.
本発明に係る電子機器の一例であるドライブレコーダ1は、図1に示すように、GPS受信機9と、マイクロ波受信機10と、無線受信機11と、入力部12と、加速度センサー13と、表示部14と、ランプ15と、スピーカ16と、メモリカードリーダ17と、カメラ19と、データベース20と、制御部21と、を有している。
As shown in FIG. 1, a drive recorder 1 that is an example of an electronic device according to the present invention includes a GPS receiver 9, a
GPS受信機9は、GPS衛星から電波により送られるGPS信号を受信し、受信したGPS信号に基づいて現在位置(経度・緯度)を求める。GPS受信機9は、求めた現在位置を現在位置情報として制御部21に出力する。GPS受信機9は、GPS衛星から電波により送られる時刻情報を受信し、受信した時刻情報を制御部21に出力する。
The GPS receiver 9 receives a GPS signal transmitted by radio waves from a GPS satellite, and obtains a current position (longitude / latitude) based on the received GPS signal. The GPS receiver 9 outputs the obtained current position to the
マイクロ波受信機10は、外部の速度測定装置から出射される所定周波数のマイクロ波を受信する。マイクロ波受信機10は、受信したマイクロ波の信号レベルを検出し、その検出結果を制御部21に出力する。
The
無線受信機11は、飛来する所定の周波数帯の電波の受信を検出した際に、その検出結果を制御部21に出力する。
When the wireless receiver 11 detects reception of a radio wave in a predetermined frequency band, the wireless receiver 11 outputs the detection result to the
入力部12は、スイッチである。入力部12は、外部からの操作を検出して、その検出結果を制御部21に出力する。
The
加速度センサー13は、ドライブレコーダ1にかかる加速度、ひいてはドライブレコーダ1を搭載する車両にかかる加速度を検出し、その検出値を制御部21に出力する。
The
表示部14は、ドライブレコーダ1の図示しない本体の前面(車両後方(運転者側)に向く面)に備えられている。表示部14は、液晶ディスプレイであり、制御部21の制御により後述する表示を行う。
The
ランプ15は、制御部21の制御に従って点灯又は点滅することにより、警報又は報知を行う。
The
スピーカ16は、制御部21の制御に従って、音や音声により警報や報知を行う。
The
メモリカードリーダ17は、ドライブレコーダ1の図示しない本体内のカード挿入口の内側に内蔵されており、リーダ、ライタ機能を有している。メモリカードリーダ17には、カード挿入口からメモリカード18が挿入されて着脱自在に装着される。メモリカードリーダ17は、メモリカード18が装着された際に、制御部21の制御により、メモリカ
ード18に記録されている映像データを読み込んで制御部21に出力し、制御部21から入力された映像データをメモリカード18に記録させる。
The
メモリカード18は、FAT(File Allocation Table)32形式でフォーマットされており、映像データを記録したファイルを記録する。メモリカード18は、映像データを記録する領域であるデータ領域、及びその映像データをファイルとして管理するための領域であるファイル管理領域等を有している。メモリカード18のデータ領域は、FAT32を用いて、所定の容量を有するクラスタ毎に管理される。ここで、クラスタは、FAT32を用いて管理する際の最小管理領域である。また、1つのクラスタの容量は、例えば16KBである。
The
カメラ19は、ドライブレコーダ1を車室内のダッシュボード上に取り付けた際に、車両の前方を撮影可能な向きでドライブレコーダ1に設けられている。カメラ19は、CCD(charge coupled device)等の撮像素子及びレンズを備え、そのレンズから入射される車両の前方の映像を撮像素子により検知し、その映像を映像データとして制御部21に出力する。
The
データベース20は、制御部21に外付けしたEEPROM(ElectricallyErasable Programmable Read-Only Memory)である。データベース20には、出荷時に地図データが登録されている。データベース20には、予め設定された注意を促す場所等の位置情報が記録されている。ここで、注意を促す場所とは、交差点や事故多発地帯等である。
The
制御部21は、マイコンであり、コンピュータと、プログラムを格納するEEPROMと、RAM(RandomAccess Memory)と、インタフェース等、を有している。制御部21は、車両に備えられている図示しないアクセサリスイッチがオンされることにより起動して、コンピュータがEEPROMに格納されているプログラムを実行することにより、以下の動作を実現する。
The
制御部21は、メモリカード18の同一のデータ領域に、常時記録ファイル及びイベント記録ファイルの映像データを記録する。制御部21は、同一のデータ領域を共用して常時記録ファイル及びイベント記録ファイルの映像データを記録する。ここで、データ領域の共用とは、ファイルシステムを用いて映像データを記録するデータ領域の各クラスタに、常時記録ファイルの映像データを記録することもできるし、イベント記録ファイルの映像データを記録することもできることを言う。
The
制御部21は、カメラ19から映像データを取得し、取得した映像データを例えば1分毎のファイルとしてメモリカード18に記録する処理を行う。制御部21は、1分分のファイルの記録が完了したらそのファイルをクローズし、次のファイルをオープンして記録を開始する。このようにして、制御部21は、メモリカード18のデータ領域に連続的に映像データを記録(以下、「常時記録」と記載する)する処理を行って、常時記録ファイルを作成する。制御部21は、常時記録ファイルを示す例えば「NOR」のアルファベットに、その常時記録ファイルを作成する日時を付加した常時記録ファイルのファイル名と、その常時記録ファイルを作成する時刻を示す時刻情報と、その常時記録ファイルの映像データを記録するデータ領域に関する情報と、をメモリカード18のファイル管理領域に記録する処理を行う。ここで、データ領域に関する情報は、映像データを記録したデータ領域のクラスタ番号等である。
The
制御部21は、加速度センサー13から入力された加速度の検出値が閾値以上の場合、GPS受信機9から入力された現在位置情報が示す現在位置と、データベース20から読み出した注意を促す場所の位置情報が示す位置と、の距離が所定距離以下になった場合、
所定の周波数の電波を受信した検出結果が無線受信機11から入力された場合、又は、所定の信号レベルのマイクロ波を受信した検出結果がマイクロ波受信機10から入力された場合に、イベントが発生したものと判断する。
When the detected acceleration value input from the
When a detection result of receiving a radio wave of a predetermined frequency is input from the wireless receiver 11 or when a detection result of receiving a microwave of a predetermined signal level is input from the
制御部21は、イベントが発生したものと判断した際の映像データを記録した常時記録ファイルを、イベント発生毎にイベント発生時刻を含む1分分の映像データを断続的に記録するイベント記録ファイルに変更する処理を行う。具体的には、制御部21は、イベント発生時の映像データを記録した常時記録ファイルのファイル名の「NOR」のアルファベットを、イベント記録ファイルを示す例えば「EVT」のアルファベットに変更してイベント記録ファイルとする。これにより、制御部21は、イベントが発生する毎に映像データをメモリカード18のデータ領域に断続的に記録する。なお、イベント記録ファイルの時刻情報及びデータ領域に関する情報は、ファイル名を変更する前の常時記録ファイルのものを使用する。
The
制御部21は、データベース20に記録されている注意を促す場所の位置情報の位置に接近した際に、ランプ15を点滅若しくは点灯させて警報するか、又は、スピーカ16により音声で警報する警報処理を行う。制御部21は、通常カメラ19から取得した映像を表示部14に表示させる表示処理を行い、入力部12に設けた再生スイッチの押下が検出された場合にはメモリカードリーダ17を介してメモリカード18から読み込んだ映像データを、表示部14に表示させる表示処理を行う。
When the
<ドライブレコーダの動作>
本発明の第1の実施形態におけるドライブレコーダ1の動作について、図2を用いて説明する。
<Operation of drive recorder>
The operation of the drive recorder 1 in the first embodiment of the present invention will be described with reference to FIG.
本実施形態におけるドライブレコーダ1は、データ領域50における常時記録ファイルの映像データの記録に用いられる記録可能領域の容量を常に一定量確保するように動作する。
The drive recorder 1 according to the present embodiment operates so as to always ensure a certain amount of capacity of a recordable area used for recording video data of a constantly recorded file in the
図2は、本実施形態における常時記録ファイルの映像データを記録した領域及びイベント記録ファイルの映像データを記録した領域のデータ領域50における領域の使用容量状態の変化を模式的に示す図である。図2において、図2(a)は、メモリカード18を初期化した状態を示している。図2(b)は、データ領域50に常時記録ファイル及びイベント記録ファイルの映像データを記録し始めた状態を示している。図2(c)は、データ領域50に常時記録ファイル及びイベント記録ファイルの映像データを記録することによりデータ領域50の容量が一杯になった状態を示している。図2(d)は、データ領域50の容量が一杯の状態において常時記録ファイルの映像データの記録に用いられる記録可能領域がイベント記録ファイルの映像データを記録した領域により浸食された状態を示している。図2(e)は、常時記録ファイルの映像データの記録に用いられる記録可能領域の容量を確保した状態を示している。
FIG. 2 is a diagram schematically showing a change in the used capacity state of the area in the
メモリカード18のデータ領域50は、常時記録ファイルを例えば120個(2時間分)記録することが可能な容量を有している。データ領域50は、常時記録ファイル及びイベント記録ファイルの映像データの記録先として共用される。ドライブレコーダ1の出荷時には、メモリカード18は初期化されているために、図2(a)に示すように、データ領域50の全領域が映像データが記録されていない空き領域A1である。この際、常時記録ファイルの映像データの記録に用いられる記録可能領域K1は、データ領域50の全領域である。
The
出荷されたドライブレコーダ1を車両に設置した後、制御部21は、図示しない車両の
アクセサリスイッチがONされ、更に上書きONモードの操作の検出結果が入力部12から入力された際において、以下の処理を行う。
After installing the shipped drive recorder 1 in the vehicle, the
制御部21は、図2(a)に示す初期化された状態において、データ領域50に映像データを常時記録して最初の1分の常時記録ファイルを作成する。また、制御部21は、その常時記録ファイルのファイル名と、その常時記録ファイルを作成する時刻を示す時刻情報と、その常時記録ファイルの映像データを記録するデータ領域に関する情報と、をメモリカード18のファイル管理領域に記録する処理を行う。これを1分ごとに繰り返していき、これにより、データ領域50には、複数の常時記録ファイルの映像データが記録された領域J1が出来る。
In the initialized state shown in FIG. 2A, the
また、制御部21は、イベントが発生したものと判断した際に、イベント発生時の映像データを記録した常時記録ファイルを示すファイル名を、イベント記録ファイルを示すファイル名に変更する処理を行って、イベント記録ファイルとする。これにより、データ領域50には、複数のイベント記録ファイルの映像データが記録された領域E1が出来る。
In addition, when the
次に、データ領域50には、上記の処理が繰り返されることにより、常時記録ファイル及びイベント記録ファイルの映像データが記録されていく。これにより、データ領域50における領域J1及び領域E1は、図2(b)に示すように、広がっていく。この際、データ領域50における記録可能領域K1は、領域J1と空き領域A1とからなる領域である。
Next, by repeating the above processing, the video data of the constantly recorded file and the event recording file is recorded in the
次に、データ領域50の容量は、上記の処理が更に繰り返されることにより一杯になる。ここで、データ領域50の容量が一杯とは、データ領域50に記録された映像データのファイルに上書きしないと、常時記録ファイル及びイベント記録ファイルの映像データをデータ領域50に記録することができない状態を言う。図示すれば、この状態のデータ領域50は、図2(c)に示すように、領域J1と領域E1とで満たされた状態である。この際、データ領域50における記録可能領域K1は、領域J1と一致する。
Next, the capacity of the
次に、制御部21は、メモリカード18のファイル管理領域に記録されているデータ領域に関する情報及び時刻情報を見て、常時記録ファイルのうち最も古い時刻に作成された常時記録ファイルの映像データに上書きして、新たに映像データを常時記録する処理を行って、常時記録ファイルを作成する。
Next, the
また、制御部21は、イベントが発生したものと判断した場合、イベント発生時の映像データを記録した常時記録ファイルをイベント記録ファイルに変更する。これらの処理を繰り返すことにより、データ領域50では、図2(d)に示すように、記録可能領域K1と一致する領域J1が領域E1により浸食されていく。
Further, when the
制御部21は、上記の過程において、メモリカード18のファイル管理領域に記録されているファイル名及びデータ領域に関する情報に基づいて、記録可能領域K1の容量を算出し、その算出結果より記録可能領域K1の容量が確保されているか否かを判断する。
In the above process, the
具体的には、制御部21は、メモリカード18のファイル管理領域に記録されているファイル名及びデータ領域に関する情報を見て、空き領域A1及び領域J1のクラスタ数の総数として例えば435,445を算出すると共に、次回に1つの常時記録ファイルを記録するために必要なクラスタ数として例えば8000を算出する。そして、制御部21は、空き領域A1及び領域J1のクラスタ数の総数である435,445から、次回に1つの常時記録ファイルを記録するために必要なクラスタ数である8000を減算して減算値として427,445を求め、この減算値である427,445に1つのクラスタのサイ
ズである例えば32KBを乗算して記録可能領域K1の容量を示す乗算値として13,678,240KBを求める。制御部21は、この乗算値が例えば2つの常時記録ファイルを記録するために必要なクラスタのサイズである512,000KB以下である場合に、記録可能領域K1の容量が確保されていないと判断する。なお、空き領域A1が無い場合には、領域J1のクラスタ数の総数を用いて記録可能領域K1の容量を求める。
Specifically, the
制御部21は、記録可能領域K1の容量が確保されていないと判断した場合、メモリカード18のファイル管理領域に記録されているファイル名及び時刻情報を見て、データ領域50に記録されているイベント記録ファイルのうち、作成された時刻が古いものから順番に選択した例えば5つのイベント記録ファイルを消去する。これにより、データ領域50には、図2(e)に示すように、新たに常時記録ファイルの映像データを記録するための領域J2が確保される。この際、表示部14は、制御部21の制御により、「古いイベントファイルを消しました」等の文字を表示して報知を行う。そして上記の処理により、データ領域50には、記録可能領域K1として領域J1及び領域J2が確保される。
When the
次に、制御部21は、領域J2に対して映像データを常時記録する処理を行って、常時記録ファイルを作成する。
Next, the
また、制御部21は、領域J2に対して映像データを順次常時記録している際においてイベントが発生したものと判断した際に、イベント発生時の映像データを記録した常時記録ファイルを示すファイル名を、イベント記録ファイルを示すファイル名に変更する処理を行って、イベント記録ファイルとする。これにより、領域E1が広がっていく。
Further, when the
そして、制御部21は、記録可能領域K1の容量が確保されていないと再び判断した場合に、記録可能領域K1の容量を確保するために、上記と同様の処理を繰り返す。
When the
なお、制御部21は、図示しないアクセサリスイッチがONされ、更に入力部12から上書きOFFモードの操作の検出結果が入力された場合において、図2(c)に示す状態になった場合、データ領域50に常時記録ファイル及びイベント記録ファイルの映像データを記録する処理を停止する。この際、表示部14は、制御部21の制御により、記録を停止する旨のPOPUPメッセージを表示する。また、スピーカ16は、制御部21の制御により、記録を停止することを報知音で報知する。これにより、ドライブレコーダ1の使用者は、メモリカード18のデータ領域50に常時記録ファイル及びイベント記録ファイルの映像データを記録する処理が停止されることを認識することができる。
When the accessory switch (not shown) is turned ON, and the detection result of the operation in the overwrite OFF mode is input from the
(第2の実施形態)
本発明の第2の実施形態に係る電子機器の一例であるドライブレコーダの構成は図1と同一構成であるので、その説明を省略する。
(Second Embodiment)
The configuration of the drive recorder, which is an example of the electronic apparatus according to the second embodiment of the present invention, is the same as that shown in FIG.
<ドライブレコーダの動作>
本実施形態におけるドライブレコーダ1の動作について、図3を用いて説明する。なお、図1の符号を用いて本実施形態におけるドライブレコーダの動作について説明する。
<Operation of drive recorder>
The operation of the drive recorder 1 in the present embodiment will be described with reference to FIG. The operation of the drive recorder in the present embodiment will be described using the reference numerals in FIG.
本実施形態におけるドライブレコーダ1は、データ領域60における常時記録ファイルの映像データの記録に用いられる記録可能領域の容量が無くなった際に、その記録可能領域の容量を一定量確保するように動作する。
The drive recorder 1 according to the present embodiment operates to secure a certain amount of the recordable area when the capacity of the recordable area used for recording the video data of the constantly recorded file in the
図3は、本実施形態における常時記録ファイルの映像データを記録した領域及びイベント記録ファイルの映像データを記録した領域のデータ領域における領域の使用容量状態の変化を模式的に示す図である。図3において、図3(a)は、メモリカード18を初期化
した状態を示している。図3(b)は、データ領域60に常時記録ファイル及びイベント記録ファイルの映像データを記録し始めた状態を示している。図3(c)は、データ領域60に常時記録ファイル及びイベント記録ファイルの映像データを記録することによりデータ領域60の容量が一杯になった状態を示している。図3(d)は、データ領域60がイベント記録ファイルの映像データを記録した領域で満たされた状態を示している。図3(e)は、常時記録ファイルの映像データの記録に用いられる記録可能領域の容量を確保した状態を示している。
FIG. 3 is a diagram schematically showing a change in the used capacity state of the area in the data area of the area where the video data of the constantly recorded file and the area of the event recording file where the video data is recorded in the present embodiment. 3, FIG. 3 (a) shows a state in which the
メモリカード18は、データ領域60に常時記録ファイルを例えば120個(2時間分)記録することが可能な記録容量を有している。データ領域60は、常時記録ファイル及びイベント記録ファイルの映像データの記録先として共用される。ドライブレコーダ1の出荷時には、メモリカード18は初期化されているために、図3(a)に示すように、データ領域60の全領域が映像データが記録されていない空き領域A11である。この際、常時記録ファイルの映像データの記録に用いられる記録可能領域K11は、データ領域60の全領域である。
The
制御部21は、図示しないアクセサリスイッチがONされ、更に入力部12から上書きONモードの操作の検出結果が入力された際において、以下の処理を行う。
The
制御部21は、図3(c)までは上記第1の実施形態と同様の処理を行う。これにより、データ領域60は、常時記録ファイルの映像データを記録した領域J11と、イベント記録ファイルの映像データを記録した領域E11と、で満たされる図3(c)の状態になる。この際、記録可能領域K11は、常時記録ファイルの映像データを記録している領域J11と一致する。
The
次に、制御部21は、メモリカード18のファイル管理領域に記録されているデータ領域に関する情報及び時刻情報を見て、常時記録ファイルのうち最も古い時刻に作成された常時記録ファイルの映像データに上書きして、新たに映像データを常時記録する処理を行って、常時記録ファイルを作成する。また、制御部21は、その常時記録ファイルのファイル名と、その常時記録ファイルを作成する時刻を示す時刻情報と、その常時記録ファイルの映像データを記録するデータ領域に関する情報と、をメモリカード18のファイル管理領域に記録する処理を行う。
Next, the
また、制御部21は、イベントが発生したものと判断した場合、イベント発生時の映像データを記録した常時記録ファイルを示すファイル名を、イベント記録ファイルを示すファイル名に変更する処理を行って、イベント記録ファイルとする。また、制御部21は、そのイベント記録ファイルのファイル名と、そのイベント記録ファイルを作成する時刻を示す時刻情報と、そのイベント記録ファイルの映像データを記録するデータ領域に関する情報と、をメモリカード18のファイル管理領域に記録する処理を行う。この処理を繰り返すことにより、データ領域60は、記録可能領域K11と一致する領域J11がイベント記録ファイルの映像データを記録した領域E11により徐々に浸食されていき、遂には領域E11で満たされる図3(d)の状態になる。
If the
制御部21は、上記の過程において、メモリカード18のファイル管理領域に記録されているファイル名及びデータ領域に関する情報に基づいて、記録可能領域K11の容量を算出し、その算出結果より記録可能領域K11の容量が無くなったか否かを判断する。
In the above process, the
具体的には、制御部21は、メモリカード18のファイル管理領域に記録されているファイル名及びデータ領域に関する情報を見て、記録可能領域K11の容量を示す領域J11のクラスタ数を算出する。制御部21は、この算出値が「0」である場合に、記録可能
領域K11の容量が無くなったと判断する。
Specifically, the
制御部21は、記録可能領域K11の容量が無くなったと判断した場合、メモリカード18のファイル管理領域に記録されているファイル名及び時刻情報を見て、データ領域60に記録されているイベント記録ファイルのうち、作成された時刻が古いものから順番に選択した所定数のイベント記録ファイルを消去する。これにより、データ領域60には、図3(e)に示すように、新たに常時記録ファイルの映像データを記録するための領域J12が確保される。この際、表示部14は、制御部21の制御により、「古いイベントファイルを消しました」等の文字を表示して報知を行う。そして上記の処理により、データ領域60には、記録可能領域K11として領域J12が確保される。
When the
領域J12は、データ領域60において常時記録ファイルの映像データを記録する領域がなくなるタイミングがあまり早く来ないように設定することが好ましく、例えば10個のイベント記録ファイルを消去して確保した領域とする。
The area J12 is preferably set so that the timing at which the area where the video data of the recording file of the recording file is constantly recorded disappears does not come too early in the
そして、制御部21は、記録可能領域K11の容量が無くなったと再び判断した場合に、記録可能領域K11の容量を確保するために、上記と同様の処理を繰り返す。
When the
なお、制御部21は、図示しないアクセサリスイッチがONされ、更に入力部12から上書きOFFモードの操作の検出結果が入力された場合において、図3(c)に示す状態になった場合、データ領域60に常時記録ファイル及びイベント記録ファイルの映像データを記録する処理を停止する。この際、表示部14は、制御部21の制御により、記録を停止する旨のPOPUPメッセージを表示する。また、スピーカ16は、制御部21の制御により、記録を停止することを報知音で報知する。これにより、ドライブレコーダ1の使用者は、メモリカード18のデータ領域60に常時記録ファイル及びイベント記録ファイルの映像データを記録する処理が停止されることを認識することができる。
When the accessory switch (not shown) is turned ON and the detection result of the operation in the overwrite OFF mode is further input from the
本実施形態によれば、記録可能領域K11の容量を所定量確保するか否かを判断する場合には、常時記録ファイルの映像データを記録している領域J11のクラスタ数を算出し、その算出値が「0」であるか否かを判断するだけであるので、処理を簡単にすることができ、ドライブレコーダ1の利用者は処理速度の速いドライブレコーダ1を使用することができる。 According to the present embodiment, when it is determined whether or not a predetermined amount of the capacity of the recordable area K11 is to be secured, the number of clusters in the area J11 in which the video data of the recording file is always recorded is calculated. Since it is only necessary to determine whether or not the value is “0”, the processing can be simplified, and the user of the drive recorder 1 can use the drive recorder 1 having a high processing speed.
<その他の実施形態>
第1の実施形態のドライブレコーダ1が有する機能と、第2の実施形態のドライブレコーダ1が有する機能と、をドライブレコーダ1に設けたスイッチにより切り替えるようにしてもよい。
<Other embodiments>
You may make it switch the function which the drive recorder 1 of 1st Embodiment has, and the function which the drive recorder 1 of 2nd Embodiment has with the switch provided in the drive recorder 1. FIG.
なお、上記第1の実施形態及び第2の実施形態において、記録可能領域K1の容量が確保されていない場合又は記録可能領域K11無くなった場合に、所定数のイベント記録ファイルを消去したが、過去の所定時間においてイベント記録ファイルを記録した頻度に応じた数のイベント記録ファイルを消去してもよい。この場合、制御部21は、所定時間におけるイベント記録ファイルの映像データを記録した時間の割り合いと、消去するファイル数と、を対応付けたテーブルを、制御部21のEEPROMに予め記憶しておく。制御部21は、制御部21のリアルタイム・クロック機能又はGPS受信機9から入力された時刻情報を用いて、所定時間、及び、イベント記録ファイルの映像データを記録した時間を計測し、その計測結果より上記の割り合いを算出する。そして、制御部21は、上記テーブルにおいて、算出した上記の割り合いに対応付けられている消去するファイル数だけイベント記録ファイルを消去する。これにより、イベント記録ファイルの記録時間に応じた数のイベント記録ファイルを消去することができるので、イベント記録ファイルを消去
する処理を頻繁に発生させないようにすることができる。
In the first embodiment and the second embodiment, a predetermined number of event recording files are deleted when the capacity of the recordable area K1 is not ensured or when the recordable area K11 runs out. The number of event recording files corresponding to the frequency of recording the event recording files in the predetermined time may be deleted. In this case, the
また、上記第1の実施形態及び第2の実施形態において、カメラ19は、ドライブレコーダ1を車室内のダッシュボード上に取り付けた際に、車両の前方を撮影可能な向きでドライブレコーダ1に設けられたが、車両の後方を撮影可能な向きでドライブレコーダ1に設けられてもよい。また、カメラ19は、車両の側方を撮影可能な向きでドライブレコーダ1に設けられてもよい。更に、カメラ19は、車室内を撮影可能な向きでドライブレコーダ1に設けられてもよい。
In the first embodiment and the second embodiment, the
また、上記第1の実施形態及び第2の実施形態において、ファイルシステムとしてFATを用いたが、FAT以外のNTFS(NTFile System)等のファイルシステムを用いてもよい。 In the first embodiment and the second embodiment, FAT is used as the file system. However, a file system such as NTFS (NTFile System) other than FAT may be used.
また、上記第1の実施形態及び第2の実施形態において、ナビゲーション装置及びレーダ探知機の機能を有するドライブレコーダ1により常時記録ファイル及びイベント記録ファイルの映像データを記録したが、ナビゲーション機能及びレーダ探知機の機能を有さないドライブレコーダの機能のみを有するドライブレコーダ、ナビゲーション装置の機能を有するドライブレコーダ、又はレーダ探知機の機能を有するドライブレコーダ等により常時記録ファイル及びイベント記録ファイルの映像データを記録してもよい。 In the first and second embodiments, the video data of the recording file and the event recording file are always recorded by the drive recorder 1 having the functions of the navigation device and the radar detector. Always record video data of event recording files and event recording files with a drive recorder that has only the function of a drive recorder that does not have a machine function, a drive recorder that has a function of a navigation device, or a drive recorder that has a function of a radar detector May be.
また、上記第1の実施形態及び第2の実施形態において、車両の現在位置と注意を促す場所との距離が所定距離以下になった場合にイベント記録ファイルを作成したが、車両の現在位置と予め設定してデータベース20に記憶させておいた眺めの良いビューポイントとの距離が所定距離以下になった場合にイベント記録ファイルを作成してもよい。
In the first embodiment and the second embodiment, the event record file is created when the distance between the current position of the vehicle and the place to call attention is equal to or less than a predetermined distance. An event record file may be created when the distance to a view point with a good view that is preset and stored in the
また、上記第1の実施形態及び第2の実施形態において、記録可能領域を確保する際に、記録済みのイベント記録ファイルの一部を消去したが、記録済みのイベント記録ファイルの全部を消去してもよい。 In the first embodiment and the second embodiment, when the recordable area is secured, a part of the recorded event record file is deleted, but the entire recorded event record file is deleted. May be.
1 ドライブレコーダ
9 GPS受信機
10 マイクロ波受信機
11 無線受信機
12 入力部
13 加速度センサー
14 表示部
15 ランプ
16 スピーカ
17 メモリカードリーダ
18 メモリカード
19 カメラ
20 データベース
21 制御部
50 データ領域
60 データ領域
DESCRIPTION OF SYMBOLS 1 Drive recorder 9
Claims (3)
前記記録領域における前記連続記録に用いられる記録可能領域の容量に応じて、前記記録領域に対して前記イベント記録を行った前記映像データの少なくとも一部を消去して前記記録可能領域の容量を確保する記録制御手段を有し、
前記イベント記録を行った前記映像データの少なくとも一部を消去は、過去の所定時間においてイベント記録をした頻度に応じた量のイベント記録を消去すること
を特徴とする電子機器。 An electronic device that performs shared and continuous recording for continuously recording image data, and event recording that records the video data each time a predetermined event occurs, the same recording area,
According to the capacity of the recordable area used for the continuous recording in the recording area, the capacity of the recordable area is secured by erasing at least a part of the video data on which the event recording has been performed on the recording area. the recording control means to possess,
The electronic apparatus according to claim 1, wherein erasing at least a part of the video data on which the event recording has been performed is to delete an amount of event records corresponding to a frequency of event recording in a predetermined past time .
を特徴とする請求項1に記載の電子機器。 The amount according to the frequency of event recording in the past predetermined time is an amount corresponding to a ratio of time for recording video data of event recording in the predetermined time. Electronics.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018191444A JP6643640B2 (en) | 2018-10-10 | 2018-10-10 | Electronic devices and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018191444A JP6643640B2 (en) | 2018-10-10 | 2018-10-10 | Electronic devices and programs |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014221024A Division JP6427812B2 (en) | 2014-10-30 | 2014-10-30 | Electronic device and program |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019222552A Division JP7002765B2 (en) | 2019-12-10 | 2019-12-10 | Electronic devices and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019012564A true JP2019012564A (en) | 2019-01-24 |
JP6643640B2 JP6643640B2 (en) | 2020-02-12 |
Family
ID=65227963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018191444A Active JP6643640B2 (en) | 2018-10-10 | 2018-10-10 | Electronic devices and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6643640B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10145734A (en) * | 1996-11-07 | 1998-05-29 | Mitsubishi Electric Corp | Video recording device |
JP2012003607A (en) * | 2010-06-18 | 2012-01-05 | Yazaki Corp | Drive recorder for vehicle and recorded information management method |
JP2013061727A (en) * | 2011-09-12 | 2013-04-04 | Yazaki Energy System Corp | Drive recorder |
-
2018
- 2018-10-10 JP JP2018191444A patent/JP6643640B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10145734A (en) * | 1996-11-07 | 1998-05-29 | Mitsubishi Electric Corp | Video recording device |
JP2012003607A (en) * | 2010-06-18 | 2012-01-05 | Yazaki Corp | Drive recorder for vehicle and recorded information management method |
JP2013061727A (en) * | 2011-09-12 | 2013-04-04 | Yazaki Energy System Corp | Drive recorder |
Also Published As
Publication number | Publication date |
---|---|
JP6643640B2 (en) | 2020-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6427812B2 (en) | Electronic device and program | |
EP2495703B1 (en) | Operation management device to be mounted to a moving object, portable information terminal, operation management server, and computer program | |
EP1087605B1 (en) | Information processing method for associating measured position information with captured images | |
JP4467448B2 (en) | Mobile recording device | |
US20110077819A1 (en) | Data management device, data reading method and computer-readable medium | |
JP2023174729A (en) | Electronic apparatus and program | |
JP6962712B2 (en) | In-vehicle image recording device | |
JP2019164403A (en) | Recording control device, recording control method, and recording control program | |
JP4718569B2 (en) | In-vehicle electronic device and moving locus display system | |
JP6738105B2 (en) | Electronic devices, information systems, programs | |
JP6643640B2 (en) | Electronic devices and programs | |
JP2017107475A (en) | On-vehicle system and drive recorder | |
JP5970253B2 (en) | OBE | |
CN115891908A (en) | Vehicle, notification system and method, non-transitory computer-readable storage medium | |
JP6152012B2 (en) | Operation recording device | |
KR101285588B1 (en) | direct access device of black box memory. | |
CN112622755A (en) | Early warning method, device and computer storage medium | |
JP6671254B2 (en) | Onboard equipment | |
JP7364438B2 (en) | Speed data acquisition device, service provision system, and speed data acquisition method | |
KR102151515B1 (en) | Image-processing Apparatus for Car and Method of Providing Information Using The Same | |
CN117373147A (en) | Driving image storage method and device, electronic equipment and storage medium | |
JP2021189464A (en) | On-vehicle device, server, dangerous vehicle information notification system, and dangerous operation determination program | |
JP2017134526A (en) | drive recorder | |
KR101492822B1 (en) | Driving video recorder and method thereof | |
JP6568406B2 (en) | Drive recorder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181030 |
|
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: 20191112 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20191210 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6643640 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |