KR20010019732A - File backup method of computer system - Google Patents

File backup method of computer system Download PDF

Info

Publication number
KR20010019732A
KR20010019732A KR1019990036308A KR19990036308A KR20010019732A KR 20010019732 A KR20010019732 A KR 20010019732A KR 1019990036308 A KR1019990036308 A KR 1019990036308A KR 19990036308 A KR19990036308 A KR 19990036308A KR 20010019732 A KR20010019732 A KR 20010019732A
Authority
KR
South Korea
Prior art keywords
file
backup
area
computer system
hard disk
Prior art date
Application number
KR1019990036308A
Other languages
Korean (ko)
Other versions
KR100621614B1 (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 KR1019990036308A priority Critical patent/KR100621614B1/en
Publication of KR20010019732A publication Critical patent/KR20010019732A/en
Application granted granted Critical
Publication of KR100621614B1 publication Critical patent/KR100621614B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: The file backup method of a computer system is provided to backup and recover files in simple way without a special external backup device. CONSTITUTION: The file backup method of a computer system comprises the following steps. The computer system(900) composed of hard discs(100,200) over one at least. Each hard disc is divided into the system area and the data area. The data area is allocated as the file backup area(120,220) and the rest is recognized as the own data area. A file backup utility/driver(300) is installed in the OS(Operating System) of the computer system(900). The file backup utility selects kinds of files to backup by designating the extension name. The backup driver checks if the written file is a subject to backup. If yes, the file is automatically inserted into the file backup area(120,220) of the hard disc(100,200). The backup utility/driver(300) can recover the backup file to the other hard disc or the floppy disc(500).

Description

컴퓨터 시스템의 파일 백업 방법{FILE BACKUP METHOD OF COMPUTER SYSTEM}How to back up files on your computer system {FILE BACKUP METHOD OF COMPUTER SYSTEM}

본 발명은 컴퓨터 시스템에 관한 것으로, 좀 더 구체적으로는 컴퓨터의 파일 백업 방법에 관한 것이다.The present invention relates to a computer system, and more particularly to a file backup method of a computer.

일반적인 오퍼레이팅 시스템(Operating system ; OS)인 Microsoft사의 MS-DOS와 Windows 시리즈는 디스크를 크게 두 부분으로 나눈다. 하나는 디스크에 대한 정보를 저장하기 위한 시스템 영역(system area)이고, 다른 하나는 데이터를 저장하기 위한 데이터 영역(data area)이다.Microsoft's MS-DOS and Windows series, a common operating system (OS), divide the disk into two parts. One is a system area for storing information about the disk, and the other is a data area for storing data.

시스템 영역은 디스크의 작은 영역을 사용하며, 부트 레코드(boot record), 파일할당테이블(file allocation table ; FAT), 그리고 루트 디렉토리(root directory)라 불리우는 세 부분으로 구성된다.The system area uses a small area of the disk and consists of three parts, called the boot record, the file allocation table (FAT), and the root directory.

부트 레코드는 OS를 메모리로 읽어들이는 일을 수행한다. 이러한 과정을 부팅(booting) 이라 한다. 이 부트 레코드 프로그램은 어떤 디스크에도 존재하며, 사용자가 부팅할 수 없는 디스크를 부팅하려 할 때 에러 메시지를 화면에 보여주는 역할을 한다. 부트 레코드는 디스크에서 512byte (약 0.5 Kb)의 한 섹터를 차지한다. 그리고, FAT는 디스크의 대부분을 차지하고 있는 데이터 영역의 어느 부분이 사용되고 있고 사용되고 있지 않은지 여부를 알려주는 기능을 수행하기 위해 디스크의 각 부분의 상태를 기록한 표이다. OS는 디스크의 데이터 영역을 클러스터(cluster) 단위로 관리하며, 파일이 디스크에 기록될 때 디스크의 공간은 클러스터 단위로 할당된다. 그리고 이러한 클러스터의 배치는 FAT를 이용하여 통제된다. 그리고, 디렉토리는 디스크에 저장된 파일들에 대한 정보를 가지고 있다. 그 정보란 파일의 이름, 확장자, 크기, 그리고 마지막으로 기록된 시간과 날짜 등이다. 이러한 정보는 MS-DOS의 DIR과 같은 명령에 의해서 사용자에게 제공된다. 앞에서 설명한 하드디스크의 시스템 영역을 정리하면 아래 표 1과 같다.The boot record does the work of loading the OS into memory. This process is called booting. This boot record program resides on any disk and displays an error message when the user tries to boot a disk that cannot boot. The boot record occupies one sector of 512 bytes (about 0.5 Kb) on the disk. The FAT is a table that records the state of each part of the disk to perform a function of informing which part of the data area occupying most of the disk is used and not being used. The OS manages the data area of the disk in cluster units. When a file is written to the disk, the disk space is allocated in cluster units. The placement of these clusters is controlled using FAT. The directory contains information about the files stored on disk. The information is the file's name, extension, size, and last recorded time and date. This information is provided to the user by commands such as DIR in MS-DOS. The table below shows the system area of the hard disk.

명칭designation 기 능function 파티션 테이블Partition table Fdisk에 의해 설정된 하드디스크의 논리적 정보를 저장Save logical information of hard disk set by Fdisk 부트 레코드Boot record 운영시스템을 메모리에 올려 놓기 위한 기능을 수행하는 프로그램과 그 디스크에 대한 정보를 포함Contains information about programs and disks that perform functions to put the operating system into memory FAT 1FAT 1 파일의 연결 상태에 대한 정보 저장Save information about the connection status of files FAT 2FAT 2 FAT 1의 복사본A copy of FAT 1 루트 디렉토리Root directory 파일명, 크기, 날짜 등에 대한 정보를 포함Contains information about file name, size, date, etc.

컴퓨터 바이러스(computer virus) 또는 사용자의 실수로 [표 1]에 나타나 있는 시스템 영역 중 어느 하나가 손상될 수 있다. 그럴 경우, 하드디스크에 저장되어 있는 데이터를 인식할 수 없게 되어, 디스크에 저장되어 있는 중요 파일이 복구 불가능 상태로 되는 경우가 발생한다. 따라서, 사용자는 만약의 경우를 대비해서 자신의 중요 파일을 백업해 둔다.A computer virus or a user's mistake can damage either of the system areas shown in Table 1. In such a case, data stored in the hard disk cannot be recognized, so that important files stored in the disk become impossible to recover. Therefore, users back up their important files just in case.

도 1은 종래 기술에 의한 데이터 백업 시스템을 보여주는 도면이다. 도 1을 참조하면, 컴퓨터 시스템(90)은 데이터를 저장하는 하드디스크(10)와, 하드디스크(10)에 저장되어 있는 중요 데이터를 백업하기 위한 파일 백업 장치(30)를 포함한다. 파일 백업 장치(30)로는, 플로피 디스크 드라이버, CD-ROM 라이터(CD-ROM writer)등이 있다. 하드디스크(10)에 저장된 데이터들은, 다양한 종류의 파일 백업 장치(30)에 의해 CD-ROM(51), 플로피 디스크(52), 또는 마그네틱 테잎(53) 등과 같은 데이터 기록장치(50)에 저장된다.1 is a view showing a data backup system according to the prior art. Referring to FIG. 1, the computer system 90 includes a hard disk 10 for storing data and a file backup device 30 for backing up important data stored in the hard disk 10. The file backup device 30 includes a floppy disk driver, a CD-ROM writer, and the like. Data stored in the hard disk 10 is stored in a data recording device 50 such as a CD-ROM 51, a floppy disk 52, or a magnetic tape 53 by various file backup devices 30. do.

이러한 종래의 데이터 백업 시스템은 일일이 사용자가 데이터를 지정하고, 저장해야 하는 번거로움이 있다. 예를 들어, 플로피 디스크(52)에 데이터를 저장하는 경우, 플로피 디스크(52)에 저장할 수 있는 데이터 양은 적은 양으로 한정되어 있으므로 많은 개수의 플로피 디스크(52)를 사용해야 하고, 사용자는 이를 일일이 플로피 디스크 드라이버에 넣고 빼는 등의 과정을 거쳐야 한다. 그리고, 만약 CD-ROM(51) 또는 마그네틱 테잎(magnetic tape ; 53)에 데이터를 저장하는 경우, CD-ROM(51) 또는 마그네틱 테잎(53)에 저장할 수 있는 데이터의 양은 비교적 크지만, 백업하는데 오랜 시간을 소요해야하는 문제점과, 고가의 백업 장치를 별도로 구입해야 하는 문제가 따른다.Such a conventional data backup system is cumbersome for users to specify and store data. For example, when storing data on the floppy disk 52, since the amount of data that can be stored on the floppy disk 52 is limited to a small amount, a large number of floppy disks 52 must be used, and the user must floppy one by one. You will need to insert it into a disk drive and remove it. If the data is stored in the CD-ROM 51 or the magnetic tape 53, the amount of data that can be stored in the CD-ROM 51 or the magnetic tape 53 is relatively large. There is a problem that requires a long time, and the need to purchase an expensive backup device separately.

따라서, 별도의 외부 백업 장치 없이 저렴한 비용으로 보다 간편하게 파일을 백업하고 복구할 수 있는 방법이 요구된다.Therefore, there is a need for a method of easily backing up and recovering a file at low cost without a separate external backup device.

따라서, 본 발명의 목적은 상술한 제반 문제점을 해결하기 위해 제안된 것으로, 컴퓨터 시스템의 디스크에 저장된 파일을 별도의 외부 백업 장치 없이 보다 간편한 방법으로 파일들을 백업하고 복구할 수 있는 방법을 제공하는데 있다.Accordingly, an object of the present invention is to solve the above-mentioned problems, and to provide a method for backing up and restoring files stored in a disk of a computer system in a simpler manner without a separate external backup device. .

도 1은 종래 기술에 의한 파일 백업 방법을 보여주기 위한 블록도;1 is a block diagram showing a file backup method according to the prior art;

도 2는 본 발명에 의한 파일 백업 방법을 보여주기 위한 블록도;2 is a block diagram showing a file backup method according to the present invention;

도 3은 본 발명에 의한 파일 백업 영역의 설정 수순을 보여주기 위한 흐름도;3 is a flowchart showing a procedure for setting a file backup area according to the present invention;

도 4는 본 발명에 의한 파일 백업 수순을 보여주기 위한 흐름도; 그리고4 is a flowchart showing a file backup procedure according to the present invention; And

도 5는 본 발명에 의한 파일 복구 수순을 보여주기 위한 흐름도.5 is a flowchart showing a file recovery procedure according to the present invention.

*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

100, 200 : 하드디스크 110, 210 : 데이터 영역100, 200: hard disk 110, 210: data area

120, 220 : 파일 백업 영역 300 : 파일 백업 유틸리티/드라이버120, 220: File backup area 300: File backup utility / driver

500 : 백업 디스켓500: Backup Diskette

상술한 바와 같은 본 발명의 목적을 달성하기 위한 본 발명의 특징에 의하면, 컴퓨터 하드디스크에 저장된 파일들을 백업하는 디스크 백업 방법은, 파일을 기입/독출할 수 있는 상기 하드디스크의 데이터 영역 중 일부를 파일 백업 영역으로 설정하는 단계, 상기 하드디스크의 파일 백업 영역을 제외한 나머지 영역을 상기 데이터 영역으로 인식하는 단계, 백업할 파일의 종류를 등록하는 단계, 상기 데이터 영역에 상기 등록된 종류의 파일이 기입되면 자동으로 상기 파일 백업 영역에 상기 파일을 백업하는 단계, 그리고 파일 복구 기능이 선택되면 상기 파일 백업 영역에 저장된 파일들을 복구하는 단계를 포함한다.According to a feature of the present invention for achieving the object of the present invention as described above, a disk backup method for backing up files stored on a computer hard disk, a portion of the data area of the hard disk that can write / read files Setting a file backup area, recognizing the remaining area excluding the file backup area of the hard disk as the data area, registering a type of a file to be backed up, writing the registered type of file in the data area Automatically backing up the file to the file backup area; and restoring files stored in the file backup area if a file recovery function is selected.

(실시예)(Example)

이하 본 발명에 따른 실시예를 첨부된 도면 도 2 내지 도 5를 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 2 to 5.

본 발명의 신규한 컴퓨터 시스템의 파일 백업 방법은, 파일을 기입/독출할 수 있는 상기 하드디스크의 데이터 영역 중 일부를 파일 백업 영역으로 설정하고, 상기 하드디스크의 파일 백업 영역을 제외한 나머지 영역을 상기 데이터 영역으로 인식한다. 바이오스에 의해 파일 백업 기능이 인에이블 되면, 사용자가 임의로 지정한 확장자를 가지는 파일들이 모두 자동으로 상기 파일 백업 영역에 백업된다. 그리고 상기 백업된 파일들은, 필요할 때마다 다른 하드디스크 또는 플로피 디스크 등에 복구될 수 있다.In the file backup method of the novel computer system of the present invention, a part of the data area of the hard disk capable of writing / reading a file is set as a file backup area, and the remaining area except the file backup area of the hard disk is set to the file backup area. Recognize it as a data area. When the file backup function is enabled by the BIOS, all files having a user-specified extension are automatically backed up to the file backup area. The backed up files may be restored to another hard disk or floppy disk whenever necessary.

도 2는 본 발명에 의한 파일 백업 방법을 보여주기 위한 블록도이다. 도 2를 참조하면, 컴퓨터 시스템(900)은, 적어도 하나 이상의 하드디스크들(100, 200)을 포함한다. 각각의 하드디스크는 시스템 영역과 데이터 영역으로 나뉘어 진다. 상기 데이터 영역은, 그 크기가 상기 컴퓨터 시스템(900)의 운영 시스템에 의해서 인식되어 파일들을 기입하거나 독출할 수 있는 영역이다.2 is a block diagram showing a file backup method according to the present invention. 2, a computer system 900 includes at least one hard disk 100, 200. Each hard disk is divided into a system area and a data area. The data area is an area whose size is recognized by the operating system of the computer system 900 so that files can be written or read.

본 발명에 의한 파일 백업 방법에서는, 상기 데이터 영역의 일부를 파일 백업을 위한 파일 백업 영역(120, 220)으로 할당하고, 그 나머지 영역을 데이터 영역(110, 210)으로 인식한다. 이러한 파일 백업 영역(120, 220) 및 데이터 영역(110, 210)의 인식에 대한 루틴은, 상기 컴퓨터 시스템(900)의 바이오스(BIOS)에 저장되어, 컴퓨터 시스템(900)의 부팅시 CMOS 셋업 과정을 통해 수행된다. 즉, 상기 인식된 데이터 영역(110, 210)에 대한 정보는, 원래 데이터 영역(110, 210)의 크기에서 파일 백업 영역(120, 220) 크기만큼 감소된 후 바이오스를 통해 운영시스템(operating system ; OS)로 전달된다. 그 결과, 운영시스템은, 전달된 크기에 상응하는 데이터 영역(110, 210)에만 파일을 기입/독출할 수 있게 되고, 상기 파일 백업 영역(120, 220)을 인식하지 못하게 된다. 그러므로, 상기 파일 백업 영역(120, 220)은 운영시스템의 제어에서 벗어나 파일의 백업을 위해서만 사용될 수 있게 된다.In the file backup method according to the present invention, a portion of the data area is allocated to the file backup areas 120 and 220 for file backup, and the remaining areas are recognized as the data areas 110 and 210. The routines for recognizing the file backup areas 120 and 220 and the data areas 110 and 210 may be stored in a BIOS of the computer system 900 to set up a CMOS setup process when the computer system 900 is booted. Is done through. That is, the information about the recognized data areas 110 and 210 is reduced by the size of the file backup areas 120 and 220 from the size of the original data areas 110 and 210 and then operated through a BIOS. OS). As a result, the operating system can write / read a file only in the data areas 110 and 210 corresponding to the transferred size, and fail to recognize the file backup areas 120 and 220. Therefore, the file backup area 120, 220 can be used only for the backup of the file out of the control of the operating system.

그러나, Microsoft사의 Windows 98처럼 바이오스를 통해 하드디스크(100, 200)의 정보 파라미터를 가져가지 않는 운영시스템의 경우, 본 발명에서는, 하드디스크 억세스에 트랩(trap)을 걸어서 운영시스템이 Identify Drive Commend(0xEC)를 하드디스크에 기입하고 하드디스크 파라미터를 가져갈 때, 파일 백업 영역(120, 220)의 크기만큼 감소된 하드디스크의 데이터 영역 크기(110, 210)를 리턴 시켜 준다. 이러한 과정에 의해서, 하드디스크(100, 200)의 파일 백업 영역(120, 220)은, 앞에서 설명한 바와 같이 히든 영역으로 확보될 수 있다.However, in the case of an operating system that does not take the information parameters of the hard disks 100 and 200 through the BIOS, such as Microsoft's Windows 98, in the present invention, the operating system traps the hard disk access so that the operating system identifies Identity Drive Commend ( When 0xEC) is written to the hard disk and the hard disk parameter is taken, the data area sizes 110 and 210 of the hard disk reduced by the size of the file backup area 120 and 220 are returned. By this process, the file backup areas 120 and 220 of the hard disks 100 and 200 may be secured as hidden areas as described above.

도 2에 도시된 바와 같이, 상기 컴퓨터 시스템(900)의 운영시스템(OS)에는 파일 백업 유틸리티/드라이버(300)가 인스톨된다. 사용자는, 파일 백업 유틸리티를 통해 확장자를 지정하는 방식으로 백업될 파일들의 종류를 선택할 수 있다. 사용자가 백업 유틸리티를 통해 백업할 파일을 지정하면, 선택된 확장자는 백업 유틸리티를 통해 백업 드라이버로 전달된다. 상기 백업 드라이버는, 운영시스템인 Windows의 DDK에서 제공하는 IFSMgr_InstallFileSystem ApiHook을 통해 Windows의 File Operation을 훅(hook)한 후, 상기 백업 유틸리티로부터 전송된 확장자를 넘겨받는다. 그리고, 이 백업 드라이버는, 파일의 기입 동작이 실행될 경우 기입되는 파일이 백업 대상 파일인지 여부를 체크한다. 만약 이 파일이 백업할 파일로 등록된 경우 하드디스크의 파일 백업 영역(120, 22)에 자동으로 상기 파일들을 기입한다.As shown in FIG. 2, a file backup utility / driver 300 is installed in an operating system (OS) of the computer system 900. The user can select the type of files to be backed up by specifying an extension via a file backup utility. When the user specifies a file to back up via the backup utility, the selected extension is passed to the backup driver through the backup utility. The backup driver hooks a file operation of Windows through IFSMgr_InstallFileSystem ApiHook provided by DDK of Windows, which is an operating system, and receives the extension transmitted from the backup utility. Then, the backup driver checks whether or not the file to be written is a backup target file when the file write operation is executed. If this file is registered as a file to be backed up, the files are automatically written in the file backup areas 120 and 22 of the hard disk.

그리고, 이와 같이 백업된 파일들은 상기 파일 백업 유틸리티/드라이버(300)에 의해 다른 하드디스크 또는 플로피 디스크(500)로 복구될 수 있다. 만약 하드디스크(100)의 시스템 영역의 손상으로 하드디스크(100)의 데이터 영역(110)에 저장된 파일을 인식할 수 없게 된 경우라 하더라도, 사용자가 지정한 파일들은 이미 상기 파일 백업 영역(120)에 안전하게 저장되어 있으므로, 이들 파일들은 안전하게 다른 하드디스크(200)의 데이터 영역(210) 또는 플로피 디스크(500)로 복구될 수 있다.The files backed up as described above may be restored to another hard disk or floppy disk 500 by the file backup utility / driver 300. If the file stored in the data area 110 of the hard disk 100 cannot be recognized due to the damage of the system area of the hard disk 100, the files specified by the user are already stored in the file backup area 120. Since they are stored securely, these files can be safely recovered to the data area 210 or floppy disk 500 of another hard disk 200.

도 3은 본 발명에 의한 파일 백업 영역의 설정 수순을 보여주기 위한 흐름도이다. 도 3을 참조하면, 단계 S10에서는 컴퓨터 시스템(900)에 전원을 인가한다. 이어서, 단계 S12에서 컴퓨터 시스템(900)은 각 디바이스들을 점검하는 파워 온 셀프 테스트(Power On Self Test ; POST)를 수행한다. 이어서 단계 S14에서는, CMOS 셋업이 수행되는지 여부를 판별한다. 판별 결과, 만약 CMOS 셋업 프로그램이 실행되었으면, 단계 S16에서 CMOS 셋업 프로그램에 포함되어 있는 파일 백업 인에이블 메뉴가 선택되었는지 여부를 판별한다. 만약 파일 백업 인에이블 메뉴가 선택되었다면, 단계 S18에서는 상기 파일 백업 인에이블 메뉴를 통해 파일 백업 기능을 인에이블 시킨다. 이어서, 단계 S20에서는, 바이오스가 하드디스크(100, 200)의 데이터 영역 내에 파일 백업 영역을 설정한다. 그리고, 단계 S22에서 상기 바이오스는, 상기 데이터 영역 중 상기 파일 백업 영역을 제외한 나머지 부분을 데이터 영역으로 새롭게 할당하고, 이에 대한 정보를 운영시스템으로 전달한 후 CMOS 셋업을 종료한다. 그리고, 단계 S24에서는, 운영시스템에 의한 부팅을 수행하고 수순은 A로 진행한다.3 is a flowchart illustrating a procedure for setting a file backup area according to the present invention. Referring to FIG. 3, in step S10, power is supplied to the computer system 900. In operation S12, the computer system 900 performs a power on self test (POST) for checking each device. Subsequently, in step S14, it is determined whether the CMOS setup is performed. As a result of the determination, if the CMOS setup program has been executed, it is determined in step S16 whether the file backup enable menu included in the CMOS setup program is selected. If the file backup enable menu is selected, in step S18 the file backup function is enabled through the file backup enable menu. Next, in step S20, the BIOS sets a file backup area in the data area of the hard disks 100, 200. In step S22, the BIOS newly allocates a remaining portion of the data area excluding the file backup area to the data area, transfers the information to the operating system, and terminates the CMOS setup. In step S24, booting by the operating system is performed and the procedure proceeds to A.

만약, 단계 S14의 판별 결과 CMOS 셋업이 실행되지 않았다면, 수순은 다음 질문을 위한 단계 S26으로 진행한다. 단계 S26에서는 파일 백업 기능이 인에이블 되어있는지 여부를 판별한다. 판별 결과, 만약 파일 백업 기능이 인에이블 되어 있으면, 수순은 단계 S22로 진행하여 하드디스크의 정보를 운영 시스템(OS)으로 전달한다. 그리고, 만약 파일 백업 기능이 인에이블 되어있지 않으면, 수순은 단계 S24로 진행하여 운영시스템에 의한 부팅을 수행한 후 A로 진행한다.If the CMOS setup has not been executed as a result of the determination of step S14, the procedure goes to step S26 for the next question. In step S26, it is determined whether the file backup function is enabled. As a result of the determination, if the file backup function is enabled, the procedure goes to step S22 to transfer information of the hard disk to the operating system (OS). If the file backup function is not enabled, the procedure proceeds to step S24 to perform booting by the operating system and then proceeds to A. FIG.

도 4는 본 발명에 의한 파일 백업 수순을 보여주기 위한 흐름도이다. 도 4를 참조하면, 파일 백업 기능이 인에이블 되어 있는 경우, 단계 S30에서는 파일 백업 유틸리티가 실행되었는지 여부를 판별한다. 판별 결과, 만약 파일 백업 유틸리티가 실행되지 않았다면, 수순은 A로 되돌아간다. 그리고, 만약 파일 백업 유틸리티가 실행되었다면, 백업할 파일의 종류가 지정되었는지 여부를 판별한다. 판별 결과, 만약 백업할 파일의 종류가 지정되지 않았다면, 수순은 단계 S34로 진행하여 백업할 파일의 종류를 지정한다. 앞에서 설명한 바와 같이, 백업할 파일의 지정은 백업을 원하는 파일의 확장자를 지정함에 의해서 가능하다. 이어서, 단계 S36에서는, 파일의 기입 동작이 실행되었는지 여부를 판별한다. 판별 결과, 파일의 기입 동작이 실행되지 않았으면 수순은 A로 되돌아가고, 만약 파일의 기입 동작이 실행되었으면, 수순은 단계 S38로 진행한다. 단계 S38에서 파일 백업 드라이브는 기입되는 파일이 백업할 파일로 지정된 종류의 것인지 여부를 판별한다. 판별 결과, 만약 기입되는 파일이 지정된 종류의 파일이 아니면, 수순은 A로 되돌아가고, 만약 기입되는 파일이 지정된 종류의 파일이면, 단계 S40에서, 상기 파일은 자동으로 파일 백업 영역(120, 220)에 저장된다.4 is a flowchart illustrating a file backup procedure according to the present invention. 4, if the file backup function is enabled, it is determined in step S30 whether the file backup utility has been executed. As a result of the determination, if the file backup utility has not been executed, the procedure returns to A. If the file backup utility is executed, it is determined whether the type of file to be backed up is specified. As a result of the discrimination, if the type of file to be backed up is not specified, the procedure goes to step S34 to specify the type of file to be backed up. As described above, the specification of the file to be backed up is possible by specifying the extension of the file to be backed up. Next, in step S36, it is determined whether or not a file writing operation has been performed. As a result of the determination, if the file write operation has not been executed, the procedure returns to A. If the file write operation has been executed, the procedure proceeds to step S38. In step S38, the file backup drive determines whether the file to be written is of the type designated as the file to be backed up. As a result of the determination, if the file to be written is not a file of the specified type, the procedure returns to A, and if the file to be written is a file of the specified type, in step S40, the file is automatically stored in the file backup area 120 or 220. Are stored in.

도 5는 본 발명에 의한 파일 복구 수순을 보여주기 위한 흐름도이다. 도 5를 참조하면, 단계 S50에서는, 파일 백업 유틸리티가 실행되었는지 여부를 판별한다. 만약 파일 백업 유틸리티가 실행되었으면, 수순은 단계 S52로 진행하여 상기 파일 백업 유틸리티에서 제공하는 파일 복구 기능이 실행되었는지 여부를 판단한다. 만약 파일 복구 기능이 실행되었으면, 단계 S54에서는 파일 백업 영역(120, 220)에 존재하는 파일들을 체크한다. 그리고, 사용자가 복구할 파일과 복구될 드라이브를 하드디스크(100, 200)의 데이터 영역 또는 플로피 디스크(500) 중 어느 하나로 선택하면, 단계 S56에서는 지정된 파일을 선택된 드라이브에 복구하고, 수순은 A로 되돌아간다.5 is a flowchart illustrating a file recovery procedure according to the present invention. Referring to Fig. 5, in step S50, it is determined whether or not a file backup utility has been executed. If the file backup utility has been executed, the procedure goes to step S52 to determine whether the file recovery function provided by the file backup utility has been executed. If the file recovery function has been executed, the files existing in the file backup areas 120 and 220 are checked in step S54. If the user selects a file to be recovered and a drive to be recovered into one of the data areas of the hard disks 100 and 200 or the floppy disk 500, in step S56, the designated file is recovered to the selected drive, and the procedure is A. Go back.

따라서, 본 발명에 의한 파일 복구 방법은, 컴퓨터 시스템의 하드디스크에 저장된 파일을 별도의 외부 백업 장치 없이 백업할 수 있고, 컴퓨터 시스템의 디스크가 손상된 경우에도 백업된 파일을 다른 하드디스크 또는 플로피 디스크로 복구할 수 있다. 뿐만 아니라, 파일 백업 기능을 인에이블 해 놓기만 하면, 사용자에 의해 선택된 종류의 파일들이 기입될 때마다 자동으로 백업되므로 보다 간편한 방법으로 파일을 백업할 수 있다.Therefore, the file recovery method according to the present invention can back up files stored on the hard disk of a computer system without a separate external backup device, and even if the disk of the computer system is damaged, the backed up files to another hard disk or floppy disk. Can be recovered In addition, by simply enabling the file backup function, each file of the type selected by the user is automatically backed up each time it is written.

이상에서, 본 발명에 따른 회로의 구성 및 동작을 상기한 설명 및 도면에 따라 도시하였지만 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능함은 물론이다.In the above, the configuration and operation of the circuit according to the present invention are shown in accordance with the above description and drawings, but this is merely described, for example, and various changes and modifications are possible without departing from the spirit of the present invention. .

이상과 같은 본 발명에 의하면, 컴퓨터 시스템의 디스크에 저장된 파일을 별도의 외부 백업 장치 없이 보다 간편한 방법으로 백업할 수 있고, 컴퓨터 시스템의 디스크가 손상된 경우에도 백업된 파일을 다른 하드디스크 또는 플로피 디스크로 복구할 수 있다.According to the present invention as described above, the file stored in the disk of the computer system can be backed up in a more convenient way without a separate external backup device, and even if the disk of the computer system is damaged, the backed up file to another hard disk or floppy disk Can be recovered

Claims (5)

컴퓨터 하드디스크에 저장된 파일들을 백업하는 디스크 백업 방법에 있어서:A disk backup method for backing up files stored on a computer hard disk: 파일을 기입/독출할 수 있는 상기 하드디스크의 데이터 영역 중 일부를 파일 백업 영역으로 설정하는 단계와;Setting a portion of the data area of the hard disk to which files can be written / read as a file backup area; 상기 하드디스크의 파일 백업 영역을 제외한 나머지 영역을 상기 데이터 영역으로 인식하는 단계와;Recognizing a region other than a file backup region of the hard disk as the data region; 백업할 파일의 종류를 등록하는 단계와;Registering a type of file to be backed up; 상기 데이터 영역에 상기 등록된 종류의 파일이 기입되면, 자동으로 상기 파일 백업 영역에 상기 파일을 백업하는 단계; 그리고Automatically backing up the file to the file backup area when the file of the registered type is written in the data area; And 파일 복구 기능이 선택되면, 상기 파일 백업 영역에 저장된 파일들을 복구하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 파일 백업 방법.If a file recovery function is selected, recovering files stored in the file backup area. 제 1 항에 있어서,The method of claim 1, 상기 파일 백업 영역 및 데이터 영역에 대한 인식은,Recognition of the file backup area and data area, 상기 컴퓨터 시스템의 부팅시 CMOS 셋업 프로그램을 통해 수행되며,When booting the computer system is performed through a CMOS setup program, 바이오스가 상기 하드디스크의 데이터 영역에 대한 정보를 운영시스템으로 전달함에 의해서 수행되는 것을 특징으로 하는 컴퓨터 시스템의 파일 백업 방법.A method of backing up a file system of a computer system, wherein the BIOS is performed by transferring information about a data area of the hard disk to an operating system. 제 2 항에 있어서,The method of claim 2, 상기 파일 백업 영역은,The file backup area, 상기 컴퓨터 시스템의 운영시스템이 인식할 수 없는 히든 영역으로서, 백업 파일들이 기입/독출 되는 것을 특징으로 하는 컴퓨터 시스템의 파일 백업 방법.A hidden area not recognized by the operating system of the computer system, wherein backup files are written / read. 제 1 항에 있어서,The method of claim 1, 상기 파일이 복구되는 위치는,Where the file is recovered, 상기 하드디스크의 데이터 영역, 다른 하드디스크의 데이터 영역, 또는 플로피 디스크 중 어느 하나인 것을 특징으로 하는 컴퓨터 시스템의 파일 백업 방법.And a data area of the hard disk, a data area of another hard disk, or a floppy disk. 제 2 항에 있어서,The method of claim 2, 상기 파일의 백업은,The backup of the file, 상기 운영시스템 커널(kernel)에서 제공하는 훅(hook) 함수를 사용하여, 상기 지정된 종류의 파일이 기입될 때 자동으로 수행되는 것을 특징으로 하는 컴퓨터 시스템의 파일 백업 방법.And a hook function provided by the operating system kernel, which is automatically performed when the file of the specified type is written.
KR1019990036308A 1999-08-30 1999-08-30 File backup method of computer system KR100621614B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990036308A KR100621614B1 (en) 1999-08-30 1999-08-30 File backup method of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990036308A KR100621614B1 (en) 1999-08-30 1999-08-30 File backup method of computer system

Publications (2)

Publication Number Publication Date
KR20010019732A true KR20010019732A (en) 2001-03-15
KR100621614B1 KR100621614B1 (en) 2006-09-06

Family

ID=19609229

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990036308A KR100621614B1 (en) 1999-08-30 1999-08-30 File backup method of computer system

Country Status (1)

Country Link
KR (1) KR100621614B1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010061629A (en) * 1999-12-28 2001-07-07 윤종용 The automatic recovery scheme of corrupted system configuration data stored in flash memory on ethernet switch device
KR100489178B1 (en) * 2001-12-19 2005-05-17 (주)새늘 Harddisk protect method
KR100504769B1 (en) * 2002-11-08 2005-07-29 주식회사 정소프트 Method for Automatic Recovery and Operation of Software
WO2005119460A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk
WO2005119459A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk
WO2005119458A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk
KR100652506B1 (en) * 2004-09-24 2006-12-06 삼성전자주식회사 Apparatus and method for self-reconstructing of system operating data
KR100673681B1 (en) * 2004-03-25 2007-01-24 엘지전자 주식회사 Method for executing instant on function in personal computer
KR100705178B1 (en) * 2005-04-06 2007-04-06 엘지전자 주식회사 Method of data backup in digital television receiver
KR100723510B1 (en) * 2004-11-18 2007-05-30 삼성전자주식회사 Method and Apparatus to backup data in hard disk drive
KR101115486B1 (en) * 2003-08-08 2012-02-27 엘지전자 주식회사 Apparatus and method for controlling booting of computer system
US8356230B2 (en) 2008-09-23 2013-01-15 Samsung Electronics Co., Ltd. Apparatus to manage data stability and methods of storing and recovering data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60254460A (en) * 1984-05-31 1985-12-16 Fujitsu Ltd Structure of volume
JPH0644218B2 (en) * 1990-10-22 1994-06-08 インターナショナル・ビジネス・マシーンズ・コーポレイション Method and apparatus for managing mirrored storage device
KR100383638B1 (en) * 1996-04-03 2003-07-12 삼성전자주식회사 Method for recording virus backup program on magnetic disk in magnetic disk recording device for preventing computer virus
JPH10269031A (en) * 1997-03-27 1998-10-09 Hitachi Ltd Hard disk driving device with backup function
KR20050111061A (en) * 2004-05-20 2005-11-24 삼성전자주식회사 Method, system and storage medium for data backup

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010061629A (en) * 1999-12-28 2001-07-07 윤종용 The automatic recovery scheme of corrupted system configuration data stored in flash memory on ethernet switch device
KR100489178B1 (en) * 2001-12-19 2005-05-17 (주)새늘 Harddisk protect method
KR100504769B1 (en) * 2002-11-08 2005-07-29 주식회사 정소프트 Method for Automatic Recovery and Operation of Software
KR101115486B1 (en) * 2003-08-08 2012-02-27 엘지전자 주식회사 Apparatus and method for controlling booting of computer system
KR100673681B1 (en) * 2004-03-25 2007-01-24 엘지전자 주식회사 Method for executing instant on function in personal computer
US7469261B2 (en) 2004-06-04 2008-12-23 Chang-Ju Lee Apparatus and method for protecting system data on computer hard-disk
WO2005119460A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk
WO2005119459A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk
WO2005119458A1 (en) * 2004-06-04 2005-12-15 Renosoft Technology Inc. Apparatus and method for protecting system data on computer hard-disk
US7624243B2 (en) 2004-06-04 2009-11-24 Chang-Ju Lee Apparatus and method for protecting system data on computer hard-disk
KR100652506B1 (en) * 2004-09-24 2006-12-06 삼성전자주식회사 Apparatus and method for self-reconstructing of system operating data
KR100723510B1 (en) * 2004-11-18 2007-05-30 삼성전자주식회사 Method and Apparatus to backup data in hard disk drive
KR100705178B1 (en) * 2005-04-06 2007-04-06 엘지전자 주식회사 Method of data backup in digital television receiver
US8356230B2 (en) 2008-09-23 2013-01-15 Samsung Electronics Co., Ltd. Apparatus to manage data stability and methods of storing and recovering data

Also Published As

Publication number Publication date
KR100621614B1 (en) 2006-09-06

Similar Documents

Publication Publication Date Title
US6963951B2 (en) Partition recovery method
US7519806B2 (en) Virtual partition for recording and restoring computer data files
EP1469393B1 (en) A method for backing up and recovering data in a hard disk
US6205558B1 (en) Recovery of file systems after modification failure
US6691213B1 (en) Computer system and method for accessing a protected partition of a disk drive that lies beyond a limited address range of a host computer's BIOS
US5768568A (en) System and method for initializing an information processing system
EP1022655B1 (en) Computer with bootable secure program
USRE41011E1 (en) Apparatus and method for controlling booting operation of computer system
US20070283114A1 (en) Method and system for dividing a hard disk drive into multiple host access spaces
US6868496B2 (en) Host protected area (HPA) duplication process
WO2000019310A2 (en) Dual use master boot record
AU5513198A (en) Method and apparatus for adding to the reserve area of a disk drive
KR100621614B1 (en) File backup method of computer system
US6728830B1 (en) Method and apparatus for modifying the reserve area of a disk drive
US20040044886A1 (en) Partition recovery method
US6473655B1 (en) Data processing system and method for creating a virtual partition within an existing partition in a hard disk drive
US7822937B2 (en) Method and apparatus for modifying reserve area of disk drive or memory
KR19980068699U (en) Data protection and restoration devices in hard disk for computer
KR100626354B1 (en) Disk recovering method of computer system
US5757749A (en) Information processing system operable with a detachable recording medium
KR100692958B1 (en) Portable solid state drive with emulator
KR20050032902A (en) Data backup and recovery method
JP3220387B2 (en) Disk copy protection method, disk reading mechanism, and disk recording medium
Image User's Guide
KR100251919B1 (en) Operation method for high density storage device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee