TWI381271B - Portable electronic apparatus and method for power saving thereof - Google Patents
Portable electronic apparatus and method for power saving thereof Download PDFInfo
- Publication number
- TWI381271B TWI381271B TW96131442A TW96131442A TWI381271B TW I381271 B TWI381271 B TW I381271B TW 96131442 A TW96131442 A TW 96131442A TW 96131442 A TW96131442 A TW 96131442A TW I381271 B TWI381271 B TW I381271B
- Authority
- TW
- Taiwan
- Prior art keywords
- portable electronic
- storage unit
- electronic device
- switch
- controller
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 33
- 230000015654 memory Effects 0.000 claims description 29
- 230000007958 sleep Effects 0.000 claims description 13
- 230000011664 signaling Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000006266 hibernation Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Power Sources (AREA)
Description
本發明是有關於一種可攜式電子裝置,且特別是有關於一種可攜式電子裝置及其省電方法。 The present invention relates to a portable electronic device, and more particularly to a portable electronic device and a power saving method thereof.
隨著科技進步,電子產品也日漸普及。其中,手機、筆記型電腦(Note Book)、個人數位助理(Personal Digital Assistant,PDA)等可攜式的電子產品更是以輕薄短小且功能性多元化的優勢受到廣大使用者之歡迎。然而,為了在不影響電子產品之正常運作的情況下,延長其使用時間,以及增加使用上的彈性及方便性,其功率消耗的問題即顯得非常重要。 With the advancement of technology, electronic products are also becoming more and more popular. Among them, portable electronic products such as mobile phones, notebooks (Note Book), and personal digital assistants (PDAs) are popular among users because of their advantages of lightness, shortness, and diversification. However, in order to extend the use time of the electronic product without affecting the normal operation of the electronic product, and to increase the flexibility and convenience of use, the problem of power consumption is very important.
一般來說,可攜式電子裝置可藉由進入待機或休眠狀態下來降低功率消耗。但是,可攜式電子裝置對於硬體和系統都要求支援進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)或是進階電源管理(Advanced Power Management,APM),若是在支援不好的硬體或系統上強行使用待機或休眠的功能,很容易造成可攜式電子裝置中的資料遺失,或是造成系統不穩定。 In general, portable electronic devices can reduce power consumption by entering standby or sleep state. However, portable electronic devices require support for Advanced Configuration and Power Interface (ACPI) or Advanced Power Management (APM) for both hardware and systems. Forcibly using the standby or hibernation function on the hardware or system, it is easy to cause the data in the portable electronic device to be lost, or the system is unstable.
此外,可攜式電子裝置在待機或休眠狀態下,並未切斷其中配置之儲存裝置(例如硬碟)與系統電源之間的連接。因此,即使可攜式電子裝置已進入待機或休眠狀態,其儲存裝置仍會消耗電能,而縮短可攜式電子裝置的使用時間。 In addition, the portable electronic device does not cut off the connection between the storage device (such as a hard disk) configured therein and the system power supply during standby or hibernation. Therefore, even if the portable electronic device has entered a standby or hibernation state, its storage device consumes power and shortens the use time of the portable electronic device.
另一方面,可攜式電子裝置幾乎都採用非揮發性隨機存取記憶體(Non-Volatile Random Access Memory,以下簡稱NVRAM)作為資料儲存的媒介,包括儲存作業系統和其他應用軟體。但是,NVRAM的儲存空間較小,很難滿足使用者對於大容量資料儲存的需求。因此,需要一個能夠兼具大容量儲存空間及低功率耗損的作法,冀能解決目前使用者對於可攜式電子產品之效能與續航力的需求,而提升產品的競爭力。 On the other hand, almost all portable electronic devices use Non-Volatile Random Access Memory (NVRAM) as a medium for data storage, including storage operating systems and other application software. However, NVRAM has a small storage space and it is difficult to meet the user's demand for large-capacity data storage. Therefore, there is a need for a large-capacity storage space and low power consumption, which can solve the current user's demand for the performance and endurance of portable electronic products, and enhance the competitiveness of the products.
有鑑於此,本發明提供一種可攜式電子裝置及其省電方法,藉此可降低可攜式電子裝置的功率消耗,亦可增加可攜式電子裝置的儲存空間。 In view of the above, the present invention provides a portable electronic device and a power saving method thereof, thereby reducing power consumption of the portable electronic device and increasing storage space of the portable electronic device.
本發明提出一種可攜式電子裝置。此可攜式電子裝置包括記憶體單元、儲存單元、開關、開關控制器與軟體控制器。其中,記憶體單元是用以儲存可攜式電子裝置所執行之系統程式與作業系統,而儲存單元則是用以儲存可攜式電子裝置的資料。開關係配置於可攜式電子裝置之系統電源與儲存單元之間,而用以接通或斷開提供給儲存單元之系統電源。開關控制器是用以接收控制信號而切換其狀態,並控制開關的切換,其中控制信號是經由使用者輸入於可攜式電子裝置而產生或是由可攜式電子裝置自行產生。軟體控制器則是用以依據開關控制器之狀態,在接通系統電源後驅動儲存單元,或是在移除儲存單元後斷開系統電源。 The invention provides a portable electronic device. The portable electronic device includes a memory unit, a storage unit, a switch, a switch controller, and a software controller. The memory unit is used to store the system program and operating system executed by the portable electronic device, and the storage unit is used to store the data of the portable electronic device. The open relationship is disposed between the system power supply and the storage unit of the portable electronic device to turn on or off the system power supply to the storage unit. The switch controller is configured to receive a control signal to switch its state and control the switching of the switch. The control signal is generated by the user inputting the portable electronic device or generated by the portable electronic device. The software controller is used to drive the storage unit after the system power is turned on according to the state of the switch controller, or to disconnect the system power after removing the storage unit.
在本發明一實施例中,上述控制信號係用以控制儲存單元進入工作狀態及休眠狀態其中之一。另外,上述在開關控制器之狀態為接通時,軟體控制器會控制開關控制器將開關接通,以提供系統電源給儲存單元。而在提供系統電源給儲存單元之後,軟體控制器便會將驅動程式載入記憶體單元以驅動儲存單元。 In an embodiment of the invention, the control signal is used to control one of the storage unit to enter an active state and a sleep state. In addition, when the state of the switch controller is on, the software controller controls the switch controller to turn the switch on to provide system power to the storage unit. After the system power is supplied to the storage unit, the software controller loads the driver into the memory unit to drive the storage unit.
在本發明一實施例中,上述在開關控制器之狀態為斷開時,軟體控制器會移除儲存單元。而在移除儲存單元後,軟體控制器會控制開關控制器將開關斷開,以終止提供系統電源給儲存單元。 In an embodiment of the invention, when the state of the switch controller is off, the software controller removes the storage unit. After the storage unit is removed, the software controller controls the switch controller to disconnect the switch to terminate the supply of system power to the storage unit.
在本發明一實施例中,上述記憶體單元為非揮發性隨機存取記憶體。另外,上述非揮發性隨機存取記憶體包括反及閘快閃記憶體(NAND Flash Memory)、反或閘快閃記憶體(NOR Flash Memory)與可抹除可程式化唯讀記憶體(Electrically Erasable Programmable Read Only Memory,EEPROM)其中之一。此外,上述儲存單元為可攜式硬碟,且可攜式電子裝置包括手機或個人數位助理(Personal Digital Assistant,PDA)。 In an embodiment of the invention, the memory unit is a non-volatile random access memory. In addition, the non-volatile random access memory includes a NAND Flash Memory, a NOR Flash Memory, and an erasable programmable read only memory (Electrically One of Erasable Programmable Read Only Memory, EEPROM). In addition, the storage unit is a portable hard disk, and the portable electronic device includes a mobile phone or a Personal Digital Assistant (PDA).
從另一觀點來看,本發明提出一種可攜式電子裝置的省電方法,適於利用可攜式電子裝置之軟體控制器來控制開關切換提供給儲存單元之系統電源,其中上述開關係配置於儲存單元及系統電源之間,且由開關控制器所控制。首先,開關控制器接收第一控制信號,並據以切換其狀態,其中第一控制信號是由使用者輸入於可攜式電子裝置而產 生或是由可攜式電子裝置自行產生。之後,軟體控制器根據開關控制器的狀態,自可攜式電子裝置之系統中移除儲存單元。最後,軟體控制器控制開關斷開提供給儲存單元之系統電源。 From another point of view, the present invention provides a power saving method for a portable electronic device, which is suitable for controlling a system power supply that is provided to a storage unit by using a software controller of the portable electronic device, wherein the above-described open relationship configuration Between the storage unit and the system power supply, and controlled by the switch controller. First, the switch controller receives the first control signal and switches its state accordingly, wherein the first control signal is generated by the user inputting the portable electronic device. Raw or generated by the portable electronic device. Thereafter, the software controller removes the storage unit from the system of the portable electronic device according to the state of the switch controller. Finally, the software controller control switch disconnects the system power supplied to the storage unit.
在本發明一實施例中,上述在開關控制器之狀態為斷開時,軟體控制器會移除儲存單元。而在移除儲存單元後,軟體控制器會控制開關控制器將開關斷開,以終止提供系統電源給儲存單元。 In an embodiment of the invention, when the state of the switch controller is off, the software controller removes the storage unit. After the storage unit is removed, the software controller controls the switch controller to disconnect the switch to terminate the supply of system power to the storage unit.
在本發明一實施例中,上述在軟體控制器控制開關斷開提供給儲存單元之系統電源的步驟之後,更包括由開關控制器接收第二控制信號,而據以切換狀態。接著再由開關控制器將開關接通,以提供系統電源給儲存單元。然後,軟體控制器則會根據開關控制器的狀態,重新驅動儲存單元。 In an embodiment of the invention, after the step of the software controller controlling the switch to turn off the system power supply to the storage unit, the method further includes: receiving, by the switch controller, the second control signal, thereby switching the state. The switch is then turned on by the switch controller to provide system power to the storage unit. The software controller then re-drives the storage unit based on the state of the switch controller.
在本發明一實施例中,上述之第一控制信號係用以控制儲存單元進入休眠狀態,而第二控制信號係用以控制儲存單元進入工作狀態。 In an embodiment of the invention, the first control signal is used to control the storage unit to enter a sleep state, and the second control signal is used to control the storage unit to enter a working state.
在本發明一實施例中,上述在開關控制器之狀態為接通時,軟體控制器會控制開關控制器將開關接通,以提供系統電源給儲存單元。而在提供系統電源給儲存單元後,再由軟體控制器將驅動程式載入可攜式電子裝置的記憶體單元以驅動儲存單元。另外,在軟體控制器載入驅動程式至記憶體單元之後,可攜式電子裝置之系統即可識別儲存單元。 In an embodiment of the invention, when the state of the switch controller is ON, the software controller controls the switch controller to turn the switch on to provide system power to the storage unit. After the system power is supplied to the storage unit, the software controller loads the driver into the memory unit of the portable electronic device to drive the storage unit. In addition, after the software controller loads the driver to the memory unit, the system of the portable electronic device can identify the storage unit.
本發明藉由在儲存單元與系統電源之間配置開關,並利用開關控制器與軟體控制器來控制開關的導通與斷開。其中,當控制開關為斷開時,則切斷儲存單元與系統電源之間的連接,以達成省電的作用;而當控制開關為接通時,則接通儲存單元與系統電源之間的連接,而得以利用儲存單元的儲存空間。如此一來,在不需要儲存資料時,即可將提供給儲存單元的系統電源完全關閉,而達到省電的功效。 The invention controls the conduction and disconnection of the switch by configuring a switch between the storage unit and the system power supply, and using the switch controller and the software controller. Wherein, when the control switch is off, the connection between the storage unit and the system power supply is cut off to achieve power saving; and when the control switch is turned on, the storage unit is connected to the system power supply. Connected to take advantage of the storage space of the storage unit. In this way, when the data is not needed to be stored, the system power supply to the storage unit can be completely turned off, thereby achieving power saving effect.
為讓本發明之上述特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。 The above described features and advantages of the present invention will be more apparent from the following description.
一般的可攜式電子裝置在實際應用的時候,並沒有將其儲存裝置與系統電源之間的連接確實斷開,使得可攜式電子裝置在待機或休眠狀態下,還是會持續耗電。因此,為了解決可攜式電子裝置的耗電問題,本發明提出一種可攜式電子裝置及其省電方法,以解決此類問題。為了使本發明之內容更為明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。 In the actual application, the portable electronic device does not disconnect the connection between the storage device and the system power supply, so that the portable electronic device continues to consume power during standby or hibernation. Therefore, in order to solve the power consumption problem of the portable electronic device, the present invention provides a portable electronic device and a power saving method thereof to solve such problems. In order to clarify the content of the present invention, the following specific examples are given as examples in which the present invention can be implemented.
圖1是依照本發明一實施例所繪示之可攜式電子裝置之方塊圖。請參照圖1,可攜式電子裝置100包括記憶體單元110、儲存單元120、開關130、開關控制器140、軟體控制器150與系統電源160。其中,可攜式電子裝置100例如是手機或個人數位助理(Personal Digital Assistant,PDA),並不限制其範圍。 FIG. 1 is a block diagram of a portable electronic device according to an embodiment of the invention. Referring to FIG. 1 , the portable electronic device 100 includes a memory unit 110 , a storage unit 120 , a switch 130 , a switch controller 140 , a software controller 150 , and a system power supply 160 . The portable electronic device 100 is, for example, a mobile phone or a Personal Digital Assistant (PDA), and does not limit its scope.
記憶體單元110用以儲存可攜式電子裝置100所執行之系統程式與作業系統。其中,記憶體單元110例如是反及閘快閃記憶體(NAND Flash Memory)、反或閘快閃記憶體(NOR Flash Memory)或可抹除可程式化唯讀記憶體(Electrically Erasable Programmable Read Only Memory,EEPROM)等非揮發性隨即存取記憶體(Non-Volatile Random Access Memory,NVRAM),亦不限制其範圍。 The memory unit 110 is configured to store a system program and an operating system executed by the portable electronic device 100. The memory unit 110 is, for example, a NAND Flash Memory, a NOR Flash Memory, or an Erasable Programmable Read Only (Electrically Erasable Programmable Read Only). Non-Volatile Random Access Memory (NVRAM), such as Memory, EEPROM, does not limit its scope.
儲存單元120用以儲存可攜式電子裝置100的資料。在此實施例中,儲存單元120例如為可攜式硬碟。開關130配置於可攜式電子裝置100之系統電源160與儲存單元120之間,用以接通或斷開提供給儲存單元120之系統電源160。 The storage unit 120 is configured to store the data of the portable electronic device 100. In this embodiment, the storage unit 120 is, for example, a portable hard disk. The switch 130 is disposed between the system power supply 160 of the portable electronic device 100 and the storage unit 120 for turning on or off the system power supply 160 provided to the storage unit 120.
開關控制器140用以接收控制信號而據以切換其狀態,並控制開關130的切換。其中,上述控制信號例如可用以控制儲存單元120進入工作狀態及休眠狀態其中之一。舉例來說,若控制信號為“控制儲存單元120進入工作狀態”,開關控制器140將會切換為接通狀態,以使開關130接通提供給儲存單元120之系統電源160;若控制信號為“控制儲存單元120進入休眠狀態”,開關控制器140則會切換為斷開狀態,以使開關130斷開提供給儲存單元120之系統電源160。 The switch controller 140 is configured to receive a control signal to switch its state and control the switching of the switch 130. The above control signal can be used, for example, to control the storage unit 120 to enter one of an active state and a sleep state. For example, if the control signal is "control storage unit 120 enters the active state", the switch controller 140 will switch to the on state, so that the switch 130 turns on the system power supply 160 provided to the storage unit 120; if the control signal is "Control storage unit 120 enters a sleep state", switch controller 140 switches to an open state to cause switch 130 to open system power supply 160 provided to storage unit 120.
軟體控制器150用以依據開關控制器140之狀態(例如接通或是斷開狀態)驅動或移除儲存單元120,其中包括在系統電源160接通後驅動儲存單元120,或是在儲存單元 120移除後斷開系統電源160。 The software controller 150 is configured to drive or remove the storage unit 120 according to the state of the switch controller 140 (for example, an on or off state), including driving the storage unit 120 after the system power supply 160 is turned on, or in the storage unit. The system power supply 160 is disconnected after the 120 is removed.
舉例來說,可攜式電子裝置100在正常啟動的狀態下,當開關控制器140之狀態為接通時,軟體控制器150將會控制開關控制器140接通開關130,以提供系統電源160給儲存單元120。而在將系統電源160提供給儲存單元120後,軟體控制器150會將儲存單元120之驅動程式載入記憶體單元110以驅動儲存單元120,使得可攜式電子裝置100之系統可識別出儲存單元120,並使用儲存單元120進行資料的存取動作。 For example, when the portable electronic device 100 is in a normally activated state, when the state of the switch controller 140 is on, the software controller 150 will control the switch controller 140 to turn on the switch 130 to provide the system power 160. The storage unit 120 is given. After the system power supply 160 is provided to the storage unit 120, the software controller 150 loads the driver of the storage unit 120 into the memory unit 110 to drive the storage unit 120, so that the system of the portable electronic device 100 can recognize the storage. The unit 120 performs the data access operation using the storage unit 120.
另一方面,當開關控制器140之狀態為斷開時,軟體控制器150先從可攜式電子裝置100中移除儲存單元120,而終止儲存單元120之驅動程式。之後,軟體控制器150再控制開關控制器140斷開開關130,以終止提供給儲存單元120的系統電源160,而達到減少可攜式電子裝置100之功率消耗的目的。 On the other hand, when the state of the switch controller 140 is off, the software controller 150 first removes the storage unit 120 from the portable electronic device 100, and terminates the driver of the storage unit 120. Thereafter, the software controller 150 controls the switch controller 140 to open the switch 130 to terminate the system power supply 160 provided to the storage unit 120, thereby achieving the purpose of reducing the power consumption of the portable electronic device 100.
在此實施例中,在可攜式電子裝置100正常開機的狀態下,系統程式與作業系統都是由記憶體單元110執行,而儲存單元120則是視“情況”來啟動。因此,當可攜式電子裝置100進入待機或休眠狀態時,不會造成過多的功率損耗;而當可攜式電子裝置100需要儲存資料時,再重新驅動儲存單元120返回工作狀態即可。 In this embodiment, in a state where the portable electronic device 100 is normally turned on, the system program and the operating system are all executed by the memory unit 110, and the storage unit 120 is activated by the "condition". Therefore, when the portable electronic device 100 enters the standby or sleep state, it does not cause excessive power loss; and when the portable electronic device 100 needs to store data, the storage unit 120 is re-driven to return to the working state.
圖2是依照本發明一實施例所繪示之可攜式電子裝置之省電方法的示意圖。請參照圖2,儲存單元與系統電源(未繪示)之間是否連接是透過硬體部份(如圖1之開關控制器 140)210控制,且軟體部份(如圖1之軟體控制器150)220是依據硬體部份210的狀態來選擇斷開或是接通提供給儲存單元之系統電源。由圖2中可看出在硬體部份210中,開關控制器包括斷開與接通兩種狀態。當開關控制器為接通狀態時,軟體部份220會先接通提供給儲存單元之系統電源,之後再載入驅動程式以驅動儲存單元,以便可攜式電子裝置可識別出儲存單元,而存取儲存單元的資料;當開關控制器為斷開狀態時,軟體部份220會先移除儲存單元,之後再透過開關控制器控制開關斷開提供給儲存單元之系統電源。 FIG. 2 is a schematic diagram of a power saving method of a portable electronic device according to an embodiment of the invention. Referring to FIG. 2, whether the connection between the storage unit and the system power supply (not shown) is through the hardware part (such as the switch controller of FIG. 1) 140) 210 control, and the software part (such as the software controller 150 of FIG. 1) 220 selects to disconnect or turn on the system power supply to the storage unit according to the state of the hardware portion 210. As can be seen in Figure 2, in the hardware portion 210, the switch controller includes both open and closed states. When the switch controller is in the on state, the software portion 220 first turns on the system power supply to the storage unit, and then loads the driver to drive the storage unit so that the portable electronic device can recognize the storage unit. Accessing the data of the storage unit; when the switch controller is in the off state, the software part 220 first removes the storage unit, and then disconnects the system power supply provided to the storage unit through the switch controller control switch.
由上述實施例可歸納出一種可攜式電子裝置的省電方法,以下則再舉一實施例詳細說明。圖3是依照本發明一實施例所繪示之可攜式電子裝置的省電方法流程圖。此省電方法適於利用一個配置於可攜式電子裝置中的開關控制器控制開關切換提供給儲存單元之系統電源。其中,上述開關配置於儲存單元及系統電源之間,而由開關控制器控制。請參照圖3,首先在步驟S310中,開關控制器接收控制信號,而據以切換其狀態。在此實施例中,此控制信號例如是用以控制儲存單元進入休眠狀態。而當開關控制器接收此控制信號後,即會將其狀態切換為斷開狀態。 A power saving method of the portable electronic device can be summarized from the above embodiments, and a further embodiment will be described in detail below. FIG. 3 is a flow chart of a power saving method of a portable electronic device according to an embodiment of the invention. The power saving method is adapted to switch the system power supply provided to the storage unit by using a switch controller configured in the portable electronic device. Wherein, the switch is disposed between the storage unit and the system power supply, and is controlled by the switch controller. Referring to FIG. 3, first in step S310, the switch controller receives the control signal and switches its state accordingly. In this embodiment, the control signal is, for example, used to control the storage unit to enter a sleep state. When the switch controller receives this control signal, it will switch its state to the off state.
在步驟S320中,軟體控制器根據開關控制器的狀態,自可攜式電子裝置之系統中移除儲存單元。詳細地說,當軟體控制器判斷開關控制器的狀態為斷開時,會將儲存單元從可攜式電子裝置之系統中移除,並終止儲存單元之驅 動程式。之後,在步驟S330中,軟體控制器會透過開關控制器控制開關將提供給儲存單元之系統電源斷開。此時,可攜式電子裝置之系統電源就不用額外提供給儲存單元,因此,可減少可攜式電子裝置的功率消耗。 In step S320, the software controller removes the storage unit from the system of the portable electronic device according to the state of the switch controller. In detail, when the software controller determines that the state of the switch controller is off, the storage unit is removed from the system of the portable electronic device, and the drive of the storage unit is terminated. Program. Thereafter, in step S330, the software controller disconnects the system power supplied to the storage unit through the switch controller control switch. At this time, the system power of the portable electronic device is not additionally provided to the storage unit, thereby reducing the power consumption of the portable electronic device.
值的一提的是,上述之控制信號例如是經由使用者的輸入產生或是由可攜式電子裝置自行產生。詳細地說,使用者可透過按壓可攜式電子裝置上某一元件的方式產生此控制信號;另一方面,當可攜式電子裝置本身進入待機或休眠狀態時,亦可自動產生此控制信號,使得可攜式電子裝置更能達到省電的作用。 It is to be noted that the above control signals are generated, for example, via user input or generated by the portable electronic device. In detail, the user can generate the control signal by pressing a component on the portable electronic device; on the other hand, when the portable electronic device itself enters the standby or sleep state, the control signal can also be automatically generated. The portable electronic device is more capable of saving power.
為了更清楚地描述上述省電方法的各步驟,以下再舉一實施例來說明本發明之省電方法的詳細流程。圖4是依照本發明另一實施例所繪示之可攜式電子裝置的省電方法流程圖。請合併參照圖1與圖4,在步驟S410中,開關控制器140接收第一控制信號,而據以切換其狀態。在此實施例中,第一控制信號例如是用以控制儲存單元120進入休眠狀態,而當開關控制器140接收到此第一控制信號後,即會將其狀態切換為斷開狀態。 In order to more clearly describe the steps of the above-described power saving method, an embodiment will be further described below to explain the detailed flow of the power saving method of the present invention. FIG. 4 is a flow chart of a power saving method of a portable electronic device according to another embodiment of the invention. Referring to FIG. 1 and FIG. 4 together, in step S410, the switch controller 140 receives the first control signal and switches its state accordingly. In this embodiment, the first control signal is used to control the storage unit 120 to enter a sleep state, and when the switch controller 140 receives the first control signal, the state is switched to the off state.
之後,在步驟S420中,軟體控制器150會根據開關控制器140之狀態,自可攜式電子裝置100之系統中移除儲存單元120,在此同時,軟體控制器150亦會終止儲存裝置120之驅動程式。其中,軟體控制器150移除儲存單元120的過程就類似於一般由電腦系統中安全移除外接裝置的過程,故其詳細內容在此不再贅述。 Then, in step S420, the software controller 150 removes the storage unit 120 from the system of the portable electronic device 100 according to the state of the switch controller 140. At the same time, the software controller 150 terminates the storage device 120. Driver. The process of removing the storage unit 120 by the software controller 150 is similar to the process of safely removing the external device from the computer system, so the details thereof are not described herein again.
在步驟S430中,儲存單元120已經從可攜式電子裝置100之系統中移除,此時軟體控制器150將會透過開關控制器140控制開關130斷開提供給儲存單元120的系統電源160。此時,儲存單元120進入休眠狀態,並確實切斷儲存單元與系統電源之間的連接。如此一來,可攜式電子裝置100不需提供額外的系統電源160至儲存單元120,將可減少功率消耗。 In step S430, the storage unit 120 has been removed from the system of the portable electronic device 100, and the software controller 150 will control the switch 130 to disconnect the system power supply 160 provided to the storage unit 120 through the switch controller 140. At this time, the storage unit 120 enters a sleep state and does cut off the connection between the storage unit and the system power. As a result, the portable electronic device 100 does not need to provide an additional system power 160 to the storage unit 120, which will reduce power consumption.
接下來,若可攜式電子裝置100需要使用儲存單元120來存取資料時,則必須讓儲存單元120恢復為工作狀態。此時例如可藉由使用者以按壓按鍵的方式產生第二控制信號並發送至開關控制器140。而在步驟S440中,開關控制器140接收到此第二控制信號時,即會切換其狀態。在此實施例中,第二控制信號例如是用以控制儲存單元120進入工作狀態,而當開關控制器140接收到第二控制信號後,即會將其狀態切換至接通狀態。在步驟S450中,由於開關控制器140為接通狀態,因此,軟體控制器150即會根據開關控制器140的狀態(接通狀態)控制開關控制器140將開關130接通,以將系統電源160提供給儲存單元120。 Next, if the portable electronic device 100 needs to use the storage unit 120 to access data, the storage unit 120 must be restored to the working state. At this time, for example, the second control signal can be generated by the user to press the button and sent to the switch controller 140. In step S440, when the switch controller 140 receives the second control signal, it switches its state. In this embodiment, the second control signal is, for example, to control the storage unit 120 to enter an operating state, and when the switch controller 140 receives the second control signal, it will switch its state to the on state. In step S450, since the switch controller 140 is in the on state, the software controller 150 controls the switch controller 140 to turn on the switch 130 according to the state of the switch controller 140 (on state) to power the system. 160 is provided to storage unit 120.
接著,在步驟S460中,軟體控制器150會將驅動程式載入可攜式電子裝置100的記憶體單元110,使得可攜式電子裝置100可以重新驅動儲存單元120。之後,可攜式電子裝置100之系統便可識別出儲存單元120,而對儲存單元120進行資料存取的動作。 Next, in step S460, the software controller 150 loads the driver into the memory unit 110 of the portable electronic device 100, so that the portable electronic device 100 can re-drive the storage unit 120. Thereafter, the system of the portable electronic device 100 can recognize the storage unit 120 and perform data access operations on the storage unit 120.
承上述,在可攜式電子裝置100結束對儲存單元120的存取動作時,可再重覆進行步驟S410~S430,再次進入休眠狀態,以達到省電的作用。 In the above, when the portable electronic device 100 ends the access operation to the storage unit 120, steps S410 to S430 can be repeatedly performed to enter the sleep state again to achieve the power saving function.
綜上所述,本發明之可攜式電子裝置及其省電方法至少具有下列優點: In summary, the portable electronic device of the present invention and the power saving method thereof have at least the following advantages:
1.利用開關控制器接收使用者的按鍵輸入或系統自動產生的訊號,據以驅動或移除儲存單元,可達到兼具低功率消耗及增加儲存空間的功效。 1. The switch controller is used to receive the user's key input or the signal automatically generated by the system, thereby driving or removing the storage unit, thereby achieving the effects of low power consumption and increased storage space.
2.藉由記憶體單元儲存並執行可攜式電子裝置所需之作業系統與系統程式,在沒有大容量資料儲存需求時,將提供給儲存單元的系統電源關閉,以減少電能的損耗。 2. The operating system and system program required for the portable electronic device are stored and executed by the memory unit, and the system power supply to the storage unit is turned off when there is no large-capacity data storage requirement to reduce the power loss.
3.在系統電源與儲存單元之間配置開關,直接切斷系統電源與儲存單元之間的連接,進而達到省電的作用。 3. Configure the switch between the system power supply and the storage unit to directly cut off the connection between the system power supply and the storage unit, thereby achieving the power saving effect.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.
100‧‧‧可攜式電子裝置 100‧‧‧Portable electronic devices
110‧‧‧記憶體單元 110‧‧‧ memory unit
120‧‧‧儲存單元 120‧‧‧ storage unit
130‧‧‧開關 130‧‧‧ switch
140‧‧‧開關控制器 140‧‧‧Switch controller
150‧‧‧軟體控制器 150‧‧‧Software Controller
160‧‧‧系統電源 160‧‧‧System Power Supply
210‧‧‧硬體部份 210‧‧‧ hardware part
220‧‧‧軟體部份 220‧‧‧Software part
S310~S330‧‧‧本發明一實施例之可攜式電子裝置之省 電方法的各步驟 S310~S330‧‧‧In the province of portable electronic device according to an embodiment of the present invention Electrical steps
S410~S460‧‧‧本發明另一實施例之可攜式電子裝置之 省電方法的各步驟 S410~S460‧‧‧A portable electronic device according to another embodiment of the present invention Steps of the power saving method
圖1是依照本發明一實施例所繪示之可攜式電子裝置之方塊圖。 FIG. 1 is a block diagram of a portable electronic device according to an embodiment of the invention.
圖2是依照本發明一實施立所繪示之可攜式電子裝置之省電方法的示意圖。 2 is a schematic diagram of a power saving method of a portable electronic device according to an embodiment of the present invention.
圖3是依照本發明一實施例所繪示之可攜式電子裝置 的省電方法流程圖。 3 is a portable electronic device according to an embodiment of the invention. Flow chart of the power saving method.
圖4是依照本發明另一實施例所繪示之可攜式電子裝置的省電方法流程圖。 FIG. 4 is a flow chart of a power saving method of a portable electronic device according to another embodiment of the invention.
S310~S330‧‧‧本發明一實施例之可攜式電子裝置之省電方法的各步驟 S310~S330‧‧‧ steps of the power saving method of the portable electronic device according to an embodiment of the present invention
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW96131442A TWI381271B (en) | 2007-08-24 | 2007-08-24 | Portable electronic apparatus and method for power saving thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW96131442A TWI381271B (en) | 2007-08-24 | 2007-08-24 | Portable electronic apparatus and method for power saving thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200910077A TW200910077A (en) | 2009-03-01 |
| TWI381271B true TWI381271B (en) | 2013-01-01 |
Family
ID=44724249
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW96131442A TWI381271B (en) | 2007-08-24 | 2007-08-24 | Portable electronic apparatus and method for power saving thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI381271B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI629587B (en) * | 2014-12-26 | 2018-07-11 | 英華達股份有限公司 | An electrical device and a power saving method thereof |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5655126A (en) * | 1994-02-23 | 1997-08-05 | Sun Microsystems, Inc. | Method & apparatus for a power management pseudo-device driver |
| TWI228885B (en) * | 2003-01-23 | 2005-03-01 | Mediatek Inc | Method for controlling a mobile communication device to enter a power-saving mode and to recover timing after the mobile communication device leaves the power-saving mode |
| TWM266502U (en) * | 2004-11-16 | 2005-06-01 | Chinatech Corp | Mobile storage device |
-
2007
- 2007-08-24 TW TW96131442A patent/TWI381271B/en not_active IP Right Cessation
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5655126A (en) * | 1994-02-23 | 1997-08-05 | Sun Microsystems, Inc. | Method & apparatus for a power management pseudo-device driver |
| TWI228885B (en) * | 2003-01-23 | 2005-03-01 | Mediatek Inc | Method for controlling a mobile communication device to enter a power-saving mode and to recover timing after the mobile communication device leaves the power-saving mode |
| TWM266502U (en) * | 2004-11-16 | 2005-06-01 | Chinatech Corp | Mobile storage device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI629587B (en) * | 2014-12-26 | 2018-07-11 | 英華達股份有限公司 | An electrical device and a power saving method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW200910077A (en) | 2009-03-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5555224B2 (en) | Mobile phone with low power media rendering subsystem | |
| US7716505B2 (en) | Power control methods for a portable electronic device | |
| CN100377039C (en) | Information processing device and power control method | |
| US8479031B2 (en) | System switching unit having a switch to switch on/off a channel for data interaction between a first system and the bus interface of a second system according to the operation state of the second system | |
| US8230124B2 (en) | Methods and systems to dynamically manage performance states in a data processing system | |
| JP3974510B2 (en) | Computer apparatus, power management method, and program | |
| US9471140B2 (en) | Valid context status retention in processor power mode management | |
| KR100598379B1 (en) | Computer system and its control method | |
| CN1758183A (en) | Integrated circuit device | |
| US11960738B2 (en) | Volatile memory to non-volatile memory interface for power management | |
| CN109151961B (en) | A mobile terminal operating method, terminal and computer-readable storage medium | |
| CN101847043B (en) | Method for sharing storage equipment and mobile terminal | |
| JP2010191951A (en) | Electronic device, power saving control method for the same, and program | |
| TWI381271B (en) | Portable electronic apparatus and method for power saving thereof | |
| CN101146143A (en) | Energy-saving electronic device and energy-saving method | |
| CN101388680A (en) | Portable electronic device and electricity saving method | |
| CN115061561A (en) | Power saving method, device and system for equipment and storage medium | |
| JP2004295193A (en) | Information processing apparatus, information processing apparatus control method, and program | |
| US20120278604A1 (en) | Control method applied to computer system in hybrid sleep mode | |
| US20070174525A1 (en) | Low power multimedia playing method for portable computer | |
| JP2010165271A (en) | Electric power control apparatus and electric power control method | |
| US20080072084A1 (en) | Method for Power Management | |
| KR20080060649A (en) | Data processing device and method | |
| WO2024093436A1 (en) | Power supply method, electronic device, and chip | |
| CN120029545A (en) | A low-power FLASH architecture based on dual-core system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |