KR950013264B1 - Automatic back-up and recovery device and method in computer systems - Google Patents

Automatic back-up and recovery device and method in computer systems Download PDF

Info

Publication number
KR950013264B1
KR950013264B1 KR1019930000319A KR930000319A KR950013264B1 KR 950013264 B1 KR950013264 B1 KR 950013264B1 KR 1019930000319 A KR1019930000319 A KR 1019930000319A KR 930000319 A KR930000319 A KR 930000319A KR 950013264 B1 KR950013264 B1 KR 950013264B1
Authority
KR
South Korea
Prior art keywords
power
backup
computer
battery
computer system
Prior art date
Application number
KR1019930000319A
Other languages
Korean (ko)
Other versions
KR940018749A (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 KR1019930000319A priority Critical patent/KR950013264B1/en
Priority to PCT/KR1994/000002 priority patent/WO1994016377A1/en
Priority to AU58663/94A priority patent/AU5866394A/en
Publication of KR940018749A publication Critical patent/KR940018749A/en
Application granted granted Critical
Publication of KR950013264B1 publication Critical patent/KR950013264B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents

Abstract

The device comprises a memory unit which receives the backup power of data which are in processing, a battery which temporarily supplies the power of computer system for data backup in case that power supply is cut off, a charging controlling unit which recharges in case that voltage level is insufficient, a power supplying unit which provides voltage to every parts of computer system for data backup, and a controlling unit which performs the backup of data in a hard disk, cuts out all power after the backup process, and restores data from the hard disk sequentially.

Description

컴퓨터 시스템의 자동 백업 및 복구 장치와 방법Automatic backup and recovery device and method of computer system

제 1 도는 본 발명의 컴퓨터 시스템의 자동 백업 및 복구 장치의 작동 계통도1 is an operating system diagram of an automatic backup and recovery device for a computer system of the present invention.

제 2 도는 본 발명의 컴퓨터 시스템의 자동 백업 및 복구 장치의 블록 구성도2 is a block diagram of an automatic backup and recovery apparatus for a computer system of the present invention.

제 3 도는 본 발명의 컴퓨터 시스템의 자동 백업 및 복구 방법의 플로우차트3 is a flowchart of an automatic backup and recovery method for a computer system of the present invention.

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

1 : 슬롯 2 : 제어부1: slot 2: control part

3 : 선택 구동부 4 : 전원부3: Selective drive unit 4: Power supply unit

5 : 전원 선택부 6 : 전압 감시부5: power selector 6: voltage monitor

7 : 밧데리 8 : 밧데리 전원 감지부7: battery 8: battery power detection unit

9 : 충전부 10 : 충전 모니터부9: charging unit 10: charging monitor

11, 12, 13 : 전원 공급기 14 : 스위칭부11, 12, 13: power supply 14: switching unit

15 : 스위칭 전원부15: switching power supply

본 발명은 컴퓨터 시스템에서 전원 공급의 이상 여부(정전)를 감지하고, 정전이 발생된 경우, 현재 컴퓨터에서 처리중이던 모든 정보를 자동적으로 하드 디스크에 백업시켜 주었다가, 정전 복구 후 컴퓨터 시스템의 재가동시에 상기 저장되었던 정보를 복구시켜 주는 자동 백업 및 복구 장치와 그 방법에 관한 것이다.The present invention detects the abnormality of power supply (outage) in the computer system, and when a power failure occurs, automatically backs up all the information currently being processed in the computer to the hard disk, and then restarts the computer system after the power failure recovery. The present invention relates to an automatic backup and recovery apparatus and a method for recovering the stored information.

특히, 본 발명은 데이터 백업을 위한 기억수단으로서 하드 디스크를 사용하고, 또 백업 전력을 공급함에 있어서도 평상시에는 백업 전력 공급을 위한 밧데리의 레벨을 감시하여, 항상 백업 전원 공급이 가능한 상태로 미리 충전시켜 두는 제어를 실행하며, 하드 디스크에 백업이 완료되면 백업 장치 자체의 전원도 차단(셧-다운)시켜서 초절전을 기할 수 있도록 한 자동 백업 및 복구 수단을 제공하고자 한다.In particular, the present invention uses a hard disk as a storage means for data backup, and even in the case of supplying backup power, the battery level is normally monitored for backup power supply, and is always charged in advance in a state capable of supplying backup power. The two implement control and provide an automatic backup and recovery means by which the backup device itself is turned off (shut down) when the hard disk is backed up to achieve ultra-power savings.

또한, 본 발명의 특징으로서, 서스펜드 모드의 절전 제어 기능을 갖는 컴퓨터 시스템에서, 서스펜드 모드의 실행시에 컴퓨터 전원(ACV)를 강제로 차단시켜서 마치 정전 상태가 된 것처럼 만들어주고, 이와같이 전원이 차단되는 순간 상기 정전시 데이터 백 ; 업 동작을 실행하게 함으로써, 컴퓨터 시스템의 불필요한 전력 소비를 방지할 수 있는 자동 백업 및 복수 수단을 제공하는데 있다.In addition, as a feature of the present invention, in a computer system having a power saving control function in the suspend mode, when the suspend mode is executed, the computer power supply (ACV) is forcibly shut down to make it appear as if it is in a power failure state. Data bag during momentary power failure; It is to provide an automatic backup and a plurality of means that can prevent unnecessary power consumption of the computer system by performing the up operation.

종래의 컴퓨터 시스템에서 컴퓨터의 작동중에 정전이 발생되면, 현재 처리중이던 데이터가 손실되므로 귀중한 정보를 잃어버리게 되고, 따라서 정전되기 이전에 수행중이던 작업을 처음부터 반복하여 기 손실된 정보를 복구시켜야 되므로 불편함을 물론, 시간적인 손실과 업무 처리의 장애가 발생되며, 이로인한 업무처리 효율의 저하가 초래되는 문제점이 있었다.In a conventional computer system, if a power failure occurs during operation of the computer, the data currently being processed is lost, and valuable information is lost. Therefore, it is inconvenient to recover the lost information by repeating the work that was being performed before the power failure. Of course, there is a problem that the loss of time and work processing occurs, thereby resulting in a decrease in work processing efficiency.

또한, 종래의 컴퓨터 시스템에서는 입력되는 상응 교류전원이 110볼트나 220볼트 중 하나의 전원을 선택할 때 이를 수동 스위치 조작에 의존하므로 세팅된 110볼트일 때 사용자의 부주의로 인하여 220볼트의 전원을 인가하면 과전압 인가에 따라 컴퓨터 회로가 손상되는 문제점이 있었다.In addition, in the conventional computer system, when the corresponding AC power input selects one of 110 volts and 220 volts, it depends on manual switch operation. There has been a problem that the computer circuit is damaged by the application of overvoltage.

한편, 종래의 전원 이상시 컴퓨터 데이터 백업장치로서, 레줌 기능을 갖으며, 내부 전원을 사용하여 동작하는 랩톱 컴퓨터에서, 백업 전력(VBK)과 이 백업 전력을 공급받는 백업 RAM과, 백업 전력을 공급받는 비디오 RAM을 구비하여, 레줌기능의 온 또는 오프 여부에 관계없이, 공급 전원의 전압 크기가 일정한 크기 이하로 떨어지면, 현재 처리중에 있던 데이터들을 백업 전력의 공급을 받는 메모리(IC메모리 ; 백업 RAM과 백 ; 업 비디오 RAM)에 일시 저장하였다가, 전원 크기가 일정한 크기 이상으로 올라가면 메모리에 저장되어 있던 정보들을 그 이전의 상태로부터 계속 속행하게 하는 장치가 있다.On the other hand, as a conventional computer data backup device in case of a power failure, a laptop computer having a resuming function and operating using an internal power supply supplies backup power (VBK), backup RAM supplied with the backup power, and backup power. It has a receiving video RAM, regardless of whether the resume function is on or off, when the voltage level of the power supply falls below a certain level, the data currently being processed is backed up by the memory (IC memory; backup RAM and There is a device that temporarily stores the backup video RAM, and continues the information stored in the memory from the previous state when the power supply size rises above a certain size.

그러나, 이러한 종래의 장치는 백업 전력의 공급시간에 한계가 있기 때문에 백업 전력의 공급능력이 떨어지면 반도체 메모리인 백업수단(RAM)의 백업 정보의 유실이 초래되는 단점이 있다.However, such a conventional apparatus has a disadvantage in that the backup information of the backup means (RAM), which is a semiconductor memory, is lost when the backup power supply capacity is limited because the supply time of the backup power is limited.

즉, 백업 이후에도 계속하여 전력을 공급해야 하므로 제약이 따르고, 통상, 반도체 메모리의 용량에 제한(통상, 개인용 컴퓨터의 경우 수 메가 바이트 정도의 범위에 있다)이 있기 때문에 백업시킬 수 있는 데이터의 용량이 작아지게 된다.That is, there is a limitation because power must be supplied continuously after backup, and there is usually a limit on the capacity of the semiconductor memory (usually in the range of several megabytes in the case of a personal computer). It becomes small.

본 발명은 백업 전원의 공급이 백업 동작이 진행되는 동안에만 이루어지고, 일단 백업이 완결되면 더 이상의 백업 전원 공급이 필요하지 않게 제어하여 상기의 제약과 단점을 극복할 수 있도록 하였다.According to the present invention, the backup power supply is made only while the backup operation is in progress, and once the backup is completed, the backup power supply is controlled so that no further backup power supply is required to overcome the above limitations and disadvantages.

또 상기의 종래 장치는 내부 전원을 사용하여 동작하는 랩톤 컴퓨터에 적용되기 때문에 내부 전원이 이상시(휴대형 컴퓨터에서 축전지의 방전으로 인한 전압 다운)에만 데스크 탑 컴퓨터와 같이 외부 전원으로 동작하는 컴퓨터 시스템에서 정전이 일어났을 경우에는 적응하여 대처할 수 없는 제약이 따른다.In addition, since the conventional apparatus is applied to a Rapton computer that operates using an internal power source, a computer system that operates on an external power source such as a desktop computer only when the internal power source is abnormal (voltage drop due to the discharge of the battery in a portable computer). In the event of a power outage, there are restrictions that cannot be adapted and coped with.

본 발명은 외부전원으로 동작하는 컴퓨터 시스템에 적용하며, 외부 전원이 예기치 않게 정전되었을 때 데이터들을 하드 디스크에 백업시켜 두었다가, 정전이 복구되면 백업 데이터를 복구하여 그 이전의 상태로 부터 속행하게 하였다.The present invention is applied to a computer system operating with an external power source, and when the external power supply is unexpectedly outage, the data is backed up to the hard disk, and when the power failure is restored, the backup data is restored to continue from the previous state.

즉, 본 발명은 정전을 감지하는 수단과, 이 정전 감지 결과에 따라 정보의 자동 백업 및 복구를 수행하는 수단을 구비하므로서, 상기한 종래의 문제점을 해소하여 외부 전원을 사용하여 컴퓨터 시스템에서 정전시에도 처리중이던 정보의 손실을 방지할 수 있고, 일정시간 이상 컴퓨터를 사용하지 않은 상태로 방지해 두면 서스펜드 모드의 실행과 함께, 백업을 실행한 후 외부 전원을 차단시켜준 다음, 자동적으로 최소한의 필요 전원만 남기고 나머지 전원 회로의 동작을 중지시켜 주므로서, 초절전 기할수 있도록 한 컴퓨터 시스템의 자동 백업 및 복구 장치와 그 제어의 수순(방법)을 제공함을 목적으로 한다.That is, the present invention includes a means for detecting a power failure, and a means for performing automatic backup and recovery of information according to the result of the power failure detection. In addition, you can prevent the loss of information that was being processed, and if you do not use your computer for more than a certain period of time, suspend mode will be executed. The purpose of the present invention is to provide an automatic backup and recovery apparatus for a computer system and a procedure for controlling the same, which allow a high power saving, by stopping power of the remaining power circuits while leaving only power.

이하, 첨부된 도면을 참조하여 상기한 목적을 이루는 본 발명 장치의 구성과 그에 따른 동작을 설명한다.Hereinafter, with reference to the accompanying drawings will be described the configuration and operation according to the device of the present invention to achieve the above object.

먼저, 제 1 도는 상기 목적을 이루는 본 발명의 작동 계통을 나타낸 것으로 이를 참조하여 본 발명의 작동 계통부터 설명하면 다음과 같다.First, Figure 1 shows the operating system of the present invention to achieve the above object will be described from the operating system of the present invention with reference to the following.

상용 교류전원(AC 110V/220V)이 입력되면 현재 입력된 전원 전압을 판단하여 컴퓨터의 전원 공급부에 상기 판단된 전압중 적절한 전원을 선택하여 인터페이스를 통해 공급한다.When the commercial AC power (AC 110V / 220V) is input, it determines the current input power supply voltage and selects the appropriate power among the determined voltage to the power supply of the computer and supplies it through the interface.

이와 같이 하여, 전원이 공급된 컴퓨터 시스템은 그운영체계(OS ; OPERATING SYSTEM)를 로드하고, 해당 동작을 실행하게 된다.In this way, the powered computer system loads its operating system (OS) and executes the corresponding operation.

한편, 상기와 같이 전원이 공급됨에 따라 본 발명의 자동 백업 및 복구 장치도 동작을 수행하게 된다.On the other hand, as the power is supplied as described above, the automatic backup and recovery device of the present invention also performs the operation.

즉, 현재 입력되는 전원을 감지하여 정전 여부를 판단하고, 또한 컴퓨터시스템의 액세스 시간 간격을 감시하여 사용자가 일정한 시간 이상 컴퓨터를 작동시키지 않고 방치해두고 있는가의 여부를 판단한다.In other words, it detects power input currently to determine whether there is a power failure, and also monitors the access time interval of the computer system to determine whether the user has left the computer without operating for a predetermined time.

상기 판단 결과, 입력되던 상을 교류전원이 정전으로 인하여 오프되면, 이 순간 자동 백업 및 복구 장치는 컴퓨터 시스템 백업을 위한 비상 전원을 공급함과 아울러, 백업 명령을 컴퓨터 시스템에 공급한다.As a result of the determination, when the AC power is turned off due to a power failure, the automatic backup and recovery device at this moment supplies emergency power for backing up the computer system and supplies backup instructions to the computer system.

이에 따라, 컴퓨터 시스템은 각 메모리(BASE MEMORY, EXTENDED MEMORY, EXPANDED MEMORY, VIDEO MEMORY)의 내용과 CPU 인터럽트(INTERRUPTS) 및 CPU 레지스터(REGISTER)의 내용을 하드 디스크에 저장한다.Accordingly, the computer system stores the contents of each memory (BASE MEMORY, EXTENDED MEMORY, EXPANDED MEMORY, VIDEO MEMORY), the contents of the CPU interrupt INTERRUPTS, and the CPU register REGISTER on the hard disk.

이와같이 컴퓨터 시스템에서 하드 디스크에 현재 처리중이던 정보를 백업 완료 시키면, 완료했다는 정보를 자동 백업 및 복구 장치에 공급한다.As such, when the computer system completes the backup of the information currently being processed on the hard disk, the automatic backup and recovery device is supplied with the completed information.

백업 완료 정보를 받은 자동 백업 및 복구 장치는 자체의 백업용 전원도 셧다운 (SHUT DOWN)시켜 준다.Receiving backup completion information, the automatic backup and recovery unit also shuts down its backup power.

이와같이 백업이 완결된 후에 전원이 재차 공급되면 자동 백업 및 복구장치는 상기한 전원 감지와, 선택전환을 수행하고, 백업된 정보를 컴퓨터 시스템에서 복구하라는 명령을 전 상태로 시스템에 공급한다.In this way, when the power is supplied again after the backup is completed, the automatic backup and recovery device supplies the system to the previous state to perform the above-described power detection, selective switching, and recover the backed up information from the computer system.

이에 따라 컴퓨터 시스템은 하드 디스크에 저장되어 있던 정보를 상용 교류전원 오프 이전 상태로 복구(RESTORE)시켜 준다.Accordingly, the computer system restores the information stored in the hard disk to the state before the commercial AC power off.

한편, 상기한 바와 같이 자동 백업 및 복구 장치에서의 액세스 시간 검색 결과, 설정된 시간 이상 사용자가 컴퓨터 시스템을 사용하지 않은 상태로 방치해 둔 경우에는 컴퓨터 시스템에 서스펜드 명령(SUSPEND COMMAND)을 공급한다.On the other hand, as described above, if the user has left the computer system unused for a predetermined time or more as a result of the access time search in the automatic backup and recovery device, a suspend command SUSPEND COMMAND is supplied to the computer system.

자동 백업 및 복구장치로부터 서스펜드 명령을 받은 컴퓨터 시스템은 모니터의 디스플레이를 서스펜드모드(BLACK) 상태로 제어하고 있다가, 사용자가 키보드상의 임의의 키를 누르면 자동으로 정상 상태로 복귀하여 모니터 디스플레이를 정상 디스플레이 상태로 복귀시켜 준다.The computer system that receives the suspend command from the automatic backup and recovery unit controls the display of the monitor in the suspend mode (BLACK) state, and then automatically returns to the normal state when the user presses any key on the keyboard and displays the monitor display normally. Returns to the state.

이상에서 설명한 바와 같이 본 발명의 자동 백업 및 복구장치에 의한 정보의 백업과 복구 절전 제어를 도면 제 2 도의 본 자동 백업 및 복귀장치 구성을 설명하면 더욱 구체적으로 설명한다.As described above, the backup and recovery power saving control of information by the automatic backup and recovery device of the present invention will be described in more detail with reference to the configuration of the automatic backup and recovery device shown in FIG.

먼저, 제 2 도를 참조하면, 본 발명 컴퓨터 시스템의 자동 백업 및 복구 장치는, 레줌 기능을 갖는 레톱 컴퓨터에서 레줌 기능의 온, 오프 여부에 관계없이, 공급 전원의 전압 크기가 일정한 크기 이하가 떨어지면 현재 처리중에 있던 데이터들을 백업 전력의 공급을 받는 메모리(IC메모리 ; 백업 RAM)에 일시 저장하였다가, 전압 크기가 일정한 크기 이상으로 올라가면 메모리에 저장되어 있던 정보를 이 이전의 상태로부터 계속 수행하게 하는 컴퓨터 장치에 있어서, 정전 또는 절전 모드에서 데이터의 백업을 위한 컴퓨터 시스템의 전력을 임시로 공급해 주는 밧데리(7)와 ; 상기의 밧데리(7)의 전압 레벨이 백업 전력의 공급에 적절한 상태로 항시 유지될 수 있도록, 밧데리 출력을 감지하여 전압 레벨이 부족할 경우에는 외부 전원이 정앙 공급될 때 미리 충전시켜 두는 충전제어수단(8, 9, 10)과 ; 외부 전원의 정전시에 상기의 밧데리(7)의 출력 전원을 입력받아, 입력 전원을 데이터 백업을 위해 필요한 컴퓨터 시스템 각부의 적절한 전압(+5V, K-5V, +12V, -2V 등)으로 변환하여 공급해 주는 전원 공급수단(12, 13, 14, 14A, 14B, 15)과 ; 외부 전원이 정상 공급 될때는 상기의 충전제어수단(8, 9, 10)을 제어하여 상기의 밧데리(7)를 충전시켜두고, 정전 또는 키보드의 액세스 시간 정보를 컴퓨터 시스템으로부터 입력받아, 이로부터 정전이나 절전모드로의 이행으로 판단된 경우에는 상기의 전원 공급수단(12, 13, 14, 14A, 1B, 15)을 동작시켜 상기의 밧데리(7)를 전원 공급 수단을 통해 컴퓨터 시스템에 임시 공급하면서 컴퓨터 시스템으로 하여금 데이터의 하드 디스크로의 백업을 수행시키고, 백업이 완료되면 전원공급수단에 의해 모든 전원공급수단에 의한 모든 전원 공급을 차단하며, 외부 전원이 정상 입력되면 컴퓨터 시스템으로 하여금 하드 디스크로부터 데이터의 복구를 수행시키는 제어수단(2, 2A, 1)으로 구성함을 특징으로 하는 컴퓨터 시스템의 자동 백업 및 복구장치이다.First, referring to Figure 2, the automatic backup and recovery apparatus of the computer system of the present invention, if the voltage level of the power supply falls below a certain magnitude, regardless of whether the resuming function is turned on or off in a retop computer having a resuming function. Temporarily stores data currently being processed in a memory (IC memory; backup RAM) that is supplied with backup power, and when the voltage level rises above a certain level, the information stored in the memory can be continued from the previous state. A computer device comprising: a battery 7 for temporarily supplying power of a computer system for backup of data in a power failure or power saving mode; In order to maintain the voltage level of the battery 7 in a state suitable for supplying backup power at all times, the battery control unit detects the battery output and charges it in advance when external power is supplied when the voltage level is insufficient. 8, 9, 10); When the external power supply is out of power, the output power of the battery 7 is input and the input power is converted into appropriate voltages (+ 5V, K-5V, + 12V, -2V, etc.) of each part of the computer system required for data backup. Power supply means (12, 13, 14, 14A, 14B, 15) for supplying by means of; When external power is normally supplied, the above charging control means (8, 9, 10) are controlled to charge the battery (7), and the power failure or keyboard access time information is input from the computer system, and the power failure Or when it is determined that the device enters the power saving mode, the power supply means 12, 13, 14, 14A, 1B, and 15 are operated to temporarily supply the battery 7 to the computer system through the power supply means. The computer system performs a backup of the data to the hard disk, and when the backup is completed, the power supply means cuts off all power supply by all the power supply means. When external power is normally input, the computer system causes the computer system to An automatic backup and recovery apparatus for a computer system, characterized by comprising control means (2, 2A, 1) for performing data recovery.

상기의 도면 제 2 도를 참조하여, 본 발명의 백업 및 복구 장치의 구성을 보다 더 상세히 살펴보면, 컴퓨터와 연결되어 전원 오프 신호, 키보드 액세스 시간, 서스펜드 명령, 백업 명령, 복구 명령 등의 통신을 위한 슬롯(1)과, 상기 슬롯(1)을 통해 컴퓨터와 통신을 수행하면서 정보의 백업 및 복구, 서스펜드 모드의 제어, 전원 선택과 자체 전원의 절전 제어를 수행하는 제어부(2)와, 상기 제어부(2)와, 상기 제어부(2)와 컴퓨터와의 통신을 위한 인터럽트 및 할당 어드레스를 선택해 주는 스위치부(2A)와, 상기 제어부(2)의 제어를 받아 전원 선택을 구동 제어하는 선택 구동부(3)와, 상기 선택 구동부(3)의 제어에 의하여 선택된 상용 교류전원을 시스템에 공급하는 전원부(4)와, 상기 선택 구동부(3)의 제어를 받아 상기 전원부(4)를 제어하여 110볼트 또는 220볼트의 입력 상용 교류전원을 선택하는 전원 선택부(5)와, 상기 입력 상응 교류전원 전압을 감지하여 제어부(2)에 감지 결과를 공급하는 전압 감지부(6)와, 정전시에 컴퓨터의 백업 전원을 공급해 주기 위한 밧데리(7)와, 상기 밧데리(7)의 전원레벨을 감지하여 제어부(2)에 공급하는 밧데리 전원 감지부(8)와, 상기 제어부(2)의 제어를 받아 밧데리(7)를 충전시켜 주는 충전부(9)와, 상기 밧데리 충전 전원 레벨을 감지하여 상기 제어부(2)에 공급하는 충전 모니터부(10)와, 상기 전압 감지부(6)의 감지 결과를 제어부(2)에 공급하는 5볼트 전원 공급기1(11)과, 상기 전원 감지부(8)에 5볼트 전원을 공급하는 5볼트 전원 공급기2(12)와, 상기 제어부(2)의 셧다운 제어를 받으며 상기 밧데리(7)의 출력을 정류하여 컴퓨터의 5볼트 전원을 공급기3(13)과, 상기 밧데리(7) 출력을 스위칭 변환하여 컴퓨터의 -12볼트 및 -5볼트 전원을 공급하는 스위칭(14) 및 정전압(14A)(14B)와, 상기 제어부(2)의 셧다운제어를 받으며 상기 스위칭(14)의 출력을 스위칭 정류하여 컴퓨터의 12볼트 전원을 공급하는 스위칭 전원부(15)로 구성된 것이며, 도면중 미설명 부호 16, 17, 18, 19는 정류기이다.Referring to FIG. 2, the configuration of the backup and recovery device of the present invention will be described in more detail. For the communication with the computer, the power off signal, keyboard access time, suspend command, backup command, recovery command, etc. A slot 1, a control unit 2 which performs backup and recovery of information, control of a suspend mode, power selection and power saving control of its own power while communicating with a computer through the slot 1, and the control unit ( 2), a switch unit 2A for selecting an interrupt and allocation address for communication between the control unit 2 and a computer, and a selection driving unit 3 for driving control of power selection under the control of the control unit 2; And a power supply unit 4 for supplying the commercial AC power selected by the control of the selection driver 3 to the system, and the power supply unit 4 under the control of the selection driver 3 to control 110 volts or 220 volts. Of A power selection unit 5 for selecting an input commercial AC power source, a voltage detection unit 6 for sensing the input corresponding AC power supply voltage, and supplying a detection result to the control unit 2; The battery 7 for supplying, the battery power sensing unit 8 for sensing the power level of the battery 7 and supplying it to the control unit 2, and the battery 7 under the control of the control unit 2. The charging unit 9 for charging, the charge monitor unit 10 for sensing the battery charge power level and supplying the control unit 2, and the sensing result of the voltage detection unit 6 are supplied to the control unit 2. A 5 volt power supply 1 (11), a 5 volt power supply 2 (12) for supplying 5 volt power to the power detection unit (8), and the battery under the shutdown control of the control unit (2) Rectifies the output of the computer and supplies a 5 volt power supply 3 (13) and the battery (7) output switching Switching and rectifying the switching 14 and the constant voltage 14A and 14B for supplying the -12 volt and -5 volt power of the computer and the output of the switching 14 under the shutdown control of the control unit 2. It is composed of a switching power supply unit 15 for supplying a 12-volt power supply of the computer, and reference numerals 16, 17, 18, and 19 in the figure are rectifiers.

상기의 장치에 의한 본 발명의 자동 백업 및 복구 방법은, 레줌 기능을 갖는 랩톱 컴퓨터에서 레줌 기능의 온, 오프 여부에 관계없이, 공급 전원의 전압 크기가 일정한 크기 이하로 떨어지면 현재 처리중에 있던 데이터들을 백업 전력의 공급을 받는 메모리(IC메모리 ; 백업 RAM)에 일시 저장하였다가, 전압 크기가 일정한 크기 이상으로 올라가면 메모리에 저장되어 정보를 그 이전의 상태로부터 계속 속행하게 하는 컴퓨터의 백업 제어 방법에 있어서, 외부 전원이 입력되면 제어수단(1, 2, 2A)이 충전 제어수단(8, 9, 10)을 제어해서, 백업용 밧데리(7)의 출력 전압 레벨을 감지하며 충전 여부를 판단하고, 상기의 판단 결과 충전이 요구되는 레벨이면 밧데리(7)를 충전시켜 주는 제 1 과정과 ; 상기 제 1 과정에 이어서 컴퓨터의 키보드 액세스 시간 간격을 검출하여, 미리 설정해둔 소정의 기준시간 이상 컴퓨터 키보드의 액세스가 없는 경우에는 컴퓨터를 절전모드인 서스펜드 모드로 제어하고, 컴퓨터에 상기의 밧데리(7)로부터 전원공급수단(12, 13, 14, 14A, 14B, 15)을 통해서 컴퓨터 시스템에 백업 전원을 공급하면서 현재 처리중이던 정보들을 하드 디스크에 저장시켜 준 다음 백업이 완료되면 모든 전원(12, 13, 14, 14A, 14B, 15)을 오프시켜 주는 제 2 과정과 ; 상기의 전과정 수행중에 외부 전원의 오프(정전)여부를 감지하여 정전시에는 컴퓨터에 밧데리(7)로부터 전원 공급수단(12, 13, 14, 14A, 14B, 15)을 통해서 백업 전원을 공급하면서 현재 처리중이던 정보들을 하드 디스크에 저장시켜 준 다음 백업이 완료되면 모든 전원(13, 13, 14A, 14B, 15)을 오프시켜 주는 제 3 과정과 ; 상기의 제 2 과정중 서스펜드 모드중에 임의의 키가 눌려지면 서스펜드 모드를 해제하고 하드 디스크에 백업되었던 정보를 복구시겨주며, 상기의 제 3 과정 이에 정전이 복구되면 하드디스크에 백업되었던 정보들을 복구시켜 주는 제 4 과정으로 이루어짐을 특징으로 하는 컴퓨터시스템의 자동 및 복구 방법이다.The automatic backup and recovery method of the present invention by the above apparatus, regardless of whether the resume function is turned on or off in a laptop computer having a resume function, data that is currently being processed when the voltage level of the power supply drops below a certain level is used. In a backup control method of a computer that temporarily stores in a memory (IC memory; backup RAM) supplied with backup power, and stores the information in a memory when the voltage level rises above a certain level, thereby continuing information from the previous state. When the external power is input, the control means (1, 2, 2A) controls the charge control means (8, 9, 10) to detect the output voltage level of the backup battery (7) to determine whether or not the charge, A first step of charging the battery 7 when the determination indicates that charging is required; Subsequent to the first process, the keyboard access time interval of the computer is detected, and if there is no access of the computer keyboard for a predetermined reference time or more, the computer is controlled in the suspend mode, which is a power saving mode, and the battery Power supply means (12, 13, 14, 14A, 14B, 15) to supply the backup power to the computer system and store the information currently being processed on the hard disk. 2, 14, 14A, 14B, 15) off; During the entire process, it detects whether the external power is turned off (interruption), and in the case of power failure, the backup power is supplied from the battery 7 to the computer through the power supply means 12, 13, 14, 14A, 14B, 15. A third process of storing the information being processed on the hard disk and then turning off all the power sources 13, 13, 14A, 14B, and 15 when the backup is completed; If any key is pressed during the suspend mode during the second process, the suspend mode is released and the information backed up to the hard disk is restored.If the power failure is restored, the information backed up to the hard disk is restored. The automatic and recovery method of a computer system, characterized in that consisting of a fourth process to make.

이와같이 구성된 본 발명의 컴퓨터 시스템의 자동 백업 및 복구 장치와 그 제어의 수순에 의한 압력 전원의 자동 선택과 정전시의 백업 및 복구, 절전 제어 동작을 도면 제 2 도 및 제 3 도를 참조하여 설명하면 다음과 같다.The automatic backup and recovery apparatus of the computer system of the present invention configured as described above, the automatic selection of pressure power by the procedure of control thereof, the backup and recovery during power failure, and the power saving control operation will be described with reference to FIGS. 2 and 3. As follows.

110볼트 또는 220볼트의 상용 교류전원이 입력되면 입력전원은 전압 감지부에 공급되고, 전원 감지부(6)는 입력 전원의 레벨을 검출하여 그 검출 결과를 전원 공급기(11)를 통해 제어부(2)에 공급한다.When 110 volts or 220 volts of commercial AC power is input, the input power is supplied to the voltage detector, and the power detector 6 detects the level of the input power and outputs the detection result to the controller 2 through the power supply 11. Supplies).

제어부(2)는 전압 감지부의 감지결과를 해석하여 현재 입력되고 있는 상응 교류전원이 110볼트 인가 또는 220볼트 인가를 판단하고, 그 판단 결과에 따라 선택 구동부 (3)를 통해 전원 선택부(5)를 전환 제어한다.The control unit 2 analyzes the detection result of the voltage sensing unit to determine whether the corresponding AC power currently being input is 110 volts or 220 volts, and according to the determination result, the power selector 5 through the selection driver 3. Control switching.

이에 따라 전원 선택부(5)는 입력 전원을 컴퓨터 시스템에서 사용하는 전원, 예를 들면 컴퓨터에서 110볼트를 사용한다면 입력 전원이 110볼트일 때는 이를 전원3부 (4)를 통해 직접 컴퓨터에 공급하고, 입력 전원이 220볼트이면 이를 110볼트로 다운시켜 컴퓨터에 공급시켜 준다.Accordingly, the power selector 5 supplies the input power directly to the computer through the power supply unit 4 when the input power is 110 volts if the input power is used by the computer system, for example, 110 volts from the computer. For example, if the input power is 220 volts, down to 110 volts and supply it to the computer.

이와같이 하여 컴퓨터에 전원이 공급되면, 컴퓨터는 동작하여 자신의 운영체계의 로드(부팅)가 이루어지고, 각 메모리와 레지스터 등을 활용하면서 해당 응용 프로그램을 수행하며, 필요한 정보는 하드 디스크에 저장하면서 사용자의 요구에 부응하는 소정의 정보처리를 수행하게 되는데, 이는 통상의 컴퓨터 동작에 해당된다.In this way, when the computer is powered on, the computer operates to load (boot) its own operating system, execute the corresponding application using each memory and register, and store the necessary information on the hard disk while the user The predetermined information processing is performed in response to the requirement of, which corresponds to normal computer operation.

그리고, 컴퓨터는 슬롯(1)을 통해 키보드의 액세스 시간 간격 정보와 전원 오프 정보(정전 정보) 등을 제어부(2)에 공급한다.Then, the computer supplies the access time interval information of the keyboard and the power-off information (outage information) and the like to the controller 2 through the slot 1.

한편, 상기와 같이 전원 선택과 공급이 이루어지면, 본 발명의 컴퓨터 시스템의 자동 백업 장치도 동작하여, 제어부(2)가 우선 밧데리(7)의 출력 전원 레벨이 백업 동작에 필요 충분한 레벨인가를 파악하여 낮은 레벨이면 충전을 시켜준다.On the other hand, when the power supply is selected and supplied as described above, the automatic backup device of the computer system of the present invention also operates, so that the control unit 2 first determines whether the output power level of the battery 7 is sufficient for the backup operation. If it is at a low level, charge it.

즉, 밧데리(7)의 출력 전원은 밧데리 전원 감지부(8)에 입력되고, 밧데리 전원 감지부(8)는 입력된 밧데리(7) 출력 레벨을 검색하고, 그 검색 결과를 제어부(2)에 공급한다.That is, the output power of the battery 7 is input to the battery power detection unit 8, the battery power detection unit 8 retrieves the input battery 7 output level, and the search results to the control unit 2 Supply.

제어부(2)는 입력된 밧데리(7) 전원 레벨 결과를 해석하여 충전 여부를 결정한다.The controller 2 analyzes the input battery 7 power level result to determine whether to charge.

밧데리(7)의 전원 레벨이 소정의 기준값 이하이면 제어부(2)는 충전부(9)를 동작시키고, 이에 따라 충전부(9)가 동작하여 정류기(16)를 통해 밧데리(7)에 충전 전원을 공급하므로서 밧데리(7)는 충전되기 시작한다.If the power level of the battery 7 is less than or equal to a predetermined reference value, the controller 2 operates the charging unit 9, and accordingly, the charging unit 9 operates to supply charging power to the battery 7 through the rectifier 16. As a result, the battery 7 starts to be charged.

밧데리(7)의 충전 레벨은 충전부(9)의 출력을 충전 모니터부(10)에서 피이드백 받아 충전 레벨을 감지하고, 그 감지 결과를 제어부(2)에 공급하며, 제어부(2)는 입력된 충전 레벨 감지 결과를 해석하여 현재 밧데리(7)의 충전 레벨이 백업에 알맞는 레벨 이하이면 충전부(9)를 계속 동작시켜 충전을 지속하고, 충전 레벨이 백업에 알맞은 레벨이 되면 충전부(9)의 동작을 중단시킨다.The charge level of the battery 7 receives the output of the charge unit 9 from the charge monitor unit 10, detects the charge level, supplies the detection result to the control unit 2, and the control unit 2 inputs the input. If the charge level of the current battery 7 is lower than the level suitable for backup, the charging unit 9 continues to operate and the charging is continued. When the charge level becomes a level suitable for backup, the charging unit 9 Abort the operation.

이와같이 하여, 밧데리(7)의 충전을 수행시키므로서 백업 전원의 공급에 항상 대비하고 있게 된다.In this way, charging of the battery 7 is always performed, so that the backup power is always prepared.

백업 전윈의 공급에 대비하면서 제어부(2)는 컴퓨터 시스템으로부터 슬롯(1)을 통해 입력되는 키보드액세스 시간 정보와, 전원 오프(정전) 정보를 받아들여 정전에 의한 백업과 서스펜드 진행에 따른 백업의 동작을 아래와 같이 수행한다.In preparation for supply of backup power, the control unit 2 receives keyboard access time information and power-off (outage) information input from the computer system through the slot 1, and performs backup by power failure and backup by suspend progress. Do the following.

먼저 서스펜드 모드의 진행에 따른 백업 제어부터 설명한다.First, the backup control according to the progress of the suspend mode will be described.

제어부(2)는 상기한 바와 같이 슬롯(1)으로 입력되는 컴퓨터로부터의 액세스 시간 정보를 판단하여 사용자가 컴퓨터를 액세스하지 않고 방치해 둔 경우로 판단되는 소정의 기준 시간을 경과하였는가의 여부를 판단한다.The controller 2 determines the access time information from the computer input to the slot 1 as described above to determine whether the predetermined reference time determined by the user has been left without accessing the computer. do.

상기 판단 결과 컴퓨터를 액세스하지 않는 시간이 소정의 첫 번째 기준시간(예 : 2분)이상 경과하면 제어부(2)는 슬롯(1)를 통해 컴퓨터에 서스펜드 명령을 공급하고, 이에 따라 컴퓨터는 서스펜드 모드로 들어가서 모니터를 블랙 상태로 제어하고, 액세스 시간을 계속하여 감시한다.As a result of the determination, when the time for which the computer is not accessed has elapsed for a predetermined first reference time (for example, 2 minutes) or more, the control unit 2 supplies a suspend command to the computer through the slot 1, and accordingly, the computer enters the suspend mode. Enter to control the monitor black and continue to monitor access time.

상기한 바와 같이 모니터를 서스펜드 모드로 동작시키는 상태에서 키보드상의 임의의 키를 조작할 때까지 절전 모드로 대기하고 있다가 임의의 키를 누르면 컴퓨터 시스템은 제어부(2)의 제어를 받아 서스펜드 모드를 해체하여 모니터를 정상 디스플레이 시킨다.As described above, when the monitor is operated in the suspend mode, the computer system waits in the power saving mode until the user operates any key on the keyboard and presses any key to release the suspend mode under the control of the control unit 2. To display the monitor normally.

그러나, 상기 첫 번째 기준 시간을 경과하여 컴퓨터를 액세스하지 않는 시간이 소정의 기준시간(예 : 5분)이상 경과되면, 제어부(2)는 사용자가 컴퓨터를 사용하지 않고 방치해 둔 경우로 판단하여 선택 구동부(3)를 통해 전원 선택부(5) 및 전원부(4)를 제어하여 외부 전원인 상용 교류 전원의 입력 자체를 차단한다.However, if the time for not accessing the computer after the first reference time elapses more than a predetermined reference time (for example, 5 minutes), the controller 2 determines that the user has left the computer without using it. The select driver 3 controls the power selector 5 and the power supply 4 to cut off the input of commercial AC power, which is an external power source.

이것은 본 발명의 한가지 특징이며, 종래의 컴퓨터 시스템은 서스펜드 모드까지만 수행하게 되지만, 본 발명은 서스펜드 모드의 더욱 강화된 기능으로서 서스펜드 모드가 장시간 계속되면 사용자가 컴퓨터 시스템을 방치해 둔 경우로 판단하고, 이러한 경우에는 전원부(4)로부터 컴퓨터 시스템으로 공급되던 전원 자체를 차단시켜 주어 초절전을 기함과 함께, 컴퓨터 전원의 자체 차단에 따른 데이터 유실을 방지하기 위한 백업동작을 수행하게 되는 것이다.This is one feature of the present invention, but the conventional computer system performs only to the suspend mode, but the present invention is a further enhanced function of the suspend mode, and when the suspend mode continues for a long time, it is determined that the user has left the computer system, In this case, by shutting off the power supply itself from the power supply unit 4 to the computer system, a power saving operation is performed, and a backup operation is performed to prevent data loss due to the self-blocking of the computer power supply.

즉, 컴퓨터의 전원을 차단시키게 되면 컴퓨터는 마치 정전이 된 것과 같은 상태가 되므로, 전원이 오프되었다는 정보를 슬롯(1)을 통해 제어부(2)에 공급한다.That is, when the power source of the computer is cut off, the computer enters a state in which power is off. Therefore, the power supply is supplied to the controller 2 through the slot 1.

상기한 바와 같이 제어부(2)는 전원 오프 정보가 입력되면 제어부(2)는 밧데리(7)로부터 컴퓨터 회로 각부에 필요한 전원들을 공급하면서 슬롯(1)을 통해 컴퓨터에 백업 명령을 공급한다.As described above, when the power-off information is input, the control unit 2 supplies a backup command to the computer through the slot 1 while supplying powers necessary for each part of the computer circuit from the battery 7.

즉, 상기한 바와 같이 외부 전원(ACV)이 차단되면, 밧데리(7)에 미리 충전되어 있다가 출력되는 전원(Vbatt)은 5볼트 전원 공급기2(12)의 동작 전원으로 공급되어 밧데리 전원 감지부(8)에 +5V의 동작 전원이 공급되게 하고, 또한 밧데리(7)의 출력(Vbatt)은 정류기(18)를 통해 5볼트 전원 공급기1(11)에도 동작 전원으로 공급되어 제어부(2)가 계속 동작할 수 있는 전원(Vdd)을 공급하게 하며, 또한 밧데리(7)의 출력(Vbatt)은 5볼트 전원 공급기3(13)에도 공급되어, 전원 공급기(13)가 컴퓨터가 필요로 하는 5볼트 전원을 공급해주게 한다.That is, when the external power supply (ACV) is cut off as described above, the power supply Vbatt, which is charged in advance to the battery 7 and outputted, is supplied as the operating power of the 5 volt power supply 2 (12) and the battery power detection unit The operating power of + 5V is supplied to (8), and the output Vbatt of the battery 7 is also supplied to the 5-volt power supply 1 (11) through the rectifier 18 as operating power, so that the controller 2 In addition to supplying the power (Vdd) that can continue to operate, the output (Vbatt) of the battery (7) is also supplied to the 5-volt power supply 3 (13), so that the power supply 13 is 5 volts required by the computer Let the power supply.

그리고, 상기 밧데리(7)의 출력은 스위칭부(14)에도 공급되고, 스위칭부(14)는 입력된 전원(Vbatt)을 스위칭하여 컴퓨터에서 필요한 -12볼트 전원과 -5볼트 전원을 각각의 정전압부(14A)(14B)를 통해 공급해주게 된다.In addition, the output of the battery 7 is also supplied to the switching unit 14, the switching unit 14 switches the input power (Vbatt) to the -12 volts power and -5 volts power required by the computer, respectively, the constant voltage It is supplied through the portions 14A and 14B.

또한, 상기 밧데리(7)의 출력은 스위칭 전원부(15)에도 공급되고, 스위칭 전원부(15)는 입력전원(Vbatt)을 스위칭 정류하여 회로 동작에 필요한 +12볼트 전원을 공급해 준다.In addition, the output of the battery 7 is also supplied to the switching power supply unit 15, the switching power supply unit 15 supplies a +12 volt power required for the circuit operation by switching and rectifying the input power (Vbatt).

그러므로, 외부 전원(ACV)이 오프되어도 컴퓨터 시스템과 백업 및 복구 장치는 임시로 각 전원 공급기(11)(12)(13)와 정전압부(14A)(14B), 스위칭 전원부(15)로부터 +5V, -5V, +12V, -12V등의, 필요로 하는 전원을 공급받게 된다.Therefore, even when the external power supply (ACV) is turned off, the computer system and the backup and recovery device temporarily store + 5V from each power supply 11, 12, 13, constant voltage section 14A, 14B, and switching power supply section 15, respectively. -5V, + 12V, -12V, etc., to supply the necessary power.

그러므로 컴퓨터 시스템은 하드 디스크의 구동과, 현재 처리중이던 정보의 백업에 필요한 프로그램 운용이 가능하게 되는 것이다.Therefore, the computer system can operate a program required for driving the hard disk and for backing up the information currently being processed.

이것은 본 발명의 한가지 특징이며, 반도체 메모리(RAM)에 단순히 데이타를 백업시키고 그 반도체 메모리에 백업 전력을 계속하여 공급하는 종래 장치의 제약을 해소하는 특징이 있다.This is a feature of the present invention, which removes the limitations of conventional devices that simply back up data to a semiconductor memory (RAM) and continue to supply backup power to that semiconductor memory.

이와같이 컴퓨터 시스템의 자동 백업 장치로부터 백업 전원과, 백업 명령을 받은 컴퓨터는 각 메모리와 CPU의 처리중이던 정보들을 하드 디스크에 저장한다.In this way, the backup power supply from the automatic backup device of the computer system and the computer receiving the backup command store the information processed in each memory and CPU on the hard disk.

저장이 완료되면 컴퓨터는 슬롯(1)을 통해 제어부(2)에 저장 완료를 알려주고, 이에 따라 제어부(2)는 5볼트 전원 공급기3(13)과, 충전 모니터부(10)와 스위칭 전원부(15)에 셧다운 신호(SHUT DOWN)를 공급하여 각 전원부(10, 13, 15 등등)를 셧다운 시키므로서 컴퓨터 시스템의 자동 백업 장치 자체의 전원도 오프 시켜 주므로서, 최소의 전력을 소비하는 절전상태를 유지한다.When the storage is completed, the computer informs the control unit 2 of the completion of the storage through the slot 1, so that the control unit 2 supplies a 5-volt power supply 3 13, the charge monitor unit 10 and the switching power supply unit 15. By supplying the shutdown signal (SHUT DOWN) to shut down each power supply unit (10, 13, 15, etc.), it also turns off the automatic backup device itself of the computer system, thereby maintaining a power saving state that consumes minimal power. do.

이것은 본 발명의 한가지 특징이며, 백업 완료 후에는 컴퓨터 시스템은 물론 자체 전원도 오프 시켜서 초절전을 기할 수 있게 하는 것이고, 또 이것은 백업 데이터를 하드 디스크에 저장하기 때문에 전원이 더 이상 가해지지 않더라도 하드 디스크가 백업 데이터를 그대로 유지할 수 있는 특징과 장점을 최대한 실린 것이다.This is a feature of the present invention, which allows the computer system as well as its own power to be turned off after the backup is completed, and this saves backup data to the hard disk. The features and advantages of keeping the backup data intact are as much as possible.

한편, 상기한 바와같이 백업 완료후 전원 오프 상태에서 컴퓨터의 전원이 정상으로 입력되면(즉, 사용자가 컴퓨터 전원을 온시키면), 상기 최초의 동작-전원의 선택과 충전 감시, 충전 제어 등등-을 수행하게 됨은 물론, 제어부(2)는 정전후 복구이므로 백업 정보가 있다는 것을 알고, 슬롯(1)을 통해 컴퓨터에 백업 정보의 복구 명령을 공급하여 컴퓨터로 하여금 상기 하드 디스크에 백업되어 있던 정보를 복구시켜 주게 한다.On the other hand, if the computer power is normally input in the power-off state after the backup is completed as described above (that is, when the user turns on the computer), the initial operation-selection of power supply, charge monitoring, charge control, etc. Of course, the control unit 2 knows that the backup information exists since the recovery after the power failure, and supplies the recovery command of the backup information to the computer through the slot 1 to allow the computer to recover the information backed up to the hard disk. Let them do it.

한편, 컴퓨터가 작동하는 도중에 정전이 발생된 경우에도 이와 같은 백업과, 정전 복구후의 백업 데이터 복구 제어가 다음과 같이 이루어진다.On the other hand, even when a power failure occurs while the computer is operating, such backup and backup data recovery control after the power failure recovery are performed as follows.

컴퓨터와 컴퓨터 시스템의 자동 백업 장치가 동작하는 도중에 예기치 못한 정전으로 인하여 컴퓨터 전원이 차단되면, 컴퓨터는 전원이 오프되었다는 정보를 슬롯(1)을 통해 제어부(2)에 공급한다.If the computer power is cut off due to an unexpected power failure while the computer and the automatic backup device of the computer system are in operation, the computer supplies the control unit 2 with the information that the power is turned off through the slot 1.

상기한 바와 같이 제어부(2)에 전원 오프 정보가 입력되면 제어부(2)는 밧데리(7)로부터 컴퓨터 회로 각부에 필요한 전원들을 공급하면서 슬롯(1)을 통해 컴퓨터에 백업 명령을 공급한다.As described above, when the power-off information is input to the control unit 2, the control unit 2 supplies a backup command to the computer through the slot 1 while supplying powers necessary for each part of the computer circuit from the battery 7.

즉, 상기한 바와 같이 밧데리(7)에서 충전되어 출력되는 전원(Vbatt)은 5볼트 전원 공급기2(12)의 동작 전원으로 공급되고, 또한 정류기(19)를 통해 5볼트 전원 공급기1(11)에도 동작 전원으로 공급되며, 또한 5볼트 전원 공급기3(13)에도 공급되어 컴퓨터 5볼트 전원을 공급해 주게 된다.That is, as described above, the power Vbatt charged and output from the battery 7 is supplied to the operating power of the 5-volt power supply 2 (12), and the 5-volt power supply 1 (11) through the rectifier 19. In addition, it is supplied to the operating power supply, and is also supplied to the 5-volt power supply 3 (13) to supply the 5-volt power to the computer.

그리고, 상기 밧데리(7)의 출력(Vbatt)은 스위칭부(14)에도 공급되고, 스위칭부(4)는 입력된 전원을 스위칭하여 컴퓨터에 필요한 -12볼트 전원과 15볼트 전원을 각각의 정전압부(14A)(14B)를 통해 공급해 주게 된다.In addition, the output Vbatt of the battery 7 is also supplied to the switching unit 14, and the switching unit 4 switches the input power and supplies -12 volt power and 15 volt power required for the computer to each of the constant voltage unit. It is supplied through 14A and 14B.

또한, 상기 밧데리(7)의 출력(Vbatt)은 스위칭 전원부(15)에도 공급되고, 스위칭 전원부(15)는 입력 전원을 스위칭 정류하여 회로 동작에 필요한 +12볼트 전원을 공급해준다.In addition, the output Vbatt of the battery 7 is also supplied to the switching power supply unit 15, and the switching power supply unit 15 supplies +12 volt power required for circuit operation by switching rectifying the input power supply.

그러므로, 외부 전원(ACV)이 오프(정지)되어도 컴퓨터 시스템과 백업 및 복구 장치는 임시로 각 전원 공급기(11)(12)(13)와 정전압부(14A)(14B), 스위칭 전원부(15)로부터 +5V, -5V, +12V, -12V등의, 필요로 하는 전원을 공급받게 된다.Therefore, even when the external power supply (ACV) is turned off (stopped), the computer system and the backup and recovery device temporarily retain the respective power supplies 11, 12, 13, constant voltage unit 14A, 14B, and switching power supply unit 15. It receives the necessary power, such as + 5V, -5V, + 12V, and -12V.

그러므로 컴퓨터 시스템은 하드 디스크의 구동과, 현재 처리중이던 정보의 백업에 필요한 프로그램 운용이 가능하게 되는 것이다.Therefore, the computer system can operate a program required for driving the hard disk and for backing up the information currently being processed.

이와같이 컴퓨터 시스템의 자동 백업 장치로부터 백업 전원과, 백업 명령을 받은 컴퓨터는 각 메모리와 CPU의 처리 중이던 정보들을 하드 디스크에 저장한다.In this way, the backup power supply from the automatic backup device of the computer system and the computer receiving the backup command store the information processed in each memory and CPU on the hard disk.

저장이 완료되면 컴퓨터는 슬롯(1)을 통해 제어부(2)에 저장 완료를 알려주고, 이에 따라 제어부(2)는 5볼트 전원 공급기3(13)과, 충전 모니터부(10)와 스위칭 전원부(15)에 셧다운 신호를 공급하여 각 전원부를 셧다운 시키므로서 컴퓨터 시스템의 자동 백업 장치 자체의 전원도 오프 시켜 주므로서, 최소의 전력을 소비하는 절전 상태를 유지한다.When the storage is completed, the computer informs the control unit 2 of the completion of the storage through the slot 1, so that the control unit 2 supplies a 5-volt power supply 3 13, the charge monitor unit 10 and the switching power supply unit 15. By shutting down each power supply unit by shutting down the power supply, it also turns off the automatic backup device itself of the computer system, thus maintaining a power saving state that consumes minimal power.

이와같은 상태에서 컴퓨터의 전원이 정상으로 압력(정전 복구)되면 상기 최초의 동작으로부터의 동작을 진행하면서, 정전에 의한 백업 정보의 유무를 판단하여 저장 정보의 복구가 필요하면 슬롯(1)을 통해 복구 명령을 공급하여 상기 하드 디스크에 백업되어 있던 정보를 복구시켜주고, 본 발명의 자동 복구 과정을 종료한다.In this state, when the power of the computer is normally pressurized (electrostatic recovery), the operation from the first operation is performed, and the backup information is determined by the power failure and the storage information is required through the slot (1). A recovery command is supplied to restore the information backed up to the hard disk, and the automatic recovery process of the present invention is terminated.

이후에는 상기한 바와 같이 입력 전원의 판단, 전원선택, 충전제어, 액세스 시간 검색, 주전원의 온/오프 판단, 백업, 복구로 이어지는 일련의 과정을 지속적으로 수행하는 것이다.Thereafter, as described above, a series of processes that lead to determination of input power, power selection, charging control, access time search, determination of main power on / off, backup, and recovery are continuously performed.

이상에서 설명한 바와 같이 본 발명의 컴퓨터 시스템 자동 백업 및 복구 장치와 그 방법에 의하면, 백업에 필요한 전원을 밧데리에 공급하는데 있어, 이 밧데리 충전 레벨을 향상 백업에 필요한 전력으로 자동 유지 및 관리라 수 있는 특징이 있고, 하드 디스크에 백업 데이터를 저장하기 때문에 반도체 메모리에 백업 데이터를 보존하는데 따른 백업 유지 시간의 제약이나, 백업 데이터의 용량 제한 등을 극복할 수 있는 특징이 있고, 컴퓨터의 사용중 예기치 못한 정전이 발생되어도 실행중이던 프로그램과 데이터를 보호하여 그 손실을 방지할 수가 있고, 일단 백업이 완료되면 자체의 전원도 차단하여 초절전을 기 할 수 있는 특징이 있으며, 사용자가 컴퓨터 전원을 켜놓은 상태로 일정시간 이상 방치해두면 자동적으로 모니터의 디스플레이를 서스펜드 모드로 전환시킴과 아울러, 자체 전원도 차단시키고 백업을 수행한 다음에, 전원공급을 최대한 절제된 상태로 공급하게 되므로, 절전을 기할 수 있는 특징이 있으며, 이에 따른 기기 동작의 신뢰성 향상은 물론 기기의 기능 강화와 품질 향상을 확보할 수 있는 등의 효과가 있다.As described above, the automatic computer system for backing up and restoring the present invention and the method thereof provide automatic maintenance and management of the battery charge level with the power required for backup in supplying power to the battery. Because the backup data is stored in the hard disk, it is possible to overcome the limitation of backup retention time or the limitation of backup data capacity in keeping the backup data in the semiconductor memory. Even if this occurs, the program and data that were running can be protected to prevent the loss, and once the backup is completed, it can also shut down its power to save power, and the user can turn on the computer while the schedule is on. If left unattended, the display of the monitor is automatically suspended In addition to switching to the mode, after shutting off its own power supply and performing a backup, the power supply is supplied in a state of being cut off as much as possible, which saves power and thus improves the reliability of the device operation. There are effects such as enhancement of function and improvement of quality.

Claims (2)

레줌 기능을 가는 랩톱 컴퓨터에서 레줌 기능의 온, 오프 여부에 관계없이, 공급전원의 전압 크기가 일정한 크기 이하로 떨어지면 현재 처리중에 있던 데이터들을 백업 전력의 공급을 받는 메모리(IC메모리 ; 백업 RAM)에 일시 저장하였다가, 전압 크기가 일정한 크기 이상으로 올라가면 메모리에 저장되어 있던 정보를 그 이전의 상태로부터 계속 속행하게 하는 컴퓨터 장치에 있어서, 정전 또는 절전 모드에서 데이터의 백업을 위한 컴퓨터 시스템의 전력을 임시로 공급해 주는 밧데리(7)와, 상기의 밧데리(7)의 전압 레벨이 백업 전력의 공급에 적정한 상해로 항상 유지될 수 있도록, 밧데리 출력을 감지하여 전압 레벨이 부족할 경우에는 외부 전원이 정상 공급될 때 미리 충전시켜 두는 충전제어수단(8, 9, 10)과 ; 외부 전원의 정전시에 상기의 밧데리(7)의 출력 전원을 입력받아, 입력 전원을 데이터 백업을 위해 필요한 컴퓨터 시스템 각부의 적절한 전압(+5V, -5V, +12V, -12V 등)으로 변환하여 공급해 주는 전원 공급수단(12, 13, 14, 14A, 14B, 15)과 ; 외부전원이 정상 공급될때는 상기의 충전 제어수단(8, 9, 10)을 제어하여 상기의 밧데리(7)를 충전시켜두고, 정전 또는 키보드의 액세스 시간 정보를 컴퓨터 시스템으로부터 입력받아, 이로부터 정전이나 절전모드로의 이행으로 판단된 경우에는 상기의 전원 공급수단(12, 13, 14, 14A, 14B, 15)을 동작시켜 상기의 밧데리(7) 출력을 전원공급수단을 통해 컴퓨터 시스템에 임시 공급하면서 컴퓨터 시스템으로 하여금 데이터의 하드 디스크로의 백업을 수행시키고, 백업이 완료되면 전원공급수단에 의한 모든 전원 공급을 차단하며, 외부 전원이 정상 입력되면 컴퓨터 시스템으로 하여금 하드 디스크로부터 데이터의 복구를 수행시키는 제어수단(2, 2A,1)으로 구성함을 특징으로 하는 컴퓨터 시스템의 자동 백업 및 복구장치.Regardless of whether the Resum function is turned on or off on a laptop computer with a Resum function, the data currently being processed is stored in a memory (IC memory; backup RAM) supplied with backup power when the voltage level of the supply power drops below a certain level. A computer device that temporarily stores and then continues information stored in memory from a previous state when the voltage level rises above a certain level, wherein the computer system temporarily restores power of the computer system for backup of data in a power failure or power saving mode. In order to ensure that the battery level 7 supplied to the battery and the voltage level of the battery 7 are always maintained with proper injury for supplying backup power, when the battery output is detected and the voltage level is insufficient, the external power supply is normally supplied. Charge control means (8, 9, 10) which are precharged at the time; In case of external power failure, the output power of the battery 7 is inputted, and the input power is converted into appropriate voltages (+ 5V, -5V, + 12V, -12V, etc.) of each part of the computer system necessary for data backup. Power supply means (12, 13, 14, 14A, 14B, 15) for supplying; When the external power is normally supplied, the charging control means 8, 9, and 10 are controlled to charge the battery 7, and the power failure or keyboard access time information is input from the computer system. Or when it is determined that the device enters the power saving mode, the power supply means 12, 13, 14, 14A, 14B, and 15 are operated to temporarily supply the output of the battery 7 to the computer system through the power supply means. The computer system performs a backup of the data to the hard disk, cuts off all power supply by the power supply means when the backup is completed, and causes the computer system to recover data from the hard disk when the external power is normally input. Automatic backup and recovery apparatus for a computer system, characterized in that consisting of control means (2, 2A, 1). 레줌 기능을 가는 랩톱 컴퓨터에서 레줌 기능의 온, 오프 여부에 관계없이, 공급전원의 전압 크기가 일정한 이하로 떨어지면 현재 처리중에 있던 데이터들을 백업 전력의 공급을 받는 메모리(IC메모리 ; 백업 RAM)에 일시 저장하였다가, 전압 크기가 일정한 크기 이상으로 올라가면 메모리에 저장되어 있던 정보를 그 이전의 상태로부터 계속 속행하게 하는 컴퓨터의 백업제어 방법에 있어서, 외부 전원이 입력되면 제어부단(1, 2, 2A)의 충전 제어수단(8, 9, 10)을 제어해서, 백업용 밧데리(7)의 출력 전압 레벨을 감지하여 충전여부를 판단하고, 상기의 판단 결과 충전이 요구되는 레벨이면 밧데리(7)의 출력 전압 레벨을 감지하여 충전 여부를 판단하고, 상기의 판단 결과 충전이 요구되는 레벨이면 밧데리(7)를 충전시켜 주는 제 1 과정과 ; 상기 제 1 과정에 이어서 컴퓨터의 키보드 액세스 시간 간격을 검출하여, 미리 설정해 둔 소정의 기준 시간 이상 컴퓨터 키보드의 액세스가 없는 경우에는 컴퓨터를 절전모드인 서스펜드 모드로 제어하고, 컴퓨터에 상기의 밧데리(7)로부터 전원 공급수단(12, 13, 14, 14A, 14B, 15)을 통해서 컴퓨터 시스템에 백업 전원을 공급하면서 현재 처리중이던 정보들을 하드 디스크에 저장시켜 준 다음 백업이 완료되면 모든 전원(12, 13, 14, 14A, 14B, 15)을 오프시켜 주는 제 2 과정과 ; 상기의 전과정 수행중에 외부 전과정 수행중에 외부 전원의 오프(정전)여부를 감지하여 정전시에는 컴퓨터에 밧데리(7)로부터 전원을 공급수단(12, 13, 14, 14A, 14B, 15)을 통해서 백업전원을 공급하면서 현재 처리중이던 정보들을 하드 디스크에 저장시켜 준 다음 백업이 완료되면 모든 전원(12, 13, 14, 14A, 14B, 15)을 오프시켜 주는 제 3 과정과 ; 상기의 제 2 과정중 서스펜드 모드중에 임의의 키가 눌려지면 서스펜드 모드를 해제하고 하드 디스크에 백업되었던 정보들을 복구시켜 주며, 상기의 제 3 과정 이후에 정전이 복구되면 하드 디스크에 백업되었던 정보들을 복구시켜 주는 제 4 과정으로 이루어짐을 특징으로 하는 컴퓨터 시스템의 자동 백업 및 복구장치.Regardless of whether the Resum function is turned on or off in a laptop computer with a Resum function, when the voltage level of the power supply drops below a certain level, the data currently being processed is temporarily stored in a memory (IC memory; backup RAM) supplied with backup power. In the backup control method of a computer that continues to store the information stored in the memory from the previous state when the voltage level rises above a certain size, when the external power is input, the control unit (1, 2, 2A) The charging control means 8, 9, and 10 to sense the output voltage level of the backup battery 7 to determine whether it is charged, and if the level is required to charge, the output voltage of the battery 7 is determined. A first process of sensing a level to determine whether to charge and charging the battery 7 if the level is required to be charged; Subsequently to the first step, the computer detects the keyboard access time interval, and if there is no access of the computer keyboard for more than a predetermined reference time, the computer is controlled in the suspend mode, which is a power saving mode, and the computer is connected to the battery (7). Power supply means (12, 13, 14, 14A, 14B, 15) to supply the backup power to the computer system and save the current processing information to the hard disk, and then backup all the power (12, 13) 2, 14, 14A, 14B, 15) off; During the whole process, the external power is sensed off (outage) during the execution of the whole process, and in case of power failure, the computer backs up through the power supply means (12, 13, 14, 14A, 14B, 15) from the battery (7). A third step of saving power currently being processed while powering on the hard disk, and then turning off all power (12, 13, 14, 14A, 14B, 15) when the backup is completed; If any key is pressed during the suspend mode during the second process, the suspend mode is released and the information backed up to the hard disk is restored.If the power failure is restored after the third process, the information backed up to the hard disk is restored. Automatic backup and recovery device for a computer system, characterized in that consisting of a fourth process.
KR1019930000319A 1993-01-12 1993-01-12 Automatic back-up and recovery device and method in computer systems KR950013264B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1019930000319A KR950013264B1 (en) 1993-01-12 1993-01-12 Automatic back-up and recovery device and method in computer systems
PCT/KR1994/000002 WO1994016377A1 (en) 1993-01-12 1994-01-12 Automatic backup and restoring device and method of computer system
AU58663/94A AU5866394A (en) 1993-01-12 1994-01-12 Automatic backup and restoring device and method of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930000319A KR950013264B1 (en) 1993-01-12 1993-01-12 Automatic back-up and recovery device and method in computer systems

Publications (2)

Publication Number Publication Date
KR940018749A KR940018749A (en) 1994-08-18
KR950013264B1 true KR950013264B1 (en) 1995-10-26

Family

ID=19349566

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930000319A KR950013264B1 (en) 1993-01-12 1993-01-12 Automatic back-up and recovery device and method in computer systems

Country Status (3)

Country Link
KR (1) KR950013264B1 (en)
AU (1) AU5866394A (en)
WO (1) WO1994016377A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100502400B1 (en) * 1997-07-31 2005-11-03 삼성전자주식회사 Computer and method for selecting controls of peripheral storage devices
KR100472179B1 (en) * 1997-08-11 2005-07-07 삼성전자주식회사 Computers and Methods to Securely Store System Configuration Data
KR19990052965A (en) * 1997-12-23 1999-07-15 구자홍 How to save data on your personal computer
KR20010067593A (en) * 2001-02-19 2001-07-13 심건 The equipment with auto parking when power failure and auto start when recovered from power failure
KR20030072683A (en) * 2002-03-06 2003-09-19 주식회사 파워뱅크 Computer Function Status Storage Method at A Stoppage of Electric Current
KR20020067028A (en) * 2002-07-25 2002-08-21 두산티엠에스주식회사 External Standalone Database Management Device
US7131011B2 (en) 2002-10-30 2006-10-31 Microsoft Corporation System and method for preserving state data of a personal computer in a standby state in the event of an AC power failure
KR101587951B1 (en) * 2015-04-24 2016-01-25 주식회사 삼보컴퓨터 Apparatus and method for backupping memory
CN110825206B (en) * 2019-11-13 2024-03-19 沧州师范学院 Computer integrated system and fault automatic switching method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2166893B (en) * 1984-10-05 1988-03-23 Sharp Kk Checking memory at system power-up
EP0426764A1 (en) * 1988-09-23 1991-05-15 Astec International Limited Computer memory backup system
US5410712A (en) * 1990-10-16 1995-04-25 Kabushiki Kaisha Toshiba Computer system equipped with extended unit including power supply
EP0481508B1 (en) * 1990-10-18 1997-04-09 Seiko Epson Corporation Back-up/restore information processing system

Also Published As

Publication number Publication date
KR940018749A (en) 1994-08-18
AU5866394A (en) 1994-08-15
WO1994016377A1 (en) 1994-07-21

Similar Documents

Publication Publication Date Title
US5825100A (en) Intelligent battery power system
US5414861A (en) Data protection system using different levels of reserve power to maintain data in volatile memories for any period of time
US6274949B1 (en) Back-up power accessory for a computer
US5835780A (en) Apparatus and method for controlling power supply for computer system during service interruption
JP2769082B2 (en) Power distribution management system for portable computers
US5809223A (en) Network hibernation system and a control method thereof
US6601181B1 (en) Uninterruptible power supply apparatus and method
EP0484745B1 (en) Apparatus for controlling the power supply in a computer system
CN101424970A (en) Portable computer and method of controlling power saving mode of portable computer
KR950013264B1 (en) Automatic back-up and recovery device and method in computer systems
EP2843502A1 (en) Information processing device, information processing method, and program
US6408397B1 (en) Using RTC wake-up to enable recovery from power failures
US20040103343A1 (en) Method and related computer for processing suspend to ram during power failure
US11099621B2 (en) Real time clock battery power management
JPH06335172A (en) Information processor
JPS63217455A (en) Ram back-up system
WO1999067703A1 (en) Automatic resumption of computer operation following power failure
KR20000025277A (en) Power control circuit of portable electronic apparatus
JPH0594237A (en) Power source controller
KR100577800B1 (en) Automatic back-up device and method for computer system
JPS626315A (en) Memory back-up device for microcomputer
JP3087451B2 (en) Backup power control method
KR20050112171A (en) Method for storing data using battery in computer and apparatus thereof
JPH0628267A (en) Information processor
JP3396417B2 (en) Backup device

Legal Events

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