KR20150138456A - An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof - Google Patents

An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof Download PDF

Info

Publication number
KR20150138456A
KR20150138456A KR1020140064884A KR20140064884A KR20150138456A KR 20150138456 A KR20150138456 A KR 20150138456A KR 1020140064884 A KR1020140064884 A KR 1020140064884A KR 20140064884 A KR20140064884 A KR 20140064884A KR 20150138456 A KR20150138456 A KR 20150138456A
Authority
KR
South Korea
Prior art keywords
image
information
metafile
file
storage
Prior art date
Application number
KR1020140064884A
Other languages
Korean (ko)
Other versions
KR101590845B1 (en
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 KR1020140064884A priority Critical patent/KR101590845B1/en
Publication of KR20150138456A publication Critical patent/KR20150138456A/en
Application granted granted Critical
Publication of KR101590845B1 publication Critical patent/KR101590845B1/en

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention relates to a multi-channel image storage management apparatus considering a lifetime of a storage medium and a method thereof and, more particularly, to an apparatus which stores an image frame received from a plurality of channels in an image file in order of reception, and uses a method for storing the image frame by continuously generating a new image file when the capacity of the image file is full, thereby reducing the number of the generated image files to prevent the shortening of the lifetime of the storage medium caused by fragmentation and a frequent head movement, and endlessly recording an image.

Description

저장매체의 수명을 고려한 다채널 영상저장관리 장치 및 그 방법{AN APPARATUS FOR PERFORMING MULTI CHANNEL IMAGE RECORDING AND MANAGEMENT CONSIDERING THE LIFE-TIME OF A STORAGE MEDIUM AND THE METHOD THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a multi-channel image storage management apparatus and a multi-channel image storage management apparatus,

본 발명은 저장매체의 수명을 고려한 다채널 영상저장관리 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 복수개의 채널로부터 수신한 영상 프레임을 수신 순으로 지정된 크기의 영상파일과 상기 영상파일의 인덱스 정보를 메타파일로 저장하고, 상기 영상파일과 메타파일이 스토리지(예: HDD, 저장매체, 메모리 등)에 가득차면 연속적으로 이전에 저장된 영상파일과 메타파일을 새로운 영상파일과 메타파일로 덧쓰기 하는 방식으로 순환녹화(circular recording)를 수행하면서, 저장매체의 불필요한 액세스를 배제하여 그 수명을 연장시키고 영상의 재생에 필요한 시간을 단축할 수 있는 영상저장관리 장치 및 그 방법에 관한 것이다.The present invention relates to a multichannel image storage management apparatus and a method thereof, and more particularly to a multichannel image storage management apparatus and a multichannel image storage management apparatus, And stores the image file and the meta file continuously stored in the storage (e.g., HDD, storage medium, memory, etc.) as a new image file and a meta file The present invention relates to an image storage management apparatus and method capable of eliminating unnecessary accesses to a storage medium and extending its lifetime and shortening the time required for image reproduction while performing circular recording.

현재 DVR(Digital Video Recorder), NVR(Network Video Recorder), 블랙박스 등과 같이 다수의 카메라에 의해 촬영되는 다채널 영상을 저장 및 관리하는 장치에서, 일반적으로 다채널의 영상을 저장하는 방식은 각 채널단위(카메라 단위)로 수신되는 영상 프레임을 저장하는 방식을 사용하였다. 즉, 각 채널단위로 디렉토리(directory) 또는 영상파일을 생성하여 영상을 저장하거나, 각 채널단위로 디렉토리를 생성하고 해당 디렉토리 내에 복수개의 영상파일을 생성하여 저장하는 방식, 또는 소수의 디렉토리에 복수 채널에 대한 각각의 영상파일을 생성하는 방식을 사용하는 것이 일반적이었다.In an apparatus for storing and managing multi-channel images photographed by a plurality of cameras such as a DVR (Digital Video Recorder), a NVR (Network Video Recorder), and a black box, a method of storing multi- And the image frame received by the unit (camera unit) is stored. That is, a directory or an image file is generated for each channel to store an image, a directory is created for each channel, a plurality of image files are created and stored in the directory, or a plurality of channels It is common to use a method of generating the respective image files for the images.

또한, 녹화한 영상을 특정 이벤트나 시간에 의해 특정 채널의 영상파일 내 영상 프레임을 찾아가기 위하여, 이벤트 또는 시간에 따라 영상 프레임에 어드레싱(addressing)하는 복수개의 인덱스 파일을 생성하여 사용하였다.In addition, a plurality of index files for addressing an image frame according to an event or time are generated and used to search for a video frame in a video file of a specific channel by a specific event or time.

상기와 같이 채널단위로 영상을 저장하는 경우에는 일반적으로 채널별로 스레드(thread)를 만들어 저장하는 방식을 사용한다. 즉 결과적으로 복수개의 스레드로 HDD(Hard Disk Drive)를 컨트롤하기 때문에 HDD 헤드의 이동이 증대되어 결국 HDD(저장매체)의 수명이 단축되는 문제점이 있다.In the case of storing an image on a channel-by-channel basis as described above, a method of creating and storing a thread for each channel is generally used. That is, as a result, since the HDD (Hard Disk Drive) is controlled by a plurality of threads, the movement of the HDD head is increased, which shortens the life of the HDD (storage medium).

또한, 채널단위마다 복수개의 영상파일을 생성하기 때문에 HDD의 용량이 빨리 차게 되며, 많은 파일 개수들을 사용, 수정 및 삭제함에 따른 조각화(fragmentation)가 많이 발생하여, 데이터를 읽기위해 헤드가 여기저기로 움직이면서 탐색시간(Seek Time) 및 회전지연시간(Rotational Latency Time)이 많이 발생하게 되는 문제점이 있다. 게다가 상기 조각화는 시간이 갈수록 HDD 사용의 효율성을 떨어뜨리고 HDD의 수명을 단축시키는 원인이 된다.In addition, since a plurality of image files are generated for each channel unit, the capacity of the HDD becomes fast and the fragmentation due to use, modification and deletion of a large number of files occurs a lot, There is a problem that a lot of Seek Time and Rotational Latency Time occur while moving. In addition, the fragmentation decreases the efficiency of HDD usage and shortens the lifetime of the HDD as time goes by.

한편, 상기와 같이 채널별 저장 방식은 디렉토리 이름이나 파일 이름 등에 채널 및 시간 정보가 포함되어 있기 때문에, 특정 채널의 영상을 재생(playback)하는 데 있어 매우 빠르게 해당 디렉토리 또는 파일을 찾아갈 수 있는 장점이 있으나, 복수개의 채널을 동시에 시간적으로 동기화(synchronization)시켜서 재생하는 경우에는 매우 복잡한 과정을 거쳐야 되기 때문에 시간이 많이 소모되었고, 더욱이 여기에 특정 이벤트 및 모션정보를 연관하여 재생하려면 더욱 많은 시간이 소모되는 단점이 있다. As described above, since the channel-based storage method includes the channel name and the time information such as the directory name and the file name, in order to reproduce a video of a specific channel, it is possible to search the corresponding directory or file very quickly However, when a plurality of channels are simultaneously synchronized in time and reproduced, it takes a very complicated process. Therefore, a lot of time is consumed. Further, it takes much more time to reproduce a specific event and motion information .

상기와 같은 문제점을 해결하기 위해 본 발명은 조각화에 따른 저장매체(예: HDD)의 수명 단축을 방지하고, 복수채널을 동시에 시간적으로 동기화 시켜서 재생 하는 과정에서 소모되는 시간을 단축할 수 있는 새로운 영상저장관리 장치 및 그 방법을 제시하고자 한다.In order to solve the above-mentioned problems, it is an object of the present invention to provide a new image recording apparatus capable of preventing a shortening of the life time of a storage medium (e.g., HDD) due to fragmentation and shortening the time consumed in reproducing a plurality of channels synchronously in time Storage management apparatus and method thereof.

다음은 본 발명의 기술 분야에 존재하는 선행기술에 대하여 간단하게 설명하고, 이어서 본 발명이 상기 선행기술에 비해서 차별적으로 이루고자 하는 기술적 사항에 대해서 기술하고자 한다.The following describes briefly the prior art which exists in the technical field of the present invention, and then describes a technical matter that the present invention intends to differentiate from the prior art.

먼저, 한국등록특허 제1124168호(2012.02.29)는 다채널 영상 녹화장치에 관한 것으로, 보다 구체적으로는, 다채널 영상 프레임들을 수신된 순서대로 하나의 파일로 저장하고, 다채널 영상 프레임들의 재생시간정보와 저장위치정보를 포함하는 프레임별 인덱스정보를 채널별로 별도의 파일로 저장하도록 구현함으로써, 다채널 영상 녹화 및 재생 시 하드디스크 시크(seek)를 최소화할 수 있어 녹화 및 재생 속도를 향상시킬 수 있는 영상 녹화장치에 관한 기술을 제시하고 있다.Korean Patent Registration No. 1124168 (Feb. 29, 2012) relates to a multi-channel video recording apparatus, and more particularly, to a multi-channel video recording apparatus that stores multi-channel video frames in a received file in a received order, By storing frame index information including time information and storage location information in a separate file for each channel, it is possible to minimize seeking of a hard disk in multi-channel video recording and playback, thereby improving the recording and reproducing speed And a video recording apparatus.

또한, 한국공개특허 제2008-0040231호(2008.05.08)는 복수채널 녹화 디스플레이 장치 및 복수채널 녹화방법에 관한 것으로, 보다 구체적으로는, 복수의 튜너를 포함하는 PIP 구현 가능한 디스플레이 장치에 있어서, 상기 복수의 튜너에 의해 수신되며 일련의 신호처리과정을 거친 복수의 영상신호를 하나의 화면으로 출력하도록 처리하고, 상기 복수의 영상신호로 구성되는 하나의 화면에 대한 영상신호를 저장하는 데 관한 기술을 제시하고 있다.Also, Korean Patent Laid-Open No. 2008-0040231 (2008.05.08) relates to a multi-channel recording display device and a multi-channel recording method, and more particularly, to a display device capable of implementing a PIP including a plurality of tuners, A technique for processing a plurality of video signals received by a plurality of tuners and having undergone a series of signal processing processes to be output on one screen and storing video signals for one screen composed of the plurality of video signals I am suggesting.

또한, 한국등록특허 제1214784호(2012.12.17)는 녹화 및 재생 속도 개선을 위한 다채널 녹화 및 재생 장치에 관한 것으로, 보다 구체적으로는, 다채널 영상파일에 할당된 읽기캐시블럭 내의 데이터 중 읽기 요청된 특정 채널 위치부터 해당 읽기캐시블럭의 마지막 위치까지의 영상데이터만을 로드하고, 읽기 요청된 특정 채널 위치 앞부분의 나머지 영상 데이터는 부하가 적다 판단된 경우 로드함으로써 데이터 부하(load) 크기를 줄일 수 있어 다채널 녹화 및 재생 장치의 재생 속도를 개선할 수 있도록 하는 데 관한 기술을 제시하고 있다.Korean Patent Registration No. 1214784 (Dec. 17, 2012) relates to a multi-channel recording and reproducing apparatus for improving the recording and reproducing speed, and more particularly, to a multi-channel recording and reproducing apparatus for reading and writing data in a read cache block allocated to a multi- Only the image data from the requested specific channel position to the end position of the read cache block is loaded and the remaining image data at the specific channel position requested to be read is loaded when it is determined that the load is small, Thereby improving the playback speed of the multi-channel recording and reproducing apparatus.

상기 선행기술들은 복수개의 채널로부터 수신한 영상 데이터를 저장 및 관리하는 기술이라는 점에서 본 발명과 일부 유사점이 있지만, 본 발명과는 달리 복수개의 채널로부터 수신한 영상 프레임을 수신 순으로 지정된 크기의 영상파일과 상기 영상파일의 인덱스 정보를 메타파일로 저장하고, 상기 영상파일과 메타파일이 저장매체(예: HDD)에 가득차면 연속적으로 이전에 저장된 영상파일과 메타파일을 새로운 영상파일과 메타파일로 덧쓰기 하는 방식으로 순환녹화(circular recording)를 수행하면서, 저장매체의 불필요한 액세스를 배제하여 그 수명을 연장시키고 영상의 재생에 필요한 시간을 단축할 수 있는 영상저장관리 장치 및 그 방법에 관한 기술에 대해서 기재하거나 시사하고 있지 않다는 점에서 본 발명과는 차이점이 있다.Although the prior art has some similarities with the present invention in that it is a technique for storing and managing image data received from a plurality of channels, unlike the present invention, image frames received from a plurality of channels are received And storing the index information of the image file and the image file as a metafile. When the image file and the metafile are filled in a storage medium (e.g., HDD), the image file and the metafile previously stored continuously are converted into a new image file and a metafile There is provided a video storage management apparatus and method for performing circular recording by overwriting a video data stream and eliminating unnecessary accesses to a storage medium to extend its life span and shorten the time required for video reproduction There is a difference from the present invention in that it is not described or suggested.

본 발명은 상기된 과제를 해결하기 위해 창작된 것으로, 복수개의 채널로부터 수신한 영상 프레임을 수신 순으로 저장하고, 상기 영상파일의 용량이 지정된 크기만큼 가득차면 연속적으로 새로운 영상파일을 생성하여 영상 프레임을 저장하는 방식을 사용함으로써, 생성되는 영상파일 수를 줄여 조각화 및 잦은 헤드 이동에 따른 저장매체의 수명 단축을 방지할 수 있는 저장매체의 수명 연장을 위한 영상저장관리 장치 및 그 방법을 제공하는 데 그 목적이 있다.In order to solve the above-described problems, the present invention provides a method and apparatus for storing image frames received from a plurality of channels in order of reception, generating a new image file continuously when the capacity of the image file is full by a specified size, There is provided an image storage management apparatus and method for extending the life of a storage medium that can reduce the number of generated image files and prevent the shortening of the life span of the storage medium due to fragmentation and frequent head movement It has its purpose.

또한, 본 발명은 다채널 영상 녹화 중 저장매체의 용량이 가득차면 가장 먼저 생성했던 영상파일에 새로 수신한 영상 프레임을 덧쓰기 하는 방식을 사용함으로써, 영구적으로(endless) 영상을 녹화할 수 있도록 하는 데 그 목적이 있다.In addition, according to the present invention, when a capacity of a storage medium is full during a multi-channel video recording, a method of overwriting a newly received video frame with an image file generated first is used to record an endless video It has its purpose.

또한, 본 발명은 각 영상파일에 따른 지정된 크기의 메타파일을 생성하여, 영상 프레임의 시간정보, 이벤트정보, 영상정보 및 이에 따른 영상 프레임의 위치정보와 같이 자주 사용되는 정보를 저장하고, 빈도가 떨어지거나, 차후 추가되는 정보는 상기 메타파일에 연결하여 복수의 메타파일을 생성하여 저장하는 방식을 사용함으로써, 재생 효율을 향상시킬 수 있는 영상저장관리 장치 및 그 방법을 제공하는 데 그 목적이 있다.In addition, the present invention generates a metafile of a designated size according to each image file and stores frequently used information such as time information of an image frame, event information, image information and positional information of a corresponding image frame, The present invention has been made to solve the above-mentioned problems occurring in the prior art, and it is an object of the present invention to provide an image storage management apparatus and method capable of improving the efficiency of reproduction by using a method of generating and storing a plurality of metafiles by connecting to the metafile .

본 발명의 일 실시예에 따른 다채널 영상저장관리 장치는, 복수의 채널로부터 영상 프레임들을 수신하는 영상데이터 수신부; 상기 수신한 영상 프레임을 수신한 시간 순으로 미리 정해진 용량만큼의 영상파일로 저장하고, 적어도 하나 이상의 메타파일을 생성하여 상기 영상파일에 해당하는 메타데이터를 저장하는 것을 포함하는 녹화 제어부; 및 상기 영상파일과 메타파일을 저장하는 스토리지;를 포함하며, 상기 스토리지에는 상기 영상파일과 상기 적어도 하나 이상의 메타파일이 적어도 두 개 이상 저장되는 것을 특징으로 한다.According to an embodiment of the present invention, there is provided a multi-channel image storage management apparatus comprising: a video data receiving unit for receiving video frames from a plurality of channels; Storing the received video frame as a video file of a predetermined capacity in the order of the received time, generating at least one metafile, and storing metadata corresponding to the video file; And a storage for storing the image file and the metafile, wherein at least two of the image file and the at least one metafile are stored in the storage.

또한, 본 발명의 일 실시예에 따른 다채널 영상저장관리 장치에서, 상기 녹화 제어부는, 상기 스토리지의 용량이 가득차면, 연속적으로 새로운 영상파일과 적어도 하나 이상의 메타파일을 저장한지 가장 오래된 영상파일과 메타파일이 저장된 위치에 덧쓰기(overwrite) 하는 방식으로, 순환적으로 끊임없이(endless) 영상 프레임을 녹화하는 것을 특징으로 한다.In addition, in the multi-channel image storage management apparatus according to an embodiment of the present invention, when the capacity of the storage is full, the recording control unit continuously stores a new image file and at least one metafile, And endlessly recording image frames cyclically in a manner of overwriting the location where the metafile is stored.

또한, 본 발명의 일 실시예에 따른 다채널 영상저장관리 장치에서, 상기 메타파일은, 복수의 서브 메타파일로 구성되고, 그 중에서 제1 서브 메타파일에는 영상 프레임의 시간정보, 이벤트정보, 영상정보, 위치정보, 채널정보, 오프셋정보 또는 이들의 조합을 포함한 자주 사용되는 정보를 저장하고, 제2 및 제3 서브 메타파일에는 각각 부가정보 혹은 차후 추가되는 정보를 저장하여 사용하는 것을 특징으로 한다.In the multi-channel image storage management apparatus according to an embodiment of the present invention, the meta file includes a plurality of sub meta files, and the first sub meta file includes time information, event information, Information that is frequently used, including information, position information, channel information, offset information, or a combination thereof, and stores additional information or additional information in the second and third sub metafiles, respectively .

또한, 본 발명의 일 실시예에 따른 다채널 영상저장관리 장치는, 영상 프레임이 시간축으로 정렬되어 있으므로, 복수개의 채널에 대해서 시간축으로 해당 영상 파일을 순서대로 재생하면, 자동으로 동기화가 확립되는 것을 특징으로 한다.In addition, since the multi-channel image storage management apparatus according to an embodiment of the present invention aligns image frames on the time axis, when synchronizing the corresponding image files on the time axis with respect to a plurality of channels sequentially, .

또한, 본 발명의 일 실시예에 따른 다채널 영상저장관리 장치에서, 상기 영상은 음성, 영상, 데이터 또는 이들의 조합을 포함한 멀티미디어 데이터인 것을 특징으로 한다.Also, in the multi-channel image storage management apparatus according to an embodiment of the present invention, the image is multimedia data including voice, image, data, or a combination thereof.

또한, 본 발명의 또 다른 일 실시예에 따른 다채널 영상저장관리 방법은, 복수개의 채널로부터 영상 프레임들을 수신하는 단계; 상기 수신한 영상 프레임을 수신한 시간 순으로 미리 정해진 용량만큼의 영상파일로 스토리지에 저장하는 단계; 및 적어도 하나 이상의 메타파일을 생성하여 상기 영상파일에 해당하는 메타데이터를 스토리지에 저장하는 단계;를 포함하며, 상기 스토리지에는 상기 영상파일과 상기 적어도 하나 이상의 메타파일이 적어도 두 개 이상 저장되는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a multi-channel image storage management method comprising: receiving image frames from a plurality of channels; Storing the received video frames in storage in a predetermined order of video files in order of time received; And storing at least one metafile corresponding to the image file in the storage, wherein at least two or more of the image file and the at least one metafile are stored in the storage, .

또한, 본 발명의 또 다른 일 실시예에 따른 다채널 영상저장관리 방법에서, 상기 스토리지의 용량이 가득차면, 연속적으로 새로운 영상파일과 적어도 하나 이상의 메타파일을 저장한지 가장 오래된 영상파일과 메타파일이 저장된 위치에 덧쓰기(overwrite) 하는 방식으로, 순환적으로 끊임없이(endless) 영상 프레임을 녹화하는 단계;를 더 포함하는 것을 특징으로 한다.Also, in the multi-channel image storage management method according to another embodiment of the present invention, when the capacity of the storage is full, the oldest image file and metafile continuously storing a new image file and at least one metafile, Recording an image frame cyclically endlessly in such a manner as to overwrite the stored location.

본 발명은 저장매체의 수명 연장을 위한 영상저장관리 장치 및 그 방법에 관한 것으로, 복수개의 채널로부터 수신한 영상 프레임을 수신 순으로 영상파일에 저장하고, 상기 영상파일의 용량이 지정된 크기만큼 가득차면 연속적으로 새로운 영상파일을 생성하여 영상 프레임을 저장하는 방식을 사용함으로써, 생성되는 영상파일 수를 줄여 조각화 및 잦은 헤드 이동에 따른 저장매체의 수명 단축을 방지할 수 있고, 영구적인(endless) 영상 녹화가 가능하며, 복수개의 비디오 채널을 시간별로 재생 시 시간 동기화가 수월한 효과가 있다. The present invention relates to an image storage management apparatus and method for extending the life of a storage medium, and more particularly, to an image storage management apparatus and method for extending the life of a storage medium, in which image frames received from a plurality of channels are stored in an image file in order of reception, It is possible to prevent the shortening of the life time of the storage medium due to fragmentation and frequent movement of the head by reducing the number of generated image files by using a method of continuously storing new image files and storing image frames, And time synchronization can be facilitated when a plurality of video channels are reproduced by time.

도 1은 종래의 복수개의 채널로부터 수신한 영상 프레임을 저장하는 방식에 대해 설명하기 위한 예시도.
도 2는 본 발명의 일 실시예에 따른 저장매체의 수명 연장을 위한 영상저장관리 장치의 구조에 대해 설명하기 위한 예시도.
도 3은 본 발명의 일 실시예에 따른 저장매체의 수명 연장을 위한 영상저장관리 장치에 의해 저장되는 영상파일과 영상파일별 메타파일에 대해 설명하기 위한 예시도.
도 4는 본 발명의 일 실시예에 따른 저장매체의 수명 연장을 위한 영상저장관리 방법에 대해 설명하기 위한 흐름도.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is an exemplary diagram for explaining a method of storing image frames received from a plurality of conventional channels; Fig.
BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an image storage management apparatus for extending the life of a storage medium according to an embodiment of the present invention.
BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a storage medium, and more particularly,
4 is a flowchart illustrating an image storage management method for extending the life of a storage medium according to an exemplary embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명에 따른 저장매체의 수명 연장을 위한 영상저장관리 장치의 일 실시예를 설명한다.Hereinafter, an embodiment of an image storage management device for extending the life of a storage medium according to the present invention will be described with reference to the accompanying drawings.

도 1은 종래의 복수개의 채널로부터 수신한 영상 프레임을 저장하는 방식에 대해 설명하기 위한 예시도이다.FIG. 1 is a diagram for explaining a method of storing image frames received from a plurality of conventional channels.

도 1에 도시된 바와 같이, 다수의 카메라에 의해 촬영되는 다채널 영상을 저장 및 관리하는 장치에서, 종래에는 각 채널단위(카메라 단위)로 수신되는 영상 프레임을 서로 분리하여 저장하는 방식을 사용하였다. 즉, 각 채널단위로 디렉토리(directory) 또는 영상파일을 생성하여 영상을 저장하거나, 각 채널단위로 디렉토리를 생성하고 해당 디렉토리 내에 복수개의 영상파일을 생성하여 저장하는 방식, 또는 소수의 디렉토리에 복수 채널에 대한 각각의 영상파일을 생성하는 방식을 사용하는 것이 일반적이었다. 이와 같은 방식은 앞에서 설명하였듯이, 채널단위마다 복수개의 영상파일을 생성하기 때문에 저장매체의 용량이 빨리 차게 되며, 많은 파일 개수들을 사용, 수정 및 삭제함에 따른 조각화가 많이 발생하여, 데이터를 읽기위해 헤드가 여기저기로 움직이면서 탐색시간 및 회전지연시간이 많이 발생하게 되어 시간이 갈수록 저장매체의 사용에 대한 효율성을 떨어뜨리고 저장매체의 수명을 단축시키는 원인이 된다. 또한 종래의 채널별 저장 방식은 디렉토리 이름이나 파일 이름 등에 채널 및 시간 정보가 포함되어 있기 때문에, 특정 채널의 영상을 재생하는 데 있어 매우 빠르게 해당 디렉토리 또는 파일을 찾아갈 수 있는 장점이 있으나, 복수개의 채널을 동시에 시간적으로 동기화시켜서 재생하는 경우에는 매우 복잡한 과정을 거쳐야 되기 때문에 시간이 많이 소모되고, 더욱이 여기에 특정 이벤트 및 모션정보를 연관하여 재생하려면 더욱 많은 시간이 소모되는 단점이 있다.As shown in FIG. 1, in a device for storing and managing multi-channel images photographed by a plurality of cameras, conventionally, a method of separately storing image frames received by each channel unit (camera unit) is used . That is, a directory or an image file is generated for each channel to store an image, a directory is created for each channel, a plurality of image files are created and stored in the directory, or a plurality of channels It is common to use a method of generating the respective image files for the images. As described above, as described above, since a plurality of image files are generated for each channel unit, the capacity of the storage medium is rapidly reduced, a large number of fragmentation occurs due to use, modification and deletion of a large number of files, The search time and the rotation delay time are frequently generated. Therefore, the efficiency of the storage medium is lowered and the life of the storage medium is shortened. In addition, since the conventional channel-based storage method includes channel and time information such as a directory name and a file name, there is an advantage that it is possible to browse the corresponding directory or file very rapidly in reproducing a video of a specific channel. However, In the case of simultaneously reproducing the channels synchronously in time, it takes a very complicated process. Therefore, it takes a lot of time. Further, it takes much more time to reproduce a specific event and motion information by associating them with each other.

본 발명은 상기한 조각화에 따른 저장매체의 수명 단축을 방지하고, 복수의 채널을 동시에 시간적으로 동기화 시켜서 재생하는 과정에서 소모되는 시간을 단축할 수 있는 영상저장관리 장치(100) 및 그 방법에 관한 것이다.The present invention relates to an image storage management device (100) capable of shortening the life time of a storage medium according to the fragmentation and shortening the time consumed in the process of synchronizing and reproducing a plurality of channels simultaneously in time, and a method thereof will be.

또한, 본 발명의 바람직한 실시 예에 대한 원리를 상세하게 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우이거나, 본 발명을 설명하는 데 있어 반드시 필요한 것인 아닌 경우에는 그에 대한 상세한 설명을 생략하도록 한다. In the following detailed description of the principles of preferred embodiments of the present invention, it is to be understood that the detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention unclear. If it is not necessary, a detailed description thereof will be omitted.

다만 실제 다채널 영상저장관리 장치가 갖추어야 할 요구사항은 실시간 저장이 가능하여야 하며, 복수개의 영상을 시간적으로 동기화하여 동시에 재생할 수 있어야 하고, 또한 복수개의 영상을 이벤트(움직임이나 각종 이벤트)에 따라 동시에 재생이 가능하여야 한다. 아래에서는 채널단위의 저장관리 방식에 대한 문제점을 극복하여 효율적으로 다채널 영상을 저장관리하는 방법에 대해서 기술하도록 한다.However, the real-time multi-channel image storage management device must be capable of real-time storage, and it is required to be able to simultaneously reproduce a plurality of images synchronously in time, and to simultaneously reproduce a plurality of images in accordance with an event Playback should be possible. Hereinafter, a method of efficiently managing and storing multi-channel images by overcoming the problems of the channel-based storage management method will be described.

도 2는 본 발명의 일 실시예에 따른 저장매체의 수명 연장을 위한 영상저장관리 장치의 구조에 대해 설명하기 위한 예시도이다.2 is a diagram illustrating an image storage management apparatus for extending the life of a storage medium according to an exemplary embodiment of the present invention.

도 2에 도시되어 있는 바와 같이, 본 발명의 저장매체의 수명 연장을 위한 영상저장관리 장치(100)는 영상데이터 수신부(110), 녹화 제어부(120) 및 메모리(130)를 포함하여 구성된다. 여기서 영상이라고 함은 음성이나 데이터를 더 포함하는 멀티미디어 데이터를 의미할 수 있다.2, the image storage management device 100 for extending the life of the storage medium of the present invention includes an image data receiving unit 110, a recording control unit 120, and a memory 130. [ Here, the term " image " may mean multimedia data including voice or data.

상기 영상데이터 수신부(110)는 DVR, NVR 또는 블랙박스 등과 같이 다수의 카메라에 의해 촬영되는 다채널 영상 프레임들을 수신하는 것으로, 각각의 채널로부터 전송되는 영상 프레임들을 전송되는 시간 순으로 수신하는 역할을 수행한다.The image data receiving unit 110 receives multi-channel image frames photographed by a plurality of cameras such as a DVR, an NVR, or a black box, and receives image frames transmitted from the respective channels in the order of transmitted time .

여기서 상기 영상 데이터 수신부(110)는 각 카메라가 IP 카메라인 경우와 같이 네트워크 기능을 포함하고 있는 경우에는, 해당하는 네트워크 인터페이스 기능을 포함하고 있음이 바람직하다.Here, the image data receiving unit 110 may include a corresponding network interface function when each camera includes a network function such as an IP camera.

또한, 상기 녹화 제어부(120)는 상기 영상데이터 수신부(110)에서 수신한 다채널 영상 프레임들을 저장하고 메타파일을 생성하는 것으로서, 영상데이터 저장모듈(121)과 메타데이터 저장모듈(122)을 포함하여 구성된다.The recording control unit 120 stores the multi-channel image frames received by the image data receiving unit 110 and generates a meta file. The recording control unit 120 includes an image data storage module 121 and a metadata storage module 122 .

상기 영상데이터 저장모듈(121)은 영상파일을 생성하여 영상 프레임을 저장하는 것으로서, 그 저장방법은 우선 지정된 크기의 영상파일을 생성하고, 상기 영상데이터 수신부(110)로부터 전송받은 영상 프레임들을 채널에 상관없이 수신한 시간 순서대로 상기 생성한 영상파일에 저장한다. 영상 프레임이 저장되는 영상파일의 용량이 가득차게 되면, 새로운 영상파일을 생성하여 연속해서 영상 프레임을 저장한다. 예를 들면, 2 기가바이트(GB) 크기로 지정된 영상파일을 생성하여 채널에 상관없이 수신되는 다채널의 영상 프레임을 수신 순서대로 저장하다가 상기 2 기가바이트를 전부 사용하면, 새로 2 기가바이트 크기의 영상파일을 생성하여 연속적으로 영상 프레임을 저장하게 되는 것이다.The image data storage module 121 generates an image file and stores an image frame. The storage method includes generating an image file of a predetermined size, and transmitting image frames received from the image data receiver 110 to a channel And stores them in the generated image file in the order of the received time irrespective of the time. When the capacity of the image file storing the image frame becomes full, a new image file is generated and the image frame is stored continuously. For example, if an image file designated by a size of 2 gigabytes (GB) is generated to store multi-channel image frames received in a reception order regardless of a channel, if all the 2 gigabytes are used, The image file is generated and the image frame is continuously stored.

즉, 본 발명에서 채널단위로 저장하는 것이 아니라, 영상파일의 크기를 지정하여 영상 프레임을 수신하는 대로 영상파일에 저장하는 것이다. 이렇게 하면 저장된 영상 프레임은 시간축으로 정렬되어 있어서, 그대로 재생하면 된다. 또한 복수개의 채널에 대해서 시간축으로 재생하면서 동기화가 요구되더라도 해당 영상 파일을 순서대로 재생하면 된다. 이러한 방식에 의하면, 영상을 저장관리하는데 한 개의 쓰레드만을 사용하여 수행할 수 있다. 즉, 복수개의 쓰레드를 사용하지 않음으로써, 저장매체(예: HDD)에 대한 헤드의 이동을 줄일 수 있다.That is, according to the present invention, the size of the image file is designated and the image frame is stored in the image file upon receipt. In this way, the stored image frames are arranged on the time axis, so that they can be reproduced as they are. Also, even if synchronization is required while reproducing on a plurality of channels on the time axis, the image files can be reproduced in order. According to this method, only one thread can be used for storing and managing images. That is, by not using a plurality of threads, the movement of the head relative to a storage medium (e.g., HDD) can be reduced.

또한, 상기 메타데이터 저장모듈(122)은 상기 영상데이터 저장모듈(121)에서 생성한 각각의 영상파일에 해당하는 메타파일을 생성하는 것으로서, 상기 메타파일에는 상기 영상파일에 저장되는 영상 프레임의 시간정보, 이벤트정보, 영상정보 및 이에 따른 영상 프레임의 위치정보와 같은 영상 프레임에 어드레싱하기 위한 인덱스 정보와 각종 부가정보가 저장된다. 상기 메타파일 또한 지정된 크기로 생성될 수 있으며, 먼저 생성된 메타파일에는 영상 재생 시 자주 사용되는 정보를 우선 저장하고, 메타파일의 용량이 가득차면 이에 연속해서 메타파일을 생성하여 후순위로 사용되는 부가 정보들을 저장한다. 즉, 상기 메타데이터 저장모듈(122)은 하나의 영상파일에 대한 복수의 메타파일을 생성할 수 있다. 즉, 상기 메타파일은 복수의 서브 메타파일로 구성될 수 있으며, 이 복수개의 메타파일 중에서 첫 번째 메타파일에는 가장 빈번하게 사용하는 정보(예: 채널, 비디오 파일 오프셋, 시간정보, 이벤트 정보 등)를 저장하고, 이 첫 번째 메타파일에 연결하여 복수개의 메타파일을 만들어서 각 메타파일에 사용 빈도가 떨어지는 추가정보를 저장하도록 한다. 이렇게 메타파일을 관리하면, 메타파일의 액세스 빈도를 줄일 수 있으므로, 빈번한 저장매체의 액세스로 인한 수명 단축을 피할 수 있다.The meta data storage module 122 generates a meta file corresponding to each image file generated by the image data storage module 121, and the meta file includes a time Index information for addressing image frames such as information, event information, image information, and position information of the image frame corresponding thereto, and various kinds of additional information are stored. The metafile can also be created in a designated size. First, information frequently used in image reproduction is stored in the generated metafile, and when the capacity of the metafile is full, a metafile is continuously generated, Stores information. That is, the metadata storage module 122 may generate a plurality of metafiles for one image file. That is, the meta file may be composed of a plurality of sub meta files, and the most frequently used information (e.g., channel, video file offset, time information, event information, etc.) , And connects to the first meta file to create a plurality of meta files, so that each meta file stores additional information that is less frequently used. By managing the metafile in this way, it is possible to reduce the access frequency of the metafile, thereby avoiding the shortening of the life span due to the frequent access of the storage medium.

즉, 해당 영상파일과 관련한 복수개의 메타파일을 생성함에 있어서, 메타파일에는 영상 프레임의 시간정보, 이벤트정보, 영상정보 등을 기입하고, 영상 프레임의 위치정보를 기억하고 있다. 여기서 해당 영상파일은 해당 채널의 영상 프레임에 대한 오프셋 어드레스를 저장한다. 메타파일은 복수개의 서브 메타파일로 구성될 수 있으며, 이 복수개의 파일중에서, 제1 메타파일에는 가장 많이 사용하는 정보(예: 채널정보, 영상파일 오프셋, 시간정보, 이벤트 정보 등)를 저장하고, 이 첫 번째 메타파일에 연결하여 복수개의 메타파일을 만들어서, 이 메타파일에는 발생빈도가 떨어지거나 차후 추가되는 정보를 추가하도록 할 수 있다.That is, in generating a plurality of metafiles related to the image file, time information of the image frame, event information, image information, and the like are written in the metafile, and the position information of the image frame is stored. Here, the image file stores an offset address for an image frame of the corresponding channel. The meta file may include a plurality of sub meta files. Among the plurality of files, the first meta file stores information (e.g., channel information, image file offset, time information, event information, etc.) , It is possible to link to the first meta file to create a plurality of meta files, and this meta file may be added with information that is incurred less frequently or added later.

상기와 같은 방법을 사용하여 영상 프레임을 저장하는 중에 저장매체의 저장용량이 가득 차게 되어 더 이상 영상 프레임을 저장할 공간이 없을 경우, 상기 영상데이터 저장모듈(121)은 제일 먼저 생성되었던 영상파일에 새로 수신한 영상 프레임을 덧쓰는 방식(overwriting) 사용한다. 이 같은 저장 방식을 통해 가장 오래된 영상 프레임은 지워지더라도 새로 수신한 영상 프레임을 지속적으로 저장할 수 있게 된다. 즉, 본 발명의 영상저장관리 장치(100)는 새로운 데이터가 오래된 데이터를 밀어내고 저장되는 영구적인(endless) 순환(circular)저장 방식의 영상 프레임 저장이 가능한 것이다.If the storage capacity of the storage medium becomes full during the storage of the image frame using the method described above and there is no room for storing the image frame, the image data storage module 121 stores the image file (Overwriting) the received video frame. With this storage method, even if the oldest image frame is erased, the newly received image frame can be continuously stored. That is, the video storage management apparatus 100 of the present invention is capable of storing an image frame of an endless circular storage method in which new data is pushed out and stored.

도 2에 도시되어 있는 바와 같이, 상기 메모리(130)에는 다채널의 영상프레임이 함께 저장되어 있는 복수개의 영상파일과 각 영상파일에 해당하는 복수개의 메타파일이 저장된다.As shown in FIG. 2, the memory 130 stores a plurality of image files storing multi-channel image frames together with a plurality of meta files corresponding to the respective image files.

참고로 상기 영상저장관리 장치(100)의 구성에 대한 용어들은 그 기능에 따라 정의한 예시적인 것으로서, 사용자 또는 운용자의 의도, 관례에 따라 얼마든지 다른 용어로 변형될 수 있을 것이다. 또한 녹화 제어부(120)는 본 발명에 따른 영상저장관리 장치(100)를 설명하기 위한 최소한이 구성이므로, 전체적인 영상저장관리 장치를 구성하기 위해서는 이외에도 더 많은 구성이 필요할 것이다.For the sake of reference, the terms related to the configuration of the image storage management device 100 are exemplary defined according to their functions, and may be modified into other terms according to the intention and custom of the user or operator. Also, since the recording control unit 120 has at least this configuration for explaining the video storage management apparatus 100 according to the present invention, more configuration is required in order to configure the entire video storage management apparatus.

도 3은 본 발명의 일 실시예에 따른 저장매체의 수명 연장을 위한 영상저장관리 장치에 의해 저장되는 영상파일과 영상파일별 메타파일에 대해 설명하기 위한 예시도이다.3 is an exemplary view for explaining an image file and an image file-specific metafile stored by the image storage management device for extending the life of the storage medium according to an embodiment of the present invention.

도 3의 왼쪽은 영상파일별 메타파일의 구조를 도시한 것이고, 오른쪽은 영상파일의 구조를 도시한 것이다. 이에 도시된 것과 같이, 본 발명은 다채널 영상 프레임들을 수신된 순서대로 하나의 파일로 저장하고, 다채널 영상 프레임들의 재생시간정보와 저장위치정보를 포함하는 채널 및 프레임별 인덱스정보와 부가 및 추가 정보를 별도의 파일로 저장한다. The left side of FIG. 3 shows the structure of the metafile according to the image file, and the right side shows the structure of the image file. As shown in the figure, the present invention stores multi-channel image frames in a received file in a received order, adds channel information and frame-by-frame index information including playback time information and storage location information of multi- Save the information as a separate file.

상기와 같이 하나의 영상파일(200)에 다채널의 영상 프레임을 수신 순으로 저장하는 방식을 사용함으로써, 다채널의 영상을 시간별로 재생 하더라도 시간 동기화가 빠르게 수행될 수 있다.By using the method of storing video frames of multiple channels in the order of reception in the single video file 200 as described above, time synchronization can be performed quickly even if multi-channel images are reproduced by time.

또한, 지정된 크기의 영상파일(200)을 사용하기 때문에 수신되는 영상 프레임의 양에 따라 영상파일(200)의 개수가 여러 개가 되게 되는데, 상기한 바와 같이, 영상 프레임이 시간 순으로 저장되어 있고, 또한 각 영상파일(200)마다 각 채널의 영상 프레임 정보가 포함되어 있는 메타파일(300)을 생성하기 때문에, 영상을 재생 하더라도 저장매체가 데이터를 찾기 위해 헤드가 여기저기로 움직이면서 소모되는 탐색시간 및 회전지연시간을 절약할 수 있어, 재생 속도를 향상시킬 수 있다.In addition, since the image file 200 having the designated size is used, the number of the image files 200 is varied according to the amount of received image frames. As described above, the image frames are stored in chronological order, In addition, since the metafile 300 including the image frame information of each channel is generated for each image file 200, even if the image is reproduced, the search time consumed while the head moves up and down to find the data, The rotation delay time can be saved, and the reproduction speed can be improved.

이에 더불어, 상기한 바와 같이, 저장매체의 헤드 움직임을 최소화할 수 있어 결과적으로 저장매체의 수명이 연장되는 효과가 있다.In addition, as described above, the movement of the head of the storage medium can be minimized, and as a result, the life of the storage medium is prolonged.

또한, 도 3은 본 발명의 영상저장관리 장치(100)의 저장매체의 용량이 가득 찼을 경우의 새로 순환저장(circulation)하는 방식이 도시되어 있다. 이에 도시되어 있는 것과 같이, 본 발명의 영상저장관리 장치(100)는 수신되는 순서로 연속적으로 영상 프레임을 저장해 나가고, 저장 공간이 없으면 먼저 생성된 영상파일(200) 순서대로 다시 연속적으로 수신되는 영상 프레임을 저장함으로써, 저장매체의 성능 및 수명 저하의 원인이 되는 조각화가 발생하지 않게 된다.3 is a diagram illustrating a method of circulating data when the capacity of the storage medium of the video storage management apparatus 100 of the present invention is full. As shown in the figure, the video storage management apparatus 100 of the present invention continuously stores video frames in the order of reception, and if there is no storage space, By storing the frame, fragmentation which causes performance degradation and life span of the storage medium does not occur.

이와 같은 덧쓰기(overwrite)가 발생할 경우에는 해당 영상파일과 메타파일을 함께 덧쓰기 한다. 왜냐하면, 영상파일이 존재하지 않으면 이에 대한 메타파일이 쓸모없게 되기 때문이다. 물론 별도의 용도에 따라 메타파일에 영상에 대한 중요한 정보가 포함되어 있어, 이 정보를 활용하고자 할 때는 별도로 관리하는 것이 바람직하다.When such overwriting occurs, the image file and the meta file are overwritten together. This is because if the image file does not exist, the meta file is useless. Of course, important information about the image is included in the metafile according to the purpose of use, and it is desirable to manage it separately when using this information.

도 4는 본 발명의 일 실시예에 따른 저장매체의 수명 연장을 위한 영상저장관리 방법에 대해 설명하기 위한 흐름도이다.4 is a flowchart illustrating an image storage management method for extending the life of a storage medium according to an exemplary embodiment of the present invention.

도 4에 도시되어 있는 바와 같이, 본 발명의 저장매체의 수명 연장을 위한 영상저장관리 방법은, 먼저 DVR, NVR 또는 블랙박스 등과 같이 다수의 카메라에 의해 촬영되는 다채널 영상 프레임들을 수신한다(S101). 수신되는 다채널 영상 프레임들은 물리적으로 복수의 포트를 통해서 입력되는 것도 가능하지만, 단일 네트워크 포트를 통해서 각기 고유의 네트워크 어드레스를 가지고 무작위(random)로 입력될 수 있다.4, an image storage management method for extending the service life of a storage medium of the present invention receives multi-channel image frames photographed by a plurality of cameras such as a DVR, an NVR, or a black box (S101 ). The received multi-channel image frames can be input physically through a plurality of ports, but can be randomly input with a unique network address through a single network port.

다음으로 지정된 크기의 영상파일을 생성하고, 상기 수신한 다채널 영상 프레임들을 수신한 시간 순서대로 상기 생성한 영상파일에 저장한다(S102). 상기 다채널 영상 프레임들은 그 순서를 따져서 저장하려면, 별도의 버퍼가 필요하고, 채널별로 구분하여 저장하여야 하지만, 본 발명에서는 채널에 무관하게 입력되는 순서대로 바로 저장하게 된다.Next, an image file having a designated size is generated, and the received multi-channel image frames are stored in the generated image file in the order of the received time (S102). In order to store the multi-channel image frames according to the order, a separate buffer is required, and the multi-channel image frames should be stored separately according to the channel.

상기 영상파일별로 지정된 크기의 메타파일을 생성하여 영상 프레임에 대한 메타파일 정보를 저장한다. 이때, 상기 메타파일에는, 영상 프레임의 시간정보, 이벤트정보, 영상정보 및 이에 따른 영상 프레임의 위치정보 등과 같이 영상을 재생 하는 데 있어 자주 사용되는 정보를 우선 저장하고, 사용 빈도가 떨어지거나 차후 추가되는 정보는 상기 메타파일에 연결하여 복수의 메타파일을 생성하여 저장한다(S103). 즉, 빈번하게 사용되는 정보는 주 메타파일에 저장하고, 덜 빈번하게 사용되는 정보는 서브 메타파일에 저장하여, 자주 참조되어야 하는 정보는 가능하면 지연시간을 짧게 하여 즉각적으로 영상파일을 찾아 재생할 수 있도록 하기 위함이다.A metafile having a predetermined size is generated for each image file and the metafile information about the image frame is stored. At this time, information frequently used for reproducing an image, such as time information of an image frame, event information, image information and position information of the image frame corresponding thereto, is stored in the meta file first, Information is linked to the meta file to generate and store a plurality of meta files (S103). In other words, frequently used information is stored in the main meta file, and less frequently used information is stored in the sub meta file, so that information that is frequently referred to can be retrieved and reproduced immediately by shortening the delay time if possible .

상기 영상파일의 용량이 가득차게 되면 연속적으로 새로운 영상파일을 생성하여 수신하는 영상 프레임을 저장한다(S104). 이렇게 새로운 영상파일을 생성하는 것은 사용자의 관리의 편리성이나 사용하고자 하는 용도에 따라 필요한 크기를 지정할 수 있다.When the capacity of the image file becomes full, a new image file is continuously generated and the received image frame is stored (S104). The creation of such a new image file can specify the required size according to the convenience of the user and the purpose of use.

다음으로 저장매체의 저장 용량이 가득차게 되면 가장 오래된 영상파일에 새로 수신한 영상 프레임을 덧쓰기 하는 방식을 사용하여, 순환적으로 영상 프레임을 저장한다(S105). 이러한 방식을 사용하면 영구적인(endless) 저장이 가능하게 된다.Next, when the storage capacity of the storage medium becomes full, a newly received image frame is overwritten with the oldest image file, and the image frame is cyclically stored (S105). This approach allows for endless storage.

이와 더불어, 덧쓰기 되는 영상파일에 해당하는 메타파일도 상기 덧쓰기 되는 새로 수신한 영상 프레임의 메타데이터로 새로운 메타파일을 생성하여 덧쓰기 한다(S106). 그러나 이전 메타파일 저장 공간을 다음번 메타파일 공간으로 그대로 사용할 필요는 없고, 이전의 영상파일이 저장된 장소와 혼용하여 사용하여도 무방하다.In addition, a metafile corresponding to the overwritten image file is also generated by overwriting the new metafile with the meta data of the newly received image frame (S106). However, it is not necessary to use the previous metafile storage space as the next metafile space, and it may be used in combination with the place where the previous image file is stored.

상기와 같은 방법으로 다수의 카메라에 의해 촬영되는 다채널 영상 프레임들을 저장매체에 저장함으로써, 종래의 영상저장 방식에 따른 저장매체의 조각화를 방지할 수 있고, 저장매체의 헤드에 대한 이동횟수를 현저히 줄일 수 있어, 결과적으로 저장매체의 수명을 대폭 연장할 수 있게 된다. 즉, 사용자는 메타파일을 참조하여 재생하고자 하는 영상파일의 해당 프레임 데이터를 직접적으로 찾아가서 액세스하여 재생할 수 있다.By storing the multi-channel image frames photographed by a plurality of cameras in the above-described manner in the storage medium, it is possible to prevent fragmentation of the storage medium according to the conventional image storage method, As a result, the life of the storage medium can be greatly extended. That is, the user can refer directly to the corresponding frame data of the image file to be reproduced by referring to the meta file, and access and reproduce the corresponding frame data.

상기 기재한 바와 같이, 본 발명은 복수개의 채널로부터 수신한 영상 프레임을 수신 순으로 영상파일에 저장하고, 상기 영상파일의 용량이 지정된 크기만큼 가득차면 연속적으로 새로운 영상파일을 생성하여 영상 프레임을 저장하는 방식을 사용함으로써, 생성되는 영상파일 수를 줄여 조각화 및 잦은 헤드 이동에 따른 저장매체의 수명 단축을 방지할 수 있고, 영구적인(endless) 영상 녹화가 가능하며, 복수개의 비디오 채널을 시간별로 재생 시 시간 동기화가 수월한 효과가 있다. As described above, according to the present invention, video frames received from a plurality of channels are stored in a video file in the order of reception, and when a capacity of the video file is full by a predetermined size, a new video file is continuously generated to store video frames It is possible to reduce the number of image files to be generated and to prevent the shortening of the service life of the storage medium due to fragmentation and frequent movement of the head, to enable endless video recording, to reproduce a plurality of video channels by time Time synchronization is easy.

이상으로 본 발명은 첨부된 도면에 도시된 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 기술적 보호범위는 아래의 특허청구범위에 의해서 정하여져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation. I will understand that. Accordingly, the technical scope of the present invention should be defined by the following claims.

100 : 영상저장관리 장치 110 : 영상데이터 수신부
120 : 녹화 제어부 121 : 영상데이터 저장모듈
122 : 메타데이터 저장모듈 130 : 저장매체(스토리지, 메모리, HDD)
200 : 영상파일 300 : 메타파일
100: Image storage management device 110: Image data reception unit
120: recording control unit 121: video data storage module
122: metadata storage module 130: storage medium (storage, memory, HDD)
200: image file 300: metafile

Claims (9)

복수의 채널로부터 영상 프레임들을 수신하는 영상데이터 수신부;
상기 수신한 영상 프레임을 수신한 시간 순으로 미리 정해진 용량만큼의 영상파일로 저장하고, 적어도 하나 이상의 메타파일을 생성하여 상기 영상파일에 해당하는 메타데이터를 저장하는 것을 포함하는 녹화 제어부; 및
상기 영상파일과 메타파일을 저장하는 스토리지;를 포함하며,
상기 스토리지에는 상기 영상파일과 상기 적어도 하나 이상의 메타파일이 적어도 두 개 이상 저장되는 것을 특징으로 하는 다채널 영상저장관리 장치.
A video data receiver for receiving video frames from a plurality of channels;
Storing the received video frame as a video file of a predetermined capacity in the order of the received time, generating at least one metafile, and storing metadata corresponding to the video file; And
And a storage for storing the image file and the metafile,
Wherein at least two image files and at least one or more metafiles are stored in the storage.
청구항 1에 있어서,
상기 녹화 제어부는,
상기 스토리지의 용량이 가득차면, 연속적으로 새로운 영상파일과 적어도 하나 이상의 메타파일을 저장한지 가장 오래된 영상파일과 메타파일이 저장된 위치에 덧쓰기(overwrite) 하는 방식으로, 순환적으로 끊임없이(endless) 영상 프레임을 녹화하는 것을 특징으로 하는 다채널 영상저장관리 장치.
The method according to claim 1,
Wherein the recording control unit comprises:
When the capacity of the storage is full, a new image file and at least one metafile are continuously overwritten at a location where the oldest image file and the metafile are stored, Frame recording means for recording the multi-channel image data.
청구항 1에 있어서,
상기 메타파일은,
복수의 서브 메타파일로 구성되고, 그 중에서 제1 서브 메타파일에는 영상 프레임의 시간정보, 이벤트정보, 영상정보, 위치정보, 채널정보, 오프셋정보 또는 이들의 조합을 포함한 자주 사용되는 정보를 저장하고, 제2 및 제3 서브 메타파일에는 각각 부가정보 혹은 차후 추가되는 정보를 저장하여 사용하는 것을 특징으로 하는 다채널 영상저장관리 장치.
The method according to claim 1,
The meta-
The first sub metafile stores frequently used information including time information, event information, image information, position information, channel information, offset information, or a combination thereof of the image frame in the first sub metafile And the second and third sub metafiles store additional information or information added to the second and third sub metafiles, respectively.
청구항 1에 있어서,
영상 프레임이 시간축으로 정렬되어 있으므로, 복수개의 채널에 대해서 시간축으로 해당 영상 파일을 순서대로 재생하면, 자동으로 동기화가 확립되는 것을 특징으로 하는 다채널 영상저장관리 장치.
The method according to claim 1,
Channel image storage management apparatus according to the present invention is characterized in that synchronization is automatically established when a corresponding image file is sequentially reproduced on a time axis for a plurality of channels.
청구항 1에 있어서,
상기 영상은 음성, 영상, 데이터 또는 이들의 조합을 포함한 멀티미디어 데이터인 것을 특징으로 하는 다채널 영상저장관리 장치.
The method according to claim 1,
Wherein the image is multimedia data including voice, image, data, or a combination thereof.
복수개의 채널로부터 영상 프레임들을 수신하는 단계;
상기 수신한 영상 프레임을 수신한 시간 순으로 미리 정해진 용량만큼의 영상파일로 스토리지에 저장하는 단계; 및
적어도 하나 이상의 메타파일을 생성하여 상기 영상파일에 해당하는 메타데이터를 스토리지에 저장하는 단계;를 포함하며,
상기 스토리지에는 상기 영상파일과 상기 적어도 하나 이상의 메타파일이 적어도 두 개 이상 저장되는 것을 특징으로 하는 다채널 영상저장관리 방법.
Receiving image frames from a plurality of channels;
Storing the received video frames in storage in a predetermined order of video files in order of time received; And
Generating at least one metafile and storing metadata corresponding to the image file in the storage,
Wherein at least two or more image files and at least one or more metafiles are stored in the storage.
청구항 6에 있어서,
상기 스토리지의 용량이 가득차면, 연속적으로 새로운 영상파일과 적어도 하나 이상의 메타파일을 저장한지 가장 오래된 영상파일과 메타파일이 저장된 위치에 덧쓰기(overwrite) 하는 방식으로, 순환적으로 끊임없이(endless) 영상 프레임을 녹화하는 단계;를 더 포함하는 것을 특징으로 하는 다채널 영상저장관리 방법.
The method of claim 6,
When the capacity of the storage is full, a new image file and at least one metafile are continuously overwritten at a location where the oldest image file and the metafile are stored, The method comprising the steps of: (a) recording a frame of a multi-channel video image;
청구항 6에 있어서,
상기 메타파일은,
복수의 서브 메타파일로 구성되고, 그 중에서 제1 서브 메타파일에는 영상 프레임의 시간정보, 이벤트정보, 영상정보, 위치정보, 채널정보, 오프셋정보 또는 이들의 조합을 포함한 자주 사용되는 정보를 저장하고, 제2 및 제3 서브 메타파일에는 각각 부가정보 혹은 차후 추가되는 정보를 저장하여 사용하는 것을 특징으로 하는 다채널 영상저장관리 방법.
The method of claim 6,
The meta-
The first sub metafile stores frequently used information including time information, event information, image information, position information, channel information, offset information, or a combination thereof of the image frame in the first sub metafile And the additional information or the additional information is stored in the second and third sub metafiles, respectively.
청구항 6에 있어서,
영상 프레임이 시간축으로 정렬되어 있으므로, 복수개의 채널에 대해서 시간축으로 해당 영상 파일을 순서대로 재생하면, 자동으로 동기화가 확립되는 것을 특징으로 하는 다채널 영상저장관리 방법.
The method of claim 6,
Wherein the synchronization is automatically established when the image files are sequentially reproduced on the time axis for a plurality of channels because the image frames are arranged on the time axis.
KR1020140064884A 2014-05-29 2014-05-29 An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof KR101590845B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140064884A KR101590845B1 (en) 2014-05-29 2014-05-29 An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140064884A KR101590845B1 (en) 2014-05-29 2014-05-29 An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof

Publications (2)

Publication Number Publication Date
KR20150138456A true KR20150138456A (en) 2015-12-10
KR101590845B1 KR101590845B1 (en) 2016-02-03

Family

ID=54978872

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140064884A KR101590845B1 (en) 2014-05-29 2014-05-29 An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof

Country Status (1)

Country Link
KR (1) KR101590845B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040826A (en) * 2018-09-12 2018-12-18 北京合创软开科技有限公司 TS code stream storage method, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005033598A (en) * 2003-07-08 2005-02-03 Sanyo Electric Co Ltd Image management apparatus
KR100478017B1 (en) * 2003-02-06 2005-03-22 (주)피카소정보통신 Muliti-channel image data processing system and method
JP2012016058A (en) * 2011-09-22 2012-01-19 Casio Comput Co Ltd Image recorder, image recording control program, and image recording method
KR101124168B1 (en) * 2010-06-25 2012-03-27 주식회사 아이디스 Recording apparatus for multi channel pictures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100478017B1 (en) * 2003-02-06 2005-03-22 (주)피카소정보통신 Muliti-channel image data processing system and method
JP2005033598A (en) * 2003-07-08 2005-02-03 Sanyo Electric Co Ltd Image management apparatus
KR101124168B1 (en) * 2010-06-25 2012-03-27 주식회사 아이디스 Recording apparatus for multi channel pictures
JP2012016058A (en) * 2011-09-22 2012-01-19 Casio Comput Co Ltd Image recorder, image recording control program, and image recording method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040826A (en) * 2018-09-12 2018-12-18 北京合创软开科技有限公司 TS code stream storage method, apparatus and system
CN109040826B (en) * 2018-09-12 2021-05-11 北京合创软开科技有限公司 TS code stream storage method, device and system

Also Published As

Publication number Publication date
KR101590845B1 (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN104410807B (en) A kind of multi-channel video synchronized playback method and device
US8953927B2 (en) Data processing system, apparatus and method for processing information, recording and playback apparatus, and computer program
KR20070090104A (en) Data processing apparatus, data processing method and data processing program, data structure and recording medium, and reproducing apparatus, reproducing method and reproducing program
GB2437621A (en) Dynamic allocation of storage capacity in a networked video recording system
US20080101764A1 (en) Method and Apparatus for Managing Multimedia Content Recording Assets
US20100161766A1 (en) System and method for previewing AV data stored in AV server
JP4251219B2 (en) Editing apparatus and editing method
JP4241839B2 (en) Data and file system information recording apparatus and recording method
JPWO2007072843A1 (en) Recording apparatus for recording content on a plurality of recording media and control method therefor
JP2001189915A (en) Video-recording device
KR101590845B1 (en) An apparatus for performing multi channel image recording and management considering the life-time of a storage medium and the method thereof
JP4930358B2 (en) Data processing apparatus and data processing method
US8565584B2 (en) Editing apparatus and editing method
US7835614B2 (en) Data recording method, data recording apparatus, and data recording medium
KR101124168B1 (en) Recording apparatus for multi channel pictures
KR101213153B1 (en) System and method for searching video data having simultaneous play function
US20140373080A1 (en) Remote Storage Digital Video Recording Optimization Method and System
EP2256648A1 (en) Method for storing data files, method for reading data content, and data store
JP4289403B2 (en) Editing apparatus and editing method
KR101214784B1 (en) Multi-channel record and playback apparatus for improving record and playback velocity
JP3714323B2 (en) Editing system and method for copying AV data from AV server
KR101903726B1 (en) Cctv system that distributes and stores cctv data
JP4389947B2 (en) Recording / reproducing apparatus, data processing apparatus, reproducing method, and data processing method
KR100647372B1 (en) File system in video display device for having function of saving
JPH09326989A (en) Digital video recorder

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190124

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20200122

Year of fee payment: 5