CN105867592A - Method and device for managing electric quantity consumption - Google Patents

Method and device for managing electric quantity consumption Download PDF

Info

Publication number
CN105867592A
CN105867592A CN201610244755.5A CN201610244755A CN105867592A CN 105867592 A CN105867592 A CN 105867592A CN 201610244755 A CN201610244755 A CN 201610244755A CN 105867592 A CN105867592 A CN 105867592A
Authority
CN
China
Prior art keywords
application program
electric quantity
terminal
quantity consumption
white list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610244755.5A
Other languages
Chinese (zh)
Other versions
CN105867592B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610244755.5A priority Critical patent/CN105867592B/en
Publication of CN105867592A publication Critical patent/CN105867592A/en
Application granted granted Critical
Publication of CN105867592B publication Critical patent/CN105867592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power 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)
  • Telephone Function (AREA)

Abstract

The invention relates to a method and device for managing electric quantity consumption and belongs to the technical field of electronics. The method comprises the steps of triggering a quick processing prompt when it is detected that preset high electric quantity consumption events occur; receiving confirming information on the quick processing prompt; and starting quick processing, wherein the quick processing comprises forbidding a preset non-white list application program from being started in a mode of receiving system broadcast. By adoption of the method and device for managing electric quantity consumption, too fast electric quantity consumption can be avoided.

Description

A kind of method and apparatus managing electric quantity consumption
Technical field
The disclosure is directed to electronic technology field, especially with respect to a kind of method and apparatus managing electric quantity consumption.
Background technology
Along with the development of electronic technology, the application of the mobile terminals such as mobile phone is more and more extensive, in corresponding terminal The kind of application program more and more, function is more and more abundanter.Application program can be at front stage operation, i.e. The interface of terminal demonstration application program when application program runs, or, application program can also be transported on backstage OK, i.e. when application program runs not at its interface of terminal demonstration.Mode based on application program running background, Terminal can run a lot of application program simultaneously, so, it will the electric quantity consumption causing terminal is very fast.
Summary of the invention
In order to overcome problem present in correlation technique, present disclose provides a kind of method managing electric quantity consumption And device.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of method managing electric quantity consumption, described method Including:
Detect when default high electric quantity consumption event occurs, trigger and quickly process prompting;
Receive the confirmation according to described quick process prompting;
Starting and quickly process, described quick process includes forbidding presetting non-white list application program by accepting system The mode of system broadcast starts.
Optionally, the high electric quantity consumption event that described detection is preset occurs, including:
During terminal operating, at least in following event detected:
Cpu temperature reaches preset temperature threshold value;
The electricity of unit interval internal consumption reaches to preset power threshold;
Background process quantity reaches predetermined number threshold value;With,
Electricity under charged state is on a declining curve.
Optionally, described quick process, also include:
Forbid that presetting non-white list application program starts in the way of by other application calls.
Optionally, forbid described in that presetting non-white list application program opens in the way of by other application calls Move and include:
Forbid presetting non-white list application program with by startActivity, sendBroadcast, startService Or getContentProvid mode is started by the mode of other application calls.
Start as such, it is possible to prevent application program to be invoked at backstage, and then, can effectively prevent electricity from disappearing Consume too fast.
Optionally, described quick process, also include:
Close the program process of running background;And/or,
Screen intensity is down to predetermined luminance;And/or,
When detecting that the duration of screen lock state of described terminal reaches preset duration threshold value, close backstage The application program run.
Optionally, described method also includes:
In the charge state, the charging voltage of described terminal is detected;
When described charging voltage reaches predetermined voltage threshold, terminate charging.
As such, it is possible to extend the use time of terminal.
Second aspect according to disclosure embodiment, it is provided that a kind of device managing electric quantity consumption, described device Including:
First detection module, for detection when default high electric quantity consumption event occurs, triggers and quickly processes Prompting;
Receiver module, for receiving the confirmation according to described quick process prompting;
Processing module, is used for starting quickly process, and described quick process includes forbidding presetting the application of non-white list Program starts by the way of accepting system broadcasts.
Optionally, described first detection module, it is used for:
During terminal operating, at least in following event detected:
Cpu temperature reaches preset temperature threshold value;
The electricity of unit interval internal consumption reaches to preset power threshold;
Background process quantity reaches predetermined number threshold value;With,
Electricity under charged state is on a declining curve.
Optionally, described processing module, it is additionally operable to:
Forbid that presetting non-white list application program starts in the way of by other application calls.
Optionally, described processing module, it is used for:
Forbid presetting non-white list application program with by startActivity, sendBroadcast, startService Or getContentProvid mode is started by the mode of other application calls.
Optionally, described processing module, including:
Close closed submodule, for closing the program process of running background;And/or,
Reduce submodule, for screen intensity is down to predetermined luminance;And/or,
Described pass closed submodule, is additionally operable to:
When detecting that the duration of screen lock state of described terminal reaches preset duration threshold value, close backstage The application program run.
Optionally, described device also includes:
Second detection module, in the charge state, detects the charging voltage of described terminal;
Terminate module, for when described charging voltage reaches predetermined voltage threshold, terminate charging.
The third aspect according to disclosure embodiment, it is provided that a kind of device managing electric quantity consumption, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Detect when default high electric quantity consumption event occurs, trigger and quickly process prompting;
Receive the confirmation according to described quick process prompting;
Starting and quickly process, described quick process includes forbidding presetting non-white list application program by accepting system The mode of system broadcast starts.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
In disclosure embodiment, detect when default high electric quantity consumption event occurs, trigger quickly to process carrying Show, receive according to the confirmation quickly processing prompting;Start and quickly process, quickly process include forbidding pre- If non-white list application program starts by the way of accepting system broadcasts.As such, it is possible to prevent some from applying Automatic Program starts on backstage and consumes electricity, it is thus possible to prevent electric quantity consumption too fast.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, The disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the disclosure Embodiment, and for explaining the principle of the disclosure together with description.In the accompanying drawings:
Fig. 1 is the flow chart according to a kind of method managing electric quantity consumption shown in an exemplary embodiment;
Fig. 2 is according to a kind of prompting window schematic diagram shown in an exemplary embodiment;
Fig. 3 is according to a kind of selection window schematic diagram shown in an exemplary embodiment;
Fig. 4 is the structural representation according to a kind of device managing electric quantity consumption shown in an exemplary embodiment;
Fig. 5 is the structural representation according to a kind of device managing electric quantity consumption shown in an exemplary embodiment;
Fig. 6 is the structural representation according to a kind of device managing electric quantity consumption shown in an exemplary embodiment;
Fig. 7 is the structural representation according to a kind of terminal shown in an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, hereinafter will be described in more detail. These accompanying drawings and word describe the scope being not intended to be limited disclosure design by any mode, but logical Crossing with reference to specific embodiment is the concept that those skilled in the art illustrate the disclosure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The example of the apparatus and method caused.
The disclosure one exemplary embodiment provides a kind of method managing electric quantity consumption, and the method may be used for In terminal, wherein, this terminal can be the mobile terminal such as mobile phone, panel computer.This terminal can be arranged Having processor and memorizer, it is relevant that processor may be used for forbidding that some application program carries out on backstage starting Processing, memorizer may be used for storing the data needing in following processing procedure and producing.
Below in conjunction with embodiment, being described in detail the handling process shown in Fig. 1, content is permissible As follows:
In a step 101, detect when default high electric quantity consumption event occurs, trigger and quickly process prompting.
Wherein, high electric quantity consumption event can be possible to cause or characterize electric quantity consumption event faster, such as, The application program that can be running background is more, and the unit interval consumes electricity etc..
In force, terminal can have the function preventing electric quantity consumption too fast, such as, can have this merit The systemic-function of energy, it is also possible to be provided with the application program with this function.Concrete, can be pre-in terminal First be provided with high electric quantity consumption event and detection cycle, terminal can based on the detection cycle pre-set, Periodically detect whether default high electric quantity consumption event occurs, when default high electric quantity consumption event occurs Time, terminal i.e. can detect that default high electric quantity consumption event occurs, it will triggers and quickly processes prompting, can To send default cue, prompting window can be ejected, can show as in figure 2 it is shown, remind in window It is shown with " electric quantity consumption is very fast, please clear up " information.
Optionally, preset high electric quantity consumption event can be cpu temperature, the electricity of unit interval internal consumption, Background process quantity, or, electric quantity change trend under charged state, accordingly, the process of step 101 Journey can be such that during terminal operating, detects that cpu temperature reaches preset temperature threshold value, during unit Between the electricity of internal consumption reach to preset power threshold, background process quantity reaches predetermined number threshold value, or, Electricity under charged state is on a declining curve.
In force, the high electric quantity consumption event prestored in terminal can be cpu temperature, unit interval The electricity of internal consumption, background process quantity, or, electric quantity change trend under charged state, terminal also may be used To be previously stored with the standard judging whether high electric quantity consumption event occurs, concrete, can be cpu temperature Reaching preset temperature threshold value, the electricity of unit interval internal consumption reaches to preset power threshold, background process quantity Reach predetermined number threshold value, or, the electricity under charged state is on a declining curve.During terminal operating, Terminal can detect whether above-mentioned situation occurs in real time, above-mentioned has event to occur as long as detecting, i.e. generation The high electric quantity consumption event that table is preset occurs.
In a step 102, receive according to the confirmation quickly processing prompting.
In force, this prompting window can also show a key cleaning button, when user wants to locate During reason, can click on a key cleaning button, terminal will receive according to the confirmation quickly processing prompting.
In step 103, start and quickly process, quickly process and include forbidding presetting non-white list application program Start by the way of accepting system broadcasts.
In force, terminal can be previously stored with white list, wherein, white list can store to Few application program identification, such as, can be the bag name of application program.It addition, when the system program of terminal is real During certain systemic-function existing, often broadcast system message, it is possible to receive the application program of system program broadcast Will carry out backstage startup (i.e. during application program launching, terminal does not show the interface of application program), such as, When terminal successfully connects office as wireless in certain by local WiFi (Wireless-Fidelity, Wireless Fidelity) module During the net of territory, system program can receive this broadcast with the system message of broadcast radio successful connection Application program will start on backstage.For this kind of situation, when terminal receives according to quickly processing prompting During confirmation, quickly process can be started, i.e. can forbid the application program identification pair of storage in white list Application program outside the application program answered starts by the way of accepting system broadcasts.
Optionally, terminal can forbid presetting non-white list application program with by the side of other application calls Formula starts, and accordingly, processing procedure can be such that forbids presetting non-white list application program to be answered by other Start by the mode of routine call.
In force, some application program in terminal is in running, it is also possible to apply journey to other Sequence send broadcast or with some information of other Application sharing, so, it will trigger can receive information Application program starts on backstage, for this kind of situation, when terminal receives according to the confirmation quickly processing prompting During information, terminal can also forbid that the application program outside default application program is existed by other application calls Backstage starts, and i.e. forbids that presetting non-white list application program starts in the way of by other application calls. Concrete, terminal can forbid that the application program outside default application program (is sent by sendBroadcast Broadcast), the mode such as startService (open service), getContentProvider (information sharing) is by other Application program starts on backstage.Additionally, the application program identification in above-mentioned white list can be the more commonly used The application program identification that some application programs are corresponding, such as, can be the more commonly used application for shopping Program and application program identification corresponding to instant messaging application program.
It addition, the application program identification comprised in white list can be pre-set by technical staff, it is also possible to by User is configured.Concrete setting up procedure can be such that user can click on the setting options in terminal, will Triggering terminal ejection can arrange the page, arrange and can show white list setting options in the page, user is permissible Click on white list setting options, it will triggering terminal ejects application program selection window, as it is shown on figure 3, its In can show locally-installed all application programs application program identification (such as, can show should By program name), user can select to want to be added into white list application program identification wherein, applies journey Can also show in sequence selection window and determine button, after selection, user can click on and determine button, terminal Then the application program identification that user selects can be stored in white list.
Optionally, after the high electric quantity consumption event that terminal detection is preset occurs, it is also possible to carry out closing backstage fortune The operation of the application program etc. of row, accordingly, processing procedure can be such that the application journey closing running background Sequence process;And/or, screen intensity is down to predetermined luminance;And/or, when screen lock state terminal being detected When duration reaches preset duration threshold value, close the application program of running background.
In force, terminal detects that when default high electric quantity consumption event occurs, terminal just can also closed At the program process of running background, and/or, screen intensity is down to predetermined luminance, concrete, when connecing Receive according to when quickly processing the confirmation pointed out, the light intensity that be currently located environment can be obtained with triggering terminal Value, and then, terminal with screen intensity decreasing value (can be able to be according to the light intensity value prestored in this locality The changing value of screen intensity) corresponding relation, determine and be currently located the screen intensity that the light intensity value of environment is corresponding Decreasing value, can reduce screen intensity decreasing value by screen intensity, and such as, reducing forth screen brightness is A, The screen intensity decreasing value being currently located the light intensity value of environment corresponding is B, can screen intensity be adjusted to A-B.Furthermore it is also possible to pre-set the minimum of screen intensity, when terminal is according to the light being currently located environment The screen intensity decreasing value that intensity values is corresponding, when the brightness value after adjusting screen intensity is less than the minimum preset, Screen intensity can be adjusted to minimum.
When detecting that default high electric quantity consumption event occurs, it is also possible to triggering terminal enters screen locking when terminal The duration of screen lock state is detected during state.Concrete, when terminal enters screen lock state, can detect Terminal is in the duration of screen lock state, when detecting that duration reaches preset duration threshold value, permissible Close the application program of running background.It addition, terminal can also arrange stopping detection terminal be in screen locking shape The mechanism of the duration of state, such as, when detect terminal has application program at front stage operation time (whole When end shows the interface of application program), or when the electricity of terminal reaches predetermined threshold value, stop detection end Duration in screen lock state.
Optionally, terminal can also terminate charging when the charging voltage of terminal is too high, accordingly, processes Process can be such that in the charge state, the charging voltage of detection terminal;When charging voltage reaches to preset electricity During pressure threshold value, terminate charging.
In force, in the charge state, terminal can detect current charging voltage, when charging voltage is big When this terminal admissible charging voltage, can terminate charging, such as, terminal is admissible fills for mobile phone etc. 5V during piezoelectric voltage, when the charging voltage that terminal is current is 6V, terminal can terminate charging.
In disclosure embodiment, detect when default high electric quantity consumption event occurs, trigger quickly to process carrying Show, receive according to the confirmation quickly processing prompting;Start and quickly process, quickly process include forbidding pre- If non-white list application program starts by the way of accepting system broadcasts.As such, it is possible to prevent some from applying Automatic Program starts on backstage and consumes electricity, it is thus possible to prevent electric quantity consumption too fast.
Disclosure further example embodiment provides a kind of device managing electric quantity consumption, as shown in Figure 4, This device includes:
First detection module 410, for detection when default high electric quantity consumption event occurs, triggers quickly place Reason prompting;
Receiver module 420, for receiving the confirmation according to described quick process prompting;
Processing module 430, is used for starting quickly process, and described quick process includes forbidding presetting non-white list should Start by the way of accepting system broadcasts by program.
Optionally, described first detection module 410, it is used for:
During terminal operating, at least in following event detected:
Cpu temperature reaches preset temperature threshold value;
The electricity of unit interval internal consumption reaches to preset power threshold;
Background process quantity reaches predetermined number threshold value;With,
Electricity under charged state is on a declining curve.
Optionally, described processing module 430, it is additionally operable to:
Forbid that presetting non-white list application program starts in the way of by other application calls.
Optionally, described processing module 430, it is used for:
Forbid presetting non-white list application program with by startActivity, sendBroadcast, startService Or getContentProvid mode is started by the mode of other application calls.
Optionally, as it is shown in figure 5, described processing module 430, including:
Close closed submodule 4301, for closing the program process of running background;And/or,
Reduce submodule 4302, for screen intensity is down to predetermined luminance;And/or,
Described pass closed submodule 4301, is additionally operable to:
When detecting that the duration of screen lock state of described terminal reaches preset duration threshold value, close backstage The application program run.
Optionally, as shown in Figure 6, described device also includes:
Second detection module 440, in the charge state, detects the charging voltage of described terminal;
Terminate module 450, for when described charging voltage reaches predetermined voltage threshold, terminate charging.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation relevant The embodiment of the method is described in detail, explanation will be not set forth in detail herein.
In disclosure embodiment, detect when default high electric quantity consumption event occurs, trigger quickly to process carrying Show, receive according to the confirmation quickly processing prompting;Start and quickly process, quickly process include forbidding pre- If non-white list application program starts by the way of accepting system broadcasts.As such, it is possible to prevent some from applying Automatic Program starts on backstage and consumes electricity, it is thus possible to prevent electric quantity consumption too fast.
It should be understood that the device managing electric quantity consumption that above-described embodiment provides is when managing electric quantity consumption, Only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired by upper State function distribution to be completed by different functional modules, the internal structure of terminal will be divided into different function moulds Block, to complete all or part of function described above.It addition, the management electricity that above-described embodiment provides The device consumed belongs to same design with the embodiment of the method for management electric quantity consumption, and it implements process and refers to Embodiment of the method, repeats no more here.
The another exemplary embodiment of the disclosure shows the structural representation of a kind of terminal.This terminal can be hands Machine, panel computer etc..
With reference to Fig. 7, terminal 700 can include following one or more assembly: processes assembly 702, memorizer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, the interface of input/output (I/O) 712, sensor cluster 714, and communications component 716.
Process assembly 702 and generally control the integrated operation of terminal 700, such as with display, call, number The operation being associated according to communication, camera operation and record operation.Treatment element 702 can include one or many Individual processor 720 performs instruction, to complete all or part of step of above-mentioned method.Additionally, process Assembly 702 can include one or more module, it is simple to process between assembly 702 and other assemblies is mutual. Such as, processing component 702 can include multi-media module, to facilitate multimedia groupware 708 and to process assembly Mutual between 702.
Memorizer 704 is configured to store various types of data to support the operation in terminal 700.These The example of data includes any application program for operation in terminal 700 or the instruction of method, contact person Data, telephone book data, message, picture, video etc..Memorizer 704 can be by any kind of volatile Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), Programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, Disk or CD.
The various assemblies that electric power assembly 706 is terminal 700 provide electric power.Electric power assembly 706 can include electricity Management system, one or more power supplys, and other with generate for audio output apparatus 700, manage and point The assembly that distribution power is associated.
The screen of one output interface of offer that multimedia groupware 708 is included between described terminal 700 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).As Really screen includes that touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes that one or more touch sensor is with the gesture on sensing touch, slip and touch panel. Described touch sensor can not only sense touch or the border of sliding action, but also detects and described touch Or slide relevant persistent period and pressure.In certain embodiments, multimedia groupware 708 includes one Individual front-facing camera and/or post-positioned pick-up head.When terminal 700 is in operator scheme, such as screening-mode or video During pattern, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition take the photograph As head and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom energy Power.
Audio-frequency assembly 710 is configured to output and/or input audio signal.Such as, audio-frequency assembly 710 includes One mike (MIC), when audio output apparatus 700 is in operator scheme, such as call model, record mould When formula and speech recognition mode, mike is configured to receive external audio signal.The audio signal received Can be further stored at memorizer 704 or send via communications component 716.
I/O interface 712 provides interface, above-mentioned peripheral interface for processing between assembly 702 and peripheral interface module Module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, sound Amount button, start button and locking press button.
Sensor cluster 714 includes one or more sensor, for providing various aspects for terminal 700 State estimation.Such as, what sensor cluster 714 can detect terminal 700 opens/closed mode, assembly Relative localization, the most described assembly is display and the keypad of terminal 700, and sensor cluster 714 is also Terminal 700 or the position change of 700 1 assemblies of terminal, user and depositing that terminal 700 contacts can be detected Or do not exist, terminal 700 orientation or acceleration/deceleration and the variations in temperature of terminal 700.Sensor cluster 714 Proximity transducer can be included, be configured to when there is no any physical contact depositing of object near detection ?.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, is used for Imaging applications uses.In certain embodiments, this sensor cluster 714 can also include that acceleration passes Sensor, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to facilitate the logical of wired or wireless mode between terminal 700 and other equipment Letter.Terminal 700 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or they Combination.In one exemplary embodiment, communication component 716 receives wide from outside via broadcast channel The broadcast singal of broadcast management system or broadcast related information.In one exemplary embodiment, described communication unit Part 716 also includes near-field communication (NFC) module, to promote junction service.Such as, can in NFC module Based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) skill Art, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 700 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real Existing, it is used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instruction is additionally provided Matter, such as, include the memorizer 704 of instruction, and above-mentioned instruction can be performed by the processor 720 of terminal 700 with complete Become said method.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory Memorizer (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by terminal When reason device performs so that terminal is able to carry out the method managing electric quantity consumption, and the method includes:
Detect when default high electric quantity consumption event occurs, trigger and quickly process prompting;
Receive the confirmation according to described quick process prompting;
Starting and quickly process, described quick process includes forbidding presetting non-white list application program by accepting system The mode of system broadcast starts.
Optionally, the high electric quantity consumption event that described detection is preset occurs, including:
During terminal operating, at least in following event detected:
Cpu temperature reaches preset temperature threshold value;
The electricity of unit interval internal consumption reaches to preset power threshold;
Background process quantity reaches predetermined number threshold value;With,
Electricity under charged state is on a declining curve.
Optionally, described quick process, also include:
Forbid that presetting non-white list application program starts in the way of by other application calls.
Optionally, forbid described in that presetting non-white list application program opens in the way of by other application calls Move and include:
Forbid presetting non-white list application program with by startActivity, sendBroadcast, startService Or getContentProvid mode is started by the mode of other application calls.
Optionally, described quick process, also include:
Close the program process of running background;And/or,
Screen intensity is down to predetermined luminance;And/or,
When detecting that the duration of screen lock state of described terminal reaches preset duration threshold value, close backstage The application program run.
Optionally, described method also includes:
In the charge state, the charging voltage of described terminal is detected;
When described charging voltage reaches predetermined voltage threshold, terminate charging.
In disclosure embodiment, detect when default high electric quantity consumption event occurs, trigger quickly to process carrying Show, receive according to the confirmation quickly processing prompting;Start and quickly process, quickly process include forbidding pre- If non-white list application program starts by the way of accepting system broadcasts.As such, it is possible to prevent some from applying Automatic Program starts on backstage and consumes electricity, it is thus possible to prevent electric quantity consumption too fast.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to these public affairs Other embodiment opened.The application is intended to any modification, purposes or the adaptations of the disclosure, These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary , the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.

Claims (13)

1. the method managing electric quantity consumption, it is characterised in that described method includes:
Detect when default high electric quantity consumption event occurs, trigger and quickly process prompting;
Receive the confirmation according to described quick process prompting;
Starting and quickly process, described quick process includes forbidding presetting non-white list application program by accepting system The mode of system broadcast starts.
Method the most according to claim 1, it is characterised in that the high electric quantity consumption that described detection is preset Event occurs, including:
During terminal operating, at least in following event detected:
Central processor CPU temperature reaches preset temperature threshold value;
The electricity of unit interval internal consumption reaches to preset power threshold;
Background process quantity reaches predetermined number threshold value;With,
Electricity under charged state is on a declining curve.
Method the most according to claim 1, it is characterised in that described quick process, also includes:
Forbid that presetting non-white list application program starts in the way of by other application calls.
Method the most according to claim 3, it is characterised in that described in forbid preset non-white list application Program starts in the way of by other application calls and includes:
Forbid presetting non-white list application program with by startActivity, sendBroadcast, startService Or getContentProvid mode is started by the mode of other application calls.
Method the most according to claim 1, it is characterised in that described quick process, also includes:
Close the program process of running background;And/or,
Screen intensity is down to predetermined luminance;And/or,
When detecting that the duration of screen lock state of described terminal reaches preset duration threshold value, close backstage The application program run.
Method the most according to claim 1, it is characterised in that described method also includes:
In the charge state, the charging voltage of described terminal is detected;
When described charging voltage reaches predetermined voltage threshold, terminate charging.
7. the device managing electric quantity consumption, it is characterised in that described device includes:
First detection module, for detection when default high electric quantity consumption event occurs, triggers and quickly processes Prompting;
Receiver module, for receiving the confirmation according to described quick process prompting;
Processing module, is used for starting quickly process, and described quick process includes forbidding presetting the application of non-white list Program starts by the way of accepting system broadcasts.
Device the most according to claim 7, it is characterised in that described first detection module, is used for:
During terminal operating, at least in following event detected:
Central processor CPU temperature reaches preset temperature threshold value;
The electricity of unit interval internal consumption reaches to preset power threshold;
Background process quantity reaches predetermined number threshold value;With,
Electricity under charged state is on a declining curve.
Device the most according to claim 7, it is characterised in that described processing module, is additionally operable to:
Forbid that presetting non-white list application program starts in the way of by other application calls.
Device the most according to claim 9, it is characterised in that described processing module, is used for:
Forbid presetting non-white list application program with by startActivity, sendBroadcast, startService Or getContentProvid mode is started by the mode of other application calls.
11. devices according to claim 7, it is characterised in that described processing module, including:
Close closed submodule, for closing the program process of running background;And/or,
Reduce submodule, for screen intensity is down to predetermined luminance;And/or,
Described pass closed submodule, is additionally operable to:
When detecting that the duration of screen lock state of described terminal reaches preset duration threshold value, close backstage The application program run.
12. devices according to claim 7, it is characterised in that described device also includes:
Second detection module, in the charge state, detects the charging voltage of described terminal;
Terminate module, for when described charging voltage reaches predetermined voltage threshold, terminate charging.
13. 1 kinds of devices managing electric quantity consumption, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Detect when default high electric quantity consumption event occurs, trigger and quickly process prompting;
Receive the confirmation according to described quick process prompting;
Starting and quickly process, described quick process includes forbidding presetting non-white list application program by accepting system The mode of system broadcast starts.
CN201610244755.5A 2016-04-18 2016-04-18 A kind of method and apparatus managing electric quantity consumption Active CN105867592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610244755.5A CN105867592B (en) 2016-04-18 2016-04-18 A kind of method and apparatus managing electric quantity consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610244755.5A CN105867592B (en) 2016-04-18 2016-04-18 A kind of method and apparatus managing electric quantity consumption

Publications (2)

Publication Number Publication Date
CN105867592A true CN105867592A (en) 2016-08-17
CN105867592B CN105867592B (en) 2019-04-12

Family

ID=56633453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610244755.5A Active CN105867592B (en) 2016-04-18 2016-04-18 A kind of method and apparatus managing electric quantity consumption

Country Status (1)

Country Link
CN (1) CN105867592B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502645A (en) * 2016-09-23 2017-03-15 宇龙计算机通信科技(深圳)有限公司 From the method to set up, setting device and the terminal that wake up authority
CN106569832A (en) * 2016-11-10 2017-04-19 北京金山安全软件有限公司 Application program management method and device and terminal
CN106873756A (en) * 2017-02-22 2017-06-20 珠海市魅族科技有限公司 A kind of electric quantity managing method and terminal
CN108684070A (en) * 2018-04-12 2018-10-19 硕诺科技(深圳)有限公司 A kind of backlight brightness control method and device of smart electronics product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2390758A1 (en) * 2010-05-25 2011-11-30 Samsung Electronics Co., Ltd. Method and apparatus for managing an application being executed in a portable terminal
CN204118776U (en) * 2014-08-14 2015-01-21 深圳市纳林科技有限公司 A kind of power supply adaptor control circuit for 3G mobile terminal
CN104391743A (en) * 2014-11-26 2015-03-04 北京奇虎科技有限公司 Method and device for optimizing running speed of mobile terminal
CN105116990A (en) * 2015-08-14 2015-12-02 董宇文 Method and system for automatic optimization of smartphone operating environment and energy saving
CN105204856A (en) * 2015-09-18 2015-12-30 北京金山安全软件有限公司 Information prompting method and device and electronic equipment
CN105468409A (en) * 2015-11-20 2016-04-06 北京金山安全软件有限公司 Application program closing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2390758A1 (en) * 2010-05-25 2011-11-30 Samsung Electronics Co., Ltd. Method and apparatus for managing an application being executed in a portable terminal
CN204118776U (en) * 2014-08-14 2015-01-21 深圳市纳林科技有限公司 A kind of power supply adaptor control circuit for 3G mobile terminal
CN104391743A (en) * 2014-11-26 2015-03-04 北京奇虎科技有限公司 Method and device for optimizing running speed of mobile terminal
CN105116990A (en) * 2015-08-14 2015-12-02 董宇文 Method and system for automatic optimization of smartphone operating environment and energy saving
CN105204856A (en) * 2015-09-18 2015-12-30 北京金山安全软件有限公司 Information prompting method and device and electronic equipment
CN105468409A (en) * 2015-11-20 2016-04-06 北京金山安全软件有限公司 Application program closing method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502645A (en) * 2016-09-23 2017-03-15 宇龙计算机通信科技(深圳)有限公司 From the method to set up, setting device and the terminal that wake up authority
CN106569832A (en) * 2016-11-10 2017-04-19 北京金山安全软件有限公司 Application program management method and device and terminal
CN106873756A (en) * 2017-02-22 2017-06-20 珠海市魅族科技有限公司 A kind of electric quantity managing method and terminal
CN108684070A (en) * 2018-04-12 2018-10-19 硕诺科技(深圳)有限公司 A kind of backlight brightness control method and device of smart electronics product

Also Published As

Publication number Publication date
CN105867592B (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN106028143A (en) Video live broadcasting method and device
CN105975301A (en) Memory cleaning method and device, and electronic equipment
CN104598093A (en) Method and device for prompting message during screen locking
CN104298547A (en) Terminal setting method and device
CN104219383A (en) Terminal power information prompting method and device
CN104578372A (en) Method and device for controlling charging of terminal device
CN105224349A (en) The deletion reminding method of application program and device
CN103888601B (en) Information prompting method, device and terminal
CN104320542A (en) Method and device for sending reminding message
CN107608561A (en) Touch-screen control method and device
CN105278370A (en) Power-saving mode starting method and device
CN104376239A (en) Terminal unlocking method and device
CN106652113A (en) Access control method and device
CN105530384A (en) Method and device for power reminding based on alarm clock
CN106067571A (en) Method and electronic equipment for battery charging
CN105137831A (en) Power-saving mode starting method and device
CN105867592A (en) Method and device for managing electric quantity consumption
CN105807894A (en) Processing method and device of lock holding of application
CN106230066A (en) Charge prompting method and apparatus
CN104243829A (en) Self-shooting method and self-shooting device
CN107885307B (en) Equipment control method and device
CN104010072A (en) Electric quantity prompt method and device
CN107515749A (en) Starting-up method, device and the electronic equipment of electronic equipment
CN105511307A (en) Control method and apparatus of electronic device
CN104463047B (en) The device and method of control module work

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