JP5616810B2 - Drive recorder and drive recorder system - Google Patents

Drive recorder and drive recorder system Download PDF

Info

Publication number
JP5616810B2
JP5616810B2 JP2011018678A JP2011018678A JP5616810B2 JP 5616810 B2 JP5616810 B2 JP 5616810B2 JP 2011018678 A JP2011018678 A JP 2011018678A JP 2011018678 A JP2011018678 A JP 2011018678A JP 5616810 B2 JP5616810 B2 JP 5616810B2
Authority
JP
Japan
Prior art keywords
image information
drive recorder
unit
encryption
image
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.)
Expired - Fee Related
Application number
JP2011018678A
Other languages
Japanese (ja)
Other versions
JP2012159979A (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.)
KYB Corp
Original Assignee
KYB 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 KYB Corp filed Critical KYB Corp
Priority to JP2011018678A priority Critical patent/JP5616810B2/en
Publication of JP2012159979A publication Critical patent/JP2012159979A/en
Application granted granted Critical
Publication of JP5616810B2 publication Critical patent/JP5616810B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)

Description

本発明は、走行中の車両のデータを記録するドライブレコーダに関し、より詳細には画像データの改ざんを防止するドライブレコーダ及びドライブレコーダシステムに関する。   The present invention relates to a drive recorder that records data of a running vehicle, and more particularly to a drive recorder and a drive recorder system that prevent falsification of image data.

車両の走行データを画像データと共に記録するドライブレコーダを車両に搭載することが行われている。ドライブレコーダによって記録されたデータは、車両の事故の発生原因などの証拠となるものであり、データの信頼性、同一性が要求される。そのため、データの改ざんを防止する対策を講じることが一般的である。   A drive recorder that records driving data of a vehicle together with image data is mounted on the vehicle. The data recorded by the drive recorder serves as evidence of the cause of the vehicle accident, and requires data reliability and identity. Therefore, it is common to take measures to prevent data falsification.

特許文献1には、車両の走行データを記憶するドライブレコーダにおいて、走行データを伝送する車内LANと接続し、車内LANから走行データを取得するインタフェース部と、取得した走行データを暗号化する暗号変換部と、暗号化された走行データを記憶する記憶部と、を備えたドライブレコーダが開示されている。   In Patent Document 1, in a drive recorder that stores travel data of a vehicle, an interface unit that connects to an in-vehicle LAN that transmits the travel data and acquires the travel data from the in-vehicle LAN, and encryption conversion that encrypts the acquired travel data A drive recorder is disclosed that includes a storage unit and a storage unit that stores encrypted travel data.

特開2005−178494号公報JP 2005-178494 A

従来のドライブレコーダは、取得した走行データを暗号化して記録部に記録している。   The conventional drive recorder encrypts the acquired traveling data and records it in the recording unit.

一方、画像データを暗号化する場合は、処理に極めて多くの時間がかかり、また処理を行うハードウェアを搭載した場合はコストが上昇する。そのため、画像データと走行データとを含むデータでは、画像データ部分を暗号化せず、走行データのみを暗号化することが一般的であった。この場合は、画像データそのものは暗号化されないため、第三者によってファイル構造が解析された場合は画像データの情報を取得される可能性があり、画像データを改ざんされる可能性があるという問題があった。   On the other hand, when encrypting image data, the processing takes a very long time, and the cost increases when hardware for processing is installed. Therefore, in data including image data and travel data, it is common to encrypt only the travel data without encrypting the image data portion. In this case, since the image data itself is not encrypted, if the file structure is analyzed by a third party, the image data information may be obtained and the image data may be altered. was there.

本発明は、このような問題点に鑑みてなされたものであり、コストを上昇させることなくデータの改ざんを防止することができるドライブレコーダ及びドライブレコーダシステムを提供することを目的とする。   The present invention has been made in view of such problems, and an object of the present invention is to provide a drive recorder and a drive recorder system that can prevent data tampering without increasing costs.

本発明は、車両走行時の画像情報を取得する画像情報取得手段と、車両に発生した衝撃を検出する衝撃検出手段と、衝撃検出手段が衝撃を検出したときに画像情報取得手段が取得した画像情報を記録手段に記録する画像情報記録手段と、を備えるドライブレコーダであって、画像情報記録手段は、画像情報を記録手段に記録するときに、画像情報の一部のみを暗号化する暗号化手段を備え、暗号化手段は、暗号化鍵を設定し、画像情報を、設定された暗号化鍵に基づいて不定長に設定される所定のサイズのみを暗号化することを特徴とする。 The present invention relates to an image information acquisition unit that acquires image information during vehicle travel, an impact detection unit that detects an impact generated in the vehicle, and an image acquired by the image information acquisition unit when the impact detection unit detects an impact. An image information recording means for recording information in the recording means, wherein the image information recording means encrypts only a part of the image information when recording the image information in the recording means And an encryption unit sets an encryption key and encrypts image information only to a predetermined size set to an indefinite length based on the set encryption key .

本発明によれば、画像情報の暗号化部分を最小限に抑えることによって、暗号化処理に要する時間を短縮でき、暗号化処理に必要な処理能力を必要最小限に抑えることができるため、ドライブレコーダの製造コストを上昇することなく、画像情報の改ざんを防止することができる。   According to the present invention, the time required for the encryption process can be shortened by minimizing the encrypted portion of the image information, and the processing capability required for the encryption process can be minimized, so that the drive Tampering of image information can be prevented without increasing the manufacturing cost of the recorder.

本発明の実施形態の本発明のドライブレコーダを含むドライブレコーダシステムの説明図である。It is explanatory drawing of the drive recorder system containing the drive recorder of this invention of embodiment of this invention. 本発明の実施形態のドライブレコーダの機能ブロック図である。It is a functional block diagram of the drive recorder of the embodiment of the present invention. 本発明の実施形態のパーソナルコンピュータ(PC)の機能ブロック図である。It is a functional block diagram of the personal computer (PC) of the embodiment of the present invention. 本発明の実施形態のドライブレコーダシステムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the drive recorder system of embodiment of this invention. 本発明の実施形態のドライブレコーダが記録するファイルの説明図である。It is explanatory drawing of the file which the drive recorder of embodiment of this invention records. 本発明の実施形態の暗号化キーを生成するときに用いるテーブルの一例の説明図である。It is explanatory drawing of an example of the table used when producing | generating the encryption key of embodiment of this invention.

以下に、本発明の実施形態について、図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明のドライブレコーダ10を含むドライブレコーダシステム1の説明図である。   FIG. 1 is an explanatory diagram of a drive recorder system 1 including a drive recorder 10 of the present invention.

ドライブレコーダシステム1は、車両11に搭載されるドライブレコーダ10と、事業所等に設置されるパーソナルコンピュータ(以下、PC)20と、ドライブレコーダ10が取得するデータを記録するメモリカード30とから構成される。   The drive recorder system 1 includes a drive recorder 10 mounted on a vehicle 11, a personal computer (hereinafter referred to as a PC) 20 installed in a business office, and a memory card 30 that records data acquired by the drive recorder 10. Is done.

ドライブレコーダ10は、車両11から走行データ(例えば車速、エンジン回転数、緯度、経度等)を取得して、これらを日時と共に所定の間隔で記録する。また、ドライブレコーダ10は、カメラ12が接続されており、カメラ12が撮影した画像データを、記録する。これら走行データ及び画像データは、メモリカード30に記録される。   The drive recorder 10 acquires travel data (for example, vehicle speed, engine speed, latitude, longitude, etc.) from the vehicle 11 and records them at predetermined intervals together with the date and time. The drive recorder 10 is connected to a camera 12 and records image data captured by the camera 12. These travel data and image data are recorded in the memory card 30.

ドライブレコーダ10は、メモリカード30が挿入された状態でメモリカード30との間でデータの書き込み及び読み出しを行うメモリカードインタフェース170と、メモリカード30に人為的に画像データを記録させる記録ボタン180とが設けられている。   The drive recorder 10 includes a memory card interface 170 that writes and reads data to and from the memory card 30 with the memory card 30 inserted, and a record button 180 that artificially records image data on the memory card 30. Is provided.

PC20は、メモリカード30が挿入された状態でメモリカード30との間でデータの書き込み及び読み出しを行うメモリカードインタフェース21と、画像データ等を表示可能な液晶ディスプレイ等からなる表示部22と、ユーザからの指示が入力可能なキーボード及びマウス等からなる入力部23とから構成される。   The PC 20 includes a memory card interface 21 that writes data to and reads data from the memory card 30 with the memory card 30 inserted, a display unit 22 that includes a liquid crystal display that can display image data, and the like. And an input unit 23 including a keyboard and a mouse that can input instructions from.

メモリカード30は、メモリカードインタフェース170及び21によって読み書き可能に構成されており、例えばSD(Source Digital)やCF(Compact Flash)等のフラッシュメモリカードが用いられる。   The memory card 30 is configured to be readable and writable by the memory card interfaces 170 and 21, and for example, a flash memory card such as SD (Source Digital) or CF (Compact Flash) is used.

図2は、本発明の実施形態のドライブレコーダ10の機能ブロック図である。   FIG. 2 is a functional block diagram of the drive recorder 10 according to the embodiment of the present invention.

ドライブレコーダ10は、カメラ12を接続するカメラインタフェース120と、車両のCAN等と接続して車両データを取得する車両インタフェース130と、メモリカード30とでデータの読み込み及び書き込みを行うメモリカードインタフェース170と、後述するイベントの発生にかかわらず画像データ及び走行データをメモリカードに記録する記録ボタン180と、を備える。   The drive recorder 10 includes a camera interface 120 that connects the camera 12, a vehicle interface 130 that acquires vehicle data by connecting to a vehicle CAN and the like, and a memory card interface 170 that reads and writes data with the memory card 30. A recording button 180 for recording image data and travel data on a memory card regardless of the occurrence of an event, which will be described later.

また、ドライブレコーダ10は、画像データ、車両データ等を一時的に記録すると共に、ドライブレコーダ10の制御に関わるデータを記録する記録部110と、予め設定された所定のイベントの発生を検出するイベント検出部140と、後述する暗号化キーを取得する暗号化キー取得部150と、画像データ、走行データ等を暗号化キーに基づいて暗号化する暗号化部160と、を備える。   In addition, the drive recorder 10 temporarily records image data, vehicle data, and the like, and also records a data 110 relating to control of the drive recorder 10 and an event for detecting occurrence of a predetermined event set in advance. The detection unit 140 includes an encryption key acquisition unit 150 that acquires an encryption key, which will be described later, and an encryption unit 160 that encrypts image data, travel data, and the like based on the encryption key.

