KR100504769B1 - Method for Automatic Recovery and Operation of Software - Google Patents

Method for Automatic Recovery and Operation of Software Download PDF

Info

Publication number
KR100504769B1
KR100504769B1 KR10-2002-0069019A KR20020069019A KR100504769B1 KR 100504769 B1 KR100504769 B1 KR 100504769B1 KR 20020069019 A KR20020069019 A KR 20020069019A KR 100504769 B1 KR100504769 B1 KR 100504769B1
Authority
KR
South Korea
Prior art keywords
software
target software
restore
target
software module
Prior art date
Application number
KR10-2002-0069019A
Other languages
Korean (ko)
Other versions
KR20040040778A (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 KR10-2002-0069019A priority Critical patent/KR100504769B1/en
Publication of KR20040040778A publication Critical patent/KR20040040778A/en
Application granted granted Critical
Publication of KR100504769B1 publication Critical patent/KR100504769B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/1448Management of the data involved in backup or backup restore
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

본 발명은 컴퓨터 부팅시 목적 소프트웨어의 파손여부를 판별하여 그 소프트웨어가 지워졌거나 손상된 경우 이를 강제로 설치 또는 복원하기 위한 방법에 관한 것으로, 특히 컴퓨터의 바이오스 롬에 목적 소프트웨어 모듈과, 그 목적 소프트웨어 모듈을 설치하거나 복원할 수 있는 자동 복원/설치 소프트웨어 모듈을 저장하고 컴퓨터의 포스트과정 중에 목적 소프트웨어의 손상 유무를 판별하여 복원하거나 새로 설치하고, OS의 로드시 상기 목적 소프트웨어가 자동으로 실행될 수 있도록 하는 목적 소프트웨어의 자동 복원 및 실행 방법을 제공한다.The present invention relates to a method for determining whether the target software is damaged when the computer is booted and forcibly installing or restoring the software if it is erased or damaged. Particularly, the present invention relates to a target software module and a target software module in a BIOS of a computer. Target software that stores the automatic restore / install software module that can be installed or restored, determines whether the target software is damaged during the post process of the computer, restores or installs the new software, and automatically executes the target software when the OS is loaded. Provides a method of automatic restoration and execution.

Description

소프트웨어의 자동 복원 및 실행 방법{Method for Automatic Recovery and Operation of Software} Method for Automatic Recovery and Operation of Software

본 발명은 컴퓨터 부팅시 목적 소프트웨어의 파손여부를 판별하여 그 소프트웨어가 지워졌거나 손상된 경우 이를 강제로 설치 또는 복원하기 위한 방법에 관한 것으로, 특히 컴퓨터의 바이오스 롬에 목적 소프트웨어 모듈과, 그 목적 소프트웨어 모듈을 설치하거나 복원할 수 있는 자동복구 설치 소프트웨어 모듈을 저장하고 컴퓨터의 포스트과정 중에 목적 소프트웨어의 손상 유무를 판별하여 복원하거나 새로 설치하고, OS의 로드시 상기 목적 소프트웨어가 자동으로 실행될 수 있도록 하는 목적 소프트웨어의 자동 복원 및 실행 방법을 제공한다.The present invention relates to a method for determining whether the target software is damaged when the computer is booted and forcibly installing or restoring the software if it is erased or damaged. Particularly, the present invention relates to a target software module and a target software module in a BIOS of a computer. The software can be installed or restored. The software can be installed or restored to determine whether the target software is damaged during the post process of the computer. Provides an automatic restore and execution method.

일반적으로 컴퓨터의 하드디스크는 시스템 프로그램을 비롯하여, 응용 프로그램 및 각종 시스템 관리 자료들을 포함하고 있다. 상기와 같은 프로그램 및 자료들은 어떤 인위적 또는 자연적인 손상, 또는 사용자에 의한 원치 않은 파일 삭제나 디스크 포맷, 또는 바이러스 감염 등에 의해서 치명적인 손상을 받을 수 있다. 따라서 컴퓨터의 하드디스크 내의 자료를 안전하게 보호하고 복원할 수 있는 기술이 요청되어 왔다.Generally, a hard disk of a computer includes a system program, an application program, and various system management materials. Such programs and materials may be catastrophically damaged by any artificial or natural damage or unwanted file deletion or disk format or virus infection by the user. Therefore, there has been a demand for a technique for safely protecting and restoring data in a computer hard disk.

상기와 같은 컴퓨터 내의 하드디스크의 소프트웨어나 자료들을 보호하는 종래의 방법은 하드디스크 내 자료나 소프트웨어가 어떤 손상을 입었을 경우 운영체제 내의 하드디스크 유틸리티 소프트웨어가 하드디스크를 체크하고 검사하여 이상 유무 결과를 나타내어 주며, 그 결과 실제로 하드디스크 내에 손상 자료 또는 파일이 있을 경우 이를 복구하는 방식으로 이루어지며 여기에는 노턴 유틸리티와 같은 소프트웨어들이 사용되고 있다.In the conventional method of protecting the software or data of the hard disk in the computer as described above, if any data or software in the hard disk is damaged, the hard disk utility software in the operating system checks the hard disk and checks the hard disk for abnormal results. As a result, if the damaged data or files actually exist in the hard disk, they are repaired. Software such as Norton Utilities is used.

그러나, 상기와 같은 소프트웨어를 이용하는 종래의 복구방법은 삭제된 파일의 일부 복구는 가능하지만, 소프트웨어의 완전한 복구는 하지 못하며, 특히 디스크 포맷이나 바이러스 감염 등의 치명적인 원인에 대해서는 전혀 복구 작업을 수행하지 못한다는 문제점이 있었다.However, the conventional recovery method using the above software can recover some of the deleted files, but cannot completely recover the software, especially for fatal causes such as disk formatting or virus infection. Had a problem.

따라서 본 발명은 컴퓨터의 부팅과정에서 목적 소프트웨어를 자동으로 복원한 후 부팅을 완료하고, 운영체제의 구동과 동시에 복원된 소프트웨어를 자동으로 실행할 수 있도록 함으로써 이전 작업 중 삭제되었거나 파손된 소프트웨어가 자동으로 복원 및 실행되도록 하는 것을 목적으로 한다.Therefore, the present invention automatically restores the target software during the booting process of the computer, completes the booting, and automatically executes the restored software at the same time as the operating system. It is intended to be executed.

상기 목적을 달성하기 위하여 본 발명은 컴퓨터의 하드디스크에 설치되어 있는 목적 소프트웨어를 복원 또는 재설치하기 위한 방법에 있어서, 컴퓨터의 바이오스 롬에 목적 소프트웨어 모듈과, 상기 목적 소프트웨어를 복원/설치하기 위한 복원/설치 소프트웨어 모듈을 내장하여서, 컴퓨터 부팅과정 중 복원/설치 소프트웨어를 실행하는 단계와; 상기 복원/설치 소프트웨어에 의해 목적 소프트웨어를 복원 또는 재설치하는 단계와; 상기 목적 소프트웨어를 OS 실행 후 자동 실행하는 단계를 포함하는 것을 특징으로 하는 소프트웨어 자동 복원/설치 방법을 제공한다.In order to achieve the above object, the present invention provides a method for restoring or reinstalling the object software installed on a hard disk of a computer, comprising: a restoration software for restoring / installing the object software module in the BIOS of the computer and the object software; Embedding the installation software module to execute the restore / install software during the computer boot process; Restoring or reinstalling the target software by the restore / install software; It provides an automatic software restore / installation method comprising the step of automatically executing the target software after the OS.

이하 첨부된 도면을 참조로 하여 본 발명을 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

먼저, 도1은 본 발명에 사용되는 바이오스 롬의 메모리 맵을 나타낸 것으로, 컴퓨터가 본래에 가지고 있던 운영 시스템을 저장하는 컴퓨터 바이오스 모듈과, 컴퓨터 부팅 후 운영체제 상에서 실행될 목적 소프트웨어를 저장하고 있는 목적 소프트웨어 모듈과, 상기 목적 소프트웨어를 하드디스크에 복원 또는 설치하기 위한 복원/설치 소프트웨어 모듈로 구성되어 있다. 이때, 목적 소프트웨어는 사용자에게 중요한 소프트웨어로서 파일의 손상이나 삭제를 사전에 방지해야 할 필요가 있는 소프트웨어를 뜻하며, 일반적으로 사용되는 소프트웨어 보다는 기업체나 개인이 별도로 가지고 있으면서 반드시 실행되어야 할 소프트웨어를 말한다.First, FIG. 1 shows a memory map of a BIOS ROM used in the present invention, which includes a computer BIOS module for storing an operating system originally owned by a computer, and an object software module for storing target software to be executed on an operating system after the computer is booted. And a restore / install software module for restoring or installing the target software on the hard disk. In this case, the target software is software that is important to the user and means software that needs to be prevented from being damaged or deleted in advance, and refers to software that must be executed by a company or an individual rather than a commonly used software.

일반적으로 컴퓨터의 전원을 켜면 컴퓨터는 P.O.S.T.(Power On Self Test)를 수행한다. 그 과정 중에 옵션 롬(Option ROM;SCSI ROM, NIC ROM, Card ROM) 체크 단계에서 자동 복원 설치 소프트웨어 모듈이 실행권을 획득한다. 상기 옵션 롬은 바이오스 롬에 덧붙이는 형태로 구현 가능하며 어플리케이션에 따라 적당한 방법을 사용하면 된다. 활용도에 따라 다르겠지만 바이오스 롬에 내장하는 방법이 바람직하다. 이렇게 실행권을 얻은 자동 복원 설치 소프트웨어 모듈의 동작은 정보수집, 복사과정으로 이루어진다.In general, when the computer is turned on, the computer performs a power on self test (P.O.S.T.). In the process, the automatic restoration installation software module acquires execution right in the option ROM (SCSI ROM, NIC ROM, Card ROM) check step. The option ROM may be implemented in addition to the BIOS ROM, and may be appropriately used depending on the application. Depending on the application, the method of embedding in the BIOS is preferable. The operation of the auto-installation installation software module thus obtained is performed by collecting and copying information.

또한 하드디스크에 목적 소프트웨어 모듈을 복사하기 위하여 운영체제 정보, 목적 소프트웨어 모듈 복사 위치, 목적 소프트웨어 모듈 정보, 하드디스크 정보, 파일 시스템 등의 정보들이 필요하다. 또한 시스템은 독립적인 운용이 가능해야 하며, 목적 소프트웨어 모듈은 운영체제가 로드된 후에 동작되는 것이므로 운영체제 설치시 변함 없이 참조해야만 하는 정보를 가지고 분석해야 한다. 또한 부트섹터와 부트 로더를 읽어 분석하면 파일 시스템과 설치되어 있는 운영체제 정보를 알 수 있다.In addition, in order to copy the target software module to the hard disk, information such as operating system information, target software module copy location, target software module information, hard disk information, and file system is required. In addition, the system must be able to operate independently, and the target software module is operated after the operating system is loaded. Therefore, the system must be analyzed with information that must be constantly referred to when installing the operating system. You can also read and analyze the boot sector and boot loader to see file system and installed operating system information.

다음에, 도2는 본 발명에 따른 목적 소프트웨어의 복원 및 설치를 위한 컴퓨터의 콜드부팅(Cold Boot) 과정을 나타낸 것으로, 종래의 컴퓨터 바이오스 롬에 자동복원 설치 프로그램 모듈을 부가하여 그 모듈을 호출하는 단계를 도시한 것이다. 컴퓨터의 바이오스 롬은 장치들의 진단, 부트 장치 검색 후 부트 장치로 프로세스를 보내면서 종료되는 포스트 과정을 수행하는 역할을 한다. 이때, 상기 포스트 과정의 끝부분에서 자동 복원 설치 소프트웨어 모듈을 실행시켜주는 부분이 추가되어야 한다.Next, FIG. 2 shows a cold boot process of a computer for restoring and installing the target software according to the present invention. The automatic restoring program module is added to a conventional computer BIOS to call the module. The steps are shown. The BIOS of the computer performs the post process that terminates by diagnosing the devices, searching for the boot device, and sending a process to the boot device. At this time, a part for executing the automatic restoration installation software module should be added at the end of the post process.

이때, 상기 자동복원 설치 소프트웨어 모듈은 확장된 옵션 롬에서 실행되는 모듈로 만들어 추후에 탑재가 용이한 구조로 제공된다. 상기 옵션 롬 실행 단계에서 PC 바이오스는 자동복원 설치 소프트웨어 모듈을 실행하며 자동복원 설치 소프트웨어 모듈의 본 코드는 부트스트랩 로더(Bootstrap Loader)를 실행하는 인터럽트(interrupt)인 인터럽트19를 가로채어 부트스트랩 로더가 호출되는 단계에서 실행되게 한다.At this time, the automatic restoration installation software module is made into a module that is executed in the extended option ROM is provided in a structure that can be easily mounted later. In the option ROM execution step, the PC BIOS executes the auto-restore installation software module. This code of the auto-restore installation software module intercepts interrupt 19, which is an interrupt that executes the bootstrap loader, and the bootstrap loader To be executed in the step being called.

즉, 콜드 부팅을 시작하면, 메모리와 메인보드 장치를 테스트하고, ISA, PCI 장치를 인식하고 구성한다. 다음에 확장 롬 옵션을 선택하고 복원/설치 소프트웨어 모듈을 시작하여 메인 메모리에 복원/설치 소프트웨어를 상주시키고 인터럽트19를 가로채어 복원 설치 소프트웨어를 실행하기 위한 핸들러(handler)를 설치한다. 다음에 파워 매니지먼트를 초기화하고 ACPI 부분 초기화를 실시한다. 다음에 인터럽트19가 발생하면 이에 따라 상기 설치된 핸들러가 실행되어 복원/설치 소프트웨어 모듈을 실행시킨다. 상기 복원/설치 소프트웨어 모듈의 실행에 따라 목적 소프트웨어를 하드디스크에 복원 또는 설치하여 상주시킨 다음 마스터 부트 레코더(MBR)를 로드한다.In other words, when you start cold booting, it tests memory and motherboard devices, recognizes and configures ISA and PCI devices. Next, select the extended ROM option and start the restore / install software module to reside the restore / install software in main memory and intercept interrupt 19 to install a handler to run the restore installation software. Next, power management is initialized and ACPI partial initialization is performed. Next, when an interrupt 19 occurs, the installed handler is executed accordingly to execute the restore / install software module. In accordance with the execution of the restore / install software module, the target software is restored or installed on the hard disk to reside and then loaded with the master boot recorder (MBR).

상기와 같이 실행된 복원/설치 소프트웨어 모듈의 동작은 도3에 나타낸 바와 같이, 확장 롬 옵션에 의해 복원/설치 소프트웨어 모듈을 동작시키는 단계(110)와; 상기 복원/설치 소프트웨어의 동작에 필요한 설정 정보를 읽는 단계(120)와; 상기 설정 정보 읽기에 실패했을 경우 MBR, 파일시스템 테이블, 부트로더 설정 파일 등 부트섹터를 읽는 단계(130)와; 상기 단계에서 읽어들인 부트섹터의 정보로부터 파티션 타입, 파일 시스템, 설치 운영체체를 알아내는 디스크 정보 분석 단계(140)와; 목적 소프트웨어 모듈이 자동으로 실행되게 하기 위한 위치를 분석된 정보를 이용하여 자동 판별하는 복사 위치 선정 단계(150)와; 바이오스 롬에 저장되어 있는 바이너리 파일을 메모리로 가져와 목적 소프트웨어 모듈을 로드하는 단계(160)와; 상기 목적 소프트웨어가 이미 하드디스크에 설치되어 있는 지를 검사하고, 설치되어 있다면 그 파일의 손상 여부를 체크하는 목적 소프트웨어 모듈의 검사 단계(170)와; 상기 목적 소프트웨어 모듈을 복사하기 위해 해당 파티션의 파일 시스템에서 목적 소프트웨어 모듈을 설치하기에 충분한 공간이 있는 지를 확인한 후 목적 소프트웨어 모듈을 복사하여 파일 시스템을 업데이트하는 목적 소프트웨어 모듈 복사 단계(180)와; 상기 복원/설치 소프트웨어 모듈의 동작을 마치고 OS 부팅을 시작하는 MBR 부팅 단계(190)로 구성된다.The operation of the restore / install software module executed as described above may include: operating 110 the restore / install software module by the expansion ROM option as shown in FIG. 3; Reading (120) setting information necessary for the operation of the restoration / installation software; Reading a boot sector, such as an MBR, a file system table, a boot loader configuration file, and the like, when reading of the configuration information fails; A disk information analyzing step (140) of determining a partition type, a file system, and an installation operating system from information of the boot sector read in the step; A copy position selecting step 150 for automatically determining a position for automatically executing the object software module using the analyzed information; Importing a binary file stored in the BIOS into a memory and loading the target software module (160); An inspection step (170) of the target software module for checking whether the target software is already installed on the hard disk, and if the target software is installed, checking whether the file is damaged; A target software module copying step (180) of updating a file system by copying the target software module after checking whether there is enough space in the file system of the corresponding partition to copy the target software module; Comprising the operation of the restore / installation software module is configured to start the MBR boot step 190 to start booting.

이때, 상기 디스크 정보를 분석하는 단계(140)에서 파티션, 파일 시스템, 부트로더에 관한 정보를 취득하는 방법으로서 하드디스크의 MBR에 존재하는 4개의 파티션 엔트리로부터 각 엔트리에 파티션 타입에 해당 파티션의 파일 시스템 코드번호를 검색하고, 이 번호로 드라이브의 디스크 정보를 분석한다.At this time, in the step 140 of analyzing the disk information, as a method of acquiring information about a partition, a file system, and a boot loader, a file of a partition corresponding to a partition type in each entry from four partition entries in an MBR of a hard disk. Search for the system code number and use this number to analyze the drive's disk information.

하드디스크 드라이브의 첫 번째 섹터(실린더 0, 헤드 0, 섹터 1)를 마스터 부트 레코드(MBR)라 부르는데 컴퓨터의 P.O.S.T. 과정에서 체크되는 작은 조각 코드이며, 표1과 같이 4개의 파티션 엔트리가 존재한다.The first sector of the hard disk drive (cylinder 0, head 0, sector 1) is called the master boot record (MBR) and the P.O.S.T. This is a small piece of code that is checked in the process, and there are four partition entries as shown in Table 1.

OffsetOffset DescriptionDescription SizeSize 000h000h Executable Code (Boots Computer)Executable Code (Boots Computer) 446 Bytes446 Bytes 1BEh1BEh 1st Partition Entry1st Partition Entry 16 Bytes16 Bytes 1CEh1CEh 2nd Partition Entry2nd Partition Entry 16 Bytes16 Bytes 1DEh1DEh 3rd Partition Entry3rd Partition Entry 16 Bytes16 Bytes 1EEh1EEh 4th Partition Entry4th Partition Entry 16 Bytes16 Bytes 1FEh1FEh Executable Marker (55h AAh)Executable Marker (55h AAh) 2 Bytes2 Bytes

또한, 그 엔트리는 각각 표2와 같이 구성되어 있다.The entries are constructed as shown in Table 2, respectively.

파티션 엔트리(MBR의 파트)Partition entry (part of MBR) OffsetOffset DescriptionDescription SizeSize 00h00h Current State of Partition (00h=Inactive, 80h=Active)Current State of Partition (00h = Inactive, 80h = Active) 1 Byte1 Byte 01h01h Beginning of Partition - HeadBeginning of Partition-Head 1 Byte1 Byte 02h02h Beginning of Partition - Cylinder/SectorBeginning of Partition-Cylinder / Sector 1 Word1 Word 04h04h Type of PartitionType of Partition 1 Byte1 Byte 05h05h End of Partition - HeadEnd of Partition-Head 1 Byte1 Byte 06h06h End of Partition - Cylinder/SectorEnd of Partition-Cylinder / Sector 1 Word1 Word 08h08h Number of Sectors Between the MBR and the First Sector in the PartitionNumber of Sectors Between the MBR and the First Sector in the Partition 1 Double Word1 Double Word 0Ch0Ch Number of Sectors in the PartitionNumber of Sectors in the Partition 1 Double Word1 Double Word

상기 표중 Offset 04h에 파티션의 종류가 기입되어 있으며, 파티션의 종류는 파일 시스템을 의미한다.In the above table, the type of partition is written in Offset 04h, and the type of partition means a file system.

상기와 같이 하드디스크의 정보를 분석하는 단계에서 하드디스크의 부팅 파티션의 위치와 각 파티션들의 파일 시스템을 알 수 있으며, 해당 파일 시스템에 맞게 읽어서 설치되어 있는 OS를 확인한다. 파일 할당 테이블(FAT)의 경우, 파티션의 첫 번째 섹터에 FAT가 위치하며 FAT에 기록된 부트로더를 찾아 부트 설정 정보를 읽어 운영체제 정보를 확인할 수 있다.In the analyzing the information of the hard disk as described above, the location of the boot partition of the hard disk and the file system of each partition can be known, and the OS installed by reading the corresponding file system is checked. In the case of the file allocation table (FAT), the FAT is located in the first sector of the partition, and the operating system information can be checked by reading the boot configuration information by finding a boot loader recorded in the FAT.

다음에 도4는 본 발명에 따라 목적 소프트웨어를 복원 또는 재설치 한 후, 목적 소프트웨어를 정당한 사용자만이 사용할 수 있도록 하기 위한 목적 소프트웨어의 보안설정 방법을 나타낸 것으로, 목적 소프트웨어가 바이오스 롬에 보관되어 컴퓨터의 기동시 마다 컴퓨터의 부팅과정에서 자동으로 복원 또는 재설치되고 컴퓨터가 부팅되어 OS가 실행된 후 별도의 USB 인증키 또는 키워드에 의한 암호 인증으로 복원 또는 설치된 목적 소프트웨어의 사용을 제한하기 위한 보안 설정 방법이다.4 shows a method of setting security of the target software so that only the right user can use the target software after restoring or reinstalling the target software according to the present invention. It is a security setting method that automatically restores or reinstalls during the booting process of the computer at every startup, and restricts the use of the installed or restored target software by password authentication using a separate USB authentication key or keyword after the computer is booted and the OS is running. .

즉, 도3과 도4에서 상세히 도시하고 있는 바와 같이 목적 소프트웨어를 복원 또는 설치하고 컴퓨터의 부팅을 완료하여 OS를 실행한 후, 상기 목적 소프트웨어를 실행하는 과정에서 인증키를 요청한다. 이때, 인증키는 안전하게 보호하고 저장하기 위하여 휴대용 저장장치나 USB 토큰을 이용할 수 있으며, USB를 인증키로 사용할 경우 USB 인증키의 존재여부를 확인하여 USB 인증키가 존재한다면 보안인증을 종료한다. 만약, USB 인증키가 없다면 키워드에 의한 암호인증을 실시한다. 이때, 입력된 키워드에 의해 암호 인증이 성공하면 보안인증을 종료하고, 목적 소프트웨어를 실행하여 사용자가 소프트웨어를 사용할 수 있도록 한다. That is, as shown in detail in FIGS. 3 and 4, after restoring or installing the target software and completing booting of the computer to execute the OS, an authentication key is requested in the process of executing the target software. At this time, the authentication key can use a portable storage device or a USB token in order to securely protect and store. If USB is used as an authentication key, the authentication key is checked for the existence of the USB authentication key and the security authentication ends if the USB authentication key exists. If there is no USB authentication key, password authentication by keyword is performed. At this time, if the password authentication is successful by the input keyword, the security authentication is terminated, and the user can use the software by executing the target software.

또한, 만약 암호인증이 실패하면 키보드와 마우스의 잠금 기능을 설정하거나 목적 소프트웨어의 실행을 취소하여 목적 소프트웨어를 사용하지 못하도록 한다.In addition, if password authentication fails, lock the keyboard and mouse, or cancel the execution of the target software so that the target software cannot be used.

상기와 같이 목적 소프트웨어를 복원 설치하여 실행하는 과정 중에 휴대용 저장장치나 키워드에 의한 암호를 입력할 수 있도록 하여 컴퓨터의 실행 여부를 결정함으로써 목적 소프트웨어의 사용에 관한 간단한 보안설정이 가능하다.As described above, it is possible to input a password using a portable storage device or a keyword during the process of restoring and installing the target software, thereby determining whether or not the computer is to be executed.

상술한 바와 같은 본 발명에 따른 소프트웨어 자동 복원 및 설치 방법은 컴퓨터 부팅시 마다 목적 소프트웨어를 자동으로 검색하고 손상이 있을 경우 자동으로 복원 또는 새로 설치하며, OS 시스템의 실행과 함께 자동으로 상기 복원 또는 설치된 목적 소프트웨어를 실행시켜줌으로써 목적 소프트웨어의 삭제나 손상으로 인해 소프트웨어가 동작하지 않는 문제점을 해결할 수 있으며, OS 프로그램과 함께 자동으로 실행되도록 함으로써 많이 사용하는 중요한 소프트웨어를 보호하고 컴퓨터 부팅 즉시 사용할 수 있도록 한다.As described above, the automatic software restoration and installation method according to the present invention automatically searches for the target software every time the computer boots, and automatically restores or installs the new software if there is any damage. By running the target software, you can solve the problem that the software does not work due to the deletion or damage of the target software, and by running it automatically with the OS program, it protects the important software that is used frequently and makes it immediately available to boot the computer.

또한, 휴대용 저장장치나 키워드를 이용하여 복원 및 재설치된 목적 소프트웨어의 실행과정에서 암호인증을 실시함으로써 목적 소프트웨어를 정당한 사용자들만이 사용하도록 할 수 있다. In addition, by performing password authentication during the execution of the restored and reinstalled target software using a portable storage device or a keyword, only the right users can use the target software.

도1은 본 발명에 따른 소프트웨어의 자동 복원 및 실행방법을 구현하기 위해 바이오스 롬에 저장되어 있는 모듈들의 메모리 맵을 나타낸 도면.1 is a memory map of modules stored in a BIOS to implement an automatic restoration and execution method of software according to the present invention.

도2는 본 발명에 따른 소프트웨어의 자동 복원을 위한 콜드 부팅과정을 순차적으로 나타낸 도면.2 is a view sequentially showing a cold boot process for automatic restoration of software according to the present invention.

도3은 본 발명에 따른 소프트웨어의 자동복원을 위한 소프트웨어 자동 복원/설치 모듈의 동작을 순차적으로 나타낸 도면.Figure 3 is a view sequentially showing the operation of the software automatic restore / installation module for the automatic restoration of the software according to the present invention.

도4는 본 발명에 따른 소프트웨어 자동 복원 과정중 사용자를 인증하기 위한 방법을 순차적으로 나타낸 도면.4 is a diagram sequentially illustrating a method for authenticating a user during an automatic software restoration process according to the present invention.

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

10 : 롬 11 : 바이오스 롬10: ROM 11: Bios ROM

12 : 복원/설치 소프트웨어 모듈12: Restore / Install Software Module

13 : 목적 소프트웨어 모듈13: purpose software module

Claims (4)

컴퓨터의 하드디스크에 설치되어 있는 목적 소프트웨어를 복원 또는 재설치하기 위한 방법에 있어서,In the method for restoring or reinstalling the target software installed on the hard disk of the computer, 컴퓨터의 바이오스 롬에 목적 소프트웨어 모듈과, 상기 목적 소프트웨어를 복원/설치하기 위한 복원/설치 소프트웨어 모듈을 내장하여서, 컴퓨터 부팅과정 중 복원/설치 소프트웨어를 실행하는 단계와;Executing a restore / install software during a computer boot process by embedding a target software module in a BIOS of the computer and a restore / install software module for restoring / installing the target software; 상기 실행된 복원/설치 소프트웨어에 의해 하드 디스크에 설치된 목적 소프트웨어의 손상여부를 판단하고 손상되었을 경우 상기 목적 소프트웨어를 하드디스크에 복원 또는 재설치하는 단계와;Determining whether the target software installed on the hard disk is damaged by the executed restore / install software, and if the target software is damaged, restoring or reinstalling the target software on the hard disk; 상기 목적 소프트웨어를 OS 실행 후 자동 실행하는 단계를 포함하는 것을 특징으로 하는 소프트웨어 자동 복원/설치 방법.And automatically executing the target software after the OS is executed. 제 1 항에 있어서,The method of claim 1, 상기 부팅과정 중에 복원/설치 소프트웨어를 실행하는 단계는,Executing the restore / installation software during the booting process, 확장 롬 옵션을 선택하고 복원/설치 소프트웨어 모듈을 시작하는 단계와;Selecting an extension ROM option and starting a restore / install software module; 상기 복원/설치 소프트웨어를 메인 메모리에 상주시키고 인터럽트19를 가로채어 복원 설치 소프트웨어를 실행하기 위한 핸들러(handler)를 설치하는 단계와;Residing the restore / install software in main memory and intercepting interrupt 19 to install a handler to execute the restore installation software; 파워 매니지먼트와 ACPI 부분을 초기화하고, 인터럽트19가 발생하면 이에 따라 상기 설치된 핸들러가 실행되어 복원/설치 소프트웨어 모듈을 실행시키는 단계를 포함하는 것을 특징으로 하는 소프트웨어 복원 설치 방법. And initializing power management and ACPI, and executing the installed handler by executing the installed handler when interrupt 19 occurs. 제 1 항에 있어서,The method of claim 1, 상기 복원/설치 소프트웨어에 의해 목적 소프트웨어를 복원 또는 재설치하는 방법은, Method for restoring or reinstalling the target software by the restore / installation software, 확장 롬 옵션에 의해 복원/설치 소프트웨어 모듈을 동작시키는 단계와; Operating the restore / install software module with an extension ROM option; 상기 복원/설치 소프트웨어의 동작에 필요한 설정 정보를 읽는 단계와; Reading setting information necessary for the operation of the restoration / installation software; 상기 설정 정보 읽기에 실패했을 경우 MBR, 파일시스템 테이블, 부트로더 설정 파일 등 부트섹터를 읽는 단계와; Reading a boot sector, such as an MBR, a file system table, a boot loader configuration file, if the configuration information fails to read; 상기 단계에서 읽어들인 부트섹터의 정보로부터 파티션 타입, 파일 시스템, 설치 운영체체를 알아내는 디스크 정보 분석 단계와; A disk information analyzing step of determining a partition type, a file system, and an installation operating system from information on the boot sector read in the step; 목적 소프트웨어 모듈이 자동으로 실행되게 하기 위한 위치를 분석된 정보를 이용하여 자동 판별하는 복사 위치 선정 단계와; A copy position selection step of automatically determining a position for automatically executing the object software module using the analyzed information; 바이오스 롬에 저장되어 있는 바이너리 파일을 메모리로 가져와 목적 소프트웨어 모듈을 로드하는 단계와; Importing a binary file stored in the BIOS into a memory and loading a target software module; 상기 목적 소프트웨어가 이미 하드디스크에 설치되어 있는 지를 검사하고, 설치되어 있다면 그 파일의 손상 여부를 체크하는 목적 소프트웨어 검사 단계와;An object software checking step of checking whether the object software is already installed on the hard disk, and if so, checking whether the file is damaged; 상기 목적 소프트웨어의 파일이 손상되었거나 삭제되었다면 상기 목적 소프트웨어 모듈을 복사하기 위해 해당 파티션의 파일 시스템에서 상기 목적 소프트웨어 모듈을 설치하기에 충분한 공간이 있는 지를 확인한 후 목적 소프트웨어 모듈을 복사하여 파일 시스템을 업데이트하는 목적 소프트웨어 모듈 복사 단계를 포함하는 것을 특징으로 하는 소프트웨어 자동 복원/설치 방법. If the file of the target software is damaged or deleted, after checking whether there is enough space in the file system of the partition to install the target software module to copy the target software module, copy the target software module to update the file system. Automatic software restore / installation method comprising the step of copying the target software module. 제 2 항에 있어서,The method of claim 2, 상기 목적 소프트웨어를 복원 또는 재설치한 후 컴퓨터의 부팅을 완료하여 목적 소프트웨어를 시작하고, 암호가 입력되어 있는 휴대용 저장장치를 검색하는 단계와,Restoring or reinstalling the target software, completing booting of the computer to start the target software, and searching for a portable storage device having a password entered therein; 상기 암호가 입력된 휴대용 저장장치가 존재하면 보안인증을 완료하고 목적 소프트웨어를 실행하는 단계와,Completing the security authentication and executing the target software if the portable storage device having the password is input; 상기 휴대용 저장장치가 없다면 키워드에 의한 암호입력을 실시하는 단계와,If there is no portable storage device, performing a password input by keyword; 상기 입력된 암호가 설정된 암호와 일치하면 보안인증을 완료하고 목적 소프트웨어를 실행하는 단계와,If the input password matches the set password, completing the security authentication and executing the target software; 상기 암호가 일치하지 않으면 보안인증 실패를 표시하고 목적 소프트웨어의 실행을 중지시키기는 단계를 더 포함하는 것을 특징으로 하는 소프트웨어 자동 복원/설치 방법.And if the passwords do not match, indicating that the security authentication failed and stopping execution of the target software.
KR10-2002-0069019A 2002-11-08 2002-11-08 Method for Automatic Recovery and Operation of Software KR100504769B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0069019A KR100504769B1 (en) 2002-11-08 2002-11-08 Method for Automatic Recovery and Operation of Software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0069019A KR100504769B1 (en) 2002-11-08 2002-11-08 Method for Automatic Recovery and Operation of Software

Publications (2)

Publication Number Publication Date
KR20040040778A KR20040040778A (en) 2004-05-13
KR100504769B1 true KR100504769B1 (en) 2005-07-29

Family

ID=37338045

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0069019A KR100504769B1 (en) 2002-11-08 2002-11-08 Method for Automatic Recovery and Operation of Software

Country Status (1)

Country Link
KR (1) KR100504769B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101100894B1 (en) * 2009-11-11 2012-01-02 숙 희 김 error detection and recovery method of embedded System

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980068699U (en) * 1998-09-07 1998-12-05 서진석 Data protection and restoration devices in hard disk for computer
JPH1185480A (en) * 1997-06-19 1999-03-30 Stc Internatl Computers Ltd Initial program loading
JP2000235483A (en) * 1999-02-16 2000-08-29 Nec Gumma Ltd Information processor
KR20010019732A (en) * 1999-08-30 2001-03-15 윤종용 File backup method of computer system
KR100292155B1 (en) * 1995-11-07 2001-09-17 윤종용 Digital computer having easy operation environment and using method thereof
KR20020083037A (en) * 2001-04-25 2002-11-01 주식회사 성진씨앤씨 Apparatus and method for protecting failure of computer operating system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100292155B1 (en) * 1995-11-07 2001-09-17 윤종용 Digital computer having easy operation environment and using method thereof
JPH1185480A (en) * 1997-06-19 1999-03-30 Stc Internatl Computers Ltd Initial program loading
KR19980068699U (en) * 1998-09-07 1998-12-05 서진석 Data protection and restoration devices in hard disk for computer
JP2000235483A (en) * 1999-02-16 2000-08-29 Nec Gumma Ltd Information processor
KR20010019732A (en) * 1999-08-30 2001-03-15 윤종용 File backup method of computer system
KR20020083037A (en) * 2001-04-25 2002-11-01 주식회사 성진씨앤씨 Apparatus and method for protecting failure of computer operating system

Also Published As

Publication number Publication date
KR20040040778A (en) 2004-05-13

Similar Documents

Publication Publication Date Title
US5537540A (en) Transparent, secure computer virus detection method and apparatus
US20020166059A1 (en) Methods and apparatus for protecting against viruses on partitionable media
US6820214B1 (en) Automated system recovery via backup and restoration of system state
US6851073B1 (en) Extensible system recovery architecture
US7702894B2 (en) System and method for loading programs from HDD independent of operating system
US6996706B1 (en) Booting an operating system or running other pre-boot code from a file stored under a different operating system
US7962739B2 (en) Recovering from hard disk errors that corrupt one or more critical system boot files
US8856927B1 (en) System and method for using snapshots for rootkit detection
EP1984824B1 (en) Computer operating system with selective restriction of memory write operations
US7519806B2 (en) Virtual partition for recording and restoring computer data files
US8032351B2 (en) Running a virtual machine directly from a physical machine using snapshots
US6308265B1 (en) Protection of boot block code while allowing write accesses to the boot block
KR100758292B1 (en) A method for renovating the computer operating system
US8006125B1 (en) Automatic detection and recovery of corrupt disk metadata
US6317845B1 (en) System for computer recovery using removable high capacity media
US7793091B2 (en) Method, computer-readable media, devices and systems for loading a selected operating system of interest
CN1241120C (en) Method for backing up and recovering data in hard disk of computer
US20040076043A1 (en) Reliable and secure updating and recovery of firmware from a mass storage device
US20100058314A1 (en) Computer System and Related Method of Logging BIOS Update Operation
US20140115316A1 (en) Boot loading of secure operating system from external device
EP2428909A1 (en) System recovery method and computing apparatus having system recovery function
US20090094447A1 (en) Universal serial bus flash drive for booting computer and method for loading programs to the flash drive
CN104008340A (en) Virus scanning and killing method and device
US20080270685A1 (en) Information processing apparatus and firmware updating method
US20060080518A1 (en) Method for securing computers from malicious code attacks

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