CN104142729B - A kind of control method of processor, device and electronic equipment - Google Patents

A kind of control method of processor, device and electronic equipment Download PDF

Info

Publication number
CN104142729B
CN104142729B CN201410392137.6A CN201410392137A CN104142729B CN 104142729 B CN104142729 B CN 104142729B CN 201410392137 A CN201410392137 A CN 201410392137A CN 104142729 B CN104142729 B CN 104142729B
Authority
CN
China
Prior art keywords
processor
task load
power consumption
processing capacity
group
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.)
Active
Application number
CN201410392137.6A
Other languages
Chinese (zh)
Other versions
CN104142729A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410392137.6A priority Critical patent/CN104142729B/en
Publication of CN104142729A publication Critical patent/CN104142729A/en
Application granted granted Critical
Publication of CN104142729B publication Critical patent/CN104142729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses a kind of control method of processor, device and electronic equipments, wherein processor includes at least the first processor group manufactured by the first manufacturing process and the second processor group manufactured by the second manufacturing process;This method comprises: receiving the task load of the electronic equipment;Determine optimal use strategy of the processor under the task load;Wherein, the optimal use strategy is the smallest strategy of power consumption under conditions of processor used by handling the task load meets performance requirement;Processor corresponding with the optimal use strategy is called to handle the task load in the first processor group and the second processor group;Wherein, due to the processor that each manufacturing process includes two kinds of processing capacities, the processor for handling task load called according to optimal use strategy can be under conditions of meeting performance requirement, and power consumption is minimum, therefore, power consumption loss is reduced, resource has been saved.

Description

