KR102144512B1 - Storage apparatus of multi-channel video data - Google Patents

Storage apparatus of multi-channel video data Download PDF

Info

Publication number
KR102144512B1
KR102144512B1 KR1020200048416A KR20200048416A KR102144512B1 KR 102144512 B1 KR102144512 B1 KR 102144512B1 KR 1020200048416 A KR1020200048416 A KR 1020200048416A KR 20200048416 A KR20200048416 A KR 20200048416A KR 102144512 B1 KR102144512 B1 KR 102144512B1
Authority
KR
South Korea
Prior art keywords
file
image
storage medium
channel
index file
Prior art date
Application number
KR1020200048416A
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 KR1020200048416A priority Critical patent/KR102144512B1/en
Application granted granted Critical
Publication of KR102144512B1 publication Critical patent/KR102144512B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal
    • 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
    • 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

Abstract

The present invention relates to a multi-channel image storage device capable of quickly storing images acquired from a plurality of cameras in a storage medium or quickly reading image files stored in the storage medium. According to an embodiment of the present invention, the multi-channel image storage device comprises: a memory for storing images acquired by the plurality of cameras in a group of pictures for each channel; a storage medium for storing the group of pictures for each channel received from the memory as one image file; and a control unit for controlling driving of at least one of the memory and the storage medium, wherein an index file containing information on each group of pictures included in the image file is generated together in the storage medium, when the image file is generated in the storage medium.

Description

다중채널 영상 저장장치{STORAGE APPARATUS OF MULTI-CHANNEL VIDEO DATA}Multi-channel video storage device {STORAGE APPARATUS OF MULTI-CHANNEL VIDEO DATA}

본 발명은 다중채널 영상 저장장치에 관한 것으로, 구체적으로는 복수 개의 카메라 촬영한 영상을 획득하여 저장하는 다중채널 영상 저장장치에 관한 것이다.The present invention relates to a multi-channel image storage device, and more particularly, to a multi-channel image storage device that acquires and stores images captured by a plurality of cameras.

원격 감시 장치는 원격지에 위치한 특정 지역이나 건물의 주변 상황을 영상 등을 통하여 무인으로 감시하는 장치로서, 대표적으로 폐쇄회로 텔레비전(closed circuit television, 이하 “CCTV”라고 함)이 있다.A remote monitoring device is a device that unmannedly monitors a specific area located in a remote location or a surrounding situation of a building through an image, and is typically a closed circuit television (hereinafter referred to as “CCTV”).

CCTV 시스템은 CCTV 카메라에서 촬영된 영상정보가 별도로 설치된 사설망(동축케이블, 광케이블, 전화선 등)을 통해 중앙통제센터로 전송되어 감시모니터를 통해 출력되거나 저장장치에 저장된다.The CCTV system is transmitted to the central control center through a separate private network (coaxial cable, optical cable, telephone line, etc.), where video information captured by CCTV cameras is output through a monitoring monitor or stored in a storage device.

최근에는 CCTV 시스템의 활용분야가 다양해지면서 효율적인 감시 요구가 증대되고 있으며, 이에 따라 피사체에 대한 명확한 식별을 위해 고화질 영상정보를 제공하는 카메라가 설치되어 운용되고 있다.Recently, as the field of application of the CCTV system has been diversified, the demand for efficient monitoring is increasing, and accordingly, cameras that provide high-definition image information are installed and operated for clear identification of subjects.

특히 복수 개의 카메라를 설치하고, 복수 개의 카메라로부터 획득한 영상 스트림을 하나의 저장매체에 한꺼번에 저장하는 기술이 제안되었으며, 이로 인하여 유지비용 절감 및 관리의 편의성을 담보할 수 있게 되었다.In particular, a technology for installing a plurality of cameras and storing video streams acquired from a plurality of cameras in one storage medium at once has been proposed, thereby reducing maintenance costs and ensuring convenience in management.

그러나, 상술한 바와 같이 요구되는 영상의 해상도가 점차적으로 증가하고, 128채널 등의 다수 채널을 통하여 복수 개의 카메라로부터 획득한 영상을 한꺼번에 저장하는 과정에서 데이터의 크기가 기하급수적으로 증가하게 되고, 이로 인하여 저장매체에 해당 영상을 쓰거나 또는 저장매체에 저장된 해당 영상을 읽는 속도가 저하되고 있다는 문제점이 발생하게 된다. However, as described above, the required image resolution gradually increases, and the size of the data increases exponentially in the process of storing images acquired from a plurality of cameras at once through multiple channels such as 128 channels. Accordingly, there is a problem that the speed of writing the image to the storage medium or reading the image stored in the storage medium is slowing.

한편, 하기선행기술문헌은 고화질 영상 데이터의 장거리 다중전송 및 다양한 전송케이블 이용이 가능한 CCTV 하우징, CCTV 카메라, CCTV 영상 처리 장치 및 CCTV 시스템에 대한 기술내용을 개시하고 있을 뿐 본 발명의 기술적 요지는 개시하고 있지 않다.On the other hand, the following prior technical literature discloses the technical contents of a CCTV housing, a CCTV camera, a CCTV image processing device, and a CCTV system that can use a variety of transmission cables and long distance multiplex transmission of high-definition image data, but the technical gist of the present invention is disclosed. Not doing.

대한민국 공개특허공보 제10-2016-0128282호Republic of Korea Patent Publication No. 10-2016-0128282

본 발명의 일 실시예에 따른 다중채널 영상 저장장치는 전술한 문제점을 해결하기 위하여 다음과 같은 해결과제를 목적으로 한다.A multi-channel image storage device according to an embodiment of the present invention aims at the following solutions in order to solve the above-described problems.

복수 개의 카메라로부터 획득한 영상을 빠르고 신속하게 저장매체에 저장하거나 또는 저장매체에 저장된 영상파일을 빠르고 신속하게 읽을 수 있는 다중채널 영상 저장장치를 제공하는 것이다. It is to provide a multi-channel image storage device that can quickly and quickly store images acquired from a plurality of cameras in a storage medium or read image files stored in the storage medium quickly and quickly.

또한, 저장매체의 단편화를 최소화함으로써 저장매체의 저장효율의 향상 및 쓰기/읽기 속도를 증가시킬 수 있는 다중채널 영상 저장장치를 제공하는 것이다. In addition, by minimizing the fragmentation of the storage medium, it is to provide a multi-channel image storage device capable of improving the storage efficiency of the storage medium and increasing the writing/reading speed.

본 발명의 해결과제는 이상에서 언급된 것들에 한정되지 않으며, 언급되지 아니한 다른 해결과제들은 아래의 기재로부터 당해 기술분야에 있어서의 통상의 지식을 가진 자에게 명확하게 이해되어 질 수 있을 것이다.The problem of the present invention is not limited to those mentioned above, and other problems that are not mentioned will be clearly understood by those of ordinary skill in the art from the following description.

본 발명의 일 실시예에 따른 다중채널 영상 저장장치는, 복수 개의 카메라로부터 획득한 영상을 저장하는 다중채널 영상 저장장치에 관한 것으로, 상기 복수 개의 카메라가 획득한 영상을 각 채널별 픽처그룹(Group of Pictures) 단위로 저장하는 메모리; 상기 메모리로부터 전달받은 각 채널별 픽처그룹을 하나의 영상파일로 저장하는 저장매체; 및 상기 메모리 및 저장매체 중 적어도 하나의 구동을 제어하는 제어유닛;을 포함하고, 상기 저장매체 내에 상기 영상파일이 생성되는 경우, 상기 영상파일에 포함된 각각의 픽처그룹에 대한 정보가 수록된 인덱스파일이 상기 저장매체 내에 함께 생성된다.A multi-channel image storage device according to an embodiment of the present invention relates to a multi-channel image storage device that stores images acquired from a plurality of cameras, wherein the images acquired by the plurality of cameras are grouped into picture groups for each channel. of pictures); A storage medium for storing the picture group for each channel received from the memory as one image file; And a control unit that controls driving of at least one of the memory and the storage medium; and, when the image file is generated in the storage medium, an index file containing information on each picture group included in the image file. This is produced together in the storage medium.

상기 인덱스파일에는 각각의 상기 픽처그룹의 채널정보, 생성시간정보 및 상기 영상파일 내에서의 상기 픽처그룹의 위치정보를 포함하는 것이 바람직하다.Preferably, the index file includes channel information, generation time information, and position information of the picture group in the image file.

상기 영상파일의 크기는 미리 설정된 크기로 제한되고, 상기 영상파일의 크기가 미리 설정된 크기에 도달할 경우 상기 저장매체 내에는 신규 영상파일 및 상기 신규 영상파일과 대응되는 신규 인덱스파일이 생성되는 것이 바람직하다.The size of the image file is limited to a preset size, and when the size of the image file reaches a preset size, a new image file and a new index file corresponding to the new image file are preferably created in the storage medium. Do.

상기 인덱스파일의 파일명은 상기 영상파일의 파일명과 동일하게 설정되는 것이 바람직하다.It is preferable that the file name of the index file is set the same as the file name of the video file.

상기 영상파일이 삭제될 경우 상기 영상파일과 대응되는 인덱스파일이 함께 삭제되는 것이 바람직하다.When the video file is deleted, it is preferable that an index file corresponding to the video file is deleted together.

상기 인덱스 파일에는 상기 인덱스 파일과 대응되는 영상파일의 생성시간정보가 저장되는 것이 바람직하다.It is preferable that the index file stores information on the generation time of the video file corresponding to the index file.

상기 복수 개의 카메라 중 어느 하나의 카메라가 획득한 특정시간의 영상의 출력 요청이 있는 경우, 상기 제어유닛은 복수 개의 인덱스파일에 저장된 영상파일의 생성시간정보에 기초하여 상기 특정시간과 인접한 인덱스파일을 결정하고, 결정된 상기 인덱스파일에 저장된 픽처그룹의 채널정보, 생성시간정보 및 상기 영상파일 내에서의 상기 픽처그룹의 위치정보에 기초하여 결정된 상기 인덱스파일과 대응되는 영상파일 중 요청된 영상과 관련된 픽처그룹을 추출 및 결합하여 요청된 영상을 출력하는 것이 바람직하다.When there is a request to output an image of a specific time acquired by any one of the plurality of cameras, the control unit selects an index file adjacent to the specific time based on the generation time information of the image file stored in the plurality of index files. A picture related to the requested image among image files corresponding to the index file determined and determined based on channel information, generation time information, and location information of the picture group in the image file stored in the determined index file It is desirable to extract and combine groups to output the requested image.

본 발명의 일 실시예에 따른 다중채널 영상 저장장치는 다수의 카메라로부터 획득한 복수 개의 영상 스트림을 동시에 획득한 후 최소한의 파일에 저장함으로써 저장매체의 IO를 최소화함으로써 저장매체의 저장효율을 향상시키고, 나아가 저장매체의 쓰기/읽기 속도를 향상시킬 수 있는 효과가 있다.A multi-channel image storage device according to an embodiment of the present invention improves storage efficiency of a storage medium by minimizing IO of a storage medium by simultaneously acquiring a plurality of image streams acquired from a plurality of cameras and storing them in a minimum file. Furthermore, there is an effect of improving the writing/reading speed of the storage medium.

본 발명의 효과는 이상에서 언급된 것들에 한정되지 않으며, 언급되지 아니한 다른 효과들은 아래의 기재로부터 당해 기술분야에 있어서의 통상의 지식을 가진 자에게 명확하게 이해되어질 수 있을 것이다.The effects of the present invention are not limited to those mentioned above, and other effects not mentioned may be clearly understood by those skilled in the art from the following description.

도 1은 종래의 다중채널 영상 저장장치를 간략히 도시한 개념도이다.
도 2는 본 발명의 일 실시예에 따른 다중채널 영상 저장장치를 간략히 도시한 개념도이다.
1 is a schematic diagram illustrating a conventional multi-channel image storage device.
2 is a conceptual diagram schematically illustrating a multi-channel image storage device according to an embodiment of the present invention.

첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. A preferred embodiment according to the present invention will be described in detail with reference to the accompanying drawings, but the same or similar components are assigned the same reference numerals regardless of the reference numerals, and redundant descriptions thereof will be omitted.

또한, 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 발명의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 발명의 사상이 제한되는 것으로 해석되어서는 아니 됨을 유의해야 한다.In addition, in describing the present invention, when it is determined that a detailed description of a related known technology may obscure the subject matter of the present invention, a detailed description thereof will be omitted. In addition, it should be noted that the accompanying drawings are only intended to facilitate understanding of the spirit of the present invention, and should not be construed as limiting the spirit of the present invention by the accompanying drawings.

본 발명의 일 실시예에 따른 다중채널 영상 저장장치를 설명하기 앞서 종래의 다중채널 영상 저장장치를 도 1을 참조하여 설명하도록 한다.Before describing a multi-channel image storage device according to an embodiment of the present invention, a conventional multi-channel image storage device will be described with reference to FIG. 1.

종래의 다중채널 영상 저장장치는 복수 개의 카메라(10)로부터 획득한 영상을 저장하는 다중채널 영상 저장장치에 관한 것으로, 도 1에 도시된 바와 같이 메모리(20) 및 저장매체(30)를 포함하도록 구성된다.A conventional multi-channel image storage device relates to a multi-channel image storage device that stores images acquired from a plurality of cameras 10, and includes a memory 20 and a storage medium 30 as shown in FIG. Is composed.

종래의 다중채널 영상 저리장치의 경우 도 1에 도시된 바와 같이 메모리(20)는 복수 개의 카메라(10)로부터 영상을 각각 전달받은 후 각 채널별 픽처그룹(Group of Pinctures: GOP)(21) 단위로 저장하는데, 여기에서 픽처그룹(GOP)이란 인코딩된 이미지 프레임 그룹으로, I-frame, P-frame 및 B-frame 중 적어도 하나를 포함하도록 구성된다.In the case of a conventional multi-channel image processing apparatus, as shown in FIG. 1, the memory 20 receives images from a plurality of cameras 10, and then each channel-specific picture group (Group of Pinctures: GOP) 21 In this case, a picture group (GOP) is an encoded image frame group and is configured to include at least one of an I-frame, a P-frame, and a B-frame.

I-frame은 키프레임으로 불리며, 예측을 사용하지 않고 입력신호 그대로 저장한 프레임이며, P-frame은 순방향 예측 프레임으로 바로 이전에 위치한 I-frame을 기준으로 차이가 나는 부분 데이터만 예측하여 저장하는 프레임이다.I-frame is called a key frame, and is a frame that is stored as input signal without using prediction, and P-frame is a forward prediction frame, which predicts and stores only partial data that differs based on the I-frame located immediately before. It is a frame.

B-frame은 양방향 예측 프레임으로 I-frame과 P-frame 사이에 위치하여 양쪽 프레임 모두를 참조하여 두 프레임 사이의 움직임을 추측 데이터로 저장한 프레임을 의미한다.The B-frame is a bidirectional prediction frame, which is located between an I-frame and a P-frame and refers to a frame in which motion between two frames is stored as speculative data by referring to both frames.

상술한 바와 같이 이러한 픽처그룹(GOP)은 I-frame, P-frame 및 B-frame이 나열되어 구성되며, 일반적으로 2개 내지 15개의 프레임들이 하나의 픽처그룹(GOP)으로 구성되며, 경우에 따라서는 B-frame 없이 I-frame과 P-frame으로만 이루어진 픽처그룹(GOP)도 있다.As described above, such a picture group (GOP) is configured by listing I-frames, P-frames and B-frames, and in general, 2 to 15 frames are composed of one picture group (GOP). Therefore, there is also a picture group (GOP) consisting of only I-frames and P-frames without B-frames.

즉, 메모리(20)는 각 채널별 카메라(10)로부터 획득한 압축영상을 각각의 픽처그룹 단위로 저장하며, 구체적으로 제1 카메라(10-1) 내지 제N 카메라(10-N)로부터 획득한 압축영상은 각각 제1 픽처그룹(21-1) 내지 제N 픽처그룹(21-N) 형태로 메모리(20) 내에 저장된다.That is, the memory 20 stores the compressed image acquired from the camera 10 for each channel in each picture group unit, and specifically acquired from the first camera 10-1 to the Nth camera 10-N. One compressed image is stored in the memory 20 in the form of a first picture group 21-1 to an Nth picture group 21-N, respectively.

저장매체(30)는 메모리(20)로부터 전달받은 픽처그룹(21)들에 기초하여 생성된 영상파일을 저장하는 기능을 수행하며, HDD(Hard Disk Drive) 또는 SDD(Solid State Drive) 등인 것이 바람직하다.The storage medium 30 performs a function of storing image files created based on the picture groups 21 received from the memory 20, and is preferably a hard disk drive (HDD) or a solid state drive (SDD). Do.

한편, 종래의 다중채널 영상 저장장치에서는 도 1에 도시된 바와 같이 저장매체(300)에 각 채널별로 각각의 영상파일(31)이 저장되도록 구성되어 있다.Meanwhile, in the conventional multi-channel image storage device, as shown in FIG. 1, each image file 31 is stored in the storage medium 300 for each channel.

구체적으로 저장매체(30) 내에는 시간대 별로 각각의 폴더가 생성되며, 해당 폴더 내에는 각 채널별로 별도의 영상파일(31)이 저장되며, 예를들어 제1 픽처그룹(21-1) 내지 제N 픽처그룹(21-N)에 대하여 제1 영상파일(31-1) 내지 제N 영상파일(31-N)이 각각 생성되도록 구성된다.Specifically, each folder is created for each time zone in the storage medium 30, and a separate image file 31 is stored for each channel in the folder, for example, the first picture group 21-1 to the first picture group. The first to N-th image files 31-1 to 31-N are respectively generated for the N picture groups 21-N.

즉, 종래의 다중채널 영상 저장장치는 각 카메라(10)의 영상 스트림 별로 각각의 영상파일(31)이 저장매체(30) 내에 생성 및 저장되므로, 저장매체의 단편화 문제가 발생하며, 나아가 저장매체(30) 내에서 쓰기 및 읽기의 속도가 저하된다는 문제점이 있다.That is, in the conventional multi-channel image storage device, since each image file 31 is generated and stored in the storage medium 30 for each image stream of each camera 10, a problem of fragmentation of the storage medium occurs, and furthermore, the storage medium (30) There is a problem in that the speed of writing and reading is lowered.

본 발명의 일 실시예에 따른 다중채널 영상 저장장치는 상술한 종래의 다중채널 영상 저장장치의 문제점을 극복하기 위하여 안출된 것으로, 이하에서는 도 2를 참조하여 본 발명의 일 실시예에 따른 다중채널 영상 저장장치에 대하여 설명하도록 한다. A multi-channel image storage device according to an embodiment of the present invention was devised to overcome the problems of the conventional multi-channel image storage device described above. Hereinafter, a multi-channel image storage device according to an embodiment of the present invention with reference to FIG. The image storage device will be described.

본 발명의 일 실시예에 따른 다중치널 영상 저장장치는 복수 개의 카메라(100)로부터 획득한 영상을 저장하는 다중채널 영상 저장장치에 관한 것으로, 도 2에 도시된 바와 같이 메모리(200), 저장매체(300) 및 제어유닛을 포함하도록 구성된다. A multi-channel image storage device according to an embodiment of the present invention relates to a multi-channel image storage device that stores images acquired from a plurality of cameras 100, and as shown in FIG. 2, a memory 200 and a storage medium It is configured to include 300 and a control unit.

메모리(200)는 복수 개의 카메라(100)로부터 획득한 영상을 각 채널별 픽처그룹(Group of Pictures, GOP)(210) 단위로 저장하는 기능을 수행하며, 구체적으로 제1 카메라(100-1) 내지 제N 카메라(100-N)로부터 획득한 압축영상은 각각 제1 픽처그룹(210-1) 내지 제N 픽처그룹(210-N) 형태로 메모리(200) 내에 저장된다.The memory 200 performs a function of storing images acquired from a plurality of cameras 100 in units of a group of pictures (GOP) 210 for each channel, and specifically, the first camera 100-1 The compressed images obtained from the N-th cameras 100 -N are stored in the memory 200 in the form of a first picture group 210-1 to an Nth picture group 210 -N, respectively.

저장매체(300)는 메모리(200)로부터 전달받은 각 채널별 픽처그룹(GOP)(210)에 기초하여 생성된 영상파일을 저장하는 구성으로, 본 발명의 일 실시예에 따른 다중채널 영상 저장장치는 메모리(200)에 저장된 다수의 채널별 픽처그룹(GOP)(210)을 전달받아 하나의 영상파일(310)을 생성하도록 구성된다. The storage medium 300 is configured to store an image file generated based on a picture group (GOP) 210 for each channel transmitted from the memory 200, and a multi-channel image storage device according to an embodiment of the present invention Is configured to receive a plurality of channel-specific picture groups (GOPs) 210 stored in the memory 200 to generate one image file 310.

또한 영상파일(310)에는 복수 개의 채널의 영상 스트림이 혼재되도록 구성되기 때문에 저장매체(300) 내에는 영상파일(310)에 포함된 각 채널별 픽처그룹(GOP)(210)에 대한 정보가 수록된 인덱스파일(320)이 저장매체(300) 내에 함께 생성되도록 구성된다. In addition, since the video file 310 is configured so that video streams of a plurality of channels are mixed, information on the picture group (GOP) 210 for each channel included in the video file 310 is included in the storage medium 300. The index file 320 is configured to be created together in the storage medium 300.

특히 인덱스파일(320)에 저장된 정보는 구체적으로 각각의 픽처그룹(GOP)(210)의 채널정보, 생성시간정보 및 영상파일(310) 내에서의 픽처그룹(GOP(210)의 위치정보를 포함하도록 구성되는 것이 바람직하다.In particular, the information stored in the index file 320 includes channel information, creation time information, and location information of the picture group (GOP 210) in the image file 310 in detail. It is desirable to be configured to.

즉 영상파일(310)과 인덱스파일(320)은 상호 대응되도록 한 쌍으로 구성되며, 인덱스파일(320)의 파일명은 대응되는 영상파일(310)의 파일명과 동일하도록 설정되어 생성되도록 구성될 수 있다.That is, the image file 310 and the index file 320 are configured as a pair to correspond to each other, and the file name of the index file 320 may be configured to be set to be the same as the file name of the corresponding image file 310 and generated. .

아울러 새로운 영상파일(310)이 생성될 경우 대응되는 인덱스파일(320)이 생성되고, 반대로 영상파일(310)이 삭제될 경우 대응되는 인덱스파일(320) 또한 함께 삭제되도록 구성될 수 있다.In addition, when a new image file 310 is created, a corresponding index file 320 is generated, and when the image file 310 is deleted, the corresponding index file 320 may also be deleted.

한편, 영상파일(310)은 내부에 포함되는 픽처그룹(GOP)(210)의 갯수에 따라 점차적으로 그 파일크기가 증가하는데, 본 발명의 일 실시예에 따른 다중채널 영상 저장장치의 경우 HDD 또는 SSD 등의 저장매체(310)의 단편화를 최소화하기 위하여 영상파일(310)의 크기는 미리 설정된 크기로 제한되도록 구성될 수 있다.Meanwhile, the image file 310 gradually increases in file size according to the number of picture groups (GOPs) 210 included therein. In the case of a multi-channel image storage device according to an embodiment of the present invention, an HDD or In order to minimize fragmentation of the storage medium 310 such as an SSD, the size of the image file 310 may be configured to be limited to a preset size.

즉, 영상파일(310)의 크기가 미리 설정된 크기, 예를들어 4GB 또는 3.6GB에 도달할 경우 저장매체(300) 내에는 신규의 영상파일(310) 및 신규의 영상파일(310)과 대응되는 신규의 인덱스파일(320)이 생성되도록 할 수 있다.That is, when the size of the image file 310 reaches a preset size, for example 4 GB or 3.6 GB, in the storage medium 300, a new image file 310 and a new image file 310 A new index file 320 may be created.

아울러 파일의 크기가 가변되는 영상파일(310)과는 다르게 인덱스파일(320)의 크기는 고정되도록 구성되며, 이 또한 저장매체(310)의 단편화를 최소화하기 위한 방안으로, 이때 인덱스파일(320)의 크기는 "결정된 영상파일의 크기(예를들어 3.6GB 또는 4G 등)만큼 인덱스할 수 있는 고정메모리 * 최대 카메라 영상 스트림 개수"로 결정될 수 있다.In addition, unlike the image file 310 in which the size of the file is variable, the size of the index file 320 is configured to be fixed, and this is a method for minimizing fragmentation of the storage medium 310. At this time, the index file 320 The size of may be determined as "fixed memory that can be indexed by the size of the determined image file (eg, 3.6GB or 4G, etc.) * maximum number of camera image streams".

한편, 상술한 바와 같이 영상파일(310)의 크기가 미리 설정된 크기에 도달할 경우 신규의 영상파일(310)이 생성되며, 이 경우 영상파일(310) 및 인덱스파일(320)이 복수 개가 될 수 있는데, 이때 복수 개의 영상파일(310) 중 원하는 시간대의 영상파일(310)을 용이하게 출력할 수 있도록 각각의 인덱스파일(320)은 인덱스파일(320)과 대응되는 영상파일(310)의 생성시간정보가 저장될 수 있다.On the other hand, as described above, when the size of the image file 310 reaches a preset size, a new image file 310 is created. In this case, the image file 310 and the index file 320 may be plural. In this case, each of the index files 320 is the creation time of the video files 310 corresponding to the index files 320 so that the video files 310 of the desired time period among the plurality of video files 310 can be easily output. Information can be stored.

제어유닛은 메모리(200) 및 저장매체(300) 중 적어도 하나의 구동을 제어하는 기능을 수행하는데, 사용자가 복수 개의 카메라 중 어느 하나의 카메라(100)가 획득한 특정시간의 영상의 출력을 요청할 경우, 먼저 제어유닛은 복수 개의 인덱스파일(320)에 저장된 영상파일의 생성시간정보에 기초하여 상기 특정시간과 인접한 인덱스파일(320)을 먼저 결정한다.The control unit performs a function of controlling driving of at least one of the memory 200 and the storage medium 300, and a user requests the output of an image of a specific time acquired by any one of a plurality of cameras. In this case, first, the control unit first determines an index file 320 adjacent to the specific time based on the generation time information of the image files stored in the plurality of index files 320.

이후 제어유닛은 결정된 인덱스파일(320)에 저장된 픽처그룹(GOP)의 채널정보, 생성시간정보 및 영상파일 내에서의 픽처그룹(GOP)의 위치정보에 기초하여 결정된 인덱스파일(320)과 대응되는 영상파일(310) 중 사용자가 요청한 영상과 관련된 픽처그룹(GOP)을 추출 및 결합하여 사용자에게 요청된 영상을 출력하게 된다. Thereafter, the control unit corresponds to the index file 320 determined based on the channel information of the picture group (GOP) stored in the determined index file 320, the generation time information, and the location information of the picture group (GOP) in the image file. Among the image files 310, a picture group (GOP) related to an image requested by the user is extracted and combined to output the image requested to the user.

상기와 같은 본 발명의 일 실시예에 따른 다중채널 영상 저장장치의 종래의 다중채널 영상 저장장치와 같이 각 카메라(100)로부터 획득한 영상 스트림 별로 영상파일을 각각 생성하는 것이 아니라 하나의 영상파일(310) 및 하나의 인덱스파일(320)만을 생성하므로 저장매체(300) 내에서의 파일 쓰기속도를 비약적으로 향상시킬 수 있다.Like the conventional multi-channel image storage device of the multi-channel image storage device according to the embodiment of the present invention as described above, each image file is not generated for each image stream acquired from each camera 100, but one image file ( 310) and only one index file 320 is generated, so that the writing speed of the file in the storage medium 300 can be dramatically improved.

아울러, 특정 시간의 다중 영상을 검색할 경우, 영상파일(310) 및 인덱스파일(320)의 총 2개의 파일만 읽기 때문에 쓰기와 동일하게 저장매체를 읽기 위한 IO 개수를 줄일 수 있는 효과가 있다.In addition, when searching for multiple images of a specific time, since only two files of the image file 310 and the index file 320 are read, the number of IOs for reading the storage medium can be reduced in the same manner as writing.

한편, 본 발명의 일 실시예에 따른 다중채널 영상 저장장치에서 인덱스파일(320)이 손상될 경우 사용자에게 특정 시간대, 특정 채널의 영상의 출력이 어렵게 된다는 문제점이 있다. Meanwhile, when the index file 320 is damaged in the multi-channel image storage device according to an embodiment of the present invention, there is a problem in that it is difficult to output an image of a specific time zone and a specific channel to a user.

이러한 문제점을 방지하기 위하여 복수 개의 인덱스파일 중 N번째 인덱스파일은 그 선행시간대의 인덱스파일인 N-1번째 인덱스파일 및 그 후행시간대의 인덱스파일인 N+1번째 인덱스파일의 정보가 저장되도록 구성되는 것이 바람직하다.In order to prevent this problem, the Nth index file among the plurality of index files is configured to store the information of the N-1th index file, which is an index file in the preceding time zone, and the N+1th index file, which is an index file in the subsequent time zone. It is desirable.

즉, N번째 인덱스파일의 손상이 확인되는 경우, N-1번째 인덱스파일에 저장된 N번째 인덱스파일 정보 또는 N+1번째 인덱스파일 정보에 기초하여 N번째 인덱스파일을 복구시킬 수 있다.That is, when it is confirmed that the Nth index file is damaged, the Nth index file may be restored based on the Nth index file information stored in the N-1th index file or the N+1th index file information.

아울러, N번째 인덱스파일의 정확한 복구를 담보하기 위하여, N-1번째 인덱스파일 및 N+1번째 인덱스파일에 각각 저장된 두 개의 N번째 인덱스파일 정보를 비교하고, 두 개의 N번째 인덱스파일 정보가 동일하다고 판단될 경우에만 이를 이용하여 N번째 인덱스파일을 복구하도록 구성되는 것도 가능하다.In addition, in order to ensure accurate recovery of the Nth index file, the information of the two Nth index files stored in the N-1th index file and the N+1th index file is compared, and the information of the two Nth index files is the same. It is also possible to configure the N-th index file to be restored using it only when it is determined that there is a problem.

또한 인덱스파일의 손상시 다른 복구방법으로 영상파일(310) 파일을 이용한 인덱스파일을 복구할 수 있는 방법을 고려해볼 수 있다. In addition, when the index file is damaged, another method of recovering the index file using the image file 310 may be considered.

즉, 복수 개의 인덱스파일 중 N번째 인덱스파일에 손상이 발생할 경우 N-1번째 인덱스파일과 이와 대응되는 N-1번째 영상파일, N번째 인덱스파일과 대응되는 N번째 영상파일 및 N+1번째 인덱스파일과 대응되는 N+1번째 영상파일에 각각 저장된 픽처그룹(GOP)에 기초하여 N번째 인덱스파일을 복구할 수도 있다.That is, if damage occurs to the Nth index file among a plurality of index files, the N-1th index file and the N-1th image file corresponding thereto, the Nth image file corresponding to the Nth index file, and the N+1th index The Nth index file may be restored based on the picture groups GOPs respectively stored in the N+1th image file corresponding to the file.

구체적으로 먼저 N-1번째 인덱스파일에 포함된 N-1번째 영상의 생성시간정보 및 N+1번째 인덱스파일에 포함된 N+1번째 영상의 생성시간정보에 기초하여 N번째 영상파일의 생성시간정보를 추정한 후 이에 기초하여 N번째 인덱스파일에서의 N번째 영상의 생성시간정보를 업데이트한다.Specifically, first, the generation time of the Nth image file based on the generation time information of the N-1th image included in the N-1th index file and the generation time information of the N+1th image included in the N+1th index file. After estimating the information, the generation time information of the N-th image in the N-th index file is updated based on this.

이후 N번째 영상파일 중 N-1번째 영상파일 내의 픽처그룹(GOP) 및 N+1번째 영상파일 내의 픽처그룹(GOP)과 연관되거나 연속성이 인정되는 픽처그룹(GOP)을 대응시켜서 3개의 영상파일 내의 각각의 픽처그룹(GOP)을 상호 매칭시킨다. After that, three video files are associated with a picture group (GOP) in the N-1 video file among the N-th video files and a picture group (GOP) in which continuity is recognized or associated with a picture group (GOP) in the N+1 video file. Each of the picture groups (GOP) in the picture groups are matched with each other.

다음으로 N-1번째 인덱스파일 및 N+1번째 인덱스파일의 내용에 기초하여 N번째 인덱스파일에 저장되어야 할 N번째 영상파일 내에서의 각 픽처그룹(GOP)의 채널정보, 생성시간정보 및 위치정보 등을 업데이트시키되, 이때 N번째 영상파일의 내용을 함께 고려하여 N번째 인덱스파일을 새롭게 생성하고, N번째 인덱스파일의 파일명을 N번째 영상파일명과 동일하도록 업데이트함으로써 손상된 인덱스파일을 복구할 수도 있을 것이다.Next, based on the contents of the N-1th index file and the N+1th index file, channel information, creation time information, and location of each picture group (GOP) in the Nth image file to be stored in the Nth index file It is possible to recover the damaged index file by updating the information, but by creating a new Nth index file by considering the contents of the Nth video file and updating the file name of the Nth index file to be the same as the Nth video file name. will be.

본 명세서에서 설명되는 실시예와 첨부된 도면은 본 발명에 포함되는 기술적 사상의 일부를 예시적으로 설명하는 것에 불과하다. 따라서 본 명세서에 개시된 실시예들은 본 발명의 기술적 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이므로, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것이 아님은 자명하다. 본 발명의 명세서 및 도면에 포함된 기술적 사상의 범위 내에서 당해 기술분야에 있어서의 통상의 지식을 가진 자가 용이하게 유추할 수 있는 변형 예와 구체적인 실시예는 모두 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다. The embodiments described in the present specification and the accompanying drawings are merely illustrative of some of the technical ideas included in the present invention. Accordingly, it is obvious that the embodiments disclosed in the present specification are not intended to limit the technical idea of the present disclosure, but to describe the technical idea, and thus the scope of the technical idea of the present disclosure is not limited by these embodiments. Modification examples and specific embodiments that can be easily inferred by those of ordinary skill in the art within the scope of the technical idea included in the specification and drawings of the present invention are included in the scope of the present invention. It will have to be interpreted.

100: 카메라
200: 메모리
300: 저장매체
100: camera
200: memory
300: storage medium

Claims (3)

복수 개의 카메라로부터 획득한 영상을 저장하는 다중채널 영상 저장장치에 있어서,
상기 복수 개의 카메라가 획득한 영상을 각 채널별 픽처그룹(Group of Pictures) 단위로 저장하는 메모리;
상기 메모리로부터 전달받은 각 채널별 픽처그룹을 하나의 영상파일로 저장하는 저장매체; 및
상기 메모리 및 저장매체 중 적어도 하나의 구동을 제어하는 제어유닛;
을 포함하고,
상기 저장매체 내에 상기 영상파일이 생성되는 경우, 상기 영상파일에 포함된 각각의 픽처그룹에 대한 정보가 수록된 인덱스파일이 상기 저장매체 내에 함께 생성되고,
상기 영상파일의 크기는 미리 설정된 크기로 제한되고,
상기 영상파일의 크기가 미리 설정된 크기에 도달할 경우 상기 저장매체 내에는 신규 영상파일 및 상기 신규 영상파일과 대응되는 신규 인덱스파일이 생성되는 다중채널 영상 저장장치.
In the multi-channel image storage device for storing images acquired from a plurality of cameras,
A memory for storing images acquired by the plurality of cameras in a group of pictures for each channel;
A storage medium for storing the picture group for each channel received from the memory as one image file; And
A control unit controlling driving of at least one of the memory and the storage medium;
Including,
When the image file is generated in the storage medium, an index file containing information on each picture group included in the image file is created together in the storage medium,
The size of the video file is limited to a preset size,
When the size of the image file reaches a preset size, a new image file and a new index file corresponding to the new image file are created in the storage medium.
청구항 1에 있어서,
상기 인덱스파일에는 각각의 상기 픽처그룹의 채널정보, 생성시간정보 및 상기 영상파일 내에서의 상기 픽처그룹의 위치정보를 포함하는 다중채널 영상 저장장치.
The method according to claim 1,
The index file includes channel information, generation time information, and location information of the picture group in the image file.
청구항 1에 있어서,
상기 인덱스파일의 파일명은 상기 인덱스파일과 대응되는 영상파일의 파일명과 동일하게 설정되는 다중채널 영상 저장장치.
The method according to claim 1,
A multi-channel video storage device in which the file name of the index file is set to be the same as the file name of the video file corresponding to the index file.
KR1020200048416A 2020-04-22 2020-04-22 Storage apparatus of multi-channel video data KR102144512B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200048416A KR102144512B1 (en) 2020-04-22 2020-04-22 Storage apparatus of multi-channel video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200048416A KR102144512B1 (en) 2020-04-22 2020-04-22 Storage apparatus of multi-channel video data

Publications (1)

Publication Number Publication Date
KR102144512B1 true KR102144512B1 (en) 2020-08-13

Family

ID=72043503

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200048416A KR102144512B1 (en) 2020-04-22 2020-04-22 Storage apparatus of multi-channel video data

Country Status (1)

Country Link
KR (1) KR102144512B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022671A (en) * 2022-06-02 2022-09-06 智道网联科技(北京)有限公司 Multi-process video output method, cloud terminal, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080096584A (en) * 2003-01-17 2008-10-30 파나소닉 주식회사 Video encoding method
KR20150056381A (en) * 2013-11-15 2015-05-26 삼성테크윈 주식회사 Appratus and method for processing image
KR20160128282A (en) 2016-10-27 2016-11-07 이형용 Cctv housing, cctv camera, cctv video processor unit and cctv system capable of long-distance multiplex transmission of hd video data and using various transmission cable

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080096584A (en) * 2003-01-17 2008-10-30 파나소닉 주식회사 Video encoding method
KR20150056381A (en) * 2013-11-15 2015-05-26 삼성테크윈 주식회사 Appratus and method for processing image
KR20160128282A (en) 2016-10-27 2016-11-07 이형용 Cctv housing, cctv camera, cctv video processor unit and cctv system capable of long-distance multiplex transmission of hd video data and using various transmission cable

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022671A (en) * 2022-06-02 2022-09-06 智道网联科技(北京)有限公司 Multi-process video output method, cloud terminal, electronic device and storage medium
CN115022671B (en) * 2022-06-02 2024-03-01 智道网联科技(北京)有限公司 Multi-process video output method, cloud terminal, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20200358979A1 (en) System and method for supporting selective backtracking data recording
KR102249005B1 (en) Storage management of data streamed from a video source device
EP2215838B1 (en) Apparatus and method of storing video data
EP1813104B1 (en) Apparatus and method of storing video data
CN110012251B (en) Video recording method, device and readable storage medium
JP4539754B2 (en) Information processing apparatus and information processing method
US9275081B2 (en) Data management apparatus and data management method
KR102144512B1 (en) Storage apparatus of multi-channel video data
US9277197B2 (en) Recording apparatus, recording method, and recording system
WO2021149892A1 (en) Apparatus and method for recording video data
US9338388B2 (en) Recording apparatus
KR102650652B1 (en) Method of transmitting moving-image data
US7999853B2 (en) Moving image reproducing apparatus and processing method therefor
US20110150413A1 (en) Moving picture recording/reproducing apparatus and method
JP4322178B2 (en) Multicast MPEG data reception processing apparatus
JP6357188B2 (en) Surveillance camera system and surveillance camera data storage method
KR101652095B1 (en) Realtime remote monitoring and playing system using digital video recoder, and method thereof
US9092147B2 (en) Information processing method, information processing system, information processing apparatus, and program
JP7158930B2 (en) RECORDING DEVICE, CONTROL METHOD AND PROGRAM FOR RECORDING DEVICE
KR101407665B1 (en) video recorder
KR20230032202A (en) Effective image searching method and system thereof for searching event situation
KR20220029031A (en) Apparatus to store image for cctv and method to store image using the same
KR20150010294A (en) High Speed Recorder Performing Parallel Processing And Method Thereof
JP2005269276A (en) Image server and image server system
JP2012227615A (en) Recording and reproducing device

Legal Events

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