KR101171283B1 - Large data, high-speed event recording method of dvr - Google Patents
Large data, high-speed event recording method of dvr Download PDFInfo
- Publication number
- KR101171283B1 KR101171283B1 KR1020110141336A KR20110141336A KR101171283B1 KR 101171283 B1 KR101171283 B1 KR 101171283B1 KR 1020110141336 A KR1020110141336 A KR 1020110141336A KR 20110141336 A KR20110141336 A KR 20110141336A KR 101171283 B1 KR101171283 B1 KR 101171283B1
- Authority
- KR
- South Korea
- Prior art keywords
- recording file
- event
- stored
- time
- temporary
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/22—Signal processing not specific to the method of recording or reproducing; Circuits therefor for reducing distortions
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/102—Programmed access in sequence to addressed parts of tracks of operating record carriers
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B31/00—Arrangements for the associated working of recording or reproducing apparatus with related apparatus
- G11B31/006—Arrangements for the associated working of recording or reproducing apparatus with related apparatus with video camera or receiver
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10851—Erasing data on the record carrier
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10935—Digital recording or reproducing wherein a time constraint must be met
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
본 발명은 대용량, 고속으로 저장이 가능한 디브이알의 이벤트저장방법에 관한 것으로, 디브이알장치에 다수의 채널로 설치된 카메라로부터 지속적으로 데이터가 일정한 시간간격으로 설정된 시간만큼 하드디스크로 전송되어 임시녹화파일형태로 임시로 저장되는 임시저장단계와, 임시녹화구간유지단계와, 이벤트처리단계와, 상기 임시저장단계와 이벤트처리단계에서, 이벤트가 발생하여 이벤트발생시점부터 생성된 데이터를 정상녹화파일로 저장하다가 정상녹화파일을 저장하기 위한 하드디스크의 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보하여 새로운 정상녹화파일을 저장하고, 이벤트가 종료되고 정상녹화파일로 저장되는 설정된 시간이 지나, 다시 임시녹화파일을 저장할 때, 임시녹화파일이 저장되기 위한 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보한 후, 새로운 임시녹화파일을 설정된 시간만큼 저장할 수 있도록 하며, 임시녹화파일을 설정한 시간만큼 순서대로 저장하다가 그 시간을 초과하게 되면, 기존에 저장된 정상녹화파일을 그대로 유지하면서 가장 오래전에 저장된 임시녹화파일을 삭제하여, 새로운 임시녹화파일이 일정하게 저장되도록 하는 이벤트공간확보단계와, 상기 디브이알장치에서 이벤트발생여부에 따라 임시저장단계, 임시녹화구간유지단계, 이벤트처리단계와, 이벤트공간확보단계를 지속적으로 수행하도록 이루어진다.
본 발명은 디브이알장치에서 생성된 데이터를 메모리장치를 거치지 않고, 최초에 설정된 시간만큼 바로 하드디스크에 임시녹화파일로 저장한 후, 설정된 시간이 초과될 경우 가장 오래된 임시녹화파일부터 삭제하여 항상 일정한 크기로 최신의 데이터를 저장할 수 있도록 하였고, 이벤트가 발생하게 되면 하드디스크에 저장된 임시녹화파일을 정상녹화파일로 바로 전환하며, 이벤트발생 시점부터 생성된 데이터를 정상녹화파일로 저장하되, 이벤트발생시점 이후 일정시간동안 설정된 시간만큼 정상녹화파일로 저장하여, 이벤트발생시와 이벤트발생시점 이전에 생성된 데이터를 저장하기 위한 시간차이를 없애, 그 시간차이에 따른 데이터의 손실, 왜곡을 줄일 수 있는 장점이 있다.The present invention relates to an event storage method of a DVR that can be stored in a large capacity and high speed, the temporary recording file is transferred from the camera installed in a plurality of channels to the hard disk as long as the data is set at a predetermined time interval In the temporary storage step, the temporary recording section maintenance step, the event processing step, and the temporary storage step and the event processing step, which are temporarily stored in the form, the data generated from the time of occurrence of an event is stored as a normal recording file. If there is not enough space on the hard disk to save the normal recording file, delete the oldest normal recording file to free up space to save a new normal recording file, and after the set time, the event ends and the normal recording file is saved. When you save a temporary recording file again, the space for the temporary recording file is saved. If this is not enough, the oldest normal recording file is deleted to free up space, and then a new temporary recording file can be stored for a set time, and the temporary recording file is stored in order for the set time and then exceeds the time. Acquiring the event space to delete the oldest temporary recording file while keeping the existing normal recording file as it is, so that the new temporary recording file is stored regularly, and temporarily storing step according to whether or not an event occurs in the DVR device. In this case, the temporary recording section maintenance step, the event processing step, and the event space securing step are continuously performed.
According to the present invention, the data generated by the DVR device is stored as a temporary recording file on the hard disk as soon as the first time is set without passing through the memory device, and when the set time is exceeded, the oldest temporary recording file is deleted to always be fixed. The latest data can be saved in size.When an event occurs, the temporary recording file stored in the hard disk is converted to a normal recording file.The data generated from the time of the event is saved as a normal recording file. After that, it saves as normal recording file for the set time for a certain time, eliminating the time difference for saving the data created at the time of event occurrence and before the time of event occurrence, thereby reducing data loss and distortion according to the time difference. have.
Description
본 발명은 대용량, 고속으로 저장이 가능한 디브이알의 이벤트저장방법에 관한 것으로, 보다 구체적으로, 디브이알장치에서 촬영된 데이터를 저장할 때, 메모리와 같은 별도의 임시저장장치를 거치지 않고, 바로 하드디스크에 임시녹화파일로 저장한 후, 이벤트가 발생하게 되면 하드디스크에 저장된 임시녹화파일을 녹화확정파일로 전환시켜 바로 임시저장과 확정저장을 하드디스크에서 이루어지도록 함으로써, 이벤트발생 전에 생성된 데이터의 저장시간과 이벤트발생시 실시간으로 전송되는 데이터의 저장시간 간의 차이를 줄여, 데이터의 손실을 예방하며, 디브이알장치에서 생성된 데이터를 용량이 큰 하드디스크에 임시녹화파일, 정상녹화파일로 바로 저장할 수 있어, 대용량의 이벤트 발생 이전 데이터를 저장하고 이벤트발생시 고속으로 데이터를 처리할 수 있는 대용량, 고속으로 저장이 가능한 디브이알의 이벤트저장방법에 관한 것이다.The present invention relates to an event storage method of a DVD that can be stored in a large capacity and high speed. More specifically, when storing data photographed by the DB device, the hard disk does not go through a separate temporary storage device such as a memory. After saving as a temporary recording file in the event, if an event occurs, convert the temporary recording file stored in the hard disk into a recording confirmation file so that the temporary storage and definite storage are performed immediately on the hard disk, thereby saving the data generated before the event. By reducing the difference between the time and the storage time of the data transmitted in real time when an event occurs, it prevents data loss and saves the data created in the DVR device as a temporary recording file or a normal recording file on a large hard disk. Stores large amount of data before event occurrence That can handle the foundation relates to the mass, the event storage of DVR storage is possible at high speed.
일반적으로 도 1에 도시된 바와 같이 디브이알장치에서 생성된 영상을 저장할 때에는 한국공개특허번호 제10-2002-0048015호와 같이 디브이알장치에서 생성된 영상데이터를 1차로 용량이 상대적으로 작은 메모리에 저장한 후, 이벤트발생이전 데이터의 보유기간을 초과할 경우에 가장 오래된 데이터부터 차례대로 삭제하여 이벤트발생이전 데이터의 보유기간을 최근 데이터로 유지하면서 메모리에 임시저장하게 된다,In general, as shown in FIG. 1, when storing an image generated by a DV device, the image data generated by the DV device is primarily stored in a memory having a relatively small capacity, such as Korean Patent Laid-Open No. 10-2002-0048015. After storing, if the retention period of the data before the event is exceeded, the oldest data is deleted in order, and the data is temporarily stored in the memory while maintaining the retention period of the data before the event as the latest data.
상기와 같은 방법으로 통해 메모리에 저장된 임시저장 데이터는 이벤트가 발생하게 되면, 이벤트가 발생한 시점에서부터 그 데이터가 바로 디브이알장치에 형성된 하드디스크와 같은 별도의 저장매체에 저장되게 된다.When the event occurs, the temporary storage data stored in the memory through the above method is stored in a separate storage medium such as a hard disk formed in the DVD device from the time when the event occurs.
여기서, 이벤트가 발생하게 된 시점 전까지 메모리에 저장된 데이터가 먼저 별도의 저장매체로 전송된 후에, 이벤트가 발생된 시점부터 생성된 데이터가 별도의 저장매체로 전송되어 저장되게 된다.Here, the data stored in the memory before the event occurs is first transmitted to a separate storage medium, and then the data generated from the time when the event occurs is transmitted to a separate storage medium to be stored.
그런 후, 디브이알장치에서 설정한 이벤트가 종료된 시점에서 일정시간까지 생성된 데이터를 별도의 저장매체에 저장한 후, 다시 최초의 상태로 복귀하여 상기 메모리에 다시 임시저장하면서 반복작동을 하였다.Thereafter, after the event set in the DVD device was terminated, the data generated up to a predetermined time was stored in a separate storage medium, and then returned to the original state again and temporarily stored in the memory again.
하지만, 상기와 같이 디브이알장치에서 생성된 데이터를 메모리에 1차로 저장하고 이벤트가 발생하면, 이벤트발생시점 이전에 메모리에 저장된 데이터부터 별도의 저장매체로 전송된 후, 이벤트발생시부터 생성되는 데이터를 저장매체에 연속적으로 저장해야했기 때문에, 이벤트발생시점 이전에 생성된 데이터가 저장매체에 저장되는 시간이 길어질 경우, 이벤트발생시부터 생성된 데이터가 바로 저장되지 못하고 이벤트발생시점 이전에 생성된 데이터가 완전히 저장된 후에 저장되었기 때문에, 그 시간차이만큼 오차가발생하여 이벤트발생시점의 데이터가 제대로 저장되지 못하여 데이터가 손실되거나 왜곡될 수 있는 문제점이 있었다.However, as described above, when the data generated by the DV device is primarily stored in the memory and an event occurs, the data generated from the event is generated after being transmitted from the data stored in the memory to a separate storage medium before the event occurs. If the data created before the event occurred is stored in the storage media for a long time because the data must be stored in the storage medium continuously, the data generated from the event is not saved immediately, and the data generated before the event occurred completely. Since the data was stored after being stored, an error occurred as much as the time difference, and thus, data at the time of event generation could not be stored properly, resulting in data loss or distortion.
또한, 임시로 데이터가 저장되는 메모리의 용량의 한계로 인하여 보다 긴 시간동안의 이벤트발생 이전 데이터를 유지하지 못하였는데, 메모리의 용량을 증가시키게 되면, 보다 긴 시간동안의 데이터를 메모리에 저장할 수 있지만, 이벤트가 발생하게 되면 먼저, 메모리에 저장된 데이터를 별도의 저장매체에 전송, 저장하는 시간이 증가하게 되어, 이벤트발생시 생성되는 데이터의 처리시점에 그만큼 더 큰 오차가 발생하게 되어, 데이터의 손실, 왜곡이 더 크게 발생하게 됨으로써, 시스템구성비용의 증가와 시스템의 과부하가 발생하게 되는 문제점이 있었다.In addition, due to the limitation of the capacity of the memory where data is temporarily stored, the data before the event occurred for a longer time could not be maintained. If the memory capacity is increased, the data for a longer time can be stored in the memory. When an event occurs, first, the time for transferring and storing the data stored in the memory to a separate storage medium increases, and thus a larger error occurs at the time of processing the data generated when the event occurs. As the distortion occurs more, there is a problem that an increase in system configuration cost and system overload occur.
본 발명은 디브이알장치에 다수의 채널로 설치된 카메라로부터 지속적으로 데이터가 일정한 시간간격으로 설정된 시간만큼 하드디스크로 전송되어 임시녹화파일형태로 임시로 저장되는 임시저장단계와, 상기 임시저장단계에서, 하드디스크로 저장되는 임시녹화파일이 설정된 시간을 초과하여 전송, 저장될 경우, 가장 오래전에 전송, 저장된 임시녹화파일을 삭제하여, 설정된 시간만큼의 임시녹화기간을 유지하고, 새로운 데이터가 임시녹화파일로 저장되도록 하여, 항상 일정한 시간동안의 최신의 데이터가 임시녹화파일로 저장되도록 하는 임시녹화구간유지단계와, 상기 임시저장단계에서, 하드디스크로 임시녹화파일이 전송, 저장되다가 이벤트가 발생하게 되면, 현재까지 하드디스크에 저장된 임시녹화파일을 정상녹화파일로 전환하면서, 이벤트발생시점부터 생성되는 데이터를 정상녹화파일로 저장하되, 이벤트발생시점부터 이벤트발생시점 이후 설정된 녹화시간까지 정상녹화파일로 하드디스크에 저장한 후, 설정된 시간이 초과되면서부터 생성된 데이터를 임시녹화파일로 저장하는 이벤트처리단계와, 상기 임시저장단계와 이벤트처리단계에서, 이벤트가 발생하여 이벤트발생시점부터 생성된 데이터를 정상녹화파일로 저장하다가 정상녹화파일을 저장하기 위한 하드디스크의 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보하여 새로운 정상녹화파일을 저장하고, 이벤트가 종료되고 정상녹화파일로 저장되는 설정된 시간이 지나, 다시 임시녹화파일을 저장할 때, 임시녹화파일이 저장되기 위한 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보한 후, 새로운 임시녹화파일을 설정된 시간만큼 저장할 수 있도록 하며, 임시녹화파일을 설정한 시간만큼 순서대로 저장하다가 그 시간을 초과하게 되면, 기존에 저장된 정상녹화파일을 그대로 유지하면서 가장 오래전에 저장된 임시녹화파일을 삭제하여, 새로운 임시녹화파일이 일정하게 저장되도록 하는 이벤트공간확보단계와, 상기 디브이알장치에서 이벤트발생여부에 따라 임시저장단계, 임시녹화구간유지단계, 이벤트처리단계와, 이벤트공간확보단계를 지속적으로 수행하도록 이루어진다.The present invention provides a temporary storage step of continuously transmitting data from a camera installed in a plurality of channels in a TV device to a hard disk for a predetermined time interval and temporarily storing the temporary recording file in the form of a temporary recording file. When the temporary recording file saved to the hard disk is transferred or stored for longer than the set time, the temporary recording file transmitted and stored for the longest time is deleted to maintain the temporary recording period for the set time, and the new data is stored in the temporary recording file. The temporary recording section is maintained so that the latest data for a certain time is always stored as a temporary recording file. In the temporary storage step, when the temporary recording file is transmitted and stored to the hard disk, an event occurs. , Convert the temporary recording file saved on the hard disk to the normal recording file, Saves the data created from the time of recording as a normal recording file, but saves the data created from the time of event to the normal recording file on the hard disk from the time of occurrence of the event to the recording time set after the occurrence of the event. In the event processing step of storing as a file, and in the temporary storage step and the event processing step, there is not enough space on the hard disk to store the normal recording file while storing the data generated from the event occurrence as the normal recording file. In this case, the oldest normal recording file is deleted to free up space to save a new normal recording file, and the temporary recording file is saved when the temporary recording file is again saved after the set time for the event to be terminated and saved as the normal recording file. If there is not enough space to save, delete the oldest normal recording file to save space. After securing, new temporary recording file can be saved for a set time, and if the temporary recording file is stored in order for the set time, and the time is exceeded, the existing recording file is saved as long as Deleting the temporary recording file, so as to ensure that the new temporary recording file is stored regularly, the temporary storage step, the temporary recording section maintenance step, the event processing step, the event space according to whether the event occurs in the DVR device It is made to continuously carry out the securing step.
상기에서 살펴본 바와 같이 본 발명은 디브이알장치에서 생성된 데이터를 메모리장치를 거치지 않고, 최초에 설정된 시간만큼 바로 하드디스크에 임시녹화파일로 저장한 후, 설정된 시간이 초과될 경우 가장 오래된 임시녹화파일부터 삭제하여 항상 일정한 크기로 최신의 데이터를 저장할 수 있도록 하였고, 이벤트가 발생하게 되면 하드디스크에 저장된 임시녹화파일을 정상녹화파일로 바로 전환하며, 이벤트발생 시점부터 생성된 데이터를 정상녹화파일로 저장하되, 이벤트발생시점 이후 일정시간동안 설정된 시간만큼 정상녹화파일로 저장하여, 이벤트발생시와 이벤트발생시점 이전에 생성된 데이터를 저장하기 위한 시간차이를 없애, 그 시간차이에 따른 데이터의 손실, 왜곡을 줄일 수 있는 장점이 있다.As described above, the present invention stores the data generated by the DVR device as a temporary recording file on the hard disk as much as the initially set time, without passing through the memory device, and the oldest temporary recording file when the set time is exceeded. The latest data can be saved at a certain size by deleting from the file.When an event occurs, the temporary recording file stored on the hard disk is converted directly to a normal recording file, and the data generated from the event occurrence is saved as a normal recording file. However, it saves as normal recording file for the set time for a certain time after the occurrence of the event, eliminating the time difference for storing the data generated at the event occurrence and before the occurrence of the event, and eliminating data loss and distortion according to the time difference. There is an advantage to reduce.
그리고, 이벤트발생시점 이전의 영상과 이벤트발생시점과 그 이후에 생성되는 데이터를 저장하는 시간차이를 없애고, 별도의 작업 없이 바로 하드디스크에 저장하기 때문에, 동시에 많은 양의 전송, 저장되는 데이터를 처리하기 위한 시스템의 과부하를 없앨 수 있으며, 시스템을 간략하게 구축할 수 있는 장점이 있다.In addition, since the time difference between storing the image before and after the event and the data generated after and after the event is eliminated, the data is immediately stored on the hard disk without any additional work, thereby simultaneously processing a large amount of data. It can eliminate the overload of the system, and there is an advantage in that the system can be simplified.
또한, 디브이알장치에서 생성된 데이터가 별도의 저장장치를 거치지 않고, 대용량의 하드디스크에서 바로 저장되기 때문에, 용량에 큰 한계 없이 대용량의 이벤트발생이전의 데이터와 이벤트발생시점 및 이벤트발생시점이후의 데이터를 간편하게 저장할 수 있는 장점이 있다.In addition, since the data created in the DVR device is stored directly in a large capacity hard disk without going through a separate storage device, the data before the large event occurrence and the time after the event occurrence and the event occurrence time without a large limit in capacity The advantage is that data can be stored easily.
아울러, 정상녹화파일을 저장한 후, 임시녹화파일을 설정된 시간만큼 저장하지 못할 만큼 공간이 초과되면, 가장 오래된 정상녹화파일을 삭제하여 임시녹화파일이 임시로 저장될 수 있는 공간에 따른 시간을 확보하여, 항상 새로운 임시녹화파일을 저장할 수 있는 장점이 있다. In addition, if the space is exceeded enough to store the temporary recording file after the normal recording file is stored, the oldest normal recording file is deleted to secure the time according to the space where the temporary recording file can be temporarily stored. Thus, there is always an advantage that can save a new temporary recording file.
도 1은 종래의 디브이알의 이벤트저장방법을 도시한 간략도.
도 2는 본 발명의 임시저장단계와 임시녹화구간유지단계를 도시한 간략도.
도 3은 본 발명의 이벤트처리단계를 도시한 간략도.
도 4와 5는 본 발명의 이벤트공간확보단계를 도시한 간략도.
도 6은 본 발명의 임시녹화파일과 정상녹화파일을 도시한 간략도.Figure 1 is a simplified diagram showing a conventional event storage method of the DVD.
Figure 2 is a simplified diagram showing the temporary storage step and the temporary recording section maintenance step of the present invention.
Figure 3 is a simplified diagram showing the event processing step of the present invention.
4 and 5 is a simplified diagram showing an event space securing step of the present invention.
6 is a simplified diagram showing a temporary recording file and a normal recording file of the present invention.
상기와 같은 목적을 달성하기 위한 본 발명의 구성을 살펴보면 다음과 같다.Looking at the configuration of the present invention for achieving the above object is as follows.
본 발명에 의한 대용량, 고속으로 저장이 가능한 디브이알의 이벤트저장방법은 도 2 내지 6에 도시된 바와 같이 디브이알장치에 다수의 채널로 설치된 카메라로부터 지속적으로 데이터가 일정한 시간간격으로 설정된 시간만큼 하드디스크로 전송되어 임시녹화파일형태로 임시로 저장되는 임시저장단계(S10)와, 상기 임시저장단계(S10)에서, 하드디스크로 저장되는 임시녹화파일이 설정된 시간을 초과하여 전송, 저장될 경우, 가장 오래전에 전송, 저장된 임시녹화파일을 삭제하여, 설정된 시간만큼의 임시녹화기간을 유지하고, 새로운 데이터가 임시녹화파일로 저장되도록 하여, 항상 일정한 시간동안의 최신의 데이터가 임시녹화파일로 저장되도록 하는 임시녹화구간유지단계(S20)와, 상기 임시저장단계(S10)에서, 하드디스크로 임시녹화파일이 전송, 저장되다가 이벤트가 발생하게 되면, 현재까지 하드디스크에 저장된 임시녹화파일을 정상녹화파일로 전환하면서, 이벤트발생시점부터 생성되는 데이터를 정상녹화파일로 저장하되, 이벤트발생시점부터 이벤트발생시점 이후 설정된 녹화시간까지 정상녹화파일로 하드디스크에 저장한 후, 설정된 시간이 초과되면서부터 생성된 데이터를 임시녹화파일로 저장하는 이벤트처리단계(S30)와, 상기 임시저장단계(S10)와 이벤트처리단계(S30)에서, 이벤트가 발생하여 이벤트발생시점부터 생성된 데이터를 정상녹화파일로 저장하다가 정상녹화파일을 저장하기 위한 하드디스크의 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보하여 새로운 정상녹화파일을 저장하고, 이벤트가 종료되고 정상녹화파일로 저장되는 설정된 시간이 지나, 다시 임시녹화파일을 저장할 때, 임시녹화파일이 저장되기 위한 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보한 후, 새로운 임시녹화파일을 설정된 시간만큼 저장할 수 있도록 하며, 임시녹화파일을 설정한 시간만큼 순서대로 저장하다가 그 시간을 초과하게 되면, 기존에 저장된 정상녹화파일을 그대로 유지하면서 가장 오래전에 저장된 임시녹화파일을 삭제하여, 새로운 임시녹화파일이 일정하게 저장되도록 하는 이벤트공간확보단계(S40)와, 상기 디브이알장치에서 이벤트발생여부에 따라 임시저장단계, 임시녹화구간유지단계, 이벤트처리단계와, 이벤트공간확보단계를 지속적으로 수행하도록 이루어진다.According to the present invention, a large-capacity, high-speed, event-saving method for storing a DV is hard as long as the data is continuously set at a predetermined time interval from a camera installed in a plurality of channels in the DV device. In the temporary storage step (S10) and is temporarily stored in the form of a temporary recording file is transferred to the disk, and in the temporary storage step (S10), when the temporary recording file to be stored in the hard disk for more than the set time, Deletes the temporary recording file that has been sent and stored the longest, maintains the temporary recording period for the set time, and ensures that new data is saved as a temporary recording file, so that the latest data for a certain time is always stored as a temporary recording file. In the temporary recording section holding step (S20) and the temporary storage step (S10), the temporary recording file is transferred to the hard disk, When an event occurs, the temporary recording file stored on the hard disk is converted to a normal recording file, and the data generated from the event occurrence is saved as a normal recording file, but the recording time set after the event occurrence from the event occurrence After storing the normal recording file to the hard disk until, the event processing step (S30) and the temporary storage step (S10) and the event processing step (S30) for storing the data generated since the set time is exceeded as a temporary recording file If there is not enough space on the hard disk to store the normal recording file after saving the data created from the event occurrence as the normal recording file, the newest normal recording is deleted by deleting the oldest normal recording file. Save the file, and after the set time when the event ends and saves as a normal recording file, When saving the temporary recording file, if there is not enough space for the temporary recording file, the oldest normal recording file is deleted to secure the space, and then the new temporary recording file can be saved for a set time. If the time is exceeded and the normal recording file is saved, the oldest temporary recording file is deleted while maintaining the normal recording file, and the new temporary recording file is stored regularly. (S40) and the DB device is configured to continuously perform the temporary storage step, the temporary recording section maintenance step, the event processing step, and the event space securing step according to whether or not an event occurs.
여기서, 상기 임시저장단계(S10)에서 카메라로부터 전송되는 임시파일형태의 데이터는 파일의 구조와 형태를 구분하는 파일버전, 파일의 생성시간, 파일에 저장된 데이터의 기간, 채널수량, 인덱스정보의 시작위치와 같이 데이터가 입력되면서 생성되는 정보가 저장되는 파일헤더부와, 다수의 채널에서 각 채널을 구분할 수 있는 채널정보, 각각의 카메라에서 입력된 데이터의 재생정보, 각 채널의 데이터간의 연계관계, 각 채널의 인덱스 시작위치정보와 같이 다수의 채널에서 입력된 채널정보가 저장되는 스트림정보부와, 카메라에서 촬영된 영상을 순서대로 저장하는 프레임부와, 상기 프레임부에 저장된 데이터의 색인정보를 저장하는 인덱스부로 형성되도록 하는 것이 좋다.Here, the temporary file type data transmitted from the camera in the temporary storage step (S10) is a file version that distinguishes the structure and form of the file, the file creation time, the duration of the data stored in the file, the number of channels, the start of the index information File header unit for storing the information generated while the data is input, such as position, channel information for distinguishing each channel in a plurality of channels, playback information of the data input from each camera, linkage relationship between the data of each channel, A stream information unit for storing channel information input from a plurality of channels, such as index start position information of each channel, a frame unit for sequentially storing images captured by a camera, and index information for data stored in the frame unit. It is preferable to form the index portion.
그리고, 상기 이벤트처리단계(S30)에서, 이벤트발생시 이벤트발생시점 이전에 저장된 임시녹화파일은 이벤트발생시점 이전에 저장된 파일헤더부, 스트림정보부, 프레임부, 인덱스부로 이루어진 임시파일형태를 그대로 유지하면서, 이벤트가 발생하게 되면, 파일의 명칭, 저장위치만 정상녹화파일이 저장되는 위치로 이동하여 저장되도록 하는 것이 바람직하다.In the event processing step (S30), when the event occurs, the temporary recording file stored before the event occurrence time while maintaining the temporary file type consisting of a file header unit, a stream information unit, a frame unit, and an index unit stored before the event occurrence point, When an event occurs, it is preferable to move only the name and the storage location of the file to the location where the normal recording file is stored.
아울러, 상기 이벤트처리단계(S30)에서, 이벤트발생시점부터 일정시간만큼 설정된 정상녹화파일이 생성되어, 하드디스크에 저장되는 중에 새로운 이벤트가 발생하게 되면, 새로 생성된 이벤트발생시점부터 설정된 시간만큼 연장되어 디브이알장치에서 생성된 데이터가 추가로 정상녹화파일로 저장되도록 하는 것이 좋다.In addition, in the event processing step (S30), if a normal recording file is set for a predetermined time from the event occurrence, when a new event occurs while being stored on the hard disk, it extends by the set time from the newly generated event occurrence It is recommended that data generated by the DVR device be additionally stored as a normal recording file.
이하에서는 본 발명의 가장 바람직한 실시 예에 대해 설명하도록 한다.Hereinafter will be described the most preferred embodiment of the present invention.
먼저, 도 2에 도시된 바와 같이 디브이알장치에 다수의 채널로 설치된 카메라에서 영상을 촬영하여 그 영상을 데이터화 시키게 된다.First, as shown in FIG. 2, an image is taken by a camera installed in a plurality of channels in a TV device, and the image is converted into data.
여기서, 카메라는 사용자의 설정을 통해 촬영되는 지점을 임의로 지정하여 채널을 설정하게 되며, 일반적으로 디브이알장치에서 사용되는 이동감지, 음성감지, 센서감지 등 다양한 데이터분석을 통해 이벤트의 발생여부를 감지하는 것은 자명한 사항으로 자세한 설명은 생략하도록 한다.Here, the camera sets a channel by arbitrarily designating a point to be photographed through a user's setting, and generally detects whether an event is generated through various data analysis such as movement detection, voice detection, sensor detection, etc. Obviously, the detailed description is omitted.
그리고, 사용자는 이벤트발생 전에 저장되는 시간간격을 조절할 수 있는데, 예를 들어, 이벤트가 발생하지 않는 일반적인 영상은 항상 10분간의 영상이 저장되도록 할 수도 있는 것처럼, 다양한 시간대로 설정할 수 있으며, 이벤트가 발생하게 되면 이벤트가 발생한 시점을 기준으로 전, 후 10분동안 촬영된 영상을 저장하도록 설정할 수도 있다.In addition, the user may adjust the time interval stored before the event occurs. For example, a general video without an event may always be stored for 10 minutes, and may be set to various time zones. When the event occurs, it can be set to store the image taken for 10 minutes before and after the event occurred.
이는, 사용자의 임의의 따라 얼마든지 시간을 조절하여 설정할 수 있게 되는 것이다.This can be set by adjusting the time as much as the user's arbitrary.
또한, 디브이알장치의 카메라로부터 전송된 영상데이터를 이벤트의 발생여부, 압축, 변환, 연산, 제어 등을 수행하는 것과, 디브이알장치를 제어하는 제어장치 등이 설치되는 것은 자명한 사항으로 자세한 설명은 생략하도록 한다.In addition, it is obvious that event generation, compression, conversion, calculation, control, etc. of the image data transmitted from the camera of the DV device are installed, and a control device for controlling the DV device is installed. Is omitted.
그리고, 디브이알장치에 설치되는 하드디스크는 사용자의 목적에 따라 다양한 용량으로 설치될 수 있다.The hard disk installed in the DVD device may be installed in various capacities according to a user's purpose.
한편, 디브이알장치의 카메라를 통해 영상이 전송되게 되면, 디브이알장치에 설치된 제어장치 등에 의해 그 영상이 데이터화 되어 디브이알장치에 설치된 하드디스크로 전송되고, 그 데이터가 인덱스화되어 임시녹화파일로 설정되어 하드디스크에 저장되게 된다.On the other hand, when an image is transmitted through the camera of the DVD device, the video is converted into data by a control device installed in the DVD device and the like is transferred to a hard disk installed in the DVD device, and the data is indexed into a temporary recording file. It is set and saved on the hard disk.
이를 상세히 설명하면, 디브이알장치의 카메라에서 하드디스크로 사용자의 시간설정에 따라 데이터가 전송되면, 그 데이터를 확인하여 이벤트발생여부를 파악한 후, 이벤트가 발생하지 않았을 경우, 데이터를 임시녹화파일로 하드디스크에 저장하게 된다.In detail, when data is transmitted from the camera of the DV device to the hard disk according to a user's time setting, the data is checked to determine whether an event has occurred, and when the event does not occur, the data is recorded as a temporary recording file. Save it to your hard disk.
여기서, 상기 임시녹화파일은 카메라로부터 하드디스크로 입력된 임시녹화파일의 파일의 구조와 형태를 구분하는 파일버전, 파일의 생성시간, 파일의 저장되는 데이터의 기간, 채널수량, 인덱스정보의 시작위치와 같이 데이터가 입력되면서 생성되는 데이터의 기본정보가 저장되는 파일헤더부로 형성된다. Here, the temporary recording file is a file version that distinguishes the structure and form of the file of the temporary recording file input from the camera to the hard disk, the creation time of the file, the period of data stored in the file, the number of channels, the starting position of the index information As described above, the data header is formed as a file header that stores basic information of data generated as data is input.
또한, 차량의 다수의 지점에 설치된 다수의 채널에서 하드디스크로 입력된 데이터의 채널을 구분할 수 있는 채널정보, 카메라에서 입력된 데이터의 재생정보, 각 채널의 데이터간의 연계관계, 각 채널의 인덱스시작위치정보와 같이 다수의 채널에서 입력된 채널정보가 저장되는 스트림정보부와, 각각의 다수채널에서 촬영된 영상데이터가 입력되는 프레임부와, 상기 프레임부에 저장된 데이터의 색인정보를 저장하는 인덱스부로 이루어지게 된다.In addition, the channel information to distinguish the channel of the data input to the hard disk from the plurality of channels installed in a plurality of points of the vehicle, the playback information of the data input from the camera, the linkage relationship between the data of each channel, the start of the index of each channel It consists of a stream information unit for storing channel information input from a plurality of channels, such as position information, a frame unit for inputting image data photographed in each of the plurality of channels, and an index unit for storing index information of the data stored in the frame unit You lose.
한편, 사용자는 이벤트발생시점 이전에 촬영된 데이터의 저장기간을 다양하게 설정할 수 있는데, 사용자가 임시녹화파일을 저장하는 시간을 10분으로 설정하였을 경우, 1분동안 촬영되어 전송된 데이터를 하나의 임시녹화파일형태로 전환시켜, 1분단위로 그 데이터를 저장하여 10개의 임시녹화파일로 저장되도록 하여, 항상 하드디스크로 전송, 저장되도록 하며, 새로운 데이터가 지속적으로 입력될 경우, 후술할 방법과 같이 가장 오래전에 입력된 임시녹화파일부터 삭제하여, 임시녹화파일이 최신의 데이터로 10분을 유지하도록 하는 것이다.On the other hand, the user can set the storage period of the data recorded before the event occurs in a variety of ways, if the user sets the time to save the temporary recording file to 10 minutes, the data recorded for one minute and transmitted By converting to a temporary recording file format, the data is stored in 10-minute increments and stored as 10 temporary recording files so that they are always transferred to and stored on the hard disk, and when new data is continuously input, as described below. It deletes the oldest temporary recording file so that the temporary recording file keeps 10 minutes of the latest data.
여기서, 시간에 따른 임시녹화파일의 시간설정간격, 수량 등은 사용자의 설정에 따라 얼마든지 변경할 수 있다.Here, the time setting interval, quantity, etc. of the temporary recording file according to the time can be changed as much as the user's setting.
그러면, 사용자의 시간설정에 따라 다수개의 임시녹화파일이 하드디스크에 저장되게 된다.Then, a plurality of temporary recording files are stored in the hard disk according to the user's time setting.
상술한 바와 같이 카메라에서 촬영되어 하드디스크로 입력되는 영상의 생성시간, 촬영기간, 주소번지, 영상정보, 채널정보 등 카메라에서 촬영되어 데이터로 생성된 모든 정보가 임시녹화파일형태로 저장되게 되는 것이다.(S10)As described above, all information generated by the camera and generated as data, such as creation time, shooting period, address, image information, channel information, etc., taken by the camera and input to the hard disk is stored in a temporary recording file format. (S10)
그런 후, 상기와 같이 하드디스크로 카메라에서 데이터가 지속적으로 전송, 저장되게 된다. Then, as described above, data is continuously transmitted and stored from the camera to the hard disk.
그러면, 상기 제어장치 등이 하드디스크에 저장된 임시녹화파일을 검색하여 사용자가 설정한 시간이 초과되지 않을 경우에는 사용자가 설정한 시간만큼 임시녹화파일이 저장될 수 있도록, 지속적으로 카메라로부터 영상을 전송받아 임시녹화파일로 저장한다.Then, the control device searches the temporary recording file stored in the hard disk, and if the time set by the user is not exceeded, the image is continuously transmitted from the camera so that the temporary recording file can be stored for the time set by the user. And save it as a temporary recording file.
그러다, 사용자가 설정한 시간을 초과하게 될 경우, 가장 오래전에 하드디스크에 저장된 임시녹화파일을 시간순서대로 지워나가면서, 사용자가 설정한 시간만큼(또는 시간설정에 따른 임시녹화파일의 수량)이 항상 일정하게 유지되도록 하면서, 새로운 임시녹화파일이 저장되도록 업데이트를 하게 되는 것이다.(S20)Then, if the time set by the user is exceeded, the temporary recording file stored in the hard disk in the oldest time will be erased in chronological order, and the amount of temporary recording file according to the time setting will be deleted. While keeping it constant all the time, the new temporary recording file is updated to be stored. (S20)
한편, 도 3에 도시된 바와 같이 카메라로부터 하드디스크로 전송되는 데이터를 제어장치 등이 그 데이터를 파악하여 이벤트가 발생하지 않았을 경우, 상기와 같이 지속적으로 카메라로부터 전송되는 데이터를 임시녹화파일로 사용자가 설정한 시간만큼 저장하고, 그 시간을 유지하도록 가장 오래된 임시녹화파일의 삭제, 새로운 임시녹화파일의 저장으로 이루어지는 업데이트를 계속하다가, 카메라로부터 전송된 데이터에 이벤트가 발생했다는 신호가 전송되게 된다.On the other hand, as shown in FIG. 3, when the control device or the like grasps the data transmitted from the camera to the hard disk and no event occurs, the user continuously uses the data transmitted from the camera as a temporary recording file as described above. It stores the time set by the user and keeps the time, and the update including the deletion of the oldest temporary recording file and the storage of the new temporary recording file is continued, and a signal that an event has occurred is transmitted to the data transmitted from the camera.
그러면, 상기 하드디스크에 현재 임시녹화파일로 저장된 파일을 정상녹화파일로 전환하고, 이벤트가 발생한 시점부터 카메라로부터 생성된 데이터를 임시녹화파일을 거쳐 정상녹화파일로 저장하지 않고, 바로 정상녹화파일로 저장하도록 한다.Then, the file currently stored as a temporary recording file on the hard disk is converted into a normal recording file, and the data generated from the camera from the time of the event is stored as a normal recording file without passing through the temporary recording file as a normal recording file. Save it.
여기서, 이벤트발생시점 이전에 임시녹화파일로 저장된 데이터를 정상녹화파일형태로 변환될 때, 하드디스크에 저장된 임시녹화파일이 사용자가 하드디스크에 설정한 정상녹화파일이 저장되는 정상녹화위치로 별도의 변환없이 이동시켜 임시녹화파일이 정상녹화파일로 전환되도록 한다. Here, when the data saved as the temporary recording file before the event occurs is converted into the normal recording file format, the temporary recording file stored in the hard disk is stored as a separate normal recording location where the normal recording file set by the user is stored. Move it without conversion so that the temporary recording file is converted to a normal recording file.
덧붙여, 상기 임시녹화파일을 정상녹화파일로 변환될 때, 임시녹화파일을 정상녹화파일이 저장되는 위치로 이동시키면서, 임시녹화파일의 확장자나 명칭을 변환시켜 임시녹화파일에서 정상녹화파일로 저장할 수도 있다.In addition, when the temporary recording file is converted into a normal recording file, while moving the temporary recording file to a location where the normal recording file is stored, the extension or name of the temporary recording file may be converted and stored as a normal recording file in the temporary recording file. have.
예를 들어, 임시녹화파일의 형태가 영상파일이나 그림파일이 아닌 컴퓨터 등에서 임시로 생성되는 확장자에서 영상 등의 파일로 확인할 수 있는 mpeg, mp4 등과 같은 확장자로 변환되는 것을 말한다.For example, a temporary recording file is converted into an extension such as mpeg or mp4 that can be identified as a file such as an image from an extension that is temporarily generated on a computer, not an image file or a picture file.
이는, 이벤트발생시점 이전에 하드디스크로 입력된 데이터는 지속적으로 삭제, 저장이 이루어지기 때문에, 임시녹화파일을 상기와 같이 영상 등의 파일로 확인할 수 있는 확장자로 설정하게 되면, 시스템의 처리공정 등이 증가하게 되기 때문에, 시스템의 최적화하면서 시스템의 처리공정을 최소화하기 위해 이벤트발생시점 이전의 데이터를 임시파일형태로 저장하였다가 이벤트가 발생하게 되면, 그 데이터를 확인하기 편리한 영상확장자로 저장하는 것이다.This is because data input to the hard disk before the event occurs is continuously deleted and stored. Therefore, if the temporary recording file is set to an extension that can be identified as a file such as an image as described above, the process of the system, etc. In order to minimize the processing of the system while optimizing the system, the data before the event occurrence is stored in a temporary file format, and when the event occurs, the data is stored as a convenient image extension for checking. .
그런 후, 사용자가 설정한 이벤트가 발생한 시점부터 그 이후 일정한 시간만큼 데이터를 지속적으로 정상녹화파일로 저장한다.Then, the data is continuously saved as a normal recording file for a certain time after the event set by the user occurs.
예를 들어, 한 시점에서 이벤트가 발생하게 되면, 사용자가 이벤트발생시점부터 10분 후까지의 시간으로 설정하였다면, 이벤트발생시점부터 10분 후까지 카메라로부터 입력되는 데이터를 정상녹화파일로 하드디스크에 저장하는 것이다.For example, if an event occurs at a point in time, if the user sets the time from the time of the event to 10 minutes later, the data input from the camera from the time of the event to 10 minutes after the event occurs on the hard disk as a normal recording file. To save.
여기서, 하나의 이벤트가 발생하고, 사용자가 설정한 10분의 시간이 다 흐르지 않은 상태에서 새로운 이벤트가 발생하게 되면, 새로운 이벤트가 발생한 시점부터 다시 10분을 더 추가하여, 이벤트가 발생하면서 입력된 데이터를 임시녹화파일이 아닌 정상녹화파일로 저장하도록 한다.(S30)In this case, when a single event occurs and a new event occurs in a state in which the user-defined time of 10 minutes has not elapsed, an additional 10 minutes is added again from the time when the new event occurs, and an event is generated. The data is stored as a normal recording file instead of a temporary recording file. (S30)
한편, 도 4 내지 도 5에 도시된 바와 같이 이벤트가 발생하여 이벤트가 발생한 시점 전의 임시녹화파일을 정상녹화파일로 전환하고, 이벤트가 발생한 시점부터 사용자가 설정한 시점까지 정상녹화파일로 하드디스크에 저장되다가, 새로운 정상녹화파일을 저장하지 못하도록 저장공간이 차게 되면, 임시녹화파일에서 정상녹화파일로 저장된 데이터나 이벤트발생에 의해 처음부터 정상녹화파일로 저장된 데이터 중에서, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보한 후, 최신의 정상녹화파일을 저장하도록 한다.Meanwhile, as shown in FIGS. 4 to 5, the temporary recording file before the event occurrence time is converted to the normal recording file as the event occurs, and the normal recording file is stored on the hard disk from the time when the event occurs to the time set by the user. If the storage space becomes full to prevent new normal recording file from being saved, the oldest normal recording file is deleted from the data saved from the temporary recording file to the normal recording file or the data stored as the normal recording file from the beginning due to an event occurrence. After freeing up space, save the latest normal recording file.
여기서, 정상녹화파일을 삭제할 때, 하드디스크에는 임시녹화파일에서 정상녹화파일로 전환된 데이터와, 처음부터 정상녹화파일로 저장된 데이터가 존재하여, 하나의 정상녹화파일을 삭제할 때, 가장 오래되면서 임시저장녹화파일에서 정상녹화파일로 전환된 데이터를 삭제하여 공간을 확보하도록 한다.In this case, when the normal recording file is deleted, data that has been converted from the temporary recording file to the normal recording file and the data stored as the normal recording file from the beginning are present on the hard disk. Delete the data converted from the recording file to the normal recording file to make space.
이는, 처음부터 정상녹화파일로 저장된 데이터는 이벤트 발생에 의해 이벤트 발생시점부터 전송되어 저장된 것으로, 이벤트발생과 관련한 최신의 데이터가 저장되는 것이지만, 임시녹화파일에서 정상녹화파일로 전환된 데이터는 이벤트 발생시점 이전에 입력된 데이터들로 생성되었기 때문에, 그 중에서 이벤트발생시점에서 가장 오래된 정상녹화파일을 삭제하여, 이벤트와 관련된 데이터의 손실을 예방하기 위한 것이다.This means that the data saved as normal recording file from the beginning is transmitted and stored from the event occurrence by the event occurrence, and the latest data related to the event occurrence is stored, but the data converted from the temporary recording file to the normal recording file generates the event. Since it was created with the data input before the time, the oldest normal recording file is deleted from the time of occurrence of the event to prevent the loss of data related to the event.
또한, 이벤트가 종료되고 사용자가 설정한 대로 일정시간이 지나 카메라로부터 전송되는 데이터를 다시 임시녹화파일형태로 하드디스크에 저장되게 된다.In addition, the event is terminated and the data transmitted from the camera after a predetermined time as set by the user is stored in the hard disk as a temporary recording file again.
한편, 이벤트가 종료되고 새로운 임시녹화파일이 하드디스크로 전송되어 저장되게 되면, 이벤트발생에 따른 정상녹화파일과 새로운 임시녹화파일이 동시에 하드디스크에 존재하게 된다.On the other hand, when the event is terminated and a new temporary recording file is transferred to and stored on the hard disk, the normal recording file and the new temporary recording file according to the occurrence of the event exist on the hard disk at the same time.
그러다, 새로운 임시녹화파일이 지속적으로 하드디스크로 전송, 저장될 때, 사용자가 최소 임시녹화파일을 저장하기 위한 시간만큼의 공간(예를 들어, 사용자가 최초 1분 단위로 10분 동안의 10개의 영상정보를 저장할 수 있도록 한 설정)이 부족할 경우, 하드디스크에 저장된 정상녹화파일 중에서 가장 오래된 정상녹화파일을 삭제하여, 사용자가 설정한 임시녹화파일을 저장할 수 있는 시간만큼의 공간을 확보한 후, 다시 하드디스크에 항상 일정한 시간만큼의 새로운 데이터가 유지될 수 있도록 한다.Then, when a new temporary recording file is continuously transferred to and stored on the hard disk, as much time as the time for the user to store the minimum temporary recording file (for example, if the user has 10 minutes in the first minute) If the setting to save the video information is insufficient, delete the oldest normal recording file among the normal recording files stored on the hard disk, and secure enough space for the temporary recording file set by the user. Again, make sure that new data is kept on your hard disk for a certain amount of time.
또한, 하드디스크에 존재하는 정상녹화파일과 임시녹화파일 중에서 임시녹화파일이 사용자가 설정한 시간만큼 존재하다가 새로운 임시녹화파일이 전송, 저장되면서 그에 따라, 사용자가 설정한 임시녹화파일의 유지시간 등이 초과하게 될 경우, 하드디스크에 저장된 정상녹화파일, 임시녹화파일 중에서, 가장 오래된 임시녹화파일을 삭제하여, 새로운 임시녹화파일을 저장할 수 있는 공간을 확보한 후, 항상 새로운 임시녹화파일이 일정한 시간만큼 유지할 수 있도록 한다.Also, among the normal recording files and temporary recording files existing on the hard disk, temporary recording files exist for the amount of time set by the user, and then new temporary recording files are transferred and stored. If this time is exceeded, the oldest temporary recording file among normal recording files and temporary recording files stored on the hard disk is deleted to secure a space for storing a new temporary recording file, and then the new temporary recording file is always a fixed time. Keep it as long as possible.
여기서, 하드디스크에서 사용자가 설정한 임시녹화파일을 저장하기 위한 시간만큼의 공간(사용자가 설정한 10분 동안의 정보)이 없을 경우에만, 정상녹화파일을 삭제하여, 사용자가 임시녹화파일을 저장하기 위해 설정한 시간만큼의 공간만을 확보하고, 그 공간에 사용자가 설정한 시간만큼의 임시녹화파일을 저장하는 것이다.(S40)Here, the normal recording file is deleted and the user saves the temporary recording file only when there is not enough space (10 minutes of information set by the user) for storing the temporary recording file set by the user on the hard disk. In order to secure only the space for the time set in order to store the temporary recording file for the time set by the user in the space (S40).
이처럼, 디브이알장치의 카메라에서 촬영되어 입력된 데이터를 저장하기 위해 카메라에서 메모리와 같은 임시저장매체를 거치지 않고, 하드디스크에서 바로 저장하도록 함으로써, 카메라에서 하드디스크로 전송되는 공정을 줄여 이벤트발생이전의 데이터와 이벤트발생시점의 데이터, 이벤트발생 후의 데이터를 하드디스크에 전송, 저장하기 위한 시간을 줄임으로써, 동시에 많은 양의 데이터를 처리하지 않고 순서대로 처리할 수 있어, 시스템의 과부하를 예방할 수 있게 되며, 시스템을 간략하게 구축할 수 있게 된다.In this way, to save the data input and recorded by the camera of the TV device, the camera does not go through a temporary storage medium such as memory, and saves it directly from the hard disk, thereby reducing the process of transferring from the camera to the hard disk before the event occurs. By reducing the time for transferring and storing the data of the event, the data at the time of the event and the data after the event to the hard disk, the data can be processed in order without processing a large amount of data at the same time. It is possible to build the system briefly.
그리고, 도 6에 도시된 바와 같이 임시녹화파일과 정상녹화파일의 형태를 동일하게 이루어지도록 하며, 이벤트발생 전에 저장된 임시녹화파일을 이벤트가 발생하게 되면, 임시녹화파일이 저장된 폴더의 위치나, 확장자 명만을 전환하여 정상녹화파일로 저장할 수 있어, 임시녹화파일에서 정상녹화파일로 전환하는 시간을 줄일 수 있게 된다.As shown in FIG. 6, the temporary recording file and the normal recording file have the same form, and when an event occurs in the temporary recording file stored before the event, the location or extension of the folder where the temporary recording file is stored Since only the name can be converted and saved as a normal recording file, the time for switching from the temporary recording file to the normal recording file can be reduced.
한편, 이벤트발생시점 이전의 데이터와 이벤트발생시점의 데이터, 이벤트발생 이후의 데이터가 한번에 동시에 동일한 하드디스크에 저장되게 되어, 이벤트가 발생하여 이벤트발생시점 이전의 데이터와 이벤트발생시점에 입력되는 데이터를 저장하기 위한 시간차이를 없앰으로써, 그 시간차이에 다른 데이터의 손실, 왜곡을 예방하여 하드디스크에 저장되는 데이터를 완전하면서 무결하게 저장, 보관할 수 있게 되는 것이다.On the other hand, the data before the event occurs, the data when the event occurred, and the data after the event occurred are stored on the same hard disk at the same time. Therefore, the data generated before the event and the data input when the event occurs are generated. By eliminating the time difference for storing, it is possible to completely and seamlessly store and store the data stored in the hard disk by preventing the loss and distortion of other data in the time difference.
그리고, 카메라로부터 입력되는 데이터를 메모리를 거치지 않고, 대용량의 하드디스크에 직접 저장할 수 있어, 시스템의 과부하 및 시간지연 없이 한번에 많은 양의 데이터를 저장할 수 있게 된다.In addition, the data input from the camera can be directly stored in a large capacity hard disk without going through a memory, thereby allowing a large amount of data to be stored at once without overloading the system and delaying time.
Claims (4)
상기 임시저장단계(S10)에서, 하드디스크로 저장되는 임시녹화파일이 설정된 시간을 초과하여 전송, 저장될 경우, 가장 오래전에 전송, 저장된 임시녹화파일을 삭제하여, 설정된 시간만큼의 임시녹화기간을 유지하고, 새로운 데이터가 임시녹화파일로 저장되도록 하여, 항상 일정한 시간동안의 최신의 데이터가 임시녹화파일로 저장되도록 하는 임시녹화구간유지단계(S20);
상기 임시저장단계(S10)에서, 하드디스크로 임시녹화파일이 전송, 저장되다가 이벤트가 발생하게 되면, 현재까지 하드디스크에 저장된 임시녹화파일을 정상녹화파일로 전환하면서, 이벤트발생시점부터 생성되는 데이터를 정상녹화파일로 저장하되, 이벤트발생시점부터 이벤트발생시점 이후 설정된 녹화시간까지 정상녹화파일로 하드디스크에 저장한 후, 설정된 시간이 초과되면서부터 생성된 데이터를 임시녹화파일로 저장하는 이벤트처리단계(S30);
상기 임시저장단계(S10)와 이벤트처리단계(S30)에서, 이벤트가 발생하여 이벤트발생시점부터 생성된 데이터를 정상녹화파일로 저장하다가 정상녹화파일을 저장하기 위한 하드디스크의 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보하여 새로운 정상녹화파일을 저장하고, 이벤트가 종료되고 정상녹화파일로 저장되는 설정된 시간이 지나, 다시 임시녹화파일을 저장할 때, 임시녹화파일이 저장되기 위한 공간이 부족할 경우, 가장 오래된 정상녹화파일을 삭제하여 공간을 확보한 후, 새로운 임시녹화파일을 설정된 시간만큼 저장할 수 있도록 하며, 임시녹화파일을 설정한 시간만큼 순서대로 저장하다가 그 시간을 초과하게 되면, 기존에 저장된 정상녹화파일을 그대로 유지하면서 가장 오래전에 저장된 임시녹화파일을 삭제하여, 새로운 임시녹화파일이 일정하게 저장되도록 하는 이벤트공간확보단계(S40);
상기 디브이알장치에서 이벤트발생여부에 따라 임시저장단계, 임시녹화구간유지단계, 이벤트처리단계와, 이벤트공간확보단계를 지속적으로 수행하는 것에 특징이 있는 대용량, 고속으로 저장이 가능한 디브이알의 이벤트저장방법.
As data is inputted from the camera installed with multiple channels in the DVR device, the file version continuously distinguishes the structure and form of the file, the creation time of the file, the duration of the data stored in the file, the number of channels, and the starting position of the index information. File header unit to store the generated information, channel information for distinguishing each channel in a plurality of channels, playback information of the data input from each camera, linkage relationship between the data of each channel, index starting position information of each channel The data formed by the stream information unit for storing the channel information input from the plurality of channels, the frame unit for storing the image taken by the camera in order, and the index unit for storing the index information of the data stored in the frame unit is constant It is transferred to the hard disk for the time set by the time interval and is temporarily saved in the form of temporary recording file. Procedure Step Chapter (S10);
In the temporary storage step (S10), if the temporary recording file stored on the hard disk is transmitted and stored for more than the set time, the temporary recording period for the set time is deleted by deleting the temporary recording file transmitted and stored the longest. A temporary recording section maintaining step (S20) of maintaining and allowing new data to be stored as a temporary recording file so that the latest data for a predetermined time is always stored as a temporary recording file;
In the temporary storage step (S10), when an event occurs while the temporary recording file is transmitted and stored to the hard disk, data generated from the time of occurrence of the event, while converting the temporary recording file stored on the hard disk to a normal recording file so far Process as a normal recording file, but saves the data generated from the time when the event occurred to the recording time after the event as a normal recording file on the hard disk, and then saves the data generated from the time set as a temporary recording file (S30);
In the temporary storage step (S10) and the event processing step (S30), when the event occurs and saves the data generated from the event occurrence as a normal recording file, when the hard disk space for storing the normal recording file is most When the old normal recording file is deleted to free up space to save a new normal recording file, when the event ends and the set time for saving as a normal recording file elapses, and the temporary recording file is saved again, the space for storing the temporary recording file If this is not enough, the oldest normal recording file is deleted to free up space, and then a new temporary recording file can be stored for a set time, and the temporary recording file is stored in order for the set time and then exceeds the time. Delete the oldest saved temporary recording file while retaining the normal recording file. , The event space securing step such that the new temporary recording files are stored constant (S40);
Event storage of the large-capacity, high-speed storage DB characterized by continuously performing the temporary storage step, the temporary recording section maintenance step, the event processing step, and the event space securing step according to the event occurrence in the DVD device Way.
According to claim 1, wherein in the event processing step (S30), when the event occurs, the temporary recording file stored before the event occurrence time is a temporary file type consisting of a file header unit, a stream information unit, a frame unit, an index unit stored before the event occurrence time If the event occurs, the event storage method of the large-capacity, high-speed storage is characterized in that only the name of the file, the storage location is moved to the location where the normal recording file is stored.
The method according to claim 1, wherein in the event processing step (S30), when a normal recording file is set for a predetermined time from an event occurrence and a new event occurs while being stored in the hard disk, A large-capacity, high-speed event storing method of a DVR, which is characterized by extending the set time so that data generated by the DVR device is additionally stored as a normal recording file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020110141336A KR101171283B1 (en) | 2011-12-23 | 2011-12-23 | Large data, high-speed event recording method of dvr |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020110141336A KR101171283B1 (en) | 2011-12-23 | 2011-12-23 | Large data, high-speed event recording method of dvr |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR101171283B1 true KR101171283B1 (en) | 2012-08-06 |
Family
ID=46887037
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020110141336A Expired - Fee Related KR101171283B1 (en) | 2011-12-23 | 2011-12-23 | Large data, high-speed event recording method of dvr |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR101171283B1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20160111023A (en) * | 2014-01-15 | 2016-09-23 | 아비질론 코포레이션 | Storage management of data streamed from a video source device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004120178A (en) | 2002-09-25 | 2004-04-15 | Mega Chips Corp | Video image recording apparatus |
| JP2007194837A (en) | 2006-01-18 | 2007-08-02 | Victor Co Of Japan Ltd | Monitor camera device |
-
2011
- 2011-12-23 KR KR1020110141336A patent/KR101171283B1/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004120178A (en) | 2002-09-25 | 2004-04-15 | Mega Chips Corp | Video image recording apparatus |
| JP2007194837A (en) | 2006-01-18 | 2007-08-02 | Victor Co Of Japan Ltd | Monitor camera device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20160111023A (en) * | 2014-01-15 | 2016-09-23 | 아비질론 코포레이션 | Storage management of data streamed from a video source device |
| KR102249005B1 (en) * | 2014-01-15 | 2021-05-07 | 아비질론 코포레이션 | Storage management of data streamed from a video source device |
| US11197057B2 (en) | 2014-01-15 | 2021-12-07 | Avigilon Corporation | Storage management of data streamed from a video source device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2004079087A (en) | Recording apparatus and method, recording medium, and program | |
| US10339970B2 (en) | Video recording apparatus with pre-event circulation recording function | |
| US20090047002A1 (en) | Data processing apparatus and data processing method, and computer program | |
| JP5634057B2 (en) | Recording apparatus and recording method | |
| US8818165B2 (en) | Data processing apparatus, data processing method, and computer program | |
| CN111163297A (en) | Method for realizing high concurrency and quick playback of video monitoring cloud storage | |
| KR102135347B1 (en) | Digital video recorder and operation method thereof | |
| KR101171283B1 (en) | Large data, high-speed event recording method of dvr | |
| US8275244B2 (en) | Recording apparatus | |
| US8526796B2 (en) | Network video recorder and method for recording video data in the network video recorder | |
| US20200344300A1 (en) | Managing data | |
| JP2014236344A (en) | Playback device, control method therefor, program and storage medium | |
| KR102557384B1 (en) | Electronic apparatus and control method thereof | |
| US8929723B2 (en) | Recording apparatus, imaging and recording apparatus, recording method, and program | |
| JP5523081B2 (en) | Recording device | |
| US7657700B2 (en) | Recording device, recording-medium-management method, program of recording-medium-management method, and recording medium recording program of recording-medium-management method | |
| JP6436818B2 (en) | Recording apparatus and method | |
| JP5489818B2 (en) | Recording / reproducing apparatus and control method thereof | |
| JP4616396B2 (en) | Recording device | |
| JP5712631B2 (en) | Video recording apparatus and video recording method | |
| JP2010157917A (en) | Imaging apparatus and imaging method | |
| JP2014096194A (en) | Recording device and recording method | |
| JP2017005391A (en) | Recording apparatus and recording apparatus control method | |
| JP2009260862A (en) | Imaging device and method for managing buffer memory | |
| JP2006074315A (en) | Digital video recording method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| A302 | Request for accelerated examination | ||
| PA0302 | Request for accelerated examination |
St.27 status event code: A-1-2-D10-D17-exm-PA0302 St.27 status event code: A-1-2-D10-D16-exm-PA0302 |
|
| D13-X000 | Search requested |
St.27 status event code: A-1-2-D10-D13-srh-X000 |
|
| D14-X000 | Search report completed |
St.27 status event code: A-1-2-D10-D14-srh-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| E13-X000 | Pre-grant limitation requested |
St.27 status event code: A-2-3-E10-E13-lim-X000 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| S20-X000 | Security interest recorded |
St.27 status event code: A-4-4-S10-S20-lic-X000 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| P14-X000 | Amendment of ip right document requested |
St.27 status event code: A-5-5-P10-P14-nap-X000 |
|
| FPAY | Annual fee payment |
Payment date: 20150710 Year of fee payment: 4 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| P14-X000 | Amendment of ip right document requested |
St.27 status event code: A-5-5-P10-P14-nap-X000 |
|
| P14-X000 | Amendment of ip right document requested |
St.27 status event code: A-5-5-P10-P14-nap-X000 |
|
| FPAY | Annual fee payment |
Payment date: 20160729 Year of fee payment: 5 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20170801 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20170801 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |