CN105528055B - Run the processing method and processing device of object - Google Patents
Run the processing method and processing device of object Download PDFInfo
- Publication number
- CN105528055B CN105528055B CN201511021402.0A CN201511021402A CN105528055B CN 105528055 B CN105528055 B CN 105528055B CN 201511021402 A CN201511021402 A CN 201511021402A CN 105528055 B CN105528055 B CN 105528055B
- Authority
- CN
- China
- Prior art keywords
- run
- power consumption
- resource
- object run
- handled
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The disclosure is directed to run the processing method and processing device of object.This method includes:Determine the power consumption of current each operation object in equipment;According to the power consumption of presently described each operation object, determine that power consumption is more than the object run object of default power consumption from all operation objects;The object run object is handled, to reduce the power consumption of the equipment.The technical solution, in the power consumption according to current each operation object, when automatically determining out the object run object of power consumption exception, the object run object of power consumption exception can be closed or be limited the processing such as resource distributed it, it is out of service or limit its operation to control the object run object, to prevent it from constantly waking up system or reduce its number for waking up system, and then it is effectively reduced the power consumption of equipment, the electricity and standby time of saving system, improve the usage experience of user.
Description
Technical field
This disclosure relates to run object technology field, more particularly to the processing method and processing device of operation object.
Background technique
Currently, intelligence software, hardware wake up system so that system for its distribute operation resource when, be essentially all by
According to some cycles periodic wakeup, and multiple softwares or hardware are often installed in system, and different software, hardware
Wake-up period is often different, thus, for alignment, different software, hardware is allow to wake up system simultaneously, usually
It is waken up with the minimum period or with one compared with the minor cycle, but this scheme will increase the wake-up times of system, greatly increase
The power consumption of system.
Summary of the invention
The embodiment of the present disclosure provides the processing method and processing device of operation object.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of processing method running object is provided, including:
Determine the power consumption of current each operation object in equipment;
According to the power consumption of presently described each operation object, determine that power consumption is more than pre- from all operation objects
If the object run object of power consumption;
The object run object is handled, to reduce the power consumption of the equipment.
In one embodiment, current each power consumption for running object in the determining equipment, including:
Determine current change quantity when successively starting each operation object;
The power consumption of each operation object is determined according to the current change quantity.
In one embodiment, described that the object run object is handled, including:
The object run object is handled according to following at least one processing mode:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;
It is reduced to the distribution rank of the operation resource of the object run object distribution;Wherein, the operation resource includes:
At least one of cpu resource needed for running the object run object, GPU resource, network broadband resource, storage resource money
Source.
In one embodiment, described that the object run object is handled, including:
Determine the operation characteristic of the object run object, wherein the operation characteristic includes at least one of following feature:
The accumulative frequency of use of the object run object, the current operation power of the object run object, the object run pair
The runlevel of elephant;
When the operation characteristic meets default treatment conditions accordingly respectively, at the object run object
Reason;Or
When any one of operation characteristic feature does not meet default treatment conditions accordingly, by any one of described feature
It is prompted to user, so that the user is confirmed whether to handle the object run object;
When receiving the confirmation for handling object run object instruction, the object run object is handled.
In one embodiment, before the power consumption for reducing the equipment, the method also includes:
Booting No starting item is set by the object run object.
In one embodiment, described to set booting No starting item for the object run object, including:
Determine history run duration of the object run object in historical time section when each run;
When the history run duration when each run is respectively less than the default operation duration of the object run object,
Booting No starting item is set by the object run object.
According to the second aspect of an embodiment of the present disclosure, a kind of processing unit running object is provided, including:
First determining module, for determining the power consumption of current each operation object in equipment;
Second determining module, for the power consumption according to presently described each operation object, from all operation objects
Determine that power consumption is more than the object run object of default power consumption;
Processing module, for handling the object run object, to reduce the power consumption of the equipment.
In one embodiment, first determining module includes:
First determines submodule, for determining current change quantity when successively starting each operation object;
Second determines submodule, for determining the consumption of each operation object according to the current change quantity
Electricity.
In one embodiment, the processing module includes:
First processing submodule, for by the object run object according to following at least one processing mode at
Reason:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;
It is reduced to the distribution rank of the operation resource of the object run object distribution;Wherein, the operation resource includes:
At least one of cpu resource needed for running the object run object, GPU resource, network broadband resource, storage resource money
Source.
In one embodiment, the processing module includes:
Third determines submodule, for determining the operation characteristic of the object run object, wherein the operation characteristic packet
Include at least one of following feature:The current operation of the accumulative frequency of use of the object run object, the object run object
The runlevel of power, the object run object;
Second processing submodule is used for when the operation characteristic meets default treatment conditions accordingly respectively, to described
Object run object is handled;Or
Prompting submodule, for when any one of operation characteristic feature does not meet default treatment conditions accordingly,
Any one of described feature is prompted to user, so that the user is confirmed whether to handle the object run object;
Third handle submodule, for when receive handle the object run object confirmation instruct when, to the mesh
Mark operation object is handled.
In one embodiment, described device further includes:
Setup module, for before the power consumption for reducing the equipment, the object run object being set as being switched on
No starting item.
In one embodiment, the setup module includes:
4th determines submodule, for determining history of the object run object in historical time section when each run
Operation duration;
Submodule is set, is respectively less than the object run object for the history run duration when each run
When default operation duration, booting No starting item is set by the object run object.
According to the third aspect of an embodiment of the present disclosure, a kind of processing unit for running object is provided, including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Determine the power consumption of current each operation object in equipment;
According to the power consumption of presently described each operation object, determine that power consumption is more than pre- from all operation objects
If the object run object of power consumption;
The object run object is handled, to reduce the power consumption of the equipment.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The technical scheme provided by this disclosed embodiment is automatically determined in the power consumption according to current each operation object
Out when the object run object of power consumption exception, the object run object of power consumption exception can be closed or be limited
The processing such as resource that it is distributed, it is out of service or limit its operation to control the object run object, to prevent it not
System is waken up disconnectedly or reduces its number for waking up system, and then is effectively reduced the power consumption of equipment, saves the electricity of system
Amount and standby time, improve the usage experience of user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of processing method for running object shown according to an exemplary embodiment.
Fig. 2 is the flow chart of the processing method of another operation object shown according to an exemplary embodiment.
Fig. 3 is the flow chart according to the processing method of another operation object shown in an exemplary embodiment one.
Fig. 4 A is the flow chart according to the processing method of another operation object shown in an exemplary embodiment one.
Fig. 4 B is the flow chart according to the processing method of another operation object shown in an exemplary embodiment one.
Fig. 5 is the flow chart according to the processing method of another operation object shown in an exemplary embodiment one.
Fig. 6 is the flow chart according to the processing method of another operation object shown in an exemplary embodiment one.
Fig. 7 is a kind of block diagram of processing unit for running object shown according to an exemplary embodiment.
Fig. 8 is the block diagram of the processing unit of another operation object shown according to an exemplary embodiment.
Fig. 9 is the block diagram of the processing unit of another operation object shown according to an exemplary embodiment.
Figure 10 A is the block diagram of the processing unit of another operation object shown according to an exemplary embodiment.
Figure 10 B is the block diagram of the processing unit of another operation object shown according to an exemplary embodiment.
Figure 11 is the block diagram of the processing unit of another operation object shown according to an exemplary embodiment.
Figure 12 is the block diagram of the processing unit of another operation object shown according to an exemplary embodiment.
Figure 13 is the block diagram of the processing unit shown according to an exemplary embodiment for being suitable for running object.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Currently, intelligence software, hardware wake up system so that system for its distribute operation resource when, be essentially all by
According to some cycles periodic wakeup, and multiple softwares or hardware are often installed in system, and different software, hardware
Wake-up period is often different, thus, for alignment, different software, hardware is allow to wake up system simultaneously, usually
It is waken up with the minimum period or with one compared with the minor cycle, but this scheme will increase the wake-up times of system, greatly increase
The power consumption of system.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of processing method for running object, this method
It can be used for running in the processing routine, system or device of object, and the corresponding executing subject of this method can be user's carrying
Terminal, computer etc., as shown in Figure 1, the method comprising the steps of S101 to step S103:
In step s101, the power consumption of current each operation object in equipment is determined;
Power consumption or the operation object when power consumption of each operation object can be operation object starting are run
When power consumption;
Each operation object may each be application program, service or process etc..
In step s 102, it according to the power consumption of current each operation object, determines to consume from all operation objects
Electricity is more than the object run object of default power consumption;
The default power consumption can be the mean value of the power consumption of current all operation objects, or with each operation pair
It, can be by each operation object as corresponding power consumption, and after the power consumption for getting current each operation object
It is more than default consumption to automatically determine out power consumption from all operation objects compared with power consumption successively presets power consumption with this
The object run object of the power consumption exception of electricity;
In addition, during comparison, it, should if the default power consumption is power consumption corresponding with each operation object
The definitive result of abnormal object run object will be more accurate.
In step s 103, object run object is handled, to reduce the power consumption of equipment.
Since operation object in starting abnormal (such as repeatedly starting failure) or is operating abnormally (such as cannot respond to user's operation)
When, often power consumption is abnormal, thus, it, can be different to the power consumption when determining the object run object of power consumption exception
The processing such as resource distributed it is closed or limited to normal object run object, to control object run object stopping
It runs and perhaps limits its operation to prevent it from constantly waking up system or reduce its number for waking up system, and then effectively
Ground reduces the power consumption of equipment, saves the electricity and standby time of system, improves the usage experience of user.
As shown in Fig. 2, in one embodiment, above-mentioned steps S101 can be performed as:
In step A1, current change quantity when successively starting each operation object is determined;
In step A2, the power consumption of each operation object is determined according to current change quantity.
When determining the power consumption of current each operation object, electric current when successively starting each operation object can be determined
Variable quantity is the current change quantity of system before and after starting each operation object, and then determines each fortune according to the current change quantity
The power consumption of row object, that is, directly determining the current change quantity is when the operation object that corresponding operation object has just started starts
Power consumption, or the corresponding relationship of power consumption when being started according to the operation object and power consumption when operation, are become by the electric current
Change power consumption when measuring the corresponding operation object operation.
As shown in figure 3, in one embodiment, above-mentioned steps S103 can be performed as:
In step bl is determined, object run object is handled according to following at least one processing mode:
Control object run object exits;
It is exited by controlling the object run object, it is out of service to can control the object run object, so that the target
Operation object no longer wakes up system, no longer occupies any operation resource, to farthest reduce the power consumption of equipment.
Object run object is forbidden to use operation resource;
By forbidding the object run object using operation resource, the object run object can be made to keep current operation shape
State no longer occupies additional operation resource, to be effectively reduced the power consumption of equipment.
It is reduced to the operation resource of object run object distribution;
By being reduced to the operation resource of object run object distribution, such as the maximum of limitation CPU, GPU operation resource
Frequency of use or power energy can reduce the runnability of the object run object and the request frequency to system request resource
Rate to reduce the power consumption in the object run object unit time, and reduces the influence to system, and then reduces equipment
Power consumption.
It is reduced to the distribution rank of the operation resource of object run object distribution;Wherein, operation resource includes:Operational objective
CPU (Central Processing Unit, central processing unit) resource, GPU (Graphics needed for running object
Processing Unit, graphics processor) resource, network broadband resource (width and bandwidth left amount of such as network bandwidth),
At least one of storage resource (such as memory, hard disk, floppy disk resource) resource.
The distribution rank for reducing operation resource will reduce the distribution of high-quality resource (such as CPU), will be the object run
Object distribution is some to the lesser resource of object run object runnability effect of optimization, to reduce the object run object
Runnability (such as operating rate, the speed of response), reduce the power consumption in the object run object unit time, and then subtract
The power consumption of low equipment.
As shown in Figure 4 A, in one embodiment, above-mentioned steps S103 can be performed as:
In step C1, the operation characteristic of object run object is determined, wherein operation characteristic includes at least one of following special
Sign:The accumulative frequency of use of object run object, the current operation power of object run object, object run object runtime class
Not;
In step C2, when operation characteristic meets default treatment conditions accordingly respectively, object run object is carried out
Processing;
When the operation characteristic of the object run object meets default treatment conditions i.e. object run object accordingly respectively
Accumulative frequency of use be less than or equal to default accumulative frequency of use, the current operation power of object run object is less than or equal to
When the default runlevel for running power, object run object is less than or equal to default runlevel, illustrate the object run pair
As seldom running, the rank of the rarely needed object run object of user or the object run object is relatively low, even if exiting
The object run object forbids the object run object using operation resource, is reduced to the operation of object run object distribution
Resource, and/or the distribution rank for being reduced to the operation resource that the object run object distributes, so that the object run object stops
Operation or runnability are lowered, and will not be made a big impact to system, thus can be automatically to the object run pair
As being handled, to lower the power consumption of equipment.
Or
As shown in Figure 4 B, in one embodiment, above-mentioned steps S103 can be performed as:
In step C3, when any one of operation characteristic feature does not meet default treatment conditions accordingly, by any one
Feature is prompted to user, so that user is confirmed whether that processing target runs object;
When any one of the operation characteristic of object run object feature does not meet default treatment conditions accordingly, explanation
The object run object is likely to be normal operation, and the rank of the common object of user or the object run object is relatively high, but
Also not necessarily, thus in order to avoid to the object run object carry out accidentally processing, which can be prompted to user,
So that user is confirmed whether to handle the object run object according to the particular content and significance level of any feature, so that it is guaranteed that
In the case where not affecting user experience with system operation, the object run object can accurately locate in time
Reason;
In step C4, when receiving the confirmation instruction of processing target operation object, at object run object
Reason.
When receiving confirmation instruction, illustrate that user's expectation handles the object run object, to reduce equipment
Power consumption then can immediately be handled the object run object, to reduce the power consumption of equipment.
The embodiment of above-mentioned Fig. 3 can be combined with the embodiment of Fig. 4 A, and the embodiment of Fig. 3 can also be with Fig. 4 B's
Embodiment combines.
As shown in figure 5, in one embodiment, before executing step S103, method may also include:
In step S501, booting No starting item is set by object run object.
After handling the object run object, can automatically or manually it set the object run object to
Be switched on No starting item, so that the object run object does not start in booting, and only just opens when user starts
Dynamic operation simultaneously distributes operation resource for it, to can not only reduce the power consumption of system, but also can not influence user to the target
Run the normal use of object.
Wherein, above-mentioned steps S501 can be also placed on object run object is handled after, and set described in the reduction
It is executed before standby power consumption.
As shown in fig. 6, in one embodiment, above-mentioned steps S501 can be performed as:
In step D1, history run duration of the object run object in historical time section when each run is determined;
In step d 2, the history run duration when each run is respectively less than the default operation duration of object run object
When, booting No starting item is set by object run object.
It, can be in order to avoid being accidentally arranged when determining whether to set the object run object to booting No starting item
History run duration of the object run object in historical time section (within past one week) when each run is determined, when each fortune
When history run duration when row is respectively less than default operation duration (such as 10 minutes) of the object run object, illustrate that the target is transported
The duration of row object each run is not too long, then can be confirmed that user does not prefer to use usually really, then can be by object run pair
Do not start the object run object when so that being switched on every time as being automatically set as booting No starting item, can both subtract in this way
Few system power consumption, and the normal use experience of user is not influenced.
In addition, can be combined with target in the historical time section when determining whether to be set as booting No starting item and transport
The operation total degree of row object, if operation total degree is less than preset times (such as 3 times), and history run duration when each run
The also less than default operation duration can then be able adequately determines user and usually be of little use really the object run object, sufficiently avoid
Accidentally booting No starting item is set by the object run object.
The processing method for the above-mentioned operation object that the corresponding embodiment of the present disclosure provides, the embodiment of the present disclosure also provide a kind of fortune
The processing unit of row object, as shown in fig. 7, the device includes:
First determining module 701 is configured to determine that the power consumption of current each operation object in equipment;
Second determining module 702 is configured as the power consumption according to presently described each operation object, from all operations
Determine that power consumption is more than the object run object of default power consumption in object;
Processing module 703 is configured as handling the object run object, to reduce the power consumption of the equipment
Amount.
As shown in figure 8, in one embodiment, first determining module 701 includes:
First determines submodule 7011, is configured to determine that electricity when successively starting each operation object
Flow variable quantity;
Second determines submodule 7012, is configured as determining each operation according to the current change quantity
The power consumption of object.
As shown in figure 9, in one embodiment, the processing module 703 includes:
First processing submodule 7031 is configured as the object run object according to following at least one processing mode
It is handled:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;
It is reduced to the distribution rank of the operation resource of the object run object distribution;Wherein, the operation resource includes:
At least one of cpu resource needed for running the object run object, GPU resource, network broadband resource, storage resource money
Source.
As shown in Figure 10 A, in one embodiment, the processing module 703 includes:
Third determines submodule 7032, is configured to determine that the operation characteristic of the object run object, wherein the fortune
Row feature includes at least one of following feature:The accumulative frequency of use of the object run object, the object run object
The runlevel of current operation power, the object run object;
Second processing submodule 7033 is configured as meeting default treatment conditions accordingly respectively when the operation characteristic
When, the object run object is handled;Or
As shown in Figure 10 B, in one embodiment, the processing module 703 includes:
Prompting submodule 7034 is configured as not meeting corresponding default processing when any one of operation characteristic feature
When condition, any one of described feature is prompted to user, so that the user is confirmed whether to handle the object run object;
Third handles submodule 7035, is configured as when receiving the confirmation for handling object run object instruction,
The object run object is handled.
As shown in figure 11, in one embodiment, described device further includes:
Setup module 1101 is configured as before the power consumption for reducing the equipment, the object run object is set
It is set to booting No starting item.
As shown in figure 12, in one embodiment, the setup module 1101 includes:
4th determines submodule 11011, is configured to determine that the object run object is transported every time in historical time section
History run duration when row;
Submodule 11012 is set, is configured as the history run duration when each run and is respectively less than the target
When running the default operation duration of object, booting No starting item is set by the object run object.
According to the third aspect of an embodiment of the present disclosure, a kind of processing unit running object is provided, including:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
Determine the power consumption of current each operation object in equipment;
According to the power consumption of presently described each operation object, determine that power consumption is more than pre- from all operation objects
If the object run object of power consumption;
The object run object is handled, to reduce the power consumption of the equipment.
Above-mentioned processor is also configured to:
The power consumption of current each operation object in the determining equipment, including:
Determine current change quantity when successively starting each operation object;
The power consumption of each operation object is determined according to the current change quantity.
Above-mentioned processor is also configured to:
It is described that the object run object is handled, including:
The object run object is handled according to following at least one processing mode:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;
It is reduced to the distribution rank of the operation resource of the object run object distribution;Wherein, the operation resource includes:
At least one of cpu resource needed for running the object run object, GPU resource, network broadband resource, storage resource money
Source.
Above-mentioned processor is also configured to:
It is described that the object run object is handled, including:
Determine the operation characteristic of the object run object, wherein the operation characteristic includes at least one of following feature:
The accumulative frequency of use of the object run object, the current operation power of the object run object, the object run pair
The runlevel of elephant;
When the operation characteristic meets default treatment conditions accordingly respectively, at the object run object
Reason;Or
When any one of operation characteristic feature does not meet default treatment conditions accordingly, by any one of described feature
It is prompted to user, so that the user is confirmed whether to handle the object run object;
When receiving the confirmation for handling object run object instruction, the object run object is handled.
Above-mentioned processor is also configured to:
Before the power consumption for reducing the equipment, the method also includes:
Booting No starting item is set by the object run object.
Above-mentioned processor is also configured to:
It is described to set booting No starting item for the object run object, including:
Determine history run duration of the object run object in historical time section when each run;
When the history run duration when each run is respectively less than the default operation duration of the object run object,
Booting No starting item is set by the object run object.
Figure 13 be it is shown according to an exemplary embodiment a kind of for running the block diagram of the processing unit 1300 of object, should
Device is suitable for terminal device.For example, device 1300 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting set
It is standby, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 3, device 1300 may include with next or at least two components:Processing component 1302, memory
1304, power supply module 1306, multimedia component 1308, audio component 1310, the interface 1312 of input/output (I/O), sensor
Component 1314 and communication component 1316.
The integrated operation of the usual control device 1300 of processing component 1302, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing component 1302 may include one or at least two processors 1320
It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1302 may include one or at least
Two modules, convenient for the interaction between processing component 1302 and other assemblies.For example, processing component 1302 may include multimedia
Module, to facilitate the interaction between multimedia component 1308 and processing component 1302.
Memory 1304 is configured as storing various types of data to support the operation in equipment 1300.These data
Example includes the instruction for any storage object or method that operate on device 1300, contact data, telephone book data,
Message, picture, video etc..Memory 1304 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Electric power assembly 1306 provides electric power for the various assemblies of device 1300.Electric power assembly 1306 may include power management
System, one or at least two power supplys and other with for device 1300 generate, manage, and distribute the associated component of electric power.
Multimedia component 1308 includes the screen of one output interface of offer between described device 1300 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or at least two touchings
Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments
In, multimedia component 1308 includes a front camera and/or rear camera.When equipment 1300 is in operation mode, such as
When screening-mode or video mode, front camera and/or rear camera can receive external multi-medium data.Before each
Setting camera and rear camera can be a fixed optical lens system or has focusing and optical zoom capabilities.
Audio component 1310 is configured as output and/or input audio signal.For example, audio component 1310 includes a wheat
Gram wind (MIC), when device 1300 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1304 or via communication
Component 1316 is sent.In some embodiments, audio component 1310 further includes a loudspeaker, is used for output audio signal.
I/O interface 1312 provides interface, above-mentioned peripheral interface module between processing component 1302 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and
Locking press button.
Sensor module 1314 includes one or at least two sensors, for providing the shape of various aspects for device 1300
State assessment.For example, sensor module 1314 can detecte the state that opens/closes of equipment 1300, the relative positioning of component, example
Such as the display and keypad that the component is device 1300, sensor module 1314 can be with detection device 1300 or device
The position change of 1300 1 components, the existence or non-existence that user contacts with device 1300,1300 orientation of device or acceleration/subtract
The temperature change of speed and device 1300.Sensor module 1314 may include proximity sensor, be configured to not any
Physical contact when detect the presence of nearby objects.Sensor module 1314 can also include optical sensor, as CMOS or CCD schemes
As sensor, for being used in imaging applications.In some embodiments, which can also include acceleration
Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1316 is configured to facilitate the communication of wired or wireless way between device 1300 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1300,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1316 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1316 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1300 can by one or at least two application specific integrated circuits (ASIC),
Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array
It arranges (FPGA), controller, microcontroller, microprocessor or other electronic building bricks to realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1304 of instruction, above-metioned instruction can be executed by the processor 1320 of device 1300 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by above-mentioned apparatus 1300
When processor executes, so that above-mentioned apparatus 1300 is able to carry out a kind of processing method for running object, including:
Determine the power consumption of current each operation object in equipment;
According to the power consumption of presently described each operation object, determine that power consumption is more than pre- from all operation objects
If the object run object of power consumption;
The object run object is handled, to reduce the power consumption of the equipment.
In one embodiment, current each power consumption for running object in the determining equipment, including:
Determine current change quantity when successively starting each operation object;
The power consumption of each operation object is determined according to the current change quantity.
In one embodiment, described that the object run object is handled, including:
The object run object is handled according to following at least one processing mode:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;
It is reduced to the distribution rank of the operation resource of the object run object distribution;Wherein, the operation resource includes:
At least one of cpu resource needed for running the object run object, GPU resource, network broadband resource, storage resource money
Source.
In one embodiment, described that the object run object is handled, including:
Determine the operation characteristic of the object run object, wherein the operation characteristic includes at least one of following feature:
The accumulative frequency of use of the object run object, the current operation power of the object run object, the object run pair
The runlevel of elephant;
When the operation characteristic meets default treatment conditions accordingly respectively, at the object run object
Reason;Or
When any one of operation characteristic feature does not meet default treatment conditions accordingly, by any one of described feature
It is prompted to user, so that the user is confirmed whether to handle the object run object;
When receiving the confirmation for handling object run object instruction, the object run object is handled.
In one embodiment, before the power consumption for reducing the equipment, the method also includes:
Booting No starting item is set by the object run object.
In one embodiment, described to set booting No starting item for the object run object, including:
Determine history run duration of the object run object in historical time section when each run;
When the history run duration when each run is respectively less than the default operation duration of the object run object,
Booting No starting item is set by the object run object.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (9)
1. a kind of processing method for running object, which is characterized in that including:
Determine the power consumption of current each operation object in equipment;
According to the power consumption of presently described each operation object, determine that power consumption is more than default consumption from all operation objects
The object run object of electricity;
The object run object is handled, to reduce the power consumption of the equipment;
It is described that the object run object is handled, including:
It is reduced to the distribution rank of the operation resource of the object run object distribution;
Before the power consumption for reducing the equipment, the method also includes:
Booting No starting item is set by the object run object;
It is described to set booting No starting item for the object run object, including:
Determine history run duration of the object run object in historical time section when each run;
When the history run duration when each run is respectively less than the default operation duration of the object run object, by institute
It states object run object and is set as booting No starting item.
2. the method according to claim 1, wherein
The power consumption of current each operation object in the determining equipment, including:
Determine current change quantity when successively starting each operation object;
The power consumption of each operation object is determined according to the current change quantity.
3. the method according to claim 1, wherein
It is described that the object run object is handled, further include:
The object run object is handled according to following at least one processing mode:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;Wherein, the operation resource includes:Run the target fortune
At least one of cpu resource needed for row object, GPU resource, network broadband resource, storage resource resource.
4. the method according to claim 1, wherein
It is described that the object run object is handled, including:
Determine the operation characteristic of the object run object, wherein the operation characteristic includes at least one of following feature:It is described
The accumulative frequency of use of object run object, the current operation power of the object run object, the object run object
Runlevel;
When the operation characteristic meets default treatment conditions accordingly respectively, the object run object is handled;Or
Person
When any one of operation characteristic feature does not meet default treatment conditions accordingly, any one of described feature is prompted
To user, so that the user is confirmed whether to handle the object run object;
When receiving the confirmation for handling object run object instruction, the object run object is handled.
5. a kind of processing unit for running object, which is characterized in that including:
First determining module, for determining the power consumption of current each operation object in equipment;
Second determining module is determined from all operation objects for the power consumption according to presently described each operation object
Power consumption is more than the object run object of default power consumption out;
Processing module, for handling the object run object, to reduce the power consumption of the equipment;
The processing module includes:
First processing submodule, for reducing the distribution rank for the operation resource distributed for the object run object;
Described device further includes:
Setup module, for setting booting for the object run object and forbidding before the power consumption for reducing the equipment
Startup item;
The setup module includes:
4th determines submodule, for determining history run of the object run object in historical time section when each run
Duration;
Submodule is set, is respectively less than the default of the object run object for the history run duration when each run
When operation duration, booting No starting item is set by the object run object.
6. device according to claim 5, which is characterized in that
First determining module includes:
First determines submodule, for determining current change quantity when successively starting each operation object;
Second determines submodule, for determining the power consumption of each operation object according to the current change quantity.
7. device according to claim 5, which is characterized in that
The first processing submodule is also used to the object run object at according to following at least one processing mode
Reason:
The object run object is controlled to exit;
The object run object is forbidden to use operation resource;
It is reduced to the operation resource of the object run object distribution;Wherein, the operation resource includes:Run the target fortune
At least one of cpu resource needed for row object, GPU resource, network broadband resource, storage resource resource.
8. device according to claim 5, which is characterized in that
The processing module includes:
Third determines submodule, for determining the operation characteristic of the object run object, wherein the operation characteristic include with
At least one of lower feature:The accumulative frequency of use of the object run object, the object run object current operation power,
The runlevel of the object run object;
Second processing submodule is used for when the operation characteristic meets default treatment conditions accordingly respectively, to the target
Operation object is handled;Or
Prompting submodule, for when any one of operation characteristic feature does not meet default treatment conditions accordingly, by institute
It states any one feature and is prompted to user, so that the user is confirmed whether to handle the object run object;
Third handles submodule, for being transported to the target when receiving the confirmation for handling object run object instruction
Row object is handled.
9. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that described program
The step of any one of claims 1 to 4 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511021402.0A CN105528055B (en) | 2015-12-30 | 2015-12-30 | Run the processing method and processing device of object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511021402.0A CN105528055B (en) | 2015-12-30 | 2015-12-30 | Run the processing method and processing device of object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105528055A CN105528055A (en) | 2016-04-27 |
CN105528055B true CN105528055B (en) | 2018-11-23 |
Family
ID=55770331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511021402.0A Active CN105528055B (en) | 2015-12-30 | 2015-12-30 | Run the processing method and processing device of object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105528055B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055365B (en) * | 2016-05-31 | 2019-10-25 | Oppo广东移动通信有限公司 | A kind of closing application program method and apparatus |
CN106371831A (en) * | 2016-08-25 | 2017-02-01 | 北京小米移动软件有限公司 | Awakening control method and device and terminal |
CN106648730A (en) * | 2016-09-26 | 2017-05-10 | 北京小米移动软件有限公司 | Processing method and device of abnormal application |
CN110008008A (en) * | 2017-12-29 | 2019-07-12 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
CN109993525B (en) * | 2017-12-29 | 2022-06-10 | Oppo广东移动通信有限公司 | Application program processing method and device, electronic equipment and computer readable storage medium |
CN109992368B (en) * | 2017-12-29 | 2023-10-20 | Oppo广东移动通信有限公司 | Application processing method and device, electronic equipment and computer readable storage medium |
CN109992371A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Applied program processing method, device, electronic equipment, computer readable storage medium |
CN108541013B (en) * | 2018-03-29 | 2022-06-10 | Oppo广东移动通信有限公司 | Information processing method, device, mobile terminal and computer readable storage medium |
CN110633169B (en) * | 2019-01-07 | 2020-09-22 | 北京聚通达科技股份有限公司 | Backup computer storage system |
CN111951169A (en) * | 2019-04-29 | 2020-11-17 | 泰州悦诚科技信息咨询中心 | Adaptive data correction method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508761A (en) * | 2011-11-17 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Management method for terminal electric quantity and terminal |
CN103701970A (en) * | 2013-12-04 | 2014-04-02 | 中国科学院深圳先进技术研究院 | Power consumption prompting method and device for mobile terminal and mobile terminal |
CN103729052A (en) * | 2013-12-31 | 2014-04-16 | 贝壳网际(北京)安全技术有限公司 | Processing method and system for power consumption of application program and mobile terminal |
CN104281510A (en) * | 2013-07-05 | 2015-01-14 | 贝壳网际(北京)安全技术有限公司 | Method and system for obtaining power consumption degree of application program and energy-saving method and system |
CN104298335A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Application program process cleaning method and device of mobile terminal and mobile terminal |
CN104298336A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Mobile terminal and control method and device of application program of mobile terminal |
CN104317608A (en) * | 2014-09-30 | 2015-01-28 | 北京金山安全软件有限公司 | Management method and device for pre-installed application program in mobile terminal and client |
CN104699218A (en) * | 2013-12-10 | 2015-06-10 | 华为终端有限公司 | Task management method and equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984538B (en) * | 2014-03-27 | 2017-04-26 | 华为技术有限公司 | Application scenario identification method, power consumption management method, devices and terminal equipment |
-
2015
- 2015-12-30 CN CN201511021402.0A patent/CN105528055B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508761A (en) * | 2011-11-17 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Management method for terminal electric quantity and terminal |
CN104281510A (en) * | 2013-07-05 | 2015-01-14 | 贝壳网际(北京)安全技术有限公司 | Method and system for obtaining power consumption degree of application program and energy-saving method and system |
CN104298335A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Application program process cleaning method and device of mobile terminal and mobile terminal |
CN104298336A (en) * | 2013-07-19 | 2015-01-21 | 贝壳网际(北京)安全技术有限公司 | Mobile terminal and control method and device of application program of mobile terminal |
CN103701970A (en) * | 2013-12-04 | 2014-04-02 | 中国科学院深圳先进技术研究院 | Power consumption prompting method and device for mobile terminal and mobile terminal |
CN104699218A (en) * | 2013-12-10 | 2015-06-10 | 华为终端有限公司 | Task management method and equipment |
CN103729052A (en) * | 2013-12-31 | 2014-04-16 | 贝壳网际(北京)安全技术有限公司 | Processing method and system for power consumption of application program and mobile terminal |
CN104317608A (en) * | 2014-09-30 | 2015-01-28 | 北京金山安全软件有限公司 | Management method and device for pre-installed application program in mobile terminal and client |
Also Published As
Publication number | Publication date |
---|---|
CN105528055A (en) | 2016-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105528055B (en) | Run the processing method and processing device of object | |
CN106375604B (en) | The method and apparatus of controlling terminal electricity | |
KR101837333B1 (en) | Method and apparatus for awakening electronic device | |
EP3133874B1 (en) | Method and apparatus for starting energy saving mode | |
EP3113549A1 (en) | Method and device for waking up mcu chip | |
US20170025874A1 (en) | Charging method | |
EP3112979B1 (en) | Method and device for waking up mcu | |
CN105137831B (en) | Energy-saving mode open method and device | |
US10216248B2 (en) | Method and device for controlling power consumption | |
WO2020223885A1 (en) | Timeout processing method and device for inactivity timer | |
EP3288148B1 (en) | Method and apparatus for device control | |
CN105807894B (en) | Using the treating method and apparatus for holding lock | |
CN104023129A (en) | Power saving method and device thereof | |
CN107783790B (en) | Terminal awakening method and device | |
CN112201242A (en) | Method and device for waking up equipment, electronic equipment and storage medium | |
CN104657172A (en) | System upgrading method and device | |
CN105867592B (en) | A kind of method and apparatus managing electric quantity consumption | |
CN110941321A (en) | Power supply method and device for electronic equipment and intelligent equipment | |
CN108874450B (en) | Method and device for waking up voice assistant | |
CN109062625A (en) | The method, apparatus and readable storage medium storing program for executing of application program load | |
US20170147134A1 (en) | Method and apparatus for controlling touch-screen sensitivity | |
CN107659727B (en) | Terminal control method, device and storage medium | |
CN104991634A (en) | Terminal control method and device | |
CN108710558A (en) | Progress control method and device for computer | |
CN105188112A (en) | Method and device for controlling dormant state |
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 |