KR20180101848A - Black Box for Cars Capable of High-Speed Booting and Recording Method thereof - Google Patents
Black Box for Cars Capable of High-Speed Booting and Recording Method thereof Download PDFInfo
- Publication number
- KR20180101848A KR20180101848A KR1020170028308A KR20170028308A KR20180101848A KR 20180101848 A KR20180101848 A KR 20180101848A KR 1020170028308 A KR1020170028308 A KR 1020170028308A KR 20170028308 A KR20170028308 A KR 20170028308A KR 20180101848 A KR20180101848 A KR 20180101848A
- Authority
- KR
- South Korea
- Prior art keywords
- card
- image
- black box
- camera unit
- memory
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/02—Registering or indicating driving, working, idle, or waiting time only
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C15/00—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores
- G11C15/04—Digital stores in which information comprising one or more characteristic parts is written into the store and in which information is read-out by searching for one or more of these characteristic parts, i.e. associative or content-addressed stores using semiconductor elements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Studio Devices (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
본 발명은 차량에 설치되는 블랙박스에 관한 것으로 전원이 공급되고 카메라부의 초기화가 완료되면 아직 SD 카드가 마운트 되기 전이라도 영상을 촬영하여 저장할 수 있는 차량용 블랙박스 및 그 촬영방법에 관한 것이다.The present invention relates to a black box mounted on a vehicle, and more particularly, to a black box for a vehicle and a method of photographing the same, which can capture and store an image even before the SD card is mounted, even when power is supplied and the camera unit is initialized.
차량에 설치되는 블랙박스는 카메라를 이용하여 차량의 전방 상태를 동영상으로 녹화할 뿐만 아니라 차량에 설치된 각종 센서를 이용하여 이벤트가 발생할 경우에 스틸 이미지(Still Image) 등을 저장한다. 한편, 블랙박스는 디스플레이나 입력부 등의 사용자 인터페이스를 구비하여 사용자로부터 각종 제어명령을 입력받을 수 있다. The black box installed in the vehicle not only records the forward state of the vehicle as a moving picture by using a camera but also stores a still image or the like when an event occurs using various sensors installed in the vehicle. On the other hand, the black box includes a user interface such as a display or an input unit, and receives various control commands from a user.
도 1에는 차량(10) 내에 설치된 블랙박스(100)를 도시하고 있다. 통상 블랙박스(100)는 차량(10)의 전방 유리창 내에 설치되어 유리창 전방의 상황을 촬영하여 녹화한다. Fig. 1 shows a
종래의 블랙박스(100)는 기능적으로 카메라부(101), 메모리(103), SD 카드(105) 및 제어부(110)를 포함한다. 카메라부(101)는 광학 렌즈와 이미지 센서를 포함하며, 메모리(103)는 휘발성 메모리인 램(RAM)으로서 통상 DDR(Double Data Rate) 램을 사용한다. SD 카드(105)는 블랙박스(100)에 마련된 카드 슬롯(Card Slot)에 장착 및 탈착이 용이한 형태의 저장수단으로서, 비휘발성 플래시(Flash) 메모리가 사용된다. 제어부(110)의 제어에 따라, 카메라부(101)는 기설정된 초당 프레임(Frame) 속도(예컨대, 초당 16 프레임)로 이미지를 생성한다. 카메라부(101)가 촬영한 이미지는 우선 메모리(103)에 임시 저장되었다가 SD 카드(105)로 옮겨진다. SD 카드(105)에 저장된 복수 개의 이미지 파일들은 기설정된 시간(예컨대 1분) 단위로 하나의 동영상 파일로 만들어져 관리된다. The conventional
종래의 블랙박스는 통상 차량의 배터리를 동작 전원으로 사용하는데, (1) 배터리의 방전 등을 고려하여 차량이 운전 중인 경우에만 전원을 공급받아 동작하는 방식과 (2) 차량 자체의 운전 상태와 무관하게 차량의 배터리로부터 전원을 공급받아 상시 동작하는 방식이 있다. 일반적으로 차량을 매일 운행하지 않는 경우에는 차량의 배터리 방전을 고려하여 (1)의 방식으로, 차량 운행 중에만 연결되는 차량 내 스위치 단자에 블랙박스의 전원 단자가 연결됨으로써 블랙박스가 차량 운행 중에만 전원을 공급받아 동작하는 것이 일반적이다. Conventionally, a black box uses a battery of a vehicle as an operation power source. The battery is operated by supplying power to the vehicle only when the vehicle is in operation in consideration of the discharge of the battery, and the like. (2) There is a method in which the power is supplied from the battery of the vehicle and is always operated. Generally, when the vehicle is not operated daily, the power terminal of the black box is connected to the switch terminal in the vehicle connected only during the vehicle operation in the manner of (1), taking into account the battery discharge of the vehicle, It is general to operate with power supply.
어떤 경우라도, 블랙박스에 처음 전원이 공급되면, 블랙박스는 내부 하드웨어 구성을 체크하고 메모리(103) 상태나 저장매체의 동작 상태를 점검하는 부팅 프로세스(Booting Process)를 수행하며, 부팅 프로세스 동안에 SD 카드(105)도 마운팅(Mounting) 된다. 여기서, SD 카드(105)의 마운팅은 제어부(110)가 SD 카드(105)에 저장된 데이터를 읽거나 SD 카드(105)에 데이터를 쓸 수 있는 상태를 말하는 것으로서, SD 카드(105)의 마운팅 프로세스는 제어부(110)가 SD 카드(105)의 파일 시스템 등을 확인하여 읽기 또는 쓰기에 필요한 정보를 확인하는 과정이다. In any case, when the black box is first powered up, the black box checks the internal hardware configuration and performs a booting process to check the memory 103 state or the operating state of the storage medium, The
이때 SD 카드(105)의 마운팅(Mounting)에는 상당한 시간이 필요하다. 그 이유들 가운데 하나는 SD 카드(105)가 FAT(File Allocation Table)라고 하는 파일 시스템을 사용하기 때문이다. FAT 방식은 단순한 자료 구조를 이용함에 따라 쓰기나 읽기 동작에 상대적으로 많은 시간이 소요되고 작은 파일이 많이 저장되어 있으면 저장공간을 잘 활용하지 못하는 문제가 있다. 부팅 프로세스 중에 제어부(110)는 SD 카드(105)의 파일 저장 상태를 모두 점검해야 하기 때문에 거의 10초 이상이 소요된다. 종래의 블랙박스(100)의 부팅 프로세스 중에 가장 시간이 많이 소요되는 것이 SD 카드(105)의 마운트이므로, SD 카드(105)가 마운트 되면 블랙박스(100)의 부팅도 완료된다. 종래의 블랙박스(100)는 SD 카드(105)의 마운팅이 완료되어야, 비로소 카메라부(101)가 생성하는 이미지를 메모리(103)를 거쳐 SD 카드(105)에 저장하게 된다. At this time, a considerable time is required for mounting the
카메라부(101)는 내부 레지스터(Register)에 저장된 기본 파라미터(Default Parameter) 등을 읽어 오는데 필요한 대략 1초 이내에 초기화가 완료된다. 따라서 카메라부(101)는 초기화 직후에 바로 이미지를 생성할 수 있지만 SD 카드(105)가 마운팅될 때까지는 이미지를 저장하지 못하기 때문에, 블랙박스(100)는 SD 카드(105)의 마운팅이 완료된 이후에 카메라부(101)가 이미지를 생성하도록 제어한다. 따라서 블랙박스(100)는 전원 공급에 따라 동작이 개시된 후에도 영상이 촬영되지 않는 수 초(Seconds)간의 블랙 타임(Black Time)이 생긴다. 블랙박스(100)가 예측할 수 없는 상황을 대비하기 위한 것인 점을 고려하면, 종래의 블랙박스(100)가 가지는 블랙 타임은 치명적일 수 있다. The
[관련선행기술][Related Prior Art]
대한민국 공개특허 제10-2011-0107084호(차량용 블랙박스 시스템)Korean Patent Publication No. 10-2011-0107084 (Black Box System for Vehicle)
본 발명의 목적은, 전원이 공급되고 카메라부의 초기화가 완료되면 아직 SD 카드가 마운트 되기 전이라도 영상을 촬영하여 저장할 수 있는 차량용 블랙박스 및 그 촬영방법을 제공함에 있다. An object of the present invention is to provide a black box for a vehicle and a method of shooting the same, which can capture and store images even before the SD card is mounted, even when power is supplied and the camera unit is initialized.
상기 목적을 달성하기 위해 본 발명에 따른 차량용 블랙박스는 차량에 설치되어 전방을 촬영한 동영상 파일을 생성할 수 있다. 본 발명의 블랙박스는, 전방을 촬영하여 디지털 이미지를 생성하는 카메라부와, 상기 카메라부가 촬영한 디지털 이미지가 임시 저장되는 메모리와, 상기 동영상 파일이 최종 저장되는 비휘발성 메모리인 SD 카드와, 기설정된 시간 단위로 상기 SD 카드에 저장된 복수 개의 상기 디지털 이미지를 합성하여 상기 동영상 파일로 저장하는 제어부를 포함한다. In order to achieve the above object, a vehicle black box according to the present invention is installed in a vehicle and can generate a moving image file photographed forward. A black box according to the present invention is a black box comprising: a camera section for photographing a front side to generate a digital image; a memory for temporarily storing a digital image photographed by the camera section; an SD card which is a nonvolatile memory in which the moving image file is finally stored; And a controller for synthesizing a plurality of the digital images stored in the SD card in units of a predetermined time, and storing the combined digital images as the moving image file.
특별히, 제어부는, 전원이 공급되어 상기 카메라부의 초기화가 완료되면 상기 카메라부로 하여금 상기 이미지를 생성하도록 제1 제어를 수행하고, 상기 제1 제어로부터 상기 SD 카드의 마운팅 프로세스가 완료되기 전에 상기 카메라부가 생성한 이미지는 상기 메모리에 저장하였다가 상기 마운팅 프로세스가 완료된 후에 상기 SD 카드에 옮겨 저장함으로써 상기 SD 카드의 마운팅 프로세스가 완료되기 전에도 촬영을 개시할 수 있다.In particular, the control unit performs a first control such that the camera unit generates the image when power is supplied and the initialization of the camera unit is completed, and before the mounting process of the SD card is completed from the first control, The created image may be stored in the memory and transferred to the SD card after the mounting process is completed, thereby starting shooting even before the mounting process of the SD card is completed.
실시 예에 따라, 상기 SD 카드는, 데이터 영역의 첫 어드레스부터 마지막 어드레스까지 순차적으로 저장하고 마지막 어드레스에 데이터가 저장된 이후에는 상기 첫 어드레스부터 다시 순차적으로 덮어쓰는 방식의 순차 저장방식의 파일 시스템을 가짐으로써 상기 마운팅 프로세스 소요시간을 단축할 수 있다. According to an embodiment, the SD card has a sequential storage type file system in which data is sequentially stored from the first address to the last address of the data area and the data is stored in the last address, the data is sequentially overwritten from the first address again So that the time required for the mounting process can be shortened.
실시 예에 따라, 상기 제어부가 하드웨어인 프로세서 칩과 운영체제 프로그램으로 구현되는 경우에 상기 운영체제 프로그램은 실시간 운영체제(RTOS)를 사용함으로써, 전체 부팅 프로세스 시간 또는 제1 제어가 수행되는 시간을 종래에 비하여 현저하게 단축할 수 있다. According to an embodiment of the present invention, when the control unit is implemented with a processor chip and an operating system program which are hardware, the operating system program uses a real-time operating system (RTOS) Can be shortened.
당연히, 상기 메모리는 상기 제1 제어로부터 상기 SD 카드의 마운팅 프로세스의 완료까지 상기 카메라부가 생성한 이미지를 저장하기에 충분한 크기를 가지는 것이 바람직하다. Naturally, the memory preferably has a size sufficient to store the image generated by the camera from the first control to the completion of the mounting process of the SD card.
본 발명의 권리는 본 발명의 다른 실시 예에 따른 블랙박스의 촬영방법에도 미친다. 본 발명의 차량용 블랙박스의 촬영방법은, 전원 공급에 따라 카메라부가 초기화하는 단계와, 상기 카메라부가 초기화된 후 기설정된 프레임 속도로 디지털 이미지를 생성하여 메모리에 저장하였다가 SD 카드에 저장하는 단계를 포함한다. 특별히, 본 발명의 방법은, 제어부가 상기 초기화 후 SD 카드의 마운팅이 완료되기 전에 상기 카메라부가 생성하는 이미지를 상기 SD 카드가 마운트 될 때까지 상기 메모리에 저장하였다가 상기 SD 카드의 마운트 후에 일괄로 상기 SD 카드에 옮겨 저장하는 단계를 포함한다. The rights of the present invention also apply to a method of photographing a black box according to another embodiment of the present invention. A method of photographing a black box for a vehicle according to the present invention comprises the steps of initializing a camera unit according to power supply, generating a digital image at a preset frame rate after the camera unit is initialized, storing the digital image in a memory, . In particular, the method of the present invention is characterized in that the control unit stores the image generated by the camera unit before the SD card is mounted after the initialization in the memory until the SD card is mounted, And transferring the data to the SD card.
본 발명의 블랙박스는 SD 카드의 마운팅이 완료되기 전에도 촬영을 개시한 다음, SD 카드가 마운팅 된 직후에 SD 카드에 일괄 저장할 수 있다. 따라서 블랙박스에 전원이 공급한 직후부터 SD 카드의 마운트를 기다리지 않고 블랙 타임(Black Time) 없이 전방을 촬영할 수 있다. The black box of the present invention can also collectively store the SD card on the SD card immediately after the SD card is mounted after the photographing is started even before the mounting of the SD card is completed. Therefore, it is possible to shoot forward without black time without waiting for the SD card to be mounted immediately after power is supplied to the black box.
더 나아가, 본 발명의 블랙박스는 RTOS를 사용하여 부팅을 포함하는 전반적인 프로세스의 속도를 개선하였을 뿐만 아니라, SD 카드의 파일 시스템을 순차저장 방식의 파일 시스템을 적용함으로써 SD 카드 자체의 마운트 속도를 현저하게 개선하였다. 그럼에도, 카메라부의 초기화와 SD 카드의 마운트 소요시간 사이에 차이가 발생하는데, 본 발명의 블랙박스는 그 시간에도 전방을 촬영하고 이미지를 저장할 수 있어서, 블랙박스 동작의 블랙 타임을 제거하였다. Furthermore, the black box of the present invention not only improves the speed of the overall process including booting using the RTOS but also improves the mount speed of the SD card itself by applying a sequential file system of the SD card's file system Respectively. Nevertheless, a difference arises between the initialization of the camera unit and the time required to mount the SD card, and the black box of the present invention can capture images ahead of time and save images, thereby eliminating the black time of the black box operation.
도 1은 블랙박스가 설치된 차량을 도시한 개념도,
도 2는 본 발명의 일 실시 예에 따른 블랙박스의 블록도,
도 3은 본 발명의 블랙박스의 부팅 및 이미지 생성 동작 설명에 제공되는 흐름도, 그리고
도 4는 본 발명의 블랙박스의 SD 카드에 이미지 저장과정을 설명하는데 제공되는 흐름도이다. 1 is a conceptual diagram showing a vehicle equipped with a black box,
2 is a block diagram of a black box according to an embodiment of the present invention;
3 is a flow chart provided in the description of the boot and image generation operation of the black box of the present invention, and
4 is a flowchart provided to explain an image storing process in an SD card of a black box of the present invention.
이하 도면을 참조하여 본 발명을 더욱 상세히 설명한다.BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in more detail with reference to the drawings.
도 2를 참조하면, 본 발명의 블랙박스(Black-Box)(200)는 카메라부(210), 메모리(230), SD 카드(250) 및 제어부(270)를 포함하며, 차량(10)에 설치되어 전방을 촬영하여 녹화한다. 2, the
카메라부(210)는 광학 렌즈(211)와 이미지 센서(213)를 포함하며, 기설정된 프레임 속도(Frame Rate, 예컨대, 초당 16 프레임= 16 fps)로 디지털 이미지를 생성하여 메모리(230)에 저장한다. 광학 렌즈(211)와 이미지 센서(213)가 개별 구성으로 조립될 수도 있지만, 내부 레지스터(Register)와 함께 일체형 모듈로 제작되어 블랙박스(200) 내에 장착될 수도 있다. 카메라부(210)의 경우에 각종 파라미터(Parameter)를 설정하고 감마 테이블(Gamma Table) 등의 확인하는 초기화 과정이 부팅 프로세스(Booting Process) 중에 수행되며, 모듈 형태의 카메라부(210)는 내부 레지스터에 기본 설정값이 내장되어 있어서 전원 공급만으로 초기화가 진행되어 완료된다. 제어부(270)는 초기화 후에 필요에 따라 각종 파라미터를 변경하는 방법으로 카메라부(210)의 동작 모드 등을 제어할 수 있다. The
메모리(230)는 블랙박스(200)의 동작을 위해 필요한 휘발성 메모리인 램(RAM)으로서, DDR(Double Data Rate) SDRAM(Synchronous Dynamic RAM)을 많이 사용한다. 본 발명의 메모리(230)는 종래의 블랙박스(100)에 내장된 메모리(103)와 동일한 것이지만, 부팅 프로세스 중의 동작이 다르다. 다시 말해, 부팅 프로세스에 의해 SD 카드(250)가 마운팅(Mounting) 되지 않은 상태에서도, 메모리(230)에는 카메라부(210)가 제공하는 이미지가 저장되며, SD 카드(250)의 마운팅이 완료되면 제어부(270)가 그동안 메모리(230)에 저장한 이미지 파일을 한꺼번에 SD 카드(250)로 옮긴다. 이러한 기능은 제어부(270)에 의해 제어되며, SD 카드(250)와 함께 본 발명의 부팅 프로세스 시간을 단축 또는 블랙 타임의 제거를 위한 촬영을 가능하게 한다. The
SD 카드(250)는 비휘발성 플래시(Flash) 메모리로서 블랙박스(200)의 카드 슬롯(Card Slot)(251)에 장착 및 탈착할 수 있는 멀티미디어 카드(MMC: MultiMedia card)의 일종이며, SD 표준, SDHC(Secure Digital High Capacity) 표준, SDXC(Secure Digital eXtended Capacity) 표준, SDIO(Secure Digital Input Output) 표준 등을 따른다. 다만, 본 발명의 SD 카드(250)는 종래의 SD 카드가 일반적으로 적용하는 파일 시스템인 FAT(File Allocation Table) 계열의 파일 시스템을 적용하지 않고, 본 발명이 제시하는 순차 저장 파일 시스템을 사용한다. The
순차 저장 파일 시스템은 데이터 쓰기(Write) 명령에 따라 데이터가 저장되는 데이터 영역을 지정한 다음, 쓰기 명령이 입력되는 순서에 따라 데이터 영역의 첫 번째 어드레스부터 순차적으로 지정하여 저장하면서 모든 데이터 영역에 데이터를 기록한다. 모든 데이터 영역에 데이터가 기록된 이후에 다시 쓰기 명령이 입력되면, 데이터 영역의 첫 번째 어드레스부터 다시 덮어쓴다. 본 발명의 순차 저장 파일 시스템도, 데이터 영역 가운데에서 마지막으로 데이터 쓰기가 수행된 어드레스, 또는 다음 순차로 데이터 쓰기가 수행될 데이터 영역의 어드레스를 저장하는 테이블(Table)을 생성하여 관리한다. The sequential storage file system designates a data area in which data is stored according to a data write command and sequentially designates and stores the data from the first address of the data area according to the order in which the write command is input, Record. If a rewrite command is input after data is written to all the data areas, the rewrite command is overwritten from the first address of the data area. The sequential storage file system of the present invention also creates and manages a table for storing the address of the last data write operation in the data area or the address of the data area to which data is to be sequentially written next.
본 발명의 파일 시스템은 파일 구조가 매우 간단하기 때문에, 부팅 프로세스 중에 SD 카드(250)의 마운팅에 필요한 것은 데이터 영역 가운데에서 마지막으로 데이터 쓰기가 수행된 어드레스, 또는 다음 순차로 데이터 쓰기가 수행될 데이터 영역의 어드레스를 확인하는 것으로 충분하다. SD 카드(250)의 마운팅이 종래에 비하여 매우 빨라진다. Since the file structure of the file system of the present invention is very simple, it is necessary to mount the
제어부(270)는 본 발명을 위해 특별히 설치된 구성으로 해석될 수도 있으나, 일반적으로는 하드웨어인 프로세서 칩(Processor Chip)과 그 칩에 기반하여 동작하는 운영체제 프로그램(OS: Operating System)으로 구현되는 구성을 기능적으로 지시한 것일 수 있다. 이처럼, 운영체제 프로그램을 사용하는 경우에, 제어부(270)는 실시간 운영체제(RTOS: Real-Time Operating System)를 기반으로 한다. RTOS는 실시간 응용 프로그램을 위해 개발된 운영 체제로서, 종래에 이미 다양한 종류의 RTOS가 있다. The
제어부(270)는 블랙박스(200)의 전체적인 기능 제어 및 본 발명의 특징적인 신속한 촬영 개시를 위해, 부팅처리부(271)와, 정상모드처리부(273)를 포함한다. The
부팅처리부(271)는 전원 공급에 따른 블랙박스(200)의 부팅 프로세스(Booting Process)를 관리한다. 부팅 프로세스(Booting Process)가 개시되면, 부팅처리부(271)는 카메라부(210)의 부팅을 점검하고, SD 카드(250)를 동작 가능한 상태로 마운팅한다. The
정상모드처리부(273)는 SD 카드(250)가 마운트된 이후의 정상모드에서 블랙박스(200)의 동작을 제어한다. 정상모드 동안, 정상모드처리부(273)는 이미지 센서(213)가 촬영하여 메모리(230)에 저장하는 디지털 이미지를 SD 카드(250)의 데이터 영역에 저장하는 과정을 반복한다. 정상모드처리부(273)는 기설정된 시간 단위로 SD 카드(250)에 저장된 복수 개의 디지털 이미지를 합성하여 동영상 파일로 최종 저장한다. The normal
앞서 설명한 것처럼 카메라부(210)는 통상 1초 이내에 마운팅이 완료되는 반면, SD 카드(250)의 마운팅은 순차저장 파일 시스템에 의하더라도 수 초(Seconds)가 소요되어 카메라부(210)의 마운팅보다 상당히 늦다. 그럼에도, 본 발명의 블랙박스(200)는 SD 카드(250)의 마운팅이 완료되기 전에 촬영을 개시할 수 있다. 부팅처리부(271)와 정상모드처리부(273)에 의한 SD 카드(250)의 마운트 전 영상 촬영 및 저장은 도 3 및 도 4를 참조하여 설명한다. As described above, the mounting of the
디지털 이미지의 촬영 및 임시 저장방법(도 3)Shooting and Temporary Storage of Digital Images (FIG. 3)
이하에서는 도 3을 참조하여, 우선 디지털 이미지가 생성되고 임시로 메모리(230)에 저장되는 과정을 설명한다. Hereinafter, a process of generating a digital image and temporarily storing the digital image in the
<전원 공급에 따른 카메라부의 초기화: S301 내지 S305>≪ Initialization of camera unit according to power supply: S301 to S305 >
블랙박스(200)에 전원이 공급되면(S301), 부팅처리부(271)가 동작을 개시하면서 SD 카드(250)가 마운팅 되도록 제어함으로써 부팅 프로세스를 개시한다. 카메라부(210)도 전원 공급에 따라 내부 레지스터에 기록된 각종 파라미터의 기본 설정값(Default Value)을 읽어서 초기화를 수행한다(S303). When power is supplied to the black box 200 (S301), the boot process is started by controlling the
부팅처리부(271)는 부팅 프로세스를 개시한 후 카메라부(210)의 초기화가 완료되기를 기다린다. 통상 카메라부(210)의 이미지 센서(213)가 SD 카드(250)에 비해 상당히 빨리 마운트를 완료한다(S305). The
<카메라부의 초기화에 따른 이미지 생성의 반복: S307 내지 S311>≪ Repetition of image generation according to the initialization of the camera unit: S307 to S311>
S305 단계에서 카메라부(210)의 초기화가 완료되면, 정상모드처리부(273)는 SD 카드(250)의 마운팅이 완료되기를 기다리지 않고 이미지 센서(213)가 즉시 이미지를 생성하도록 제어(이하, '제1 제어'라 함)한다. 이에 따라 이미지 센서(213)는 전방으로부터 입사되는 영상으로 디지털 이미지를 생성한다. 다시 말해, SD 카드(250)의 마운팅이 완료되기 전이라도 카메라부(210)는 기설정된 프레임 속도로 디지털 이미지를 생성한다(S307). When the initialization of the
정상모드처리부(273)는 이미지 센서(213)가 생성한 디지털 이미지를 메모리(230)에 저장한다(S309).The normal
카메라부(210)가 이미지를 생성하여 메모리(230)에 임시 저장하는 S307 단계와 S309 단계는 정상모드처리부(273)의 다른 제어가 없는 한 계속 반복된다. 그 중에 SD 카드(250)의 마운트도 완료되겠지만, S307 단계와 S309 단계는 SD 카드(250)의 마운트 완료와 무관하게 반복되며, 정상모드처리부(273)의 제어에 의해서 종료된다(S311). The steps S307 and S309 of generating the image by the
<촬영의 종료: S313><End of photographing: S313>
S307 단계와 S309 단계를 수행하는 중에, 정상모드처리부(273)는 '촬영종료 이벤트'와 관련된 내부 알고리즘 또는 사용자 제어명령을 수신하면, 카메라부(210)로 하여금 디지털 이미지의 생성을 종료하도록 제어한다(S313).During the steps S307 and S309, the normal
SD 카드의 마운트 직후 디지털 이미지의 저장방법 (도 4)How to store the digital image immediately after mounting the SD card (Fig. 4)
이하에서는 도 4를 참조하여, SD 카드(250)에 이미지가 저장되는 과정을 설명한다. Hereinafter, a process of storing an image in the
<SD 카드의 마운트: S401><Mounting of SD card: S401>
부팅처리부(271)가 동작을 개시한 이후에 정상모드처리부(273)는 S303 단계에서 SD 카드(250)의 마운팅을 수행한 이후에 SD 카드(250)의 마운트가 완료되는지를 체크한다. 카메라부(210)의 초기화와 SD 카드(250)의 마운트 사이의 소요 시간의 차이를 고려하면, SD 카드(250)의 마운트는 S307 단계 내지 S311 단계가 수 회 반복된 후에 완료될 것이다. After the
<SD 카드 마운팅 직후의 메모리에 저장된 이미지의 이동: S403><Moving images stored in the memory immediately after mounting the SD card: S403>
SD 카드(250)의 마운트가 완료되면, 정상모드처리부(273)는 메모리(230)에 저장된 복수 개의 디지털 이미지를 SD 카드(250)로 일괄 이동한다. 이때의 복수 개 디지털 이미지의 이동은 정상 모드 동안 통상적으로 이루어지는 아래 S405 및 S407 단계에서의 이동과 비교할 때, 그 이동되는 디지털 이미지의 개수보다 훨씬 많다는 점에서 다르다. 정상모드처리부(273)의 제1 제어로부터 SD 카드(250)의 마운팅 완료까지, 본 발명의 순차저장 파일 시스템을 적용하더라도 적어도 3~4초가 소요되는 점을 고려하면, 상당한 개수의 디지털 이미지가 일괄 이동할 수 있다. 예컨대, 설정된 프레임 속도가 16fps이고 제1 제어로부터 SD 카드(250)의 마운팅 완료까지 3초가 소요된다면, SD 카드(250)의 마운팅 전에 메모리(230)에 저장되는 디지털 이미지의 개수는 48개(=3×16)가 된다. 당연히 메모리(230)는 최소 제1 제어로부터 SD 카드(250)의 마운트 완료까지 카메라부(210)가 생성하는 이미지를 저장하기에 충분한 크기를 가져야 한다. When the mounting of the
이러한 방식에 의하여, 본 발명의 블랙박스(200)는 동작을 개시하고 SD 카드(250)의 마운트 되기 전이라도 영상을 촬영하여 저장할 수 있다. 이에 따라 전원이 공급되어 동작을 개시하고도 SD 카드(250)의 마운트가 완료되는 수 초 동안 아무런 영상도 촬영하지 못했던 종래의 블랙박스의 문제를 해결한다. In this manner, the
<정상 모드 중의 SD 카드로의 이미지 이동: S405, S407>≪ Image movement to SD card in normal mode: S405, S407 >
SD 카드(250)의 마운트 전에 메모리(230)에 미리 저장된 디지털 이미지가 S403 단계를 통해 SD 카드(250)의 데이터 영역으로 일괄 이동하는 중에도 카메라부(210)는 S307 단계와 S309 단계에 따라 새로운 디지털 이미지를 메모리(230)에 저장할 것이다. S403 단계가 완료한 후에도 정상 모드 동작에 따라 S307 단계와 S309 단계를 통해 메모리(230)에 디지털 이미지가 저장될 것이다. Even if the digital image stored in advance in the
정상모드처리부(273)는 메모리(230)에 이미지가 저장되면(S405), 즉시 SD 카드(250)의 데이터 영역으로 해당 이미지를 이동시켜 저장한다(S407). When the image is stored in the memory 230 (S405), the normal
이상의 방법으로, 본 발명의 블랙박스(200)의 동작이 수행된다.In this way, the operation of the
이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안 될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the invention as defined by the appended claims. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention.
Claims (7)
전방을 촬영하여 디지털 이미지를 생성하는 카메라부;
상기 카메라부가 촬영한 디지털 이미지가 임시 저장되는 메모리;
상기 동영상 파일이 최종 저장되는 비휘발성 메모리인 SD 카드; 및
기설정된 시간 단위로 상기 SD 카드에 저장된 복수 개의 상기 디지털 이미지를 합성하여 상기 동영상 파일로 저장하는 제어부를 포함하고,
상기 제어부는, 전원이 공급되어 상기 카메라부의 초기화가 완료되면 상기 카메라부로 하여금 상기 이미지를 생성하도록 제1 제어를 수행하고, 상기 제1 제어로부터 상기 SD 카드의 마운팅 프로세스가 완료되기 전에 상기 카메라부가 생성한 이미지는 상기 메모리에 저장하였다가 상기 마운팅 프로세스가 완료된 후에 상기 SD 카드에 옮겨 저장함으로써 상기 SD 카드의 마운팅 프로세스가 완료되기 전에도 촬영을 개시하는 것을 특징으로 하는 차량용 블랙박스.
1. A black box installed in a vehicle and generating a moving picture file photographed forward,
A camera unit for photographing a forward direction to generate a digital image;
A memory in which the digital image photographed by the camera unit is temporarily stored;
An SD card as a non-volatile memory in which the moving picture file is finally stored; And
And a controller for synthesizing a plurality of the digital images stored in the SD card in units of a predetermined time,
Wherein the control unit performs a first control to cause the camera unit to generate the image when power is supplied and initialization of the camera unit is completed, and before the mounting process of the SD card is completed from the first control, Wherein the image pickup is started before the mounting process of the SD card is completed by storing an image in the memory and transferring the SD card to the SD card after the mounting process is completed.
상기 SD 카드는, 데이터 영역의 첫 어드레스부터 마지막 어드레스까지 순차적으로 저장하고 마지막 어드레스에 데이터가 저장된 이후에는 상기 첫 어드레스부터 다시 순차적으로 덮어쓰는 방식의 순차 저장방식의 파일 시스템을 가짐으로써 상기 마운팅 프로세스 소요시간을 단축하는 것을 특징으로 하는 차량용 블랙박스.
The method according to claim 1,
The SD card has a sequential storage type file system that sequentially stores data from the first address to the last address of the data area and sequentially overwrites the data from the first address after data is stored in the last address, And the time is shortened.
상기 제어부가 하드웨어인 프로세서 칩과 운영체제 프로그램으로 구현되는 경우에 상기 운영체제 프로그램은 실시간 운영체제(RTOS)를 사용하는 것을 특징으로 하는 차량용 블랙박스.
The method according to claim 1,
Wherein the operating system program uses a real-time operating system (RTOS) when the controller is implemented as a hardware processor chip and an operating system program.
상기 메모리는 상기 제1 제어로부터 상기 SD 카드의 마운팅 프로세스의 완료까지 상기 카메라부가 생성한 이미지를 저장하기에 충분한 크기를 가지는 것을 특징으로 하는 차량용 블랙박스.
The method according to claim 1,
Wherein the memory has a size sufficient to store the image generated by the camera from the first control to the completion of the mounting process of the SD card.
전원 공급에 따라 카메라부가 초기화하는 단계;
상기 카메라부가 초기화된 후 기설정된 프레임 속도로 디지털 이미지를 생성하여 메모리에 저장하였다가 SD 카드에 저장하는 단계: 및
제어부가 상기 초기화 후 SD 카드의 마운팅이 완료되기 전에 상기 카메라부가 생성하는 이미지를 상기 SD 카드가 마운트 될 때까지 상기 메모리에 저장하였다가, 상기 SD 카드의 마운트 후에 일괄로 상기 SD 카드에 옮겨 저장하는 단계를 포함함으로써 상기 SD 카드의 마운팅 프로세스가 완료되기 전에도 촬영을 개시하는 것을 특징으로 하는 차량용 블랙박스의 촬영방법.
A shooting method of a black box, which is installed in a vehicle and generates a movie file photographed forward,
Initializing the camera unit according to the power supply;
Generating a digital image at a preset frame rate after the camera unit is initialized, storing the digital image in a memory, and storing the digital image in an SD card; and
The control unit stores the image generated by the camera unit in the memory until the SD card is mounted before the mounting of the SD card is completed after the initialization, and then transfers the image to the SD card collectively after mounting the SD card Wherein the photographing is started before the mounting process of the SD card is completed.
상기 SD 카드는, 데이터 영역의 첫 어드레스부터 마지막 어드레스까지 순차적으로 저장하고 마지막 어드레스에 데이터가 저장된 이후에는 상기 첫 어드레스부터 다시 순차적으로 덮어쓰는 방식의 순차 저장방식의 파일 시스템을 가짐으로써 상기 마운팅 프로세스의 소요시간을 단축하는 것을 특징으로 하는 차량용 블랙박스의 촬영방법.
6. The method of claim 5,
Wherein the SD card has a sequential storage type file system in which data is sequentially stored from the first address to the last address of the data area and the data is sequentially overwritten from the first address after the last address is stored, And the required time is shortened.
상기 제어부가 하드웨어인 프로세서 칩과 운영체제 프로그램으로 구현되는 경우에 상기 운영체제 프로그램은 실시간 운영체제(RTOS)를 사용하는 것을 특징으로 하는 차량용 블랙박스의 촬영방법. 6. The method of claim 5,
Wherein the operating system program uses a real-time operating system (RTOS) when the controller is implemented with a processor chip and an operating system program which are hardware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170028308A KR101903500B1 (en) | 2017-03-06 | 2017-03-06 | Black Box for Cars Capable of High-Speed Booting and Recording Method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170028308A KR101903500B1 (en) | 2017-03-06 | 2017-03-06 | Black Box for Cars Capable of High-Speed Booting and Recording Method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20180101848A true KR20180101848A (en) | 2018-09-14 |
KR101903500B1 KR101903500B1 (en) | 2018-10-02 |
Family
ID=63599712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170028308A KR101903500B1 (en) | 2017-03-06 | 2017-03-06 | Black Box for Cars Capable of High-Speed Booting and Recording Method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101903500B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230145749A (en) * | 2022-04-11 | 2023-10-18 | 주식회사 스마트아이캠 | Method for detecting an object using low power and monitoring device thereof |
-
2017
- 2017-03-06 KR KR1020170028308A patent/KR101903500B1/en active IP Right Grant
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230145749A (en) * | 2022-04-11 | 2023-10-18 | 주식회사 스마트아이캠 | Method for detecting an object using low power and monitoring device thereof |
WO2023200159A1 (en) * | 2022-04-11 | 2023-10-19 | 주식회사 스마트아이캠 | Method for detecting object by using low power, and detection device according to same |
Also Published As
Publication number | Publication date |
---|---|
KR101903500B1 (en) | 2018-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090115871A1 (en) | Camera device and method and program for starting the camera device | |
US20060112195A1 (en) | Electronic device and control method therefor | |
JP2007233512A (en) | Data recorder, data recording method, and program | |
KR101903500B1 (en) | Black Box for Cars Capable of High-Speed Booting and Recording Method thereof | |
JP5072292B2 (en) | Imaging apparatus and control method thereof | |
JP2002237977A (en) | Electronic camera | |
US11405551B2 (en) | Imaging apparatus | |
US8676026B2 (en) | Data recording apparatus | |
JP2018085658A (en) | Imaging apparatus | |
JPH07225687A (en) | Electronic still camera | |
JP2021166338A (en) | Image pick-up device, recording method, and program | |
JP5323825B2 (en) | Recording apparatus and starting method of recording apparatus | |
JP3528058B2 (en) | Digital still camera | |
US9282240B2 (en) | Imaging device and imaging method | |
JP4521245B2 (en) | Storage device control apparatus and program | |
JP5228510B2 (en) | Imaging device | |
US8514324B2 (en) | Image input apparatus, a method of controlling thereof and a computer-readable storage medium | |
JP7214400B2 (en) | Recording control device and its control method | |
JP3403106B2 (en) | Video recording device | |
JP4930825B2 (en) | Imaging device and data transfer device | |
JP3416651B2 (en) | Digital camera | |
JP2002290904A (en) | Electronic camera and device/method for processing picture | |
JPH0983849A (en) | Electronic still camera | |
JP2003224809A (en) | Data recording apparatus | |
JPH10285525A (en) | Digital still camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |