KR20030061948A - : Apparatus storing information and method for controlling the File using its - Google Patents

: Apparatus storing information and method for controlling the File using its Download PDF

Info

Publication number
KR20030061948A
KR20030061948A KR1020020002105A KR20020002105A KR20030061948A KR 20030061948 A KR20030061948 A KR 20030061948A KR 1020020002105 A KR1020020002105 A KR 1020020002105A KR 20020002105 A KR20020002105 A KR 20020002105A KR 20030061948 A KR20030061948 A KR 20030061948A
Authority
KR
South Korea
Prior art keywords
file
area
fat area
temporary
data
Prior art date
Application number
KR1020020002105A
Other languages
Korean (ko)
Inventor
이종현
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020020002105A priority Critical patent/KR20030061948A/en
Publication of KR20030061948A publication Critical patent/KR20030061948A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2206/00Indexing scheme related to dedicated interfaces for computers
    • G06F2206/10Indexing scheme related to storage interfaces for computers, indexing schema related to group G06F3/06
    • G06F2206/1004Defragmentation
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2508Magnetic discs
    • G11B2220/2516Hard disks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (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)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE: An apparatus for storing information and a method for managing a file using the same are provided to prevent an increase of a file access time by executing a file defragmenter without user's operation. CONSTITUTION: A file system of an HDD(Hard Disk Drive) adds a temporary FAT(File Allocation Table) area to the HDD and stored audio and video data in the HDD through repetitive recording and erasure(401-402). It is confirmed whether a system is in a playing state or in an idle state(403). If so, a C file recorded at a non-successive space to execute a file defragmenter is confirmed(404). A successive space larger than the C file is secured at a data area of the HDD(405). An address corresponding to the successive space at the data area is stored in the temporary FAT area(406). It is judged whether data is duplicated to the secured successive space(407). If so, the stored C file is removed(408). The corresponding area of the C file at the temporary FAT area is duplicated to an FAT area(409).

Description

정보 저장 장치 및 그를 이용한 파일 관리 방법{: Apparatus storing information and method for controlling the File using its}Apparatus storing information and method for controlling the File using its}

본 발명은 정보 저장 장치 및 그를 이용한 파일 관리 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to an information storage device, a file management method using the same, and a computer-readable recording medium having recorded thereon a program for realizing the method.

최근에는 하드 디스크(이하 " HDD)를 이용한 비디오 녹화기가 등장하여 영상 및 음성을 저장 및 재생을 수행하고 있다.Recently, video recorders using hard disks (hereinafter referred to as "HDDs") have emerged to store and play video and audio.

상기 HDD는 그 특성상 모든 트랙이 각각 분리되어 등각 속도(CAV ; Constant Angular Velocity) 방식을 취하고 있어, 데이터의 억세스 타임이 등선 속도(CLV : Constant Liner Velocity) 방식을 취하는 씨디(CD)보다 빠른 장점으로 인해 많은 량의 데이터 저장이 필요한 영상 기록에 유용하게 사용되고 있다.The HDD has a constant angular velocity (CAV) method in which all tracks are separated from each other, so that the access time of data is faster than that of the CD (CLV) that uses the constant liner velocity (CLV) method. Due to this, it is useful for video recording that requires a large amount of data storage.

또한, HDD는 반복적인 데이터의 기록 및 소거로 인해 파일의 단편화가 발생할 수 있는데, 이와 같은 단편화에 따른 파일 조각 모음을 도면을 통해 설명한다.In addition, the HDD may cause fragmentation of the file due to repeated recording and erasing of data, and the defragmentation of the file according to such fragmentation will be described with reference to the accompanying drawings.

도 1a 및 도 1b는 일반적인 정보 저장 장치에서의 파일 조각 모음 과정을 보여주는 도면이다.1A and 1B illustrate a process of defragmenting a file in a general information storage device.

도 1a 및 도 1b에 도시된 바와 같이, HDD는 크게 FAT(File Allocation Table) 영역과 데이터 영역으로 구분된다.As shown in Figs. 1A and 1B, the HDD is largely divided into a FAT (File Allocation Table) area and a data area.

여기서, 상기 FAT 영역은 데이터 영역의 주소를 기록하는 테이블로, 데이터 영역을 이루는 여러 개의 섹터를 하나의 클러스터로 묶고 이를 12 비트, 16 비트및 32 비트 등의 주소로 저장하고 있다.Here, the FAT area is a table for recording the address of the data area. The FAT area stores a plurality of sectors constituting the data area into one cluster and stores them in addresses such as 12 bits, 16 bits, and 32 bits.

따라서, 사용자가 HDD에 녹화 및 소거를 반복하게 되면, 도 1a와 같이, 파일 A 및 파일 B는 연속적인 공간에 저장되어 있으나, 연속적으로 저장되어 있지 않은 파일 C가 존재할 수 있으며, 이와 같이 연속적으로 저장되지 않은 파일이 증가하게 되면 결국 파일을 억세스하는 시간은 증가하게 된다.Therefore, when the user repeats recording and erasing on the HDD, as shown in FIG. 1A, files A and B are stored in a contiguous space, but there may be a file C that is not stored continuously. As unsaved files grow, the time to access them increases.

따라서, 사용자의 조작에 의해 파일 조각 모음을 수행하면 도 1b와 같이 파일 C는 연속적인 저장 공간을 차지하게 된다.Therefore, if a file is defragmented by a user's manipulation, file C occupies a continuous storage space as shown in FIG. 1B.

즉, 설명한 바와 같이, HDD를 사용하는 비디오 녹화기는 사용자에 의해 녹화 및 지우기의 반복하게 되는데 이로 인해 HDD는 그 특성상 단편화 현상(Fragmentation)이 발생하는데, 이를 해결하기 위해서는 파일 조작 모음(DeFragmentation)을 수행할 필요성이 있다.That is, as described above, the video recorder using the HDD repeats recording and erasing by the user. As a result, the HDD causes fragmentation, and to solve this problem, the file manipulation collection is performed. There is a need to do it.

그러나, HDD를 이용한 비디오 녹화기의 사용자는 상기 비디오 녹화기를 컴퓨터의 개념이 아닌 가전 제품으로 인지하므로 파일 조각 모임을 위한 기능이 있어도 사용자가 직접 적절한 시기에 파일 조작 모음을 수행하지 않아 데이터 억세스 시간이 증가하는 문제점이 있었다.However, the user of the video recorder using HDD recognizes the video recorder as a home appliance rather than the concept of a computer, so even if there is a function for file defragmentation, the user does not perform the file manipulation collection in a timely manner, thereby increasing data access time. There was a problem.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위해 안출된 것으로서, HDD를 이용하는 비디오 녹화기에서 사용자의 조작 없이 자동으로 파일 조각 모음을 수행하여 억세스 시간을 단축시키기 위한 정보 저장 장치 및 그를 이용한파일 관리 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned conventional problems, information storage device for reducing the access time by automatically defragmenting the file in the video recorder using the HDD without the user's operation and the file using the same It is an object of the present invention to provide a computer-readable recording medium recording a management method and a program for realizing the method.

도 1a 및 도 1b는 일반적인 정보 저장 장치에서의 파일 조각 모음 과정을 보여주는 도면.1A and 1B illustrate a file defragmentation process in a general information storage device.

도 2는 본 발명에 적용되는 정보 저장 장치를 이용한 파일 관리 시스템에 대한 구성 예시도.2 is an exemplary configuration diagram of a file management system using an information storage device according to the present invention.

도 3a 내지 도 3c는 본 발명에 따른 정보 저장 장치에서의 파일 조각 모음 과정을 보여주는 도면.3A to 3C are diagrams illustrating a file defragmentation process in the information storage device according to the present invention.

도 4는 본 발명에 따른 정보 저장 장치를 이용한 파일 관리 방법에 대한 일실시예 흐름도.4 is a flowchart illustrating a file management method using an information storage device according to the present invention;

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

210 : HDD(Hard Disc Drive) 220 : HDD 컨트롤러210: HDD (Hard Disc Drive) 220: HDD Controller

230 : 메모리 240 : A/V 녹화 처리부230: memory 240: A / V recording processing unit

250 : 메인 컨트롤러 260 : A/V 재생 처리부250: main controller 260: A / V playback processing unit

270 : 디스플레이부270 display unit

상기와 같은 목적을 달성하기 위한 본 발명은, FAT(File Allocation Table) 영역과 데이터(Data) 영역을 포함하여 대용량의 영상 및 음성 데이터를 저장하는 정보 저장 장치에 있어서, 상기 FAT 영역과 동일한 포맷을 가지고 파일 조각 모음에 따른 데이터의 주소를 임시로 복사하기 위한 임시 FAT 영역을 더 포함하는 것을 특징으로 한다.The present invention for achieving the above object, in the information storage device for storing a large amount of video and audio data including a FAT (File Allocation Table) area and a data (Data) area, the same format as the FAT area It further comprises a temporary FAT area for temporarily copying the address of the data according to the file defragmentation.

한편, 본 발명은, 정보 저장 장치를 이용한 파일 관리 시스템에 적용되는 파일 관리 방법에 있어서, FAT(File Allocation Table) 영역과 동일한 포맷을 갖는 임시 FAT 영역을 추가하는 제 1 단계; 반복적인 녹화 및 소거로 영상 데이터 및 음성 데이터를 저장하며, 현재 모드가 재생 중 또는 IDLE 상태일 경우 상기 저장된 데이터에서 연속적으로 저장되지 않은 파일을 확인하는 제 2 단계; 상기 확인된 파일 크기 이상의 연속적인 저장 공간을 확보하고, 확보된 저장 공간의 주소를 상기 제 1 단계에서 추가된 임시 FAT 영역에 기록하는 제 3 단계; 상기 확보된 연속적인 저장 공간에 상기 파일을 복사하고, FAT 영역에서 파일의 해당 저장 공간을 소거하는 제 4 단계; 및 임시 FAT 영역에 기록된 파일의 주소를 FAT 영역에 복사하고, 임시 FAT 영역을 소거하는 제 5 단계를 포함하는 것을 특징으로 한다.Meanwhile, the present invention provides a file management method applied to a file management system using an information storage device, comprising: a first step of adding a temporary FAT area having the same format as a FAT (File Allocation Table) area; A second step of storing image data and audio data by repetitive recording and erasing, and when the current mode is in playback or in IDLE state, identifying a file that is not continuously stored in the stored data; A third step of securing contiguous storage space equal to or larger than the identified file size and recording the address of the secured storage space in the temporary FAT area added in the first step; Copying the file into the secured continuous storage space and erasing the corresponding storage space of the file in the FAT area; And a fifth step of copying the address of the file recorded in the temporary FAT area to the FAT area and erasing the temporary FAT area.

한편, 본 발명은, 정보 저장 장치를 이용한 파일 관리를 위해, 프로세서를구비한 시스템에, FAT(File Allocation Table) 영역과 동일한 포맷을 갖는 임시 FAT 영역을 추가하는 제 1 기능; 반복적인 녹화 및 소거로 영상 데이터 및 음성 데이터를 저장하며, 현재 모드가 재생 중 또는 IDLE 상태일 경우 상기 저장된 데이터에서 연속적으로 저장되지 않은 파일을 확인하는 제 2 기능; 상기 확인된 파일 크기 이상의 연속적인 저장 공간을 확보하고, 확보된 저장 공간의 주소를 상기 제 1 기능에서 추가된 임시 FAT 영역에 기록하는 제 3 기능; 상기 확보된 연속적인 저장 공간에 상기 파일을 복사하고, FAT 영역에서 파일의 해당 저장 공간을 소거하는 제 4 기능; 및 임시 FAT 영역에 기록된 파일의 주소를 FAT 영역에 복사하고, 임시 FAT 영역을 소거하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, the present invention, the file management using the information storage device, the first function of adding a temporary FAT area having the same format as the FAT (File Allocation Table) area to the system equipped with a processor; A second function of storing image data and audio data by repetitive recording and erasing, and checking a file which is not continuously stored in the stored data when the current mode is playing or in an IDLE state; A third function for securing a contiguous storage space equal to or larger than the identified file size and recording the address of the secured storage space in a temporary FAT area added in the first function; A fourth function of copying the file into the secured continuous storage space and erasing the corresponding storage space of the file in the FAT area; And a computer readable recording medium having recorded thereon a program for realizing a fifth function of copying an address of a file recorded in a temporary FAT area to a FAT area and erasing the temporary FAT area.

이하, 본 발명에 따른 정보 저장 장치 및 그를 이용한 파일 관리 방법에 대한 바람직한 실시예에 대해, 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of an information storage device and a file management method using the same according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 적용되는 정보 저장 장치를 이용한 파일 관리 시스템에 대한 구성 예시도이다.2 is an exemplary configuration diagram of a file management system using an information storage device according to the present invention.

도 2에 도시된 바와 같이, 도면 번호 210은 HDD, 220은 HDD 컨트롤러, 230은 메모리, 240은 A/V 녹화 처리부, 250은 메인 컨트롤러, 260은 A/V 재생 처리부 및 270은 디스플레이부를 각각 나타낸다.As shown in FIG. 2, reference numeral 210 denotes an HDD, 220 denotes an HDD controller, 230 denotes a memory, 240 denotes an A / V recording processor, 250 denotes a main controller, 260 denotes an A / V playback processor, and 270 denotes a display unit. .

상기 HDD(210)는 FAT 영역 및 데이터 영역과 함께 조각 모음을 수행하기 위해 임시 FAT 영역을 추가한다.The HDD 210 adds a temporary FAT area to perform defragmentation along with the FAT area and the data area.

상기 임시 FAT 영역은 FAT 영역과 동일한 포맷으로 이루어지고, HDD 컨트롤러(220)의 제어에 의해 데이터 영역에서 확보된 연속적인 공간의 주소를 임시 저장하고, 조각 모음을 수행한 파일이 확보된 데이터 영역에 복사되면 임시 저장된 주소를 소거한다.The temporary FAT area has the same format as the FAT area, and under the control of the HDD controller 220, temporarily stores the address of the contiguous space secured in the data area, and stores the defragmented file in the secured data area. When copied, erase the temporarily stored address.

상기 HDD 컨트롤러(220)는 메인 컨트롤러(250)의 제어에 의해 HDD의 저장된 데이터를 읽거나 쓰기 동작을 수행하며, 특히, 데이터를 저장하기 위해 HDD(210)의 FAT 영역을 검사하여, 상기 FAT 영역에서 데이터를 저장할 수 빈 공간의 주소를 메인 컨트롤러(250)에 전달한다.The HDD controller 220 reads or writes data stored in the HDD under the control of the main controller 250. In particular, the HDD controller 220 examines the FAT area of the HDD 210 to store data, thereby checking the FAT area. The controller transmits the address of the empty space to store the data to the main controller 250.

상기 A/V 녹화 처리부(240)는 외부로부터 입력되는 영상 및 음성 신호를 신호 처리하여 시스템 버스와 컨트롤러(220)를 통해 HDD의 빈 공간에 연속적으로 저장한다.The A / V recording processor 240 processes the video and audio signals input from the outside and continuously stores them in the empty space of the HDD through the system bus and the controller 220.

상기 A/V 재생 처리부(260)는 메인 컨트롤러(250)의 제어에 의해 재생 명령을 HDD 컨트롤러(220)로 전달받고, HDD(210)에 저장된 데이터를 HDD 컨트롤러(220), 데이터 버스를 통해 전달받아 신호 처리하며, 상기 신호 처리된 영상은 디스플레이부(270)로 제공한다.The A / V playback processor 260 receives a playback command to the HDD controller 220 under the control of the main controller 250, and transfers data stored in the HDD 210 through the HDD controller 220 and the data bus. Receives signal processing, and the signal processed image is provided to the display unit 270.

도 3a 내지 도 3c는 본 발명에 따른 정보 저장 장치에서의 파일 조각 모음 과정을 보여주는 도면이다.3A to 3C are diagrams illustrating a file defragmentation process in the information storage device according to the present invention.

대용량의 A/V 데이터를 HDD에 저장할 때, 반복되는 녹화 및 소거를 수행하면, 도 3a에 도시된 바와 같이, 파일 A 및 파일 B는 정상적인 연속적인 공간에 저장되나, 파일 C는 연속적으로 저장되지 않게 된다.When a large amount of A / V data is stored in the HDD, if repeated recording and erasing is performed, as shown in FIG. 3A, files A and B are stored in a normal continuous space, but file C is not continuously stored. Will not.

또한, 상기 HDD는 FAT 영역 및 데이터 영역과 함께 임시 FAT 영역을 할당하고 있다.The HDD allocates a temporary FAT area together with a FAT area and a data area.

따라서, 시스템이 재생 중이거나 IDLE 상태일때는 사용자가 조작 없이 자동으로 파일 조각 모음을 수행하는데, 이를 도 3b에 도시하였다.Therefore, when the system is playing or in the IDLE state, the user automatically defragments the file without manipulation, which is illustrated in FIG. 3B.

즉, 녹화 및 소거를 반복하면 파일 C는 하나의 파일이지만 저장 공간이 연속적이지 않게 된다. 이 파일 C를 연속적인 공간에 저장하기 위해 비어 있는 데이터 영역에서 파일 C 이상의 비어있는 연속적인 저장 공간을 확보한다. 그리고, 상기 확보된 빈 영역에 데이터를 복사하고, 해당 데이터의 주소를 임시 FAT 영역에 저장한다.In other words, if the recording and erasing are repeated, the file C is one file but the storage space is not continuous. To store this file C in contiguous space, free up contiguous storage space above file C in the free data area. Data is copied to the secured blank area, and the address of the data is stored in a temporary FAT area.

도 3c는 파일 조각 모임을 수행후의 상태를 보여주는 것으로, 최적화된 데이터의 저장 상태를 보여 주고 있다.3C shows the state after performing the file fragment collection, and shows the storage state of the optimized data.

즉, 데이터의 복사가 완료되면, 원래의 FAT 영역에서 파일 C에 해당하는 영역을 클리어 해서 파일 C가 차지하고 있던 데이터 영역을 빈 공간으로 인식하게 된다. 그후, 임시 FAT 영역에서 파일 C에 해당하는 영역을 원래의 FAT 영역에 복사하면, 단편화 되어있던 파일 C가 연속적인 데이터 영역을 차지하게 된다.That is, when copying of data is completed, the area corresponding to file C is cleared from the original FAT area to recognize the data area occupied by file C as empty space. Then, if the area corresponding to file C in the temporary FAT area is copied to the original FAT area, the fragmented file C occupies a continuous data area.

도 4는 본 발명에 따른 정보 저장 장치를 이용한 파일 관리 방법에 대한 일실시예 흐름도이다.4 is a flowchart illustrating a file management method using an information storage device according to the present invention.

도 4에 도시된 바와 같이, 먼저, HDD의 파일 시스템에서 기존의 FAT 영역외에 조각 모음을 수행하기 위한 임시 FAT 영역을 추가하고(401), HDD에 반복적인 녹화 및 소거를 통해 A/V 데이터를 저장한다(402).As shown in FIG. 4, first, a temporary FAT area for defragmentation is added to the HDD file system in addition to the existing FAT area (401), and A / V data is repeatedly recorded and erased on the HDD. Save (402).

이후, 시스템이 재생 중이거나 IDLE 상태인지를 확인한다(403).Then, it is checked whether the system is playing or IDLE state (403).

상기 과정(403)에서 확인한 결과, 시스템이 재생 중이거나 IDLE 상태가 아닐 경우에는 반복적인 녹화 및 소거를 수행하는 과정(402)으로 복귀하여 루프를 반복 수행한다.As a result of checking in step 403, if the system is not playing or not in the IDLE state, the process returns to step 402 of performing repeated recording and erasing and repeats the loop.

한편, 상기 과정(403)에서 확인한 결과, 시스템이 재생 중이거나 IDLE 상태일 경우에는 파일 조각 모음을 위해 HDD에서 기록된 파일 정보 중에 연속되지 않은 공간에 기록된 파일 C를 확인한다(404). 그리고, HDD의 데이터 영역에서 확인된 파일 C 크기 이상의 연속적인 공간을 확보한 후(405), 확보된 데이터 영역에서의 연속적인 공간에 해당하는 주소를 임시 FAT 영역에 저장한다(406).On the other hand, as a result of checking in step 403, when the system is playing or in the IDLE state, the file C recorded in the non-contiguous space among the file information recorded in the HDD for file defragmentation is checked (404). After contiguous space of the file C size or more identified in the data area of the HDD is secured (405), an address corresponding to the contiguous space in the secured data area is stored in the temporary FAT area (406).

그리고, 과정(405)에서 확보된 연속적인 공간에 데이터의 복사가 완료되었는지를 판단한다(407). 상기 과정(407)에서 판단한 결과, 확보된 연속적인 빈 공간에 데이터가 복사되지 않을 경우에는 에러 상태임으로 본 루프를 종료한다.In operation 405, it is determined whether data copying is completed in the continuous space secured in operation 405. As a result of the determination in step 407, if the data is not copied to the contiguous contiguous free space, the loop ends as an error state.

상기 과정(407)에서 판단 결과, 확보된 연속적인 빈 공간에 데이터의 복사가 완료될 경우에는 FAT 영역에 저장된 파일 C를 소거한다(408).As a result of the determination in step 407, when copying of data to the secured contiguous empty space is completed, the file C stored in the FAT area is erased (408).

이후, 임시 FAT 영역에서 파일 C의 해당 영역을 FAT 영역에 복사한다(409).Thereafter, the corresponding area of the file C is copied from the temporary FAT area to the FAT area (409).

이상, 전술한 본 발명의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서, 다양한 다른 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.As mentioned above, preferred embodiments of the present invention are disclosed for the purpose of illustration, and those skilled in the art can improve and change various other embodiments within the spirit and technical scope of the present invention disclosed in the appended claims below. , Replacement or addition would be possible.

상기와 같이 이루어지는 정보 저장 장치 및 그를 이용한 파일 관리 방법은, 대용량의 A/V 데이터를 HDD에 저장할 때 반복되는 녹화 및 소거로 인해 생겨나는 파일의 단편화 현상을 사용자의 조작없이 파일 조각 모음을 수행하여 파일 억세스 타임의 증가를 미연에 방지할 수 있는 유용한 발명이다.The information storage device and the file management method using the same as described above, by defragmenting a file without the user's operation to defragment the file generated by repeated recording and erasing when storing a large amount of A / V data on the HDD It is a useful invention that can prevent an increase in file access time in advance.

Claims (4)

FAT(File Allocation Table) 영역과 데이터(Data) 영역을 포함하여 대용량의 영상 및 음성 데이터를 저장하는 정보 저장 장치에 있어서,An information storage device for storing a large amount of video and audio data, including a FAT (File Allocation Table) area and a Data area, 상기 FAT 영역과 동일한 포맷을 가지고 파일 조각 모음에 따른 데이터의 주소를 임시로 복사하기 위한 임시 FAT 영역Temporary FAT area for temporarily copying the address of data according to file defragmentation having the same format as the FAT area 을 포함하는 정보 저장 장치.Information storage device comprising a. 제 1 항에 있어서,The method of claim 1, 상기 임시 FAT 영역은,The temporary FAT area is 조각 모음을 위한 파일의 크기 이상의 연속적인 저장 공간을 확보한 데이터 영역의 주소를 임시 저장하는 것을 특징으로 하는 정보 저장 장치.An information storage device, characterized in that the temporary storage of the address of the data area that has secured a continuous storage space larger than the size of the file for defragmentation. 정보 저장 장치를 이용한 파일 관리 시스템에 적용되는 파일 관리 방법에 있어서,In the file management method applied to a file management system using an information storage device, FAT(File Allocation Table) 영역과 동일한 포맷을 갖는 임시 FAT 영역을 추가하는 제 1 단계;A first step of adding a temporary FAT area having the same format as a File Allocation Table (FAT) area; 반복적인 녹화 및 소거로 영상 데이터 및 음성 데이터를 저장하며, 현재 모드가 재생 중 또는 IDLE 상태일 경우 상기 저장된 데이터에서 연속적으로 저장되지 않은 파일을 확인하는 제 2 단계;A second step of storing image data and audio data by repetitive recording and erasing, and when the current mode is in playback or in IDLE state, identifying a file that is not continuously stored in the stored data; 상기 확인된 파일 크기 이상의 연속적인 저장 공간을 확보하고, 확보된 저장 공간의 주소를 상기 제 1 단계에서 추가된 임시 FAT 영역에 기록하는 제 3 단계;A third step of securing contiguous storage space equal to or larger than the identified file size and recording the address of the secured storage space in the temporary FAT area added in the first step; 상기 확보된 연속적인 저장 공간에 상기 파일을 복사하고, FAT 영역에서 파일의 해당 저장 공간을 소거하는 제 4 단계; 및Copying the file into the secured continuous storage space and erasing the corresponding storage space of the file in the FAT area; And 임시 FAT 영역에 기록된 파일의 주소를 FAT 영역에 복사하고, 임시 FAT 영역을 소거하는 제 5 단계The fifth step of copying the address of the file recorded in the temporary FAT area to the FAT area and erasing the temporary FAT area 을 포함하는 정보 저장 장치를 이용한 파일 관리 방법.File management method using an information storage device comprising a. 정보 저장 장치를 이용한 파일 관리를 위해, 프로세서를 구비한 시스템에,In a system having a processor for file management using an information storage device, FAT(File Allocation Table) 영역과 동일한 포맷을 갖는 임시 FAT 영역을 추가하는 제 1 기능;A first function of adding a temporary FAT area having the same format as a FAT (File Allocation Table) area; 반복적인 녹화 및 소거로 영상 데이터 및 음성 데이터를 저장하며, 현재 모드가 재생 중 또는 IDLE 상태일 경우 상기 저장된 데이터에서 연속적으로 저장되지 않은 파일을 확인하는 제 2 기능;A second function of storing image data and audio data by repetitive recording and erasing, and checking a file which is not continuously stored in the stored data when the current mode is playing or in an IDLE state; 상기 확인된 파일 크기 이상의 연속적인 저장 공간을 확보하고, 확보된 저장 공간의 주소를 상기 제 1 기능에서 추가된 임시 FAT 영역에 기록하는 제 3 기능;A third function for securing a contiguous storage space equal to or larger than the identified file size and recording the address of the secured storage space in a temporary FAT area added in the first function; 상기 확보된 연속적인 저장 공간에 상기 파일을 복사하고, FAT 영역에서 파일의 해당 저장 공간을 소거하는 제 4 기능; 및A fourth function of copying the file into the secured continuous storage space and erasing the corresponding storage space of the file in the FAT area; And 임시 FAT 영역에 기록된 파일의 주소를 FAT 영역에 복사하고, 임시 FAT 영역을 소거하는 제 5 기능Fifth function for copying address of file recorded in temporary FAT area to FAT area and erasing temporary FAT area 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1020020002105A 2002-01-14 2002-01-14 : Apparatus storing information and method for controlling the File using its KR20030061948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020002105A KR20030061948A (en) 2002-01-14 2002-01-14 : Apparatus storing information and method for controlling the File using its

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020002105A KR20030061948A (en) 2002-01-14 2002-01-14 : Apparatus storing information and method for controlling the File using its

Publications (1)

Publication Number Publication Date
KR20030061948A true KR20030061948A (en) 2003-07-23

Family

ID=32217994

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020002105A KR20030061948A (en) 2002-01-14 2002-01-14 : Apparatus storing information and method for controlling the File using its

Country Status (1)

Country Link
KR (1) KR20030061948A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462620B1 (en) * 2002-10-15 2004-12-23 삼성전자주식회사 Methods for storing and recovering data in image processing apparatus having hard disk drive, and the image processing apparatus for processing the methods
KR100678888B1 (en) * 2004-07-19 2007-02-05 삼성전자주식회사 Apparatus and method for wiriting and reading data
KR100684887B1 (en) * 2005-02-04 2007-02-20 삼성전자주식회사 Data storing device including flash memory and merge method of thereof
KR100694433B1 (en) * 2005-12-19 2007-03-12 주식회사 대우일렉트로닉스 Storage a medium management method of combo device
WO2009072970A1 (en) 2007-12-05 2009-06-11 Oricane Ab Method and computer program product for memory management in a mass storage device
US8122193B2 (en) 2004-12-21 2012-02-21 Samsung Electronics Co., Ltd. Storage device and user device including the same

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462620B1 (en) * 2002-10-15 2004-12-23 삼성전자주식회사 Methods for storing and recovering data in image processing apparatus having hard disk drive, and the image processing apparatus for processing the methods
KR100678888B1 (en) * 2004-07-19 2007-02-05 삼성전자주식회사 Apparatus and method for wiriting and reading data
US8122193B2 (en) 2004-12-21 2012-02-21 Samsung Electronics Co., Ltd. Storage device and user device including the same
US8533391B2 (en) 2004-12-21 2013-09-10 Samsung Electronics Co., Ltd. Storage device and user device including the same
KR100684887B1 (en) * 2005-02-04 2007-02-20 삼성전자주식회사 Data storing device including flash memory and merge method of thereof
US7487303B2 (en) 2005-02-04 2009-02-03 Samsung Electronics Co., Ltd. Flash memory device and associated data merge method
KR100694433B1 (en) * 2005-12-19 2007-03-12 주식회사 대우일렉트로닉스 Storage a medium management method of combo device
WO2009072970A1 (en) 2007-12-05 2009-06-11 Oricane Ab Method and computer program product for memory management in a mass storage device
EP2218007A1 (en) * 2007-12-05 2010-08-18 Oricane AB Method and computer program product for memory management in a mass storage device
EP2218007A4 (en) * 2007-12-05 2012-10-10 Oricane Ab Method and computer program product for memory management in a mass storage device
US8347054B2 (en) 2007-12-05 2013-01-01 Oricane Ab Method and computer program product for memory management in a mass storage device

Similar Documents

Publication Publication Date Title
US7472219B2 (en) Data-storage apparatus, data-storage method and recording/reproducing system
US7373477B2 (en) Fragmentation executing method and storage device
US6735678B2 (en) Method and apparatus for disc drive defragmentation
US7747810B2 (en) Address assigning method, disk drive, and data writing method
US7647470B2 (en) Memory device and controlling method for elongating the life of nonvolatile memory
US20090157756A1 (en) File System For Storing Files In Multiple Different Data Storage Media
JP4227931B2 (en) Information storage device, information storage method, and information storage processing program
JP4130808B2 (en) Formatting method
JP4791807B2 (en) Audio video data read / write method and system in personal computer
US20050259542A1 (en) Reproduction device and method, recording medium, and program
KR20030061948A (en) : Apparatus storing information and method for controlling the File using its
JP4585052B2 (en) Data recording system
KR101072730B1 (en) Recording/reproducing device and recording method
JP2000163290A (en) Data storing method
JP2006323462A (en) File-copying device and file-copying method
JP4470471B2 (en) Recording / reproducing apparatus and method, and recording / reproducing system
JP2008117491A (en) Recording device, recording method and program
US20060020751A1 (en) Medium storage device, cache segment switching method for medium storage device, and medium storage system
JP2005209119A (en) Data storage device and method, and recording and reproducing system
KR20030061949A (en) Method for controlling store of file in storage system
JP4277707B2 (en) Information recording method
JP4269915B2 (en) Recording / reproducing apparatus and method, and recording / reproducing system
JPH09293007A (en) Program install device
JP2003316627A (en) Information recording and reproducing device and management information backup method therefor
JP2001043662A (en) Disk medium managing method

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination