KR19980046140A - Control method of computer system - Google Patents

Control method of computer system Download PDF

Info

Publication number
KR19980046140A
KR19980046140A KR1019960064432A KR19960064432A KR19980046140A KR 19980046140 A KR19980046140 A KR 19980046140A KR 1019960064432 A KR1019960064432 A KR 1019960064432A KR 19960064432 A KR19960064432 A KR 19960064432A KR 19980046140 A KR19980046140 A KR 19980046140A
Authority
KR
South Korea
Prior art keywords
suspend
disk
flag
resume
ram
Prior art date
Application number
KR1019960064432A
Other languages
Korean (ko)
Inventor
오재철
Original Assignee
김광호
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김광호, 삼성전자 주식회사 filed Critical 김광호
Priority to KR1019960064432A priority Critical patent/KR19980046140A/en
Publication of KR19980046140A publication Critical patent/KR19980046140A/en

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Power Sources (AREA)

Abstract

본 발명은 배터리(battery)를 사용하여 구동되는 컴퓨터 시스템에서 로우 배터리 레벨(low battery level)시 작업 상태를 보호하기 위한 제어 방법에 관한 것으로, 로우 배터리 발생시 서스팬드 모드 설정에 따라 SUSPEND_TO_RAM 또는 SUSPEND_TO_DISK가 수행되고, 이에 따라 메인 메모리에 SUSPEND_TO_RAM 플래그 CMOS에 SUSPEND_TO_DISK 플래그가 설정된다. 그러므로 리줌시에 이 플래그를 판단하여 SUSPEND_TO_RAM으로 리즘을 수행할 것인가 또는 SUSPEND_TO_DISK로 수행할 것인가를 판단하여 리줌을 수행한다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method for protecting a work state during a low battery level in a computer system driven by using a battery. And the SUSPEND_TO_DISK flag is set in the SUSPEND_TO_RAM flag CMOS in the main memory accordingly. Therefore, this flag is judged at the time of resume to determine whether to perform the rhythm with SUSPEND_TO_RAM or SUSPEND_TO_DISK to perform the resume.

Description

컴퓨터 시스템의 제어방법(A METHOD OF CONTROL A COMPUTER SYSTEM)A METHOD OF CONTROL A COMPUTER SYSTEM

본 발명은 컴퓨터 시스템(computer system)의 제어방법에 관한 것으로서, 구체적으로는 배터리(battery)를 사용하여 구동되는 컴퓨터 시스템에서 로우 배터리 레벨(low battery level)시 작업 상태를 보호하기 위한 제어 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method of a computer system, and more particularly, to a control method for protecting a work state at a low battery level in a computer system driven using a battery. will be.

현재 휴대용 컴퓨터(portable computer)는 전원 공급 수단으로서 충전하여 재사용 가능한 배터리를 사용하고 있다. 또한 이와 병행하여 AC 어댑터를 이용하여 일반 상용 전원으로부터 전원을 공급받아 사용하기도 한다.Currently, portable computers use a battery that can be recharged and recharged as a power supply means. In addition, the AC adapter is also used to receive power from a commercial power source.

배터리를 이용하여 전원을 공급받아 사용하는 경우, 배터리의 장시간 사용으로 인하여 배터리의 전압 레벨이 소정의 전압 레벨 이하로 낮아져 정상적인 동작이 불가능한 경우가 발생한다. 이러한 경우를 로우 배터리(low battery)라 하는데, 로우 배터리 발생시 현재 작업 중인 데이터를 안전하게 보호하고 사용자에게 이를 경고하고는 기능을 구비하고 있다.When the battery is supplied with power and used, the battery may have a low voltage level below a predetermined voltage level due to prolonged use of the battery, thereby preventing normal operation. Such a case is referred to as a low battery, and when a low battery occurs, the current data is safely protected and the user is alerted.

이와 같이 로우 배터리가 발생되면, 로우 배터리 경고를 발생하고 서스팬드 모드(suspend mode)를 수행함으로 배터리 사용을 줄이거나 거의 발생하지 않도록 한다. 현 작업 상태를 보호하기 위해, 작업중인 데이터 등을 휴대용 컴퓨터의 메인 메모리(main memory)에 저장하거나, 하드 디스크(hard disk)에 저장하여 데이터의 유실을 방지한다. 이때 메인 메모리를 사용하는 것은 'SUSPEND_TO_RAM'라 하고, 하드 디스크에 저장하는 것을 'SUSPEND_TO_DISK'라 한다.When a low battery is generated in this manner, a low battery warning is generated and a suspend mode is performed to reduce or rarely generate battery usage. In order to protect the current working state, the working data or the like is stored in the main memory of the portable computer or in a hard disk to prevent the loss of data. In this case, the main memory is called 'SUSPEND_TO_RAM' and the storage on the hard disk is called 'SUSPEND_TO_DISK'.

그런데 이러한 방법에는 각각 문제점을 가지고 있다.However, each of these methods has a problem.

먼저 SUSPEND_TO_RAM의 경우는 사용자가 실수로 방전된 배터리를 장착하는 경우 문제가 발생된다. 메인 메모리에 저장된 작업 상태를 복원하는 과정인 리줌 모드(resume mode)시에 방전된 배터리를 장착하여 리줌 모드를 수행하다가 서스팬드 모드로 다시 되지 못하고 파워 오프(power off)가 되어 메인 메모리에 저장된 데이터가 유실 될 수 있는 문제점이 있다.In the case of SUSPEND_TO_RAM, a problem occurs when a user installs a battery that is accidentally discharged. In the resume mode, which is a process of restoring the work state stored in the main memory, a discharged battery is installed to perform the resume mode, but the power is turned off instead of the suspend mode. There is a problem that data can be lost.

그리고 SUSPEND_TO_DISK의 경우는 SUSPEND_TO_RAM의 경우와 같이 파워 오프가 되더라도 데이터는 하드디스크에 저장되어 있으므로 데이터를 유실하는 경우는 발생하지 않으나 리줌 모드의 수행 시간이 느리다는 문제점이 있다.In the case of SUSPEND_TO_DISK, the data is stored on the hard disk even when the power is turned off, as in the case of SUSPEND_TO_RAM. However, the loss of data does not occur but the execution time of the resume mode is slow.

본 발명의 목적은 상술한 문제점을 해결하기 위해 제안된 것으로서, 로우 배터리 발생시 작업중인 데이터를 안전하게 보호하며, 안전하게 원 상태로 복구하기 위한 컴퓨터 시스템의 제어 방법을 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problem, and to provide a control method of a computer system for safely protecting data in operation when a low battery occurs and restoring to a safe state.

도 1은 컴퓨터 시스템의 일반적인 구성을 보여주는 블록도,1 is a block diagram showing a general configuration of a computer system,

도 2 및 도 3은 본 발명의 실시예에 따른 컴퓨터 시스템의 제어 방법으로서,2 and 3 is a control method of a computer system according to an embodiment of the present invention,

도 2는 서스팬드 모드 수행에 따른 제어 흐름도이고,2 is a control flowchart according to a suspend mode execution;

도 3은 리줌 모드 수행에 따른 제어 흐름도이다.3 is a flowchart illustrating control of performing a resume mode.

(구성)(Configuration)

상술한 목적을 달성하기 위한 본 발명의 특징에 의하면, 컴퓨터 시스템의 제어방법은 : (1) 배터리의 잔여 용량을 검사하는 단계와; (2) 배터리 레벨이 로우 배터리 레벨인 경우, 현재 컴퓨터 시스템의 서스팬드 모드 설정을 판단하고, 이에 따라 SUSPEND_TO_RAM 및 SUSPEND_TO_DISK를 수행하며, 각각 SUSPEND_TO_RAM 플래그 및 SUSPEND_TO_DISK 플래그를 설정하는 단계와; (3) 서스팬드 모드로 진입하여 전류 소비를 극소화시키는 단계와; (4) 리줌 액티브 및, 리줌 조건인가를 판단하는 단계와; (5) 리줌 조건시 서스팬드 모드를 검사하여 해당되는 리줌 모드를 수행하는 단계와; (6) 배터리 용량을 검사하여 리줌 실패 레벨 보다 높은가를 판단하고 그에 따라 리줌 또는 파워 오프하는 단계를 포함한다.According to a feature of the present invention for achieving the above object, a control method of a computer system comprises: (1) checking the remaining capacity of a battery; (2) if the battery level is a low battery level, determining the suspend mode setting of the current computer system and performing SUSPEND_TO_RAM and SUSPEND_TO_DISK accordingly, and setting the SUSPEND_TO_RAM flag and the SUSPEND_TO_DISK flag, respectively; (3) entering suspend mode to minimize current consumption; (4) determining whether the resume is active and a resume condition; (5) inspecting the suspend mode in the resume condition to perform a corresponding resume mode; (6) checking the battery capacity to determine if it is higher than the resume failure level and to resume or power off accordingly.

이 실시예에 있어서, 상기 단계 (1)은, 배터리의 전압 레벨을 검사하는 단계와; 현재 배터리의 잔여 용량이 로우 배터리 레벨인가를 판단하는 단계를 포함한다.In this embodiment, the step (1) comprises: checking the voltage level of the battery; Determining whether the remaining capacity of the current battery is a low battery level.

이 실시예에 있어서, 상기 단계 (2)는, 배터리 레벨이 로우 배터리 레벨인 경우, 현재 컴퓨터 시스템의 서스팬드 모드 설정이 SUSPEND_TO_DISK인가 판단하는 단계와; SUSPEND_TO_DISK로 설정되어 있지 않은 경우, SUSPEND_TO_RAM을 수행하고, SUSPEND_TO_RAM 플래그를 설정하는 단계와; SUSPEND_TO_DISK로 설정되어 있는 경우 또는 상기 SUSPEND_TO_RAM의 수행 후 SUSPEND_TO_DISK를 수행하고, SUSPEND_TO_DISK 플래그를 설정하는 단계를 포함한다.In this embodiment, the step (2) comprises: if the battery level is a low battery level, determining whether the suspend mode setting of the current computer system is SUSPEND_TO_DISK; If it is not set to SUSPEND_TO_DISK, performing SUSPEND_TO_RAM and setting a SUSPEND_TO_RAM flag; If it is set to SUSPEND_TO_DISK or after performing the SUSPEND_TO_RAM, performing SUSPEND_TO_DISK and setting the SUSPEND_TO_DISK flag.

이 실시예에 있어서, 상기 단계 (4)는, 리줌 액티브인가를 검사하는 단계와; 리줌 조건인가를 판단하고, 리줌 조건이 아닌 경우 리줌 액티브 단계로 진행하여 반복 수행하는 단계를 포함한다.In this embodiment, the step (4) comprises: checking for resume active; Determining whether the resume condition is true, and if the resume condition is not a resume condition, proceeding to the resume active step and repeatedly performing the resume condition.

이 실시예에 있어서, 상기 단계 (5)는, 리줌 조건인 경우, 서스팬드 모드를 검사하는 단계와; SUSPEND_TO_DISK 조건인가를 판단하는 단계와; SUSPEND_TO_DISK 조건이 아닌 경우, SUSPEND_TO_RAM 플래그를 유지하고 리줌 모드를 수행하는 단계와; SUSPEND_TO_DISK 조건인 경우는 SUSPEND_TO_DISK 플래그를 유지하고 리줌 모드를 수행하는 단계를 포함한다.In this embodiment, the step (5) comprises: checking the suspend mode when the resume condition is present; Determining whether the condition is a SUSPEND_TO_DISK condition; If not in the SUSPEND_TO_DISK condition, maintaining the SUSPEND_TO_RAM flag and performing a resume mode; In the case of the SUSPEND_TO_DISK condition, maintaining the SUSPEND_TO_DISK flag and performing a resume mode.

이 실시예에 있어서, 상기 단계 (6)은, 배터리 용량을 검사하는 단계와; 배터리 잔여 용량이 리줌 실패 레벨 보다 높은가를 판단하는 단계와; 높은 경우, 리줌 모드를 진행하는 단계와; 낮은 경우, 파워 오프되는 단계를 포함한다.In this embodiment, the step (6) comprises: checking battery capacity; Determining whether the battery remaining capacity is higher than the resume failure level; If high, proceeding to a resume mode; If low, powering off.

이 실시예에 있어서, 상기 SUSPEND_TO_RAM 플래그는 휘발성 메모리에 설정되고, 상기 SUSPEND_TO_DISK 플래그는 불휘발성 메모리에 설정되는 컴퓨터 시스템의 제어방법.In this embodiment, the SUSPEND_TO_RAM flag is set in volatile memory, and the SUSPEND_TO_DISK flag is set in nonvolatile memory.

(작용)(Action)

상기와 같은 본 발명에 의하면, 로우 배터리 발생시 서스팬드 모드 설정에 따라 SUSPEND_TO_RAM 및 SUSPEND_TO_DISK 또는 SUSPEND_TO_DISK 가 수행되므로 반드시 SUSPEND_TO_DISK는 수행되어 작업중인 데이터는 반드시 보호되며, 리줌에 따른 수행 속도는 더욱 빠르게 된다.According to the present invention as described above, SUSPEND_TO_RAM and SUSPEND_TO_DISK or SUSPEND_TO_DISK is performed according to the suspend mode setting when the low battery occurs, so that SUSPEND_TO_DISK is performed to protect the working data, and the execution speed according to resume is faster.

(실시예)(Example)

이하 본 발명의 실시예를 첨부된 도면에 의거하여 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 컴퓨터 시스템의 일반적인 구성을 보여주는 블록도이다.1 is a block diagram showing a general configuration of a computer system.

도 1을 참조하여, 배터리(10)로부터 내부의 전원이 공급되고, 마이컴(30)은 배터리의 충전레벨을 감지하여 소정의 레벨보다 이하일 경우는 SMI를 발생하게된다. 이에 응답하여 CPU(20)는 해당되는 제어기능이 수행하는데, 상기 CPU(20)는 ROM(50), 일반적으로 롬 바이오스(ROM BIOS)의 작업상태를 보호하기 위한 소정의 제어따라 메모리, 예컨데 RAM(60), 하드디스크(70)를 이용하여 해당되는 수행한다.Referring to FIG. 1, the internal power is supplied from the battery 10, and the microcomputer 30 detects the charging level of the battery and generates an SMI when it is lower than a predetermined level. In response to this, the CPU 20 performs a corresponding control function. The CPU 20 is a memory according to a predetermined control for protecting a working state of the ROM 50, generally, a ROM BIOS. 60, the hard disk 70 to perform the corresponding.

구체적으로, 배터리를 사용하는 휴대용 컴퓨터에서 로우 배터리가 발생되어 더 이상 정상적인 시스템 구동이 불가능할 때 서스팬드 모드를 수행하게 되는데 이때 시스템의 셋업 설정시 설정되는 SUSPEND_TO_RAM의 인에이블(enable) 여부를 판단하여 해당되는 모드를 수행한다. 즉, SUSPEND_TO_RAM과 SUSPEND_TO_DISK 중 한 모드를 수행한다. 이때, 서스팬드 모드 수행에 따른 해당 플래그를 설정하여 이를 판단할 수 있게 한다. SUSPEND_TO_RAM 수행시 플래그 저장 및 리줌 모드 수행시 이 플래그를 판단하는 방법은 다음과 같다.Specifically, when a low battery is generated in a portable computer using a battery, and the normal system operation is no longer possible, the suspend mode is performed. At this time, it is determined whether to enable the SUSPEND_TO_RAM set when the system is set up. Run the appropriate mode. That is, it performs one of SUSPEND_TO_RAM and SUSPEND_TO_DISK. In this case, it is possible to determine this by setting a corresponding flag according to the execution of the suspend mode. The flag is determined when the flag is stored and the resume mode is executed when SUSPEND_TO_RAM is executed.

플래그의 저장은 CMOS 메모리와 메인 메모리에 각각 플래그를 설정하게 된다. 정상적인 SUSPEND_TO_RAM의 경우는 두 곳 모두 플래그가 설정되어 있으며, 리줌 실패된 SUSPEND_TO_RAM의 경우는 매인 메모리의 플래그가 리셋(reset) 된다. 따라서, 리줌시 이 플래그의 상태를 판단하여 SUSPEND_TO_RAM으로 리줌을 수행할 것인가 또는 SUSPEND_TO_DISK로 리줌을 수행할 것인가를 판단한다.Storing the flag sets the flag in the CMOS memory and the main memory respectively. In case of normal SUSPEND_TO_RAM, flags are set in both places. In case of resume failure, SUSPEND_TO_RAM, the flag of main memory is reset. Therefore, the status of this flag is determined at the time of resume, and it is determined whether the resume is performed by SUSPEND_TO_RAM or the resume is performed by SUSPEND_TO_DISK.

SUSPEND_TO_DISK 수행시에는 SUSPEND_TO_DISK 플래그를 CMOS에 설정하고, SUSPEND_TO_RAM 수행시에는 메인 메모리에 SUSPEND_TO_RAM 플래그를 설정한다. 그리고 메인 메모리에 설정되는 서스팬드 모드 플래그는 다중 비트를 이용하여 플래그 설정을 한다. 왜냐하면, 비정상적인 파워 오프 후에 파워 온시에 메인 메모리가 완전히 클리어 되지 않을 수도 있으므로 1비트에 이한 플래그 설정은 신뢰성이 약하기 때문이다.The SUSPEND_TO_DISK flag is set in CMOS when SUSPEND_TO_DISK is executed, and the SUSPEND_TO_RAM flag is set in main memory when SUSPEND_TO_RAM is executed. The suspend mode flag set in the main memory sets a flag using multiple bits. Because the main memory may not be completely cleared at power on after abnormal power off, a flag setting of 1 bit or less is not reliable.

리줌시에는 서스팬드 모드 플래그를 통하여 서스팬드 타입을 검사하고, 해당되는 방법으로 리줌을 수행한다. 이때 배터리 용량이 리줌후 정상적으로 동작 될 수 있는가를 판단하게 된다. 이 기준은 리줌 실패 레벨보다는 높지만 리줌 실패 경고 발생후 서스팬드 모드를 재 수행하기 어려운 레벨을 설정하여 리줌 동작의 정상적 완료 여부를 판단할 수 있게 한다.At the time of resume, the suspend type is checked through the suspend mode flag, and the resume is performed in a corresponding method. At this time, it is determined whether the battery capacity can operate normally after the resumption. This criterion sets the level higher than the resume failure level but difficult to resume the suspend mode after the resume failure warning.

이상과 같은 본 발명의 실시예를 첨부 도면 도 2 및 도 3을 참조하여 상세히 설명한다.Embodiments of the present invention as described above will be described in detail with reference to FIGS. 2 and 3.

도 2 및 도 3은 본 발명의 실시예에 따른 컴퓨터 시스템의 제어 방법으로서, 도 2는 서스팬드 모드 수행에 따른 제어 흐름도이고, 도 3은 리줌 모드 수행에 따른 제어 흐름도이다.2 and 3 are control methods of a computer system according to an embodiment of the present invention, FIG. 2 is a control flowchart according to a suspend mode, and FIG. 3 is a control flowchart according to a resume mode.

도 2를 참조하여, 먼저 단계 S110에서는 배터리의 전압 레벨을 검사하고, 이어 단계 S120에서는 현재 배터리의 잔여 용량이 로우 배터리 레벨인가를 판단한다. 이때 로우 배터리 레벨인 경우, 단계 S210으로 진행하여 현재 컴퓨터 시스템의 서스팬드 모드 설정이 SUSPEND_TO_DISK인가를 판단한다. SUSPEND_TO_DISK로 설정되어 있지 않은 경우는, 단계 S220으로 진행하여 SUSPEND_TO_RAM을 수행한다. 이때 메인 메모리에 서스팬드 모드 플래그를 설정한다.Referring to FIG. 2, first, in step S110, the voltage level of the battery is inspected, and then in step S120, it is determined whether the remaining capacity of the current battery is a low battery level. If it is the low battery level, the process proceeds to step S210 to determine whether the suspend mode setting of the current computer system is SUSPEND_TO_DISK. If it is not set to SUSPEND_TO_DISK, the flow advances to step S220 to perform SUSPEND_TO_RAM. At this time, the suspend mode flag is set in the main memory.

그리고 SUSPEND_TO_DISK 모드로 설정되어 있는 경우는, 단계 S230으로 진행하여 SUSPEND_TO_DISK를 수행하고, CMOS에 서스팬드 모드 플래그를 설정한다. 그리고 상기 단계 S220에서 SUSPEND_TO_RAM을 수행한 후에는 상기 단계 S230이 수행되어 SUSPEND_TO_DISK를 수행하게 된다. 이상의 단계가 진행된 후, 단계 S300에서 휴대용 컴퓨터는 서스팬드 모드로 진입하여 전류 소비를 극소화시킨다.If it is set in the SUSPEND_TO_DISK mode, the flow advances to step S230 to perform SUSPEND_TO_DISK, and sets the suspend mode flag in the CMOS. After performing SUSPEND_TO_RAM in step S220, step S230 is performed to perform SUSPEND_TO_DISK. After the above steps have been carried out, in step S300 the portable computer enters the suspend mode to minimize the current consumption.

이상과 같이 서스팬드 모드의 수행 중 사용자가 배터리를 교채하면 시스템은 이를 감지하여 리줌 모드를 수행하게 된다. 이하 리줌 모드 수행에 따른 제어 단계를 이하 도 3을 참조하여 설명한다.As described above, when the user replaces the battery while the suspend mode is performed, the system detects this and performs the resume mode. Hereinafter, a control step according to the resume mode will be described with reference to FIG. 3.

도 3을 참조하여, 단계 S410에서는 리줌 액티브(resume active)인가를 검사하고, 단계 S420에서는 리줌 조건인가를 판단하여 아닌 경우는 상기 단계 S410으로 진행하여 반복 수행되고, 리줌 조건인 경우는 단계 S510으로 진행한다.Referring to FIG. 3, in step S410, it is checked whether the resume is active, and in step S420, if it is determined that the resume condition is not, the process proceeds to step S410, and in the case of the resume condition, step S510 is performed. Proceed.

단계 S510에서는 서스팬드 모드를 검사한다. 이어 단계 S520에서는 SUSPEND_TO_DISK 조건인가를 판단하고, 아닌 경우는 단계 S530으로 진행하여 SUSPEND_TO_RAM 플래그를 유지하고 리줌 모드를 수행한다. SUSPEND_TO_DISK 조건인 경우는 SUSPEND_TO_DISK 플래그를 유지하고 리줌 모드를 수행한다.In step S510, the suspend mode is checked. In step S520, it is determined whether the SUSPEND_TO_DISK condition exists. If not, the process proceeds to step S530, where the SUSPEND_TO_RAM flag is maintained and the resume mode is performed. In the case of the SUSPEND_TO_DISK condition, the SUSPEND_TO_DISK flag is maintained and resume mode is performed.

상기 단계 S530 및 S540에 이어 단계 S610에서는 배터리 용량을 검사하고, 이어 단계 S620에서는 배터리 잔여 용량이 리줌 실패 레벨 보다 높은가를 판단한다. 높은 경우는 단계 S630으로 진행하여 리줌 모드를 진행하고, 낮은 경우는 단계 S640 으로 진행하여 파워 오프 한다.Subsequent to the above steps S530 and S540, in step S610, the battery capacity is inspected, and in step S620, it is determined whether the remaining battery capacity is higher than the resume failure level. If it is high, the process proceeds to step S630 to resume the mode, and if it is low, the process proceeds to step S640 to power off.

이상과 같이 SUSPEND_TO_RAM과 SUSPEND_TO_DISK를 동시에 지원하므로 짧은 시간에 리줌 모드를 수행 할 수 있다. 그리고 방전된 배터리를 사용하여 리줌 모드를 수행하는 경우가 발생하여 메인 메모리에 저장된 데이터가 손실되더라도 하드 디스크에 해당되는 데이터가 저장되어 있으므로 실수로 인한 데이터의 손실을 방지 할 수 있다.As above, SUSPEND_TO_RAM and SUSPEND_TO_DISK are supported at the same time, so the resume mode can be performed in a short time. When the resume mode is performed using a discharged battery, even if data stored in the main memory is lost, data corresponding to the hard disk is stored, thereby preventing accidental data loss.

이상과 같은 본 발명에 의하면, 로우 배터리 발생시 사용자의 실수로 인한 불안정한 리줌 모드 수행시 데이터의 유실을 방지하며, SUSPEND_TO_RAM에서 SUSPEND_TO_DISK로 전환시 리줌 모드의 수행 후 다시 SUSPEND_TO_DISK를 수행해야 하는 불안정한 동작을 방지하게 된다.According to the present invention as described above, it is possible to prevent the loss of data when the unstable resume mode due to the user's mistake when the low battery occurs, and to prevent the unstable operation of performing the SUSPEND_TO_DISK again after performing the resume mode when switching from SUSPEND_TO_RAM to SUSPEND_TO_DISK. do.

Claims (4)

배터리를 구비한 컴퓨터 시스템의 제어 방법에 있어서 :In the control method of a computer system with a battery: (1) 배터리의 잔여 용량을 검사하는 단계(S100)와;(1) checking the remaining capacity of the battery (S100); (2) 배터리 레벨이 로우 배터리 레벨인 경우, 현재 컴퓨터 시스템의 서스팬드 모드 설정을 판단하고, 이에 따라 SUSPEND_TO_RAM 및 SUSPEND_TO_DISK를 수행하며, 각각 SUSPEND_TO_RAM 플래그 및 SUSPEND_TO_DISK 플래그를 설정하는 단계(S200)와;(2) if the battery level is a low battery level, determining the suspend mode setting of the current computer system, performing SUSPEND_TO_RAM and SUSPEND_TO_DISK accordingly, and setting the SUSPEND_TO_RAM flag and the SUSPEND_TO_DISK flag, respectively (S200); (3) 서스팬드 모드로 진입하여 전류 소비를 극소화시키는 단계(S300)와;(3) entering the suspend mode to minimize current consumption (S300); (4) 리줌 액티브 및, 리줌 조건인가를 판단하는 단계(S400)와;(4) determining a resume active and a resume condition (S400); (5) 리줌 조건시 서스팬드 모드를 검사하여 해당되는 플레그를 유지하고 리줌 모드를 수행하는 단계(S500)와;(5) checking the suspend mode in the resume condition to maintain the corresponding flag and perform the resume mode (S500); (6) 배터리 용량을 검사하여 리줌 실패 레벨 보다 높은가를 판단하고 그에 따라(6) Check the battery capacity to determine if it is higher than the resume failure level and accordingly 리줌 또는 파워 오프하는 단계(S600)를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 제어방법.Resuming or powering off (S600) control method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 단계 (2)는, 배터리 레벨이 로우 배터리 레벨인 경우, 현재 컴퓨터 시스템의 서스팬드 모드 설정이 SUSPEND_TO_DISK인가 판단하는 단계(S210)와;Step (2) includes determining whether the suspend mode setting of the current computer system is SUSPEND_TO_DISK when the battery level is a low battery level (S210); SUSPEND_TO_DISK로 설정되어 있지 않은 경우, SUSPEND_TO_RAM을 수행하고, SUSPEND_TO_RAM 플래그를 설정하는 단계(S220)와;If it is not set to SUSPEND_TO_DISK, performing SUSPEND_TO_RAM and setting a SUSPEND_TO_RAM flag (S220); SUSPEND_TO_DISK로 설정되어 있는 경우 또는 상기 SUSPEND_TO_RAM의 수행 후 SUSPEND_TO_DISK를 수행하고, SUSPEND_TO_DISK 플래그를 설정하는 단계(S200)를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 제어방법.And setting the SUSPEND_TO_DISK flag and setting the SUSPEND_TO_DISK flag when the SUSPEND_TO_DISK is set or after the SUSPEND_TO_RAM is performed. 제 1 항에 있어서,The method of claim 1, 상기 SUSPEND_TO_RAM 플래그는 휘발성 메모리에 설정되고, 상기 SUSPEND_TO_DISK 플래그는 불휘발성 메모리에 설정되는 것을 특징으로 하는 컴퓨터 시스템의 제어방법.And the SUSPEND_TO_RAM flag is set in a volatile memory and the SUSPEND_TO_DISK flag is set in a nonvolatile memory. 제 1 항에 있어서,The method of claim 1, 상기 SUSPEND_TO_RAM 플래그는 다중 비트를 사용하여 설정하는 것을 특징으로 하는 컴퓨터 시스템의 제어방법.And the SUSPEND_TO_RAM flag is set using multiple bits.
KR1019960064432A 1996-12-11 1996-12-11 Control method of computer system KR19980046140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960064432A KR19980046140A (en) 1996-12-11 1996-12-11 Control method of computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960064432A KR19980046140A (en) 1996-12-11 1996-12-11 Control method of computer system

Publications (1)

Publication Number Publication Date
KR19980046140A true KR19980046140A (en) 1998-09-15

Family

ID=66521933

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960064432A KR19980046140A (en) 1996-12-11 1996-12-11 Control method of computer system

Country Status (1)

Country Link
KR (1) KR19980046140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100970706B1 (en) * 2003-05-09 2010-07-16 엘지전자 주식회사 Method for entering and resuming suspend mode in portable computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100970706B1 (en) * 2003-05-09 2010-07-16 엘지전자 주식회사 Method for entering and resuming suspend mode in portable computer

Similar Documents

Publication Publication Date Title
KR100395131B1 (en) Apparatus and method for displaying charge capacity information of smart battery
US5809223A (en) Network hibernation system and a control method thereof
US5475271A (en) Power source control system for electronic device and expansion unit connected thereto
KR100281535B1 (en) Computer system and its control method
US7028220B2 (en) Methods for saving data on the basis of the remaining capacity of a battery in a suspend mode and resuming operations using the saved data
US6523133B2 (en) Information processing apparatus that can hold internal information
CN111427722A (en) Data storage method and system for abnormal power failure of computer
JPH113151A (en) Hibernation control method for information processor and battery driven electronic equipment
US6442702B1 (en) On-vehicle computer having function of protecting vehicular battery
JPH10198468A (en) Battery controller, information processing system and battery controlling method
JP2005327210A (en) Electronic device
KR19980046140A (en) Control method of computer system
KR19980074058A (en) Computer with power cutoff function and power cutoff method
CN110148992B (en) Charging control method, terminal device and storage medium
JP3133492B2 (en) Information processing device
KR0163572B1 (en) Protecting device for computer system in suspend mode
KR20040097501A (en) Method for data backup in portable electronic device
KR20050112171A (en) Method for storing data using battery in computer and apparatus thereof
KR100426694B1 (en) portable computer and control method therof
JP2854154B2 (en) Processing equipment
WO1999067703A1 (en) Automatic resumption of computer operation following power failure
KR100554769B1 (en) An apparatus and method for detecting battery information in portable computer
KR100215293B1 (en) Battery charge alarm method using cmos ram
JPH05342115A (en) Memory data protecting device against power source interruption
JPH06259172A (en) Battery operation type information processor

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination