[go: up one dir, main page]

CN103488270A - Power saving method and electronic device thereof - Google Patents

Power saving method and electronic device thereof Download PDF

Info

Publication number
CN103488270A
CN103488270A CN201210193572.7A CN201210193572A CN103488270A CN 103488270 A CN103488270 A CN 103488270A CN 201210193572 A CN201210193572 A CN 201210193572A CN 103488270 A CN103488270 A CN 103488270A
Authority
CN
China
Prior art keywords
unit
peripheral unit
mode
state
power
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
CN201210193572.7A
Other languages
Chinese (zh)
Other versions
CN103488270B (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 Computer Kunshan Co Ltd
Getac Technology Corp
Original Assignee
Mitac Computer Kunshan Co Ltd
Mitac Technology 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 Computer Kunshan Co Ltd, Mitac Technology Corp filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN201210193572.7A priority Critical patent/CN103488270B/en
Publication of CN103488270A publication Critical patent/CN103488270A/en
Application granted granted Critical
Publication of CN103488270B publication Critical patent/CN103488270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

本发明揭示一种省电方法及其电子装置,其中所述方法包括以下步骤。当周边单元的闲置时间小于预设时间值时,周边单元持续侦测触发事件。当周边单元的闲置时间超过预设时间值时,周边单元发送休眠信号至系统单元,其中系统单元具有工作模式及省电模式。周边单元发送休眠信号后,周边单元仍持续侦测触发事件。系统单元接收休眠信号后,系统单元由工作模式切换为省电模式。周边单元侦测到触发事件后,周边单元发送一唤醒信号至系统单元。系统单元接收唤醒信号后,系统单元由省电模式切换为工作模式。从而使得当有触发事件时,周边单元则可实时的传送唤醒信号至系统单元,以唤醒系统单元及操作系统。

Figure 201210193572

The invention discloses a power saving method and its electronic device, wherein the method includes the following steps. When the idle time of the peripheral unit is less than the preset time value, the peripheral unit continues to detect the trigger event. When the idle time of the peripheral unit exceeds a preset time value, the peripheral unit sends a sleep signal to the system unit, wherein the system unit has a working mode and a power saving mode. After the peripheral unit sends the sleep signal, the peripheral unit still continues to detect the trigger event. After the system unit receives the sleep signal, the system unit switches from the working mode to the power saving mode. After the peripheral unit detects the trigger event, the peripheral unit sends a wake-up signal to the system unit. After the system unit receives the wake-up signal, the system unit switches from the power saving mode to the working mode. Therefore, when there is a trigger event, the peripheral unit can transmit a wake-up signal to the system unit in real time, so as to wake up the system unit and the operating system.

Figure 201210193572

Description

省电方法及其电子装置Power saving method and electronic device thereof

【技术领域】【Technical field】

本发明是有关于一种省电方法及其电子装置,且特别是有关于一种低温环境下的省电方法及其电子装置。The present invention relates to a power saving method and its electronic device, and in particular to a power saving method and its electronic device in a low temperature environment.

【背景技术】【Background technique】

科技日新月异,手机、平板电脑或笔记本电脑等手持电子装置的运算能力及支持功能亦日益增加并渐趋复杂。在这样的趋势中,手持电子装置的电源管理便成为一日趋重要的课题。一般而言,手持电子装置皆支持省电模式,在手持电子装置闲置一固定时间后便进入省电模式以节省能源消耗。然而,当手持电子装置处于一严苛环境,例如极高温环境或极低温环境时,进入省电模式的手持电子装置可能会在这样环境的影响下造成装置部分功能失效,甚至无法从省电模式中唤醒,回到工作模式。因此,为了避免上述的情况发生,人们往往在严苛环境时关闭切换至省电模式的功能。但是在严苛环境中,手持电子装置中的电池模块的输出效率往往变得低落,再加上没有省电模式的配合,使得在严苛环境时的手持电子装置耗电情况十分严重。With the rapid development of technology, the computing power and supporting functions of handheld electronic devices such as mobile phones, tablet computers or notebook computers are also increasing and becoming more complex. In such a trend, power management of handheld electronic devices has become an increasingly important issue. Generally speaking, all handheld electronic devices support the power saving mode, and enter the power saving mode after the handheld electronic device is idle for a fixed period of time to save energy consumption. However, when the handheld electronic device is in a harsh environment, such as an extremely high temperature environment or an extremely low temperature environment, the handheld electronic device that enters the power saving mode may cause some functions of the device to fail under the influence of such an environment, or even fail to recover from the power saving mode. Wake up and return to work mode. Therefore, in order to avoid the above situation, people often disable the function of switching to the power saving mode in severe environments. However, in the harsh environment, the output efficiency of the battery module in the handheld electronic device often becomes low. In addition, there is no cooperation of the power saving mode, so that the power consumption of the handheld electronic device in the harsh environment is very serious.

【发明内容】【Content of invention】

本发明提供一种省电方法及其电子装置,使得所述电子装置处于严苛环境时,仍可具有切换至省电模式的功能。The invention provides a power saving method and its electronic device, so that the electronic device can still have the function of switching to the power saving mode when it is in a harsh environment.

本发明提供一种省电方法,包括以下步骤。首先,设定一模式参数。接着,依据模式参数,外围单元进入第一工作模式并维持在第一工作模式。当周边单元的闲置时间小于或等于预设时间值时,周边单元持续侦测触发事件。而当周边单元的闲置时间超过预设时间值时,周边单元发送休眠信号至系统单元。然后,周边单元发送休眠信号后,周边单元仍持续侦测触发事件。再者,系统单元接收休眠信号后,系统单元由第二工作模式切换为一第二省电模式。而当周边单元侦测到触发事件后,周边单元发送一唤醒信号至系统单元。当系统单元接收唤醒信号后,系统单元由第二省电模式切换为第二工作模式。其中,模式参数对应于周边单元,周边单元设在电子装置内,且周边单元具有该第一工作模式及第一省电模式,第一工作模式为非关机状态。而系统单元具有第二工作模式及第二省电模式,该系统单元设在电子装置内,并且且电性连接周边单元。The present invention provides a power saving method, which includes the following steps. First, set a mode parameter. Then, according to the mode parameter, the peripheral unit enters into the first working mode and remains in the first working mode. When the idle time of the peripheral unit is less than or equal to the preset time value, the peripheral unit continues to detect the trigger event. And when the idle time of the peripheral unit exceeds a preset time value, the peripheral unit sends a sleep signal to the system unit. Then, after the peripheral unit sends the sleep signal, the peripheral unit still continues to detect the trigger event. Moreover, after the system unit receives the sleep signal, the system unit switches from the second working mode to a second power saving mode. And when the peripheral unit detects the trigger event, the peripheral unit sends a wake-up signal to the system unit. After the system unit receives the wake-up signal, the system unit switches from the second power saving mode to the second working mode. Wherein, the mode parameter corresponds to the peripheral unit, the peripheral unit is set in the electronic device, and the peripheral unit has the first working mode and the first power saving mode, and the first working mode is a non-shutdown state. The system unit has a second working mode and a second power saving mode. The system unit is set in the electronic device and is electrically connected to peripheral units.

本发明还提供一种电子装置,包括一周边单元及一系统单元。周边单元,具有第一工作模式及第一省电模式,并根据模式参数进入第一工作模式并维持于第一工作模式,其中第一工作模式为非关机状态。系统单元耦接周边单元,运作一操作系统,并且具有一第二工作模式及一第二省电模式。其中,当周边单元闲置小于一预设时间值时,周边单元持续侦测一触发事件。当周边单元闲置超过预设时间值时,周边单元发送一休眠信号至系统单元,周边单元发送休眠信号后,周边单元仍持续侦测触发事件。系统单元接收休眠信号后,系统单元由第二工作模式切换为第二省电模式。周边单元侦测到触发事件后,周边单元发送一唤醒信号至系统单元。系统单元接收唤醒信号后,系统单元由第二省电模式切换为第二工作模式。The invention also provides an electronic device, which includes a peripheral unit and a system unit. The peripheral unit has a first working mode and a first power-saving mode, and enters the first working mode according to the mode parameter and remains in the first working mode, wherein the first working mode is a non-shutdown state. The system unit is coupled to the peripheral units, runs an operating system, and has a second working mode and a second power saving mode. Wherein, when the peripheral unit is idle for less than a preset time value, the peripheral unit continues to detect a trigger event. When the peripheral unit is idle for more than a preset time value, the peripheral unit sends a dormancy signal to the system unit. After the peripheral unit sends the dormancy signal, the peripheral unit continues to detect trigger events. After the system unit receives the sleep signal, the system unit switches from the second working mode to the second power saving mode. After the peripheral unit detects the trigger event, the peripheral unit sends a wake-up signal to the system unit. After the system unit receives the wake-up signal, the system unit switches from the second power saving mode to the second working mode.

相较于现有技术,本发明提供的省电方法及其电子装置,使得电子装置中的系统单元在周边单元不进入休眠模式的情况下进入休眠模式,当有触发事件时,周边单元则可实时的传送唤醒信号至系统单元,以唤醒系统单元及操作系统。Compared with the prior art, the power saving method and its electronic device provided by the present invention enable the system unit in the electronic device to enter the sleep mode when the peripheral unit does not enter the sleep mode, and when there is a trigger event, the peripheral unit can Send a wake-up signal to the system unit in real time to wake up the system unit and the operating system.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合所附图式作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.

【附图说明】【Description of drawings】

图1为根据本发明一实施例所绘示省电方法的流程步骤图。FIG. 1 is a flowchart of a power saving method according to an embodiment of the invention.

图2为根据本发明一实施例所绘示电子装置的装置方块图。FIG. 2 is a device block diagram of an electronic device according to an embodiment of the invention.

图3为根据本发明一实施例所绘示电子装置的装置方块图。FIG. 3 is a device block diagram of an electronic device according to an embodiment of the invention.

图4为根据本发明一实施例所绘示省电方法中周边单元的步骤流程图。FIG. 4 is a flowchart of steps of peripheral units in a power saving method according to an embodiment of the present invention.

图5为根据本发明一实施例所绘示省电方法中系统单元的步骤流程图。FIG. 5 is a flow chart of the steps of the system units in the power saving method according to an embodiment of the present invention.

【具体实施方式】【Detailed ways】

图1为根据本发明一实施例所绘示省电方法的流程步骤图。请参照图1,首先在步骤S101时,设定一模式参数。然后在步骤S102时,依据模式参数,外围单元进入第一工作模式并维持在第一工作模式。接着在步骤S103时,当周边单元的闲置时间小于一预设时间值时,周边单元持续侦测一触发事件。FIG. 1 is a flowchart of a power saving method according to an embodiment of the invention. Referring to FIG. 1 , firstly, in step S101 , a mode parameter is set. Then in step S102, according to the mode parameter, the peripheral unit enters the first working mode and remains in the first working mode. Then in step S103, when the idle time of the peripheral unit is less than a preset time value, the peripheral unit continues to detect a trigger event.

而在步骤S104,周边单元的闲置时间超过预设时间值时,周边单元发送一休眠信号至一系统单元。在步骤S105时,周边单元发送休眠信号后,周边单元仍持续侦测触发事件。再者在步骤S106时,系统单元接收休眠信号后,系统单元由第二工作模式切换为第二省电模式。另一方面,当周边单元侦测到触发事件后,周边单元发送一唤醒信号至系统单元。在步骤S107时,系统单元接收唤醒信号后,系统单元则由第二省电模式切换为第二工作模式。And in step S104, when the idle time of the peripheral unit exceeds a preset time value, the peripheral unit sends a sleep signal to a system unit. In step S105, after the peripheral unit sends the sleep signal, the peripheral unit still continues to detect the trigger event. Furthermore, in step S106, after the system unit receives the sleep signal, the system unit switches from the second working mode to the second power saving mode. On the other hand, when the peripheral unit detects the trigger event, the peripheral unit sends a wake-up signal to the system unit. In step S107, after the system unit receives the wake-up signal, the system unit switches from the second power-saving mode to the second working mode.

其中,模式参数对应于周边单元,而周边单元设置在电子装置内,且周边单元具有第一工作模式及第一省电模式,而第一工作模式为非关机状态。系统单元具有则第二工作模式及第二省电模式,以及系统单元设在电子装置内且电性连接周边单元。Wherein, the mode parameter corresponds to the peripheral unit, and the peripheral unit is set in the electronic device, and the peripheral unit has a first working mode and a first power saving mode, and the first working mode is a non-shutdown state. The system unit has a second working mode and a second power saving mode, and the system unit is set in the electronic device and electrically connected to the peripheral units.

图2为根据本发明一实施例所绘示电子装置的装置方块图。请参照图2,电子装置10包括周边单元120及系统单元110。周边单元120具有第一工作模式及第一省电模式,并根据模式参数进入第一工作模式并维持于第一工作模式,其中第一工作模式为非关机状态。系统单元110耦接周边单元120,运作一操作系统,并且具有第二工作模式及第二省电模式。FIG. 2 is a device block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 2 , the electronic device 10 includes a peripheral unit 120 and a system unit 110 . The peripheral unit 120 has a first working mode and a first power saving mode, and enters the first working mode according to the mode parameter and remains in the first working mode, wherein the first working mode is a non-shutdown state. The system unit 110 is coupled to the peripheral unit 120, operates an operating system, and has a second working mode and a second power saving mode.

当周边单元120闲置小于预设时间值时,周边单元120持续侦测触发事件TE。当周边单元120闲置超过预设时间值时,周边单元120发送休眠信号SS至系统单元110,周边单元120发送休眠信号SS后,周边单元120仍持续侦测触发事件TE。系统单元接收休眠信号SS后,系统单元110由第二工作模式切换为第二省电模式。周边单元120侦测到触发事件TE后,周边单元120发送一唤醒信号WS至系统单元110。系统单元110接收唤醒信号WS后,系统单元110由第二省电模式切换为第二工作模式。When the peripheral unit 120 is idle for less than a preset time value, the peripheral unit 120 continues to detect the trigger event TE. When the peripheral unit 120 is idle for more than a preset time value, the peripheral unit 120 sends a sleep signal SS to the system unit 110 , and after the peripheral unit 120 sends the sleep signal SS, the peripheral unit 120 continues to detect the trigger event TE. After the system unit receives the sleep signal SS, the system unit 110 switches from the second working mode to the second power saving mode. After the peripheral unit 120 detects the trigger event TE, the peripheral unit 120 sends a wake-up signal WS to the system unit 110 . After the system unit 110 receives the wake-up signal WS, the system unit 110 switches from the second power saving mode to the second working mode.

所述的周边单元120可以为触控屏幕单元、蓝牙通信单元或是通过通用串行总线(Universal Serial Bus,USB)接口连接的智能卡(Smart Card)卡片阅读机等。当电子装置10处于严苛环境时,周边单元120可能因为剧烈环境的影响而失去部分的功能或是对外传送的信号失真,一旦进入休眠模式便无法成功的侦测到触发事件而被唤醒,或是无法成功的传递正确的信号例如休眠信号SS或唤醒信号WS至系统单元110。The peripheral unit 120 may be a touch screen unit, a Bluetooth communication unit, or a smart card (Smart Card) card reader connected through a Universal Serial Bus (USB) interface. When the electronic device 10 is in a harsh environment, the peripheral unit 120 may lose part of its functions or distort the externally transmitted signal due to the impact of the severe environment. Once it enters the sleep mode, it cannot successfully detect the trigger event and be awakened, or It is unable to transmit the correct signal such as the sleep signal SS or the wake-up signal WS to the system unit 110 successfully.

因此,无论是闲置超过预设时间值或是未超过预设时间值,周边单元120皆持续维持于第一工作模式以侦测触发事件TE,不进入第一省电模式。而由于保持着周边单元120处于第一工作模式,则可视闲置的情况及触发的事件是否发生等,适时的传送休眠信号SS及唤醒信号WS至系统单元110,使系统单元110可于第二工作模式及第二省电模式中切换,达到省电的目的。由实际实施的情况可得知,系统单元110以及由系统单元110所运行的操作系统所耗的电力远大于保持周边单元120于工作模式所消耗的电力。这么一来,即使是保持周边单元120于工作状态,仍是可以减少相当的电力消耗。Therefore, no matter whether the peripheral unit 120 is idle for more than the preset time value or not, the peripheral unit 120 remains in the first working mode to detect the trigger event TE, and does not enter the first power saving mode. And because the peripheral unit 120 is kept in the first working mode, depending on whether the idle situation and triggered events occur, etc., the sleep signal SS and the wake-up signal WS are sent to the system unit 110 in a timely manner, so that the system unit 110 can be used in the second mode. Switch between the working mode and the second power saving mode to achieve the purpose of saving power. It can be known from actual implementation that the power consumed by the system unit 110 and the operating system run by the system unit 110 is much greater than the power consumed by keeping the peripheral unit 120 in the working mode. In this way, even if the peripheral unit 120 is kept in the working state, considerable power consumption can still be reduced.

图3为根据本发明一实施例所绘示电子装置的装置方块图。请参照图3,在本实施例中,周边单元为一触控面板单元320,系统单元310中则包括连接接口311、平台控制中枢(Platform Controller Hub,PCH)芯片组312及中央处理器313。中央处理器313用以运行一操作系统,并且通过平台控制中枢芯片组312以及连接接口311与触控面板单元320等周边单元连接。在本实施例中,电子装置310并以符合进阶组态与电源接口标准(Advanced Configuration andPower Interface,ACPI)的方式进行设置。FIG. 3 is a device block diagram of an electronic device according to an embodiment of the invention. 3, in this embodiment, the peripheral unit is a touch panel unit 320, and the system unit 310 includes a connection interface 311, a platform controller hub (Platform Controller Hub, PCH) chipset 312 and a central processing unit 313. The central processing unit 313 is used to run an operating system, and is connected with peripheral units such as the touch panel unit 320 through the platform control core chipset 312 and the connection interface 311 . In this embodiment, the electronic device 310 is configured in a manner conforming to Advanced Configuration and Power Interface (ACPI).

图4为根据本发明一实施例所绘示省电方法中周边单元的步骤流程图,其中在本实施例中周边单元为图3所示实施例的触控面板单元320。请同时参照图3及图4,在步骤S401时,一对应于触控面板单元320的模式参数被设定,例如当电子装置30处于严苛环境时,由电子装置30上的温度感测单元(未绘示)感测目前温度后设定,或由使用者于使用电子装置30时设定。FIG. 4 is a flow chart illustrating the steps of the peripheral unit in the power saving method according to an embodiment of the present invention, wherein the peripheral unit in this embodiment is the touch panel unit 320 of the embodiment shown in FIG. 3 . Please refer to FIG. 3 and FIG. 4 at the same time. In step S401, a mode parameter corresponding to the touch panel unit 320 is set, for example, when the electronic device 30 is in a harsh environment, the temperature sensing unit on the electronic device 30 (not shown) set after sensing the current temperature, or set by the user when using the electronic device 30 .

触控面板单元320具有第一工作模式及第一省电模式。在本实施例中,第一工作模式为ACPI标准中的装置电源(Device Power State)状态的D0状态或是装置和处理器效能(Device and Processor Performance States)状态中的P0状态,第一省电状态则为ACPI标准中装置电源状态的D1~D3状态其中之一或是装置和处理器效能状态中的P1~Pn状态其中之一,根据实际情况而进行设置,本发明不限定于上述状态。在步骤S402时,触控面板单元320便根据上述模式参数进入第一工作模式,以正常的耗电量运作,并且在闲置未超过预定时间时,持续侦测触发事件TE(步骤S403、步骤S404),例如使用者触碰或操作触控面板单元320等。The touch panel unit 320 has a first working mode and a first power saving mode. In this embodiment, the first working mode is the D0 state of the Device Power State in the ACPI standard or the P0 state in the Device and Processor Performance States (Device and Processor Performance States) state, the first power saving The state is one of the D1-D3 states of the device power state in the ACPI standard or one of the P1-Pn states of the device and processor performance states. It is set according to the actual situation, and the present invention is not limited to the above states. In step S402, the touch panel unit 320 enters the first working mode according to the above mode parameters, operates with normal power consumption, and continues to detect the trigger event TE when it is idle for a predetermined time (step S403, step S404 ), for example, the user touches or operates the touch panel unit 320 and the like.

当触控面板单元320闲置超过预定时间时(步骤S403),触控面板单元320则发送休眠信号SS至系统单元310,但触控面板单元320并不切换至第一省电模式(步骤S405)。在发送休眠信号SS之后,触控面板单元320仍持续侦测触发事件(步骤S406)。当触控面板单元320侦测到触发事件TE时,触控面板单元320则传送唤醒信号WS至系统单元310(步骤S407)。When the touch panel unit 320 is idle for more than a predetermined time (step S403), the touch panel unit 320 sends a sleep signal SS to the system unit 310, but the touch panel unit 320 does not switch to the first power saving mode (step S405) . After sending the sleep signal SS, the touch panel unit 320 continues to detect trigger events (step S406 ). When the touch panel unit 320 detects the trigger event TE, the touch panel unit 320 sends the wake-up signal WS to the system unit 310 (step S407 ).

图5为根据本发明一实施例所绘示省电方法中系统单元的步骤流程图。请同时参照图3及图5,系统单元310具有第二工作模式及第二省电模式。在本实施例中,第二工作模式为ACPI标准中处理器电源(Processor Power State)状态中的C0状态或装置和处理器效能状态的P0状态。而第二省电模式为ACPI标准中处理器电源状态中的C1状态至C3状态之一或装置和处理器效能状态的P1状态至Pn状态之一,根据实际情况而进行设置,本发明不限定于上述状态。FIG. 5 is a flow chart of the steps of the system units in the power saving method according to an embodiment of the present invention. Please refer to FIG. 3 and FIG. 5 at the same time, the system unit 310 has a second working mode and a second power saving mode. In this embodiment, the second working mode is the C0 state in the processor power state (Processor Power State) in the ACPI standard or the P0 state in the performance state of the device and the processor. The second power-saving mode is one of the C1 state to the C3 state in the processor power state in the ACPI standard or one of the P1 state to the Pn state in the performance state of the device and the processor, which is set according to the actual situation and is not limited by the present invention. in the above state.

当系统单元310的连接接口311接收休眠信号SS时(步骤S501),连接接口311将休眠信号SS传送至平台控制中枢芯片组312及中央处理器313,使得系统单元310从第二工作模式切换至第二省电模式(步骤S502)。而根据第二省电模式的设定,而依序让系统单元310中各个组件进入不同睡眠状态(Sleepstate)。When the connection interface 311 of the system unit 310 receives the sleep signal SS (step S501), the connection interface 311 transmits the sleep signal SS to the platform control core chipset 312 and the central processing unit 313, so that the system unit 310 switches from the second working mode to The second power saving mode (step S502). According to the setting of the second power saving mode, each component in the system unit 310 is sequentially entered into different sleep states (Sleep states).

例如,省电程度较低的情况,则系统单元310则根据休眠信号SS依序让对应触控面板单元320的连接接口311切换至中断模式,以及平台控制中枢芯片组312进入睡眠状态。而省电程度较高的情况,系统单元310则在让连接接口311切换中断模式以及平台控制中枢芯片组312进入睡眠状态外,还让中央处理器313所运行的操作系统以及中央处理器313进入睡眠状态。For example, if the power saving degree is low, the system unit 310 sequentially switches the connection interface 311 corresponding to the touch panel unit 320 to the interrupt mode according to the sleep signal SS, and the platform control core chipset 312 enters the sleep state. In the case of higher power saving, the system unit 310 not only allows the connection interface 311 to switch the interrupt mode and the platform control core chipset 312 to enter the sleep state, but also allows the operating system run by the central processing unit 313 and the central processing unit 313 to enter the sleep state. sleep state.

值得一提的是,连接接口311、平台控制中枢芯片组312以及中央处理器313的睡眠状态的程度可对应于ACPI标准中各种状态,随着上述的第二省电模式的设置而有不同的设定,例如该由中央处理器313所运行的操作系统从ACPI标准中的正常工作状态(G0('S0)状态)切换至睡眠状态(G1状态)中S1阶段至S4阶段中之一,随实际实施的情况进行设置。It is worth mentioning that the degree of the sleep state of the connection interface 311, the platform control core chipset 312 and the central processing unit 313 can correspond to various states in the ACPI standard, and it is different with the setting of the second power saving mode mentioned above. For example, the operating system run by the central processing unit 313 switches from the normal working state (G0 ('S0) state) in the ACPI standard to one of the stages S1 to S4 in the sleep state (G1 state), Set according to the actual implementation situation.

请继续参照图3及图5,当系统单元310的连接接口311从触控面板单元320接收唤醒信号WS时(步骤S503),连结接口311将唤醒信号WS传送至平台控制中枢芯片组312以及中央处理器313,使得系统单元310可从第二省电模式切换至第二工作模式,系统单元310中的各组件以及由中央处理器313所运行的操作系统便能睡眠状态中被唤醒,切换回正常运作的状态。Please continue to refer to FIG. 3 and FIG. 5, when the connection interface 311 of the system unit 310 receives the wake-up signal WS from the touch panel unit 320 (step S503), the connection interface 311 transmits the wake-up signal WS to the platform control center chipset 312 and the central processor 313, so that the system unit 310 can be switched from the second power saving mode to the second working mode, and each component in the system unit 310 and the operating system run by the central processing unit 313 can be woken up in the sleep state and switched back to normal functioning state.

需要注意的是,在一般实施情况中,电子装置310可包括多个如同触控面板单元320一样的周边单元,并且分别以多个连接接口,或是用单一连接接口(例如连接接口311)连接平台控制中枢芯片组312。而多个周边单元的工作模式及省电模式可分别设置亦可统一设置,例如部分较不受到环境温度影响的周边单元则同样的可在闲置超过预设时间时进入省电程度较低、睡眠程度亦较低的省电模式中,本发明并不限定于上述。然而,当电子装置310包括像智能卡卡片阅读机等具有挥发性内存(Volatile memory)的周边单元时,则必须确保这样的周边单元不因系统单元310进入省电模式而失去供电,或是在其它情况例如智能卡拔出等情况,于设定外的情况断电或进入省电模式,依照实际实施情况进行调整及设置。It should be noted that, in general implementation, the electronic device 310 may include multiple peripheral units like the touch panel unit 320, and each of them is connected with multiple connection interfaces or with a single connection interface (such as the connection interface 311). The platform controls the hub chipset 312 . The working mode and power saving mode of multiple peripheral units can be set separately or collectively. For example, some peripheral units that are less affected by the ambient temperature can also enter low power saving and sleep mode when they are idle for more than a preset time. In the lower power saving mode, the present invention is not limited to the above. However, when the electronic device 310 includes peripheral units with volatile memory such as smart card readers, it must be ensured that such peripheral units will not lose power because the system unit 310 enters the power saving mode, or in other For example, when the smart card is pulled out, the power is turned off or enters the power saving mode when the setting is not set, and adjustments and settings are made according to the actual implementation.

综上所述,本发明提供一种省电方法及其电子装置,当处于严苛环境时,调整电子装置中可能因严苛环境影响的周边单元在闲置时间超过预设时间时,不进入省电模式,但仍发送休眠信号至系统单元使系统单元与操作系统进入休眠情况。如此一来,周边单元可持续侦测例如使用者操作等触发事件,避免了周边单元在进入省电模式后无法回复,连带影响操作系统及系统单元一同无法从省电模式回复至工作模式的情况。另外,相较于周边单元,中央处理器与芯片组等于系统单元中的组件耗电许多。因此,虽然保持周边单元持续处于工作模式,但在闲置后让系统单元及操作系统进入省电模式仍可节省多数的电力消耗,使得电子装置既使处于严苛环境中仍可保有较长的电力使用周期。To sum up, the present invention provides a power saving method and its electronic device. When it is in a harsh environment, the peripheral units in the electronic device that may be affected by the harsh environment are adjusted not to enter the power saving mode when the idle time exceeds a preset time. power mode, but still send a sleep signal to the system unit to make the system unit and the operating system enter a sleep state. In this way, the peripheral unit can continuously detect trigger events such as user operations, avoiding the situation that the peripheral unit cannot recover after entering the power saving mode, which will affect the operating system and the system unit cannot return to the working mode from the power saving mode . In addition, compared to the peripheral units, the components in the system unit, such as the CPU and chipset, consume a lot of power. Therefore, although the peripheral units are kept in the working mode, the system unit and the operating system enter the power saving mode after being idle, which can still save most of the power consumption, so that the electronic device can still maintain a longer power even in a harsh environment Use cycle.

Claims (14)

1.一种省电方法,适用一电子装置,其特征在于,该方法包括:1. A power saving method, suitable for an electronic device, characterized in that the method comprises: 设定一模式参数;set a mode parameter; 依据该模式参数,该外围单元进入一第一工作模式并维持在该第一工作模式;According to the mode parameter, the peripheral unit enters a first working mode and remains in the first working mode; 当该周边单元的闲置时间小于或等于一预设时间值时,该周边单元持续侦测一触发事件;When the idle time of the peripheral unit is less than or equal to a preset time value, the peripheral unit continues to detect a trigger event; 当该周边单元的闲置时间超过该预设时间值时,该周边单元发送一休眠信号至一系统单元;When the idle time of the peripheral unit exceeds the preset time value, the peripheral unit sends a sleep signal to a system unit; 该周边单元发送该休眠信号后,该周边单元仍持续侦测该触发事件;After the peripheral unit sends the dormancy signal, the peripheral unit continues to detect the trigger event; 该系统单元接收该休眠信号后,该系统单元由一第二工作模式切换为一第二省电模式;After the system unit receives the dormancy signal, the system unit switches from a second working mode to a second power saving mode; 该周边单元侦测到该触发事件后,该周边单元发送一唤醒信号至该系统单元;以及After the peripheral unit detects the trigger event, the peripheral unit sends a wake-up signal to the system unit; and 该系统单元接收该唤醒信号后,该系统单元由该第二省电模式切换为该第二工作模式;After the system unit receives the wake-up signal, the system unit switches from the second power-saving mode to the second working mode; 其中该模式参数对应于该周边单元,该周边单元设在该电子装置内,且该周边单元具有该第一工作模式及第一省电模式,该第一工作模式为非关机状态,该系统单元具有该第二工作模式及一第二省电模式,该系统单元设在该电子装置内且电性连接该周边单元。Wherein the mode parameter corresponds to the peripheral unit, the peripheral unit is set in the electronic device, and the peripheral unit has the first working mode and the first power saving mode, the first working mode is a non-shutdown state, the system unit With the second working mode and a second power saving mode, the system unit is set in the electronic device and electrically connected to the peripheral unit. 2.如权利要求1所述的方法,其特征在于:2. The method of claim 1, wherein: 该第一工作模式为进阶组态与电源接口中的装置电源状态的D0状态或装置和处理器效能状态的P0状态;以及The first working mode is the D0 state of the device power state or the P0 state of the device and processor performance state in the advanced configuration and power interface; and 该第一省电模式为进阶组态与电源接口中的装置电源状态的D1状态至D3状态中之一或装置和处理器效能状态的P1状态至Pn状态中之一。The first power saving mode is one of the D1 to D3 states of the device power state or one of the P1 to Pn states of the device and processor performance states in the advanced configuration and power interface. 3.如权利要求1所述的方法,其特征在于:3. The method of claim 1, wherein: 该第二工作模式为进阶组态与电源接口中处理器电源状态中的C0状态或装置和处理器效能状态的P0状态;以及The second operating mode is the C0 state of the processor power state or the P0 state of the device and processor performance state in the advanced configuration and power interface; and 该第二省电模式为进阶组态与电源接口中处理器电源状态中的C1状态至C3状态之一或装置和处理器效能状态的P1状态至Pn状态之一。The second power-saving mode is one of states C1 to C3 in the processor power states in the advanced configuration and power interface or one of states P1 to Pn in the device and processor performance states. 4.如权利要求1所述的方法,其特征在于:4. The method of claim 1, wherein: 该电子装置具有一操作系统;以及the electronic device has an operating system; and 当该系统单元接收该休眠信号后,该操作系统从进阶组态与电源接口中正常工作状态切换至睡眠状态中S1阶段至S4阶段中之一。After the system unit receives the sleep signal, the operating system switches from the normal working state in the advanced configuration and power interface to one of the S1 to S4 stages in the sleep state. 5.如权利要求1所述的方法,其特征在于,5. The method of claim 1, wherein, 该周边单元为一触控面板单元;以及The peripheral unit is a touch panel unit; and 该触发事件包括一使用者碰触该触控面板单元。The trigger event includes a user touching the touch panel unit. 6.如权利要求1所述的方法,其特征在于,6. The method of claim 1, wherein, 该系统单元包括一中央处理器以及一平台控制中枢芯片组。The system unit includes a central processing unit and a platform control core chipset. 7.如权利要求1所述的方法,其特征在于,该系统单元接收该休眠信号后的步骤还包括:7. The method according to claim 1, wherein the step after the system unit receives the dormancy signal further comprises: 该系统单元令对应连接该周边单元之一连接接口进入一中断模式;以及the system unit causes a connection interface corresponding to the peripheral unit to enter an interrupt mode; and 当该周边单元侦测到该触发事件后,发送一联机信号至该系统单元以致能该系统单元中对应连接该周边单元的该连接接口。After the peripheral unit detects the trigger event, it sends a connection signal to the system unit to enable the connection interface correspondingly connected to the peripheral unit in the system unit. 8.一种电子装置,其特征在于,包括:8. An electronic device, characterized in that it comprises: 一周边单元,具有一第一工作模式及一第一省电模式,并根据一模式参数进入该第一工作模式并维持于该第一工作模式,其中该第一工作模式为非关机状态;A peripheral unit has a first working mode and a first power-saving mode, and enters the first working mode according to a mode parameter and remains in the first working mode, wherein the first working mode is a non-shutdown state; 一系统单元,耦接该周边单元,运作一操作系统,具有一第二工作模式及一第二省电模式;其中,A system unit, coupled to the peripheral unit, operates an operating system, has a second working mode and a second power saving mode; wherein, 当该周边单元闲置小于一预设时间值时,该周边单元持续侦测一触发事件;When the peripheral unit is idle for less than a preset time value, the peripheral unit continues to detect a trigger event; 当该周边单元闲置超过该预设时间值时,该周边单元发送一休眠信号至该系统单元,该周边单元发送该休眠信号后,该周边单元仍持续侦测该触发事件;以及When the peripheral unit is idle for more than the preset time value, the peripheral unit sends a dormancy signal to the system unit, and after the peripheral unit sends the dormancy signal, the peripheral unit continues to detect the trigger event; and 该系统单元接收该休眠信号后,该系统单元由该第二工作模式切换为该第二省电模式;该周边单元侦测到该触发事件后,该周边单元发送一唤醒信号至该系统单元;以及After the system unit receives the sleep signal, the system unit switches from the second working mode to the second power-saving mode; after the peripheral unit detects the trigger event, the peripheral unit sends a wake-up signal to the system unit; as well as 该系统单元接收该唤醒信号后,该系统单元由该第二省电模式切换为该第二工作模式。After the system unit receives the wake-up signal, the system unit switches from the second power saving mode to the second working mode. 9.如权利要求8所述的电子装置,其特征在于:9. The electronic device according to claim 8, characterized in that: 该第一工作模式为进阶组态与电源接口中的装置电源状态的D0状态或装置和处理器效能状态的P0状态;以及The first working mode is the D0 state of the device power state or the P0 state of the device and processor performance state in the advanced configuration and power interface; and 该第一省电模式进阶组态与电源接口中的装置电源状态的D1状态至D3状态中之一或装置和处理器效能状态的P1状态至Pn状态中之一。The advanced configuration of the first power saving mode and one of the device power state D1 to D3 states or one of the device and processor performance states P1 to Pn states in the power interface. 10.如权利要求8所述的电子装置,其特征在于:10. The electronic device as claimed in claim 8, characterized in that: 第二工作模式为进阶组态与电源接口中处理器电源状态中的C0状态或装置和处理器效能状态的P0状态;以及The second working mode is the C0 state of the processor power state or the P0 state of the device and processor performance state in the advanced configuration and power interface; and 第二工作模式为进阶组态与电源接口中处理器电源状态中的C1状态至C3状态之一或装置和处理器效能状态的P1状态至Pn状态之一。The second working mode is one of states C1 to C3 in the processor power states in the advanced configuration and power interface or one of states P1 to Pn in the device and processor performance states. 11.如权利要求8所述的电子装置,其特征在于:11. The electronic device according to claim 8, characterized in that: 该电子装置具有一操作系统;以及the electronic device has an operating system; and 当该系统单元接收该休眠信号后,该操作系统从进阶组态与电源接口中正常工作状态切换至睡眠状态中S1阶段至S4阶段中之一。After the system unit receives the sleep signal, the operating system switches from the normal working state in the advanced configuration and power interface to one of the S1 to S4 stages in the sleep state. 12.如权利要求8所述的电子装置,其特征在于:12. The electronic device according to claim 8, characterized in that: 该周边单元为一触控面板单元;以及The peripheral unit is a touch panel unit; and 该触发事件包括一使用者碰触该触控面板单元。The trigger event includes a user touching the touch panel unit. 13.如权利要求8所述的电子装置,其特征在于:13. The electronic device as claimed in claim 8, characterized in that: 该系统单元包括一中央处理器及一平台控制中枢芯片组。The system unit includes a central processing unit and a platform control core chipset. 14.如权利要求8所述的电子装置,其特征在于:14. The electronic device according to claim 8, wherein: 该系统单元还包括至少一连接接口,该系统单元使得该操作系统进入该休眠模式时,还令对应连接该周边单元的该连接接口进入一中断模式;以及The system unit also includes at least one connection interface. When the system unit makes the operating system enter the sleep mode, it also causes the connection interface corresponding to the peripheral unit to enter an interrupt mode; and 当该周边单元侦测到该触发事件后,发送一联机信号至该系统单元以致能该系统单元中对应连接该周边单元的该连接接口。After the peripheral unit detects the trigger event, it sends a connection signal to the system unit to enable the connection interface correspondingly connected to the peripheral unit in the system unit.
CN201210193572.7A 2012-06-13 2012-06-13 Electricity saving method and electronic installation thereof Active CN103488270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210193572.7A CN103488270B (en) 2012-06-13 2012-06-13 Electricity saving method and electronic installation thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210193572.7A CN103488270B (en) 2012-06-13 2012-06-13 Electricity saving method and electronic installation thereof

Publications (2)

Publication Number Publication Date
CN103488270A true CN103488270A (en) 2014-01-01
CN103488270B CN103488270B (en) 2016-07-06

Family

ID=49828563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210193572.7A Active CN103488270B (en) 2012-06-13 2012-06-13 Electricity saving method and electronic installation thereof

Country Status (1)

Country Link
CN (1) CN103488270B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092451B (en) * 2014-06-18 2017-01-25 无锡芯响电子科技有限公司 Power consumption switching control circuit
CN108733422A (en) * 2018-05-07 2018-11-02 联想(北京)有限公司 The control method and electronic equipment of electronic equipment
CN114660978A (en) * 2022-05-24 2022-06-24 中海油田服务股份有限公司 Compass bird control method and control device
CN115016627A (en) * 2021-03-05 2022-09-06 致伸科技股份有限公司 Power saving method for peripheral devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1294334A (en) * 1999-10-21 2001-05-09 神基科技股份有限公司 power management system
JP2001306255A (en) * 2000-04-27 2001-11-02 Mitsumi Electric Co Ltd Touch panel sensor
US20040181702A1 (en) * 2003-03-13 2004-09-16 First International Computer, Inc. Method of saving power of computer
CN1987720A (en) * 2005-12-22 2007-06-27 佛山市顺德区顺达电脑厂有限公司 Note-book computer with human body induction and on-and-off display controller and its method
US20120032894A1 (en) * 2010-08-06 2012-02-09 Nima Parivar Intelligent management for an electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1294334A (en) * 1999-10-21 2001-05-09 神基科技股份有限公司 power management system
JP2001306255A (en) * 2000-04-27 2001-11-02 Mitsumi Electric Co Ltd Touch panel sensor
US20040181702A1 (en) * 2003-03-13 2004-09-16 First International Computer, Inc. Method of saving power of computer
CN1987720A (en) * 2005-12-22 2007-06-27 佛山市顺德区顺达电脑厂有限公司 Note-book computer with human body induction and on-and-off display controller and its method
US20120032894A1 (en) * 2010-08-06 2012-02-09 Nima Parivar Intelligent management for an electronic device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092451B (en) * 2014-06-18 2017-01-25 无锡芯响电子科技有限公司 Power consumption switching control circuit
CN108733422A (en) * 2018-05-07 2018-11-02 联想(北京)有限公司 The control method and electronic equipment of electronic equipment
CN108733422B (en) * 2018-05-07 2021-07-16 联想(北京)有限公司 Control method of electronic equipment and electronic equipment
CN115016627A (en) * 2021-03-05 2022-09-06 致伸科技股份有限公司 Power saving method for peripheral devices
CN115016627B (en) * 2021-03-05 2024-03-01 致伸科技股份有限公司 Power saving method for peripheral device
CN114660978A (en) * 2022-05-24 2022-06-24 中海油田服务股份有限公司 Compass bird control method and control device

Also Published As

Publication number Publication date
CN103488270B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
TWI438615B (en) Power management method and device thereof
CN101470509B (en) Computer system control method, computer system and notebook computer
TWI464571B (en) A power saving electronic device for a computer motherboard in a standby dormant state and a computer motherboard
US9411402B2 (en) Power control system and power control method
EP2267575A2 (en) Electronic device for reducing power consumption of computer motherboard and motherboard thereof
US9477293B2 (en) Embedded controller for power-saving and method thereof
JP5773288B2 (en) Wake-up method, hot-swap method, and device based on high-speed interchip HSIC interface
US9146606B2 (en) Computer and waking method thereof
CN103970248A (en) power management circuit and method and computer system
CN105487638A (en) Electronic circuit system and power consumption reducing method thereof
CN102937928A (en) Main board sleeping and waking device
CN103488270A (en) Power saving method and electronic device thereof
CN101997963B (en) Power management method and system for portable communication device
TW202008109A (en) Computer wake-up method and computer power saving method
WO2024109333A1 (en) Communication method for wifi module, and wifi module and terminal device
CN109992079A (en) Terminal equipment and control method applied to the terminal equipment
CN101408792A (en) Power management device and management method thereof
CN103970253A (en) Power-saving operation method and electronic device
CN102594575A (en) System and method of controlling sleep and awakening of server
CN101576765A (en) Method, element and circuit board for controlling shutdown of electronic device
TW201012189A (en) Reciprocal wake-up system for handheld devices with insert type wireless communication module and a method therefore
TWI751501B (en) Control setting method for link state transition and electronic device using the same
CN117980860A (en) Method and apparatus for managing a controller in a power-off state
CN205450965U (en) Computer control mainboard
CN114047959A (en) Power-on management method, device and power supply system

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