JP2010122947A - Information recording device - Google Patents

Information recording device Download PDF

Info

Publication number
JP2010122947A
JP2010122947A JP2008296588A JP2008296588A JP2010122947A JP 2010122947 A JP2010122947 A JP 2010122947A JP 2008296588 A JP2008296588 A JP 2008296588A JP 2008296588 A JP2008296588 A JP 2008296588A JP 2010122947 A JP2010122947 A JP 2010122947A
Authority
JP
Japan
Prior art keywords
writing
nonvolatile memory
movement
related information
information
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.)
Pending
Application number
JP2008296588A
Other languages
Japanese (ja)
Inventor
Tatsunori Kanai
達徳 金井
Yutaka Yamada
裕 山田
Masaya Taruie
昌也 樽家
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2008296588A priority Critical patent/JP2010122947A/en
Publication of JP2010122947A publication Critical patent/JP2010122947A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce loss of information even when a sudden stop of power supply occurs during writing. <P>SOLUTION: An information recording device has: a means for receiving movement-related information related to movement of a moving body; a first nonvolatile memory for temporarily recording the movement-related information; a second nonvolatile memory wherein time for completion of writing into a block of a writing completion block size that is a minimum unit wherein the writing is completed is longer than the first nonvolatile memory; a writing means for writing the movement-related information into the first nonvolatile memory, and bringing it into a holding state; a means of reading the movement-related information of the same size as the writing block size of the second nonvolatile memory from the first nonvolatile memory; a means of writing the read movement-related information into the second nonvolatile memory; and a means of confirming normal completion of the writing into the block of the writing completion block size, and thereafter releasing the holding state of the movement-related information whose writing is normally completed of the movement-related information. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

この発明は移動体の移動に関連する移動関連情報を記録する情報記録装置に関する。 The present invention relates to an information recording apparatus for recording movement related information related to movement of a moving object.

移動体に関連する情報を記録する情報記録装置としては、例えば、ドライブレコーダは、車両による事故発生の前後の、カメラで撮影した動画像等の運転情報を不揮発性のメモリに記録する装置である。   As an information recording device that records information related to a moving object, for example, a drive recorder is a device that records driving information such as moving images taken by a camera in a nonvolatile memory before and after the occurrence of an accident by a vehicle. .

特許文献1には、カメラで撮影した動画像を一時的に揮発性メモリに記憶しておき、センサによって衝突を検出した場合に、揮発性メモリに記憶しておいた動画像を不揮発性メモリに記録するドライブレコーダが開示されている。
特開2007−334760公報
In Patent Document 1, a moving image captured by a camera is temporarily stored in a volatile memory, and when a collision is detected by a sensor, the moving image stored in the volatile memory is stored in a nonvolatile memory. A drive recorder for recording is disclosed.
JP 2007-334760 A

ドライブレコーダのように移動体に関連する情報を記録する情報記録装置の運転情報のような移動関連情報を記録する記憶装置は、事故の衝撃で壊れて読み出せなくなることがないように、NAND型フラッシュメモリやMRAMのような、不揮発性の半導体メモリを用いることが望ましい。   A storage device that records movement-related information such as driving information of an information recording device that records information related to a moving object such as a drive recorder is NAND-type so that it cannot be broken and cannot be read due to the impact of an accident. It is desirable to use a non-volatile semiconductor memory such as a flash memory or an MRAM.

また、事故の衝撃で、電源供給が停止したり、回路基板が損傷を受けることで、ドライブレコーダが突然動作不能になった場合にも、その直前まで記録していた運転情報は不揮発性の記憶装置に記録されていて、事故後に読み出せることが望ましい。   In addition, even if the drive recorder suddenly becomes inoperable due to the power supply being stopped or the circuit board being damaged due to the impact of an accident, the operation information recorded until immediately before is not stored in the nonvolatile memory. It should be recorded on the device and read after the accident.

そのため、このような要求を満たすドライブレコーダのように移動体に関連する情報を記録する情報記録装置の運転情報の記録装置としてNAND型フラッシュメモリを使用する場合、NAND型フラッシュメモリ特有の書き込み方式に配慮する必要がある。   Therefore, when a NAND flash memory is used as an operation information recording device of an information recording device that records information related to a moving body, such as a drive recorder that satisfies such requirements, a writing method unique to the NAND flash memory is used. It is necessary to consider.

NAND型フラッシュメモリは、ページと呼ぶ単位でデータの読み書きを行い、また、複数のページ(例えば64ページや128ページ)をまとめたブロックと呼ぶ単位でデータの消去を行う。ページのサイズは例えば2Kバイトや4Kバイトであり、ブロックのサイズは例えば128Kバイトや256Kバイトである。NAND型フラッシュメモリに対してページの書き込みを行う場合、書き込みコマンドと書き込みたいアドレス、それに書き込みたいページサイズのデータを送って書き込みを指示する。その後、ステータスリードコマンドを送ってステータスを読み出すことで、書き込みが正常に終了したかどうかを確認する。このとき、書き込みが正常に終了しなかった場合は、そのページが属するブロック全体を無効にし、別のブロックに再度データを書き込む必要がある。すなわち、ブロック全体が正常に書き込み終了したことを確認するまでは、ブロック全体の書き込みが再度必要になる可能性がある。   The NAND flash memory reads and writes data in units called pages, and erases data in units called blocks in which a plurality of pages (for example, 64 pages and 128 pages) are combined. The page size is, for example, 2 Kbytes or 4 Kbytes, and the block size is, for example, 128 Kbytes or 256 Kbytes. When writing a page to the NAND flash memory, a write command, an address to be written, and data of a page size to be written are sent to instruct the write. Thereafter, a status read command is sent and the status is read to check whether the writing has been completed normally. At this time, if the writing is not completed normally, it is necessary to invalidate the entire block to which the page belongs and write the data again in another block. In other words, there is a possibility that writing of the entire block is required again until it is confirmed that the writing of the entire block has been normally completed.

そのため、ブロックの最後のページまで正常に書き込みが完了する前に事故等でドライブレコーダのように移動体に関連する情報を記録する情報記録装置が動作を停止した場合、停止時に書き込み途中であったページの書き込みが正常に終了せず、ブロック全体を無効にしなくてはいけない可能性が発生しうる。例としてドライブレコーダが動画像を2Mbpsのビットレートで記録する場合を考えると、1秒間に256KバイトのデータをNAND型フラッシュメモリに記録することになる。このとき、ブロックサイズが256Kバイトであるとすると、1秒分のデータが1ブロックに相当する。よって、事故直前の最大1秒分の動画像が正しく読み出せなくなる可能性がある。このように、NAND型フラッシュメモリなどでは、最終的に移動体の移動に関連する情報を保存するメモリへの書き込みに時間が掛かり、書き込み中に急な電源供給の停止が起こった場合でも情報の欠損が生じるという課題が生じる。なお、これらの問題は、NAND型フラッシュメモリのみに限るものではない。 Therefore, when an information recording device that records information related to a moving object, such as a drive recorder, stops operating due to an accident or the like before writing is completed normally up to the last page of the block, writing was in progress at the time of stopping. There is a possibility that the page writing does not end normally and the entire block must be invalidated. As an example, when the drive recorder records a moving image at a bit rate of 2 Mbps, 256 Kbytes of data are recorded in the NAND flash memory per second. At this time, if the block size is 256 Kbytes, one second of data corresponds to one block. Therefore, there is a possibility that a moving image for a maximum of 1 second immediately before the accident cannot be read correctly. As described above, in a NAND flash memory or the like, finally, it takes time to write information to the memory that stores information related to the movement of the moving object, and even if the power supply suddenly stops during writing, There arises a problem that defects occur. These problems are not limited to the NAND flash memory.

上記目的を達成するために、本発明の実施形態に係る情報記録装置は、 移動体に取り付けられた情報記録装置であって、移動体の移動に関連する移動関連情報を受け付ける受付手段と、移動関連情報を一時的に記録する第1の不揮発性メモリと、書き込みが完了する最小の単位である書き込み完了ブロックサイズのブロックへの書き込みが完了する時間が、第1の不揮発性メモリよりも長い第2の不揮発性メモリと、受け付けた移動関連情報を第1の不揮発性メモリに書き込み、移動関連情報を保持する保持状態にする第1の書き込み手段と、第2の不揮発性メモリの書き込みブロックサイズと同じ大きさの移動関連情報を第1の不揮発性メモリから読み出す読み出し手段と、読み出し手段により読み出した移動関連情報を第2の不揮発性メモリへ書き込む第2の書き込み手段と、第2の不揮発性メモリの書き込み完了ブロックサイズのブロックへの書き込みが正常に完了したことを確認後、移動関連情報のうち書き込みが正常に完了した移動関連情報の保持状態を開放にする保持状態開放手段とを備えることを特徴とする。   In order to achieve the above object, an information recording apparatus according to an embodiment of the present invention is an information recording apparatus attached to a moving body, and includes a receiving means for receiving movement related information related to movement of the moving body, A first nonvolatile memory that temporarily records related information and a time for completing writing to a block having a write completion block size that is a minimum unit for completing writing is longer than that of the first nonvolatile memory. Two nonvolatile memories, first writing means for writing the received movement-related information to the first nonvolatile memory and holding the movement-related information, and a writing block size of the second nonvolatile memory; Reading means for reading movement-related information of the same size from the first nonvolatile memory, and movement-related information read by the reading means is second nonvolatile The movement-related information in which the writing has been normally completed among the movement-related information after confirming that the writing to the block having the writing completion block size of the second nonvolatile memory and the second writing means to be written to the memory has been normally completed. And holding state releasing means for releasing the holding state.

本発明によれば、最終的に移動体の移動に関連する情報を保存するメモリへの書き込みに時間が掛かり、書き込み中に急な電源供給の停止が起こった場合でも情報の欠損を軽減することができる。   According to the present invention, it takes a long time to write to the memory that stores information related to the movement of the mobile object, and the loss of information is reduced even when a sudden power supply stop occurs during the writing. Can do.

図1は、本発明の情報記録装置100のシステム構成例を示す図である。   FIG. 1 is a diagram showing a system configuration example of an information recording apparatus 100 of the present invention.

CPU103は情報記録装置100全体を制御し、バス108を介してCPU103とつながっているROM104にはCPU103が実行するプログラムが記録され、RAM105はCPU103がプログラムの実行時に必要になるデータを記憶する。第1の不揮発性メモリとしてMRAM105がバス108に接続され、第2の不揮発性メモリとしてNAND型フラッシュメモリがバス108に接続されている。なお、ROM104とRAM105の役割をMRAMに担当させるように実施することも可能である。また、移動関連情報検知手段101はインタフェース102を介してバス108に接続されている。   The CPU 103 controls the entire information recording apparatus 100, and a program executed by the CPU 103 is recorded in a ROM 104 connected to the CPU 103 via a bus 108, and a RAM 105 stores data necessary for the CPU 103 to execute the program. An MRAM 105 is connected to the bus 108 as a first nonvolatile memory, and a NAND flash memory is connected to the bus 108 as a second nonvolatile memory. It should be noted that the ROM 104 and the RAM 105 may be assigned to the MRAM. The movement related information detection unit 101 is connected to the bus 108 via the interface 102.

図2は、本発明の情報記録装置100の機能ブロック図である。   FIG. 2 is a functional block diagram of the information recording apparatus 100 of the present invention.

情報記録装置100は、移動関連情報検知手段101、受付手段202、第1の不揮発性メモリ106、第2の不揮発性メモリ107、第1の書き込み手段203、読み出し手段204、第2の書き込み手段205、保持状態開放手段208を有する。   The information recording apparatus 100 includes a movement related information detection unit 101, a reception unit 202, a first nonvolatile memory 106, a second nonvolatile memory 107, a first writing unit 203, a reading unit 204, and a second writing unit 205. The holding state releasing means 208 is provided.

情報記録装置100は、図示しない移動体に取り付けられている。ここで、移動体とは移動する機械をいい、例えば車両、航空機、船舶などがあるがこれらに限らない。   The information recording apparatus 100 is attached to a moving body (not shown). Here, the moving body refers to a moving machine such as a vehicle, an aircraft, and a ship, but is not limited thereto.

移動関連情報検知手段101は、移動体の移動に関連する移動関連情報を検知する。ここで、移動関連情報とは、移動体の移動に関連する情報であり、また、移動に関連する情報とは、移動体が移動する際の移動体の周辺状況を表す情報や、移動体が移動する際の移動体自体の移動状況を表す情報をいう。移動体の周辺状況を表す情報は、例えば、移動体の周辺を撮影した動画像、超音波ソナー等によって検出する前後を移動する移動体との距離情報などがある。移動体自体の移動状況を表す情報は、例えば、加速度センサによる速度情報、ブレーキやハンドルの操作状況を表す情報などがある。   The movement related information detection unit 101 detects movement related information related to the movement of the moving object. Here, the movement related information is information related to the movement of the moving body, and the information related to the movement is information indicating the surrounding situation of the moving body when the moving body moves, Information indicating the movement status of the moving body itself when moving. Examples of the information representing the surrounding state of the moving object include a moving image obtained by photographing the periphery of the moving object, distance information with respect to the moving object that moves before and after being detected by ultrasonic sonar and the like. Examples of information representing the movement status of the moving body itself include speed information obtained by an acceleration sensor and information representing the operation status of a brake or a handle.

受付手段202は、移動関連情報検知手段101にて検知した移動関連情報を受け付ける。   The accepting unit 202 accepts the movement related information detected by the movement related information detecting unit 101.

第1の不揮発性メモリ106は、移動関連情報を一時的に記録するメモリである。   The first nonvolatile memory 106 is a memory that temporarily records movement-related information.

第2の不揮発性メモリ107は、書き込みが完了する最小の単位である書き込み完了ブロックサイズのブロックへの書き込みが完了する時間が、第1の不揮発性メモリよりも長い不揮発性メモリである。ここで、書き込みが完了しないと途中まで書き込みした情報は正常に書き込まれたとはされないため、実質的には情報が失われることになる。よって、書き込み完了ブロックサイズのブロックへの書き込み時間が、第2の不揮発性メモリ107は第1の不揮発性メモリよりも長いため、第2の不揮発性メモリ107は書き込み途中で移動体が事故などで電源供給が停止して、途中まで書き込まれた情報が失われる可能性が第1の不揮発性メモリよりも高いと言える。   The second non-volatile memory 107 is a non-volatile memory that takes longer to complete writing to a block having a write completion block size, which is the minimum unit for completing the writing, than the first non-volatile memory. Here, if the writing is not completed, the information written halfway is not normally written, so that the information is practically lost. Therefore, since the second nonvolatile memory 107 has a longer write time than the first nonvolatile memory, the second nonvolatile memory 107 is in the middle of writing due to an accident or the like. It can be said that there is a higher possibility that information written halfway will be lost due to the stop of power supply, compared to the first nonvolatile memory.

例えば、第1の不揮発性メモリは磁気ランダムアクセスメモリ(MRAM:Magnetoresistive Random Access Memory)であり、第2の不揮発性メモリはNAND型フラッシュメモリである。   For example, the first nonvolatile memory is a magnetic random access memory (MRAM), and the second nonvolatile memory is a NAND flash memory.

第1の書き込み手段203は、受付手段202にて受け付けた移動関連情報を第1の不揮発性メモリに書き込み、移動関連情報を保持する状態にする。ここで、保持する状態にするとは、移動関連情報と移動関連情報の保持可否を判断するための保持要否判断情報とを対応付けて記憶し、保持要否判断情報が必要とされる移動関連情報は削除または第1の書き込み手段203が上書きできない状態をいう。   The first writing unit 203 writes the movement related information received by the receiving unit 202 to the first non-volatile memory so as to hold the movement related information. Here, the state of holding means that the movement related information and the holding necessity determination information for determining whether to hold the movement related information are stored in association with each other, and the movement related information for which the holding necessity determination information is required is stored. Information refers to a state in which the first writing means 203 cannot be deleted or overwritten.

読み出し手段204は、第2の不揮発性メモリの書き込みブロックサイズと同じ大きさの移動関連情報を第1の不揮発性メモリから読み出す。具体的には、第1の不揮発性メモリに記憶された移動関連情報の中で、まだ第2の不揮発性メモリに書き込んでいないデータであって、第1の不揮発性メモリの書き込み順の先頭から第2の不揮発性メモリの書き込みブロックサイズのデータを読み出す。ここで、第2の不揮発性メモリの書き込みブロックサイズとは、第2の不揮発性メモリへ書き込みする際の最小の単位(サイズ)である。そのため、上述の書き込み完了ブロックサイズは、書き込みブロックサイズよりも大きなサイズであり、書き込み完了ブロックサイズは、書き込みブロックサイズが複数集まったサイズとなる。   The reading unit 204 reads movement-related information having the same size as the writing block size of the second nonvolatile memory from the first nonvolatile memory. Specifically, the movement-related information stored in the first non-volatile memory is data that has not yet been written to the second non-volatile memory, from the beginning of the writing order of the first non-volatile memory. Read data of the write block size of the second nonvolatile memory. Here, the write block size of the second nonvolatile memory is the minimum unit (size) when writing to the second nonvolatile memory. Therefore, the above-described write completion block size is larger than the write block size, and the write completion block size is a size in which a plurality of write block sizes are collected.

第2の書き込み手段205は、読み出し手段204が読み出した移動関連情報を、第2の不揮発性メモリに書き込む。   The second writing unit 205 writes the movement related information read by the reading unit 204 to the second nonvolatile memory.

保持状態開放手段208は、第2の不揮発性メモリ107への書き込みが正常に完了したことを確認後、移動関連情報のうち書き込みが正常に完了した移動関連情報の保持状態を開放する。ここで、第2の不揮発性メモリ107への書き込みが正常に完了したとは、書き込みが完了する最小の単位である書き込み完了ブロックサイズのブロックへの書き込みが正常に完了することをいう。   After confirming that the writing to the second nonvolatile memory 107 has been normally completed, the holding state releasing unit 208 releases the holding state of the movement related information that has been normally written out of the movement related information. Here, the writing to the second nonvolatile memory 107 is normally completed means that the writing to the block having the writing completion block size, which is the minimum unit for completing the writing, is normally completed.

また、第2の不揮発性メモリ107への書き込みが正常に完了したことは、削除可能化手段208が第2の不揮発性メモリ107にステータスの確認依頼要求を送り、返送されたステータスなどに基づいて確認する。また、保持状態を開放するとは、開放の対象となる移動関連情報が削除または上書きされても良い状態にすることをいう。例えば、開放の対象となる移動関連情報が記憶されていた記憶領域に他の情報を書き込むことができる状態にする。   In addition, the successful completion of the writing to the second nonvolatile memory 107 indicates that the deletion enabling means 208 sends a status confirmation request to the second nonvolatile memory 107 and based on the returned status and the like. Check. Also, releasing the holding state means making the movement-related information to be released a state that may be deleted or overwritten. For example, another information can be written in the storage area in which the movement related information to be released is stored.

次に、本実施形態の動作について説明する。   Next, the operation of this embodiment will be described.

移動関連情報検知手段101は、動画像などの移動情報を検知する。検知した移動情報は受付手段202で受け付けられ、第1の書き込み手段203が第1の不揮発性メモリ106に書き込むと同時に、書き込んだ移動関連情報を保持状態にする。   The movement related information detection unit 101 detects movement information such as a moving image. The detected movement information is received by the receiving unit 202, and the first writing unit 203 writes the movement-related information in the holding state at the same time as writing to the first nonvolatile memory 106.

そして、読み出し手段204は、第2の不揮発性メモリの書き込みブロックサイズと同じ大きさの移動関連情報が第1の不揮発性メモリに蓄積されると第1の不揮発性メモリから読み出して、第2の書き込み手段205は、第2の不揮発性メモリに書き込む。   Then, when the movement related information having the same size as the writing block size of the second non-volatile memory is accumulated in the first non-volatile memory, the reading unit 204 reads out from the first non-volatile memory, The writing unit 205 writes in the second nonvolatile memory.

保持状態開放手段208は、第2の不揮発性メモリ107への書き込みが正常に完了したことを確認すると、書き込みが正常に完了した移動関連情報の保持状態を開放する。   When the holding state releasing unit 208 confirms that the writing to the second nonvolatile memory 107 has been normally completed, the holding state releasing unit 208 releases the holding state of the movement-related information for which the writing has been normally completed.

次に、本実施形態の実現例を以下に実施例として説明する。   Next, an implementation example of this embodiment will be described below as an example.

図3に本発明の情報記憶装置の実施例であるドライブレコーダのシステム構成例を示す。CPU103はドライブレコーダ300全体を制御し、バス108を介してCPU103とつながっているROM104にはCPU103が実行するプログラムが記録され、RAM105はCPU103がプログラムの実行時に必要になるデータを記憶する。第1の不揮発性メモリとしてMRAM306がバス108に接続され、第2の不揮発性メモリとしてNAND型フラッシュメモリ307がバス108に接続されている。なお、ROM104とRAM105の役割をMRAM306に担当させるように実施することも可能である。   FIG. 3 shows a system configuration example of a drive recorder which is an embodiment of the information storage device of the present invention. The CPU 103 controls the entire drive recorder 300, and a program executed by the CPU 103 is recorded in a ROM 104 connected to the CPU 103 via the bus 108, and a RAM 105 stores data necessary for the CPU 103 to execute the program. An MRAM 306 is connected to the bus 108 as a first nonvolatile memory, and a NAND flash memory 307 is connected to the bus 108 as a second nonvolatile memory. It should be noted that the ROM 104 and the RAM 105 may be assigned to the MRAM 306.

カメラ301−1で撮影した動画像は、バス108に接続されたカメラインタフェース302−1を介して読み込み、MRAM306に記録する。ここで、移動関連情報検知手段101の実施例がカメラ301−1であり、受付手段202と第1の書き込み手段203の実施例がカメラインタフェース302−1に対応し、第1の不揮発性メモリ106の実施例がMRAM306に対応する。図3はカメラ301−1とカメラインタフェース302−1をそれぞれ2つ持つ構成を示しているが、それぞれ1つでも良いし、3つ以上でも構わない。カメラインタフェース302−1はDMA(Direct Memory Access)によって動画像データをMRAM306に直接書き込むように構成しても良いし、CPU103がカメラインタフェース302−1を介して動画像データを読み込んでMRAM306に書き込むように構成しても良いし、カメラインタフェース302−1とMRAM306の間に専用にデータ転送路を設けて動画像を書き込むように構成しても良い。   A moving image captured by the camera 301-1 is read through the camera interface 302-1 connected to the bus 108 and recorded in the MRAM 306. Here, an example of the movement-related information detection unit 101 is the camera 301-1, an example of the reception unit 202 and the first writing unit 203 corresponds to the camera interface 302-1, and the first nonvolatile memory 106. The example corresponds to the MRAM 306. FIG. 3 shows a configuration having two cameras 301-1 and two camera interfaces 302-1, but each may be one, or three or more. The camera interface 302-1 may be configured to directly write moving image data to the MRAM 306 by DMA (Direct Memory Access), or the CPU 103 may read moving image data via the camera interface 302-1 and write it to the MRAM 306. Alternatively, a dedicated data transfer path may be provided between the camera interface 302-1 and the MRAM 306 to write a moving image.

ドライブレコーダ300には、運転状況に関する車両内の各種データをセンサ301−2を介して取り込むためのセンサインタフェース302−2を持っても良い。これらのデータをカメラ301−1で撮影した動画像と併せて記録することにより、事故発生時の原因究明に役立てることができる。センサ301−2で取り込むデータには、加速度センサによる速度情報、ブレーキ等の操作状況を示すデータ、超音波ソナー等によって検出する前後を走行する車両との距離情報などがある。特に、事故発生を検出するためには、速度情報や距離情報は重要である。ここで、カメラインタフェース302−1はDMA(Direct Memory Access)によって動画像データをMRAM306に直接書き込む場合は、センサ301−2は移動関連情報検知手段101の実施例に該当し、センサインタフェース302−2は、受付手段202と第1の書き込み手段203の実施例に該当する。CPU103がカメラインタフェース302−1を介して動画像データを読み込んでMRAM306に書き込む場合は、センサ301−2は移動関連情報検知手段101の実施例に該当し、センサインタフェース302−2は受付手段202に該当し、CPU103(所定のプログラムに基づいて実行されるCPUという意味)は第1の書き込み手段203に該当する。   The drive recorder 300 may have a sensor interface 302-2 for taking in various types of data regarding the driving situation in the vehicle via the sensor 301-2. By recording these data together with the moving image photographed by the camera 301-1, it can be used for investigating the cause when an accident occurs. The data captured by the sensor 301-2 includes speed information by an acceleration sensor, data indicating an operation state such as a brake, distance information with respect to a vehicle traveling before and after being detected by an ultrasonic sonar or the like. In particular, speed information and distance information are important for detecting the occurrence of an accident. Here, in the case where the camera interface 302-1 directly writes moving image data to the MRAM 306 by DMA (Direct Memory Access), the sensor 301-2 corresponds to an example of the movement related information detection unit 101, and the sensor interface 302-2. Corresponds to an embodiment of the accepting means 202 and the first writing means 203. When the CPU 103 reads the moving image data via the camera interface 302-1 and writes it into the MRAM 306, the sensor 301-2 corresponds to the embodiment of the movement related information detection unit 101, and the sensor interface 302-2 corresponds to the reception unit 202. Corresponding, the CPU 103 (meaning CPU executed based on a predetermined program) corresponds to the first writing means 203.

図4は本発明のドライブレコーダ400の別の構成例を示している。図3の構成ではNAND型フラッシュメモリ307をCPU103のバス108に接続し、CPU103が直接制御する。それに対して図4の構成では、NAND型フラッシュメモリ307を搭載したカード(例えばコンパクトフラッシュ(登録商標)、SDカードなど)を、フラッシュメモリコントローラを介してCPU103と接続する。この構成では、第2の不揮発性メモリであるNAND型フラッシュメモリ307を自由に抜き挿しできる。なお、図3の構成も図4の構成も、その動作は同じである。   FIG. 4 shows another configuration example of the drive recorder 400 of the present invention. In the configuration of FIG. 3, a NAND flash memory 307 is connected to the bus 108 of the CPU 103, and the CPU 103 directly controls. On the other hand, in the configuration of FIG. 4, a card (for example, a compact flash (registered trademark), an SD card, etc.) on which the NAND flash memory 307 is mounted is connected to the CPU 103 via a flash memory controller. In this configuration, the NAND flash memory 307 as the second nonvolatile memory can be freely inserted and removed. 3 and FIG. 4 operate in the same manner.

図3および図4の構成における動作の手順を説明する。カメラ301−1で撮影した動画像は、カメラインタフェース302−1を介して入力し、順次MRAM306に書き込む(第1の書き込み手段に対応)。MRAM306は図5に示すように管理する。MRAM306上には、運転情報を記録するための運転情報記録領域を設ける。この運転情報記録領域はリングバッファになっており、その先頭と最後を指すポインタをMRAM306上に設ける。さらに、MRAM306からNAND型フラッシュメモリ307にデータを書き込む際に、書き込み先のブロックのアドレスをMRAM306上に記録している。   An operation procedure in the configuration of FIGS. 3 and 4 will be described. A moving image captured by the camera 301-1 is input via the camera interface 302-1 and sequentially written in the MRAM 306 (corresponding to the first writing unit). The MRAM 306 is managed as shown in FIG. An operation information recording area for recording operation information is provided on the MRAM 306. This operation information recording area is a ring buffer, and pointers pointing to the head and the end are provided on the MRAM 306. Further, when data is written from the MRAM 306 to the NAND flash memory 307, the address of the write destination block is recorded on the MRAM 306.

運転情報は、ドライブレコーダ400に接続されたカメラ301−1で撮影した動画像や、各種センサ301−2によって取り込んだデータからなる、時系列のデータである(移動関連情報に対応)。図5は、ドライブレコーダ(300または400)にカメラ301−1が1台だけ接続されている場合の運転情報を記録している例を示しており、動画像を構成する各フレームの画像をリングバッファに順次記録している。例えば30フレーム/秒のカメラ301−1で撮影した動画像であれば、1秒間に30枚の画像が取り込まれてくるので、それをリングバッファに順次記録する。   The driving information is time-series data composed of a moving image captured by the camera 301-1 connected to the drive recorder 400 and data captured by the various sensors 301-2 (corresponding to movement-related information). FIG. 5 shows an example in which driving information is recorded when only one camera 301-1 is connected to the drive recorder (300 or 400), and the image of each frame constituting the moving image is displayed as a ring. Recorded sequentially in the buffer. For example, in the case of a moving image captured by the camera 301-1 at 30 frames / second, 30 images are captured per second, and are sequentially recorded in the ring buffer.

なお、取り込んだ画像は、圧縮せずにそのまま運転情報として記録するように実施しても良いし、CPU103によってJPEG等で画像1枚ごとに圧縮してから運転情報として記録するように実施しても良いし、圧縮ハードウェアを備えたカメラ301−1あるいはカメラインタフェース302−1を用いて圧縮済みの画像を取り込んで運転情報として記録するように実施しても良い。また、MPEG等の動画像の圧縮技術を用いて、複数のフレーム群をまとめて圧縮したデータを、運転情報として記録するように実施しても良い。   The captured image may be recorded as driving information without being compressed, or may be recorded as driving information after being compressed by the CPU 103 for each image by JPEG or the like. Alternatively, the compressed image may be captured and recorded as operation information using the camera 301-1 or the camera interface 302-1 provided with compression hardware. Also, data obtained by compressing a plurality of frame groups together using a moving image compression technique such as MPEG may be recorded as operation information.

カメラ301−1が複数台接続されている場合や、動画像以外のセンサデータも同時に記録する場合は、それらを交互にリングバッファに記録する。このとき、適切なヘッダ情報を合わせて記録する等、読み出したときに何のデータであるか分かるようにしておくのが望ましい。例えば、センサ301−2やカメラ301−1などの移動関連情報検知手段101の識別IDとデータとを対応付けることにより何のデータであるかようにしておく。   When a plurality of cameras 301-1 are connected, or when sensor data other than moving images are recorded simultaneously, they are alternately recorded in the ring buffer. At this time, it is desirable to know what data is read when it is read out, for example, by recording together appropriate header information. For example, the identification information of the movement-related information detection unit 101 such as the sensor 301-2 or the camera 301-1 is associated with the data to determine what data.

MRAM306上の運転情報記録領域はリングバッファとして使用するので、リングバッファ内に記録したデータの開始位置を示す「バッファの先頭」と、最後に書き込んだデータの位置を示す「バッファの最後」のポインタを管理する。これらのポインタは、MRAM306上に記憶することで、事故の発生等で電源供給が停止した場合でも失われないように管理するのが望ましい。「バッファの最後」のポインタは、リングバッファに新しい運転情報が記録されるたびに、それにあわせて更新する。   Since the operation information recording area on the MRAM 306 is used as a ring buffer, a “buffer start” indicating the start position of data recorded in the ring buffer and a “buffer end” pointer indicating the position of the last written data. Manage. These pointers are preferably stored on the MRAM 306 so that they are not lost even if the power supply is stopped due to an accident or the like. The “end of buffer” pointer is updated each time new driving information is recorded in the ring buffer.

MRAM306上の運転情報記録領域に記録した運転情報は、順次NAND型フラッシュメモリ307にコピーする(読み出し手段、第2の書き込み手段に対応)。これは、一般にNAND型フラッシュメモリ307はMRAM306に比べて低コストで大容量であるため、最終的な運転情報の記録には適しているためである。図6に、MARMからNAND型フラッシュメモリ307へのデータのコピーの手順を示す。   The operation information recorded in the operation information recording area on the MRAM 306 is sequentially copied to the NAND flash memory 307 (corresponding to the reading means and the second writing means). This is because the NAND flash memory 307 is generally low-cost and large-capacity compared to the MRAM 306, and is therefore suitable for final operation information recording. FIG. 6 shows a procedure for copying data from the MARM to the NAND flash memory 307.

基本は、NAND型フラッシュメモリ307のブロックサイズを単位にコピーを行い、コピーが正常に完了したことを確認するまでは、コピー元のデータをMRAM306上に保持し続けることで、コピー中に事故が発生してドライブレコーダ(300または400)が停止した場合でも、事故直前までのデータはMRAM306あるいはNAND型フラッシュメモリ307のいずれかには必ず残るように制御することである。   Basically, copying is performed in units of the block size of the NAND flash memory 307, and the copy source data is kept in the MRAM 306 until it is confirmed that the copying has been completed normally. Even when the drive recorder (300 or 400) is generated and the drive recorder is stopped, the data until immediately before the accident is controlled to always remain in either the MRAM 306 or the NAND flash memory 307.

ここで、MRAM306からNAND型フラッシュメモリ307へのデータの転送は、CPU103の制御によって図6の手順で行う。まず、NAND型フラッシュメモリ307上に、次のデータを記録するブロックを確保し、そのアドレスをMRAM306上に「NANDのブロックアドレス」情報として記録する(S1)。このブロックの確保は、あらかじめ未使用ブロックのリストを作成しておき、そのなかから順次取り出すようにして実現できる。もしすべてのブロックを使用してしまって空きブロックがない場合は、最も古い運転情報を記録しているブロックのデータを消去し、そのブロックを使うようにする。   Here, the data transfer from the MRAM 306 to the NAND flash memory 307 is performed according to the procedure of FIG. First, a block for recording the next data is secured on the NAND flash memory 307, and its address is recorded as “NAND block address” information on the MRAM 306 (S1). The securing of this block can be realized by creating a list of unused blocks in advance and sequentially taking out the list. If all the blocks are used and there is no empty block, the data of the block in which the oldest operation information is recorded is erased and the block is used.

次に、MRAM306上の運転情報記録領域から、まだNAND型フラッシュメモリ307に書き込んでいないデータの先頭から、NAND型フラッシュメモリ307のページサイズと同じサイズのデータを取り出す(読み出し手段に対応)(S2)。   Next, data having the same size as the page size of the NAND flash memory 307 is extracted from the operation information recording area on the MRAM 306 from the top of the data that has not yet been written to the NAND flash memory 307 (corresponding to the reading means) (S2 ).

そのデータを、NAND型フラッシュメモリ307上に割り当てた書き込み用ブロック中で、まだ書き込んでいない最初のページに書き込む(第2の書き込み手段に対応)(S3)。この書き込みは、NAND型フラッシュメモリ307に対して、データの書き込みコマンドと、書き込み先のページのアドレスと、書き込みデータを送ることで実現できる。図4のようにNAND型フラッシュメモリ307を搭載したカードに書き込む場合には、書き込み先のアドレスは論理的なアドレスになる場合もある。   The data is written in the first page not yet written in the writing block allocated on the NAND flash memory 307 (corresponding to the second writing means) (S3). This writing can be realized by sending a data write command, a write destination page address, and write data to the NAND flash memory 307. When writing to a card equipped with the NAND flash memory 307 as shown in FIG. 4, the write destination address may be a logical address.

書き込みが終われば、NAND型フラッシュメモリ307に対してステータスリードのコマンドを送り、ステータスを読み出す(S4)。   When the writing is completed, a status read command is sent to the NAND flash memory 307 to read the status (S4).

読み出したステータスが、書き込みが正常に完了したことを示している場合には(S5)、そのときに書き込んだページがブロックの最後のページであるかどうかを調べ(S6)最後のページでない場合は、S2へ飛んで次のページの書き込みを続ける。最後のページであれば、ブロックサイズ分のデータのNAND型フラッシュメモリ307への書き込みが正常に終了したことを示しているので、MARM上の運転情報記録領域の先頭からブロックサイズ分のデータを解放可能な状態にする(保持状態開放手段208に対応)。この操作は、「バッファの先頭」ポインタを、ブロックサイズ分だけ進めることで実現できる。   When the read status indicates that the writing has been completed normally (S5), it is checked whether or not the page written at that time is the last page of the block (S6). , Jump to S2 and continue writing the next page. If it is the last page, it indicates that the writing of data for the block size to the NAND flash memory 307 has been completed normally, so the data for the block size is released from the beginning of the operation information recording area on the MARM. A possible state is set (corresponding to the holding state releasing means 208). This operation can be realized by advancing the “head of buffer” pointer by the block size.

S5でNAND型フラッシュメモリ307に正常に書き込めなかった場合は、NAND型フラッシュメモリ307の仕様上、新しいブロックを割り当てて、書き込めなかったページを含むブロック全体を再度書き込み直す必要がある。そのため、現在のブロック内のページへの書き込みをすべてキャンセルし(S8)、S1で新しいブロックを割り当てるところからやり直す。   If the writing to the NAND flash memory 307 is not successful in S5, it is necessary to allocate a new block according to the specifications of the NAND flash memory 307 and rewrite the entire block including the page that cannot be written again. For this reason, all writing to the page in the current block is canceled (S8), and the process starts again from where a new block is allocated in S1.

図5の実施例では、運転情報記録領域のリングバッファの先頭と最後をポインタで記憶しているが、運転情報記録領域に記録するデータを解析することで、例えば画像データ内に含まれるタイムスタンプ等の情報からリングバッファ内のデータの先頭と最後が判断できる場合には、リングバッファの先頭と最後のポインタをMRAM306ではなく揮発性のRAM上に記憶するように実施しても良い。   In the embodiment of FIG. 5, the beginning and end of the ring buffer in the driving information recording area are stored as pointers. However, by analyzing the data recorded in the driving information recording area, for example, a time stamp included in the image data When the head and end of the data in the ring buffer can be determined from such information, the pointers at the head and end of the ring buffer may be stored in the volatile RAM instead of the MRAM 306.

さて、このように実施することで、事故の発生によってドライブレコーダ(300または400)への電源供給が停止したり、ドライブレコーダ(300または400)の基板が破壊されて機能が停止した場合でも、その直前までの運転情報は、NAND型フラッシュメモリ307の中か、MRAM306上の運転情報記録領域に残っているようになる。望ましくは、事故後にドライブレコーダ(300または400)の電源をはじめて入れたときは、MRAM306内の運転情報記録領域の「バッファの先頭」ポインタが指す位置から始まる情報と、NAND型フラッシュメモリ307中で「NANDのブロックアドレス」に記録されたブロックアドレスで指定されるブロックに記録されたデータを比較し、1ブロック分のデータが正しく書き込まれているかどうかを判断し、もし正しく書き込まれていない場合は、同ブロックに継続して書き込める場合は継続して書き込み、そうでない場合は新しいブロックを割り当てて再書き込みを行うようにする。   By carrying out in this way, even when the power supply to the drive recorder (300 or 400) is stopped due to the occurrence of an accident or the board of the drive recorder (300 or 400) is destroyed and the function is stopped, The operation information up to immediately before is left in the NAND flash memory 307 or in the operation information recording area on the MRAM 306. Desirably, when the power of the drive recorder (300 or 400) is turned on for the first time after an accident, information starting from the position indicated by the “head of buffer” pointer in the operation information recording area in the MRAM 306, and the NAND flash memory 307 Compare the data recorded in the block specified by the block address recorded in “NAND block address” to determine whether the data for one block has been written correctly. If the same block can be continuously written, the writing is continued. Otherwise, a new block is allocated and rewriting is performed.

図5に示したMRAM306の管理方式に置いて、運転情報記録領域のリングバッファのサイズは、少なくともNAND型フラッシュメモリ307のブロックのサイズと同じか、大きいことが必要である。   In the management method of the MRAM 306 shown in FIG. 5, the size of the ring buffer in the operation information recording area needs to be at least the same as or larger than the block size of the NAND flash memory 307.

運転情報記録領域のサイズを大きくし、事故の発生前後のデータのみをNAND型フラッシュメモリ307に記録するように実施することもできる。例えば20秒程度の間の運転情報を記録できるサイズの運転情報記録領域を用意し、通常は運転情報を運転情報記録領域のリングバッファに記録し続ける。このとき、リングバッファがいっぱいになった場合は、古い運転情報に上書きする。加速度センサ等の情報により事故を検出した場合には、現在の運転情報記録領域の最も古い情報から順にNAND型フラッシュメモリ307に書き込む。以降、事故発生を検出してから一定の時間が経過するまでは、運転情報をNAND型フラッシュメモリ307に書き込み続ける。このようにすると、NAND型フラッシュメモリ307への書き込み回数を大幅に削減できる。   It is also possible to increase the size of the operation information recording area and record only the data before and after the occurrence of the accident in the NAND flash memory 307. For example, a driving information recording area having a size capable of recording driving information for about 20 seconds is prepared, and normally the driving information is continuously recorded in the ring buffer of the driving information recording area. At this time, if the ring buffer becomes full, the old operation information is overwritten. When an accident is detected by information such as an acceleration sensor, the oldest information in the current driving information recording area is written in the NAND flash memory 307 in order. Thereafter, the operation information is continuously written in the NAND flash memory 307 until a certain time has elapsed since the occurrence of the accident. In this way, the number of writes to the NAND flash memory 307 can be greatly reduced.

図7は、別の実施例のMRAM306上のデータ管理方法を示した図である。この実施例は、図5の実施例と同様に、カメラ301−1で撮影した動画像を順次取り込んで運転情報記録領域に記録する。次に、運転情報記録領域に記録したデータを、CPU103 あるいは専用のハードウェアによって圧縮して圧縮済み画像データを作成し、それを圧縮済み運転情報記録領域に記録する。この圧縮済み運転情報記録領域もリングバッファとして管理し、「圧縮バッファの先頭」と「圧縮バッファの最後」の2つのポインタで有効なデータの先頭と最後をさす。NAND型フラッシュメモリ307には、圧縮済み運転情報記録領域に記録した圧縮済み画像データを、ブロックサイズ単位で書き込む。   FIG. 7 is a diagram showing a data management method on the MRAM 306 of another embodiment. In this embodiment, similar to the embodiment of FIG. 5, moving images taken by the camera 301-1 are sequentially captured and recorded in the driving information recording area. Next, the data recorded in the driving information recording area is compressed by the CPU 103 or dedicated hardware to create compressed image data, which is recorded in the compressed driving information recording area. This compressed operation information recording area is also managed as a ring buffer, and the beginning and end of valid data are indicated by two pointers of “the head of the compression buffer” and “the end of the compression buffer”. In the NAND flash memory 307, the compressed image data recorded in the compressed operation information recording area is written in block size units.

