1324300 九、發明說明: 【發明所屬之技術領域】 本發明提供一種節能電子裝置及節能方法。 【先前技術】 隨著電子技術的進步,各類電子設備如手機、個人數 位助理(PDA)等日益普及,極大地方便了用戶。廣大用 戶在使用此類電子產品時,總是希望其使用時間越長越 好。在電池的容量固定的情況下,降低電子產品能耗成為 了延長其使用時間的-種重要手段。而背光燈在電子設備 如手機中所消耗的電能占了整個系統相#的比例。目前的 手,都採用了自動關閉螢幕及/或按鍵背光的技術以節省 電量。相戶在-定時咖未對手機進行任何操作時,手 機將自動·]背光,以達到省電的目的。用戶還可根據各 自使用m ’在手機操作設置介面中設定延時關閉背光的 ,間。而上述技術的缺岐私能_手機的抑使用模 1Λ在不力要使用月光或只需要短時間背光的使用模式中 心用了同樣的延時時間才關閉背光,這樣仍 池的電量。 a% 【發明内容】 有馨於此,有必I担 要如供—種節能電子裝置及方法,其 從而 了根據不_職式選擇不_背光延時_時間, 61324300 IX. Description of the Invention: [Technical Field] The present invention provides an energy-saving electronic device and an energy-saving method. [Prior Art] With the advancement of electronic technology, various types of electronic devices such as mobile phones and personal digital assistants (PDAs) have become increasingly popular, which greatly facilitates users. When using such electronic products, users generally want to use them for as long as possible. In the case of a fixed battery capacity, reducing the energy consumption of electronic products has become an important means of extending their use time. The amount of power consumed by the backlight in an electronic device such as a mobile phone accounts for the proportion of the entire system. Current hands use technology that automatically turns off the screen and/or button backlight to save power. When the user does not perform any operation on the mobile phone, the mobile phone will automatically turn on the backlight to save power. The user can also set the delay to turn off the backlight according to the respective use of m ' in the mobile phone operation setting interface. The lack of privacy of the above technology _ mobile phone use mode 1 Λ in the use of moonlight or only need a short time backlight usage mode center to use the same delay time to turn off the backlight, so that the pool is still the power. A% [Summary of the content] There is a need for such a kind of energy-saving electronic device and method, which is based on the choice of not _ backlight delay _ time, 6
I3243UU 節省電池的電量。The I3243UU saves battery power.
_該電子裝置包括-背光單元、一輸入單元、一存儲單 疋及一微纽單元。該背光單關於產生該電子裝置的背 光。該輸人單元用於回應用戶的輸人操作,產生一命令信 號。該存儲單元用於存儲—設置檔案,該設錢案定^ 電子裝置在各雜賴式下背絲時_咖。該微處^ =包括—計時模組及—f光管理模組。該計時模組用於 计時。該背光管理模_於#㈣子裝置進人—使用模式 時’從所述設置難中獲取與該使關式對應的背光開關 狀態及背光延時關閉時間,使得該電子裴置進入該 式定義的背摘態,當紐賴式定義㈣光狀態為 開啟時’㈣所料時池計時,並#計龍組計時時間 達到所述背光延時關時間時,控制背光單元關閉背光。The electronic device includes a backlight unit, an input unit, a memory unit, and a micro button unit. The backlight is related to generating a backlight for the electronic device. The input unit is configured to generate a command signal in response to the user's input operation. The storage unit is used for storing and setting a file, and the setting of the money is determined by the electronic device in each of the miscellaneous types. The micro ^ ^ includes - timing module and - f light management module. This timing module is used for timing. The backlight management mode _ when the #(四) sub-device enters the human-use mode, the backlight switch state corresponding to the switch-off mode and the backlight delay-off time are obtained from the setting difficulty, so that the electronic device enters the definition of the formula The back-up state, when the Nilai formula defines (4) the light state is on, the clock is timed, and when the timer count time reaches the backlight delay off time, the backlight unit is controlled to turn off the backlight.
所述方法包括步驟:提供一存儲單元,其存儲一設置 =案’該設置财的内容為該電子裝置在各種使用模式下 背光開關狀態及背光延時_時間;該電子裝置進入一使 用模式;從該設置檔案中獲取與該使用模式對應的背光開 關狀態及背光延時關閉時間,使得該電子裝置進入該使用 模式疋義的背光開關狀態;當該使用模式定義的背光開關 狀態為開啟時,開始計時;當計時達到該使賴式對應的 背光延時關閉時間時,關閉背光。 相較於現有技術,通過使用所述節能電子裝置及方 法,可分別定義不同使用模式下對應的背光延時關閉時 7 ai,其不必像航電子織職在不f要背光或只需要短 時間背光的使用模式中也要等待較長時間才義背光,從 而達到降低能耗、延長電池的使用時間的效果。 【實施方式】 如圖1所示,是應用本發明節能電子裝置的硬體架構 圖’在本實施例中,該電子裝置為一手機。該手機上包括 —通訊單it 2、-背光單元4及-輸人單元5。該通訊單元 2用於發送及倾軌錢。該背光單元4跡產生該手 機的螢幕及/或鍵盤的背光。該輸人單元5用於接收用戶的 輸入操作’並產生—命令信I該輪人單元$可為按鍵、 觸摸屏等輸入設備。 該手機1還包括一微處理單元3及一存儲單元6。其 中’該微處理單元3包括-延時設置模組31、—背光管理 模組32及一計時模組33。該延時設置模組31接收用戶操 =該輸入單元5所產生的輸入信號,設置一設置檔案,該 叹置槽案_容為該手機1在各種使賴式的背光設定資 :一每—使用模式的背光設定資訊包括:螢幕及/或鍵盤的 月光開關狀態’及各使用模式的背光延時關閉時間。該設 置檔案存儲於所述存儲單元6。該手機1的使用模式包括 通話模式、短信閱讀模式、遊戲模式及視頻播放模式等。 例如’該手機1在通話模式下,用戶-般不需要查看顯示 幕及使用按鍵,則可以設置在通話模式下不需要開啟背 1324300 光;而在短信閱讀模式下,則可將背光延時關閉時間設置 的較長’以方便用戶閱讀短信。另外,螢幕背光及按鍵背 光有時可3b不需要同時開啟,如在視頻播放模式下只需要 開啟螢幕而不需要開啟按鍵背光,該延時設置模組31也可 以分別設置螢幕及按鍵的背光延時關閉時間。當然,所述 设置槽案亦可在手機1出廠前預先設置或者通過如通訊網 路、電腦等外部媒介獲取。 • 所述計時模組33用於計時。當該手機1進入一使用模 式時(下稱為當前使用模式),所述背光管理模組32從該 存儲單兀6的設置檔案中查找與當前使用模式對應的背光 設定資訊,根據該背光設定資訊的内容控制計時模組33 及背光單兀4執行其功能。例如,該手機i進入短信閱讀 模式’該背光管理模組32從該設置檔案中查找與短信閱讀 极式對應的背光設定資訊,其内容為需要開啟背光及背光 _ 延時關時間為1G秒,則該背光管理模組32控制該背光 單元4開啟或保持開啟螢幕及/或按鍵的背光,並控制該計 時模組33開始计時’在該計時達到10秒時,控制該背光 單X 4關閉背光。當螢幕及/或按鍵的背光關閉後,該計時 模組33停止計時。又如,該手機1接收到來電信號時,該 背,管理模組32控制該背光單元4開啟背光,用戶操作輸 入單兀5使該手機!進人通話模式,該背光管理模組幻 從,設置檔案中查找與通話模式對應的背光設定資訊,其 内容為不需要開啟背光,則該背光管理模組32控制該背光 9 1324300 單元4關閉背光。 如果在-種使用模式下分別設置了營幕及按鍵的背光 延時關閉時間,則該背光管理模組3 2從該存儲單元6中查 找與該使用模式對應的螢幕背光延時關閉時間及按鍵背光 延時關閉時間,並當該計時模組3 3的計時達到螢幕背光延 時關閉時間及按鍵背光延時關閉時間時,分別控制該背光 單元4關閉螢幕及按鍵的背光。 如圖2所示,是本發明節能電子裝置的方法流程圖。 該方法包括步驟:該手機1進入一使用模式(步驟S21)。 所述背光管理模組32查詢該設置檔案,以獲得當前使用模 式對應的背光設定資訊(步驟S22)。該背光管理模組32 根據該背光設定資訊的設置内容控制該背光單元4進入背 光設定資訊定義的背光狀態,即開啟或關閉螢幕及/或按鍵 背光(步驟S23)。判斷當前螢幕及/或按鍵背光是否處於 開啟狀悲,如判斷結果為是,則流程轉至S25 ;如判斷結 果為否’則流程結束(步驟S24)。該背光管理模組32控 制該計時模組33開始計時(步驟S25)。當該計時模組33 所計時間達到該使用模式的背光設定資訊中的背光延時關 閉時間時,該背光管理模組32控制該背光單元4關閉螢幕 及/或按鍵的背光(步驟S26)。該背光管理模組32控制該 計時模組33停止計時(步驟S27)。 在步驟S23中’控制該背光單元4進入背光設定資訊 定義的彦光狀態的作業具體為:獲得當前的背光狀態,並 10 根據當前的背光狀態與背光設定資訊定義的背光開關狀態 執行開啟或關閉螢幕及/或按鍵背光的動作。具體工作如下 表所示: 當前的背光狀態 定義的背光開關狀態 執行動作 開啟 開啟 保持開啟 開啟 關閉 關閉 關閉 開啟 開啟 關閉 關閉 保持關閉 1324300 【圖式簡單說明】 圖1是本發明節能電子裝置的硬體架構圖。 圖2是本發明節能電子裝置的方法流程圖。 【主要元件符號說明】 手機 1 通訊單元 2 微處理單元 3 延時設置模組 31 背光管理模組 32 計時模組 33 背光單元 4 輸入單元 5 存儲單元 6 11The method includes the steps of: providing a storage unit that stores a setting=the case of the setting is the backlight switch state and the backlight delay_time of the electronic device in various usage modes; the electronic device enters a usage mode; Obtaining a backlight switch state corresponding to the usage mode and a backlight delay off time in the setting file, so that the electronic device enters a backlight switch state in which the usage mode is deprecated; when the backlight switch state defined by the usage mode is on, starting timing When the timing reaches the backlight delay off time corresponding to the Lai, the backlight is turned off. Compared with the prior art, by using the energy-saving electronic device and method, it is possible to respectively define a corresponding backlight delay in different usage modes when the 7 ai is turned off, which does not have to be backlighted or only requires a short time backlight. In the usage mode, it is also necessary to wait for a long time to control the backlight, thereby achieving the effect of reducing energy consumption and prolonging the battery life. [Embodiment] As shown in Fig. 1, it is a hardware architecture of an energy-saving electronic device to which the present invention is applied. In the embodiment, the electronic device is a mobile phone. The mobile phone includes a communication unit it 2, a backlight unit 4 and an input unit 5. The communication unit 2 is used for sending and derailing money. The backlight unit 4 traces the backlight of the handset and/or the keyboard. The input unit 5 is configured to receive an input operation of the user and generate a command letter I. The person unit $ can be an input device such as a button or a touch screen. The mobile phone 1 further includes a micro processing unit 3 and a storage unit 6. The micro processing unit 3 includes a delay setting module 31, a backlight management module 32, and a timing module 33. The delay setting module 31 receives the input signal generated by the user operation=the input unit 5, and sets a setting file, and the sigh slot case is used to set the backlight of the mobile phone 1 in various backlights: one per use The backlight setting information of the mode includes: the moonlight switch state of the screen and/or the keyboard and the backlight delay off time of each usage mode. The setting file is stored in the storage unit 6. The usage mode of the mobile phone 1 includes a call mode, a short message reading mode, a game mode, and a video playing mode. For example, if the mobile phone 1 is in the call mode, the user does not need to view the display screen and use the button, then the backlight 1324300 can be set in the call mode, and the backlight delay time can be turned off in the short message reading mode. Set a longer 'to make it easier for users to read text messages. In addition, the backlight of the screen and the backlight of the button can sometimes be turned on at the same time. For example, in the video playback mode, only the screen needs to be turned on without turning on the backlight of the button, and the delay setting module 31 can also set the backlight of the screen and the button to be turned off. time. Of course, the setting slot case can also be preset before the mobile phone 1 is shipped from the factory or obtained through an external medium such as a communication network or a computer. • The timing module 33 is used for timing. When the mobile phone 1 enters a usage mode (hereinafter referred to as the current usage mode), the backlight management module 32 searches for the backlight setting information corresponding to the current usage mode from the setting file of the storage unit 6, according to the backlight setting. The content control timing module 33 and the backlight unit 4 perform their functions. For example, the mobile phone i enters the short message reading mode. The backlight management module 32 searches for the backlight setting information corresponding to the short message reading mode from the setting file, and the content thereof needs to be turned on and the backlight _ delay off time is 1G seconds. The backlight management module 32 controls the backlight unit 4 to turn on or keep the backlight and/or the backlight of the button, and controls the timing module 33 to start timing. When the timing reaches 10 seconds, the backlight is controlled to turn off the backlight. . The timing module 33 stops timing when the backlight of the screen and/or button is turned off. For another example, when the mobile phone 1 receives the incoming call signal, the back, the management module 32 controls the backlight unit 4 to turn on the backlight, and the user operates the input unit 5 to make the mobile phone! In the call mode, the backlight management module is phantom, and the backlight setting information corresponding to the call mode is searched in the setting file, and the content is that the backlight management module 32 controls the backlight 9 1324300, and the unit 4 turns off the backlight. . If the backlight delay off time of the camp and the button is respectively set in the usage mode, the backlight management module 32 searches the storage unit 6 for the screen backlight delay off time and the button backlight delay corresponding to the usage mode. The time is turned off, and when the timing of the timing module 3 3 reaches the screen backlight delay off time and the button backlight delay off time, the backlight unit 4 is separately controlled to turn off the backlight of the screen and the button. 2 is a flow chart of a method of the energy-saving electronic device of the present invention. The method includes the step of: the handset 1 enters a usage mode (step S21). The backlight management module 32 queries the setting file to obtain backlight setting information corresponding to the current usage mode (step S22). The backlight management module 32 controls the backlight unit 4 to enter a backlight state defined by the backlight setting information according to the setting content of the backlight setting information, that is, turn on or off the screen and/or the button backlight (step S23). It is judged whether the current screen and/or the key backlight is in an open state. If the result of the determination is YES, the flow goes to S25; if the result of the determination is NO, the flow ends (step S24). The backlight management module 32 controls the timing module 33 to start timing (step S25). When the time counted by the timing module 33 reaches the backlight delay off time in the backlight setting information of the usage mode, the backlight management module 32 controls the backlight unit 4 to turn off the backlight of the screen and/or the button (step S26). The backlight management module 32 controls the timing module 33 to stop timing (step S27). In step S23, the operation of controlling the backlight unit 4 to enter the light state defined by the backlight setting information is specifically: obtaining the current backlight state, and 10 performing on or off according to the current backlight state and the backlight switch state defined by the backlight setting information. Screen and / or button backlight action. The specific work is shown in the following table: The current backlight state defines the backlight switch state. The action is turned on, the switch is turned on, the switch is turned on, the switch is turned on, the switch is turned on, the switch is turned on, the switch is turned off, and the switch is turned off. 1324300. [FIG. 1] FIG. 1 is a hardware diagram of the energy-saving electronic device of the present invention. Architecture diagram. 2 is a flow chart of a method of the energy-saving electronic device of the present invention. [Main component symbol description] Mobile phone 1 Communication unit 2 Micro processing unit 3 Delay setting module 31 Backlight management module 32 Timing module 33 Backlight unit 4 Input unit 5 Storage unit 6 11