TWI407765B - Mobile device, power saving method and computer executable medium - Google Patents
Mobile device, power saving method and computer executable medium Download PDFInfo
- Publication number
- TWI407765B TWI407765B TW098115296A TW98115296A TWI407765B TW I407765 B TWI407765 B TW I407765B TW 098115296 A TW098115296 A TW 098115296A TW 98115296 A TW98115296 A TW 98115296A TW I407765 B TWI407765 B TW I407765B
- Authority
- TW
- Taiwan
- Prior art keywords
- mobile device
- period
- power saving
- during
- wireless communication
- Prior art date
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本發明係有關於行動通訊,尤其是有關於行動網路裝置的省電機制。The present invention relates to mobile communications, and more particularly to power saving mechanisms for mobile network devices.
手機裝置的行動上網功能已經相當普及。除了可透過使用者界面以互動方式操作的網路應用程式之外,尚有許多應用程式是不需要使用者互動,而是在背景執行的。尤其是各種即時資訊服務。Mobile Internet access for mobile devices has become quite popular. In addition to web applications that operate interactively through the user interface, there are many applications that do not require user interaction but are executed in the background. Especially a variety of instant information services.
舉例來說,推送郵件服務(Push Mail)是一種即時的郵件服務,使手機隨時與郵件服務提供者保持在資料連線的狀態,而任何時候只要有新信件傳入,就會立刻啟動收信機制並通知使用者。另一個例子是天氣資訊服務,可使手機隨時與天氣服務提供者保持在資料連線狀態。天氣狀態資訊會即時地更新並暫存在手機中。使用者任何時候檢視手機,都可以看到最新的資訊。此外,尚有許多其他不同種類的即時資訊服務,例如新聞、股市或者全球衛星定位系統,都需要手機保持著資料連線狀態。For example, Push Mail is an instant mail service that keeps the phone connected to the mail service provider at any time, and whenever a new message arrives, it will start receiving the message. Mechanism and notify the user. Another example is the weather information service, which allows the phone to stay connected to the weather service provider at any time. Weather status information is instantly updated and temporarily stored on the phone. Users can see the latest information at any time while viewing the phone. In addition, there are many other different kinds of instant information services, such as news, stock market or global satellite positioning system, which require mobile phones to maintain data connection status.
上述的例子有一個共同的特色,就是資訊的更新係在背景執行,使用者並不需要與螢幕界面互動。傳統上,當使用者一段時間不與手機互動時,手機會自動進入省電作業模式,以節省電源消耗。在省電作業模式中,只有螢幕背光是關閉的,但是手機的處理器以及網路通訊模組仍然可能保持著開啟的狀態,以繼續執行上述這些即時資訊服務。雖然螢幕背光關閉可以節省電力,但是手機的資料連線需要耗費相當大的電力,尤其是採用第三代夥伴計畫(3GPP)之類的各種高速資料傳輸協定。A common feature of the above examples is that the update of the information is performed in the background, and the user does not need to interact with the screen interface. Traditionally, when the user does not interact with the mobile phone for a certain period of time, the mobile phone automatically enters the power saving operation mode to save power consumption. In the power-saving mode, only the screen backlight is turned off, but the processor and network communication module of the mobile phone may remain open to continue the above-mentioned instant information services. Although the screen backlight can be turned off to save power, the data connection of the mobile phone requires considerable power, especially with various high-speed data transmission protocols such as the 3rd Generation Partnership Project (3GPP).
另一個問題是,當手機進入省電作業模式而網路保持著開啟狀態時,網路服務提供者或其他網際網路單位可能會主動對該手機發出各式各樣的偵察封包。這些封包對於手機的運作而言可能是非必要的,例如Ping封包、網路控制管理(ICMP)封包、網路群組管理(IGMP)封包及廣播封包等。這些非必要的封包統稱為垃圾(Dummy)封包,雖然手機本身的運作不需要這些封包,但是因為被動地收到了這些封包,所以仍然必須耗費電力去接收、解碼甚至是發射回應封包。因此,即使手機是處於省電作業模式,資料連線所消耗的電力仍然是相當可觀的。Another problem is that when the phone enters the power-saving mode and the network remains open, the network service provider or other Internet unit may actively send out various reconnaissance packets to the phone. These packets may be unnecessary for the operation of the mobile phone, such as Ping packets, Network Control Management (ICMP) packets, Internet Group Management (IGMP) packets, and broadcast packets. These non-essential packets are collectively referred to as Dummy packets. Although the phones themselves do not require these packets, they must still consume power to receive, decode, or even transmit response packets because they are passively received. Therefore, even if the mobile phone is in the power-saving mode, the power consumed by the data connection is still considerable.
有鑑於此,一種減少非必要電力消耗的省電方法是有待開發的。In view of this, a power saving method for reducing unnecessary power consumption is to be developed.
本發明提出一種省電方法,可用於一行動裝置。首先在一第一模式中,偵測該行動裝置的狀態是否符合一第一條件。當該行動裝置的狀態符合該第一條件時,使該行動裝置進入一第二模式,包含一第一週期和一第二週期返復循環。當該行動裝置的狀態不符合該第一條件時,使該行動裝置繼續保持在該第一模式。在該第一週期間,關閉與一網路服務提供者的資料連接能力,使該行動裝置不能進行一無線通訊。在該第二週期間,開啟與該網路服務提供者的資料連接能力,使該行動裝置可以進行該無線通訊。The present invention provides a power saving method that can be used in a mobile device. First, in a first mode, it is detected whether the state of the mobile device conforms to a first condition. When the state of the mobile device conforms to the first condition, the mobile device is caused to enter a second mode, including a first cycle and a second cycle return cycle. When the state of the mobile device does not comply with the first condition, the mobile device is maintained in the first mode. During the first week, the data connection capability with a network service provider is turned off, so that the mobile device cannot perform a wireless communication. During the second period, the data connection capability with the network service provider is turned on, so that the mobile device can perform the wireless communication.
本發明另一實施例是實作上述方法的行動裝置,包含一無線通訊模組,用以與一網路服務提供者進行資料連線,以及一螢幕,用以顯示畫面。本實施例中的該行動裝置使用Android作業系統,透過一封包資料協定(Packet Data Protocol;PDP)與該網路服務提供者連接。該無線通訊模組可使用2.5G、2.75G、3G、3.5G及4G通訊技術至少其中一種,這些通訊技術例如為全球行動通訊系統(GSM)的通用封包無線服務技術(General Packet Radio Service;GPRS),增強數據率GSM演進(Enhanced Data rates for GSM Evolution;EDGE),寬帶碼分多址(Wide band Code Division Multiple Access;WCDMA)通信協定,高速下行分組接入(High Speed Downlink Packet Access;HSDPA)通信協定,長期演進技術(Long Term Evolution;LTE),以及全球互通微波存取(Worldwide Interoperability for Microwave Access;WiMAX)標準等等。Another embodiment of the present invention is a mobile device for implementing the above method, comprising a wireless communication module for connecting data to a network service provider and a screen for displaying a picture. The mobile device in this embodiment uses an Android operating system to connect to the network service provider via a Packet Data Protocol (PDP). The wireless communication module can use at least one of 2.5G, 2.75G, 3G, 3.5G and 4G communication technologies, such as General Packet Radio Service (GPRS) of Global System for Mobile Communications (GSM). ), Enhanced Data Rates for GSM Evolution (EDGE), Wideband Code Division Multiple Access (WCDMA) communication protocol, High Speed Downlink Packet Access (HSDPA) Communication protocols, Long Term Evolution (LTE), and Worldwide Interoperability for Microwave Access (WiMAX) standards, to name a few.
本發明之另一實施例是一種電腦可讀取媒體,包含一管理程式,可於上述行動裝置中執行上述省電方法。Another embodiment of the present invention is a computer readable medium, comprising a management program for performing the power saving method in the mobile device.
本發明主要實作於網路行動裝置上,例如智慧型手機。尤其適用於採用Andriod之類,以網路資料連線為服務基礎之作業系統的數位行動助理(PDA)或是手機。手機上的網路資料連線與一般電話語音通訊不同,需要較高的傳輸率以及資料正確率。此外,電話語音通訊並不需要隨時保持在連線狀態,但是網路資料連線往往涵蓋許多廣泛的應用層面,經常需要保持連線狀態。因此,網路資料連線的耗電量相對地非常大。The invention is mainly implemented on a network mobile device, such as a smart phone. It is especially suitable for digital mobile assistants (PDAs) or mobile phones such as Andriod, which are based on the network data connection service system. The network data connection on the mobile phone is different from the general telephone voice communication, and requires a high transmission rate and a data correct rate. In addition, telephone voice communication does not need to be connected at all times, but network data connections often cover a wide range of application levels, and often need to remain connected. Therefore, the power consumption of the network data connection is relatively large.
第1圖係為本發明之行動裝置100的架構圖。該行動裝置100包含硬體元件和軟體層面。硬體元件有處理器102,觸控螢幕104,音效模組106及無線模組108,甚或是未圖示的各種延伸功能模組如讀卡器、相機功能及各種輸入裝置等。軟體系統110,通常實作於非揮發性的記憶體(韌體)中,如唯讀記憶體或快閃記憶體,以Android作業系統為例,可細分為核心(Kernel)112,函式庫(Library)114,運行元件庫(Runtime)116,應用層架構(Framework)118和應用程式120。關於軟體系統110中各層的詳細運作,由於已是公開技術,在此不加詳細介紹。值得說明的是,Android作業系統係由Linux為核心改良而成,運作過程大量地仰賴無線模組108來執行網路應用程式,而網路連線的功能主要仰賴核心112來管理封包資料通訊協定(Packet Data Protocol;PDP)。與傳統的微軟行動系統(Windows Mobile Platform)不同的是,Android作業系統的資料連線是持續性的,一旦與網路服務提供者(ISP)連立連線就保持著通連狀態,因此經常會收到一些上游網路單位發出的偵察封包與是廣播封包。這些封包通常是非必要的垃圾封包(Dummy Packet),但是該行動裝置100卻需要耗電來處理它們。即使是在軟體系統110中可實作防火牆或者封包過濾器來判斷是否要處置垃圾封包,在該軟體系統110得以進行判斷之前,該無線模組108仍然需要耗電來將無線電波解調變為該軟體系統110可辨認的封包資料。因此本發明提出了一種以排程器為基礎的省電方法,可使無線模組108在適當的時機停止運作,而藉此節省網路資料連線的耗電。1 is a block diagram of a mobile device 100 of the present invention. The mobile device 100 includes a hardware component and a software layer. The hardware components include a processor 102, a touch screen 104, a sound module 106 and a wireless module 108, or even various extended function modules not shown, such as a card reader, a camera function, and various input devices. The software system 110 is usually implemented in a non-volatile memory (firmware), such as a read-only memory or a flash memory. For example, the Android operating system can be subdivided into a core (Kernel) 112, a library. (Library) 114, running component library (Runtime) 116, application layer architecture (Framework) 118 and application 120. The detailed operation of the various layers in the software system 110 is not disclosed in detail since it is already disclosed. It is worth noting that the Android operating system is improved from Linux. The operation process relies heavily on the wireless module 108 to execute the network application. The function of the network connection mainly depends on the core 112 to manage the packet data protocol. (Packet Data Protocol; PDP). Unlike the traditional Microsoft Mobile System (Windows Mobile Platform), the data connection of the Android operating system is continuous. Once connected to the Internet Service Provider (ISP), it will remain connected, so it will often Received some reconnaissance packets from the upstream network unit and are broadcast packets. These packets are usually non-essential Dummy Packets, but the mobile device 100 requires power to process them. Even if a firewall or packet filter can be implemented in the software system 110 to determine whether to dispose of the garbage packet, the wireless module 108 still needs to consume power to demodulate the radio wave before the software system 110 can determine it. The software system 110 can identify the packet data. Therefore, the present invention proposes a power saving method based on a scheduler, which enables the wireless module 108 to stop operating at an appropriate timing, thereby saving power consumption of the network data connection.
第2a圖係為本發明省電方法的流程圖。基本上Android作業系統本身的電源管理方式,已經針對各個元件有妥善的安排。但是如前段所述,Android作業系統的網路資料連線是持續性的,因此無線模組108的電源管理仍然有進步空間。根據本發明的實施例,將會以排程的方式讓第1圖中的無線模組108適時的停止運作,藉此節省電力。在步驟201中,該行動裝置100開機後運作於預設的正常模式。在此階段該行動裝置100中的處理器102,觸控螢幕104,音效模組106和無線模組108皆保持著啟動的狀態。在步驟203中,判斷該行動裝置100是否符合進入省電作業模式的條件。所謂省電作業模式,一般定義為觸控螢幕104的背光關閉,但是其他元件如處理器102、音效模組106和無線模組108照常運作的模式。該行動裝置100如果閒置一段時間,沒有人碰觸觸控螢幕104或任何輸入裝置,則執行步驟205,該行動裝置100切換至該省電作業模式,以關閉該觸控螢幕104的背光而達到省電效果。進入省電作業模式的條件。在省電作業模式期間,該處理器102,音效模組106和無線模組108可能繼續保持著運作狀態,直到有其他條件被觸發而促使行動裝置100改變模式。於步驟207中,該行動裝置100檢查其狀態是否符合進入睡眠模式的條件。如果是,則執行步驟213,進入睡眠模式。根據Andriod規格之定義,在睡眠模式中,行動裝置100中大部份的元件皆被關閉,大致上只剩下最基本的待機功能。所謂的基本待機功能,一般定義包含:觸控螢幕104及音效模組106皆關閉電源,且處理器102降低時脈或進入由規格暨定的省電狀態或低耗電狀態。至於無線模組108的資料連線能力則完全關閉,只剩下少數背景服務例如等待來電或鬧鐘。如果步驟207檢查未符合進入睡眠模式的條件,則跳至步驟209檢查是否符合喚醒條件。在步驟209中,如果判斷未符合喚醒條件,則回到步驟205,繼續進行省電作業模式。如果步驟209判斷符合喚醒條件,則跳至步驟211,將觸控螢幕104的背光開啟,使行動裝置100回到正常模式。Figure 2a is a flow chart of the power saving method of the present invention. Basically, the power management method of the Android operating system itself has been properly arranged for each component. However, as mentioned in the previous paragraph, the network data connection of the Android operating system is continuous, so the power management of the wireless module 108 still has room for improvement. According to an embodiment of the present invention, the wireless module 108 in FIG. 1 will be stopped in a timely manner in a scheduled manner, thereby saving power. In step 201, the mobile device 100 operates in a preset normal mode after being turned on. At this stage, the processor 102, the touch screen 104, the audio module 106 and the wireless module 108 in the mobile device 100 are all in an activated state. In step 203, it is determined whether the mobile device 100 meets the conditions for entering the power saving operation mode. The so-called power-saving operation mode is generally defined as a mode in which the backlight of the touch screen 104 is turned off, but other components such as the processor 102, the sound effect module 106, and the wireless module 108 operate as usual. If the mobile device 100 is idle for a period of time, no one touches the touch screen 104 or any input device, step 205 is performed, and the mobile device 100 switches to the power saving operation mode to turn off the backlight of the touch screen 104 to reach Power saving effect. Enter the conditions for the power saving operation mode. During the power saving mode, the processor 102, the audio module 106 and the wireless module 108 may continue to be in an operational state until other conditions are triggered to cause the mobile device 100 to change modes. In step 207, the mobile device 100 checks if its status meets the conditions for entering the sleep mode. If yes, step 213 is executed to enter the sleep mode. According to the definition of the Andriod specification, in the sleep mode, most of the components of the mobile device 100 are turned off, and substantially only the most basic standby function remains. The so-called basic standby function generally includes: the touch screen 104 and the sound effect module 106 are all powered off, and the processor 102 reduces the clock or enters the power saving state or the low power consumption state determined by the specification. As for the data connection capability of the wireless module 108, it is completely turned off, leaving only a few background services such as waiting for an incoming call or an alarm clock. If step 207 checks that the condition for entering the sleep mode is not met, then step 209 is checked to see if the wake condition is met. In step 209, if it is determined that the wake-up condition is not met, then returning to step 205, the power-saving operation mode is continued. If the step 209 determines that the wake-up condition is met, then the process goes to step 211 to turn on the backlight of the touch screen 104 to return the mobile device 100 to the normal mode.
附帶一提的是,步驟207和209基本上屬於在省電作業模式中持續監測的動作,實際上並非必要如第2a圖所示的依序執行。同樣地,在步驟213的睡眠模式中,步驟215持續進行,以檢查行動裝置100的狀態是否發生符合喚醒條件的事件。舉例來說,使用者可能按下特定按鍵(如電源鍵),或者是接收到來電,或者是特定應用程式(如鬧鐘)依照排程計畫而被觸發,促使行動裝置100被喚醒。Incidentally, steps 207 and 209 basically belong to the continuous monitoring action in the power saving operation mode, and it is not actually necessary to perform the sequence as shown in Fig. 2a. Likewise, in the sleep mode of step 213, step 215 continues to check if the state of the mobile device 100 has occurred an event that meets the wake condition. For example, a user may press a particular button (such as a power button), or receive an incoming call, or a particular application (such as an alarm) may be triggered in accordance with a schedule to cause the mobile device 100 to wake up.
關於上述進入睡眠模式的條件,舉例來說,如果該省電作業模式持續一段時間未被喚醒,則可進入睡眠模式。至於喚醒條件,舉例來說,可以是使用者碰觸了輸入按鍵或觸控螢幕104,或是特定應用程式(如鬧鐘)依照排程觸發而促使該行動裝置100被喚醒。一般行動裝置100上會實作一個保持(Hold)鍵,用來鎖住輸入界面。因此該保持鍵的狀態,也可以做為是否使該行動裝置100進入省電作業模式、睡眠模式或喚醒的依據。Regarding the above-described conditions for entering the sleep mode, for example, if the power saving operation mode is not awakened for a while, the sleep mode can be entered. As for the wake-up condition, for example, the user may touch the input button or the touch screen 104, or a specific application (such as an alarm clock) may cause the mobile device 100 to be woken up according to the schedule trigger. A general Hold device 100 implements a Hold button to lock the input interface. Therefore, the state of the hold button can also be used as a basis for whether to cause the mobile device 100 to enter a power saving operation mode, a sleep mode, or wake up.
第2b圖係為節省資料連線之耗電的實施例,可應用於省電作業及/或睡眠模式中。在步驟221中,該行動裝置100進入如步驟205所述之省電作業模式及/或步驟213的睡眠模式。該軟體系統110中的核心112或應用程式120中可設置有一排程器(未圖示),定義第一週期t1和第二週期t2的長度。舉例來說,第一週期t1可以是30分鐘,而第二週期t2可以是5分鐘。在步驟223中,該行動裝置100進入第一週期。在該第一週期間,該無線模組108與一網路服務提供者之間的資料連接能力是關閉的,藉此使該行動裝置100不會因為受到垃圾封包的影響而耗電。然而也因為如此,一般應用程式120所需的正常網路資料連線功能也是停止的。所以在步驟225中,該行動裝置100進入第二週期,重新啟動無線模組108與網路服務提供者之間的資料連接能力,使一般應用程式120所需的正常網路資料連線功能得以順利進行。由於在省電作業及/或睡眠模式中使用者並未直接與行動裝置100進行互動操作,因此網路連接能力的暫停並不會令使用者感受到操作阻礙。相對的,經由適當安排第一週期和第二週期的比例,可使無線模組108的耗電量大幅的下降。在第2b圖中,步驟223和225遞迴地執行,直到第2a圖中所述的步驟207和209觸發了離開省電作業及/或睡眠模式的條件,才告結束。Fig. 2b is an embodiment for saving power consumption of data connection, and can be applied to power saving operation and/or sleep mode. In step 221, the mobile device 100 enters the power save mode of operation as described in step 205 and/or the sleep mode of step 213. A scheduler (not shown) may be provided in the core 112 or the application 120 in the software system 110 to define the lengths of the first period t1 and the second period t2. For example, the first period t1 may be 30 minutes, and the second period t2 may be 5 minutes. In step 223, the mobile device 100 enters the first cycle. During the first week, the data connection capability between the wireless module 108 and a network service provider is turned off, thereby preventing the mobile device 100 from consuming power due to the influence of the garbage package. However, because of this, the normal network data connection function required by the general application 120 is also stopped. Therefore, in step 225, the mobile device 100 enters the second cycle, restarting the data connection capability between the wireless module 108 and the network service provider, so that the normal network data connection function required by the general application 120 can be enabled. Going smoothly. Since the user does not directly interact with the mobile device 100 in the power saving operation and/or the sleep mode, the suspension of the network connection capability does not make the user feel the operation hindrance. In contrast, by appropriately arranging the ratio of the first period and the second period, the power consumption of the wireless module 108 can be greatly reduced. In Figure 2b, steps 223 and 225 are performed recursively until steps 207 and 209 described in Figure 2a trigger the conditions for leaving the power save operation and/or sleep mode to end.
第2b圖雖然說明了在省電作業模式及/或睡眠模式中執行步驟223和225,但是更進一步的說,即使行動裝置100處於正常模式(或其他模式),也可以照樣應用步驟223和225來減少無線模組108的電力消耗。舉例來說,使用者雖然是在正常模式使用行動裝置100,但是所執行的一或多個應用程式120中未必需要即時的網路資料連線。在這種情況下,可透過適當修改核心112的管理功能,控制該無線模組108,將不必要的網路資料連線降至最低。更進一步的說,本發明所提的排程器未必需要透過修改核心112來達成,也可以打造成一個使用層的應用程式120,搭配應用層架構118,函式庫114和運行元件庫116提供的函式庫來控制該無線模組108。Figure 2b illustrates that steps 223 and 225 are performed in the power save mode of operation and/or the sleep mode, but further, even if the mobile device 100 is in the normal mode (or other mode), steps 223 and 225 can be applied as it is. To reduce the power consumption of the wireless module 108. For example, although the user uses the mobile device 100 in the normal mode, the one or more applications 120 executed do not necessarily require an instant network data connection. In this case, the wireless module 108 can be controlled to minimize unnecessary network data connections by appropriately modifying the management functions of the core 112. Furthermore, the scheduler of the present invention does not necessarily need to be implemented by modifying the core 112, and can also be used as a layer 120 application, with the application layer architecture 118, the library 114 and the runtime component library 116. The library is used to control the wireless module 108.
第3圖係為本發明實施例的狀態機器。第2a圖和第2b圖所述的流程,可以簡化為第3圖所示的狀態機器。基本上與Android作業系統所定義之電源管理規範大致相同,但是本發明能夠有效節省無線模組108在省電作業模式下的耗電。在開機時,行動裝置100處於正常狀態310。如果符合條件302,行動裝置100就會持續保持在正常狀態。該條件302可以是,觸控螢幕104在特定時間限制內偵測到觸控行為。如果符合了條件312,就會跳至省電作業模式320。該條件312可以是,該觸控螢幕104超過一段時間沒有被觸碰,或者是任何輸入按鈕超過一段時間沒有被按下。在省電作業模式320中,如果偵測到條件314,就由省電作業模式320回到正常模式310。該條件314可以是觸控螢幕104被使用者碰觸,或是任一輸入按鍵被按下。另一方面,如果在省電作業模式320中偵測到條件324,則進入睡眠模式330。該條件324可以是,該省電作業320持續一段時間沒被喚醒,或者是該行動裝置100中所有的「防睡眠鎖」皆被解除。防睡眠鎖(partial wake lock)是Android作業系統中特定的程式指標,用來告訴系統某些應用程式120必須保持不睡眠的狀態才能執行。此外,條件336更進一步定義,若是在正常模式310中偵測到行動裝置100如電源鍵之特定按鍵(未圖示)被按下,則直接進入睡眠模式330。Figure 3 is a state machine of an embodiment of the invention. The flow described in Figures 2a and 2b can be simplified to the state machine shown in Figure 3. Basically, it is substantially the same as the power management specification defined by the Android operating system, but the present invention can effectively save the power consumption of the wireless module 108 in the power saving operation mode. At power on, the mobile device 100 is in a normal state 310. If condition 302 is met, mobile device 100 will remain in a normal state. The condition 302 can be that the touch screen 104 detects the touch behavior within a certain time limit. If condition 312 is met, then jump to power save mode 320. The condition 312 can be that the touch screen 104 has not been touched for a period of time, or that any input button has not been pressed for a period of time. In the power save operation mode 320, if the condition 314 is detected, the power save operation mode 320 is returned to the normal mode 310. The condition 314 can be that the touch screen 104 is touched by the user or any of the input buttons is pressed. On the other hand, if condition 324 is detected in power save operation mode 320, sleep mode 330 is entered. The condition 324 may be that the power save operation 320 has not been woken up for a period of time, or all of the "anti-sleep locks" in the mobile device 100 are released. A partial wake lock is a specific program indicator in the Android operating system that tells the system that certain applications 120 must remain unsleeped in order to execute. In addition, condition 336 is further defined to directly enter sleep mode 330 if a particular button (not shown) of mobile device 100, such as a power button, is detected in normal mode 310.
在睡眠模式330中,所有的元件包含處理器102,觸控螢幕104,音效模組106和無線模組108基本上都進入省電或關閉狀態,該行動裝置100只剩下基本的待機功能。在睡眠模式330中,如果偵測到行動裝置100的狀態符合條件334,則進行喚醒程序而跳回正常模式310。條件334的定義,依照一般手機標準,可包含如電源鍵之特定按鍵被按下,接收到來電要求,或是特用應用程式被排程器觸發。In the sleep mode 330, all of the components including the processor 102, the touch screen 104, the audio module 106, and the wireless module 108 are substantially in a power-saving or off state, and the mobile device 100 has only a basic standby function. In the sleep mode 330, if it is detected that the state of the mobile device 100 meets the condition 334, the wake-up procedure is performed and the normal mode 310 is jumped back. The condition 334 is defined in accordance with the general mobile phone standard, and may include a specific button such as a power button being pressed, receiving an incoming call request, or a special application being triggered by the scheduler.
本發明所提出的排程方法,可應用在正常模式310、省電作業模式320及/或睡眠模式330中,使無線模組108的連線功能依照第一週期和第二週期輪替開關,而藉此節省電力消耗。雖然第3圖顯示了行動裝置100運作的基本狀態機器,但是實作上可再依據各種元件的執行特性更進一步區分詳細的狀態,本發明並不限定其具體做法。The scheduling method of the present invention can be applied to the normal mode 310, the power saving operation mode 320, and/or the sleep mode 330, so that the connection function of the wireless module 108 is switched according to the first cycle and the second cycle. And thereby saving power consumption. Although FIG. 3 shows the basic state machine in which the mobile device 100 operates, the detailed state can be further distinguished based on the execution characteristics of the various components, and the present invention is not limited to the specific embodiment.
第4圖係為本發明實施例之資料連線的時序圖。第4圖的橫軸是時間t,縱軸是無線模組108的功率消耗P。在第一週期t1中,無線模組108的連線能力是關閉的,因此可說是沒有功率消耗。在第二週期t2中,無線模組108的連線能力是開啟的,因此隨著應用程式120對網路存取的需求而產生了大小不等的功率消耗。後續動作依此類推,週而復始。在本發明中,t1和t2可由核心112的修改或特定應用程式120的實作來控制。無線模組108的連線能力,基本上可由封包資料通訊協定(PDP)的驅動程式開關來決定。舉例來說,行動裝置100通常是透過點對點通訊協定(PPP)撥接至網路服務提供者(ISP)而建立網際網路連線能力,而該封包資料通訊協定可以管理該撥接功能,從而透過無線模組108對外連線。網路連線功能的開啟與關閉,可在硬體層或軟體層實作,本發明不限定由PDP來控制。Figure 4 is a timing diagram of the data connection of the embodiment of the present invention. The horizontal axis of Fig. 4 is time t, and the vertical axis is the power consumption P of the wireless module 108. In the first period t1, the connection capability of the wireless module 108 is turned off, so it can be said that there is no power consumption. In the second period t2, the connection capability of the wireless module 108 is turned on, so that the power consumption of the unequal size is generated as the application 120 demands the network access. Follow-up actions and so on, and repeated. In the present invention, t1 and t2 may be controlled by the modification of core 112 or the implementation of a particular application 120. The connection capability of the wireless module 108 can basically be determined by the driver switch of the Packet Data Protocol (PDP). For example, the mobile device 100 usually establishes an Internet connection capability by dialing a point-to-point communication protocol (PPP) to an Internet Service Provider (ISP), and the packet data protocol can manage the dial-up function, thereby The wireless module 108 is externally connected. The opening and closing of the network connection function can be implemented in the hardware layer or the software layer, and the present invention is not limited to being controlled by the PDP.
可用來進行網路資料連線的實體層通訊協定有很多種。舉例來說,本發明的行動裝置100可能支援2.5G、2.75G、3G、3.5G及4G通訊技術至少其中一種,這些通訊技術例如為全球行動通訊系統(GSM)的通用封包無線服務技術(General Packet Radio Service;GPRS),增強數據率GSM演進(Enhanced Data rates for GSM Evolution;EDGE),寬帶碼分多址(Wide band Code Division Multiple Access;WCDMA)通信協定,高速下行分組接入(High Speed Downlink Packet Access;HSDPA)通信協定,長期演進技術(Long Term Evolution;LTE),以及全球互通微波存取(Worldwide Interoperability for Microwave Access;WiMAX)標準等等。There are many physical layer protocols that can be used to network data connections. For example, the mobile device 100 of the present invention may support at least one of 2.5G, 2.75G, 3G, 3.5G, and 4G communication technologies, such as the Universal Packet Radio Service Technology of the Global System for Mobile Communications (GSM). Packet Radio Service; GPRS), Enhanced Data Rates for GSM Evolution (EDGE), Wideband Code Division Multiple Access (WCDMA) protocol, High Speed Downlink (High Speed Downlink) Packet Access; HSDPA) communication protocol, Long Term Evolution (LTE), and Worldwide Interoperability for Microwave Access (WiMAX) standards.
另一方面值得一提的是,當網路連接能力被關閉時,可能會對某些執行中的應用程式120造成影響。因為排程器是強制關閉核心112中的PDP驅動程式,應用程式120本身並無法預知這項修改。若是因為無線模組108的連線能力被關閉而造成應用程式120無法連線,可能會跳出錯誤訊息。為了使本發明具有更多相容性,可實作特定的驅動程式,讓原本執行中的應用程式120可學習(獲取)該排程器的設定,將網路存取的時程調整至與該第一週期和該第二週期同步(對齊)。藉此,該應用程式120就可以自動在該第一週期停止網路存取,只在該第二週期進行網路存取,而避免跳出無法存取的錯誤訊息。舉例來說,一收信程式可能原本每隔每五分鐘會上網截取郵件。經過特定的軟體層驅動程式之修改,該收信程式也可以學會隨著本發明的排程器,在第二週期啟動的時候才進行網路存取。On the other hand, it is worth mentioning that when the network connection capability is turned off, it may affect some of the executing applications 120. Because the scheduler is forcibly shutting down the PDP driver in core 112, the application 120 itself does not predict this modification. If the application module 120 fails to connect because the connection capability of the wireless module 108 is turned off, an error message may be displayed. In order to make the invention more compatible, a specific driver can be implemented, so that the originally executed application 120 can learn (acquire) the scheduler's settings and adjust the network access time to The first period and the second period are synchronized (aligned). Thereby, the application 120 can automatically stop the network access in the first cycle, and only perform network access in the second cycle, and avoid jumping out of the unreachable error message. For example, a receiving program may have to intercept emails every five minutes. After the modification of the specific software layer driver, the receiver can also learn to perform network access when the second cycle is started with the scheduler of the present invention.
本發明的上述實施例可以涵蓋行動裝置其及省電方法,也可以寫成一種核心層程式或者使用者層程式,安裝在手機裝置的記憶體或韌體中。因此發明範圍可擴及軟體及硬體。雖然本發明以較佳實施例說明如上,但可以理解的是本發明的範圍未必如此限定。相對的,任何基於相同精神或對本發明所屬技術領域中具有通常知識者為顯而易見的改良皆在本發明涵蓋範圍內。因此專利要求範圍必須以最廣義的方式解讀。The above embodiments of the present invention may cover the mobile device and the power saving method, or may be written as a core layer program or a user layer program, and are installed in the memory or firmware of the mobile phone device. Therefore, the scope of the invention can be extended to software and hardware. While the invention has been described above by way of a preferred embodiment, it is understood that the scope of the invention is not necessarily limited. In contrast, any modifications that are obvious to those of ordinary skill in the art to which the invention pertains. Therefore, the scope of patent claims must be interpreted in the broadest sense.
100‧‧‧行動裝置100‧‧‧ mobile devices
102‧‧‧處理器102‧‧‧Processor
104‧‧‧觸控螢幕104‧‧‧ touch screen
106‧‧‧音效模組106‧‧‧Sound Module
108‧‧‧無線模組108‧‧‧Wireless Module
110‧‧‧軟體系統110‧‧‧Software system
112‧‧‧核心112‧‧‧ core
114‧‧‧函式庫114‧‧‧Library
116‧‧‧運行元件庫116‧‧‧Running component library
118‧‧‧應用層架構118‧‧‧Application layer architecture
120‧‧‧應用程式120‧‧‧Application
第1圖係為本發明之行動裝置100的架構圖;第2a、2b圖係為本發明省電方法的流程圖;第3圖係為本發明實施例的狀態機器;以及第4圖係為本發明實施例之資料連線的時序圖。1 is a structural diagram of a mobile device 100 of the present invention; 2a and 2b are flowcharts of a power saving method of the present invention; FIG. 3 is a state machine according to an embodiment of the present invention; and FIG. 4 is a A timing diagram of the data connection of the embodiment of the present invention.
100...行動裝置100. . . Mobile device
102...處理器102. . . processor
104...螢幕104. . . Screen
106...音效模組106. . . Sound module
108...無線模組108. . . Wireless module
110...軟體系統110. . . Software system
112...核心112. . . core
114...函式庫114. . . Library
116...運行元件庫116. . . Running component library
118...應用層架構118. . . Application layer architecture
120...應用程式120. . . application
Claims (30)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098115296A TWI407765B (en) | 2009-05-08 | 2009-05-08 | Mobile device, power saving method and computer executable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW098115296A TWI407765B (en) | 2009-05-08 | 2009-05-08 | Mobile device, power saving method and computer executable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201041364A TW201041364A (en) | 2010-11-16 |
TWI407765B true TWI407765B (en) | 2013-09-01 |
Family
ID=44996286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW098115296A TWI407765B (en) | 2009-05-08 | 2009-05-08 | Mobile device, power saving method and computer executable medium |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI407765B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI818412B (en) * | 2022-01-17 | 2023-10-11 | 華碩電腦股份有限公司 | Control method for off-screen and disconnection and mobile device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9727124B2 (en) * | 2011-04-19 | 2017-08-08 | Apple Inc. | Power saving application update in a portable electronic device |
US9167528B2 (en) | 2012-03-23 | 2015-10-20 | Htc Corporation | Power saving method and related mobile device |
CN103077716A (en) * | 2012-12-31 | 2013-05-01 | 威盛电子股份有限公司 | Auxiliary starting device and speed control system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020132603A1 (en) * | 2000-12-08 | 2002-09-19 | Jan Lindskog | Method for power save |
US20060025181A1 (en) * | 2004-07-30 | 2006-02-02 | Nokia Corporation | System and method for managing a wireless connection to reduce power consumption of a mobile terminal |
TW200806062A (en) * | 2006-04-27 | 2008-01-16 | Qualcomm Inc | Method and system for selecting a sleep interval to improve battery life |
TW200840392A (en) * | 2007-03-27 | 2008-10-01 | Asustek Comp Inc | Mobile communication device and power conservation method thereof |
US20080300027A1 (en) * | 2007-05-31 | 2008-12-04 | Weiping Dou | Systems and Techniques for Reducing Power Consumption in a Mobile Computing Device |
-
2009
- 2009-05-08 TW TW098115296A patent/TWI407765B/en not_active IP Right Cessation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020132603A1 (en) * | 2000-12-08 | 2002-09-19 | Jan Lindskog | Method for power save |
US20060025181A1 (en) * | 2004-07-30 | 2006-02-02 | Nokia Corporation | System and method for managing a wireless connection to reduce power consumption of a mobile terminal |
TW200806062A (en) * | 2006-04-27 | 2008-01-16 | Qualcomm Inc | Method and system for selecting a sleep interval to improve battery life |
TW200840392A (en) * | 2007-03-27 | 2008-10-01 | Asustek Comp Inc | Mobile communication device and power conservation method thereof |
US20080300027A1 (en) * | 2007-05-31 | 2008-12-04 | Weiping Dou | Systems and Techniques for Reducing Power Consumption in a Mobile Computing Device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI818412B (en) * | 2022-01-17 | 2023-10-11 | 華碩電腦股份有限公司 | Control method for off-screen and disconnection and mobile device |
Also Published As
Publication number | Publication date |
---|---|
TW201041364A (en) | 2010-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12075358B2 (en) | Terminal device sleep state control method and apparatus, and computer-readable storage medium | |
EP2876945B1 (en) | Method for processing data, modem and terminal | |
JP2022521692A (en) | How to use power saving signal patterns, devices and terminals | |
US8255724B2 (en) | Control of awake time in mobile device with event based time period followed by sleep mode algorithm | |
CN104252389B (en) | application program operation method, system | |
EP2774331B1 (en) | Systems and methods for synchronization of application communications | |
WO2016165078A1 (en) | Method and terminal for controlling application | |
US9319993B1 (en) | Injecting active periods into scheduled inactive periods | |
CN107407956B (en) | Method and system for coordinating operating states among multiple SOCs within a computing device | |
WO2010139219A1 (en) | Switching device and method based on multi-system network | |
US10564708B2 (en) | Opportunistic waking of an application processor | |
US20140068303A1 (en) | Circuit arrangement and method for low power mode management | |
US9635169B2 (en) | Method for managing data traffic of software and portable electronic apparatus using the same | |
CN105373207A (en) | Standby method of wireless communication terminal | |
CN101986679A (en) | Mobile terminal, electricity-saving method and electricity-saving device | |
CN104156223A (en) | Application program control method and device for mobile terminal | |
TWI407765B (en) | Mobile device, power saving method and computer executable medium | |
CN106658686B (en) | Data forwarding method and access device | |
CN109982355B (en) | Method for saving and restoring network path, apparatus, terminal and storage medium thereof | |
CN105159722B (en) | RTC wakes up the method and computer of system | |
JP4910067B1 (en) | Electronic device and power saving control method for electronic device | |
CN107132905A (en) | Terminal communication control method and terminal | |
WO2019109557A1 (en) | Method and device for reducing power consumption | |
CN107231386B (en) | Application state conversion method and device and mobile terminal | |
JPWO2008084541A1 (en) | Reception device and activation control method for reception device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |