CN101866212A - Multi-mode power source managing device and managing method - Google Patents

Multi-mode power source managing device and managing method Download PDF

Info

Publication number
CN101866212A
CN101866212A CN201010188686A CN201010188686A CN101866212A CN 101866212 A CN101866212 A CN 101866212A CN 201010188686 A CN201010188686 A CN 201010188686A CN 201010188686 A CN201010188686 A CN 201010188686A CN 101866212 A CN101866212 A CN 101866212A
Authority
CN
China
Prior art keywords
mode
pattern
task
function
power source
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.)
Pending
Application number
CN201010188686A
Other languages
Chinese (zh)
Inventor
熊文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201010188686A priority Critical patent/CN101866212A/en
Publication of CN101866212A publication Critical patent/CN101866212A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a multi-mode power source managing device. The power source managing resident program comprises at least one of selectable combination schemes. The managing method comprises the following steps of: entering into one function mode or various function modes by an upper layer applying the scheme, suspending the other task after entering, turning off the other equipment, and leading a processor to enter into a low consumption status, and the like. Furthermore, the other modes can not be entered until the entered mode is quit, wherein the quit can be randomly selected as hardware interrupting or software calling, and each mode aims at one use function. The invention has the advantages of achieving an optimized electricity-saving effect, and leading a machine only to execute a certain function, i.e. executing a certain task, thereby changing the reaction of the machine, and having better special function executing effect. The offered configuration file is convenient for a developer to develop, wherein one set of configured data is equal to a mode, and the system enters into a corresponding mode according to the set of data, so that the development is simple and convenient.

Description

A kind of multi-mode power source managing device and management method
Technical field
The present invention relates to a kind of electric power controller and management method, relate in particular to a kind of multi-mode power source managing device and management method.
Background technology
Fast development along with the information age, various electronic equipments are flooded with our daily life, electronic equipment brings us convenient and happy the time, some places not fully up to expectations are also arranged, the problem of power supply deficiency usually occurs such as electronic equipment, the electronic equipments battery can't reach the demand of long-time power supply at present, therefore, have only from how power saving is set about, do not influencing under the normal situation about using of electronic equipment, allow battery prolong service time as far as possible.In the electronic equipment in the market, have only simple modes such as standby, dormancy, and these patterns all are that the user does not temporarily use equipment just can enter, and so for those long-term users who uses mobile phones, need that pattern satisfies them in more the use.
Summary of the invention
The object of the present invention is to provide a kind of multi-mode power source managing device and management method, according to user's demand, open a kind of or some kinds of battery saving modes, thereby save the performance that power supply also improves function under the monotype simultaneously, make that electric device battery can use the longer time under the situation of same electric weight.
The present invention is achieved like this, it comprises all need carrying out of tasks, hardware device and processor in power management resident program, the system, it is characterized in that described power management resident program has one or more can select assembled scheme, apply for that by the upper strata this scheme enters a kind of functional mode or multiple functional mode, suspend the task that other is not temporarily carried out, close other untapped equipment then, and the pattern that enters only withdraws from just can enter other pattern, and it is that hardware interrupts or software transfer method withdraw from that withdrawing from here can be selected arbitrarily; Described hardware device is original electronic equipment, and hardware device is closed obsolete part hardware device according to the power management resident program; Described processor enters the deep power-saving sleep state according to the power management resident program, perhaps shallow degree power saving waiting status, perhaps keep original state, the power management resident program is put into internal memory in advance, processor hardware equipment action makes processor and hardware device can both reach battery saving mode, also is simultaneously that function has optimize the state of carrying out most, because this function of having only current needs is in operation, other task function all is suspended.
Described power management resident program has only relevant equipment to open with relevant task under certain functional mode, and hardware device is all closed and other task is all suspended.
All functional modes can dispose a kind of suitable scheme fully, it also is power saving operating scheme the most efficiently under this pattern, the function here comprises reading, listen to the music, write document, see a film, the function of various uses, each pattern is all at so a kind of functional areas design, thereby reaches machine power saving and the effect carried out of optimization in use.
Create a file in described power management resident program, this document is deposited the allocation plan of each pattern, when the user need enter certain pattern, reads this configuration file, then according to the state of the configuration configure total system of corresponding modes.
A kind of method of multi-mode power source managing, selected a kind of functional mode of its user or multiple functional mode, processor reads this scheme, suspend temporary transient unwanted task, close obsolete equipment or equipment and enter the low consumption state, again processor is operated, make it enter low power consumpting state, can realize by reducing frequency, enter selected pattern at last.
Advantage of the present invention, system is a kind of specific pattern of each independent function setting, and this pattern relates to the task that this function need be carried out, relevant equipment, and the state of processor, under this pattern of this function, except the relevant task of this function, other task is all suspended in the system, except the relevant equipment of this function, miscellaneous equipment is all closed, and then processor is arranged on low consumption, perhaps keeps under a kind of state of original running status; These need the function of configuration mode can comprise our daily middle each function of using,, see a film reading or the like, the independent pattern of each function as listening song.When entering the group diaphragm of a kind of pattern or various modes, suspend other temporary transient unwanted task and close other obsolete equipment, thereby reach optimum power saving effect the most efficiently; The configuration file that provides can only need one group of data of configuration just to be equivalent to a kind of pattern, and system enter corresponding modes according to these group data, develops simple and convenient for the convenient exploitation of developer.
Description of drawings
Fig. 1 is the system architecture diagram in the power management of the present invention.
Fig. 2 is the read process flow diagram of pattern of the present invention.
Embodiment
As shown in Figure 1, form, enter pattern by user applies earlier, judge then whether start key exists, secondly, judge and suspend which task, suspend which hardware device, the final pattern of processor etc. by user, start key, task, hardware, processor.Then interrupt or mode that the user initiatively applies under, withdraw from from this pattern, with the state before the recovery slowly of opposite order, apply for again that then start key pins system, so that it can not arbitrarily enter pattern.
As shown in Figure 2, be the used pattern of reading.Its idiographic flow is: user applies enters the reading pattern, start key in the cancellation system if system does not have other start key afterwards, then continues to carry out the operation that suspends incoherent task, pausing operation is divided into part of pause, all suspend, do not suspend all, if the suspended task operation failure, then return, otherwise continue to carry out the operation of closing device, closing here can be to close, and also can be to make to allow equipment enter low-power consumption, this relies on to drive and finishes, if pass equipment is unsuccessful, then return, and recovering process is to normal condition, if device shutdown success, then processor (CPU) is operated, made it enter low power consumpting state, can realize by reducing frequency, if it is unsuccessful then return, and the equipment and the stopped task of closing before recovering, if which success then is provided with and interrupts the available machine that wakes up, machine can be returned from the reading pattern, machine really enters reading pattern success this moment, so system entered the electric source modes of the most suitable reading, the pattern of also power saving.If some interruptions that can waken system have taken place this time, system begins to turn back to normal electric source modes so, this process is, make processor frequencies recover earlier, return to normal condition, restorer recovers the task that other is suspended then, increase a start key at last again, in case enter the reading pattern automatically.Not only can realize a kind of functional mode, can also realize two kinds of functional modes or two or more functional mode, for example: A pattern and B pattern all are the single patterns that has configured in the system, the user can enter a wherein arbitrary pattern separately, also can enter the integrated mode of A+B, user applies enters the integrated mode of A+B, the data of A pattern and B pattern are merged into portion, the configuration data of two patterns is integrated, enter at last in the middle of the pattern of the requirement after the integration, and close other patterns, the method that withdraws from also is to withdraw from by the mode after integrating.
, create a file here in system, its form is as follows,
[read]
<task>all</task>
<device>(frame?buffer)(lcd)(touch?screen)(console)
(mxc_ipu)(backlight)</device>
<cpu>stop</cpu>
[/read]
[NAME]
<task>task?identifier</task>
<device></device>
<cpu></cpu>
[/NAME]
Configuration in [read] [/read] meta reading pattern, name is read. at<task〉</task in be the configuration information of process, on behalf of task, Y all suspend, on behalf of task, N do not suspend all, other all is the identifier of task, and here represent will stopped task for the task identifier of Chu Xianing.<device〉</device in be the equipment that need be held open, () is the name of equipment, in addition miscellaneous equipment is all closed.<cpu〉</cpu in be processing mode to processor, comprise stop, wait, stop+off, wait+off, five kinds of patterns of none.Stop represents the deep power-saving of processor, and wait represents shallow degree power saving, and off represents turning off of screen.
The present invention is after setting all functional modes that need, and electronic equipment can have multiple different selection aspect power management so, is transformed into a kind of only form at any time, the form of certain function in the time of, and variform combination.

Claims (5)

1. multi-mode power source managing device, it comprises all need carrying out of tasks, hardware device and processor in power management resident program, the system, it is characterized in that described power management resident program has one or more can select assembled scheme, apply for that by the upper strata this scheme enters a kind of functional mode or multiple functional mode, suspend the task that other is not temporarily carried out, close other untapped equipment then, and the pattern that enters only withdraws from just can enter other pattern, and it is that hardware interrupts or software transfer method withdraw from that withdrawing from here can be selected arbitrarily; Described hardware device is original electronic equipment, and hardware device is closed obsolete part hardware device according to the power management resident program; Described processor enters the deep power-saving sleep state according to the power management resident program, perhaps shallow degree power saving waiting status, perhaps keep original state, the power management resident program is put into internal memory in advance, processor hardware equipment action makes processor and hardware device can both reach battery saving mode, also is simultaneously that function has optimize the state of carrying out most, because this function of having only current needs is in operation, other task function all is suspended.
2. a kind of multi-mode power source managing device according to claim 1 is characterized in that described power management resident program has only relevant equipment to open with relevant task under certain functional mode, hardware device is all closed and other task is all suspended.
3. a kind of multi-mode power source managing device according to claim 1, it is characterized in that all functional modes can dispose a kind of suitable scheme fully, it also is power saving operating scheme the most efficiently under this pattern, the function here comprises reading, listens to the music, and writes document, see a film, the function of various uses, each pattern be all at so a kind of functional areas design, thereby reach machine power saving and the effect carried out of optimization in use.
4. a kind of multi-mode power source managing device according to claim 1, it is characterized in that in described power management resident program, creating a file, this document is deposited the allocation plan of each pattern, when the user need enter certain pattern, read this configuration file, then according to the state of the configuration configure total system of corresponding modes.
5. the method for the described a kind of multi-mode power source managing of claim 1, it is characterized in that selected a kind of functional mode of user or multiple functional mode, processor reads this scheme, suspend temporary transient unwanted task, close obsolete equipment or equipment and enter the low consumption state, again processor is operated, make it enter low power consumpting state, can realize by reducing frequency, enter selected pattern at last.
CN201010188686A 2010-06-01 2010-06-01 Multi-mode power source managing device and managing method Pending CN101866212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010188686A CN101866212A (en) 2010-06-01 2010-06-01 Multi-mode power source managing device and managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010188686A CN101866212A (en) 2010-06-01 2010-06-01 Multi-mode power source managing device and managing method

Publications (1)

Publication Number Publication Date
CN101866212A true CN101866212A (en) 2010-10-20

Family

ID=42957965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010188686A Pending CN101866212A (en) 2010-06-01 2010-06-01 Multi-mode power source managing device and managing method

Country Status (1)

Country Link
CN (1) CN101866212A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650968A (en) * 2012-03-30 2012-08-29 奇智软件(北京)有限公司 Environmental constructing method and device for terminal system and terminal system
CN104615415A (en) * 2013-11-04 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104781756A (en) * 2012-12-21 2015-07-15 英特尔公司 Managing a power state of a processor
CN105979159A (en) * 2016-07-21 2016-09-28 上海云蚁科技有限公司 Synchronization method and synchronization system for equipment
CN114415821A (en) * 2022-01-29 2022-04-29 联想(北京)有限公司 Control method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490990A (en) * 2002-10-18 2004-04-21 阳庆电子股份有限公司 Method for embedded electricity-saving system
US20060140140A1 (en) * 2004-12-27 2006-06-29 Fuccello James R System and method for power management in mobile units
CN1979383A (en) * 2005-12-09 2007-06-13 鸿富锦精密工业(深圳)有限公司 Computer system and music playing method
CN101145036A (en) * 2006-03-03 2008-03-19 智邦科技股份有限公司 Power management architecture and mechanism

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490990A (en) * 2002-10-18 2004-04-21 阳庆电子股份有限公司 Method for embedded electricity-saving system
US20060140140A1 (en) * 2004-12-27 2006-06-29 Fuccello James R System and method for power management in mobile units
CN1979383A (en) * 2005-12-09 2007-06-13 鸿富锦精密工业(深圳)有限公司 Computer system and music playing method
CN101145036A (en) * 2006-03-03 2008-03-19 智邦科技股份有限公司 Power management architecture and mechanism

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650968A (en) * 2012-03-30 2012-08-29 奇智软件(北京)有限公司 Environmental constructing method and device for terminal system and terminal system
CN102650968B (en) * 2012-03-30 2016-05-04 北京奇虎科技有限公司 Environment construction method and apparatus and the terminal system of terminal system
CN104781756A (en) * 2012-12-21 2015-07-15 英特尔公司 Managing a power state of a processor
CN104781756B (en) * 2012-12-21 2018-01-05 英特尔公司 The power rating of management processor
CN104615415A (en) * 2013-11-04 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104615415B (en) * 2013-11-04 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105979159A (en) * 2016-07-21 2016-09-28 上海云蚁科技有限公司 Synchronization method and synchronization system for equipment
CN105979159B (en) * 2016-07-21 2019-01-25 上海小蚁科技有限公司 The synchronous method and synchronization system of equipment
CN114415821A (en) * 2022-01-29 2022-04-29 联想(北京)有限公司 Control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
EP2513751B1 (en) System and method for controlling central processing unit power in a virtualized system
CN101598969B (en) Platform power management based on latency guidance
US9411390B2 (en) Integrated circuit device having power domains and partitions based on use case power optimization
JP4611210B2 (en) Non-main CPU / OS based operating environment
CN102778943B (en) Condition control method, device and portable terminal device
TWI336448B (en) Method and apparatus for providing for detecting processor state transitions
CN102695999B (en) Domain specific language, compiler and JIT for dynamic power management
CN101657783B (en) Method to control core duty cycles using low power modes
CN104662487A (en) Predicting user intent and future interaction from application activities
EP2749988A1 (en) Method and device for application program operation, mobile terminal
CN101790709A (en) Dynamic core switches
TW201205441A (en) Multi-CPU domain mobile electronic device and operation method thereof
CN102656539A (en) System and method for controlling central processing unit power based on inferred workload parallelism
CN102096459A (en) Energy-saving method and device
CN101685338B (en) Method of saving system resources of notebook computer and notebook computer
CN101866212A (en) Multi-mode power source managing device and managing method
KR102060431B1 (en) Apparatus and method for managing power in multi-core system
JP2013222321A (en) Memory control apparatus, memory control method, information processing apparatus and program
CN101145036A (en) Power management architecture and mechanism
CN105677141A (en) Application program management method and terminal
Bai et al. Android power management and analyses of power consumption in an android smartphone
CN101291487A (en) MP3 playing method with low energy consumption on mobile phone
CN105101371B (en) A kind of mobile phone power saving management method
CN104063316A (en) Application testing method and device
CN103257894A (en) Program management method and electronic terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20101020