制御部100は、これら各部の動作を統合的に制御する。より具体的には、制御部100は、カメラインタフェース120を介して取得した画像データと、車両インタフェース130を介して取得した走行データとを、記録部110のバッファに逐次記録している。すなわち、カメラ12及び制御部100によって画像情報取得手段が構成される。   The control unit 100 controls the operations of these units in an integrated manner. More specifically, the control unit 100 sequentially records the image data acquired via the camera interface 120 and the travel data acquired via the vehicle interface 130 in the buffer of the recording unit 110. That is, the camera 12 and the control unit 100 constitute an image information acquisition unit.

ここで、イベント検出部140が所定のイベントを検出した場合は、制御部100は、記録部110のバッファ内に記録された画像データ及び走行データのうち、イベントが検出された時刻の前後の所定時間(例えば、前後15秒間)だけ抽出する。制御部100は、抽出したデータを、メモリカードインタフェース170を介してメモリカード30にファイルとして記録する。すなわち、メモリカードインタフェース170及び制御部100によって画像情報記録手段が構成される。   Here, when the event detection unit 140 detects a predetermined event, the control unit 100 determines the predetermined time before and after the time when the event is detected among the image data and the travel data recorded in the buffer of the recording unit 110. Extract only time (for example, 15 seconds before and after). The control unit 100 records the extracted data as a file on the memory card 30 via the memory card interface 170. That is, the memory card interface 170 and the control unit 100 constitute an image information recording unit.

イベント検出部140は、加速度センサを備えており、加速度センサが検出した加速度が所定の閾値を超えた場合(例えば、前後G又は横Gが0.8G以上となった場合)に、車両に衝撃が加わったと判断してイベントを検出する。すなわち、イベント検出部140が衝撃検出手段を構成する。   The event detection unit 140 includes an acceleration sensor. When the acceleration detected by the acceleration sensor exceeds a predetermined threshold (for example, when the front-rear G or the lateral G becomes 0.8 G or more), the event detection unit 140 shocks the vehicle. It is determined that has been added and an event is detected. That is, the event detection unit 140 constitutes an impact detection unit.

暗号化部160は、メモリカード30に書き込まれるデータの一部を、暗号化キー取得部150によって取得された暗号化キーを用いて暗号化する。暗号化キー取得部150は、後述するように、ユーザIDとファイル名とを用いて、暗号化キーを取得する。   The encryption unit 160 encrypts a part of the data written to the memory card 30 using the encryption key acquired by the encryption key acquisition unit 150. The encryption key acquisition unit 150 acquires the encryption key using the user ID and the file name, as will be described later.

記録ボタン180は、イベント検出部140がイベントを検出しなかった場合にも画像データをメモリカード30に記録したい場合など、運転者によって押下されたときに、イベントを検出したときと同様の処理を行う。例えば、イベント検出部140が検出した加速度が所定の閾値を超えなかった場合にも、運転者によって記録ボタン180が押下されることによって、記録ボタン180が押下された時刻の前後の所定時間のデータを抽出し、このデータをメモリカード30に記録するように構成することができる。   The record button 180 performs the same processing as when an event is detected when pressed by the driver, such as when the image detection is not performed by the event detection unit 140 and the image data is to be recorded in the memory card 30. Do. For example, even when the acceleration detected by the event detection unit 140 does not exceed a predetermined threshold value, data of a predetermined time before and after the time when the recording button 180 is pressed by pressing the recording button 180 by the driver. And this data can be recorded on the memory card 30.

カメラ12とカメラインタフェース120との接続には、例えばUSB(Serial Universal Bus)等のインターファースを用いる。なお、本実施形態ではドライブレコーダ10にカメラ12が一つ接続される構成を例として示したが、複数のカメラ12をカメラインタフェース120に接続して、各々のカメラを車両11の任意の位置に設置してもよい。例えば一つカメラ12を車両の前方を撮影するように設置し、他のカメラ12を車両の後方、車室内の運転者付近を撮影するように設置してもよい。   For connection between the camera 12 and the camera interface 120, an interface such as USB (Serial Universal Bus) is used. In the present embodiment, a configuration in which one camera 12 is connected to the drive recorder 10 is shown as an example. However, a plurality of cameras 12 are connected to the camera interface 120 and each camera is placed at an arbitrary position on the vehicle 11. May be installed. For example, one camera 12 may be installed so as to photograph the front of the vehicle, and the other camera 12 may be installed so as to photograph the rear of the vehicle and the vicinity of the driver in the passenger compartment.

図3は、本発明の実施形態のパーソナルコンピュータ(PC)20の機能ブロック図である。   FIG. 3 is a functional block diagram of the personal computer (PC) 20 according to the embodiment of this invention.

PC20は、メモリカードインタフェース21に挿入されたメモリカードに記録されている画像データを取得し、画像データを暗号化した暗号化鍵と同一の復号化鍵を取得して画像データを復号化し、復号化された画像データを再生する画像再生装置である。   The PC 20 acquires the image data recorded on the memory card inserted into the memory card interface 21, acquires the same decryption key as the encryption key that encrypted the image data, decrypts the image data, and decrypts the image data. This is an image reproduction device for reproducing the converted image data.

PC20は、外部インタフェース270を備える。外部インタフェース270は、データの書き込み及び読み出しを行うメモリカードインタフェース21と、画像データ等を表示可能な液晶ディスプレイ等からなる表示部22と、ユーザからの指示が入力可能なキーボード及びマウス等からなる入力部23と、が接続される。   The PC 20 includes an external interface 270. The external interface 270 includes a memory card interface 21 that writes and reads data, a display unit 22 that includes a liquid crystal display that can display image data and the like, and an input that includes a keyboard and a mouse that can input instructions from the user. Are connected to each other.