A kind of control method of processor, device and electronic equipment
Technical field
The present invention relates to processor technical field, more particularly to a kind of control method of processor, device and Electronic equipment.
Background technique
Current electronic equipment generally includes the different multiple processors of processing capacity, the different small nut such as processing capacity Processor and big core processor.
In the prior art, the small processor of processing capacity is manufactured by the first manufacturing process;And the place that processing capacity is big Reason device is manufactured by the second manufacturing process;And when the big processor of processing capacity small processor and processing capacity is capable of handling When same task load, the power consumption of the small processor of processing capacity is less than the power consumption of the big processor of processing capacity.Ordinary circumstance Under, when the task load of electronic equipment is lower, handled by the small processor of processing capacity;And work as the task of electronic equipment When loading higher, handled by the big processor of processing capacity.
But when the task load of electronic equipment is located at a certain loading range, so that the small processor of processing capacity is When not being able to satisfy performance requirement, but being insufficient to allow with the big processor of processing capacity, in this case, if directlying adopt place The big processor of reason ability is handled, and will lead to the increase of power consumption loss, waste of resource.
Summary of the invention
In view of this, the present invention provides control method, device and the electronic equipment of a kind of processor, to solve the prior art The problem of middle power consumption loss is big, the wasting of resources.
To achieve the above object, the invention provides the following technical scheme:
A kind of control method of processor is applied in electronic equipment, and the processor is included at least by the first manufacture work The first processor group of skill manufacture and the second processor group manufactured by the second manufacturing process;
This method comprises:
Receive the task load of the electronic equipment;
Determine optimal use strategy of the processor under the task load;Wherein, the optimal use strategy is It handles under conditions of processor used by the task load meets performance requirement, the smallest strategy of power consumption;
Place corresponding with the optimal use strategy is called in the first processor group and the second processor group It manages device and handles the task load;
Wherein: the first processor group includes at least one first processor and at least one second processor;It is described The processing capacity of second processor is greater than the processing capacity of the first processor;
The second processor group includes at least one third processor and at least one fourth processor;Described everywhere The processing capacity for managing device is greater than the processing capacity of the third processor.
Preferably, the processing capacity of the third processor is greater than the processing capacity of the first processor;
The processing capacity of the fourth processor is greater than the processing capacity of the second processor.
Preferably, the first processor group by the manufacture of the first manufacturing process is specially to manufacture work by low-power consumption semiconductor The first processor group of skill manufacture;
The second processor group by the manufacture of the second manufacturing process is specially to be manufactured by high-speed semiconductor manufacturing process Second processor group.
Preferably, the first processor and the third processor are handling the same of preset first task load or more When one task load, the power consumption of the first processor is greater than the power consumption of the third processor;
The first processor and the third processor are handling preset first task load same task below When load, the power consumption of the first processor is less than the power consumption of the third processor;
When the task load is located at first task load or less, the determination processor is in the task Optimal use strategy under load, specifically: determine that handling the task load using the first processor is optimal use Strategy;
When the task load is located at first task load or more, and the processing capacity satisfaction of the third processor When performance requirement, optimal use strategy of the determination processor under the task load are as follows: determine using described the The three processors processing task load is optimal use strategy.
Preferably, the second processor and the fourth processor are handling the same of preset second task load or more When one task load, the power consumption of the second processor is greater than the power consumption of the fourth processor;
The second processor and the fourth processor are handling preset second task load same task below When load, the power consumption of the second processor is less than the power consumption of the fourth processor;
When the task load be located at second task load hereinafter, and the processing capacity of the third processor cannot When meeting performance requirement, optimal use strategy of the determination processor under the task load, specifically: determination makes Handling the task load with the second processor is optimal use strategy;
When the task load is located at second task load or more, and the processing capacity satisfaction of the fourth processor When performance requirement, optimal use strategy of the determination processor under the task load, specifically: it determines and uses institute Stating fourth processor and handling the task load is optimal use strategy.
A kind of control device of processor is applied in electronic equipment, and the processor is included at least by the first manufacture work The first processor group of skill manufacture and the second processor group manufactured by the second manufacturing process;
The device includes:
First receiving unit, for receiving the task load of the electronic equipment;
First determination unit, for determining optimal use strategy of the processor under the task load;Wherein, institute Stating optimal use strategy is under conditions of processor used by handling the task load meets performance requirement, and power consumption is the smallest Strategy;
First call unit, for called in the first processor group and the second processor group with it is described best The task load is handled using the corresponding processor of strategy;
Wherein: the first processor group includes at least one first processor and at least one second processor;It is described The processing capacity of second processor is greater than the processing capacity of the first processor;
The second processor group includes at least one third processor and at least one fourth processor;Described everywhere The processing capacity for managing device is greater than the processing capacity of the third processor.
Preferably, the processing capacity of the third processor is greater than the processing capacity of the first processor;
The processing capacity of the fourth processor is greater than the processing capacity of the second processor.
Preferably, the first processor group by the manufacture of the first manufacturing process is specially to manufacture work by low-power consumption semiconductor The first processor group of skill manufacture;
The second processor group by the manufacture of the second manufacturing process is specially to be manufactured by high-speed semiconductor manufacturing process Second processor group.
Preferably, the first processor and the third processor are handling the same of preset first task load or more When one task load, the power consumption of the first processor is greater than the power consumption of the third processor;
The first processor and the third processor are handling preset first task load same task below When load, the power consumption of the first processor is less than the power consumption of the third processor;
When the task load is located at first task load or less, first determination unit is specifically used for true Surely handling the task load using the first processor is optimal use strategy;
When the task load is located at first task load or more, and the processing capacity satisfaction of the third processor When performance requirement, first determination unit is specifically used for determining that handling the task load using the third processor is most It is good to use strategy.
Preferably, the second processor and the fourth processor are handling the same of preset second task load or more When one task load, the power consumption of the second processor is greater than the power consumption of the fourth processor;
The second processor and the fourth processor are handling preset second task load same task below When load, the power consumption of the second processor is less than the power consumption of the fourth processor;
When the task load be located at second task load hereinafter, and the processing capacity of the third processor cannot When meeting performance requirement, first determination unit, which is specifically used for determining, handles the task load using the second processor For optimal use strategy;
When the task load is located at second task load or more, and the processing capacity satisfaction of the fourth processor When performance requirement, first determination unit is specifically used for determining that handling the task load using the fourth processor is most It is good to use strategy.
A kind of electronic equipment, which is characterized in that the control device including described in any item processors as above.
It can be seen via above technical scheme that compared with prior art, the embodiment of the invention discloses a kind of processors Control method, processor include at least the first processor group manufactured by the first manufacturing process and by the manufactures of the second manufacturing process Second processor group;Specifically, by the task load for receiving electronic equipment, to determine processor under the task load most It is good to call processor corresponding with optimal use strategy to handle using strategy, and in first processor group and second processor group The task load;Wherein, due to the processor that each manufacturing process includes two kinds of processing capacities, according to optimal use The processor for the processing task load that strategy is called can be under conditions of meeting performance requirement, and power consumption is minimum, therefore, reduces Power consumption loss, has saved resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of the control method of processor disclosed in one embodiment of the invention;
Fig. 2 is a kind of flow diagram of the control method of processor disclosed in another embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the control method of processor disclosed in further embodiment of this invention;
Fig. 4 is a kind of structural schematic diagram of the control device of processor of one embodiment of the invention work.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of control method of processor, device and electronic equipments, wherein processor is at least Including the first processor group manufactured by the first manufacturing process and the second processor group manufactured by the second manufacturing process;Specifically , by receiving the task load of electronic equipment, to determine optimal use strategy of the processor under the task load, and the Processor corresponding with optimal use strategy is called to handle the task load in one processor group and second processor group;Wherein, Since each manufacturing process includes the processor of two kinds of processing capacities, the processing called according to optimal use strategy The processor of task load can be under conditions of meeting performance requirement, and power consumption is minimum, it therefore reduces power consumption is lost, saves Resource.
One embodiment of the invention discloses a kind of control method of processor, can be applied in electronic equipment, the electricity Sub- equipment can be the equipment such as mobile phone, tablet computer, palm PC.
Wherein, electronic equipment includes processor, and processor includes at least first processor group and second processor group;First Processor group is manufactured by the first manufacturing process, and second processor group is manufactured by the second manufacturing process.
It include at least one first processor and at least one second processor in first processor group, second processor Processing capacity is greater than the processing capacity of first processor;
It include at least one third processor and at least one fourth processor in second processor group, fourth processor Processing capacity is greater than the processing capacity of third processor.
Wherein, the quantity of the quantity and second processor of first processor is not in the present invention in first processor group It is specific to limit, if first processor group can only include a first processor and a second processor, for another example, the first processing Device group may include two first processors and two second processors.Certainly, there are also other implementations, not another herein One enumerates.
Wherein, the quantity of the quantity and fourth processor of third processor is not in the present invention in second processor group It is specific to limit, if second processor group can only include a third processor and a fourth processor, for another example, second processing Device group may include two third processors and two fourth processors.Certainly, there are also other implementations, not another herein One enumerates.
It should be noted that include the different two kinds of processor of processing capacity in each processor group, such as the One processor and third processor can be small nut processor, and second processor and fourth process can be big core processor, greatly The processing capacity of core processor is greater than the processing capacity of small core processor;Wherein, the framework of small core processor can be A7 framework; The framework of big core processor can be A15 framework, it is, of course, also possible to which using other frameworks, the present invention is not limited thereto.
As shown in Figure 1, this method may comprise steps of:
Step 101: receiving the task load of electronic equipment;
Wherein, electronic equipment is needed by the processor of electronic equipment in practical work process to received task load Which handled, therefore, before handling task load, it is thus necessary to determine that by the received task of processor processing institute of electronic equipment Load.
Step 102: determining optimal use strategy of the processor under task load;
Wherein, which is the condition that processor used by the processing task load meets performance requirement Under, the smallest strategy of power consumption.
It should be noted that electronic equipment includes the first processor group and second processing manufactured respectively by different manufacturing process Device group, and each processor group includes the different processor of processing capacity, then, due to being manufactured not by different manufacturing process It is different with the power consumption of processor processing task load, and the processing capacity of the different processor manufactured by same manufacturing process is not yet Identical, therefore, under conditions of determining that processor performance used by handling the task load requires, power consumption is the smallest best Reduce the power consumption of processor processing task load using strategy.
It should be noted that determine optimal use strategy particular by received task load amount, each processor Processing capacity and the power consumption of each processor are determining to integrate.
Step 103: processor corresponding with optimal use strategy is called in first processor group and second processor group Handle task load.
In optimal use strategy it has been determined that with which or which processor to handle received task load, and make Power consumption is minimum, therefore, by calling processing corresponding with optimal use strategy in first processor group and second processor group The received task load of device processing institute, that is, can guarantee that power consumption is minimum.
In embodiments of the present invention, processor includes at least the first processor group manufactured by the first manufacturing process and by the The second processor group of two manufacturing process manufacture;Specifically, by the task load for receiving electronic equipment, to determine that processor exists Optimal use strategy under the task load, and called and optimal use strategy in first processor group and second processor group Corresponding processor handles the task load;Wherein, due to the processor that each manufacturing process includes two kinds of processing capacities, because This, the processor for the processing task load that foundation optimal use strategy is called can be under conditions of meeting performance requirement, function Consumption is minimum, it therefore reduces power consumption is lost, has saved resource.
In the present invention, in the first processor group by the manufacture of the first manufacturing process, the processor ability of second processor Greater than the processing capacity of first processor;In second processor group by the manufacture of the second manufacturing process, the processing of fourth processor Ability is greater than the processing capacity of third processor.And the place of (or larger) smaller for processing capacity in different processor group For managing device, the processor manufactured by the first manufacturing process is greater than by the processing capacity of the processor of the second manufacturing process manufacture Processing capacity, specifically, processing capacity of the processing capacity of third processor greater than first processor, and the place of fourth processor Reason ability is greater than the processing capacity of second processor.
Wherein, in the present invention, it can be run, be made with lower frequency by the first processor group that the first manufacturing process manufactures It is low to obtain processing capacity, while it is lower to leak electricity, so that low in energy consumption;By the second manufacturing process manufacture second processor group can with compared with High-frequency operation, so that processing capacity is high, while it is higher to leak electricity, so that power consumption is high.
It can be specially by low-power consumption half by the first processor group that the first manufacturing process manufactures as a kind of implementation The first processor group of conductor manufacturing process manufacture can be specially by high speed by the second processing group that the second manufacturing process manufactures The second processor group of semiconductor fabrication process manufacture.
It should be noted that in the present invention, it, can foundation when determining optimal use strategy of the processor under task load The comprehensive determination of the power consumption of task load amount, the processing capacity of each processor and each processor.So, task load amount It is directly related to using which processor and handles the task load.It should be noted that in the present invention, optimal use strategy can Think the strategy that task load is individually handled by a certain processor, or while being born by multiple processors to handle task The strategy of load, only guaranteed identified processor is capable of handling received task load, and power consumption is minimum.
The present invention is most come the strategy for handling task load with a certain individual processor of determination by different embodiments It is good to be described in detail using strategy.
Fig. 2 is a kind of flow diagram of the control method of processor disclosed in another embodiment of the present invention;In conjunction with Fig. 2, This method may comprise steps of:
Step 201: receiving the task load of electronic equipment;
Wherein, electronic equipment is needed by the processor of electronic equipment in practical work process to received task load Which handled, therefore, before handling task load, it is thus necessary to determine that by the received task of processor processing institute of electronic equipment Load.
In the present invention, first processor and third processor are the processor manufactured by different manufacturing process, and third The processing capacity of processor is greater than the processing capacity of first processor.First processor and third processor are handling same task When load, the power consumption that the difference of task load will lead to two processors is different, specifically, first processor and third processor When handling the same task load of preset first task load or more, the power consumption of first processor is greater than third processor Power consumption;And first processor and third processor be when handling preset first task and loading same task load below, the The power consumption of one processor is less than the power consumption of third processor.
Step 202: judging whether the received task load of institute is less than preset first task load;
By by received task load be compared with the size that preset first task loads, to determine which is used To handle, received task load can guarantee power consumption minimum to one processor;
Specifically, determining the received task load of institute when the received task load of institute is loaded less than preset first task It loads positioned at first task hereinafter, entering step 203;
It is loaded when the received task load of institute is more than or equal to preset first task, determines that received task load is located at the More than one task load, enter step 204;
Step 203: determining that handling the task load using first processor is optimal use strategy;
When the received task load of institute is located at first task load or less, shows that first processor is capable of handling and received Task load, and the power consumption for handling task load is less than third processor and handles the power consumption of the task load;Further may be used Show that the power consumption that the task load is handled using first processor is less than the function that other any processors handle the task load Consumption.
Step 204: determining that the processing capacity of third processor meets performance requirement;
It should be noted that the processing capacity of third processor, which meets performance requirement, specifically refers to third processor with processing Received task load processing capacity.
Step 205: determining that handling the task load using third processor is optimal use strategy;
When the received task load of institute is located at more than first task loads, and the processing capacity of third processor meets performance It is required that when, show that third processor is capable of handling the received task load of institute, and handle the power consumption of task load less than first at Reason device handles the power consumption of the task load;It further can be shown that, the small power consumption of the task load handled using third processor The power consumption of the task load is handled in other any processors.
Step 206: processor corresponding with optimal use strategy is called in first processor group and second processor group Handle the task load.
When optimal use strategy is to handle task load using first processor, in first processor group and second processing It calls first processor to handle the task load in device group, can guarantee power consumption minimum;
When optimal use strategy is to handle task load using third processor, in first processor group and second processing It calls third processor to handle the task load in device group, can guarantee power consumption minimum.
In embodiments of the present invention, processor includes at least the first processor group manufactured by the first manufacturing process and by the The second processor group of two manufacturing process manufacture;Specifically, by the task load for receiving electronic equipment, to determine that processor exists Optimal use strategy under the task load, and called and optimal use strategy in first processor group and second processor group Corresponding processor handles the task load;Wherein, due to the processor that each manufacturing process includes two kinds of processing capacities, because This, the processor for the processing task load that foundation optimal use strategy is called can be under conditions of meeting performance requirement, function Consumption is minimum, it therefore reduces power consumption is lost, has saved resource.
Fig. 3 is a kind of flow diagram of the control method of processor disclosed in further embodiment of this invention;In conjunction with Fig. 3, This method may comprise steps of:
Step 301: receiving the task load of electronic equipment;
Wherein, electronic equipment is needed by the processor of electronic equipment in practical work process to received task load Which handled, therefore, before handling task load, it is thus necessary to determine that by the received task of processor processing institute of electronic equipment Load.
In the present invention, second processor and fourth processor are the processor manufactured by different manufacturing process, and the 4th The processing capacity of processor is greater than the processing capacity of second processor.Second processor and fourth processor are handling same task When load, the power consumption that the difference of task load will lead to two processors is different, specifically, second processor and fourth processor When handling the same task load of preset second task load or more, the power consumption of second processor is greater than fourth processor Power consumption;And second processor and fourth processor be when handling preset second task load same task load below, the The power consumption of two processors is less than the power consumption of fourth processor.
Step 302: judging whether the received task load of institute is less than preset second task load;
By by received task load be compared with the size of preset second task load, to determine which is used To handle, received task load can guarantee power consumption minimum to one processor;
Specifically, determining the received task load of institute when the received task load of institute is less than preset second task load Positioned at the second task load hereinafter, entering step 303;
When the received task load of institute is more than or equal to preset second task load, determine that received task load is located at the More than two task loads, enter step 305;
Step 303: determining that the processing capacity of third processor is not able to satisfy performance requirement;
It specifically refers to third processor it should be noted that the processing capacity of third processor is not able to satisfy performance requirement and does not have Standby processing received task load processing capacity;And when the processing capacity of third processor meets performance requirement, it can be true It surely the use of the received task load of third processor processing institute is optimal use strategy, because, third processor and second processing For device when handling same task load, the power consumption of third processor is less than the power consumption of second processor.
Step 304: determining that handling the task load using second processor is optimal use strategy;
When the received task load of institute is located at the second task load or less, shows that second processor is capable of handling and received Task load, and the power consumption for handling task load is less than fourth processor and handles the power consumption of the task load;Further by The processing capacity of third processor is not able to satisfy performance requirement and can be shown that, the power consumption of the task load is handled using second processor Less than the power consumption that other any processors handle the task load.
Step 305: determining that the process performance of fourth processor meets performance requirement;
The processing capacity of fourth processor meet performance requirement specifically refer to fourth processor have processing institute received The processing capacity of business load.
Step 306: determining that handling the task load using fourth processor is optimal use strategy;
When the received task load of institute is located at the second task load or more, and the processing capacity of fourth processor meets performance It is required that when, show that fourth processor is capable of handling the received task load of institute, and handle the power consumption of task load less than second at Reason device handles the power consumption of the task load;It further can be shown that, the small power consumption of the task load handled using fourth processor The power consumption of the task load is handled in other any processors.
Step 307: processor corresponding with optimal use strategy is called in first processor group and second processor group Handle the task load.
When optimal use strategy is to handle task load using second processor, in first processor group and second processing It calls second processor to handle the task load in device group, can guarantee power consumption minimum;
When optimal use strategy is to handle task load using fourth processor, in first processor group and second processing It calls fourth processor to handle the task load in device group, can guarantee power consumption minimum.
In embodiments of the present invention, processor includes at least the first processor group manufactured by the first manufacturing process and by the The second processor group of two manufacturing process manufacture;Specifically, by the task load for receiving electronic equipment, to determine that processor exists Optimal use strategy under the task load, and called and optimal use strategy in first processor group and second processor group Corresponding processor handles the task load;Wherein, due to the processor that each manufacturing process includes two kinds of processing capacities, because This, the processor for the processing task load that foundation optimal use strategy is called can be under conditions of meeting performance requirement, function Consumption is minimum, it therefore reduces power consumption is lost, has saved resource.
One embodiment of the invention also discloses a kind of control device of processor, can be applied in electronic equipment, should Electronic equipment can be the equipment such as mobile phone, tablet computer, palm PC.
Wherein, electronic equipment includes processor, and processor includes at least first processor group and second processor group;First Processor group is manufactured by the first manufacturing process, and second processor group is manufactured by the second manufacturing process.
It include at least one first processor and at least one second processor in first processor group, second processor Processing capacity is greater than the processing capacity of first processor;
It include at least one third processor and at least one fourth processor in second processor group, fourth processor Processing capacity is greater than the processing capacity of third processor.
Wherein, the quantity of the quantity and second processor of first processor is not in the present invention in first processor group It is specific to limit, if first processor group can only include a first processor and a second processor, for another example, the first processing Device group may include two first processors and two second processors.Certainly, there are also other implementations, not another herein One enumerates.
Wherein, the quantity of the quantity and fourth processor of third processor is not in the present invention in second processor group It is specific to limit, if second processor group can only include a third processor and a fourth processor, for another example, second processing Device group may include two third processors and two fourth processors.Certainly, there are also other implementations, not another herein One enumerates.
It should be noted that include the different two kinds of processor of processing capacity in each processor group, such as the One processor and third processor can be small nut processor, and second processor and fourth process can be big core processor, greatly The processing capacity of core processor is greater than the processing capacity of small core processor;Wherein, the framework of small core processor can be A7 framework; The framework of big core processor can be A15 framework, it is, of course, also possible to which using other frameworks, the present invention is not limited thereto.
As shown in figure 4, the apparatus may include: the first receiving unit 401, the first determination unit 402 and first are called Unit 403;Wherein:
First receiving unit 401, can be used for receiving the task load of electronic equipment;
First determination unit 402 is determined for optimal use strategy of the processor under the task load;
Wherein, optimal use strategy is function under conditions of processor used by processing task load meets performance requirement Consume the smallest strategy.
First call unit 403 can be used for calling and optimal use in first processor group and second processor group The corresponding processor of strategy handles the task load.
In embodiments of the present invention, processor includes at least the first processor group manufactured by the first manufacturing process and by the The second processor group of two manufacturing process manufacture;Specifically, by the task load for receiving electronic equipment, to determine that processor exists Optimal use strategy under the task load, and called and optimal use strategy in first processor group and second processor group Corresponding processor handles the task load;Wherein, due to the processor that each manufacturing process includes two kinds of processing capacities, because This, the processor for the processing task load that foundation optimal use strategy is called can be under conditions of meeting performance requirement, function Consumption is minimum, it therefore reduces power consumption is lost, has saved resource.
In the present invention, in the first processor group by the manufacture of the first manufacturing process, the processor ability of second processor Greater than the processing capacity of first processor;In second processor group by the manufacture of the second manufacturing process, the processing of fourth processor Ability is greater than the processing capacity of third processor.And the place of (or larger) smaller for processing capacity in different processor group For managing device, the processor manufactured by the first manufacturing process is greater than by the processing capacity of the processor of the second manufacturing process manufacture Processing capacity, specifically, processing capacity of the processing capacity of third processor greater than first processor, and the place of fourth processor Reason ability is greater than the processing capacity of second processor.
Wherein, it is specifically as follows by the first processor group that the first manufacturing process manufactures by low-power consumption semiconductor manufacturing process The first processor group of manufacture;
It is specifically as follows by the second processor group that the second manufacturing process manufactures and is manufactured by high-speed semiconductor manufacturing process Second processor group.
In the present invention, first processor and third processor are handling same of preset first task load or more When business load, the power consumption of first processor is greater than the power consumption of third processor;
First processor and the third processor are handling preset first task load same task load below When, the power consumption of first processor is less than the power consumption of third processor;
Therefore, when task load is located at first task load or less, the first determination unit is specifically determined for making It is optimal use strategy with first processor processing task load;
When task load is located at first task load or more, and the processing capacity of third processor meets performance requirement, First determination unit is specifically determined for handling task load using third processor being optimal use strategy.
Correspondingly, the first call unit determines that using first processor processing task load be best in the first determination unit When using strategy, first processor is called to handle task load in first processor group and second processor group;Really first When order member determines that using third processor processing task load is optimal use strategy, in first processor group and second processing Third processor is called to handle task load in device group.
In the present invention, second processor and fourth processor are handling same of preset second task load or more When business load, the power consumption of second processor is greater than the power consumption of fourth processor;
Second processor and fourth processor are when handling preset second task load same task load below, and the The power consumption of two processors is less than the power consumption of fourth processor;
Therefore, when task load is located at the second task load hereinafter, and third processor processing capacity not being able to satisfy property When can require, the first determination unit is specifically determined for handling the task load using second processor being optimal use Strategy;
When task load is located at the second task load or more, and the processing capacity of fourth processor meets performance requirement, First determination unit is specifically determined for handling task load using fourth processor being optimal use strategy;
Correspondingly, the first call unit determines that using second processor processing task load be best in the first determination unit When using strategy, second processor is called to handle task load in first processor group and second processor group;Really first When order member determines that using fourth processor processing task load is optimal use strategy, in first processor group and second processing Fourth processor is called to handle task load in device group.
The embodiment of the invention also discloses a kind of electronic equipment, the control including processor described in any embodiment as above Device processed.
The embodiment of above each device is corresponding with embodiment of the method, and specific implementation can be found in embodiment of the method, This is no longer described in detail.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (11)

1. a kind of control method of processor, which is characterized in that be applied in electronic equipment, the processor is included at least by the The first processor group of one manufacturing process manufacture and the second processor group manufactured by the second manufacturing process;
This method comprises:
Receive the task load of the electronic equipment;
Determine optimal use strategy of the processor under the task load;Wherein, the optimal use strategy is processing Under conditions of processor used by the task load meets performance requirement, the smallest strategy of power consumption;The optimal use plan Slightly pass through the comprehensive determination of power consumption of institute received task load amount, the processing capacity of each processor and each processor;
Processor corresponding with the optimal use strategy is called in the first processor group and the second processor group Handle the task load;
Wherein: the first processor group includes at least one first processor and at least one second processor;Described second The processing capacity of processor is greater than the processing capacity of the first processor;
The second processor group includes at least one third processor and at least one fourth processor;The fourth processor Processing capacity be greater than the third processor processing capacity.
2. the method according to claim 1, wherein
The processing capacity of the third processor is greater than the processing capacity of the first processor;
The processing capacity of the fourth processor is greater than the processing capacity of the second processor.
3. according to the method described in claim 2, it is characterized in that, the first processor group manufactured by the first manufacturing process The first processor group specially manufactured by low-power consumption semiconductor manufacturing process;
The second processor group by the manufacture of the second manufacturing process is specially second manufactured by high-speed semiconductor manufacturing process Processor group.
4. the method according to claim 1, wherein the first processor and the third processor are being handled When preset first task loads above same task load, the power consumption of the first processor is greater than the third processor Power consumption;
The first processor and the third processor are handling preset first task load same task load below When, the power consumption of the first processor is less than the power consumption of the third processor;
When the task load is located at first task load or less, the determination processor is in the task load Under optimal use strategy, specifically: determine that handling the task load using the first processor is optimal use strategy;
When the task load is located at first task load or more, and the processing capacity of the third processor meets performance It is required that when, optimal use strategy of the determination processor under the task load are as follows: determine using at the third Managing device and handling the task load is optimal use strategy.
5. the method according to claim 1, wherein the second processor and the fourth processor are being handled When more than preset second task load same task load, the power consumption of the second processor is greater than the fourth processor Power consumption;
The second processor and the fourth processor are handling preset second task load same task load below When, the power consumption of the second processor is less than the power consumption of the fourth processor;
When the task load be located at second task load hereinafter, and the processing capacity of the third processor be not able to satisfy When performance requirement, optimal use strategy of the determination processor under the task load, specifically: it determines and uses institute Stating second processor and handling the task load is optimal use strategy;
When the task load is located at second task load or more, and the processing capacity of the fourth processor meets performance It is required that when, optimal use strategy of the determination processor under the task load, specifically: it determines using described the The four processors processing task load is optimal use strategy.
6. a kind of control device of processor, which is characterized in that be applied in electronic equipment, the processor is included at least by the The first processor group of one manufacturing process manufacture and the second processor group manufactured by the second manufacturing process;
The device includes:
First receiving unit, for receiving the task load of the electronic equipment;
First determination unit, for determining optimal use strategy of the processor under the task load;Wherein, it is described most Good use tactful is the smallest plan of power consumption under conditions of processor used by handling the task load meets performance requirement Slightly;The optimal use strategy by received task load amount, the processing capacity of each processor and each processor Power consumption comprehensive determine;
First call unit, for being called and the optimal use in the first processor group and the second processor group The corresponding processor of strategy handles the task load;
Wherein: the first processor group includes at least one first processor and at least one second processor;Described second The processing capacity of processor is greater than the processing capacity of the first processor;
The second processor group includes at least one third processor and at least one fourth processor;The fourth processor Processing capacity be greater than the third processor processing capacity.
7. device according to claim 6, which is characterized in that
The processing capacity of the third processor is greater than the processing capacity of the first processor;
The processing capacity of the fourth processor is greater than the processing capacity of the second processor.
8. device according to claim 7, which is characterized in that the first processor group manufactured by the first manufacturing process The first processor group specially manufactured by low-power consumption semiconductor manufacturing process;
The second processor group by the manufacture of the second manufacturing process is specially second manufactured by high-speed semiconductor manufacturing process Processor group.
9. device according to claim 6, which is characterized in that the first processor and the third processor are being handled When preset first task loads above same task load, the power consumption of the first processor is greater than the third processor Power consumption;
The first processor and the third processor are handling preset first task load same task load below When, the power consumption of the first processor is less than the power consumption of the third processor;
When the task load is located at first task load or less, first determination unit makes specifically for determination Handling the task load with the first processor is optimal use strategy;
When the task load is located at first task load or more, and the processing capacity of the third processor meets performance It is required that when, first determination unit is specifically used for determining that handling the task load using the third processor is most preferably to make With strategy.
10. device according to claim 6, which is characterized in that the second processor and the fourth processor are being located When managing the same task load of preset second task load or more, the power consumption of the second processor is greater than the fourth process The power consumption of device;
The second processor and the fourth processor are handling preset second task load same task load below When, the power consumption of the second processor is less than the power consumption of the fourth processor;
When the task load be located at second task load hereinafter, and the processing capacity of the third processor be not able to satisfy When performance requirement, first determination unit is specifically used for determining that handling the task load using the second processor is most It is good to use strategy;
When the task load is located at second task load or more, and the processing capacity of the fourth processor meets performance It is required that when, first determination unit is specifically used for determining that handling the task load using the fourth processor is most preferably to make With strategy.
11. a kind of electronic equipment, which is characterized in that the control dress including the described in any item processors of such as claim 6~10 It sets.
CN201410392137.6A 2014-08-11 2014-08-11 A kind of control method of processor, device and electronic equipment Active CN104142729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410392137.6A CN104142729B (en) 2014-08-11 2014-08-11 A kind of control method of processor, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410392137.6A CN104142729B (en) 2014-08-11 2014-08-11 A kind of control method of processor, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104142729A CN104142729A (en) 2014-11-12
CN104142729B true CN104142729B (en) 2019-04-23

Family

ID=51851931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410392137.6A Active CN104142729B (en) 2014-08-11 2014-08-11 A kind of control method of processor, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104142729B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095567B (en) * 2016-05-31 2019-08-30 Oppo广东移动通信有限公司 A kind of distribution method and mobile terminal of installation task
CN106095544B (en) * 2016-05-31 2019-10-11 北京小米移动软件有限公司 Central processing unit control method and device
CN106776004A (en) * 2016-11-18 2017-05-31 努比亚技术有限公司 Cpu resource distributor and method
CN108089920A (en) * 2016-11-23 2018-05-29 华为技术有限公司 A kind of methods, devices and systems of data processing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707400A (en) * 2004-06-10 2005-12-14 马维尔国际贸易有限公司 High-power and low power computer processors
CN101790709A (en) * 2007-08-27 2010-07-28 马维尔国际贸易有限公司 Dynamic core switches

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5611855B2 (en) * 2011-02-10 2014-10-22 パナソニック株式会社 Power control apparatus and power control method
CN103942103A (en) * 2014-04-16 2014-07-23 乐视致新电子科技(天津)有限公司 Method and device for generating processor scheduling policy in multi-core system and scheduling system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1707400A (en) * 2004-06-10 2005-12-14 马维尔国际贸易有限公司 High-power and low power computer processors
CN101790709A (en) * 2007-08-27 2010-07-28 马维尔国际贸易有限公司 Dynamic core switches

Also Published As

Publication number Publication date
CN104142729A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN104142729B (en) A kind of control method of processor, device and electronic equipment
CN103019842B (en) Background program finishing method and system
CN103176842B (en) background process management method and mobile terminal thereof
CN107844187B (en) Power consumption management method and device and electronic equipment
CN103838353B (en) A kind of method and terminal of control processor operation
CN103513748A (en) Method for processing information, information processor and electronic device
CN104850491B (en) A kind of method for testing software, equipment and system
CN103856512A (en) Cloud computing management server, working host, idle host and resource scheduling method
CN106899649A (en) A kind of task requests processing method, device and user equipment
CN104391554A (en) Method for adjusting terminal temperature
CN103019856A (en) Asymmetric dispatch method for multi-core processor
US10452402B2 (en) Operation instruction response control method and terminal for human-machine interface
CN105843886A (en) Multi-thread based power grid offline model data query method
CN103037109A (en) Multicore equipment energy consumption management method and device
CN107222340A (en) A kind of fault handling method and device based on cloud platform
CN104484026A (en) Power management method and system and rack server
CN102831016A (en) Physical machine recycle method of cloud computing and device thereof
CN109388589A (en) A kind of method, equipment and storage medium adjusting cache partitions ratio
CN103942103A (en) Method and device for generating processor scheduling policy in multi-core system and scheduling system
CN117472471A (en) Application program configuration method, device, equipment and storage medium
CN103870331A (en) Dynamic processor core distribution method and electronic equipment
CN110545332A (en) Server cluster balancing method and system
CN104283943A (en) Communication optimizing method for cluster server
CN107870818A (en) Polycaryon processor interrupts dynamic response method and storage medium
US10264061B2 (en) User service access allocation method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant