KR20060032079A - Apparatus and method for controling power saving by devices of executed program - Google Patents

Apparatus and method for controling power saving by devices of executed program Download PDF

Info

Publication number
KR20060032079A
KR20060032079A KR1020040081092A KR20040081092A KR20060032079A KR 20060032079 A KR20060032079 A KR 20060032079A KR 1020040081092 A KR1020040081092 A KR 1020040081092A KR 20040081092 A KR20040081092 A KR 20040081092A KR 20060032079 A KR20060032079 A KR 20060032079A
Authority
KR
South Korea
Prior art keywords
power saving
saving mode
application program
operating
foreground
Prior art date
Application number
KR1020040081092A
Other languages
Korean (ko)
Other versions
KR101128251B1 (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 KR1020040081092A priority Critical patent/KR101128251B1/en
Publication of KR20060032079A publication Critical patent/KR20060032079A/en
Application granted granted Critical
Publication of KR101128251B1 publication Critical patent/KR101128251B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality

Abstract

본 발명은 각 Application program이 실행되는 각 장치별 절전모드 정보를 이용하여 시스템 전원을 효과적으로 사용하기 위한 것이다.The present invention is to effectively use the system power by using the power saving mode information for each device running each application program.

본 발명은 시스템내에서 동작되는 각 Application program의 장치별 절전모드를, Foreground 및 Background로 동작하는 경우로 나누어 각각 설정하고, 현재 실행되는 Application program를 검출하여, 복수개의 application program이 동작하는 경우에는, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템을 동작하도록 한다.According to the present invention, the power saving mode for each application program operated in the system is set separately for the case of operating in the foreground and the background, and the currently executed application program is detected to operate the plurality of application programs. The system operates by combining the device power saving mode of the application program operating in the foreground and the device power saving mode of the application program operating in the background.

따라서 본 발명에 의하면, 실행되는 프로그램의 각 장치들의 전력소모를 효과적으로 줄일 수 있다.
Therefore, according to the present invention, the power consumption of each device of the program to be executed can be effectively reduced.

절전모드, 장치, 응용프로그램, foreground, backgroundSleep, device, application, foreground, background

Description

실행 프로그램의 장치별 절전모드 제어 장치 및 방법 {Apparatus and method for controling power saving by devices of executed program} Apparatus and method for controling power saving by devices of executed program}             

도 1은 절전모드로 동작 가능한 일반적인 컴퓨터의 전체적인 구성을 나타낸 블록도1 is a block diagram showing the overall configuration of a typical computer that can operate in a power saving mode

도 2a는 시스템내에서 동작하는 각 응용프로그램(application program)별 실행되는 장치(device)들의 절전모드를 사용자에 의거 각각 설정하는 것을 나타낸 도면FIG. 2A is a diagram illustrating setting power saving modes of devices executed for each application program operating in a system based on a user.

도 2b는 사용하고자 하는 응용프로그램인 프레젠테이션을 동작하고자 하는 경우, 그에 따른 각 장치들의 절전모드를 수동으로 변경하는 것을 나타낸 도면2B is a diagram illustrating manually changing a power saving mode of each device when a presentation, which is an application program to be used, is operated.

도 3은 본 발명에 의한 현재 실행되는 응용프로그램을 검출에 따른 절전모드를 구현하는 시스템 블록도3 is a system block diagram of implementing a power saving mode according to detecting an application program currently executed according to the present invention.

도 4, 5 및 도 6은 각 응용프로그램에 대하여 Foreground 및 Background로 동작하는 경우의 장치별 절전모드를 각각 나타낸 테이블4, 5, and 6 are tables showing power saving modes for each device when operating as a foreground and a background for each application.

도 7은 본 발명에 의한 실행 프로그램의 장치별 절전모드 제어방법을 개괄적으로 나타낸 흐름도7 is a flowchart schematically illustrating a method for controlling a power saving mode for each device of an execution program according to the present invention.

도 8은 본 발명에 의한 실행 프로그램의 장치별 절전모드 제어방법을 나타낸 흐름도8 is a flowchart illustrating a method for controlling a power saving mode for each device of an execution program according to the present invention.

도 9a는 동작되는 프로그램을 hooking하는 Shell Execute Hook을 등록하는 Routine9a is a routine for registering a shell execute hook for hooking an executed program

도 9b는 Shell Execute Hook을 해제하는 Routine9B is a routine for releasing a shell execute hook

도 9c는 hooking시에, 검사할 프로그램을 목록(registry)에서 가져오는 routineFig. 9C shows a routine for bringing a program to be examined from the registry upon hooking.

도 9d는 Hooking 루틴을 나타낸 것으로, 윈도우상에서 어떤 프로그램이 실행되는 경우 호출되는 루틴











9D shows a hooking routine, which is called when a program is executed on a window.











본 발명은 각 Application program이 실행되는 각 장치별 절전모드 정보를 이용하여 시스템을 운용하기 위한 것으로, 특히 복수개의 application program이 동작하는 경우에는, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템이 동작되도록 하는 실행 프로그램의 장치별 절전모드 제어 장치 및 방법에 관한 것이다.The present invention is to operate the system using the power saving mode information for each device running each application program, in particular, when a plurality of application programs are operating, device power saving mode and background of the application program operating in the foreground, The present invention relates to a device-specific power saving mode control apparatus and a method of an execution program for operating a system by combining device power saving modes of an operating application program.

이하 관련기술(related art)에 대해 설명한다.The related art will be described below.

도 1은 절전모드로 동작 가능한 일반적인 컴퓨터의 전체적인 구성을 나타낸 블록도이다.1 is a block diagram showing the overall configuration of a general computer that can operate in a power saving mode.

도면에서 보는바와 같이, 전원 공급부(power supply)에서는 배터리 전원 또는 AC 어댑터 전원을 일정 전압 레벨로 변환하여 시스템을 구성하는 각 장치, 예를들어 CPU, HDD, 오디오/비디오 UNIT 및 LCD등에 각각 필요한 전원을 각각 인가한다.As shown in the figure, the power supply converts battery power or AC adapter power to a certain voltage level to provide the power required for each device in the system, such as the CPU, HDD, audio / video unit, and LCD. Apply each.

도 2a는 시스템내에서 동작하는 각 응용프로그램(application program)별 실행되는 장치(device)들의 절전모드를 사용자에 의거 각각 설정하는 것을 나타낸 도면이다.FIG. 2A is a diagram illustrating setting power saving modes of devices executed for each application program operating in a system based on a user.

도면에서 보는바와 같이, 각 응용그램(21,23,25)에 각각 대응하는 각 전원구 성표(22,24,26)를 구성하여, 해당 응용프로그램을 동작하는 경우에 사용자가 장치관리자에서 전원구성표를 변경해야만 한다.As shown in the figure, each power scheme 22, 24, and 26 corresponding to each application 21, 23, and 25 is configured, and when a user operates the application, the user configures the power scheme in the device manager. Must be changed.

도 2b는 사용하고자 하는 응용프로그램인 프레젠테이션을 동작하고자 하는 경우, 그에 따른 각 장치들의 절전모드를 수동으로 변경하는 것을 나타낸 도면이다.2B is a diagram illustrating manually changing a power saving mode of each device when a presentation, which is an application program to be used, is to be operated.

그러나 상기와 같은 전원관리방법은, 사용자가 사용하고자 하는 환경에 따라 장치관리자에서 전원구성표를 수동으로 변경하여야 한다.However, in the power management method as described above, the device manager must manually change the power scheme according to the environment that the user wants to use.

또한 이러한 방법은 사용자가 사용하는 프로그램의 종류가 달라지게 되면, 전원구성을 다시 선택하여야 하는 불편함이 있다. 특히 Multi-tasking OS 환경에서 여러 가지 프로그램을 동시에 사용할 때, 어느 응용프로그램를 기준으로 하여 변경할 것인지와 수동으로 매번 전원구성을 변경하기는 거의 불가능 하다.
In addition, this method is inconvenient to reselect the power configuration when the type of the program used by the user is changed. In particular, when using several programs at the same time in a multi-tasking OS environment, it is almost impossible to change based on which application and power configuration manually each time.

따라서, 본 발명은 시스템을 휴대모드로(배터리모드)로 사용할 때 전력소모를 줄이기 위해 장치들의 절전모드를 제안한다.Accordingly, the present invention proposes a power saving mode of devices to reduce power consumption when using the system in a portable mode (battery mode).

또한 본 발명은 사용자가 사용하는 프로그램을 인식하여, 실행프로그램의 장치별 전원모드로 자동으로 설정되는 것을 제안한다.In addition, the present invention recognizes a program used by a user, and proposes to automatically set the power mode for each device of an execution program.

또한 본 발명은 복수의 응용 프로그램이 동시에 사용 중 일때, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템이 동작되는 것을 제안한 다.In addition, the present invention proposes to operate the system by combining the device power saving mode of the application program operating in the foreground and the device power saving mode of the application program operating in the background when a plurality of application programs are in use at the same time.

또한 본 발명은 복수의 응용 프로그램이 동시에 사용 중 일때, 각각의 프로그램이 사용하는 장치들을 제외한 나머지 장치들은 가능한 최대의 절전모드로 동작되고, 각각의 프로그램이 사용하는 장치들은 가능한 최소의 절전모드에서 동작되는 것을 제안한다.
According to the present invention, when a plurality of application programs are being used at the same time, the devices other than the devices used by each program operate in the maximum power saving mode possible, and the devices used by each program operate in the minimum power saving mode possible. Suggest to be.

본 발명의 실행 프로그램의 장치별 절전모드 제어 장치는, 각 Application 프로그램의 장치별 절전모드가 각각 복수개로 설정되어 저장되는 메모리수단과; 및An apparatus for controlling a power saving mode for each device of an execution program of the present invention includes: memory means for setting and storing a plurality of power saving modes for each application program of each application program; And

2개이상의 실행 Application 프로그램의 장치별 각각의 절전모드를 미리 정한 방식으로 조합한 결과에 의해 시스템을 동작하는 제어수단;을 포함한다.And control means for operating the system by a result of combining the respective power saving modes of each of the two or more running application programs in a predetermined manner.

또한 본 발명의 실행 프로그램의 장치별 절전모드 제어 방법은, 시스템내에서 동작되는 각 Application program의 장치별 절전모드를, Foreground 및 Background로 동작하는 경우로 나누어 각각 설정하는 단계; 현재 실행되는 Application program를 검출하는 단계; 상기 검출결과, 복수개의 application program이 동작하는 경우에는, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템이 동작하는 단계; 및 상기에서 실행되는 application program 검출결과, 1개의 application program이 동작하는 경우에는, 상기 실행되는 application program의 Foreground 절전모드에 의해 시스템이 동작되는 단계;를 포함한다. In addition, the device-specific power saving mode control method of the execution program of the present invention comprises the steps of setting each of the power saving mode for each application program operating in the system divided into the case of operating in the foreground and background; Detecting an application program currently being executed; As a result of the detection, when a plurality of application programs operate, operating the system by combining a device power saving mode of an application program operating in the foreground and a device power saving mode of an application program operating in the background; And operating the system by a foreground power saving mode of the executed application program when one application program operates as a result of the detection of the application program executed in the above.                     

이하, 본 발명에 따른 실행되는 프로그램의 각 장치의 절전모드 정보에 의한 시스템 절전모드 제어 장치 및 방법에 대한 바람직한 실시예에 대해, 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of an apparatus and method for controlling a system power saving mode by power saving mode information of each device of a program to be executed according to the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 의한 현재 실행되는 응용프로그램을 검출하는 Shell execute hook routine과 Foreground로 동작하는 응용프로그램을 검출하는 함수를 포함하는 배터리마이저(battery miser) 프로그램과, 각 응용프로그램이 foreground로 동작할때의 장치들의 절전모드와 background로 동작할때의 장치들의 절전모드 정보를 저장하고 있는 메모리(23,13)구성을 포함하는 컴퓨터의 전체 구성을 나타낸 블록도이다.3 is a battery miser program including a shell execute hook routine for detecting a currently executing application and a function for detecting an application operating in the foreground, and each application running in the foreground. Fig. 1 is a block diagram showing the overall configuration of the computer including the memory 23 and the memory 23 which store the power saving mode of the devices in the background and the power saving mode of the devices in the background.

도면에서 보는바와 같이, 시피유(CPU)(10), 비디오 컨트롤러(11), 호스트 피씨아이 브릿지(Host-PCI Bridge)(12), 메모리(13), 비디오 램(14), 오디오 컨트롤러(15), 랜 컨트롤러(16), 카드 버스(Card BUS) 컨트롤러(17), 피씨아이 아이서 브릿지(PCI-ISA Bridge)(18), 엘씨디(LCD)(19), 마이컴(20), 키보드(21), 사용자에 의해 설정된 각 응용프로그램이 foreground로 동작할때의 장치들 절전모드와 background로 동작할때의 장치들 절전모드 정보를 저장하고 있는 메모리(13) 및 배터리마이저 프로그램(23a)을 저장하고 있는 HDD(23) 등으로 구성된다. As shown in the figure, a CPU 10, a video controller 11, a Host-PCI Bridge 12, a memory 13, a video RAM 14, an audio controller 15 LAN controller 16, card bus controller 17, PCI-ISA Bridge 18, LCD 19, microcomputer 20, keyboard 21 Each of the applications set by the user stores the memory 13 and the battery optimizer 23a, which store information about the devices power saving mode when operating in the foreground and the devices power saving mode when operating in the background. HDD 23 or the like.

상기 HDD(23)에 저장되어 있는 상기 배터리마이저 (23a)는 Windows OS가 Booting된 후에 상기 Memory(13)에 적재되어 동작한다.The battery optimizer 23a stored in the HDD 23 is loaded into the memory 13 after the Windows OS is booted to operate.

상기에서 배터리마이저는 시스템의 절전기능을 담당하는 것으로 저장부에 저장된 프로그램이다. The batteryizer is a program stored in the storage unit that is responsible for the power saving function of the system.                     

한편, 상기 피씨아이 아이서 브릿지(PCI-ISA Bridge)(18)에는, 씨모스 램(CMOS-RAM)(180)이 포함 구성되며, 상기 마이컴(20)에는, 롬(200)과 램(201), 그리고 키보드 컨트롤러(203)를 포함한다.The PCI-ISA Bridge 18 includes a CMOS RAM 180, and the microcomputer 20 includes a ROM 200 and a RAM 201. And a keyboard controller 203.

본 발명에 따른 실행 프로그램의 장치별 절전모드 제어 장치 및 방법은, 상기 도 3과 같은 휴대용 기기, 예를 들어 노트북 컴퓨터뿐만 아니라, 절전모드가 필요한 모든 기기, 예를들어 PDA등에서도 적용 가능하다.Device-specific power saving mode control apparatus and method of the execution program according to the present invention can be applied not only to the portable device, such as a notebook computer as shown in FIG. 3, but also to any device requiring a power saving mode, such as a PDA.

도 4, 5 및 도 6은 각 응용프로그램에 대하여 Foreground 및 Background로 동작하는 경우의 장치별 절전모드를 각각 나타낸 테이블이다.4, 5, and 6 are tables showing device-specific power saving modes when operating as a foreground and a background for each application.

여기에서, 복수의 응용 프로그램이 동시에 사용 중 일때, 각각의 프로그램이 사용하는 장치들을 제외한 나머지 장치들은 가능한 최대의 절전모드로 동작되고, 각각의 프로그램이 foreground 및 background로 동작되는 장치들의 절전모드는 미리 정한 방식(최소의 절전모드 선택)으로 서로 조합하여 시스템이 동작되는 것이 바람직하다.Here, when a plurality of applications are being used at the same time, the rest of the devices except for the devices used by each program are operated in the maximum power saving mode possible, and the power saving modes of the devices in which each program is operated in the foreground and background are preliminary. It is desirable to operate the system in combination with each other in a predetermined manner (minimum power saving mode selection).

먼저, 본 발명에서 설정한 절전모드를 CPU사용량에 의거 다음과 같이 분류하였다고 가정한다.First, it is assumed that the power saving mode set in the present invention is classified as follows based on CPU usage.

1. Full Performance (예를들어 CPU 사용량 100%) : 장치가 최대의 성능으로 동작하며, 절전기능은 사용하지 않는다1. Full Performance (e.g. 100% CPU usage): The device operates at maximum performance and no power saving function is used.

2. Automatic (CPU 사용량 70%) : Full Performance보다는 낮은 절전성능 또는 높은 절전기능을 사용한다.2. Automatic (70% CPU usage): Use lower power saving or higher power saving than full performance.

3. Battery Optimized (CPU 사용량 50%) : Automatic보다는 낮은 절전성능 또는 높은 절전기능을 사용한다.3. Battery Optimized (CPU usage 50%): Uses lower power saving or higher power saving than Automatic.

4. Max Battery (CPU 사용량 20%) :장치가 최대 절전모드로 동작하며, 배터리 소모가 거의 없다.4. Max Battery (20% CPU usage): The device operates in the hibernation mode and almost no battery consumption.

도 4a는 Windows Media Player(WMP) (A)가 foreground로 동작하는 경우의 각 장치들의 절전모드를 나타낸 table 1 (a)이다.FIG. 4A is a table 1 (a) illustrating power saving modes of devices when Windows Media Player (WMP) (A) operates in the foreground.

도면에서 보는바와 같이, 장치들의 절전모드는 다음과 같다.As shown in the figure, the power saving mode of the devices is as follows.

CPU : Max Battery, HDD : Max Battery, SOUND : Full Performance, LCD : Max Battery이다. CPU: Max Battery, HDD: Max Battery, SOUND: Full Performance, LCD: Max Battery.

도 4b는 Windows Media Player(WMP) (A)가 background로 동작하는 경우의 각 장치들의 절전모드를 나타낸 table 2 (b)이다.4B is a table 2 (b) illustrating power saving modes of respective devices when the Windows Media Player (WMP) (A) operates in the background.

도면에서 보는바와 같이, 장치들의 절전모드는 다음과 같다.As shown in the figure, the power saving mode of the devices is as follows.

CPU : Max Battery, HDD : Max Battery, SOUND : Full Performance, LCD : Max Battery이다. CPU: Max Battery, HDD: Max Battery, SOUND: Full Performance, LCD: Max Battery.

상기 WMP (A)는 foreground 및 background로 동작하는 경우의 디바이스들의 절전모드가 우연히 동일한 경우이다.The WMP (A) is a case where the power saving modes of the devices in the foreground and the background are coincidentally the same.

도 5a는 Excel (B)가 foreground로 동작하는 경우의 각 장치들의 절전모드를 나타낸 table 3 (c)이다.FIG. 5A is a table 3 (c) illustrating power saving modes of devices when Excel (B) operates in the foreground.

도면에서 보는바와 같이, 장치들의 절전모드는 다음과 같다.As shown in the figure, the power saving mode of the devices is as follows.

CPU : Automatic, HDD : Max Battery, SOUND : Max Battery, LCD : Automatic이다. CPU: Automatic, HDD: Max Battery, SOUND: Max Battery, LCD: Automatic.                     

도 5b는 Excel (B)가 background로 동작하는 경우의 각 장치들의 절전모드를 나타낸 table 4 (d)이다.5B is a table 4 (d) illustrating power saving modes of devices when Excel (B) operates in the background.

도면에서 보는바와 같이, 장치들의 절전모드는 다음과 같다.As shown in the figure, the power saving mode of the devices is as follows.

CPU : Max Battery, HDD : Max Battery, SOUND : Max Battery, LCD : Max Battery이다. CPU: Max Battery, HDD: Max Battery, SOUND: Max Battery, LCD: Max Battery.

상기 도 4a 및 도 5a에서, 하나의 응용프로그램이 실행되는 경우에는, 프로그램의 실행 시점에서 절전모드가 table1(a) 및 table3(c)에 따라 각각 독립적으로 변경되며, 응용프로그램이 사용하지 않는 장치들의 절전모드는 최대의 절전모드로 변경되는 것이 바람직하다.4A and 5A, when one application program is executed, the power saving mode is independently changed according to table1 (a) and table3 (c) at the time of execution of the program, and is not used by the application program. These power saving modes are preferably changed to the maximum power saving mode.

또한 하나의 응용프로그램이라도 동작되지 않는 경우에는, 사용자에 의해 설정된 장치별 최대의 절전모드로 동작하는 것이 바람직하다.In addition, when no application program is operated, it is preferable to operate in the maximum power saving mode for each device set by the user.

도 6a-6d는 응용프로그램이 독립적으로 동작하는 경우 및 동시에 동작하는 경우에서의 장치별 절전모드를 나타낸 테이블이다.6A and 6D are tables showing device-specific power saving modes in the case where an application program operates independently and simultaneously.

도면에서 보는바와 같이, 도 6a는 WMP가 단독으로 동작하는 경우의 절전모드를 나타낸 것으로, 도 4a의 table1(a)에 설정된 foreground에 의한 장치별 절전모드가 실행되는 것을 나타낸다.As shown in the figure, FIG. 6A shows the power saving mode when the WMP operates alone, and shows that the device-specific power saving mode is executed by the foreground set in table 1 (a) of FIG. 4A.

도 6b는 EXCEL이 단독으로 동작하는 경우의 절전모드를 나타낸 것으로, 도 5a의 table3(c)에 설정된 foreground에 의한 장치별 절전모드가 실행되는 것을 나타낸다.FIG. 6B shows the power saving mode when the EXCEL operates alone, and shows that the device-specific power saving mode in the foreground set in table 3 (c) of FIG. 5A is executed.

도 6c는 WMP 및 EXCEL이 동시에 동작하는 경우에서, EXCEL이 foreground로 동작하고, WMP가 background로 동작하는 경우에서의 절전모드를 나타낸 것으로, 상기 두개의 application program의 절전모드중 최소의 절전모드(절전율 낮음)로 동작하는 것을 나타낸다.FIG. 6C illustrates a power saving mode when the WMP and the EXCEL operate simultaneously and the EXCEL operates in the foreground and the WMP operates in the background. Low thrill).

따라서, 도 5a의 EXCEL의 foreground 절전모드(table 3(c))와 도 4b의 WMP의 backgeound 절전모드(table 2(b))를 조합하여 최소의 절전모드에 의해 장치들이 동작한다.Accordingly, the devices operate in the minimum power saving mode by combining the foreground power saving mode (table 3 (c)) of EXCEL of FIG. 5A and the backgeound power saving mode (table 2 (b)) of WMP of FIG. 4B.

도 6d는 WMP 및 EXCEL이 동시에 동작하는 경우에서, WMP가 foreground로 동작하고, EXCEL이 background로 동작하는 경우에서의 절전모드를 나타낸 것으로, 상기 두개의 application program의 절전모드중 최소의 절전모드(절전율 낮음)로 동작하는 것을 나타낸다.FIG. 6D illustrates a power saving mode when the WMP operates in the foreground and the EXCEL operates in the background when the WMP and the EXCEL operate at the same time. FIG. Low thrill).

따라서, 도 4a의 WMP의 foreground 절전모드(table 1(a))와 도 5b의 EXCEL의 backgeound 절전모드(table 4(d)를 조합하여 최소의 절전모드에 의해 장치들이 동작한다.Accordingly, the devices operate in the minimum power saving mode by combining the WMP foreground power saving mode table 1 (a) of FIG. 4A and the backgeound power saving mode table 4 (d) of EXCEL of FIG. 5B.

상기에서 현재 디스플레이 수단의 제일 상위(전면)에서 실행되는 응용프로그램이 foreground가 되고, 상기 현재 프로그램의 이면에서 동작하는 프로그램이 background가 된다.In the above, an application program executed at the top (front) of the current display means becomes the foreground, and a program running behind the current program becomes the background.

상기에서 설명한바와 같이, 현재 실행되는 foreground 응용프로그램의 장치별 절전모드와, 현재 실행되는 프로그램의 이면에서 동작하는 background 응용프로그램의 장치별 절전모드를 조합하여 최소의 절전모드 상태로 시스템을 동작하도록 한다. As described above, the system operates in the minimum power saving mode by combining the device-specific power saving mode of the currently running foreground application and the device-specific power saving mode of the background application running behind the currently executing program. .                     

상기에서 실행되는 Application program 검출은 배터리 마이저를 구성하는 Shell Execute Hook Routine에 의해 검출되며, 실행되는 application program이 Foreground로 동작하는지, Background로 동작하는지의 검출은, 배터리마이저에 저장된 GetForegroundWindow( ) 함수를 모니터링하여 인식한다.The detection of the application program executed above is detected by the shell execute hook routine which constitutes the battery optimizer. The detection of whether the executed application program operates in the foreground or the background monitors the GetForegroundWindow ( ) function stored in the battery optimizer. To recognize it.

도 7은 본 발명에 의한 실행 프로그램의 장치별 절전모드 제어방법을 개괄적으로 나타낸 흐름도이다.7 is a flowchart schematically illustrating a method for controlling a power saving mode for each device of an execution program according to the present invention.

시스템내에서 동작되는 각 Application program을 실행하는 복수개 장치들 각각에 대해 foreground 및 background로 동작하는 경우의 절전모드를 도 4 및 도 5와 같이 설정한다. (S 701).A power saving mode when operating in the foreground and background for each of a plurality of devices executing each application program operated in the system is set as shown in FIGS. 4 and 5. (S 701).

현재 실행되는 Application program, foreground 및 background 응용프로그램을 배터리 마이저를 구성하는 Shell Execute Hook Routine 및 GetForegroundWindow( ) 함수를 모니터링하여 검출한다. (S 702). Detect the currently running application program, foreground and background applications by monitoring the Shell Execute Hook Routine and GetForegroundWindow ( ) functions that make up the battery optimizer. (S 702).

상기 검출된 Application program의 각 장치에 설정된 절전모드 정보에 의해 도 6과 같이 절전모드가 설정되어 시스템이 동작한다. (S 703).The power saving mode is set as shown in FIG. 6 by the power saving mode information set in each device of the detected application program to operate the system. (S 703).

만약 본 발명에서 현재 실행되는 응용프로그램이 없는 경우에는, 사용자에 의해 설정된 일반적인 절전모드에 의해 시스템이 동작한다. (S 704).If there is no application program currently executed in the present invention, the system is operated by the general power saving mode set by the user. (S 704).

도 8은 본 발명에 의한 실행 프로그램의 장치별 절전모드 제어방법을 나타낸 흐름도이다.8 is a flowchart illustrating a method of controlling a power saving mode for each device of an execution program according to the present invention.

시스템내에서 동작되는 각 Application program(WMP/EXCEL)의 장치(CPU/HDD/SOUND/LCD등)별 절전모드를, Foreground(도 4a/도 5a) 및 Background(도 4b/5b)로 동작하는 경우로 나누어 각각 설정한다. (S 801).When operating the power saving mode for each device (CPU / HDD / SOUND / LCD, etc.) of each application program (WMP / EXCEL) operated in the system with Foreground (FIG. 4A / FIG. 5A) and Background (FIG. 4B / 5B) Set each by dividing by. (S 801).

현재 실행되는 Application program를 Shell Execute Hook Routine를 통해 검출한다. (S 802).Detect currently running application program through Shell Execute Hook Routine. (S 802).

상기 검출결과, 2개이상의 응용프로그램이 실행되는 경우에, 예를들어 도 6d와 같이 WMP(A)가 foreground(a)로 동작하고, Excel(B)이 background(d)로 동작할때, 각 응용프로그램의 장치별 절전모드를 최소의 절전모드로 조합/설정하여 동작하도록 한다. (S 803).As a result of the detection, when two or more applications are executed, for example, when WMP (A) operates in the foreground (a) and Excel (B) operates in the background (d) as shown in FIG. 6D, It operates by combining / setting the power saving mode per device of the application program to the minimum power saving mode. (S 803).

상기 단계 S 802에서의 현재 실행되는 응용프로그램이 1개인 경우에는, 검출된 프로그램의 foreground 장치별 절전모드에 의해 시스템이 동작한다. (S 804).In the case where there is only one application program currently executed in step S802, the system operates by the power saving mode for each foreground device of the detected program. (S 804).

상기에서, 복수개의 application program이 동작하는 경우에서, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 서로 조합하여, 낮은 절전모드로 시스템을 동작하게 하는 것이 바람직하나, 높은 절전모드로도 시스템을 동작할 수 있다.In the above, in the case where a plurality of application programs are operating, it is desirable to combine the device power saving mode of the application program operating in the foreground with the device power saving mode of the application program operating in the background to operate the system in a low power saving mode. Preferably, the system can operate in a high power saving mode.

도 9a는 동작되는 프로그램을 hooking하는 Shell Execute Hook을 등록하는 Routine이다. 9A is a routine for registering a shell execute hook that hooks an executed program.

도 9b는 Shell Execute Hook을 해제하는 Routine이다.9B is a routine for releasing a shell execute hook.

도 9c는 hooking시에, 검사할 프로그램을 목록(registry)에서 가져오는 routine이다.Fig. 9C is a routine for bringing up a program to check from the registry upon hooking.

도 9d는 Hooking 루틴을 나타낸 것으로, 윈도우상에서 어떤 프로그램이 실행되는 경우 호출되는 루틴이다. 9D illustrates a hooking routine, which is called when a program is executed on a window.                     

상기한바와 같이 본 발명은, 복수개의 application program이 동작하는 경우에, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템이 동작되도록 하는 실행 프로그램의 장치별 절전모드 제어 장치 및 방법에 관한 것이다.As described above, when the plurality of application programs operate, the present invention executes the system by operating the device power saving mode of the application program operating in the foreground and the device power saving mode of the application program operating in the background. The present invention relates to a device-specific power saving mode control apparatus and method.

이상, 전술한 본 발명의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면, 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서, 또다른 다양한 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.
Or more, preferred embodiments of the present invention described above, for the purpose of illustration, those skilled in the art, within the technical spirit and the technical scope of the present invention disclosed in the appended claims below, to further improve various other embodiments Changes, substitutions or additions will be possible.

본 발명에 의한 실행 프로그램의 장치별 절전모드 제어 장치 및 방법에 의하면, 각 장치들의 전력소모를 효과적으로 줄일 수 있다.According to the apparatus and method for controlling a power saving mode for each device of an execution program according to the present invention, power consumption of each device can be effectively reduced.

또한 본 발명은 복수의 응용 프로그램이 동시에 사용 중 일때, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템을 동작하므로써 배터리 전원을 효과적으로 사용할 수 있다.In addition, the present invention can effectively use battery power by operating the system by combining the device power saving mode of the application program operating in the foreground and the device power saving mode of the application program operating in the background when a plurality of application programs are in use at the same time. .

또한 본 발명은 복수의 응용 프로그램이 동시에 사용 중 일때, 각각의 프로그램이 사용하는 장치들을 제외한 나머지 장치들은 가능한 최대의 절전모드로 동작되고, 각각의 프로그램이 사용하는 장치들은 가능한 최소의 절전모드에서 동작되는 하므로써 배터리 전원을 효율적으로 사용할 수 있다.According to the present invention, when a plurality of application programs are being used at the same time, the devices other than the devices used by each program operate in the maximum power saving mode possible, and the devices used by each program operate in the minimum power saving mode possible. In this way, battery power can be used efficiently.

Claims (11)

절전모드로 동작 가능한 시스템에 있어서,In a system capable of operating in a power saving mode, 각 Application 프로그램의 장치별 절전모드가 각각 복수개로 설정되어 저장되는 메모리수단과; 및 Memory means for storing and setting a plurality of power saving modes for each application program of each application program; And 2개이상의 실행 Application 프로그램의 장치별 각각의 절전모드를 미리 정한 방식으로 조합한 결과에 의해 시스템을 동작하는 제어수단;을 포함하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 장치.And control means for operating the system by a result of combining the respective power saving modes for each device of the two or more running application programs in a predetermined manner. 제 1항에 있어서, Application program의 장치별 절전모드는 상기 Application program이 foreground 및 background로 동작할때 서로 다르게 설정되어 저장되는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 장치.The apparatus of claim 1, wherein the power saving mode for each device of the application program is set and stored differently when the application program operates in the foreground and the background. 제 1항 또는 2항에 있어서, Foreground로 동작하는 Application program의 장치별로 설정된 절전모드와, Background로 동작하는 Application program의 장치별로 설정된 절전모드를 서로 조합하여, 절전이 낮은 장치별 상태로 시스템을 동작하게 하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 장치.The system of claim 1 or 2, wherein a power saving mode set for each device of an application program operating as a foreground and a power saving mode set for each device of an application program operating as a background are combined with each other to operate the system in a device-specific low power saving state. Device-specific power saving mode control device of the executable program, characterized in that. 제 1항 또는 2항에 있어서, 복수의 프로그램이 동시에 사용중 일 때 각각의 프로그램이 사용하는 장치들을 제외한 나머지 장치들은 최대의 절전모드로 동작되는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 장치.The apparatus of claim 1 or 2, wherein the remaining devices, except for the devices used by each program, operate in the maximum power saving mode when a plurality of programs are being used simultaneously. 시스템내에서 동작되는 각 Application program을 실행하는 복수개 장치들의 각각의 절전모드를 설정하는 단계;Setting a power saving mode of each of a plurality of devices executing each application program operated in the system; 현재 실행되는 Application program를 검출하는 단계; 및Detecting an application program currently being executed; And 상기 검출된 Application program의 각 장치에 설정된 절전모드 정보에 의해 시스템이 동작하는 단계;를 포함하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.And operating a system by power saving mode information set in each device of the detected application program. 제 5항에 있어서, 실행되는 Application program 검출은 배터리 마이저를 구성하는 Shell Execute Hook Routine에 의해 검출되는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.The method of claim 5, wherein the detecting of the executed application program is detected by a shell execute hook routine constituting a battery optimizer. 시스템내에서 동작되는 각 Application program의 장치별 절전모드를, Foreground 및 Background로 동작하는 경우로 나누어 각각 설정하는 단계;Setting a power saving mode for each application program of each application program operated in the system by dividing the power saving mode into a case of operating in the foreground and the background; 현재 실행되는 Application program를 검출하는 단계; 및Detecting an application program currently being executed; And 상기 검출결과, 복수개의 application program이 동작하는 경우에는, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 조합하여 시스템이 동작하는 단계;를 포함하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.When the plurality of application programs are operating, the system operating by combining the device power saving mode of the application program operating in the foreground and the device power saving mode of the application program operating in the background; Device-specific power saving mode control method of the executable program. 제 7항에 있어서, 실행되는 application program 검출결과, 1개의 application program이 동작하는 경우에는, 상기 실행되는 application program의 Foreground 절전모드에 의해 시스템이 동작되는 단계;를 더 포함하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.8. The execution program according to claim 7, further comprising: operating the system by a foreground power saving mode of the executed application program when one application program is operated as a result of the execution of the detected application program. How to control power saving mode by device. 제 7항에 있어서, 실행되는 application program이 Foreground로 동작하는지, Background로 동작하는지의 검출은, GetForegroundWindow( ) 함수를 모니터링하여 인식하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.The method of claim 7, wherein the detection of whether the executed application program operates in the Foreground or the Background is performed by monitoring the GetForegroundWindow ( ) function . 제 7항에 있어서, 복수개의 application program이 동작하는 경우에서, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 서로 조합하여, 낮은 절전모드로 시스템이 동작하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.The system of claim 7, wherein in a case where a plurality of application programs operate, the system operates in a low power saving mode by combining a device power saving mode of an application program operating in the foreground and a device power saving mode of an application program operating in the background. Device-specific power saving mode control method of the execution program, characterized in that. 제 7항에 있어서, 복수개의 application program이 동작하는 경우에서, Foreground로 동작하는 application program의 장치 절전모드와, Background로 동작하는 application program의 장치 절전모드를 서로 조합하여, 높은 절전모드로도 시스템이 동작하는 것을 특징으로 하는 실행 프로그램의 장치별 절전모드 제어 방법.The system according to claim 7, wherein the system power saving mode is combined with the device power saving mode of the application program operating in the foreground and the device power saving mode of the application program operating in the background when the plurality of application programs operate. Device-specific power saving mode control method of the execution program, characterized in that operating.
KR1020040081092A 2004-10-11 2004-10-11 Apparatus and method for controling power saving by devices of executed program KR101128251B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040081092A KR101128251B1 (en) 2004-10-11 2004-10-11 Apparatus and method for controling power saving by devices of executed program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040081092A KR101128251B1 (en) 2004-10-11 2004-10-11 Apparatus and method for controling power saving by devices of executed program

Publications (2)

Publication Number Publication Date
KR20060032079A true KR20060032079A (en) 2006-04-14
KR101128251B1 KR101128251B1 (en) 2012-03-26

Family

ID=37141580

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040081092A KR101128251B1 (en) 2004-10-11 2004-10-11 Apparatus and method for controling power saving by devices of executed program

Country Status (1)

Country Link
KR (1) KR101128251B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101441413B1 (en) * 2013-05-10 2014-09-24 인하대학교 산학협력단 Mobile display device controlling window size and method for controlling window size
US10216248B2 (en) 2015-02-13 2019-02-26 Xiaomi Inc. Method and device for controlling power consumption
KR102096368B1 (en) * 2019-02-07 2020-04-03 주식회사 한성 Power consumption reduction apparatus of display device
KR102166553B1 (en) * 2019-11-22 2020-10-19 (주)스마트인디지털 Method for adaptive controlling of computer power based on usage prediction and apparatus for performing the method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101463533B1 (en) * 2012-04-27 2014-11-19 성균관대학교산학협력단 Method of core scheduling for asymmetric multi-core processor in a mobile device and apparatus for performing the same
WO2015026197A1 (en) * 2013-08-22 2015-02-26 삼성전자 주식회사 Method for performing power-saving mode in electronic device and electronic device therefor
KR102208620B1 (en) * 2014-03-12 2021-01-28 삼성전자 주식회사 Method for saving a power and portable electronic device supporting the same
CN106415498B (en) * 2014-06-24 2020-09-29 英特尔公司 Virtual machine power management

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5142684A (en) * 1989-06-23 1992-08-25 Hand Held Products, Inc. Power conservation in microprocessor controlled devices
EP0942368A2 (en) * 1998-03-10 1999-09-15 Lucent Technologies Inc. Context controller having automatic entry to power saving mode and processor employing the same
JP2000214963A (en) * 1999-01-25 2000-08-04 Toshiba Corp Computer system and automatic setting method for setting information
KR20030023809A (en) * 2001-09-14 2003-03-20 엘지전자 주식회사 Method for controlling a display brightness in potable computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101441413B1 (en) * 2013-05-10 2014-09-24 인하대학교 산학협력단 Mobile display device controlling window size and method for controlling window size
US10216248B2 (en) 2015-02-13 2019-02-26 Xiaomi Inc. Method and device for controlling power consumption
KR102096368B1 (en) * 2019-02-07 2020-04-03 주식회사 한성 Power consumption reduction apparatus of display device
KR102166553B1 (en) * 2019-11-22 2020-10-19 (주)스마트인디지털 Method for adaptive controlling of computer power based on usage prediction and apparatus for performing the method

Also Published As

Publication number Publication date
KR101128251B1 (en) 2012-03-26

Similar Documents

Publication Publication Date Title
US7596705B2 (en) Automatically controlling processor mode of multi-core processor
US7831850B2 (en) Hybrid operating systems for battery powered computing systems
US7328333B2 (en) Apparatus, method and program product for selectively starting one of a plurality of operating systems and secondary storage according to whether or not a predetermined peripheral is connected to the system
JP4437137B2 (en) Adjustment of computer system power policy in response to positive instructions from users
US20180107490A1 (en) Technologies for fast low-power startup of a computing device
US20030226047A1 (en) Portable terminal with enhanced power management function and method for managing power of the same
US8230237B2 (en) Pre-boot environment power management
US7500114B2 (en) Apparatus and method for controlling power management
JP2002163045A (en) Computer system, and method of controlling stand-by mode thereof
US9715267B2 (en) Method for switching operating systems and electronic apparatus
US7296171B2 (en) Selecting a power state based on predefined parameters
JP2004139613A (en) Power management in data processing system based on processor usage status
US8185763B2 (en) Method of and apparatus for informing user about setting state of wake-on-LAN function
KR101128251B1 (en) Apparatus and method for controling power saving by devices of executed program
US20140089696A1 (en) Method for controlling power mode switching
EP2418560A2 (en) Computer and power control method thereof
US20110060923A1 (en) Port Power Control
US10871875B2 (en) Cursor identification on an IHS display
JP6064635B2 (en) Information processing apparatus, control method for information processing apparatus, and control program
US8713337B2 (en) Power management method for reducing power of host when turning off main monitor and computer system applying the same
US20150123875A1 (en) Power management device and method
US8176350B2 (en) Powering computer system communication unit according to whether program executing and/or webpage accessed is user selected
JP2002082743A (en) Electronic equipment and storage medium stored with electronic equipment control program
US20100205424A1 (en) Method for booting computer system automatically
KR100934243B1 (en) How to control CIFIL clock frequency in portable electronic devices

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150224

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160224

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170224

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180223

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20200224

Year of fee payment: 9