KR101050448B1 - Pre-alarm buffering method and device according to time length of pre-alarm data - Google Patents

Pre-alarm buffering method and device according to time length of pre-alarm data Download PDF

Info

Publication number
KR101050448B1
KR101050448B1 KR1020040069230A KR20040069230A KR101050448B1 KR 101050448 B1 KR101050448 B1 KR 101050448B1 KR 1020040069230 A KR1020040069230 A KR 1020040069230A KR 20040069230 A KR20040069230 A KR 20040069230A KR 101050448 B1 KR101050448 B1 KR 101050448B1
Authority
KR
South Korea
Prior art keywords
alarm data
alarm
time
short
data
Prior art date
Application number
KR1020040069230A
Other languages
Korean (ko)
Other versions
KR20060020392A (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 KR1020040069230A priority Critical patent/KR101050448B1/en
Publication of KR20060020392A publication Critical patent/KR20060020392A/en
Application granted granted Critical
Publication of KR101050448B1 publication Critical patent/KR101050448B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/188Capturing isolated or intermittent images triggered by the occurrence of a predetermined event, e.g. an object reaching a predetermined position

Abstract

본 발명은 프리 알람 데이터(Pre-Alarm Data)를 저장하는 버퍼 영역을 장시간 프리 알람 데이터 저장 공간과 단시간(실시간) 프리 알람 데이터의 저장 공간으로 분리하여 각 저장 영역에 저장 대기하다가 키프레임을 근거로 단시간 및 장시간의 프리 알람 데이터를 동시에 하드 디스크에 저장함으로써 기록 또는 재생 속도를 향상시키도록 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법 및 장치에 관한 것으로서, According to the present invention, a buffer area for storing pre-alarm data is divided into a long time pre-alarm data storage space and a short time (real-time) pre-alarm data storage space and stored in each storage area, and then stored based on a key frame. The present invention relates to a pre-alarm buffering method and apparatus according to a length of time for pre-alarm data to improve recording or reproducing speed by simultaneously storing short and long time pre-alarm data on a hard disk.

본 발명에 의하면, 임베디드 디지털 비디오 레코더에서 단시간 및 장시간 프리 알람 데이터에 대하여 각각의 저장큐를 두어 동시에 저장할 수 있게 되고, 또한 단시간 및 장시간 프리 알람 데이터를 동시에 저장하게 됨에 따라 영상 데이터의 기록 저장하는 시간 및 재생하는 시간을 단축할 수 있다.According to the present invention, the embedded digital video recorder can simultaneously store and store the respective storage queues for the short time and long time pre-alarm data, and the time for recording and storing the video data as the short time and long time pre-alarm data are simultaneously stored. And the time for reproduction can be shortened.

임베디드, DVR, 저장큐, 프리 알람, 시간, 버퍼링, 에스디램, SDRAMEmbedded, DVR, storage queue, pre-alarm, time, buffering, SDRAM, SDRAM

Description

프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법 및 장치{Method and Apparatus for Buffering Pre-Alarm Data with Time Length} Method and apparatus for pre-alarm buffering according to time length of pre-alarm data             

도 1은 종래 감시용 디지털 비디오 레코더의 내부 구성을 개략적으로 나타낸 구성도이고,1 is a schematic view showing the internal configuration of a conventional digital video recorder for surveillance,

도 2는 본 발명의 실시예에서 프리 알람 데이터의 시간 길이에 따라 프리 알람 데이터를 버퍼링하기 위한 에스디램(SDRAM)의 구조를 나타낸 도면이며,FIG. 2 is a diagram illustrating a structure of an SDRAM for buffering pre-alarm data according to a length of time of the pre-alarm data in an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법을 설명하기 위한 순서도이다.
3 is a flowchart illustrating a pre-alarm buffering method according to a time length of pre-alarm data according to an embodiment of the present invention.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

100 : 디지털 비디오 레코더 110 : 디바이스 인터페이스100: digital video recorder 110: device interface

120 : DVR 제어부 130 : 하드 디스크120: DVR control unit 130: hard disk

140 : 디스크 드라이버 150 : 네트워크 인터페이스140: disk driver 150: network interface

160 : 메모리160: memory

본 발명은 비디오 디지털 레코더에서 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법 및 장치에 관한 것으로, 더욱 상세하게는 프리 알람 데이터(Pre-Alarm Data)를 저장하는 버퍼 영역을 장시간 프리 알람 데이터 저장 공간과 단시간(실시간) 프리 알람 데이터의 저장 공간으로 분리하여 각 저장 영역에 저장 대기하다가 키프레임을 근거로 단시간 및 장시간의 프리 알람 데이터를 동시에 하드 디스크에 저장함으로써 기록 또는 재생 속도를 향상시키도록 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법 및 장치에 관한 것이다.
The present invention relates to a method and apparatus for pre-alarm buffering according to the length of time of pre-alarm data in a video digital recorder. More particularly, the present invention relates to a buffer area storing pre-alarm data for a long time. Free and short time (real time) pre-alarm is divided into the storage space of the pre-alarm data and stored in each storage area, and pre and short time and long time pre-alarm data are stored on the hard disk at the same time to improve recording or playback speed. A method and apparatus for pre-alarm buffering according to a length of time of alarm data.

도 1은 종래 감시용 디지털 비디오 레코더의 내부 구성을 개략적으로 나타낸 구성도이다.1 is a configuration diagram schematically showing the internal configuration of a conventional digital video recorder for surveillance.

종래 감시용 디지털 비디오 레코더에는, 다수의 감시용 카메라 및 센서들과의 연결 접속을 위한 디바이스 인터페이스(110)와, 이벤트 검출 동작과 그에 따른 오디오 및 비디오 데이터 기록 동작 등을 수행하기 위한 DVR 제어부(120), DVR 제어부(120)의 동작 제어에 의해 이벤트 검출 오디오 및 비디오 데이터를 데이터 파일로 기록 저장하기 위한 하드 디스크(130), 하드 디스크(130)에 저장된 데이터 파일들을 CD-RW 등과 같은 광디스크에 백업받기 위한 디스크 드라이버(140), 네트워크를 통해 클라이언트와의 연결 접속을 위한 네트워크 인터페이스(150), 그리고 DVR 제어부(120)의 동작 제어에 필요한 정보들을 저장하기 위한 메모리(160)가 포함 구성된다. The conventional surveillance digital video recorder includes a device interface 110 for connecting and connecting a plurality of surveillance cameras and sensors, and a DVR controller 120 for performing an event detection operation and an audio and video data recording operation accordingly. ), The hard disk 130 for recording and storing the event detection audio and video data as a data file by the operation control of the DVR controller 120, and backing up the data files stored in the hard disk 130 to an optical disk such as a CD-RW. A disk driver 140 for receiving, a network interface 150 for connecting to a client through a network, and a memory 160 for storing information necessary for controlling the operation of the DVR controller 120 are included.

위와 같이 구성된 DVR 시스템(100)은 하드 디스크(130)에 이벤트 영상을 기록 저장하는 경우, 다수의 감시용 카메라로부터 입력된 영상 신호를 디지털 영상 데이터로 변환하고, 인코딩 압축하여 하드 디스크(130)에 저장한다. 또한, 그 이벤트 영상을 대표하는 영상 프레임을 축소 영상으로 변환한 후, 그 변환된 축소 영상들을 프리뷰 서치 인덱스 파일로서 기록 관리하게 된다. 그리고, 네트워크 인터페이스(150)를 통해 연결 접속된 클라이언트와의 인터페이스를 통해, 하드 디스크(130)에 기록 저장된 이벤트 영상을 간헐적으로 탐색하기 위한 프리뷰 서치 동작이 요구되는 경우. 프리뷰 서치 인덱스 파일에 기록된 축소 영상을 독출하여, 클라이언트에게 신속하게 제공하게 된다.When the DVR system 100 configured as described above records and stores an event image on the hard disk 130, the DVR system 100 converts the video signals inputted from a plurality of surveillance cameras into digital image data, encodes, compresses and compresses the image data to the hard disk 130. Save it. In addition, after converting a video frame representing the event video to a reduced image, the converted reduced images are recorded and managed as a preview search index file. And a preview search operation for intermittently searching for an event image recorded and stored in the hard disk 130 through an interface with a client connected and connected through the network interface 150. The reduced image recorded in the preview search index file is read and quickly provided to the client.

그런데, 위와 같은 구성과 작용을 하는 임베디드(Embeded) DVR 시스템(100)의 경우에, 영상 데이터를 하드 디스크(130)에 기록 저장할 때 프리 알람(Pre-Alarm) 데이터를 저장하는 기능이 필수적으로 요구된다. 그러나, 프리 알람 데이터의 저장은 그 지역에 따라 몇 초 정도의 실시간 프리 알람을 요구하는 지역과, 15분 1fps(frame per second)의 장시간 저속 프리 알람을 요구하는 지역 등이 구분되어 있어, 두 가지 경우를 동시에 지원하는 기능은 제공되지 못하고 있는 실정이다.However, in the case of the embedded DVR system 100 having the above-described configuration and function, a function of storing pre-alarm data when recording and storing image data on the hard disk 130 is required. do. However, the storage of pre-alarm data is divided into regions requiring real-time pre-alarms of several seconds and regions requiring long-term low-speed pre-alarms for 15 minutes and 1 frame per second (fps). At the same time, the function of supporting the case is not provided.

또한, 기존의 임베디드 VDR 시스템(100)에서는 PC(Personal Computer) 기반의 DVR과는 달리 장시간 프리 알람 기능이 지원되지 않고 있으며, 설사 지원되더라도 에스디램(SDRAM) 버퍼 기반이 아니라 하드 디스크(130)에 저장된 데이터로서 장 시간 프리 알람 기능을 제공하고 있다.In addition, unlike the PC (Personal Computer) based DVR, the existing embedded VDR system 100 does not support the pre-alarm function for a long time, and even if it is supported, the hard disk 130 is not based on the SDRAM buffer. It provides long time pre alarm function as stored data.

따라서, 하드 디스크(130)에 프리 알람 데이터와 함께 영상 데이터를 기록 저장하게 되므로, 그 기록 저장하는 시간이 길어질 뿐만 아니라, 하드 디스크(130)에서 기록 저장된 영상 데이터를 읽어오는 데에 있어서도 프리 알람 데이터를 먼저 읽고 그에 따른 영상 데이터를 읽어오게 되므로, 재생하는 시간도 PC 기반의 VDR보다는 시간이 소요된다는 단점이 있다.
Therefore, since the image data is recorded and stored together with the pre-alarm data on the hard disk 130, the time for storing and storing the record becomes long, and the pre-alarm data is also used to read the recorded and stored image data from the hard disk 130. Since the first read and the image data is read accordingly, the playback time is also disadvantageous than the PC-based VDR.

상기 문제점을 해결하기 위해 본 발명은, 프리 알람 데이터(Pre-Alarm Data)를 저장하는 버퍼 영역을 장시간 프리 알람 데이터 저장 공간과 단시간(실시간) 프리 알람 데이터의 저장 공간으로 분리하여 각 저장 영역에 저장 대기하다가 키프레임을 근거로 단시간 및 장시간의 프리 알람 데이터를 동시에 하드 디스크에 저장함으로써 기록 또는 재생 속도를 향상시키도록 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법 및 장치를 제공함에 그 목적이 있다.
In order to solve the above problems, the present invention stores a buffer area for storing pre-alarm data into a storage space for a long time pre-alarm data storage space and a short time (real-time) pre-alarm data, and stores them in each storage area. The purpose of the present invention is to provide a method and a device for pre-alarm buffering according to the length of time of pre-alarm data, which improves the recording or reproducing speed by simultaneously storing short- and long-term pre-alarm data based on key frames on the hard disk. have.

상기 목적을 달성하기 위한 본 발명에 따른 디지털 비디오 레코더의 프리 알람 버퍼링 장치는, 영상 데이터의 기록 저장시, 단시간 프리 알람 데이터와 장시간 프리 알람 데이터를 동시에 저장하는 디지털 비디오 레코더의 프리 알람 버퍼링 장치에 있어서, 상기 단시간 프리 알람 데이터와 상기 장시간 프리 알람 데이터를 저 장하는 매체에 대하여, 장시간 프리 알람 데이터 저장 공간(A)과, 단시간 프리 알람 데이터 저장 공간(B)으로 구분하여 분리한 것을 특징으로 한다.The pre-alarm buffering device for a digital video recorder according to the present invention for achieving the above object is a pre-alarm buffering device for a digital video recorder that simultaneously stores short-time pre-alarm data and long-term pre-alarm data at the time of recording and storing image data. The medium storing the short time pre-alarm data and the long time pre-alarm data may be divided into a long time pre-alarm data storage space A and a short time pre-alarm data storage space B.

또한, 본 발명의 다른 목적에 의한 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법은, 영상 데이터의 기록 저장시 단시간 프리 알람 데이터와 장시간 프리 알람 데이터를 동시에 저장하는 프리 알람 버퍼링 방법에 있어서, 상기 영상 데이터의 기록 저장에 관한 명령에 따라 기록 저장 알람을 인지하는 제 1 단계; 상기 영상 데이터에 대하여, 장시간 프리 알람 데이터 저장큐와 단시간 프리 알람 데이터 저장큐로 분리하고, 사용자가 지정한 시간에 맞는 키프레임을 얻는 제 2 단계; 상기 키프레임이 인덱싱하는 단시간 프리 알람 데이터가 존재하는지를 판단하는 제 3 단계; 및 상기 키프레임이 인덱싱하는 상기 단시간 프리 알람 데이터가 존재하는 경우, 장시간 프리 알람 데이터를 하드 디스크에 저장함과 더불어, 상기 키프레임이 인덱싱하는 해당 상기 단시간 프리 알람 데이터를 상기 하드 디스크에 함께 저장하는 제 4 단계를 포함하는 것을 특징으로 한다.
In addition, the pre-alarm buffering method according to the time length of the pre-alarm data according to another object of the present invention, in the pre-alarm buffering method for storing the short-term pre-alarm data and the long-term pre-alarm data at the same time when recording and storing the image data, A first step of recognizing a record storage alarm according to a command relating to record storage of image data; A second step of dividing the image data into a long time pre-alarm data storage queue and a short time pre-alarm data storage queue, and obtaining a key frame at a time specified by a user; Determining whether there is a short-time pre-alarm data indexed by the keyframe; And storing the long time pre-alarm data indexed by the keyframe on the hard disk, and storing the short-time pre-alarm data indexed by the keyframe on the hard disk. It is characterized by including four steps.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even if displayed on different drawings.

또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적 인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.
In addition, in describing the present invention, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.

도 2는 본 발명의 실시예에서 프리 알람 데이터의 시간 길이에 따라 프리 알람 데이터를 버퍼링하기 위한 에스디램(SDRAM)의 구조를 나타낸 도면이다.FIG. 2 is a diagram illustrating a structure of an SDRAM for buffering pre-alarm data according to a time length of pre-alarm data in an embodiment of the present invention.

본 발명에 따른 에스디램의 구조는, 장시간 저속 프리 알람 데이터의 저장 공간(A)과, 단시간 실시간 프리 알람 데이터 저장 공간(B)으로 구분하여 분리한 구조를 갖는다. The structure of the SDRAM according to the present invention is divided into a storage space A for a long time low-speed pre-alarm data and a short time real-time pre-alarm data storage space B.

따라서, DVR 제어부(120)는 다수의 감시용 카메라로부터 입력된 영상 데이터에 대하여, 인터 프레임(Inter Frame)에 해당하는 I 프레임은 장시간 저속 프리 알람 데이터의 저장큐(Qeue)에, 인트라 프레임(Intra Frame)에 해당하는 P 혹은 B 프레임은 단시간 실시간 프리 알람 데이터의 저장큐에 분리하여 대기시킨다. 즉, 장시간 저속 프리 알람 데이터는 장시간 저속 프리 알람 데이터 저장 공간(A)에 1초에 1장 또는 2장씩의 키프레임(Key Frame)으로 저장하고, 단시간 실시간 프리 알람 데이터는 단시간 실시간 프리 알람 데이터 저장 공간(B)에 각각 저장한다.Accordingly, the DVR control unit 120, with respect to the image data input from the plurality of surveillance cameras, the I frame corresponding to the inter frame is stored in the storage queue Qeue of the low speed pre-alarm data for a long time. P or B frame corresponding to the frame) is separated into the storage queue of short-time real-time pre-alarm data and waits. That is, the long time low speed pre alarm data is stored in the long time low speed pre alarm data storage space (A) as one or two key frames per second, and the short time real time pre alarm data stores the short time real time pre alarm data. Each is stored in space B.

장시간 저속 프리 알람 데이터 저장 공간(A)에 저장되는 각각의 키프레임은 단시간 프리 알람 데이터 저장큐의 위치 정보를 가지고 저장된다. 이는 MPEG으로 압축된 영상 데이터에서 I 프레임은 공간 압축만을 사용한 방식이므로 자체의 데이터만으로 복원되는 반면에, P 혹은 B 프레임은 I 프레임을 기반으로 하여 시간과 공간 압축을 동시에 채용한 방식으로 압축의 효율은 증가될 수 있으나, 자체의 데 이터만으로 복원될 수 없고 I 프레임을 반드시 참조해야 하기 때문이다. 또한, 키프레임은 타임 인텍스(Time Index)로서의 기능을 가진다.
Each key frame stored in the long time low speed pre alarm data storage space A is stored with the position information of the short time pre alarm data storage queue. In this case, I frame is compressed by using only spatial compression in MPEG-encoded video data, whereas P or B frames are based on I frames and employ both time and spatial compression simultaneously. Can be increased, but cannot be restored to its own data and must refer to an I frame. In addition, the keyframe has a function as a time index.

이어, 도 3의 순서도를 참조하여 본 발명의 실시예에 따른 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법에 대하여 설명한다.Next, the pre-alarm buffering method according to the length of time of the pre-alarm data according to the embodiment of the present invention will be described with reference to the flowchart of FIG. 3.

먼저, VDR 시스템에 전원이 인가되어 작동되면, VDR 제어부(120)는 다수의 감시용 카메라로부터 촬영된 영상 데이터를 수신하여 표시부(도시되지 않음)를 통해 디스플레이한다(S302).First, when power is applied to the VDR system and operated, the VDR controller 120 receives image data photographed from a plurality of surveillance cameras and displays the image data through a display unit (not shown) (S302).

따라서, 사용자는 디스플레이되는 영상 데이터를 확인하면서 기록해 두어야 할 화면인 경우, 키입력을 통하여 기록 저장에 관한 명령을 입력한다.Therefore, when the screen is to be recorded while checking the displayed image data, the user inputs a command for recording and storing through key input.

영상 데이터에 대한 기록 저장에 관한 명령에 따라 기록 저장 알람이 발생되어 VDR 제어부(120)로 전달된다(S304).According to a command for recording and storing the image data, a recording storage alarm is generated and transmitted to the VDR controller 120 (S304).

이에 따라, 기록 저장 알람이 발생되면 VDR 제어부(120)는 수신되는 영상 데이터에 대하여, 장시간 프리 알람 데이터 저장큐와 단시간 프리 알람 데이터 저장큐로 분리하고, 사용자가 지정한 시간에 맞는 키프레임을 얻어 이를 확인한다(S306).Accordingly, when a recording storage alarm is generated, the VDR controller 120 separates the received image data into a long time pre-alarm data storage queue and a short time pre-alarm data storage queue, and obtains a key frame corresponding to a user-specified time. Check (S306).

전술한 바와 같이 장시간 프리 알람 데이터 저장큐에는 영상 데이터의 I 프레임이, 단시간 프리 알람 데이터의 저장큐에는 영상 데이터의 P 혹은 B 프레임이 대기한다.As described above, I frames of video data are queued in the long-term pre-alarm data storage queue, and P or B frames of video data are queued in the short-term pre-alarm data storage queue.

장시간 프리 알람 데이터 저장큐의 키프레임은 I 프레임으로 초당 1 또는 2 프레임으로 저장되므로, 기록 저장 알람이 발생할 경우 키프레임은 사용자가 지정한 시간을 통해 얻으며 시간(Time) 인덱스로 기능을 한다.Since key frames of the long-term pre-alarm data storage queue are stored as I frames at 1 or 2 frames per second, when a record storage alarm occurs, the key frames are obtained through a user-specified time and function as a time index.

따라서, 키프레임이 인덱싱(Indexing)하는 단시간 프리 알람 데이터가 존재하는 경우(S308), VDR 제어부(120)는 장시간 프리 알람 데이터를 하드 디스크(HDD)에 저장함과 더불어, 키프레임을 참조하여 키프레임이 인덱싱하는 해당 단시간 실시간 프리 알람 데이터를 하드 디스크(HDD)에 함께 저장한다(S310).Therefore, when there is a short time pre-alarm data indexed by the key frame (S308), the VDR controller 120 stores the long time pre-alarm data on the hard disk (HDD) and refers to the key frame with reference to the key frame. The indexed real-time pre-alarm data to be indexed is stored together in the hard disk (HDD) (S310).

그러나, 키프레임이 인덱싱하는 단시간 프리 알람 데이터가 존재하지 않으면, VDR 제어부(120)는 장시간 프리 알람 데이터 저장큐에 대기하고 있는 저속 장시간 프리 알람 데이터만을 하드 디스크(HDD)에 저장한다(S312).However, if there is no short-time pre-alarm data indexed by the keyframe, the VDR controller 120 stores only the low-speed long-time pre-alarm data waiting in the long-term pre-alarm data storage queue on the hard disk HDD (S312).

영상 데이터가 MPEG으로 압축된 경우, I 프레임은 초당 2장씩 인코딩되도록 셋팅한 후 장시간 프리 알람 데이터의 저장이 1 fps인 경우에 각 키프레임은 1초의 단시간 프리 알람 데이터 저장 영역과 매핑이 되도록 한다. 따라서, 장시간 프리 알람 데이터의 저장이 2 fps인 경우에 각 키프레임은 0.5 초의 단시간 프리 알람 데이터 저장 영역과 매핑된다.When the image data is compressed in MPEG, I frames are set to be encoded by two frames per second, and then each keyframe is mapped to a short time pre alarm data storage area of 1 second when the storage of the long time pre alarm data is 1 fps. Therefore, when the storage of the long time pre alarm data is 2 fps, each keyframe is mapped to a short time pre alarm data storage area of 0.5 seconds.

또한, 장시간 프리 알람 데이터 저장큐와 단시간 프리 알람 데이터 저장큐의 크기는 사용자의 임의 셋팅이 가능할 수 있도록 데이터 저장 시간을 가변적으로 조절할 수 있다.
In addition, the size of the long time pre-alarm data storage queue and the short time pre-alarm data storage queue can be variably adjusted so that the user can arbitrarily set the data storage time.

전술한 바와 같이 본 발명에 의하면, 프리 알람 데이터를 저장하는 에스디램의 버퍼 영역을 장시간 저속 프리 알람 데이터의 저장 공간과 단시간(실시간) 프리 알람 데이터의 저장 공간으로 분리하여 각 저장 영역에 해당 프리 알람 데이터를 저장함으로써 단시간 및 장시간의 프리 알람 데이터를 동시에 저장하여 기록 또는 재생 속도를 향상시키도록 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법 및 장치를 실현할 수 있다.
As described above, according to the present invention, the buffer area of the SDRAM storing the pre-alarm data is divided into the storage space of the long-term low speed pre-alarm data and the storage space of the short-term (real-time) pre-alarm data, and the corresponding pre-alarm is stored in each storage area. By storing the data, a pre-alarm buffering method and apparatus can be realized according to the length of time of the pre-alarm data, which simultaneously stores the short- and long-term pre-alarm data to improve the recording or reproducing speed.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention.

따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments.

본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.
The scope of protection of the present invention should be construed according to the following claims, and all technical ideas falling within the scope of the same shall be construed as falling within the scope of the present invention.

이상에서 설명한 바와 같이 본 발명에 의하면, 임베디드 디지털 비디오 레코더에서 단시간 및 장시간 프리 알람 데이터에 대하여 각각의 저장큐를 두어 동시에 저장할 수 있게 된다. As described above, according to the present invention, the embedded digital video recorder can simultaneously store the respective storage queues for the short time and long time pre-alarm data.

또한, 단시간 및 장시간 프리 알람 데이터를 동시에 저장하게 됨에 따라 영 상 데이터의 기록 저장하는 시간 및 재생하는 시간을 단축할 수 있다.In addition, since the short time and long time pre-alarm data are stored at the same time, it is possible to shorten the time for recording and reproducing the video data.

Claims (10)

영상 데이터의 기록 저장시, 단시간 프리 알람 데이터와 장시간 프리 알람 데이터를 동시에 저장하는 디지털 비디오 레코더의 프리 알람 버퍼링 장치에 있어서,In the pre-alarm buffering device of a digital video recorder which simultaneously stores short-term pre-alarm data and long-term pre-alarm data at the time of recording and storing image data, 상기 단시간 프리 알람 데이터와 상기 장시간 프리 알람 데이터를 저장하는 매체에 대하여, 장시간 프리 알람 데이터 저장 공간(A)과, 단시간 프리 알람 데이터 저장 공간(B)으로 구분하여 분리하되, The medium for storing the short time pre-alarm data and the long time pre-alarm data may be divided into a long time pre-alarm data storage space A and a short time pre-alarm data storage space B, 상기 영상 데이터에 대하여, I 프레임은, 상기 장시간 프리 알람 데이터 저장 공간(A)에 장시간 데이터 저장큐(Queue)로, P 혹은 B 프레임은, 상기 단시간 프리 알람 데이터 저장 공간(B)에 단시간 데이터 저장큐로 분리하여 대기시키는 것을 특징으로 하는 디지털 비디오 레코더의 프리 알람 버퍼링 장치. For the video data, I frame is a long time data storage queue in the long time pre-alarm data storage space A, and P or B frames are short time data stored in the short time pre alarm data storage space B. A pre-alarm buffering device for a digital video recorder, characterized by being separated into queues. 삭제delete 제 1 항에 있어서,The method of claim 1, 상기 장시간 프리 알람 데이터는 상기 장시간 프리 알람 데이터 저장 공간(A)에 1초에 1장 또는 2장씩의 키프레임(Key Frame)으로 저장되는 것을 특징으로 하는 디지털 비디오 레코더의 프리 알람 버퍼링 장치.And the long time pre-alarm data is stored in the long time pre-alarm data storage space (A) as one or two key frames per second. 제 1 항에 있어서, The method of claim 1, 상기 장시간 데이터 저장큐와 상기 단시간 데이터 저장큐의 크기는 사용자가 데이터 저장 시간을 가변적으로 조절하여 셋팅하는 것을 특징으로 하는 디지털 비디오 레코더의 프리 알람 버퍼링 장치.And a size of the long time data storage queue and the short time data storage queue is set by the user to variably adjust the data storage time. 제 3 항에 있어서,The method of claim 3, wherein 상기 키프레임은 인덱싱을 위한 상기 단시간 프리 알람 데이터의 위치 정보를 가지고 있는 것을 특징으로 하는 디지털 비디오 레코더의 프리 알람 버퍼링 장치.And the key frame has position information of the short-time pre-alarm data for indexing. 영상 데이터의 기록 저장시, 단시간 프리 알람 데이터와 장시간 프리 알람 데이터를 동시에 저장하는 프리 알람 버퍼링 방법에 있어서,In the pre-alarm buffering method of simultaneously storing short-term pre-alarm data and long-term pre-alarm data when recording and storing video data, 상기 영상 데이터의 기록 저장에 관한 명령에 따라 기록 저장 알람을 인지하는 제 1 단계;A first step of recognizing a recording storage alarm in accordance with a command regarding recording and storing of the image data; 상기 영상 데이터에 대하여, 장시간 프리 알람 데이터 저장큐와 단시간 프리 알람 데이터 저장큐로 분리하고, 사용자가 지정한 시간에 맞는 키프레임(Key Frame)을 얻는 제 2 단계;A second step of dividing the video data into a long time pre-alarm data storage queue and a short time pre-alarm data storage queue, and obtaining a key frame corresponding to a time designated by a user; 상기 키프레임이 인덱싱(Indexing)하는 단시간 프리 알람 데이터가 존재하는 지를 판단하는 제 3 단계; 및Determining whether there is short-term pre-alarm data indexed by the keyframe; And 상기 키프레임이 인덱싱하는 상기 단시간 프리 알람 데이터가 존재하는 경우, 장시간 프리 알람 데이터를 하드 디스크(HDD)에 저장함과 더불어, 상기 키프레임이 인덱싱하는 해당 상기 단시간 프리 알람 데이터를 상기 하드 디스크(HDD)에 함께 저장하는 제 4 단계를 포함하는 것을 특징으로 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법.When the short-time pre-alarm data indexed by the keyframe exists, the long-term pre-alarm data is stored on the hard disk (HDD), and the corresponding short-term pre-alarm data indexed by the keyframe is stored on the hard disk (HDD). And pre-alarming the pre-alarm data according to the time length of the pre-alarm data. 제 6 항에 있어서,The method of claim 6, 상기 키프레임이 인덱싱하는 상기 단시간 프리 알람 데이터가 존재하지 않으면, 상기 장시간 프리 알람 데이터 저장큐에 대기하고 있는 상기 장시간 프리 알람 데이터만을 상기 하드 디스크(HDD)에 저장하는 것을 특징으로 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법.If the short time pre-alarm data indexed by the keyframe does not exist, only the long time pre-alarm data waiting in the long time pre-alarm data storage queue is stored in the hard disk (HDD). Pre-alarm buffering method over time length. 제 6 항에 있어서,The method of claim 6, 상기 영상 데이터에 대하여, I 프레임은 상기 장시간 프리 알람 데이터 저장큐(Queue)에, P 혹은 B 프레임은 상기 단시간 프리 알람 데이터 저장큐에 저장 대기시키는 것을 특징으로 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법.With respect to the video data, an I frame is stored in the long time pre alarm data storage queue, and a P or B frame is stored in the short time pre alarm data storage queue. How to buffer alarms. 제 6 항에 있어서,The method of claim 6, 상기 장시간 프리 알람 데이터는 상기 장시간 프리 알람 데이터 저장큐에 1초에 1장 또는 2장씩의 키프레임으로 저장되는 것을 특징으로 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법.The pre-alarm pre-alarm data is stored in the long-term pre-alarm data storage queue as one or two key frames per second. The pre-alarm buffering method according to the length of time of the pre-alarm data. 제 9 항에 있어서,The method of claim 9, 상기 키프레임은 인덱싱을 위한 상기 단시간 프리 알람 데이터의 위치 정보를 가지고 있는 것을 특징으로 하는 프리 알람 데이터의 시간 길이에 따른 프리 알람 버퍼링 방법.And the key frame has position information of the short-time pre-alarm data for indexing.
KR1020040069230A 2004-08-31 2004-08-31 Pre-alarm buffering method and device according to time length of pre-alarm data KR101050448B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040069230A KR101050448B1 (en) 2004-08-31 2004-08-31 Pre-alarm buffering method and device according to time length of pre-alarm data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040069230A KR101050448B1 (en) 2004-08-31 2004-08-31 Pre-alarm buffering method and device according to time length of pre-alarm data

Publications (2)

Publication Number Publication Date
KR20060020392A KR20060020392A (en) 2006-03-06
KR101050448B1 true KR101050448B1 (en) 2011-07-19

Family

ID=37127546

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040069230A KR101050448B1 (en) 2004-08-31 2004-08-31 Pre-alarm buffering method and device according to time length of pre-alarm data

Country Status (1)

Country Link
KR (1) KR101050448B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101943A (en) * 2001-09-26 2003-04-04 Hitachi Ltd Monitoring system and recorder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101943A (en) * 2001-09-26 2003-04-04 Hitachi Ltd Monitoring system and recorder

Also Published As

Publication number Publication date
KR20060020392A (en) 2006-03-06

Similar Documents

Publication Publication Date Title
US20070189728A1 (en) Method of recording and reproducing surveillance images in DVR
US7421134B2 (en) Image processing apparatus and method for moving object-adaptive compression
JP2005176030A (en) Video preservation system and video preservation method
US7639920B2 (en) Recorder
KR101050448B1 (en) Pre-alarm buffering method and device according to time length of pre-alarm data
KR20070030555A (en) Method for controlling search in digital video recorder
KR20050099830A (en) Method for recording image data in digital video recorder
KR100758090B1 (en) Method for recording image data in digital video recorder
JP2002094939A (en) Recording apparatus and reproducing apparatus
JP4438945B2 (en) Monitoring system
KR100356007B1 (en) Apparatus and method for recording and reproducing video during long time using universal video tape recorder
KR100301958B1 (en) Apparatus and method for recording and reproducing still picture in universal video tape
KR20060091573A (en) Method for recording data of dvr system
JP2004040518A (en) Imaging recorder and reproducing device
KR100601281B1 (en) Method for recognizing hard disc of dvr system
KR100536697B1 (en) Method for efficiently recording in a dvr system
KR20060017387A (en) Method for displaying video of security system
JP4052240B2 (en) Surveillance image information recording / reproducing device
KR100952968B1 (en) Apparatus and method for reproducing record data in digital video recorder
KR100626938B1 (en) Data back-up method of dvr system
KR200194682Y1 (en) Apparatus for recording and reproducing still picture in universal video tape
JP4906746B2 (en) Information processing device
JP5683127B2 (en) Recording device
JP5295349B2 (en) Information processing device
KR100639297B1 (en) Hard disk search Digital Video Recorder apparatus and method using by logical block address

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: 20140624

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150624

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee