JP7069864B2 - Data storage and programs - Google Patents

Data storage and programs Download PDF

Info

Publication number
JP7069864B2
JP7069864B2 JP2018044106A JP2018044106A JP7069864B2 JP 7069864 B2 JP7069864 B2 JP 7069864B2 JP 2018044106 A JP2018044106 A JP 2018044106A JP 2018044106 A JP2018044106 A JP 2018044106A JP 7069864 B2 JP7069864 B2 JP 7069864B2
Authority
JP
Japan
Prior art keywords
information
file
generation unit
unit
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018044106A
Other languages
Japanese (ja)
Other versions
JP2019159651A (en
Inventor
功佑 山岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2018044106A priority Critical patent/JP7069864B2/en
Publication of JP2019159651A publication Critical patent/JP2019159651A/en
Application granted granted Critical
Publication of JP7069864B2 publication Critical patent/JP7069864B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この明細書による開示は、データ記憶装置及びプログラムに関する。 The disclosure by this specification relates to data storage devices and programs.

従来、車両における複数の情報の記憶に用いられるデータ記憶装置が知られている。特許文献1に開示の装置は、例えばドライブレコーダに適用できる。この装置は、複数の情報を取得し、2つの記憶媒体のいずれか一方に書き込みするようになっている。そして、一方の記憶媒体に対するデータ書き込みの異常を検出した場合には、複数の情報を他方の記憶媒体に書き込むように切替えるようになっている。 Conventionally, a data storage device used for storing a plurality of information in a vehicle is known. The apparatus disclosed in Patent Document 1 can be applied to, for example, a drive recorder. This device acquires a plurality of pieces of information and writes them in one of the two storage media. When an abnormality in data writing to one storage medium is detected, a plurality of pieces of information are switched to be written to the other storage medium.

特開2013-140485号公報Japanese Unexamined Patent Publication No. 2013-140485

さて、車両用途のデータ記憶装置においては、例えば車両に衝突事故等が発生した場合に、一部の情報の取得元との通信が切断されてしまう事態や、一部の情報の取得元自体が破壊されて機能しなくなる事態等が想定される。しかしながら、特許文献1の装置は、このような不測の事態への対応手段がない。したがって、情報の取得が正常なときはもちろん、不測の事態においても取得可能な情報については適切に記憶可能とすることが望まれている。 By the way, in a data storage device for vehicle use, for example, when a collision accident occurs in a vehicle, the communication with a part of the information acquisition source is cut off, or the part of the information acquisition source itself is It is assumed that it will be destroyed and will not function. However, the device of Patent Document 1 has no means for dealing with such an unforeseen situation. Therefore, it is desired that the information that can be acquired can be appropriately stored not only when the information is acquired normally but also in an unexpected situation.

開示されるひとつの目的は、情報を適切に記憶可能なデータ記憶装置及びプログラムを提供することにある。 One object disclosed is to provide a data storage device and program capable of appropriately storing information.

ここに開示されたひとつの態様は、車両における複数の情報の記憶に用いられるデータ記憶装置であって、
複数の情報を取得する情報取得部(26)と、
情報取得部が取得した複数の情報について、電子データとして記憶対象となるファイルを生成するファイル生成部(29)と、を備え、
ファイル生成部は、
複数の情報を纏めたコンテナファイルを生成するコンテナファイル生成部(30)と、
複数の情報を分割した個別ファイルを生成する個別ファイル生成部(31)と、
複数の情報が正常に取得される状態においてコンテナファイル生成部がコンテナファイルを生成し、複数の情報のうち特定情報の取得に異常が発生すると、個別ファイル生成部が個別ファイルを生成するように切替える切替部(32)と、
複数の情報のうち、特定情報以外の情報の取得に異常が発生した場合に、コンテナファイル又は個別ファイルのうち切替部が選択中のファイルを生成するための、特定情報以外の情報についてのダミーデータを生成するダミーデータ生成部(33)と、を有する。
One aspect disclosed herein is a data storage device used to store a plurality of pieces of information in a vehicle.
The information acquisition unit (26) that acquires multiple pieces of information,
A file generation unit (29) that generates a file to be stored as electronic data for a plurality of information acquired by the information acquisition unit is provided.
The file generator is
A container file generator (30) that generates a container file that summarizes multiple pieces of information,
An individual file generation unit (31) that generates an individual file in which a plurality of pieces of information are divided, and
When multiple pieces of information are acquired normally, the container file generator generates a container file, and if an error occurs in the acquisition of specific information among multiple pieces of information, the individual file generator switches to generate an individual file. Switching unit (32) and
Dummy data about information other than specific information to generate a file selected by the switching unit among container files or individual files when an error occurs in the acquisition of information other than specific information among multiple pieces of information. It has a dummy data generation unit (33) for generating the above .

このようなデータ記憶装置によると、複数の情報が正常に取得される状態において、複数の情報を纏めたコンテナファイルが生成され、複数の情報のうち特定情報の取得に異常が発生すると、複数の情報が分割された個別ファイルが生成されるように切り替わる。すなわち、正常時では、複数の情報がコンテナファイルに纏められていることで、生成するファイル数が抑制され、データの記憶先への負担が低減されると共に、事後における情報の解析も容易となる。一方、異常時では、複数の情報が個別ファイルに分割されていることで、異常が発生した特定情報以外の取得可能な情報は極力記憶可能となる。以上により、情報を適切に記憶可能なデータ記憶装置を提供することができる。 According to such a data storage device, a container file that summarizes a plurality of information is generated in a state where a plurality of information is normally acquired, and if an abnormality occurs in the acquisition of a specific information among the plurality of information, a plurality of information are stored. The information is switched so that a separate file is generated. That is, in the normal state, since a plurality of pieces of information are collected in a container file, the number of files to be generated is suppressed, the burden on the data storage destination is reduced, and the information can be easily analyzed after the fact. .. On the other hand, in the event of an abnormality, since a plurality of pieces of information are divided into individual files, the information that can be acquired other than the specific information in which the abnormality has occurred can be stored as much as possible. As described above, it is possible to provide a data storage device capable of appropriately storing information.

ここに開示されたひとつの態様は、車両における複数の情報の記憶に用いられるプログラムであって、
少なくとも1つの演算部(20)を、
複数の情報を取得する情報取得部(26)と、
情報取得部が取得した複数の情報について、電子データとして記憶対象となるファイルを生成するファイル生成部(29)、として機能させ、
ファイル生成部は、
複数の情報を纏めたコンテナファイルを生成するコンテナファイル生成部(30)と、
複数の情報を分割した個別ファイルを生成する個別ファイル生成部(31)と、
複数の情報が正常に取得される状態においてコンテナファイル生成部がコンテナファイルを生成し、複数の情報のうち特定情報の取得に異常が発生すると、個別ファイル生成部が個別ファイルを生成するように切替える切替部(32)と、
複数の情報のうち、特定情報以外の情報の取得に異常が発生した場合に、コンテナファイル又は個別ファイルのうち切替部が選択中のファイルを生成するための、特定情報以外の情報についてのダミーデータを生成するダミーデータ生成部(33)と、を含んでいる。
One aspect disclosed herein is a program used to store multiple pieces of information in a vehicle.
At least one arithmetic unit (20),
The information acquisition unit (26) that acquires multiple pieces of information,
A plurality of information acquired by the information acquisition unit is made to function as a file generation unit (29) that generates a file to be stored as electronic data.
The file generator is
A container file generator (30) that generates a container file that summarizes multiple pieces of information,
An individual file generation unit (31) that generates an individual file in which a plurality of pieces of information are divided, and
When multiple pieces of information are acquired normally, the container file generator generates a container file, and if an error occurs in the acquisition of specific information among multiple pieces of information, the individual file generator switches to generate an individual file. Switching unit (32) and
Dummy data about information other than specific information to generate a file selected by the switching unit among container files or individual files when an error occurs in the acquisition of information other than specific information among multiple pieces of information. It includes a dummy data generation unit (33) for generating the above.

このようなプログラムによると、演算部を、上述したデータ記憶装置として機能させることができる。 According to such a program, the arithmetic unit can function as the above-mentioned data storage device.

なお、括弧内の符号は、後述する実施形態の部分との対応関係を例示的に示すものであって、技術的範囲を限定することを意図するものではない。 It should be noted that the reference numerals in parentheses exemplify the correspondence with the parts of the embodiments described later, and are not intended to limit the technical scope.

第1実施形態のデータ記憶装置を含むシステムの構成図である。It is a block diagram of the system including the data storage device of 1st Embodiment. 第1実施形態の演算記憶部による機能ブロックを示すブロック図である。It is a block diagram which shows the functional block by the arithmetic storage part of 1st Embodiment. 第1実施形態のコンテナファイルの概略構成を示す図である。It is a figure which shows the schematic structure of the container file of 1st Embodiment. 第1実施形態の個別ファイルの概略構成を示す図である。It is a figure which shows the schematic structure of the individual file of 1st Embodiment. 第1実施形態の生成されるファイルの切り替えを説明するためのタイムチャートである。It is a time chart for demonstrating the switching of the generated file of 1st Embodiment. 第1実施形態のファイル生成部によるフローチャートである。It is a flowchart by the file generation part of 1st Embodiment. 第2実施形態のファイル生成部によるフローチャートである。It is a flowchart by the file generation part of 2nd Embodiment.

以下、複数の実施形態を図面に基づいて説明する。なお、各実施形態において対応する構成要素には同一の符号を付すことにより、重複する説明を省略する場合がある。各実施形態において構成の一部分のみを説明している場合、当該構成の他の部分については、先行して説明した他の実施形態の構成を適用することができる。また、各実施形態の説明において明示している構成の組み合わせばかりではなく、特に組み合わせに支障が生じなければ、明示していなくても複数の実施形態の構成同士を部分的に組み合せることができる。 Hereinafter, a plurality of embodiments will be described with reference to the drawings. By assigning the same reference numerals to the corresponding components in each embodiment, duplicate description may be omitted. When only a part of the configuration is described in each embodiment, the configuration of the other embodiment described above can be applied to the other parts of the configuration. Further, not only the combination of the configurations specified in the description of each embodiment but also the configurations of a plurality of embodiments can be partially combined even if the combination is not specified. ..

(第1実施形態)
図1に示すように、本開示の第1実施形態によるデータ記憶装置100は、車両における複数の種類の情報の記憶に用いられるドライブレコーダ(シナリオレコーダ、イベントレコーダとも称される)である。データ記憶装置100は、車両に搭載され、当該車両等の各種情報取得元から複数の情報を取得して、電子データとして記憶する。より詳細に、データ記憶装置100は、車両において衝突事故、ヒヤリハット等の記憶すべきシナリオが発生した場合に、当該シナリオに関連する情報を記憶媒体23に保存する。
(First Embodiment)
As shown in FIG. 1, the data storage device 100 according to the first embodiment of the present disclosure is a drive recorder (also referred to as a scenario recorder or an event recorder) used for storing a plurality of types of information in a vehicle. The data storage device 100 is mounted on a vehicle, acquires a plurality of information from various information acquisition sources such as the vehicle, and stores the data as electronic data. More specifically, when a scenario to be stored such as a collision accident or a hiyari hat occurs in a vehicle, the data storage device 100 stores information related to the scenario in the storage medium 23.

このようなデータ記憶装置100は、複数のインターフェース10a,10b,10c,10d、GPS受信部12、検出部14、及び演算記憶部20を有している。 Such a data storage device 100 has a plurality of interfaces 10a, 10b, 10c, 10d, a GPS receiving unit 12, a detection unit 14, and an arithmetic storage unit 20.

複数のインターフェース10a,10b,10c,10dは、車両の各種情報取得元と電気的に接続されることで、当該取得元からの信号を演算記憶部20に対して入力可能となるように形成されている。 The plurality of interfaces 10a, 10b, 10c, and 10d are formed so as to be able to input signals from the acquisition source to the arithmetic storage unit 20 by being electrically connected to various information acquisition sources of the vehicle. ing.

例えばインターフェース10aは、カメラ2と、複数の電線を含むワイヤハーネスによって電気的に接続されている。カメラ2は、車両に搭載されて、外界ないしは車内を撮影するように構成されている。カメラ2は、外界ないしは車内からの光を、レンズ系を用いて例えばCCDセンサないしはCMOSセンサ等の撮像素子に結像させることで、当該外界を撮影する。カメラ2は、撮影した映像を映像信号としてデータ記憶装置100の演算記憶部20へ出力可能となっている。 For example, the interface 10a is electrically connected to the camera 2 by a wire harness including a plurality of electric wires. The camera 2 is mounted on the vehicle and is configured to photograph the outside world or the inside of the vehicle. The camera 2 photographs the outside world by forming an image of light from the outside world or the inside of a vehicle on an image sensor such as a CCD sensor or a CMOS sensor using a lens system. The camera 2 can output the captured video as a video signal to the arithmetic storage unit 20 of the data storage device 100.

インターフェース10bは、マイクロフォン3と、複数の電線を含むワイヤハーネスによって電気的に接続されている。マイクロフォン3は、車両に搭載されて、周囲の環境音を集音するように構成されている。マイクロフォン3は、集音した環境音を音声信号としてデータ記憶装置100の演算記憶部20へ出力可能となっている。 The interface 10b is electrically connected to the microphone 3 by a wire harness including a plurality of electric wires. The microphone 3 is mounted on a vehicle and is configured to collect ambient sounds. The microphone 3 can output the collected environmental sound as an audio signal to the arithmetic storage unit 20 of the data storage device 100.

インターフェース10cは、生体情報センサ4と、複数の電線を含むワイヤハーネスによって電気的に接続されている。生体情報センサ4は、車両に搭載されて、生体の情報を検出するように構成されている。本実施形態の生体情報センサ4は、例えば車両の運転者の顔向き、開眼状態等を検出する。生体情報センサ4は、検出された運転者の情報を生体情報信号としてデータ記憶装置100の演算記憶部20へ出力可能となっている。 The interface 10c is electrically connected to the biometric information sensor 4 by a wire harness including a plurality of electric wires. The biological information sensor 4 is mounted on a vehicle and is configured to detect biological information. The biological information sensor 4 of the present embodiment detects, for example, the face orientation of the driver of the vehicle, the eye open state, and the like. The biological information sensor 4 can output the detected driver information as a biological information signal to the arithmetic storage unit 20 of the data storage device 100.

インターフェース10dは、車両側のマイクロコンピュータと、複数の電線を含むワイヤハーネスによって電気的に接続されている。このインターフェース10dを介して、例えば車速信号、エンジン回転信号、ブレーキ信号、ウインカー信号等の車両の挙動を表す各種車両信号がデータ記憶装置100の演算記憶部20へ入力されるようになっている。 The interface 10d is electrically connected to the microcomputer on the vehicle side by a wire harness including a plurality of electric wires. Various vehicle signals representing the behavior of the vehicle, such as a vehicle speed signal, an engine rotation signal, a brake signal, and a winker signal, are input to the arithmetic storage unit 20 of the data storage device 100 via the interface 10d.

さらに、データ記憶装置100は、バス配線と接続されることで、例えばCAN(登録商標)等の車載LAN(Local Area Network)を通じた通信を可能としている。当該車載LANを通じて、安全装備が作動したことを示す安全装備作動信号が、データ記憶装置100の演算記憶部20へ入力されるようになっている。安全装備作動信号としては、例えばエアバッグが展開されたか否かを示すエアバッグ展開信号が挙げられる。 Further, the data storage device 100 is connected to the bus wiring to enable communication through an in-vehicle LAN (Local Area Network) such as CAN (registered trademark). Through the in-vehicle LAN, a safety equipment operation signal indicating that the safety equipment has been activated is input to the arithmetic storage unit 20 of the data storage device 100. Examples of the safety equipment operation signal include an airbag deployment signal indicating whether or not the airbag has been deployed.

なお、データ記憶装置100と車両の各種情報取得元との接続方式は、上述の接続方式に限定されず、無線接続等を含む任意の方式を採用することができる。 The connection method between the data storage device 100 and various information acquisition sources of the vehicle is not limited to the above-mentioned connection method, and any method including wireless connection and the like can be adopted.

GPS受信部12は、人口衛星からの電波を受信することで、車両の現在位置及び現在時刻を検出することが可能となっている。GPS受信部12は、受信した電波に基づいたGPS信号を、演算記憶部20へ出力可能となっている。 The GPS receiving unit 12 can detect the current position and the current time of the vehicle by receiving radio waves from the artificial satellite. The GPS receiving unit 12 can output a GPS signal based on the received radio wave to the arithmetic storage unit 20.

検出部14は、ジャイロセンサ15及び加速度センサ16を有している。ジャイロセンサ15は、車両の角速度ないしは角加速度を検出する。加速度センサ16は、車両の加速度を検出する。検出部14は、ジャイロセンサ15及び加速度センサ16により検出された情報を、検出信号として演算記憶部20へ出力可能となっている。 The detection unit 14 has a gyro sensor 15 and an acceleration sensor 16. The gyro sensor 15 detects the angular velocity or the angular acceleration of the vehicle. The acceleration sensor 16 detects the acceleration of the vehicle. The detection unit 14 can output the information detected by the gyro sensor 15 and the acceleration sensor 16 to the calculation storage unit 20 as a detection signal.

演算記憶部20は、基板上に実装された電子回路を用いて実現されており、CPU(Central Processing Unit;中央処理装置)21及び複数の記憶媒体22,23,24を有している演算部及び記憶部となっている。CPU21は、複数の記憶媒体22,23,24のうち例えば記憶媒体24に記憶されているコンピュータプログラム(以下、単にプログラムという)を実行することで、各種処理を実施可能となっている。 The arithmetic storage unit 20 is realized by using an electronic circuit mounted on a substrate, and has a CPU (Central Processing Unit) 21 and a plurality of storage media 22, 23, 24. And it is a storage unit. The CPU 21 can perform various processes by executing, for example, a computer program (hereinafter, simply referred to as a program) stored in the storage medium 24 among the plurality of storage media 22, 23, 24.

記憶媒体22は、一時的な記憶に用いられる揮発性メモリであって、例えばDRAM(Dynamic Random Access Memory)となっている。 The storage medium 22 is a volatile memory used for temporary storage, and is, for example, a DRAM (Dynamic Random Access Memory).

記憶媒体23は、上述のプログラムを非一時的に格納する非遷移的実体的記憶媒体として機能すると共に、複数の情報を電子データとして記憶する不揮発性メモリである。記憶媒体23は、例えばフラッシュメモリを用いたeMMC(embedded Multi Media Card)となっており、容易に着脱不能な形態にて、基板に対して実装されている。記憶媒体23は、改竄を防ぐため、外部からデータを容易に書き換えできないようになっている。 The storage medium 23 is a non-volatile memory that functions as a non-transitional substantive storage medium that stores the above-mentioned program non-temporarily and stores a plurality of information as electronic data. The storage medium 23 is, for example, an eMMC (embedded Multi Media Card) using a flash memory, and is mounted on a substrate in a form that cannot be easily attached and detached. The storage medium 23 is designed so that data cannot be easily rewritten from the outside in order to prevent falsification.

記憶媒体24は、複数の情報を電子データとして記憶する不揮発性メモリであって、例えばフラッシュメモリを用いたSDカードとなっている。記憶媒体24は、データ記憶装置100に対して着脱可能かつ交換可能となっている。 The storage medium 24 is a non-volatile memory that stores a plurality of information as electronic data, and is, for example, an SD card using a flash memory. The storage medium 24 is removable and replaceable with respect to the data storage device 100.

このようにして演算記憶部20は、CPU21及び複数の記憶媒体22,23,24によってリンクされた1組のコンピュータ資源によって提供される。プログラムは、演算記憶部20によって実行されることによって、データ記憶装置100をこの明細書に記載される装置として機能させ、この明細書に記載される方法を実行するようにデータ記憶装置100を機能させる。 In this way, the arithmetic storage unit 20 is provided by a set of computer resources linked by the CPU 21 and the plurality of storage media 22, 23, 24. By being executed by the arithmetic storage unit 20, the program causes the data storage device 100 to function as the device described in this specification, and functions the data storage device 100 to execute the method described in this specification. Let me.

データ記憶装置100が提供する手段及び/又は機能は、実体的な記憶媒体23に記憶されたソフトウエア及びそれを実行するコンピュータ、ソフトウエアのみ、ハードウエアのみ、あるいはそれらの組合せによって提供することができる。例えば、演算記憶部20がハードウエアである電子回路によって提供される場合、それは多数の論理回路を含むデジタル回路、又はアナログ回路によって提供することができる。 The means and / or functions provided by the data storage device 100 may be provided by software stored in a substantive storage medium 23 and a computer, software only, hardware only, or a combination thereof that execute the software. can. For example, when the arithmetic storage unit 20 is provided by an electronic circuit which is hardware, it can be provided by a digital circuit including a large number of logic circuits or an analog circuit.

図2に示すように、演算記憶部20は、プログラムを実行することにより発現される機能ブロックとして、情報取得部26、バッファリング部27、シナリオ検知部28、ファイル生成部29、及びデータ書込部34を有している。 As shown in FIG. 2, the arithmetic storage unit 20 has an information acquisition unit 26, a buffering unit 27, a scenario detection unit 28, a file generation unit 29, and data writing as functional blocks expressed by executing a program. It has a part 34.

情報取得部26は、複数の情報を取得する。具体的に情報取得部26は、情報として、映像信号によりカメラ2の映像情報を取得し、音声信号によりマイクロフォン3の音声情報を取得する。また情報取得部26は、生体情報信号により運転者の情報を取得し、各種車両信号により車両の挙動に関する情報を取得する。これらの情報は、随時取得され、例えば100ms毎に取得される。 The information acquisition unit 26 acquires a plurality of information. Specifically, the information acquisition unit 26 acquires the video information of the camera 2 from the video signal as information, and acquires the voice information of the microphone 3 from the voice signal. Further, the information acquisition unit 26 acquires the driver's information by the biological information signal, and acquires the information about the behavior of the vehicle by various vehicle signals. This information is acquired at any time, for example, every 100 ms.

バッファリング部27は、情報取得部26が取得した複数の情報を記憶媒体22に一時的に記憶させるバッファリングを実施する。バッファリング部27は、例えば過去数分程度の期間に取得された情報をバッファリングする。この期間を経過したより過去の情報は、記憶媒体22の容量に限界もあるため、消去される。 The buffering unit 27 performs buffering for temporarily storing a plurality of information acquired by the information acquisition unit 26 in the storage medium 22. The buffering unit 27 buffers the information acquired in the past several minutes, for example. Information older than this period has elapsed is deleted because the capacity of the storage medium 22 is limited.

なお、記憶媒体22にバッファリングされる電子データは、各種デジタル信号をオリジナルの状態又はオリジナルに近い状態でデータ化して記憶される。例えば、カメラ2からの映像は、RAWデータの形式で記憶される。 The electronic data buffered in the storage medium 22 is stored by converting various digital signals into data in an original state or a state close to the original. For example, the image from the camera 2 is stored in the format of RAW data.

シナリオ検知部28は、記憶すべきシナリオが発生したかどうかを検知する。具体的に、シナリオ検知部28は、安全装備動作信号により安全装備の作動状態の情報を取得し、検出部14により検出された車両の加速度及び角速度ないしは角加速度を取得し、これら情報を所定の条件式に当てはめて、又はこれら情報を総合的に判断して、記憶すべきシナリオが発生したかどうかを検知する。 The scenario detection unit 28 detects whether or not a scenario to be stored has occurred. Specifically, the scenario detection unit 28 acquires information on the operating state of the safety equipment from the safety equipment operation signal, acquires the acceleration and angular velocity or angular acceleration of the vehicle detected by the detection unit 14, and obtains these information as predetermined. It is detected whether or not a scenario to be memorized has occurred by applying it to a conditional expression or comprehensively judging this information.

ファイル生成部29は、情報取得部26が取得した複数の情報について、電子データとして記憶対象となる電子ファイルを生成する。本実施形態では、ファイル生成部29は、シナリオ検知部28が記憶すべきシナリオの発生を検知した場合に、ファイルを生成し、そうでない場合にはファイルが生成されない。具体的に、記憶すべきシナリオの発生が検知されると、ファイル生成部29は、記憶媒体22にバッファリングされているデータを、持続的に記憶する形式に変換してファイルを生成する。この形式の変換と共に、データの圧縮が実施されてもよい。 The file generation unit 29 generates an electronic file to be stored as electronic data for a plurality of information acquired by the information acquisition unit 26. In the present embodiment, the file generation unit 29 generates a file when the scenario detection unit 28 detects the occurrence of a scenario to be stored, and if not, the file is not generated. Specifically, when the occurrence of a scenario to be stored is detected, the file generation unit 29 converts the data buffered in the storage medium 22 into a format for continuous storage to generate a file. Data compression may be performed with this form of conversion.

データ書込部34は、ファイル生成部29が生成したファイルのデータを、不揮発メモリとしての記憶媒体23又は記憶媒体24に書き込む。本実施形態では、データ書込部34は、ファイルのデータを基本的に記憶媒体23に書き込む。すなわち、書き込まれたデータは、例えば衝突事故の解析及び検証等に使用されることがあるため、着脱可能な記憶媒体24にデータが記憶されると、容易に改竄が可能となってしまう。故に、改竄がより困難な記憶媒体23への書き込みが好適である。 The data writing unit 34 writes the data of the file generated by the file generation unit 29 to the storage medium 23 or the storage medium 24 as the non-volatile memory. In the present embodiment, the data writing unit 34 basically writes the data of the file to the storage medium 23. That is, since the written data may be used, for example, for analysis and verification of a collision accident, if the data is stored in the removable storage medium 24, it can be easily tampered with. Therefore, writing to the storage medium 23, which is more difficult to falsify, is preferable.

なお、ファイル生成部29及びデータ書込部34は、ファイルを永続的に生成し、書き込み続けるのではなく、例えば衝突事故後数分経過したら、ファイル生成及び記憶媒体23への書き込みの作動を中止する。 The file generation unit 29 and the data writing unit 34 do not permanently generate a file and continue writing, but stop the operation of file generation and writing to the storage medium 23, for example, after a few minutes have passed after the collision accident. do.

またなお、記憶媒体23の空き容量が不足している場合には、データ書込部34は、ファイルのデータを記憶媒体24に書き込むことがある。 Further, when the free space of the storage medium 23 is insufficient, the data writing unit 34 may write the data of the file to the storage medium 24.

したがって、複数の記憶媒体22,23,24の情報の記憶に関する使い分けとしては、以下のようになる。記憶媒体22は、主にデータ記憶装置100により取得された複数の情報のバッファリングに用いられる。記憶媒体23は、記憶すべきシナリオの持続的な記憶に用いられる。記憶媒体24は、装置100全体の記憶容量を拡張するために予備的に用いられると共に、記憶媒体23に記憶されたデータを装置100の外部に取り出すために用いられる。 Therefore, the usage of information regarding the storage of the information of the plurality of storage media 22, 23, 24 is as follows. The storage medium 22 is mainly used for buffering a plurality of information acquired by the data storage device 100. The storage medium 23 is used for continuous storage of scenarios to be stored. The storage medium 24 is used as a preliminary for expanding the storage capacity of the entire device 100, and is also used for taking out the data stored in the storage medium 23 to the outside of the device 100.

さて、ファイル生成部29が生成するファイルの形式について、より詳細に説明する。ファイル生成部29は、複数の情報が正常に取得される状態において、ファイルとしてコンテナファイルを生成し、複数の情報のうち特定情報の取得に異常が発生すると、ファイルとして個別ファイルを生成するようになっている。 Now, the format of the file generated by the file generation unit 29 will be described in more detail. The file generation unit 29 generates a container file as a file in a state where a plurality of information is normally acquired, and generates an individual file as a file when an abnormality occurs in the acquisition of specific information among the plurality of information. It has become.

こうしたファイル生成を実現するために、ファイル生成部29は、機能ブロックとして、コンテナファイル生成部30、個別ファイル生成部31、切替部32、及びダミーデータ生成部33を有している。 In order to realize such file generation, the file generation unit 29 has a container file generation unit 30, an individual file generation unit 31, a switching unit 32, and a dummy data generation unit 33 as functional blocks.

コンテナファイル生成部30は、コンテナファイルを生成する。生成されるコンテナファイルは、図3に示すように、情報取得部26が取得した複数の情報を纏めたファイルであって、異なる種類のデータを複数含むことができる。特に本実施形態では、コンテナファイルのファイル形式として、デジタルマルチメディアコンテナファイルフォーマットとしてのMP4形式(拡張子は例えば.mp4)が採用されている。 The container file generation unit 30 generates a container file. As shown in FIG. 3, the generated container file is a file that summarizes a plurality of information acquired by the information acquisition unit 26, and can include a plurality of different types of data. In particular, in this embodiment, the MP4 format (extension is, for example, .mp4) as a digital multimedia container file format is adopted as the file format of the container file.

本実施形態のコンテナファイルは、映像情報データ、音声情報データ、I/Oデータ、及びメタデータを含んでいる。映像情報データは、情報取得部26が取得する複数の情報のうち、カメラ2の映像情報がデータ化されたものである。音声情報データは、情報取得部26が取得する複数の情報のうち、マイクロフォン3の音声情報がデータ化されたものである。I/Oデータは、情報取得部26が取得する情報のうち、映像情報及び音声情報を除いた情報であって、運転者の情報及び車両の挙動に関する情報がデータ化されたものである。I/Oデータは、物理量を表す数値ないしは状態を表すためのフラグの値など、映像情報データ及び音声情報データと比較して単純なデータ構造及びデータ特性となっている。メタデータは、コンテナファイルに格納される各種データを同期するためのデータである。メタデータは、各データの定義及び時刻情報等を含んでいる。 The container file of the present embodiment includes video information data, audio information data, I / O data, and metadata. The video information data is obtained by converting the video information of the camera 2 into data among the plurality of information acquired by the information acquisition unit 26. The voice information data is the voice information of the microphone 3 converted into data among the plurality of information acquired by the information acquisition unit 26. The I / O data is the information acquired by the information acquisition unit 26, excluding the video information and the audio information, and is the information on the driver's information and the behavior of the vehicle. The I / O data has a simple data structure and data characteristics as compared with video information data and audio information data, such as a numerical value representing a physical quantity or a flag value for representing a state. Metadata is data for synchronizing various data stored in a container file. The metadata includes the definition of each data, time information, and the like.

こうしたコンテナファイルは、例えば、バッファリングの期間よりも短い例えば1分間の情報を纏めることによって、1つのファイルとして生成される。このように、複数の情報を1つのコンテナファイルに纏めることで、生成されるファイル数を抑制することができる。データ書込部34による記憶媒体23への書き込み回数が低減されることで、当該記憶媒体23の劣化が抑制され、データ記憶装置100の長寿命化が期待できる。 Such a container file is generated as one file, for example, by collecting information for one minute, which is shorter than the buffering period. By collecting a plurality of pieces of information into one container file in this way, the number of generated files can be suppressed. By reducing the number of times the data writing unit 34 writes to the storage medium 23, deterioration of the storage medium 23 is suppressed, and the life of the data storage device 100 can be expected to be extended.

個別ファイル生成部31は、個別ファイルを生成する。生成される個別ファイルは、図4に示すように、情報取得部26が取得した複数の情報をコンテナファイルに対して分割したファイルである。すなわち、個別ファイルは、情報取得部26が取得した複数の情報を、1つのファイルに纏めずに分別した状態で、個別生成されるファイルである。個別ファイルは、複数の情報の取得段階からさらに分割されている必要はない。分別は、複数の情報を情報取得元毎の分別でもよく、情報の種類又はデータ特性毎の分別でもよい。個別ファイル生成部31は、可能であれば、複数の個別ファイルを生成する。当該複数の個別ファイルは、互いにファイルの形式を異ならせている。 The individual file generation unit 31 generates an individual file. As shown in FIG. 4, the generated individual file is a file obtained by dividing a plurality of information acquired by the information acquisition unit 26 into a container file. That is, the individual file is a file that is individually generated in a state where a plurality of information acquired by the information acquisition unit 26 are separated without being combined into one file. The individual file does not need to be further divided from the multiple information acquisition stages. The sorting may be performed by sorting a plurality of pieces of information for each information acquisition source, or for each type of information or data characteristics. The individual file generation unit 31 generates a plurality of individual files, if possible. The plurality of individual files have different file formats from each other.

特に本実施形態では、映像情報データに対応した個別ファイルの形式は、M4V形式(拡張子は例えば.m4v)となっている。音声情報データに対応した個別ファイルの形式は、AAC形式(拡張子は.aac)となっている。I/Oデータに対応した個別ファイルの形式は、汎用的な形式(DATファイル、拡張子は.dat)となっている。情報取得部26が取得する情報のデータのうち、I/Oデータは1つの個別ファイルに纏められている。 In particular, in this embodiment, the format of the individual file corresponding to the video information data is the M4V format (extension is, for example, .m4v). The format of the individual file corresponding to the voice information data is the AAC format (extension is .aac). The format of the individual file corresponding to the I / O data is a general-purpose format (DAT file, extension is .dat). Of the information data acquired by the information acquisition unit 26, the I / O data is collected in one individual file.

切替部32は、コンテナファイル生成部30がコンテナファイルを生成する状態と、個別ファイル生成部31が個別ファイルを生成する状態とを、切り替える。 The switching unit 32 switches between a state in which the container file generation unit 30 generates a container file and a state in which the individual file generation unit 31 generates an individual file.

詳細に、切替部32は、複数の情報のうち特定情報の取得に異常が発生しているかどうかを判定する。本実施形態において特定情報には、複数の情報のうち映像情報及び音声情報が該当し、運転者の情報及び車両の挙動に関する情報は該当しない。特定情報の該当基準としては、その情報の取得に異常が発生した場合に、コンテナファイルの生成が困難となるかどうかが問題となる。 In detail, the switching unit 32 determines whether or not an abnormality has occurred in the acquisition of specific information among the plurality of information. In the present embodiment, the specific information corresponds to video information and audio information among a plurality of pieces of information, and does not correspond to driver information and vehicle behavior information. As a corresponding criterion of specific information, the problem is whether or not it becomes difficult to generate a container file when an abnormality occurs in the acquisition of the information.

異常の発生が認定される事態としては、車両に衝突事故が発生した際に、例えばインターフェース10a,10bと情報取得元とを接続するワイヤハーネスの接触不良又は切断により、信号が演算記憶部20に入力されなくなってしまう事態、また例えば情報の取得元自体が破壊されて信号が演算記憶部20に入力されなくなってしまう事態等が挙げられる。 As a situation in which the occurrence of an abnormality is recognized, when a collision accident occurs in a vehicle, for example, a signal is sent to the arithmetic storage unit 20 due to poor contact or disconnection of the wire harness connecting the interfaces 10a and 10b and the information acquisition source. Examples include a situation in which the information is not input, and a situation in which the information acquisition source itself is destroyed and the signal is not input to the arithmetic storage unit 20.

すなわち、異常の発生が認定される事態にて、映像情報に係る映像信号又は音声情報に係る音声信号の入力が途絶えると、その性質上、例えばコンテナファイルのメタデータの生成自体が正常に行えなくなる結果、コンテナファイルを生成すること自体が不可能となる。このため、本実施形態では、映像情報及び音声情報が特定情報に該当するように制御がなされる。一方、運転者の情報及び車両の挙動に関する情報は、データの性質上、コンテナファイルの生成自体に支障をきたさないので、特定情報に該当しないように制御がなされる。 That is, if the input of the video signal related to the video information or the audio signal related to the audio information is interrupted in the situation where the occurrence of the abnormality is recognized, for example, the generation of the metadata of the container file itself cannot be performed normally due to its nature. As a result, it becomes impossible to generate the container file itself. Therefore, in the present embodiment, the video information and the audio information are controlled so as to correspond to the specific information. On the other hand, the information on the driver and the information on the behavior of the vehicle do not interfere with the generation of the container file itself due to the nature of the data, so that the information is controlled so as not to correspond to the specific information.

而して、情報取得部26が取得予定の複数の情報が正常に取得される状態においては、コンテナファイル生成部30がコンテナファイルを生成するように、制御がなされる。そして、上述の判定において、特定情報の取得における異常の発生が認められると、切替部32は、個別ファイル生成部31が個別ファイルを生成するように、制御の切り替えを実施する。これにより、コンテナファイルを生成不可能な状態において、ファイルが全く生成されず、情報が何も記憶されないという事態が極力回避される。 Thus, in a state where the information acquisition unit 26 normally acquires a plurality of information to be acquired, the container file generation unit 30 is controlled to generate the container file. Then, when an abnormality is found in the acquisition of the specific information in the above determination, the switching unit 32 switches the control so that the individual file generation unit 31 generates the individual file. As a result, in a state where the container file cannot be generated, the situation where the file is not generated at all and no information is stored is avoided as much as possible.

ここで、異常の発生が認められた特定情報に対応する個別ファイルは生成されず、それ以外の情報の個別ファイルが生成されることとなる。例えば図5に示すように、カメラ2からの映像情報の取得に異常が発生した場合には、音声情報に対応した個別ファイルと、I/Oデータに対応する個別ファイルとが生成される。 Here, the individual file corresponding to the specific information in which the occurrence of the abnormality is found is not generated, and the individual file of the other information is generated. For example, as shown in FIG. 5, when an abnormality occurs in the acquisition of video information from the camera 2, an individual file corresponding to audio information and an individual file corresponding to I / O data are generated.

また、本実施形態の切替部32は、特定情報の取得に異常が発生した後、特定情報が正常に取得される状態に復帰した場合に、個別ファイル生成部31に個別ファイルの生成を継続させるようになっている。 Further, the switching unit 32 of the present embodiment causes the individual file generation unit 31 to continue the generation of the individual file when the specific information is normally acquired after the abnormality occurs in the acquisition of the specific information. It has become like.

ダミーデータ生成部33は、複数の情報のうち、特定情報以外の情報の取得に異常が発生した場合に、コンテナファイル又は個別ファイルのうち切替部32が選択中のファイルを生成するための、ダミーデータを生成する。例えば、演算記憶部20への各種車両信号の入力が途絶えた場合に、ダミーデータ生成部33が、その取得できなかった情報についてのダミーデータ(例えば実際には有り得ない数値)を生成し、当該ダミーデータを選択中のファイルに対応するデータの該当箇所に格納する。これにより、あたかも異常が無かったかのように、ファイル生成部29がファイルの生成を継続する。 The dummy data generation unit 33 is a dummy for generating a file selected by the switching unit 32 among the container file or the individual file when an abnormality occurs in the acquisition of information other than the specific information among the plurality of information. Generate data. For example, when the input of various vehicle signals to the arithmetic storage unit 20 is interrupted, the dummy data generation unit 33 generates dummy data (for example, a numerical value that cannot actually be obtained) for the information that could not be acquired. Store the dummy data in the corresponding part of the data corresponding to the selected file. As a result, the file generation unit 29 continues to generate the file as if there were no abnormality.

以下、第1実施形態のデータ記憶装置100により実行される処理において、特にファイル生成部29が実施する処理を、図6のフローチャートに基づいて説明する。 Hereinafter, in the process executed by the data storage device 100 of the first embodiment, the process executed by the file generation unit 29 will be described with reference to the flowchart of FIG.

まず、ステップS11では、情報取得部26が取得予定の複数の情報が正常に取得される状態において、コンテナファイルが生成される。ステップS11の処理後、ステップS12へ移る。 First, in step S11, the container file is generated in a state where the information acquisition unit 26 normally acquires a plurality of information to be acquired. After the process of step S11, the process proceeds to step S12.

ステップS12では、次に生成予定のファイルに格納される予定の情報について、特定情報の取得に異常が発生しているかを判定する。ステップS12にて否定判定が下された場合、ステップS13へ移る。ステップS12にて肯定判定が下された場合、ステップS15へ移る。 In step S12, it is determined whether or not an abnormality has occurred in the acquisition of specific information regarding the information scheduled to be stored in the file to be generated next. If a negative determination is made in step S12, the process proceeds to step S13. If an affirmative determination is made in step S12, the process proceeds to step S15.

ステップS13では、特定情報の取得に異常が発生していないので、コンテナファイルの生成が継続される。ステップS13の処理後、ステップS14へ移る。 In step S13, since no abnormality has occurred in the acquisition of the specific information, the generation of the container file is continued. After the process of step S13, the process proceeds to step S14.

ステップS14では、ファイル生成の作動を終了するか判定する。例えば衝突事故後所定時間経過したら、ファイル生成及びデータの書き込みを中止する。ステップS14にて否定判定が下された場合には、再度ステップS12へ戻り、特定情報の取得に異常が発生しているかを判定する。ステップS14にて肯定判定が下された場合には、ステップS14を以って一連の処理を終了する。 In step S14, it is determined whether to end the operation of file generation. For example, after a predetermined time has passed after the collision accident, file generation and data writing are stopped. If a negative determination is made in step S14, the process returns to step S12 again to determine whether or not an abnormality has occurred in the acquisition of specific information. If an affirmative determination is made in step S14, a series of processes is terminated in step S14.

一方、特定情報の取得に異常が発生した場合のステップS15では、コンテナファイルの生成から、個別ファイルへの生成へと切り替える。ステップS14を以って一連の処理を終了する。本実施形態では、一度切り替えが行なわれると、データ記憶装置100が再起動されるまで、コンテナファイルの代わりに個別ファイルが生成されるようになっている。 On the other hand, in step S15 when an abnormality occurs in the acquisition of specific information, the generation of the container file is switched to the generation of the individual file. A series of processes is completed by step S14. In the present embodiment, once the switching is performed, an individual file is generated instead of the container file until the data storage device 100 is restarted.

また、シナリオについて記録されたファイルは、記憶媒体24へのコピーにより外部に取り出され、例えば解析者によるコンピュータ作業により解析される。切替部32による切り替えが行なわれた場合においては、解析者はコンテナファイルと個別ファイルとの切り替え部分を手動で繋ぎ合わせて、解析する。 Further, the file recorded for the scenario is taken out by copying to the storage medium 24, and is analyzed by computer work by an analyst, for example. When switching is performed by the switching unit 32, the analyst manually connects the switching portions between the container file and the individual file and analyzes the file.

(作用効果)
以上説明した第1実施形態の作用効果を以下に改めて説明する。
(Action effect)
The effects of the first embodiment described above will be described again below.

第1実施形態のデータ記憶装置100によると、複数の情報が正常に取得される状態において、複数の情報を纏めたコンテナファイルが生成され、複数の情報のうち特定情報の取得に異常が発生すると、複数の情報が分割された個別ファイルが生成されるように切り替わる。すなわち、正常時では、複数の情報がコンテナファイルに纏められていることで、生成するファイル数が抑制され、データの記憶先への負担が低減されると共に、事後における情報の解析も容易となる。一方、異常時では、複数の情報が個別ファイルに分割されていることで、異常が発生した特定情報以外の取得可能な情報は極力記憶可能となる。以上により、情報を適切に記憶可能なデータ記憶装置100を提供することができる。 According to the data storage device 100 of the first embodiment, when a plurality of information is normally acquired, a container file summarizing the plurality of information is generated, and an abnormality occurs in the acquisition of specific information among the plurality of information. , Switches so that multiple pieces of information are generated as individual files. That is, in the normal state, since a plurality of pieces of information are collected in a container file, the number of files to be generated is suppressed, the burden on the data storage destination is reduced, and the information can be easily analyzed after the fact. .. On the other hand, in the event of an abnormality, since a plurality of pieces of information are divided into individual files, the information that can be acquired other than the specific information in which the abnormality has occurred can be stored as much as possible. As described above, it is possible to provide a data storage device 100 capable of appropriately storing information.

また、第1実施形態によると、特定情報の取得に異常が発生した後、当該特定情報が正常に取得される状態に復帰した場合に、個別ファイルの生成が継続される。このようにすると、コンテナファイルと個別ファイルとの切り替え回数を最小限に抑えることができるので、事後の情報の解析において、コンテナファイルと個別ファイルとを繋ぎ合わせる手間を少なくすることができる。故に、事後における情報の解析が容易となる。 Further, according to the first embodiment, after an abnormality occurs in the acquisition of the specific information, the generation of the individual file is continued when the specific information is returned to the normal acquisition state. By doing so, the number of switchings between the container file and the individual file can be minimized, so that it is possible to reduce the trouble of connecting the container file and the individual file in the analysis of the information after the fact. Therefore, it becomes easy to analyze the information after the fact.

また、第1実施形態によると、特定情報に映像情報を含むようにしたので、当該映像情報の取得に異常が発生した場合においても、映像情報以外の情報を個別ファイルに分割して生成することで、取得可能な情報を極力記憶することができる。 Further, according to the first embodiment, since the video information is included in the specific information, even if an abnormality occurs in the acquisition of the video information, the information other than the video information is divided into individual files and generated. Therefore, the information that can be acquired can be stored as much as possible.

また、第1実施形態によると、特定情報に音声情報を含むようにしたので、当該音声情報の取得に異常が発生した場合においても、音声情報以外の情報を個別ファイルに分割して生成することで、取得可能な情報を極力記憶することができる。 Further, according to the first embodiment, since the specific information includes the voice information, even if an abnormality occurs in the acquisition of the voice information, the information other than the voice information is divided into individual files and generated. Therefore, the information that can be acquired can be stored as much as possible.

また、第1実施形態によると、特定情報以外の情報の取得に異常が発生した場合、コンテナファイル又は個別ファイルのうち生成対象として選択されているファイルを生成するための、特定情報以外の情報についてのダミーデータが生成される。このようにすると、特定情報以外の情報の取得に異常が発生した場合に、当該情報をダミーデータに置き換えたファイルを生成することで、当該情報が正常に取得可能な状態に準じたファイル生成を行なうことが可能となる。故に、当該異常が発生した情報を格納するはずだったファイルを分割しなくても済むので、特定情報以外の情報の取得に異常が発生した状況下において、生成するファイル数を抑制することができる。 Further, according to the first embodiment, when an abnormality occurs in the acquisition of information other than the specific information, the information other than the specific information for generating the file selected as the generation target among the container file or the individual file is obtained. Dummy data is generated. By doing so, when an abnormality occurs in the acquisition of information other than specific information, by generating a file in which the information is replaced with dummy data, a file generation according to the state in which the information can be normally acquired can be generated. It will be possible to do. Therefore, it is not necessary to divide the file that was supposed to store the information in which the abnormality occurred, and it is possible to suppress the number of files to be generated in the situation where an abnormality occurs in the acquisition of information other than the specific information. ..

また、第1実施形態のプログラムによると、複数の情報が正常に取得される状態において、複数の情報を纏めたコンテナファイルが生成され、複数の情報のうち特定情報の取得に異常が発生すると、複数の情報が分割された個別ファイルが生成されるように切り替わる。すなわち、正常時では、複数の情報がコンテナファイルに纏められていることで、生成するファイル数が抑制され、データの記憶先への負担が低減されると共に、事後における情報の解析も容易となる。一方、異常時では、複数の情報が個別ファイルに分割されていることで、異常が発生した特定情報以外の取得可能な情報は極力記憶可能となる。以上により、情報を適切に記憶可能なプログラムを提供することができる。 Further, according to the program of the first embodiment, when a container file summarizing a plurality of information is generated in a state where a plurality of information is normally acquired, and an abnormality occurs in the acquisition of specific information among the plurality of information, It switches so that a separate file with multiple pieces of information is generated. That is, in the normal state, since a plurality of pieces of information are collected in a container file, the number of files to be generated is suppressed, the burden on the data storage destination is reduced, and the information can be easily analyzed after the fact. .. On the other hand, in the event of an abnormality, since a plurality of pieces of information are divided into individual files, the information that can be acquired other than the specific information in which the abnormality has occurred can be stored as much as possible. As described above, it is possible to provide a program that can appropriately store information.

(第2実施形態)
図7に示すように、第2実施形態は第1実施形態の変形例である。第2実施形態について、第1実施形態とは異なる点を中心に説明する。
(Second Embodiment)
As shown in FIG. 7, the second embodiment is a modification of the first embodiment. The second embodiment will be described focusing on the differences from the first embodiment.

第2実施形態の切替部32は、特定情報の取得に異常が発生した後、特定情報が正常に取得される状態に復帰した場合に、コンテナファイル生成部30がコンテナファイルを生成するように再び切り替えるようになっている。 The switching unit 32 of the second embodiment is used again so that the container file generation unit 30 generates the container file when the specific information acquisition unit returns to the normal acquisition state after the abnormality occurs in the acquisition of the specific information. It is designed to switch.

以下、第1実施形態のデータ記憶装置100により実行される処理において、特にファイル生成部29が実施する処理を、図7のフローチャートに基づいて説明する。 Hereinafter, in the process executed by the data storage device 100 of the first embodiment, the process executed by the file generation unit 29 will be described with reference to the flowchart of FIG. 7.

まず、ステップS21では、情報取得部26が取得予定の複数の情報が正常に取得される状態において、コンテナファイルが生成される。ステップS21の処理後、ステップS22へ移る。 First, in step S21, the container file is generated in a state where the information acquisition unit 26 normally acquires a plurality of information to be acquired. After the processing of step S21, the process proceeds to step S22.

ステップS22では、次に生成予定のファイルに格納される予定の情報について、特定情報の取得に異常が発生しているかを判定する。ステップS22にて否定判定が下された場合、ステップS23へ移る。ステップS22にて肯定判定が下された場合、ステップS24へ移る。 In step S22, it is determined whether or not an abnormality has occurred in the acquisition of specific information regarding the information scheduled to be stored in the file to be generated next. If a negative determination is made in step S22, the process proceeds to step S23. If an affirmative determination is made in step S22, the process proceeds to step S24.

ステップS23では、特定情報の取得に異常が発生していないので、コンテナファイルの生成が継続される。ステップS23の処理後、ステップS25へ移る。 In step S23, since no abnormality has occurred in the acquisition of the specific information, the generation of the container file is continued. After the process of step S23, the process proceeds to step S25.

ステップS24では、特定情報の取得に異常が発生しているので、個別ファイルの生成が継続される。ステップS24の処理後、ステップS25へ移る。 In step S24, since an abnormality has occurred in the acquisition of the specific information, the generation of the individual file is continued. After the process of step S24, the process proceeds to step S25.

ステップS25では、ファイル生成の作動を終了するか判定する。例えば衝突事故後所定時間経過したら、ファイル生成及びデータの書き込みを中止する。ステップS25にて否定判定が下された場合には、再度ステップS22へ戻り、特定情報の取得に異常が発生しているかを判定する。ステップS25にて肯定判定が下された場合には、ステップS25を以って一連の処理を終了する。 In step S25, it is determined whether to end the file generation operation. For example, after a predetermined time has passed after the collision accident, file generation and data writing are stopped. If a negative determination is made in step S25, the process returns to step S22 again to determine whether or not an abnormality has occurred in the acquisition of specific information. If an affirmative determination is made in step S25, a series of processes is terminated in step S25.

以上説明した第2実施形態によると、特定情報の取得に異常が発生した後、特定情報が正常に取得される状態に復帰した場合に、コンテナファイルを生成するように再び切り替わる。このようにすると、復帰状態において、特定情報を含めたコンテナファイルに情報を纏めることができるので、取得可能な情報を最大限記憶することができる。 According to the second embodiment described above, after an abnormality occurs in the acquisition of the specific information, when the state returns to the state in which the specific information is normally acquired, the process is switched again so as to generate the container file. In this way, in the restored state, the information can be collected in a container file including the specific information, so that the information that can be acquired can be stored as much as possible.

(他の実施形態)
以上、複数の実施形態について説明したが、本開示は、それらの実施形態に限定して解釈されるものではなく、本開示の要旨を逸脱しない範囲内において種々の実施形態及び組み合わせに適用することができる。
(Other embodiments)
Although the plurality of embodiments have been described above, the present disclosure is not construed as being limited to those embodiments, and is to be applied to various embodiments and combinations without departing from the gist of the present disclosure. Can be done.

具体的に、変形例1としては、記憶対象となる複数の情報の構成は、搭載される車両の用途又は情報を記憶する目的等に合わせて適宜変更することができる。例えば、情報の取得元であるカメラ2又はマイクロフォン3は、複数設けられていてもよいし、生体情報センサ4からの情報を取得しないように構成されていてもよい。 Specifically, as the first modification, the configuration of a plurality of information to be stored can be appropriately changed according to the purpose of the vehicle to be mounted, the purpose of storing the information, and the like. For example, a plurality of cameras 2 or microphones 3 that are sources of information may be provided, or may be configured not to acquire information from the biometric information sensor 4.

変形例2としては、特定情報の取得に異常には、上述の実施形態のように当該情報に係る信号の入力がされないという異常に限られず、データ記憶装置100側の異常を含むようにしてもよい。例えば、CPU21の動作が不安定になり、特定情報の取得が正常に行えなかった場合に、特定情報の取得に異常が発生していると判断されるようにしてもよい。 The second modification is not limited to the abnormality that the signal related to the information is not input as in the above-described embodiment, and the abnormality in the acquisition of the specific information may include the abnormality on the data storage device 100 side. For example, when the operation of the CPU 21 becomes unstable and the specific information cannot be acquired normally, it may be determined that an abnormality has occurred in the acquisition of the specific information.

変形例3としては、個別ファイル生成部31は、複数の情報のうち、特定情報以外の情報の個別ファイルを、1つの個別ファイルに纏めずに、複数の個別ファイルに分割して生成するようにしてもよい。 As a modification 3, the individual file generation unit 31 divides and generates individual files of information other than specific information among a plurality of information into a plurality of individual files instead of combining them into one individual file. You may.

変形例4としては、シナリオ検知部28が設けられずに、情報取得部26が取得した複数の情報が、常時記録されるようにしてもよい。 As a modification 4, the scenario detection unit 28 may not be provided, and a plurality of information acquired by the information acquisition unit 26 may be constantly recorded.

100 データ記憶装置、20 演算記憶部(演算部)、26 情報取得部、29 ファイル生成部、30 コンテナファイル生成部、31 個別ファイル生成部、32 切替部 100 Data storage device, 20 Calculation storage unit (calculation unit), 26 Information acquisition unit, 29 File generation unit, 30 Container file generation unit, 31 Individual file generation unit, 32 Switching unit

Claims (6)

車両における複数の情報の記憶に用いられるデータ記憶装置であって、
前記複数の情報を取得する情報取得部(26)と、
前記情報取得部が取得した前記複数の情報について、電子データとして記憶対象となるファイルを生成するファイル生成部(29)と、を備え、
前記ファイル生成部は、
前記複数の情報を纏めたコンテナファイルを生成するコンテナファイル生成部(30)と、
前記複数の情報を分割した個別ファイルを生成する個別ファイル生成部(31)と、
前記複数の情報が正常に取得される状態において前記コンテナファイル生成部が前記コンテナファイルを生成し、前記複数の情報のうち特定情報の取得に異常が発生すると、前記個別ファイル生成部が前記個別ファイルを生成するように切替える切替部(32)と、
前記複数の情報のうち、前記特定情報以外の情報の取得に異常が発生した場合に、前記コンテナファイル又は前記個別ファイルのうち前記切替部が選択中のファイルを生成するための、前記特定情報以外の情報についてのダミーデータを生成するダミーデータ生成部(33)と、を有するデータ記憶装置。
A data storage device used to store multiple pieces of information in a vehicle.
The information acquisition unit (26) for acquiring the plurality of information, and
A file generation unit (29) that generates a file to be stored as electronic data for the plurality of information acquired by the information acquisition unit is provided.
The file generation unit
A container file generation unit (30) that generates a container file that summarizes the plurality of information, and
The individual file generation unit (31) that generates the individual file obtained by dividing the plurality of information, and the individual file generation unit (31).
When the container file generation unit generates the container file in a state where the plurality of information is normally acquired and an abnormality occurs in the acquisition of specific information among the plurality of information, the individual file generation unit causes the individual file. Switching unit (32) that switches to generate
Other than the specific information for generating the file selected by the switching unit among the container file or the individual file when an abnormality occurs in the acquisition of information other than the specific information among the plurality of information. A data storage device including a dummy data generation unit (33) that generates dummy data for the information of .
前記切替部は、前記特定情報の取得に異常が発生した後、前記特定情報が正常に取得される状態に復帰した場合に、前記個別ファイル生成部に前記個別ファイルの生成を継続させる請求項1に記載のデータ記憶装置。 Claim 1 in which the switching unit causes the individual file generation unit to continue generating the individual file when the specific information is normally acquired after an abnormality occurs in the acquisition of the specific information. The data storage device described in. 前記切替部は、前記特定情報の取得に異常が発生した後、前記特定情報が正常に取得される状態に復帰した場合に、前記コンテナファイル生成部が前記コンテナファイルを生成するように再び切り替える請求項1に記載のデータ記憶装置。 The switching unit is requested to switch again so that the container file generation unit generates the container file when the specific information is normally acquired after an abnormality occurs in the acquisition of the specific information. Item 1. The data storage device according to item 1. 前記特定情報は、映像情報を含む請求項1から3のいずれか1項に記載のデータ記憶装置。 The data storage device according to any one of claims 1 to 3, wherein the specific information includes video information. 前記特定情報は、音声情報を含む請求項1から4のいずれか1項に記載のデータ記憶装置。 The data storage device according to any one of claims 1 to 4, wherein the specific information includes voice information. 車両における複数の情報の記憶に用いられるプログラムであって、
少なくとも1つの演算部(20)を、
前記複数の情報を取得する情報取得部(26)と、
前記情報取得部が取得した前記複数の情報について、電子データとして記憶対象となるファイルを生成するファイル生成部(29)、として機能させ、
前記ファイル生成部は、
前記複数の情報を纏めたコンテナファイルを生成するコンテナファイル生成部(30)と、
前記複数の情報を分割した個別ファイルを生成する個別ファイル生成部(31)と、
前記複数の情報が正常に取得される状態において前記コンテナファイル生成部が前記コンテナファイルを生成し、前記複数の情報のうち特定情報の取得に異常が発生すると、前記個別ファイル生成部が前記個別ファイルを生成するように切替える切替部(32)と、
前記複数の情報のうち、前記特定情報以外の情報の取得に異常が発生した場合に、前記コンテナファイル又は前記個別ファイルのうち前記切替部が選択中のファイルを生成するための、前記特定情報以外の情報についてのダミーデータを生成するダミーデータ生成部(33)と、を含んでいるプログラム。
A program used to store multiple pieces of information in a vehicle.
At least one arithmetic unit (20),
The information acquisition unit (26) for acquiring the plurality of information, and
The plurality of information acquired by the information acquisition unit is made to function as a file generation unit (29) that generates a file to be stored as electronic data.
The file generation unit
A container file generation unit (30) that generates a container file that summarizes the plurality of information, and
The individual file generation unit (31) that generates an individual file obtained by dividing the plurality of information, and the individual file generation unit (31).
When the container file generation unit generates the container file in a state where the plurality of information is normally acquired and an abnormality occurs in the acquisition of specific information among the plurality of information, the individual file generation unit causes the individual file. Switching unit (32) that switches to generate
Other than the specific information for generating the file selected by the switching unit among the container file or the individual file when an abnormality occurs in the acquisition of information other than the specific information among the plurality of information. A program including a dummy data generation unit (33) that generates dummy data about the information of .
JP2018044106A 2018-03-12 2018-03-12 Data storage and programs Active JP7069864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018044106A JP7069864B2 (en) 2018-03-12 2018-03-12 Data storage and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018044106A JP7069864B2 (en) 2018-03-12 2018-03-12 Data storage and programs

Publications (2)

Publication Number Publication Date
JP2019159651A JP2019159651A (en) 2019-09-19
JP7069864B2 true JP7069864B2 (en) 2022-05-18

Family

ID=67993977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018044106A Active JP7069864B2 (en) 2018-03-12 2018-03-12 Data storage and programs

Country Status (1)

Country Link
JP (1) JP7069864B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115512631A (en) 2021-06-22 2022-12-23 荣耀终端有限公司 Pixel driving circuit and driving method thereof, display panel and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008123498A (en) 2006-10-15 2008-05-29 Fujitsu Ten Ltd Information recorder for vehicle
JP2013003903A (en) 2011-06-17 2013-01-07 Yazaki Energy System Corp Video recording device for vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008123498A (en) 2006-10-15 2008-05-29 Fujitsu Ten Ltd Information recorder for vehicle
JP2013003903A (en) 2011-06-17 2013-01-07 Yazaki Energy System Corp Video recording device for vehicle

Also Published As

Publication number Publication date
JP2019159651A (en) 2019-09-19

Similar Documents

Publication Publication Date Title
EP3262833B1 (en) Systems and methods for bulk redaction of recorded data
US20080250196A1 (en) Data Sequence Sample and Hold Method, Apparatus and Semiconductor Integrated Circuit
JP2011076443A (en) Data management device, data reading method and program
JP2009070026A (en) Recording device, verification device, reproduction device, recording method, verification method, and program
JP6593431B2 (en) Recording control apparatus, recording apparatus, recording control method, and recording control program
JP7069864B2 (en) Data storage and programs
CN114089811B (en) Data processing method, device, equipment and storage medium
JP5528182B2 (en) Drive recorder and drive recorder recording method
JP6336618B2 (en) FAT file system, vehicle multimedia data storage device using the same, and method therefor
KR101745872B1 (en) Apparatus for monitoring an image with low power and method thereof
JP5557386B2 (en) Vehicle information recording system and vehicle information recording method
US20200081637A1 (en) Information capture device and control method thereof
JP2019092077A (en) Recording control device, recording control method, and program
US20220345661A1 (en) Recording control apparatus, recording control method, and program
JP3179642U (en) Drive recorder and drive recorder system
KR101196675B1 (en) Method for Security of Video Data, Device for Video Acquisition
JP2020071774A (en) Data recording device
JP7279512B2 (en) Recording device, recording method, and program
JP7058757B2 (en) Information processing equipment and information processing method
JP2020090225A (en) Transmitter, and receiver
KR101559241B1 (en) Method and system for storing representative images of video event data recorder
US11363160B2 (en) Detachable device, control method thereof, and storage medium
KR101015408B1 (en) Device and method for storing necessary information for transportation
JP2022053770A (en) Recording control device and recording control method
JP2021122102A (en) Recording control device, recording control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220204

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220418

R151 Written notification of patent or utility model registration

Ref document number: 7069864

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151