KR100455268B1 - Apparatus and method for safe shutdown in system using O/S such as windows 95 - Google Patents

Apparatus and method for safe shutdown in system using O/S such as windows 95 Download PDF

Info

Publication number
KR100455268B1
KR100455268B1 KR1019970019013A KR19970019013A KR100455268B1 KR 100455268 B1 KR100455268 B1 KR 100455268B1 KR 1019970019013 A KR1019970019013 A KR 1019970019013A KR 19970019013 A KR19970019013 A KR 19970019013A KR 100455268 B1 KR100455268 B1 KR 100455268B1
Authority
KR
South Korea
Prior art keywords
power
signal
output
shutdown
power switch
Prior art date
Application number
KR1019970019013A
Other languages
Korean (ko)
Other versions
KR19980083636A (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 KR1019970019013A priority Critical patent/KR100455268B1/en
Publication of KR19980083636A publication Critical patent/KR19980083636A/en
Application granted granted Critical
Publication of KR100455268B1 publication Critical patent/KR100455268B1/en

Links

Images

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

PURPOSE: A method and a device for automatic safe shutdown on a system operated in a Windows95 OS(Operating System) using a power switch are provided to terminate the system after automatically executing the shutdown at the inside of the system without passing a shutdown instruction of the Windows95 only if the power switch is pushed. CONSTITUTION: A signal converter(202) converts/outputs a signal of the first level or a level corresponding to the first level by receiving data. A power switch output controller(203) selects an output direction of the power switch(210) according to an output signal of the signal converter. An interrupt generator(206) generates an interrupt signal by recognizing push of the power switch from the power switch output controller. A main block(200) outputs the data meaning power supply to the signal converter when the power is supplied, and outputs the signal ordering interrupt of a power signal after performing the internal shutdown process at the inside by receiving an interrupt signal from the interrupt generator. A power control microcomputer(204) outputs the signal controlling power supply/interruption according to a state of the power switch and a power interruption command from the main block.

Description

윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치 및 방법{Apparatus and method for safe shutdown in system using O/S such as windows 95}     Apparatus and method for safe shutdown in system using O / S such as windows 95}

본 발명은 윈도우즈 95 운영체제로 동작하는 시스템의 종료에 관한 것으로서, 특히 윈도우즈 95의 종료 명령(shut down)을 수행하지 않고 전원스위치를 직접 조작하여 시스템을 오프할 때, 윈도우즈 95의 종료 명령이 자동적으로 수행되도록 한 안전 셧다운 장치 및 방법에 관한 것이다.The present invention relates to the shutdown of a system operating with the Windows 95 operating system. In particular, when the system is turned off by directly operating the power switch without performing the shutdown command of Windows 95, the shutdown command of Windows 95 is automatically executed. A safety shutdown device and method for performing the same are provided.

일반적으로 윈도우즈 95와 같은 운영체제로 동작하는 시스템은 전원스위치를 조작하기 직전에 윈도우즈 95 종료 명령(이하 셧다운으로 칭함)을 수행해야 한다. In general, a system running an operating system, such as Windows 95, should perform a Windows 95 shutdown command (hereafter referred to as shutdown) just before operating the power switch.

도 1을 참조하여 종래의 윈도우즈95를 운영체제로 하는 시스템의 종료 방법 및 장치를 설명한다. 사용자가 시스템을 오프할 때 운영체제에서 제공하는 셧다운 과정을 수행한다. 사용자는 셧다운 과정을 마친 후 시스템을 종료해도 좋다는 메시지를 기다려 상기 메시지가 나오면 전원스위치(101)를 눌러 시스템을 종료한다. 전원제어 마이콤(102)은 마이콤 전원이 항상 연결되어 준비상태(ready)로 있다가 전원스위치(101)가 눌러졌을 때 전원공급부(103)에 제어신호를 출력하여 전원공급부(103)가 시스템에 전원을 투입 및 차단하도록 한다. A method and device for shutting down a system using a conventional Windows 95 operating system will be described with reference to FIG. 1. When the user turns off the system, the operating system provides a shutdown procedure. The user waits for a message that the system may be terminated after the shutdown process is finished, and when the message appears, the user presses the power switch 101 to terminate the system. The power supply control microcomputer 102 is always in the ready state (ready) is connected to the microcomputer power supply, when the power switch 101 is pressed to output a control signal to the power supply unit 103 power supply unit 103 to power the system Turn on and off.

시스템에 따라서는 일반 데스크탑 PC와 같이 상기의 전원제어 마이콤(102)이 생략되고 전원스위치(101)가 전원공급장치(103)에 직접 연결 되어 전원스위치(101)를 눌러 직접 전원제어장치(103)의 전원을 시스템에 투입 및 차단하도록 된 시스템도 있다. 전원제어 마이콤(102)의 유무와 관계없이, 종래의 시스템에서 셧다운 과정은 전원차단에 대한 운영체제의 대비과정에 해당한다. Depending on the system, the power supply control microcomputer 102 is omitted, and the power switch 101 is directly connected to the power supply device 103 by pressing the power switch 101 as in a general desktop PC. Some systems are designed to turn on and off power to the system. Regardless of whether or not the power control microcomputer 102 is present, the shutdown process in the conventional system corresponds to the preparation of the operating system against the power off.

그러나 사용자가 시스템을 오프하기 위해 항상 수동으로 셧다운 과정을 거쳐야하는 것은 사용상 불편하고 시간적으로 매우 비효율적이다.However, it is inconvenient to use and very inefficient in time for the user to always manually shut down to turn off the system.

본 발명은 상기 문제점을 해결하기 위해 창출된 것으로서, 윈도우즈 95 운영체제로 동작하는 시스템에 시스템 전원을 제어하는 하드웨어가 추가 구성되고 소정의 알고리즘이 설정됨으로써 사용자가 윈도우즈 95의 셧다운 과정을 거치지 않고 전원스위치만으로 시스템을 종료해도 시스템내부에서 자동적으로 셧다운이 실행된 후 시스템이 종료되도록 한 장치 및 방법을 제공하는데 그 목적이 있다. The present invention has been made to solve the above problems, and the hardware for controlling the system power is additionally configured and a predetermined algorithm is set in a system that runs the Windows 95 operating system, so that the user does not go through the shutdown process of Windows 95. It is an object of the present invention to provide an apparatus and method for shutting down a system and automatically shutting down the system and then shutting down the system.

상기의 목적을 달성하기 위한, 본 발명에 따른 윈도우즈 95 운영체제로 동작하는 시스템의 안전한 종료를 위한 개인용 컴퓨터는, 시스템에 전원을 투입 및 차단하기 위해 조작하는 전원스위치, 소정의 데이타를 유입하여 상기 데이터에 따라 제1레벨 또는 제1레벨과 상보되는 레벨의 신호로 전환하여 출력하는 신호전환부, 상기 신호전환부의 출력신호에 따라 상기 전원스위치의 출력 방향을 선택하는 전원스위치 출력제어부, 상기의 전원스위치 출력제어부로부터 상기 전워스위치가 눌러(push)진 상황을 인지하여 인터럽트 신호를 발생하는 인터럽트 발생부, 주(Main)프로세서와 각종 기억장치 및 입출력 어드레스로 구성되며 전원 투입시에 소정의 입출력 어드레스에 '전원 투입'의 의미로써 부여된 소정의 데이터를 써서 상기 신호반전부에 출력되게 하며, 상기 인터럽트 발생부에서 발생된 인터럽트 신호를 유입하여 내부에서 셧다운 과정을 수행한 후 전원 신호를 차단하도록 명령하는 신호를 출력하는 메인블록, 항시 마이콤 전원이 들어와 있는 상태에서 상기 전원제어 스위치의 상태및 상기 메인블록으로 부터의 전원 차단 명령에 따라 전원 투입 및 차단의 제어 신호를 출력하는 전원제어 마이콤 및 상기 전원제어 마이콤으로부터 출력된 전원 제어 신호에 따라 전체 시스템에 전원을 투입 및 차단하는 전원공급부를 포함함을 특징으로 한다.In order to achieve the above object, a personal computer for a safe shutdown of a system operating with the Windows 95 operating system according to the present invention, a power switch for operating to turn on and off the system, a predetermined data flows into the data A signal switching unit for switching to a signal of a first level or a level complementary to the first level and outputting the signal; a power switch output control unit for selecting an output direction of the power switch according to an output signal of the signal switching unit; It consists of an interrupt generator that generates an interrupt signal by recognizing the state that the power switch is pushed from the output controller, a main processor, various memory devices, and an input / output address. Write predetermined data given as 'power on' to output to the signal inverting part. A main block which outputs a signal instructing to cut off a power signal after performing an internal shutdown process by introducing an interrupt signal generated by the interrupt generator, a state of the power control switch in a state where a micom power is always supplied; A power supply micom for outputting a control signal of power on and off according to a power off command from the main block, and a power supply unit for turning on and off power to the entire system according to the power control signal output from the power control micom; It is characterized by.

상기의 다른 목적을 달성하기 위한 윈도우즈 95 운영체제로 동작하는 시스템의 안전 종료 방법은, 시스템에 전원이 투입되면 메인블록의 소정의 입출력 어드레스에 소정의 데이타를 써 넣는 단계, 셧다운 인터럽트를 설정하는 단계, 프로그램 수행중 셧다운 인터럽트가 걸리면 윈도우즈의 셧다운 과정을 실행하는 단계 및 상기 셧다운 과정이 실행되었으면 전원 차단 제어신호를 발생하는 단계를 포함함을 특징으로 한다.In order to achieve the above object, a safe shutdown method of a system operating with a Windows 95 operating system includes: writing predetermined data to a predetermined input / output address of a main block when a system is powered on, setting a shutdown interrupt; And executing a shutdown process of Windows when a shutdown interrupt is applied during program execution, and generating a power off control signal when the shutdown process is executed.

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

도 2는 본 발명의 일실시예인 개인용 컴퓨터의 블록도이며, 본 발명에 따른 개인용 컴퓨터는 메인블록(200), 전원스위치(201), 신호전환부(202), 전원스위치 출력제어부(203), 전원제어 마이콤(204), 전원공급장치(205) 및 인터럽트 발생부(206)로 구성된다. 전원스위치(201)는 사용자가 조작하여 시스템에 전원을 투입하거나 차단하기 위한 푸시버튼(push- button)스위치로서, 눌러지지 않았을 때에 스위치에서 신호가 전달되는 부분의 전압이 하이레벨('1')이고 눌러졌을 때 로우레벨('0')이 된다. 스위치가 눌러져서 로우레벨의 신호를 전달하면 다음에 설명할 소정의 과정을 거쳐 시스템에 전원이 투입되거나 차단된다. 메인블록(200)은 주(main) 프로세서와 각종 기억장치 및 입출력 어드레스 등으로 구성되어 시스템을 제어하며 시스템에 전원이 투입되면 OS 프로그램을 시작하기 직전에 소정의 입출력 어드레스 A에 '전원이 투입되었다'는 약속으로서 소정의 데이터를 쓴다. 신호전환부(202)는 상기 입출력 어드레스 A의 데이터를 읽고(또는 데이터와 단순히 연결되고) 상기 데이터가 '전원 투입됨'의 의미로 쓰인 소정의 데이터일 경우에는 내부 로직에 의해 반드시 '1'을 출력하고 나머지 데이터에 대해서는 내부 로직에 의해 '0'을 출력하게 되어 있다. 2 is a block diagram of a personal computer according to an embodiment of the present invention, the personal computer according to the present invention includes a main block 200, a power switch 201, a signal switching unit 202, a power switch output control unit 203, It is composed of a power supply control microcomputer 204, a power supply device 205 and an interrupt generator 206. The power switch 201 is a push-button switch for turning on or off the system by a user's operation. When the voltage is not pressed, the voltage of the part where the signal is transmitted is high level ('1'). When pressed, it is at the low level ('0'). When the switch is pressed to transmit a low level signal, power is turned on or off in the system through a predetermined process described later. The main block 200 is composed of a main processor, various memory devices, input / output addresses, and the like, to control the system. When power is supplied to the system, power is supplied to a predetermined input / output address A just before starting the OS program. Writes some data as an appointment. The signal conversion unit 202 reads the data of the input / output address A (or is simply connected to the data) and, if the data is predetermined data written in the meaning of 'powered on', necessarily means '1' by internal logic. It outputs '0' by the internal logic for the remaining data.

도 3은 신호전환부(202) 및 전원스위치 출력제어부(203)를 도시하고 있다. 신호전환부(202)는 도 2에 도시된 메인블록(300)의 소정의 입출력 어드레스에 쓰여진 소정의 데이터를 읽고 상기 데이터를 가공하여 '0' 또는 '1'로서 출력하는 로직이다. 상기 신호전환부(202)의 로직은 다양한 방법으로 구성 가능하다. 전원스위치 출력제어부는(203) 두 접점(ra, rb)의 릴레이(300)와 신호전환부(202)의 출력신호를 게이트 입력으로 취하는 FET(303)로 구성된다. 릴레이(300)내의 릴레이코일(301)이 여자되지 않으면 릴레이스위치(302)가 접점 ra에 연결되고, 릴레이코일(301)이 여자되면 릴레이스위치(302)의 접접이 rb로 바뀌어 연결된다. 릴레이코일(301)은 FET(303)의 게이트 전압이 인가되면, 즉 신호전환부(202)의 출력이 '1'이면 여자되고 FET(303)의 게이트 전압이 인가되지 않으면 여자되지 않는다. 결국 전원스위치 출력제어부(203)는 상기 신호전환부(202)의 출력에 따라 시스템에 전원이 투입되지 않았을 시에는 전원스위치(201)의 상태를 ra에 연결하고 시스템에 전원이 투입되었으면 전원스위치(201)의 상태를 rb로 연결한다. 전원제어 마이콤(204)은 전원스위치 출력제어부의 ra로부터 '0'(로우레벨)이 입력되면 전원 투입 제어신호를 출력하고 메인블록(200)으로부터 소정의 전원 차단 명령을 유입하면 그에 따른 전원 차단 제어신호를 출력한다. 만약 전원스위치 출력제어부(203)의 ra에서 '0'이 입력되고 메인블록(200)로부터 소정의 전원 차단 제어신호가 동시에 입력되면 전원제어 마이콤(204)은 메인블록(200)으로부터의 명령을 우선하여 전원 차단 제어신호를 출력한다. 전원공급부(205)는 전원제어 마이콤(204)으로부터 전원 투입 및 차단을 명령하는 제어신호를 유입하여 시스템에 전원을 투입 및 차단한다. 인터럽트 발생부(206)는 전원스위치 출력제어부(203)의 rb로부터 유입된 전원스위치(201)의 상태가 '1'이면, 즉 전원스위치(201)가 눌러지지 않았으면 동작을 안하거나 의미없는 신호를 출력하다가 전원스위치(201)가 눌러져 '0'상태가 입력되면 메인블록(200)의 셧다운 인터럽트 단자에 셧다운 인터럽트가 발생됨을 알리는 데이터를 쓴다. 여기서 메인블록(200)의 셧다운 인터럽트 단자는 입출력 어드레스 중 소정의 어드레스 B를 설정한 것이다. 3 shows a signal switching unit 202 and a power switch output control unit 203. The signal switching unit 202 is logic for reading predetermined data written to a predetermined input / output address of the main block 300 shown in FIG. 2 and processing the data to output the data as '0' or '1'. The logic of the signal switching unit 202 can be configured in various ways. The power switch output control unit 203 is composed of a relay 300 of two contacts ra and rb and an FET 303 which takes an output signal of the signal switching unit 202 as a gate input. When the relay coil 301 in the relay 300 is not excited, the relay switch 302 is connected to the contact ra. When the relay coil 301 is excited, the contact of the relay switch 302 is changed to rb and connected. The relay coil 301 is excited when the gate voltage of the FET 303 is applied, that is, the output of the signal switching unit 202 is '1', and is not excited unless the gate voltage of the FET 303 is applied. As a result, the power switch output control unit 203 connects the state of the power switch 201 to ra when the system is not powered on according to the output of the signal switching unit 202, and if the power is supplied to the system, the power switch ( The state of 201) is connected to rb. The power supply control microcomputer 204 outputs a power input control signal when '0' (low level) is input from ra of the power switch output control unit, and when a predetermined power cutoff command is introduced from the main block 200, the power cutoff control accordingly. Output the signal. If '0' is input at ra of the power switch output control unit 203 and a predetermined power cutoff control signal is simultaneously input from the main block 200, the power control microcomputer 204 takes priority from the command from the main block 200. To output the power cutoff control signal. The power supply unit 205 inputs and cuts power to the system by introducing a control signal for supplying power and shutting off the power from the power control microcomputer 204. The interrupt generator 206 does not operate or makes a meaningless signal when the state of the power switch 201 introduced from rb of the power switch output control unit 203 is '1', that is, the power switch 201 is not pressed. After outputting the power switch 201 is pressed and the '0' state is input to the shutdown interrupt terminal of the main block 200 writes the data indicating that the shutdown interrupt is generated. Here, the shutdown interrupt terminal of the main block 200 sets a predetermined address B among input / output addresses.

도 4는 본 발명의 다른 실시예로서 윈도우즈 95 운영체제로 동작하는 안전 셧다운 장치를 설명하기 위한 환자 진단 장치의 블록도이다. 도 2와 동일한 참조부호는 동일한 기능의 동일한 부재를 가리킨다.FIG. 4 is a block diagram of a patient diagnosis device for describing a safe shutdown device operating in a Windows 95 operating system as another embodiment of the present invention. The same reference numerals as in Fig. 2 indicate the same members having the same function.

환자 진단 장치는 환자의 여러 생체 신호를 진단하여 화면에 표시하고, 진단한 생체 신호의 이상유무를 판단하여 이상상황에서 경고를 발하도록 된 시스템으로서 본 발명에 따른 환자 진단 장치는 윈도우즈 95 운영체제로 동작하며 메인블록(200), 전원스위치(201), 신호전환부(202), 전원스위치 출력제어부(203), 전원제어 마이콤(204), 프라이머리 마이콤(primary Micom)(400) 및 전원공급장치(205)로 구성된다. 시스템에 전원을 투입 및 차단할 때의 각 구성 요소의 기능 및 동작은, 프라이머리 마이콤(400)이 도 2의 인터럽트 발생부(206)를 대신하도록 된 것을 제외하고는 상술한 도 2의 개인용 컴퓨터에서와 동일하다(여기서 메인블록(200)의 '동일'에 대해서는 용도에 따라 하드웨어 및 소프트웨어상에 차이가 있을 수 있다). 프라이머리 마이콤(400)은 환자의 여러 생체 신호를 진단한 정보가 입력되는 마이콤으로서 폴링(polling) 방식에 의해 일정한 시간차를 두고 입력되는 정보 및 신호를 순차적으로 읽어 들인다. 도 4에 도시된 본 발명의 예에서는 프라이머리 마이콤(400)의 입력단자에 전원스위치 출력제어부(203)의 rb에 연결된 단자가 n번째 입력신호인 In으로서 더 포함된다. 폴링하여 I1, I2, ..., In 등으로 차례로 순환하여 정보를 읽다가 In을 읽을 차례가 되어 읽은 In의 값이 로우레벨이 아니면, 즉 전원스위치(301)가 눌러지지 않았으면 프라이머리 마이콤(400)은 다음 차례의 입력단자의 신호를 읽고 그에 대응하는 출력신호를 메인블록(200)에 출력한다. 프라이머리 마이콤(400)이 폴링하여 읽은 In이 로우레벨이면 프라이머리 마이콤(400)은 메인블록(200)의 셧다운 인터럽트 단자에 소정의 데이터를 써 상기 데이터를 읽은 메인블록(200)으로 하여금 수행중이던 프로그램을 종료하거나 중지하게 한 후 셧다운 과정을 수행하도록 한다. 상기 메인블록(200)의 셧다운 인터럽트 단자는 OS 프로그램 시작 직전에 입출력 어드레스 중 소정의 어드레스 B를 설정한 것으로서, 셧다운 인터럽트 단자인 B 어드레스에 소정의 데이터가 쓰여지면 프로그램 수행 중 인터럽트가 걸려 셧다운 과정을 수행하도록 한 것이다. The patient diagnosis device is a system for diagnosing and displaying various bio signals of a patient on the screen, and determining whether there is an abnormality of the diagnosed bio signals, and issuing a warning in an abnormal situation. Main block 200, power switch 201, signal switching unit 202, power switch output control unit 203, power control micom 204, primary micom (400) and power supply ( 205). The function and operation of each component when powering on and off the system are the same as those of the personal computer of FIG. 2 except that the primary micom 400 is intended to replace the interrupt generator 206 of FIG. The same as (where 'the same' of the main block 200 may be different in hardware and software depending on the purpose). The primary microcomputer 400 is a microcomputer in which information for diagnosing various biological signals of a patient is input, and sequentially reads input information and signals with a predetermined time difference by a polling method. In the example of the present invention illustrated in FIG. 4, a terminal connected to rb of the power switch output control unit 203 is further included as an n-th input signal in the input terminal of the primary micom 400. If the value of In is not low level, ie the power switch 301 is not pressed, the primary micom 400 reads the signal of the next input terminal and outputs the corresponding output signal to the main block 200. If In is read and polled by the primary micom 400, the primary micom 400 writes predetermined data to the shutdown interrupt terminal of the main block 200 and causes the main block 200 to read the data. Allow the program to exit or stop and then perform a shutdown process. The shutdown interrupt terminal of the main block 200 sets a predetermined address B among input / output addresses immediately before the start of an OS program. When predetermined data is written to the address B, which is a shutdown interrupt terminal, the interrupt is interrupted during program execution. To do it.

본 발명에 따른 윈도우즈 95 운영체제로 동작하는 시스템의 안전 종료 방법을 도 5를 참조하여 설명한다. 시스템에 전원이 투입되면 도 2 및 도 4에 도시된 메인블록(200)의 소정의 입출력 어드레스 A에 전원이 투입되었음을 의미하는 소정의 데이타를 써 넣는다(501단계). 메인블록(200)의 소정의 입출력 어드레스 B에 소정의 데이터가 쓰여질 때 곧이어 셧다운 과정이 수행되도록 셧다운 인터럽트를 설정한다(502단계). 이어서 OS 프로그램인 윈도우즈 95가 시작되고(503단계) 소정의 메시지가 입력된다(504단계). 상기의 입출력 어드레스 B의 데이터를 읽어 셧다운 인터럽트를 발생할 상황인지 판단한다(505단계). 셧다운 인터럽트 발생 상황이 아니면 입력된 메시지를 처리한다(506단계). 셧다운 인터럽트 발생 상황이면 셧다운 과정을 수행하고(507단계) 전원제어 마이콤(204)에 전원차단 명령의 제어신호를 출력한다(508단계). A safe shutdown method of a system operating with the Windows 95 operating system according to the present invention will be described with reference to FIG. When power is supplied to the system, predetermined data indicating that power is supplied to the predetermined input / output address A of the main block 200 shown in FIGS. 2 and 4 is written (step 501). When the predetermined data is written to the predetermined input / output address B of the main block 200, the shutdown interrupt is set so that the shutdown process is performed immediately (step 502). Next, Windows 95, an OS program, is started (step 503) and a predetermined message is input (step 504). The data of the input / output address B is read to determine whether a shutdown interrupt is generated (step 505). If the shutdown interrupt does not occur, the input message is processed (step 506). If the shutdown interrupt occurs, a shutdown process is performed (step 507) and a control signal of a power off command is output to the power control microcomputer 204 (step 508).

본 발명에 의하면 윈도우즈 95 운영체제로 동작하는 시스템에서 사용자가 셧다운 과정을 거치지 않고 전원스위치만을 조작하여 오프해도 시스템내에서 자동적으로 셧다운이 수행되어 데이터 손실없이 편리하게 종료시킬 수 있다.According to the present invention, even if the user operates only the power switch without going through a shutdown process in a system running the Windows 95 operating system, the shutdown is automatically performed in the system, thereby conveniently shutting down without losing data.

도 1은 종래의 윈도우즈 95의 운영체제로 동작하는 시스템의 블록도이다.1 is a block diagram of a system operating with the operating system of the conventional Windows 95.

도 2는 본 발명에 따른 일실시예로서 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치를 설명하기 위한 개인용 컴퓨터(PC)의 블록도이다.FIG. 2 is a block diagram of a personal computer (PC) for explaining a safe shutdown device in a system operating with the Windows 95 operating system in one embodiment according to the present invention.

도 3은 도 2의 개인용 컴퓨터에 포함된 전원스위치 출력제어부의 회로도를 도시한 것이다.3 is a circuit diagram of a power switch output control unit included in the personal computer of FIG. 2.

도 4는 본 발명의 다른 실시예로서 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치를 설명하기 위한 환자 진단 장치의 블록도이다.FIG. 4 is a block diagram of a patient diagnosis device for describing a safe shutdown device in a system operating with the Windows 95 operating system as another embodiment of the present invention.

도 5는 본 발명에 따른 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 종료 방법의 흐름도이다.5 is a flowchart of a safe shutdown method in a system operating with the Windows 95 operating system according to the present invention.

Claims (9)

시스템에 전원을 투입 및 차단하기 위해 조작하는 전원스위치; 소정의 데이타를 유입하여 상기 데이터에 따라 제1레벨 또는 제1레벨과 상보되는 레벨의 신호로 전환하여 출력하는 신호전환부;A power switch for operating to turn on and off the system; A signal switching unit for inputting predetermined data and converting the signal into a signal having a first level or a level complementary to the first level according to the data; 상기 신호전환부의 출력신호에 따라 상기 전원스위치의 출력 방향을 선택하는 전원스위치 출력제어부;A power switch output control unit which selects an output direction of the power switch according to an output signal of the signal switching unit; 상기의 전원스위치 출력제어부로부터 상기 전원스위치가 눌러(push)진 상황을 인지하여 인터럽트 신호를 발생하는 인터럽트 발생부; 주(Main)프로세서와 각종 기억장치 및 입출력 어드레스로 구성되며 전원 투입시에 소정의 입출력 어드레스에 '전원 투입'의 의미로써 부여된 소정의 데이터를 써서 상기 신호반전부에 출력되게 하며, 상기 인터럽트 발생부에서 발생된 인터럽트 신호를 유입하여 내부에서 셧다운 과정을 수행한 후 전원 신호를 차단하도록 명령하는 신호를 출력하는 메인블록;An interrupt generator for recognizing a situation in which the power switch is pushed from the power switch output controller and generating an interrupt signal; It is composed of a main processor, various memory devices, and input / output addresses, and writes predetermined data assigned to a predetermined input / output address at the time of power-on to output to the signal inverting unit. A main block which outputs a signal instructing to cut off the power signal after performing an internal shutdown process by introducing an interrupt signal generated from the unit; 항시 마이콤 전원이 들어와 있는 상태에서 상기 전원제어 스위치의 상태및 상기 메인블록으로 부터의 전원 차단 명령에 따라 전원 투입 및 차단의 제어 신호를 출력하는 전원제어 마이콤; 및A power control micom which outputs a control signal of power on and off according to a state of the power control switch and a power off command from the main block in a state in which a micom power is always on; And 상기 전원제어 마이콤으로부터 출력된 전원 제어 신호에 따라 전체 시스템에 전원을 투입 및 차단하는 전원공급부를 포함함을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치.And a power supply unit for turning on and off power to the entire system according to a power control signal output from the power control micom. 제1항에 있어서, 상기 신호전환부는, The method of claim 1, wherein the signal conversion unit, 상기 메인블록의 소정의 입출력 어드레스에 쓰여진 데이터를 읽고 상기 데이터가 '전원 투입됨'의 의미로 쓰인 소정의 데이터일 경우에는 내부 로직에 의해 반드시 '1'을 출력하고 나머지 데이터에 대해서는 내부 로직에 의해 '0'을 출력함을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치.When the data written to the predetermined input / output address of the main block is read and the data is the predetermined data written in the meaning of 'powered on', '1' must be output by the internal logic and the internal logic for the remaining data. Safe shutdown device on systems running the Windows 95 operating system, characterized by outputting '0'. 제1항에 있어서, 상기 전원스위치 출력제어부는, The method of claim 1, wherein the power switch output control unit, 두 개의 접점을 갖는 릴레이 스위치로 되어 상기 신호전환부의 출력에 따라 시스템에 전원이 투입되지 않았을 시에는 상기 릴레이가 여자되지 않음으로써 전원스위치의 상태를 고정 접점에 연결된 상기 전원제어 마이콤에 연결하고 시스템에 전원이 투입되었으면 상기 릴레이가 여자되어 전원스위치의 상태를 상기 인터럽트 발생부와 연결된 또 하나의 접점으로 이동시킴을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치.It is a relay switch having two contacts, and when the power is not supplied to the system according to the output of the signal switching unit, the relay is not excited so that the state of the power switch is connected to the power control micom connected to the fixed contact and connected to the system. Safe shutdown device in a system operating with a Windows 95 operating system, characterized in that the power is energized, the relay is excited to move the state of the power switch to another contact point connected to the interrupt generator. 제1항에 있어서, 상기 전원제어 마이콤은,The method of claim 1, wherein the power control microcomputer, 항시 마이컴 전원과 연결되어 동작 가능한 상태에 있다가 상기의 전원스위치 출력제어부로부터 로우레벨 전압신호가 입력되면 '전원을 투입' 하라는 제어신호를 상기 전원공급부에 출력하고 상기 메인블록으로부터 전원 차단 신호가 입력되면 '전원을 차단' 하라는 제어신호를 상기 전원공급부에 출력함을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치.When the low level voltage signal is inputted from the power switch output controller, the controller outputs a control signal to turn on the power supply to the power supply and a power cutoff signal is input from the main block. Safe shutdown device in a system operating with a Windows 95 operating system, characterized in that to output a control signal to the power supply to the "power off". 제1항에 있어서, 상기 인터럽트 발생부는, The method of claim 1, wherein the interrupt generator, 상기 전원스위치 출력제어부로부터 입력된 상기 전원스위치의 전압레벨이 로우레벨이면 상기 메인블록의 셧다운 인터럽트 단자에 셧다운 인터럽트가 발생됨을 알리는 데이터를 씀을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치. Safe shutdown in a system operating with a Windows 95 operating system, characterized in that the data indicating that a shutdown interrupt is generated is written to the shutdown interrupt terminal of the main block when the voltage level of the power switch input from the power switch output controller is low. Device. 시스템에 전원을 투입 및 차단하기 위해 조작하는 전원스위치; 소정의 데이타를 유입하여 상기 데이터에 따라 제1레벨 또는 제1레벨과 상보되는 레벨의 신호로 전환하여 출력하는 신호전환부;A power switch for operating to turn on and off the system; A signal switching unit for inputting predetermined data and converting the signal into a signal having a first level or a level complementary to the first level according to the data; 상기 신호전환부의 출력신호에 따라 상기 전원스위치의 출력 방향을 선택하는 전원스위치 출력제어부;A power switch output control unit which selects an output direction of the power switch according to an output signal of the signal switching unit; 상기의 전원스위치 출력제어부로부터 상기 전원스위치가 눌러(push)진 상황을 인지하여 소정의 인터럽트 발생 데이터를 출력하는 프라이머리 마이콤; 주(Main)프로세서와 각종 기억장치 및 입출력 어드레스로 구성되며 전원 투입시에 소정의 입출력 어드레스에 '전원 투입'의 의미로써 부여된 소정의 데이터를 써서 상기 신호반전부에 출력되게 하며, 상기 인터럽트 발생부에서 발생된 인터럽트 신호를 유입하여 내부에서 셧다운 과정을 수행한 후 전원 신호를 차단하도록 명령하는 신호를 출력하는 메인블록;A primary micom that recognizes a situation in which the power switch is pushed from the power switch output control unit and outputs predetermined interrupt generation data; It is composed of a main processor, various memory devices, and input / output addresses, and writes predetermined data assigned to a predetermined input / output address at the time of power-on to output to the signal inverting unit. A main block which outputs a signal instructing to cut off the power signal after performing an internal shutdown process by introducing an interrupt signal generated from the unit; 항시 마이콤 전원이 들어와 있는 상태에서 상기 전원제어 스위치의 상태및 상기 메인블록으로 부터의 전원 차단 명령에 따라 전원 투입 및 차단의 제어 신호를 출력하는 전원제어 마이콤; 및A power control micom which outputs a control signal of power on and off according to a state of the power control switch and a power off command from the main block in a state in which a micom power is always on; And 상기 전원제어 마이콤으로부터 출력된 전원 제어 신호에 따라 전체 시스템에 전원을 투입 및 차단하는 전원공급부를 포함함을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치. And a power supply unit for turning on and off power to the entire system according to a power control signal output from the power control micom. 제6항에 있어서, 상기 프라이머리 마이콤은, The method of claim 6, wherein the primary micom, 환자를 진단한 정보가 입력되는 단자와 상기 전원스위치 상태가 입력되는 단자를 가지며 폴링(polling)방식에 의해 데이터를 읽어 들이는 것을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 장치.A safety shutdown device for a system operating with a Windows 95 operating system, comprising: a terminal for inputting information for diagnosing a patient and a terminal for inputting a state of the power switch and reading data by a polling method. 윈도우즈 95 운영체제로 동작하며 메인블록, 전원스위치, 전원스위치 출력제어부, 신호전환부, 전원제어 마이콤, 인터럽트 발생부 또는 프라이머리 마이콤 및 전원공급부로 구성된 시스템에서 안전하게 종료 하기 위한 방법에 있어서,A method for safely shutting down a system running on a Windows 95 operating system comprising a main block, a power switch, a power switch output control unit, a signal switching unit, a power control micom, an interrupt generator, or a primary micom and a power supply unit, 시스템에 전원이 투입되면 메인블록의 소정의 입출력 어드레스에 소정의 데이타를 써 넣는 단계;Writing predetermined data to a predetermined input / output address of the main block when the system is powered on; 상기 메인블록의 소정의 입출력 어드레스에 소정의 데이터가 쓰여지면 인터럽트가 걸려 셧다운을 수행하도록 한 셧다운 인터럽트를 설정하는 단계; 및Setting a shutdown interrupt for interrupting when predetermined data is written to a predetermined input / output address of the main block; And 프로그램 수행 중 셧다운 인터럽트가 걸리면 수행중이던 프로그램을 중지하거나 종료하고 곧이어 윈도우즈의 셧다운 과정을 실행하는 단계; 및If a shutdown interruption occurs while the program is running, stopping or terminating the program being executed and immediately executing the shutdown process of Windows; And 상기 셧다운 과정이 실행되었으면 전원 차단 제어신호를 발생하는 단계를 포함함을 특징으로 하는 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 방법.And generating a power down control signal if the shutdown process is executed. 제8항에 있어서, 프로그램 수행 중 셧다운 인터럽트가 걸리면 윈도우즈의 셧다운 과정을 실행하는 단계는,The method of claim 8, wherein if a shutdown interruption occurs while executing a program, executing the shutdown process of Windows includes: 윈도우즈 95가 시작되고 소정의 메시지가 입력된 후 셧다운 인터럽트를 발생할 상황인지 판단하고 셧다운 인터럽트 발생 상황이 아니면 입력된 메시지를 처리하고 셧다운 인터럽트 발생 상황이면 셧다운 과정을 수행하는 것임을 특징으로 한 윈도우즈 95 운영체제로 동작하는 시스템에서의 안전 셧다운 방법.  After the Windows 95 starts and a predetermined message is input, it is determined whether to generate a shutdown interrupt. If the shutdown interrupt does not occur, it processes the input message. If the shutdown interrupt occurs, the Windows 95 operating system performs a shutdown process. Safe shutdown method in a working system.
KR1019970019013A 1997-05-16 1997-05-16 Apparatus and method for safe shutdown in system using O/S such as windows 95 KR100455268B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970019013A KR100455268B1 (en) 1997-05-16 1997-05-16 Apparatus and method for safe shutdown in system using O/S such as windows 95

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970019013A KR100455268B1 (en) 1997-05-16 1997-05-16 Apparatus and method for safe shutdown in system using O/S such as windows 95

Publications (2)

Publication Number Publication Date
KR19980083636A KR19980083636A (en) 1998-12-05
KR100455268B1 true KR100455268B1 (en) 2005-02-28

Family

ID=37372312

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970019013A KR100455268B1 (en) 1997-05-16 1997-05-16 Apparatus and method for safe shutdown in system using O/S such as windows 95

Country Status (1)

Country Link
KR (1) KR100455268B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102031758B1 (en) 2018-05-17 2019-10-14 (주)일흥 Grip housing of welding torch

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930014003A (en) * 1991-12-17 1993-07-22 경상현 How to Match Operating System with User Program in Real Time Operating System
KR950003998A (en) * 1993-07-26 1995-02-17 윌리암 티. 엘리스 How to manage computer system and its power usage, check base address status of interrupt controller and save and restore CPU state
KR960038557A (en) * 1995-04-10 1996-11-21 이정식 Power off the computer
JPH0981279A (en) * 1995-09-19 1997-03-28 Hitachi Ltd Information processor
US5751950A (en) * 1996-04-16 1998-05-12 Compaq Computer Corporation Secure power supply for protecting the shutdown of a computer system
KR19980077441A (en) * 1997-04-18 1998-11-16 윤종용 Computer system with power saving screen saver function and control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930014003A (en) * 1991-12-17 1993-07-22 경상현 How to Match Operating System with User Program in Real Time Operating System
KR950003998A (en) * 1993-07-26 1995-02-17 윌리암 티. 엘리스 How to manage computer system and its power usage, check base address status of interrupt controller and save and restore CPU state
KR960038557A (en) * 1995-04-10 1996-11-21 이정식 Power off the computer
JPH0981279A (en) * 1995-09-19 1997-03-28 Hitachi Ltd Information processor
US5751950A (en) * 1996-04-16 1998-05-12 Compaq Computer Corporation Secure power supply for protecting the shutdown of a computer system
KR19980077441A (en) * 1997-04-18 1998-11-16 윤종용 Computer system with power saving screen saver function and control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102031758B1 (en) 2018-05-17 2019-10-14 (주)일흥 Grip housing of welding torch

Also Published As

Publication number Publication date
KR19980083636A (en) 1998-12-05

Similar Documents

Publication Publication Date Title
JP2998737B2 (en) Power supply control device for peripheral equipment
JP4164073B2 (en) Computer with multi-function power button and related method
US10311001B2 (en) Electronic device and communication method thereof
KR100455268B1 (en) Apparatus and method for safe shutdown in system using O/S such as windows 95
US6163847A (en) Computer with automatic power cut-off function and control method therefor
KR100294852B1 (en) Computer enabling user to switch off power without data loss, and its method
JP2006323605A (en) Control unit and method of computer power supply management matching key
US7308585B2 (en) Low power residual remaining power indicator
JPH0594237A (en) Power source controller
JPS63231541A (en) Processor for electronic equipment
JP2003330501A (en) Program controller
JPH07104893A (en) Power source turning-off device
JPH06295346A (en) Microcomuputer
JPH1078832A (en) Shut-down device
JPH0344730A (en) Trouble diagnostic controller for printer
KR100662578B1 (en) Index motor control device
KR970066802A (en) Method and apparatus for power control of personal computer
JPH0341517A (en) Set-up program starting system
KR19980073501A (en) How to operate your computer
JPH06250733A (en) Plant controller
JPH0651826A (en) Teaching device for robot
KR20040005272A (en) Computer system
JPH04127214A (en) Power unit control system
JPH0566907A (en) Device number display system for external storage device
JPH04270406A (en) Power supply control system for information processor

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

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee