KR100285534B1 - How computer systems work - Google Patents

How computer systems work Download PDF

Info

Publication number
KR100285534B1
KR100285534B1 KR1019940704788A KR19940704788A KR100285534B1 KR 100285534 B1 KR100285534 B1 KR 100285534B1 KR 1019940704788 A KR1019940704788 A KR 1019940704788A KR 19940704788 A KR19940704788 A KR 19940704788A KR 100285534 B1 KR100285534 B1 KR 100285534B1
Authority
KR
South Korea
Prior art keywords
area
data
record
recording
basic
Prior art date
Application number
KR1019940704788A
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 말콤 피터 비
Application granted granted Critical
Publication of KR100285534B1 publication Critical patent/KR100285534B1/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/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1466Management of the backup or restore process to make the backup process non-disruptive

Abstract

본 발명은 백업 프로세스가 수행되는 동안에는 기억수단상의 자료에 대한 변화의 레코드를 유지하기 위한 프로세스를 포함하는 백업 프로세스를 구비한, 다수의 애플리케이션 프로그램간에 분할된 기억장치를 가진 컴퓨터 시스템, 특히 마이크로 컴퓨터 시스템의 작동방법에 관한 것이다. 상기 레코드는 다른 프로세스는 기억장치를 계속 갱신하는 중에도 백업프로세스에 의해 감지된 자료가 실행중에 변화되지 않도록 하기 위해 사용되며 그에 의해 파일잠금기법과 결합된 지연을 방지하게 된다. 추가적인 동작은 컴퓨터의 통상적인 사용에 영향을 주지 않는 방법으로 마이크로 컴퓨터의 오퍼레이팅 시스템 인터페이스 레벨에서 실행된다.The present invention is a computer system, in particular a microcomputer system, having a storage device divided between a plurality of application programs, comprising a backup process comprising a process for maintaining a record of changes to the data on the storage means during the backup process. It is about how to operate. The record is used to ensure that the data detected by the backup process does not change during execution while other processes continue to update the storage, thereby preventing delays associated with file locking techniques. Additional operations are performed at the operating system interface level of the microcomputer in a manner that does not affect the normal use of the computer.

Description

컴퓨터 시스템의 작동방법How computer systems work

제1도는 퍼스널 컴퓨터 및 카트리지 테이프 드라이브의 블럭도.1 is a block diagram of a personal computer and a cartridge tape drive.

제2(a)도는 통상적인 퍼스널 컴퓨터의 오퍼레이팅 시스템 단계에서의 시스템 기억도의 개략도.2 (a) is a schematic diagram of a system memory diagram at an operating system stage of a typical personal computer.

제2(b)도는 본 발명의 방법에 따라 작동하도록 변형된 컴퓨터의 오퍼레이팅 시스템 단계에서의 시스템 기억도의 개략도.2 (b) is a schematic diagram of system memory at an operating system stage of a computer modified to operate in accordance with the method of the present invention.

제3도는 백업 작동에서 자료기록방법의 흐름도, 및3 is a flowchart of a data recording method in a backup operation, and

제4도는 제3도의 방법에 대한 제2 구체예의 흐름도이다.4 is a flowchart of a second embodiment of the method of FIG.

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

10 : 컴퓨터 12 : 중앙처리장치10 computer 12 central processing unit

14 : 램(메모리) 16 : 기억장치14: RAM 16: Memory

24 : 원본 자료 영역 30 : 델타 영역24: original data area 30: delta area

[발명의 배경][Background of invention]

본 발명은 컴퓨터 시스템의 작동방법에 관한 것이며, 특히 기억장치에 결함이 발생하거나 또는 자료가 파괴, 소멸 또는 최근처럼 ″컴퓨터 바이러스″ 에 감염될 가능성으로부터 보호하기 위하여 기억장치에 저장된 자료의 백업 복사(backup copy)를 제공하는 방법에 관한 것이다.The present invention relates to a method of operating a computer system, and in particular to a backup copy of data stored in a storage device in order to protect it from the possibility that the storage device is defective or the data is destroyed, destroyed, or recently infected with a `` computer virus ''. backup copy).

본 발명은 특히 퍼스널 컴퓨터(P.C)용 백업 대비에 관한 것이다.The present invention relates in particular to backup preparation for personal computers (P.C).

통상 고정 하드 디스크 같은 기억수단을 포함하는 단순한 단일 사용자 컴퓨터 시스템에 있어서는, 어느 주어진 시간에 대해 단지 하나의 애플리케이션 프로그램만이 기억장치에 엑세스(access)된다. 이러한 환경에서는 백업 애플리케이션(backup application)이 종료될때까지는 다른 애플리케이션이 작동될 수 없기 때문에, 백업 동작(backup operation)이 수행되는 동안에는 기억수단을 독점적으로 사용하게 되는 애플리케이션 프로그램에 의해 기억장치에 저장된 자료의 백업 작업이 이루어진다.In a simple single-user computer system that typically includes storage means such as a fixed hard disk, only one application program is accessed to the storage at any given time. In such an environment, other applications cannot be operated until the backup application is terminated, so that the data stored in the storage device by the application program exclusively uses the storage means during the backup operation. The backup job takes place.

다수의 애플리케이션이 동시에 동작할 수 있는 멀티테스크 환경과 다수의 사용자가 동일한 자원(resourse)를 나누어 사용할 수 있는 네트웍 시스템이 도입됨에 따라, 하나이상의 애플리케이션이 동일한 기억수단에 동시에 엑세스해야 하는 상황이 발생하게 된다. 이러한 경우에는 애플리케이션간에 충돌이 발생할 가능성이 있게 된다. 예를들면, 어느 애플리케이션이 현재 다른 애플리케이션에 의해 사용중인 파일을 변형하거나 제거할 수도 있는 것이다. 이러한 것은 기억수단의 혼란, 잠재적으로는 손상을 가져오며 결국 자료의 소멸을 야기하게된다.With the introduction of a multi-tasking environment where multiple applications can run simultaneously and a network system that allows multiple users to share the same resources, there is a need for more than one application to simultaneously access the same storage. do. In this case, there is a possibility of collision between applications. For example, an application may modify or remove a file currently being used by another application. This can lead to memory disruption, potentially damage, and eventually destruction of data.

파일잠금시에는 하나이상의 애플리케이션이 하나의 파일에 기록하는 것을 방지하고 레코드 잠금시에는 두개의 애플리케이션이 주어진 파일의 동일 영역을 변형시키는 것을 방지하도록 하는 ″파일잠금″ 및 ″레코드 잠금″ 으로 알려진 방법이 오퍼레이팅 시스템에 도입되어 있다. 이러한 방법은 대부분의 애플리케이션에 대하여, 특히 각각의 애플리케이션이 단지 분할된 파일에 대해 상대적으로 작은 변형만을 가져오며 잠겨진 파일 또는 레코드에 엑세스 하려는 다른 애플리케이션을 심각하게 지연시키지 않는 경우에는 매우 복잡하게 된다. 그러나 기억수단이 분할되어 있는 컴퓨터 시스템에서 자료를 주기적으로 백업하기 위한 애플리케이션은 특별한 경우이다.Known as ″ file lock ″ and ″ record lock ″, which prevents more than one application from writing to a file when locking a file and preventing two applications from deforming the same area of a given file when locking a record. It is introduced in the operating system. This approach is very complicated for most applications, especially if each application only results in relatively small variations to the split file and does not seriously delay other applications trying to access locked files or records. However, there is a special case of an application for periodically backing up data in a computer system in which storage means are partitioned.

백업될 수 있는 가장 작은 자료의 단위는 단일 파일인데, 이는 백업 애플리케이션 및 오퍼레이팅 시스템은 그것이 어떤 애플리케이션 프로그램과도 결합될 수 있기 때문에 파일의 내부 구조를 알지는 못하기 때문이다.The smallest unit of data that can be backed up is a single file because the backup application and operating system do not know the internal structure of the file because it can be combined with any application program.

추가적으로, 파일의 백업 복사는 어느 특정순간에 원본과 하나도 틀리지 않은 상(image)이 되어야만 한다. 그러나 파일의 복사 작업은 순간적인 작업이 아니며 복사시 소요되는 시간은 파일의 크기와 복사속도에 좌우될 것이다. 만일 백업 애플리케이션이 복사작업동안 다른 애플리케이션이 파일을 변형시키는 것을 막지 못한다면 문제가 발생하게 된다.In addition, the backup copy of a file must be an image that is not the same as the original at any given moment. However, copying a file is not instantaneous and the time required for copying will depend on the file size and copy speed. If the backup application does not prevent other applications from modifying the file during the copy operation, problems will arise.

파일을 복사하기 위해서는 백업 애플리케이션이 전송 버퍼(transfer buffer) 인 램(RAM) 영역에 할당되고 원본 파일의 블럭을 선택적으로 판독하여 버퍼로 옮긴후 버퍼의 내용을 제2의 기억수단에 기록하게 된다. 만일 파일이 아주 작은 것이 아니라면 전송버퍼는 여러번 채워져야 하며 파일을 완전하게 복사하기 위해서는 여러번의 판독·기록작업이 이루어져야 한다. 1O개의 블럭 시리즈로 복사되는 파일을 예로들어 생각하면 복사과정 중에 파일이 변형됨으로써 발생되는 잠재적인 문제가 어떤 것인지 설명된다. 만일 제1 블럭부터 제5 블럭까지의 파일이 이미 복사된 후에 제3 및 제8 블록에 대응되는 파일로 변형하라는 트랜잭션(transaction) 에 의해 파일이 변형되는 경우, 변형된 것을 제8 블럭으로 복사할 수는 있으나 제3 블럭은 트랜잭션이 있기 전에 이미 복사되었기 때문에 변형된 것이 제3 블럭으로 복사될 수 없다. 그러므로 이러한 백업복사는 백업 복사 전체를 무용지물이 되게 하는 단지 부분적인 트랜잭션을 포함하게 되며 애플리케이션의 소유자는 아마도 파일이 손상되었다고 생각할 것이다.In order to copy a file, a backup application is allocated to a RAM area of a transfer buffer, selectively reads a block of an original file, moves it to a buffer, and writes the contents of the buffer to a second storage means. If the file is not very small, the transfer buffer must be filled several times and multiple reads and writes must be made to make a complete copy of the file. Taking a file copied into a series of 100 blocks as an example, it explains what potential problems are caused by file deformation during the copy process. If the file is modified by a transaction to transform the file corresponding to the third and eighth blocks after the files from the first to fifth blocks have already been copied, the modified one can be copied to the eighth block. Although the third block is already copied before the transaction, the transform cannot be copied to the third block. Therefore, such a backup copy will contain only a partial transaction that renders the entire backup copy useless, and the owner of the application will probably think the file is corrupted.

미국특허 제 5,086,502호에는 이중기록동작을 제2 기억수단에 만들므로서 각 기록동작을 백업하는 방법이 개시되어 있다. 이러한 방법에 덧붙여 분할된 기억수단을 가진 컴퓨터 시스템에서 파일을 백업하는 두가지의 다른 방법이 개시되어 있다:U. S. Patent No. 5,086, 502 discloses a method of backing up each write operation by making a double write operation in the second storage means. In addition to these methods, two other methods of backing up files on a computer system with partitioned storage are disclosed:

1) 백업하는 동안 파일을 잠근다.1) Lock files while backing up.

이것은 다른 사용자의 기록 엑세스를 부인하여 다른 사용자에 의해 파일이 변형되는 것을 방지하도록 한다. 만일 다른 사용자에 의해 이미 기록엑세스가 이루어졌다면 백업애플리케이션은 그 파일을 건너뛰거나 독점적인 기록 엑세스가 이루어질 때까지 대기하게 된다.This denies other users' write access, preventing the file from being altered by other users. If write access has already been made by another user, the backup application will either skip the file or wait for exclusive write access.

2) 파일에 대한 변경을 탐지한다.2) Detect changes to files.

파일을 복사한 후에 백업 애플리케이션은 오퍼레이팅 시스템을 이용하여 복사동작동안 어떠한 변경이 있었는가를 점검한다. 만일 변경이 있었다면 복사를 반복하게 되고 그렇지 않다면 그 파일은 건너뛰게 된다. 많은 파일 (특히 데이타베이스 파일) 이 계속 사용되기 때문에 상기한 두 방법은 적절한 해결책을 제시하지 못한다. 게다가 두 방법에 따르면 백업이 이루어지는 동안에는 사용자가 배제되게 된다. 또한, 분당 15 메가바이트(Mb) 이상의 전송비율을 유지할 수 있는 제2 기억장치 및 오퍼레이팅 시스템은 거의 없으며 큰 파일을 복사하는데는 많은 시간이 소요된다.After copying the file, the backup application uses the operating system to check what changed during the copy operation. If there is a change, the copy is repeated, otherwise the file is skipped. Since many files (especially database files) continue to be used, the above two methods do not provide a proper solution. In addition, both methods exclude users during backups. In addition, there are few second storage devices and operating systems capable of maintaining a transfer rate of 15 megabytes (Mb) or more per minute, and it takes a long time to copy large files.

몇몇 애플리케이션 프로그램은 분할된 환경에서 그들 자신의 파일을 안전하게 백업하는 방법을 이용하여 이러한 문제를 해결하고는 있으나 각각의 과정은 다른 것이다. 전체 기억수단을 백업하기 위해서는 백업 애플리케이션이 각각의 다른 구성과정 작업이 어떤 것인지를 알아야 하며 적절한 지점에서 수동적인 조정에 의존해야만 한다. 이와 같이, 백업 애플리케이션은 전체 파일을 백업해야 하며 백업 과정 동안에는 다른 애플리케이션 프로그램에 의해 파일이 변형되서는 안되기 때문에 종래의 백업 방법을 사용하게 되면 분할된 기억수단을 가진 컴퓨터 시스템으로 후퇴가 된다. 이것은 큰 파일을 백업하는 경우 특별히 더욱 그러하다.Some application programs solve this problem by using a secure backup method of their own files in a partitioned environment, but each process is different. To back up the entire storage, the backup application must know what each other configuration process is doing and rely on manual adjustments at the appropriate points. As such, the backup application must back up the entire file and the file must not be modified by another application program during the backup process, so that a conventional backup method is used to retreat to a computer system with partitioned storage means. This is especially true when backing up large files.

[발명의 요약][Summary of invention]

본 발명의 제1 측면에 따르면, 램, 중앙처리장치 및 기억수단을 포함한 마이크로 프로세서를 기반으로 한 컴퓨터 시스템의 작동방법에 있어서; 컴퓨터 시스템에서 실행되고 개시신호 및 정지신호를 발생시키며 기억수단으로부터 원본 자료를 판독하는 적어도 하나의 백업판독 동작을 수행하도록 작동하는 백업 프로세스를 제공하는 단계, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본 영역에 기록하도록 하는 적어도 하나의 통상의 기록동작 및 상기 기억수단으로부터 자료를 판독하도록 하는 적어도 하나의 통상의 판독동작을 수행할 수 있도록 상기 메모리에 기억된 제1 명령을 상기 중앙처리장치로 제공하는 단계, 상기 개시신호를 수신한 후에 상기 기록동작을 차단하고 상기 기록동작에 의해 겹쳐쓰여진 원본 자료를 보존하기 위해 기억수단의 제2 기억영역에 자료를 기록하는 차단동작을 수행하는 단계, 제2 영역에 대한 상기 기록의 레코드를 유지하는 단계, 및 상기 백업 및 통상의 판독동작중 어느 하나를 수행함과 동시에 레코드에 따라 기본 및 제2 기억 영역중 어느 하나로부터 자료를 판독하기 위하여 상기 레코드를 질문하는 단계를 포함하며, 이에 의해 상기 개시신호가 발생하기전의 상태로 원본 자료를 보존할 수 있는 백업 프로세스가 제공되는 것을 특징으로 하는 마이크로프로세서 기반의 컴퓨터 시스템의 작동방법이 제공된다. 선택적으로, 제2 자료는 델타 영역에 기록될 수 있으며 다른 애플리케이션은 기억장치상의 의도된 위치에 기록작업을 계속할 수도 있다. 델타 영역은 바람직하기로는 예를들면 하드 디스크일 수 있는 동일한 기억장치의 다른 영역이다. 본 발명을 수행하기 위한 추가적인 동작은 유리하게는 컴퓨터 시스템의 오퍼레이팅 시스템 인터페이스 레벨에서 저장되며 작동된다. 만일 본 발명의 방법을 수행하기 위한 소프트웨어가 오퍼레이팅 시스템 수준에서 저장된다면 애플리케이션 소프트웨어에 영향을 주지 않도록 투명성을 갖게된다. 레코드에 관해서는 이것은 제1 자료의 레코드, 기억장치에 위치하도록 의도된 자료의 레코드 및 그것의 실제 위치의 레코드를 포함하며, 방법은 의도된 위치로부터 제2 자료를 획득하는 단계를 더 포함하고 있다.According to a first aspect of the present invention, there is provided a method of operating a computer system based on a microprocessor including a RAM, a central processing unit and storage means; Providing a backup process that is executed in a computer system and is operable to perform at least one backup read operation that generates a start signal and a stop signal and reads original data from a storage means, causing the central processing unit to periodically read the data. The central processing of the first instruction stored in the memory to perform at least one normal writing operation to write to the basic area of the storage means and at least one normal reading operation to read data from the storage means; Providing to a device, interrupting the recording operation after receiving the start signal and performing a blocking operation of recording data in a second storage area of the storage means to preserve original data overwritten by the recording operation; Maintaining a record of said record for a second area, and Interrogating the record to read data from either the primary or second storage area in accordance with the record at the same time as performing any one of a previous backup and a normal read operation, whereby the start signal is generated. Provided is a method of operating a microprocessor-based computer system, wherein a backup process is provided to preserve original data in a previous state. Optionally, the second data may be recorded in the delta area and other applications may continue recording at the intended location on the storage device. The delta area is another area of the same storage device which may preferably be a hard disk, for example. Further operations for carrying out the invention are advantageously stored and operated at the operating system interface level of the computer system. If the software for performing the method of the present invention is stored at the operating system level, it is transparent so as not to affect the application software. As for the record, this includes a record of the first data, a record of the data intended to be located in storage, and a record of its actual location, the method further comprising obtaining a second data from the intended location. .

백업 애플리케이션 프로그램이 백업을 시작하기에 앞서 시작명령이 내려지는 것이 바람직하며 백업이 완료된 후에 정지명령이 내려지는 것이 바람직하다. 이러한 백업 레코드는 예를들면, 테이프 드라이브, 광학 디스크, 같은 다양한 기억수단에 저장되거나 또다른 기본기억 매체 영역에 저장될 수 있다. 백업이 이루어지면 통상적인 방법으로 저장될 수 있다.It is preferable that a start command be issued before the backup application program starts a backup, and a stop command is issued after the backup is completed. Such backup records may be stored in various storage means such as, for example, tape drives, optical disks, or in another basic storage medium area. Once backed up, it can be stored in the usual way.

본 발명의 제2 측면에 따르면, 램, 중앙처리장치 및 기억수단을 포함한 마이크로 프로세서 기반의 컴퓨터 시스템에서 실행되는 백업 프로세스에 자료를 공급하는 방법에 있어서, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본 영역에 기록하도록 하는 적어도 하나의 통상의 기록동작 및 상기 기억수단으로부터 자료를 판독하도록 하는 적어도 하나의 통상의 판독동작을 수행할 수 있도록 상기 메모리에 기억된 제1 명령을 상기 중앙처리장치로 발생시키는 단계, 백업 프로세스로부터 개시 신호를 수신하는 단계, 상기 개시신호를 수신한 후에 상기 기록동작을 차단하고 상기 기록동작에 의해 겹쳐 쓰여진 원본자료를 보존하기 위해 기억수단의 제2 기억 영역에 자료를 기록하는 차단동작을 수행하는 단계, 제2 영역에 대한 상기 기록의 레코드를 유지하는 단계, 및 상기 백업 및 통상의 판독동작중 어느 하나를 수행함과 동시에 레코드에 따라 기본 및 제2 기억영역중 어느 하나로부터 자료를 판독하기 위하여 상기 레코드를 질문하는 단계를 포함하며, 이에 의해 상기 개시신호가 발생하기 전의 상태로 원본 자료를 보존할 수 있는 백업 프로세스가 제공되는 것을 특징으로 하는 백업 프로세스로의 자료공급방법이 제공된다.According to a second aspect of the present invention, there is provided a method for supplying data to a backup process executed in a microprocessor-based computer system including a RAM, a central processing unit and a storage means, wherein the central processing unit periodically supplies the data. The central processing of the first instruction stored in the memory to perform at least one normal writing operation to write to the basic area of the storage means and at least one normal reading operation to read data from the storage means; Generating to a device, receiving a start signal from a backup process, interrupting the recording operation after receiving the start signal, and storing the original data overwritten by the recording operation in a second storage area of the storage means. Performing a blocking operation for recording data, wherein the recording of the second area is performed. Maintaining a record of the lock, and querying the record for reading data from either the primary or second storage area in accordance with the record while performing any of the backup and normal read operations. Thus, a data supply method for a backup process is provided, wherein a backup process is provided for preserving original data in a state before the start signal occurs.

본 발명의 제3 측면에 따르면, 램, 중앙처리장치 및 기억수단을 포함한 마이크로 프로세서 기반의 컴퓨터 시스템에 있어서, 개시신호 및 정지신호를 발생시키며 상기 기억수단으로 부터 원본 자료를 판독하는 적어도 하나의 백업판독동작을 수행하도록 작동하는 백업 프로세스를 실행하는 수단, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본 영역에 기록하도록 하는 적어도 하나의 통상의 기록동작 및 상기 기억수단으로부터 자료를 판독하도록 하는 적어도 하나의 통상의 판독동작을 수행하도록 하는 수단, 상기 개시신호를 수신하는 수단, 상기 개시신호를 수신한 후에 상기 기록동작에 의해 겹쳐 쓰여진 원본 자료를 보존하기 위해 상기 기억수단의 제2 기억영역에 자료를 기록하기 위하여 그리고 상기 제2 영역에 대한 상기 기록의 레코드를 유지하기 위하여 상기 기록동작을 차단하는 차단동작을 실행하는 수단, 및 상기 레코드에 따라 상기 기본 및 상기 제2 기억영역중 어느 하나로부터 자료를 판독하기 위하여 상기 레코드를 질문하는 수단을 포함하며, 이에 의해 상기 백업 및 통상의 판독동작중 어느 하나를 수행함과 동시에 상기 개시신호가 발생하기 전의 상태로 원본 자료를 보존할 수 있는 백업 프로세스가 제공되는 것을 특징으로 하는 컴퓨터 시스템의 개선예가 제공된다.According to a third aspect of the present invention, there is provided a microprocessor-based computer system including a RAM, a central processing unit, and a storage means, comprising: at least one backup generating a start signal and a stop signal and reading original data from the storage means. Means for executing a backup process operative to perform a read operation, at least one conventional write operation that causes the central processing unit to periodically write data to the basic area of the storage means and to read data from the storage means; Means for performing at least one normal read operation, means for receiving the start signal, and a second storage area of the storage means for storing original data overwritten by the write operation after receiving the start signal. To record data in and to said second area for Means for executing a blocking operation to block the recording operation to hold a record of the lock, and means for querying the record to read data from either the primary or the second storage area according to the record. The above provides an improvement of a computer system, wherein a backup process is provided that can carry out any one of the backup and normal read operations and at the same time save the original data in the state before the start signal occurred. .

[발명의 구체예에 대한 설명][Description of Specific Example of the Invention]

이하 첨부도면을 기초로 하여 구체예를 통해 본 발명을 설명한다.Hereinafter, the present invention will be described with reference to the accompanying drawings.

제1도에 있어서, 퍼스널 컴퓨터(1O)는 통상 중앙처리장치(CPU)(12), 램(RAM)(14) 및 하드 디스크 드라이브 형태의 비휘발성 기억장치(16)를 포함한다. 이러한 예에서는 백업기억수단을 제공하기 위하여 테이프 유닛(18)이 컴퓨터(1O)에 연결되어 있다.In FIG. 1, the personal computer 10 typically includes a central processing unit (CPU) 12, a RAM 14, and a nonvolatile storage device 16 in the form of a hard disk drive. In this example, the tape unit 18 is connected to the computer 10 to provide a backup storage means.

본 발명에 따르면 디스크 드라이브(16)와 컴퓨터(1O)의 다른 부분간의 자료 흐름을 제어하기 위하여, 백업 프로그램 애플리케이션부는 디스크 드라이브(16)로부터 및 그곳으로의 통상의 판독 및 기록동작을 차단(intercept) 작동을 하는 기록 프로세스로 구성된다.According to the present invention, in order to control the data flow between the disk drive 16 and other parts of the computer 10, the backup program application unit intercepts normal read and write operations from and to the disk drive 16. It consists of a recording process that operates.

파일의 백업 복사를 시작하기 앞서, 전체 디스크 기록 액티비티를 ″델타″ 영역으로 알려져 있는 디스크(16)의 다른 영역으로 전송하도록 백업 애플리케이션에 의해 기록 프로세스가 시동된다. 델타 매핑 테이블(delta mapping table) 은 델타 영역으로 전송된 전체 디스크 기록동작을 유지한다. 이 테이블은 각 디스크 기록동작과 결합된 자료와 델타 영역에서의 그 실제기억위치의 디스크(16)상의 의도된 수신지간의 매핑을 유지한다. 만일 이미 테이블의 엔트리 대상이된 영역에서 후속 기록동작이 이루어진다면, 델타 영역의 오래된 자료위에 새로운 자료가 겹쳐 쓰여진다. 이러한 방법으로 디스크의 주요부분의 자료는 백업 복사가 이루어지는 동안에도 변하지 않으며 그러므로서 모든 변화는 델타 영역으로 전송된다.Prior to starting a backup copy of a file, the write process is started by the backup application to transfer the entire disk write activity to another area of the disk 16, known as the ″ delta ″ area. The delta mapping table maintains the entire disk write operation transferred to the delta area. This table maintains a mapping between the data associated with each disk write operation and the intended destination on disk 16 at its actual storage location in the delta area. If a subsequent write operation is made in the area that is already the entry target of the table, the new data is overwritten on the old data in the delta area. In this way, the data on the main part of the disk does not change during the backup copy, so all changes are transferred to the delta area.

백업 애플리케이션에 의해 디스크 판독 동작이 요청되면 백업 애플리케이션으로 되돌려진 자료가 디스크의 주요부의 원본 자료 영역으로부터 도출될 수 있도록 변화되지 않고 통과한다. 그러나 다른 애플리케이션에 의해 디스크 판독동작이 요청되면 기록 프로세스는 우선 프로세스가 기록동작을 차단하기 시작했기 때문에 그 영역으로의 디스크 기록이 발생했는지 여부 및 만일 그렇다면 판독동작이 델타 영역의 대응 지점으로 전송됐는지를 알아보기 위해 테이블을 점검하도록 작동한다. 만일 아무런 기록동작이 없으면, 즉, 기록동작 차단이 시작됐기 때문에 자료의 그 부분이 변경되지 않았다면 판독동작은 변화되지 않고 통과한다.When a disk read operation is requested by the backup application, the data returned to the backup application passes through unchanged to be derived from the original data area of the main part of the disk. However, when a disc read operation is requested by another application, the write process first knows whether a disc write has occurred to that area because the process has begun blocking the write operation, and if so the read operation has been sent to the corresponding point in the delta area. It works by checking the table for viewing. If there is no write operation, i.e., that portion of the data has not changed because the write operation has been interrupted, then the read operation passes unchanged.

이러한 방법으로 디스크(16)에 저장된 자료의 변동이 백업 애플리케이션 이외의 보통의 모든 애플리케이션에 의해서 감시된다. 백업 애플리케이션은 판독 및 기록동작을 차단하는 기록 프로세스를 정지시키는 명령이 내려지기 전까지는 변화되지 않는 자료를 감시한다.In this way, changes in the data stored on the disk 16 are monitored by all ordinary applications other than the backup application. The backup application monitors data that does not change until a command is issued to stop the write process, which blocks read and write operations.

백업복사동작이 종료되면, 기록프로세스는 컴퓨터를 보통의 동작상태로 복구시키도록 작동한다. 이러한 복구단계는 테이블에 저장된 매핑을 이용하여 델타 영역에 저장된 변화를 디스크(16) 주요부의 적절한 원본 자료영역에 적용하므로서 이룰 수 있다. 델타 변화가 적용되는 동안에는 위에서 설명된 바와 같이 디스크 기록동작이 계속하여 차단된다. 원본 자료영역에 적용되지 않은 기록동작이 더이상 없을 때는 기록동작의 차단은 정지되고 시스템은 통상적으로 작동된다. 델타 매핑 테이블로부터 제2 레코드를 형성하는 레코드가 백업복사과정이 진행되는 범위내에 있는 경우 만일 자료가 변화된다면 더이상 문제가 되지 않기 때문에, 디스크의 그 부분이 백업된 후에 소프트웨어에 의해 디스크(16)의 주요부에 대한 기록동작이 변화되지 않고 통과한다. 즉, 기록동작에 대한 명령의 수신시, 소프트웨어는 기록될 디스크의 부분이 백업 프로세스에 의해 백업되는지의 여부를 제2 레코드로부터 결정하고, 이 부분이 백업이면, 기록동작이 차단없이 디스크에 기록하도록 한다.When the backup copy operation ends, the recording process operates to restore the computer to its normal operating state. This recovery step can be accomplished by applying the changes stored in the delta area to the appropriate original data area of the disk 16's main part using the mapping stored in the table. While the delta change is applied, the disc recording operation continues to be interrupted as described above. When there is no longer a recording operation not applied to the original data area, blocking of the recording operation is stopped and the system is normally operated. If the record forming the second record from the delta mapping table is within the range where the backup copying process is taking place, it is no longer a problem if the data changes, so that after the part of the disc has been backed up, the software The recording operation for the main part passes without any change. In other words, upon receipt of a command for a write operation, the software determines from the second record whether the portion of the disc to be written is backed up by the backup process, and if this portion is a backup, the write operation is written to the disc without interruption. do.

이것은 델타 매핑 테이블의 크기를 감소시킨다. 또한 디스크 주요부에서의 동작지향영역이 이미 매핑 테이블의 엔트리 대상이라면 그 엔트리는 간단히 제거될 수 있으며 그러므로서 복구단계에서의 소요시간이 감소한다.This reduces the size of the delta mapping table. In addition, if the operation-oriented area in the main disk portion is already an entry target of the mapping table, the entry can be simply removed, thereby reducing the time required in the recovery step.

본 발명은 IBM 호환성 퍼스널 컴퓨터, 즉, 인텔사(Intel) 에서 제조한 칩 형식번호 8086, 8088, 80286, 80386, 80486 및 펜티엄 프로세서 및 이와 유사한 마이크로프로세서 기반의 시스템을 사용하는 대부분의 퍼스널 컴퓨터에 특별히 적용될 수 있다. 이러한 컴퓨터에 있어서, 프로그램이 파일에 엑세스하고 싶을 때면 어느 때든지 디스크에 자료를 기록하는 표준 루틴(routine) 을 호출하게 된다. 이러한 루틴은, DOS 오퍼레이팅 시스템의 경우에는 인터럽트 21 헥스(Interrupt 21 hex; INT 21h)로 알려져 있는데, 오퍼레이팅 시스템의 집적부이다. 이 루틴에 의해 수행되는 동작은 엔트리에서 루틴으로 통과하는 변수들에 의해 좌우된다. 이 루틴은 시스템 메모리 맵에서 오퍼레이팅 시스템부를 구성하는 INT 21h로서 제2(a)도에 도시되어 있으며, INT 21h 엔트리 포인트는 화살표로 도시되어 있다. 본 발명에 따른 상술된 방법을 수행하기 위해서는 제2(b)도에 도시된 바와 같이 추가적인 프로그램 코드가 오퍼레이팅 시스템 인터페이스 레벨에 추가되어야 한다. 실제에 있어서, DOS 환경에서는 이것이 C0NFIG. SYS 파일을 사용한 장치 구동기로서 컴퓨터에 로드될 수 있다. 추가된 소프트웨어는 선택적인 명령 세트에 의해 대체되는 자료의 기록명령효과를 갖는다. 디스크로부터 자료를 판독하도록 하는 명령을 차단하고 이것을 선택적인 명령 세트로 대체하기 위해 유사한 기법이 이용될 수도 있다.The present invention applies specifically to IBM compatible personal computers, i.e. most personal computers using chip type numbers 8086, 8088, 80286, 80386, 80486 and Pentium processors and similar microprocessor based systems manufactured by Intel. Can be. On such computers, whenever a program wants to access a file, it calls a standard routine that writes data to disk. This routine, known as Interrupt 21 hex (INT 21h) in the case of the DOS operating system, is an integral part of the operating system. The actions performed by this routine depend on the variables that pass from the entry to the routine. This routine is shown in FIG. 2 (a) as INT 21h constituting the operating system portion in the system memory map, and the INT 21h entry point is shown by an arrow. In order to carry out the above-described method according to the invention, additional program code must be added at the operating system interface level as shown in FIG. 2 (b). In practice, in a DOS environment, this is C0NFIG. It can be loaded into the computer as a device driver using the SYS file. The added software has the effect of commanding the recording of data to be replaced by an optional command set. Similar techniques may be used to intercept commands to read data from the disk and replace them with an optional command set.

제3도에는 관련된 작동수순이 흐름도로 도시되어 있다. INT 21h 호출을 수신하면, 프로그램은 우선 그 호출이 기록호출인지 여부를 검토한다. 만일 기록호출이라면 프로그램은 그것이 차단 기록호출인지 아닌지를 단계(2O)에서 검토한다. 만일 차단 기록호출이 아니라면 자료는 원본 자료영역(24)에 기록된다 (단계(22)).In Figure 3, the relevant operating procedure is shown in a flowchart. On receiving an INT 21h call, the program first checks whether the call is a write call. If it is a call, the program checks in step 20 whether it is a blocked call. If not a blocked record call, the data is recorded in the original data area 24 (step 22).

만일 기록호출이 차단된 것이라면 프로그램은 기록이 원본 파일영역(24)에 이미 만들어진 것인가를 알아보기 위해 델타 매핑 테이블을 점검한다 (단계(26)). 즉, 델타 매핑 테이블은 현행의 기록동작과 같은 디스크의 부분에 기록하여야 할 자료의 기록에 관여한 이전의 차단된 기록 동작이 있는지의 여부를 결정하도록 질문된다. 단계(28)에서 판단하여 기록이 미리 작성된 것이라면 델타 매핑 테이블에서 원본 파일(24)의 그 부분으로 이미 사상된 델타 영역(3O)의 부분이 새로운 자료에 의해 겹쳐 쓰여진다 (단계(32)).If the call is blocked, the program checks the delta mapping table to see if the record has already been made in the original file area 24 (step 26). That is, the delta mapping table is queried to determine whether there is a previous blocked write operation involved in the recording of the data to be recorded on the same part of the disc as the current write operation. If the record is pre-determined at step 28, the portion of the delta area 30 already mapped to that part of the original file 24 in the delta mapping table is overwritten by the new material (step 32).

만일 기록호출이 차단된 것이기는 하지만 기록이 원본 파일(24)의 그 부분에 이미 만들어진 것이 아니라면 기록은 테이블에 추가되고 자료는 새로운 델타 영역에 기록된다 (단계(36)).If the call is blocked but the record is not already made in that part of the original file 24, the record is added to the table and the data is written to the new delta area (step 36).

호출이 판독호출이라면 프로그램은 그것이 차단 판독호출인지 여부를 단계(38)에서 점검한다. 만일 차단 판독호출이 아니라면 자료가 원본 파일(24)로부터 판독된다 (단계(40)).If the call is a read call, the program checks in step 38 whether it is a blocked read call. If it is not a blocked read call, the data is read from the original file 24 (step 40).

만일 차단된 판독호출이라면 우선 그 호출이 백업 애플리케이션 프로그램으로부터 도출된 것인가를 점검한다 (단계(42)). 만일 호출이 백업 애플리케이션으로부터 나온 것이라면 프로그램은 단계(4O)로 진행하여 원본 파일(24)에서 자료를 판독한다.If it is a blocked read call, first it is checked whether the call is derived from a backup application program (step 42). If the call is from a backup application, the program proceeds to step 40 and reads data from the original file 24.

판독호출이 백업 애플리케이션으로부터 도출된 것이 아니라면 프로그램은 판독호출의 것에 대응되는 원본 파일(24) 영역의 기록이 델타 영역으로 전송된 것인가를 살펴보기 위해 델타 매핑 테이블을 점검한다 (단계(44)). 만일 전송된 것이 아니라면 (단계(46)) 프로그램은 단계(4O)로 되돌아가고 원본 파일(24)로부터 자료가 판독된다. 판독이 전송된 것이라면 델타 영역(30)의 교정부에서 자료가 판독된다 (단계(48)). 본 발명의 제2 구체예에 있어서는, 델타 영역에 변화된 자료를 저장하는 대신에 판독 및 기록동작이 레코딩 프로세스 동안에 차단되고 파일의 특별한 영역에 제1 기록이 이루어진 경우, 원본 자료는 델타 영역에 저장되고 원본 파일의 변화가 이루어진다. 델타 영역에 현재 저장되어 있는 원본 파일 영역의 원본 내용을 가리키는 매핑 테이블에 엔트리가 만들어진다. 파일의 동일영역에 대한 어떠한 후속기록도 레코딩 프로세스에 의해 무시된다. 매핑 테이블이 원본 파일의 겹쳐 쓰여진 영역을 가리키고 있다면 백업 애플리케이션으로부터의 판독요청은 델타 영역으로 전송된다. 제4도에는 본 발명의 제2 구체예의 흐름도가 도시되어 있다. 제4도의 흐름도는 제3도의 흐름도와 유사하며 유사한 동작에는 동일한 도면 번호가 부여되어 있다. 제3도와 제4도간의 차이점은 다음과 같다. 단계(6O)에서, 만일 판독 차단이 작동되고 (단계(38)) 그 판독이 백업 애플리케이션으로부터 도출된 것이 아니라면 자료는 원본 자료 영역으로부터 판독된다. 이것은 선행 구체예에서의 단계(42)의 반대이다. 우선 겹쳐 쓰기전에 원본자료영역에서 자료를 판독하는 추가적인 단계(62)가 단계(28)에 후속하여 추가된다.If the readout is not from a backup application, the program checks the delta mapping table to see if a record of the area of the original file 24 corresponding to that of the readout has been transferred to the delta area (step 44). If not (step 46), the program returns to step 40 and the data is read from the original file 24. If a read has been sent, the data is read at the calibration section of delta area 30 (step 48). In the second embodiment of the present invention, instead of storing the changed data in the delta area, if the read and write operations are interrupted during the recording process and the first recording is made in a special area of the file, the original material is stored in the delta area. Changes to the original file are made. An entry is made in the mapping table that points to the original contents of the original file area currently stored in the delta area. Any subsequent recording of the same area of the file is ignored by the recording process. If the mapping table points to an overwritten area of the original file, read requests from the backup application are sent to the delta area. 4 shows a flow diagram of a second embodiment of the present invention. The flowchart of FIG. 4 is similar to the flowchart of FIG. 3 and similar operations have been given the same reference numerals. The difference between FIG. 3 and FIG. 4 is as follows. At step 60, if read blocking is activated (step 38) and the read is not from a backup application, the data is read from the original data area. This is the reverse of step 42 in the preceding embodiment. First, an additional step 62 of reading data from the original data area prior to overwriting is added following step 28.

제1 구체예에서의 단계(36)은 단계(62)에서 판독된 자료를 델타 영역에 추가적으로 기록하도록 하는 것과 결합되어 새로운 단계(64)로 변형되어 있다. 제1 구체예에서의 단계(32)는 자료를 델타 영역에 겹쳐 쓰는 대신 원본 자료 영역에 기록하는 새로운 단계(66)로 변형되어 있다. 제2 구체예에 의한 방법은 제1 구체예에 의한 방법에 비해 속도가 느린데 그이유는 제1 방법의 단일전송기록과는 반대로 각각의 파일기록요청이 한번의 판독 및 두번의 기록으로 이루어지기 때문이다. 그러나 제2 방법에서는 백업이 완성되면 델타 영역에 저장된 변화가 원본 파일에 적용되도록 요청되지 않는다. 델타 매핑 테이블 및 델타 영역에 저장된 자료는 간단하게 제거될 수 있다. 추가적으로, 이러한 차이점으로 인해 델타 변화가 원본 자료에 완전히 적용되지 않을 때 발생하는 치명적인 상태 (예를들면, 전원의 중단) 에서 회복하기 위한 대비도 필요치 않다.Step 36 in the first embodiment is transformed into a new step 64 in combination with further recording the material read in step 62 into the delta area. Step 32 in the first embodiment is transformed into a new step 66 where the data is written to the original data area instead of overwriting the delta area. The method according to the second embodiment is slower than the method according to the first embodiment because each file write request consists of one read and two writes as opposed to the single transfer record of the first method. to be. However, in the second method, once the backup is completed, the changes stored in the delta area are not required to be applied to the original file. Data stored in the delta mapping table and delta area can be removed simply. In addition, this difference eliminates the need to prepare for recovery from catastrophic conditions (eg, power failures) that occur when delta changes are not fully applied to the original data.

상술한 방법이 백업 애플리케이션부를 구성하는 경우 판독애플리케이션의 차단은 백업 애플리케이션간에 발생할 수 있으며 오퍼레이팅 시스템 루틴을 사용할 필요는 없다.If the method described above constitutes a backup application section, blocking of the read application may occur between backup applications and there is no need to use an operating system routine.

컴퓨터 여건이 백업수행을 원하는 특별한 사용자의 검증을 허용하는 경우에는 본 발명은 사용자를 인식하여 그 사용자의 파일만을 상술한 방법에 의해 백업할 수 있는 단계를 포함할 수도 있다. 이러한 경우 모든 자료 트랜잭션의 차단이 필요하지 않고 단지 그 사용자에 관련된 것만이 필요하다.If the computer conditions permit verification of a particular user who wishes to perform a backup, the present invention may include the step of recognizing the user and backing up only that user's files by the method described above. In this case, not all data transactions need to be blocked, only those relevant to that user.

Claims (19)

램, 중앙처리장치 및 기억수단을 포함한 마이크로프로세서 기반의 컴퓨터 시스템을 실행하는 백업프로세스에 자료를 제공하는 방법으로서; 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본 영역에 기록하도록 하는 적어도 하나의 통상의 기록동작 및 상기 기억수단으로부터 자료를 판독하도록 하는 적어도 하나의 통상의 판독동작을 수행할 수 있도록 상기 메모리에 기억된 제1 명령을 상기 중앙처리장치로 발생시키는 단계, 백업 프로세스로부터 개시신호를 수신하는 단계, 그리고 상기 개시신호를 수신한 후에 상기 기록동작을 차단하고 상기 기록동작에 의해 겹쳐 쓰여진 원본 자료를 보존하기 위해 기억수단의 제2 기억영역에 자료를 기록하는 차단동작을 수행하는 단계, 제2영역에 대한 상기 기록의 제1레코드를 유지하는 단계, 및 상기 백업 및 상기 통상의 판독동작중 어느 하나를 수행함과 동시에 레코드에 따라 기본 및 제2 기억영역중 어느 하나로부터 자료를 판독하기 위하여 상기 제1레코드를 질문하며, 이에 의해 상기 개시신호가 발생하기전의 상태로 원본 자료를 보존할 수 있는 백업 프로세스가 제공되는 단계를 포함하고 있는 상기 방법에 있어서, 상기 백업 프로세스가 진행되는 정도를 나타내는 제2레코드를 유지하는 단계, 그리고 상기 기억수단의 기록 동작에 대한 명령의 수신시, 기록될 상기 기억수단의 상기 기본 영역의 부분이 상기 백업 프로세스에 의해 백업되는지의 여부를 상기 제2레코드로부터 결정하고 상기 부분이 백업이면 상기 기록동작이 차단없이 상기 기억수단의 상기 기본영역에 기록하게 하는 단계에 의해 특징되어지는 방법.CLAIMS 1. A method of providing data to a backup process running a microprocessor-based computer system including RAM, central processing unit and storage means; Perform the at least one normal recording operation to cause the central processing unit to periodically write data to the basic area of the storage means and the at least one normal reading operation to read the data from the storage means. Issuing a first command stored in a memory to the central processing unit, receiving a start signal from a backup process, and interrupting the recording operation after receiving the start signal and overwriting the original data by the recording operation. Performing a blocking operation of recording data in a second storage area of the storage means to preserve the data, maintaining a first record of the recording for the second area, and any one of the backup and the normal read operation. Simultaneously sells data from either primary or secondary storage according to a record while doing one Wherein the first process is queried for reading, thereby providing a backup process for preserving original data in a state prior to the start signal being generated. Holding a second record indicating a degree, and upon receiving a command for a recording operation of the storage means, whether the portion of the basic area of the storage means to be recorded is backed up by the backup process; Determining from a record and if the portion is a backup, causing the recording operation to write to the basic area of the storage means without interruption. 제1항에 있어서, 통상의 기록동작의 자료는 상기 제2 영역에 기록되고, 제1레코드는 상기 기본 영역에 있어서 상기 통상의 기록동작을 위한 의도된 위치의 레코드 및 상기 제2 영역에 있어서 그 실제위치의 레코드를 포함하며, 상기 기본 영역으로부터 상기 보존된 원본 자료를 획득하는 단계를 더 포함하는 것을 특징으로 하는 방법.The recording medium of claim 1, wherein the data of a normal recording operation is recorded in the second area, and the first record is recorded in the second area and the record of the intended position for the normal recording operation in the basic area. And obtaining the preserved original material from the basic area, the record comprising a record of an actual location. 제2항에 있어서, 백업프로세스로부터 정지신호를 수신한 후에, 상기 제1레코드에 따라 상기 제2 영역에서 상기 실제위치로부터 자료를 판독하는 적어도 하나의 복구판독동작 및 상기 기본 영역에서 그 의도된 위치에 그 자료를 복구시키는 적어도 하나의 복구 기록동작을 수행하는 단계 및 상기 기본 영역에서 그 의도된 위치에 모든 자료가 복구된 경우는 상기 기록동작을 차단하는 상기 차단동작의 수행을 중단하는 단계를 더 포함하는 것을 특징으로 하는 방법.The method of claim 2, wherein after receiving a stop signal from a backup process, at least one recovery read operation of reading data from the actual position in the second area according to the first record and the intended position in the basic area. Performing at least one recovery recording operation for restoring the data, and stopping the performing of the blocking operation for interrupting the recording operation when all the data is restored to its intended position in the basic area. Method comprising a. 제1항에 있어서, 보존되는 자료는 통상의 기록동작에 의한 자료가 상기 기본 영역에 기록되기전에 상기 기본 영역으로부터 판독되고 상기 제2 영역에 기록되며, 레코드는 상기 기본 영역에 있어서 원본 자료의 선행위치에 대한 레코드 및 상기 제2 영역에 있어서 그 실제위치에 대한 레코드로 구성되며, 상기 실제위치로부터 보존된 원본 자료를 획득하는 단계를 더 포함하는 것을 특징으로 하는 방법.2. The data to be stored is read from the basic area and recorded in the second area before the data by a normal recording operation is recorded in the basic area, and the record is preceded by the original material in the basic area. And a record for the position and a record for the actual position in the second area, the method further comprising obtaining original data stored from the actual position. 제4항에 있어서, 백업프로세스로부터 상기 정지신호를 수신한 후에 상기 기록동작을 차단하기 위한 상기 차단동작수행을 중지하는 단계를 더 포함하는 것을 특징으로 하는 방법.5. The method of claim 4, further comprising the step of stopping the blocking operation to interrupt the recording operation after receiving the stop signal from a backup process. 제2항 내지 제5항중 어느 한 항에 있어서, 상기 기본 영역과 상기 제2 영역은 단일기억장치의 서로 다른 영역인 것을 특징으로 하는 방법.6. A method according to any one of claims 2 to 5, wherein said base area and said second area are different areas of a single memory device. 제1항에 있어서, 차단동작과 결합된 명령이 기본 입력/ 출력 시스템(BI0S) 레벨에서 수행되는 것을 특징으로 하는 방법.The method of claim 1, wherein the command associated with the blocking operation is performed at a basic input / output system (BI0S) level. 제1항에 있어서, 차단동작과 결합된 명령이 오퍼레이팅 시스템 인터페이스 레벨에서 수행되는 것을 특징으로 하는 방법.The method of claim 1, wherein the command associated with the blocking operation is performed at the operating system interface level. 제1항에 있어서, 컴퓨터 시스템을 실행시키는 백업프로세스를 제공하여 개시신호와 정지신호를 발생시켜 적어도 하나의 백업판독동작을 수행시켜서 기억수단으로부터 원본자료를 판독하도록 동작가능하게 하는 단계로 더 구성된 것을 특징으로 하는 방법.The method of claim 1, further comprising: providing a backup process for executing a computer system to generate a start signal and a stop signal to perform at least one backup read operation to enable operation of reading the original data from the storage means. How to feature. 제9항에 있어서, 상기 백업 프로세스가 상기 기억장치에서 백업동작을 실행하기에 앞서 상기 개시신호가 발생하며 상기 백업 프로세스가 상기 백업동작을 마친후에 정지신호가 발생하는 것을 특징으로 하는 방법.10. The method of claim 9, wherein the start signal is generated before the backup process executes a backup operation in the storage device and a stop signal is generated after the backup process finishes the backup operation. 제1항에 있어서, 상기 백업프로세스에 의해 백업되는 상기 기억수단의 상기 기본영역의 부분에 관련한 어떠한 엔트리도, 백업프로세스시 그리고 또다른 기록명령에 반응하여 상기 제1레코드로부터 삭제하는 단계로 더 구성된 것을 특징으로 하는 방법.The method of claim 1, further comprising deleting any entries related to the portion of the basic area of the storage means backed up by the backup process from the first record during the backup process and in response to another write command. Characterized in that the method. 명령메모리, 중앙처리장치 및 기억수단을 포함한 마이크로프로세서 기반의 컴퓨터 시스템을 동작시키는 방법으로서; 백업프로세스를 제공하여 컴퓨터시스템을 실행시켜 적어도 개시신호를 발생시키는 것을 가능하게 하는 단계, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본기억영역에 기록하도록 하는 적어도 하나의 통상의 기록동작을 수행할 수 있도록 상기 메모리에 기억된 제1명령을 상기 중앙처리장치로 발생시키는 단계, 그리고 상기 개시신호를 수신한 후에 차단동작을 수행하여 상기 기록동작을 차단하고 이러한 차단된 기록동작에서 상기 기억수단의 제2기억영역의 부분에 상기 기억수단의 상기 기본기억영역의 부분에 기록하려고 한 자료를 기록하고 상기 제2기억영역에 상기 기록의 레코드를 유지하면서 상기 기본기억영역의 부분에 제2기억영역의 부분이 상응하는 단계로 구성된 상기 방법에 있어서, 상기 차단된 기록동작은 상기 현행 차단된 기록동작과 같은 상기 기본기억영역의 부분에 기록하려한 자료의 기록에 관여하는 이전의 차단된 기록동작이 있는지의 여부를 결정하도록 상기 레코드를 질문하여, (a)그러한 기록동작이 있다면, 상기 이전의 차단된 기록동작에서 상기 기억수단의 상기 제2기억영역의 상기 부분에 앞서 기록된 자료를 새로운 자료와 중복하여 기록하고, (b)그러한 기록동작이 없다면, 상기 레코드에 더하여 상기 새로운 자료를 상기 제2기억영역에 기록하는 단계로 구성된 것을 특징으로 하는 방법.A method of operating a microprocessor-based computer system including an instruction memory, a central processing unit and storage means; Providing a backup process to enable a computer system to generate at least a start signal, at least one conventional recording operation that causes the central processing unit to periodically record data in the basic storage area of the storage means; Issuing a first command stored in the memory to the central processing unit so as to perform an operation; and after receiving the start signal, perform a blocking operation to block the recording operation and to store the memory in the blocked recording operation. Recording the data to be recorded in the portion of the basic storage area of the storage means in the portion of the second storage area of the means and holding the record of the recording in the second storage area while holding the second memory in the portion of the basic storage area. In the above method in which a portion of the area is constituted by corresponding steps, the blocked recording operation is performed. The record is queried to determine whether there is a previous blocked recording operation involved in the recording of the data to be recorded in the portion of the basic memory area, such as the current blocked recording operation, and (a) if such a recording operation is present. Recording data previously recorded in the portion of the second storage area of the storage means in duplicate with new data in the previous blocked recording operation; and (b) if there is no such recording operation, in addition to the record; Recording data into the second memory area. 제12항에 있어서, 상기 정지신호를 수신한 후 상기 제2영역으로부터 자료를 판독하도록 적어도 하나의 복구판독동작을 수행하고 상기 레코드에 따라 상기 기본영역에 있는 의도된 위치에 그 자료를 복구하도록 적어도 하나의 복구기록동작을 수행하는 단계, 그리고 모든 자료가 상기 기본영역에 있는 의도된 위치에 복구될 때 상기 기록동작을 차단하는 상기 차단동작의 수행을 중단시키는 단계로 더 구성된 것을 특징으로 하는 방법.13. The method of claim 12, further comprising performing at least one recovery read operation to read data from the second area after receiving the stop signal and recovering the data to an intended location in the basic area according to the record. Performing one recovery write operation, and stopping performing the interruption operation that interrupts the recording operation when all data is restored to the intended position in the basic area. 명령메모리, 중앙처리장치 및 기억수단을 포함한 마이크로프로세서 기반의 컴퓨터 시스템을 동작시키는 방법으로서; 백업프로세스를 제공하여 컴퓨터시스템을 실행시켜 적어도 개시신호를 발생시키는 것을 가능하게 하는 단계, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본기억영역에 기록하도록 하는 적어도 하나의 통상의 기록동작을 수행할 수 있도록 상기 메모리에 기억된 제1명령을 상기 중앙처리장치로 발생시키는 단계, 그리고 상기 개시신호를 수신한 후에 차단동작을 수행하여 기록동작을 차단하고 이러한 차단된 기록동작에서 상기 기억수단의 제2기억영역의 부분에 새로운 자료를 기록하기에 앞서 상기 기본기억영역의 상기 부분에 있는 자료를 판독하여 상기 기억수단의 제2기억영역의 부분에 기록하면서 상기 기록의 레코드를 상기 제2기억영역에 유지하고 상기 기본기억영역의 부분에 제2기억영역의 부분이 상응하는 단계로 구성된 상기 방법에 있어서, 상기 차단된 기록동작은 상기 현행 차단된 기록동작과 같은 상기 기본기억영역의 부분에 있는 자료의 기록에 관여하는 이전의 차단된 기록동작이 있는지의 여부를 결정하도록 상기 레코드를 질문하여, (a)그러한 기록동작이 있다면, 상기 이전의 차단된 기록동작에서 상기 기억수단의 상기 기본기억영역에 앞서 기록된 자료를 새로운 자료와 중복하여 기록하고, (b)그러한 기록동작이 없다면, 상기 기본기억영역으로부터 보전될 자료를 판독하여 제2기억영역에 기록하고 상기 레코드에 더하여 상기 새로운 자료를 상기 기본기억영역에 기록하는 단계로 구성된 것을 특징으로 하는 방법.A method of operating a microprocessor-based computer system including an instruction memory, a central processing unit and storage means; Providing a backup process to enable a computer system to generate at least a start signal, at least one conventional recording operation that causes the central processing unit to periodically record data in the basic storage area of the storage means; Issuing a first command stored in the memory to the central processing unit, and performing a blocking operation after receiving the start signal to block a recording operation and the storage means in the blocked recording operation. Prior to recording new data in the portion of the second memory area of the second memory area, the record of the record is read while reading the data in the portion of the basic memory area and writing to the portion of the second memory area of the storage means. The second memory area and the second memory area correspond to a portion of the basic memory area. In the above method, the blocked recording operation is configured to determine whether there is a previous blocked recording operation that is involved in the recording of data in the same portion of the basic storage area as the currently blocked recording operation. In question, (a) if there is such a recording operation, in the previous blocked recording operation, the data previously recorded in the basic storage area of the storage means is duplicated with new data; and (b) if such a recording operation is not present. And reading the data to be preserved from the basic memory area, recording the new data in the basic memory area in addition to the record. 제14항에 있어서, 상기 정지신호를 수신한 후 상기 제2영역으로부터 자료를 판독하도록 적어도 하나의 복구판독동작을 수행하고 상기 레코드에 따라 상기 기본영역에 있는 의도된 위치에 그 자료를 복구하도록 적어도 하나의 복구기록동작을 수행하는 단계, 그리고 모든 자료가 상기 기본영역에 있는 의도된 위치에 복구될 때 상기 기록동작을 차단하는 상기 차단동작의 수행을 중단시키는 단계로 더 구성된 것을 특징으로 하는 방법.15. The method of claim 14, further comprising: performing at least one recovery read operation to read data from the second area after receiving the stop signal and recovering the data to an intended location in the basic area according to the record. Performing one recovery write operation, and stopping performing the interruption operation that interrupts the recording operation when all data is restored to the intended position in the basic area. 램, 중앙처리장치 및 기억수단을 포함한 마이크로프로세서 기반의 컴퓨터 시스템으로서; 개시신호 및 정지신호를 발생시키며 상기 기억수단으로부터 원본 자료를 판독하는 적어도 하나의 백업판독동작을 수행하도록 동작하는 백업 프로세스를 실행하는 수단, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본 영역에 기록하도록 하는 적어도 하나의 통상의 기록동작 및 상기 기억수단으로부터 자료를 판독하도록 하는 적어도 하나의 통상의 판독동작을 수행하도록 하는 수단, 상기 개시신호를 수신하는 수단, 상기 개시신호를 수신한 후에 상기 기록동작에 의해 겹쳐 쓰여진 원본 자료를 보존하기 위해 상기 기억수단의 제2기억영역에 자료를 기록하기 위하여 그리고 상기 제2 영역에 대한 상기 기록의 제1레코드를 유지하기 위하여 상기 기록동작을 차단하는 차단동작을 실행하는 수단, 및 상기 제1레코드에 따라 상기 기본 및 상기 제2 기억영역중 어느 하나로 부터 자료를 판독하기 위하여 상기 제1레코드를 질문하는 수단을 포함하며, 이에 의해 상기 백업 동작을 수행함과 동시에 상기 개시신호가 발생하기전의 상태로 원본 자료를 보존할 수 있는 백업 프로세스가 제공되는 상기 컴퓨터 시스템에 있어서, 상기 백업프로세스가 진행되는 정도를 나타내는 제2레코드를 유지하기 위해 상기 개시신호후 동작가능한 수단, 그리고 상기 기억수단의 기록동작에 대한 명령의 수신시, 기록될 상기 기억수단의 상기 기본영역의 부분이 상기 백업프로세스에 의해 백업되는지의 여부를 상기 제2레코드로 부터 결정하고 상기 부분이 백업이면 상기 기록동작이 차단없이 상기 기억수단의 상기 기본영역에 기록하게하도록 동작가능한 수단에 의해 특징되어지는 컴퓨터 시스템.A microprocessor-based computer system including a RAM, a central processing unit and storage means; Means for executing a backup process operative to generate a start signal and a stop signal and to perform at least one backup read operation of reading the original data from said storage means, causing said central processing unit to periodically read data from said storage means; Means for performing at least one normal write operation to write to the area and at least one normal read operation to read data from the storage means, means for receiving the start signal, after receiving the start signal Intercepting the recording operation to record data in a second storage area of the storage means to preserve original data overwritten by the recording operation and to maintain a first record of the recording for the second area. Means for executing a blocking operation, and according to the first record Means for interrogating the first record to read data from either the present or second storage area, thereby performing the backup operation and preserving the original data in a state prior to the start signal being generated. A computer system provided with a backup process capable of receiving, the means operable after the start signal to maintain a second record indicating the extent to which the backup process proceeds, and the reception of a command for a recording operation of the storage means. At the second record determines whether or not a portion of the basic area of the storage means to be recorded is backed up by the backup process, and if the portion is a backup, the recording operation is blocked without interrupting the recording operation. A computer system characterized by means operable to record on a computer. 제16항에 있어서, 또 다른 기록명령이 참조하는 상기 기억수단의 상기 기본영역의 부분들로서 상기 백업프로세스에 의해 백업되는 상기 부분들에 관련한 어떠한 엔트리도 상기 제1레코드로부터 삭제하기 위해 상기 백업프로세스시 그리고 상기 또다른 기록명령에 반응하여 동작가능한 수단으로 더 구성된 것을 특징으로 하는 컴퓨터 시스템.17. The backup process according to claim 16, wherein any entry relating to said portions backed up by said backup process as parts of said basic area of said storage means referred to by another write command is deleted during said backup process. And means operable in response to said another write command. 명령메모리 중앙처리장치 및 기억수단을 포함한 마이크로프로세서 기반의 컴퓨터 시스템을 동작시키는 장치로서; 적어도 개시신호를 발생시키도록 동작가능한 백업수단, 상기 증앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본기억영역에 기록하도록 하는 적어도 하나의 통상의 기록동작을 수행할 수 있도록 상기 메모리에 기억된 제1명령을 상기 중앙처리장치로 발생시키는 수단, 그리고 상기 개시신호를 수신한 후에 차단동작을 수행하여 기록동작을 차단하고 이러한 차단된 기록동작에서 상기 기억수단의 상기 기본기억영역의 부분에 기록하려한 자료를 상기 기억수단의 제2기억영역의 부분에 기록하고 상기 제2기억영역에 상기 기록의 레코드를 유지하면서 상기 기본기억영역의 부분에 제2기억영역의 부분이 상응하게 하는 수단으로 구성된 상기 장치에 있어서, 상기 차단동작 수행수단은 상기 현행 차단된 기록동작과 같은 상기 기본기억영역의 부분에 기록하려한 자료의 기록에 관여하는 이전의 차단된 기록동작이 있는지의 여부를 결정하도록 상기 레코드를 질문하여, (a)그러한 기록동작이 있다면, 상기 이전의 차단된 기록동작에서 상기 기억수단의 상기 제2기억영역의 상기 부분에 앞서 기록된 자료를 새로운 자료와 중복하여 기록하고, (b)그러한 기록동작이 없다면, 상기 레코드에 더하여 상기 새로운 자료를 상기 제2기억영역에 기록하는 수단으로 더 구성된 것을 특징으로 하는 장치.An apparatus for operating a microprocessor-based computer system including an instruction memory central processing unit and storage means; Backup means operable to generate at least a start signal, and stored in the memory so that the augmentation processing apparatus can perform at least one normal recording operation to periodically record data in the basic storage area of the storage means; Means for issuing a first command to said central processing unit, and after receiving said start signal, to perform a blocking operation to block a recording operation and to record in a portion of said basic storage area of said storage means in this blocked recording operation. Means for recording one piece of data into a portion of the second storage area of said storage means and having a portion of said second storage area correspond to that of said basic storage area while maintaining a record of said record in said second storage area; In the apparatus, the blocking operation performing means is provided in the basic memory area such as the currently blocked recording operation. The record is queried to determine whether there is a previous blocked recording operation involved in the recording of the material to be recorded in the part, and (a) if such a recording operation is present, the storage means in the previous blocked recording operation. Means for recording the previously recorded data in duplicate in the second storage area with new data and (b) if there is no such recording operation, recording the new data in the second storage area in addition to the record. And further configured. 명령메모리, 중앙처리장치 및 기억수단을 포함한 마이크로프로세서 기반의 컴퓨터 시스템을 동작시키는 장치로서; 적어도 개시신호를 발생시키도록 동작가능한 백업수단, 상기 중앙처리장치로 하여금 자료를 주기적으로 상기 기억수단의 기본기억영역에 기록하도록 하는 적어도 하나의 통상의 기록동작을 수행할 수 있도록 상기 메모리에 기억된 제1명령을 상기 중앙처리장치로 발생시키는 수단, 그리고 상기 개시신호를 수신한 후에 차단동작을 수행하여 기록동작을 차단하고 이러한 차단된 기록동작에서 상기 기억수단의 상기 기본기억영역의 부분에 새로운 자료를 기록하기에 앞서 상기 기본기억영역의 상기 부분에 있는 자료를 판독하여 상기 기억수단의 제2기억영역의 부분에 기록하면서 상기 기록의 레코드를 상기 제2기억영역에 유리하고 상기 기본기억영역의 부분에 제2기억영역의 부분이 상응하게 하는 수단으로 구성된 상기 장치에 있어서, 상기 차단동작 수행수단은 기록동작은 상기 현행 차단된 기록동작과 같은 상기 기본기억영역의 부분에 있는 자료의 기록에 관여하는 이전의 차단된 기록동작이 있는지의 여부를 결정하도록 상기 레코드를 질문하여, (a)그러한 기록동작이 있다면, 상기 이전의 차단된 기록동작에서 상기 기억수단의 상기 기본기억영역에 앞서 기록된 자료를 새로운 자료와 중복하여 기록하고, (b)그러한 기록동작이 없다면, 상기 기본기억영역으로부터 보전될 자료를 판독하여 제2기억영역에 기록하고 상기 레코드에 더하여 상기 새로운 자료를 상기 기본기억영역에 기록하는 수단으로 구성된 것을 특징으로 하는 장치.An apparatus for operating a microprocessor-based computer system including an instruction memory, a central processing unit and storage means; Backup means operable to generate at least a start signal, and stored in the memory so that the central processing unit can perform at least one normal recording operation to periodically record data in the basic storage area of the storage means. Means for issuing a first command to the central processing unit, and after receiving the start signal, performs a blocking operation to block a recording operation, and in such a blocked recording operation, new data is added to a portion of the basic storage area of the storage means. The record of the record is advantageous to the second storage area and is part of the basic memory area while reading the data in the portion of the basic storage area prior to recording the data and recording the data in the portion of the second storage area of the storage means. In the apparatus comprising means for causing portions of the second storage area to correspond to, The performing means queries the record to determine whether there is a previous blocked recording operation that is involved in the recording of the material in the portion of the basic memory area such as the currently blocked recording operation, (a) If there is such a recording operation, the data previously recorded in the basic storage area of the storage means is duplicated with new data in the previous blocked recording operation, and (b) if there is no such recording operation, from the basic storage area. And means for reading out the data to be stored and recording it in a second storage area, and in addition to the record, recording the new data in the basic storage area.
KR1019940704788A 1994-07-20 1994-07-20 How computer systems work KR100285534B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/GB1994/001581 WO1995019599A1 (en) 1994-07-20 1994-07-20 File backup system

Publications (1)

Publication Number Publication Date
KR100285534B1 true KR100285534B1 (en) 2001-04-02

Family

ID=10749432

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940704788A KR100285534B1 (en) 1994-07-20 1994-07-20 How computer systems work

Country Status (3)

Country Link
JP (1) JP2000514211A (en)
KR (1) KR100285534B1 (en)
WO (1) WO1995019599A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3136258B2 (en) * 1995-09-27 2001-02-19 三菱電機株式会社 Disk update log recording method
AU4195601A (en) 2000-03-01 2001-09-12 Computer Ass Think Inc Method and system for updating an archive of a computer file

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU633775B2 (en) * 1989-07-11 1993-02-04 Cheyenne Advanced Technology Limited A method of operating a data processing system
US5241669A (en) * 1992-04-20 1993-08-31 International Business Machines Corporation Method and system for sidefile status polling in a time zero backup copy process
JPH0827754B2 (en) * 1992-05-21 1996-03-21 インターナショナル・ビジネス・マシーンズ・コーポレイション File management method and file management system in computer system

Also Published As

Publication number Publication date
WO1995019599A1 (en) 1995-07-20
JP2000514211A (en) 2000-10-24

Similar Documents

Publication Publication Date Title
US5546534A (en) Method of operating a computer system
US5675725A (en) Computer backup system operable with open files
JPH0683686A (en) Method and system for data processing having safety protection function of time-zero backup session
JPH0823841B2 (en) Data processing system and method
CA2071346A1 (en) Method and means for time zero backup copy of data
JPH0855062A (en) System and method for limitation of access to medium storagedevice
KR100285534B1 (en) How computer systems work
RU2155373C2 (en) Computer duplication system, which operates with open files
CA2153508C (en) A method of operating a computer system
WO1995019599A9 (en) File backup system
AU695339C (en) Computer backup system operable with open files
GB2290396A (en) Backing-up shared data
NZ331685A (en) Computer backup system for open files by permitting simultaneous read access to a file by both the backup read operation and the normal read operation
JP2776608B2 (en) Reformat processing method of auxiliary storage device
JPH02151945A (en) File management device
JPH02287985A (en) Retract processing system for hard disk device
JPH04235639A (en) Non-stop operation processing system for computer system
JP2006127546A (en) Method for operating computer system
JPH0444141A (en) Method and device for control of 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
FPAY Annual fee payment

Payment date: 20080102

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee