KR20180003266A - CCTV image data extraction methods stored on the hard disk - Google Patents

CCTV image data extraction methods stored on the hard disk Download PDF

Info

Publication number
KR20180003266A
KR20180003266A KR1020160082874A KR20160082874A KR20180003266A KR 20180003266 A KR20180003266 A KR 20180003266A KR 1020160082874 A KR1020160082874 A KR 1020160082874A KR 20160082874 A KR20160082874 A KR 20160082874A KR 20180003266 A KR20180003266 A KR 20180003266A
Authority
KR
South Korea
Prior art keywords
image data
block
information
checking
hard disk
Prior art date
Application number
KR1020160082874A
Other languages
Korean (ko)
Inventor
김승용
김상욱
박준규
Original Assignee
한국교통대학교산학협력단
(주)명정보기술
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 한국교통대학교산학협력단, (주)명정보기술 filed Critical 한국교통대학교산학협력단
Priority to KR1020160082874A priority Critical patent/KR20180003266A/en
Publication of KR20180003266A publication Critical patent/KR20180003266A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/7605Television signal recording on discs or drums

Abstract

The present specification relates to a method for extracting CCTV image data stored on a hard disk, and more particularly, to a method for extracting CCTV image data stored on a hard disk, which includes: a block management information analysis step of analyzing block management information of the hard disk including at least one block in which image data is stored; an image data check step of checking whether there is the image data after the block management information analysis step; and an extraction step of extracting the image data by checking the image data in the block after the image data check step. According to the present invention, the CCTV image data stored on the hard disk can be quickly extracted without a digital video recorder (DVR) device.

Description

하드디스크에 저장된 CCTV 영상 데이터 추출 방법{CCTV image data extraction methods stored on the hard disk}[0001] The present invention relates to a method for extracting CCTV image data stored on a hard disk,

본 명세서는 하드디스크에 저장된 CCTV 영상 데이터 추출 방법에 관한 것으로, 더욱 상세하게는 CCTV 영상 데이터가 저장되어 있는 데이터 구조를 파악하고, 영상 인덱스를 기반으로 영상 데이터를 추출함으로써 DVR(DIGITAL VIDEO RECORDER) 장치가 없이도 효과적으로 CCTV 영상 데이터를 추출할 수 있는 하드디스크에 저장된 CCTV 영상 데이터 추출 방법에 대한 것이다. [0001] The present invention relates to a method of extracting CCTV image data stored in a hard disk, and more particularly, to a method of extracting CCTV image data from a digital video recorder (DVR) device by detecting a data structure in which CCTV image data is stored, The present invention relates to a CCTV image data extraction method and a CCTV image data extraction method.

현재 CCTV 시스템은 DVR 장치를 이용하여 녹화된 영상 데이터를 저장하는 방식이 사용되고 있으며, DVR 장치는 아날로그 카메라가 연결된 경우 영상 데이터를 디지털화하여 하드디스크에 저장하고, 디지털 카메라의 경우 입력되는 디지털 영상 데이터를 하드디스크에 저장한다.Currently, the CCTV system uses a method of storing video data recorded using a DVR device. When a DVR device is connected to an analog camera, the video data is digitized and stored in a hard disk. In the case of a digital camera, Save it to your hard disk.

상기 DVR 장치는 영상 데이터를 저장하기 위해 하드디스크가 내부에 장착되어 있으며, 전체 영상 녹화 파일에서 사용자가 원하는 시간대의 영상을 검색하여 재생시킬 수 있다. The DVR device is equipped with a hard disk for storing video data, and can search for and reproduce an image of a desired time in the entire video recording file.

일반적으로 CCTV에서 녹화된 영상 데이터를 추출하기 위해서는 DVR 장치 또는 NVR(Network Video Recorder) 장치에 USB 저장장치를 연결하여 영상 데이터를 추출하는 방식을 이용한다. 그러나 USB 저장장치의 용량 한계 및 USB 장치의 속도 한계로 인하여 대용량의 CCTV 영상 데이터를 추출하는 경우 여러 번 반복해서 영상 데이터 추출 작업을 해야 하며, 이때 추출 시간이 매우 오래 걸린다는 단점이 있다. Generally, in order to extract video data recorded in CCTV, a method of extracting video data by connecting a USB storage device to a DVR device or an NVR (Network Video Recorder) device is used. However, due to the capacity limitation of the USB storage device and the speed limit of the USB device, when extracting a large amount of CCTV image data, it is necessary to repeatedly perform image data extraction operation repeatedly, and the extraction time is very long.

또한, CCTV에서 녹화된 영상 데이터를 추출하기 위해서는 DVR 장치가 필요하지만, 대부분의 범죄 현장에서는 증거물로 하드디스크만 확보되는 경우가 많다. DVR 장치는 제조사마다 서로 다른 파일 구조를 이용하여 영상 데이터를 하드디스크에 저장하고 있으므로, 하드디스크만을 확보한 경우 DVR 장치 제조사에 의뢰를 하거나 국립과학수사연구원에 의뢰해야만 영상 데이터의 복구가 가능하다. 하지만, 국내 제품의 경우 휴업, 또는 폐업으로 인해 기술지원이 불가능한 업체일 경우 도움을 받기 어려우며, 해외 제품일 경우 기술 지원을 받더라도 시간이 오래 걸리는 문제가 있다. 또한, 개인이 국립과학수사연구원에 의뢰하기는 어려운 실정이다.In addition, a DVR device is required to extract video data recorded in CCTV, but in most crime scenes, only a hard disk is obtained as evidence. DVR devices store video data on a hard disk using different file structures for each manufacturer. Therefore, if only a hard disk is secured, it can be restored only by submitting it to the manufacturer of DVR device or by requesting the National Institute of Scientific Investigation. However, in case of domestic products, it is difficult to get help if the company is unable to provide technical support due to closure of business or closure of business. In case of overseas products, it takes a long time to receive technical support. It is also difficult for an individual to refer to the National Institute of Scientific Investigation.

공개특허공보 제10-2011-0066344호(2011.06.17.)Published Patent Application No. 10-2011-0066344 (Jun. 17, 2011)

본 발명은 상기와 같은 문제점을 해결하기 위해 고안한 것으로, CCTV의 영상 데이터를 추출하기 위해 USB 저장장치를 이용하는 경우, USB 저장장치의 용량 한계 및 USB 장치의 속도 한계의 문제를 해결하기 위한 방법의 제공을 목적으로 한다.The present invention has been devised in order to solve the above problems, and it is an object of the present invention to provide a method for solving the problem of the capacity limit of the USB storage device and the speed limit of the USB device when the USB storage device is used to extract the CCTV image data .

또한, CCTV 영상 데이터가 저장되어 있는 하드디스크만을 확보한 경우에도 DVR 장치 없이 컴퓨터에서 직접 영상 데이터를 추출할 수 있는 방법의 제공을 목적으로 한다.Also, it is an object of the present invention to provide a method for directly extracting image data from a computer without a DVR device even if only a hard disk storing CCTV image data is secured.

영상 데이터가 저장된 적어도 하나의 블록을 포함하는 하드디스크의 블록 관리 정보를 분석하는 블록 관리 정보 분석 단계; 상기 분석 단계 이후, 상기 영상 데이터의 존재 유무를 확인하는 영상 데이터 확인 단계; 및 상기 확인 단계 이후, 상기 블록 내 상기 영상 데이터를 확인하여 추출하는 단계를 포함할 수 있다. A block management information analysis step of analyzing block management information of a hard disk including at least one block in which image data is stored; An image data checking step of checking presence or absence of the image data after the analyzing step; And checking and extracting the image data in the block after the checking step.

상기 블록 관리 정보 분석 단계는 상기 블록의 사용 유무를 확인하는 단계; 상기 블록 관리 정보를 판독하는 단계; 및 상기 영상 데이터의 시간 정보를 확인하는 단계를 포함할 수 있다..Wherein the block management information analysis step comprises: checking whether the block is used; Reading the block management information; And checking the time information of the image data.

상기 영상 데이터 확인 단계는 사용자가 입력한 정보를 수신하는 단계; 및 상기 수신된 정보의 유효성을 확인하는 단계를 포함하며, 상기 수신된 정보는 상기 영상 데이터의 시작시간, 종료시간 및 카메라 번호 정보인 것을 특징으로 할 수 있다.Wherein the image data checking step comprises: receiving information inputted by a user; And confirming the validity of the received information, wherein the received information is start time, end time, and camera number information of the image data.

상기 수신된 정보의 유효성을 확인하는 단계는 상기 블록 내에 상기 수신된 정보에 해당하는 상기 영상 데이터의 존재 유무를 확인할 수 있다.The step of verifying the validity of the received information may determine whether the video data corresponding to the received information exists in the block.

상기 영상 데이터 추출 단계는 상기 영상 데이터가 저장되어 있는 상기 블록을 확인하는 단계; 상기 확인된 블록을 리스트 업 하는 단계; 상기 확인된 블록 내 영상 인덱스를 확인하는 단계; 상기 추출하고자 하는 상기 영상 데이터의 위치를 확인하는 단계; 및 상기 영상 데이터를 추출하는 단계를 포함할 수 있다.Wherein the extracting of the image data comprises: identifying the block in which the image data is stored; Listing the identified blocks; Checking the identified intra-block video index; Confirming a position of the image data to be extracted; And extracting the image data.

상기 영상 데이터의 위치를 확인하는 단계는 상기 영상 인덱스 영역에 있는 K번째 영상 인덱스의 데이터와 대응되는, 영상 데이터 영역에 존재하는 K번째 영상 데이터의 위치를 확인할 수 있다.The step of confirming the position of the image data may identify the position of the Kth image data in the image data area corresponding to the data of the Kth image index in the image index area.

본 발명에 의하면, 하드디스크에 저장된 CCTV 영상 데이터를 추출할 경우 DVR 장치에 USB저장장치를 연결할 필요 없이 컴퓨터를 통해 바로 추출이 가능하므로, USB 저장장치를 연결함으로써 발생하는 저장장치의 용량 문제 및 추출 시간이 오래 걸리는 문제를 획기적으로 개선하는 효과가 있다. According to the present invention, when extracting the CCTV image data stored in the hard disk, it is possible to directly extract the CCTV image data through the computer without connecting the USB storage device to the DVR device. Therefore, It has the effect of drastically improving the time-consuming problem.

또한 범죄 현장의 증거물로써 하드디스크만 확보한 경우, 해당 DVR 장치 없이도 CCTV 영상 데이터를 추출할 수 있으므로 영상 추출을 위해 동일한 DVR 장치를 확보해야 하는 어려움을 해결하여, 증거 영상 확보 시간을 단축하는 효과가 있다. In addition, CCTV image data can be extracted without a corresponding DVR device if the hard disk is secured as evidence of a crime scene, thereby solving the difficulty of securing the same DVR device for image extraction and shortening the time to acquire evidence images have.

도 1은 본 명세서의 실시 예에 따른 하드디스크에 저장된 CCTV 영상 데이터 추출 방법에 대한 개략적인 흐름도,
도 2는 본 명세서의 실시 예에 따른 블록 관리정보 분석 단계의 흐름도,
도 3은 본 명세서의 실시 예에 따른 영상 데이터 확인 단계의 흐름도,
도 4는 본 명세서의 실시 예에 따른 영상 데이터 추출 단계의 흐름도,
도 5는 본 명세서의 실시 예에 따른 하드디스크 내 블록 관리 정보 및 블록의 구성도,
도 6은 본 명세서의 실시 예에 따른 하나의 블록 내에서의 영상 프레임 인덱스와 영상 데이터와의 관계도이다.
1 is a schematic flowchart of a method of extracting CCTV image data stored in a hard disk according to an embodiment of the present invention;
FIG. 2 is a flowchart of a block management information analysis step according to an embodiment of the present invention;
3 is a flowchart of a video data checking step according to an embodiment of the present invention;
4 is a flowchart of an image data extracting step according to an embodiment of the present invention;
5 is a block diagram of a block management information and a block in a hard disk according to an embodiment of the present invention;
FIG. 6 is a diagram showing a relationship between an image frame index and image data in one block according to an embodiment of the present invention.

이하, 본 명세서의 실시 예를 첨부된 도면을 참조하여 설명한다. 본 명세서에 따른 동작 및 작용을 이해하는 데 필요한 부분을 중심으로 상세히 설명한다. 본 명세서의 실시 예를 설명하면서, 본 명세서가 속하는 기술 분야에 익히 알려졌고 본 명세서와 직접적으로 관련이 없는 기술 내용에 대해서는 설명을 생략한다. 이는 불필요한 설명을 생략함으로써 본 명세서의 요지를 흐리지 않고 더욱 명확히 전달하기 위함이다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Will be described in detail with reference to the portions necessary for understanding the operation and operation according to the present specification. In describing the embodiments of the present invention, description of technical contents which are well known in the technical field to which the present invention belongs and which are not directly related to the present specification will be omitted. This is for the sake of clarity without omitting the unnecessary explanation and without giving the gist of the present invention.

또한, 본 명세서의 구성 요소를 설명하는 데 있어서, 동일한 명칭의 구성 요소에 대하여 도면에 따라 다른 참조부호를 부여할 수도 있으며, 서로 다른 도면임에도 동일한 참조부호를 부여할 수도 있다. 그러나 이와 같은 경우라 하더라도 해당 구성 요소가 실시 예에 따라 서로 다른 기능을 갖는다는 것을 의미하거나, 서로 다른 실시 예에서 동일한 기능을 갖는다는 것을 의미하는 것은 아니며, 각각의 구성 요소의 기능은 해당 실시 예에서의 각각의 구성 요소에 대한 설명에 기초하여 판단하여야 할 것이다.In describing the components of the present specification, the same reference numerals may be given to components having the same name, and the same reference numerals may be given to different drawings. However, even in such a case, it does not mean that the corresponding component has different functions according to the embodiment, or does not mean that it has the same function in different embodiments, and the function of each component is different from that of the corresponding embodiment Based on the description of each component in FIG.

도 1은 본 명세서의 실시 예에 따른 하드디스크에 저장된 CCTV 영상 데이터 추출 방법에 대한 개략적인 흐름도이다.1 is a flowchart illustrating a method of extracting CCTV image data stored in a hard disk according to an embodiment of the present invention.

도 1을 참조하면, 하드디스크에 저장된 CCTV 영상 데이터 추출 방법을 간략히 살펴보면, 블록 관리 정보 분석 단계(S100), 영상 데이터 확인 단계(S200)및 영상 데이터를 추출하는 단계(S300)를 포함한다. Referring to FIG. 1, a method of extracting CCTV image data stored in a hard disk includes a block management information analysis step (S100), an image data confirmation step (S200), and a step of extracting image data (S300).

상기 본원 발명의 명확한 이해를 돕기 위해 아래와 같은 설명을 추가하기로 한다.In order to facilitate a clear understanding of the present invention, the following description will be added.

일반적으로 CCTV시스템은 카메라. DVR장치로 구성된다. 상기 DVR 장치는 영상 데이터를 저장하기 위해 하드디스크가 내부에 장착되어 있으며, 카메라에 의해 입력되는 영상 신호를 하드디스크에 저장하는 방식이다. 또한, DVR 장치는 사용자로부터 영상데이터의 검색 및 재생과 같은 정보를 입력 받고, 상기 입력 받은 정보에 해당하는 영상을 재생시킬 수 있다Usually the CCTV system is a camera. DVR device. The DVR device is equipped with a hard disk for storing video data, and a video signal inputted by a camera is stored in a hard disk. In addition, the DVR device may receive information such as search and playback of video data from a user, and may play back an image corresponding to the input information

하드디스크는 저장된 데이터를 블록화 하여 관리한다. 이때 하드디스크는블록 정보 관리 영역 및 N개의 블록 영역을 포함하고 있으며, 블록 관리 정보 영역에는 N개의 블록에 대한 정보들이 저장된 영역이다. 따라서, 블록 관리 정보 영역에 저장된 정보를 분석하면 블록의 정보를 확인할 수 있다. 하드디스크의 구체적인 구조는 도 5에 도시되어 있으며 더욱 구체적인 설명은 차후 설명하기로 한다. The hard disk manages the stored data by blocking. At this time, the hard disk includes a block information management area and N block areas, and a block management information area stores information on N blocks. Therefore, by analyzing the information stored in the block management information area, the information of the block can be confirmed. The specific structure of the hard disk is shown in FIG. 5, and a more detailed description will be given later.

도 1에 도시된 바와 같이 블록 관리 정보 분석 단계(S100)는 하드디스크 내 블록 관리 정보 영역에 저장된 정보를 이용하여 블록 내 영상 데이터 정보를 확인 및 분석하는 단계이다.As shown in FIG. 1, the block management information analysis step S100 is a step of identifying and analyzing the intra-block image data information using the information stored in the block management information area in the hard disk.

이때, 하드디스크의 관리 정보 영역 에는 DVR 장치의 작동과 관련하여 하드디스크의 초기화 여부를 확인하기 위한 식별정보, 고유 파일 시스템에서 하드디스크를 분할하여 사용하는 블록의 크기 및 위치 정보, 블록에 저장되어 있는 영상 데이터에 대한 시작 시간 정보, 각 블록의 영상 데이터 저장 유무 및 마지막 영상 데이터가 저장되어 있는 곳의 위치 정보 등이 저장되어 있다. 따라서 블록 관리 정보 영역에는 각각의 블록 내에 저장된 영상의 시간 정보가 포함되어 있으므로, 블록 관리 정보를 분석 함으로써(S100) 블록 내에 저장된 영상 데이터의 시간 정보 확인이 가능하다.At this time, in the management information area of the hard disk, identification information for confirming whether the hard disk is initialized with respect to the operation of the DVR device, size and position information of the block used by dividing the hard disk in the unique file system, Start time information of the image data, presence / absence of image data of each block, and location information of the last image data are stored. Therefore, since the block management information area includes the time information of the image stored in each block, the time information of the image data stored in the block can be checked by analyzing the block management information (S100).

영상 데이터 확인 단계(S200)는 사용자로부터 추출하고자 하는 영상 데이터의 정보를 입력 받아 상기 수신된 정보의 유효성을 확인한다.The image data checking step (S200) receives the information of the image data to be extracted from the user and verifies the validity of the received information.

상기 수신된 정보는 영상 데이터의 시간정보 및 카메라 번호 정보를 포함하며, 이에 한정하지는 않는다. 또한, S200 단계에서 유효성을 판단하는 것은 상기 수신된 정보가 해당 블록 내에 존재하는지의 유무를 확인하는 것을 특징으로 한다.The received information includes time information of camera data and camera number information, but is not limited thereto. The determination of the validity in step S200 may include checking whether the received information exists in the corresponding block.

영상 데이터를 추출하는 단계(S300)는 상기 S200단계에서 수신된 정보에 해당하는 블록을 확인하여 블록 내에 저장된 영상 데이터를 추출하는 단계이다.Step S300 of extracting the image data is a step of extracting image data stored in the block by checking a block corresponding to the information received in step S200.

상기와 같은 방법을 통해 본원 발명 에서는 DVR 장치가 없어도 추출하고자 하는 영상 데이터만의 추출이 가능하다.According to the present invention, only the image data to be extracted can be extracted without the DVR device.

도 2는 본 명세서의 실시 예에 따른 블록 관리정보 분석 단계의 흐름도이다.2 is a flowchart of the block management information analysis step according to an embodiment of the present invention.

도 2를 참조하면, 블록 관리 정보 분석 단계(S100)는 블록의 사용 유무 확인 단계 (S110), 블록 관리 정보 판독 단계(S120), 영상 데이터의 시간 정보 확인 단계(S130)를 포함한다. Referring to FIG. 2, the block management information analysis step S100 includes a step of checking whether a block is used (S110), a block management information reading step (S120), and a time information checking step of a video data (S130).

블록의 사용 유무 확인 단계(S110)는 블록 관리 정보 영역에 저장된 정보를 확인하여 하드디스크 내의 블록들의 사용 유무를 확인한다. 상기 블록 관리 정보 영역에는 블록에 대한 정보들이 저장되어 있으므로, 블록 관리 정보 영역을 확인함으로써, 블록의 사용 유무를 확인 할 수 있게 된다.In the block use check step (S110), the information stored in the block management information area is checked to check whether or not the blocks in the hard disk are used. Since the information on the block is stored in the block management information area, the presence or absence of use of the block can be confirmed by checking the block management information area.

블록 관리 정보 판독 단계(S120)는 블록 내에 저장된 영상 데이터들의 기타 정보를 판독한다. 상기 블록 관리 정보 영역에는 블록 내 저장된 영상 데이터의 관리를 위한 부가 정보들이 포함되어 있다. 따라서, 블록 관리 정보를 판독 함으로써, 영상 데이터들의 기타 정보들의 판독이 가능하게 된다. 이때, 상기 S110 단계에서는 블록 의 사용 유무만을 확인하였다면, S120 단계에서는 블록 내에 저장된 영상 데이터들의 관리 정보를 판독하는 것을 특징으로 한다. The block management information reading step (S120) reads other information of the image data stored in the block. The block management information area includes additional information for managing the image data stored in the block. Therefore, by reading the block management information, it becomes possible to read other information of the video data. If it is determined in step S110 whether or not the block is used, the management information of the image data stored in the block is read in step S120.

영상 데이터의 시간 정보 확인 단계(S130)는 블록 관리 정보 영역에서 블록 내 저장된 영상 데이터의 시간 정보를 확인하는 단계이다. 하드디스크 내에 저장된 영상 데이터들의 시간 정보를 확인하는 작업으로, 상기 시간 정보는 영상 데이터의 시작시간, 종료시간 등을 포함할 수 있다. The step of checking the time information of the image data (S130) is a step of checking the time information of the image data stored in the block in the block management information area. The time information of the image data stored in the hard disk may be checked. The time information may include a start time and an end time of the image data.

본 발명에서는 상기와 같이 블록 내 영상 데이터가 존재하는지의 여부를 확인하고(S110), 블록 내 영상 관리에 필요한 기타 정보 들을 판독하고(S120), 블록 내 저장된 영상 데이터의 시간 정보를 추가적으로 확인함으로써, (S130) 특정 시간대의 영상이 몇 번째 블록에 저장되어 있는지 확인이 가능하다.In the present invention, it is checked whether or not the intra-block image data exists as described above (S110), and other information necessary for intra-block image management is read (S120), and the time information of the image data stored in the block is additionally confirmed, (S130) It is possible to check how many blocks the video of a specific time zone is stored.

도 3은 본 명세서의 실시 예에 따른 영상 데이터 확인단계의 흐름도이다. FIG. 3 is a flowchart of the image data checking step according to the embodiment of the present invention.

도 3을 참조하면, 영상 데이터 확인단계(S200)는 영상 데이터의 시작시간, 종료시간 및 카메라 번호를 수신 받는 단계(S210) 및 수신한 정보의 유효성을 확인하는 단계(S220)를 포함한다.Referring to FIG. 3, the image data checking step S200 includes receiving a start time, an ending time, and a camera number of the image data (S210) and confirming the validity of the received information (S220).

상기 영상 데이터의 시간 정보 및 카메라 번호를 수신 받는 단계(S210)는 사용자가 추출 하고자 하는 영상 데이터의 정보를 수신하는 단계이다.The step S210 of receiving the time information and the camera number of the image data is a step of receiving information of the image data to be extracted by the user.

이때, 사용자로부터 추출하고자 하는 영상 데이터의 정보를 입력 받는 단계를 더 포함할 수 있다.(미도시)In this case, the method may further include receiving information of the image data to be extracted from the user (not shown).

또한, 상기 수신하는 정보는 영상 데이터의 시작 시간 정보, 종료 시간 정보 및 카메라 번호 정보를 포함하며, 이에 한정하지는 않는다. In addition, the received information includes start time information, end time information, and camera number information of the video data, but is not limited thereto.

상기 데이터의 유효성을 확인하는 단계(S220)는 사용자가 입력한 영상 데이터의 시간 영역이 해당 블록에 존재하는지의 유무를 확인하는 단계이다. The step of verifying the validity of the data (S220) is a step of checking whether or not the time domain of the image data input by the user exists in the corresponding block.

이때, 상기 단계를 통해 수신한 정보에 해당하는 영상 데이터 정보가 블록 내에 존재하지 않을 경우, 영상 데이터의 시간 정보 및 카메라 번호를 수신 받는 단계(S210)를 다시 수행할 수 있다.(미도시)In this case, if the image data information corresponding to the received information is not present in the block, step S210 of receiving the time information and the camera number of the image data may be performed again (not shown) (not shown).

도 4는 본 명세서의 실시 예에 따른 영상 데이터 추출 단계의 흐름도이다.4 is a flowchart of an image data extracting step according to an embodiment of the present invention.

도 4를 참조하면, 영상 데이터 추출 단계(S300)는 영상 데이터가 저장되어 있는 블록을 확인하는 단계(S310), 영상 데이터가 저장되어 있는 블록을 리스트 업 하는 단계(S320), 블록 내 영상 인덱스를 확인하는 단계(S330), 영상 데이터의 위치를 확인하는 단계(S340) 및 블록 내 영상 데이터를 추출하는 단계(S350)을 포함한다.Referring to FIG. 4, the image data extraction step S300 includes a step S310 of checking a block in which image data is stored, a step S320 of listing a block in which image data is stored, A step S340 of confirming the position of the image data, and a step S350 of extracting the in-block image data.

상기 영상 데이터가 저장되어 있는 블록을 확인하는 단계(S310)는 상기 수신한 정보에 해당하는 영상 데이터가 존재하는 블록의 위치를 확인하는 단계이다. 블록 관리 정보영역에는 블록의 시간 정보가 저장되어 있으므로, 각각의 블록에 저장된 데이터를 직접 확인하지 않고, 상기 블록 관리 정보 영역의 분석만으로도 상기 수신된 정보에 해당하는 영상 데이터가 저장된 블록의 위치를 쉽게 찾아 접근할 수 있다. In operation S310, a block in which the image data is stored is checked in step S310. Since the time information of the block is stored in the block management information area, the position of the block storing the video data corresponding to the received information can be easily determined by analyzing only the block management information area without directly checking the data stored in each block You can browse and access.

영상 데이터가 저장되어 있는 블록을 리스트 업 하는 단계(S320)는 상기 수신한 정보에 해당하는 블록을 찾아 나열하는 단계이다. A step S320 of listing up the blocks storing the image data is to find and arrange the blocks corresponding to the received information.

블록 내 영상 인덱스를 확인하는 단계(S330)는 상기 리스트 업 된 블록 내에 수신한 정보에 해당하는 영상 데이터의 위치를 찾기 위해 영상 인덱스 영역내에 저장된 정보를 확인하는 단계이다. The step S330 of confirming the intra-block image index is a step of confirming the information stored in the image index area to find the position of the image data corresponding to the information received in the list-up block.

블록은 영상 인덱스영역과 영상 데이터 영역으로 반복적으로 나뉘어진다. 즉, 하나의 블록 내에 영상 인덱스 영역 및 상기 영상 인덱스 영역에 대응하는 데이터 영역이 존재하고 이러한 그룹이 반복하여 존재한다. 또한, 영상 인덱스에는 해당 블록 내에 저장되어 있는 영상 데이터의 프레임 별로 카메라 번호, 시간정보, 프레임 번호를 포함하는 정보들이 저장되어 있다. 영상 인덱스를 확인하면 영상 데이터의 위치를 파악할 수 있게 되어 수신한 정보에 해당하는 시간대의 영상의 추출이 가능하게 된다.The block is repeatedly divided into the video index area and the video data area. That is, an image index area and a data area corresponding to the image index area exist in one block, and such a group exists repeatedly. In the video index, information including camera number, time information, and frame number is stored for each frame of video data stored in the corresponding block. If the video index is checked, the position of the video data can be grasped, and the video of the time zone corresponding to the received information can be extracted.

영상 데이터의 위치를 확인하는 단계(S340)는 상기 S330 단계에서 확인된 상기 정보를 통해 영상 데이터의 위치를 확인하는 단계이다. 이때, 영상 인덱스 영역과 영상 데이터 영역은 1:1 대응되는 구조로, S330 단계에서 영상 인덱스 영역을 확인 함으로써, 수신된 정보에 해당하는 영상 데이터의 위치의 확인이 가능하게 된다.The step S340 of confirming the position of the image data is a step of confirming the position of the image data through the information confirmed in the step S330. In this case, the image index area and the image data area correspond to each other in a one-to-one correspondence. In step S330, the position of the image data corresponding to the received information can be confirmed by checking the image index area.

블록 내 영상 데이터를 추출하는 단계(S350)는 상기 수신된 정보에 해당하는 영상 데이터영역의 위치에 접근하여, 영상 데이터를 추출하는 단계이다.The step of extracting the intra-block image data (S350) is a step of accessing the position of the image data area corresponding to the received information and extracting the image data.

본원 발명에서는 이와 같은 방법으로 원하는 시간대의 영상 데이터를 추출함으로써 DVR 장치 없이도 빠른 시간 내에 효과적으로 영상 데이터를 추출할 수 있게 된다.According to the present invention, video data of a desired time period can be extracted in this manner, thereby effectively extracting image data in a short time without a DVR device.

도 5는 본 명세서의 실시 예에 따른 하드디스크 내 블록 관리 정보 및 블록의 구성도이다. 5 is a block diagram of block management information and blocks in a hard disk according to an embodiment of the present invention.

도 5를 참조하면, 하드디스크에는 블록 관리 정보 영역이 하드디스크의 맨 처음에 위치하고, N개의 블록들이 순차적으로 위치되어 있다. 또한, 1개의 블록 내에는 영상 인덱스 영역과 영상 데이터 영역이 포함되어 있으며, 영상 인덱스영역과 영상 데이터 영역이 반복적으로 나타나는 구조이다. Referring to FIG. 5, a block management information area is located at the top of the hard disk, and N blocks are sequentially located on the hard disk. Also, in one block, the video index area and the video data area are included, and the video index area and the video data area are repeatedly displayed.

블록 관리 정보 영역에는 DVR의 작동과 관련하여 하드디스크의 초기화 여부를 확인하기 위한 식별 정보, 고유 파일 시스템에서 하드디스크를 분할하여 사용하는 블록의 크기 및 위치 정보, 블록에 저장되어 있는 영상 데이터에 대한 시작 시간 정보, 각 블록의 영상 데이터 저장 유무, 마지막 영상 데이터가 저장되어 있는 곳의 위치 정보, 영상 데이터를 저장할 수 있는 영상 데이터 영역의 크기 정보 등이 저장되어 있다. In the block management information area, identification information for confirming whether or not the hard disk is initialized with respect to the operation of the DVR, size and position information of the block used by dividing the hard disk in the unique file system, Start time information, presence / absence of image data of each block, location information of a location where the last image data is stored, size information of an image data area capable of storing image data, and the like.

영상 인덱스 영역에는 하드디스크에 저장되어 있는 영상의 검색을 위해 필요한 정보인 영상 데이터 영역에 저장 되어 있는 영상 데이터의 위치 정보, 시간 정보, 옵셋(Offset) 정보, 카메라 번호, 프레임 번호 등이 저장되어 있으며, 영상 데이터 영역에는 영상 데이터마다 각 DVR 제조사 고유의 헤더 정보와 영상 데이터가 저장되어 있다.In the video index area, position information, time information, offset information, camera number, frame number, and the like of the video data stored in the video data area, which is information necessary for searching the video stored in the hard disk, are stored , And header information and video data specific to each DVR manufacturer are stored for each video data in the video data area.

해당 구조에서는 카메라로부터 영상데이터가 입력되면 영상 인덱스를 생성하고, 이와 동시에 영상 데이터를 저장하고 있으며, 모든 영상 인덱스 영역의 크기가 동일하고 모든 영상 데이터 영역의 크기다 동일하다는 특징을 가지고 있다. 또한, 하드디스크의 모든 영역에 영상 데이터를 저장하고 난 후 다시 하드디스크의 처음부터 다시 영상 인덱스와 데이터가 저장되는 방식이다.In this structure, when image data is input from a camera, an image index is generated, and at the same time, image data is stored. All image index areas have the same size and all the image data areas have the same size. In addition, image data is stored in all areas of the hard disk, and then the image index and data are stored again from the beginning of the hard disk.

다만, DVR 장치는 제조사마다 서로 다른 파일 구조를 이용하여 관리하고 있으므로, 도5의 예시를 포함하여 다양한 파일 구조가 존재하지만 블록 관리 정보 영역, 영상 인덱스 영역, 영상 데이터 영역이 반드시 존재하며, 상기 언급한 영역으로 구분할 수 있는 모든 DVR 장치의 파일구조를 대상으로 본 발명의 내용을 적용할 수 있다.However, since there are various file structures including the example of FIG. 5, the block management information area, the video index area, and the video data area necessarily exist, The contents of the present invention can be applied to file structures of all DVR devices that can be divided into one area.

블록 관리정보 영역에는 영상의 시간 정보가 포함되어 있으므로, 블록 관리정보를 통해 추출하고자 하는 영상의 시간대가 해당 블록에 존재하는지를 판단 가능하다. 또한, 카메라의 개수 및 녹화 옵션에 따라 저장되는 영상의 길이가 다를 수 있으므로, 하나의 블록에 포함될 수 있는 영상 데이터의 길이는 한정 되지 않는다.Since the time information of the image is included in the block management information area, it is possible to determine whether the time zone of the image to be extracted exists in the corresponding block through the block management information. In addition, since the length of images to be stored may vary depending on the number of cameras and the recording option, the length of image data that can be included in one block is not limited.

도 6은 본 명세서의 실시 예에 따른 하나의 블록 내에서의 영상 프레임 인덱스와 영상 데이터와의 관계도이다.FIG. 6 is a diagram showing a relationship between an image frame index and image data in one block according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 하나의 블록 내에서 영상 헤더 인덱스영역과 영상 데이터 영역은 반복적으로 나타난다. 예를 들어 영상 헤더 및 인덱스 1영역 아래에는 영상데이터 1 영역이 존재하며, 순차적으로 영상 헤더 및 인덱스 N영역 아래에는 영상데이터 N영역이 존재하게 된다. As shown in FIG. 6, the image header index area and the image data area are repeatedly displayed in one block. For example, the image data 1 region exists under the image header and the index 1 region, and the image data N region exists sequentially below the image header and the index N region.

이에 따라, 영상 프레임 인덱스는 영상 데이터와 대응될 수 있다. 예를 들어, 영상 프레임 인덱스 영역에 있는 N번째 영상 인덱스와 대응되는 영상 데이터 영역에 존재하는 N번째 영상 데이터를 찾아 확인하고, N+1번째 영상 인덱스의 데이터와 대응하는 영상 데이터 영역에 존재하는 N+1번째 영상 데이터를 찾음으로써 영상 데이터 추출이 가능하다.Accordingly, the image frame index can correspond to the image data. For example, Nth image data existing in the image data area corresponding to the Nth image index in the image frame index area is found and checked, and Nth image data existing in the image data area corresponding to the data of the (N + 1) It is possible to extract image data by searching for +1 st video data.

이상에서 설명한 실시 예들은 그 일 예로서, 본 명세서가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시 예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or essential characteristics thereof. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

Claims (2)

영상 데이터가 저장된 적어도 하나의 블록을 포함하는 하드디스크의 블록 관리 정보를 분석하는 블록 관리 정보 분석 단계;
상기 분석 단계 이후, 상기 영상 데이터의 존재 유무를 확인하는 영상 데이터 확인 단계; 및
상기 확인 단계 이후, 상기 블록 내 상기 영상 데이터를 확인하여 추출하는 단계를 포함하며,
상기 블록 관리 정보 분석 단계는
상기 블록의 사용 유무를 확인하는 단계;
상기 블록 관리 정보를 판독하는 단계; 및
상기 영상 데이터의 시간 정보를 확인하는 단계를 포함하는 것을 특징으로 하는 CCTV 영상 데이터 추출 방법.
A block management information analysis step of analyzing block management information of a hard disk including at least one block in which image data is stored;
An image data checking step of checking presence or absence of the image data after the analyzing step; And
And checking and extracting the image data in the block after the confirming step,
The block management information analysis step
Confirming whether or not the block is used;
Reading the block management information; And
And checking the time information of the video data.
제1항에 있어서,
상기 영상 데이터 확인 단계는
사용자가 입력한 정보를 수신하는 단계; 및
상기 수신된 정보의 유효성을 확인하는 단계를 포함하며,
상기 수신된 정보는 상기 영상 데이터의 시작시간, 종료시간 및 카메라 번호 정보이고, 상기 수신된 정보의 유효성을 확인하는 단계는 상기 블록 내에 상기 수신된 정보에 해당하는 상기 영상 데이터의 존재 유무를 확인하는 것이며,
상기 영상 데이터 추출 단계는
상기 영상 데이터가 저장되어 있는 상기 블록을 확인하는 단계;
상기 확인된 블록을 리스트 업 하는 단계;
상기 확인된 블록 내 영상 인덱스를 확인하는 단계;
상기 추출하고자 하는 상기 영상 데이터의 위치를 확인하는 단계; 및
상기 영상 데이터를 추출하는 단계를 포함하며,
상기 영상 데이터의 위치를 확인하는 단계는 상기 영상 인덱스 영역에 있는 K번째 영상 인덱스의 데이터와 대응되는 영상 데이터 영역에 존재하는 K번째 영상 데이터의 위치를 확인하는 것을 특징으로 하는 CCTV 영상 데이터 추출 방법.


The method according to claim 1,
The image data checking step
Receiving information input by a user; And
And verifying the validity of the received information,
Wherein the received information is a start time, an end time, and a camera number information of the image data, and the step of verifying the validity of the received information includes checking whether the image data corresponding to the received information exists in the block Lt; / RTI &
The image data extracting step
Confirming the block in which the image data is stored;
Listing the identified blocks;
Checking the identified intra-block video index;
Confirming a position of the image data to be extracted; And
And extracting the image data,
Wherein the step of verifying the position of the image data is performed by checking the position of the Kth image data existing in the image data area corresponding to the data of the Kth image index in the image index area.


KR1020160082874A 2016-06-30 2016-06-30 CCTV image data extraction methods stored on the hard disk KR20180003266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160082874A KR20180003266A (en) 2016-06-30 2016-06-30 CCTV image data extraction methods stored on the hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160082874A KR20180003266A (en) 2016-06-30 2016-06-30 CCTV image data extraction methods stored on the hard disk

Publications (1)

Publication Number Publication Date
KR20180003266A true KR20180003266A (en) 2018-01-09

Family

ID=61000378

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160082874A KR20180003266A (en) 2016-06-30 2016-06-30 CCTV image data extraction methods stored on the hard disk

Country Status (1)

Country Link
KR (1) KR20180003266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101960530B1 (en) 2018-09-27 2019-03-20 배상은 System for merger saving/playing image and sensor data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101960530B1 (en) 2018-09-27 2019-03-20 배상은 System for merger saving/playing image and sensor data

Similar Documents

Publication Publication Date Title
US10204419B2 (en) Monitoring method and monitoring device
US20150104149A1 (en) Video summary apparatus and method
US10043079B2 (en) Method and apparatus for providing multi-video summary
TW201730836A (en) Systems and methods for bulk redaction of recorded data
US20140280387A1 (en) System and method for expanding storage space of network device
KR20080035891A (en) Image playback apparatus for providing smart search of motion and method of the same
KR20180003266A (en) CCTV image data extraction methods stored on the hard disk
US9542398B2 (en) Electronic apparatus
KR20150089598A (en) Apparatus and method for creating summary information, and computer readable medium having computer program recorded therefor
KR101486772B1 (en) Method and apparatus for managing digital contents using playback position, and method and apparatus for executing the same
JP6319600B2 (en) High-speed search apparatus and method for digital forensics and large-volume video evidence
KR101549615B1 (en) A method for recovering CCTV video data in DVR by using time-based video index and matching scan of video data
KR20150108562A (en) Image processing apparatus, control method thereof and computer readable medium having computer program recorded therefor
US8391675B2 (en) Method for calculating file size of video data
CN112019789B (en) Video playback method and device
JP2004304488A (en) Image reproducing device and program
KR101484783B1 (en) Digital video recorder and hard disc management method
US20140317354A1 (en) Electronic device, data caching system and method
JP5384209B2 (en) File name setting method
KR100794957B1 (en) Digital video recoder capable of searching a text
US20080008443A1 (en) Data management system and method
KR101799832B1 (en) Control system of the image data stored in the memory card
CN111666432B (en) Image storage method, device and equipment and storage medium
JP2012156879A (en) Recording apparatus and reproducing apparatus
JP2018148324A5 (en)

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application