KR20020081909A - computer booting method and computer system - Google Patents
computer booting method and computer system Download PDFInfo
- Publication number
- KR20020081909A KR20020081909A KR1020010021407A KR20010021407A KR20020081909A KR 20020081909 A KR20020081909 A KR 20020081909A KR 1020010021407 A KR1020010021407 A KR 1020010021407A KR 20010021407 A KR20010021407 A KR 20010021407A KR 20020081909 A KR20020081909 A KR 20020081909A
- Authority
- KR
- South Korea
- Prior art keywords
- loader
- application
- operating system
- sector
- main memory
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
운영체계를 이용하지 않고도 특정 응용 프로그램을 주기억장치로 로드하여 실행할 수 있는 응용 프로그램 로더를 작성한 후, 마스터 부트 레코드가 기존의 운영체계 로더 대신 새로 작성된 응용 프로그램 로더를 실행할 수 있는 코드 즉, 응용 프로그램 부트로더 로딩 코드를 포함하도록 한다. 운영체계 로더와 이를 로드하여 실행하기 위한 마스터 부트 레코드는 디스크의 다른 섹터에 저장된다. 바이오스가 파워온 셀프 테스트를 끝낸 후 마스터 부트 레코드를 로드하면, 마스터 부트 레코드 내의 응용 프로그램 부트로더 로딩 코드가 실행되어 응용 프로그램 로더를 적재하여 실행하고, 응용 프로그램 로더에 의해 응용 프로그램이 적재되고 실행된다. 응용 프로그램은 허가되지 않은 사용자의 시스템 접근을 차단할 수 있도록 하는 보안 프로그램인 경우가 많다. 응용 프로그램이 정상적으로 종료되면, 운영체계 로더를 로드하기 위한 기존의 마스터 부트 레코드가 디스크의 다른 섹터로부터 로드되어 운영체계 로더를 실행하고, 이에 따라 운영체계가 실행된다.After writing an application loader that can load and run a specific application into main memory without using the operating system, the code that the master boot record can execute on the newly created application loader instead of the existing operating system loader, that is, application boot. Include the loader loading code. The operating system loader and master boot record for loading and executing it are stored in different sectors of the disk. When BIOS loads the master boot record after completing the power-on self-test, the application bootloader loading code in the master boot record is executed to load and run the application loader, and the application is loaded and executed by the application loader. . Applications are often security programs that allow unauthorized users to block access to the system. When the application terminates normally, the existing master boot record for loading the operating system loader is loaded from another sector of the disk to run the operating system loader, and thus the operating system.
Description
본 발명은 컴퓨터를 부팅하는 방법 및 이를 구현할 수 있는 컴퓨터 시스템에 관한 것으로서, 더 구체적으로는 컴퓨터의 운영체계를 실행하기 전에 특정한 응용 프로그램을 먼저 실행할 수 있는 컴퓨터 부팅 방법과 이를 구현할 수 있는 컴퓨터 시스템에 관한 것이다.The present invention relates to a method of booting a computer and a computer system capable of implementing the same, and more particularly, to a computer booting method capable of executing a specific application first before executing an operating system of the computer and a computer system capable of implementing the same. It is about.
도 1에 통상적인 컴퓨터의 부팅 방법을 흐름도로 나타내었고, 도 2는 이러한 부팅 과정에서 컴퓨터의 통제권의 흐름을 나타낸다.1 is a flowchart illustrating a conventional computer booting method, and FIG. 2 illustrates a flow of control of the computer during this booting process.
도 1에 나타난 바와 같이, 사용자가 컴퓨터를 켜면 컴퓨터의 롬(ROM; read only memory)에 저장되어 있는 기본 입출력 시스템(바이오스; BIOS; basic input/output system)이 기동되며 임무를 시작한다. 바이오스는 컴퓨터의 각 부분품이 운영될 수 있는 상태인지를 확인하기 위하여 포스트(POST; power-on self test)라고 불리우는 테스트를 수행한다(S110).As shown in FIG. 1, when a user turns on a computer, a basic input / output system (BIOS) stored in a read only memory (ROM) of the computer is started and a mission is started. The BIOS performs a test called a power-on self test (POST) to check whether each part of the computer can be operated (S110).
포스트가 종료되면 바이오스가 마스터 부트 레코드(MBR; master boot record)라고 불리는 정보를 읽어서 수행하게 된다(S120). MBR은 컴퓨터의 운영체계(OS; operating system)가 어디에 어떻게 위치해 있는지를 식별하여 컴퓨터의 주기억장치에 적재될 수 있도록 하기 위한 정보로서 하드디스크나 디스켓의 첫번째 섹터에 저장되어 있다. 도 2에 나타난 바와 같이, MBR(210)은 디스크의 파티션 정보(211)와 메모리에 적재될 운영체계(OS; operating system)가 저장되어 있는 파티션의 부트로더를 읽을 수 있는 프로그램 즉 OS 부트로더 로딩 코드(212)를 포함하고 있으며, 크기는 통상 512바이트이다.When the post is finished, the BIOS reads information called a master boot record (MBR) and performs it (S120). The MBR is stored in the first sector of a hard disk or diskette as information for identifying where and how the computer's operating system is located so that it can be loaded into the main memory of the computer. As shown in FIG. 2, the MBR 210 loads a program that can read a boot loader of a partition in which partition information 211 of a disk and an operating system (OS) to be loaded into a memory are stored, that is, loading an OS boot loader. Code 212 is included and is typically 512 bytes in size.
마스터 부트 레코드(210)가 주기억장치로 로드되면, 마스터 부트 레코드(210)에 포함되어 있는 OS 부트로더 로딩 코드(212)에 의해 OS 로더(220)가 적재되어 실행된다(S130). 이 때 컴퓨터의 통제권은 OS 로더(220)로 넘어간다.When the master boot record 210 is loaded into the main memory, the OS loader 220 is loaded and executed by the OS boot loader loading code 212 included in the master boot record 210 (S130). At this time, control of the computer is transferred to the OS loader 220.
다음으로는 OS 로더가 운영체계의 나머지 부분 즉, OS 커널을 주기억장치에 로드하고 이를 실행한다(S140). 이렇게 하면, 운영체계가 본격적으로 시작되고 컴퓨터의 통제권은 운영체계로 넘어가 사용자의 입력을 통한 명령을 수행하기 위해 대기하게 된다(S150).Next, the OS loader loads the rest of the operating system, that is, the OS kernel into the main memory and executes it (S140). In this case, the operating system is started in earnest, and control of the computer is transferred to the operating system and waits to execute a command through a user's input (S150).
이와 같은 일련의 과정을 통상 부팅(booting)이라고 부른다.This series of processes is commonly called booting.
이와 같이, 사용자가 컴퓨터를 사용하기 위해서는 맨 먼저 컴퓨터를 부팅한 후, 운영체계의 통제 하에서 응용 프로그램들을 수행하게 된다. 그러나 어떤 경우에는 운영체계가 실행되기 전에 먼저 특정 프로그램을 실행할 필요가 있을 수 있다. 예를 들면, 필요에 따라 사용자의 컴퓨터에 대한 액세스를 제한할 필요가 있을 때 보안 프로그램을 운영체계보다 먼저 실행하여 정당하게 액세스할 수 있는 사용자인지를 확인하여야 하는 경우 등이다.As such, in order for a user to use a computer, the user first boots the computer and then executes application programs under the control of the operating system. In some cases, however, it may be necessary to run certain programs before the operating system can run. For example, when it is necessary to restrict access to a user's computer as necessary, it is necessary to execute a security program before the operating system to check whether the user can be legitimately accessed.
컴퓨터가 부팅되어 운영체계가 실행되고 난 후에는 보안 프로그램을 이용하려고 하더라도 이미 운영체계가 가동된 이후이므로 불법적인 액세스가 일어날 가능성이 있다. 이러한 문제를 해결하기 위하여 하드웨어를 이용하여 부팅 단계에서 시스템의 접근을 막는 방법이 개발되었지만, 이 방법은 이를 위한 별도의 하드웨어를 필요로 하여 설치와 비용의 부담이 있다. 예를 들어 지문인식을 통한 부팅을 위해서는 지문인식 하드웨어 외에도 부팅 단계에서 지문인식 응용 프로그램이 수행되도록 하기 위해 확장 BIOS를 이용하며, 이를 위하여 컴퓨터의 확장 슬롯에 응용 프로그램을 내장한 하드웨어를 설치하게 된다.After the computer is booted and the operating system is running, even if you try to use a security program, there is a possibility that illegal access may occur since the operating system is already started. In order to solve this problem, a method of preventing access of the system at the booting stage by using hardware has been developed, but this method requires additional hardware for this, which is burdensome to install and cost. For example, in order to boot through fingerprint recognition, in addition to the fingerprint hardware, an extended BIOS is used to execute a fingerprint recognition application at the booting stage. To do this, hardware with an embedded application program is installed in an expansion slot of the computer.
또한 운영체계가 로드되기 전에 실행되어야 할 프로그램을 로드할 때에는 운영체계에서 제공하는 파일 서비스를 사용할 수 없어서 용량이 큰 프로그램은 메모리에 로드하기 어렵다는 문제점이 있다.In addition, when loading a program to be executed before the operating system is loaded, there is a problem that it is difficult to load a large program into memory because the file service provided by the operating system cannot be used.
본 발명은 이와 같은 점에 착안하여 이루어진 것으로서, 별도의 하드웨어를 설치하지 않고도 부팅 단계에서 컴퓨터 시스템의 접근을 막을 수 있는 방법과 시스템을 제공하는 것을 그 목적으로 한다.It is an object of the present invention to provide a method and a system which can prevent access of a computer system at a booting stage without installing additional hardware.
본 발명의 다른 목적은 부팅을 통해 운영체계가 실행되기 전에 특정 프로그램을 메모리에 적재하여 실행할 수 있는 방법과 시스템을 제공하는 것이다.Another object of the present invention is to provide a method and system that can load and execute a specific program in memory before the operating system is executed through booting.
본 발명의 또다른 목적은 운영체계가 실행되기 전에 운영체계의 서비스를 이용하지 않고도 일정 용량 이상의 크기를 갖는 프로그램을 로드하여 실행할 수 있는 방법과 시스템을 제공하는 것이다.It is still another object of the present invention to provide a method and system that can load and execute a program having a predetermined size or more without using a service of an operating system before the operating system is executed.
도 1은 종래 기술에 따른 부팅 과정을 나타내는 흐름도이다.1 is a flowchart illustrating a booting process according to the prior art.
도 2는 종래 기술에 따른 부팅 과정에서 컴퓨터의 통제권의 흐름을 나타내는 블록도이다.2 is a block diagram showing the flow of control of the computer during the booting process according to the prior art.
도 3은 본 발명에 따른 부팅 과정을 나타내는 흐름도이다.3 is a flowchart illustrating a booting process according to the present invention.
도 4는 본 발명에 따른 부팅 과정에서 컴퓨터의 통제권의 흐름을 나타내는 블록도이다.Figure 4 is a block diagram showing the flow of control of the computer during the booting process according to the present invention.
이와 같은 목적을 달성하기 위하여 본 발명에서는, 운영체계를 이용하지 않고도 특정 응용 프로그램을 주기억장치로 로드하여 실행할 수 있는 새로운 응용 프로그램 로더를 작성한 후, 마스터 부트 레코드(MBR; master boot record)가 기존의 운영체계 로더 대신 새로 작성된 응용 프로그램 로더를 실행할 수 있는 응용 프로그램 부트로더 로딩 코드를 포함하도록 한다. 운영체계 로더를 실행하기 위한 운영체계 부트로더 로딩 코드를 포함하는 기존의 마스터 부트 레코드는 디스크의 다른 섹터에 저장된다.In order to achieve the above object, in the present invention, after creating a new application loader that can load and execute a specific application to the main memory without using the operating system, the master boot record (MBR) is the existing Include application boot loader loading code that can execute a newly written application loader instead of an operating system loader. Existing master boot records containing operating system boot loader loading code for executing the operating system loader are stored in different sectors of the disk.
즉, 본 발명에 따른 컴퓨터의 부팅 방법은, 기본 입출력 시스템(basicinput/output system), 주기억장치, 적어도 하나의 보조기억장치를 포함하는 컴퓨터를 부팅하는 방법으로서, 기본 입출력 시스템이 파워-온 셀프 테스트(power-on self test)를 수행하는 단계, 기본 입출력 시스템이 보조기억장치의 제 1 섹터로부터 응용 프로그램 로더를 실행하기 위한 응용 프로그램 부트로더 로딩 코드를 포함하는 제 1 마스터 부트 레코드를 주기억장치로 적재하는 단계, 제 1 마스터 부트 레코드에 포함된 응용 프로그램 부트로더 로딩 코드가 실행되어 응용 프로그램 로더를 주기억장치에 적재하고 실행하는 단계, 응용 프로그램 로더가 보조기억장치로부터 관련된 응용 프로그램을 탐색하는 단계, 관련된 응용 프로그램이 발견된 경우 관련된 응용 프로그램을 실행하는 단계, 관련된 응용 프로그램이 정상적으로 종료된 경우 응용 프로그램 로더가 보조기억장치의 제 2 섹터로부터 운영체계 로더를 실행하기 위한 운영체계 부트로더 로딩 코드를 포함하는 제 2 마스터 부트 레코드를 주기억장치로 적재하는 단계, 제 2 마스터 부트 레코드에 포함된 운영체계 부트로더 로딩 코드가 실행되어 운영체계 로더를 주기억장치에 적재하고 실행하는 단계, 운영체계 로더가 운영체계를 주기억장치로 적재한 후 실행하는 단계를 포함하여 이루어진다.That is, a booting method of a computer according to the present invention is a method of booting a computer including a basic input / output system, a main memory, and at least one auxiliary memory, wherein the basic input / output system is a power-on self-test. performing a power-on self test, wherein the primary input / output system loads the first master boot record into the main memory including application boot loader loading code for executing the application loader from the first sector of the secondary memory. Executing the application boot loader loading code included in the first master boot record to load and execute the application loader in main memory, and the application loader searching for a related application from auxiliary storage; If the application is found, launch the associated application, When the associated application is normally terminated, loading the second master boot record into the main memory including an operating system boot loader loading code for executing the operating system loader from the second sector of the auxiliary memory; The operating system boot loader loading code included in the master boot record is executed to load and execute the operating system loader in the main memory, and the operating system loader loads the operating system into the main memory and then executes the operating system loader.
여기에서, 관련된 응용 프로그램을 탐색하는 단계 이후에 관련된 응용 프로그램이 발견되지 않은 경우 부팅을 종료하는 단계를 더 포함하거나, 관련된 응용 프로그램을 실행하는 단계 이후에 관련된 응용 프로그램이 정상적으로 종료되지 않은 경우 부팅을 종료하는 단계를 더 포함하는 것이 바람직하다.The method may further include terminating booting if the related application is not found after searching for the related application, or booting if the related application does not terminate normally after executing the related application. It is preferable to further include the step of ending.
또한, 제 1 섹터는 보조기억장치의 첫번째 섹터이며, 관련된 응용 프로그램은 사용자 인증용 보안 프로그램일 수 있다.In addition, the first sector is the first sector of the auxiliary memory, and the associated application program may be a security program for user authentication.
한편, 본 발명의 컴퓨터 시스템은, 전원 스위치, 기본 입출력 시스템(basic input/output system), 주기억장치, 적어도 하나의 보조기억장치를 포함하고, 보조기억장치의 제 1 섹터에 기억되어 있으며 컴퓨터에 대한 접근을 제어하기 위한 응용 프로그램, 보조기억장치의 제 2 섹터에 기억되어 있으며 운영체계를 이용하지 않고도 응용 프로그램을 주기억장치로 적재하고 실행할 수 있는 응용 프로그램 로더, 보조기억장치의 제 3 섹터에 기억되어 있으며 응용 프로그램 로더를 실행하기 위한 응용 프로그램 부트로더 로딩 코드를 포함하는 제 1 마스터 부트 레코드, 보조기억장치의 제 4 섹터에 기억되어 있으며 운영체계를 주기억장치로 적재하고 실행할 수 있는 운영체계 로더, 보조기억장치의 제 5 섹터에 기억되어 있으며 운영체계 로더를 실행하기 위한 운영체계 부트로더 로딩 코드를 포함하는 제 2 마스터 부트 레코드를 포함하며, 전원 스위치가 켜짐에 따라, 기본 입출력 시스템이 파워-온 셀프 테스트(power-on self test)를 수행하고, 기본 입출력 시스템이 제 3 섹터로부터 제 1 마스터 부트 레코드를 주기억장치로 적재하고, 제 1 마스터 부트 레코드에 포함된 응용 프로그램 부트로더 로딩 코드가 실행되어 제 2 섹터로부터 응용 프로그램 로더를 주기억장치에 적재하여 실행하고, 응용 프로그램 로더가 제 1 섹터로부터 응용 프로그램을 주기억장치에 적재하여 실행하고,응용 프로그램이 정상적으로 종료된 경우 응용 프로그램 로더가 제 5 섹터로부터 제 2 마스터 부트 레코드를 주기억장치로 적재하고, 제 2 마스터 부트 레코드에 포함된 운영체계 부트로더 로딩 코드가 실행되어 제 4 섹터로부터 운영체계 로더를 주기억장치에 적재하여 실행하고, 운영체계 로더가 운영체계를 주기억장치로 적재한 후 실행한다.On the other hand, the computer system of the present invention includes a power switch, a basic input / output system, a main memory device and at least one auxiliary memory device, which is stored in a first sector of the auxiliary memory device, Application programs for controlling access, stored in the second sector of the secondary memory, and stored in the third sector of the secondary memory, an application loader that can load and execute applications into main memory without using the operating system. And a first master boot record containing application boot loader loading code for executing the application loader, stored in the fourth sector of the auxiliary storage device, and an operating system loader and auxiliary memory capable of loading and executing the operating system as main memory. An operating system stored in the fifth sector of the storage device for executing the operating system loader A second master boot record containing the system bootloader loading code, wherein as the power switch is turned on, the primary input / output system performs a power-on self test, and the primary input / output system Loads the first master boot record from the sector into the main memory, executes the application boot loader loading code included in the first master boot record, loads the application loader from the second sector into the main memory, and executes the application loader. Loads and executes an application program from the first sector into the main memory, and if the application terminates normally, the application loader loads the second master boot record from the fifth sector into the main memory and includes it in the second master boot record. Operating system boot loader loading code is executed to load the operating system loader from the fourth sector. Run to load the main memory, and then run the operating system loader loads the operating system into main memory.
여기에서, 제 5 섹터는 보조기억장치의 첫번째 섹터인 것이 바람직하며, 응용 프로그램 로더는 보조기억장치의 루트 디렉토리를 검색하여 파일을 찾을 수 있고, 보조기억장치 내의 파일 배치표(FAT; file allocation table)를 검색하여 클러스터 단위로 저장되어 있는 응용 프로그램을 클러스터 리스트를 따라가며 주기억장치에 직접 적재할 수 있는 것이 또한 바람직하다.Herein, the fifth sector is preferably the first sector of the auxiliary memory, and the application loader can search the root directory of the auxiliary memory to find a file, and the file allocation table (FAT) in the auxiliary storage device. It is also desirable to be able to load the application program stored in the cluster unit by searching the cluster and directly load the main memory along the cluster list.
이제 본 발명의 바람직한 실시예에 대하여 도면을 참고로 하여 상세히 설명한다.Preferred embodiments of the present invention will now be described in detail with reference to the drawings.
도 3에 본 발명의 방법에 따른 부팅 과정이 흐름도로 나타나 있으며, 도 4는 이러한 부팅 과정에서 일어나는 컴퓨터의 통제권의 흐름을 나타내는 블록도이다.3 is a flowchart illustrating a booting process according to the method of the present invention, and FIG. 4 is a block diagram showing the flow of control of a computer occurring during the booting process.
도 3에 나타난 바와 같이, 맨먼저 사용자가 컴퓨터의 스위치를 켜면, 바이오스(BIOS)가 포스트(POST)를 수행한다(S310).As shown in FIG. 3, when the user first turns on the computer, the BIOS performs a post POST (S310).
포스트가 종료되면 바이오스가 마스터 부트 레코드(MBR)(440)를 주기억장치로 로드한다(S312). 이 때 로드되는 마스터 부트 레코드(제 1 MBR)(440)는 기존의 컴퓨터에서 사용되는 마스터 부트 레코드가 아닌 본 발명에 따라 새로 작성된 마스터 부트 레코드이다. 즉, 이 마스터 부트 레코드는 본 발명에 따른 응용 프로그램 로더(450)를 적재하여 실행할 수 있는 프로그램 즉, 응용 프로그램 부트로더 로딩 코드(442)를 포함하고 있다.When the post is finished, the BIOS loads the master boot record (MBR) 440 into the main memory (S312). The master boot record (first MBR) 440 loaded at this time is not a master boot record used in an existing computer, but a master boot record newly created according to the present invention. That is, the master boot record includes a program capable of loading and executing the application program loader 450 according to the present invention, that is, the application program boot loader loading code 442.
마스터 부트 레코드(440)가 로드되면, 마스터 부트 레코드에 포함되어 있는응용 프로그램 부트로더 로딩 코드(442)에 의해 응용 프로그램 로더(450)가 적재되어 실행된다(S314). 응용 프로그램 로더(450)의 기능은 FAT16, FAT32 파일 시스템을 갖는 디스크에서 루트 디렉토리를 검색하여 수행하고자 하는 용응 프로그램을 주기억장치로 적재하는 것이다. 따라서 이 응용 프로그램 로더(450)는 메모리가 허용하는 크기의 응용 프로그램을 읽어들여 수행할 수 있다. 종래의 방법에 따르면, 응용 프로그램을 파일로 읽어오는 것이 아니라 디스크의 특정 영역(주로 MBR 뒤의 62 섹터)에 저장하였으나, 이러한 방법으로는 지문 인증 프로그램과 같은 용량이 큰 프로그램은 저장하지 못한다는 문제점이 있었다. 응용 프로그램 로더(450)가 운영체계의 파일 시스템 없이 응용 프로그램을 로드할 수 있는 방법은 파일 시스템의 파일 배치표(file allocation table)를 검색하여, 클러스터 단위로 저장되어 있는 프로그램을 클러스터 리스트를 따라가며 주기억장치에 직접 로드하는 것이다.When the master boot record 440 is loaded, the application loader 450 is loaded and executed by the application program boot loader loading code 442 included in the master boot record (S314). The function of the application program loader 450 is to search a root directory on a disk having FAT16 and FAT32 file systems and load an application program to be executed into the main memory. Therefore, the application loader 450 may read and execute an application program having a size allowed by the memory. According to the conventional method, the application program is not read as a file but stored in a specific area of the disk (mainly 62 sectors behind the MBR). However, this method does not store a large program such as a fingerprint authentication program. There was this. The application loader 450 may load an application program without a file system of an operating system by searching a file allocation table of a file system, and keeping a program stored in a cluster unit along a cluster list. Is loading directly into the device.
한편, 응용 프로그램 로더(450)에 의해 적재하고 실행하는 응용 프로그램(460)은 통상 허가되지 않은 사용자의 컴퓨터 접근을 막기 위한 보안 프로그램 등이 될 수 있으며, 앞서 설명한 바와 같이 메모리에 적재될 수 있는 한도 내이면 그 용량의 제한을 받지 않는다.Meanwhile, the application program 460 loaded and executed by the application loader 450 may be a security program or the like to prevent unauthorized users from accessing the computer, and may be loaded in the memory as described above. If inside, the capacity is not limited.
응용 프로그램 로더(450)가 실행되면, 컴퓨터의 통제권이 응용 프로그램 로더(450)로 옮겨지고, 응용 프로그램 로더(450)는 응용 프로그램(460)을 탐색하여(S316), 해당 응용 프로그램(460)이 발견되면(S318), 응용 프로그램(460)을 로드한 후 실행한다(S320).When the application loader 450 is executed, control of the computer is transferred to the application loader 450, and the application loader 450 searches for the application 460 (S316), and the corresponding application 460 is executed. If found (S318), the application program 460 is loaded and then executed (S320).
응용 프로그램이 발견되지 않으면(S318), 시스템 접근에 장애가 생긴 것이므로 시스템 액세스가 불가능하게 된다(S332). 따라서 이 경우 적절한 메시지(예를 들면, "장애가 발생하여 시스템에 접근할 수 없습니다")를 표시하거나 또는 표시하지 않은 채로 부팅을 종료한다.If the application is not found (S318), the system access is disabled because the system access is disabled (S332). Thus, in this case, the boot is terminated with or without an appropriate message (for example, "A system has failed and cannot be accessed").
응용 프로그램(460)이 실행되면 응용 프로그램(460)이 컴퓨터의 통제권을 넘겨받아 응용 프로그램(460)의 목적에 따른 적절한 동작을 수행한다(S320). 예를 들어, 응용 프로그램(460)이 지문인식 보안 프로그램이라면 사용자의 지문을 입력으로 받아들여 정당한 사용자인지의 여부를 판단한다.When the application 460 is executed, the application 460 takes over control of the computer and performs an appropriate operation according to the purpose of the application 460 (S320). For example, if the application 460 is a fingerprint recognition security program, the user's fingerprint is accepted as an input to determine whether the user is a legitimate user.
응용 프로그램(460)에 따른 동작이 수행되고 해당 응용 프로그램(460)이 정상적으로 종료되면(S322), 컴퓨터의 통제권은 다시 응용 프로그램 로더(450)로 넘어오게 된다.When the operation according to the application 460 is performed and the corresponding application 460 is normally terminated (S322), control of the computer is transferred to the application loader 450 again.
이제 응용 프로그램 로더(450)는 디스크 상의 다른 위치에 기억된 운영체계 로드용 기존 마스터 부트 레코드(제 2 MBR)(410)를 주기억장치에 로드한다(S324).The application loader 450 now loads the existing master boot record (second MBR) 410 for operating system load stored in another location on the disk into the main memory (S324).
이후의 과정은 통상적인 부팅 과정에서 운영체계를 로드하여 실행하는 과정과 유사하다. 즉, 마스터 부트 레코드(410)가 로드되어 마스터 부트 레코드(410)의 OS 부트로더 로딩 코드(412)가 실행되고(S324), OS 부트로더 로딩 코드(412)에 의해 OS 로더(420)가 실행되며(S326), OS 로더(420)가 나머지 운영체계(OS 커널)(430)를 주기억장치에 로드하고 실행한다(S328). 이제 컴퓨터의 통제권은 운영체계로 넘어간다(S330). 이러한 과정에 앞서 실행되었던 응용 프로그램(460)은 어떠한 운영체계의 서비스도 사용하지 않았기 때문에, 기존의 MBR(410) 내에 포함되어 있는 OS 부트로더 로딩 코드(412)는 컴퓨터가 처음 부팅된 것과 마찬가지로정상적으로 수행될 수 있다.The process is similar to the process of loading and running an operating system during a normal boot process. That is, the master boot record 410 is loaded to execute the OS boot loader loading code 412 of the master boot record 410 (S324), and the OS loader 420 is executed by the OS boot loader loading code 412. In operation S326, the OS loader 420 loads and executes the remaining operating system (OS kernel) 430 in the main memory (S328). Control of the computer is now passed to the operating system (S330). Since the application 460 that was executed prior to this process did not use any operating system services, the OS boot loader loading code 412 included in the existing MBR 410 is normally executed as if the computer was booted for the first time. Can be performed.
한편, 응용 프로그램(460)이 실행되는 단계(S322)에서 해당 응용 프로그램(460)이 정상적으로 종료되지 않은 상태에서는 역시 시스템으로의 접근이 통제된다(S332).On the other hand, in a state in which the application 460 is not normally terminated in the step (S322) that the application program 460 is executed, access to the system is also controlled (S332).
이와 같이 함으로써 이미 설치된 운영체계에 앞서서 해당하는 응용 프로그램을 수행할 수 있다. 예를 들어 보안 프로그램이 가장 우선적으로 수행되어서 인증을 받은 후에만 시스템을 사용할 수 있게 하려면, 인증 절차를 모두 통과한 사용자가 시스템에 접근한 경우에만 시스템이 부팅되도록 하고, 그렇지 않은 경우에는 시스템을 정지하여 사용자에게 더 이상 시스템에 접근할 수 없게 함으로써 정당한 사용자가 아닌 불법적인 사용자의 시스템 접근을 차단할 수 있다.By doing this, you can run the corresponding application program before the already installed operating system. For example, to make the system available only after the security program has been run first and authenticated, ensure that the system boots only when a user who has passed all authentication procedures has accessed the system; otherwise, stops the system. Therefore, the user can no longer access the system, thereby preventing unauthorized users from accessing the system.
지금까지 본 발명을 바람직한 실시예를 들어 구체적으로 설명하였으나, 이 실시예는 본 발명을 이해하기 위한 설명을 위해 제시된 것이며, 본 발명의 범위가 이 실시예에 제한되는 것은 아니다. 본 발명의 기술이 속하는 분야의 통상의 전문가라면 본 발명의 기술적 사상의 범위를 벗어나지 않고도 다양한 변형이 가능함을 이해할 수 있을 것이며, 본 발명의 범위는 첨부된 특허청구범위에 의해서 해석되어야 할 것이다.Although the present invention has been described in detail with reference to preferred embodiments, this embodiment has been presented for the purpose of understanding the present invention, and the scope of the present invention is not limited to this embodiment. It will be understood by those skilled in the art that various modifications can be made without departing from the scope of the technical idea of the present invention, and the scope of the present invention should be interpreted by the appended claims.
이상에서 설명한 것과 같이, 본 발명에 따르면 새로운 마스터 부트 레코드와 응용 프로그램 로더를 이용하여 운영체계를 사용하기 전에 보안 프로그램과 같은특정 응용 프로그램을 실행할 수 있고, 이와 같이 함으로써 시스템에 대한 불법적인 접근을 막을 수 있다.As described above, according to the present invention, a new master boot record and an application loader can be used to execute a specific application such as a security program before using the operating system, thereby preventing illegal access to the system. Can be.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020010021407A KR20020081909A (en) | 2001-04-20 | 2001-04-20 | computer booting method and computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020010021407A KR20020081909A (en) | 2001-04-20 | 2001-04-20 | computer booting method and computer system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| KR20020081909A true KR20020081909A (en) | 2002-10-30 |
Family
ID=27701943
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020010021407A Ceased KR20020081909A (en) | 2001-04-20 | 2001-04-20 | computer booting method and computer system |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR20020081909A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20020089848A (en) * | 2001-05-24 | 2002-11-30 | 주식회사 에프엔에프시큐어텍 | Internet information security system using the new network file system |
| KR100844846B1 (en) * | 2006-10-26 | 2008-07-08 | 엘지전자 주식회사 | Boot Security Method in IP Terminal System |
| KR100889739B1 (en) * | 2006-08-09 | 2009-03-24 | 학교법인 포항공과대학교 | Method of delay registration on apparatus driver for improving boot speed of computer and recording medium therefor |
| KR101397911B1 (en) * | 2012-08-30 | 2014-05-27 | 에프에이리눅스 주식회사 | How to reverse boot a terminal through a reverse boot system |
| CN114691229A (en) * | 2020-12-14 | 2022-07-01 | 北京奇艺世纪科技有限公司 | Application program self-starting method and device and electronic equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5781755A (en) * | 1990-05-25 | 1998-07-14 | Fujitsu Limited | Initial program loading of virtual machine |
| KR19990079740A (en) * | 1998-04-08 | 1999-11-05 | 윤종용 | How to secure your PC using boot sequence |
| US6192471B1 (en) * | 1996-01-26 | 2001-02-20 | Dell Usa, Lp | Operating system independent system for running utility programs in a defined environment |
| JP2001075812A (en) * | 1999-06-18 | 2001-03-23 | Fiinikkusu Technologies Ltd | Method and device for executing application during computer pre-boot operation |
-
2001
- 2001-04-20 KR KR1020010021407A patent/KR20020081909A/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5781755A (en) * | 1990-05-25 | 1998-07-14 | Fujitsu Limited | Initial program loading of virtual machine |
| US6192471B1 (en) * | 1996-01-26 | 2001-02-20 | Dell Usa, Lp | Operating system independent system for running utility programs in a defined environment |
| KR19990079740A (en) * | 1998-04-08 | 1999-11-05 | 윤종용 | How to secure your PC using boot sequence |
| JP2001075812A (en) * | 1999-06-18 | 2001-03-23 | Fiinikkusu Technologies Ltd | Method and device for executing application during computer pre-boot operation |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20020089848A (en) * | 2001-05-24 | 2002-11-30 | 주식회사 에프엔에프시큐어텍 | Internet information security system using the new network file system |
| KR100889739B1 (en) * | 2006-08-09 | 2009-03-24 | 학교법인 포항공과대학교 | Method of delay registration on apparatus driver for improving boot speed of computer and recording medium therefor |
| KR100844846B1 (en) * | 2006-10-26 | 2008-07-08 | 엘지전자 주식회사 | Boot Security Method in IP Terminal System |
| KR101397911B1 (en) * | 2012-08-30 | 2014-05-27 | 에프에이리눅스 주식회사 | How to reverse boot a terminal through a reverse boot system |
| CN114691229A (en) * | 2020-12-14 | 2022-07-01 | 北京奇艺世纪科技有限公司 | Application program self-starting method and device and electronic equipment |
| CN114691229B (en) * | 2020-12-14 | 2023-09-26 | 北京奇艺世纪科技有限公司 | Application program self-starting method and device and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU635690B2 (en) | An apparatus and method for loading a system reference diskette image from a system partition in a personal computer system | |
| US9430250B2 (en) | Bootability with multiple logical unit numbers | |
| US5214695A (en) | Apparatus and method for loading a system reference diskette image from a system partition in a personal computer system | |
| US6862681B2 (en) | Method and system for master boot record recovery | |
| US7702894B2 (en) | System and method for loading programs from HDD independent of operating system | |
| US5022077A (en) | Apparatus and method for preventing unauthorized access to BIOS in a personal computer system | |
| US6996706B1 (en) | Booting an operating system or running other pre-boot code from a file stored under a different operating system | |
| US7689802B2 (en) | Controlling memory access in a multi-booting system | |
| JP2004038931A (en) | Method for implementing backup and recovery of data in computer hard disk | |
| US20020166059A1 (en) | Methods and apparatus for protecting against viruses on partitionable media | |
| US20040025003A1 (en) | Method of storing BIOS modules and transferring them to memory for execution | |
| US20040133790A1 (en) | Protected, hidden emergency boot directory | |
| KR20030044901A (en) | Protected boot flow | |
| US20090094447A1 (en) | Universal serial bus flash drive for booting computer and method for loading programs to the flash drive | |
| US8533845B2 (en) | Method and apparatus for controlling operating system access to configuration settings | |
| US20100332813A1 (en) | System and method for utilizing a protected/hidden region of semiconductor based memory/storage | |
| US7500093B2 (en) | Startup program execution method, device, storage medium, and program | |
| JP2000293474A (en) | Computer system and method for using the same | |
| JP2009151826A (en) | Modifiable partition boot record for computer memory device | |
| KR20090121105A (en) | Storage medium that stores the master boot record, computer system including the same, and booting method thereof | |
| US20130086371A1 (en) | Method for device-less option-rom bios load and execution | |
| US9542207B2 (en) | Plurality of interface files usable for access to BIOS | |
| KR20020081909A (en) | computer booting method and computer system | |
| US7103766B2 (en) | System and method for making BIOS routine calls from different hardware partitions | |
| KR19990079740A (en) | How to secure your PC using boot sequence |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20010420 |
|
| PA0201 | Request for examination | ||
| PG1501 | Laying open of application | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20030927 Patent event code: PE09021S01D |
|
| E601 | Decision to refuse application | ||
| PE0601 | Decision on rejection of patent |
Patent event date: 20040614 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20030927 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |