DOI QR코드

DOI QR Code

A Design and Implementation for a Reliable Data Storage in a Digital Tachograph

디지털 자동차운행기록계에서 안정적인 데이터 저장을 위한 설계 및 구현

  • 백승훈 (중원대학교 컴퓨터시스템공학과) ;
  • 손명희 (한국전자통신연구원 SW-SoC 융합기획연구팀)
  • Received : 2012.06.01
  • Accepted : 2012.08.29
  • Published : 2012.11.30

Abstract

The digital tachograph is a device that automatically records speed and distance of a vehicle, together with the driver's activity and vehicle status at an accident. It records vehicle speed, break status, acceleration, engine RPM, longitude and latitude of GPS, accumulated distance, and so on. European Commission regulation made digital tachographs mandatory for all trucks from 2005. Republic of Korea made digital tachographs mandatory for all new business vehicles from 2011 and is widening the range of vehicles that must install digital tachographs year by year. This device is used to analyze driver's daily driving information and car accidents. Under a car accident that makes the device reliability unpredictable, it is very important to store driving information with maximum reliability for its original mission. We designed and implemented a practical digital tachograph. This paper presents a storage scheme that consists of a first storage device with small capacity at a high reliability and a second storage device with large capacity at a low cost in order to reliably records data with a hardware at a low cost. The first storage device records data in a SLC NAND flash memory in a log-structured style. We present a reverse partial scan that overcomes the slow scan time of log-structured storages at the boot stage. The scheme reduced the scan time of the first storage device by 1/50. In addition, our design includes a scheme that fast stores data at a moment of accident by 1/20 of data transfer time of a normal method.

디지털 자동차운행기록계는 교통안전법에 따라 자동차의 운행상황과 교통사고 상황과 함께 자동차의 속도, 거리, 브레이크 상황, 가속도, GPS 위치 등을 자동적으로 저장장치에 기록하는 장치이다. 유럽에서는 디지털 자동차운행기록계 장착이 2005년부터 모든 트럭에게 의무화되어 있고, 대한민국은 2011년부터 신규로 등록되는 사업용 차량은 의무적으로 장착해야 하며, 해가 지날수록 의무적으로 장착해야하는 자동차의 범위가 확대되어가고 있다. 이 장치는 운전자의 일일 운행 현황 분석 및 사고 분석을 위하여 사용된다. 자동차 사고는 장치의 안정성을 예측불가능하게 한다. 그래서 불확실한 상황아래에서 최대한 안정적으로 데이터를 저장할 수 있는 기술은 매우 중요하다. 우리는 실제 디지털 자동차 운행기록계를 설계하고 구현하였다. 본 논문은 이 장치의 설계와 구현에 있어서 저비용의 하드웨어 자원으로 안전하게 대용량 데이터를 저장하기 위해서 저용량이지만 안정적인 1차 저장장치와 대용량을 저비용으로 구현한 2차 저장장치로 구성된 계층적 저장 기법을 제안한다. 1차 저장장치는 용량이 SLC 낸드 플래시 메모리를 사용하여 로그 구조 형식으로 데이터를 저장한다. 로그 구조의 단점인 느린 부팅 문제를 해결하기 위해 역방향 부분 검색 기법을 제시한다. 이 방법은 1차 저장장치의 부팅 시간을 50분의 1로 감소시킨다. 추가적으로 사고 순간의 데이터를 신속하게 데이터를 저장하는 기법도 제시한다. 이 방법으로 저비용의 내장형 시스템에서 사고순간의 운행기록 시간을 일반적인 방법의 저장시간의 1/20만큼 단축하였다.

Keywords

References

  1. Ministry of Land, Transport and Maritime Affairs, "Management guidelines on driving record and devices", Notification 2010-667 of Ministry of Land, Transport and Maritime Affairs, September, 2010.
  2. K. Lemke, C. Paar, and M. Wolf, "Embedded Security in Cars", Springer. 2006.
  3. Serim Park, "Mandatory of installing digital tachographs for commercial cars", ITToday, July 22, 2010.
  4. M. Cao, T. Y. Ts'o, B, Pulavarty, S. Bhattacharya, A. Dilger, and A. Tomas, "State of the Art: Where we are with the Ext3 filesystem", Proc. of the Linux Symposium, pp.69-96, July, 2005.
  5. A. Mathur, M. Cao, S. Bhattacharya, A. Dilger, and A. Tomas, "The new ext4 filesystem: current status and future plans", Proc. of the Linux Symposium, pp.21-33. June, 2007.
  6. Daniel Robbins, "Common threads: Advanced filesystem implementor's guide, Part 9, Introducing XFS". Developer Works. IBM. Jan., 2002.
  7. R. Russon and Y. Fledel, "NTFS Documentation", http://www.sourceforge.net, June, 2004.
  8. S. Best, "JFS Overview", IBM, Jan., 2000.
  9. D. Woodhouse, "JFFS: The journaling flash file system", Proc. of the Linux Symposium, 2001.
  10. C. Manning, "YAFFS: Yet Another Flash File System", http://www.aleph1.co.uk/yaffs, 2004.
  11. S.H. Lim, K.H. Kim, "An Efficient NAND Flash File System for Flash Memory Storage", IEEE Trans. on Computers, pp.906-912, Vol.55, No.7, July, 2006. https://doi.org/10.1109/TC.2006.96
  12. C.C. Wu, "Quality Comparison of SLC, MLC and eMLC", Flash Memory Summit, Aug., 2011.
  13. Michael Abraham, "NAND Flash Trends for SSD/Enterprise", Flash Memory Summit 2010 proceedings, August, 2010.

Cited by

  1. An Improved Vehicle Data Format of Digital Tachograph vol.18, pp.8, 2013, https://doi.org/10.9708/jksci.2013.18.8.077