このとき、書き込む先のNAND型フラッシュメモリ307のブロックのアドレスは、図5の例と同様に、MRAM306上の「NANDのブロックアドレス」領域に記録する。このように実施することにより、NAND型フラッシュメモリ307に記録するデータ量を削減し、同じ容量でもより長時間のデータを記録できる。   At this time, the address of the block of the NAND flash memory 307 to which data is written is recorded in the “NAND block address” area on the MRAM 306 as in the example of FIG. By carrying out in this way, the amount of data to be recorded in the NAND flash memory 307 can be reduced, and even longer data can be recorded with the same capacity.

圧縮には、MPEG等の動画圧縮技術を使っても良いし、その他のファイル圧縮技術を用いても構わない。図7では、圧縮済み運転情報記録領域には圧縮済み画像データを記録する実施例を示しているが、運転情報記録領域に記録する運転情報が動画像以外にセンサデータ等も含む場合は、それも含めて圧縮したデータを圧縮済み運転情報記録領域に記録するように実施しても良いし、あるいは、運転情報の中の動画像の部分だけを圧縮し、他のセンサデータ等は圧縮せずにそのまま記録するように実施しても良い。   For compression, a moving image compression technique such as MPEG may be used, or other file compression techniques may be used. FIG. 7 shows an embodiment in which compressed image data is recorded in the compressed driving information recording area. However, when the driving information recorded in the driving information recording area includes sensor data in addition to the moving image, The compressed data may be recorded in the compressed driving information recording area, or only the moving image portion in the driving information is compressed, and other sensor data is not compressed. It is also possible to carry out recording as it is.

なお、図7では運転情報記録領域も、圧縮済み運転情報記録領域も、いずれもMRAM307上に確保する実施方法を示している。他の実施方法としては、圧縮済み運転情報記録領域は揮発性のRAM上に設けても構わない。運転情報記録領域のデータが不揮発性のメモリにあれば、圧縮済み運転情報記録領域にデータは再現できるからである。   FIG. 7 shows an implementation method in which both the operation information recording area and the compressed operation information recording area are secured on the MRAM 307. As another implementation method, the compressed operation information recording area may be provided on a volatile RAM. This is because if the data in the operation information recording area is in a non-volatile memory, the data can be reproduced in the compressed operation information recording area.

また別の実施方法としては、図7と同様に運転情報記録領域も、圧縮済み運転情報記録領域も、いずれもMRAM307上に確保し、圧縮して圧縮済み運転情報記録領域に記録した運転情報は、運転情報記録領域から開放可能な状態にする。こうすることで、運転情報記録領域に必要なメモリ量を削減することができる。   As another implementation method, similarly to FIG. 7, both the operation information recording area and the compressed operation information recording area are secured on the MRAM 307, and the operation information recorded in the compressed operation information recording area after being compressed is Then, the operation information recording area is opened. By doing so, it is possible to reduce the amount of memory required for the operation information recording area.

さらに別の実施方法としては、図7のようにMRAM307を管理し、加速度センサ等によって事故の発生を検出する手段を持たせ、事故が発生していない場合は、圧縮済み運転情報記録領域のデータをNAND型フラッシュメモリ307に書き込み続け、事故が発生した前後は運転情報記録領域のデータをNAND型フラッシュメモリ307に書き込む。こうすると、平常時は圧縮率の高いデータを書き込み続け、事故の前後は非圧縮あるいは圧縮率が低い鮮明な画像を記録することができる。   As another implementation method, as shown in FIG. 7, the MRAM 307 is managed and a means for detecting the occurrence of an accident by an acceleration sensor or the like is provided. If no accident has occurred, data in the compressed operation information recording area is stored. Is continuously written in the NAND flash memory 307, and data in the operation information recording area is written in the NAND flash memory 307 before and after the accident occurs. By doing this, it is possible to continue writing data with a high compression rate during normal times, and to record clear images with no compression or low compression rate before and after the accident.

第1の不揮発性メモリとしてMRAM307を使った実施例を示したが、それ以外にも、FeRAMやバッテリーバックアップしたSRAM、ReRAM、PRAM、NOR型フラッシュメモリ等の不揮発性メモリを用いても同様に実施できる。このとき、第1の不揮発性メモリの書き込みブロックサイズは、第2の不揮発性メモリの書き込みブロックサイズよりも小さいときに、本発明をより効果的に実施できる。例えばMRAM307はランダムに書き込みできるので、書き込みブロックサイズはメモリのデータ幅、例えば1ワード(32ビット)である。   Although the embodiment using the MRAM 307 as the first nonvolatile memory has been shown, other implementations are possible using a nonvolatile memory such as FeRAM, battery-backed SRAM, ReRAM, PRAM, and NOR flash memory. it can. At this time, the present invention can be more effectively implemented when the write block size of the first nonvolatile memory is smaller than the write block size of the second nonvolatile memory. For example, since the MRAM 307 can be written randomly, the write block size is the data width of the memory, for example, 1 word (32 bits).

第2の不揮発性メモリとしてNAND型フラッシュメモリ307を使って実施例を示したが、それ以外にも、ReRAM、NOR型フラッシュメモリ等の不揮発性メモリやHDDや光ディスクや光磁気ディスク等を用いても同様に実施できる。   Although the embodiment has been described using the NAND flash memory 307 as the second nonvolatile memory, other than that, a nonvolatile memory such as a ReRAM or NOR flash memory, an HDD, an optical disk, a magneto-optical disk, or the like is used. Can be similarly implemented.

本発明の実施形態のシステム構成図。The system block diagram of embodiment of this invention. 本発明の実施形態の機能ブロック図。The functional block diagram of embodiment of this invention. 本発明の実施例のシステム構成図。The system block diagram of the Example of this invention. 本発明の実施例の別のシステム構成図。The another system block diagram of the Example of this invention. 本発明の実施例のMRAM上の管理方法を示す図。The figure which shows the management method on MRAM of the Example of this invention. 本発明の実施例のデータコピーの手順を示す図。The figure which shows the procedure of the data copy of the Example of this invention. 本発明の実施例の別の実施例のMRAM上のデータ管理方法を示す図。The figure which shows the data management method on MRAM of another Example of the Example of this invention.

符号の説明Explanation of symbols

100・・・情報記録装置
101・・・移動関連情報検知手段
106・・・第1の不揮発性メモリ
107・・・第2の不揮発性メモリ
202・・・受付手段
203・・・第1の書き込み手段
204・・・読み出し手段
205・・・第2の書き込み手段
208・・・保持状態開放手段
DESCRIPTION OF SYMBOLS 100 ... Information recording apparatus 101 ... Movement related information detection means 106 ... 1st non-volatile memory 107 ... 2nd non-volatile memory 202 ... Acceptance means 203 ... 1st writing Means 204 ... Reading means 205 ... Second writing means 208 ... Holding state releasing means

Claims (7)

移動体に取り付けられた情報記録装置であって、
移動体の移動に関連する移動関連情報を受け付ける受付手段と、
前記移動関連情報を一時的に記録する第1の不揮発性メモリと、
書き込みが完了する最小の単位である書き込み完了ブロックサイズのブロックへの書き込みが完了する時間が、前記第1の不揮発性メモリよりも長い第2の不揮発性メモリと、
受け付けた移動関連情報を前記第1の不揮発性メモリに書き込み、前記移動関連情報を保持する保持状態にする第1の書き込み手段と、
前記第2の不揮発性メモリの書き込みブロックサイズと同じ大きさの移動関連情報を前記第1の不揮発性メモリから読み出す読み出し手段と、
前記読み出し手段により読み出した移動関連情報を前記第2の不揮発性メモリへ書き込む第2の書き込み手段と、
前記第2の不揮発性メモリの書き込み完了ブロックサイズのブロックへの書き込みが正常に完了したことを確認後、前記移動関連情報のうち書き込みが正常に完了した移動関連情報の保持状態を開放にする保持状態開放手段と
を有することを特徴とする情報記録装置。
An information recording device attached to a moving body,
Receiving means for receiving movement-related information related to movement of the moving body;
A first nonvolatile memory for temporarily recording the movement related information;
A second nonvolatile memory in which a time for completing writing to a block having a write completion block size, which is a minimum unit for completing writing, is longer than that of the first nonvolatile memory;
A first writing means for writing the received movement-related information to the first nonvolatile memory and setting the holding state to hold the movement-related information;
Reading means for reading movement-related information having the same size as the writing block size of the second nonvolatile memory from the first nonvolatile memory;
Second writing means for writing movement-related information read by the reading means to the second nonvolatile memory;
After confirming that writing to the block having the write completion block size of the second nonvolatile memory has been normally completed, the holding of the movement related information that has been normally written among the movement related information is released. An information recording apparatus comprising: a state opening unit.
前記移動関連情報は、カメラで撮影した動画像であることを特徴とする請求項1の情報記録装置。 The information recording apparatus according to claim 1, wherein the movement related information is a moving image captured by a camera. 前記移動関連情報は、センサで検知された移動体の移動状況であることを特徴とする請求項1の情報記録装置。 The information recording apparatus according to claim 1, wherein the movement related information is a movement state of a moving body detected by a sensor. 第1の不揮発性メモリの記憶容量は、少なくとも第2の不揮発性メモリの書き込み完了ブロックサイズと同じか、それよりも大きいことを特徴とする請求項1の情報記録装置。 2. The information recording apparatus according to claim 1, wherein the storage capacity of the first nonvolatile memory is at least equal to or larger than the write completion block size of the second nonvolatile memory. 前記第1の不揮発性メモリにおける前記移動関連情報の記憶位置と、前記第2の不揮発性メモリにおける前記移動関連情報を書き込む位置の対応を示す、書き込み位置情報を第2の不揮発性メモリに記憶することを特徴とする請求項1の情報記録装置。 Write position information indicating a correspondence between a storage position of the movement-related information in the first nonvolatile memory and a position where the movement-related information is written in the second nonvolatile memory is stored in the second nonvolatile memory. The information recording apparatus according to claim 1. 電源投入直後に、前記書き込み位置情報に基づいて、前記第1の不揮発性メモリから前記第2の不揮発性メモリに前記ブロックデータが正常に書き込まれているかどうかを判断し、正常に書き込まれていない場合には前記第2の不揮発性メモリに再度書き込みを行うことを特徴とする請求項4の情報記録装置。 Immediately after the power is turned on, it is determined whether the block data is normally written from the first nonvolatile memory to the second nonvolatile memory based on the writing position information. 5. The information recording apparatus according to claim 4, wherein writing is performed again in the second nonvolatile memory. 前記読み出し手段により読み出された動画像を圧縮する圧縮手段を更に備え、
前記第2の書き込み手段は、圧縮された動画像も第2の不揮発性メモリに書き込むことを特徴とする請求項2の情報記録装置。
A compression unit for compressing the moving image read by the reading unit;
3. The information recording apparatus according to claim 2, wherein the second writing unit writes the compressed moving image in the second nonvolatile memory.
JP2008296588A 2008-11-20 2008-11-20 Information recording device Pending JP2010122947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008296588A JP2010122947A (en) 2008-11-20 2008-11-20 Information recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008296588A JP2010122947A (en) 2008-11-20 2008-11-20 Information recording device

Publications (1)

Publication Number Publication Date
JP2010122947A true JP2010122947A (en) 2010-06-03

Family

ID=42324225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008296588A Pending JP2010122947A (en) 2008-11-20 2008-11-20 Information recording device

Country Status (1)

Country Link
JP (1) JP2010122947A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203706A (en) * 2011-03-25 2012-10-22 Kayaba Ind Co Ltd Drive recorder and drive recorder system
JP2013130974A (en) * 2011-12-20 2013-07-04 Kayaba Ind Co Ltd Data recording device and drive recorder

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000306048A (en) * 1999-04-26 2000-11-02 Japanese Inst Of Certified Public Accountants Portable information reader provided with function for preservation onto removable media
JP2003111071A (en) * 2001-09-28 2003-04-11 Denso Corp On-vehicle monitoring camera apparatus
JP2004139204A (en) * 2002-10-16 2004-05-13 Toshiba Corp On-vehicle electronic equipment and drive data recording method
JP2006237974A (en) * 2005-02-24 2006-09-07 Sanyo Electric Co Ltd Recording device for movable bodies

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000306048A (en) * 1999-04-26 2000-11-02 Japanese Inst Of Certified Public Accountants Portable information reader provided with function for preservation onto removable media
JP2003111071A (en) * 2001-09-28 2003-04-11 Denso Corp On-vehicle monitoring camera apparatus
JP2004139204A (en) * 2002-10-16 2004-05-13 Toshiba Corp On-vehicle electronic equipment and drive data recording method
JP2006237974A (en) * 2005-02-24 2006-09-07 Sanyo Electric Co Ltd Recording device for movable bodies

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203706A (en) * 2011-03-25 2012-10-22 Kayaba Ind Co Ltd Drive recorder and drive recorder system
JP2013130974A (en) * 2011-12-20 2013-07-04 Kayaba Ind Co Ltd Data recording device and drive recorder

Similar Documents

Publication Publication Date Title
US10496535B2 (en) Power-safe data management system
TWI447646B (en) Data transmission device and method for merging multiple instruction
JP5531753B2 (en) Data recording apparatus and digital camera
US20090058995A1 (en) Data recording system, program, semiconductor device, and drive recorder
US8996794B2 (en) Flash memory controller
JP2009146500A (en) Disk storage device and data writing method
JP2007059014A (en) Information recorder, information recording method and computer program
US20150149741A1 (en) Storage System and Control Method Thereof
JP5378197B2 (en) Memory controller, memory card, nonvolatile memory system
JP5756658B2 (en) Vehicle information recording device
JP2010086009A (en) Storage device and memory control method
JP2010122947A (en) Information recording device
JP5528182B2 (en) Drive recorder and drive recorder recording method
JP5856849B2 (en) In-vehicle information recording apparatus and data writing management method
JP2003076604A (en) Log information collecting system and method for flash memory
TW201017403A (en) Access methods for memory devices and memory devices and machine readable medium thereof
KR101559241B1 (en) Method and system for storing representative images of video event data recorder
JP2007295283A5 (en)
JP2012203707A (en) Drive recorder and drive recorder system
JP2011192137A (en) Memory card control system, memory card control device and memory card control method
JP4399814B2 (en) Video recording device
JP4658796B2 (en) Image forming apparatus
JP2005173707A (en) Cache memory control method
JP5543697B2 (en) Recording target information storage device
KR100693434B1 (en) Recording method of real time data in optical disc player, and the device thereused to, and optical disc player equiped with said device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110318

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111125

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20111205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130628