TW201229727A - Electronic device and method for running software - Google Patents

Electronic device and method for running software Download PDF

Info

Publication number
TW201229727A
TW201229727A TW100100248A TW100100248A TW201229727A TW 201229727 A TW201229727 A TW 201229727A TW 100100248 A TW100100248 A TW 100100248A TW 100100248 A TW100100248 A TW 100100248A TW 201229727 A TW201229727 A TW 201229727A
Authority
TW
Taiwan
Prior art keywords
time
software
electronic device
mode
battery
Prior art date
Application number
TW100100248A
Other languages
Chinese (zh)
Inventor
Xin Guo
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW100100248A priority Critical patent/TW201229727A/en
Publication of TW201229727A publication Critical patent/TW201229727A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

An electronic device is disclosed. The electronic device includes a built-in battery, a processing unit, and a storage unit. The storage unit is used to store power consuming parameters of kinds of software in different modes. The processing unit includes a battery detecting module, a power consuming parameter obtaining module, and a controlling module. The battery detecting module is used to detect current power of the built-in battery. The power consuming parameter obtaining module is used to obtain corresponding power consuming parameters of software current run in different modes. The controlling module is used to calculate run time of the software in different modes according to the present power of the battery and corresponding power consuming parameters, compare the run time with a preset time, and control the software to run in a corresponding mode according to the comparing result. The present disclosure also provides a software running control method.

Description

201229727 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種電子裝置及軟體運行控制方法,特別涉 及一種能根據内置電池當前的電量控制電子裝置上軟體 的運行模式的電子裝置及軟體運行控制方法。 【先前彳支雄ί】 [0002] 目前,一般的電子裝置,如筆記本電腦、手機、MP3等都 有提供可充電電池對其進行供電,而在充滿電後,該可 充電電池一般都可提供1至數小時的電力供電子裝置運行 。然而,一旦該電子裝置被攜帶外出,或不方便對該可 充電電池進行及時充電時,則需要該電子裝置在該可充 電電池的供應下讓某一個或多個應用軟體盡可能地運行 一設定的時間。 【發明内容】 [0003] 有鑒於此,有必要提供一種能根據當前電池的電量控制 要運行軟體按照設定進行運行的的電子裝置,以解決上 述問題。 [0004] 本發明提供一種電子裝置及軟體運行控制方法,根據該 方法,該電子裝置能根據内置電池當前的電力對將在電 子裝置上運行的軟體的模式進行調整、使該軟體能按照 設定進行運行。 [0005] 該電子裝置包括一内置電池、一處理單元和一存儲單元 ,該内置電池用於為該電子裝置供電,該存儲單元存儲 了各個應用軟體的運行模式以及對應運行模式下的耗電 參數,該處理單元包括一電量偵測模組、一參數獲取模 100100248 表單編號Α0101 第4頁/共16頁 1002000413-0 201229727 組以及一運行控制模組;該電量偵測模組用於即時偵測 該内置電池的電量;該參數獲取模組根據當前要運行的 軟體獲取該軟體在各個運行模式下對應的耗電參數;該 運行控制模組用於根據運行軟體在不同運行模式下的耗 電參數及内置電池當前的電量分別計算出該運行軟體在 不同運行模式下可運行的時間,並分別將該計算出的不 同運行模式下的可運行時間與一設定時間進行比較,根 據比較結果選擇對應的運行模式控制軟體運行。 〇 _] 一種軟體運行控制方法,用於控制一電子裝置根據當前 内置電池的電量情況對在該電子裝置上要運行的應用軟 體的模式進行相應調整,以使得該應用軟體能在當前内 置電池的電量下維持運行所需要的時間。該電子裝置包 括一存儲單元,該存儲單元存儲了各個應用軟體的運行 模式以及對應運行模式下的耗電參數。該運行模式包括 高性能模式、一般性能模式以及低性能模式。該方法包 括步驟: 〇 [0007] 接收一應用軟體要運行的設定時間; [0008] 偵測内置電池當前的電量; [0009] 根據該應用軟體的耗電參數及内置電池當前的電量計算 該應用軟體分別在高性能模式、一般性能模式以及低性 能模式下能運行的第一時間、第二時間以及第三時間; [0010] 判斷該第一時間是否大於該設定時間,當該第一時間大 於該設定時間時,控制該應用軟體在高性能模式下運行; [0011] 判斷該第二時間是否大於該設定時間,當該第二時間大 100100248 表單編號A0101 第5頁/共16頁 1002000413-0 201229727 :該設定時間時’控制該應用軟體在—般性能模式下運 [0012] [0013] 控制該應用軟體在低性能模式下運行。 通過本發明的電子裝置錄料行控财法,該電子裝 置可根據内置電池當前的電量情況對在該電子裝置上兩 要運行的應用軟體的模式進行相 而 ,且方便使用。h下維持運仃所需要的時間 【實施方式】 [0014] [0015] 100100248 請參隨電子裝置10。包括内置電池10,該内置電 池10用於為該電子裝置100供電。該電子装置100可根據 内置電池_當前電量情況對在該電子裝置⑽上需: 订的應用軟體的模式進行相應調整,以使得該應用軟體 能在當前内置電池10的電量下維持運行所需要的時間。 =本實施方式中’該電子裝置恤為筆記本電腦。在其他 實施方式中’該電子裝置咖為可檇式電子襄置,如MP3 、MP4、可檇式DVD播放器等。 該電子裝置⑽包括—處理單元2G和—存儲單元30。該存 錯早_存儲了各個應用軟體的運行模式 模式下的耗電她。在本實施方式巾,該私料= 网性賴式、—般性錢式収純能模式,該各應用 軟體的耗電參數包括該軟體分別在高性能模式、—般性 能模式以及低性能模式下運行時的耗電速度,該耗電又速 度為早位時間_耗電量。例如,在本實施方式的筆記 t電腦中’在運行-個遊戲軟體時,在運 表單編號細 第⑽共丨6頁 f此棋式運 1002000 201229727 二’可翻好的音箱效果和色澤效果,但對該筆記本 電腦的音效卡和顯卡的運行要求高,從而該軟體運行的 耗電速度快。在—般性能模式下,可達到—般的音箱效 果和色澤效果’從而該㈣運行的耗電速度—般。在該 低性能模式下,僅僅要求該遊戲能夠運行,從而對該: 效卡和顯卡的運行要求低,從而該軟體運行對應的耗 速度慢。 [0016] ❹ 〇 該處理I元2G包括—電量仙模組2Q2、_參_取_ 203以及-運行控制模組2〇4。該電量偵測模組咖用於 即時制内置電池10的電量。該參數獲取模組203根據當 刖要運仃的軟體獲取該軟體在各相運行模式下對應的耗 電參數。該運行控制模組204用於雜運行軟體在不同運 行模式下的耗電參數及内置電池10當前的電量分別計算 出該運行軟體在不同運行模式下可運行的時間,並分別 將該計算出的不同運行模式下的可運行時間與一設定時 間進行比較,並根據比較結果選擇對應的運行模式控制 軟體運行。其中,該内置電池10當前的電量與該應用軟 體不同運行模式的耗電參數的比值即為該應用軟體在對 應模式下可運行的時間。在本實施方式中,該處理單元 20還包括一設定模組2〇1,該設定模組201用於接收用戶 在運行一應用軟體前設定運行該軟體的時間,即該設定 時間。 具體地說,該運行控制模組204根據該電池1〇當前的電量 及該軟體在高性能模式、一般性能模式以及低性能模式 下的耗電參數判斷該軟體在電子裝置1〇〇的三種模式下分 100100248 表單編號A0101 第7頁/共16頁 1002000413-0 [0017] 201229727 別能運行的第一時間、第二時間以及第三時間,根據軟 體在不同模式下的耗電參數可知,該第一時間小於該第 二時間,該第二時間小於該第三時間。該運行控制模組 204依次將該設定時間與該第一時間、第二時間以及第三 時間進行比較,並根據比較結果選擇相應的運行模式。 即,該運行控制模組204首先比較該設定時間是否小於該 第一時間,如果是,則該運行控制模組204控制該軟體在 高性能模式下運行;如果否,則該運行控制模組204進一 步比較該設定時間是否小於該第二時間,如果是,則該 運行控制模組204控制該軟體在一般性能模式下運行;如 果否,該運行控制模組204控制該軟體在低性能模式下運 行。其中,當用戶設定的設定時間大於該第三時間時, 該運行控制模組204提醒用戶當前輸入的設定時間過長, 需要重新設定。當該設定時間小於或等於該第三時間時 ,該設定時間被設定有效並存儲至存儲單元30中。 [0018] 在本實施方式中,該存儲單元30還用於存儲一歷史運行 時間,該歷史運行時間根據用戶的歷史使用習慣或設定 進行確定。若用戶未在開啟一軟體前進行設定時間的設 定,則該運行控制模組204依次將該歷史運行時間與第一 時間、第二時間以及第三時間進行比較,並根據比較結 果確定該應用軟體的運行模式。 [0019] 在本實施方式中,該電子裝置100還包括一耗電參數偵測 模組205,當該電子裝置100新安裝一軟體時,該耗電參 數偵測模組205偵測該軟體在不同模式下運行的耗電參數 ,並存儲於該存儲單元30中。在本實施方式中,每一軟 100100248 表單編號A0101 第8頁/共16頁 1002000413-0 201229727 體均具有高性能模式、一般性能模式以及低性能模式, 該每一軟體均可根據用戶的選擇而在相應的模式下運行 [0020] 在本實施方式中,該電子裝置100還包括一電源切換模組 206,該電源切換模組206用於偵測電子裝置100是否有 外部電源接入,並優先選擇外部電源為電子裝置100供電 。例如,該電源切換模組206偵測一電源適配器是否向該 電子裝置100供電,當偵測到該電源適配器向該電子裝置 ^ 100供電時,該電源切換模組206切換該電源適配器作為 電源為該電子裝置100供電。在沒有偵測到電源適配器向 該電子裝置100供電時,該電源切換模組切換内置電池10 作為電源為該電子裝置100供電。 [0021] 請參考圖2,為本發明一實施方式中軟體運行控制方法的 示意圖。該軟體運行控制方法用於控制一電子裝置100根 據當前内置電池10的電量情況對在該電子取置100上要運 行的應用軟體的模式進行相應調整,以使得該應用軟體 〇 能在當前内置電池ίο的電量下維持運行所需要的時間。 該電子裝置100包括一存儲單元30,該存儲單元30存儲了 各個應用軟體的運行模式以及對應運行模式下的耗電參 數。該運行模式包括高性能模式、一般性能模式以及低 性能模式。該方法包括步驟: [0022] S1 0 1 :接收一應用軟體要運行的設定時間; [0023] S10 2 :偵測内置電池當前的電量; [0024] S103 :根據該應用軟體的耗電參數及内置電池當前的電 100100248 表單編號A0101 第9頁/共16頁 1002000413-0 201229727 量計算該應用軟體分別在高性能模式、一般性能模式以 及低性能模式下能運行的第一時間、第二時間以及第三 時間; [0025] S104 :判斷該第三時間是否小於該設定時間,如果是, 則返回執行S101,如果否,則執行S1 0 5 ; [0026] S105 :判斷該第一時間是否大於該設定時間,如果是, 則執行S1 0 51,如果否,則執行S10 6 ; [0027] S1051 :控制該應用軟體在高性能模式下運行; [0028] S106 :判斷該第二時間是否大於該設定時間,如果是, 則執行S1061,如果否,則執行S107; [0029] S1061 :控制該應用軟體在一般性能模式下運行; [0030] S107 :控制該應用軟體在低性能模式下運行。 【圖式簡單說明】 [0031] 圖1為本發明一實施方式中電子裝置的示意圖。 [0032] 圖2為本發明一實施方式中軟體運行控制方法的示意圖。 【主要元件符號說明】 [0033] 電子裝置:100 [0034] 内置電池:1 0 [0035] 處理單元:20 [0036] 存儲單元:30 [0037] 設定模組:201 100100248 表單編號A0101 第10頁/共16頁 1002000413-0 201229727 [0038] 電量偵測模組:202 [0039] 參數獲取模組:203 [0040] 運行控制模組:204 [0041] 耗電參數偵測模組:205 [0042] 電源切換模組:206 [0043] 步驟:S101-S107、S1051、S1061 ❹ Ο 100100248 表單編號A0101 第11頁/共16頁 1002000413-0201229727 VI. Description of the Invention: [Technical Field] The present invention relates to an electronic device and a software operation control method, and more particularly to an electronic device capable of controlling an operation mode of a software on an electronic device according to the current power of the built-in battery and Software operation control method. [Before Yu Zhixiong] [0002] At present, general electronic devices, such as notebook computers, mobile phones, MP3s, etc., provide rechargeable batteries to supply power, and when fully charged, the rechargeable batteries are generally available. One to several hours of power is supplied to the electronic device. However, once the electronic device is carried out, or is inconvenient to charge the rechargeable battery in time, the electronic device is required to allow one or more application software to run a setting as much as possible under the supply of the rechargeable battery. time. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide an electronic device capable of controlling a running software to operate according to a setting according to the current battery power amount to solve the above problem. The present invention provides an electronic device and a software operation control method. According to the method, the electronic device can adjust a mode of a software running on the electronic device according to a current power of the built-in battery, so that the software can be configured according to the setting. run. [0005] The electronic device includes a built-in battery, a processing unit and a storage unit, and the built-in battery is used for powering the electronic device, and the storage unit stores an operation mode of each application software and a power consumption parameter in a corresponding operation mode. The processing unit includes a power detecting module, a parameter acquiring module 100100248, a form number Α0101, a fourth page, a total of 16 pages, a 1002000413-0201229727 group, and a running control module; the power detecting module is used for instant detection. The power of the built-in battery; the parameter acquisition module obtains the power consumption parameter of the software in each operation mode according to the software to be currently running; the operation control module is used to calculate the power consumption parameter of the running software according to different operating modes of the software. And the current power of the built-in battery respectively calculates the running time of the running software in different operating modes, and respectively compares the calculated running time in different operating modes with a set time, and selects corresponding corresponding according to the comparison result. The operating mode controls the software to run. 〇_] A software operation control method for controlling an electronic device to adjust a mode of an application software to be run on the electronic device according to a current state of the built-in battery, so that the application software can be in the current built-in battery The time required to maintain operation under power. The electronic device includes a storage unit that stores an operation mode of each application software and a power consumption parameter in a corresponding operation mode. This mode of operation includes a high performance mode, a general performance mode, and a low performance mode. The method comprises the steps of: 〇[0007] receiving a set time for an application software to run; [0008] detecting the current power of the built-in battery; [0009] calculating the application according to the power consumption parameter of the application software and the current power of the built-in battery The first time, the second time, and the third time that the software can operate in the high performance mode, the general performance mode, and the low performance mode, respectively; [0010] determining whether the first time is greater than the set time, when the first time is greater than When the time is set, the application software is controlled to run in the high performance mode; [0011] determining whether the second time is greater than the set time, when the second time is greater 100100248, form number A0101, page 5, total 16 pages, 1002000413-0 201229727: Control the application software in the general performance mode at the set time [0012] [0013] Control the application software to run in the low performance mode. According to the electronic device recording and controlling method of the electronic device of the present invention, the electronic device can perform the mode of the two application softwares to be run on the electronic device according to the current state of the built-in battery, and is convenient to use. Time required to maintain the operation of the operation system [Embodiment] [0015] 100100248 Please refer to the electronic device 10. A built-in battery 10 for powering the electronic device 100 is included. The electronic device 100 can adjust the mode of the application software to be customized on the electronic device (10) according to the built-in battery_current power condition, so that the application software can maintain the operation required for the current built-in battery 10. time. In the present embodiment, the electronic device shirt is a notebook computer. In other embodiments, the electronic device is a portable electronic device such as an MP3, MP4, portable DVD player or the like. The electronic device (10) includes a processing unit 2G and a storage unit 30. This error is early _ stored in the operating mode mode of each application software. In the embodiment, the private material=network-based, general-purpose money-receiving mode, and the power consumption parameters of the application software include the software in the high-performance mode, the general performance mode, and the low-performance mode. The power consumption speed when running, the power consumption speed is the early time _ power consumption. For example, in the notebook t computer of the present embodiment, when running a game software, the number of the form is fine (10), a total of 6 pages, and the game is 1002000 201229727, which can be turned into a good speaker effect and a color effect. However, the operation of the sound card and the graphics card of the notebook computer is high, so that the software runs at a high speed. In the general performance mode, the speaker effect and color effect can be achieved, so that the power consumption of the (four) operation is generally the same. In this low performance mode, the game is only required to be able to operate, so that the operation requirements of the utility card and the graphics card are low, so that the corresponding operation speed of the software is slow. [0016] The processing I element 2G includes a battery module 2Q2, a parameter _ _ 203, and an operation control module 2 〇 4. The power detection module is used to instantly control the power of the built-in battery 10. The parameter acquisition module 203 obtains the power consumption parameter corresponding to the software in each phase operation mode according to the software to be shipped. The operation control module 204 is configured to calculate the power consumption parameters of the miscellaneous running software in different operating modes and the current power of the built-in battery 10, respectively, and calculate the running time of the running software in different operating modes, and respectively calculate the calculated The runnable time in different operating modes is compared with a set time, and the corresponding operating mode control software operation is selected according to the comparison result. The ratio of the current power of the internal battery 10 to the power consumption parameter of the operating mode of the application software is the time that the application software can run in the corresponding mode. In the embodiment, the processing unit 20 further includes a setting module 201. The setting module 201 is configured to receive a time for the user to run the software before running the application software, that is, the set time. Specifically, the operation control module 204 determines three modes of the software in the electronic device according to the current power of the battery 1 and the power consumption parameter of the software in the high performance mode, the general performance mode, and the low performance mode. Sub-division 100100248 Form No. A0101 Page 7 / Total 16 Page 1002000413-0 [0017] 201229727 The first time, the second time and the third time that can not be operated, according to the power consumption parameters of the software in different modes, the first A time is less than the second time, and the second time is less than the third time. The operation control module 204 sequentially compares the set time with the first time, the second time, and the third time, and selects a corresponding operation mode according to the comparison result. That is, the operation control module 204 first compares whether the set time is less than the first time, and if so, the operation control module 204 controls the software to run in the high performance mode; if not, the operation control module 204 Further comparing whether the set time is less than the second time, if yes, the operation control module 204 controls the software to run in a general performance mode; if not, the operation control module 204 controls the software to run in a low performance mode . When the set time set by the user is greater than the third time, the operation control module 204 reminds the user that the currently set time is too long and needs to be reset. When the set time is less than or equal to the third time, the set time is set to be valid and stored in the storage unit 30. [0018] In this embodiment, the storage unit 30 is further configured to store a historical running time, and the historical running time is determined according to a user's historical usage habit or setting. If the user does not set the set time before starting the software, the operation control module 204 sequentially compares the historical running time with the first time, the second time, and the third time, and determines the application software according to the comparison result. Running mode. In the embodiment, the electronic device 100 further includes a power consumption parameter detecting module 205. When the electronic device 100 newly installs a software, the power consumption parameter detecting module 205 detects that the software is in the software. The power consumption parameters operating in different modes are stored in the storage unit 30. In this embodiment, each soft 100100248 form number A0101 page 8 / total 16 pages 1002000413-0 201229727 has a high performance mode, a general performance mode and a low performance mode, each software can be selected according to the user. [0020] In the embodiment, the electronic device 100 further includes a power switching module 206, and the power switching module 206 is configured to detect whether the electronic device 100 has external power access, and is preferentially The external power source is selected to supply power to the electronic device 100. For example, the power switching module 206 detects whether a power adapter supplies power to the electronic device 100. When detecting that the power adapter supplies power to the electronic device 100, the power switching module 206 switches the power adapter as a power source. The electronic device 100 is powered. When the power adapter is not detected to supply power to the electronic device 100, the power switching module switches the internal battery 10 as a power source to supply power to the electronic device 100. [0021] Please refer to FIG. 2, which is a schematic diagram of a software operation control method according to an embodiment of the present invention. The software running control method is used to control an electronic device 100 to adjust the mode of the application software to be run on the electronic device 100 according to the current state of the internal battery 10, so that the application software can be in the current built-in battery. Ίο The amount of time it takes to keep running. The electronic device 100 includes a storage unit 30 that stores an operation mode of each application software and a power consumption parameter in a corresponding operation mode. This mode of operation includes a high performance mode, a general performance mode, and a low performance mode. The method includes the following steps: [0022] S1 0 1 : receiving a set time for an application software to run; [0023] S10 2: detecting a current power of the built-in battery; [0024] S103: according to the power consumption parameter of the application software and Built-in battery current power 100100248 Form number A0101 Page 9 / Total 16 pages 1002000413-0 201229727 The calculation of the application software in the high performance mode, the general performance mode and the low performance mode can run the first time, the second time and a third time; [0025] S104: determining whether the third time is less than the set time, if yes, returning to execute S101, and if not, executing S1 0 5; [0026] S105: determining whether the first time is greater than the Set time, if yes, execute S1 0 51, if not, execute S10 6; [0027] S1051: control the application software to run in high performance mode; [0028] S106: determine whether the second time is greater than the setting Time, if yes, execute S1061, if not, execute S107; [0029] S1061: control the application software to run in a general performance mode; [0030] S107: control the application software in a low performance mode Run under the style. BRIEF DESCRIPTION OF THE DRAWINGS [0031] FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. 2 is a schematic diagram of a software operation control method according to an embodiment of the present invention. [Main component symbol description] [0033] Electronic device: 100 [0034] Built-in battery: 1 0 [0035] Processing unit: 20 [0036] Storage unit: 30 [0037] Setting module: 201 100100248 Form number A0101 Page 10 / Total 16 pages 1002000413-0 201229727 [0038] Battery detection module: 202 [0039] Parameter acquisition module: 203 [0040] Operation control module: 204 [0041] Power consumption parameter detection module: 205 [0042 Power Switching Module: 206 [0043] Steps: S101-S107, S1051, S1061 ❹ Ο 100100248 Form No. A0101 Page 11 / Total 16 Page 1002000413-0

Claims (1)

201229727 七、申請專利範圍: 1 . 一種電子裝置,包括一内置電池、一處理單元和一存儲單 元,該内置電池用於為該電子裝置供電,其改良在於,該 存儲單元存儲了各個應用軟體的運行模式以及對應運行模 式下的耗電參數,該處理單元包括一電量偵測模組、一參 數獲取模組以及一運行控制模組; 該電量偵測模組用於即時偵測該内置電池的電量; 該參數獲取模組根據當前要運行的軟體獲取該軟體在各個 運行模式下對應的耗電參數; 該運行控制模組用於根據運行軟體在不同運行模式下的耗 電參數及内置電池當前的電量分別計算出該運行軟體在不 同運行模式下可運行的時間,並分別將該計算出的不同運 行模式下的可運行時間與一設定時間進行比較,並根據比 較結果選擇對應的運行模式控制軟體運行。 2 .如申請專利範圍第1項所述之電子裝置,其中,該處理單 元還包括一設定模組,該設定模組用於接收用戶在運行一 應用軟體前設定該應用軟體的設定時間。 3 .如申請專利範圍第1項所述之電子裝置,其中,該運行模 式包括高性能模式、一般性能模式以及低性能模式,該運 行控制模組根據内置電池當前的電量及該軟體在高性能模 式、一般性能模式以及低性能模式下的耗電參數判斷該應 用軟體在三種模式下分別能運行的第一時間、第二時間以 及第三時間,該運行控制模組依次將該設定時間與該第一 時間、第二時間以及第三時間進行比較,並根據比較結果 選擇相應的運行模式。 100100248 表單編號A0101 第12頁/共16頁 1002000413-0 201229727 4 .如申請專利範圍第3項所述之電子裝置,其中,當該設定 時間小於或等於該第三時間時,該設定時間被設定有效並 存儲至存儲單元中,該運行控制模組首先比較該設定時間 . 是否小於該第一時間,如果是,則該運行控制模組控制該 • 軟體在高性能模式下運行;如果否,則該運行控制模組進 一步比較該設定時間是否小於該第二時間,如果是,則該 運行控制模組控制該軟體在一般性能模式下運行;如果否 ,該運行控制模組控制該軟體在低性能模式下運行。 5 .如申請專利範圍第1項所述之電子裝置,其中,該存儲單 〇 元還用於存儲一歷史運行時間,該歷史運行時間根據用戶 的歷史使用習慣或設定進行確定,若用戶未在開啟該應用 • 軟體前進行設定時間的設定,則該運行控制模組依次將該 歷史運行時間與該第一時間、第二時間以及第三時間進行 比較,並根據比較結果確定該應用軟體的運行模式。 6. 如申請專利範圍第1項所述之電子裝置,其中,該電子裝 置還包括一耗電參數偵測模組,當該電子裝置新安裝一軟 體時,該耗電參數偵測模組偵測該軟體在不同模式下運行 〇 的耗電參數,並存儲於該存儲單元中。 7. 如申請專利範圍第1項所述之電子裝置,其中,該電子裝 置還包括一電源切換模組,該電源切換模組用於偵測電子 裝置是否有外部電源接入,並優先選擇外部電源為電子裝 置供電。 8. 如申請專利範圍第1項所述之電子裝置,其中,該電子裝 置為筆記本電腦、MP3、MP4、可檇式DVD播放器的一種。 9 . 一種軟體運行控制方法,用於控制一電子裝置根據當前内 置電池的電量情況對在該電子裝置上要運行的應用軟體的 100100248 表單編號A0101 第13頁/共16頁 1002000413-0 201229727 模式進行相應調整,以使得該應用軟體在當前内置電池的 電量下維持運行所需要的時間,該電子裝置包括一存儲單 元,其改良在於,該存儲單元存儲了各個應用軟體的運行 模式以及對應運行模式下的耗電參數,該運行模式包括高 性能模式、一般性能模式以及低性能模式,該方法包括步 驟: 接收一應用軟體要運行的設定時間; 偵測内置電池當前的電量; 根據該應用軟體的耗電參數及内置電池當前的電量計算該 應用軟體分別在高性能模式、一般性能模式以及低性能模 式下能運行的第一時間、第二時間以及第三時間; 判斷該第一時間是否大於該設定時間,當該第一時間大於 該設定時間時,控制該應用軟體在高性能模式下運行; 判斷該第二時間是否大於該設定時間,當該第二時間大於 該設定時間時,控制該應用軟體在一般性能模式下運行; 控制該應用軟體在低性能模式下運行。 10 .如申請專利範圍第9項所述之軟體運行控制方法,其中, 在判斷該第一時間是否大於該設定時間前先判斷該第三時 間是否小於該設定時間,如果是,則返回執行接收一應用 軟體要運行的設定時間,如果否,則執行判斷該第一時間 是否大於該設定時間。 100100248 表單編號A0101 第14頁/共16頁 1002000413-0201229727 VII. Patent application scope: 1. An electronic device comprising a built-in battery, a processing unit and a storage unit, wherein the built-in battery is used for powering the electronic device, and the improvement is that the storage unit stores the application software. The operation mode includes a power detection module, a parameter acquisition module, and an operation control module. The power detection module is configured to detect the built-in battery in real time. The parameter acquisition module obtains the power consumption parameter of the software in each operation mode according to the software to be currently running; the operation control module is used for the power consumption parameter of the running software in different operation modes and the current battery of the built-in battery. The power is calculated separately for the running time of the running software in different operating modes, and the calculated running time in different operating modes is compared with a set time respectively, and the corresponding operating mode control is selected according to the comparison result. The software runs. 2. The electronic device of claim 1, wherein the processing unit further comprises a setting module, configured to receive a set time of the application software before the user runs an application software. 3. The electronic device according to claim 1, wherein the operation mode comprises a high performance mode, a general performance mode, and a low performance mode, and the operation control module is based on a current state of the built-in battery and the high performance of the software. The mode, the general performance mode, and the power consumption parameter in the low performance mode determine the first time, the second time, and the third time that the application software can respectively operate in the three modes, and the operation control module sequentially sets the set time and the The first time, the second time, and the third time are compared, and the corresponding operation mode is selected according to the comparison result. The electronic device of claim 3, wherein the set time is set when the set time is less than or equal to the third time, 100100248, the form number is A0101, and the second time is set. Valid and stored in the storage unit, the operation control module first compares the set time. Whether it is less than the first time, if yes, the operation control module controls the software to run in the high performance mode; if not, then The operation control module further compares whether the set time is less than the second time. If yes, the operation control module controls the software to run in a general performance mode; if not, the operation control module controls the software to perform at a low performance Run in mode. 5. The electronic device of claim 1, wherein the storage unit is further configured to store a historical running time, the historical running time being determined according to a user's historical usage habit or setting, if the user is not in the When the application is started and the setting time is set before the software, the operation control module sequentially compares the historical running time with the first time, the second time, and the third time, and determines the running of the application software according to the comparison result. mode. 6. The electronic device of claim 1, wherein the electronic device further comprises a power consumption parameter detecting module, wherein when the electronic device newly installs a software body, the power consumption parameter detecting module detects The power consumption parameter of the software running in different modes is measured and stored in the storage unit. 7. The electronic device of claim 1, wherein the electronic device further comprises a power switching module, wherein the power switching module is configured to detect whether the electronic device has external power access, and preferentially selects an external device. The power supply supplies power to the electronic device. 8. The electronic device of claim 1, wherein the electronic device is one of a notebook computer, an MP3, an MP4, and a portable DVD player. 9. A software operation control method for controlling an electronic device to perform a 100100248 form number A0101 13th/16 pages 1002000413-0 201229727 mode of an application software to be run on the electronic device according to a current state of the built-in battery. Correspondingly, so that the application software maintains the time required for the operation of the current built-in battery, the electronic device includes a storage unit, and the improvement is that the storage unit stores the operation mode of each application software and the corresponding operation mode. The power consumption parameter includes a high performance mode, a general performance mode, and a low performance mode. The method includes the steps of: receiving a set time for an application software to run; detecting a current power of the built-in battery; and consuming the software according to the application The electrical parameter and the current power of the built-in battery calculate the first time, the second time, and the third time that the application software can operate in the high performance mode, the general performance mode, and the low performance mode respectively; determine whether the first time is greater than the setting Time, when the first time is big At the set time, controlling the application software to run in the high performance mode; determining whether the second time is greater than the set time, and when the second time is greater than the set time, controlling the application software to run in the general performance mode; The application software runs in low performance mode. 10. The software operation control method according to claim 9, wherein, before determining whether the first time is greater than the set time, determining whether the third time is less than the set time, and if yes, returning to perform receiving. The set time for an application software to run, and if not, it is determined whether the first time is greater than the set time. 100100248 Form No. A0101 Page 14 of 16 1002000413-0
TW100100248A 2011-01-05 2011-01-05 Electronic device and method for running software TW201229727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100100248A TW201229727A (en) 2011-01-05 2011-01-05 Electronic device and method for running software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100100248A TW201229727A (en) 2011-01-05 2011-01-05 Electronic device and method for running software

Publications (1)

Publication Number Publication Date
TW201229727A true TW201229727A (en) 2012-07-16

Family

ID=46934016

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100100248A TW201229727A (en) 2011-01-05 2011-01-05 Electronic device and method for running software

Country Status (1)

Country Link
TW (1) TW201229727A (en)

Similar Documents

Publication Publication Date Title
CN106786958B (en) Charging method, device and terminal
US8851992B2 (en) Music player for video game consoles and electronic devices operable in sleep or power-saving modes
JP5858155B2 (en) Method for automatically switching user interface of portable terminal device, and portable terminal device
CN103858070B (en) A kind of control method, starting-up method and electronic equipment thereof of the threshold voltage that shuts down
US11476695B2 (en) Electronic device and method for adjusting charge cycle or discharge cycle of battery
US9892691B1 (en) Adaptive battery management
CN111082487B (en) Charging control method and device, electronic equipment
JP2004112986A (en) Battery charging system and charging method
JP2023531945A (en) Multibay Power Charge Balancing
KR20130090136A (en) Method and apparatus for charging battery
KR20150085642A (en) Power supply, electronic apparatus including the same and method for power supplying
CN104808761A (en) Power supply method, power supply system and electronic equipment
TWI398977B (en) Method of managing rechargeable battery
TWI408541B (en) Power management device for a computer system and related power management method and computer system
US20120042183A1 (en) Apparatus for adjusting computer power mode
CN103106020A (en) Display method and electronic device
CN102540920A (en) Electronic device and software running control method
CN104461604A (en) Information processing method and electronic equipment
US20120126819A1 (en) Detecting device and method for detecting battery storage capacity
JP2014120072A (en) Information processor and method for controlling information processor
CN101059686B (en) Portable electronic device with electricity-saving function and its implementation method
JP6124852B2 (en) Portable information processing apparatus, battery control method thereof, and computer-executable program
TW201229727A (en) Electronic device and method for running software
TW202226016A (en) Secure device power-up apparatus and method
WO2020024800A1 (en) Method and device for displaying electric quantities of dual batteries