TW201504799A - Electronic device and hibernation method thereof - Google Patents

Electronic device and hibernation method thereof Download PDF

Info

Publication number
TW201504799A
TW201504799A TW102125875A TW102125875A TW201504799A TW 201504799 A TW201504799 A TW 201504799A TW 102125875 A TW102125875 A TW 102125875A TW 102125875 A TW102125875 A TW 102125875A TW 201504799 A TW201504799 A TW 201504799A
Authority
TW
Taiwan
Prior art keywords
period
electronic device
user
predetermined
time
Prior art date
Application number
TW102125875A
Other languages
Chinese (zh)
Inventor
Tien-Chun Liu
Shih-Jie Chang
Chia-Hung Tsai
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to TW102125875A priority Critical patent/TW201504799A/en
Publication of TW201504799A publication Critical patent/TW201504799A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

The present invention provides an electronic device including a detection unit, a calculation unit, a control unit and a setting unit. The detection unit is arranged to record a using rule of a user when the user log in the electronic device. The calculation unit is arranged to calculate at least one non-using period and at least one using period of the user according to the using rule. The control unit is arranged to enable the electronic device to enter a hibernation mode after a predetermined time since the electronic device entered a sleeping mode. The setting unit is arranged to set the predetermined time by a first predetermined value during the using period and set the predetermined time by a second predetermined value during the non-using period, wherein the second predetermined value is less than the first predetermined value.

Description

電子裝置及其休眠方法 Electronic device and sleep method thereof

本發明係關於一種電子裝置之休眠方法;特別係關於一種根據使用者之使用習慣進入休眠狀態之方法。 The present invention relates to a method of sleeping a electronic device; and more particularly to a method for entering a sleep state according to a user's usage habits.

隨著電腦設備價格普及化,消費大眾所擁有的桌上型電腦以及攜帶型電腦設備數量逐漸增加。然而,因應能源節約之環保考量,以及讓攜帶型電腦的操作時間延長。因此,電腦設備將電源消耗與管理列為一項重要考量,例如提供待命與休眠(Hibernation)等模式以節約電源,讓使用者需要暫時離開電腦時,可選擇讓電腦進入待命或休眠模式來達到省電目的。 With the popularization of computer equipment prices, the number of desktop computers and portable computer devices owned by the consumer has gradually increased. However, in response to environmental considerations for energy conservation, and to extend the operating time of portable computers. Therefore, computer equipment has listed power consumption and management as an important consideration, such as providing standby and hibernation modes to save power, so that when users need to temporarily leave the computer, they can choose to put the computer into standby or sleep mode. Power saving purposes.

本發明所提供之電子裝置以及休眠方法可自動偵測使用者之使用習慣,並根據使用者之使用習慣,在不告知系統之狀況下,調整電子裝置在進入睡眠狀態後進一步進入休眠狀態之時間。 The electronic device and the sleep method provided by the invention can automatically detect the user's usage habits, and adjust the time when the electronic device further enters the sleep state after entering the sleep state without notifying the system according to the user's usage habits. .

本發明提供一種電子裝置可操作於一正常操作狀態、一睡眠狀態以及一休眠狀態。電子裝置包括一偵測單元、一計算單元、一控制單元以及一設定單元。偵測單元用以當一第一使用者登入電子裝置時,紀錄第一使用者之一第一使用規 則。計算單元用以根據第一使用規則,計算出第一使用者之至少一第一使用時段以及至少一第一非使用時段。控制單元用以在電子裝置進入睡眠狀態之一既定時間後,致使電子裝置進入休眠狀態。設定單元用以當第一使用者登入電子裝置時,在第一使用時段,將既定時間設定為一第一既定值,並且當第一使用者登入電子裝置時,在第一非使用時段,將既定時間設定為一第二既定值,其中第二既定值小於第一既定值。在一實施例中,第一使用規則係第一使用者將電子裝置關機之時間。 The invention provides an electronic device operable in a normal operating state, a sleep state, and a sleep state. The electronic device includes a detecting unit, a calculating unit, a control unit and a setting unit. The detecting unit is configured to record the first usage rule of the first user when the first user logs in to the electronic device then. The calculating unit is configured to calculate at least one first usage period of the first user and at least one first non-use period according to the first usage rule. The control unit is configured to cause the electronic device to enter a sleep state after the electronic device enters a sleep state for a predetermined time. The setting unit is configured to set the predetermined time as a first predetermined value during the first use period when the first user logs in to the electronic device, and when the first user logs in to the electronic device, in the first non-use period, The predetermined time is set to a second predetermined value, wherein the second predetermined value is smaller than the first predetermined value. In an embodiment, the first usage rule is a time when the first user turns off the electronic device.

另外,電子裝置亦可包括一非易失性記憶體用以儲存第一使用者在一既定週期內之第一使用規則,其中計算單元更用以比較在既定週期中之第一使用者將電子裝置關機之複數關機週期,並且分別判斷既定週期中之每一星期一至每一星期日之關機週期重疊的至少一重疊週期,以及根據重疊週期決定第一非使用時段,並將第一非使用時段外之時段定義為第一使用時段。 In addition, the electronic device may further include a non-volatile memory for storing the first usage rule of the first user in a predetermined period, wherein the computing unit is further configured to compare the first user in the predetermined period to the electronic a plurality of shutdown periods in which the device is shut down, and respectively determining at least one overlap period in which the shutdown period of each of the predetermined periods overlaps with each other, and determining the first non-use period according to the overlap period, and the first non-use period The external time period is defined as the first usage period.

在一實施例中,計算單元係將時間大於一既定判斷時間並且關機週期重疊之次數大於一既定判斷次數之重疊週期,定義為第一非使用時段,其中第一既定值以及第二既定值之單位係為分鐘,並且第二既定值係為0。 In an embodiment, the calculating unit is an overlapping period in which the time is greater than a predetermined determination time and the number of times the shutdown period overlaps is greater than a predetermined number of determinations, and is defined as a first non-use period, wherein the first predetermined value and the second predetermined value are The unit is in minutes and the second predetermined value is zero.

本發明亦提供一種休眠方法,適用於上述電子裝置。休眠方法包括:當一第一使用者登入電子裝置時,紀錄第一使用者之一第一使用規則;根據第一使用規則,計算出第一使用者之至少一第一使用時段以及至少一第一非使用時段;當第一使用者登入電子裝置時,判斷現在時間係處於第一使 用時段或者第一非使用時段;當現在時間係在第一使用時段時,將一既定時間設定為一第一既定值;當現在時間係再第一非使用時段,將既定時間設定為一第二既定值,其中第二既定值小於第一既定值;以及當電子裝置進入一睡眠狀態時,在既定時間後,致使電子裝置進入一休眠狀態。在一實施例中,第一使用規則係第一使用者將電子裝置關機之時間 The present invention also provides a sleep method suitable for the above electronic device. The dormant method includes: when a first user logs in to the electronic device, recording a first usage rule of the first user; and calculating, according to the first usage rule, at least a first usage period of the first user and at least one a non-use period; when the first user logs in to the electronic device, it is determined that the current time is in the first a time period or a first non-use period; when the current time is in the first usage period, a predetermined time is set to a first predetermined value; when the current time is the first non-use period, the predetermined time is set to a first And a second predetermined value, wherein the second predetermined value is smaller than the first predetermined value; and when the electronic device enters a sleep state, after a predetermined time, the electronic device is caused to enter a sleep state. In an embodiment, the first usage rule is a time when the first user turns off the electronic device.

在另一實施例中,紀錄第一使用者之第一使用規則之步驟更包括將在一既定週期內第一使用規則儲存於一非易失性記憶體,並且根據第一使用規則計算出第一使用者之第一使用時段以及第一非使用時段之步驟更包括:比較在既定週期中之第一使用者將電子裝置關機之複數關機週期,並且分別判斷既定週期中之每一星期一至每一星期日之關機週期重疊的至少一重疊週期;根據重疊週期決定第一非使用時段;以及根據重疊週期決定第一非使用時段。 In another embodiment, the step of recording the first usage rule of the first user further comprises storing the first usage rule in a non-volatile memory in a predetermined period, and calculating the first usage rule according to the first usage rule. The step of using the first usage period and the first non-use period of the user further comprises: comparing a plurality of shutdown periods in which the first user shuts down the electronic device in a predetermined period, and respectively determining each of the predetermined periods to At least one overlapping period in which the shutdown cycle of each Sunday overlaps; determining the first non-use period according to the overlap period; and determining the first non-use period according to the overlap period.

另外,根據重疊週期決定第一非使用時段之步驟更包括將時間大於一既定判斷時間並且關機週期重疊之次數大於一既定判斷次數之重疊週期,定義為第一非使用時段,其中第一既定值以及第二既定值之單位係為分鐘,並且第二既定值係為0。 In addition, the step of determining the first non-use period according to the overlap period further includes an overlap period in which the time is greater than a predetermined judgment time and the number of times the shutdown period overlaps is greater than a predetermined judgment number, and is defined as a first non-use period, wherein the first predetermined value And the unit of the second predetermined value is minutes, and the second predetermined value is 0.

100‧‧‧電子裝置 100‧‧‧Electronic devices

102‧‧‧非易失性記憶體 102‧‧‧ Non-volatile memory

104‧‧‧動態隨機存取記憶體 104‧‧‧ Dynamic Random Access Memory

106‧‧‧控制單元 106‧‧‧Control unit

108‧‧‧偵測單元 108‧‧‧Detection unit

110‧‧‧計算單元 110‧‧‧Computation unit

112‧‧‧設定單元 112‧‧‧Setting unit

S202-S212、S300-S312‧‧‧步驟 S202-S212, S300-S312‧‧‧ steps

第1圖係本發明之電子裝置之一種實施例的示意圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic illustration of one embodiment of an electronic device of the present invention.

第2圖係本發明之一種實施例之休眠方法之流程圖。 2 is a flow chart of a sleep method of an embodiment of the present invention.

第3圖係本發明之另一種實施例之休眠方法之流程圖。 Figure 3 is a flow chart of a sleep method of another embodiment of the present invention.

以下將詳細討論本發明各種實施例之裝置及使用方法。然而值得注意的是,本發明所提供之許多可行的發明概念可實施在各種特定範圍中。這些特定實施例僅用於舉例說明本發明之裝置及使用方法,但非用於限定本發明之範圍。 The apparatus and method of use of various embodiments of the present invention are discussed in detail below. However, it is to be noted that many of the possible inventive concepts provided by the present invention can be implemented in various specific ranges. These specific examples are only intended to illustrate the apparatus and methods of use of the present invention, but are not intended to limit the scope of the invention.

在電腦系統(例如使用Microsoft Windows作業系統的電子裝置),其電源管理係可藉由進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)所定義的睡眠狀態以及休眠狀態來減少電源的消耗,在進階組態與電源介面中定義了S0~S5共六種狀態:S0正常操作狀態係代表電腦系統工作狀態,在正常操作狀態中電腦之中央處理器CPU(s)執行指令,作業系統和應用程式亦可正常執行。另外,在正常操作狀態下,中央處理器CPU和硬碟、DVD驅動器等電腦裝置可以一再的進入和從低能源狀態回來;在S1省電狀態時,中央處理器CPU停止工作;在S2省電狀態時,中央處理器CPU關閉,不供電;S3睡眠狀態(Sleep),僅有記憶體供電,亦稱為掛載至記憶體(Suspend to RAM),在S3狀態係為一種低喚醒(Resume)時間(約5秒或更短)的睡眠狀態,電腦系統可以很快速地恢復到工作狀態(例如S0狀態);S4休眠狀態(Hibernate)亦可稱為掛載至磁碟(Suspend to Disk),且為一種低耗電量、長喚醒延遲時間(例如:約20秒或更長)的睡眠狀態。上述的S1~S4為不同程度的省電狀態、睡眠狀態以及休眠狀態,S5狀態則是關機狀態,在關機狀態S5下,電腦之軟體以及裝置處於關閉狀態,但 有些部件仍然帶電,使電腦仍然可以被鍵盤、時鐘、modem(電話喚醒)、LAN(網路喚醒)還有USB裝置所喚醒。值得注意的是,本發明所述之正常操作狀態、睡眠狀態、休眠狀態、省電狀態以及關機狀態不限定於ACPI所定義之Microsoft Windows的作業系統。舉例而言,在Linux作業系統或者Mac OS系統下各種電源管理程式所定義之將系統掛載至記憶體之狀態皆可視為本案之睡眠狀態(Sleep),而將系統掛載至硬碟之狀態皆可視為本案之休眠狀態(Hibernate)。 In computer systems (such as electronic devices using the Microsoft Windows operating system), the power management system can reduce the power supply by the sleep state and sleep state defined by the Advanced Configuration and Power Interface (ACPI). Consumption, in the advanced configuration and power interface defined S0 ~ S5 a total of six states: S0 normal operating state represents the computer system working state, in the normal operating state of the computer's central processing unit CPU (s) execute instructions, operations The system and application can also be executed normally. In addition, under normal operating conditions, the central processing unit CPU and hard disk, DVD drive and other computer devices can repeatedly enter and return from the low energy state; in the S1 power saving state, the central processing unit CPU stops working; In the state, the CPU of the CPU is turned off, no power supply; S3 sleep state (Sleep), only memory power supply, also known as mount to memory (Suspend to RAM), in the S3 state is a low wake (Resume) The sleep state of time (about 5 seconds or less), the computer system can be quickly restored to the working state (for example, the S0 state); the S4 sleep state (Hibernate) can also be called the Suspend to Disk. It is a sleep state with low power consumption and long wake-up delay time (for example, about 20 seconds or longer). The above S1~S4 are different levels of power saving state, sleep state and sleep state, and the S5 state is the shutdown state. In the shutdown state S5, the computer software and the device are in the off state, but Some components are still powered, so the computer can still be woken up by keyboard, clock, modem (wake-up on the phone), LAN (Wake-on-LAN) and USB devices. It should be noted that the normal operating state, the sleep state, the sleep state, the power saving state, and the shutdown state of the present invention are not limited to the operating system of Microsoft Windows defined by ACPI. For example, the state in which the system is mounted to the memory defined by various power management programs in the Linux operating system or the Mac OS system can be regarded as the sleep state of the case, and the system is mounted to the hard disk state. Can be seen as the sleep state of this case (Hibernate).

第1圖係本發明所揭露之一種電子裝置100的方塊圖,其中電子裝置100適用於本發明所揭露之正常操作狀態、睡眠狀態以及休眠狀態。例如,ACPI所定義之S0、S3以及S4。如第1圖中所示,電子裝置100包括一非易失性記憶體102、動態隨機存取記憶體104(Random-access memory,RAM)、一控制單元106、一偵測單元108、一計算單元110以及一設定單元112。熟習此技藝人士可將電子裝置100實施於其他系統樣態(configuration)上,例如,手持式設備(hand-held devices)、多處理器系統、以微處理器為基礎或可程式化之消費性電子產品(microprocessor-based or programmable consumer electronics)、網路電腦、迷你電腦、平板電腦、筆記型電腦、大型主機以及類似之設備。值得注意的是,控制單元106、偵測單元108、計算單元110及/或設定單元112可實施於相同或者不同之處理器上。換言之,控制單元106、偵測單元108、計算單元110及/或設定單元112可被不同或者相同之處理器執行。 1 is a block diagram of an electronic device 100 disclosed in the present invention, wherein the electronic device 100 is suitable for the normal operating state, the sleep state, and the sleep state disclosed in the present invention. For example, S0, S3, and S4 defined by ACPI. As shown in FIG. 1 , the electronic device 100 includes a non-volatile memory 102, a random access memory (RAM) 104, a control unit 106, a detecting unit 108, and a calculation. The unit 110 and a setting unit 112. Those skilled in the art can implement the electronic device 100 in other system configurations, such as hand-held devices, multi-processor systems, microprocessor-based or programmable consumerism. Microprocessor-based or programmable consumer electronics, network computers, mini computers, tablets, notebooks, mainframes, and the like. It should be noted that the control unit 106, the detecting unit 108, the computing unit 110, and/or the setting unit 112 can be implemented on the same or different processors. In other words, the control unit 106, the detecting unit 108, the computing unit 110, and/or the setting unit 112 can be executed by different or identical processors.

非易失性記憶體102可包含快閃記憶體(flash ROM)、可抹除可編程唯讀記憶體、電子式可抹除可編程唯讀記憶體、暫存器、硬碟、及/或在所知之技術中以任何其他型式存在之電腦可讀取儲存媒介,用以儲存可供控制單元106、偵測單元108、計算單元110、控制單元106及/或設定單元112執行之程式模組。值得注意的是,非易失性記憶體102亦可用以儲存BIOS之程式碼。一般而言,程式模組包含常序(routines)、程式(program)、物件(object)、元件(component)或網路服務(Web Service)等,用以執行點對點通訊系統之即時訊息轉換(instant message switch)功能。 The non-volatile memory 102 can include flash memory (flash ROM), erasable programmable read-only memory, electronic erasable programmable read-only memory, scratchpad, hard disk, and/or computer-readable in any other form known in the art The storage medium is used to store a program module executable by the control unit 106, the detecting unit 108, the computing unit 110, the control unit 106, and/or the setting unit 112. It should be noted that the non-volatile memory 102 can also be used to store the BIOS code. Generally, a program module includes a routine, a program, an object, a component, or a web service to perform an instant message conversion of a peer-to-peer communication system (instant). Message switch) function.

動態隨機存取記憶體104用以載入各式各樣的程式與資料以供控制單元106、偵測單元108、計算單元110、控制單元106及/或設定單元112直接執行與運用。 The DRAM 104 is used to load a variety of programs and data for direct execution and operation by the control unit 106, the detecting unit 108, the computing unit 110, the control unit 106, and/or the setting unit 112.

控制單元106可包括一嵌入式控制器、一晶片組以及一單一中央處理器(central-processing unit,CPU)或者是關連於平行運算環境(parallel processing environment)之複數平行中央處理器(未圖示)。當電子裝置100處於睡眠狀態(S3)時,控制單元120將資料掛載至動態隨機存取記憶體104。當電子裝置100處於休眠狀態(S4)時,控制單元120將資料掛載至非易失性記憶體102。值得注意的是,控制單元120亦可在電子裝置100進入睡眠狀態(S3)一既定時間後,在不告知系統之情況下致使電子裝置100進入休眠狀態(S4),例如Intel所制定之快速啟動技術(Intel Rapid Start Technology)。 The control unit 106 can include an embedded controller, a chipset, and a single central processing unit (CPU) or a plurality of parallel central processing units (not shown) associated with a parallel processing environment (not shown). ). When the electronic device 100 is in the sleep state (S3), the control unit 120 mounts the data to the dynamic random access memory 104. When the electronic device 100 is in the sleep state (S4), the control unit 120 mounts the data to the nonvolatile memory 102. It should be noted that the control unit 120 may also cause the electronic device 100 to enter a sleep state (S4) without informing the system after the electronic device 100 enters a sleep state (S3) for a predetermined period of time, for example, a quick start initiated by Intel. Technology (Intel Rapid Start Technology).

偵測單元108用以根據所登入之使用者,分別紀錄所登入之使用者的使用規則。舉例而言,當一第一使用者登入 電子裝置100時,偵測單元108紀錄第一使用者之一第一使用規則,並將第一使用規則儲存於非易失性記憶體102中之一資料庫中。當一第二使用者登入電子裝置100時,偵測單元108紀錄第二使用者之一第二使用規則,並將第二使用規則儲存於非易失性記憶體102中之資料庫中。當一第三使用者登入電子裝置100時,偵測單元108紀錄第三使用者之一第三使用規則,並將第三使用規則儲存於非易失性記憶體102中之資料庫中,本發明不加以限制使用者之人數。值得注意的是,使用規則可包括電子裝置100進入正常操作狀態之時間、關機之時間、進入休眠狀態之時間、離開休眠狀態之時間、進入睡眠狀態之時間及/或離開睡眠狀態之時間。在本發明之一實施例中,使用規則係使用者將電子裝置100關機之時間。值得注意的是,在本實施例中,非易失性記憶體102係用以儲存不同使用者在一既定週期內之使用規則。舉例而言,既定週期可為一個月、兩個月、三個月等,本發明不加以限制。偵測單元108更用以更新非易失性記憶體102之資料庫中之使用規則,將超過既定週期之使用規則刪除並且儲存新的使用規則。 The detecting unit 108 is configured to record the usage rules of the logged in user according to the logged in user. For example, when a first user logs in In the electronic device 100, the detecting unit 108 records the first usage rule of one of the first users, and stores the first usage rule in a database in the non-volatile memory 102. When a second user logs in to the electronic device 100, the detecting unit 108 records a second usage rule of the second user, and stores the second usage rule in the database in the non-volatile memory 102. When a third user logs in to the electronic device 100, the detecting unit 108 records a third usage rule of the third user, and stores the third usage rule in the database in the non-volatile memory 102. The invention does not limit the number of users. It should be noted that the usage rules may include the time when the electronic device 100 enters the normal operating state, the time of the shutdown, the time to enter the sleep state, the time to leave the sleep state, the time to enter the sleep state, and/or the time to leave the sleep state. In one embodiment of the invention, the usage rules are the time at which the user shuts down the electronic device 100. It should be noted that in this embodiment, the non-volatile memory 102 is used to store usage rules of different users in a predetermined period. For example, the predetermined period may be one month, two months, three months, etc., and the invention is not limited. The detecting unit 108 is further configured to update the usage rule in the database of the non-volatile memory 102, delete the usage rule that exceeds the predetermined period, and store the new usage rule.

計算單元110用以根據非易失性記憶體102之資料庫中之每一使用者之使用規則,分別計算出每一使用者之至少一使用時段以及至少一非使用時段。舉例而言,計算單元110可根據第一使用規則,計算出第一使用者之至少一第一使用時段以及至少一第一非使用時段,根據第二使用規則,計算出第二使用者之至少一第二使用時段以及至少一第二非使用時段,以及根據第三使用規則,計算出第三使用者之至少一第三 使用時段以及至少一第三非使用時段。 The calculating unit 110 is configured to calculate at least one usage period and at least one non-use period of each user according to the usage rules of each user in the database of the non-volatile memory 102. For example, the calculating unit 110 may calculate at least one first usage period of the first user and at least one first non-use period according to the first usage rule, and calculate at least the second user according to the second usage rule. a second usage period and at least one second non-use period, and calculating at least one third of the third user according to the third usage rule The usage period and at least one third non-use period.

在一實施例中,計算單元110係用以比較在既定週期中之使用者將電子裝置100關機之複數關機週期。換言之,計算單元110係用以分別判斷資料庫中不同使用者之使用規則,在既定週期中之每一星期一至每一星期日之關機週期重疊的至少一重疊週期。舉例而言,當既定週期為兩個月時,計算單元110係用以分別判斷第一使用者、第二使用者以及第三使用者,在所紀錄之兩個月中的每一星期一關機週期重疊的時間,並將重疊的時間定義為星期一之重疊週期。另外,計算單元110亦分別判斷第一使用者、第二使用者以及第三使用者,在所紀錄之兩個月中的每一星期二關機週期重疊的時間,並將重疊的時間定義為星期二之重疊週期,依此類推。 In one embodiment, the computing unit 110 is configured to compare a plurality of shutdown cycles during which the user shuts down the electronic device 100 in a predetermined period. In other words, the computing unit 110 is configured to determine, respectively, the usage rules of different users in the database, at least one overlapping period that overlaps in the shutdown period of each Monday to Sunday of the predetermined period. For example, when the predetermined period is two months, the calculating unit 110 is configured to respectively determine the first user, the second user, and the third user, and shut down every Monday of the recorded two months. The time at which the periods overlap, and the time of overlap is defined as the overlap period of Monday. In addition, the calculating unit 110 also determines, respectively, the time when the first user, the second user, and the third user overlap each other in the two months of the recorded two months, and defines the overlapping time as Tuesday. Overlap periods, and so on.

接著,計算單元110分別根據不同使用者在星期一至星期日的重疊週期決定,使用者星期一至星期日的非使用時段,並將非使用時段外之時段定義為使用時段。詳細而言,計算單元110係分別根據不同使用者在星期一至星期日之重疊週期,將時間大於一既定判斷時間並且關機週期重疊之次數大於一既定判斷次數之重疊週期,定義為非使用時段,其中既定判斷時間可為1小時、4小時或者1至12小時中之任一時間長度,並且既定判斷次數可為既定週期中週數之一半、三分之一、四分之一等,本發明不限於此。舉例而言,既定判斷時間為4小時、既定週期為兩個月並且既定判斷次數可為既定週期中週數之一半時,計算單元110根據第一使用者在星期一之重疊週期,決定星期一之第一非使用時段,其中當星期一中之某一重 疊週期大於4小時並且第一使用規則在該兩個月的8個星期一的該重疊週期中有四次以上是關機的,計算單元110則將該週期重疊定義為非使用時段,依此類推。最後,計算單元110會計算出每一使用者分別在星期一至星期日,的至少一使用時段以及至少一非使用時段,並將每一使用者之使用時段以及非使用時段儲存於非易失性記憶體102或者直接傳送至設定單元112。 Next, the calculation unit 110 determines the non-use period of the user from Monday to Sunday according to the overlap period of the different users from Monday to Sunday, and defines the period outside the non-use period as the use period. In detail, the calculation unit 110 defines an overlap period in which the time is greater than a predetermined judgment time and the number of shutdown cycles is greater than a predetermined number of judgments according to an overlap period of different users from Monday to Sunday, and is defined as a non-use period. The predetermined judgment time may be any one of 1 hour, 4 hours or 1 to 12 hours, and the predetermined number of judgments may be one-half, one-third, one-quarter, and the like of the number of weeks in the predetermined period, and the present invention Not limited to this. For example, when the predetermined judgment time is 4 hours, the predetermined period is two months, and the predetermined number of judgments may be one-half of the number of weeks in the predetermined period, the calculation unit 110 determines Monday according to the overlap period of the first user on Monday. The first non-use period, where one of the mondays is heavy The stacking period is greater than 4 hours and the first usage rule is turned off four or more times in the overlapping period of the 8 mondays of the two months, the computing unit 110 defines the period overlap as the non-use period, and so on. . Finally, the calculating unit 110 calculates at least one usage period and at least one non-use period of each user from Monday to Sunday, and stores each user's usage period and non-use period in the non-volatile memory. The body 102 is either directly transferred to the setting unit 112.

設定單元112用以根據所登入的使用者以及計算單元110所計算出所登入使用者之使用時段與非使用時段,設定既定時間,以提供給控制單元106在電子裝置100進入睡眠狀態(S3)後,在不告知系統之情況下致使電子裝置100進入休眠狀態(S4)。舉例而言,當第一使用者登入電子裝置100時,設定單元112在第一使用時段,將既定時間設定為一第一既定值,並且當第一使用者登入電子裝置100時,在第一非使用時段,將既定時間設定為一第二既定值。當第二使用者登入電子裝置100時,設定單元112在第二使用時段,將既定時間設定為一第一既定值,並且當第二使用者登入電子裝置100時,在第二非使用時段,將既定時間設定為一第二既定值。當第三使用者登入電子裝置100時,設定單元112在第三使用時段,將既定時間設定為一第一既定值,並且當第三使用者登入電子裝置100時,在第三非使用時段,將既定時間設定為一第二既定值,但本發明不限於此。 The setting unit 112 is configured to set a predetermined time according to the used user and the non-use period calculated by the user who is logged in and the calculation unit 110 to provide the control unit 106 to the control unit 106 after the electronic device 100 enters the sleep state (S3). The electronic device 100 is caused to enter a sleep state without notifying the system (S4). For example, when the first user logs in to the electronic device 100, the setting unit 112 sets the predetermined time as a first predetermined value during the first use period, and when the first user logs in to the electronic device 100, at the first The non-use period sets the predetermined time to a second predetermined value. When the second user logs in to the electronic device 100, the setting unit 112 sets the predetermined time as a first predetermined value in the second use period, and when the second user logs in to the electronic device 100, in the second non-use period, The predetermined time is set to a second predetermined value. When the third user logs in to the electronic device 100, the setting unit 112 sets the predetermined time as a first predetermined value in the third use period, and when the third user logs in to the electronic device 100, in the third non-use period, The predetermined time is set to a second predetermined value, but the present invention is not limited thereto.

值得注意的是,第二既定值小於第一既定值,並且第一既定值以及第二既定值之單位係為分鐘。舉例而言,第 一既定值可為10分鐘至30分鐘或者1小時至2小時中之任一時間長度,並且第二既定值可為0至5分鐘中之任一時間長度。在本發明之一實施例中,第一既定值為20分鐘並且第二既定值為0分鐘。在非使用時段中,控制單元106用以在電子裝置100進入睡眠狀態之一0分鐘後,致使電子裝置100進入休眠狀態。換言之,非使用時段中,控制單元106用以在電子裝置100進入睡眠狀態的同時,直接致使電子裝置100進入休眠狀態。在使用時段中,控制單元106用以在電子裝置100進入睡眠狀態之一20分鐘後,致使電子裝置100進入休眠狀態。 It is worth noting that the second predetermined value is smaller than the first predetermined value, and the units of the first predetermined value and the second predetermined value are minutes. For example, A predetermined value may be from 10 minutes to 30 minutes or any one of 1 hour to 2 hours, and the second predetermined value may be any one of 0 to 5 minutes. In one embodiment of the invention, the first predetermined value is 20 minutes and the second predetermined value is 0 minutes. In the non-use period, the control unit 106 is configured to cause the electronic device 100 to enter a sleep state after the electronic device 100 enters a sleep state for one minute. In other words, in the non-use period, the control unit 106 is configured to directly cause the electronic device 100 to enter a sleep state while the electronic device 100 enters a sleep state. During the use period, the control unit 106 is configured to cause the electronic device 100 to enter a sleep state after the electronic device 100 enters a sleep state for 20 minutes.

第2圖係表示依據本發明實施例之休眠方法之流程圖,適用於第1圖所示之電子裝置100。流程開始於步驟S202。 2 is a flow chart showing a sleep method according to an embodiment of the present invention, which is applied to the electronic device 100 shown in FIG. 1. The flow begins in step S202.

在步驟S202中,當一使用者登入電子裝置100時,紀錄所登入之使用者的一使用規則,並將第一使用規則儲存於非易失性記憶體102中之一資料庫中。值得注意的是,使用規則可包括電子裝置100進入正常操作狀態之時間、關機之時間、進入休眠狀態之時間、離開休眠狀態之時間、進入睡眠狀態之時間及/或離開睡眠狀態之時間。在本發明之一實施例中,使用規則係使用者將電子裝置100關機之時間。值得注意的是,在本實施例中,非易失性記憶體102係用以儲存不同使用者在一既定週期內之使用規則。舉例而言,既定週期可為一個月、兩個月、三個月等,本發明不加以限制。偵測單元108更用以更新非易失性記憶體102之資料庫中之使用規則,將超過既定週期之使用規則刪除並且儲存新的使用規則。 In step S202, when a user logs in to the electronic device 100, a usage rule of the logged-in user is recorded, and the first usage rule is stored in a database in the non-volatile memory 102. It should be noted that the usage rules may include the time when the electronic device 100 enters the normal operating state, the time of the shutdown, the time to enter the sleep state, the time to leave the sleep state, the time to enter the sleep state, and/or the time to leave the sleep state. In one embodiment of the invention, the usage rules are the time at which the user shuts down the electronic device 100. It should be noted that in this embodiment, the non-volatile memory 102 is used to store usage rules of different users in a predetermined period. For example, the predetermined period may be one month, two months, three months, etc., and the invention is not limited. The detecting unit 108 is further configured to update the usage rule in the database of the non-volatile memory 102, delete the usage rule that exceeds the predetermined period, and store the new usage rule.

接著,在步驟S204中,計算單元110根據使用規 則,計算出使用者之至少一使用時段以及至少一非使用時段。在一實施例中,計算單元110係用以比較在既定週期中之使用者將電子裝置100關機之複數關機週期。換言之,計算單元110係用以判斷資料庫中使用者之使用規則,在既定週期中之每一星期一至每一星期日之關機週期重疊的至少一重疊週期。舉例而言,當既定週期為兩個月時,計算單元110係用以判斷使用者,在所紀錄之兩個月中的每一星期一關機週期重疊的時間,並將重疊的時間定義為星期一之重疊週期。另外,計算單元110亦判斷使用者,在所紀錄之兩個月中的每一星期二關機週期重疊的時間,並將重疊的時間定義為星期二之重疊週期,依此類推。接著,計算單元110根據使用者在星期一至星期日的重疊週期決定,使用者星期一至星期日的非使用時段,並將非使用時段外之時段定義為使用時段。詳細而言,計算單元110係根據使用者在星期一至星期日之重疊週期,將時間大於一既定判斷時間並且關機週期重疊之次數大於一既定判斷次數之重疊週期,定義為第一非使用時段,其中既定判斷時間可為1小時、4小時或者1至12小時中之任一時間長度,並且既定判斷次數可為既定週期中週數之一半、三分之一、四分之一等,本發明不限於此。舉例而言,既定判斷時間為4小時、既定週期為兩個月並且既定判斷次數可為既定週期中週數之一半時,計算單元110根據使用者在星期一之重疊週期,決定使用者在星期一之非使用時段,其中當星期一中之某一重疊週期大於4小時並且第一使用規則在該兩個月的8個星期一的該重疊週期中有四次以上是關機的,計算單元110則將該週期重疊定義為非使用時 段,依此類推。最後,計算單元110會計算出使用者分別在星期一至星期日,的至少一使用時段以及至少一非使用時段,並將使用者之使用時段以及非使用時段儲存於非易失性記憶體102或者直接傳送至設定單元112。 Next, in step S204, the calculation unit 110 according to the usage rule Then, at least one usage period of the user and at least one non-use period are calculated. In one embodiment, the computing unit 110 is configured to compare a plurality of shutdown cycles during which the user shuts down the electronic device 100 in a predetermined period. In other words, the computing unit 110 is configured to determine the usage rule of the user in the database, at least one overlapping period that overlaps in the shutdown period of each Monday to Sunday of the predetermined period. For example, when the predetermined period is two months, the calculating unit 110 is configured to determine the time when the user overlaps the shutdown period on each of the two recorded months, and defines the overlapping time as the week. One overlap period. In addition, the calculation unit 110 also determines the time when the user overlaps the shutdown period on each of the two months recorded, and defines the overlap time as the overlap period of Tuesday, and so on. Next, the calculation unit 110 determines the non-use period of the user from Monday to Sunday according to the overlap period of the user from Monday to Sunday, and defines the period outside the non-use period as the use period. In detail, the calculating unit 110 defines the overlapping period of the time that the time is greater than a predetermined determination time and the number of times of the shutdown period is greater than a predetermined number of determinations according to the overlapping period of the user from Monday to Sunday, and is defined as the first non-use period. The predetermined judgment time may be any one of 1 hour, 4 hours or 1 to 12 hours, and the predetermined number of judgments may be one-half, one-third, one-quarter, and the like of the number of weeks in the predetermined period, and the present invention Not limited to this. For example, when the predetermined judgment time is 4 hours, the predetermined period is two months, and the predetermined number of judgments may be one-half of the number of weeks in the predetermined period, the calculation unit 110 determines the user in the week according to the overlapping period of the user on Monday. A non-use period in which a certain overlap period on Monday is greater than 4 hours and the first usage rule is turned off four or more times in the overlap period of 8 Mondays of the two months, the calculation unit 110 Then define the period overlap as not used. Paragraph, and so on. Finally, the calculating unit 110 calculates at least one usage period and at least one non-use period of the user from Monday to Sunday, and stores the user's usage period and non-use period in the non-volatile memory 102 or directly Transfer to the setting unit 112.

接著,在步驟S206中,當使用者登入電子裝置100時,設定單元112判斷現在時間係處於使用時段或者非使用時段。當現在時間係處於使用時段時,流程進行至步驟S208,否則,流程進行至步驟S210。 Next, in step S206, when the user logs in to the electronic device 100, the setting unit 112 determines whether the current time is in the use period or the non-use period. When the current time is in the use period, the flow proceeds to step S208, otherwise, the flow proceeds to step S210.

在步驟S208中,設定單元112在使用時段,將既定時間設定為一第一既定值。 In step S208, the setting unit 112 sets the predetermined time as a first predetermined value during the use period.

在步驟S210中,設定單元112在使用時段,將既定時間設定為一第二既定值。值得注意的是,第二既定值小於第一既定值,並且第一既定值以及第二既定值之單位係為分鐘。舉例而言,第一既定值可為10分鐘至30分鐘或者1小時至2小時中之任一時間長度,並且第二既定值可為0至5分鐘中之任一時間長度。在本發明之一實施例中,第一既定值為20分鐘並且第二既定值為0分鐘。 In step S210, the setting unit 112 sets the predetermined time to a second predetermined value during the use period. It is worth noting that the second predetermined value is smaller than the first predetermined value, and the units of the first predetermined value and the second predetermined value are minutes. For example, the first predetermined value may be from 10 minutes to 30 minutes or any one of 1 hour to 2 hours, and the second predetermined value may be any one of 0 to 5 minutes. In one embodiment of the invention, the first predetermined value is 20 minutes and the second predetermined value is 0 minutes.

在步驟S212中,控制單元106在電子裝置100進入睡眠狀態(S3)一既定時間後,在不告知系統之情況下致使電子裝置100進入休眠狀態(S4),其中既定時間係為設定單元112所設定之第一既定值或者第二既定值。流程結束於步驟S212。 In step S212, after the electronic device 100 enters the sleep state (S3) for a predetermined time, the control unit 106 causes the electronic device 100 to enter a sleep state (S4) without notifying the system, wherein the predetermined time is set by the setting unit 112. Set the first set value or the second set value. The flow ends in step S212.

第3圖係表示依據本發明實施例之休眠方法之流程圖,適用於第1圖所示之電子裝置100。流程開始於步驟S300。值得注意的是,第3圖所示之休眠方法相似於第2圖所示 之休眠方法,除了第3圖之休眠方法更包括步驟S300。在步驟S300中,偵測單元108更用以判斷所登入之使用者。舉例而言,使用者可包括第一使用者、第二使用者以及第三使用者,但本發明不限於此。接著,第3圖所示之休眠方法更用以針對所登入之使用者進行步驟S302-S312,其中步驟S302-S312相似於步驟S202-S212,請參考第2圖之說明,在此不再贅述。 Fig. 3 is a flow chart showing a sleep method according to an embodiment of the present invention, which is applied to the electronic device 100 shown in Fig. 1. The flow begins in step S300. It is worth noting that the sleep method shown in Figure 3 is similar to that shown in Figure 2. The sleep method, in addition to the sleep method of FIG. 3, further includes step S300. In step S300, the detecting unit 108 is further configured to determine the user who is logged in. For example, the user may include the first user, the second user, and the third user, but the invention is not limited thereto. Then, the sleep method shown in FIG. 3 is further used to perform steps S302-S312 for the logged-in user, where steps S302-S312 are similar to steps S202-S212, please refer to the description of FIG. 2, and details are not described herein again. .

本發明所提供之電子裝置100以及休眠方法可自動偵測使用者之使用習慣,並根據使用者之使用習慣,在不告知系統之狀況下,調整電子裝置100在進入睡眠狀態後進一步進入休眠狀態之時間。 The electronic device 100 and the sleep method provided by the invention can automatically detect the user's usage habits, and according to the user's usage habit, adjust the electronic device 100 to enter the sleep state after entering the sleep state without notifying the system. Time.

本發明的不同實施例已於本文敘述,但本領域具有通常知識者應能瞭解這些實施例僅作為範例,而非限定於此。本領域具有通常知識者可在不脫離本發明之精神的情況下,對形式與細節上做不同的變化。舉例而言,軟體程式碼可致能本發明實施例所述的裝置與方法之單元、模組、功能、組建(fabrication)、塑造(modeling)、模擬、描述(description)、以及/或測試,亦可透過一般程式語言(C、C++)、硬體描述語言(Hardware Description Languages,HDL)(包括Verilog HDL、VHDL等等)、或其他可利用的程式語言或者程式碼來完成。此軟體程式碼可配置在任何已知的電腦可使用媒介,例如磁帶、半導體、磁碟,或是光碟(例如CD-ROM、DVD-ROM等等)、網際網路、有線、無線、或其他通訊媒介的傳輸方式之中。此外,本發明所述之裝置與方法透過硬體與軟體的結合來實現。因此,本發明不應侷限於所揭露之實施例,而是依後 附之申請專利範圍與等效實施所界定。特別是,本發明可實施在使用於一般用途電腦中的處理器裝置內。最後,本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Various embodiments of the invention have been described herein, but those skilled in the art should understand that these embodiments are only by way of example and not limitation. Variations in form and detail may be made by those skilled in the art without departing from the spirit of the invention. For example, the software code can enable the unit, module, function, fabrication, modeling, simulation, description, and/or test of the apparatus and method described in the embodiments of the present invention. It can also be done through general programming languages (C, C++), Hardware Description Languages (HDL) (including Verilog HDL, VHDL, etc.), or other available programming languages or code. This software code can be configured on any known computer usable medium such as tape, semiconductor, disk, or optical disc (eg CD-ROM, DVD-ROM, etc.), internet, wired, wireless, or other Among the transmission methods of communication media. Furthermore, the apparatus and method of the present invention are implemented by a combination of a hardware and a soft body. Therefore, the present invention should not be limited to the disclosed embodiments, but rather The scope of the patent application and the equivalent implementation are defined. In particular, the present invention can be implemented in a processor device for use in a general purpose computer. In the following, the present invention is not limited to the scope of the present invention, and any one of ordinary skill in the art can make a slight difference without departing from the spirit and scope of the present invention. The scope of protection of the present invention is defined by the scope of the appended claims.

100‧‧‧電子裝置 100‧‧‧Electronic devices

102‧‧‧非易失性記憶體 102‧‧‧ Non-volatile memory

104‧‧‧動態隨機存取記憶體 104‧‧‧ Dynamic Random Access Memory

106‧‧‧控制單元 106‧‧‧Control unit

108‧‧‧偵測單元 108‧‧‧Detection unit

110‧‧‧計算單元 110‧‧‧Computation unit

112‧‧‧設定單元 112‧‧‧Setting unit

Claims (12)

一種電子裝置,操作於一正常操作狀態、一睡眠狀態以及一休眠狀態,包括:一偵測單元,用以當一第一使用者登入上述電子裝置時,紀錄上述第一使用者之一第一使用規則;一計算單元,用以根據上述第一使用規則,計算出上述第一使用者之至少一第一使用時段以及至少一第一非使用時段;一控制單元,用以在上述電子裝置進入上述睡眠狀態之一既定時間後,致使上述電子裝置進入上述休眠狀態;以及一設定單元,用以當上述第一使用者登入上述電子裝置時,在上述第一使用時段,將上述既定時間設定為一第一既定值,並且當上述第一使用者登入上述電子裝置時,在上述第一非使用時段,將上述既定時間設定為一第二既定值,其中上述第二既定值小於上述第一既定值。 An electronic device, operating in a normal operating state, a sleep state, and a sleep state, comprising: a detecting unit, configured to record one of the first users when a first user logs in to the electronic device a calculation unit, configured to calculate at least one first usage period and at least one first non-use period of the first user according to the first usage rule; a control unit configured to enter the electronic device After the predetermined time, the electronic device enters the sleep state; and a setting unit is configured to set the predetermined time to be in the first use period when the first user logs in to the electronic device a first predetermined value, and when the first user logs in to the electronic device, setting the predetermined time to a second predetermined value in the first non-use period, wherein the second predetermined value is smaller than the first predetermined value. 如申請專利範圍第1項所述之電子裝置,其中上述第一使用規則係上述第一使用者將上述電子裝置關機之時間。 The electronic device of claim 1, wherein the first usage rule is a time when the first user turns off the electronic device. 如申請專利範圍第2項所述之電子裝置,更包括一非易失性記憶體,用以儲存上述第一使用者在一既定週期內之上述第一使用規則,其中上述計算單元更用以比較在上述既定週期中之上述第一使用者將上述電子裝置關機之複數關機週期,並且分別判斷上述既定週期中之每一星期一至每一星期日之上述關機週期重疊的至少一重疊週期,以及根據上述重疊週期決定上述第一非使用時段,並將上述第 一非使用時段外之時段定義為上述第一使用時段。 The electronic device of claim 2, further comprising a non-volatile memory for storing the first usage rule of the first user in a predetermined period, wherein the calculating unit is further used Comparing the plurality of shutdown periods in which the first user shuts down the electronic device in the predetermined period, and determining at least one overlapping period of overlapping each of the shutdown periods of each of the predetermined periods from Monday to Sunday, and Determining the first non-use period according to the overlap period, and the above A period other than the non-use period is defined as the above-described first period of use. 如申請專利範圍第3項所述之電子裝置,其中上述計算單元係將時間大於一既定判斷時間並且上述關機週期重疊之次數大於一既定判斷次數之上述重疊週期,定義為上述第一非使用時段。 The electronic device of claim 3, wherein the calculating unit is configured to use the first non-use period by using the overlapping period in which the time is greater than a predetermined determination time and the number of times the shutdown period overlaps is greater than a predetermined number of determinations. . 如申請專利範圍第1項所述之電子裝置,其中上述第一既定值以及上述第二既定值之單位係為分鐘,並且上述第二既定值係為0。 The electronic device of claim 1, wherein the first predetermined value and the second predetermined value are in minutes, and the second predetermined value is zero. 如申請專利範圍第1項所述之電子裝置,其中上述偵測單元,更用以當一第二使用者以及一第三使用者登入上述電子裝置時,分別紀錄上述第一使用者之一第一使用規則以及上述第二使用者之一第二使用規則,並將上述第二使用規則以及上述第三使用規則儲存於上述非易失性記憶體中;上述計算單元,更用以根據上述第二使用規則以及上述第三使用規則,計算出上述第二使用者之至少一第二使用時段以及至少一第二非使用時段,以及上述第三使用者之至少一第三使用時段以及至少一第三非使用時段;以及上述設定單元,更用以當上述第二使用者登入上述電子裝置時,在上述第二使用時段,將上述既定時間設定為上述第一既定值,並且當上述第二使用者登入上述電子裝置時,在上述第二非使用時段,將上述既定時間設定為上述第二既定值,當上述第三使用者登入上述電子裝置時,在上述第三使用時段,將上述既定時間設定為上述第一既定 值,並且當上述第三使用者登入上述電子裝置時,在上述第三非使用時段,將上述既定時間設定為上述第二既定值。 The electronic device of claim 1, wherein the detecting unit is configured to record one of the first users when a second user and a third user log in to the electronic device a usage rule and a second usage rule of the second user, and storing the second usage rule and the third usage rule in the non-volatile memory; the calculating unit is further configured according to the foregoing Calculating, by the second usage rule and the third usage rule, at least one second usage period and at least one second non-use period of the second user, and at least one third usage period of the third user and at least one And the setting unit is configured to: when the second user logs in to the electronic device, set the predetermined time to the first predetermined value in the second use period, and when the second use When logging in to the electronic device, setting the predetermined time to the second predetermined value during the second non-use period, when the third When the user logs in to the electronic device, the predetermined time is set to the first predetermined time in the third use period. a value, and when the third user logs in to the electronic device, setting the predetermined time to the second predetermined value in the third non-use period. 一種休眠方法,適用於一電子裝置,包括:當一第一使用者登入上述電子裝置時,紀錄上述第一使用者之一第一使用規則;根據上述第一使用規則,計算出上述第一使用者之至少一第一使用時段以及至少一第一非使用時段;當上述第一使用者登入上述電子裝置時,判斷現在時間係處於上述第一使用時段或者上述第一非使用時段;當現在時間係在上述第一使用時段時,將一既定時間設定為一第一既定值;當現在時間係再上述第一非使用時段,將上述既定時間設定為一第二既定值,其中上述第二既定值小於上述第一既定值;以及當上述電子裝置進入一睡眠狀態時,在上述既定時間後,致使上述電子裝置進入一休眠狀態。 A sleep method is applicable to an electronic device, comprising: when a first user logs in to the electronic device, recording a first usage rule of the first user; and calculating the first use according to the first usage rule At least one first usage period and at least one first non-use period; when the first user logs in to the electronic device, determining that the current time is in the first usage period or the first non-use period; Setting a predetermined time as a first predetermined value during the first use period; and setting the predetermined time to a second predetermined value when the current time is further the first non-use period, wherein the second predetermined The value is less than the first predetermined value; and when the electronic device enters a sleep state, after the predetermined time, the electronic device is caused to enter a sleep state. 如申請專利範圍第7項所述之休眠方法,其中上述第一使用規則係上述第一使用者將上述電子裝置關機之時間。 The sleep method of claim 7, wherein the first usage rule is a time when the first user shuts down the electronic device. 如申請專利範圍第8項所述之休眠方法,其中紀錄上述第一使用者之上述第一使用規則之步驟更包括將在一既定週期內上述第一使用規則儲存於一非易失性記憶體,並且根據上述第一使用規則計算出上述第一使用者之上述第一使用時段以及上述第一非使用時段之步驟更包括: 比較在上述既定週期中之上述第一使用者將上述電子裝置關機之複數關機週期,並且分別判斷上述既定週期中之每一星期一至每一星期日之上述關機週期重疊的至少一重疊週期;以及根據上述重疊週期決定上述第一非使用時段以及上述第一使用時段。 The sleep method of claim 8, wherein the step of recording the first usage rule of the first user further comprises storing the first usage rule in a non-volatile memory in a predetermined period. And the step of calculating the first usage period of the first user and the first non-use period according to the first usage rule further includes: Comparing a plurality of shutdown periods in which the first user shuts down the electronic device in the predetermined period, and determining, respectively, at least one overlapping period in which the shutdown periods of each of the predetermined periods overlap with the shutdown period; The first non-use period and the first usage period are determined according to the overlap period. 如申請專利範圍第9項所述之休眠方法,其中根據上述重疊週期決定上述第一非使用時段以及上述第一使用時段之步驟更包括:將時間大於一既定判斷時間並且上述關機週期重疊之次數大於一既定判斷次數之上述重疊週期,定義為上述第一非使用時段;以及將上述第一非使用時段外之時間,定義為上述第一使用時段。 The sleep method of claim 9, wherein the step of determining the first non-use period and the first use period according to the overlapping period further comprises: the time that the time is greater than a predetermined judgment time and the shutdown period overlaps The overlapping period greater than a predetermined number of determinations is defined as the first non-use period; and the time outside the first non-use period is defined as the first usage period. 如申請專利範圍第7項所述之休眠方法,其中上述第一既定值以及上述第二既定值之單位係為分鐘,並且上述第二既定值係為0。 The sleep method according to claim 7, wherein the first predetermined value and the second predetermined value are in units of minutes, and the second predetermined value is zero. 如申請專利範圍第7項所述之休眠方法,其中上述電子裝置更包括一第二使用者以及一第三使用者,並且上述休眠方法更包括:判斷登入上述電子裝置之使用者係為上述第一使用者、上述第二使用者或者上述第三使用者;當一第二使用者登入上述電子裝置時,紀錄上述第二使用者之一第二使用規則; 當一第三使用者登入上述電子裝置時,紀錄上述第三使用者之一第三使用規則;根據上述第二使用規則以及上述第三使用規則,計算出上述第二使用者之至少一第二使用時段以及至少一第二非使用時段,以及上述第三使用者之至少一第三使用時段以及至少一第三非使用時段;當上述第二使用者登入上述電子裝置時,判斷現在時間係處於上述第二使用時段或者上述第二非使用時段;當上述第三使用者登入上述電子裝置時,判斷現在時間係處於上述第三使用時段或者上述第三非使用時段;當現在時間係在上述第二使用時段或者上述第三使用時段時,將上述既定時間設定為上述第一既定值;以及當現在時間係在上述第二非使用時段或者上述第三非使用時段時,將上述既定時間設定為上述第二既定值。 The dormant method of claim 7, wherein the electronic device further includes a second user and a third user, and the sleeping method further comprises: determining that the user logging in to the electronic device is the a user, the second user, or the third user; when a second user logs in to the electronic device, recording a second usage rule of the second user; When a third user logs in to the electronic device, recording a third usage rule of the third user; calculating at least one second of the second user according to the second usage rule and the third usage rule a period of use and at least one second non-use period, and at least one third period of use of the third user and at least one third period of non-use; when the second user logs in to the electronic device, determining that the current time is The second use period or the second non-use period; when the third user logs in to the electronic device, determining that the current time is in the third use period or the third non-use period; when the current time is in the above The second predetermined period of time or the third period of use is set to the first predetermined value; and when the current time is in the second non-use period or the third non-use period, the predetermined time is set as The second predetermined value mentioned above.
TW102125875A 2013-07-19 2013-07-19 Electronic device and hibernation method thereof TW201504799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102125875A TW201504799A (en) 2013-07-19 2013-07-19 Electronic device and hibernation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102125875A TW201504799A (en) 2013-07-19 2013-07-19 Electronic device and hibernation method thereof

Publications (1)

Publication Number Publication Date
TW201504799A true TW201504799A (en) 2015-02-01

Family

ID=53018887

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102125875A TW201504799A (en) 2013-07-19 2013-07-19 Electronic device and hibernation method thereof

Country Status (1)

Country Link
TW (1) TW201504799A (en)

Similar Documents

Publication Publication Date Title
US11513585B1 (en) Power management for a graphics processing unit or other circuit
US9927863B1 (en) Power management scheme that accumulates additional off time for device when no work is available and permits additional power consumption by device when awakened
TWI386791B (en) Transitioning a computing platform to a low power system state
US8291249B2 (en) Method and apparatus for transitioning devices between power states based on activity request frequency
US9952655B1 (en) Graphics hardware mode controls
CN103282854B (en) System and method for power management
TWI653527B (en) Techniques for enabling low power states of a system when computing components operate
US8949638B2 (en) Embedded controller with an internal timer
TW201135446A (en) Power management states
US10551901B2 (en) Core frequency management using effective utilization for power-efficient performance
US9423847B2 (en) Method and apparatus for transitioning a system to an active disconnect state
TWI641943B (en) Controlling power supply unit power consumption during idle state
TW201411335A (en) Implementing a power off state in a computing device
JP2014137680A (en) Method and computer for changeover from power-on state to power-saving state
US9377833B2 (en) Electronic device and power management method
WO2014142847A1 (en) Multi-core binary translation task processing
US20180129180A1 (en) Pch thermal sensor dynamic shutdown
US10739843B2 (en) System and method of monitoring device states
US9332064B2 (en) Computer system and remote control method thereof
CN114258517A (en) System and method for modem directed application processor boot flow
TW201504799A (en) Electronic device and hibernation method thereof
Xi et al. Understanding the critical path in power state transition latencies
TW201329706A (en) Electronic device, hibernation method and computer program product
CN103218031A (en) Electronic device and sleep method
US11757138B2 (en) System and method of operating mobile information handling systems with rechargeable batteries