KR100952585B1 - Method and system for automatic recovery of an embedded operating system - Google Patents

Method and system for automatic recovery of an embedded operating system Download PDF

Info

Publication number
KR100952585B1
KR100952585B1 KR1020080046395A KR20080046395A KR100952585B1 KR 100952585 B1 KR100952585 B1 KR 100952585B1 KR 1020080046395 A KR1020080046395 A KR 1020080046395A KR 20080046395 A KR20080046395 A KR 20080046395A KR 100952585 B1 KR100952585 B1 KR 100952585B1
Authority
KR
South Korea
Prior art keywords
operating system
recovery
storage medium
boot
booting
Prior art date
Application number
KR1020080046395A
Other languages
Korean (ko)
Other versions
KR20090120541A (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 KR1020080046395A priority Critical patent/KR100952585B1/en
Publication of KR20090120541A publication Critical patent/KR20090120541A/en
Application granted granted Critical
Publication of KR100952585B1 publication Critical patent/KR100952585B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/22Microcontrol or microprogram arrangements
    • G06F9/24Loading of the microprogram
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Abstract

본 발명은 운영체제 자동복구기능을 갖는 임베디드 시스템 및 그 방법에 관한 것이다. 종래기술에 의하면 손상된 운영체제를 복구하기 위한 다양한 방법들이 제시되고 있으나, 사용자의 관여 없이 모든 복구절차를 자동적으로 수행할 수 없다는 점, 부트로더가 손상된 경우 복구방법을 제대로 수행할 수 없는 점 등의 문제점이 있다. 본 발명은 이러한 종래기술의 문제점을 해결하고 사용자의 관여 없이도 감시제어부에 의해 비정상적 부팅을 확인하여 자동으로 부팅우선순위를 변경시키며 제2저장매체에 저장된 복구용 운영체제 이미지로 재부팅을 제어하고 손상된 부팅용 운영체제 이미지를 자동복구할 수 있도록 하는 임베디드 시스템 및 방법을 제공함을 그 목적으로 한다. 본 발명에 따르면, 감시제어부는 제1저장매체의 부트로더 및/또는 운영체제의 손상이 있는지를 판단하고 자동적으로 제2저장매체로 부팅이 되도록 부팅순서를 변경하여 부팅하는 기능을 구비하므로, 본 발명은 사용자의 개입이 전혀 없어도 자동복구가 가능한 점 등의 효과가 있다.The present invention relates to an embedded system having an operating system automatic recovery function and a method thereof. According to the prior art, various methods for recovering a damaged operating system have been proposed, but all recovery procedures cannot be performed automatically without user involvement, and if the boot loader is damaged, the recovery method cannot be properly performed. There is this. The present invention solves the problems of the prior art and automatically changes the boot priority by checking abnormal booting by the monitoring control unit without the user's involvement, controlling the reboot with a recovery operating system image stored in the second storage medium and damaged boot It is an object of the present invention to provide an embedded system and method for automatically recovering an operating system image. According to the present invention, since the monitoring control unit has a function of determining whether the boot loader and / or the operating system of the first storage medium is damaged, and booting by changing the boot order to automatically boot to the second storage medium, the present invention Has the effect of automatic recovery without user intervention at all.

자동복구, 운영체제, 임베디드, 부트로더 Auto Recovery, Operating System, Embedded, Boot Loader

Description

운영체제(OS) 자동복구기능을 갖는 임베디드 시스템 및 운영체제 자동복구 방법{METHOD AND SYSTEM FOR AUTOMATIC RECOVERY OF AN EMBEDDED OPERATING SYSTEM}Embedded system with automatic operating system (OS) and automatic operating system recovery method {METHOD AND SYSTEM FOR AUTOMATIC RECOVERY OF AN EMBEDDED OPERATING SYSTEM}

본 발명은 운영체제 자동복구기능을 갖는 임베디드 시스템(EMBEDDED SYSTEM) 및 그 방법에 관한 것이다. 특히, 본 발명은 운영체제 이미지가 손상된 경우 백업용 운영체제 이미지를 사용하여 상기 손상된 운영체제 이미지를 복구하는 기능을 구비한 임베디드 시스템 및 그 방법에 관한 것이다.The present invention relates to an embedded system (EMBEDDED SYSTEM) having an operating system automatic recovery function and a method thereof. In particular, the present invention relates to an embedded system and method having a function of recovering a damaged operating system image using a backup operating system image when the operating system image is damaged.

컴퓨터 운영체제는 컴퓨터 하드웨어 및 소프트웨어 산업에 있어서 근본적이며 매우 중요한 기술이라고 할 수 있다. 컴퓨터 운영체제는 다양한 컴퓨터 하드웨어와 응용프로그램 간의 인터페이스를 제공하기 위해, 중앙처리장치, 주기억장치 및 입출력장치 등의 컴퓨터 자원을 관리하기 위해 다양한 형태로 발전하여 왔으며, 현대의 컴퓨터 운영체제는 인간과 컴퓨터 시스템의 상호작용이 가능한 환경도 제공하는 방향으로 발전하여 왔다.The computer operating system is a fundamental and very important technology in the computer hardware and software industry. Computer operating systems have evolved into various forms to manage computer resources such as central processing units, main memory units, and I / O units to provide an interface between various computer hardware and application programs. It has also evolved to provide an interactive environment.

초기의 컴퓨터 시스템은 운영체제를 포함하고 있지 않았으나, 컴퓨터 시스템의 하드웨어 기능이 다양화되고 발전함에 따라 운영체제도 함께 발전하게 되었다. 이에 따라, 현대의 운영체제는 다양한 기능을 제공하고 어떤 응용프로그램도 수행할 수 있는 형태로 구현되었지만, 복잡한 기능으로 인해 용량이 과도하게 커지고 이를 하드디스크에 저장하여 부팅과 동시에 커널(Kernel)을 실행해서 운영체제를 실행하는데 많은 시간이 소요되는 등의 단점 또한 발생하게 되었다.Early computer systems did not include an operating system, but as the hardware functions of the computer system diversified and developed, the operating system also developed. As a result, the modern operating system is implemented in a form that provides various functions and can execute any application program, but due to the complex functions, the capacity becomes excessively large and is stored on the hard disk so that the kernel can be executed at the same time as the boot. There are also disadvantages such as the time consuming to run the operating system.

이러한 단점 때문에, 공장 자동화나 최근의 휴대전화, PDA, 인터넷 가전 등에는 운영체제를 컴퓨터처럼 디스크에서 읽어들이는 것이 아니라 칩에 저장하여 기기에 내장시킨 임베디드 운영체제 기반의 시스템을 주로 사용하고 있다.Because of these disadvantages, factory automation, recent mobile phones, PDAs, Internet home appliances, etc. are mainly using the embedded operating system based system embedded in the device stored in the chip rather than reading the operating system from the disk like a computer.

효율적인 운영체제의 특징으로써 용도에 맞는 기능을 얼마나 빠르고 원활하게 구현하며 또한 안정적으로 시스템을 구동시키느냐가 핵심이라 할 것인데 임베디드 시스템은 이러한 요구에 맞는 것이라 할 수 있다. 근래에는, 리눅스가 일반적으로 윈도우즈보다 많이 사용되고 있는 추세이며 임베디드 시스템 구현에 적합한 운영체제로 평가되고 있다.As a characteristic of an efficient operating system, the key is how to quickly and smoothly implement a function suitable for a purpose and to run a system stably. An embedded system can meet such a demand. In recent years, Linux is generally used more than Windows, and is regarded as an operating system suitable for implementing embedded systems.

도 1은 종래 기술에 의한 리눅스 운영체제를 탑재한 임베디드 시스템의 구성도이다. 1 is a block diagram of an embedded system equipped with a Linux operating system according to the prior art.

도 1에 있어서, 종래 기술에 의한 리눅스 운영체제를 탑재한 임베디드 시스템(100)은 중앙처리장치(110), 롬 바이오스(ROM BIOS)(120), 램(130), 플래시/하드디스크(140) 및 주변장치와의 인터페이스 제공을 위한 외부인터페이스(150)로 구성된다.In FIG. 1, the embedded system 100 equipped with the Linux operating system according to the related art includes a central processing unit 110, a ROM BIOS 120, a RAM 130, a flash / hard disk 140, and the like. It consists of an external interface 150 for providing an interface with a peripheral device.

리눅스 운영체제를 탑재하기 위해서는 롬 바이오스(120)가 필요하며, 롬 바이오스(120)는 전원이 켜지면 컴퓨터 하드웨어의 구성을 검사하고 플래시/하드 디 스크로부터 리눅스 커널 이미지를 읽어서 주 메모리인 램(130)에 복사한 후 리눅스로 부팅한다. 즉, 플래시/하드디스크(140)에 운영체제가 탑재되어 있는지를 확인하여 주 메모리인 램(130)에 복사하고 탑재된 운영체제를 부팅할 수 있도록 한다. The ROM BIOS 120 is required to mount the Linux operating system. When the power is turned on, the ROM BIOS 120 checks the computer hardware configuration and reads a Linux kernel image from a flash / hard disk to display the RAM 130 as main memory. Copy it to your machine and boot into Linux. In other words, it checks whether the operating system is mounted on the flash / hard disk 140, copies it to the main memory RAM 130, and boots the mounted operating system.

그런데, 만약 정상적인 종료과정을 거치지 않은 상태에서 시스템으로 공급되는 전원이 차단되면, 특히 하드디스크의 파일 시스템이 손상되는 경우가 많다. 이때 파일 시스템을 체크하여 복구할 수 있는 기능이 어느 정도 지원되기는 하지만, 완벽하지 않으며 수작업으로 수차례의 재부팅을 필요로 하는 등 운영체제 복구를 위한 사용자의 불편을 초래한다. However, if the power supply to the system is cut off without a normal shutdown process, the file system of the hard disk is often damaged. At this time, although the function to check and recover the file system is supported to some extent, it is not perfect and it causes inconvenience for the user to recover the operating system by requiring several reboots by hand.

부트로더(Bootloader)는 부트스트랩 로더라고도 불리는데 컴퓨터를 부팅하거나 시동시킬 때 사용자가 컴퓨터를 사용할 수 있도록 외부 기억 장치로부터 운영체계를 읽어와 주기억장치에 설치해 주는 프로그램으로 일반적으로 컴퓨터의 읽기용 기억장치인 롬(ROM)에 저장되어 있다. 만일, 부트로더가 플래시/하드디스크를 마운트하지 못하게 되면 리눅스 시스템 부팅에 실패하든지, 또는 운영체제의 이상으로 운영체제를 다시 설치해야 하는 문제가 발생하는 경우, 복구를 위해 복구자가 시스템이 설치된 곳을 방문해야 하는 번거로움이 있고, 시간과 비용 측면에서 커다란 손실을 초래하는 문제점이 있다.A bootloader, also called a bootstrap loader, is a program that reads an operating system from an external storage device and installs it in main memory so that a user can use the computer when booting or starting up the computer. It is stored in ROM. If the boot loader fails to mount the flash / hard disk or the Linux system fails to boot, or if you have a problem that requires you to reinstall the operating system due to an operating system failure, the restorer should visit the location where the system is installed. It is troublesome to do, and there is a problem that causes a great loss in terms of time and cost.

또한, 종래의 임베디드 시스템의 구성에 의하면 운영체제가 손상된 것인지 아니면 플래시/하드디스크에 문제가 생겼는지 쉽게 판단할 수 없는 문제가 있다.In addition, according to the configuration of the conventional embedded system, there is a problem that it is not easy to determine whether the operating system is damaged or a problem occurs in the flash / hard disk.

이러한, 문제점을 보완하기 위해 백업용 운영체제 이미지를 사용하여 손상된 운영체제를 복구하는 개선된 종래 기술들이 존재하나, 운영체제가 정상적으로 부팅 되지 않는 경우 손상된 운영체제의 복구 및 실행을 사용자의 관여 없이 자동으로 수행하는 것이 아니어서 역시 문제점이 있다. 종래 기술에 의하면 사용자가 전원스위치를 조작해야하거나, 부팅 우선순위를 수동적으로 변경해야 하는 등의 불편함이 있다. In order to compensate for this problem, there are improved prior art techniques for repairing a damaged operating system using a backup operating system image. However, if the operating system does not boot normally, recovery and execution of the damaged operating system is not automatically performed without user intervention. Come on there is a problem too. According to the prior art, the user has to operate the power switch or manually change the boot priority, such as inconvenience.

본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 제1저장매체에 저장된 부팅용 운영체제 이미지가 손상되어 정상적으로 부팅이 되지 않는 경우 감시제어부에 의해 비정상적 부팅을 확인하여 자동으로 부팅 우선순위를 변경시키며 제2저장매체에 저장된 복구용 운영체제 이미지로 재부팅을 제어하고 손상된 부팅용 운영체제 이미지를 사용자의 개입 없이 자동복구할 수 있도록 하는 임베디드 시스템 및 방법을 제공함을 그 목적으로 한다.The present invention has been made to solve the above-mentioned problems, when the booting operating system image stored in the first storage medium is damaged and does not boot normally, by checking the abnormal boot by the monitoring control unit to automatically change the boot priority It is an object of the present invention to provide an embedded system and method for controlling rebooting using a recovery operating system image stored in a second storage medium and automatically recovering a damaged bootable operating system image without user intervention.

또한, 복구용 운영체제 이미지로 재부팅 후 통신수단을 통해 외부로부터 다운로드된 백업용 운영체제 이미지를 사용하여 부팅용 운영체제 이미지를 복구하거나 업데이트가 가능하도록 하며, 제2저장매체의 운영체제 이미지의 업데이트도 가능하도록 하는 것을 목적으로 한다. In addition, after rebooting to the operating system image for recovery using a backup operating system image downloaded from the outside through the communication means to enable to restore or update the bootable operating system image, and to update the operating system image of the second storage medium. The purpose.

또한, 제1저장매체와 제2저장매체에 각각 별개의 부트로더(Bootloader)가 저장되어 있어 제1저장매체에 저장된 부트로더가 손상되더라도 감시제어부는 자동으로 부팅 우선순위를 변경하여 제2저장매체에 저장된 부트로더를 실행시켜 사용자의 개입이 없어도 감시제어부에 의해 운영체제를 정상적으로 실행시키고 제1저장매체의 손상된 부트로더 또는 손상된 운영체제를 복구할 수 있도록 하는 것을 목적으로 한다.In addition, since a separate boot loader is stored in each of the first storage medium and the second storage medium, even if the boot loader stored in the first storage medium is damaged, the monitoring controller automatically changes the boot priority to the second storage medium. It is an object of the present invention to execute a boot loader stored in the booth and to allow the monitoring control unit to normally execute an operating system and recover a damaged boot loader or a damaged operating system of the first storage medium.

또한, 감시제어부는 중앙처리장치로부터 수신되는 진단신호를 분석하여 저장매체가 정상적으로 인식되는지 판단하며 시스템의 어느 부분에 문제가 있는지를 파 악하여, 사용자로 하여금 시스템의 어느 부분에 어떤 문제가 있는지 쉽게 파악하여 시스템을 정상복구할 수 있도록 함을 그 목적으로 한다. In addition, the monitoring and control unit analyzes the diagnostic signal received from the central processing unit to determine whether the storage medium is normally recognized, and to determine which part of the system has a problem, so that the user can easily determine which part of the system has a problem. Its purpose is to make sure that the system can be recovered normally.

전술한 목적을 달성하기 위한 본 발명의 운영체제 자동복구기능을 갖는 전자장치는 부팅용 운영체제(OS)를 이미지 형태로 저장하는 제1저장매체;An electronic device having an operating system automatic recovery function of the present invention for achieving the above object includes a first storage medium for storing a bootable operating system (OS) in the form of an image;

손상된 운영체제의 복구기능을 수행하기 위한 복구용 운영체제 이미지를 저장하는 제2저장매체;A second storage medium storing a recovery operating system image for performing a recovery function of a damaged operating system;

전자기기의 동작을 제어하며, 부팅우선순위에 따라 부팅할 저장매체를 선택하여 부팅하는 중앙처리장치; 및A central processing unit controlling the operation of the electronic device and booting by selecting a storage medium to boot according to a boot priority; And

부팅시작 후 일정 시간 내에 상기 중앙처리장치로부터 정상 부팅 여부를 확인하는 신호가 수신되지 않는 경우에 부팅 실패로 판단하고, 부팅 우선순위를 변경하여 상기 복구용 운영체제 이미지로 재부팅되도록 제어하는 감시제어부;를 포함하여 이루어질 수 있다.A monitoring control unit for determining that the booting failure is not received from the central processing unit within a predetermined time after the booting is started, and determining that the booting is failed, and controlling the booting priority to be rebooted into the recovery OS image; It can be made, including.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구기능을 갖는 전자장치는 상기 제2저장매체는 백업용 운영체제 이미지를 더 저장하며,According to another embodiment of the present invention, in the electronic device having an operating system automatic recovery function, the second storage medium further stores an operating system image for backup.

상기 중앙처리장치는 복구용 운영체제로 부팅한 후에, 상기 부팅용 이미지 저장영역에 상기 백업용 운영체제 이미지를 복사하는 것을 특징으로 하여 이루어질 수 있다.The CPU may be configured to copy the backup OS image to the bootable image storage area after booting the OS.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구기능을 갖는 전자장 치는 상기 중앙처리장치는 복구용 운영체제 이미지로 부팅한 후에, 통신수단을 통해 외부로부터 다운로드된 백업용 운영체제 이미지를 상기 부팅용 이미지 저장영역에 저장하는 것을 특징으로 하여 이루어질 수 있다. According to another embodiment of the present invention, an electronic device having an operating system auto-recovery function of the present invention may be configured to boot from the central processing unit with a recovery operating system image, and then backup a backup operating system image downloaded from the outside through a communication means. It can be made by storing in.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구기능을 갖는 전자장치는 상기 제2저장매체는 부팅을 위해 필요한 부트로더(Bootloader)를 더 포함하며, According to another embodiment of the present invention, an electronic device having an operating system auto-recovery function of the present invention further includes the second storage medium including a bootloader required for booting.

상기 중앙처리장치는 복구용 운영체제로 부팅 시 상기 제2저장매체에 저장된 부트로더를 이용하는 것을 특징으로 하여 이루어질 수 있다.The CPU may be configured to use a boot loader stored in the second storage medium when the OS is booted.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구기능을 갖는 전자장치는 시스템 전체를 제어하기 위한 시스템 제어부를 더 포함하며,According to another embodiment of the present invention, an electronic device having an operating system automatic recovery function further includes a system controller for controlling the entire system.

상기 감시제어부는 부팅 실패 여부를 시스템 제어부로 보고하며, 상기 시스템 제어부의 명령 신호에 따라 부팅우선순위 변경 및 복구용 운영체제 이미지로의 재부팅을 실시하는 것을 특징으로 하여 이루어질 수 있다.The monitoring control unit may report whether or not a boot failure is performed to the system controller, and may perform a reboot to a boot priority change and recovery OS image according to a command signal of the system controller.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구기능을 갖는 전자장치는 상기 중앙처리장치는 상기 제1저장매체의 인식가능 여부에 따라 진단신호를 상기 감시제어부에 전달하는 것을 특징으로 하여 이루어질 수 있다.According to another embodiment of the present invention, an electronic device having an operating system auto-recovery function may be configured such that the CPU transmits a diagnostic signal to the monitoring control unit according to whether the first storage medium is recognizable. have.

다음으로, 본 발명의 운영체제 자동복구방법은, 감시제어부는 중앙처리장리로부터 전송되는 정상 부팅 여부를 확인하는 신호를 일정 시간 동안 수신대기하는 단계; 및Next, the operating system automatic recovery method of the present invention, the monitoring control unit waits for a predetermined time to receive a signal confirming whether the normal boot transmitted from the central processing unit; And

감시제어부는 상기 일정 시간 내에 상기 정상 부팅 여부를 확인하는 신호가 수신되지 않는 경우 부팅 실패로 판단하고, 부팅 우선순위를 변경하여 복구용 운영체제 이미지로 재부팅하는 단계;를 포함하는 것을 특징으로 하여 이루어질 수 있다.The monitoring control unit determines that the boot failure is not received within the predetermined time, and determines that the boot failure, rebooting the booting OS image by changing the boot priority; have.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구방법은 상기 감시제어부는 중앙처리장치로부터 전송되는 진단신호를 수신하여 상기 제1저장매체의 정상 인식 여부를 확인하는 단계;를 더 포함하는 것을 특징으로 하여 이루어질 수 있다.According to another embodiment of the present invention, the method for automatically recovering an operating system of the present invention further includes the step of checking whether the first storage medium is normally recognized by receiving the diagnostic signal transmitted from the central processing unit. It can be done by.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구방법은 상기 감시제어부는 복구 모드를 확인하고 각 복구 모드에 따른 복구 작업을 수행하는 단계;를 더 포함하는 것을 특징으로 하여 이루어질 수 있다.According to another embodiment of the present invention, the automatic operating system recovery method of the present invention may further include the step of checking the recovery mode and performing a recovery operation for each recovery mode.

또 다른 일 실시예에 따른 본 발명의 운영체제 자동복구방법은 상기 감시제어부는 부팅 실패라고 판단하는 경우 시스템 제어부로 부팅 실패임을 판단한 신호를 전송하고, 상기 시스템 제어부로부터 복구 기능 수행을 명령하는 신호를 수신하는 단계;를 더 포함하는 것을 특징으로 하여 이루어질 수 있다.According to another embodiment of the present invention, the automatic operating system recovery method of the present invention transmits a signal determining that the boot failure is failed, and receives a signal for instructing to perform a recovery function from the system controller when the monitoring controller determines that the boot fails. It may be made by characterized in that it further comprises.

본 발명에 따르면, 종래기술과 달리 부트로더 및/또는 운영체제 이미지가 손상되어도 독립된 저장매체인 제2저장매체에 저장된 부트로더 및 운영체제 이미지를 사용하여 정상부팅이 가능하며, 손상된 제1저장매체의 부트로더 및/또는 운영체제를 복구할 수 있는 효과가 있다.According to the present invention, unlike the prior art, even if the boot loader and / or the operating system image is damaged, the normal booting is possible using the boot loader and the operating system image stored in the second storage medium, which is an independent storage medium, and booting the damaged first storage medium. It has the effect of restoring the loader and / or operating system.

또한, 감시제어부는 제1저장매체의 부트로더 및/또는 운영체제의 손상이 있는지를 판단하고 자동으로 제2저장매체로 부팅이 되도록 부팅순서를 변경하여 부팅하는 기능을 구비하므로, 본 발명은 사용자의 개입이 전혀 없어도 자동복구가 가능한 장점이 있다.In addition, since the monitoring control unit has a function to determine whether the boot loader and / or operating system of the first storage medium is damaged and to change the boot order to automatically boot to the second storage medium, the present invention provides a Automatic recovery is possible even without any intervention.

또한, 감시제어부는 중앙처리장치로부터 전송받은 진단신호를 분석하여 저장매체가 정상적으로 인식되는지를 파악하고 저장매체에 물리적 손상이 있는지를 사용자에게 보고하며, 중앙처리장치, 저장매체 등 구성요소의 불량 유무를 파악하여 사용자에게 보고함으로써, 사용자로 하여금 전자장치의 이상을 조기에 정확히 파악하고 이에 대한 복구절차를 쉽게 취할 수 있도록 하는 장점이 있다.In addition, the monitoring control unit analyzes the diagnostic signal transmitted from the central processing unit to determine whether the storage medium is normally recognized and reports to the user whether there is any physical damage to the storage medium, and whether the components such as the central processing unit and the storage medium are defective or not. By identifying and reporting to the user, there is an advantage that allows the user to accurately identify the abnormality of the electronic device early and to easily take a recovery procedure.

또한, 제2저장매체의 백업용 운영체제 이미지가 손상되거나 운영체제 이미지를 업데이트 해야할 필요가 있는 경우 원격으로 운영체제 이미지를 다운받아 설치할 수 있는 기능을 복구용 운영체제 이미지가 제공하는 효과가 있다.In addition, when the operating system image for backup of the second storage medium is damaged or needs to be updated, the operating system image for recovering may provide a function for remotely downloading and installing the operating system image.

시스템 제어부는 하나 또는 그 이상의 감시제어부를 관리함으로써 전자장치의 복구제어를 체계화할 수 있고, 시스템 전체의 자원관리 효율성을 증대시키며, 각 전자기기 단위의 어느 부분에 불량이나 오류가 있는지 각 감시제어부로부터 보고 받아 사용자에게 보여주는 것을 가능하게 해 준다.The system control unit can manage the recovery control of the electronic device by managing one or more supervisory control units, increase the resource management efficiency of the whole system, and from each supervisory control unit to determine which part of each electronic unit is defective or error. It makes it possible to see and receive and show to the user.

이하에는 첨부한 도면을 참조하여 본 발명의 운영체제 자동복구기능을 갖는 전자장치 및 운영체제 자동복구방법의 바람직한 실시예에 대해 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the electronic device having an operating system automatic recovery function and operating system automatic recovery method of the present invention.

도 2는 제1저장매체로 부팅하는 경우에 대한 본 발명의 일 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치의 구성도이다.2 is a block diagram of an electronic device having an operating system automatic recovery function according to an embodiment of the present invention for booting to a first storage medium.

도 2에서 도시한 바와 같이, 본 발명의 일 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치(200)는 감시제어부(210), 제1저장매체(220), 제2저장매체(230), 중앙처리장치(240), 통신수단(250)을 포함하여 구성된다.As shown in FIG. 2, the electronic device 200 having an operating system automatic recovery function according to an embodiment of the present invention includes a monitoring controller 210, a first storage medium 220, a second storage medium 230, It comprises a central processing unit 240, the communication means 250.

전술한 구성에서 제1저장매체(220)는 부트로더 및 부팅용 운영체제 이미지를 저장한다. 제2저장매체(230)는 부트로더 및 복구용 운영체제 이미지를 저장한다. 상기 복구용 운영체제 이미지는 상기 제1저장매체(220)에 저장된 부트로더 및 부팅용 운영체제 이미지를 복구하기 위한 기능을 수행하도록 구성된다. 중앙처리장치(240)는 설정된 부팅 우선순위에 따라 제1순위로 설정된 저장매체의 부트로더를 실행시키고 운영체제 이미지를 램으로 복사하여 부팅 절차를 수행한다. 또한, 중앙처리장치(240)는 각각의 저장매체가 정상적으로 인식되는지 확인하며 이에 대한 내용을 포함한 진단신호를 상기 감시제어부(210)로 전송한다. 감시제어부(210)는 중앙처리장치(240)로부터 일정시간 동안 정상 부팅 여부를 확인하는 신호를 수신대기하고 정상부팅 여부를 판단한다. 또한, 중앙처리장치(240)로부터 진단신호를 수신하고 분석하여 각각의 저장매체가 정상적으로 인식되는지 판단하며 전자기기의 각 구성요소의 불량 유무를 파악하여 사용자에게 보고한다. 또한, 감시제어부는 제1저장매체 및 제2저장매체에 연결되고, 필요에 따라 제1저장매체 및 제2저장매체의 부팅 우선순위를 변경하며, 중앙처리장치(240)에게 재부팅을 명령하는 신호를 전송한다. 상술한 기능이 수행되는 상세한 절차는 이하 후술하기 로 한다. In the above configuration, the first storage medium 220 stores a boot loader and a booting operating system image. The second storage medium 230 stores a boot loader and a recovery operating system image. The recovery operating system image is configured to perform a function for recovering a boot loader and a bootable operating system image stored in the first storage medium 220. The CPU 240 executes the boot loader of the storage medium set as the first priority according to the set boot priority and copies the OS image to RAM to perform a booting procedure. In addition, the central processing unit 240 checks whether each storage medium is normally recognized, and transmits a diagnostic signal including the contents thereof to the monitoring control unit 210. The monitor controller 210 waits for a signal confirming whether the boot is normal for a predetermined time from the CPU 240 and determines whether the boot is normal. In addition, the diagnostic signal is received from the central processing unit 240 and analyzed to determine whether each storage medium is normally recognized, and whether or not each component of the electronic device is reported to the user. In addition, the monitoring control unit is connected to the first storage medium and the second storage medium, change the boot priority of the first storage medium and the second storage medium, if necessary, a signal for instructing the central processing unit 240 to reboot Send it. A detailed procedure for performing the above-described function will be described later.

전술한 구성에서 상기 전자기기(200)의 전원이 인가되면 제1저장매체(220)를 제1순위, 제2저장매체(230)를 제2순위로 설정된 부팅 우선순위에 따라 제1저장매체(220)에 저장된 부트로더를 실행하고 부팅용 운영체제 이미지를 램(RAM)으로 복사하는 것으로 부팅 절차가 진행된다. 감시제어부(210)는 제1저장매체(220)에 저장된 운영체제 이미지에 의한 정상 부팅 여부를 확인하는 신호를 미리 정의된 일정시간 동안 수신대기한다. 상기 정상 부팅 여부를 확인하는 신호의 수신대기 시간은 전자기기의 부팅에 소요되는 시간에 따라 사용자가 임의로 설정하고 변경하는 것이 가능하다. In the above-described configuration, when the power of the electronic device 200 is applied, the first storage medium 220 may be configured according to the boot priority that is set to the first storage medium 220 in the first order and the second storage medium 230 in the second order. The booting process proceeds by executing the boot loader stored in step 220 and copying the bootable operating system image to RAM. The monitoring control unit 210 receives and waits for a predetermined time a signal for confirming whether a normal booting is performed by the operating system image stored in the first storage medium 220. The reception waiting time of the signal for confirming whether the normal booting can be arbitrarily set and changed by the user according to the time required for booting the electronic device.

만일 상기 미리 정의된 일정시간 내에 중앙처리장치(240)로부터 정상부팅이 되었음을 확인하는 신호가 수신되면, 감시제어부(210)는 정상부팅이 되었음을 확인한다. 상기 시간 내에 정상부팅이 되었음을 확인하는 신호가 수신되지 않으면, 감시제어부(210)는 제1저장매체(220) 및 제2저장매체(230)의 부팅 우선순위를 변경하고 재부팅을 제어한다.If a signal confirming that the normal booting is performed from the CPU 240 within the predetermined time is received, the monitoring control unit 210 confirms that the normal booting is performed. If a signal for confirming that the normal booting is received within the time, the monitoring control unit 210 changes the boot priority of the first storage medium 220 and the second storage medium 230 and controls the reboot.

도 3은 제2저장매체로 부팅하는 경우에 대한 본 발명의 일 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치의 구성도이다.3 is a block diagram of an electronic device having an operating system automatic recovery function according to an embodiment of the present invention for booting to a second storage medium.

도 3에서 도시된 바와 같이, 일정시간 동안 정상 부팅 여부를 확인하는 신호가 수신되지 않으면, 감시제어부(210)는 제1저장매체(220) 및 제2저장매체(230)의 부팅 우선순위를 변경하고 중앙처리장치(240)에 재부팅을 명령하는 신호를 송신한다. 재부팅이 시작되면 중앙처리장치(240)는 부팅 우선순위가 제1순위로 변경된 제2저장매체(230)에 저장된 부트로더를 실행시키고 제2저장매체(230)에 저장된 복구용 운영체제 이미지를 램으로 복사하여 부팅절차를 수행한다. As shown in FIG. 3, when a signal for confirming normal booting is not received for a predetermined time, the monitoring controller 210 changes the boot priority of the first storage medium 220 and the second storage medium 230. And a signal for commanding a reboot to the central processing unit 240 is transmitted. When the reboot is started, the CPU 240 executes a boot loader stored in the second storage medium 230 in which the boot priority is changed to the first priority, and transfers the recovery operating system image stored in the second storage medium 230 to RAM. Copy and perform boot procedure.

부팅용 운영체제 이미지와 복구용 운영체제 이미지는 다음과 같은 차이점이 있다. 부팅용 운영체제 이미지는 임베디드 시스템을 정상적으로 운영하기 위한 운영체제로써 전자기기의 모든 하드웨어를 초기화하고 하드웨어를 관리하며, 각종 응용프로그램을 실행할 수 있도록 시스템 하드웨어와 응용프로그램 간의 인터페이스를 제공한다. 복구용 운영체제 이미지는 부팅용 운영체제 이미지 및/또는 부트로더의 손상이 있는 경우 감시제어부의 제어에 따라 자동으로 제1저장매체의 부트로더 및/또는 운영체제의 복구를 위한 기능을 제공한다. 또 다른 실시예에 따르면, 복구용 운영체제 이미지는 부팅용 운영체제 이미지를 복구하기 위한 최소한의 하드웨어 자원을 초기화하고 관리하며 이를 위한 인터페이스만을 제공하도록 구성될 수 있으며(네트워크 자원 관리가 가능하도록 하여 원격복구 기능을 제공하게 구성할 수도 있다.), 이 때에는 작은 용량의 운영체제 이미지를 가지며 별도로 백업용 운영체제 이미지를 제2저장매체에 저장하여야 부팅용 운영체제 이미지의 정상복구가 가능하도록 할 수 있다.There is a difference between a bootable operating system image and a recovery operating system image: A bootable operating system image is an operating system for operating an embedded system normally. It provides an interface between system hardware and application programs to initialize all hardware of electronic devices, manage hardware, and execute various applications. The recovery operating system image provides a function for automatically recovering the boot loader and / or the operating system of the first storage medium under the control of the monitoring controller when the booting operating system image and / or the boot loader is damaged. According to another embodiment, the recovery operating system image may be configured to initialize and manage minimal hardware resources for recovering the bootable operating system image and provide only an interface therefor (to enable network resource management to enable remote recovery functionality). In this case, the operating system image has a small capacity and a backup operating system image must be stored in a second storage medium to enable normal recovery of the bootable operating system image.

상기 복구용 운영체제 이미지에 의한 재부팅이 완료되면 감시제어부(210)는 복구모드를 확인하고 복구모드가 자동복구모드인 경우 중앙처리장치(240)는 제2저장매체에 저장된 백업용 운영체제 이미지를 제1저장매체(220)의 손상된 부트로더 및/또는 부팅용 운영체제 이미지에 대체하여 자동으로 복구한다. 만일 상기 복구모드가 원격복구모드인 경우 중앙처리장치(240)는 통신수단(250)을 통하여 연결된 컴 퓨터로부터 부트로더 및/또는 운영체제 이미지를 다운받아 상기 제1저장매체(220)의 손상된 부트로더 및/또는 부팅용 운영체제 이미지에 대체하여 복구한다.When the reboot by the operating system image for recovery is completed, the monitoring control unit 210 confirms the recovery mode, and when the recovery mode is the automatic recovery mode, the central processing unit 240 stores the backup operating system image stored in the second storage medium in the first storage. It automatically repairs by replacing a damaged bootloader and / or bootable operating system image of media 220. If the recovery mode is the remote recovery mode, the CPU 240 downloads a boot loader and / or an operating system image from a computer connected through the communication means 250, and corrupts the boot loader of the first storage medium 220. And / or replace it with a bootable operating system image.

본 발명의 다른 실시예에 따르면, 상기 감시제어부(210)는 복구모드를 확인하는 절차를 수행함 없이 상술한 자동복구만을 수행하는 것으로 실시될 수도 있다.According to another embodiment of the present invention, the monitoring control unit 210 may be implemented to perform only the above-described automatic recovery without performing a procedure for confirming the recovery mode.

도 4는 본 발명의 다른 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치의 구성도이다. 4 is a block diagram of an electronic device having an operating system automatic recovery function according to another embodiment of the present invention.

도 4에서 도시된 바와 같이, 시스템 제어부(460)는 하나 또는 그 이상의 감시제어부에 연결될 수 있다. 시스템 제어부(460)는 감시제어부(410)로부터 부팅 실패 신호를 수신하면 감시제어부(410)로 운영체제 복구를 명령하는 신호를 송신하도록 구성하여 감시제어부를 갖는 복수 개의 전자장치를 일괄하여 제어하도록 실시할 수 있다.As shown in FIG. 4, the system controller 460 may be connected to one or more supervisory control units. When the system control unit 460 receives the boot failure signal from the monitoring control unit 410, the system control unit 460 transmits a signal for commanding the operating system recovery to the monitoring control unit 410 to collectively control a plurality of electronic devices having the monitoring control unit. Can be.

도 5는 본 발명의 일 실시예에 따른 운영체제 자동복구방법의 흐름도이다. 5 is a flowchart illustrating an operating system automatic recovery method according to an embodiment of the present invention.

도 5에서 도시한 바와 같이, 감시제어부(410)는 중앙처리장치(440)로부터 일정시간 동안 정상 부팅 여부를 확인하는 신호를 수신대기한다(S510). 감시제어부(410) 상기 일정시간 내에 확인 신호를 수신하면 정상부팅으로 판단하고, 확인 신호를 수신하지 않으면 정상 부팅이 되지 않은 것으로 판단한다(S520).As illustrated in FIG. 5, the monitoring controller 410 receives a signal for confirming whether a normal booting is performed from the CPU 440 for a predetermined time (S510). If the monitoring control unit 410 receives the confirmation signal within the predetermined time, it is determined to be a normal booting, and if it does not receive the confirmation signal, it is determined that the normal booting is not performed (S520).

정상 부팅이 되지 않은 경우 감시제어부(410)는 부팅 우선순위를 변경하고, 중앙처리장치(440)로 재부팅을 명령하는 신호를 송신함으로써 재부팅을 제어한다(S530).If the normal boot is not performed, the monitoring control unit 410 changes the boot priority and controls the reboot by transmitting a signal for commanding the reboot to the CPU 440 (S530).

제2저장매체(430)에 저장된 복구용 운영체제 이미지를 이용하여 재부팅이 완료되면, 손상된 부트로더 및/또는 운영체제 이미지를 자동으로 복구한다(S540).When the reboot is completed using the recovery operating system image stored in the second storage medium 430, the damaged boot loader and / or the operating system image is automatically restored (S540).

도 6은 본 발명의 다른 실시예에 따른 운영체제 자동복구방법의 흐름도이다. 6 is a flowchart illustrating an operating system automatic recovery method according to another embodiment of the present invention.

도 6에서 도시한 바와 같이, 감시제어부(410)는 중앙처리장치(440)로부터 일정시간 동안 정상 부팅 여부를 확인하는 신호를 수신대기한다(S610). 감시제어부(410) 상기 일정시간 내에 확인 신호를 수신하면 정상부팅으로 판단하고, 확인 신호를 수신하지 않으면 정상 부팅이 되지 않은 것으로 판단한다(S620).As shown in FIG. 6, the monitoring control unit 410 receives a signal for confirming whether a normal booting is performed for a predetermined time from the central processing unit 440 (S610). If the monitoring control unit 410 receives the confirmation signal within the predetermined time, it is determined to be a normal boot, and if it does not receive the confirmation signal, it is determined that the normal booting is not performed (S620).

정상 부팅이 되지 않은 경우 감시제어부(410)는 부팅 우선순위를 변경하고, 중앙처리장치(440)로 재부팅을 명령하는 신호를 송신함으로써 재부팅을 제어한다(S630).If the normal boot is not performed, the monitoring control unit 410 changes the boot priority and controls the reboot by transmitting a signal for commanding the reboot to the CPU 440 (S630).

감시제어부(410)는 중앙처리장치(440)로부터 저장매체가 정상적으로 인식되는지 여부를 포함한 진단신호를 수신하여 이를 분석하고, 저장매체의 물리적 손상 유무 및 전자기기의 각 구성요소의 불량 유무를 파악한다(S640).The monitoring control unit 410 receives and analyzes a diagnostic signal including whether the storage medium is normally recognized from the central processing unit 440, and analyzes whether the storage medium is physically damaged or whether each component of the electronic device is defective. (S640).

감시제어부(410)는 저장매체의 물리적 손상이 없는 경우 복구모드를 확인한다.(S650) The monitoring control unit 410 checks the recovery mode when there is no physical damage to the storage medium.

제2저장매체(430)에 저장된 복구용 운영체제 이미지를 이용하여 재부팅이 완료되면, 복구모드에 따라 손상된 부트로더 및/또는 운영체제 이미지를 자동으로 복구한다(S660).When the reboot is completed using the recovery operating system image stored in the second storage medium 430, the damaged boot loader and / or the operating system image are automatically restored according to the recovery mode (S660).

본 발명의 다른 실시예에 따르면, 상기 제2저장매체(230)에 저장된 복구용 운영체제 이미지는 부팅용 운영체제 이미지가 갖는 기능을 제외한 자동복구기능만을 포함하도록 하고, 제2저장매체는 백업용 운영체제 이미지를 별도로 저장하도록 실시할 수 있다. 상기 실시예에 따르면, 상기 단계 S540 또는 단계 S660을 마친 후, 감시제어부(410)는 부팅 우선순위를 다시 변경하고 제1저장매체의 복구된 운영체제 이미지를 이용하여 재부팅하는 단계를 더 포함하여 이루어질 수 있다.According to another embodiment of the present invention, the recovery operating system image stored in the second storage medium 230 includes only an automatic recovery function except for the function of the bootable operating system image, and the second storage medium includes a backup operating system image. Can be stored separately. According to the embodiment, after the step S540 or step S660, the monitoring control unit 410 may further comprise the step of changing the boot priority again and rebooting using the restored operating system image of the first storage medium. have.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러가지 치환, 변형 및 변경이 가능하며 상기의 기재된 실시예에 한하여 본 발명의 권리범위가 제한되는 것은 아니라고 할 것이다. The present invention described above is not limited to the above-described embodiment and the accompanying drawings, various substitutions, modifications and changes are possible within the scope without departing from the technical spirit of the present invention and the embodiments described above The scope of rights is not limited.

도 1은 본 종래 기술에 의한 리눅스 운영체제를 탑재한 임베디드 시스템의 구성도,1 is a block diagram of an embedded system equipped with a Linux operating system according to the prior art,

도 2는 제1저장매체로 부팅하는 경우에 대한 본 발명의 일 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치의 구성도,2 is a block diagram of an electronic device having an operating system automatic recovery function according to an embodiment of the present invention for booting to a first storage medium;

도 3은 제2저장매체로 부팅하는 경우에 대한 본 발명의 일 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치의 구성도,3 is a configuration diagram of an electronic device having an operating system automatic recovery function according to an embodiment of the present invention for booting to a second storage medium;

도 4는 본 발명의 다른 실시예에 따른 운영체제 자동복구기능을 갖는 전자장치의 구성도,4 is a block diagram of an electronic device having an operating system automatic recovery function according to another embodiment of the present invention;

도 5는 본 발명의 일 실시예에 따른 운영체제 자동복구방법의 흐름도,5 is a flowchart of an operating system automatic recovery method according to an embodiment of the present invention;

도 6은 본 발명의 다른 실시예에 따른 운영체제 자동복구방법의 흐름도.6 is a flow chart of an operating system automatic recovery method according to another embodiment of the present invention.

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

110: 중앙처리장치(CPU) 120: 롬 바이오스(ROM BIOS)110: central processing unit (CPU) 120: ROM BIOS

130: 램(RAM) 140: 플래시/하드디스크130: RAM 140: flash / hard disk

150: 외부인터페이스 410: 감시제어부150: external interface 410: supervisory control unit

420: 제1저장매체 430: 제2저장매체420: first storage medium 430: second storage medium

440: 중앙처리장치 450: 통신수단440: central processing unit 450: communication means

460: 시스템 제어부460: system control

Claims (10)

부팅용 운영체제(OS)를 이미지 형태로 저장하는 제1저장매체;A first storage medium for storing a bootable operating system (OS) in an image form; 손상된 운영체제의 복구기능을 수행하기 위한 복구용 운영체제 이미지를 저장하는 제2저장매체;A second storage medium storing a recovery operating system image for performing a recovery function of a damaged operating system; 전자기기의 동작을 제어하며, 부팅우선순위에 따라 부팅할 저장매체를 선택하여 부팅하는 중앙처리장치;A central processing unit controlling the operation of the electronic device and booting by selecting a storage medium to boot according to a boot priority; 부팅시작 후 일정 시간 내에 상기 중앙처리장치로부터 정상 부팅 여부를 확인하는 신호가 수신되지 않는 경우에 부팅 실패로 판단하고, 부팅 우선순위를 변경하여 상기 복구용 운영체제 이미지로 재부팅되도록 제어하는 감시제어부; 및A monitoring control unit for determining that the booting failure is not received from the central processing unit within a predetermined time after the booting is started, and determining that the booting is failed, and changing the boot priority to reboot into the recovery operating system image; And 시스템 전체를 제어하기 위한 시스템 제어부를 포함하되,Including a system control unit for controlling the entire system, 상기 감시제어부는 부팅 실패 여부를 시스템 제어부로 보고하며, 상기 시스템 제어부의 명령 신호에 따라 부팅우선순위 변경 및 복구용 운영체제 이미지로의 재부팅을 실시하는 것을 특징으로 하는 운영체제 자동복구기능을 갖는 전자장치.And monitoring the boot failure to the system controller, and rebooting the boot priority change and recovery operating system image according to the command signal of the system controller. 제1항에 있어서,The method of claim 1, 상기 제2저장매체는 백업용 운영체제 이미지를 더 저장하며,The second storage medium further stores an operating system image for backup. 상기 중앙처리장치는 복구용 운영체제로 부팅한 후에, 상기 부팅용 이미지 저장영역에 상기 백업용 운영체제 이미지를 복사하는 것을 특징으로 하는 운영체제 자동복구기능을 갖는 전자장치.And the central processing unit copies the backup operating system image to the bootable image storage area after booting to the recovery operating system. 제1항에 있어서,The method of claim 1, 상기 중앙처리장치는 복구용 운영체제 이미지로 부팅한 후에, 통신수단을 통해 외부로부터 다운로드된 백업용 운영체제 이미지를 상기 부팅용 이미지 저장영역에 저장하는 것을 특징으로 하는 운영체제 자동복구기능을 갖는 전자장치.And after the CPU has booted into the recovery operating system image, stores the backup operating system image downloaded from the outside through a communication means in the bootable image storage area. 제1항 내지 제3항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 제2저장매체는 부팅을 위해 필요한 부트로더(Bootloader)를 더 포함하며,The second storage medium further includes a boot loader required for booting, 상기 중앙처리장치는 복구용 운영체제로 부팅시 상기 제2저장매체에 저장된 부트로더를 이용하는 것을 특징으로 하는 운영체제 자동복구기능을 갖는 전자장치.And the central processing unit uses a boot loader stored in the second storage medium when booting to a recovery operating system. 삭제delete 제4항에 있어서,The method of claim 4, wherein 상기 중앙처리장치는 상기 제1저장매체의 정상 인식 여부에 대한 진단신호를 상기 감시제어부에 전달하는 것을 특징으로 하는 운영체제 자동복구기능을 갖는 전자장치.The central processing unit is an electronic device having an operating system automatic recovery function, characterized in that for transmitting a diagnostic signal for whether the first storage medium is normally recognized to the monitoring control unit. 부팅용 운영체제(OS)를 이미지 형태로 저장하는 제1저장매체와, 손상된 운영체제의 복구기능을 수행하기 위한 복구용 운영체제 이미지 및 백업용 운영체제 이미지를 저장하는 제2저장매체와, 전자기기의 동작을 제어하며 부팅우선순위에 따라 부팅할 저장매체를 선택하여 부팅하는 중앙처리장치와, 부팅시작 후 일정 시간 내에 상기 중앙처리장치로부터 정상 부팅 여부를 확인하는 신호가 수신되지 않는 경우에 부팅 실패로 판단하고 부팅 우선순위를 변경하여 상기 복구용 운영체제 이미지로 재부팅되도록 제어하는 감시제어부를 포함하는 운영체제 자동복구기능을 갖는 전자장치의 운영체제 자동복구방법에 있어서,A first storage medium for storing a bootable operating system (OS) in the form of an image, a second storage medium for storing a recovery operating system image and a backup operating system image for performing a recovery function of a damaged operating system, and controlling an operation of an electronic device If the central processing unit for booting by selecting the storage medium to boot in accordance with the boot priority, and the signal to confirm whether the booting is normal from the central processing unit within a certain time after the start of booting is judged to be a boot failure and booting A method for automatically recovering an operating system of an electronic device having an operating system auto-recovery function, including a monitoring control unit configured to change a priority to reboot the operating system image for recovery. 감시제어부는 중앙처리장리로부터 전송되는 정상 부팅 여부를 확인하는 신호를 일정 시간 동안 수신대기하는 단계;The monitoring control unit waits for a predetermined time to receive a signal confirming whether or not the normal boot from the central processing unit; 감시제어부는 상기 일정 시간 내에 상기 정상 부팅 여부를 확인하는 신호가 수신되지 않는 경우 부팅 실패로 판단하고, 부팅 우선순위를 변경하여 복구용 운영체제 이미지로 재부팅하는 단계; 및Monitoring control unit determines that the boot failure is not received within the predetermined time, if the signal to confirm whether the normal boot or not, changing the boot priority and rebooting to the recovery operating system image; And 중앙처리장치는 복구용 운영체제 이미지로 부팅한 후에, 상기 제1저장매체의 부팅용 이미지 저장 영역에 상기 백업용 운영체제 이미지를 복사하는 단계를 포함하는 것을 특징으로 하는 운영체제 자동복구방법.And after the CPU has booted into a recovery operating system image, copying the backup operating system image to a bootable image storage area of the first storage medium. 제7항에 있어서, The method of claim 7, wherein 상기 감시제어부는 중앙처리장치로부터 전송되는 진단신호를 수신하여 상기 제1저장매체의 정상 인식 여부를 확인하는 단계;를 더 포함하는 것을 특징으로 하는 운영체제 자동복구방법.And monitoring the control unit by checking whether the first storage medium is normally recognized by receiving a diagnostic signal transmitted from a central processing unit. 제7항에 있어서,The method of claim 7, wherein 상기 감시제어부는 복구 모드를 확인하고 각 복구 모드에 따른 복구 작업을 수행하는 단계;를 더 포함하는 것을 특징으로 하는 운영체제 자동복구방법.And checking the recovery mode by the monitoring controller and performing a recovery operation according to each recovery mode. 제7항 내지 제9항 중 어느 한 항에 있어서,The method according to any one of claims 7 to 9, 상기 감시제어부는 부팅 실패라고 판단하는 경우 시스템 제어부로 부팅 실패임을 판단한 신호를 전송하고, 상기 시스템 제어부로부터 복구 기능 수행을 명령하는 신호를 수신하는 단계;를 더 포함하는 것을 특징으로 하는 운영체제 자동복구방법.And if the monitoring controller determines that the booting failure has occurred, transmitting a signal that determines that the booting failure has occurred, and receiving a signal for instructing to perform a recovery function from the system control unit. .
KR1020080046395A 2008-05-20 2008-05-20 Method and system for automatic recovery of an embedded operating system KR100952585B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080046395A KR100952585B1 (en) 2008-05-20 2008-05-20 Method and system for automatic recovery of an embedded operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080046395A KR100952585B1 (en) 2008-05-20 2008-05-20 Method and system for automatic recovery of an embedded operating system

Publications (2)

Publication Number Publication Date
KR20090120541A KR20090120541A (en) 2009-11-25
KR100952585B1 true KR100952585B1 (en) 2010-04-15

Family

ID=41603761

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080046395A KR100952585B1 (en) 2008-05-20 2008-05-20 Method and system for automatic recovery of an embedded operating system

Country Status (1)

Country Link
KR (1) KR100952585B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101188711B1 (en) 2010-10-13 2012-10-09 (주)뉴온시스 A driving device of multi-image by trunk voip gateway system and that of using driving method
KR101618516B1 (en) * 2015-06-10 2016-05-04 송창민 Backup and recovery system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101110715B1 (en) * 2010-01-18 2012-02-24 전지혜 Method and apparatus to control booting a system
KR101576370B1 (en) * 2014-06-03 2015-12-21 (주)클로닉스 System and method for remote restoration of computer system, and computer-readable recording medium with program therefor
KR101710684B1 (en) * 2015-09-10 2017-03-02 (주) 세인트 시큐리티 System and method of recovering operating system anayzing malicious code not operating in virtual environment
KR102334678B1 (en) * 2017-04-05 2021-12-02 엘에스일렉트릭(주) Human machine interface device
JP2020081661A (en) * 2018-11-29 2020-06-04 キヤノン株式会社 Radiation imaging system, control device, control method, and program
KR102151487B1 (en) * 2019-08-27 2020-09-03 주식회사 한화 Boot state detection circuit and guide control device of gun launched missile including the same
CN111124728B (en) * 2019-12-12 2024-02-23 加弘科技咨询(上海)有限公司 Service automatic recovery method, system, readable storage medium and server
CN114185606B (en) * 2021-12-14 2023-11-28 上海华信长安网络科技有限公司 Method and device for improving system operation reliability based on embedded system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222366A (en) 2004-02-06 2005-08-18 Nippon Telegr & Teleph Corp <Ntt> Automatic recovery method, program, program recording medium, processor
KR20060093509A (en) * 2005-02-22 2006-08-25 엘지전자 주식회사 Booting method of operating system on hard disk

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222366A (en) 2004-02-06 2005-08-18 Nippon Telegr & Teleph Corp <Ntt> Automatic recovery method, program, program recording medium, processor
KR20060093509A (en) * 2005-02-22 2006-08-25 엘지전자 주식회사 Booting method of operating system on hard disk

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101188711B1 (en) 2010-10-13 2012-10-09 (주)뉴온시스 A driving device of multi-image by trunk voip gateway system and that of using driving method
KR101618516B1 (en) * 2015-06-10 2016-05-04 송창민 Backup and recovery system

Also Published As

Publication number Publication date
KR20090120541A (en) 2009-11-25

Similar Documents

Publication Publication Date Title
KR100952585B1 (en) Method and system for automatic recovery of an embedded operating system
CN101281469B (en) Embedded type system and start-up load application method
US8930931B2 (en) Information processing apparatus using updated firmware and system setting method
CN102375764B (en) Method and system for managing deployment failure in software deployment
JP6291248B2 (en) Firmware upgrade error detection and automatic rollback
US9846616B2 (en) Boot recovery system
US7395455B2 (en) System, method and program product for recovering from a failure
US20080028386A1 (en) Transmission apparatus and method of automatically updating software
US20080072030A1 (en) Computer System and Method for Updating Program Code
TWI764454B (en) Firmware corruption recovery
KR101576370B1 (en) System and method for remote restoration of computer system, and computer-readable recording medium with program therefor
US10824517B2 (en) Backup and recovery of configuration files in management device
US20230060908A1 (en) Computer system and method for booting up the computer system
CN106484442B (en) Server system and method for updating startup mapping file
US20110173428A1 (en) Computer system, method for booting a computer system, and method for replacing a component
JP2005284902A (en) Terminal device, control method and control program thereof, host device, control method and control program thereof, and method, system, and program for remote updating
US10509646B2 (en) Software update rollbacks using file system volume snapshots
CN114237722A (en) System starting method, device, equipment and engineering vehicle
CN112817642A (en) Method and device for starting EFI operating system by X86 platform through automatic firmware switching
CN111078452A (en) BMC firmware image recovery method and device
CN113687843B (en) Method for automatically recovering firmware of baseboard management controller
CN115629777B (en) BMC heterogeneous upgrading method, system, equipment and readable storage medium
KR101653862B1 (en) Remote restoration device of computer system
KR102221593B1 (en) System for maintaining the installation envoronment of computer terminals
US20230132214A1 (en) Information processing apparatus and method of the same

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: 20130208

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140305

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150304

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160307

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20170322

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20180409

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20190327

Year of fee payment: 10