KR20150138980A - Car black box and the control method thereof - Google Patents
Car black box and the control method thereof Download PDFInfo
- Publication number
- KR20150138980A KR20150138980A KR1020140066126A KR20140066126A KR20150138980A KR 20150138980 A KR20150138980 A KR 20150138980A KR 1020140066126 A KR1020140066126 A KR 1020140066126A KR 20140066126 A KR20140066126 A KR 20140066126A KR 20150138980 A KR20150138980 A KR 20150138980A
- Authority
- KR
- South Korea
- Prior art keywords
- disk
- partition
- external disk
- black box
- partitions
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R21/00—Arrangements or fittings on vehicles for protecting or preventing injuries to occupants or pedestrians in case of accidents or other traffic risks
- B60R21/01—Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents
- B60R21/013—Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents including means for detecting collisions, impending collisions or roll-over
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62D—MOTOR VEHICLES; TRAILERS
- B62D41/00—Fittings for identifying vehicles in case of collision; Fittings for marking or recording collision areas
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/183—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Mechanical Engineering (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
Abstract
Description
본 발명은 차량용 블랙박스 장치 및 그 제어 방법에 관한 것으로, 보다 상세하게는 차량용 블랙박스에서 저장장치로 사용하는 이동식 디스크에 단편화 현상이 발생되지 않도록 하는 차량용 블랙박스 장치 및 그 제어 방법에 관한 것이다.
BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to a black box device for a vehicle and a control method thereof, and more particularly to a black box device for a vehicle and a control method thereof for preventing a fragmentation phenomenon from occurring in a mobile disk used as a storage device in a black box for a vehicle.
일반적으로 차량용 블랙박스는 차량의 주행 중 사고가 발생했을 때, 어떻게 사고가 발생되었는가를 판단하기 위하여 차량 주행 중 전방 및 주변 영상을 촬영하여 저장하는 장치이다. Generally, a vehicle black box is a device for photographing forward and surrounding images during driving to determine how an accident has occurred when an accident occurs while driving the vehicle.
또한 상기 차량용 블랙박스는 이동식 디스크(예 : Mini SD Card, SD Card, USB Memory 등)를 저장장치로 사용하며, 상기 저장장치에 상기 녹화 영상을 위한 폴더와 이벤트 녹화 영상을 위한 폴더를 생성한 후, 상기 각 폴더에 상시 녹화 영상(즉, 주행 영상)과 이벤트 녹화 영상(즉, 충격이 발생한 구간의 영상)을 각기 저장한다. In addition, the vehicle black box uses a removable disk (e.g., a Mini SD card, an SD card, a USB memory, etc.) as a storage device, creates a folder for the recording image and a folder for the event recording image in the storage device (I.e., a running image) and an event recording image (i.e., an image of a section in which an impact occurs) in each of the folders.
이때 상기 차량용 블랙박스는 상기 이동식 디스크를 메모리로 인식한다.At this time, the vehicle black box recognizes the removable disk as a memory.
그런데 상기 차량용 블랙박스에서는 상기 영상들(예 : 상시 녹화 영상, 이벤트 녹화 영상)의 쓰기와 지우기가 자주 발생하고, 또한 상기 영상들을 쓰고 지우는 주기가 서로 다르기 때문에 상기 이동식 디스크에 단편화 현상이 발생하는 문제점이 있다. However, in the vehicle black box, since the writing and erasing of the images (for example, regularly recorded images and event recorded images) frequently occur and the writing and erasing cycles of the images are different from each other, .
상기와 같이 단편화 현상이 발생할 경우 데이터 액세스(Access) 속도가 현저하게 느려지는 문제점이 발생한다. 다시 말해 상기 단편화 현상은 저장장치의 빈 공간 또는 자료가 여러 개의 조각으로 나뉘는 현상을 의미하는 것으로, 이러한 단편화 현상은 저장장치의 사용 가능한 공간을 줄이거나, 읽기와 쓰기 속도를 늦추는 문제점을 발생시킨다.When the fragmentation phenomenon occurs as described above, there arises a problem that the data access speed is significantly slowed down. In other words, the fragmentation phenomenon refers to a phenomenon that the empty space or the data of the storage device is divided into several pieces. This fragmentation causes a problem that the available space of the storage device is reduced or the reading and writing speed is slowed down.
특히 상기 차량용 블랙박스는 정해진 시간 내에 정해진 양의 영상을 저장장치에 반드시 기록해야 되는데, 만약 상기와 같이 액세스 속도가 저하될 경우 메모리 오버플로우(Overflow)가 발생하여 시스템(즉, 차량용 블랙박스)이 다운되거나 시스템 리셋 등의 심각한 문제점을 발생시킨다.In particular, the vehicle black box must record a predetermined amount of image in a predetermined time within a predetermined time. If the access speed is lowered as described above, a memory overflow occurs and the system (i.e., a vehicle black box) Causing a serious problem such as down or system reset.
상기와 같이 차량용 블랙박스에서 저장장치로 사용하는 이동식 디스크에 발생한 단편화 현상으로 인해 만약 시스템(즉, 차량용 블랙박스)에 심각한 문제가 발생할 경우 사용자는 상기 이동식 디스크에 저장된 영상을 백업한 후 상기 이동식 디스크를 다시 포맷함으로써 단편화 문제를 해결해야 하는 불편함이 있다.If a serious problem occurs in a system (i.e., a black box for a vehicle) due to a fragmentation phenomenon occurring in a removable disk used as a storage device in a vehicle black box, the user backs up the image stored on the removable disk, It is inconvenient to solve the fragmentation problem.
따라서 상기 차량용 블랙박스의 안정성을 위해서는 가능한 디스크 단편화 현상 발생되지 않도록 하는 방법이 필요한 상황이다.Therefore, in order to ensure the stability of the vehicle black box, it is necessary to provide a method for preventing the occurrence of disk fragmentation.
본 발명의 배경기술은 대한민국 공개특허 10-2010-0045292호(2010.05.03.공개, 메모리 성능이 개선된 차량용 블랙박스 장치)에 개시되어 있다.
Background Art [0002] The background art of the present invention is disclosed in Korean Patent Laid-Open Publication No. 10-2010-0045292 (published on May 03, 2010, a black box device for a vehicle with improved memory performance).
본 발명은 상기와 같은 문제점을 해결하기 위해 창작된 것으로서, 차량용 블랙박스 장치에서 저장장치로 사용하는 이동식 디스크에 단편화 현상이 발생되지 않도록 하는 차량용 블랙박스 장치 및 그 제어 방법을 제공하는데 목적이 있다.
SUMMARY OF THE INVENTION It is an object of the present invention to provide a vehicle black box device and a control method thereof for preventing a fragmentation phenomenon on a removable disk used as a storage device in a vehicle black box device.
본 발명의 일 측면에 따른 차량용 블랙박스 장치는, 실시간으로 차량 주변의 영상을 촬영하는 카메라부와, 차량에 발생하는 충격을 감지하는 충격감지부를 포함하는 차량용 블랙박스 장치에 있어서, 상기 블랙박스 장치에 이동식 디스크가 삽입되는 경우, 상기 이동식 디스크를 외장형 디스크로 인식하고, 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 판단하여, 상기 외장형 디스크가 최초 삽입된 것으로 판단되면, 미리 설정된 방식으로 상기 외장형 디스크의 파티션을 분할하여 초기화 시키는 제어부;를 포함하는 것을 특징으로 한다.A black box device for a vehicle according to one aspect of the present invention is a black box device for a vehicle including a camera section for photographing an image of the surroundings of the vehicle in real time and an impact detecting section for detecting an impact generated in the vehicle, If the removable disk is inserted into the removable disk, the removable disk is recognized as an external disk, and it is determined whether the external disk is inserted first in the black box device. If it is determined that the external disk is inserted first, And a controller for dividing and initializing partitions of the external disk.
본 발명에 있어서, 상기 제어부는, 상기 삽입된 외장형 디스크의 상태를 체크하는 디스크 상태 체크부; 상기 외장형 디스크의 파티션의 용량을 미리 설정하는 용량 설정부; 상기 용량 설정부에서 미리 설정된 용량으로 상기 외장형 디스크의 파티션을 물리적으로 분할하는 파티션 분할부; 및 상기 분할된 각 물리적 파티션을 미리 지정된 파일 시스템으로 포맷하는 초기화부;를 포함하는 것을 특징으로 한다.In the present invention, the controller may include: a disc status check unit for checking a status of the inserted external disc; A capacity setting unit that sets a capacity of the partition of the external disk in advance; A partitioning unit for physically dividing a partition of the external disk into a capacity set in advance by the capacity setting unit; And an initialization unit for formatting each of the partitioned physical partitions into a predetermined file system.
본 발명에 있어서, 상기 디스크 상태 체크부는, 상기 외장형 디스크가 미리 설정된 개수만큼 물리적 파티션이 분할되어 있는지, 상기 각 파티션이 미리 설정된 용량으로 설정되어 있는지, 및 상기 각 파티션에 영상 데이터가 저장되어 있는지 여부 중 적어도 하나 이상을 체크하며, 상기 체크 결과를 기초로 상기 제어부는 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 판단하는 것을 특징으로 한다.In the present invention, it is preferable that the disk status check unit determines whether the external disk has a predetermined number of physical partitions, whether each of the partitions is set to a predetermined capacity, and whether image data is stored in each of the partitions And the controller determines whether the external disk is first inserted into the black box device based on the check result.
본 발명에 있어서, 상기 제어부는, 상기 외장형 디스크의 파티션을 분할하여 초기화 시킨 이후, 상기 분할된 파티션 중 동일한 종류의 파일을 동일한 파티션에 저장하거나 삭제하되, 상기 각 파티션의 디스크 공간이 지정된 비율 이상이 되면 오래된 파일부터 순차로 삭제하고 새로 생성된 파일을 저장하도록 각 파티션별로 개별 제어하는 것을 특징으로 한다.In the present invention, after the partition of the external disk is divided and initialized, the controller stores or deletes files of the same type among the divided partitions in the same partition, The file is sequentially deleted from the old file and the newly created file is separately stored for each partition.
본 발명에 있어서, 상기 제어부는, 상기 외장형 디스크의 파티션을 분할함에 있어서, 상시 녹화 영상, 충격 녹화 영상, 모션 녹화 영상, 및 매뉴얼 녹화 영상 중 적어도 하나를 개별적으로 저장할 수 있는 적어도 하나 이상의 파티션으로 분할하는 것을 특징으로 한다.
In the present invention, in dividing the partition of the external disk, the controller may divide the partition of the external disk into at least one partition capable of individually storing at least one of a normal recording image, an impact recording image, a motion recording image, and a manual recording image .
본 발명의 다른 측면에 따른 차량용 블랙박스 장치의 제어 방법은, 블랙박스 장치에 이동식 디스크가 삽입되는 경우, 제어부는 상기 이동식 디스크를 외장형 디스크로 인식하는 단계; 상기 제어부는 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 판단하는 단계; 상기 외장형 디스크가 최초 삽입된 것으로 판단되면, 상기 제어부는 미리 설정된 방식으로 상기 외장형 디스크의 파티션을 분할하여 초기화 시키는 단계; 상기 제어부는 상기 분할된 파티션 중 동일한 종류의 파일을 동일한 파티션에 저장하거나 삭제하는 단계;를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of controlling a black box device for a vehicle, the method comprising: recognizing the removable disk as an external disk when the removable disk is inserted into the black box device; Determining whether the external disk is first inserted into the black box device; If it is determined that the external disk is inserted first, the controller divides and initializes partitions of the external disk in a preset manner; And the control unit stores or deletes files of the same type among the divided partitions in the same partition.
본 발명에 있어서, 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 체크하는 단계는, 상기 제어부가 상기 외장형 디스크가 미리 설정된 개수만큼 물리적 파티션이 분할되어 있는지, 상기 각 파티션이 미리 설정된 용량으로 설정되어 있는지, 및 상기 각 파티션에 영상 데이터가 저장되어 있는지 여부 중 적어도 하나 이상을 체크하여 그로부터 최초 삽입 여부를 판단하는 것을 특징으로 한다.The step of checking whether the external disk is first inserted into the black box device may include checking whether the physical partitions are divided by a preset number of the external disks, And whether image data is stored in each of the partitions, and determines whether or not the image data is inserted first.
본 발명에 있어서, 상기 외장형 디스크의 파티션을 분할하여 초기화 시키는 단계에서, 상기 제어부는 상기 외장형 디스크를 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션으로 분할하고, 상기 분할된 각 물리적 파티션을 미리 지정된 파일 시스템으로 포맷하는 것을 특징으로 한다.In the step of partitioning and initializing the partitions of the external disk, the controller divides the external disk into physical partitions of a predetermined number of predetermined capacities, and allocates the divided physical partitions to a predetermined file system .
본 발명에 있어서, 상기 파일의 종류는, 상기 블랙박스 장치의 카메라에서 촬영된 영상으로서, 상시 녹화 영상, 충격 녹화 영상, 모션 녹화 영상, 및 매뉴얼 녹화 영상 중 적어도 하나 이상 포함하는 것을 특징으로 한다.In the present invention, the type of the file includes at least one of a normal recording image, an impact recording image, a motion recording image, and a manual recording image, which is an image photographed by a camera of the black box device.
본 발명에 있어서, 상기 동일한 종류의 파일을 동일한 파티션에 저장하거나 삭제하는 단계에서, 상기 제어부는 파티션의 디스크 공간이 지정된 비율 이상이 되면 오래된 파일부터 순차로 삭제하고 새로 생성된 파일을 저장하도록 각 파티션별로 개별 제어하는 것을 특징으로 한다.
In the present invention, in the step of storing or deleting the files of the same kind in the same partition, when the disk space of the partitions exceeds a specified ratio, the controller sequentially deletes old files and stores the newly created files, Respectively.
본 발명은 차량용 블랙박스에서 저장장치로 사용하는 이동식 디스크에 단편화 현상이 발생되지 않도록 함으로써 상기 단편화 현상으로 인해 발생하는 차량용 블랙박스 장치의 시스템 다운이나 시스템 리셋 등의 불안정 동작의 발생을 방지하여 차량용 블랙박스 장치의 안정성을 향상시킨다.
The present invention prevents a fragmentation phenomenon from occurring in a removable disk used as a storage device in a vehicle black box, thereby preventing occurrence of unstable operation such as system down or system reset of a vehicle black box device caused by the fragmentation, Thereby improving the stability of the box device.
도 1은 본 발명의 일 실시예에 따른 차량용 블랙박스 장치의 개략적인 구성을 보인 예시도.
도 2는 본 발명의 일 실시예에 따른 차량용 블랙박스 장치의 제어 방법을 설명하기 위한 흐름도.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an exemplary view showing a schematic configuration of a black box device for a vehicle according to an embodiment of the present invention; FIG.
FIG. 2 is a flowchart illustrating a method of controlling a black box device for a vehicle according to an embodiment of the present invention. FIG.
이하, 첨부된 도면을 참조하여 본 발명에 따른 차량용 블랙박스 장치 및 그 제어 방법의 일 실시예를 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a vehicle black box apparatus and a control method thereof according to the present invention will be described with reference to the accompanying drawings.
이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In this process, the thicknesses of the lines and the sizes of the components shown in the drawings may be exaggerated for clarity and convenience of explanation. In addition, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the intention or custom of the user, the operator. Therefore, definitions of these terms should be made based on the contents throughout this specification.
도 1은 본 발명의 일 실시예에 따른 차량용 블랙박스 장치의 개략적인 구성을 보인 예시도이다.FIG. 1 is a view illustrating a schematic configuration of a vehicle black box device according to an embodiment of the present invention.
도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 차량용 블랙박스 장치는, 카메라부(110), 충격감지부(120), 제어부(130) 및 저장부(140)를 포함한다. 그리고 상기 제어부(130)는 디스크 상태 체크부(131), 초기화부(132), 용량 설정부(133) 및 파티션 분할부(134)를 포함한다.1, the vehicle black box apparatus according to an embodiment of the present invention includes a
상기 카메라부(110)는 실시간으로 차량 주변의 영상을 촬영한다.The
상기 충격감지부(120)는 일종의 가속도 센서와 같은 충격감지센서(또는 동작감지 센서)를 이용하여 차량 주행중이나 정차(또는 주차)중에 발생하는 충격을 감지하며, 순간적인 충격속도에 기초하여 충격감지신호를 발생시킨다.The
상기 제어부(130)는 차량용 블랙박스 장치의 전반적인 동작을 제어하며, 일종의 응용 프로세서(AP : Application Processor)로 구현될 수 있다.The
상기 제어부(130)는 상기 카메라부(110)를 통해 촬영된 영상(예 : 상시 녹화 영상, 이벤트 녹화 영상 등)을 수신하여 상기 저장부(140)에 저장한다. 이때 상기 제어부(130)는 내부 메모리(미도시)를 포함할 수 있으며, 상기 카메라부(110)에서 촬영된 영상을 메모리 액세스 속도가 빠른 상기 내부 메모리(미도시)를 통해 버퍼링한 후 상기 저장부(140)에 저장할 수도 있다.The
상기 저장부(140)는 플래쉬 롬(Flash ROM)과 같은 일종의 비휘발성 메모리로서, 통상적으로 외장 메모리 타입의 이동식 디스크(예 : Mini SD Card, SD Card, USB Memory 등)가 사용된다. 따라서 상기 저장부(140)에 전원 공급이 차단되더라도 한번 저장된 데이터는 소실되지 않는다.The
그런데 본 실시예에서 상기 제어부(130)는 상기 저장부(140)를 외장형 디스크로 인식한다. 즉, 종래에는 상기 이동식 디스크를 메모리로 인식하였으나, 본 실시예에서 상기 제어부(130)는 상기 이동식 디스크를 메모리가 아닌 외장형 디스크(즉, 외장형 하드디스크)로 인식하는 차이점이 있다. 이에 따라 상기 이동식 디스크를 기존의 하드디스크를 관리하는 방식으로 관리할 수 있게 된다.However, in this embodiment, the
예컨대 상기 제어부(130)는, 상기 저장부(140)(즉, 외장형 디스크)가 본 실시예에 따른 블랙박스 장치에 삽입되면, 상기 저장부(140)(즉, 외장형 디스크)의 상태를 체크하여 기 설정된 알고리즘에 따라 상기 저장부(140)를 적어도 하나 이상의 물리적 파티션(예 : 4개의 파티션)으로 분할한다. For example, when the storage unit 140 (i.e., external disk) is inserted into the black box device according to the present embodiment, the
이하 본 실시예에서는 상기 분할된 각 파티션을 제1 디스크(141), 제2 디스크(142) 등으로 기재한다. 이때 상기 각 디스크(141, 142)는 미리 설정된 용량으로 분할된다. 상기와 같이 분할된 별도의 물리적 공간(즉, 디스크)에서는 쓰기와 지우기의 주기가 같아진다. 즉, 동일한 물리적 공간(즉, 디스크)에 동일한 성격의 데이터(즉, 쓰기와 지우기의 주기가 같은 영상 데이터)를 저장함으로써 단편화 현상이 발생되지 않는다.In the present embodiment, the divided partitions are referred to as a
예컨대 제1 디스크(141)에는 상시 녹화 영상을 저장하거나 삭제하고, 제2 디스크(142)에는 충격 녹화 영상을 저장하거나 삭제하고, 제3 디스크(미도시)에는 모션 녹화 영상을 저장하거나 삭제하고, 제4 디스크(미도시)에는 매뉴얼 녹화 영상(즉, 사용자가 수동으로 녹화한 영상)을 저장하거나 삭제한다. 이에 따라 종래에 서로 다른 성격의 영상을 하나의 동일한 물리적 디스크에 저장하거나 삭제함으로써 발생되었던 단편화 현상의 발생을 방지할 수 있다.For example, it is possible to store or delete the regularly recorded image on the
상기 디스크 상태 체크부(131)는 본 실시예에 따른 블랙박스 장치에 상기 저장부(140)(즉, 외장형 디스크)가 삽입되는지 여부를 검출한다. The disk
그리고 상기 저장부(140)(즉, 외장형 디스크)가 삽입될 경우, 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션이 분할되어 있는지 체크한다. 그리고 상기 저장부(140)(즉, 외장형 디스크)의 각 파티션(즉, 디스크)이 미리 설정된 용량으로 분할되어 있을 경우, 해당 파티션(즉, 디스크)에 영상 데이터가 저장되어 있는지 여부를 체크한다.When the storage unit 140 (i.e., external disk) is inserted, it is checked whether a predetermined number of physical partitions are divided into a preset capacity. If each partition (i.e., disk) of the storage unit 140 (i.e., external disk) is divided into a preset capacity, it is checked whether image data is stored in the corresponding partition (i.e., disk).
상기 체크 결과, 상기 저장부(140)(즉, 외장형 디스크)가 최초 삽입된 것으로 판단되면, 즉, 상기 저장부(140)(즉, 외장형 디스크)가 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션이 분할되어 있지 않으면, 상기 초기화부(132)는 상기 저장부(140)(즉, 외장형 디스크)를 미리 설정된 용량으로 미리 설정된 개수의 물리적 파티션으로 분할하고, 상기 분할된 각 파티션을 미리 지정된 파일 시스템으로 포맷한다. If it is determined that the storage unit 140 (i.e., the external disk) is inserted first, that is, if the storage unit 140 (i.e., external disk) has a predetermined number of physical partitions If the partition is not partitioned, the
그러나 상기 체크 결과, 상기 저장부(140)(즉, 외장형 디스크)가 최초 삽입된 것이 아니면, 즉, 상기 저장부(140)(즉, 외장형 디스크)가 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션이 분할되어 있으면, 상기 초기화부(132)는 상기 저장부(140)(즉, 외장형 디스크)에 대한 초기화 과정(예 : 파티션 분할 및 포맷)을 수행하지 않는다.However, if the storage unit 140 (i.e., external disk) is not inserted first, that is, if the storage unit 140 (i.e., external disk) has a predetermined number of physical partitions The
상기 용량 설정부(133)는, 상기 초기화부(132)에서 상기 저장부(140)(즉, 외장형 디스크)를 초기화할 때 각 파티션에 저장할 영상의 종류별로 미리 지정된 해당 용량을 설정한다.When the
상기 파티션 분할부(134)는, 상기 초기화부(132)에서 상기 저장부(140)를 초기화할 때, 상기 용량 설정부(133)에 의해 미리 설정된 용량으로 상기 저장부(140)(즉, 외장형 디스크)의 파티션을 분할한다.The
다만, 본 실시예에서는 편의상 상기 각 구성 수단(131 ~ 134)을 별도의 기능을 수행하는 수단으로 설명하지만, 상기 제어부(130)에서 상기 각 구성 수단(131 ~ 134)을 소프트웨어 형식의 모듈 형태로 포함하여 해당 기능들을 통합적으로 수행하게 할 수도 있다. However, in the present embodiment, each of the
이하 상기와 같이 구성된 차량용 블랙박스 장치의 제어 동작을 설명한다.Hereinafter, the control operation of the vehicle black box apparatus constructed as described above will be described.
도 2는 본 발명의 일 실시예에 따른 차량용 블랙박스 장치의 제어 방법을 설명하기 위한 흐름도이다. 2 is a flowchart illustrating a method of controlling a black box device for a vehicle according to an embodiment of the present invention.
편의상 이하 제어부(130)는 디스크 상태 체크부(131), 초기화부(132), 용량 설정부(133) 및 파티션 분할부(134)의 기능을 통합적으로 수행하고, 또한 상기 제어부(130)는 이동식 디스크(예 : Mini SD Card, SD Card, USB Memory 등)가 본 실시예에 따른 블랙박스 장치에 삽입되면 상기 이동식 디스크를 외장형 디스크로 인식하는 것으로 가정한다.The
도 2에 도시된 바와 같이, 상기 제어부(130)는 본 실시예에 따른 블랙박스 장치에 상기 외장형 디스크가 삽입되는지 여부를 검출한다(S101). As shown in FIG. 2, the
그리고 상기 외장형 디스크가 삽입될 경우, 상기 제어부(130)는 상기 외장형 디스크의 상태를 체크함으로써, 상기 외장형 디스크가 본 실시예에 따른 블랙박스 장치에 최초로 삽입된 것인지 체크한다(S102).When the external disk is inserted, the
예컨대 상기 제어부(130)는 상기 외장형 디스크가 미리 설정된 개수만큼 물리적 파티션이 분할되어 있는지 체크한다. 또한 상기 각 파티션이 미리 설정된 용량으로 설정되어 있는지 체크한다. 그리고 상기 각 파티션에 영상 데이터가 저장되어 있는지 여부를 체크한다.For example, the
상기 체크 결과, 상기 외장형 디스크가 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션이 분할되어 있지 않으면, 상기 제어부(130)는 상기 외장형 디스크가 최초 삽입된 것으로 판단하여 초기화를 수행한다(S103).If it is determined that the physical partitions are not divided into the predetermined number of physical disks, the
예컨대 상기 제어부(130)는 상기 외장형 디스크를 미리 설정된 용량으로 미리 설정된 개수의 물리적 파티션으로 분할하고, 상기 분할된 각 물리적 파티션을 미리 지정된 파일 시스템으로 포맷한다. For example, the
다시 말해, 상기 외장형 디스크가 미리 정된 용량과 개수의 파티션(즉, 디스크)로 분할되어 있지 않으면(즉, 다른 형태의 파티션으로 분할되어 있거나 임의의 데이터가 저장되어 있다고 하더라도) 상기 제어부(130)는 상기 외장형 디스크를 최초 삽입된 것으로 판단하여 초기화를 수행한다.In other words, if the external disk is not divided into a predetermined number of partitions (i.e., disks) (i.e., divided into different types of partitions or arbitrary data are stored), the
상기 외장형 디스크의 초기화 시, 상기 제어부(130)는, 기 설정된 알고리즘에 따라 상기 외장형 디스크를 적어도 하나 이상의 물리적 파티션(즉, 디스크)으로 분할할 수 있다. Upon initialization of the external disk, the
예컨대 상시 녹화 영상을 저장하기 위한 제1 디스크, 충격 녹화 영상을 저장하기 위한 제2 디스크, 모션 녹화 영상을 저장하기 위한 제3 디스크, 및 매뉴얼 녹화 영상(즉, 사용자가 수동으로 녹화한 영상)을 저장하기 위한 제4 디스크로 분할할 수 있다. 이때 상기 분할되는 파티션의 개수는 일 예시적으로 기재된 것이므로 더 많거나 더 적은 개수로 조정될 수 있다. For example, a first disc for storing a normally recorded image, a second disc for storing an impact recording image, a third disc for storing a motion recording image, and a manual recording image (i.e., a manually recorded image) And a fourth disk for storage. At this time, the number of partitions to be partitioned is one example, so that the number of partitions can be adjusted to a greater or lesser number.
이때 상기 제어부(130)는 동일한 종류의 파일을 동일한 파티션(즉, 디스크)에 저장하거나 삭제한다(S104).At this time, the
예컨대 상기 제어부(130)는 각 파티션별로 디스크 공간이 지정된 비율(예 : 70%) 이상이 되면 오래된 파일(즉, 영상 데이터)부터 순차로 삭제하고 새로운 파일(즉, 영상 데이터)을 저장한다. For example, the
그러나 상기 체크 결과, 상기 외장형 디스크가 최초 삽입된 것이 아니면, 즉, 상기 외장형 디스크가 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션이 분할되어 있으면, 상기 제어부(130)는 상기 외장형 디스크에 대한 초기화 과정(예 : 파티션 분할 및 포맷)을 수행하지 않는다.However, if it is determined that the external disk is not initially inserted, that is, if the external disk has a predetermined number of physical partitions divided by a preset capacity, the
상기와 같이 본 실시예는 종래에 전용 파일 시스템(TAT : Time Allocation Table)을 사용하거나, 파일 크기를 동일하게 하거나, 또는 두 개의 이동식 디스크를 사용하는 경우에 비해서 저비용으로 더 향상된 단편화 현상 방지 효과를 얻을 수 있다.As described above, according to the present exemplary embodiment, compared to the case where a dedicated file system (TAT: Time Allocation Table) is used, a file size is the same, or two removable disks are used, Can be obtained.
이상으로 본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 기술적 보호범위는 아래의 특허청구범위에 의해서 정하여져야 할 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, I will understand the point. Accordingly, the technical scope of the present invention should be defined by the following claims.
110 : 카메라부 120 : 충격감지부
130 : 제어부 131 : 디스크 상태 체크부
132 : 초기화부 133 : 용량 설정부
134 : 파티션 분할부 140 : 저장부
141 : 제1 디스크 142 : 제2 디스크110: camera unit 120: shock detection unit
130: control unit 131: disk status check unit
132: initialization unit 133: capacity setting unit
134: partition partitioning unit 140: storage unit
141: first disk 142: second disk
Claims (10)
상기 블랙박스 장치에 이동식 디스크가 삽입되는 경우, 상기 이동식 디스크를 외장형 디스크로 인식하고, 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 판단하여, 상기 외장형 디스크가 최초 삽입된 것으로 판단되면, 미리 설정된 방식으로 상기 외장형 디스크의 파티션을 분할하여 초기화 시키는 제어부;를 포함하는 것을 특징으로 하는 차량용 블랙박스 장치.
A black box device for a vehicle, comprising: a camera section for capturing an image of a surroundings of a vehicle in real time; and an impact detecting section for detecting an impact generated in the vehicle,
The method comprising the steps of: recognizing the removable disk as an external disk when the removable disk is inserted into the black box device; determining whether the external disk is first inserted into the black box device; And a controller for dividing and initializing partitions of the external disk in a set manner.
상기 삽입된 외장형 디스크의 상태를 체크하는 디스크 상태 체크부;
상기 외장형 디스크의 파티션의 용량을 미리 설정하는 용량 설정부;
상기 용량 설정부에서 미리 설정된 용량으로 상기 외장형 디스크의 파티션을 물리적으로 분할하는 파티션 분할부; 및
상기 분할된 각 물리적 파티션을 미리 지정된 파일 시스템으로 포맷하는 초기화부;를 포함하는 것을 특징으로 하는 차량용 블랙박스 장치.
The apparatus of claim 1,
A disc status check unit for checking the status of the inserted external disc;
A capacity setting unit that sets a capacity of the partition of the external disk in advance;
A partitioning unit for physically dividing a partition of the external disk into a capacity set in advance by the capacity setting unit; And
And an initialization unit for formatting each of the divided physical partitions into a predetermined file system.
상기 외장형 디스크가 미리 설정된 개수만큼 물리적 파티션이 분할되어 있는지, 상기 각 파티션이 미리 설정된 용량으로 설정되어 있는지, 및 상기 각 파티션에 영상 데이터가 저장되어 있는지 여부 중 적어도 하나 이상을 체크하며,
상기 체크 결과를 기초로 상기 제어부는 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 판단하는 것을 특징으로 하는 차량용 블랙박스 장치.
The apparatus according to claim 2,
Checking whether at least one of a physical partition of the external disk is divided by a predetermined number, whether each partition is set to a preset capacity, and whether image data is stored in each partition;
Wherein the control unit determines whether the external disk is first inserted into the black box device based on the check result.
상기 외장형 디스크의 파티션을 분할하여 초기화 시킨 이후,
상기 분할된 파티션 중 동일한 종류의 파일을 동일한 파티션에 저장하거나 삭제하되, 상기 각 파티션의 디스크 공간이 지정된 비율 이상이 되면 오래된 파일부터 순차로 삭제하고 새로 생성된 파일을 저장하도록 각 파티션별로 개별 제어하는 것을 특징으로 하는 차량용 블랙박스 장치.
The apparatus of claim 1,
After dividing and initializing partitions of the external disk,
If the disk space of each partition becomes equal to or larger than a specified ratio, the file of the same kind among the divided partitions is stored or deleted in the same partition, And a black box device for a vehicle.
상기 외장형 디스크의 파티션을 분할함에 있어서,
상시 녹화 영상, 충격 녹화 영상, 모션 녹화 영상, 및 매뉴얼 녹화 영상 중 적어도 하나를 개별적으로 저장할 수 있는 적어도 하나 이상의 파티션으로 분할하는 것을 특징으로 하는 차량용 블랙박스 장치.
The apparatus of claim 1,
In partitioning the external disk,
Wherein the at least one partition is divided into at least one partition capable of individually storing at least one of a normal recording image, an impact recording image, a motion recording image, and a manual recording image.
상기 제어부는 상기 외장형 디스크가 상기 블랙박스 장치에 최초로 삽입된 것인지 판단하는 단계;
상기 외장형 디스크가 최초 삽입된 것으로 판단되면, 상기 제어부는 미리 설정된 방식으로 상기 외장형 디스크의 파티션을 분할하여 초기화 시키는 단계;
상기 제어부는 상기 분할된 파티션 중 동일한 종류의 파일을 동일한 파티션에 저장하거나 삭제하는 단계;를 포함하는 것을 특징으로 하는 차량용 블랙박스 장치의 제어 방법.
When a removable disk is inserted into the black box device, the control unit recognizes the removable disk as an external disk;
Determining whether the external disk is first inserted into the black box device;
If it is determined that the external disk is inserted first, the controller divides and initializes partitions of the external disk in a preset manner;
Wherein the control unit stores or deletes files of the same type among the divided partitions in the same partition.
상기 제어부가 상기 외장형 디스크가 미리 설정된 개수만큼 물리적 파티션이 분할되어 있는지, 상기 각 파티션이 미리 설정된 용량으로 설정되어 있는지, 및 상기 각 파티션에 영상 데이터가 저장되어 있는지 여부 중 적어도 하나 이상을 체크하여 그로부터 최초 삽입 여부를 판단하는 것을 특징으로 하는 차량용 블랙박스 장치의 제어 방법.
The method of claim 6, wherein the step of checking whether the external disk is first inserted into the black box device comprises:
Wherein the controller checks at least one of a physical partition of a predetermined number of the external disks, whether each partition is set to a preset capacity, and whether image data is stored in each partition, Wherein the control unit determines whether or not the vehicle is initially inserted.
상기 외장형 디스크의 파티션을 분할하여 초기화 시키는 단계에서,
상기 제어부는 상기 외장형 디스크를 미리 설정된 용량으로 미리 설정된 개수만큼 물리적 파티션으로 분할하고, 상기 분할된 각 물리적 파티션을 미리 지정된 파일 시스템으로 포맷하는 것을 특징으로 하는 차량용 블랙박스 장치의 제어 방법.
The method according to claim 6,
In dividing and initializing partitions of the external disk,
Wherein the control unit divides the external disk into a predetermined number of physical partitions with a preset capacity and formats the divided physical partitions into a predetermined file system.
상기 블랙박스 장치의 카메라에서 촬영된 영상으로서,
상시 녹화 영상, 충격 녹화 영상, 모션 녹화 영상, 및 매뉴얼 녹화 영상 중 적어도 하나 이상 포함하는 것을 특징으로 하는 차량용 블랙박스 장치의 제어 방법.
7. The method of claim 6,
An image captured by a camera of the black box device,
Wherein the at least one of the continuously recorded image, the impact recorded image, the motion recorded image, and the manual recorded image includes at least one of a normal recording image, an impact recording image, a motion recording image, and a manual recording image.
상기 동일한 종류의 파일을 동일한 파티션에 저장하거나 삭제하는 단계에서,
상기 제어부는 파티션의 디스크 공간이 지정된 비율 이상이 되면 오래된 파일부터 순차로 삭제하고 새로 생성된 파일을 저장하도록 각 파티션별로 개별 제어하는 것을 특징으로 하는 차량용 블랙박스 장치의 제어 방법.The method according to claim 6,
In the step of storing or deleting the files of the same kind in the same partition,
Wherein the controller controls each partition to individually delete old files and save newly created files when the disk space of the partitions exceeds a specified ratio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140066126A KR102197194B1 (en) | 2014-05-30 | 2014-05-30 | Car black box and the control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140066126A KR102197194B1 (en) | 2014-05-30 | 2014-05-30 | Car black box and the control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150138980A true KR20150138980A (en) | 2015-12-11 |
KR102197194B1 KR102197194B1 (en) | 2021-01-04 |
Family
ID=55020230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140066126A KR102197194B1 (en) | 2014-05-30 | 2014-05-30 | Car black box and the control method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102197194B1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018230839A1 (en) * | 2017-06-15 | 2018-12-20 | 주식회사 진진 | Event data recorder and method thereof |
KR20200123635A (en) | 2019-04-22 | 2020-10-30 | 현대자동차주식회사 | Apparatus for controlling access of image data in vehicle and method thereof |
KR102181578B1 (en) * | 2020-07-31 | 2020-11-23 | (주)데이터허브 | Vehicle black box to which SAT variable block method is applied |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19980014308U (en) * | 1998-03-05 | 1998-06-05 | 나예환 | Device that records and reproduces the occurrence of car accident |
KR20080072201A (en) * | 2007-02-01 | 2008-08-06 | 삼성전자주식회사 | Digital device capable of memory formatting and method for memory format, digital device having a function of storing and method for storing |
KR101381746B1 (en) * | 2013-02-14 | 2014-04-07 | 동아대학교 산학협력단 | Black box apparatus for vehicle |
-
2014
- 2014-05-30 KR KR1020140066126A patent/KR102197194B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19980014308U (en) * | 1998-03-05 | 1998-06-05 | 나예환 | Device that records and reproduces the occurrence of car accident |
KR20080072201A (en) * | 2007-02-01 | 2008-08-06 | 삼성전자주식회사 | Digital device capable of memory formatting and method for memory format, digital device having a function of storing and method for storing |
KR101381746B1 (en) * | 2013-02-14 | 2014-04-07 | 동아대학교 산학협력단 | Black box apparatus for vehicle |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018230839A1 (en) * | 2017-06-15 | 2018-12-20 | 주식회사 진진 | Event data recorder and method thereof |
KR20200123635A (en) | 2019-04-22 | 2020-10-30 | 현대자동차주식회사 | Apparatus for controlling access of image data in vehicle and method thereof |
US10825272B1 (en) | 2019-04-22 | 2020-11-03 | Hyundai Motor Company | Image data access control apparatus for vehicle and method thereof |
KR102181578B1 (en) * | 2020-07-31 | 2020-11-23 | (주)데이터허브 | Vehicle black box to which SAT variable block method is applied |
Also Published As
Publication number | Publication date |
---|---|
KR102197194B1 (en) | 2021-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI632457B (en) | Method of wear leveling for data storage device | |
US8166231B2 (en) | Memory controller, nonvolatile memory device, access device, and nonvolatile memory system | |
EP2631916B1 (en) | Data deletion method and apparatus | |
WO2011062861A1 (en) | Aligning data storage device partition to boundary of physical data sector | |
US9930207B2 (en) | Information processing apparatus, method of initializing a non-volatile storage device, and storage medium | |
JP6347055B2 (en) | Nonvolatile memory device | |
US20160124845A1 (en) | Data Storage Device and Flash Memory Control Method | |
KR102197194B1 (en) | Car black box and the control method thereof | |
US20120089765A1 (en) | Method for performing automatic boundary alignment and related non-volatile memory device | |
KR101809044B1 (en) | Video recording apparatus with pre-event circulation recording function | |
US9948809B2 (en) | Image forming apparatus, memory management method for image forming apparatus, and program, using discretely arranged blocks in prioritizing information | |
JP2010086009A (en) | Storage device and memory control method | |
KR101502725B1 (en) | Apparatus and method for using buffer to manage files in storage of video event data recorder | |
US9852746B2 (en) | Information processing apparatus, method of controlling the same, program and storage medium | |
US20130086345A1 (en) | Storage apparatus, control apparatus, and storage apparatus control method | |
KR101880190B1 (en) | Solid state drive and block attribute indicating method performed by the same | |
KR102324278B1 (en) | Car black box and the control method thereof | |
KR20150137661A (en) | Method and apparatus for fragmentation prevention of non-volatile memory for blackbox device | |
JP2004362221A (en) | Hard disk backup recovery system, hard disk backup recovery method and information processing device | |
KR20200081604A (en) | Black box apparatus for two wheeled vehicle | |
JP2008262452A (en) | Cache method of recording device, and recording device | |
US9779001B2 (en) | Mirroring device, control method thereof, and storage medium that maintain difference in remaining writable amounts of data | |
KR20180045557A (en) | The Apparatus For Memory | |
KR101559241B1 (en) | Method and system for storing representative images of video event data recorder | |
US20100037004A1 (en) | Storage system for backup data of flash memory and method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right |