[go: up one dir, main page]

KR20120129257A - Battery management apparatus on mobile system and method thereof - Google Patents

Battery management apparatus on mobile system and method thereof Download PDF

Info

Publication number
KR20120129257A
KR20120129257A KR1020110047405A KR20110047405A KR20120129257A KR 20120129257 A KR20120129257 A KR 20120129257A KR 1020110047405 A KR1020110047405 A KR 1020110047405A KR 20110047405 A KR20110047405 A KR 20110047405A KR 20120129257 A KR20120129257 A KR 20120129257A
Authority
KR
South Korea
Prior art keywords
battery
application
state
mobile system
usage
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
KR1020110047405A
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 KR1020110047405A priority Critical patent/KR20120129257A/en
Publication of KR20120129257A publication Critical patent/KR20120129257A/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • 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
    • 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/329Power saving characterised by the action undertaken by task scheduling
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

본 발명에서는 모바일 시스템에서 배터리 관리에 있어서, 휴대폰, 스마트폰 등의 배터리를 사용하는 범용의 모바일 시스템에서 사용자에 의해 설정되는 중요한 어플리케이션과 사용 보장 시간 정보를 관리하고, 어플리케이션별 에너지 자원 할당 정보와 실제 에너지 자원 사용량 정보를 정확히 산출한 후, 모바일 시스템의 배터리 상태 정보와 어플리케이션별 에너지 자원 사용량 정보에 기반하여 배터리 한계 상황 시, 중요도 낮은 어플리케이션들의 에너지 사용을 선별적으로 제한함으로써 중요도 높은 어플리케이션의 사용시간을 보장할 수 있도록 한다. In the present invention, in the battery management in the mobile system, in the general-purpose mobile system using a battery such as a mobile phone, smart phone, and manages the important application and usage guarantee time information set by the user, and the energy resource allocation information and actual for each application Accurately calculate the energy resource usage information, and selectively limit the energy usage of the less important applications based on the battery status information of the mobile system and the energy resource usage information for each application, thereby reducing the usage time of the more important applications. Ensure it is guaranteed.

Description

모바일 시스템의 배터리 관리 장치 및 방법{BATTERY MANAGEMENT APPARATUS ON MOBILE SYSTEM AND METHOD THEREOF}BATTERY MANAGEMENT APPARATUS ON MOBILE SYSTEM AND METHOD THEREOF}

본 발명은 모바일 시스템(mobile system)에서 배터리 관리(battery management) 방법에 관한 것으로, 특히 휴대폰(mobile phone), 스마트폰(smart phone) 등의 배터리를 사용하는 범용의 모바일 시스템에서 사용자에 의해 설정되는 중요한 어플리케이션(application)과 사용 보장 시간 정보를 관리하고, 어플리케이션별 에너지 자원 할당(energy resource allocation) 정보와 실제 에너지 자원 사용량 정보를 정확히 산출한 후, 모바일 시스템의 배터리 상태 정보와 어플리케이션별 에너지 자원 사용량 정보에 기반하여 배터리 한계 상황 시, 중요도 낮은 어플리케이션들의 에너지 사용을 선별적으로 제한함으로써 중요도 높은 어플리케이션의 사용시간을 보장할 수 있도록 하는 모바일 시스템의 배터리 관리 장치 및 방법에 관한 것이다.
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery management method in a mobile system, and in particular, set by a user in a general-purpose mobile system using a battery such as a mobile phone or a smart phone. Manage important application and usage guarantee time information, calculate energy resource allocation information and actual energy resource usage information for each application accurately, and then use battery status information and energy resource usage information for each application. The present invention relates to a battery management apparatus and method of a mobile system that can ensure the use time of high priority applications by selectively limiting the energy usage of low priority applications in a battery limit situation.

최근 들어, 휴대폰, 스마트폰 등의 배터리로 전력을 공급받아 동작하는 모바일 시스템의 사용이 급격히 증가하고 있다. 이러한 모바일 시스템은 일반적으로 가정이나 사무실 등에 설치되어 고정적으로 연결된 케이블을 통해 전력을 공급받는 데스트탑(desk top) PC의 전자기기와는 달리 배터리 자원의 양이 제한되어 있기 때문에 사용자의 선호도에 따라 중요한 어플리케이션을 위해 에너지를 보존하고 적절히 제한할 수 있도록 하는 구조가 필요하다.In recent years, the use of a mobile system operated by being powered by a battery such as a mobile phone or a smart phone is increasing rapidly. These mobile systems are typically installed in homes or offices, and unlike desktop PCs powered by fixedly connected cables, the amount of battery resources is limited. There is a need for structures that can conserve and properly limit energy for applications.

이를 위해서는 기존 운영체제의 프로세스(process)나 각 디바이스(device)별 자원 관리가 아닌 하나의 통합된 메트릭(metric)이 필요하며, 기존의 다양한 연구들이 운영체제에서 여러 디바이스에서 소비되는 에너지 자원을 하나의 통합된 자원으로 관리하는 방향으로 많이 진행되고 있다.This requires one integrated metric rather than process or resource management of existing operating systems, and various existing studies integrate energy resources consumed by multiple devices in an operating system. A lot of progress is being made towards managing resources.

예를 들어, 주식 동향을 확인하기 위해 5시간의 웹브라우저(web browser) 사용을 보장하면서 동시에 음악을 3시간 듣고 싶은 요청이 있는 경우, 사용자에게 위 두 가지 중요한 어플리케이션의 실행을 보장해서 제공하기 위해서는 현재 배터리의 상태 뿐만 아니라 각 어플리케이션별 배터리 자원 같은 시스템 자원에 대한 통합된 에너지 메트릭이 필요하다. 이러한 요구를 충족시키기 위해서는 운영체제에서 여러 디바이스에서 소비되는 에너지를 하나의 통합된 자원으로 관리하는 것이 필요하며, 이에 대한 기존의 다양한 연구들이 있어왔다.For example, if you want to ensure a five-hour web browser to check stock trends and at the same time request to listen to music for three hours, In addition to the current battery status, integrated energy metrics are needed for system resources such as battery resources for each application. In order to meet these demands, it is necessary to manage the energy consumed by multiple devices in one operating system as one integrated resource, and various researches on this have been conducted.

하지만, 기존의 연구들은 모바일 시스템의 사용시간 보장을 위해 전력 사용량 모델링(modeling)이나, 어플리케이션의 어뎁션(adaption)을 이용하여 전력 사용량을 조절하는 것을 위주로 논의되고 있으며, 어플리케이션별 에너지 자원에 대한 사용량 측정에 초점이 맞추어져 있다. 그러나, 실제 모바일 시스템에서는 많은 모바일 어플리케이션이 앱스토어(app store)나 마켓(market) 등에서 실행파일로써 바로 다운로드 되므로 프로그램의 어뎁션을 통한 방법은 실용적이지 못하다.However, existing studies have focused on controlling power usage by using power usage modeling or application adaptation to ensure usage time of mobile systems. The focus is on the measurement. However, in actual mobile systems, many mobile applications are downloaded directly from the app store or market as executable files, so the method through the adaptation of the program is not practical.

또한, 기존의 연구들은 위와 같은 배터리 상태에 따른 어플리케이션의 어뎁션을 보장하기 위해 어플리케이션을 수정해야 하는 문제점이 있으며, 특정 어플리케이션 단위로 배터리 라이프타임(battery life time)을 보장하는 것이 아니라, 시스템 관점으로 배터리 라이프 타임을 보장하고 있을 뿐, 각 어플리케이션별 배터리 라이프 타임에 대한 사용시간 보장을 위한 평가와 분석은 이루어지고 있지 않다. 이에 따라, 사용자가 선호하는 어플리케이션에 대한 사용 시간 보장을 제공할 수 없는 문제점이 있었다.In addition, the existing studies have a problem of modifying the application in order to ensure the adaptation of the application according to the battery state as described above, and does not guarantee the battery life time (particular application unit), but from the system perspective It only guarantees battery life, and there is no evaluation and analysis to guarantee battery life for each application. Accordingly, there is a problem in that it is not possible to provide a use time guarantee for an application preferred by the user.

즉, 무엇보다 사용자에게는 실제 배터리 자체의 사용시간 보장이 아닌 원하는 어플리케이션별로 간단한 인터페이스를 이용하여 에너지 사용을 제어할 수 있는 구조가 더욱 필요하나, 기존의 연구들에서는 어플리케이션별 사용 시간 보장을 위한 평가와 분석이 이루어지고 있지 않다.In other words, users need a structure that can control energy usage by using a simple interface for each desired application rather than guaranteeing the actual use time of the battery itself. No analysis is being done.

따라서, 본 발명은 휴대폰, 스마트폰 등의 배터리를 사용하는 범용의 모바일 시스템에서 사용자에 의해 설정되는 중요한 어플리케이션과 사용 보장 시간 정보를 관리하고, 어플리케이션별 에너지 자원 할당 정보와 실제 에너지 자원 사용량 정보를 정확히 산출한 후, 모바일 시스템의 배터리 상태 정보와 어플리케이션별 에너지 자원 사용량 정보에 기반하여 배터리 한계 상황 시, 중요도 낮은 어플리케이션들의 에너지 사용을 선별적으로 제한함으로써 중요도 높은 어플리케이션의 사용시간을 보장할 수 있도록 하는 모바일 시스템의 배터리 관리 장치 및 방법을 제공하고자 한다.
Accordingly, the present invention manages important applications and usage guarantee time information set by a user in a general-purpose mobile system using a battery such as a mobile phone or a smart phone, and accurately stores application-specific energy resource allocation information and actual energy resource usage information. After the calculation, based on the battery status information of the mobile system and the energy resource usage information of each application, the mobile device can be used to guarantee the use time of the high priority applications by selectively limiting the energy usage of the less important applications in the case of a battery limit situation. An apparatus and method for battery management of a system is provided.

상술한 본 발명은 모바일 시스템의 배터리 관리 장치에 있어서, 어플리케이션별 중요도 정보와 사용보장 시간 정보를 관리하는 배터리 관리부와, 상기 어플리케이션별 에너지 자원 사용량을 산출하고, 배터리 잔여용량을 확인하여 배터리 상태를 판단하는 배터리 상태 서비스부와, 상기 배터리 상태에 따라 상기 어플리케이션의 실행을 선택적으로 제한하는 배터리 스케줄러를 포함한다.According to the present invention, in the battery management apparatus of the mobile system, the battery management unit for managing the importance information and usage guarantee time information for each application, and calculates the energy resource usage by the application, determine the battery status by checking the remaining battery capacity And a battery scheduler configured to selectively limit the execution of the application according to the battery state.

또한, 상기 배터리 상태 서비스부는, 상기 중요도 정보가 설정된 어플리케이션의 사용보장 시간을 확보하기 위한 에너지 자원 사용량을 산출하고, 이를 상기 배터리 잔여 용량과 비교하여 상기 배터리 상태를 판단하는 것을 특징으로 한다.The battery state service unit may calculate an amount of energy resource used to secure a usage guarantee time of an application in which the importance information is set, and determine the battery state by comparing it with the remaining capacity of the battery.

또한, 상기 배터리 상태 서비스부는, 상기 어플리케이션별 에너지 자원 사용량에 대한 정보를 모바일 시스템의 태스크(task) ID로 관리하는 것을 특징으로 한다.The battery state service unit may manage information on energy resource usage for each application as a task ID of a mobile system.

또한, 상기 배터리 상태 서비스부는, 상기 어플리케이션별 에너지 자원 사용량의 산출 시 상기 어플리케이션의 실제 디스플레이 사용량이 포함되도록 산출하는 것을 특징으로 한다.The battery state service unit may be configured to include the actual display usage of the application when calculating the energy resource usage for each application.

또한, 상기 배터리 상태 서비스부는, 상기 어플리케이션별 실제 디스플레이 사용량을 상기 어플리케이션의 프레임워크를 이용하여 측정하는 것을 특징으로 한다.The battery state service unit may measure actual display usage of each application using a framework of the application.

또한, 상기 배터리 스케줄러는, 상기 배터리 상태가 배터리 사용제한이 필요한 상태인 경우, 상기 어플리케이션의 중요도 정보를 검사하여 중요도 설정되지 않은 어플리케이션의 실행을 선택적으로 제한시키는 것을 특징으로 한다.In addition, the battery scheduler, if the battery state is a state that requires the use of the battery, characterized in that for selectively limiting the execution of the application of the importance is not set by checking the importance information of the application.

또한, 상기 배터리 스케줄러는, 상기 배터리 상태가 배터리 사용제한이 필요한 상태인 경우, 상기 어플리케이션의 중요도 정보를 검사하여 중요도 설정된 어플리케이션에 대해서는 할당된 에너지 자원 사용량을 소비할 때까지 실행시키는 것을 특징으로 한다.In addition, when the battery state is a state in which the battery usage limit is required, the battery scheduler may check the importance information of the application and execute the execution of the allocated energy resource usage for the application of the importance setting.

또한, 상기 배터리 스케줄러는, 상기 배터리 상태가 배터리 사용제한이 필요한 상태인 경우, 어플리케이션 실행 대기열에 포함된 어플리케이션들 중 상기 중요도가 설정되지 않은 어플리케이션에 대해서는 상기 실행 대기열에서로 슬립상태로 전환시켜 해당 어플리케이션이 실행되지 않도록 제어하는 것을 특징으로 한다.In addition, when the battery state is a state in which the battery usage is required, the battery scheduler switches the sleep state from the execution queue to the corresponding application among the applications included in the application execution queue in which the importance is not set. It is characterized by controlling not to be executed.

또한, 본 발명은 모바일 시스템의 배터리 관리 방법으로서, 모바일 시스템에서 실행되는 어플리케이션별 중요도 정보와 사용보장 시간 정보를 설정하는 단계와, 상기 어플리케이션별 에너지 자원 사용량을 산출하는 단계와, 상기 에너지 자원 사용량과 상기 모바일 시스템의 배터리 잔여용량을 비교하여 배터리 상태를 판단하는 단계와, 상기 배터리 상태에 따라 상기 어플리케이션의 실행을 선택적으로 제한하는 단계를 포함한다.In addition, the present invention provides a battery management method of a mobile system, comprising the steps of setting the importance information and usage time information for each application executed in the mobile system, the step of calculating the energy resource usage for each application, the energy resource usage and Comparing the remaining battery capacity of the mobile system to determine a battery state, and selectively limiting execution of the application according to the battery state.

또한, 상기 에너지 자원 사용량 산출 단계에서, 상기 중요도 정보가 설정된 어플리케이션의 에너지 자원 사용량은, 상기 어플리케이션에 할당된 사용보장 시간을 확보할 수 있는 에너지 자원 사용량으로 산출되는 것을 특징으로 한다.In the energy resource usage calculation step, the energy resource usage of the application in which the importance information is set may be calculated as an energy resource usage that can secure a usage guarantee time allocated to the application.

또한, 상기 에너지 자원 사용량은, 상기 모바일 시스템상 태스크 ID로 관리되는 것을 특징으로 한다.The energy resource usage may be managed by a task ID on the mobile system.

또한, 상기 에너지 자원 사용량은, 상기 어플리케이션별 에너지 자원 사용량에 상기 어플리케이션별 실제 디스플레이 사용량이 포함되도록 산출되는 것을 특징으로 한다.The energy resource usage may be calculated to include the actual display usage for each application in the energy resource usage for each application.

또한, 상기 어플리케이션별 실제 디스플레이 사용량은, 상기 어플리케이션의 프레임워크를 이용하여 측정되는 것을 특징으로 한다.In addition, the actual display usage for each application is characterized by using the framework of the application.

또한, 상기 어플리케이션의 실행을 선택적으로 제한하는 단계는, 상기 배터리의 상태가 배터리 사용 제한이 필요한 상태인지를 판단하는 단계와, 상기 배터리 사용 제한이 필요한 상태인 경우 어플리케이션별 중요도 설정 여부를 검사하는 단계와, 상기 검사결과 중요도가 설정되지 않은 어플리케이션의 실행을 선택적으로 제한하는 단계를 포함한다.In addition, the step of selectively limiting the execution of the application may include determining whether the state of the battery is a state in which battery usage is required, and checking whether or not the importance of each application is set when the state of the battery is in need of restriction. And selectively limiting execution of an application for which the importance of the check result is not set.

또한, 상기 검사결과, 중요도가 설정된 어플리케이션에 대해서는 할당된 에너지 자원 사용량을 소비할 때까지 실행시키는 단계를 더 포함하는 것을 특징으로 한다.In addition, as a result of the inspection, the application of the importance is characterized in that it further comprises the step of executing until the consumption of the allocated energy resource consumption.

또한, 상기 어플리케이션의 실행을 선택적으로 제한하는 단계는, 상기 배터리의 상태가 배터리 사용 제한이 필요한 상태인지를 판단하는 단계와, 상기 배터리 사용 제한이 필요한 상태인 경우 어플리케이션별 중요도 설정 여부를 검사하는 단계와, 상기 중요도가 설정되지 않은 어플리케이션들 실행 대기열에 포함된 어플리케이션을 확인하는 단계와, 상기 실행 대기열에 포함된 어플리케이션을 슬립 상태로 전환시키는 단계를 포함한다.
In addition, the step of selectively limiting the execution of the application may include determining whether the state of the battery is a state in which battery usage is required, and checking whether or not the importance of each application is set when the state of the battery is in need of restriction. And identifying applications included in the execution queues of the applications whose importance is not set, and putting the applications included in the execution queue into a sleep state.

본 발명에서는 모바일 시스템에서 배터리 관리에 있어서, 휴대폰, 스마트폰 등의 배터리를 사용하는 범용의 모바일 시스템에서 사용자에 의해 설정되는 중요한 어플리케이션과 사용 보장 시간 정보를 관리하고, 어플리케이션별 에너지 자원 할당 정보와 실제 에너지 자원 사용량 정보를 정확히 산출한 후, 모바일 시스템의 배터리 상태 정보와 어플리케이션별 에너지 자원 사용량 정보에 기반하여 배터리 한계 상황 시, 중요도 낮은 어플리케이션들의 에너지 사용을 선별적으로 제한함으로써 중요도 높은 어플리케이션의 사용시간을 보장할 수 있는 이점이 있다.In the present invention, in the battery management in the mobile system, in the general-purpose mobile system using a battery such as a mobile phone, smart phone, and manages the important application and usage guarantee time information set by the user, and the energy resource allocation information and actual for each application Accurately calculate the energy resource usage information, and selectively limit the energy usage of the less important applications based on the battery status information of the mobile system and the energy resource usage information for each application, thereby reducing the usage time of the more important applications. There is an advantage that can be guaranteed.

또한, 본 발명은 중요한 어플리케이션에 대하여서 배터리를 지정한 시간만큼 사용할 수 있도록 배터리 자원을 정확하게 예측하여 재분배함으로써, 휴대폰이나 타블렛 PC 등에서 높은 신뢰성을 필요로 하는 어플리케이션의 사용시간 보장을 위해 사용될 수 있는 이점이 있다. 또한 사용시간 보장 기능은 군사 장비, 센서 네트워크 시스템과 같이 배터리를 사용하는 모든 시스템에 적용이 가능하며, 단순하게 배터리를 모두 사용할 때까지 동일한 전력 소비 패턴을 가지는 시스템을 발전시켜, 사용자의 추가적인 조작 없이 배터리 한계 상황에서 기능별 자원 할당량을 조절하므로 시스템 자체적으로 지정된 사용시간을 보장 할 수 있도록 하는 이점이 있다.In addition, the present invention has the advantage that can be used to ensure the use time of applications requiring high reliability in mobile phones or tablet PCs by accurately redistributing the battery resources so that the battery can be used for a specific time for a critical application . In addition, the use time guarantee function is applicable to all battery-powered systems such as military equipment and sensor network systems, and simply develops a system with the same power consumption pattern until the battery is fully used, without further user intervention. By adjusting the resource allocation for each function in the case of battery limit, there is an advantage to guarantee the specified usage time by the system itself.

또한 사용시간 보장을 위해 어플리케이션 별로 전력 사용률 계산할 수 있는 방법을 제시함으로서, 사용자가 원하는 대로 시스템 전체의 전력 사용량을 조절하는 것이 가능하며, 어플리케이션의 전력 사용 최적화 여부를 평가할 수 있어 더 좋은 어플리케이션을 선택하는 기준을 세울 수 있게 되는 이점이 있다.
In addition, by presenting a method for calculating the power usage rate by application to guarantee the usage time, it is possible to adjust the power usage of the entire system as desired by the user, and to evaluate whether the application optimizes the power usage to select a better application. There is an advantage to being able to set standards.

도 1은 본 발명의 실시 예에 따른 모바일 시스템의 배터리 관리장치의 구성도,
도 2는 본 발명의 실시 예에 따른 모바일 시스템의 배터리 상태 개념도,
도 3은 모바일 시스템의 디스플레이 동작 개념도,
도 4는 본 발명의 실시 예에 따른 모바일 시스템의 배터리 관리를 위한 동작 제어 흐름도,
도 5는 본 발명의 실시 예에 따라 모바일 시스템에서 배터리 상태 변화에 따라 어플리케이션의 실행을 제한하는 개념도.
1 is a configuration diagram of a battery management device of a mobile system according to an embodiment of the present invention;
2 is a conceptual diagram of a battery state of a mobile system according to an embodiment of the present invention;
3 is a conceptual view of a display operation of a mobile system;
4 is an operation control flowchart for battery management of a mobile system according to an embodiment of the present invention;
5 is a conceptual diagram of limiting the execution of the application in accordance with the battery state changes in the mobile system according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 동작 원리를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. Hereinafter, with reference to the accompanying drawings will be described in detail the operating principle of the present invention. In the following description of the present invention, if it is determined that a detailed description of a known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. The following terms are defined in consideration of the functions of the present invention, and may be changed according to the intentions or customs of the user, the operator, and the like. Therefore, the definition should be based on the contents throughout this specification.

도 1은 본 발명의 실시 예에 따른 모바일 시스템의 배터리 관리장치의 상세 블록 구성을 도시한 것이다. 이하, 도 1을 참조하여 배터리 관리장치의 각 구성요소에서의 동작을 상세히 설명하기로 한다.1 illustrates a detailed block diagram of a battery management apparatus of a mobile system according to an exemplary embodiment of the present invention. Hereinafter, an operation of each component of the battery management apparatus will be described in detail with reference to FIG. 1.

먼저, 배터리 관리부(battery manager)(100)는 사용자로부터의 요청에 따라 어플리케이션(application)별 중요도를 설정하고, 중요도 설정된 어플리케이션의 사용보장 시간을 설정하고, 어플리케이션별 설정된 중요도 정보와 사용보장 시간 정보를 관리한다.First, the battery manager 100 sets an importance level for each application according to a request from a user, sets a usage guarantee time of an application for which an importance is set, and sets importance information and usage time information set for each application. Manage.

배터리 상태 서비스부(battery statics service)(102)는 모바일 시스템에서 어플리케이션별 배터리 사용량 등과 같은 에너지 자원 사용량 통계 정보를 산출하고, 배터리의 잔여 용량을 검사하여 미리 설정된 여러 단계의 배터리 상태 중 현재 배터리의 상태 정보를 시스템에 알린다. 이때, 모바일 시스템의 배터리는 배터리의 잔여 용량에 따라 다수의 단계의 배터리 상태로 정의된다.Battery status service unit (battery statics service) 102 calculates energy resource usage statistics information such as battery usage per application in the mobile system, and checks the remaining capacity of the battery to determine the current state of the battery among the preset battery status Inform the system. At this time, the battery of the mobile system is defined as a battery state of a plurality of stages according to the remaining capacity of the battery.

이때, 배터리 상태는 도 2에 도시된 바와 같이 예를 들어, 배터리 관리 서비스를 사용하지 않아도 되는 배터리 잔여 용량이 충분한 상태인 정상상태(normal)와, 배터리 사용제한 없이 배터리 사용 시간이 보장되고 모든 어플리케이션의 사용이 가능한 제1상태(green)와, 배터리 사용이 제한되지는 않으나, 배터리 사용 제한 없이 배터리 사용시간 보장은 불가능한 상태인 제2상태(yellow)와, 배터리 사용이 제한되어 배터리 관리 서비스가 수행되어야 하는 제3상태(red)와, 배터리 사용을 제한하여도 배터리 사용시간을 보장할 수 없는 제4상태(black) 등으로 구분될 수 있다.In this case, as shown in FIG. 2, for example, as shown in FIG. 2, for example, a normal state in which a battery remaining capacity does not need to be used, and a battery usage time is guaranteed without using a battery, and all applications are guaranteed. The first state (green) is available, the battery use is not limited, but the second state (yellow) is not possible to guarantee the battery life without the battery usage limit, and the battery use is limited, the battery management service performed It may be classified into a third state (red) which should be redundancy and a fourth state (black) which cannot guarantee the battery usage time even when the battery usage is limited.

이하, 배터리 상태 서비스부(102)의 동작에 대해 보다 상세히 살펴보기로 한다. 배터리 상태 서비스부(102)는 어플리케이션에 의해 소비될 배터리 사용량을 예측하기 위해 어플리케이션별로 사용될 배터리 사용량을 산출한다. 이때, 예를 들어 모바일 시스템이 안드로이드 시스템인 경우 안드로이드 시스템 서비스에서 제공하는 파워 매니저(power manager)와 액티비티 매니저(activity manager)의 정보를 바탕으로 배터리 관리 서비스를 이용하여 어플리케이션별 에너지 자원 사용량, 사용시간을 프로파일링(profiling)할 수 있다.Hereinafter, the operation of the battery state service unit 102 will be described in more detail. The battery state service unit 102 calculates a battery usage to be used for each application to predict the battery usage to be consumed by the application. At this time, for example, when the mobile system is an Android system, the energy resource usage and use time of each application are controlled using a battery management service based on information of a power manager and an activity manager provided by the Android system service. Can be profiled.

이때, 배터리 상태 서비스부(102)는 아래의 [수학식 1]에서와 같이 어플리케이션별 배터리 사용량을 프로파일링할 수 있다.In this case, the battery state service unit 102 may profile the battery usage for each application as shown in Equation 1 below.

Figure pat00001
Figure pat00001

위 [수학식 1]에서 old는 어플리케이션에 의해 소비된 과거의 배터리 사용량 정보이고, this sample은 어플리케이션에 의해 소비될 현재의 예상 배터리 사용량 정보를 의미한다. 어플리케이션의 배터리 사용량 예측에 있어서, 최근의 정보만을 이용하여 배터리 사용량에 대한 프로파일링(profiling)을 수행하는 경우 어플리케이션의 갑작스런 하이로드(high load) 등에 의해 잘못된 결과를 초래할 수 있고, 또한 배터리의 비선형(non linear) 특성으로 인해 같은 작업을 실행하여도 배터리 사용량에 차이가 발생할 수 있다.In Equation 1, old is information on past battery usage consumed by the application, and this sample means current estimated battery usage information to be consumed by the application. In predicting the battery usage of an application, profiling the battery usage using only the latest information may lead to an incorrect result due to the sudden high load of the application, and also the nonlinearity of the battery ( Because of the non-linear nature, even the same task can cause differences in battery usage.

이에 따라, 본 발명에서는 배터리의 상태별로 샘플링 길이(sampling length)에 변화를 준다. 이때 각 샘플링 시간은 배터리 소비 시간과 배터리 상태 전환을 위한 임계값에 따라 결정된다. 예를 들어, 배터리의 상태가 제1상태인 경우 상대적으로 중요한 태스크의 사용시간 보장을 제공할 가능성이 높기 때문에 배터리의 잔여 용량을 확인하는데 있어서 다른 상태보다 상대적으로 긴 타임 인터벌(interval)을 설정하고, 제2상태인 경우에는 배터리의 사용 제한이 필요한 제3상태로의 진입을 놓치지 않기 위해 짧은 타임 인터벌을 설정한다. 즉, 예를 들어, 제1상태인 경우 배터리의 잔여 용량을 배터리의 1% 감소 시마다 확인하도록 설정하고, 제2상태인 경우에는 20초 또는 30초 간격으로 샘플링을 수행하여 배터리의 잔여 용량을 확인하도록 설정할 수 있다.Accordingly, the present invention changes the sampling length for each state of the battery. At this time, each sampling time is determined according to the battery consumption time and the threshold for switching the battery state. For example, if the state of the battery is in the first state, it is likely to provide guaranteed runtime of relatively important tasks, so set a relatively long time interval to determine the remaining capacity of the battery. In case of the second state, a short time interval is set so as not to miss the entry into the third state requiring the use of the battery. That is, for example, in the first state, the remaining capacity of the battery is set to be checked every time 1% of the battery decreases, and in the second state, the remaining capacity of the battery is checked by sampling every 20 seconds or 30 seconds. Can be set to

또한, 본 발명에서는 하나의 어플리케이션이 소비하는 배터리 사용량 등의 에너지 자원 사용량을 정확하게 측정하기 위해 배터리 상태 서비스부(102)에서 에너지 자원의 할당(allocating)과 계산(accounting)을 예를 들어, 적용되는 모바일 시스템이 안드로이드인 경우에는 안드로이드의 패키지(package) 단위인 UID로 관리하도록 할 수 있다. In addition, in the present invention, in order to accurately measure energy resource usage such as battery consumption consumed by one application, the battery state service unit 102 may apply, for example, the allocation and accounting of the energy resource. If the mobile system is Android, it can be managed by UID which is a package unit of Android.

배터리 상태 서비스부(102)는 먼저 에너지 자원 할당에 있어서, 배터리의 상태가 제2상태로 진입하는 경우 사용자에 의해 중요도가 설정된 어플리케이션에 대해 에너지 자원 사용량에 대한 프로파일링의 결과를 바탕으로 기설정된 타임 인터벌동안 UID별로 할당된 에너지 자원 만큼만 스케줄링되도록 한다. 이때, 배터리 상태 서비스부(102)는 커널 쓰레드(kernel thread)를 이용하여 일정 타임 인터벌이 끝나게 되면 중요도가 설정된 다른 어플리케이션에 에너지 자원을 재할당 해준다. 또한, 만일 해당 타임 인터벌동안 할당된 에너지 자원을 다 쓰지 못하거나 오버차지(over charge)되는 경우에는 해당 에너지 사용량 만큼을 다음 스케줄링 인터벌에서 사용하거나, 사용 제한시키게 된다.The battery state service unit 102 may first set a time based on a result of profiling energy resource usage for an application of which importance is set by the user when the state of the battery enters the second state in the energy resource allocation. Only the energy resources allocated to each UID are scheduled during the interval. In this case, the battery state service unit 102 reassigns energy resources to other applications of which importance is set when a predetermined time interval ends by using a kernel thread. In addition, if the allocated energy resources are not used up or overcharged during the corresponding time interval, the corresponding energy usage is used or limited in the next scheduling interval.

다음으로, 에너지 자원 사용량의 계산에 있어서, 일반적으로 모바일 시스템의 각 디바이스(device)에서의 에너지 자원 사용량에 대해서는 커널에서의 정보를 기반으로 계산하고, 커널에서 알 수 없는 정보에 대해서는 실제 디스플레이(display)의 사용 등을 모바일 시스템의 프레임워크(frame work)를 이용하여 측정한다.Next, in calculating energy resource usage, the energy resource usage in each device of the mobile system is generally calculated based on information in the kernel, and the actual display of information unknown in the kernel. ) Is measured using the framework system of the mobile system.

그러나, 본 발명의 배터리 상태 서비스부(102)에서는 모바일 시스템의 파워 프로파일러(power profiler)와 액티비티 매니저(activity manager) 그리고, 커널의 배터리 디바이스 드라이버(battery device driver)에서 제공하는 정보를 이용하여 실제 각 어플리케이션별로 에너지 사용량을 측정한다.However, in the battery state service unit 102 of the present invention, the power profiler and activity manager of the mobile system and the information provided by the battery device driver of the kernel are actually used. Energy usage is measured for each application.

예를 들어, CPU의 경우에는 주파수(frequency)와 시간(time)으로 계산하고, 각 태스크별로 사용한 CPU시간과 동작시의 주파수(frequency)를 바탕으로 파워(power)를 계산한다. 네트워크(network)의 경우에는 일정 기간 동안 wifi, 3G를 이용하여 주고받은 데이터양을 기준으로 계산한다. 이때, 해당 기간 동안 소비한 평균 비용(cost)을 구하고 각 UID별로 주고받은 데이터량의 곱으로 에너지 사용량을 계산할 수 있다.For example, the CPU calculates the frequency and time, and calculates the power based on the CPU time used for each task and the frequency of the operation. In the case of a network, the data is calculated based on the amount of data exchanged using wifi and 3G for a certain period of time. In this case, the average cost consumed during the period can be obtained and energy consumption can be calculated by multiplying the amount of data exchanged for each UID.

디스플레이(display)의 경우에는 휴대폰, 스마트폰 등의 모바일 시스템에서 소비되는 에너지 자원의 비중이 크므로 정확한 계산이 필요하나, 각 어플리케이션이 실제 모바일 시스템의 표시부를 사용하고 있는 것을 커널 레벨(kernel level)에서는 알기가 어렵고, 따라서 어플리케이션별 표시부 구동에 사용된 에너지 자원 사용량을 계산하는 것은 어렵다. 이에 따라, 위와 같은 커널에서의 제약으로 인한 문제에 대해 본 발명에서는 스마트폰 등의 모바일 시스템의 특징을 이용하고 모바일 시스템에서의 프레임워크의 수정을 통해 해결하도록 한다. In the case of a display, an accurate calculation is necessary because a large portion of energy resources are consumed in a mobile system such as a mobile phone or a smart phone. However, each application uses a display unit of a mobile system at a kernel level. In this case, it is difficult to know, and therefore it is difficult to calculate the energy resource usage used to drive the display unit for each application. Accordingly, the present invention solves the problem caused by the above-mentioned kernel by using the characteristics of the mobile system such as a smart phone and modifying the framework in the mobile system.

도 3은 종래 모바일 시스템의 디스플레이 동작 개념을 도시한 것으로, 현재 대부분의 스마트폰은 표시부 크기의 제약으로 인해 한 번에 하나의 활성화된 윈도우만을 표시하며, onResume(300)에서 onPause(302) 상태일 때 어플리케이션이 실제 표시부 화면을 사용하게 된다. 이에 따라, 본 발명의 배터리 상태 서비스부(102)에서는 어플리케이션의 동작 상태를 확인하여 어플리케이션이 onResume(300)에서 onPause(302) 상태일 때 어플리케이션의 에너지 사용량에 대한 프로파일링을 수행함으로써 정확하게 디스플레이 사용을 체크할 수 있도록 한다. 이를 위해 배터리 상태 서비스부(102)는 어플리케이션 프레임워크(frame work)의 수정을 통해 어플리케이션의 onResume(300)에서 onPause(302)로의 동작 상태를 체크하여 실제 디스플레이 사용량을 측정하게 된다.3 is a view illustrating a display operation concept of a conventional mobile system. Currently, most smartphones display only one active window at a time due to the limitation of a display unit size, and are in onPause 302 state in onResume 300. The application will use the actual display screen. Accordingly, the battery state service unit 102 of the present invention checks the operation state of the application and accurately displays the display usage by performing profiling on the energy usage of the application when the application is in the onPause 302 state in the onResume 300. Check it out. To this end, the battery state service unit 102 measures the actual display usage by checking the operation state of the onResume 300 to the onPause 302 of the application by modifying the application framework.

배터리 스케줄러(battery scheduler)(104)는 배터리 상태 서비스부(102)로부터 확인되는 배터리의 잔여 용량 정보 및 어플리케이션별 에너지 자원 사용량 정보를 바탕으로 사용자에 의해 중요도가 설정된 어플리케이션의 사용보장 시간이 확보될 수 있도록 모바일 시스템에서 실행되는 어플리케이션에 대한 스케줄링을 수행한다.The battery scheduler 104 may secure a usage guarantee time of an application whose importance is set by the user based on the remaining capacity information of the battery and the energy resource usage information for each application identified by the battery status service unit 102. It performs scheduling for applications running on the mobile system.

즉, 예를 들어, 배터리의 잔여 용량이 부족해져 배터리 상태가 제3상태로 되는 경우, 사용자에 의해 중요도가 설정되지 않은 즉, 배터리 사용 우선순위가 낮은 어플리케이션 또는 프로세스(process)를 일시적으로 정지시키고, 시스템 전체의 전력 사용을 억제하여 사용자에 의해 중요도가 설정된 어플리케이션에 대한 사용시간이 보장될 수 있도록 배터리 사용을 스케줄링한다. 이때, 배터리 스케줄러(104)는 유저 인터페이스(user interface :UI)를 제공하는 어플리케이션과 커널(kernel)과의 통신을 통해 중요도가 설정된 태스크(task) 또는 어플리케이션과 중요도가 설정되지 않은 태스크 또는 어플리케이션을 구분하며, 배터리 상태 서비스부(102)와 커널과의 통신을 통해 중요도가 설정되지 않은 태스크 또는 어플리케이션의 실행을 제한하는 등의 스케줄링을 수행하게 된다.That is, for example, when the remaining capacity of the battery becomes low and the battery state becomes the third state, temporarily stopping an application or process that is not set by the user, that is, the battery priority is low, Battery usage is scheduled so that system-wide power usage is suppressed to ensure usage time for applications of critical importance set by the user. In this case, the battery scheduler 104 distinguishes between a task or an application having an importance set and a task or an application whose importance is not set through communication between an application providing a user interface (UI) and a kernel. In addition, the battery state service unit 102 performs scheduling such as limiting execution of a task or an application whose importance is not set through communication with the kernel.

이하, 배터리 스케줄러(104)의 동작을 보다 상세히 살펴보기로 한다. 배터리 스케줄러(104)는 배터리 상태 서비스부(102)로부터 제공되는 배터리 상태에 따라 두 가지 방식으로 스케줄링을 수행한다. Hereinafter, the operation of the battery scheduler 104 will be described in more detail. The battery scheduler 104 performs scheduling in two ways according to the battery state provided from the battery state service unit 102.

먼저 배터리의 상태가 정상상태, 제1상태, 제2상태인 경우 배터리 스케줄러(104)는 예를 들어 모바일 시스템이 안드로이드 시스템인 경우 리눅스의 기본 스케줄러인 CF-스케줄러 방식으로 동작할 수 있다.First, when the battery is in a normal state, a first state, or a second state, the battery scheduler 104 may operate in a CF-scheduler manner, which is a basic scheduler of Linux, for example, when the mobile system is an Android system.

다음으로, 배터리의 상태가 제3상태인 경우 배터리 스케줄러(104)는 사용자에 의해 중요도가 설정된 어플리케이션의 사용시간 보장을 위해 배터리 인식 스케줄러(battery-aware scheduler) 방식으로 동작한다.Next, when the state of the battery is a third state, the battery scheduler 104 operates in a battery-aware scheduler manner to ensure the usage time of an application whose importance is set by the user.

즉, 배터리 스케줄러(104)는 배터리의 상태가 제3상태로 진입하는 것을 배터리 상태 서비스부(102)로부터 제공받는 경우 실행 대기 중에 있는 어플리케이션들 중 사용자에 의해 중요도가 설정되지 않은 어플리케이션에 대해서는 대기열(wait queue)에 의해 슬립상태(sleep state)로 빠지도록 어플리케이션에 대한 스케줄링을 수행하게 되며, 배터리의 충전이나 사용자의 요구가 있지 않은 이상 슬립상태로 빠진 어플리케이션을 실행(running) 상태로 변경시키지 않는다.That is, when the battery scheduler 104 receives the state of the battery entering the third state from the battery state service unit 102, the battery scheduler 104 queues the application for which the importance is not set by the user. The scheduling of the application is performed to fall into the sleep state by the wait queue, and the application that is in the sleep state is not changed to the running state unless the battery is charged or the user request.

반면에, 사용자에 의해 중요도가 설정된 어플리케이션에 대해서, 배터리 스케줄러(104)는 해당 어플리케이션에 할당된 에너지 자원 사용량 즉, 배터리 사용량을 소비할 때까지 어플리케이션을 실행시키며, 이때 할당된 에너지 자원 사용량에 대해 최소한의 초과를 보장하기 위해 타이머 인터럽트(timer interrupt)와 프로세스(process)의 프리엠션(preemption) 시 실행시킨다. 또한 어플리케이션에 할당된 해당 에너지 자원 사용량을 다 소비하게 되는 경우에는 더 이상 수행 가능한 프로세스가 존재하지 않으므로 모바일 시스템은 아이들(idle) 상태로 변경된다. 이때 모바일 시스템의 아이들 상태는 이전에 실행 중이었던 중요도가 설정되지 않은 어플리케이션의 실행 상태가 변경된 것으로서 중요도가 설정된 어플리케이션의 실행을 위한 에너지 자원의 보존(reserve) 상태로 생각할 수 있다.On the other hand, for an application whose importance is set by the user, the battery scheduler 104 executes the application until it consumes the energy resource usage allocated to the application, that is, the battery usage, and at least for the allocated energy resource usage. Runs at timer interrupt and process preemption to ensure that In addition, when the corresponding energy resource usage allocated to the application is used up, the mobile system is changed to an idle state because there is no process that can be performed anymore. In this case, the idle state of the mobile system may be regarded as a state of preserving energy resources for the execution of an application of which importance is set as the execution state of an application of which importance has not been set previously changed.

도 4는 본 발명의 실시 예에 따른 모바일 시스템에서 배터리 관리를 위한 동작 제어 흐름을 도시한 것이다. 이하, 도 1 및 도 4를 참조하여 본 발명의 실시 예를 상세히 설명하기로 한다.4 illustrates an operation control flow for battery management in a mobile system according to an embodiment of the present invention. Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. 1 and 4.

먼저, 사용자가 모바일 시스템에서 실행되는 어플리케이션들에 대해 중요한 어플리케이션에 대해서는 중요도를 설정하게 된다. 그러면, 배터리 관리부(100)는 사용자에 의해 중요도 설정이 요청된 어플리케이션을 인식하고, 해당 어플리케이션에 대해 중요도를 설정하고(S400), 사용보장 시간 정보를 설정한다(S402).First, a user sets importance for an application that is important for applications running in a mobile system. Then, the battery manager 100 recognizes an application for which the importance setting is requested by the user, sets the importance for the corresponding application (S400), and sets usage guarantee time information (S402).

위와 같이, 배터리 관리부(100)에서 설정되는 어플리케이션별 중요도 설정 여부의 정보와 사용보장 시간 정보는 배터리 상태 서비스부(102)로 제공된다.As described above, information on whether the importance level is set for each application and usage guarantee time information set by the battery manager 100 are provided to the battery state service unit 102.

그러면, 배터리 상태 서비스부(102)는 어플리케이션에 의해 소비될 배터리 사용량을 예측하기 위해 어플리케이션별로 사용될 에너지 자원 사용량 즉, 배터리 사용량을 산출한다(S404). 이때, 예를 들어 모바일 시스템이 안드로이드 시스템인 경우, 배터리 상태 서비스부(102)는 안드로이드 시스템 서비스에서 제공하는 파워 매니저(power manager)와 액티비티 매니저(activity manager)의 정보를 바탕으로 배터리 관리 서비스를 이용하여 어플리케이션별 에너지 자원 사용량, 사용시간을 프로파일링할 수 있다.Then, the battery state service unit 102 calculates energy resource usage, that is, battery usage, to be used for each application in order to predict battery usage to be consumed by the application (S404). In this case, for example, when the mobile system is an Android system, the battery state service unit 102 uses a battery management service based on information of a power manager and an activity manager provided by the Android system service. You can profile energy resource usage and usage time by application.

이어, 배터리 상태 서비스부(102)는 모바일 시스템의 배터리 잔여 용량을 검사하여(S406) 미리 설정된 여러 단계의 배터리 상태 중 현재 배터리의 상태를 결정하고, 배터리 상태 정보를 배터리 스케줄러(104)로 제공한다.Subsequently, the battery status service unit 102 checks the remaining battery capacity of the mobile system (S406) to determine the current battery status among the preset battery statuses, and provides the battery status information to the battery scheduler 104. .

그러면, 배터리 스케줄러(104)는 배터리 상태 서비스부(102)로부터 확인되는 배터리의 잔여 용량 정보 및 어플리케이션별 에너지 자원 사용량 정보를 바탕으로 사용자에 의해 중요도가 설정된 어플리케이션의 사용보장 시간이 확보될 수 있도록 모바일 시스템에서 실행되는 어플리케이션에 대한 스케줄링을 수행한다.Then, the battery scheduler 104 is mobile so that the guaranteed use time of the application of the importance set by the user based on the remaining capacity information of the battery and the energy resource usage information for each application identified by the battery status service unit 102 Performs scheduling for applications running on the system.

즉, 배터리 상태 서비스부(102)로부터 수신된 배터리 상태가 정상상태 또는 제1상태(green), 제2상태(yellow)인 경우(S408), 이는 모바일 시스템에서 배터리의 사용 제한 없이 배터리의 사용시간 보장이 가능한 경우이므로, 배터리 스케줄러(104)는 실행 요청된 어플리케이션에 대해 스케줄링을 수행하는 것 없이 모든 실행 요청된 어플리케이션을 순차적으로 실행시킨다(S410).That is, when the battery state received from the battery state service unit 102 is the normal state, the first state (green), the second state (yellow) (S408), this is the usage time of the battery without limiting the use of the battery in the mobile system Since the guarantee is possible, the battery scheduler 104 sequentially executes all requested execution applications without performing scheduling for the requested application (S410).

그러나, 배터리 상태 서비스부(102)로부터 수신된 배터리 상태가 제3상태(red)인 경우(S412), 이는 배터리의 잔여 용량이 부족하여 배터리의 사용 제한이 필요한 경우이므로, 배터리 스케줄러(104)는 중요도가 설정되지 않은 즉, 배터리 사용 우선순위가 낮은 어플리케이션 또는 프로세스를 일시적으로 정지시키고(S414), 시스템 전체의 전력 사용을 억제하여 사용자에 의해 중요도가 설정된 어플리케이션에 대한 사용시간이 보장될 수 있도록 배터리 사용을 스케줄링한다(S416).However, when the battery state received from the battery state service unit 102 is the third state (red) (S412), since the battery capacity is insufficient because the remaining capacity of the battery is required, the battery scheduler 104 is To temporarily stop the application or process of low priority, that is, the battery usage priority is not set (S414), and to suppress the use of power throughout the system to ensure the use time for the application of the importance set by the user Schedule usage (S416).

즉, 배터리 스케줄러(104)는 배터리의 상태가 제3상태로 진입하는 것을 배터리 상태 서비스부(102)로부터 제공받는 경우 실행 대기 중에 있는 어플리케이션들 중 사용자에 의해 중요도가 설정되지 않은 어플리케이션에 대해서는 대기열(wait queue)에 의해 슬립상태(sleep state)로 빠지도록 어플리케이션에 대한 스케줄링을 수행하게 되며, 배터리의 충전이나 사용자의 요구가 있지 않은 이상 슬립상태로 빠진 어플리케이션을 실행(running) 상태로 변경시키지 않는다.That is, when the battery scheduler 104 receives the state of the battery entering the third state from the battery state service unit 102, the battery scheduler 104 queues the application for which the importance is not set by the user. The scheduling of the application is performed to fall into the sleep state by the wait queue, and the application that is in the sleep state is not changed to the running state unless the battery is charged or the user request.

반면에, 사용자에 의해 중요도가 설정된 어플리케이션에 대해서, 배터리 스케줄러(104)는 해당 어플리케이션에 할당된 에너지 자원 사용량을 소비할 때까지 어플리케이션을 실행시키며, 이때 할당된 에너지 자원 사용량에 대해 최소한의 초과를 보장하기 위해 타이머 인터럽트(timer interrupt)와 프로세스(process)의 프리엠션(preemption) 시 실행시킨다. On the other hand, for an application whose importance is set by the user, the battery scheduler 104 executes the application until it consumes the energy resource usage allocated to the application, ensuring a minimum exceeding the allocated energy resource usage. This is done during timer interrupts and process preemption.

이에 따라, 배터리의 잔여 용량이 부족하여 배터리 사용 제한이 필요하게 되는 경우에도 어플리케이션별 정확한 에너지 사용량 예측을 통해 중요도가 설정된 어플리케이션에 대해서는 안정적으로 사용시간을 보장할 수 있게 된다.Accordingly, even when the remaining capacity of the battery is insufficient to limit the use of the battery, it is possible to stably use time for the application of the importance set through accurate energy usage prediction for each application.

도 5는 본 발명의 실시 예에 따라 모바일 시스템에서 배터리 상태 변화에 따라 어플리케이션의 실행을 제한하는 개념을 도시한 것이다.FIG. 5 illustrates a concept of limiting execution of an application according to a battery state change in a mobile system according to an exemplary embodiment of the present invention.

도 5를 참조하면, 배터리의 상태가 모든 어플리케이션의 실행이 가능한 제1상태(green)와, 제2상태(yellow)인 경우에는 중요도가 설정된 어플리케이션외에 중요도가 설정되지 않은 다른 어플리케이션(other Apps)도 모두 실행이 가능한 상태이다. 이때 시스템 어플리케이션으로는 도 5에서와 같이 메일(mail), 비디오 플레이어(video player) 등의 배터리 사용량이 상대적으로 큰 어플리케이션의 실행도 제약 없이 실행된다.Referring to FIG. 5, when the state of the battery is a first state (green) in which all the applications can be executed, and the second state (yellow), other applications in which the importance is not set in addition to the application in which the importance is set are also included. All are ready to run. At this time, as the system application, as shown in FIG. 5, an application with a relatively high battery usage, such as a mail or a video player, may be executed without restriction.

이어, 배터리의 상태가 배터리의 사용 제한이 필요한 제3상태(red)로 되는 경우에는 본 발명의 배터리 스케줄링에 따라 중요도가 설정되지 않은 다른 어플리케이션(other Apps)에 대해서는 실행이 제한되며, 시스템 어플리케이션인 메일, 비디어 플레이어 등의 실행만 가능하게 하여 배터리 사용량을 스케줄링함으로써 중요도가 설정된 어플리케이션의 사용시간을 보장할 수 있도록 한다.Subsequently, when the state of the battery becomes a third state (red) in which the use of the battery is restricted, execution is restricted for other applications whose importance is not set according to the battery scheduling of the present invention. By enabling the execution of mails, video players, etc., the battery usage can be scheduled to ensure the usage time of the application whose importance is set.

이어, 배터리의 잔여 용량이 제3상태의 용량보다 더 적어져서 제4상태(black)에 도달하는 경우에는 모바일 시스템의 기본적인 동작을 수행할 수 있는 기본 시스템(basic system), 알람 어플리케이션 등의 배터리 사용량이 매우 적은 어플리케이션들만 제한적으로 실행되는 상태로 된다. Then, when the remaining capacity of the battery is less than the capacity of the third state to reach the fourth state (black), the battery usage of the basic system (alarm system), alarm application, etc. that can perform the basic operation of the mobile system Only very few of these applications are in a limited running state.

상기한 바와 같이, 본 발명에서는 모바일 시스템에서 배터리 관리에 있어서, 휴대폰, 스마트폰 등의 배터리를 사용하는 범용의 모바일 시스템에서 사용자에 의해 설정되는 중요한 어플리케이션과 사용 보장 시간 정보를 관리하고, 어플리케이션별 에너지 자원 할당 정보와 실제 에너지 자원 사용량 정보를 정확히 산출한 후, 모바일 시스템의 배터리 상태 정보와 어플리케이션별 에너지 자원 사용량 정보에 기반하여 배터리 한계 상황 시, 중요도 낮은 어플리케이션들의 에너지 사용을 선별적으로 제한함으로써 중요도 높은 어플리케이션의 사용시간을 보장할 수 있도록 한다. As described above, in the present invention, in the battery management in the mobile system, in the general-purpose mobile system using a battery such as a mobile phone, a smart phone, and manages important applications and usage guarantee time information set by the user, and energy for each application After accurately calculating resource allocation information and actual energy resource usage information, based on the battery status information of the mobile system and the energy resource usage information of each application, it is possible to selectively limit the energy usage of the less important applications in a battery limit situation. To ensure the use time of the application.

한편 상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시될 수 있다. 따라서 발명의 범위는 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위에 의해 정하여져야 한다.
Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Accordingly, the scope of the invention should not be limited by the described embodiments but should be defined by the appended claims.

100 : 배터리 관리부 102 : 배터리 상태 서비스부
104 : 배터리 스케줄러
100: battery management unit 102: battery status service unit
104: Battery Scheduler

Claims (16)

어플리케이션별 중요도 정보와 사용보장 시간 정보를 관리하는 배터리 관리부와,
어플리케이션별 에너지 자원 사용량을 산출하고, 배터리 잔여용량을 확인하여 배터리 상태를 판단하는 배터리 상태 서비스부와,
상기 배터리 상태에 따라 어플리케이션의 실행을 선택적으로 제한하는 배터리 스케줄러
를 포함하는 모바일 시스템의 배터리 관리장치.
Battery management unit for managing the application-specific importance information and warranty time information,
A battery state service unit for calculating an energy resource usage per application and determining a battery state by checking a remaining battery capacity;
Battery scheduler to selectively limit the execution of the application according to the battery state
Battery management device of the mobile system comprising a.
제 1 항에 있어서,
상기 배터리 상태 서비스부는,
상기 중요도 정보가 설정된 어플리케이션의 사용보장 시간을 확보하기 위한 에너지 자원 사용량을 산출하고, 이를 상기 배터리 잔여 용량과 비교하여 상기 배터리 상태를 판단하는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method of claim 1,
The battery state service unit,
The battery management device of the mobile system, characterized in that for calculating the energy resource usage to ensure the guaranteed time of use of the application is set the importance information, and comparing it with the remaining capacity of the battery.
제 1 항에 있어서,
상기 배터리 상태 서비스부는,
상기 어플리케이션별 에너지 자원 사용량에 대한 정보를 모바일 시스템상 태스크(task) ID로 관리하는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method of claim 1,
The battery state service unit,
Battery management apparatus of the mobile system, characterized in that for managing information on the energy resource usage for each application by a task ID on the mobile system.
제 1 항에 있어서,
상기 배터리 상태 서비스부는,
상기 어플리케이션별 에너지 자원 사용량의 산출 시 상기 어플리케이션의 실제 디스플레이 사용량이 포함되도록 산출하는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method of claim 1,
The battery state service unit,
The battery management device of the mobile system, characterized in that the calculation to include the actual display usage of the application when calculating the energy resource usage for each application.
제 4 항에 있어서,
상기 배터리 상태 서비스부는,
상기 어플리케이션별 실제 디스플레이 사용량을 상기 어플리케이션의 프레임워크를 이용하여 측정하는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method of claim 4, wherein
The battery state service unit,
The battery management apparatus of the mobile system, characterized in that for measuring the actual display usage by the application using the framework of the application.
제 1 항에 있어서,
상기 배터리 스케줄러는,
상기 배터리 상태가 배터리 사용제한이 필요한 상태인 경우, 상기 어플리케이션의 중요도 정보를 검사하여 중요도 설정되지 않은 어플리케이션의 실행을 선택적으로 제한시키는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method of claim 1,
The battery scheduler,
The battery management device of the mobile system, characterized in that if the battery state is a state that requires the use of the battery, selectively check the importance information of the application to limit the execution of the application that is not set the importance.
제 6 항에 있어서,
상기 배터리 스케줄러는,
상기 배터리 상태가 배터리 사용제한이 필요한 상태인 경우, 상기 어플리케이션의 중요도 정보를 검사하여 중요도 설정된 어플리케이션에 대해서는 할당된 에너지 자원 사용량을 소비할 때까지 실행시키는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method according to claim 6,
The battery scheduler,
The battery management apparatus of the mobile system, characterized in that when the battery state is a state that requires the use of the battery, the criticality information of the application is inspected and executed until the consumption of the allocated energy resource for the application of the importance is set.
제 1 항에 있어서,
상기 배터리 스케줄러는,
상기 배터리 상태가 배터리 사용제한이 필요한 상태인 경우, 어플리케이션 실행 대기열에 포함된 어플리케이션들 중 상기 중요도가 설정되지 않은 어플리케이션에 대해서는 상기 실행 대기열에서로 슬립상태로 전환시켜 해당 어플리케이션이 실행되지 않도록 제어하는 것을 특징으로 하는 모바일 시스템의 배터리 관리장치.
The method of claim 1,
The battery scheduler,
When the battery state is a state in which a battery usage limit is required, the application in the application execution queue of the application of which the importance is not set is switched to the sleep state from the execution queue to control the application not to be executed. Battery management apparatus of the mobile system characterized in that.
모바일 시스템에서 실행되는 어플리케이션별 중요도 정보와 사용보장 시간 정보를 설정하는 단계와,
어플리케이션별 에너지 자원 사용량을 산출하는 단계와,
상기 에너지 자원 사용량과 상기 모바일 시스템의 배터리 잔여용량을 비교하여 배터리 상태를 판단하는 단계와,
상기 배터리 상태에 따라 어플리케이션의 실행을 선택적으로 제한하는 단계
를 포함하는 모바일 시스템의 배터리 관리방법.
Setting importance information and warranty time information for each application running on the mobile system;
Calculating energy resource usage per application;
Determining a battery state by comparing the energy resource usage with the remaining battery capacity of the mobile system;
Selectively limiting execution of an application according to the battery state
Battery management method of the mobile system comprising a.
제 9 항에 있어서,
상기 에너지 자원 사용량 산출 단계에서,
상기 중요도 정보가 설정된 어플리케이션의 에너지 자원 사용량은, 상기 어플리케이션에 할당된 사용보장 시간을 확보할 수 있는 에너지 자원 사용량으로 산출되는 것을 특징으로 하는 모바일 시스템의 배터리 관리방법.
The method of claim 9,
In the energy resource usage calculation step,
The energy resource usage of the application in which the importance information is set is calculated as the energy resource usage to secure the usage guarantee time allocated to the application.
제 9 항에 있어서,
상기 에너지 자원 사용량은,
상기 모바일 시스템상 태스크 ID로 관리되는 것을 특징으로 하는 모바일 시스템의 배터리 관리방법.
The method of claim 9,
The energy resource usage is,
Battery management method of a mobile system, characterized in that managed by the task ID on the mobile system.
제 9 항에 있어서,
상기 에너지 자원 사용량은,
상기 어플리케이션별 에너지 자원 사용량에 상기 어플리케이션별 실제 디스플레이 사용량이 포함되도록 산출되는 것을 특징으로 하는 모바일 시스템의 배터리 관리방법.
The method of claim 9,
The energy resource usage is,
The battery management method of the mobile system, characterized in that the calculated energy resource usage by the application is included to include the actual display usage by the application.
제 12 항에 있어서,
상기 어플리케이션별 실제 디스플레이 사용량은,
상기 어플리케이션의 프레임워크를 이용하여 측정되는 것을 특징으로 하는 모바일 시스템의 배터리 관리방법.
13. The method of claim 12,
Actual display usage by application,
Battery management method of a mobile system, characterized in that measured using the framework of the application.
제 9 항에 있어서,
상기 어플리케이션의 실행을 선택적으로 제한하는 단계는,
상기 배터리의 상태가 배터리 사용 제한이 필요한 상태인지를 판단하는 단계와,
상기 배터리 사용 제한이 필요한 상태인 경우 어플리케이션별 중요도 설정 여부를 검사하는 단계와,
상기 검사결과 중요도가 설정되지 않은 어플리케이션의 실행을 선택적으로 제한하는 단계
를 포함하는 모바일 시스템의 배터리 관리방법.
The method of claim 9,
Selectively limiting the execution of the application,
Determining whether the state of the battery is in a state in which battery use restriction is necessary;
Checking whether the importance of each application is set when the battery usage limit is required;
Selectively restricting execution of an application whose importance is not set as a result of the inspection;
Battery management method of the mobile system comprising a.
제 14 항에 있어서,
상기 검사결과, 중요도가 설정된 어플리케이션에 대해서는 할당된 에너지 자원 사용량을 소비할 때까지 실행시키는 단계를 더 포함하는 것을 특징으로 하는 모바일 시스템의 배터리 관리방법.
15. The method of claim 14,
The method of the battery management method of the mobile system, characterized in that further comprising the step of executing until the consumption of the allocated energy resources for the application of the importance set.
제 9 항에 있어서,
상기 어플리케이션의 실행을 선택적으로 제한하는 단계는,
상기 배터리의 상태가 배터리 사용 제한이 필요한 상태인지를 판단하는 단계와,
상기 배터리 사용 제한이 필요한 상태인 경우 어플리케이션별 중요도 설정 여부를 검사하는 단계와,
상기 중요도가 설정되지 않은 어플리케이션들 실행 대기열에 포함된 어플리케이션을 확인하는 단계와,
상기 실행 대기열에 포함된 어플리케이션을 슬립 상태로 전환시키는 단계
를 포함하는 모바일 시스템의 배터리 관리방법.
The method of claim 9,
Selectively limiting the execution of the application,
Determining whether the state of the battery is in a state in which battery use restriction is necessary;
Checking whether the importance of each application is set when the battery usage limit is required;
Identifying an application included in an application execution queue of which the importance is not set;
Transitioning an application included in the execution queue to a sleep state
Battery management method of the mobile system comprising a.
KR1020110047405A 2011-05-19 2011-05-19 Battery management apparatus on mobile system and method thereof Ceased KR20120129257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110047405A KR20120129257A (en) 2011-05-19 2011-05-19 Battery management apparatus on mobile system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110047405A KR20120129257A (en) 2011-05-19 2011-05-19 Battery management apparatus on mobile system and method thereof

Publications (1)

Publication Number Publication Date
KR20120129257A true KR20120129257A (en) 2012-11-28

Family

ID=47513791

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110047405A Ceased KR20120129257A (en) 2011-05-19 2011-05-19 Battery management apparatus on mobile system and method thereof

Country Status (1)

Country Link
KR (1) KR20120129257A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140069783A (en) * 2012-11-30 2014-06-10 인포뱅크 주식회사 Apparatus and method for contorolling sesseion
WO2014196838A1 (en) * 2013-06-05 2014-12-11 Samsung Electronics Co., Ltd. Electronic device and method of providing battery information by electronic device
WO2015080530A1 (en) * 2013-11-29 2015-06-04 Samsung Electronics Co., Ltd. Mobile terminal and method for managing power thereof
WO2015138071A1 (en) * 2014-03-12 2015-09-17 Intel IP Corporation Apparatus, system and method of managing at a mobile device execution of an application by a computing device
US9798371B2 (en) 2013-06-05 2017-10-24 Samsung Electronics Co., Ltd Electronic device and content display method thereof
US9882404B2 (en) 2014-04-28 2018-01-30 Samsung Electronics Co., Ltd. Method and apparatus for power management

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140069783A (en) * 2012-11-30 2014-06-10 인포뱅크 주식회사 Apparatus and method for contorolling sesseion
US10768681B2 (en) 2013-06-05 2020-09-08 Samsung Electronics Co., Ltd Electronic device and content display method thereof
WO2014196838A1 (en) * 2013-06-05 2014-12-11 Samsung Electronics Co., Ltd. Electronic device and method of providing battery information by electronic device
KR20140143073A (en) * 2013-06-05 2014-12-15 삼성전자주식회사 Electronic device and method for providing information of battery in the electronic device
CN105283844A (en) * 2013-06-05 2016-01-27 三星电子株式会社 Electronic device and method of providing battery information by electronic device
US9798371B2 (en) 2013-06-05 2017-10-24 Samsung Electronics Co., Ltd Electronic device and content display method thereof
US10324767B2 (en) 2013-06-05 2019-06-18 Samsung Electronics Co., Ltd Electronic device and method of providing battery information by electronic device
WO2015080530A1 (en) * 2013-11-29 2015-06-04 Samsung Electronics Co., Ltd. Mobile terminal and method for managing power thereof
US11122511B2 (en) 2013-11-29 2021-09-14 Samsung Electronics Co., Ltd Mobile terminal and method for managing power thereof
US9609601B2 (en) 2013-11-29 2017-03-28 Samsung Electronics Co., Ltd Mobile terminal and method for managing power thereof
US10785725B2 (en) 2013-11-29 2020-09-22 Samsung Electronics Co., Ltd Mobile terminal and method for managing power thereof
US9942855B2 (en) 2013-11-29 2018-04-10 Samsung Electronics Co., Ltd Mobile terminal and method for managing power thereof
US9509827B2 (en) 2014-03-12 2016-11-29 Intel IP Corporation Apparatus, system and method of managing at a mobile device execution of an application by a computing device
WO2015138071A1 (en) * 2014-03-12 2015-09-17 Intel IP Corporation Apparatus, system and method of managing at a mobile device execution of an application by a computing device
US9882404B2 (en) 2014-04-28 2018-01-30 Samsung Electronics Co., Ltd. Method and apparatus for power management

Similar Documents

Publication Publication Date Title
US10896055B2 (en) Capacity risk management for virtual machines
US8875150B2 (en) Monitoring real-time computing resources for predicted resource deficiency
EP3805940B1 (en) Automatic demand-driven resource scaling for relational database-as-a-service
US8689220B2 (en) Job scheduling to balance energy consumption and schedule performance
KR20120129257A (en) Battery management apparatus on mobile system and method thereof
KR101155202B1 (en) Method for managing power for multi-core processor, recorded medium for performing method for managing power for multi-core processor and multi-core processor system for performing the same
KR20170054485A (en) Heuristic processor power management in operating systems
US9875169B2 (en) Modeling real capacity consumption changes using process-level data
KR20130115574A (en) Method and apparatus for performing a task scheduling in a terminal
US20170315603A1 (en) Power profiling for embedded system design
US8832839B2 (en) Assessing system performance impact of security attacks
Rameshan et al. Hubbub-scale: Towards reliable elastic scaling under multi-tenancy
US20140229956A1 (en) Method and System for Deterministic Multicore Execution
US10698620B2 (en) Dynamic cache allocation
US20190086986A1 (en) Achieving a consistent computing device battery drain rate
Cho et al. A battery lifetime guarantee scheme for selective applications in smart mobile devices
US20190250919A1 (en) Method for managing computation tasks on a functionally asymmetric multi-core processor
Zhang Power, Performance Modeling and Optimization for Mobile System and Applications.
US10742430B2 (en) Information processing apparatus and information processing method
Guan et al. A Design That Incorporates Adaptive Reservation into Mixed‐Criticality Systems
US8607232B2 (en) Identifying a transient thread and excluding the transient thread from a processor load calculation
Mercati et al. Blast: Battery lifetime-constrained adaptation with selected target in mobile devices
Rameshan On the role of performance interference in consolidated environments
KR101541617B1 (en) Method and apparatus for analyzing application in multicore embedded linux system
CN119493664A (en) Task scheduling method, device, equipment, chip and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20110519

PA0201 Request for examination
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20121029

Patent event code: PE09021S01D

PG1501 Laying open of application
AMND Amendment
E601 Decision to refuse application
PE0601 Decision on rejection of patent

Patent event date: 20130429

Comment text: Decision to Refuse Application

Patent event code: PE06012S01D

Patent event date: 20121029

Comment text: Notification of reason for refusal

Patent event code: PE06011S01I

AMND Amendment
PX0901 Re-examination

Patent event code: PX09011S01I

Patent event date: 20130429

Comment text: Decision to Refuse Application

Patent event code: PX09012R01I

Patent event date: 20121228

Comment text: Amendment to Specification, etc.

PX0601 Decision of rejection after re-examination

Comment text: Decision to Refuse Application

Patent event code: PX06014S01D

Patent event date: 20130628

Comment text: Amendment to Specification, etc.

Patent event code: PX06012R01I

Patent event date: 20130529

Comment text: Decision to Refuse Application

Patent event code: PX06011S01I

Patent event date: 20130429

Comment text: Amendment to Specification, etc.

Patent event code: PX06012R01I

Patent event date: 20121228

Comment text: Notification of reason for refusal

Patent event code: PX06013S01I

Patent event date: 20121029