CN102999151A - Method for reducing power consumption of electronic device and electronic device - Google Patents

Method for reducing power consumption of electronic device and electronic device Download PDF

Info

Publication number
CN102999151A
CN102999151A CN2012104256450A CN201210425645A CN102999151A CN 102999151 A CN102999151 A CN 102999151A CN 2012104256450 A CN2012104256450 A CN 2012104256450A CN 201210425645 A CN201210425645 A CN 201210425645A CN 102999151 A CN102999151 A CN 102999151A
Authority
CN
China
Prior art keywords
electronic equipment
application program
check
processor
described electronic
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.)
Granted
Application number
CN2012104256450A
Other languages
Chinese (zh)
Other versions
CN102999151B (en
Inventor
叶大伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201210425645.0A priority Critical patent/CN102999151B/en
Publication of CN102999151A publication Critical patent/CN102999151A/en
Application granted granted Critical
Publication of CN102999151B publication Critical patent/CN102999151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method for reducing the power consumption of an electronic device. The method comprises the following steps of: acquiring a current application program of the electronic device; and switching the number of cores of a processor of the electronic device according to the application program. The embodiment of the invention further discloses an electronic device. According to the method adopting the way, disclosed by the invention, the power consumption of the electronic device can be effectively reduced, and the working time of the electronic device is prolonged.

Description

Reduce method and the electronic equipment of powder consumption of electronic equipment
Technical field
The present invention relates to communication field, particularly relate to a kind of method and a kind of electronic equipment that reduces powder consumption of electronic equipment.
Background technology
Along with the development of science and technology, the electronic equipments such as mobile phone become an indispensable part in people's life gradually.In the use of these electronic equipments, people often wish that electronic equipment can have longer stand-by time.Yet, experience in order to pursue better user in the prior art, often polycaryon processor is set with the reaction velocity of raising electronic equipment at electronic equipment, and polycaryon processor has increased the power consumption of electronic equipment.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of method and a kind of electronic equipment that reduces powder consumption of electronic equipment, can effectively reduce powder consumption of electronic equipment, prolongs the working time of electronic equipment.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of method that reduces powder consumption of electronic equipment is provided, may further comprise the steps: obtain the current application program of electronic equipment; Switch the check figure of the processor of electronic equipment according to application program.
Wherein, the step of check figure of switching the processor of electronic equipment according to application program also comprises: the corresponding table of a default application program and the check figure of processor, show according to application queries is corresponding, and obtain the corresponding check figure of processor.
Wherein, a default application program comprises with the step of the corresponding table of the check figure of processor: the user arranges corresponding table at electronic equipment.
Wherein, the step of check figure of switching the processor of electronic equipment according to application program also comprises: application program is moved at the corresponding check figure of processor.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of electronic equipment is provided, and wherein, this electronic equipment obtains current application program, and switches the check figure of the processor of electronic equipment according to application program.
Wherein, electronic equipment also comprises the kernel scheduling layer, and electronic equipment is by the startup of kernel scheduling layer, switching, operation or end application.
Wherein, electronic equipment also comprises application layer, and electronic equipment obtains current application program by application layer.
Wherein, electronic equipment also comprises service layer, and service layer arranges the corresponding table of an application program and the check figure of processor, and electronic equipment is according to the corresponding table of application queries, to obtain the corresponding check figure of processor.
Wherein, electronic equipment also comprises the driver module layer, and electronic equipment switches to corresponding check figure by the driver module layer with processor.
Wherein, electronic equipment is mobile phone, panel computer or personal digital assistant.
The invention has the beneficial effects as follows: the situation that is different from prior art, the present invention is by obtaining the current application program of electronic equipment, according to the corresponding table of application program with the processor check figure, switch the check figure of electronics processors, to reduce the power consumption of electronic equipment, prolong the working time of electronic equipment.
Description of drawings
Fig. 1 is the process flow diagram that one embodiment of the invention reduces the method for powder consumption of electronic equipment;
Fig. 2 is the synoptic diagram of the structure of another embodiment of the present invention electronic equipment;
Fig. 3 is the interface that arranges of electronic equipment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Following examples only are used for explanation the present invention, but should not be used for limiting scope of the present invention.
See also Fig. 1, Fig. 1 is a kind of process flow diagram that reduces the method for powder consumption of electronic equipment of one embodiment of the invention.The method of the reduction powder consumption of electronic equipment that present embodiment discloses may further comprise the steps:
Step 101: obtain the current application program of electronic equipment;
Wherein, when electronic equipment moved a plurality of program, sometime, only current application program took processor and main screen operation, and other application programs can or distribute very low priority process by temporary transient dormancy.Current application program is preferably new application program or the application program of dormancy, if the user opens certain application program, then this current application program is new application program; If the user is switched certain application program in other tasks, this current application program application program that is dormancy then.
Step 102: the check figure that switches the processor of electronic equipment according to application program.
Step 102 also comprises: the corresponding table of a default application program and the check figure of processing, show according to application queries is corresponding, to obtain the corresponding check figure of processor.Preferably, the user arranges this correspondence table at electronic equipment, and wherein, electronic equipment provides one the interface is set, as shown in Figure 3.The user can be according to using needs corresponding table to be set in that the interface is set voluntarily, so that the setting of corresponding table has dirigibility, and then the user who increases electronic equipment experiences.In other embodiments, those skilled in the art can set corresponding table by electronic equipment manufacturing manufacturer when dispatching from the factory.
As shown in Figure 3, the user can be at the check figure that adjustment application program corresponding processor in interface is set.In addition, arrange in that the interface is set according to the user, the corresponding table of the program that can be applied and the check figure of processor, as shown in table 1.
Wherein, table 1 is application program and the corresponding table of the check figure of processor.
Application program The check figure of processor
Browser
1
Game 4
Email 2
Short message 1
Table 1
As shown in table 1, electronic equipment is according to the corresponding table of current application queries, and obtaining in the corresponding table check figure with the corresponding processor of this application program, and the check figure of this processor is set to the check figure of the processor of current electronic equipment.For example, current application program checks that for game table 1 can get, and the check figure of the corresponding processor of playing is 4, and the check figure of electronic equipment processor is set to 4; When the user switches to Email with game, then current application program is Email, checks that table 1 can get, and the check figure of corresponding processor is 2, and the check figure of electronic equipment processor is set to 2.In the present embodiment, table 1 has only been enumerated the corresponding relation of the check figure of four kinds of application programs and processor.In other embodiments, those skilled in the art can also arrange the corresponding relation of the check figure of multiple application program and processor.
Step 102 also comprises: current application program is moved at the corresponding check figure of processor.For example, current application program is game, then plays and moves at 4 processors of examining.
The embodiment of the invention is by obtaining the current application program of electronic equipment, and according to the corresponding table of the current application program inquiry application that gets access to the processor check figure, switch the check figure of electronics processors, effectively reduce the power consumption of electronic equipment, prolong the working time of electronic equipment.
See also Fig. 2, Fig. 2 is the structural representation of another embodiment of the present invention electronic equipment.The electronic equipment 20 that present embodiment discloses obtains current application program, and switches the check figure of the processor of electronic equipment according to application program.Wherein, electronic equipment 20 comprises kernel scheduling layer 21, application layer 22, service layer 23, driver module layer 24.
In the present embodiment, electronic equipment 20 obtains current application program by application layer 22.Wherein, when a plurality of program of electronic equipment 20 operation, sometime, only current application program takies processor and main screen operation, and other application programs can or distribute very low priority process by temporary transient dormancy.In addition, electronic equipment 20 is by 21 startup of kernel scheduling layer, switching, operation or end application.Current application program is preferably new application program or the application program of dormancy, if the user opens certain application program, electronic equipment 20 starts this application program by kernel scheduling layer 21, and then this current application program is new application program; If the user is switched certain application program in other tasks, electronic equipment 20 switches these application programs by kernel scheduling layer 21, then this current application program application program that is dormancy.
In the present embodiment, service layer 23 arranges the corresponding table of an application program and the check figure of processor, and electronic equipment 20 is according to the corresponding table of application queries, to obtain the corresponding check figure of processor.Preferably, the user arranges corresponding table by the service layer 23 of electronic equipment 20, and wherein, electronic equipment 20 provides one the interface is set, as shown in Figure 3.The user can be according to using needs corresponding table to be set in that the interface is set voluntarily, so that the setting of corresponding table has dirigibility, and then the user who increases electronic equipment experiences.In other embodiments, those skilled in the art can set corresponding table by electronic equipment manufacturing manufacturer when dispatching from the factory.
The user arranges corresponding table at the interface that arranges of Fig. 3, and is so that service layer 23 obtains the corresponding table of application programs and the check figure of processor, as shown in table 1.Electronic equipment 20 is according to the corresponding table of current application queries, to obtain in the corresponding table check figure with the corresponding processor of this application program.For example, electronic equipment 20 obtains current application program for game by application layer 22, checks that table 1 can get, and the check figure of the corresponding processor of playing is 4; When the user switches to Email with game, then to obtain current application program by application layer 22 be Email to electronic equipment 20, checks that table 1 can get, and the check figure of corresponding processor is 2.
In the present embodiment, electronic equipment 20 switches to corresponding check figure by driver module layer 24 with processor, so that current application program is moved at the corresponding check figure of processor.For example, electronic equipment 20 obtains current application program by application layer 22 and is game, and the check figure of corresponding processor is 4, and then electronic equipment 20 is set to 4 by the check figure of driver module layer 24 processor.
Concrete, this electronic equipment 20 can be mobile phone, panel computer or personal digital assistant, also can be other electronic equipment, the present invention does not do restriction to this.
In sum, the present invention according to the corresponding table of application program with the processor check figure, is switched the check figure of electronics processors by obtaining the current application program of electronic equipment, to reduce the power consumption of electronic equipment, prolongs the working time of electronic equipment.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. a method that reduces powder consumption of electronic equipment is characterized in that, said method comprising the steps of:
Obtain the current application program of described electronic equipment;
Switch the check figure of the processor of described electronic equipment according to described application program.
2. described method according to claim 1, it is characterized in that, the step of the check figure of the described processor that switches described electronic equipment according to described application program also comprises: the corresponding table of a default described application program and the check figure of described processor, according to the described corresponding table of described application queries, obtain the corresponding check figure of described processor.
3. described method according to claim 2 is characterized in that, a described default described application program comprises with the step of the corresponding table of the check figure of described processor: the user arranges described corresponding table at described electronic equipment.
4. described method according to claim 1 is characterized in that, the step of the check figure of the described processor that switches described electronic equipment according to described application program also comprises: described application program is moved at the corresponding check figure of described processor.
5. an electronic equipment is characterized in that, described electronic equipment obtains current application program, and switches the check figure of the processor of described electronic equipment according to described application program.
6. described electronic equipment according to claim 5 is characterized in that described electronic equipment also comprises the kernel scheduling layer, and described electronic equipment starts, switches, moves or finish described application program by described kernel scheduling layer.
7. described electronic equipment according to claim 6 is characterized in that described electronic equipment also comprises application layer, and described electronic equipment obtains current application program by described application layer.
8. described electronic equipment according to claim 7, it is characterized in that, described electronic equipment also comprises service layer, described service layer arranges the corresponding table of a described application program and the check figure of described processor, described electronic equipment is according to the described corresponding table of described application queries, to obtain the corresponding check figure of described processor.
9. described electronic equipment according to claim 8 is characterized in that described electronic equipment also comprises the driver module layer, and described electronic equipment switches to corresponding check figure by described driver module layer with described processor.
10. electronic equipment according to claim 5 is characterized in that, described electronic equipment is mobile phone, panel computer or personal digital assistant.
CN201210425645.0A 2012-10-30 2012-10-30 Reduce method and the electronic equipment of powder consumption of electronic equipment Active CN102999151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210425645.0A CN102999151B (en) 2012-10-30 2012-10-30 Reduce method and the electronic equipment of powder consumption of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210425645.0A CN102999151B (en) 2012-10-30 2012-10-30 Reduce method and the electronic equipment of powder consumption of electronic equipment

Publications (2)

Publication Number Publication Date
CN102999151A true CN102999151A (en) 2013-03-27
CN102999151B CN102999151B (en) 2016-09-28

Family

ID=47927809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210425645.0A Active CN102999151B (en) 2012-10-30 2012-10-30 Reduce method and the electronic equipment of powder consumption of electronic equipment

Country Status (1)

Country Link
CN (1) CN102999151B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077087A (en) * 2013-01-10 2013-05-01 惠州Tcl移动通信有限公司 Method for application program to automatically adapt to multi-core processor mode and mobile equipment
CN104460996A (en) * 2014-11-28 2015-03-25 深圳品网科技有限公司 Myopia prevention method and device for electronic products
CN104615415A (en) * 2013-11-04 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN105786566A (en) * 2016-02-26 2016-07-20 深圳市创想天空科技股份有限公司 Simulator CPU kernel number adjusting method and system
CN103077087B (en) * 2013-01-10 2016-11-30 惠州Tcl移动通信有限公司 A kind of method of application program automatic adaptation multi-core processor mode and mobile device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446457A (en) * 2015-12-09 2016-03-30 北京金山安全软件有限公司 Method and device for optimizing power consumption of application program and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263324A1 (en) * 2006-08-10 2008-10-23 Sehat Sutardja Dynamic core switching
US20090064158A1 (en) * 2007-08-31 2009-03-05 Carter Stephen R Multi-core resource utilization planning
CN102141938A (en) * 2010-12-03 2011-08-03 华为技术有限公司 Method and device for adjusting software load in multithreaded system
US7996696B1 (en) * 2007-05-14 2011-08-09 Sprint Communications Company L.P. Updating kernel affinity for applications executing in a multiprocessor system
CN102520782A (en) * 2011-12-15 2012-06-27 江苏中科梦兰电子科技有限公司 Power supply management method based on automatic adjustment of processor nuclear number

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263324A1 (en) * 2006-08-10 2008-10-23 Sehat Sutardja Dynamic core switching
US7996696B1 (en) * 2007-05-14 2011-08-09 Sprint Communications Company L.P. Updating kernel affinity for applications executing in a multiprocessor system
US20090064158A1 (en) * 2007-08-31 2009-03-05 Carter Stephen R Multi-core resource utilization planning
CN102141938A (en) * 2010-12-03 2011-08-03 华为技术有限公司 Method and device for adjusting software load in multithreaded system
CN102520782A (en) * 2011-12-15 2012-06-27 江苏中科梦兰电子科技有限公司 Power supply management method based on automatic adjustment of processor nuclear number

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077087A (en) * 2013-01-10 2013-05-01 惠州Tcl移动通信有限公司 Method for application program to automatically adapt to multi-core processor mode and mobile equipment
WO2014107958A1 (en) * 2013-01-10 2014-07-17 惠州Tcl移动通信有限公司 Method and mobile device for application automatically adapting to mode of multi-core processor
CN103077087B (en) * 2013-01-10 2016-11-30 惠州Tcl移动通信有限公司 A kind of method of application program automatic adaptation multi-core processor mode and mobile device
CN104615415A (en) * 2013-11-04 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment
CN104615415B (en) * 2013-11-04 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104460996A (en) * 2014-11-28 2015-03-25 深圳品网科技有限公司 Myopia prevention method and device for electronic products
CN105786566A (en) * 2016-02-26 2016-07-20 深圳市创想天空科技股份有限公司 Simulator CPU kernel number adjusting method and system

Also Published As

Publication number Publication date
CN102999151B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN102999151A (en) Method for reducing power consumption of electronic device and electronic device
CN102934045B (en) System and method for controlling central processing unit power with guaranteed transient deadlines
CN103377067A (en) Application program loading system and application program loading method
CN103140831A (en) System and method of executing threads at a processor
CA2600503A1 (en) Method and system for executing a container-managed application on a processing device
CN103677989A (en) Device and method for obtaining multiple systems through linux kernel
JP5871075B2 (en) Method and apparatus for controlling a central processing unit
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
CN102436457A (en) Method and equipment for distributing progresses of browser
CN101729957A (en) Electronic device and method for eliminating sound volume mutation
CN102385531A (en) Apparatus for performing timer management and associated method
CN103684807A (en) Method, device, terminal device and server for identifying group member information
CN105100507A (en) Mobile terminal task processing method and mobile terminal task processing system
US9696787B2 (en) Dynamic control of processors to reduce thermal and power costs
CN103533144A (en) Method and equipment for storing keywords in call records of mobile communication equipment
CN103472905A (en) Display method, displayer and display device
CN101325770A (en) Method for managing terminal system function and terminal
CN204156936U (en) A kind of acoustic control speech-sound intelligent mobile phone
EP3694092A1 (en) System and method of power distribution control of an integrated circuit
CN205040128U (en) Electronic device
TW201617777A (en) Electronic apparatus and wake-up method thereof
CN104142729A (en) Method and device for controlling processor and electronic equipment
KR101421361B1 (en) System and method of tuning a dynamic clock and voltage switching algorithm based on workload requests
CN103685984A (en) Video signal source automatic switching method and television
WO2008137563A3 (en) Service integration on a network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant