KR101903726B1 - Cctv system that distributes and stores cctv data - Google Patents

Cctv system that distributes and stores cctv data Download PDF

Info

Publication number
KR101903726B1
KR101903726B1 KR1020180052095A KR20180052095A KR101903726B1 KR 101903726 B1 KR101903726 B1 KR 101903726B1 KR 1020180052095 A KR1020180052095 A KR 1020180052095A KR 20180052095 A KR20180052095 A KR 20180052095A KR 101903726 B1 KR101903726 B1 KR 101903726B1
Authority
KR
South Korea
Prior art keywords
hard disk
cctv
image data
data
module
Prior art date
Application number
KR1020180052095A
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 KR1020180052095A priority Critical patent/KR101903726B1/en
Application granted granted Critical
Publication of KR101903726B1 publication Critical patent/KR101903726B1/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
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23103Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention relates to a closed cable television (CCTV) system capable of using a space of each hard disk in a balanced manner without waste. According to the present invention, the CCTV system comprises: a data reception module (100) to receive video data from a plurality of cameras; a hard disk determination module (200) to determine a hard disk to store the video data received from the data reception module (100); a data storage module (300) to store the video data in the determined hard disk; and a hard disk management module (400) checking the capacity of video data stored in each hard disk to delete the video data when the storage capacity of the hard disk is short.

Description

CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템{CCTV SYSTEM THAT DISTRIBUTES AND STORES CCTV DATA}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a CCTV system for distributing and storing CCTV image data,

본 발명은 CCTV 시스템에 관한 것으로서, 보다 구체적으로는 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템에 관한 것이다.The present invention relates to a CCTV system, and more particularly, to a CCTV system for distributing and storing CCTV image data.

CCTV(Closed Circuit Television)는 특정한 시설물에서 유선TV를 사용하여 특정인만이 영상을 볼 수 있도록 화상을 전송하는 텔레비전 시스템을 말한다. 이러한 CCTV는 화상의 송수신을 유선 또는 무선으로 연결하며, 수신대상 이외에는 임의로 수신할 수 없도록 되어 있어 폐쇄회로 텔레비전이라고 한다.
Closed Circuit Television (CCTV) is a television system that transmits images so that only a specific person can view images using a cable TV in a specific facility. Such a CCTV is called a closed circuit television because the transmission and reception of the image is connected by wire or wireless, and it can not be arbitrarily received other than the reception target.

또한, CCTV는 industrial television의 약어인 ITV로 불리기도 하는데, 이와 같은 CCTV는, 방송용 이외에 산업용, 교육용, 의료용, 교통관제용 감시, 방재용 및 사내의 화상정보 전달용 등 다양한 용도로 쓰인다.
CCTV is also referred to as ITV, which is an abbreviation of industrial television. Such CCTV is used for various purposes such as industrial use, educational use, medical use, surveillance for traffic control, disaster prevention, and in-house image information transmission in addition to broadcasting.

도 1은 일반적으로 이용되는 CCTV(Closed Circuit Television)의 모습을 나타낸 사진이고, 도 2는 CCTV(Closed Circuit Television) 제어실의 모습을 나타낸 사진이다. 도 1 및 도 2에 도시된 바와 같이, CCTV는 도로 등에 설치되어 주변 상황을 감시하기 위하여 사용되는 것이 일반적이며, 별도의 제어실에서 제어되게 된다.
1 is a photograph showing a CCTV (Closed Circuit Television) control room, and FIG. 2 is a photograph showing a CCTV (Closed Circuit Television) control room. As shown in FIGS. 1 and 2, the CCTV is generally installed on a road or the like to be used for monitoring the surroundings, and is controlled in a separate control room.

최근 CCTV(Closed Circuit Television)의 화질이 점차 고해상도로 발전해 가면서 1920X1080의 Full-HD 화질이 보편화되고, UHD(Ultra-HD) 해상도의 카메라도 점차 늘어가고 있는 추세이다. 또한, 카메라의 입력이 많아지면서 이를 저장하고 검색할 수 있는 NVR(Network Video Recorder) 및 VMS(Video Management System)의 저장 및 분배 서버가 처리해야 하는 데이터 처리 용량도 함께 증가하고 있다.
As the quality of CCTV (Closed Circuit Television) gradually develops to high resolution, 1920X1080 full-HD image quality becomes common, and UHD (Ultra-HD) resolution camera is gradually increasing. In addition, as the input of the camera increases, the data processing capacity to be processed by the storage and distribution server of the NVR (Network Video Recorder) and VMS (Video Management System) capable of storing and retrieving the data increases.

예를 들면, 16개의 Full-HD 영상을 3달 동안 저장해야 할 경우, 채널당 8Mbps의 크기라 가정하면, 16채널×8Mbps/8Byte×60초×60분×24시간×30일×3달=124416Gbyte=124TB로 기존의 NVR 및 VMS의 저장 및 분배 서버가 처리해야 하는 데이터 처리 용량보다 훨씬 큰 용량의 데이터를 처리해야 한다.
For example, if 16 full-HD images need to be stored for 3 months, assuming a size of 8 Mbps per channel, 16 channels × 8 Mbps / 8 bytes × 60 seconds × 60 minutes × 24 hours × 30 days × 3 months = 124416 Gbytes = 124TB, the storage and distribution server of the existing NVR and VMS must process much larger data capacity than the data processing capacity to process.

일반적으로, 많은 채널의 카메라로부터 수신된 영상 데이터를 저장하는 동시에 검색을 할 경우에 검색이 원활하게 되지 않는다. 하드디스크의 읽기와 쓰기를 동시에 많이 하게 되면 데이터를 읽어 오는데 지연시간이 많이 걸리기 때문이다.
In general, when image data received from a camera of many channels is stored and simultaneously retrieved, the retrieval is not smooth. If you read and write hard disk at the same time, it takes a lot of time to read the data.

현재, NVR 및 VMS의 저장 및 분배 시스템에서 사용하고 있는 데이터 저장 방식으로는 뱅크 저장 방식이 있다. 뱅크 저장 방식은 하드디스크 공간 설정을 최초에 선형적으로 설정해 두고, 마지막 뱅크까지 데이터를 모두 쓰게 되면, 뱅크의 처음으로 다시 되돌아와 처음부터 다시 쓰는 방식이다. 이때, 각 채널은 뱅크에 순차적으로 저장된다. 이 경우 동시에 사용하는 하드디스크는 하나가 되고, 순차적으로 첫 번째 하드디스크를 모두 사용하면 다음 하드디스크로 넘어간다. 이와 같은 방식의 경우, 특정 하드디스크에 대하여 동시에 여러 채널(혹은 모든 채널)에 대한 검색(읽기) 동작이 발생될 경우, 특히, 해당 하드디스크에 대하여 쓰기도 동시에 진행되고 있는 경우, 급격한 시간지연이 발생하게 된다.
Currently, there is a bank storage method as a data storage method used in the NVR and VMS storage and distribution system. In the bank storage method, the hard disk space setting is initially set linearly, and when all the data is written to the last bank, the method returns to the beginning of the bank and rewrites from the beginning. At this time, each channel is sequentially stored in the bank. In this case, one hard disk is used at the same time, and if all of the first hard disk is sequentially used, the next hard disk is used. In such a case, when a search (read) operation is performed for a plurality of channels (or all channels) at the same time for a specific hard disk, particularly when a write operation is simultaneously performed on the corresponding hard disk, .

이를 보완할 수 있는 한 가지 방법으로서, RAID(Redundant Array of Independent Disks)를 구성하여 사용하는 방법이 있는데, 이는 별도의 카드를 장착하여 2개 이상의 하드디스크를 병렬로 처리함으로써 성능 및 안정성을 향상시키는 방법이다. 이렇게 되면 물리적인 여러 개의 하드디스크를 동시에 나누어서 처리하기 때문에 속도가 개선되는 효과가 있다. RAID는 구성되는 방법에 따라 여러 개의 RAID LEVEL로 표현되는데, 현재에는 안정성과 성능적인 면에서 우수한 RAID LEVEL 5를 가장 많이 사용하고 있다.
One way to compensate for this is to configure and use RAID (Redundant Array of Independent Disks), which improves performance and stability by processing two or more hard disks in parallel by mounting a separate card Method. This speeds up the process by dividing several physical hard disks at the same time. RAID is represented by several RAID LEVELs depending on how it is configured. Now RAID LEVEL 5 is the most used in terms of stability and performance.

하지만, RAID LEVEL 5를 구성하여 사용하는 방법에도 여전히 몇 가지 문제점들이 있다. 도 3은 RAID(Redundant Array of Independent Disks) LEVEL 5를 구성하여 하드디스크에 데이터를 분산하여 저장하는 모습을 도시한 도면이다. 도 3에 도시된 바와 같이, RAID LEVEL 5를 구성하여 사용하는 경우, 하드디스크에 손상이 생길 경우를 대비해 패리티비트 공간을 별도로 두어 사용해야하기 때문에 실제 장착한 하드디스크의 용량보다 가용할 수 있는 용량이 적어지고, RAID LEVEL 5를 구성하여 사용하는데 추가적인 비용이 발생하며, RAID는 CCTV전용 장치가 아닌 범용적인 장치로서 이를 CCTV에 적용할 경우 불량이 일어날 확률이 높아진다는 단점이 있다.
However, there are still some problems with how to configure and use RAID LEVEL 5. FIG. 3 is a diagram illustrating a configuration in which a RAID (Redundant Array of Independent Disks) LEVEL 5 is configured to distribute and store data on a hard disk. As shown in FIG. 3, when the RAID level 5 is configured and used, a parity bit space must be separately provided in case a hard disk is damaged. Therefore, a capacity that is more available than the capacity of a hard disk RAID level 5 is an additional cost, and RAID is a general purpose device rather than a dedicated CCTV device. If it is applied to CCTV, there is a disadvantage that the probability of badness increases.

이와 관련된 선행기술로는, 등록특허 제10-1782340호(발명의 명칭: CCTV 영상 분산 저장 시스템)가 개시되어 있다. 해당 특허는, CCTV 영상 분산 저장 시스템에 관한 것으로서, 더욱 상세하게는, CCTV 영상을 저장하는 데 있어서 하나의 저장 공간에 저장하는 것이 아닌 여러 장소에 나누어 DB를 저장하는 것과 같은 방식으로 저장을 통해 영상 데이터를 DB와 밀접하게 연동가능하고, 영상에 대한 접근을 직접적으로 하는 동시에 영상을 찾는 것과 영상의 데이터를 동시에 얻을 수 있게 하는 CCTV 영상 분산 저장 시스템을 제안하고 있다.
As a prior art related to this, Japanese Patent Application No. 10-1782340 (entitled " CCTV Image Distributed Storage System ") is disclosed. The patent relates to a CCTV video distributed storage system, and more particularly, to a CCTV video distributed storage system, in which a video is divided into a plurality of places, We propose a CCTV image distributed storage system that enables data to be closely linked with the DB, directly accessing the image, and simultaneously finding the image and data of the image simultaneously.

또 다른 선행기술로는, 공개특허 제10-2014-0039838호(발명의 명칭: CCTV용 영상 저장 장치 및 이를 이용한 영상 저장 방법)가 개시되어 있다. 해당 특허는, CCTV용 영상저장장치 및 이를 이용한 영상저장방법에 관한 것으로, 고화질 영상을 상대적으로 적은 하드 디스크의 용량으로 저장하여 설치 및 관리 비용을 절감시킬 수 있게 하는 데 그 목적이 있으며, 이를 위해 내장된 하드디스크를 통하여 CCTV에 의하여 촬영된 영상신호를 데이터화하여 저장하기 위한 CCTV용 영상저장장치에 있어서, 하드 디스크의 영역을 분리하여 CCTV에 의하여 촬영된 영상 신호 중 소정 기간의 영상신호와 이벤트가 발생된 영상신호를 각각 분산 저장하도록 신호 처리하는 신호처리수단을 포함하는 CCTV용 영상저장장치를 제안하고 있다.Another prior art is disclosed in Japanese Patent Laid-Open No. 10-2014-0039838 entitled " Image storage device for CCTV and image storage method using the same. The patent relates to an image storage device for CCTV and an image storage method using the same, and aims to save installation and management costs by storing a high-quality image with a relatively small capacity of a hard disk. A CCTV image storage device for capturing and storing a video signal captured by a CCTV through a built-in hard disk, the CCTV video storage device separating a region of the hard disk, And signal processing means for performing signal processing to distribute and store the generated video signals, respectively.

본 발명은 기존에 제안된 방법들의 상기와 같은 문제점들을 해결하기 위해 제안된 것으로서, 기본 저장 방식은 개별 채널 별 저장 방식을 사용함으로써, 추가적인 RAID(Redundant Array of Independent Disks) 장착 없이도 뱅크 저장 방식의 문제점을 해소, 즉 특정 하드디스크에 대하여 동시에 여러 채널에 대한 검색(읽기) 동작이 발생될 경우에, 특히, 해당 하드디스크에 대하여 쓰기도 동시에 진행되고 있는 경우에, 급격한 시간지연이 발생하게 되는 문제점을 해결할 뿐만 아니라, 각각의 채널에 대하여 미리 지정된 시간 간격의 조각 단위로 나누어 각각의 하드디스크로 순차적으로 분산하여 저장함으로써, 각 채널 별로 수신하는 영상 데이터의 크기가 다를 경우에도, 각각의 하드디스크의 공간을 균형 있게 낭비하지 않고 사용할 수 있는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템을 제공하는 것을 목적으로 한다.
The present invention has been proposed in order to solve the above-mentioned problems of the previously proposed methods. The basic storage method uses a storage method for each channel, and thus the problem of the bank storage method without additional RAID (Redundant Array of Independent Disks) In other words, when a search (read) operation for a plurality of channels occurs simultaneously with respect to a specific hard disk, particularly when a write operation is simultaneously being performed on the hard disk, a problem that a sudden time delay occurs In addition, it is also possible to divide and store the channels separately in units of pieces of a predetermined time interval, and sequentially distribute and store them on the respective hard disks, so that even if the sizes of the video data received for the respective channels are different, Can be used without wasting balance, distributing CCTV video data And to provide a CCTV system in which the CCTV system is stored.

또한, 본 발명은, 개별 채널 별 저장 방식을 사용한 경우보다 더 작은 용량의 하드디스크를 사용할 수 있어, 더욱 저렴한 비용으로 CCTV 시스템을 구현할 수 있는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템을 제공하는 것을 또 다른 목적으로 한다.Further, the present invention provides a CCTV system in which a CCTV system can be implemented at a lower cost because a hard disk having a smaller capacity can be used than a case of using a storage system for each channel, It is another purpose.

상기한 목적을 달성하기 위한 본 발명의 특징에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)은,According to an aspect of the present invention, there is provided a CCTV system (10) for distributing and storing CCTV image data,

CCTV 시스템에 있어서,In a CCTV system,

복수 개의 카메라로부터 영상 데이터를 수신하는 데이터 수신 모듈(100);A data receiving module (100) for receiving image data from a plurality of cameras;

상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 복수 개의 하드디스크 중 어느 하드디스크에 저장할지 결정하는 하드디스크 결정 모듈(200);A hard disk determination module (200) for determining to which hard disk among the plurality of hard disks the image data received from the data reception module (100) is to be stored;

상기 하드디스크 결정 모듈(200)에 의해 정해진 하드디스크에 상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 저장하는 데이터 저장 모듈(300); 및A data storage module 300 for storing image data received from the data receiving module 100 on a hard disk determined by the hard disk determination module 200; And

하드디스크 저장 용량이 부족할 시에 각각의 하드디스크에 저장된 영상 데이터의 용량을 확인하여 영상 데이터를 삭제하는 하드디스크 관리 모듈(400)을 포함하되,And a hard disk management module (400) for checking the capacity of the image data stored in each hard disk and deleting the image data when the hard disk storage capacity is insufficient,

복수 개의 하드디스크에 개별 채널의 데이터를 분산하여 저장하는 것을 그 구성상의 특징으로 한다.
And data of individual channels are distributed and stored in a plurality of hard disks.

바람직하게는, 상기 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)은,The CCTV system 10, which distributes and stores the CCTV image data,

비동기 방식으로 하드디스크 쓰기를 하는 비동기식 하드디스크 쓰기 모듈(500)을 더 포함할 수 있다.
And an asynchronous hard disk writing module 500 for writing a hard disk in an asynchronous manner.

바람직하게는, 상기 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)은,The CCTV system 10, which distributes and stores the CCTV image data,

각 채널의 영상 데이터를 조각 단위로 나누어 각각의 하드디스크로 순차적으로 분산하여 저장하는 방식일 수 있다.
The image data of each channel may be divided into pieces and sequentially distributed to the respective hard disks and stored.

더욱 바람직하게는, 상기 각 채널은,More preferably, each of the channels includes:

네트워크로 연결되며, 각 조각 단위에는 저장시간 정보를 포함할 수 있다.
Network, and each piece unit may include storage time information.

더욱 바람직하게는, 상기 조각 단위는,More preferably,

미리 지정된 시간 단위가 될 수 있고, 각 채널의 저장 위치 시작점은 순차적으로 나누어서 시작할 수 있다.
It can be a predetermined time unit, and the storage start point of each channel can be started in sequence.

바람직하게는, 상기 하드디스크 결정 모듈(200)은,Preferably, the hard disk determination module (200)

시간 정보를 기초로 하여 하나의 조각 단위를 구성하고, 해당 조각 단위가 저장될 하드디스크의 위치를 결정할 수 있다.
It is possible to construct one piece unit based on the time information and determine the position of the hard disk where the piece unit is to be stored.

상기 하드디스크 결정 모듈(200)은,The hard disk determination module (200)

복수 개의 하드디스크 중 점유하고 있는 채널의 수가 가장 적은 하드디스크를 최초에 선택하고, 이후에는 상기 데이터 저장 모듈(300)에서 순차적으로 다음 하드디스크에 저장할 수 있다.
A hard disk having the smallest number of occupied channels among a plurality of hard disks may be first selected and then stored in the next hard disk sequentially in the data storage module 300.

바람직하게는, 상기 하드디스크 관리 모듈(400)은,Advantageously, the hard disk management module (400)

각 조각 단위의 시간이 지나면 상기 하드디스크 결정 모듈(200)에게 다음 조각 단위부터는 저장되는 하드디스크를 변경하도록 명령할 수 있다.After the time of each piece unit, the hard disk determination module 200 may be instructed to change the hard disk to be stored from the next piece unit.

본 발명에서 제안하고 있는 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템에 따르면, 기본 저장 방식은 개별 채널 별 저장 방식을 사용함으로써, 추가적인 RAID(Redundant Array of Independent Disks) 장착 없이도 뱅크 저장 방식의 문제점을 해소, 즉 특정 하드디스크에 대하여 동시에 여러 채널에 대한 검색(읽기) 동작이 발생될 경우에, 특히, 해당 하드디스크에 대하여 쓰기도 동시에 진행되고 있는 경우에, 급격한 시간지연이 발생하게 되는 문제점을 해결할 뿐만 아니라, 각각의 채널에 대하여 미리 지정된 시간 간격의 조각 단위로 나누어 각각의 하드디스크로 순차적으로 분산하여 저장함으로써, 각 채널 별로 수신하는 영상 데이터의 크기가 다를 경우에도, 각각의 하드디스크의 공간을 균형 있게 낭비하지 않고 사용할 수 있다.
According to the CCTV system in which the CCTV image data proposed in the present invention is distributed and stored, the basic storage method uses a storage method for each channel, thereby solving the problem of the bank storage method without installing an additional RAID (Redundant Array of Independent Disks) That is, when a search (read) operation for a plurality of channels occurs simultaneously with respect to a specific hard disk, particularly when a write operation is simultaneously being performed on the hard disk, a problem of a sudden time delay is solved However, by dividing each channel into fragment units at predetermined time intervals and sequentially distributing and storing them in the respective hard disks, even if the sizes of the video data received for the respective channels are different, the space of each hard disk is balanced Can be used without wasting.

또한, 본 발명에서 제안하고 있는 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템에 따르면, 개별 채널 별 저장 방식을 사용한 경우보다 더 작은 용량의 하드디스크를 사용할 수 있어, 더욱 저렴한 비용으로 CCTV 시스템을 구현할 수 있다.Also, according to the CCTV system in which the CCTV image data proposed in the present invention is dispersed and stored, it is possible to use a smaller capacity hard disk than in the case of using the storage method for each channel, thereby realizing a CCTV system at a lower cost have.

