KR20010046893A - Method for testing computer system with power management automatically - Google Patents

Method for testing computer system with power management automatically Download PDF

Info

Publication number
KR20010046893A
KR20010046893A KR1019990050851A KR19990050851A KR20010046893A KR 20010046893 A KR20010046893 A KR 20010046893A KR 1019990050851 A KR1019990050851 A KR 1019990050851A KR 19990050851 A KR19990050851 A KR 19990050851A KR 20010046893 A KR20010046893 A KR 20010046893A
Authority
KR
South Korea
Prior art keywords
test
computer system
log file
item
power
Prior art date
Application number
KR1019990050851A
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 KR1019990050851A priority Critical patent/KR20010046893A/en
Publication of KR20010046893A publication Critical patent/KR20010046893A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE: A method for automatically testing a computer system equipped with a power management function is provided to increase the convenience of a developer by automatically testing a computer system using a power management function. CONSTITUTION: A computer system is powered on(S10). The computer system is booted(S12). A test program is automatically executed(S14). The test program checks a log file(S16). It is judged whether a test is performed(S18). In case that the test isn't performed, test items are initialized(S20). It is judged whether the test is completed(S22). A waiting time setup is counted(S24). It is judged whether a counting is completed(S26). A test item designated is executed(S28). The log file is updated(S30). The test program is terminated(S32).

Description

전원 관리 기능을 갖는 컴퓨터 시스템의 자동 테스트 방법{METHOD FOR TESTING COMPUTER SYSTEM WITH POWER MANAGEMENT AUTOMATICALLY}Automatic test method of computer system with power management function {METHOD FOR TESTING COMPUTER SYSTEM WITH POWER MANAGEMENT AUTOMATICALLY}

본 발명은 컴퓨터 시스템의 테스트 방법에 관한 것으로, 구체적으로는 전원 관리(power management) 기능을 갖는 컴퓨터 시스템의 파워 온/오프 테스트(power on/off test), 서스팬드/리쥼 테스트(suspend/resume test) 및 재시작 테스트(restart test)를 자동적으로 수행하기 위한 컴퓨터 시스템의 테스트 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test method of a computer system, specifically, a power on / off test and a suspend / resume test of a computer system having a power management function. test method and a restart test (restart test).

컴퓨터 시스템 개발자들은 시스템 개발 과정 중에 정상적인 동작 여부를 판단하기 위한 각종 테스트를 수행한다. 시스템의 기본적인 개발이 완료되면 시스템 메모리, 비디오 디스플레이, 보조 메모리 등의 주변 장치들을 메인보드에 장착하고서 시스템이 정상적으로 동작하는지를 테스트한다. 개발자는 테스트 과정에서 발견되는 에러를 디버깅 과정을 통해 해결하면서 시스템 개발을 진행한다.Computer system developers perform various tests to determine the normal operation during system development. Once the basic development of the system is completed, the peripherals such as system memory, video display, and auxiliary memory are mounted on the motherboard to test the system's normal operation. The developer proceeds with system development while solving the errors found during the test process through the debugging process.

이 테스트는 예를 들어, 파워 온/오프 테스트와 재시작 테스트가 있다. 그리고 전원 관리 기능을 구비한 컴퓨터 시스템에서 서스팬드/리쥼 테스트 등이 더 추가된다. 파워 온/오프 테스트는 컴퓨터 시스템의 파워 온/오프 따라 정상적으로 시스템이 부팅 되고 종료되는지를 테스트한다. 재시작 테스트는 컴퓨터 시스템의 리셋시 컴퓨터 시스템이 정상적으로 부팅 되는가를 테스트한다. 서스팬드/리쥼 테스트는 시스템의 전원 관리 기능이 정상적으로 동작하는지를 테스트한다. 이러한 테스트들은 개발자가 수동으로 조작하여 실시한다.This test is, for example, a power on / off test and a restart test. Additional suspend / reset tests are added for computer systems with power management. The power on / off test tests whether the system boots and shuts down normally as the computer system powers on or off. The restart test tests whether the computer system boots normally when the computer system is reset. The suspend / reset test tests the power management of the system. These tests are run manually by the developer.

그런데, 이와 같은 컴퓨터 시스템의 테스트들은 한번으로 완료되는 것이 아니고 테스트 시에 보통 수회를 반복하게 되며, 시스템의 개발 단계에서 수시로 반복하게 된다. 그러므로 개발자에게는 반복적인 테스트를 수동으로 실시해야 하는 매우 번거로운 문제점이 있었다.By the way, the test of such a computer system is not completed once, but is usually repeated several times during the test, and is often repeated at the development stage of the system. As a result, developers had a very cumbersome problem of manually performing repetitive tests.

따라서, 본 발명의 목적은 상술한 제반 문제점을 해결하기 위해 제안된 것으로서 전원 관리 기능을 갖는 컴퓨터 시스템의 테스트를 자동적으로 수행할 수 있는 방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a method capable of automatically performing a test of a computer system having a power management function as proposed to solve the above-mentioned problems.

도 1은 본 발명의 바람직한 실시예를 실행하기에 적합한 컴퓨터 시스템의 블록도;1 is a block diagram of a computer system suitable for implementing a preferred embodiment of the present invention;

도 2는 본 발명의 바람직한 실시예에 따른 컴퓨터 시스템의 자동 테스트의 실행 단계를 보여주는 플로우챠트;2 is a flowchart showing execution steps of an automated test of a computer system according to a preferred embodiment of the present invention;

도 3은 도 1의 테스트 프로그램의 메뉴 입력 윈도우를 보여주는 도면;3 shows a menu input window of the test program of FIG. 1;

도 4는 도 2의 지정된 테스트 항목의 실행 단계에서 재시작 테스트의 구체적인 실행 단계를 보여주는 플로우챠트;4 is a flowchart showing a concrete execution step of the restart test in the execution step of the designated test item of FIG. 2;

도 5는 도 2의 지정된 테스트 항목의 실행 단계에서 파워 온/오프 테스트의 구체적인 실행 단계를 보여주는 플로우챠트;5 is a flowchart showing a specific execution step of a power on / off test in the execution step of the designated test item of FIG. 2;

도 6은 도 2의 지정된 테스트 항목의 실행 단계에서 서스팬드/리쥼 테스트의 구체적인 실행 단계를 보여주는 플로우챠트이다.FIG. 6 is a flowchart showing a concrete execution step of the suspend / retest test in the execution step of the designated test item of FIG. 2.

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

10: 컴퓨터 시스템 12: 중앙처리장치10: computer system 12: central processing unit

14: 비디오 디스플레이 16: 입력장치14: Video display 16: Input device

18: 전원 관리 컨트롤러 20: 전원 스위치18: power management controller 20: power switch

22: 전원 공급 장치 24: 리얼타임클락22: power supply 24: real time clock

26: 바이오스 28: 보조 메모리26: BIOS 28: auxiliary memory

30: 메인 메모리 32: 테스트 프로그램30: main memory 32: test program

34: 운영 시스템34: operating system

상술한 바와 같은 본 발명의 목적을 달성하기 위한 본 발명의 특징에 의하면, 전원 관리 기능을 구비한 컴퓨터 시스템의 재시작, 파워 온/오프 및, 서스팬드 리쥼 테스트를 위한 컴퓨터 시스템의 테스트 방법은: 테스트 프로그램과 관련된 로그 파일을 체크하여 컴퓨터 시스템에 대한 테스트가 진행 중인가를 판단하는 단계; 테스트 중이지 않은 경우, 테스트 항목, 대기 시간 및 반복 횟수를 초기화하는 단계; 상기 초기화 단계에서 선택된 테스트 항목에 대한 테스트의 실행에 앞서서 지정된 시간을 대기하는 단계; 지정된 시간이 경과 후, 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계; 지정된 테스트가 완료되면 로그 파일을 업데이트하는 단계를 포함한다.According to a feature of the present invention for achieving the object of the present invention as described above, a test method of a computer system for restarting, power on / off, and suspend reset testing of a computer system with a power management function: Checking a log file associated with a test program to determine whether a test on a computer system is in progress; Initializing a test item, a waiting time, and a repetition number when not in a test; Waiting for a specified time prior to execution of a test for a test item selected in the initialization step; Executing a test on the selected test item after a designated time elapses; Updating the log file when the specified test is complete.

이 실시예에 있어서, 상기 선택된 테스트 항목이 상기 재시작 테스트일 때 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계는 상기 로그 파일을 업데이트하는 단계와 리셋 신호를 발생하는 단계를 포함한다. 상기 선택된 테스트 항목이 상기 파워 온/오프 테스트일 때 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계는 상기 로그 파일을 업데이트하는 단계; 시스템이 파워 오프 된 후 파워 온 될 시간을 설정하는 단계 및; 시스템을 파워 오프 하는 단계를 포함한다. 상기 선택된 테스트 항목이 상기 서스팬드/리쥼 테스트일 때 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계는 상기 로그 파일을 업데이트하는 단계; 시스템이 서스팬드 모드로 변환 된 후 리쥼 될 시간을 설정하는 단계; 시스템을 서스팬드 모드로 전환하는 단계를 포함한다.In this embodiment, when the selected test item is the restart test, executing a test on the selected test item includes updating the log file and generating a reset signal. When the selected test item is the power on / off test, executing a test on the selected test item comprises updating the log file; Setting a time to be powered on after the system is powered off; Powering off the system. The step of executing a test on the selected test item when the selected test item is the suspend / reset test comprises: updating the log file; Setting a time to be recalled after the system is converted to suspend mode; Switching the system to suspend mode.

(실시예)(Example)

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

본 발명의 신규한 전원 관리 기능을 갖는 컴퓨터 시스템의 자동 테스트 방법은 전원 관리 기능을 갖는 컴퓨터 시스템의 파워 온/오프 테스트, 재시작 테스트 및, 서스팬드/리줌 테스트를 자동적으로 반복 수행한다.The automatic test method of the computer system with the new power management function of the present invention automatically repeats the power on / off test, the restart test, and the suspend / resume test of the computer system with the power management function.

도 1은 본 발명의 바람직한 실시예를 실행하기에 적합한 컴퓨터 시스템의 블록도이다. 도 1을 참조하여, 전원 관리 기능을 갖는 컴퓨터 시스템(10)은 일반적인 시스템의 구성들로서 중앙 처리 장치(Central Processing Unit; CPU)(12), 비디오 디스플레이(video display)(14), 키보드 장치(keyboard device) 또는 포인팅 장치(pointing device) 등의 입력 장치(input device)(16), 리얼타임클락(real-time clock)(24), 바이오스(basic input output system; BIOS)(26), 보조 메모리(auxiliary memory)(28), 메인 메모리(main memory)(30)를 포함한다. 중앙 처리 장치(12)는 비디오 디스플레이(14), 입력 장치(16), 보조 메모리(28), 메인 메모리(30) 등의 여러 주변 장치들(peripheral devices)들을 엑세스한다.1 is a block diagram of a computer system suitable for implementing a preferred embodiment of the present invention. Referring to FIG. 1, a computer system 10 having a power management function may include a central processing unit (CPU) 12, a video display 14, and a keyboard as components of a general system. input device 16, such as a device or pointing device, a real-time clock 24, a basic input output system (BIOS) 26, an auxiliary memory ( auxiliary memory 28, main memory 30. The central processing unit 12 accesses various peripheral devices such as the video display 14, the input device 16, the auxiliary memory 28, the main memory 30, and the like.

잘 알려진 바와 같이, 전원 관리 기능을 갖는 컴퓨터 시스템(10)에서 전원 관리 컨트롤러(18)는 전원 공급 장치(22)의 전원 공급을 제어한다. 전원 공급 장치(22)는 메인 전원(main power)과 대기 전원(standby power)으로 분리된 전원 공급 구조를 갖고 있다. 대기 전원은 전원 공급 장치(22)가 외부 전원을 제공받을 때 항상 출력되는 전원이다. 전원 관리 컨트롤러(18)는 시스템이 파워 오프일 때에도 상기 대기 전원에 의해 그 동작이 유지된다. 전원 스위치(20)는 전원 관리 컨트롤러(18)에 접속되어 있다. 전원 스위치(20)의 입력에 응답해서 전원 관리 컨트롤러(18)는 메인 전원이 공급 또는 차단되도록 전원 공급부(18)를 제어한다.As is well known, in a computer system 10 having a power management function, the power management controller 18 controls the power supply of the power supply 22. The power supply device 22 has a power supply structure that is separated into main power and standby power. Standby power is power that is always output when the power supply 22 receives external power. The power management controller 18 is maintained by the standby power supply even when the system is powered off. The power switch 20 is connected to the power management controller 18. In response to the input of the power switch 20, the power management controller 18 controls the power supply unit 18 so that the main power is supplied or cut off.

리얼타임클락(real-time clock; RTC)(24)은 현재 시간에 관한 정보와 알람 기능을 지원하며, 256 바이트의 배터리 저장 램(battery-backed RAM)을 구비한다. 이 후에 설명되겠지만, 본 발명의 파워 온/오프 테스트에서 파워 온 동작과 서스팬드/리쥼 테스트에서 리쥼 동작은 각기 리얼타임클락(24)의 알람 기능을 이용해서 실행된다. 본 발명의 실시예에서 상기 메인 메모리(30)에 탑재되는 운영 시스템(34)은 마이크로소프트사에 의해 개발된 윈도우 운영 시스템이다. 본 발명의 테스트 프로그램(32)은 윈도우 운영 시스템의 시작 프로그램 등록 항목에 등록된다. 그러므로 시스템 부팅이 되면 테스트 프로그램은 자동으로 실행된다.The real-time clock (RTC) 24 supports current time information and alarms, and has 256 bytes of battery-backed RAM. As will be described later, the power-on operation in the power-on / off test of the present invention and the reset operation in the suspend / reset test are executed using the alarm function of the real time clock 24, respectively. In the embodiment of the present invention, the operating system 34 mounted on the main memory 30 is a Windows operating system developed by Microsoft Corporation. The test program 32 of the present invention is registered in the startup program registration item of the Windows operating system. Therefore, the test program runs automatically when the system boots.

본 발명은 멀티 프로세서를 구비하고 도 1에 도시된 장치들과 다른 주변 장치들을 구비하는 다른 컴퓨터 시스템 구성에서도 실시될 수 있음은 이 분야의 숙련된 기술자들에게 자명한 것이다.It will be apparent to those skilled in the art that the present invention may be practiced in other computer system configurations having multiple processors and having other peripheral devices than those shown in FIG.

도 2는 본 발명의 바람직한 실시예에 따른 컴퓨터 시스템의 자동 테스트의 실행 단계를 보여주는 플로우챠트이고, 도 3은 도 1의 테스트 프로그램(32)의 메뉴 입력 윈도우를 보여주는 도면이다.2 is a flowchart showing execution steps of an automatic test of a computer system according to a preferred embodiment of the present invention, and FIG. 3 is a diagram showing a menu input window of the test program 32 of FIG.

도 2를 참조하여, 단계 S10에서 컴퓨터 시스템이 파워 온 되면, 단계 S12를 통해 컴퓨터 시스템이 부팅 된다. 부팅 과정에서 에러가 발생되면, 시스템은 정지(halt)된다. 정상적으로 컴퓨터 시스템의 부팅이 완료되면, 단계 S14에서 본 발명의 테스트 프로그램이 자동으로 실행된다. 상술한 바와 같이, 테스트 프로그램은 윈도우 운영 시스템의 시작 프로그램 항목에 등록되어 있음으로 시스템 부팅 후 자동으로 실행된다.Referring to FIG. 2, when the computer system is powered on in step S10, the computer system is booted through step S12. If an error occurs during the boot process, the system will halt. When booting of the computer system is normally completed, the test program of the present invention is automatically executed in step S14. As described above, since the test program is registered in the startup program item of the Windows operating system, the test program is automatically executed after system booting.

테스트 프로그램이 자동으로 실행되면, 테스트 프로그램은 단계 S16에서 로그 파일을 체크한다. 테스트 프로그램에 의해 사용되는 로그 파일은 테스트와 관련된 각종 데이터들 예를 들어, 테스트 날짜, 테스트 시간, 테스트 항목, 테스트 횟수, 테스트 진행 여부 표시등의 여러 가지 데이터들이 저장된다. 단계 S18에서 테스트 중인가를 판단한다. 테스트 중이 아닌 경우, 단계 S20으로 진행하여 테스트 항목들을 초기화한다.If the test program is automatically executed, the test program checks the log file in step S16. The log file used by the test program stores various data related to the test, such as test date, test time, test item, test number, test progress indicator, and the like. In step S18, it is determined whether the test is in progress. If not, the flow advances to step S20 to initialize test items.

테스트 프로그램(32)이 실행되면, 도 3에 도시된 바와 같이, 메뉴 입력 윈도우(40)가 표시된다. 메뉴 입력 윈도우(40)는 테스트 횟수 입력 항목(42), 대기 시간 입력 항목(44), 테스트 종류 선택 버튼들(46), 시작 및 종료 선택 버튼들(48, 49)로 구성된다. 테스트 종류 선택 버튼들(46)은 재시작 테스트 버튼(46a), 파워 온/오프 테스트 버튼(46b) 및, 서스팬드/리쥼 테스트 버튼(46c)으로 구성된다. 테스트 횟수 입력 항목(42)은 반복해서 테스트할 횟수를 지정하기 위한 항목이고, 대기 시간 입력 항목(44)은 테스트가 진행되기 전 대기하는 시간을 지정하기 위한 항목이다. 테스트 횟수와 대기 시간을 입력한 후, 테스트 항목(46) 중의 어느 하나를 선택하고 시작 버튼(48)을 입력하면 지정 된 테스트가 시작된다. 지정된 테스트가 수행하기에 앞서 로그 파일에는 상술한 바와 같은 여러 가지 테스트 관련 데이터들이 저장된다. 그리고 테스트 중임을 표시하는 데이터가 기록된다.When the test program 32 is executed, the menu input window 40 is displayed as shown in FIG. The menu input window 40 includes a test number input item 42, a wait time input item 44, test type selection buttons 46, and start and end selection buttons 48 and 49. The test type select buttons 46 are composed of a restart test button 46a, a power on / off test button 46b, and a suspend / reset test button 46c. The test number input item 42 is an item for specifying the number of times to be repeatedly tested, and the waiting time input item 44 is an item for specifying the time to wait before the test proceeds. After inputting the test number and the waiting time, select one of the test items 46 and enter the start button 48 to start the specified test. Before the specified test is executed, various test-related data as described above are stored in the log file. And data indicating that it is under test is recorded.

다시, 단계 S18에서 테스트 중인 경우로 판단되면, 단계 S22로 진행하여 테스트가 완료된 것인가를 판단한다. 즉, 지정된 횟수만큼 반복해서 테스트가 수행되었는가를 판단한다. 테스트가 지정된 횟수까지 반복 수행되지 않은 경우에는 단계 S24로 진행한다. 단계 S24에는 설정된 대기 시간을 카운트하고, 단계 S26에서는 카운트가 완료되었는가를 판단한다. 카운트가 완료되면, 단계 S28로 진행해서 지정된 테스트 항목을 실행한다. 이에 대한 상세한 설명은 후술한다. 테스트가 완료된 경우에는 테스트 프로그램(32)의 제어는 단계 S22에서 단계 S30으로 진행된다. 단계 S30에서는 로그 파일을 업데이트한다. 즉, 테스트 종료 시간, 테스트 완료를 표시하는 데이터 등을 로그 파일에 기록한다. 그리고 단계 S32에서 테스트 프로그램(32)이 종료된다.If it is determined that the test is being performed in step S18, the flow proceeds to step S22 to determine whether the test is completed. That is, it is determined whether the test has been performed repeatedly by the designated number of times. If the test has not been repeated a specified number of times, the flow proceeds to step S24. In step S24, the set waiting time is counted, and in step S26, it is determined whether the count is completed. When the count is completed, the flow advances to step S28 to execute the specified test item. Detailed description thereof will be described later. When the test is completed, the control of the test program 32 proceeds from step S22 to step S30. In step S30, the log file is updated. That is, the test end time, data indicating the completion of the test, and the like are recorded in a log file. And the test program 32 is complete | finished in step S32.

다음, 도 4 내지 도 6을 참조하여, 상기 지정된 테스트 항목의 실행 단계를 구체적으로 설명한다. 도 4는 도 2의 지정된 테스트 항목의 실행 단계에서 재시작 테스트의 구체적인 실행 단계를 보여주는 플로우챠트이고, 도 5는 도 2의 지정된 테스트 항목의 실행 단계에서 파워 온/오프 테스트의 구체적인 실행 단계를 보여주는 플로우챠트 그리고 도 6은 도 2의 지정된 테스트 항목의 실행 단계에서 서스팬드/리쥼 테스트의 구체적인 실행 단계를 보여주는 플로우챠트이다.Next, the execution step of the designated test item will be described in detail with reference to FIGS. 4 to 6. 4 is a flowchart showing a specific execution step of the restart test in the execution step of the specified test item of FIG. 2, and FIG. 5 is a flowchart showing a specific execution step of the power on / off test in the execution step of the specified test item of FIG. 6 is a flowchart showing a concrete execution step of the suspend / reset test in the execution step of the designated test item of FIG. 2.

도 4를 참조하여, 재시작 테스트 항목이 선택된 경우 테스트 프로그램(32)은 단계 S40에서 재시작 테스트를 시작한다. 단계 S42에서 로그 파일을 업데이트한다. 이 로그 파일 업데이트 단계에서는 재시작 테스트의 시작 시간 및 반복 횟수가 로그 파일에 기록된다. 그리고 단계 S44에서 리셋 신호가 발생되도록 한다. 리셋 신호를 발생하는 기술은 이 분야의 통상적인 기술자들에게는 잘 알려져 있다. 리셋 신호가 발생되면, 컴퓨터 시스템은 리셋 되고, 도 2에 도시된 단계 S12의 부팅 과정이 진행된다. 부팅이 완료되면 테스트 프로그램이 자동적으로 실행된다. 이와 같은 단계들을 통해서 지정된 반복 횟수만큼 재시작 테스트가 반복된다. 테스트 과정에서 시스템에 에러가 발생되면 로그 파일을 참조하여 테스트 진행 상황을 알 수 있다.Referring to Fig. 4, when the restart test item is selected, the test program 32 starts the restart test in step S40. In step S42, the log file is updated. In this log file update phase, the start time and the number of iterations of the restart test are recorded in the log file. In step S44, a reset signal is generated. Techniques for generating a reset signal are well known to those of ordinary skill in the art. When the reset signal is generated, the computer system is reset, and the booting process of step S12 shown in FIG. 2 is performed. The test program will run automatically when booting is complete. Through these steps, the restart test is repeated a specified number of iterations. If an error occurs in the system during the test, you can see the test progress by referring to the log file.

도 5를 참조하여, 파워 온/오프 테스트 항목이 선택된 경우 테스트 프로그램(32)은 단계 S50에서 파워 온/오프 테스트를 시작한다. 단계 S52에서 로그 파일을 업데이트한다. 이 로그 파일 업데이트 단계에서는 파워 온/오프 테스트의 시작 시간 및 반복 횟수가 로그 파일에 기록된다. 단계 S54에서는 알람 기능을 설정한다. 알람 기능은 상술한 바와 같이, 리얼타임클락(24)에 구비된 기능으로 이 기술은 이 분야의 기술자들에게는 잘 알려져 있다. 알람 기능을 이용하여 시스템이 파워 오프 된 후 다시 파워 온 될 시간을 설정한다. 단계 S56에서 시스템을 파워 오프 시킨다. 이 단계에서 전원 관리 컨트롤러(18)는 전원 공급 장치(22)의 메인 전원의 공급을 차단하게 된다. 단계 S58에서 지정된 시간이 경과되었는지를 판단하고, 지정된 시간이 되면 단계 S60에서 시스템이 파워 온 된다. 시스템이 파워 온 되면, 도 2에 도시된 단계 S12의 부팅 과정이 진행된다. 부팅이 완료되면 테스트 프로그램이 자동적으로 실행된다. 이와 같은 단계들을 통해서 지정된 반복 횟수만큼 파워 온/오프 테스트가 반복된다. 테스트 과정에서 시스템에 에러가 발생되면 로그 파일을 참조하여 테스트 진행 상황을 알 수 있다.Referring to FIG. 5, when the power on / off test item is selected, the test program 32 starts the power on / off test in step S50. In step S52, the log file is updated. In this log file update phase, the start time and the number of iterations of the power on / off test are recorded in the log file. In step S54, the alarm function is set. As described above, the alarm function is a function provided in the real time clock 24, which is well known to those skilled in the art. Use the alarm function to set the time after the system is powered off. In step S56, the system is powered off. In this step, the power management controller 18 cuts off the supply of the main power of the power supply 22. It is determined whether the time specified in step S58 has elapsed, and when the specified time reaches, the system is powered on in step S60. When the system is powered on, the booting process of step S12 shown in FIG. 2 is performed. The test program will run automatically when booting is complete. Through these steps, the power on / off test is repeated for a specified number of repetitions. If an error occurs in the system during the test, you can see the test progress by referring to the log file.

도 6을 참조하여, 서스팬드/리쥼 테스트 항목이 선택된 경우 테스트 프로그램(32)은 단계 S70에서 서스팬드/리쥼 테스트를 시작한다. 단계 S72에서 로그 파일을 업데이트한다. 이 로그 파일 업데이트 단계에서는 서스팬드/리쥼 테스트의 시작 시간 및 반복 횟수가 로그 파일에 기록된다. 단계 S74에서는 리쥼 온 시간을 설정한다. 리쥼 시간 설정은 상술한 바와 같이, 리얼타임클락(24)에 구비된 알람 기능을 사용한 것이다. 알람 기능을 이용하여 시스템이 서스팬드 모드에서 리쥼 될 시간을 설정한다. 단계 S76에서는 시스템을 서스팬드 모드로 전환한다. 단계 S78에서 지정된 시간이 경과되었는지를 판단하고, 지정된 시간이 되면 단계 S80에서 시스템이 리쥼 된다. 시스템이 리쥼 되면 테스트 프로그램(32) 도 2의 단계 S16부터 반복 진행한다. 이와 같은 단계들을 통해서 지정된 반복 횟수만큼 서스팬드/리쥼 테스트가 반복된다. 테스트 과정에서 시스템에 에러가 발생되면 로그 파일을 참조하여 테스트 진행 상황을 알 수 있다.Referring to FIG. 6, when the suspend / reset test item is selected, the test program 32 starts the suspend / reset test in step S70. In step S72, the log file is updated. In this log file update phase, the start time and the number of iterations of the suspend / reset test are recorded in the log file. In step S74, the reset on time is set. As described above, the reset time setting uses an alarm function provided in the real time clock 24. Use the alarm function to set the time for the system to be recalled in suspend mode. In step S76, the system is switched to the suspend mode. It is determined whether the time specified in step S78 has elapsed, and when the specified time reaches, the system is reset in step S80. When the system is reset, the test program 32 repeats from step S16 of FIG. Through these steps, the suspend / reset test is repeated a specified number of iterations. If an error occurs in the system during the test, you can see the test progress by referring to the log file.

이상에서, 본 발명에 따른 회로의 구성 및 동작을 상기한 설명 및 도면에 따라 도시하였지만 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능함은 물론이다.In the above, the configuration and operation of the circuit according to the present invention are shown in accordance with the above description and drawings, but this is merely described, for example, and various changes and modifications are possible without departing from the spirit of the present invention. .

이상과 같은 본 발명에 의하면, 컴퓨터 시스템의 개발 단계에서 반복적으로 이루어지는 재시작, 파워 온/오프, 서스팬드/리쥼 테스트 과정을 자동으로 수행함으로 종래에 개발자가 일일이 수동으로 테스트를 수행하던 번거로움을 제거 할 수 있다.According to the present invention as described above, by repeatedly performing the restart, power on / off, suspend / reset test process that is repeatedly performed in the development stage of the computer system, the developer has had to manually test manually in the past Can be removed.

Claims (4)

전원 관리 기능을 구비한 컴퓨터 시스템의 재시작, 파워 온/오프 및, 서스팬드 리쥼 테스트를 위한 컴퓨터 시스템의 테스트 방법에 있어서:A method of testing a computer system for restarting, power on / off, and suspend reset testing of a computer system with power management: 테스트 프로그램과 관련된 로그 파일을 체크하여 컴퓨터 시스템에 대한 테스트가 진행 중인가를 판단하는 단계;Checking a log file associated with a test program to determine whether a test on a computer system is in progress; 테스트 중이지 않은 경우, 테스트 항목, 대기 시간 및 반복 횟수를 초기화하는 단계;Initializing a test item, a waiting time, and a repetition number when not in a test; 상기 초기화 단계에서 선택된 테스트 항목에 대한 테스트의 실행에 앞서서 지정된 시간을 대기하는 단계;Waiting for a specified time prior to execution of a test for a test item selected in the initialization step; 지정된 시간이 경과 후, 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계;Executing a test on the selected test item after a designated time elapses; 지정된 테스트가 완료되면 로그 파일을 업데이트하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 테스트 방법.And updating a log file when the specified test is completed. 제 1 항에 있어서,The method of claim 1, 상기 선택된 테스트 항목이 상기 재시작 테스트일 때 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계는,When the selected test item is the restart test, executing a test on the selected test item, 상기 로그 파일을 업데이트하는 단계와 리셋 신호를 발생하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 테스트 방법.Updating the log file and generating a reset signal. 제 1 항에 있어서,The method of claim 1, 상기 선택된 테스트 항목이 상기 파워 온/오프 테스트일 때 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계는,When the selected test item is the power on / off test, executing a test on the selected test item, 상기 로그 파일을 업데이트하는 단계;Updating the log file; 시스템이 파워 오프 된 후 파워 온 될 시간을 설정하는 단계 및;Setting a time to be powered on after the system is powered off; 시스템을 파워 오프 하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 테스트 방법.And powering off the system. 제 1 항에 있어서,The method of claim 1, 상기 선택된 테스트 항목이 상기 서스팬드/리쥼 테스트일 때 상기 선택된 테스트 항목에 대한 테스트를 실행하는 단계는,When the selected test item is the suspend / reset test, executing a test on the selected test item, 상기 로그 파일을 업데이트하는 단계;Updating the log file; 시스템이 서스팬드 모드로 변환 된 후 리쥼 될 시간을 설정하는 단계;Setting a time to be recalled after the system is converted to suspend mode; 시스템을 서스팬드 모드로 전환하는 단계를 포함하는 것을 특징으로 하는 컴퓨터 시스템의 테스트 방법.And switching the system to suspend mode.
KR1019990050851A 1999-11-16 1999-11-16 Method for testing computer system with power management automatically KR20010046893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990050851A KR20010046893A (en) 1999-11-16 1999-11-16 Method for testing computer system with power management automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990050851A KR20010046893A (en) 1999-11-16 1999-11-16 Method for testing computer system with power management automatically

Publications (1)

Publication Number Publication Date
KR20010046893A true KR20010046893A (en) 2001-06-15

Family

ID=19620316

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990050851A KR20010046893A (en) 1999-11-16 1999-11-16 Method for testing computer system with power management automatically

Country Status (1)

Country Link
KR (1) KR20010046893A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101677988B1 (en) * 2015-09-22 2016-11-21 국방과학연구소 System and method for monitering flight software of guidance and control apparatus
KR20180076020A (en) * 2016-12-27 2018-07-05 주식회사 넥슨코리아 Apparatus and method for application test automation
CN111078484A (en) * 2019-12-30 2020-04-28 深圳Tcl数字技术有限公司 Power-off test method, device, equipment and storage medium for system upgrading

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101677988B1 (en) * 2015-09-22 2016-11-21 국방과학연구소 System and method for monitering flight software of guidance and control apparatus
KR20180076020A (en) * 2016-12-27 2018-07-05 주식회사 넥슨코리아 Apparatus and method for application test automation
CN111078484A (en) * 2019-12-30 2020-04-28 深圳Tcl数字技术有限公司 Power-off test method, device, equipment and storage medium for system upgrading

Similar Documents

Publication Publication Date Title
US8839206B2 (en) Time-based breakpoints in debuggers
US5978913A (en) Computer with periodic full power-on self test
JP3598272B2 (en) Starting and restarting the operating system
KR100951830B1 (en) Information processing device, power supply control method and computer readable recording medium
TWI653528B (en) Computer system and detection method
JP2000132424A (en) Software instrumentation method
US5935006A (en) Debug apparatus and method for debugging game program in ROM cartridge
US20030204790A1 (en) Computer main board on/off testing device, method and system
KR20010046893A (en) Method for testing computer system with power management automatically
CN111857238B (en) Method and system for measuring system starting time
KR950011476B1 (en) An electronic exchager
CN113687998A (en) Control method for eliminating abnormal operation of management engine
KR940007810B1 (en) Display unit for automatic mode changing of keyboard
TWI637259B (en) Rtc battery detection method and computer device using the method
CN113986635A (en) BIOS (basic input output System) testing method, system, storage medium and equipment
KR950010489B1 (en) The method extending debuging orders for electronic exchanger
CN117931239A (en) Processing method and electronic equipment
CN112711494A (en) Downtime fault positioning method and device
US20040162979A1 (en) Firmware developer user interface with break command polling
KR100288899B1 (en) Method and device for operating power saving mode of processor
JPH11175366A (en) Electronic circuit analysis device, electronic circuit analysis method, medium recording electronic circuit analysis program and electronic circuit analysis system
TW202115577A (en) Control method for solving abnormal operation of me
KR20020019972A (en) Automatic evaluation method and automatic evaluation system and storage medium storing automatic evaluation program
CN112346786A (en) Debugging information recording method applied to startup stage and operation stage after startup
JP2000029738A (en) Device and method for monitoring debugging

Legal Events

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