CN101122814A - Method for reducing power consumption of apparatus because of being non-normally awaked - Google Patents

Method for reducing power consumption of apparatus because of being non-normally awaked Download PDF

Info

Publication number
CN101122814A
CN101122814A CNA200610030029XA CN200610030029A CN101122814A CN 101122814 A CN101122814 A CN 101122814A CN A200610030029X A CNA200610030029X A CN A200610030029XA CN 200610030029 A CN200610030029 A CN 200610030029A CN 101122814 A CN101122814 A CN 101122814A
Authority
CN
China
Prior art keywords
equipment
wakes
power consumption
user
dormant state
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.)
Granted
Application number
CNA200610030029XA
Other languages
Chinese (zh)
Other versions
CN101122814B (en
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.)
Mitac International Corp
Original Assignee
Mitac International Corp
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CN200610030029XA priority Critical patent/CN101122814B/en
Publication of CN101122814A publication Critical patent/CN101122814A/en
Application granted granted Critical
Publication of CN101122814B publication Critical patent/CN101122814B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A method for reducing power consumption caused by non-normal wake-up is applied to embedded equipment, which adopts Windows Mobile 5.0 operating system. The method provides a way which judges whether the equipment under dormancy is waken up normally or not. If the equipment is non-normally wakened up (for example, a user touches the keyboard inadvertently, etc), the method can make a judgment, thereby enabling the equipment under a dormant state continuously. Thus the method can prevent unnecessary power consumption and achieve the goal of power saving for the equipment.

Description

A kind of minimizing because of equipment by the method for non-normal wake-up power consumption
[Ji Intraoperative field]
The present invention is relevant for a kind of method that reduces the embedded device power consumption, and particularly relevant under Windows Mobile 5.0 operating system environments, and during system was in dormant state, minimizing equipment was because of by the method for non-normal wake-up power consumption.
[Bei Jing Ji Intraoperative]
Along with the continuous increase that mobile embedded type equipment uses, the intelligent operating system that is applied on the mobile embedded type equipment also develops rapidly thereupon.Windows Mobile 5.0 is the operating system at mobile embedded type equipment of the up-to-date release of Microsoft, with the operating system difference of several moneys of releasing before towards mobile device, Windows Mobile 5.0 will integrate smart mobile phone (SmartPhone), palm PC (PDA), mobile phone version palm PC operating systems such as (PDA Phone).Increased more characteristic simultaneously, such as having increased new edition office software suit: Word Mobile, PowerPoint Mobile Viewer and Excel Mobile; Strengthened the one-handed performance performance, more convenient; Optimized the support of smart mobile phone to WiFi; Add and support Push-To-Talk and visual telephone function; Strengthened the Bluetooth transmission support; The user data that permanent memory is all also can keep all data under the power-down conditions; Support USB2.0, use the type of Windows Mobile5.0 system can directly be connected transmission etc. with external portable hard drive.
The power supply status of all drivers and system power supply state on the power management module management equipment of Windows Mobile 5.0 operating systems.When entire equipment was to be powered by battery (Battery), equipment can not enter dormancy (Suspend) state after the user has operation 1minute; In total system is that equipment can enter dormant state behind 5minutes by in charger (externalpower) power supply, thus power saving and prolong battery service time.
Yet equipment is after entering dormancy (Suspend) state, and the action meeting of some hardware pushes button system wake-up as the user, inserts the SD/MMC card, perhaps inserts USB line etc.If some action is not that the user expects, be placed in the pocket such as equipment, push button unintentionally and cause equipment to be waken up, entire equipment can only reenter dormant state behind 1minute or 5minutes, the power consumption during whole for the user without any meaning.
As mentioned above; Windows Mobile 5.0 operating systems also exist equipment just can reenter dormant state after by non-normal wake-up behind 1minute or 5minutes when having more characteristics under dormant state; be entirely unnecessary power consumption during this period, make the problem of mobile embedded type equipment shortening service time.
Have this to reflect, in fact be necessary to provide a kind of minimizing because of equipment by the method for non-normal wake-up power consumption, thereby can reduce the unnecessary power consumption of equipment.
[summary of the invention]
In view of this problem, the object of the present invention is to provide a kind of equipment that reduces because of by the method for non-normal wake-up power consumption, this method can reduce the unnecessary power consumption of equipment to a certain extent.
For achieving the above object, the invention provides a kind of equipment that reduces because of by the method for non-normal wake-up power consumption, this method may further comprise the steps:
A. driver layer was made following action before system is about to enter dormant state: call corresponding API (Application Programming Interface) lock-screen and revise system registry table record screen state (locked).
B. system is after receiving wake events, and driver is done following action after system withdraws from dormant state: the notification application that initiates a message " system is withdrawing from dormant state ".
C. application layer judges whether this wakes up is what the user expected, if non-normal wake-up, then equipment reenters dormant state after receiving the message of driver layer; If what the user expected wakes up, then equipment changes normal operating conditions over to.
More specifically, judge among the step c whether this wakes up is that the method for waking up that the user expected is: after equipment is waken up, use program layer in ensuing 5 seconds in registration table of 200 milliseconds of inquiries " Lock " state (inquiring about altogether 25 times), if the user unlocks screen (" Lock "=0) in these 5 seconds, then this wakes waking up of expecting for the user up; If the user does not unlock screen in 5 seconds, then this wakes up and is non-normal wake-up.
If the inactivity timeout of mobile embedded type equipment minimum (Suspend Timeout) time set is 30Seconds, method provided by the present invention can reduce by 83.3% improper power consumption; Method provided by the present invention is the behavior of pure software mode hardware equipment, need not to increase any hardware cost.
Further understand and understanding for making technical characterictic of the present invention and the effect reached had, what conjunction with figs. was detailed is described as follows.
[description of drawings]
Fig. 1 is the action flow chart of system's driver before entering dormant state;
Fig. 2 is the action flow chart of system's driver after withdrawing from dormant state;
The workflow diagram of this method before and after the system of Figure 3 shows that is waken up.
[embodiment]
See also shown in Figure 1ly, be the action flow chart of system's driver before entering dormant state, it may further comprise the steps:
Step 101, the notified equipment of driver layer is about to enter dormant state;
Step 102, call following API lock-screen:
keybd_event(VK_F22,0,KEYEVENTF_SILENT,0)
Operating system is revised corresponding registry entry and write down screen state (locked) simultaneously, and is as follows:
[HKEY_MACHINE\System\State]
“Lock”=dword:2
Equipment enters dormant state then.
See also shown in Figure 2ly, be the action flow chart of system's driver after withdrawing from dormant state, it may further comprise the steps:
Step 201, the notified equipment of driver layer is about to be waken up;
Step 202 is called API (Application Programming Interface) SetEvent notification application layer equipment and is about to be waken up.
Equipment enters wake-up states then.
See also shown in Figure 3, for system be waken up before and after the workflow diagram of this method, it may further comprise the steps:
Step 301, equipment is in the inferior program layer incident to be driven of wake-up states;
Step 302 judges whether application layer receives the notice of driver layer, if receive that then execution in step 303, if do not receive, then returns execution in step 301;
Whether step 303, judgment device are waken up the time above 5 seconds kinds (judging promptly that also whether inquiry times is above 25 times), if surpass, then execution in step 307, if do not surpass, then execution in step 304;
Step 304, application layer is every 200 milliseconds of inquiry primary system registry entries " Lock " value;
Step 305 is judged in the system registry " Lock " value whether be 0, if 0, then execution in step 306, if be not 0, then return execution in step 303;
Step 306, equipment turns back to normal mode of operation.
Step 307 is judged in the system registry " Lock " value whether be 2, if 2, then execution in step 308, if be not 2, then return execution in step 301;
Step 308, application layer are called following API
(NULL, POWER_STATE_SUPEND POWER_FORCE) make equipment change dormant state once more over to SetSystemPowerState.
The invention provides a kind of minimizing because of equipment by the method for non-normal wake-up power consumption compared with prior art, have following good effect:
1: can avoid the unnecessary power consumption of equipment, the service time of extension device.
2: cost is low, and the method control hardware equipment behavior of pure software need not to increase any hardware cost.

Claims (2)

1. one kind is reduced equipment because of by the method for non-normal wake-up power consumption, and it is characterized in that: this method comprises the steps:
A. driver layer was made following action before system is about to enter dormant state: call corresponding API (Application Programming Interface) lock-screen and revise system registry table record screen state (locked);
B. system is after receiving wake events, and driver is done following action after system withdraws from dormant state: the notification application that initiates a message " system is withdrawing from dormant state ";
C. application layer judges whether this wakes up is what the user expected, if non-normal wake-up, then equipment reenters dormant state after receiving the message of driver layer; If what the user expected wakes up, then equipment changes normal operating conditions over to.
2. minimizing equipment according to claim 1 is because of by the method for non-normal wake-up power consumption, it is characterized in that: describedly judge whether this wakes up is that the concrete grammar that wakes up that the user expected is: in 5 seconds, use program layer in registration table of 200 milliseconds of inquiries " Lock " state (inquiring about altogether 25 times), if the user unlocks screen (" Lock "=0) in these 5 seconds, then this wakes waking up of expecting for the user up; If the user does not unlock screen in 5 seconds, then this wakes up and is non-normal wake-up.
CN200610030029XA 2006-08-11 2006-08-11 Method for reducing power consumption of apparatus because of being non-normally awaked Expired - Fee Related CN101122814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610030029XA CN101122814B (en) 2006-08-11 2006-08-11 Method for reducing power consumption of apparatus because of being non-normally awaked

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610030029XA CN101122814B (en) 2006-08-11 2006-08-11 Method for reducing power consumption of apparatus because of being non-normally awaked

Publications (2)

Publication Number Publication Date
CN101122814A true CN101122814A (en) 2008-02-13
CN101122814B CN101122814B (en) 2010-12-22

Family

ID=39085166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610030029XA Expired - Fee Related CN101122814B (en) 2006-08-11 2006-08-11 Method for reducing power consumption of apparatus because of being non-normally awaked

Country Status (1)

Country Link
CN (1) CN101122814B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941839A (en) * 2014-04-08 2014-07-23 江苏惠通集团有限责任公司 Method and device for awakening electronic device
CN103984410A (en) * 2014-04-01 2014-08-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104239132A (en) * 2014-09-16 2014-12-24 深圳市中兴移动通信有限公司 Wakeup synchronization method, device and terminal
CN106648027A (en) * 2016-12-01 2017-05-10 深圳市金立通信设备有限公司 Screen control method and terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9317105B2 (en) * 2013-01-09 2016-04-19 Htc Corporation Method for performing application wake-up management for a portable device by classifying one application wake-up event of a plurality of application wake-up events as a triggering event for the other application wake-up events

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1368830A (en) * 2001-02-02 2002-09-11 王国起 Mobile telephone able to save battery and prevent radiation and mobile communication system
CN1277188C (en) * 2002-05-23 2006-09-27 联想(北京)有限公司 Method of activating hand held information equipment button
KR100539892B1 (en) * 2003-12-10 2005-12-28 삼성전자주식회사 Composite personal digital assistant for controlling display and method therein

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984410A (en) * 2014-04-01 2014-08-13 联想(北京)有限公司 Information processing method and electronic equipment
CN103941839A (en) * 2014-04-08 2014-07-23 江苏惠通集团有限责任公司 Method and device for awakening electronic device
CN104239132A (en) * 2014-09-16 2014-12-24 深圳市中兴移动通信有限公司 Wakeup synchronization method, device and terminal
CN104239132B (en) * 2014-09-16 2016-10-05 努比亚技术有限公司 A kind of wake up the method for alignment, device and terminal up
CN106648027A (en) * 2016-12-01 2017-05-10 深圳市金立通信设备有限公司 Screen control method and terminal

Also Published As

Publication number Publication date
CN101122814B (en) 2010-12-22

Similar Documents

Publication Publication Date Title
US6865683B2 (en) System and method for powering down a mobile device
JP4611210B2 (en) Non-main CPU / OS based operating environment
US7287172B2 (en) System and method for locking user input elements for small computer devices
US7406610B2 (en) Computing system with low power states and proxy for integration with legacy application software
CN101032129B (en) Methods and apparatus for operating a wireless electronic device based on usage pattern
CN101122814B (en) Method for reducing power consumption of apparatus because of being non-normally awaked
EP2192484A1 (en) Method for executing scheduled task
CN105188115A (en) Method and device for saving electricity for intelligent terminal
US20060090088A1 (en) Method and apparatus for managing power of portable information device
KR20050065394A (en) Method and apparatus for reducing memory current leakage in a mobile device
US20030071805A1 (en) Powering down display screens of processor-based systems
CN105653279A (en) Clock system and wakeup method for mobile terminal and functional chip
CN105187660A (en) Mobile terminal screen timeout setting method and system
CN101131606A (en) Palm PC standby time guarantee method
CN101667116B (en) Mobile phone operating system and method for controlling same in sleep mode
US20060095805A1 (en) Suppression of sleep mode in a computing device via date/time windows
CN103177283B (en) A kind of storage card power down prevention method and device
CN101730300A (en) Displayer and keyboard power management system and method
CN102478952B (en) There is electronic installation and the method for operating thereof of standby mode
TWI224726B (en) Power detection structure of handheld information processing device and method thereof
CN101097480A (en) Electricity-saving method of personal digital assistant device
KR20040058788A (en) Method for controlling power of cpu
KR100700558B1 (en) Battery power control method for smart phone
TW200631388A (en) Device and method for prolonging operation time of smart mobile phone
EP1548547A1 (en) Method and apparatus for reducing memory current leakage in a mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101222

Termination date: 20130811