摘要 |
Provided is a method of storing accident data for a vehicle, in which image data taken by a camera during driving is stored in real time, a weight value is set according to a measured impulse value to calculate a priority index and data is stored in a memory based on the priority index, thereby preventing initial accident-cause data from being deleted over time. The method includes acquiring driving data including image data, setting a weight value corresponding to an average impulse value and calculating a priority index, selecting a block having a lowest priority index and storing the driving data in the selected block if the capacity of the volatile memory is full, determining whether a timer starts, and reading out all data stored in the volatile memory and storing the read data in the non-volatile memory if the predetermined amount of time has elapsed.
|