PC20は、入力部23を用いてドライブレコーダ10の設定を行う車両情報設定部230と、メモリカード30に記録された画像データ、走行データ等を取得するデータ取得部240と、暗号化された画像データ、走行データを、暗号化キーと同一の復号化キーを用いて復号化する復号化部250とを備える。   The PC 20 includes a vehicle information setting unit 230 that sets the drive recorder 10 using the input unit 23, a data acquisition unit 240 that acquires image data, travel data, and the like recorded in the memory card 30, and an encrypted image. A decrypting unit 250 that decrypts the data and the running data using the same decryption key as the encryption key.

制御部210はこれら各部を統括的に制御する。記録部220は、ROM、RAM等のメモリ及び、ハードディスク等から構成され、制御部210によって制御される各部が用いるデータ等を記録する。   The control unit 210 comprehensively controls these units. The recording unit 220 includes a memory such as a ROM and a RAM, a hard disk, and the like, and records data used by each unit controlled by the control unit 210.

なお、PC20は、記録部220に記録されたソフトウェアを制御部210が読み込み、これを実行することによって、車両情報設定部230、データ取得部240及び復号化部250が構成される。   In the PC 20, the control unit 210 reads the software recorded in the recording unit 220 and executes the software, whereby the vehicle information setting unit 230, the data acquisition unit 240, and the decryption unit 250 are configured.

また、外部インタフェース270とメモリカードインタフェース21又は入力部23との接続には、例えばUSB等が用いられる。また、外部インタフェース270と表示部22との接続には、例えばDVI(Digital Visual Interface)、HDMI(High-Definition Multimedia Interface)等のインタフェースが用いられる。   Further, for example, a USB or the like is used for connection between the external interface 270 and the memory card interface 21 or the input unit 23. For connection between the external interface 270 and the display unit 22, for example, an interface such as DVI (Digital Visual Interface) or HDMI (High-Definition Multimedia Interface) is used.

次に、以上のように構成されたドライブレコーダシステム1の動作を説明する。   Next, the operation of the drive recorder system 1 configured as described above will be described.

図4は、本発明の実施形態のドライブレコーダシステム1の動作を示すシーケンス図である。   FIG. 4 is a sequence diagram showing an operation of the drive recorder system 1 according to the embodiment of the present invention.

まず、ユーザがメモリカード30をPC20のメモリカードインタフェース21に挿入して(S100)、車両情報の設定を行う。   First, the user inserts the memory card 30 into the memory card interface 21 of the PC 20 (S100), and sets vehicle information.

PC20において、車両情報設定部230は、表示部22にGUIを表示して、ユーザ(管理者)からユーザID等の入力を受け付ける(S101)。車両情報設定部230は、入力されたユーザIDを、メモリカード30に書き込む(S102)。メモリカード30は、書き込まれたユーザIDを記録する(S103)。   In the PC 20, the vehicle information setting unit 230 displays a GUI on the display unit 22, and receives an input such as a user ID from a user (administrator) (S101). The vehicle information setting unit 230 writes the input user ID into the memory card 30 (S102). The memory card 30 records the written user ID (S103).

車両情報設定部230によって設定されるユーザIDは、ドライブレコーダ10を搭載する車両11を個別に設定されるIDナンバーである。例えば、車両11に固有の車両ナンバーをユーザIDとして登録してもよいし、車両11を運転する運転者に個別に設定された情報をIDナンバーに付加してもよい。   The user ID set by the vehicle information setting unit 230 is an ID number that individually sets the vehicle 11 on which the drive recorder 10 is mounted. For example, a vehicle number unique to the vehicle 11 may be registered as a user ID, or information individually set for a driver driving the vehicle 11 may be added to the ID number.

ユーザは、メモリカード30をPC20から取り外して、ドライブレコーダ10のメモリカードインタフェース170に挿入する(S104)。   The user removes the memory card 30 from the PC 20 and inserts it into the memory card interface 170 of the drive recorder 10 (S104).

ドライブレコーダ10において、制御部100は、メモリカードインタフェース170にメモリカード30が挿入されたことを検出すると、メモリカード30に記録されているユーザIDを取得して、記録部110に記録する(S105)。   In the drive recorder 10, when the control unit 100 detects that the memory card 30 is inserted into the memory card interface 170, the control unit 100 acquires the user ID recorded in the memory card 30 and records it in the recording unit 110 (S105). ).

制御部100は、メモリカードインタフェース170にメモリカード30が挿入されている状態で車両11の運転を開始したことを検出すると、画像データ及び走行データを記録部110のバッファに記録を開始する(S106)。なお、制御部100は、車両インタフェース130から取得する車速が、例えば0[km/h]を超えた場合に、車両11の運転を開始したことを検出する。   When the control unit 100 detects that the driving of the vehicle 11 is started with the memory card 30 inserted in the memory card interface 170, the control unit 100 starts recording the image data and the traveling data in the buffer of the recording unit 110 (S106). ). In addition, the control part 100 detects having started the driving | operation of the vehicle 11, when the vehicle speed acquired from the vehicle interface 130 exceeds 0 [km / h], for example.

また、記録部110のバッファはFIFOとして構成されており、記録されるデータがバッファ容量の上限に達した場合は、記録時間の古いデータから破棄する。   Further, the buffer of the recording unit 110 is configured as a FIFO, and when the recorded data reaches the upper limit of the buffer capacity, the data with the oldest recording time is discarded.

車両11の運転中に、イベント検出部140がイベントを検出した場合は(S107)、制御部100は、記録部110に記録されている画像データ及び走行データから、イベントが検出された時刻の前後の所定時間(例えば、前後15秒間)のデータを抽出して、抽出したデータをファイルとしてメモリカード30に書き込む処理を実行する。   When the event detection unit 140 detects an event during the driving of the vehicle 11 (S107), the control unit 100 detects before and after the time when the event is detected from the image data and the travel data recorded in the recording unit 110. The data for a predetermined time (for example, 15 seconds before and after) is extracted, and the extracted data is written in the memory card 30 as a file.

なお、イベント検出部140は、例えば、前後G又は横Gが0.8G以上となった場合に、イベントが発生したことを検出する。イベントが検出されない場合は、画像データ及び走行データの記録を継続する(S107)。   Note that the event detection unit 140 detects that an event has occurred, for example, when the front and rear G or the lateral G is 0.8 G or more. If no event is detected, recording of image data and running data is continued (S107).

イベントが発生したことが検出された場合は、制御部100は、イベントが検出された時刻の前後の所定時間のデータを抽出し、抽出したデータにファイル名を付与する。ファイル名は、例えば日時(日、時、分、秒)やGPSの緯度経度情報など、メモリカード30の中で一意となる文字列を設定する。   When it is detected that an event has occurred, the control unit 100 extracts data for a predetermined time before and after the time when the event is detected, and assigns a file name to the extracted data. As the file name, for example, a character string that is unique in the memory card 30 such as date / time (day, hour, minute, second) or GPS latitude / longitude information is set.

次に、暗号化キー取得部150は、ユーザIDと設定されたファイル名とから、暗号キーを取得する。暗号化キー取得部150は、ユーザID及びファイル名に含まれる文字列から一意の数値を生成し、これを暗号化キーとして生成する。暗号化部160は、生成された暗号化キーを用いて、ファイルの一部を暗号化する(S108)。   Next, the encryption key acquisition unit 150 acquires an encryption key from the user ID and the set file name. The encryption key acquisition unit 150 generates a unique numerical value from the character string included in the user ID and the file name, and generates this as an encryption key. The encryption unit 160 encrypts a part of the file using the generated encryption key (S108).

次に、制御部100は、暗号化部160によって暗号化されたデータを、メモリカードインタフェース170を介して、ファイルとしてメモリカード30に書き込む(S109)。メモリカード30は、書き込まれたファイルを記録する(S110)。   Next, the control unit 100 writes the data encrypted by the encryption unit 160 to the memory card 30 as a file via the memory card interface 170 (S109). The memory card 30 records the written file (S110).

車両の運転が終了した後に、ユーザは、メモリカード30をドライブレコーダ10から取り外して、PC20のメモリカードインタフェース21に挿入する(S111)。   After driving the vehicle, the user removes the memory card 30 from the drive recorder 10 and inserts it into the memory card interface 21 of the PC 20 (S111).

PC20において、制御部210は、メモリカードインタフェース21にメモリカード30が挿入されたことを検出すると、メモリカード30に記録されているユーザIDとファイル名とを取得する(S112)。   In the PC 20, when the control unit 210 detects that the memory card 30 is inserted into the memory card interface 21, the control unit 210 acquires the user ID and the file name recorded in the memory card 30 (S112).

次に、復号化部250は、取得したユーザID及びファイル名から復号化キーを取得し、取得した復号化キーを用いてファイルを復号化する(S113)。復号化部250は、前述の暗号化キー取得部150と同様の処理により、ファイル名とユーザIDとから暗号化鍵と同一の復号化キーを取得して、この復号化キーによって暗号化されたファイルを復号化する。   Next, the decryption unit 250 obtains a decryption key from the obtained user ID and file name, and decrypts the file using the obtained decryption key (S113). The decryption unit 250 obtains the same decryption key as the encryption key from the file name and the user ID by the same process as the encryption key acquisition unit 150 described above, and is encrypted with this decryption key. Decrypt the file.

そして、制御部210は、ユーザからの画像データ再生の要求に基づいて、メモリカード30に記録されたファイルを順次複合化して、画像データを再生する(S114)。   Then, based on a request for image data reproduction from the user, the control unit 210 sequentially combines the files recorded on the memory card 30 and reproduces the image data (S114).

次にファイルの暗号化について説明する。   Next, file encryption will be described.

図5は、ドライブレコーダがメモリカード30に記録するファイルの構造を示す説明図である。   FIG. 5 is an explanatory diagram showing the structure of a file recorded on the memory card 30 by the drive recorder.

ファイルは、主に走行データを記録する走行データ部50と、画像データを記録する画像データ部60とから構成される。画像データ部60は、複数のJPEG画像データ61が時系列順に連続して記録され、一連のJPEG画像データによって動画として再生可能なデータを構成する。   The file mainly includes a travel data unit 50 that records travel data and an image data unit 60 that records image data. In the image data section 60, a plurality of JPEG image data 61 is continuously recorded in chronological order, and constitutes data that can be reproduced as a moving image by a series of JPEG image data.

走行データ部50は、ファイル名を示すファイル名フィールド52と、走行データ部50のファイルサイズを示すファイルサイズフィールド53と、ドライブレコーダ10によって取得された走行データが記録されるデータ部54とからなる。   The travel data unit 50 includes a file name field 52 indicating a file name, a file size field 53 indicating the file size of the travel data unit 50, and a data unit 54 in which travel data acquired by the drive recorder 10 is recorded. .

画像データ部61は、ファイル名を示すファイル名フィールド62と、画像データ部61のファイルサイズを示すファイルサイズフィールド63と、JPEGデータであることを示す情報が格納されるJPEGデータヘッダ部64と、ドライブレコーダ10によって取得された画像データであるJPEG画像のデータが記録されるJPEGデータ部65とからなる。   The image data part 61 includes a file name field 62 indicating a file name, a file size field 63 indicating a file size of the image data part 61, a JPEG data header part 64 in which information indicating JPEG data is stored, It comprises a JPEG data section 65 in which JPEG image data, which is image data acquired by the drive recorder 10, is recorded.

このように生成されるファイル構造のうち、暗号化部160は、走行データ部50の全て、画像データ部61のファイル名フィールド62、ファイルサイズフィールド63及びJPEGデータヘッダ部64を暗号化する。   Of the file structure generated in this way, the encryption unit 160 encrypts all of the travel data unit 50, the file name field 62, the file size field 63, and the JPEG data header unit 64 of the image data unit 61.

暗号化部160は、これら走行データ部50、ファイル名フィールド62、ファイルサイズフィールド63及びJPEGデータヘッダ部64について、それぞれ16進数表記したときの各バイトを暗号化キーによってシフトした文字列に変換することによって暗号化を行う。暗号化キーは後述するように0〜255の数値となっており、これらのデータを構成する各バイトをそれぞれ暗号化キーによってシフトすることによって、ファイルが、第三者によって解読することが極めて困難なデータとなる。   The encryption unit 160 converts each byte in hexadecimal notation for the travel data unit 50, the file name field 62, the file size field 63, and the JPEG data header unit 64 into a character string shifted by the encryption key. Encryption. The encryption key is a numerical value of 0 to 255 as will be described later, and it is extremely difficult for a third party to decrypt the file by shifting each byte constituting the data by the encryption key. Data.

さらに、暗号化部160は、JPEGデータ部65の先頭から所定のバイト数のみ暗号化を行う。具体的には、JPEGデータ部65の先頭から、0〜255の暗号化キーに対応するバイト数(1〜256)までを、暗号化キーによってシフトした文字列に変換する。   Further, the encryption unit 160 encrypts only a predetermined number of bytes from the top of the JPEG data unit 65. Specifically, the number of bytes (1 to 256) corresponding to the encryption key of 0 to 255 from the top of the JPEG data portion 65 is converted into a character string shifted by the encryption key.

このようにして、暗号化部160は、走行データ部50と、ファイルに含まれる全ての画像データ61について、その先頭部分の暗号化を行う。   In this way, the encryption unit 160 encrypts the head portion of the travel data unit 50 and all the image data 61 included in the file.

この処理によって、JPEGデータであることを示すJPEGデータヘッダ部64とJPEGデータ部65との境界が、第三者によって取得することが極めて困難となる。さらに、不定長のファイル形式であるJPEGデータのファイルサイズを示す情報であるファイルサイズフィールド63も暗号化されているため、第三者は、ファイルからJPEGデータを解読して取得することが極めて困難となる。   This process makes it extremely difficult for a third party to obtain the boundary between the JPEG data header portion 64 and the JPEG data portion 65, which indicates JPEG data. Furthermore, since the file size field 63, which is information indicating the file size of JPEG data, which is an indefinite length file format, is also encrypted, it is extremely difficult for a third party to decrypt and acquire the JPEG data from the file. It becomes.

図6は、本発明の実施形態の暗号化キーを取得するために用いる暗号化テーブルの一例である。   FIG. 6 is an example of an encryption table used for acquiring the encryption key according to the embodiment of this invention.

暗号化キー取得部150は、まず、設定されたファイル名及びユーザIDから、0〜255の一意の値を設定する。この値の設定には例えばハッシュ関数を用いた公知の手法によって行われる。そして、設定された一意の値から、図6に示すようなテーブルを用いて0〜255の一意の値を設定する。   The encryption key acquisition unit 150 first sets a unique value from 0 to 255 from the set file name and user ID. This value is set by a known method using a hash function, for example. And the unique value of 0-255 is set from the set unique value using a table as shown in FIG.

例えば、このテーブルの先頭から設定した一意の値の値だけシフトした位置の数値を抽出し、この値を暗号化キーとして取得する。   For example, a numerical value at a position shifted by a unique value set from the top of this table is extracted, and this value is acquired as an encryption key.

このように、ファイル名及びユーザIDから設定した一意の値ではなく、予め設定したテーブルによって暗号化キーを取得するので、暗号化キーが解読されにくい。   As described above, since the encryption key is acquired not by the unique value set from the file name and the user ID but by a preset table, the encryption key is difficult to be decrypted.

以上のように、本発明の実施形態では、走行中の車両11に備えられたカメラ12により画像データを取得し、イベント検出部140によって衝撃などのイベントが検出されたときに画像データをメモリカード30に記録するドライブレコーダにおいて、画像データの読み取り、改ざんを防止するため、記録するファイルを暗号化部160によって暗号化を施すように構成した。   As described above, in the embodiment of the present invention, image data is acquired by the camera 12 provided in the running vehicle 11, and the image data is stored in the memory card when an event such as an impact is detected by the event detection unit 140. In the drive recorder for recording to 30, the file to be recorded is encrypted by the encryption unit 160 in order to prevent reading and falsification of the image data.

従来、画像データはファイルサイズが大きいため、画像データを暗号化する処理のために多くの時間が必要となるという問題や、暗号化を高速に行うためのハードウェアの追加することによるコストの増加という問題があった。   Conventionally, image data has a large file size, so it takes a lot of time to encrypt the image data, and the cost increases due to the addition of hardware for high-speed encryption There was a problem.

これに対して本発明の実施形態では、画像データの全てを暗号化するのではなく、画像データの一部のみを暗号化するように構成した。   On the other hand, in the embodiment of the present invention, not all of the image data is encrypted, but only a part of the image data is encrypted.

このように構成することによって、画像データの暗号化処理に要する時間を短縮でき、暗号化処理に必要な処理能力を必要最小限に抑えることができるため、ドライブレコーダ10の製造コストを上昇することなく、画像データの改ざんを防止することができる。   With this configuration, the time required for the image data encryption process can be shortened, and the processing capability required for the encryption process can be minimized, which increases the manufacturing cost of the drive recorder 10. Therefore, it is possible to prevent image data from being falsified.

特に、画像データがJPEG画像を含むデータである場合は、JPEGデータのヘッダ情報と、ヘッダ情報と画像情報部分の境界を含んで暗号化をおこない、さらに、暗号化キーによる不定長の領域を暗号化するので、ファイルに含まれる画像データの領域やサイズが第三者に取得されることが困難となり、画像データの改ざんを防止することができる。   In particular, when the image data includes JPEG images, encryption is performed including the header information of the JPEG data and the boundary between the header information and the image information portion, and further, an indefinite length area is encrypted using the encryption key. Therefore, it becomes difficult for a third party to acquire the area and size of the image data included in the file, and the image data can be prevented from being falsified.

なお、以上説明した本実施形態では、画像データのファイル形式の一例としてJPEGファイルに記録される例を示したが、他の画像形式でも同様に適用することができる。   In the above-described embodiment, an example in which a JPEG file is recorded as an example of the file format of image data has been described. However, other image formats can be similarly applied.

例えば、画像データをMPEGファイル形式として記録し、MPEGファイルに含まれるヘッダ情報やI−Pictureの境界部分を含んで不定長の暗号化を行うことによって、同様にファイルに含まれる画像データの領域やサイズが第三者に取得されることが困難となり、画像データの改ざんを防止することができる。   For example, by recording image data in the MPEG file format and performing indefinite length encryption including the header information included in the MPEG file and the boundary portion of I-Picture, the area of the image data included in the file is It becomes difficult for a third party to obtain the size, and tampering of the image data can be prevented.

本発明は上記した実施形態に限定されるものではなく、その技術的思想の範囲内でなしうるさまざまな変更、改良が含まれることは言うまでもない。   It goes without saying that the present invention is not limited to the above-described embodiments, and includes various modifications and improvements that can be made within the scope of the technical idea.

1 ドライブレコーダシステム
10 ドライブレコーダ
11 車両
12 カメラ
20 パーソナルコンピュータ(PC)
30 メモリカード
100 制御部
150 暗号化キー取得部
160 暗号化部
250 復号化部
1 Drive Recorder System 10 Drive Recorder 11 Vehicle 12 Camera 20 Personal Computer (PC)
30 Memory Card 100 Control Unit 150 Encryption Key Acquisition Unit 160 Encryption Unit 250 Decryption Unit

Claims (6)

車両走行時の画像情報を取得する画像情報取得手段と、前記車両に発生した衝撃を検出する衝撃検出手段と、前記衝撃検出手段が衝撃を検出したときに前記画像情報取得手段が取得した画像情報を記録手段に記録する画像情報記録手段と、を備えるドライブレコーダであって、
前記画像情報記録手段は、前記画像情報を前記記録手段に記録するときに、前記画像情報の一部のみを暗号化する暗号化手段を備え、
前記暗号化手段は、暗号化鍵を設定し、前記画像情報を、設定された前記暗号化鍵に基づいて不定長に設定される所定のサイズのみを暗号化することを特徴とするドライブレコーダ。
Image information acquisition means for acquiring image information during vehicle travel, impact detection means for detecting an impact generated in the vehicle, and image information acquired by the image information acquisition means when the impact detection means detects an impact An image information recording means for recording the information on the recording means,
The image information recording means includes an encryption means for encrypting only a part of the image information when the image information is recorded in the recording means,
The drive recorder is characterized in that an encryption key is set, and the image information is encrypted only for a predetermined size set to an indefinite length based on the set encryption key .
前記暗号化手段は、前記衝撃検出手段が衝撃を検出した日時及び場所の少なくとも一つに基づいて、前記暗号化鍵を設定することを特徴とする請求項1に記載のドライブレコーダ。 2. The drive recorder according to claim 1, wherein the encryption unit sets the encryption key based on at least one of a date and a place where the impact detection unit detects an impact. 前記画像情報はJPEG画像を含んでおり、前記暗号化手段は、前記JPEG画像と、前記JPEG画像のヘッダ情報との境界を含んで暗号化することを特徴とする請求項1又は2に記載のドライブレコーダ。 The image information includes a JPEG image, and the encryption unit encrypts data including a boundary between the JPEG image and header information of the JPEG image. Drive recorder. 前記画像情報はMPEG動画を含んでおり、前記暗号化手段は、前記MPEG動画と、前記MPEG動画のヘッダ部分との境界部分を含んで暗号化することを特徴とする請求項1又は2に記載のドライブレコーダ。 3. The image information according to claim 1 or 2, wherein the image information includes an MPEG moving image, and the encryption unit includes a boundary portion between the MPEG moving image and a header portion of the MPEG moving image. drive recorder. 車両走行時の画像情報を取得する画像情報取得手段と、前記車両に発生した衝撃を検出する衝撃検出手段と、前記衝撃検出手段が衝撃を検出したときに前記画像情報取得手段が取得した画像情報を記録手段に記録する画像情報記録手段と、前記画像情報記録手段は、前記画像情報を前記記録手段に記録するときに、前記画像情報の一部のみを暗号化する暗号化手段と、を備え、前記暗号化手段は、暗号化鍵を設定し、前記画像情報を、設定された前記暗号化鍵に基づいて不定長に設定される所定のサイズのみを暗号化するドライブレコーダと、  Image information acquisition means for acquiring image information during traveling of the vehicle, impact detection means for detecting an impact generated in the vehicle, and image information acquired by the image information acquisition means when the impact detection means detects an impact Image information recording means for recording the image information on the recording means, and the image information recording means comprises encryption means for encrypting only a part of the image information when the image information is recorded on the recording means. The encryption means sets an encryption key, and encrypts the image information only to a predetermined size set to an indefinite length based on the set encryption key; and
前記記録手段に記録された画像情報を復号化する復号化手段と、前記復号化手段によって復号化された画像情報を再生する画像再生装置と、  A decoding means for decoding the image information recorded in the recording means; an image reproduction apparatus for reproducing the image information decoded by the decoding means;
を備えることを特徴とするドライブレコーダシステム。  A drive recorder system comprising:
前記暗号化手段は、前記衝撃検出手段が衝撃を検出した日時及び場所の少なくとも一つに基づいて設定された暗号化鍵に基づいて、前記画像情報の所定のサイズのみを暗号化し、
前記復号化手段は、前記記録手段に記録された画像情報に含まれる情報に基づいて設定された復号化鍵に基づいて、前記画像情報を復号化することを特徴とする請求項5に記載のドライブレコーダシステム。
The encryption means encrypts only a predetermined size of the image information based on an encryption key set based on at least one of the date and place where the impact detection means detected the impact,
6. The decryption unit according to claim 5, wherein the decryption unit decrypts the image information based on a decryption key set based on information included in the image information recorded in the recording unit. Drive recorder system.
JP2011018678A 2011-01-31 2011-01-31 Drive recorder and drive recorder system Expired - Fee Related JP5616810B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011018678A JP5616810B2 (en) 2011-01-31 2011-01-31 Drive recorder and drive recorder system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011018678A JP5616810B2 (en) 2011-01-31 2011-01-31 Drive recorder and drive recorder system

Publications (2)

Publication Number Publication Date
JP2012159979A JP2012159979A (en) 2012-08-23
JP5616810B2 true JP5616810B2 (en) 2014-10-29

Family

ID=46840470

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011018678A Expired - Fee Related JP5616810B2 (en) 2011-01-31 2011-01-31 Drive recorder and drive recorder system

Country Status (1)

Country Link
JP (1) JP5616810B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3641214A1 (en) * 2017-06-16 2020-04-22 Sony Semiconductor Solutions Corporation Signal processing device and method, and program
JP7013921B2 (en) 2018-02-19 2022-02-01 株式会社デンソー Verification terminal
JP7031374B2 (en) 2018-03-01 2022-03-08 株式会社デンソー Verification terminal, verification system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005178494A (en) * 2003-12-18 2005-07-07 Kayaba Ind Co Ltd Drive recorder
JP4982215B2 (en) * 2007-03-14 2012-07-25 株式会社トヨタIt開発センター Encryption communication system, encryption communication method, encryption communication program, in-vehicle terminal, and server
JP2008294770A (en) * 2007-05-24 2008-12-04 Nec Electronics Corp Encryption device, decryption device, encryption method and decryption method

Also Published As

Publication number Publication date
JP2012159979A (en) 2012-08-23

Similar Documents

Publication Publication Date Title
JP5086501B2 (en) Method for recording a scrambled MPEG stream
EP3232364B1 (en) Image encryption method, image viewing method, terminals and computer storage media
CN1268127C (en) Copy prevention method, treatment apparatus and record medium for digital video system
CN1431622B (en) Image verification system, its appaturas and method
EP2330533A1 (en) Recording/reproducing system, recording medium device, and recording/reproducing device
US20070297602A1 (en) Multimedia output device having embedded encryption functionality
JP2005065262A5 (en)
JP2005065262A (en) Transmission method of event marker
JP5399377B2 (en) Method and apparatus for supporting change of content key
CN1581010A (en) Access control for digital content
JP2009070026A (en) Recording device, verification device, reproduction device, recording method, verification method, and program
JP2011077899A (en) Display device, drive recorder, display method and program
KR101371834B1 (en) Method and system for the secured distribution of audiovisual data by transaction marking
JP5616810B2 (en) Drive recorder and drive recorder system
US11445143B2 (en) Method and system for cooperatively collecting video data from driving recorders
US8243926B2 (en) Transport stream encryption device and its editing device and method for use therein
CN102496378B (en) Control method, recording device, recording and reproducing device
US10783278B2 (en) Signature generation device, signature verification device, signature generation method, and signature verification method
JP2010074339A (en) Image storage device
JP5424861B2 (en) Drive recorder, recording method and program
JP2012169856A (en) Image recording device and drive recorder system
US20090089589A1 (en) Information processing apparatus for protected data files and information processing method thereof
JP2009027503A (en) Imaging apparatus, alteration detecting method, and alteration detecting device
JP5688306B2 (en) Image recording apparatus and drive recorder system
JP5836169B2 (en) Drive recorder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140527

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140801

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140912

R151 Written notification of patent or utility model registration

Ref document number: 5616810

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees