KR102445798B1 - A System for Storing Multimedia Data and a method therefore - Google Patents

A System for Storing Multimedia Data and a method therefore Download PDF

Info

Publication number
KR102445798B1
KR102445798B1 KR1020200067801A KR20200067801A KR102445798B1 KR 102445798 B1 KR102445798 B1 KR 102445798B1 KR 1020200067801 A KR1020200067801 A KR 1020200067801A KR 20200067801 A KR20200067801 A KR 20200067801A KR 102445798 B1 KR102445798 B1 KR 102445798B1
Authority
KR
South Korea
Prior art keywords
multimedia data
event
directory
directory entry
entry structure
Prior art date
Application number
KR1020200067801A
Other languages
Korean (ko)
Other versions
KR20210150859A (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 KR1020200067801A priority Critical patent/KR102445798B1/en
Priority to JP2021082130A priority patent/JP7311905B2/en
Publication of KR20210150859A publication Critical patent/KR20210150859A/en
Application granted granted Critical
Publication of KR102445798B1 publication Critical patent/KR102445798B1/en

Links

Images

Classifications

    • 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/162Delete operations
    • 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/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • 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/17Details of further file system functions
    • G06F16/1727Details of free space management performed by the file system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 FAT 파일시스템에 멀티미디어 데이터를 저장하는데 있어서, 일반 데이터와 이벤트 데이터를 구분하여 저장하면서 저장공간을 효율적으로 사용할 수 있도록 하는 시스템 및 방법에 관한 것으로, 일반 디렉토리 및 이벤트 디렉토리를 포함하는 FAT 파일시스템에 멀티미디어 데이터를 저장하는 멀티미디어 데이터 저장 시스템에 있어서, 멀티미디어 데이터를 수신하는 멀티미디어 데이터 수신부, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인지 여부를 나타내는 이벤트 정보를 수신하는 이벤트 정보 수신부, FAT 파일시스템의 데이터 영역에 상기 수신한 멀티미디어 데이터를 저장하고, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 포함하는 디렉토리 엔트리 구조를 생성하여 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 일반 데이터 저장부 및 상기 이벤트 정보를 확인하고, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되는 경우, 멀티미디어 데이터를 저장한 파일에 관한 정보를 디렉토리 엔트리 구조로 생성하여, 상기 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 이벤트 데이터 저장부를 포함하는 멀티미디어 데이터 저장 시스템과 그 동작 방법에 관한 것이다.The present invention relates to a system and method for efficiently using a storage space while separately storing general data and event data in storing multimedia data in a FAT file system, and to a FAT file including a general directory and an event directory. A multimedia data storage system for storing multimedia data in a system, comprising: a multimedia data receiving unit for receiving multimedia data; an event information receiving unit for receiving event information indicating whether the multimedia data is multimedia data indicating an event situation; A general data storage unit that stores the received multimedia data in a data area, creates a directory entry structure including information about a file storing the multimedia data, and links to a directory entry structure indicating the general directory, and the event information , and when it is confirmed that the multimedia data is multimedia data indicating an event situation, information about a file storing multimedia data is created in a directory entry structure, and event data for linking to a directory entry structure indicating the event directory The present invention relates to a multimedia data storage system including a storage unit and a method for operating the same.

Description

멀티미디어 데이터 저장 시스템 및 방법{A System for Storing Multimedia Data and a method therefore}A System for Storing Multimedia Data and a method therefore}

본 발명은 멀티미디어 데이터 저장 시스템 및 방법에 관한 것으로, 보다 상세하게는 일반적으로 수신되는 멀티미디어 데이터와 특별한 이벤트 상황의 멀티미디어 데이터를 구분해서 저장하면서도, 저장공간을 효율적으로 사용할 수 있도록 하고, 저장된 데이터를 필요에 따라 손쉽게 조회할 수 있도록 하는 멀티미디어 데이터 저장 시스템 및 방법에 관한 것이다.The present invention relates to a multimedia data storage system and method, and more particularly, to separately store generally received multimedia data and multimedia data in a special event situation, while enabling efficient use of storage space and requiring stored data. It relates to a multimedia data storage system and method for easily inquiring according to

최근 차량용 블랙박스나 CCTV 등 멀티미디어 데이터를 획득하여 저장하는 장치가 널리 사용되고 있다. 특히 이와 같은 장치들의 성능이 향상되어 가면서, 단순히 지속적으로 멀티미디어 데이터를 저장하는데 그치는 것이 아니라, 사고 등의 이상상황이 발생되는지 여부를 인식하여, 이상상황이 발생되는 경우의 이벤트를 감지하여 별도로 저장하였다가 제공하는 경우가 늘어나고 있다.Recently, a device for acquiring and storing multimedia data such as a vehicle black box or CCTV has been widely used. In particular, as the performance of these devices has been improved, it is not just to continuously store multimedia data, but recognizes whether an abnormal situation such as an accident occurs, detects an event when an abnormal situation occurs, and stores it separately. is increasingly being offered.

종래에는 도 1에 도시한 바와 같이, 멀티미디어 데이터를 저장하는 파일시스템을 일반 데이터 영역과 이벤트 데이터 영역으로 구분하고, 지속적으로 수신되는 데이터는 일반 데이터 영역에 저장하고, 이벤트 상황의 데이터는 이벤트 데이터 영역으로 저장하였다.Conventionally, as shown in FIG. 1, the file system for storing multimedia data is divided into a general data area and an event data area, continuously received data is stored in the general data area, and event data is stored in the event data area. saved as

도 1에서 파티션 1이 일반 데이터 영역, 파티션 2가 이벤트 데이터 영역이라고 하면, 이벤트가 자주 발생되지 않아, 이벤트 데이터 영역이 비어있는 경우에도, 일반 데이터 영역이 다 차게 되면, 일반 데이터를 저장하기 위해 일반 데이터의 일부를 삭제해야 하는 문제가 있다.In Fig. 1, if partition 1 is a general data area and partition 2 is an event data area, events do not occur frequently, so even if the event data area is empty, when the general data area is full, it is used to store general data. I have a problem where I need to delete some of the data.

종래기술인 한국등록특허 제10-1858691호, "보안시스템에서 영상 이벤트 감지 및 저장 공간 조정 방법 및 이를 이용한 저장 공간 조정 시스템"은 이와 같이 일반 데이터 영역과 이벤트 데이터 영역을 나누어 저장함으로써 발생되는 비효율성을 줄이기 남은 저장공간에 따라서 이벤트를 감지하는 민감도를 조절하도록 하는 기술이다.The prior art Korean Patent No. 10-1858691, "Method for detecting video events and adjusting storage space in a security system, and a storage space adjustment system using the same," is a method to reduce the inefficiency caused by dividing the general data area and the event data area as described above. It is a technology that adjusts the sensitivity to detect an event according to the remaining storage space.

이와 같은 기술을 적용할 경우, 기존의 방법에 비해서는 효율적으로 저장공간을 활용할 수 있지만, 근본적으로 저장공간을 구분해 두기 때문에 발생되는 비효율성을 해결할 수는 없다. 또한, 저장공간에 따라 이벤트 감지의 민감도를 조정하게 되어, 사용자가 원하는 민감도로 감지하는 것이 어려워질 수 있다.When this technology is applied, the storage space can be used more efficiently compared to the existing method, but the inefficiency caused by fundamentally dividing the storage space cannot be solved. In addition, since the sensitivity of event detection is adjusted according to the storage space, it may be difficult for the user to detect the event with a desired sensitivity.

한국등록특허 제10-1858691호Korean Patent No. 10-1858691

본 발명은 멀티미디어 데이터를 일반 데이터와 이벤트 데이터로 구분하여 저장하면서도, 전체 저장공간을 효율적으로 사용할 수 있도록 하는 것을 목적으로 한다.An object of the present invention is to efficiently use the entire storage space while storing multimedia data by dividing it into general data and event data.

본 발명은 동일한 상황을 일반 데이터와 이벤트 데이터로 동시에 저장하여 일반 데이터 디렉토리 및 이벤트 데이터 디렉토리에서 모두 확인할 수 있도록 하면서도, 저장공간은 추가로 소요되지 않도록 하는 것을 목적으로 한다.An object of the present invention is to save the same situation as general data and event data at the same time so that both can be checked in the general data directory and the event data directory, and no additional storage space is required.

본 발명은 FAT 파일시스템을 활용하여, 저장된 일반 데이터와 이벤트 데이터를 FAT 파일시스템을 지원하는 일반 PC 등의 기기에서도 쉽게 확인할 수 있도록 하는 것을 목적으로 한다.An object of the present invention is to make it easy to check stored general data and event data even in devices such as a general PC supporting the FAT file system by utilizing the FAT file system.

본 발명은 일반 데이터와 이벤트 데이터를 별도의 저장공간으로 구분하여 저장하지 않고도, 정해진 숫자의 이벤트 데이터를 유지하도록 관리할 수 있도록 하는 것을 목적으로 한다.An object of the present invention is to enable management to maintain a predetermined number of event data without dividing and storing general data and event data in separate storage spaces.

이러한 목적을 달성하기 위하여 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템은 일반 디렉토리 및 이벤트 디렉토리를 포함하는 FAT 파일시스템에 멀티미디어 데이터를 저장하는 멀티미디어 데이터 저장 시스템에 있어서, 멀티미디어 데이터를 수신하는 멀티미디어 데이터 수신부, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인지 여부를 나타내는 이벤트 정보를 수신하는 이벤트 정보 수신부, FAT 파일시스템의 데이터 영역에 상기 수신한 멀티미디어 데이터를 저장하고, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 포함하는 디렉토리 엔트리 구조를 생성하여 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 일반 데이터 저장부 및 상기 이벤트 정보를 확인하고, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되는 경우, 멀티미디어 데이터를 저장한 파일에 관한 정보를 디렉토리 엔트리 구조로 생성하여, 상기 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 이벤트 데이터 저장부를 포함하여 구성될 수 있다.In order to achieve this object, a multimedia data storage system according to an embodiment of the present invention is a multimedia data storage system that stores multimedia data in a FAT file system including a general directory and an event directory, and receives multimedia data A receiving unit, an event information receiving unit receiving event information indicating whether the multimedia data is multimedia data indicating an event situation, storing the received multimedia data in a data area of a FAT file system, and storing the multimedia data A general data storage unit linking to the directory entry structure indicating the general directory by creating a directory entry structure including information and checking the event information, and confirming that the multimedia data is multimedia data indicating the event situation, It may be configured to include an event data storage unit for generating information about a file storing data in a directory entry structure and linking to the directory entry structure indicating the event directory.

이 때, 상기 일반 데이터 저장부는 상기 FAT 파일시스템의 저장공간이 부족한 경우, 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 가장 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하고, 선택된 삭제대상 디렉토리 엔트리 구조를 삭제상태로 변환할 수 있다.At this time, when the storage space of the FAT file system is insufficient, the general data storage unit converts the directory entry structure having the oldest creation date among the directory entry structures linked to the directory entry structure representing the general directory as the deletion target directory entry structure. It can be selected, and the selected deletion target directory entry structure can be converted to a deletion state.

또한, 상기 일반 데이터 저장부는 상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조들 중에 상기 삭제대상 디렉토리 엔트리 구조와 동일한 파일을 나타내는 디렉토리 엔트리 구조가 존재하는지 확인하고, 존재하지 않는 경우에만 상기 FAT 파일시스템의 FAT 영역에서, 상기 삭제대상 디렉토리 엔트리 구조가 나타내는 파일에 해당하는 FAT 엔트리를 초기화할 수 있다.In addition, the general data storage unit checks whether a directory entry structure indicating the same file as the deletion target directory entry structure exists among the directory entry structures linked to the event directory, and only if it does not exist, the FAT area of the FAT file system. In , the FAT entry corresponding to the file indicated by the deletion target directory entry structure may be initialized.

또한, 상기 일반 데이터 저장부는 상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조들 중에 상기 삭제대상 디렉토리 엔트리 구조와 동일한 파일을 나타내는 디렉토리 엔트리 구조가 존재하는지 확인하고, 존재하는 경우, 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 다음으로 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택할 수 있다.In addition, the general data storage unit checks whether a directory entry structure indicating the same file as the deletion target directory entry structure exists among the directory entry structures linked to the event directory, and, if present, a directory entry structure indicating the general directory Among the directory entry structures linked to , the directory entry structure with the next oldest creation date can be selected as the deletion target directory entry structure.

또한, 상기 이벤트 데이터 저장부는 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되고, 상기 이벤트 디렉토리에 저장된 파일의 개수가 소정의 임계치를 초과하는 경우, 상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조 중 생성일시가 가장 오래된 파일을 나타내는 디렉토리 엔트리 구조를 삭제상태로 변환할 수 있다.In addition, when the event data storage unit confirms that the multimedia data is multimedia data representing an event situation, and the number of files stored in the event directory exceeds a predetermined threshold, a directory entry structure linked to the event directory is generated. The directory entry structure representing the file with the oldest date and time can be converted to the deleted state.

본 발명에 따르면 멀티미디어 데이터를 일반 데이터와 이벤트 데이터로 구분하여 저장하면서도, 전체 저장공간을 효율적으로 사용할 수 있도록 한다.According to the present invention, it is possible to efficiently use the entire storage space while storing multimedia data by dividing it into general data and event data.

본 발명에 따르면 동일한 상황을 일반 데이터와 이벤트 데이터로 동시에 저장하여 일반 데이터 디렉토리 및 이벤트 데이터 디렉토리에서 모두 확인할 수 있도록 하면서도, 저장공간은 추가로 소요되지 않도록 할 수 있다.According to the present invention, the same situation can be simultaneously stored as general data and event data so that both can be checked in the general data directory and the event data directory, and additional storage space is not required.

본 발명에 따르면 FAT 파일시스템을 활용하여, 저장된 일반 데이터와 이벤트 데이터를 FAT 파일시스템을 지원하는 일반 PC 등의 기기에서도 쉽게 확인할 수 있도록 할 수 있다.According to the present invention, by utilizing the FAT file system, it is possible to easily check the stored general data and event data even in a device such as a general PC supporting the FAT file system.

본 발명에 따르면 일반 데이터와 이벤트 데이터를 별도의 저장공간으로 구분하여 저장하지 않고도, 정해진 숫자의 이벤트 데이터를 유지하도록 관리할 수 있다.According to the present invention, it is possible to manage to maintain a predetermined number of event data without dividing and storing general data and event data in separate storage spaces.

도 1은 종래 기술에 따른 일반 데이터 및 이벤트 데이터 저장시의 파일시스템 구조를 나타내는 도면이다.
도 2는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템의 구성도를 도시한 도면이다.
도 3은 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 일반 데이터 및 이벤트 데이터를 저장하는 경우의 FAT 파일시스템의 데이터 영역의 일례를 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 일반데이터 저장 중 저장공간이 부족한 경우의 FAT 파일시스템의 데이터 영역의 일례를 도시한 도면이다.
도 5는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 일반데이터 저장 중 저장공간이 부족한 경우의 FAT 파일시스템의 데이터 영역의 다른 실시예를 도시한 도면이다.
도 6은 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 이벤트 데이터 저장 중 이벤트 데이터의 개수가 소정의 임계치를 초과하는 경우 FAT 파일시스템의 데이터 영역의 일례를 도시한 도면이다.
도 7은 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 방법의 흐름을 도시한 흐름도이다.
1 is a diagram illustrating a file system structure when general data and event data are stored according to the prior art.
2 is a diagram showing the configuration of a multimedia data storage system according to an embodiment of the present invention.
3 is a diagram illustrating an example of a data area of a FAT file system when general data and event data are stored in a multimedia data storage system according to an embodiment of the present invention.
4 is a diagram illustrating an example of a data area of a FAT file system when a storage space is insufficient during general data storage in a multimedia data storage system according to an embodiment of the present invention.
5 is a diagram illustrating another embodiment of a data area of a FAT file system when a storage space is insufficient during general data storage in a multimedia data storage system according to an embodiment of the present invention.
6 is a diagram illustrating an example of a data area of a FAT file system when the number of event data exceeds a predetermined threshold value during event data storage in the multimedia data storage system according to an embodiment of the present invention.
7 is a flowchart illustrating a flow of a method for storing multimedia data according to an embodiment of the present invention.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략하기로 한다. 또한 본 발명의 실시예들을 설명함에 있어 구체적인 수치는 실시예에 불과하며 이에 의하여 발명의 범위가 제한되지 아니한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. 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. In addition, in describing the embodiments of the present invention, specific numerical values are merely examples and the scope of the invention is not limited thereby.

본 발명에 따른 멀티미디어 데이터 저장 시스템은 중앙처리장치(CPU) 및 메모리(Memory, 기억장치)를 구비하고 인터넷 등의 통신망을 통하여 다른 단말기와 연결 가능한 서버의 형태로 구성될 수 있다. 그러나 본 발명이 중앙처리장치 및 메모리 등의 구성에 의해 한정되지는 아니한다. 또한, 본 발명에 따른 멀티미디어 데이터 저장 시스템은 블랙박스 또는 CCTV 등의 영상데이터 획득 장치의 내부 시스템으로 포함될 수 있으며, 이와 같은 장치와 별도로 동작하는 것도 가능하다. 이와 같은 물리적인 구성에 의하여 본 발명이 한정되지는 아니한다.The multimedia data storage system according to the present invention may be configured in the form of a server including a central processing unit (CPU) and a memory (Memory) and connectable to other terminals through a communication network such as the Internet. However, the present invention is not limited by the configuration of the central processing unit and the memory. In addition, the multimedia data storage system according to the present invention may be included as an internal system of an image data acquisition device such as a black box or CCTV, and it is also possible to operate separately from such a device. The present invention is not limited by such a physical configuration.

도 2는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템의 구성도를 도시한 도면이다.2 is a diagram showing the configuration of a multimedia data storage system according to an embodiment of the present invention.

본 발명에 따른 멀티미디어 데이터 저장 시스템(201)은 카메라, 마이크 등의 멀티미디어 획득장치(202)로부터 수신되는 멀티미디어 데이터를 FAT 파일시스템(203)에 저장하도록 제어하는 시스템으로, 멀티미디어 데이터 수신부(210), 이벤트 정보 수신부(220), 일반 데이터 저장부(230) 및 이벤트 데이터 저장부(240)를 포함할 수 있다. 이와 같은 구성요소들은 하드웨어로 구현되거나 소프트웨어로 구현되어 하드웨어 상에서 동작하도록 할 수 있으며, 각각 논리적 또는 물리적으로 구분될 수도 있고, 기능적으로 각각의 역할을 수행하며, 논리적 또는 물리적으로 결합된 형태로 구성될 수도 있다.The multimedia data storage system 201 according to the present invention is a system that controls to store multimedia data received from a multimedia acquisition device 202 such as a camera and a microphone in a FAT file system 203, and includes a multimedia data receiving unit 210, It may include an event information receiving unit 220 , a general data storage unit 230 , and an event data storage unit 240 . Such components may be implemented as hardware or software to operate on hardware, may be logically or physically separated from each other, perform each function functionally, and may be configured in a logically or physically coupled form. may be

본 발명에 따른 멀티미디어 데이터 저장 시스템(201)은 일반 디렉토리 및 이벤트 디렉토리를 포함하는 FAT 파일시스템(203)에 멀티미디어 데이터를 저장하기 위한 장치로, 앞서 설명한 바와 같이, 일반 디렉토리는 지속적으로 수신되는 멀티미디어 데이터를 저장하기 위한 디렉토리이고, 이벤트 디렉토리는 사고 등의 이벤트 상황 발생시 해당 이벤트 상황에 관련된 멀티미디어 데이터를 저장하기 위한 디렉토리이다. 여기서 이벤트 상황이라고 하는 것은 블랙박스의 경우 충격 등이 가해진 충돌상황을 의미할 수 있으며, 보안용 CCTV 등에서는 영상 내에 사람의 움직임 등이 포착되거나 위험지역에 물체가 포착되는 경우 등을 포함할 수 있는데, 이는 장치의 특성에 따라 달라질 수 있으며, 일반적인 상황과 구별하여 사용자가 쉽게 확인할 수 있도록 해야 하는 상황이라면, 이벤트 상황이 어떤 상황인지에 따라 본 발명이 제한되지는 않는다.The multimedia data storage system 201 according to the present invention is a device for storing multimedia data in a FAT file system 203 including a general directory and an event directory. As described above, the general directory is continuously received multimedia data is a directory for storing , and the event directory is a directory for storing multimedia data related to a corresponding event situation when an event situation such as an accident occurs. In the case of a black box, the event situation may mean a collision situation in which an impact is applied, and in the case of a security CCTV, etc. , this may vary depending on the characteristics of the device, and if it is a situation that needs to be easily identified by the user by distinguishing it from a general situation, the present invention is not limited according to the event situation.

FAT 파일시스템은 하드디스크, SSD, 플래시 메모리 등의 저장매체에 파일을 저장하고 읽을 수 있도록 관리하는 시스템을 의미한다. FAT 파일시스템은 FAT 영역과 데이터 영역으로 구분된다. FAT 영역은 데이터 영역의 저장단위인 클러스터 중 어떤 클러스터가 특정 파일의 저장에 사용되는지를 나타낼 수 있는 영역이다. 특정 클러스터가 비어 있는 경우에는 해당 클러스터에 해당하는 FAT 영역은 초기값이 저장되어 있고, 데이터가 저장되어 있는 경우에는 해당 클러스터의 다음 클러스터의 위치를 나타내는 값이 저장될 수 있다.The FAT file system refers to a system that manages to store and read files in storage media such as hard disks, SSDs, and flash memories. The FAT file system is divided into a FAT area and a data area. The FAT area is an area that can indicate which cluster is used to store a specific file among clusters that are storage units of the data area. When a specific cluster is empty, an initial value is stored in the FAT area corresponding to the corresponding cluster, and when data is stored, a value indicating the location of the next cluster of the corresponding cluster may be stored.

데이터 영역은 실제 데이터가 저장되는 영역인데, 데이터뿐 아니라, 디렉토리(폴더)에 관한 정보, 파일에 관한 정보를 "디렉토리 엔트리 구조"라는 구조체에 저장하여 탐색할 수 있도록 한다.The data area is an area where actual data is stored, and information about directories (folders) and files as well as data are stored in a structure called "directory entry structure" so that it can be searched.

FAT 파일시스템은 표준화된 시스템이므로, FAT 파일시스템의 구조에 따라 데이터를 기록하게 되면 해당 데이터를 기록한 장치뿐 아니라, 윈도우 등 FAT 파일시스템을 지원하는 다른 장치에서도 저장된 데이터를 조회하여 읽을 수 있게 된다. 본 발명에서는 FAT 파일시스템의 구조에 맞춰 데이터를 저장하기 때문에, 저장된 데이터를 다른 장치에서 용이하게 확인할 수 있다.Since the FAT file system is a standardized system, if data is recorded according to the structure of the FAT file system, the stored data can be retrieved and read from not only the device that recorded the data but also other devices that support the FAT file system, such as Windows. In the present invention, since data is stored according to the structure of the FAT file system, the stored data can be easily checked in other devices.

멀티미디어 데이터 수신부(210)는 멀티미디어 데이터를 수신한다. 멀티미디어 데이터는 일반적으로 영상 또는 오디오 데이터 또는 이 둘이 결합된 데이터 등의 다양한 형태를 포함할 수 있다. 멀티미디어 데이터는 멀티미디어 획득장치(202)로부터 멀티미디어 데이터를 수신하는데, 멀티미디어 획득장치(202)는 영상 데이터인 경우에는 카메라, 오디오 데이터인 경우에는 마이크 등이 될 수 있으며, 이를 결합하거나, 이들의 데이터를 저장할 수 있도록 전처리하는 기능 등을 포함하는 별도의 장치일 수도 있고, 멀티미디어 데이터 저장 시스템(201)과 동일한 장치 내에 포함되는 장치일 수도 있다.The multimedia data receiving unit 210 receives multimedia data. In general, multimedia data may include various forms such as image or audio data or data combined with both. The multimedia data receives the multimedia data from the multimedia acquisition device 202, and the multimedia acquisition device 202 may be a camera in the case of image data, a microphone, etc. in the case of audio data, combining them, or using these data It may be a separate device including a function of pre-processing so that it can be stored, or it may be a device included in the same device as the multimedia data storage system 201 .

멀티미디어 데이터 수신부(210)는 수신되는 멀티미디어 데이터를 저장할 수 있는 형태로 부호화하는 등의 가공을 처리할 수 있는데, 이와 같은 기능의 유무에 따라서 본 발명이 제한되지는 않는다.The multimedia data receiving unit 210 may process processing such as encoding the received multimedia data in a form capable of storing it, but the present invention is not limited according to the presence or absence of such a function.

이벤트 정보 수신부(220)는 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인지 여부를 나타내는 이벤트 정보를 수신한다. 앞서 설명한 바와 같이 이벤트 상황은 사고상황 또는 이상상황 등 본 발명의 멀티미디어 데이터 저장 시스템(201)이 적용되는 응용분야에 따라서 달라질 수 있는데, 도면에서와 같이 이와 같은 이벤트 정보는 멀티미디어 획득장치(202)로부터 수신할 수 있으며, 다양한 형태로 확보 가능하다.The event information receiving unit 220 receives event information indicating whether the multimedia data is multimedia data indicating an event situation. As described above, the event situation may vary depending on the application field to which the multimedia data storage system 201 of the present invention is applied, such as an accident situation or an abnormal situation. It can be received and can be secured in various forms.

이벤트 정보 수신부(220)에서 수신하는 이벤트 정보는 차량용 블랙박스에서 충격을 감지하는 경우 충격 감지 센서로부터 수신된 정보일 수 있고, 지능형 CCTV와 같이 영상 내에 특정 상황이 벌어지게 되면 이벤트 상화으로 인식하는 경우라면, 획득된 멀티미디어 영상을 분석한 결과일 수 있다. 이와 같은 멀티미디어 영상의 분석을 위해 인공지능(AI) 기술 등이 적용될 수 있으며, 이와 같이 이벤트 상황을 감지하는 구체적인 방법은 본 발명의 권리화 대상이 아니다.The event information received from the event information receiver 220 may be information received from a shock detection sensor when the vehicle black box detects an impact, and when a specific situation occurs in the image, such as an intelligent CCTV, it is recognized as an event image If so, it may be a result of analyzing the acquired multimedia image. Artificial intelligence (AI) technology, etc. may be applied to the analysis of such a multimedia image, and a specific method of detecting an event situation as described above is not subject to rightsization of the present invention.

일반 데이터 저장부(230)는 FAT 파일시스템(203)의 데이터 영역에 상기 수신한 멀티미디어 데이터를 저장하고, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 포함하는 디렉토리 엔트리 구조를 생성하여 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시킨다.The general data storage unit 230 stores the received multimedia data in the data area of the FAT file system 203, and creates a directory entry structure including information about the file storing the multimedia data to create the general directory. Link to the directory entry structure indicated.

일반 데이터 저장부(230)에서 멀티미디어 데이터를 저장하는 FAT 파일시스템(203)은 앞서 설명한 바와 같이, FAT 영역과 데이터 영역으로 구분되는데, 데이터 영역은 실제 데이터를 파일 형태로 저장하도록 하며, 해당 파일의 속성을 나타내는 정보와 파일이 저장되는 디렉토리를 나타내는 정보를 디렉토리 엔트리 구조라는 32 바이트 크기의 구조체로 저장할 수 있다.As described above, the FAT file system 203 for storing multimedia data in the general data storage unit 230 is divided into a FAT area and a data area. The data area stores actual data in the form of a file, and Information indicating attributes and information indicating a directory in which a file is stored can be stored in a 32-byte structure called a directory entry structure.

디렉토리 엔트리 구조는 파일의 명칭, 파일의 데이터가 저장되는 시작 클러스터의 위치와 파일의 생성일자 등의 속성에 관한 정보를 포함하는데, 디렉토리를 나타내는 경우에는 시작 클러스터의 위치가 나타내는 클러스터에는 해당 디렉토리에 속하는 하위 디렉토리 또는 파일을 나타내는 디렉토리 엔트리 구조가 저장되어 있으며, 파일의 경우에는 해당 파일의 실제 데이터가 저장되게 된다.The directory entry structure includes information on attributes such as the name of the file, the location of the start cluster where the data of the file is stored, and the file creation date. A directory entry structure indicating a subdirectory or file is stored, and in the case of a file, the actual data of the file is stored.

일반 데이터 저장부(230)에서 FAT 파일시스템에 멀티미디어 데이터를 파일로 저장하게 되면, 해당 파일을 나타내는 디렉토리 엔트리 구조를 생성하여, 일반 디렉토리를 나타내는 디렉토리 엔트리 구조의 하위에 위치하도록 저장하고, 실제 멀티미디어 데이터는 생성된 디렉토리 엔트리 구조가 가리키는 시작 클러스터 위치에 저장하게 된다. 저장되는 파일의 데이터가 1개의 클러스터를 초과하게 되면, 비어있는 다른 클러스터에 저장하게 되는데, 이와 같이 어떤 파일의 데이터가 어떤 클러스터에 저장되는지를 나타내기 위해 FAT 파일시스템의 FAT 영역이 사용된다.When the general data storage unit 230 stores multimedia data in the FAT file system as a file, a directory entry structure indicating the file is created and stored so as to be located below the directory entry structure indicating the general directory, and the actual multimedia data is stored in the starting cluster location pointed to by the created directory entry structure. When the data of the file to be saved exceeds one cluster, it is stored in another empty cluster. In this way, the FAT area of the FAT file system is used to indicate which file data is stored in which cluster.

일반 데이터 저장부(230)에서 FAT 시스템에 멀티미디어 데이터를 파일로 저장할 때, FAT 파일시스템의 저장공간이 부족한 경우에는 일반 데이터를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 가장 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택한다.When the general data storage unit 230 stores multimedia data in the FAT system as a file, if the storage space of the FAT file system is insufficient, the directory having the oldest creation date and time among the directory entry structures linked to the directory entry structure representing general data. Select the entry structure as the deletion target directory entry structure.

일반 데이터 저장부(230)에서는 즉, 데이터 구조 큐(QUEUE)와 같이 가장 먼저 입력된 데이터를 삭제하고 새로운 데이터를 저장하도록 함으로써, 최신의 데이터들을 유지하도록 할 수 있다.The general data storage unit 230 may maintain the latest data by deleting the first input data such as the data structure queue QUEUE and storing new data.

FAT 파일시스템에서 파일을 삭제하게 되면, FAT 파일시스템의 FAT 영역에서 해당 파일의 데이터가 저장된 클러스터를 나타내는 부분이 초기화된다. 이와 같이 초기화할 경우, 해당 클러스터가 비어있는 것으로 확인되므로, 새로운 데이터를 저장할 때, 해당 클러스터에 데이터를 기록할 수 있게 된다.When a file is deleted from the FAT file system, the part representing the cluster in which the data of the file is stored in the FAT area of the FAT file system is initialized. When initializing in this way, since the corresponding cluster is confirmed to be empty, when new data is stored, data can be recorded in the corresponding cluster.

이벤트 데이터 저장부(240)는 상기 이벤트 정보를 확인하고, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되는 경우, 상기 일반 데이터 저장부(230)에서 멀티미디어 데이터를 저장한 파일에 관한 정보를 디렉토리 엔트리 구조로 생성하여, 상기 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시킨다.The event data storage unit 240 checks the event information, and when it is confirmed that the multimedia data is multimedia data representing an event situation, information about a file in which the multimedia data is stored in the general data storage unit 230 is stored. A directory entry structure is created and linked to a directory entry structure representing the event directory.

이벤트 데이터 저장부(240)는 이와 같이 멀티미디어 데이터를 별도의 파일로 생성하여 저장공간을 차지하도록 저장하는 것이 아니라, 일반 데이터 저장부(230)에서 저장한 파일이 저장된 시작 클러스터 정보를 포함하도록 디렉토리 엔트리 구조를 생성하고, 이를 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시킨다. 이와 같은 방법을 통해 멀티미디어 데이터 수신부(210)에서 수신된 하나의 멀티미디어 데이터만이 저장되면서도, 일반 상황인 경우에는 일반 디렉토리에서 조회될 수 있도록 저장되고, 이벤트 상황인 경우에는 일반 디렉토리 및 이벤트 디렉토리에서 조회될 수 있도록 저장된다.The event data storage unit 240 does not generate the multimedia data as a separate file and store it to occupy storage space, but a directory entry in which the file stored in the general data storage unit 230 includes the stored start cluster information. Create a structure and link it to a directory entry structure representing the event directory. In this way, while only one multimedia data received from the multimedia data receiving unit 210 is stored, it is stored so that it can be searched in the general directory in the case of a general situation, and is searched in the general directory and the event directory in the case of an event situation. stored so that it can be

즉, 동일한 내용의 멀티미디어 데이터를 중복 저장하거나, 별도의 구분된 파티션에 나누어 저장하지 않고도, 사용자는 이벤트 상황의 멀티미디어 데이터만을 쉽게 조회할 수 있게 된다. 종래에는 이벤트 데이터를 이벤트 파티션에 따로 저장하기 때문에, 공간을 효율적으로 쓸 수도 없었으며, 일반 디렉토리를 보면 이벤트 상황의 멀티미디어 데이터는 빠지도록 구현되어, 순차적으로 획득된 멀티미디어 데이터를 확인하기에 어려움이 있었는데, 본 발명에 따르면, 일반 데이터도 빠짐없이 순차적으로 확인하면서도, 별도의 저장공간이 없이도, 이벤트 상황의 멀티미디어 데이터만을 쉽게 조회할 수 있게 된다.That is, the user can easily inquire only the multimedia data of the event situation without redundantly storing the multimedia data of the same content or storing the multimedia data in separate partitions. Conventionally, since the event data is stored separately in the event partition, the space could not be used efficiently, and if you look at the general directory, the multimedia data of the event situation is implemented so that it is difficult to check the sequentially acquired multimedia data. , according to the present invention, it is possible to easily inquire only the multimedia data of the event situation without a separate storage space while sequentially checking the general data without omission.

이벤트 데이터 저장부(240)에서 이와 같이 이벤트 상황에 대한 멀티미디어 데이터는 이벤트 디렉토리에 속하는 디렉토리 엔트리 구조를 추가로 생성하게 되기 때문에, 일반 데이터 저장부(230)에서 저장공간 부족으로 인해 과거 데이터를 삭제할 경우, 해당 데이터가 이벤트 상황의 멀티미디어 데이터인지 여부를 확인할 필요가 있다. 만일 이를 확인하지 않고 삭제하게 되면, 실제 파일의 내용은 삭제되었는데도 이벤트 데이터 저장부(240)에서 생성한 디렉토리 엔트리 구조가 존재하여, 이벤트 디렉토리의 파일 리스트에서만 확인되고 내용은 볼 수 없는 상황이 발생될 수 있다.Since the event data storage unit 240 additionally creates a directory entry structure pertaining to the event directory, the multimedia data for the event situation is deleted due to lack of storage space in the general data storage unit 230. , it is necessary to check whether the corresponding data is multimedia data of the event situation. If it is deleted without checking it, even though the actual file contents are deleted, the directory entry structure created by the event data storage unit 240 exists, so that a situation may occur that is only checked in the file list of the event directory and the contents cannot be viewed. can

따라서, 일반 데이터 저장부(230)에서는 FAT 파일시스템의 저장공간이 부족한 경우, 삭제대상 엔트리 구조를 삭제상태로 변환하고, 실제 파일을 나타내는 FAT 영역을 초기화하기 전에, 이벤트 디렉토리에 속하는 디렉토리 엔트리 구조 중 삭제대상 디렉토리 엔트리 구조가 가리키는 파일을 가리키고 있는 디렉토리 엔트리 구조가 존재하는지 확인할 필요가 있으며, 존재하지 않는 경우에만 해당 FAT 영역을 초기화하여 실제 파일을 삭제하도록 할 수 있다. 만일 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조가 존재하는 경우라면, 실제 파일이 삭제되지 않아 저장공간이 확보되지 않은 경우이므로, 그 다음으로 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하여, 추가 삭제를 통해 실제 데이터 저장공간을 확보할 필요가 있다.Accordingly, when the storage space of the FAT file system is insufficient, the general data storage unit 230 converts the deletion target entry structure to the deleted state, and before initializing the FAT area representing the actual file, among the directory entry structures belonging to the event directory. It is necessary to check whether the directory entry structure pointing to the file pointed to by the deletion target directory entry structure exists, and only if it does not exist, the actual file can be deleted by initializing the FAT area. If there is a directory entry structure linked to the event directory, storage space is not secured because the actual file is not deleted. It is necessary to secure actual data storage space through

이벤트 데이터 저장부(240)는 이벤트 디렉토리의 파일의 개수의 제한을 나타내는 임계치를 저장하고 있다가, 멀티미디어 데이터가 이벤트 상황을 나타내는 데이터인 것으로 확인되어, 이벤트 디렉토리에 링크되는 디렉토리 엔트리 구조를 생성하게 되는 경우, 이벤트 디렉토리의 파일 수를 확인하고, 상기 임계치를 초과하게 되면, 생성일시가 가장 오래된 파일을 나타내는 디렉토리 엔트리 구조를 삭제상태로 변환한다. 이 때, FAT 영역을 초기화하게 되면, 일반 디렉토리에서 해당 파일 조회가 안되기 때문에, 일반 디렉토리에 해당 파일에 대한 디렉토리 엔트리 구조가 존재하는지 확인할 필요가 있다.The event data storage unit 240 stores a threshold value indicating the limit of the number of files in the event directory, and it is confirmed that the multimedia data is data indicating the event situation, thereby creating a directory entry structure linked to the event directory. In this case, the number of files in the event directory is checked, and when the threshold is exceeded, the directory entry structure indicating the file with the oldest creation date and time is converted to a deleted state. At this time, when the FAT area is initialized, since the file cannot be searched in the general directory, it is necessary to check whether a directory entry structure for the file exists in the general directory.

도 3은 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 일반 데이터 및 이벤트 데이터를 저장하는 경우의 FAT 파일시스템의 데이터 영역의 일례를 도시한 도면이다.3 is a diagram illustrating an example of a data area of a FAT file system when general data and event data are stored in a multimedia data storage system according to an embodiment of the present invention.

본 발명에 따르면, 입력된 멀티미디어 데이터가 이벤트 상황의 멀티미디어 데이터가 아닌 경우, 도면의 일반파일 1, 일반파일 3, 일반파일 5, 일반파일 7 및 8의 경우와 같이, 일반 디렉토리에 링크된 디렉토리 엔트리 구조에서만 해당 파일의 데이터를 가리키도록 구성되며, 이벤트 상황의 멀티미디어 데이터에 해당하는 일반파일 2, 일반파일 4, 일반파일 6의 경우는 각각 이벤트 파일 1, 이벤트 파일 2, 이벤트 파일 3도 동일한 파일을 가리키는 디렉토리 엔트리 구조가 생성되어 이벤트 디렉토리에 연결되도록 한다.According to the present invention, when the input multimedia data is not the multimedia data of the event situation, as in the case of general file 1, general file 3, general file 5, general file 7 and 8 of the drawing, a directory entry linked to a general directory It is configured to point to the data of the file only in the structure, and in the case of general file 2, general file 4, and general file 6 corresponding to multimedia data of event situation, event file 1, event file 2, and event file 3 are the same file, respectively. A directory entry structure pointing to is created and linked to the event directory.

따라서, 이벤트 상황이 아닌 일반상황의 파일들만 저장한 경우 비교하여 이벤트 상황의 파일들을 별도의 디렉토리에서 보여주면서도, 저장공간을 추가로 확보하거나, 별도의 파티션에 나누어 저장할 필요가 없게 되어 저장공간을 효율적으로 쓸 수 있게 된다.Therefore, it is not necessary to secure additional storage space or to divide and store the files in a separate partition while showing the files of the event situation in a separate directory by comparing them when only files of the general situation are saved, not the event situation. can be written as

또한, FAT 파일시스템의 규격을 따르기 때문에, 본 발명에 따르는 멀티미디어 데이터 저장 시스템(201)에서만 이와 같이 구분되어 보여지는 것이 아니라, PC, 스마트폰 등의 다른 기기에 해당 FAT 파일시스템의 저장매체를 연결하여 확인할 경우에도 일반 디렉토리에서 순차적으로 저장된 일반 파일들을 확인할 수 있고, 이벤트 디렉토리에서 이벤트 상황을 나타내는 파일들을 확인할 수 있다.In addition, since it follows the standard of the FAT file system, it is not divided and shown only in the multimedia data storage system 201 according to the present invention, but the storage medium of the FAT file system is connected to other devices such as a PC or a smart phone. Even if you check by doing this, you can check the general files stored sequentially in the general directory, and you can check the files representing the event status in the event directory.

도 4는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 일반데이터 저장 중 저장공간이 부족한 경우의 FAT 파일시스템의 데이터 영역의 일례를 도시한 도면이다.4 is a diagram illustrating an example of a data area of a FAT file system when a storage space is insufficient during general data storage in a multimedia data storage system according to an embodiment of the present invention.

도면에 도시된 것처럼, FAT 파일시스템의 전체 저장공간을 다 활용하였는데, 추가로 멀티미디어 데이터를 저장해야 하는 경우, 가장 오래된 멀티미디어 데이터를 삭제하고 그 자리에 새로운 멀티미디어 데이터를 저장하게 된다.As shown in the figure, the entire storage space of the FAT file system is fully utilized, and when additional multimedia data needs to be stored, the oldest multimedia data is deleted and new multimedia data is stored in its place.

따라서, 도면에서 가장 오래된 파일인 일반파일 1을 삭제하고, 새로운 파일인 일반파일 11을 저장하게 된다. 이 때, 일반파일 1의 경우는 이벤트 상황을 나타내는 것이 아니기 때문에, 이벤트 디렉토리에서 해당 데이터를 가리키는 디렉토리 엔트리 구조가 존재하지 않으므로, 해당 파일을 삭제하는데 문제가 없다.Accordingly, general file 1, which is the oldest file in the drawing, is deleted, and a new file, general file 11, is stored. At this time, since the general file 1 does not indicate the event status, there is no directory entry structure pointing to the corresponding data in the event directory, so there is no problem in deleting the corresponding file.

도 5는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 일반데이터 저장 중 저장공간이 부족한 경우의 FAT 파일시스템의 데이터 영역의 다른 실시예를 도시한 도면이다.5 is a diagram illustrating another embodiment of a data area of a FAT file system when a storage space is insufficient during general data storage in a multimedia data storage system according to an embodiment of the present invention.

도면에 도시한 바와 같이, 추가로 멀티미디어 데이터를 저장하고자 하는데 저장공간이 부족한 경우, 일반파일 2에 해당하는 파일을 삭제하여 저장공간을 확보해야 하는데, 이 때, 일반파일 2가 가리키는 데이터는 이벤트파일 1에 연결되어 있다. 따라서, 일반파일 2가 가리키는 실제 데이터도 함께 삭제하게 되면, 이벤트파일 1은 리스트에서만 조회되지만 실제 데이터는 정상 데이터가 존재하지 않게 되는 문제가 생길 수 있다.As shown in the drawing, if the storage space is insufficient to additionally store multimedia data, it is necessary to secure storage space by deleting the file corresponding to the general file 2, in this case, the data pointed to by the general file 2 is the event file. connected to 1. Therefore, if the actual data indicated by the general file 2 is also deleted, the event file 1 is searched only in the list, but there may be a problem in that the normal data does not exist in the actual data.

따라서, 이 경우에는 일반파일 2의 디렉토리 엔트리 구조는 삭제상태로 변환하더라도 실제 해당 파일이 저장된 클러스터를 나타내는 FAT 영역을 초기화하지는 않도록 함으로써, 이벤트 디렉토리의 이벤트파일 2로 접근이 가능하도록 한다.Therefore, in this case, even if the directory entry structure of the general file 2 is converted to the deleted state, the FAT area indicating the cluster in which the corresponding file is actually stored is not initialized, so that the event file 2 of the event directory can be accessed.

이렇게 되면, 실제로 저장공간의 추가 확보는 어렵기 때문에, 일반파일 3에 해당하는 파일을 확인하고, 이벤트 디렉토리에 연결되지 않았으므로, 이 파일의 실제 데이터를 삭제하여 저장공간을 확보할 수 있다.In this case, since it is difficult to actually secure additional storage space, check the file corresponding to general file 3, and since it is not connected to the event directory, you can secure storage space by deleting the actual data of this file.

도 6는 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 시스템에서 이벤트 데이터 저장 중 이벤트 데이터의 개수가 소정의 임계치를 초과하는 경우 FAT 파일시스템의 데이터 영역의 일례를 도시한 도면이다.6 is a diagram illustrating an example of a data area of a FAT file system when the number of event data exceeds a predetermined threshold value during event data storage in the multimedia data storage system according to an embodiment of the present invention.

이벤트 파일을 저장할 수 있는 개수가 3개로 정해져 있는 경우, 일반파일 9 및 이벤트파일 4에 해당하는 데이터를 저장하게 되면, 이벤트 파일이 4개가 되어 기준치를 초과하게 된다. 따라서, 이벤트 파일 중 생성일시가 가장 오래된 것을 삭제하게 되는데, 이 경우, 이벤트파일 1이 가리키는 데이터는 일반파일 2에 의해서도 연결되어 있기 때문에, 실제 해당 데이터를 가리키는 FAT 영역을 초기화하지는 않고, 이벤트파일 1의 디렉토리 엔트리 구조만 삭제상태로 변환함으로써, 이벤트 디렉토리에서는 3개의 이벤트 파일만 조회할 수 있도록 할 수 있다. 이를 통해 이벤트 파일의 개수를 필요에 따라 정해진 개수로 유지하는 것이 가능하다.When the number of event files that can be stored is set to 3, when data corresponding to the general file 9 and the event file 4 are stored, the number of event files becomes 4 and exceeds the reference value. Therefore, one of the event files with the oldest creation date is deleted. By converting only the directory entry structure of , to the deleted state, it is possible to search only 3 event files in the event directory. Through this, it is possible to maintain the number of event files at a predetermined number as needed.

도 7은 본 발명의 일실시예에 따른 멀티미디어 데이터 저장 방법의 흐름을 도시한 흐름도이다.7 is a flowchart illustrating a flow of a method for storing multimedia data according to an embodiment of the present invention.

이상에서 설명한 멀티미디어 데이터 저장 시스템(201)은 멀티미디어 데이터 저장 방법으로 구현되어 실현될 수 있으며, 멀티미디어 데이터 저장 시스템(201)의 기술적인 사상들을 그대로 적용할 수 있다. 따라서, 이하에서 설명된 내용이 아니더라도, 멀티미디어 데이터 저장 시스템(201)에서 설명된 기술적 사상은 멀티미디어 데이터 저장 방법에 그대로 적용이 가능하다.The multimedia data storage system 201 described above can be implemented and realized as a multimedia data storage method, and the technical ideas of the multimedia data storage system 201 can be applied as it is. Accordingly, although not described below, the technical ideas described in the multimedia data storage system 201 can be directly applied to the multimedia data storage method.

멀티미디어 데이터 저장 방법은 중앙처리장치와 메모리를 구비하고, 일반 디렉토리 및 이벤트 디렉토리를 포함하는 FAT 파일시스템에 멀티미디어 데이터를 저장하기 위한 멀티미디어 데이터 저장 시스템(201)의 동작방법을 나타낸 것이다.The multimedia data storage method shows an operating method of the multimedia data storage system 201 for storing multimedia data in a FAT file system including a general directory and an event directory having a central processing unit and a memory.

멀티미디어 데이터 수신 단계(S701)에서는 멀티미디어 데이터를 수신한다. 멀티미디어 데이터는 일반적으로 영상 또는 오디오 데이터 또는 이 둘이 결합된 데이터 등의 다양한 형태를 포함할 수 있다. 멀티미디어 데이터는 멀티미디어 획득장치(202)로부터 멀티미디어 데이터를 수신하는데, 멀티미디어 획득장치(202)는 영상 데이터인 경우에는 카메라, 오디오 데이터인 경우에는 마이크 등이 될 수 있으며, 이를 결합하거나, 이들의 데이터를 저장할 수 있도록 전처리하는 기능 등을 포함하는 별도의 장치일 수도 있고, 멀티미디어 데이터 저장 시스템(201)과 동일한 장치 내에 포함되는 장치일 수도 있다.In the multimedia data receiving step (S701), multimedia data is received. In general, multimedia data may include various forms such as image or audio data or data combined with both. The multimedia data receives the multimedia data from the multimedia acquisition device 202, and the multimedia acquisition device 202 may be a camera in the case of image data, a microphone, etc. in the case of audio data, combining them, or using these data It may be a separate device including a function of pre-processing so that it can be stored, or it may be a device included in the same device as the multimedia data storage system 201 .

이벤트 정보 수신 단계(S702)에서는 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인지 여부를 나타내는 이벤트 정보를 수신한다. 앞서 설명한 바와 같이 이벤트 상황은 사고상황 또는 이상상황 등 본 발명의 멀티미디어 데이터 저장 방법이 적용되는 응용분야에 따라서 달라질 수 있는데, 도면에서와 같이 이와 같은 이벤트 정보는 멀티미디어 획득장치(202)로부터 수신할 수 있으며, 다양한 형태로 확보 가능하다.In the event information receiving step (S702), event information indicating whether the multimedia data is multimedia data indicating an event situation is received. As described above, the event situation may vary depending on the application field to which the multimedia data storage method of the present invention is applied, such as an accident situation or an abnormal situation. and can be obtained in various forms.

일반 데이터 저장 단계(S703)는 FAT 파일시스템(203)의 데이터 영역에 상기 수신한 멀티미디어 데이터를 저장하고, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 포함하는 디렉토리 엔트리 구조를 생성하여 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시킨다.In the general data storage step (S703), the received multimedia data is stored in the data area of the FAT file system 203, and the general directory is created by creating a directory entry structure including information about the file in which the multimedia data is stored. Link to the directory entry structure indicated.

일반 데이터 저장 단계(S703)에서 멀티미디어 데이터를 저장하는 FAT 파일시스템(203)은 앞서 설명한 바와 같이, FAT 영역과 데이터 영역으로 구분되는데, 데이터 영역은 실제 데이터를 파일 형태로 저장하도록 하며, 해당 파일의 속성을 나타내는 정보와 파일이 저장되는 디렉토리를 나타내는 정보를 디렉토리 엔트리 구조라는 32 바이트 크기의 구조체로 저장할 수 있다.As described above, the FAT file system 203 for storing multimedia data in the general data storage step S703 is divided into a FAT area and a data area. The data area stores actual data in the form of a file, and Information indicating attributes and information indicating a directory in which a file is stored can be stored in a 32-byte structure called a directory entry structure.

일반 데이터 저장 단계(S703)에서 FAT 파일시스템에 멀티미디어 데이터를 파일로 저장하게 되면, 해당 파일을 나타내는 디렉토리 엔트리 구조를 생성하여, 일반 디렉토리를 나타내는 디렉토리 엔트리 구조의 하위에 위치하도록 저장하고, 실제 멀티미디어 데이터는 생성된 디렉토리 엔트리 구조가 가리키는 시작 클러스터 위치에 저장하게 된다. 저장되는 파일의 데이터가 1개의 클러스터를 초과하게 되면, 비어 있는 다른 클러스터에 저장하게 되는데, 이와 같이 어떤 파일의 데이터가 어떤 클러스터에 저장되는지를 나타내기 위해 FAT 파일시스템의 FAT 영역이 사용된다.When multimedia data is stored as a file in the FAT file system in the general data storage step (S703), a directory entry structure indicating the file is created and stored so as to be located below the directory entry structure indicating the general directory, and the actual multimedia data is stored in the starting cluster location pointed to by the created directory entry structure. When the data of a file to be stored exceeds one cluster, it is stored in another empty cluster. In this way, the FAT area of the FAT file system is used to indicate which file data is stored in which cluster.

일반 데이터 단계(S703)에서 FAT 시스템에 멀티미디어 데이터를 파일로 저장할 때, FAT 파일시스템의 저장공간이 부족한 경우에는 일반 데이터를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 가장 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택한다.When storing multimedia data as a file in the FAT system in the general data step (S703), if the storage space of the FAT file system is insufficient, the directory entry with the oldest creation date and time among the directory entry structures linked to the directory entry structure representing the general data Select the structure as the directory entry structure to be deleted.

이벤트 데이터 저장 단계(S704)는 상기 이벤트 정보를 확인하고, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되는 경우, 상기 일반 데이터 저장 단계(S703)에서 멀티미디어 데이터를 저장한 파일에 관한 정보를 디렉토리 엔트리 구조로 생성하여, 상기 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시킨다.The event data storage step (S704) checks the event information, and when it is confirmed that the multimedia data is multimedia data representing the event situation, information about the file in which the multimedia data is stored in the general data storage step (S703) is stored. A directory entry structure is created and linked to a directory entry structure representing the event directory.

이벤트 데이터 저장 단계(S704)는 이와 같이 멀티미디어 데이터를 별도의 파일로 생성하여 저장공간을 차지하도록 저장하는 것이 아니라, 일반 데이터 저장 단계(S703)에서 저장한 파일이 저장된 시작 클러스터 정보를 포함하도록 디렉토리 엔트리 구조를 생성하고, 이를 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시킨다. 이와 같은 방법을 통해 멀티미디어 데이터 수신부(210)에서 수신된 하나의 멀티미디어 데이터만이 저장되면서도, 일반 상황인 경우에는 일반 디렉토리에서 조회될 수 있도록 저장되고, 이벤트 상황인 경우에는 일반 디렉토리 및 이벤트 디렉토리에서 조회될 수 있도록 저장된다.In the event data storage step (S704), the file stored in the general data storage step (S703) is stored in a directory entry to include the stored start cluster information, rather than creating the multimedia data as a separate file and storing it to occupy a storage space as described above. Create a structure and link it to a directory entry structure representing the event directory. In this way, while only one multimedia data received from the multimedia data receiving unit 210 is stored, it is stored so that it can be searched in the general directory in the case of a general situation, and is searched in the general directory and the event directory in the case of an event situation. stored so that it can be

이벤트 데이터 저장 단계(S704)에서 이와 같이 이벤트 상황에 대한 멀티미디어 데이터는 이벤트 디렉토리에 속하는 디렉토리 엔트리 구조를 추가로 생성하게 되기 때문에, 일반 데이터 저장 단계(S703)에서 저장공간 부족으로 인해 과거 데이터를 삭제할 경우, 해당 데이터가 이벤트 상황의 멀티미디어 데이터인지 여부를 확인할 필요가 있다. 만일 이를 확인하지 않고 삭제하게 되면, 실제 파일의 내용은 삭제되었는데도 이벤트 데이터 저장부(240)에서 생성한 디렉토리 엔트리 구조가 존재하여, 이벤트 디렉토리의 파일 리스트에서만 확인되고 내용은 볼 수 없는 상황이 발생될 수 있다.In the event data storage step (S704), the multimedia data for the event situation as described above creates a directory entry structure belonging to the event directory. , it is necessary to check whether the corresponding data is multimedia data of the event situation. If it is deleted without checking it, even though the actual file contents are deleted, the directory entry structure created by the event data storage unit 240 exists, so that a situation may occur that is only checked in the file list of the event directory and the contents cannot be viewed. can

따라서, 일반 데이터 저장 단계(S703)에서는 FAT 파일시스템의 저장공간이 부족한 경우, 삭제대상 엔트리 구조를 삭제상태로 변환하고, 실제 파일을 나타내는 FAT 영역을 초기화하기 전에, 이벤트 디렉토리에 속하는 디렉토리 엔트리 구조 중 삭제대상 디렉토리 엔트리 구조가 가리키는 파일을 가리키고 있는 디렉토리 엔트리 구조가 존재하는지 확인할 필요가 있으며, 존재하지 않는 경우에만 해당 FAT 영역을 초기화하여 실제 파일을 삭제하도록 할 수 있다. 만일 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조가 존재하는 경우라면, 실제 파일이 삭제되지 않아 저장공간이 확보되지 않은 경우이므로, 그 다음으로 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하여, 추가 삭제를 통해 실제 데이터 저장공간을 확보할 필요가 있다.Accordingly, in the general data storage step (S703), if the storage space of the FAT file system is insufficient, the structure of the entry to be deleted is converted to the deleted state, and before the FAT area representing the actual file is initialized, among the structure of the directory entry belonging to the event directory It is necessary to check whether the directory entry structure pointing to the file pointed to by the deletion target directory entry structure exists, and only if it does not exist, the actual file can be deleted by initializing the FAT area. If there is a directory entry structure linked to the event directory, storage space is not secured because the actual file is not deleted. It is necessary to secure actual data storage space through

이벤트 데이터 저장 단계(S704)는 이벤트 디렉토리의 파일의 개수의 제한을 나타내는 임계치를 저장하고 있다가, 멀티미디어 데이터가 이벤트 상황을 나타내는 데이터인 것으로 확인되어, 이벤트 디렉토리에 링크되는 디렉토리 엔트리 구조를 생성하게 되는 경우, 이벤트 디렉토리의 파일 수를 확인하고, 상기 임계치를 초과하게 되면, 생성일시가 가장 오래된 파일을 나타내는 디렉토리 엔트리 구조를 삭제상태로 변환한다. 이 때, FAT 영역을 초기화하게 되면, 일반 디렉토리에서 해당 파일 조회가 안되기 때문에, 일반 디렉토리에 해당 파일에 대한 디렉토리 엔트리 구조가 존재하는지 확인할 필요가 있다.The event data storage step (S704) stores a threshold value indicating the limit of the number of files in the event directory, and it is confirmed that the multimedia data is data indicating the event situation, thereby creating a directory entry structure linked to the event directory. In this case, the number of files in the event directory is checked, and when the threshold is exceeded, the directory entry structure indicating the file with the oldest creation date and time is converted to a deleted state. At this time, when the FAT area is initialized, since the file cannot be searched in the general directory, it is necessary to check whether a directory entry structure for the file exists in the general directory.

본 발명에 따른 멀티미디어 데이터 저장 방법은 애플리케이션으로 구현되거나 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다.The multimedia data storage method according to the present invention may be implemented as an application or implemented in the form of program instructions that may be executed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination.

상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거니와 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다.The program instructions recorded on the computer-readable recording medium are specially designed and configured for the present invention, and may be known and available to those skilled in the art of computer software.

컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CDROM, DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.Examples of the computer-readable recording medium include hard disks, magnetic media such as floppy disks and magnetic tapes, optical recording media such as CDROMs and DVDs, magneto-optical media such as floppy disks. , and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.

프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다.Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

이상에서는 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있다.Although the above has been described with reference to the embodiments, those skilled in the art can variously modify and change the present invention within the scope without departing from the spirit and scope of the present invention described in the claims below.

201: 멀티미디어 데이터 저장 시스템
202: 멀티미디어 획득장치
203: FAT 파일시스템
210: 멀티미디어 데이터 수신부 220: 이벤트 정보 수신부
230: 일반 데이터 저장부 240: 이벤트 데이터 저장부
201: multimedia data storage system
202: multimedia acquisition device
203: FAT file system
210: multimedia data receiver 220: event information receiver
230: general data storage 240: event data storage

Claims (11)

일반 디렉토리 및 이벤트 디렉토리를 포함하는 FAT 파일시스템에 멀티미디어 데이터를 저장하는 멀티미디어 데이터 저장 시스템에 있어서,
멀티미디어 데이터를 수신하는 멀티미디어 데이터 수신부;
상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인지 여부를 나타내는 이벤트 정보를 수신하는 이벤트 정보 수신부;
FAT 파일시스템의 데이터 영역에 상기 수신한 멀티미디어 데이터를 저장하고, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 포함하는 디렉토리 엔트리 구조를 생성하여 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 일반 데이터 저장부 및
상기 이벤트 정보를 확인하고, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되는 경우, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 디렉토리 엔트리 구조로 생성하여, 상기 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 이벤트 데이터 저장부
를 포함하고,
상기 일반 데이터 저장부는
상기 FAT 파일시스템의 저장공간이 부족한 경우,
상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 가장 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하고, 선택된 삭제대상 디렉토리 엔트리 구조를 삭제상태로 변환하고,
상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조들 중에 상기 삭제대상 디렉토리 엔트리 구조와 동일한 파일을 나타내는 디렉토리 엔트리 구조가 존재하는지 확인하고,
존재하지 않는 경우에만 상기 FAT 파일시스템의 FAT 영역에서, 상기 삭제대상 디렉토리 엔트리 구조가 나타내는 파일에 해당하는 FAT 엔트리를 초기화하며,
존재하는 경우, 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 다음으로 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하는 것
을 특징으로 하는 멀티미디어 데이터 저장 시스템.
A multimedia data storage system for storing multimedia data in a FAT file system including a general directory and an event directory,
a multimedia data receiver for receiving multimedia data;
an event information receiving unit for receiving event information indicating whether the multimedia data is multimedia data indicating an event situation;
A general data storage unit that stores the received multimedia data in a data area of a FAT file system, creates a directory entry structure including information about a file storing the multimedia data, and links to a directory entry structure indicating the general directory and
When the event information is checked, and it is confirmed that the multimedia data is multimedia data representing the event situation, information about a file storing the multimedia data is created in a directory entry structure, and the directory entry structure representing the event directory is generated. Linked event data storage unit
including,
The general data storage unit
When the storage space of the FAT file system is insufficient,
Selecting a directory entry structure having the oldest creation date among the directory entry structures linked to the directory entry structure representing the general directory as a deletion target directory entry structure, converting the selected deletion target directory entry structure into a deletion state,
Checking whether a directory entry structure indicating the same file as the deletion target directory entry structure exists among the directory entry structures linked to the event directory;
Initializes a FAT entry corresponding to a file indicated by the deletion target directory entry structure in the FAT area of the FAT file system only when it does not exist;
If it exists, selecting a directory entry structure with the next oldest creation date and time among the directory entry structures linked to the directory entry structure indicating the general directory as the deletion target directory entry structure
Multimedia data storage system characterized in that.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 이벤트 데이터 저장부는
상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되고, 상기 이벤트 디렉토리에 저장된 파일의 개수가 소정의 임계치를 초과하는 경우,
상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조 중 생성일시가 가장 오래된 파일을 나타내는 디렉토리 엔트리 구조를 삭제상태로 변환하는 것
을 특징으로 하는 멀티미디어 데이터 저장 시스템.
The method of claim 1,
The event data storage unit
When it is confirmed that the multimedia data is multimedia data indicating an event situation, and the number of files stored in the event directory exceeds a predetermined threshold,
Converting the directory entry structure indicating the file with the oldest creation date among the directory entry structures linked to the event directory to the deleted state
Multimedia data storage system characterized in that.
중앙처리장치와 메모리를 구비하고, 일반 디렉토리 및 이벤트 디렉토리를 포함하는 FAT 파일시스템에 멀티미디어 데이터를 저장하는 멀티미디어 데이터 저장 시스템의 동작 방법에 있어서,
멀티미디어 데이터를 수신하는 멀티미디어 데이터 수신 단계;
상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인지 여부를 나타내는 이벤트 정보를 수신하는 이벤트 정보 수신 단계;
FAT 파일시스템의 데이터 영역에 상기 수신한 멀티미디어 데이터를 저장하고, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 포함하는 디렉토리 엔트리 구조를 생성하여 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 일반 데이터 저장 단계 및
상기 이벤트 정보를 확인하고, 상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되는 경우, 상기 멀티미디어 데이터를 저장한 파일에 관한 정보를 디렉토리 엔트리 구조로 생성하여, 상기 이벤트 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크시키는 이벤트 데이터 저장 단계
를 포함하고,
상기 일반 데이터 저장 단계는
상기 FAT 파일시스템의 저장공간이 부족한 경우,
상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 가장 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하고, 선택된 삭제대상 디렉토리 엔트리 구조를 삭제상태로 변환하고,
상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조들 중에 상기 삭제대상 디렉토리 엔트리 구조와 동일한 파일을 나타내는 디렉토리 엔트리 구조가 존재하는지 확인하고,
존재하지 않는 경우에만 상기 FAT 파일시스템의 FAT 영역에서, 상기 삭제대상 디렉토리 엔트리 구조가 나타내는 파일에 해당하는 FAT 엔트리를 초기화하고,
존재하는 경우, 상기 일반 디렉토리를 나타내는 디렉토리 엔트리 구조에 링크된 디렉토리 엔트리 구조들 중 생성일시가 다음으로 오래된 디렉토리 엔트리 구조를 삭제대상 디렉토리 엔트리 구조로 선택하는 것
을 특징으로 하는 멀티미디어 데이터 저장 방법.
A method of operating a multimedia data storage system having a central processing unit and a memory and storing multimedia data in a FAT file system including a general directory and an event directory, the method comprising:
a multimedia data receiving step of receiving multimedia data;
an event information receiving step of receiving event information indicating whether the multimedia data is multimedia data indicating an event situation;
A general data storage step of storing the received multimedia data in a data area of a FAT file system, creating a directory entry structure including information about a file storing the multimedia data, and linking to a directory entry structure indicating the general directory and
Check the event information, and when it is confirmed that the multimedia data is multimedia data representing the event situation, information about the file storing the multimedia data is generated in a directory entry structure, and the directory entry structure representing the event directory is generated. Linking event data storage step
including,
The general data storage step is
When the storage space of the FAT file system is insufficient,
Selecting a directory entry structure having the oldest creation date among the directory entry structures linked to the directory entry structure representing the general directory as a deletion target directory entry structure, converting the selected deletion target directory entry structure into a deletion state,
Checking whether a directory entry structure indicating the same file as the deletion target directory entry structure exists among the directory entry structures linked to the event directory;
Initializing a FAT entry corresponding to the file indicated by the deletion target directory entry structure in the FAT area of the FAT file system only when it does not exist;
If present, selecting the directory entry structure with the next oldest creation date and time among the directory entry structures linked to the directory entry structure indicating the general directory as the deletion target directory entry structure
Multimedia data storage method, characterized in that.
삭제delete 삭제delete 삭제delete 제6항에 있어서,
상기 이벤트 데이터 저장 단계는
상기 멀티미디어 데이터가 이벤트 상황을 나타내는 멀티미디어 데이터인 것으로 확인되고, 상기 이벤트 디렉토리에 저장된 파일의 개수가 소정의 임계치를 초과하는 경우,
상기 이벤트 디렉토리에 링크된 디렉토리 엔트리 구조 중 생성일시가 가장 오래된 파일을 나타내는 디렉토리 엔트리 구조를 삭제상태로 변환하는 것
을 특징으로 하는 멀티미디어 데이터 저장 방법.
7. The method of claim 6,
The event data storage step is
When it is confirmed that the multimedia data is multimedia data indicating an event situation, and the number of files stored in the event directory exceeds a predetermined threshold,
Converting the directory entry structure indicating the file with the oldest creation date among the directory entry structures linked to the event directory to the deleted state
Multimedia data storage method, characterized in that.
제6항 및 제10항 중 어느 한 항의 방법을 실행하기 위한 프로그램을 기록한 기록매체.A recording medium recording a program for executing the method of any one of claims 6 and 10.
KR1020200067801A 2020-06-04 2020-06-04 A System for Storing Multimedia Data and a method therefore KR102445798B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200067801A KR102445798B1 (en) 2020-06-04 2020-06-04 A System for Storing Multimedia Data and a method therefore
JP2021082130A JP7311905B2 (en) 2020-06-04 2021-05-14 Multimedia data storage system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200067801A KR102445798B1 (en) 2020-06-04 2020-06-04 A System for Storing Multimedia Data and a method therefore

Publications (2)

Publication Number Publication Date
KR20210150859A KR20210150859A (en) 2021-12-13
KR102445798B1 true KR102445798B1 (en) 2022-09-21

Family

ID=78832048

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200067801A KR102445798B1 (en) 2020-06-04 2020-06-04 A System for Storing Multimedia Data and a method therefore

Country Status (2)

Country Link
JP (1) JP7311905B2 (en)
KR (1) KR102445798B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100932096B1 (en) * 2009-07-15 2009-12-16 주식회사 셀픽 Method for storing data to nand flash memory
KR101780236B1 (en) 2016-04-19 2017-09-21 고려대학교 산학협력단 Apparatus and method for file management of recovered file
KR101858691B1 (en) 2017-01-10 2018-05-16 주식회사 에스원 Event Sensing and Space Adjusting method of Image of Security System

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4173189B2 (en) 2007-12-25 2008-10-29 富士通株式会社 File management program
KR101018830B1 (en) * 2008-10-28 2011-03-04 주식회사 케피코 Apparatus and method for monitoring errors of vehicle
JP5243487B2 (en) 2010-06-03 2013-07-24 三菱電機株式会社 Data reproducing apparatus and data reproducing method
KR102129048B1 (en) * 2013-04-29 2020-07-01 팅크웨어(주) Image-processing Apparatus for Car and Method of Processing Data Using The Same
KR101553237B1 (en) * 2014-01-17 2015-09-30 주식회사 엠티오메가 Fat file system, vehicle multi media data storing apparatus and method that uses it
KR102094786B1 (en) * 2017-11-28 2020-03-31 지인정보기술 주식회사 File system and method of storing files based on the file system
US10440310B1 (en) 2018-07-29 2019-10-08 Steven Bress Systems and methods for increasing the persistence of forensically relevant video information on space limited storage media
KR102600203B1 (en) * 2018-09-04 2023-11-10 현대자동차주식회사 Video processor, Vehicle having the video processor and method for controlling the vehicle
JP7002765B2 (en) 2019-12-10 2022-01-20 株式会社ユピテル Electronic devices and programs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100932096B1 (en) * 2009-07-15 2009-12-16 주식회사 셀픽 Method for storing data to nand flash memory
KR101780236B1 (en) 2016-04-19 2017-09-21 고려대학교 산학협력단 Apparatus and method for file management of recovered file
KR101858691B1 (en) 2017-01-10 2018-05-16 주식회사 에스원 Event Sensing and Space Adjusting method of Image of Security System

Also Published As

Publication number Publication date
KR20210150859A (en) 2021-12-13
JP7311905B2 (en) 2023-07-20
JP2021190113A (en) 2021-12-13

Similar Documents

Publication Publication Date Title
US9672267B2 (en) Hybrid data management system and method for managing large, varying datasets
KR101403305B1 (en) Method and apparatus for recovering partition using backup boot record
CN102436420B (en) The lasting key assignments of the low ram space of supplementary storage, high-throughput is used to store
CN110018998B (en) File management method and system, electronic equipment and storage medium
US20090240750A1 (en) Memory system and data access method
US11580061B2 (en) System and method for file archiving using machine learning
CN109710455B (en) Deleted file recovery method and system based on FAT32 file system
US20070094315A1 (en) Apparatus and method for storing and managing additional data in file system
CN108614837B (en) File storage and retrieval method and device
CN102866961A (en) Memory transfer with extended data and user privacy protection
CN102737205B (en) Protection comprises can the file of editing meta-data
CN109496292A (en) A kind of disk management method, disk management device and electronic equipment
CN113672170A (en) Redundant data marking and removing method
US7562199B2 (en) Method, apparatus and program for management of access history, storage unit, and information processing apparatus
CN110795386B (en) Data writing method and server
KR102445798B1 (en) A System for Storing Multimedia Data and a method therefore
CN115640078B (en) Android application loading optimization method based on intelligent prefetching of virtual file system data
CN101582280B (en) Recording/reproducing apparatus and information processing method
US8495025B2 (en) Foldering by stable query
CN111552438A (en) Object writing method, device, server and storage medium
KR102071072B1 (en) Method for managing of memory address mapping table for data storage device
KR101812328B1 (en) Partial data acquisition apparatus and method for guaranteeing data integrity in mobile device
US20080104151A1 (en) File retrieval device and file retrieval method
CN112380226A (en) Data loading method and device, electronic equipment and storage medium
KR100932096B1 (en) Method for storing data to nand flash memory

Legal Events

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