도 1은 일반적으로 이용되는 CCTV(Closed Circuit Television)의 모습을 나타낸 사진.
도 2는 CCTV(Closed Circuit Television) 제어실의 모습을 나타낸 사진.
도 3은 RAID(Redundant Array of Independent Disks) LEVEL 5를 구성하여 하드디스크에 데이터를 분산하여 저장하는 모습을 도시한 도면.
도 4는 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)의 구성을 블럭도로 도시한 도면.
도 5는 하드디스크에 데이터를 저장하는 방식 중 개별 채널 별 저장 방식을 설명하기 위해 도시한 도면.
도 6은 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서 하드디스크에 데이터를 분산하여 저장하는 방식을 설명하기 위해 도시한 도면.
도 7은 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서 (a) 각각의 하드디스크에 정해진 채널만으로 분산시켜 저장한 경우와 (b) 각각의 하드디스크를 순환하면서 저장한 경우를 비교하기위해 도시한 도면.
1 is a photograph showing a state of a commonly used closed circuit television (CCTV).
2 is a photograph showing a state of a CCTV (Closed Circuit Television) control room.
FIG. 3 is a diagram showing a configuration in which a RAID (Redundant Array of Independent Disks) LEVEL 5 is configured to distribute and store data on a hard disk.
4 is a block diagram illustrating a configuration of a CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention.
FIG. 5 is a diagram for explaining a storage method for each individual channel among the methods of storing data on a hard disk; FIG.
6 is a view illustrating a method of distributing and storing data on a hard disk in a CCTV system 10 in which CCTV image data is distributed and stored according to an embodiment of the present invention.
FIG. 7 illustrates a case where a CCTV system 10 distributes and stores CCTV image data according to an exemplary embodiment of the present invention, in which (a) each of the hard disks is distributed in a predetermined channel only, and (b) Fig. 5 is a diagram showing a case where circulation is stored for comparison. Fig.

이하에서는 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 바람직한 실시예를 상세히 설명한다. 다만, 본 발명의 바람직한 실시예를 상세하게 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다. 또한, 유사한 기능 및 작용을 하는 부분에 대해서는 도면 전체에 걸쳐 동일 또는 유사한 부호를 사용한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. In the following detailed description of the preferred embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The same or similar reference numerals are used throughout the drawings for portions having similar functions and functions.

덧붙여, 명세서 전체에서, 어떤 부분이 다른 부분과 ‘연결’되어 있다고 할 때, 이는 ‘직접적으로 연결’되어 있는 경우뿐만 아니라, 그 중간에 다른 소자를 사이에 두고 ‘간접적으로 연결’되어 있는 경우도 포함한다. 또한, 어떤 구성요소를 ‘포함’한다는 것은, 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다.
In addition, in the entire specification, when a part is referred to as being 'connected' to another part, it may be referred to as 'indirectly connected' not only with 'directly connected' . Also, to "include" an element means that it may include other elements, rather than excluding other elements, unless specifically stated otherwise.

도 4는 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)의 구성을 블럭도로 도시한 도면이다. 도 4에 도시된 바와 같이, 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)은, CCTV 시스템에 있어서, 데이터 수신 모듈(100), 하드디스크 결정 모듈(200), 데이터 저장 모듈(300), 하드디스크 관리 모듈(400)을 포함하고, 비동기식 하드디스크 쓰기 모듈(500)을 더 포함할 수 있다. 이하에서는, 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)의 각각의 구성에 대하여 상세히 설명하기로 한다.
4 is a block diagram illustrating a configuration of a CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention. 4, a CCTV system 10 for distributing and storing CCTV image data according to an exemplary embodiment of the present invention includes a data receiving module 100, a hard disk determination module 200, A data storage module 300, and a hard disk management module 400, and may further include an asynchronous hard disk write module 500. Hereinafter, each configuration of the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention will be described in detail.

데이터 수신 모듈(100)은, 복수 개의 카메라로부터 영상 데이터를 수신할 수 있다. 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서, 각 채널은 네트워크로 연결되며 각 조각 단위에는 저장시간 정보를 포함할 수 있다. 데이터 수신 모듈(100)은, 네트워크로 연결된 각 채널로부터 영상 데이터를 수신할 수 있다.
The data receiving module 100 can receive image data from a plurality of cameras. In a CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention, each channel is connected to a network and each piece unit may include storage time information. The data receiving module 100 may receive image data from each channel connected to the network.

하드디스크 결정 모듈(200)은, 상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 복수 개의 하드디스크 중 어느 하드디스크에 저장할지 결정할 수 있다. 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서, 하드디스크 결정 모듈(200)은, 복수 개의 하드디스크 중 점유하고 있는 채널의 수가 가장 적은 하드디스크를 최초에 선택할 수 있고, 이후에는 이하에서 설명하는 데이터 저장 모듈(300)에서 순차적으로 다음 하드디스크에 영상 데이터를 저장할 수 있다.
The hard disk determination module 200 can determine which of a plurality of hard disks the image data received from the data reception module 100 is stored in. In the CCTV system 10 in which CCTV image data is distributed and stored according to an embodiment of the present invention, the hard disk determination module 200 first determines a hard disk having the smallest number of occupied channels among a plurality of hard disks, And then the image data can be sequentially stored in the next hard disk in the data storage module 300 described below.

본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서, 하드디스크 결정 모듈(200)은, 시간 정보를 기초로 하여 하나의 조각 단위를 구성하고, 해당 조각 단위가 저장될 하드디스크의 위치를 결정할 수 있다.
In the CCTV system 10 in which CCTV image data is distributed and stored according to an embodiment of the present invention, the hard disk determination module 200 forms one piece unit based on time information, The position of the hard disk to be stored can be determined.

예를 들면, 시간 단위를 하나의 조각으로 구성할 경우 현재 시간 단위를 하드디스크 1번에, 다음 시간 단위를 하드디스크 2번에, 그 다음 시간 단위를 하드디스크 3번에, 그 다음 시간 단위는 다시 하드디스크 1번에 저장하여 영상 데이터가 저장되는 하드디스크가 분산될 수 있도록 결정할 수 있다.
For example, if the time unit is composed of one piece, the current time unit is assigned to hard disk 1, the next time unit to hard disk 2, the next time unit to hard disk 3, It is determined that the hard disk in which the image data is stored can be distributed.

데이터 저장 모듈(300)은, 상기 하드디스크 결정 모듈(200)에 의해 정해진 하드디스크에 상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 저장할 수 있다.
The data storage module 300 may store image data received from the data reception module 100 on a hard disk determined by the hard disk determination module 200. [

본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서, 데이터 저장 모듈(300)은, 복수 개의 하드디스크 중 점유하고 있는 채널의 수가 가장 적은 하드디스크에 데이터를 저장할 수 있다.
In the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention, the data storage module 300 stores data on a hard disk having the smallest number of occupied channels among a plurality of hard disks .

예를 들면, 상기 하드디스크 결정 모듈(200)에서, 복수 개의 하드디스크 중 점유하고 있는 채널의 수가 가장 적은 하드디스크를 최초에 선택하면, 이후에 순차적으로 다음 하드디스크로 넘어가면서 상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 저장 할 수 있다.
For example, in the hard disk determination module 200, when a hard disk having the smallest number of occupied channels among the plurality of hard disks is first selected, the data is sequentially transferred to the next hard disk, 100 in accordance with the present invention.

본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)의 경우, 복수 개의 하드디스크에 개별 채널의 데이터를 분산하여 저장할 수 있다.
In the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention, data of individual channels can be distributed and stored in a plurality of hard disks.

현재, NVR(Network Video Recorder) 및 VMS(Video Management System)의 저장 및 분배 시스템에서 사용하고 있는 저장 방식으로는 크게 뱅크 저장 방식과 개별 채널 별 저장 방식이 있다. 뱅크 저장 방식에 대해서는 배경기술에서 설명하였으므로, 이하에서는 개별 채널 별 저장 방식에 대해 설명하기로 한다.
Presently, the storage methods used in the storage and distribution system of the NVR (Network Video Recorder) and the VMS (Video Management System) include a bank storage method and an individual channel storage method. Since the bank storing method is described in the background art, the storing method for each individual channel will be described below.

도 5는 하드디스크에 데이터를 저장하는 방식 중 개별 채널 별 저장 방식을 설명하기 위해 도시한 도면이다. 도 5에 도시된 바와 같이, 개별 채널 별 저장 방식은, 하드디스크 #1에 카메라 1에서 촬영한 영상 데이터를 저장하고, 하드디스크 #2에 카메라 2에서 촬영한 영상 데이터를 저장하며, 하드디스크 #3에 카메라 3에서 촬영한 영상 데이터를 저장함으로써, 카메라 별로 별도로 저장되는 하드디스크를 설정하여 영상 데이터를 저장할 수 있다.
FIG. 5 is a diagram illustrating a storage method for each individual channel among methods of storing data on a hard disk. As shown in FIG. 5, the storage method for each channel stores video data shot by the camera 1 on the hard disk # 1, video data shot by the camera 2 on the hard disk # 2, 3 by storing the image data taken by the camera 3, the image data can be stored by setting a hard disk separately stored for each camera.

이와 같은 저장 방식은, 기존의 뱅크 저장 방식의 문제점을 해결할 수 있는 장점이 있으나, 카메라 별로 초당 비트레이트 크기가 다를 경우, 각각의 하드디스크에 영상 데이터가 저장되는 용량이 다를 수 있으며, 이는 하드디스크의 균형적인 사용을 방해하게 된다는 문제점이 있다. 이러한 문제점과 관련해서는, 추후 도 7을 참조하여 예를 들어 더욱 상세히 설명하기로 한다.
This storage method has an advantage of solving the problem of the conventional bank storage method. However, when the bit rate per second differs from one camera to another, the storage capacity of image data may be different on each hard disk, Which may interfere with the balanced use of the system. With respect to this problem, a more detailed description will be given with reference to FIG. 7, for example.

따라서, 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)의 경우에는, 기본 방식으로 개별 채널 별 저장 방식을 사용하고, 이에 더하여 각 채널의 영상 데이터를 조각 단위로 나누어 각각의 하드디스크로 순차 분산하여 저장하는 방식을 사용한다.
Accordingly, in the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention, a storage method for each channel is used in a basic manner, and further, It is divided and distributed to each hard disk sequentially.

조각 단위는 미리 지정된 시간 단위가 될 수 있고, 각 채널의 저장 위치 시작점은 순차적으로 나누어서 시작할 수 있다. 이때, 미리 지정된 시간 단위는 30분 또는 1시간 단위가 될 수 있으나, 상기의 분 또는 시간 단위로 한정하는 것은 아니다.
The fragment unit may be a predetermined time unit, and the storage location start point of each channel may be divided in sequence. In this case, the predetermined time unit may be 30 minutes or 1 hour unit, but is not limited to the minute or time unit described above.

도 6은 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서 하드디스크에 데이터를 분산하여 저장하는 방식을 설명하기 위해 도시한 도면이다. 도 6에 도시된 바와 같이, 2대의 카메라에서 영상을 촬영하여 영상 데이터를 복수 개의 하드디스크에 저장할 때, 카메라 1번의 경우 영상 데이터 조각의 저장 시작을 하드디스크 #1에서 시작하고, 조각 #1의 저장이 끝나면 다음 하드디스크인 하드디스크 #2로 이동하여 조각 #2의 저장을 시작할 수 있다. 카메라 2번의 경우에는 영상 데이터 조각의 저장 시작을 하드디스크 #2에서 시작하고, 조각 #1의 저장이 끝나면 다음 하드디스크인 하드디스크 #1로 이동하여 조각 #2를 저장할 수 있다.
6 is a view illustrating a method of distributing and storing data on a hard disk in a CCTV system 10 in which CCTV image data is distributed and stored according to an embodiment of the present invention. As shown in FIG. 6, when two cameras capture an image and image data is stored in a plurality of hard disks, in the case of camera # 1, start of storage of image data fragments starts on hard disk # 1, After saving, you can move to hard disk # 2, which is the next hard disk, and start saving the slice # 2. In the case of the camera # 2, the storage of the image data starts at the hard disk # 2. When the storage of the slice # 1 is completed, the slice # 2 can be stored in the hard disk # 1.

이때, 결과적으로 동시간대에 2대의 카메라를 동시에 저장하게 되면, 카메라 1번의 경우 영상 데이터 조각의 저장 순서는, 하드디스크 #1(조각 #1) → 하드디스크 #2(조각 #2) → 하드디스크 #1(조각 #3) → 하드디스크 #2(조각 #4)이고, 카메라 2번의 경우 영상 데이터 조각의 저장 순서는, 하드디스크 #2(조각 #1) → 하드디스크 #1(조각 #2) → 하드디스크 #2(조각 #3) → 하드디스크 #1(조각 #4)이 될 수 있다.
As a result, if two cameras are simultaneously stored in the same time zone, the storage order of the image data pieces in the case of camera # 1 is as follows: hard disk # 1 (piece # 1) → hard disk # 2 1 (piece # 3) to the hard disk # 2 (piece # 4) in the case of the camera # 2, → Hard disk # 2 (piece # 3) → Hard disk # 1 (piece # 4).

이로 인해, 동시에 2개의 하드디스크에 쓰기 작업을 할 수 있게 되어 하드디스크에 분산하여 저장하는 효과가 생길 수 있다.
As a result, it is possible to write data to two hard disks at the same time, and the data can be distributed and stored on the hard disk.

도 7은 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서 (a) 각각의 하드디스크에 정해진 채널만으로 분산시켜 저장한 경우와 (b) 각각의 하드디스크를 순환하면서 저장한 경우를 비교하기위해 도시한 도면이다.
FIG. 7 illustrates a case where a CCTV system 10 distributes and stores CCTV image data according to an exemplary embodiment of the present invention, in which (a) each of the hard disks is distributed in a predetermined channel only, and (b) And stored for circulation.

도 7에서 각각의 숫자는 숫자에 해당하는 채널에서의 조각 단위를 의미하고, 1번 채널의 경우 초당 비트레이트의 크기가 16Mbps, 2번 채널의 경우 초당 비트레이트의 크기가 8Mbps, 그리고 3번 채널의 경우 초당 비트레이트의 크기가 4Mbps라고 가정하면, 카메라당 저장용량은 아래와 같은 식에 의해 계산될 수 있다.
In FIG. 7, each number represents a fragment unit in a channel corresponding to a number. In the case of the first channel, the bit rate per second is 16 Mbps. In the second channel, the bit rate per second is 8 Mbps. Assuming that the bit rate per second is 4 Mbps, the storage capacity per camera can be calculated by the following equation.

카메라당 저장용량 = 초당 비트레이트 × 조각 단위 시간(초) × 조각 개수
Storage per camera = bit rate per second × number of pieces per second (sec) × number of pieces

도 7의 (a)에 도시된 바와 같이, 각각의 하드디스크에 정해진 채널만으로 분산시켜 저장한다면, 채널 별로 수신하는 영상 데이터 크기에 따라 용량을 많이 사용하는 하드디스크도 있을 수 있고, 용량을 조금 사용하는 하드디스크도 존재할 수 있게 되어, 하드디스크의 사용량을 평준화하기 힘들고, 이는 곧 하드디스크의 저장 공간의 낭비로 이어질 수도 있다.
As shown in FIG. 7 (a), if the hard disks are distributed and stored only on a predetermined channel, there may be a hard disk that uses a lot of capacity according to the size of image data received for each channel, It is difficult to equalize the usage amount of the hard disk, which may lead to waste of storage space of the hard disk.

예를 들어, 1번 채널의 단위 조각을 모두 하드디스크 #1번에 저장하고, 2번 채널의 단위 조각을 모두 하드디스크 #2번에 저장하고, 그리고 3번 채널의 단위 조각을 모두 하드디스크 #3번에 저장한다면, 조각 단위가 1시간이라고 가정할 때, 하드디스크 #1에 저장되는 전체 용량은 16Mbps×3600초(1시간)×3조각=21.6GByte가 되고, 하드디스크 #2에 저장되는 전체 용량은 8Mbps×3600초(1시간)×3조각=10.8GByte가 되며, 그리고 하드디스크 #3에 저장되는 전체 용량은 4Mbps×3600초(1시간)×3조각=5.4GByte가 된다. 따라서, 각각의 하드디스크 별로 영상 데이터가 저장된 용량이 달라져서, 앞서 언급한 하드디스크의 저장 공간의 낭비가 발생될 수 있다.
For example, if all the unit pieces of channel 1 are stored on hard disk # 1, all the unit pieces of channel # 2 are stored on hard disk # 2, and all the unit pieces of channel # 3 are on hard disk # 3, the total capacity stored in the hard disk # 1 becomes 16 Mbps x 3600 seconds (1 hour) x 3 pieces = 21.6 GByte, and is stored in the hard disk # 2 The total capacity will be 8Mbps x 3600 seconds (1 hour) x 3 pieces = 10.8GBytes, and the total capacity stored on hard disk # 3 will be 4Mbps x 3600 seconds (1 hour) x 3 pieces = 5.4GBytes. Therefore, the storage capacity of the video data is changed for each hard disk, so that the storage space of the hard disk mentioned above can be wasted.

하지만, 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)은, 도 7의 (b)에 도시된 바와 같이, 각 채널 별로 수신하는 영상 데이터의 크기가 다를 경우에도, 개별 채널이 특정 시간마다 하드디스크를 순환하면서 저장할 수 있기 때문에, 하드디스크의 저장 공간을 균형 있게 낭비하지 않고 사용할 수 있다. 이때, 상기 특정 시간은 1시간 혹은 2시간이 될 수 있지만, 상기의 시간으로 한정하는 것은 아니다.
However, as shown in FIG. 7B, the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention may be configured such that even when the size of image data received for each channel is different , The individual channels can be stored while circulating the hard disk at specific time intervals, so that the storage space of the hard disk can be used without wasting it in a balanced manner. At this time, the specific time may be one hour or two hours, but is not limited to the above time.

예를 들어, 1번 채널의 경우 영상 데이터의 저장을 하드디스크 #1에서 시작하고, 이후에 순차적으로 다음 하드디스크인 하드디스크 #2 및 하드디스크 #3에 영상 데이터를 저장하고, 2번 채널의 경우 영상 데이터 저장을 하드디스크 #2에서 시작하고, 이후에 순차적으로 다음 하드디스크인 하드디스크 #3 및 하드디스크 #1에 영상 데이터를 저장하고, 그리고 3번 채널의 경우 영상 데이터 저장을 하드디스크 #3에서 시작하고, 이후에 순차적으로 다음 하드디스크인 #1 및 하드디스크 #2에 영상 데이터를 저장한다면, 각각의 하드디스크에 저장된 영상 데이터의 크기는 모두 12.6GByte가 되므로, 하드디스크의 저장 공간을 균형 있게 낭비하지 않고 사용할 수 있다.
For example, in the case of the channel 1, the image data is stored in the hard disk # 1, and then sequentially stored in the hard disk # 2 and the hard disk # 3, The video data is stored in the hard disk # 2 and then sequentially stored in the hard disk # 3 and the hard disk # 1, which are the next hard disks, and the video data is stored in the hard disk # 3, and then sequentially stores the image data on the next hard disks # 1 and # 2, the size of the image data stored in each of the hard disks becomes 12.6 GByte, so that the storage space of the hard disk Can be used without wasting balance.

또한, 각각의 채널에서 촬영된 영상을 30일 동안 하드디스크에 저장하여야하는 경우를 예를 들어 살펴보기로 한다. 도 7의 (a)의 경우, 하드디스크 #1에 저장되는 전체 용량은 16Mbps/8Byte×60초×60분×24시간×30일=5.2TByte가 되고, 하드디스크 #2에 저장되는 전체 용량은 8Mbps/8Byte×60초×60분×24시간×30일=2.6TByte가 되며, 하드디스크 #3에 저장되는 전체 용량은 4Mbps/8Byte×60초×60분×24시간×30일=1.3TByte가 되는데, CCTV 시스템에서 하드디스크를 구현할 때, 일반적으로 용량이 다른 하드디스크를 사용하지는 않으므로, 즉 6TB, 3TB, 2TB의 용량을 가진 하드디스크 3개를 사용하는 것이 아니라 하드디스크 중 가장 큰 용량인 6TB의 용량을 가진 하드디스크 3개를 사용하게 된다. 이에 비해, 도 7의 (b)의 경우, 각각의 하드디스크에 저장되는 전체 용량은 3TB(=(5.2TB+2.6TB+1.3TB)/3)로 동일하므로, CCTV 시스템에서 하드디스크를 구현할 때, 3TB의 용량을 가진 하드디스크 3개를 사용하면 되므로 더욱 저렴한 비용으로 CCTV 시스템을 구현할 수 있다.
Hereinafter, a case in which an image photographed by each channel is stored in the hard disk for 30 days will be described as an example. In the case of FIG. 7A, the total capacity stored in the hard disk # 1 is 16 Mbps / 8 bytes × 60 seconds × 60 minutes × 24 hours × 30 days = 5.2 TBytes. The total capacity stored in the hard disk # The total capacity stored in the hard disk # 3 becomes 4 Mbps / 8 bytes × 60 seconds × 60 minutes × 24 hours × 30 days = 1.3 TBytes in 8 Mbps / 8 bytes × 60 seconds × 60 minutes × 24 hours × 30 days = However, when a hard disk is implemented in a CCTV system, generally, a hard disk having a different capacity is not used. That is, instead of using three hard disks having capacities of 6TB, 3TB, and 2TB, Of the total capacity of the hard disk. 7B, the total capacity stored in each hard disk is equal to 3TB (= (5.2TB + 2.6TB + 1.3TB) / 3), so when a hard disk is implemented in the CCTV system , 3 hard disks with 3TB capacity can be used, and CCTV system can be realized at lower cost.

하드디스크 관리 모듈(400)은, 하드디스크의 저장 용량이 부족할 시에 각각의 하드디스크에 저장된 영상 데이터의 용량을 확인하여 영상 데이터를 삭제할 수 있다.
The hard disk management module 400 can delete the image data by checking the capacity of the image data stored in each hard disk when the storage capacity of the hard disk is insufficient.

본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서, 하드디스크 관리 모듈(400)은, 각 채널의 영상 데이터를 저장하는 중에 하드디스크의 용량이 꽉 차게 되면 더 이상 영상 데이터를 저장 할 수 없으므로, 주기적으로 각각의 하드디스크의 용량 상태를 확인해서 하드디스크 용량이 부족할 시에 가장 오래된 영상 데이터부터 삭제를 할 수 있다.
In the CCTV system 10 in which CCTV image data is distributed and stored according to an embodiment of the present invention, when the capacity of the hard disk becomes full while the image data of each channel is being stored, the hard disk management module 400 Since the abnormal video data can not be stored, it is possible to periodically check the capacity status of each hard disk and delete the oldest video data when the hard disk capacity is insufficient.

또한, 하드디스크 관리 모듈(400)은, 각 조각 단위의 시간이 지나면 상기 하드디스크 결정 모듈(200)에게 다음 조각 단위부터는 저장되는 하드디스크를 변경하도록 명령할 수 있다.
In addition, the hard disk management module 400 may instruct the hard disk determination module 200 to change a hard disk to be stored from the next piece unit after a time of each piece unit.

예를 들면, 하드디스크 #1에 저장된 조각 #1의 단위 시간이 지난 경우에 다음 조각 단위인 조각 #2부터는 다음 하드디스크인 하드디스크 #2에 저장될 수 있도록, 하드디스크 결정 모듈(200)에게 명령할 수 있다.
For example, when the unit time of the piece # 1 stored in the hard disk # 1 has elapsed, the piece # 2 of the next piece is transmitted to the hard disk determination module 200 so that the piece # 2 can be stored in the next hard disk, Command.

한편, 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서는, 하드디스크 쓰기를 지연 없이 하기 위하여 비동기 방식으로 쓰기를 할 수 있다. 비동기 방식이란, 동시에 일어나지 않는 방식을 의미하며, 구체적으로는 요청과 결과가 동시에 일어나지 않을 것이라는 약속이다. 따라서, 비동기 방식은 요청한 그 자리에서 결과가 주어지지 않을 수 있다.
Meanwhile, in the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention, it is possible to write in asynchronous manner in order to avoid delaying the hard disk writing. An asynchronous scheme means a scheme that does not happen at the same time, specifically a promise that requests and results will not happen at the same time. Thus, the asynchronous method may not yield the result on the requested location.

비동기식 하드디스크 쓰기 모듈(500)은, 비동기 방식으로 하드디스크 쓰기를 할 수 있다. 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에서, 비동기 방식으로 영상 데이터 쓰기를 하면, 먼저 데이터가 라이트 캐시에 입력되고, 백그라운드로 캐시내용을 하드디스크에 기록할 수 있으므로, 하드디스크에 내용이 기록될 때까지 기다릴 필요가 없기 때문에 데이터 쓰기를 하는데 지연 시간이 발생하지 않을 수 있다.
The asynchronous hard disk write module 500 can write a hard disk in an asynchronous manner. In the CCTV system 10 for distributing and storing CCTV image data according to an embodiment of the present invention, when image data is written in an asynchronous manner, data is first input to the write cache, and the contents of the cache are written to the hard disk in the background Therefore, there is no need to wait until the contents are recorded on the hard disk, so there is no delay time in writing data.

또한, 비동기식 하드디스크 쓰기 모듈(500)은, 비동기 방식으로 영상 데이터 쓰기를 함으로써, 각각의 스트림 데이터를 해당 하드디스크의 섹터단위로 모아서 한 번에 쓰기를 할 수 있게 됨으로써, 최적의 성능으로 영상 데이터를 저장할 수 있다.
In addition, the asynchronous hard disk writing module 500 writes the video data in an asynchronous manner, so that the stream data can be written in a sector unit of the hard disk and written at once, Can be stored.

전술한 바와 같이, 본 발명에서 제안하고 있는 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)에 따르면, 기본 저장 방식은 개별 채널 별 저장 방식을 사용함으로써, 추가적인 RAID(Redundant Array of Independent Disks) 장착 없이도 뱅크 저장 방식의 문제점을 해소, 즉 특정 하드디스크에 대하여 동시에 여러 채널에 대한 검색(읽기) 동작이 발생될 경우에, 특히, 해당 하드디스크에 대하여 쓰기도 동시에 진행되고 있는 경우에, 급격한 시간지연이 발생하게 되는 문제점을 해결할 뿐만 아니라, 각각의 채널에 대하여 미리 지정된 시간 간격의 조각 단위로 나누어 각각의 하드디스크로 순차적으로 분산하여 저장함으로써, 각 채널 별로 수신하는 영상 데이터의 크기가 다를 경우에도, 각각의 하드디스크의 공간을 균형 있게 낭비하지 않고 사용할 수 있다. 또한, 본 발명에 따르면, 개별 채널 별 저장 방식을 사용한 경우보다 더 작은 용량의 하드디스크를 사용할 수 있어, 더욱 저렴한 비용으로 CCTV 시스템을 구현할 수 있다.
As described above, according to the CCTV system 10 that distributes and stores the CCTV image data proposed in the present invention, the basic storage method uses an individual channel-by-channel storage method so that an additional RAID (Redundant Array of Independent Disks) In other words, when a search (read) operation for a plurality of channels occurs simultaneously with respect to a specific hard disk, particularly when a write operation is simultaneously performed on the corresponding hard disk, a sudden time delay In addition, when the size of image data received for each channel is different from that of each channel by dividing the channel into fragments of a predetermined time interval and sequentially distributing the divided data to the respective hard disks, The space of each hard disk can be used without wasting balance. In addition, according to the present invention, it is possible to use a hard disk having a capacity smaller than that of the case of using a storage method for each channel, thereby realizing a CCTV system at a lower cost.

이상 설명한 본 발명은 본 발명이 속한 기술분야에서 통상의 지식을 가진 자에 의하여 다양한 변형이나 응용이 가능하며, 본 발명에 따른 기술적 사상의 범위는 아래의 청구범위에 의하여 정해져야 할 것이다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

10: 본 발명의 일 실시예에 따른 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템
100: 데이터 수신 모듈
200: 하드디스크 결정 모듈
300: 데이터 저장 모듈
400: 하드디스크 관리 모듈
500: 비동기식 하드디스크 쓰기 모듈
10: CCTV system for distributing and storing CCTV image data according to an embodiment of the present invention
100: Data receiving module
200: Hard disk determination module
300: Data storage module
400: Hard Disk Management Module
500: Asynchronous hard disk write module

Claims (8)

CCTV 시스템에 있어서,
복수 개의 카메라로부터 영상 데이터를 수신하는 데이터 수신 모듈(100);
상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 복수 개의 하드디스크 중 어느 하드디스크에 저장할지 결정하는 하드디스크 결정 모듈(200);
상기 하드디스크 결정 모듈(200)에 의해 정해진 하드디스크에 상기 데이터 수신 모듈(100)로부터 수신한 영상 데이터를 저장하는 데이터 저장 모듈(300); 및
하드디스크 저장 용량이 부족할 시에 각각의 하드디스크에 저장된 영상 데이터의 용량을 확인하여 영상 데이터를 삭제하는 하드디스크 관리 모듈(400)을 포함하되,
복수 개의 하드디스크에 개별 채널의 데이터를 분산하여 저장하며,
상기 CCTV 시스템은 각 채널의 영상 데이터를 미리 지정된 시간 간격의 조각 단위로 나누어 각각의 하드디스크로 순차적으로 분산하여 저장하는 방식인 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
In a CCTV system,
A data receiving module (100) for receiving image data from a plurality of cameras;
A hard disk determination module (200) for determining to which hard disk among the plurality of hard disks the image data received from the data reception module (100) is to be stored;
A data storage module 300 for storing image data received from the data receiving module 100 on a hard disk determined by the hard disk determination module 200; And
And a hard disk management module (400) for checking the capacity of the image data stored in each hard disk and deleting the image data when the hard disk storage capacity is insufficient,
Distributes and stores the data of the individual channels on a plurality of hard disks,
Wherein the CCTV system divides the image data of each channel into fragments of predetermined time intervals and sequentially distributes the divided image data to the respective hard disks and stores the CCTV image data in a distributed manner.
제1항에 있어서, 상기 CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템(10)은,
비동기 방식으로 하드디스크 쓰기를 하는 비동기식 하드디스크 쓰기 모듈(500)을 더 포함하는 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
The CCTV system (10) according to claim 1, wherein the CCTV system (10)
And an asynchronous hard disk writing module (500) for writing a hard disk in an asynchronous manner.
삭제delete 제1항에 있어서, 상기 각 채널은,
네트워크로 연결되며, 각 조각 단위에는 저장시간 정보를 포함하는 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
2. The apparatus of claim 1,
Network, and each piece unit includes storage time information. The CCTV system distributes and stores the CCTV image data.
제1항에 있어서, 상기 조각 단위는,
미리 지정된 시간 단위가 될 수 있고, 각 채널의 저장 위치 시작점은 순차적으로 나누어서 시작하는 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
The method according to claim 1,
And the start point of the storage location of each channel is divided into a sequential division. The CCTV system distributes and stores the CCTV image data.
제1항에 있어서, 상기 하드디스크 결정 모듈(200)은,
시간 정보를 기초로 하여 하나의 조각 단위를 구성하고, 해당 조각 단위가 저장될 하드디스크의 위치를 결정하는 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
The method of claim 1, wherein the hard disk determination module (200)
Wherein a piece of unit is configured based on time information and a position of a hard disk to which the piece unit is to be stored is determined.
제1항에 있어서, 상기 하드디스크 결정 모듈(200)은,
복수 개의 하드디스크 중 점유하고 있는 채널의 수가 가장 적은 하드디스크를 최초에 선택하고, 이후에는 상기 데이터 저장 모듈(300)에서 순차적으로 다음 하드디스크에 저장하는 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
The method of claim 1, wherein the hard disk determination module (200)
Wherein the controller selects a hard disk having a smallest number of occupied channels among a plurality of hard disks first and then sequentially stores the selected data in the next hard disk in the data storage module. Saving CCTV system.
제1항에 있어서, 상기 하드디스크 관리 모듈(400)은,
각 조각 단위의 시간이 지나면 상기 하드디스크 결정 모듈(200)에게 다음 조각 단위부터는 저장되는 하드디스크를 변경하도록 명령하는 것을 특징으로 하는, CCTV 영상 데이터를 분산하여 저장하는 CCTV 시스템.
The method of claim 1, wherein the hard disk management module (400)
And instructs the hard disk determination module (200) to change a hard disk to be stored from the next piece unit after a time of each piece unit.
KR1020180052095A 2018-05-04 2018-05-04 Cctv system that distributes and stores cctv data KR101903726B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180052095A KR101903726B1 (en) 2018-05-04 2018-05-04 Cctv system that distributes and stores cctv data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180052095A KR101903726B1 (en) 2018-05-04 2018-05-04 Cctv system that distributes and stores cctv data

Publications (1)

Publication Number Publication Date
KR101903726B1 true KR101903726B1 (en) 2018-10-02

Family

ID=63863968

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180052095A KR101903726B1 (en) 2018-05-04 2018-05-04 Cctv system that distributes and stores cctv data

Country Status (1)

Country Link
KR (1) KR101903726B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013141308A1 (en) * 2012-03-22 2013-09-26 日本電気株式会社 Distributed storage system, storage control method and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013141308A1 (en) * 2012-03-22 2013-09-26 日本電気株式会社 Distributed storage system, storage control method and program

Similar Documents

Publication Publication Date Title
US8494341B2 (en) Method and system for display of a video file
US20060171452A1 (en) Method and apparatus for dual mode digital video recording
JP2006520986A (en) CPI data for stream buffer channel
CA2841098A1 (en) Video transmitting system for monitoring simultaneous geographically distributed events
CN110198475B (en) Video processing method, device, equipment, server and readable storage medium
US8787446B2 (en) Method of transmitting data
US20170309307A1 (en) Video recording apparatus with pre-event circulation recording function
US9277197B2 (en) Recording apparatus, recording method, and recording system
KR101311463B1 (en) remote video transmission system
KR101903726B1 (en) Cctv system that distributes and stores cctv data
JP4325194B2 (en) Apparatus and method for managing access to storage medium
US8526796B2 (en) Network video recorder and method for recording video data in the network video recorder
KR101706220B1 (en) Image recorder and Overwriting method thereof
KR102144512B1 (en) Storage apparatus of multi-channel video data
US20150296169A1 (en) Time-Space Storage Solution (TSSS)
JP4315618B2 (en) Broadcast program recording device for digital broadcasting
KR101920453B1 (en) An nvr system that runs separately from one system to another
JP2017055217A (en) Image processing apparatus and image processing method and imaging device
JP2009282735A (en) Information recording system and information recording method
KR101590845B1 (en) An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof
US11736796B1 (en) Workload triggered dynamic capture in surveillance systems
JP4436074B2 (en) Video information recording device
JP3866008B2 (en) Digital video and audio recording and playback device
EP3229464B1 (en) Video recording device and video recording method
JP5697526B2 (en) Video surveillance recorder and video surveillance system

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant