CN103529925A - Method and device for switching central processing unit (CPU) working modes according to application scenarios - Google Patents
Method and device for switching central processing unit (CPU) working modes according to application scenarios Download PDFInfo
- Publication number
- CN103529925A CN103529925A CN201310528393.9A CN201310528393A CN103529925A CN 103529925 A CN103529925 A CN 103529925A CN 201310528393 A CN201310528393 A CN 201310528393A CN 103529925 A CN103529925 A CN 103529925A
- Authority
- CN
- China
- Prior art keywords
- cpu
- application scenarios
- mode
- terminal
- mapping table
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Abstract
The invention is applicable to the communication field and provides a method and a device for switching central processing unit (CPU) working modes according to application scenarios. The method includes detecting a current application scenario of a terminal; switching to a corresponding CPU working mode according to the detected application scenario and a preset mapping table of the application scenarios and the CPU working modes. By means of the method and the device, power consumption of the terminal can be reduced, and the cruising ability of batteries is improved.
Description
Technical field
The invention belongs to the communications field, relate in particular to a kind of according to method and the device of application scenarios CPU switching mode of operation.
Background technology
Battery continuation of the journey has become problem of paying close attention to of smart mobile phone.Nowadays, smart mobile phone is to frivolous pursuit in structural design, and what make that device battery capacity can not do is very large.So how in the situation that battery electric quantity is certain, optimization system power consumption, provides the flying power of system, has become key subjects to the good experience of user.The factor that affects system power dissipation much comprises display screen, CPU etc., take CPU as example, CPU mode of operation generally comprises Interactive3, Ondemand2, Userspace4, Powersave5, Performance1 etc., different CPU mode of operations is different on the impact of system power dissipation, generally speaking, low-power consumption mode has better cruising time, but system fluency is not as good as high power consumption mode, and common intelligent machine is when arranging cpu model, generally select the pattern of a compromise.The defect of above-mentioned discount pattern is cannot meet the system smoothness of high power consumption application, also cannot meet better cruising time.
Summary of the invention
It is a kind of according to method and the device of application scenarios CPU switching mode of operation that the object of the embodiment of the present invention is to provide, and being intended to solve existing terminal cannot cause the battery not enough problem of continuing a journey according to the different CPU of adjustment of application scenarios mode of operation.
The embodiment of the present invention is achieved in that a kind of according to the method for application scenarios CPU switching mode of operation, and described method comprises:
The application scenarios that sense terminals is current;
According to the application scenarios detecting and default application scenarios, switch to corresponding CPU mode of operation with the mapping table of CPU mode of operation.
Further, before carrying out the current application scenarios of described sense terminals, comprise:
State parameter under the different application scene of described terminal is set; And,
The mapping table of application scenarios and CPU mode of operation is set.
Further, described state parameter comprises the on off state of terminal screen and/or the load condition of CPU.
Further, described CPU mode of operation comprises default mode, game mode and standby mode.
The present invention also proposes a kind of according to the device of application scenarios CPU switching mode of operation, and described device comprises:
Detection module, for detection of the current application scenarios of terminal;
Handover module, for switching to corresponding CPU mode of operation according to the application scenarios detecting and default application scenarios with the mapping table of CPU mode of operation.
Further, also comprise:
Module is set, for the state parameter under the different application scene of described terminal is set; And, the mapping table of application scenarios and CPU mode of operation is set.
Further, described state parameter comprises the on off state of terminal screen and/or the load condition of CPU.
Further, described CPU mode of operation comprises default mode, game mode and standby mode.
In embodiments of the present invention, terminal is judged the current residing application scenarios of terminal according to state parameters such as current screen on-off, cpu loads, according to this application scenarios, switch to corresponding CPU mode of operation again, so, under different CPU mode of operations, provide different batteries to supply with, met the application of high power consumption, the problem that has solved again battery continuation of the journey, provides good experience to user.
Accompanying drawing explanation
Fig. 1 be the embodiment of the present invention provide according to the process flow diagram of the method for application scenarios CPU switching mode of operation;
Fig. 2 be the embodiment of the present invention provide according to the structural drawing of the device of application scenarios CPU switching mode of operation.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention one proposes a kind of according to the method for application scenarios CPU switching mode of operation.As shown in Figure 1, the method for the embodiment of the present invention one comprises:
Step S1, the state parameter under the different application scene of terminal is set and application scenarios is set and the mapping table of CPU mode of operation.A plurality of specific application scenarioss of model and state parameter thereof, under different application scenarioss, the state parameter of terminal is different, and the state parameter of terminal comprises the time that the on off state of terminal screen, screen open or close, the load condition of CPU etc.By start scene setting, be for example that screen is opened, the load of CPU is 50%; Scene of game is set to that screen is opened, cpu load is more than 80%, and CPU mode of operation corresponding to this scene is game mode.CPU mode of operation comprises Performance pattern, Ondemand pattern, Interactive pattern, Userspace pattern, Powersave pattern, and its power consumption reduces successively.Secondly, the CPU mode of operation that each application scenarios is corresponding is set, sets up the mapping table of application scenarios and CPU mode of operation, for example when scene of game, corresponding CPU mode of operation is Performance pattern.
Step S2, the current application scenarios of sense terminals.In real time or the various state parameters of manual inspection terminal, the current application scenarios of judgement terminal, the screen that is terminal opens or closes, the time opening or closing and the loading condition of CPU, other can consider that state parameter is also applicable to this programme, then determines according to above-mentioned state parameter the application scenarios that terminal is current.
The application scenarios that step S3, basis detect switches to corresponding CPU mode of operation.According to the mapping table setting in advance, determine CPU mode of operation corresponding to application scenarios detecting.As closed while reaching default time when listening to screen, judge the scene of terminal in standby, now CPU mode of operation can be switched to Powersave pattern, save system power dissipation; And when cpu load is greater than 80%, CPU mode of operation is switched to Interactive pattern, now can control system power dissipation excessive.
The embodiment of the present invention one adopts dynamically adjusts CPU mode of operation according to the application scenarios of terminal, can reduce the power consumption of system, extends cruising time.Owing to dynamically adjusting CPU mode of operation, under the special scenes such as scene of game, adopt high performance CPU mode of operation, also can strengthen user's experience.
embodiment bis-
The embodiment of the present invention two proposes a kind of according to the device of application scenarios CPU switching mode of operation, and this device can be terminal itself, can be also the built-in or external device of terminal.As shown in Figure 2, the device of the embodiment of the present invention comprises:
Module 10 is set, for the state parameter under the different application scene of described terminal is set; And, the mapping table of application scenarios and CPU mode of operation is set.
Detection module 20, for detection of the current application scenarios of terminal;
Handover module 30, for switching to corresponding CPU mode of operation according to the application scenarios detecting and default application scenarios with the mapping table of CPU mode of operation.
Particularly, module a plurality of specific application scenarioss of 10 model and state parameter thereof are set, under different application scenarioss, the state parameter of terminal is different, and the state parameter of terminal comprises the time that the on off state of terminal screen, screen open or close, the load condition of CPU etc.By start scene setting, be for example that screen is opened, the load of CPU is 50%; Scene of game is set to that screen is opened, cpu load is more than 80%, and CPU mode of operation corresponding to this scene is game mode.CPU mode of operation comprises Performance pattern, Ondemand pattern, Interactive pattern, Userspace pattern, Powersave pattern, and its power consumption reduces successively.Secondly, module 10 is set the CPU mode of operation that each application scenarios is corresponding is set, set up the mapping table of application scenarios and CPU mode of operation, for example when scene of game, corresponding CPU mode of operation is Performance pattern.
Detection module 20 in real time or the various state parameters of manual inspection terminal, the current application scenarios of judgement terminal, the screen that is terminal opens or closes, the time opening or closing and the loading condition of CPU, other can consider that state parameter is also applicable to this programme, then determines according to above-mentioned state parameter the application scenarios that terminal is current.
Handover module 30 is determined CPU mode of operation corresponding to application scenarios detecting according to the mapping table setting in advance.As closed while reaching default time when listening to screen, judge the scene of terminal in standby, now CPU mode of operation can be switched to Powersave pattern, save system power dissipation; And when cpu load is greater than 80%, CPU mode of operation is switched to Interactive pattern, now can control system power dissipation excessive.
The device of the embodiment of the present invention two is dynamically adjusted CPU mode of operation according to the application scenarios of terminal, can reduce the power consumption of system, extends cruising time.Owing to dynamically adjusting CPU mode of operation, under the special scenes such as scene of game, adopt high performance CPU mode of operation, also can strengthen user's experience.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (8)
1. according to a method for application scenarios CPU switching mode of operation, it is characterized in that, described method comprises:
The application scenarios that sense terminals is current;
According to the application scenarios detecting and default application scenarios, switch to corresponding CPU mode of operation with the mapping table of CPU mode of operation.
2. the method for claim 1, is characterized in that, before carrying out the current application scenarios of described sense terminals, comprises:
State parameter under the different application scene of described terminal is set; And,
The mapping table of application scenarios and CPU mode of operation is set.
3. method as claimed in claim 2, is characterized in that, described state parameter comprises the on off state of terminal screen and/or the load condition of CPU.
4. method as claimed in claim 1 or 2, is characterized in that, described CPU mode of operation comprises default mode, game mode and standby mode.
5. according to a device for application scenarios CPU switching mode of operation, it is characterized in that, described device comprises:
Detection module, for detection of the current application scenarios of terminal;
Handover module, for switching to corresponding CPU mode of operation according to the application scenarios detecting and default application scenarios with the mapping table of CPU mode of operation.
6. device as claimed in claim 5, is characterized in that, also comprises:
Module is set, for the state parameter under the different application scene of described terminal is set; And, the mapping table of application scenarios and CPU mode of operation is set.
7. device as claimed in claim 6, is characterized in that, described state parameter comprises the on off state of terminal screen and/or the load condition of CPU.
8. the device as described in any one in claim 5 to 7, is characterized in that, described CPU mode of operation comprises default mode, game mode and standby mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310528393.9A CN103529925A (en) | 2013-10-30 | 2013-10-30 | Method and device for switching central processing unit (CPU) working modes according to application scenarios |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310528393.9A CN103529925A (en) | 2013-10-30 | 2013-10-30 | Method and device for switching central processing unit (CPU) working modes according to application scenarios |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103529925A true CN103529925A (en) | 2014-01-22 |
Family
ID=49932004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310528393.9A Pending CN103529925A (en) | 2013-10-30 | 2013-10-30 | Method and device for switching central processing unit (CPU) working modes according to application scenarios |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103529925A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104768208A (en) * | 2015-03-17 | 2015-07-08 | 广东欧珀移动通信有限公司 | Frequency modulation mode switching method and mobile terminal |
WO2015154472A1 (en) * | 2014-09-02 | 2015-10-15 | 中兴通讯股份有限公司 | Operation mode switching method and mobile terminal |
CN105260236A (en) * | 2015-09-22 | 2016-01-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and performance adjustment method of processor of mobile terminal |
CN105302270A (en) * | 2014-06-27 | 2016-02-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal endurance optimization method and apparatus and terminal |
CN109743207A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | Server performance adjusting method and server |
CN110377141A (en) * | 2019-07-19 | 2019-10-25 | Oppo广东移动通信有限公司 | Application processing method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040123163A1 (en) * | 2002-12-20 | 2004-06-24 | Ta-Feng Huang | Device for managing electric power source of CPU |
US20100083020A1 (en) * | 2008-09-29 | 2010-04-01 | Canon Kabushiki Kaisha | Information processing system and control method thereof |
CN102073504A (en) * | 2011-01-21 | 2011-05-25 | 深圳创维数字技术股份有限公司 | Multi-scene operating method, multi-scene operating system and intelligent device |
-
2013
- 2013-10-30 CN CN201310528393.9A patent/CN103529925A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040123163A1 (en) * | 2002-12-20 | 2004-06-24 | Ta-Feng Huang | Device for managing electric power source of CPU |
US20100083020A1 (en) * | 2008-09-29 | 2010-04-01 | Canon Kabushiki Kaisha | Information processing system and control method thereof |
CN102073504A (en) * | 2011-01-21 | 2011-05-25 | 深圳创维数字技术股份有限公司 | Multi-scene operating method, multi-scene operating system and intelligent device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302270A (en) * | 2014-06-27 | 2016-02-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal endurance optimization method and apparatus and terminal |
WO2015154472A1 (en) * | 2014-09-02 | 2015-10-15 | 中兴通讯股份有限公司 | Operation mode switching method and mobile terminal |
CN105468247A (en) * | 2014-09-02 | 2016-04-06 | 中兴通讯股份有限公司 | Working mode switching method and mobile terminal |
CN105468247B (en) * | 2014-09-02 | 2020-10-09 | 南京中兴新软件有限责任公司 | Working mode switching method and mobile terminal |
CN104768208A (en) * | 2015-03-17 | 2015-07-08 | 广东欧珀移动通信有限公司 | Frequency modulation mode switching method and mobile terminal |
CN105260236A (en) * | 2015-09-22 | 2016-01-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and performance adjustment method of processor of mobile terminal |
CN109743207A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | Server performance adjusting method and server |
CN110377141A (en) * | 2019-07-19 | 2019-10-25 | Oppo广东移动通信有限公司 | Application processing method, device, electronic equipment and storage medium |
CN110377141B (en) * | 2019-07-19 | 2021-04-13 | Oppo广东移动通信有限公司 | Application processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103593039B (en) | The method of power-saving control and device | |
CN103529925A (en) | Method and device for switching central processing unit (CPU) working modes according to application scenarios | |
CN106604369B (en) | Terminal equipment with dual-mode switching function | |
CN104199538A (en) | Mobile terminal power saving method and system and mobile terminal | |
CN108170252B (en) | Terminal power saving method and device | |
CN104811930A (en) | Network flow control method and network flow control system for mobile terminal | |
CN103561164A (en) | Method and device for screen switching of double-screen mobile phone | |
CN103167144B (en) | Intelligent player system and method of mobile phone | |
CN105867591A (en) | Terminal control method and device | |
CN103889037A (en) | Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof | |
CN104243720A (en) | Electricity saving method of terminal device and terminal device | |
CN104918310A (en) | Mobile terminal with rapid power saving function and rapid power saving method thereof | |
CN103260205A (en) | Initiatively switching network connecting method and initiatively switching network connecting device | |
CN102186112A (en) | IPTV (Interactive Personality TV) receiving terminal and remote wakeup method and system thereof | |
CN103338312A (en) | Intelligent handset sleeping energy-saving system and method | |
CN102446396A (en) | Method and system for controlling electronic equipment by mobile terminal and mobile terminal | |
CN202587074U (en) | Intelligent handset with double-battery power supply | |
CN107396414A (en) | A kind of mobile terminal communication method, device and mobile terminal | |
CN104301974A (en) | Network switching method and system and terminal | |
CN104714622A (en) | Energy-saving type display screen and mobile terminal | |
KR102371501B1 (en) | Apparatus and method for providing usb interface between potable device and external device | |
CN104349433A (en) | System for supporting mobile terminal to realize dual model switching and mobile terminal using same | |
CN104486511A (en) | Method, terminal and system for controlling electricity quantity | |
CN103051793A (en) | Method and device for controlling data transmission mode of mobile terminal | |
CN205179124U (en) | Smart mobile phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140122 |
|
RJ01 | Rejection of invention patent application after publication |