CN100350809C - Portable electronic device and its power management method - Google Patents
Portable electronic device and its power management method Download PDFInfo
- Publication number
- CN100350809C CN100350809C CNB2004101001900A CN200410100190A CN100350809C CN 100350809 C CN100350809 C CN 100350809C CN B2004101001900 A CNB2004101001900 A CN B2004101001900A CN 200410100190 A CN200410100190 A CN 200410100190A CN 100350809 C CN100350809 C CN 100350809C
- Authority
- CN
- China
- Prior art keywords
- timer
- time
- frame
- portable electron
- electron device
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域technical field
本发明是有关于一种便携式电子装置及其电源管理方法,且特别是有关于一种便携式电子装置的电源管理方法以减少电源消耗。The present invention relates to a portable electronic device and its power management method, and in particular to a power management method of the portable electronic device to reduce power consumption.
背景技术Background technique
随着核心运算芯片及零组件微小化的成功,便携式电子装置(portableelectronic device),例如手机(mobile phone)、个人数字助理器(personal digitalassistant)、数字相机(digital camera)及MP3播放器(MPEG-3player)等大都具有多样化的功能,以满足使用者日渐增加的需求。这样的便携式电子装置之所以能提供多样化的功能,除了是硬件上的设计之外,便携式电子装置本身就具有可程序化的功能或者是具有操作系统,以使各种应用程序以按着使用者的需要而执行。With the success of miniaturization of core computing chips and components, portable electronic devices, such as mobile phones, personal digital assistants, digital cameras and MP3 players (MPEG- 3player) and so on, most of them have diversified functions to meet the increasing needs of users. The reason why such a portable electronic device can provide a variety of functions, in addition to the hardware design, the portable electronic device itself has a programmable function or an operating system, so that various applications can be used according to executed according to the needs of the reader.
便携式电子装置,如手机,所强调的是省电或耗电低的功能,以增加其待机时间。但随着使用者日渐增加的需求,便携式电子装置,尤其在人机界面(man-machine-interface,MMI)的设计上,必须具备方便及吸引使用者的功能,但这样的功能会增加人机界面的复杂度,从而便携式电子装置的处理器会因此增加工作量而消耗更多的能量。Portable electronic devices, such as mobile phones, emphasize power saving or low power consumption functions to increase their standby time. However, with the increasing needs of users, portable electronic devices, especially in the design of the man-machine-interface (MMI), must have functions that are convenient and attractive to users, but such functions will increase the number of man-machine interfaces. Due to the complexity of the interface, the processor of the portable electronic device will increase the workload and consume more energy.
为此,便携式电子装置,大都具有电源管理的功能以节省电源。就以手机为例,其电源管理的功能会在手机处于待机状态中把屏幕的背光源关掉,以节省电源。可是,目前的便携式电子装置,例如是手机,大多具有彩色的液晶屏幕,比单色的液晶屏幕更为耗电;再者,为了引起使用者兴趣,这种手机大都具有播放动画(animation)的功能,如此,便携式电子装置的电源消耗必然随之增加。虽然公知的电源管理方法会在待机时把屏幕的背光源关掉,但公知的手机电源管理方法只能控制硬件的开关以节省电源,所以无法减少有关播放动画时所消耗的能量。再者,当手机使用者再次触碰输入界面以查看显示屏幕时,动画再次被播放;但由于相邻的画面之间要经过一段时间,使用者会感到下一画面迟迟未能显示,好像手机已经死机了。这种画面迟滞的现象,除了让使用者产生手机不能立即使用的不便感觉以外,也会因此对此手机产生不良的评价。For this reason, most portable electronic devices have power management functions to save power. Take a mobile phone as an example, its power management function will turn off the backlight of the screen when the mobile phone is in a standby state to save power. However, most of the current portable electronic devices, such as mobile phones, have color LCD screens, which consume more power than monochrome LCD screens; moreover, in order to arouse users' interest, most of these mobile phones have animation functions. function, so the power consumption of the portable electronic device will inevitably increase accordingly. Although the known power management method will turn off the backlight of the screen during standby, the known mobile phone power management method can only control the hardware switch to save power, so it cannot reduce the energy consumed when playing animation. Moreover, when the mobile phone user touches the input interface again to view the display screen, the animation is played again; but because a period of time has passed between adjacent frames, the user will feel that the next frame has not been displayed for a long time, as if The phone is dead. This phenomenon of screen lag, in addition to making users feel inconvenient that the mobile phone cannot be used immediately, will also give rise to a bad evaluation of the mobile phone.
就目前便携式电子装置的功能多样化的趋势而言,新产品在人机界面的视觉功能上,如动画播放的功能,必然会继续增强。但相对的,这样的视觉功能的增强必然增加便携式电子装置的电源消耗量;如此,待机的时间会减短。而且便携式电子装置从背光关掉的状态回到使待机状态之时,画面动作会有迟滞的现象,又造成使用者感到不便以及对此便携式电子装置产生不良的评价。因此,产品的竞争力会受到负面的影响As far as the current trend of diversifying the functions of portable electronic devices is concerned, the visual functions of the man-machine interface of new products, such as the function of playing animation, will inevitably continue to be enhanced. But relatively, such enhancement of visual function will inevitably increase the power consumption of the portable electronic device; thus, the standby time will be shortened. Moreover, when the portable electronic device returns to the standby state from the state of turning off the backlight, the screen action will be sluggish, causing inconvenience to the user and bad evaluation of the portable electronic device. Therefore, the competitiveness of the product will be negatively affected
因此,便携式电子装置的设计者必须提出解决方案以解决上述的问题。Therefore, designers of portable electronic devices must come up with solutions to solve the above-mentioned problems.
发明内容Contents of the invention
有鉴于此,本发明的目的就是在提供一种便携式电子装置及其电源管理方法,以减少便携式电子装置在播放动态画面时的电源消耗量;此外,便携式电子装置从省电状态回到待机状态之时,动态画面的反应动作会得到改善。In view of this, the purpose of the present invention is to provide a portable electronic device and its power management method, to reduce the power consumption of the portable electronic device when playing dynamic pictures; in addition, the portable electronic device returns to the standby state from the power saving state At this time, the reaction action of the dynamic picture will be improved.
根据本发明的一个目的,提出一种便携式电子装置的电源管理方法,此方法包括:According to an object of the present invention, a kind of power management method of portable electronic device is proposed, and this method comprises:
启动一画面更新定时器,其中画面更新定时器的计时期限为一画面更新时间;Start a picture update timer, wherein the time limit of the picture update timer is a picture update time;
启动一画面显示定时器,其中画面显示定时器的计时期限为一画面显示时间;Start a picture display timer, wherein the time limit of the picture display timer is a picture display time;
当画面更新时间到期时,便携式电子装置进行一图像处理运算并显示此图像处理运算的结果,并再启动画面更新定时器;When the picture update time expires, the portable electronic device performs an image processing operation and displays the result of the image processing operation, and restarts the picture update timer;
当画面显示时间到期时,暂停画面更新定时器;When the screen display time expires, suspend the screen update timer;
其中,当画面更新定时器被暂停时,便携式电子装置并不进行图像处理运算,以减少便携式电子装置的能量消耗。Wherein, when the frame update timer is suspended, the portable electronic device does not perform image processing operation, so as to reduce the energy consumption of the portable electronic device.
根据本发明的一个目的,提出一种便携式电子装置的电源管理方法,其中该便携式电子装置显示由多个帧组成的图像序列,该方法包括:According to an object of the present invention, a method for power management of a portable electronic device is proposed, wherein the portable electronic device displays an image sequence composed of a plurality of frames, the method comprising:
当该便携式电子装置进入一待机状态时:When the portable electronic device enters a standby state:
启动一更换帧定时器,其中该更换帧定时器的计时期限为一更换帧时间;Start a replacement frame timer, wherein the time limit of the replacement frame timer is a replacement frame time;
启动一画面显示定时器,其中该画面显示定时器的计时期限为一画面显示时间;Start a picture display timer, wherein the time limit of the picture display timer is a picture display time;
当该便携式电子装置处于该待机状态时:When the portable electronic device is in the standby state:
当更换帧时间到期时,该便携式电子装置显示这些帧中的一帧,并再启动该更换帧定时器,以逐一地显示这些帧;When the frame replacement time expires, the portable electronic device displays one of the frames, and restarts the frame replacement timer to display the frames one by one;
当画面显示时间到期时,暂停更换帧定时器,并进入一省电状态;When the screen display time expires, suspend changing the frame timer and enter a power-saving state;
其中,当更换帧定时器被暂停时,该便携式电子装置并不处理图像序列的显示动作,以减少该便携式电子装置的能量消耗。Wherein, when the replacement frame timer is suspended, the portable electronic device does not process the display action of the image sequence, so as to reduce the energy consumption of the portable electronic device.
根据本发明的一个目的,提出一种便携式电子装置,此便携式电子装置包括:According to an object of the present invention, a kind of portable electronic device is proposed, and this portable electronic device comprises:
一存储器,储存多个程序指令;以及a memory storing a plurality of program instructions; and
一处理器,与存储器耦接,用以执行这些程序指令,以执行至少以下动作:A processor, coupled to the memory, is used to execute the program instructions to perform at least the following actions:
启动一画面更新定时器,其中画面更新定时器的计时期限为一画面更新时间;Start a picture update timer, wherein the time limit of the picture update timer is a picture update time;
启动一画面显示定时器,其中画面显示定时器的计时期限为一画面显示时间;Start a picture display timer, wherein the time limit of the picture display timer is a picture display time;
当画面更新时间到期时,处理器进行一图像处理运算以显示此图像处理运算的结果,并再启动画面更新定时器;When the frame update time expires, the processor performs an image processing operation to display the result of the image processing operation, and restarts the frame update timer;
当画面显示时间到期时,暂停画面更新定时器;When the screen display time expires, suspend the screen update timer;
其中,当画面更新定时器被暂停时,处理器并不进行图像处理运算,以减少该便携式电子装置的能量消耗。Wherein, when the frame update timer is suspended, the processor does not perform image processing operation, so as to reduce the energy consumption of the portable electronic device.
为让本发明的上述目的、特征、和优点能更明显易懂,下文特举一优选实施例,并结合附图,进行如下的详细说明:In order to make the above-mentioned purposes, features, and advantages of the present invention more obvious and understandable, a preferred embodiment is specifically cited below, combined with the accompanying drawings, for the following detailed description:
附图说明Description of drawings
图1示出了一个时序图,以说明本发明的便携式电子装置的电源管理方法的原理。FIG. 1 shows a timing diagram to illustrate the principle of the power management method of the portable electronic device of the present invention.
图2及图3示出了一流程图,以说明依照本发明的便携式电子装置的电源管理方法的一个优选实施例。2 and 3 show a flow chart to illustrate a preferred embodiment of a power management method for a portable electronic device according to the present invention.
图4为依照本发明的便携式电子装置的一个实施例。FIG. 4 is an embodiment of a portable electronic device according to the present invention.
具体实施方式Detailed ways
本发明的便携式电子装置的电源管理方法的原理是将便携式电子装置正在执行的程序的处理动作的情况纳入电源管理的控制范围之中,使便携式电子装置能节省更多的能源,并从中改善程序的处理动作被恢复执行之后的反应时间。The principle of the power management method of the portable electronic device of the present invention is to bring the processing action of the program being executed by the portable electronic device into the control range of power management, so that the portable electronic device can save more energy and improve the program accordingly The reaction time after the processing action is resumed.
上述的原理可通过图1的时序图来加以说明。在图1中,横轴为时间轴,时间轴上的实线箭头分别代表某一时间点所发生的事件,如事件110、112、114及120。而虚线箭头分别代表在使用本发明的电源管理方法时,可以避免发生的事件(如事件130),藉此,便携式电子装置能节省更多的能源。在此例子中,便携式电子装置在某种预设的情况下,例如是待机时,显示由多个帧(frames)所组成的动画。The above-mentioned principle can be illustrated by the timing diagram in FIG. 1 . In FIG. 1 , the horizontal axis is the time axis, and the solid arrows on the time axis respectively represent events occurring at a certain time point, such as events 110 , 112 , 114 and 120 . The dotted arrows respectively represent events (such as event 130 ) that can be avoided when using the power management method of the present invention, whereby the portable electronic device can save more energy. In this example, the portable electronic device displays an animation composed of a plurality of frames under certain preset conditions, such as standby.
由图1,在时间点t1时,便携式电子装置进入一待机状态,此时,启动一更换帧定时器,并且启动一画面显示定时器,其中更换帧定时器的计时期限为一更换帧时间TA,而画面显示定时器的计时期限为一画面显示时间TB。之后,便携式电子装置进入一等待事件状态。也就是说,便携式电子装置等待各种事件的发生,以作响应。From Fig. 1, at the time point t1 , the portable electronic device enters a standby state, at this time, starts a replacement frame timer, and starts a picture display timer, wherein the time limit of the replacement frame timer is a replacement frame time T A , and the time limit of the picture display timer is a picture display time T B . Afterwards, the portable electronic device enters a state of waiting for an event. That is, the portable electronic device waits for various events to respond.
当便携式电子装置处于这样的等待事件状态时,会依照各种情况处理不同的动作。当更换帧时间TA到期时,如事件120所示,此便携式电子装置连续地显示这些帧中的一个,并再启动此更换帧定时器,以逐一地显示这些帧;如此,便携式电子装置可显示这些帧所组成的动画。当画面显示时间TB到期时(即事件112发生时),在时间点t2时,更换帧定时器被暂停(suspend),便携式电子装置进入一省电状态。其中,便携式电子装置如采用液晶显示器的话,此便携式电子装置会关掉一相对应的背光源,以节省能源。当然,若便携式电子装置采用其它不用背光源的显示器的话,就可不用考虑这种问题。When the portable electronic device is in such a state of waiting for an event, different actions are processed according to various situations. When changing frame time TA expires, as shown in event 120, this portable electronic device continuously displays one in these frames, and restarts this changing frame timer, to show these frames one by one; Like this, portable electronic device An animation composed of these frames can be displayed. When the frame display time T B expires (that is, when the event 112 occurs), at the time point t2 , the change frame timer is suspended (suspend), and the portable electronic device enters a power saving state. Wherein, if the portable electronic device adopts a liquid crystal display, the portable electronic device will turn off a corresponding backlight source to save energy. Of course, if the portable electronic device adopts other displays without a backlight, this problem need not be considered.
当便携式电子装置处于省电状态时,也会依照各种情况处理不同的动作。当此便携式电子装置接收到一输入界面事件(user-interface event)且不用改变屏幕显示时(即事件114发生时),例如是便携式电子装置的输入界面,如键盘或是触控式屏幕,只是被触碰时,此便携式电子装置于时间点t3,恢复(resume)此更换帧定时器,再启动此画面显示定时器,并进入这样的等待事件状态。When the portable electronic device is in the power saving state, it also handles different actions according to various situations. When the portable electronic device receives an input interface event (user-interface event) and does not need to change the screen display (that is, when the event 114 occurs), for example, the input interface of the portable electronic device, such as a keyboard or a touch screen, just When touched, the portable electronic device resumes the change frame timer at the time point t 3 , restarts the frame display timer, and enters such a state of waiting for an event.
当更换帧定时器被暂停时,即时间点t2到t3之间,便携式电子装置并不处理动画显示的动作。在图1中,从时间点t2到t3之间的虚线箭头(如事件130)代表此时更换帧时间TA本来应该到期的事件,但因更换帧定时器被暂停,便携式电子装置并不处理有关显示这些帧的另一帧的动作。故此,例如便携式电子装置的处理器可以减少能量消耗。When the change frame timer is paused, that is, between time points t2 and t3 , the portable electronic device does not process animation display actions. In Fig. 1, the dotted arrow (such as event 130) between the time point t2 and t3 represents the event that the replacement frame time T A should have expired at this time, but because the replacement frame timer is suspended, the portable electronic device Actions about displaying another frame of these frames are not handled. Therefore, for example, processors of portable electronic devices can reduce power consumption.
上述当便携式电子装置接收到输入界面事件且不用改变屏幕显示时,恢复更换帧定时器是指,例如此更换帧定时器首先以更换帧时间TA与被暂停时所计的时间a的时间差作为计时期限,即以TA-a作为计时期限,恢复计时;当TA-a的计时期限到期后,更换帧定时器即以更换帧时间TA(或者是其它的更换帧时间)为计时期限,继续计时,其中被暂停时所计的时间a小于更换帧时间TA。故此,当动画而使得更换帧定时器被恢复而再次被播放时,相邻的画面之间所要经过的一段时间已缩为TA-a,所以,如在时间点t4被触发而显示的下一帧,不会有延迟太久才显示的现象。故此,动画程序的处理动作被恢复执行之后,动画显示的反应时间得以改善。When the above-mentioned portable electronic device receives an input interface event and does not need to change the screen display, resuming the replacement frame timer means that, for example, the replacement frame timer first uses the time difference between the replacement frame time T A and the time a counted when it is suspended as the time difference. Timing period, that is, take T A -a as the timing period to resume timing; when the timing period of T A -a expires, the replacement frame timer is timed with the replacement frame time T A (or other replacement frame time) The time limit continues to count, and the time a counted when it is suspended is less than the replacement frame time T A . Therefore, when the animation makes the change frame timer resume and is played again, the period of time between adjacent frames has shrunk to T A -a, so, as shown at the time point t4 triggered The next frame will not be displayed after too long a delay. Therefore, after the processing action of the animation program is resumed, the response time of the animation display can be improved.
图2及图3为一流程图,以说明依照本发明的便携式电子装置的电源管理方法的一个优选实施例,其中便携式电子装置为一手机。在此实施例中,手机在某种预设的情况下,例如是待机(idle)时,显示由多个帧所组成的动画。此手机包括一显示屏幕及相对应的背光源、一处理器以执行一操作系统,以及一使用者输入界面;所述操作系统提供链接库,以供应用软件调用各种函数从而产生例如定时器的各种功能,或控制例如背光源的各种硬件组件。在该实施例中,手机的电源管理是经由电源管理软件来实现的。2 and 3 are flowcharts illustrating a preferred embodiment of a power management method for a portable electronic device according to the present invention, wherein the portable electronic device is a mobile phone. In this embodiment, the mobile phone displays an animation composed of a plurality of frames under certain preset conditions, for example, when it is idle. The mobile phone includes a display screen and corresponding backlight, a processor to execute an operating system, and a user input interface; the operating system provides a link library for the application software to call various functions to generate, for example, a timer functions, or control various hardware components such as backlights. In this embodiment, the power management of the mobile phone is realized through power management software.
由图2,如步骤210所示,手机进入一待机状态(idle state)。在步骤220时,一电源管理模块启动一更换帧定时器,其中更换帧定时器的计时期限为一更换帧时间TA。在步骤230,此电源管理模块启动一画面显示定时器,其中此画面显示定时器的计时期限为一画面显示时间TB。更换帧时间TA小于画面显示时间TB,例如TA=1.0秒,TB=15至30秒。此外,更换帧定时器与画面显示定时器可同时启动;而另一种实施方法为:先启动画面显示定时器之后再启动更换帧定时器。之后,如步骤240所示,电源管理模块进入一等待事件状态240(waiting event state)。也就是说,手机在待机状态中,等待响应各种发生的事件。From FIG. 2, as shown in
当电源管理模块处于这样的等待事件状态240时,会依照各种情况处理不同的动作。如步骤250所示,当更换帧时间TA到期时,电源管理模块令便携式电子装置显示这些帧之一,如步骤260所示。在步骤270中,电源管理模块再启动更换帧定时器。如此,便携式电子装置可以逐一地显示这些帧,达成动画显示的功能。之后,此电源管理模块继续处于这样的等待事件状态240中。When the power management module is in such event-waiting
另外,如步骤280所示,当此画面显示时间TB到期时,电源管理模块进入步骤290,以暂停更换帧定时器。此外,步骤290可实现为与步骤280同步发生。接着,使此手机进入一省电状态300(power saving state or suspendstate),即步骤300。此电源管理模块会关掉手机的背光源,以节省电源。In addition, as shown in
此外,当电源管理模块处于等待事件状态240时,亦即手机于待机状态中,等待响应各种发生的事件。此时,手机亦会依照各种情况处理不同的动作,也就是说,手机的处理器仍然会执行其它工作,以维持手机运作,如接收外来的通话或接收简讯等。当此手机接收到一输入界面事件且不用改变屏幕显示时,例如是手机的输入界面,如键盘或是触控式屏幕只是被触碰时,此电源管理模块会重新启动画面显示定时器,接着,此电源管理模块回到这样的等待事件状态240。另一方面,当手机接收到一输入界面事件且要改变屏幕显示时,例如是手机使用者从输入界面键入数字或点选功能时,画面必须随着更改,例如显示数字或文字等。为此,电源管理模块停止画面显示定时器及更换帧定时器,以停止动画的显示。接着,结束此电源管理模块以进入其它模块以处理这样的会改变屏幕显示的事件。In addition, when the power management module is in the event-waiting
请参考图3,当电源管理模块处于此省电状态300时,也会依照各种情况处理不同的动作。也就是说,手机的处理器仍然会执行其它工作,以维持手机运作,如接收外来的通话或接收简讯等。在步骤310中,当手机接收到一输入界面事件且不用改变屏幕显示时,例如是手机的输入界面,如键盘或是触控式屏幕只是被触碰时,此电源管理模块会更新(refresh)画面,如步骤320所示;其中,之前被关掉的背光模块会被重新开启。接着,在步骤330中,更换帧定时器被恢复,以显示动画。此后,如步骤340所示,电源管理模块再启动画面显示定时器。最后,电源管理模块回到这样的等待事件状态240,也就是说,手机离开省电状态,回复到待机状态以等待响应各种事件。另一方面,在步骤350中,当手机接收到一输入界面事件且要改变屏幕显示时,例如是手机使用者从输入界面键入数字或点选功能时,画面必须随着更改,例如显示数字或文字等。为此,此电源管理模块在步骤360中停止(stop)画面显示定时器,以停止动画的显示。最后,结束电源管理模块以进入其它模块以处理这样的会改变屏幕显示的事件,如步骤370所示。Please refer to FIG. 3 , when the power management module is in the
当此更换帧定时器被暂停时,即在步骤330被执行之前,手机的处理器并不处理动画显示的动作。故此,处理器可得以减少能量消耗。When the change frame timer is paused, ie before step 330 is executed, the processor of the handset does not process the animation display. Therefore, the processor can reduce power consumption.
当上述手机接收到输入界面事件且不用改变屏幕显示时,恢复更换帧定时器是指:例如更换帧定时器首先以更换帧时间TA与被暂停时所计的时间a的时间差作为计时期限,即以TA-a作为计时期限,恢复计时;当TA-a的计时期限到期后,更换帧定时器即以更换帧时间TA(或者是其它的更换帧时间)为计时期限,继续计时,其中被暂停时所计的时间a小于更换帧时间TA。故此,当动画由于更换帧定时器被恢复而再次被播放时,相邻的画面之间所要经过的一段时间已缩为TA-a,所以,例如在图1中的时间点t4被触发而显示的下一帧,不会有延迟太久才显示的现象。当然,此电源管理模块恢复更换帧定时器的方式除了上述的方式之外,也可以其它方式进行,例如更换帧定时器首先以此更换帧时间TA的1/2作为计时期限,即以TA/2作为计时期限,恢复计时;当TA/2的计时期限到期后,更换帧定时器即以更换帧时间TA(或者是其它的更换帧时间)为计时期限,继续计时。藉此,动画程序的处理动作被恢复执行之后,动画显示的反应时间都能得以减少。When the above-mentioned mobile phone receives an input interface event and does not need to change the screen display, resuming the replacement frame timer refers to: for example, the replacement frame timer first uses the time difference between the replacement frame time TA and the time a when it is suspended as the time limit, That is, use T A -a as the time limit to resume timing; when the time limit of T A -a expires, the replacement frame timer takes the replacement frame time T A (or other replacement frame time) as the time limit, and continues Timing, wherein the time a counted when it is suspended is less than the replacement frame time T A . Therefore, when the animation is played again due to the recovery of the frame change timer, the period of time between adjacent frames has been shortened to T A -a, so, for example, at time point t4 in Figure 1 is triggered And the next frame displayed will not be displayed after too long a delay. Of course, besides the above-mentioned method, the power management module can restore the replacement frame timer in other ways. For example, the replacement frame timer first uses 1/2 of the replacement frame time T A as the time limit, that is, T A /2 is used as the timing period to resume timing; when the timing period of T A /2 expires, the replacement frame timer uses the replacement frame time T A (or other replacement frame time) as the timing period to continue counting. In this way, after the processing action of the animation program is resumed, the reaction time of the animation display can be reduced.
此外,当电源管理模块处于这样的等待事件状态240时,会依照各种情况处理不同的动作。除了如步骤250所述的更换帧时间TA到期的事件及如步骤280所述的画面显示时间TB到期的事件以外,当上述手机接收到一输入界面事件且不用改变屏幕显示时,如不小心的触碰到输入界面时,电源管理模块会再启动此画面显示定时器,重新计算何时进入省电状态,此时,屏幕会继续显示动画。另外,当手机接收到一输入界面事件且要改变屏幕显示时,例如是手机使用者从输入界面键入数字或点选功能之时,画面必须随着更改,例如显示数字或文字等。为此,电源管理模块停止(stop)更换帧定时器及画面显示定时器,接着,电源管理模块停止执行。此后,其它模块可被启动以处理这样的会改变屏幕显示的事件。In addition, when the power management module is in such a
在另一实施例中,依照本发明的电源管理方法的方法步骤加入到便携式电子装置的操作系统中或是软件程序中。当便携式电子装置在某种预设的情况下,例如是待机时,启动一画面显示定时器。当画面显示定时器计时期限到期时,暂停其它有关更新画面显示或触动图像处理的定时器,以进入省电状态(如步骤300所示),其中这些有关更新画面显示或触动图像处理运算的定时器可命名为画面更新定时器,其计时期限为一画面更新时间。由于画面更新定时器会触发便携式电子装置进行处理动作,当画面更新定时器被暂停时,便携式电子装置的处理器并不处理画面显示的动作,能量得以节省。例如,在省电状态中,便携式电子装置可以暂停以走马灯方式显示的信息或是需要作图像处理的运算,以减少便携式电子装置在待机中所消耗的能量。In another embodiment, the method steps of the power management method according to the present invention are added into the operating system or software program of the portable electronic device. When the portable electronic device is in a predetermined situation, such as standby, a frame display timer is activated. When the picture display timer expires, suspend other timers related to updating the picture display or touching the image processing to enter the power saving state (as shown in step 300), wherein these related to updating the picture display or touching the image processing operation The timer can be named as a picture update timer, and its time limit is a picture update time. Since the frame update timer triggers the portable electronic device to perform processing actions, when the frame refresh timer is suspended, the processor of the portable electronic device does not process the frame display action, thereby saving energy. For example, in the power-saving state, the portable electronic device can suspend information displayed in a carousel manner or operations requiring image processing, so as to reduce energy consumed by the portable electronic device during standby.
再者,便携式电子装置在某种预设的情况下,例如是待机时,显示由多个帧(frames)所组成的图像序列的画面更新动作,例如是图片集、影片、简报时,也可使用本发明的电源管理方法以替便携式电子装置节省更多的能源。Furthermore, the portable electronic device may display a screen update action of an image sequence composed of a plurality of frames (frames) under certain preset conditions, for example, when it is on standby, for example, when it is a collection of pictures, a movie, or a presentation. Use the power management method of the present invention to save more energy for portable electronic devices.
请参考图4,依照本发明的便携式电子装置的一个实施例,便携式电子装置400包括一处理器410及一存储器420,及一画面显示定时器460。存储器420储存多个程序指令,而处理器410则与存储器420耦接,用以执行这些程序指令,以执行以下动作。启动画面显示定时器460,其中画面显示定时器460的计时期限为一画面显示时间。当画面显示定时器计时期限到期时,暂停其它有关更新画面显示或触动图像处理的定时器,如图4中的画面更新定时器470,以进入省电状态(如步骤300所示)。Please refer to FIG. 4 , according to an embodiment of the portable electronic device of the present invention, the portable electronic device 400 includes a processor 410 and a memory 420 , and a display timer 460 . The memory 420 stores a plurality of program instructions, and the processor 410 is coupled to the memory 420 for executing the program instructions to perform the following actions. Start the picture display timer 460, wherein the time limit of the picture display timer 460 is one picture display time. When the time limit of the screen display timer expires, other timers related to updating the screen display or touching the image processing are suspended, such as the screen update timer 470 in FIG. 4 , to enter the power saving state (as shown in step 300 ).
若画面更新时间到期时,处理器410进行一图像处理运算以显示图像处理运算的结果,并再启动画面更新定时器。若画面显示时间到期时,暂停该画面更新定时器470。在上述过程中,当画面更新定时器470被暂停时,处理器410并不进行相对的图像处理运算,以减少便携式电子装置400的能量消耗。再者,便携式电子装置400还可包括一背光源490,在画面更新定时器470被暂停时,处理器410关掉背光源490,进一步的节省能源。而上述本发明的各实施例所公开的电源管理方法,也可在图4所示的便携式电子装置中实现。此外,如图4所示,画面显示定时器460及画面更新定时器470以电路加以实现。但在另一实施例中,画面显示定时器460及画面更新定时器470之一或两者以软件指令的方式加以实现。值得注意的是,画面显示定时器460及画面更新定时器470的两者的启动顺序,可同时或有不同的先后。If the frame update time expires, the processor 410 performs an image processing operation to display the result of the image processing operation, and restarts the frame update timer. If the screen display time expires, the screen update timer 470 is suspended. During the above process, when the frame update timer 470 is suspended, the processor 410 does not perform relative image processing operations, so as to reduce the power consumption of the portable electronic device 400 . Furthermore, the portable electronic device 400 may further include a backlight 490 , and when the frame update timer 470 is suspended, the processor 410 turns off the backlight 490 to further save energy. The power management methods disclosed in the above embodiments of the present invention can also be implemented in the portable electronic device shown in FIG. 4 . In addition, as shown in FIG. 4 , the screen display timer 460 and the screen update timer 470 are realized by circuits. However, in another embodiment, one or both of the frame display timer 460 and the frame update timer 470 are implemented in the form of software instructions. It should be noted that the activation sequence of the frame display timer 460 and the frame update timer 470 may be simultaneously or in different order.
对于彩色的便携式电子装置,如彩色手机而言,在一天当中,大部份的时间都是处于待机状态之中,由于本发明的电源管理方法的原理将手机正在执行的程序的处理动作(如上述的动画动作)的情况纳入电源管理的控制范围之中,使手机能节省更多的能源,并从中改善程序的处理动作被恢复执行之后的反应时间。相对的,因为公知的电源管理方法没有考虑手机正在执行的程序的处理动作的情况,所以本发明的电源管理方法能替手机节省更多的能源。For colorful portable electronic devices, such as color mobile phones, most of the time in a day is in the standby state. The above-mentioned animation action) is brought into the control range of power management, so that the mobile phone can save more energy, and improve the reaction time after the processing action of the program is resumed. In contrast, because the known power management method does not consider the processing actions of the programs being executed by the mobile phone, the power management method of the present invention can save more energy for the mobile phone.
本发明上述实施例公开了本发明的一种便携式电子装置的电源管理方法,以减少便携式电子装置在播放动画时的电源消耗量;此外,便携式电子装置从省电状态回到待机状态之时,图像显示的反应时间会得到改善,以产生流畅的显示效果。由此,便携式电子装置的待机时间会增加,而且使用者会对此便携式电子装置产生正面的评价。产品的竞争力会因此增强。The above embodiments of the present invention disclose a power management method for a portable electronic device of the present invention, so as to reduce the power consumption of the portable electronic device when playing animation; in addition, when the portable electronic device returns to the standby state from the power saving state, The response time of the image display is improved to produce a smooth display. Therefore, the standby time of the portable electronic device will increase, and the user will give a positive evaluation to the portable electronic device. The competitiveness of the product will thus be enhanced.
综上所述,虽然本发明已经以一个优选实施例公开如上,然而其并非用以限定本发明,任何本领域的技术人员在不脱离本发明的精神和范围的情况下,可以作出各种变化与修改,因此本发明的保护范围以所附的权利要求所限定的为准。In summary, although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention, and any person skilled in the art can make various changes without departing from the spirit and scope of the present invention Therefore, the protection scope of the present invention shall prevail as defined by the appended claims.
Claims (27)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101001900A CN100350809C (en) | 2003-12-05 | 2004-12-03 | Portable electronic device and its power management method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200310122501 | 2003-12-05 | ||
CN200310122501.9 | 2003-12-05 | ||
CNB2004101001900A CN100350809C (en) | 2003-12-05 | 2004-12-03 | Portable electronic device and its power management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1627852A CN1627852A (en) | 2005-06-15 |
CN100350809C true CN100350809C (en) | 2007-11-21 |
Family
ID=34796324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004101001900A Expired - Fee Related CN100350809C (en) | 2003-12-05 | 2004-12-03 | Portable electronic device and its power management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100350809C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375526A (en) * | 2010-08-19 | 2012-03-14 | 英华达(上海)科技有限公司 | Electronic device and power-saving control method thereof |
CN103064648A (en) * | 2013-01-05 | 2013-04-24 | 刘遥 | Method, device and system for updating display of electronic paper screen through cloud end |
CN105068775A (en) * | 2015-07-24 | 2015-11-18 | 杭州宙其科技有限公司 | Method and device for playing specific multimedia data by utilizing computer booting and shutdown time |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6278887B1 (en) * | 1999-02-05 | 2001-08-21 | Neopoint, Inc. | System and method for power conservation in a wireless communication handset |
CN1322979A (en) * | 2000-05-15 | 2001-11-21 | 明碁电脑股份有限公司 | Power saving method and device for screen of computer system |
EP1241620A2 (en) * | 2001-02-28 | 2002-09-18 | Nokia Corporation | A communication terminal handling animations |
CN1399483A (en) * | 2001-07-23 | 2003-02-26 | 英华达股份有限公司 | Power Saving Methods for Mobile Phones |
CN1400576A (en) * | 2001-07-27 | 2003-03-05 | 夏普公司 | Display device |
-
2004
- 2004-12-03 CN CNB2004101001900A patent/CN100350809C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6278887B1 (en) * | 1999-02-05 | 2001-08-21 | Neopoint, Inc. | System and method for power conservation in a wireless communication handset |
CN1322979A (en) * | 2000-05-15 | 2001-11-21 | 明碁电脑股份有限公司 | Power saving method and device for screen of computer system |
EP1241620A2 (en) * | 2001-02-28 | 2002-09-18 | Nokia Corporation | A communication terminal handling animations |
CN1399483A (en) * | 2001-07-23 | 2003-02-26 | 英华达股份有限公司 | Power Saving Methods for Mobile Phones |
CN1400576A (en) * | 2001-07-27 | 2003-03-05 | 夏普公司 | Display device |
Also Published As
Publication number | Publication date |
---|---|
CN1627852A (en) | 2005-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7463255B2 (en) | Portable electronic apparatus and power management method thereof | |
CN114518817B (en) | Display method, electronic device and storage medium | |
US7926072B2 (en) | Application programming interface for providing native and non-native display utility | |
US20070101325A1 (en) | System and method for utilizing a remote memory to perform an interface save/restore procedure | |
WO2014075473A1 (en) | Energy-saving display method and device for terminal, lcd module, and terminal | |
CN1878253A (en) | TV set energy-saving method | |
CN102622177A (en) | Mobile terminal and display screen region display method thereof | |
CN115151969A (en) | Reduced display processing unit transfer time to compensate for delayed GPU rendering time | |
CN102256008A (en) | Screensaver customization method, device and system for mobile terminal | |
US20080082803A1 (en) | Saving/Restoring Task State Data From/To Device Controller Host Interface Upon Command From Host Processor To Handle Task Interruptions | |
CN109002250A (en) | A kind of touch operation method, device, mobile terminal and storage medium | |
CN117711310B (en) | Display control method, electronic device and storage medium | |
CN100350809C (en) | Portable electronic device and its power management method | |
CN103869926A (en) | Power saving method and electronic device | |
CN1492595A (en) | portable terminal | |
CN103582858A (en) | Rescheduling active display tasks to minimize overlapping with active platform tasks | |
WO2022242683A1 (en) | Memory recovery method and apparatus, and electronic device | |
CN103260224A (en) | Mobile terminal and method for achieving refreshing of charging animation during charging | |
JP7231535B2 (en) | Smart device control method, smart device control device, electronic device, and storage medium | |
CA2711874C (en) | Aligning animation state update and frame composition | |
TW201543363A (en) | Method for switching operating systems and electronic apparatus | |
CN116719587B (en) | Screen display method, electronic device and computer readable storage medium | |
CN107390460B (en) | Double-screen display method and device of wrist projection equipment | |
US20250060979A1 (en) | Android-based system for touch input handling | |
CN106604372A (en) | Power consumption control method, apparatus and 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: LIAN FA SOFTWARE DESIGN (SHENZHEN) CO., LTD. Free format text: FORMER OWNER: MEDIATEK INC. Effective date: 20090619 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20090619 Address after: China Shenzhen Nanshan District science and technology in the two road Shenzhen Software Park 11, 10-12 Patentee after: Lianfa Software Design (Sehnzhen) Co., Ltd. Address before: Hsinchu Science Industrial Park, Hsinchu County, Taiwan Patentee before: MediaTek.Inc |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20071121 Termination date: 20191203 |
|
CF01 | Termination of patent right due to non-payment of annual fee |