CN106793027A - The processing method and terminal of abnormal power consumption - Google Patents

The processing method and terminal of abnormal power consumption Download PDF

Info

Publication number
CN106793027A
CN106793027A CN201611084041.9A CN201611084041A CN106793027A CN 106793027 A CN106793027 A CN 106793027A CN 201611084041 A CN201611084041 A CN 201611084041A CN 106793027 A CN106793027 A CN 106793027A
Authority
CN
China
Prior art keywords
application
power consumption
abnormal power
currently running
rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611084041.9A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611084041.9A priority Critical patent/CN106793027A/en
Publication of CN106793027A publication Critical patent/CN106793027A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of processing method and terminal of abnormal power consumption are announced herein, including:The application that acquisition is currently running;According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.Consumption of the application of abnormal power consumption to mobile terminal process resource can be reduced herein, the power consumption of mobile terminal is reduced, the performance of mobile terminal on the one hand can be lifted, and on the other hand can effectively lift Consumer's Experience.

Description

The processing method and terminal of abnormal power consumption
Technical field
The application is related to field of terminal technology, the processing method and terminal of espespecially a kind of abnormal power consumption.
Background technology
At present, the range of application of mobile terminal has covered the every aspect of life, the application class on mobile terminal Type is various, Various Functions.
Mobile terminal can support that multi-task parallel is processed, and user can simultaneously using multiple application programs, and some apply journey , in front stage operation, some application programs may always in running background for sequence.In correlation technique, major applications program is being opened Afterwards all can continuous service, sometimes because user does not close in time, sometimes application program is automatically switched to running background and uses Family cannot perceive, so as to cause mobile terminal power consumption big, poor user experience.
Accordingly, it would be desirable to a kind of abnormal power consumption processing scheme of application mobile terminal, so as to by some unnecessary application journeys Sequence is processed, and then reduces mobile terminal power consumption, lifts Consumer's Experience.
The content of the invention
In order to solve the above-mentioned technical problem, a kind of processing method and terminal of abnormal power consumption be the embodiment of the invention provides.
The embodiment of the invention provides:
A kind of processing method of abnormal power consumption, including:
The application that acquisition is currently running;
According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;
Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.
Wherein, before determining abnormal power consumption application in the application being currently running, also include:
The application being currently running is filtered according to the first preset rule, with delete it is described be currently running should The application of abnormal power consumption detection need not be performed in.
Wherein, before determining abnormal power consumption application in the application being currently running, also include:
According to preset Second Rule, the certain applications in the application being currently running described in stopping by force.
Wherein, kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force, including:
When the abnormal power consumption application is widget application, the process of the abnormal power consumption application is killed;
When the abnormal power consumption application is not widget application, the abnormal power consumption application is stopped by force.
Wherein, the abnormal power consumption judgment rule is:It is defined as abnormal power consumption application when meeting following three condition:
Using not using audio output function;
Using being currently running;
Meet predetermined power consumption rule beyond predetermined operation duration or application using continuous service duration.
Wherein, the predetermined power consumption rule is one of the following:
The process applied in scheduled duration in running background and holds lock mechanism always;
The process applied in scheduled duration is always running background and CPU usage are higher than predetermined value and do not hold lock machine System;
The process applied in scheduled duration in running background and does not hold lock mechanism and used GPS always.
A kind of terminal, including:
Monitoring modular, for obtaining the application being currently running;
Determining module, for according to preset abnormal power consumption judgment rule, being determined in the application being currently running Abnormal power consumption application;
Performing module, for killing the process of the abnormal power consumption application or stopping the abnormal power consumption application by force.
Wherein, also include:Filtering module, for being carried out to the application being currently running according to the first preset rule Filter, need not perform the application that abnormal power consumption is detected in the application being currently running to delete.
Wherein, the performing module, is additionally operable to according to preset Second Rule, the application being currently running described in stopping by force In certain applications.
A kind of terminal, including:Processor and memory, the memory storage have computer executable instructions, the meter Following method is realized when calculation machine executable instruction is by the computing device:
The application that acquisition is currently running;
According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;
Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.
A kind of processing method and terminal of abnormal power consumption are the embodiment of the invention provides, is judged by preset abnormal power consumption Rule is processed the application that is currently running, so that with the presence or absence of need not in the application that is currently running of real-time detection mobile terminal The application wanted is currently running, and by killing the process of respective application or stopping respective application by force, reduces the application of abnormal power consumption Consumption to mobile terminal process resource, reduces the power consumption of mobile terminal, on the one hand can lift the performance of mobile terminal, another Aspect can effectively lift Consumer's Experience.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this The embodiment of application for explaining technical scheme, does not constitute the limitation to technical solution of the present invention together.
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the process flow schematic diagram of embodiment of the present invention exception power consumption;
Fig. 4 is that the processing method of embodiment of the present invention exception power consumption implements schematic flow sheet;
Fig. 5 is the composition structural representation of embodiment of the present invention terminal.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for showing Part.More or less component can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Fig. 1 shows the mobile terminal 1 00 with various assemblies, it should be understood that being not required for implementing all showing The component for going out.More or less component can alternatively be implemented.The element of mobile terminal 1 00 will be discussed in more detail below.
Wireless communication unit 110 can generally include one or more assemblies, and it allows mobile terminal 1 00 and radio communication Radio communication between system or network.For example, wireless communication unit 110 can include that broadcasting reception module 111, movement are logical At least one of letter module 112, wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@) Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module 115 typical case is GPS (global positioning system).According to current technology, GPS calculate from three or more satellites away from Information application triangulation from information and correct time information and for calculating, so as to according to longitude, latitude and height Degree calculates three-dimensional current location information exactly.Currently, three satellites are used simultaneously for calculating the method for position and temporal information And the error of the position and temporal information for calculating is corrected by using an other satellite.Additionally, GPS can be by real-time Ground Continuous plus current location information carrys out calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus Or the view data of video is processed.Picture frame after treatment may be displayed on display unit 151.Processed through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or sent out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal 1 00.Microphone 122 can be in telephone relation mould In formula, logging mode, speech recognition mode etc. operational mode sound (voice data), and energy are received via microphone 122 Enough is voice data by such acoustic processing.Audio (voice) data after treatment can be in the case of telephone calling model The form that being converted to can be sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can be implemented various The noise of type eliminates (or suppression) algorithm and is being received and making an uproar of producing during sending audio signal with eliminating (or suppression) Sound or interference.
User input unit 130 can generate key input data to control mobile terminal 1 00 according to the order of user input Various operations.User input unit 130 allow the various types of information of user input, and can include keyboard, metal dome, Touch pad (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, shake Bar etc..Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal 1 00 and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal 1 00.Can serve as recognizing mobile terminal 1 00 from the various command signals or electric power of base input Whether signal base on is accurately fitted within.Output unit 150 is configured to be provided with vision, audio and/or tactile manner Output signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include aobvious Show unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal 100 can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect Touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 It is that wireless communication unit 110 is received or in memory when under the isotypes such as formula, speech recognition mode, broadcast reception mode In 160 store voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide with The audio output of the specific function correlation that mobile terminal 1 00 is performed is (for example, call signal receives sound, message sink sound etc. Deng).Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.
So far, oneself according to its function through describing mobile terminal 1 00.In addition, the mobile terminal 1 00 in the embodiment of the present invention Can be such as folded form, board-type, oscillating-type, sliding-type and other various types of mobile terminals, not do herein specifically Limit.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple intelligent terminals 100, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC 280 is also structured to be formed with the BSC 275 that can be couple to base station 270 via back haul link and connects Mouthful.If any one in the interface that back haul link can be known according to Ganji is constructed, the interface can include such as Europe mark Quasi- high power capacity digital circuit/Unite States Standard high power capacity digital circuit (E1/T1), asynchronous transfer mode (ATM), procotol (IP), point-to-point protocol (PPP), frame relay, high-bit-rate digital subscriber line road (HDSL), Asymmetrical Digital Subscriber Line (ADSL) Or all kinds digital subscriber line (xDSL).It will be appreciated that system can include multiple BSC 275 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS 270.Or, each subregion can by two for diversity reception or more Multiple antennas are covered.Each BS 270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency Spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC 275 and at least one BS 270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS 270 can be claimed It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT 295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.Location information module 115 as shown in Figure 1 is (such as:GPS) it is generally configured to coordinate to obtain with satellite 300 The location information that must be wanted.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track mobile whole Other technologies of the position at end.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb biography It is defeated.
Used as a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminal 1s 00 Road signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station reception is anti- Processed in specific BS 270 to link signal.The data of acquisition are forwarded to the BSC 275 of correlation.BSC provides logical Words resource allocation and the mobile management function of the coordination including the soft switching process between BS 270.BSC 275 will also be received Data be routed to MSC 280, its provide for PSTN 290 formed interface extra route service.Similarly, PSTN 290 form interface with MSC 280, and MSC 280 and BSC 275 form interface, and BSC 275 correspondingly control BS 270 with by Forward link signals are sent to mobile terminal 1 00.
Embodiment one
As shown in figure 3, present embodiments providing a kind of detection method of abnormal power consumption, mobile terminal is applied to, can wrapped Include:
Step 301, the application that acquisition is currently running;
Step 302, according to preset abnormal power consumption judgment rule, abnormal consumption is determined in the application being currently running Electricity application;
Step 303, kills the process of the abnormal power consumption application or stops the abnormal power consumption application by force.
In the present embodiment, the application being currently running is processed by preset abnormal power consumption judgment rule, so that real When the detection application that is currently running of mobile terminal in be currently running with the presence or absence of unnecessary application, by killing respective application Process stops respective application by force, reduces consumption of the application of abnormal power consumption to mobile terminal process resource, reduces mobile whole The power consumption at end, on the one hand can lift the performance of mobile terminal, on the other hand can effectively lift Consumer's Experience.
In some implementations, before determining abnormal power consumption application in the application being currently running, can be with Including:The application being currently running is filtered according to the first preset rule, to delete the application being currently running In need not perform the application of abnormal power consumption detection.In this way, exception need not partly be carried out in the application that will first can be currently running After the application of power consumption treatment is excluded, abnormal power consumption treatment is carried out to remaining application, to accelerate the efficiency that abnormal power consumption is processed, Also being lifted carries out the precision of abnormal power consumption treatment to application program.
In some implementations, before determining abnormal power consumption application in the application being currently running, can be with Including:According to preset Second Rule, the certain applications in the application being currently running described in stopping by force.In this way, can first by just In the application of operation part must carry out abnormal power consumption treatment application processed after, to remaining application again based on different Normal power consumption judgment rule carries out abnormal power consumption treatment, and to accelerate the efficiency that abnormal power consumption is processed, also lifted is carried out to application program The precision of abnormal power consumption treatment.
In some implementations, can be in the following way when processing abnormal power consumption application:In the exception When power consumption application is widget application, the process of the abnormal power consumption application is killed;It is not that widget should in the abnormal power consumption application Used time, the abnormal power consumption application is stopped by force.In this way, targetedly abnormal power consumption treatment can be carried out for widget application, with The precision and efficiency of lifting application exception power consumption treatment.
In some implementations, the abnormal power consumption judgment rule is:It is defined as exception when meeting following three condition Power consumption application:1) application does not use audio output function;2) application is currently running;3) application continuous service duration is beyond pre- Fixed operation duration or application meets predetermined power consumption rule.Wherein, the predetermined power consumption rule is one of the following:1) exist The process of application in running background and holds lock mechanism always in scheduled duration;2) process applied in scheduled duration exists always Running background and CPU usage are higher than predetermined value and do not hold lock mechanism;3) process applied in scheduled duration is always rear Platform runs and does not hold lock mechanism and used GPS.In practical application, abnormal power consumption judgment rule can also be other, to this It is not restricted herein.Wherein, predetermined running duration can according to actual needs set (for example, it may be 4 hours), scheduled duration Can also set according to actual needs (for example, it may be 10 minutes).
In the present embodiment, above-mentioned abnormal power consumption judgment rule, the first rule, Second Rule etc. can be according to actual needs Set, in general, respective rule or list can be preset in the CPU of mobile terminal, carried out abnormal power consumption CPU performs corresponding treatment by loading the abnormal power consumption judgment rule or list during treatment, so as to realize answering abnormal power consumption Respective handling.This is only a kind of implementation, for example can also be sentenced abnormal power consumption using other implementations certainly Disconnected rule or list are write in memory in advance, and CPU can be held by memory reading the abnormal power consumption judgment rule and loading Row is corresponding to be processed to realize above-mentioned abnormal power consumption treatment.For concrete implementation mode, it is not restricted herein.Certainly, it is different Normal power consumption judgment rule, the first rule, Second Rule etc. can be with default configurations, it is also possible to by providing a user with corresponding operation (corresponding action-item is for example provided on the system interface of mobile terminal) is voluntarily set by user, can also be by high in the clouds The mode of configuration is realized etc., in this regard, not also being restricted herein.
Abnormal power consumption treatment in the present embodiment is specifically described below implements process.
As shown in figure 4, the process that implements of abnormal power consumption treatment may include steps of:
Step 401, the application that acquisition is currently running;
Step 402, is filtered using regular A;
Here, regular A is that the application for meeting following condition does not perform abnormal power consumption detection;
System (system) is applied;
Specify the application of extension name;
Desktop starter (launcher) is applied;
Input method application;
Wallpaper application;
Fingerprint application;
Preset application white list (including at least one preassigned application).
Step 403, the application in regular B is stopped by force;
For example, rule B can be:As long as in preset application blacklist application operation and not foreground then force stop At least one preassigned application is included in (force stop), the preset application blacklist.
Step 404, obtains the state of abnormal power consumption switch;
Step 405, if the state or the state of charging closed in switch, is then to continue step 406, otherwise continues to walk Rapid 407;
Step 406, updates application use time tracker (Tracker), updates the data of each application, and executable portion Rule judgment, step 408 is continued based on judged result;
For example, the part rule judgment can be that to meet following three condition be then abnormal power consumption application:1st, using work as It is preceding not play music;2nd, the current importance values of application process are more than 100 (IMPORTANCE_FOREGROUND), Namely judge that whether application program is current in running status;3rd, predetermined operation duration has been exceeded in running background using lasting (for example, 4 hours).
Step 407, updates the data of power consumption tracker (Tracker), updates the data of each application, and perform complete rule Then judge, step 408 is continued based on judged result;
For example, the complete rule judgment can meet following condition 1, condition 2 and one of condition 3 and condition 4 It is then abnormal power consumption application:1st, using currently without in broadcasting music;2nd, the current importance values of application process are more than 100 (IMPORTANCE_FOREGROUND), that is, judge that whether application program is current in running status;3rd, using meet power consumption advise Then E;4th, using continuing in running background 4 hours;It is then abnormal power consumption application must to be fulfilled for above-mentioned.
Wherein, power consumption rule E can be:Meet following three any one:1) in scheduled duration (for example, 10 minutes) Always on backstage, process holds lock mechanism (wakelock) to process always, and process is less than 50kb using flow;2) scheduled duration Always on backstage, CPU usage is more than 3% to (for example, 10 minutes) interior process, and process flow is not had using 50kb, process is less than Held wakelock;3) scheduled duration (for example, 10 minutes) interior process on backstage, did not hold wakelock always, entered Journey makes used GPS.Here, 3) can also be in regular C apply the duration in running background to exceed the scheduled time (such as 1 is small When).Wherein, regular C is to allow the list of application in running background, and the application in the list of application is to use the application of GPS.
Step 408, judges, using whether regular D is met, if it is to continue step 409, otherwise continues step 410;
Here, regular D can be:(kill) process of kill is without the list of application that stops by force:Widget (Widget) should With;For example, widget application can be the application such as video, map, news, trivial games.
Step 409, kills process;
Step 410, stops application by force;
Step 411, database of record;
Step 412, timing starts to detect next time, return to step after timing reaches scheduled duration (e.g., 10 minutes) 401。
Embodiment two
As shown in figure 5, the present embodiment provides a kind of terminal, including:
Monitoring modular 51, for obtaining the application being currently running;
Determining module 52, for according to preset abnormal power consumption judgment rule, determining in the application being currently running Go out abnormal power consumption application;
Performing module 53, for killing the process of the abnormal power consumption application or stopping the abnormal power consumption application by force.
In some implementations, above-mentioned terminal may also include:Filtering module 54, for regular right according to preset first The application being currently running is filtered, and need not perform what abnormal power consumption was detected in the application being currently running to delete Using.
In some implementations, performing module 53 in above-mentioned terminal, it may also be used for according to preset Second Rule, by force Certain applications in the application being currently running described in stopping.
In some implementations, performing module 53 is particularly used in above-mentioned terminal:It is in the abnormal power consumption application During widget application, the process of the abnormal power consumption application is killed;When the abnormal power consumption application is not widget application, stop by force The only abnormal power consumption application.
In some implementations, the abnormal power consumption judgment rule can be:It is defined as when meeting following three condition Abnormal power consumption application:1) application does not use audio output function;2) application is currently running;3) exceed using continuous service duration Predetermined operation duration or application meets predetermined power consumption rule.Wherein, the predetermined power consumption rule is one of the following: 1) process applied in scheduled duration in running background and holds lock mechanism always;2) process one applied in scheduled duration It is straight in running background and CPU usage is higher than predetermined value and does not hold lock mechanism;3) process applied in scheduled duration is always In running background and do not hold lock mechanism and used GPS.
Above-mentioned terminal in the present embodiment, by preset abnormal power consumption judgment rule at the application that is currently running Reason, so that be currently running with the presence or absence of unnecessary application in the application that is currently running of real-time detection mobile terminal, by kill The process of respective application stops respective application by force, reduces consumption of the application of abnormal power consumption to mobile terminal process resource, The power consumption of mobile terminal is reduced, the performance of mobile terminal on the one hand can be lifted, Consumer's Experience on the other hand can be effectively lifted.
The above-mentioned terminal of the present embodiment can be mobile terminal, perform the methods described of embodiment one, and it implements details Embodiment one is can refer to, is repeated no more.Wherein, 54 points of monitoring modular 51, determining module 52, performing module 53 and filtering module It can not be the combination of software, hardware or both.It should be noted that the monitoring modular in the above-mentioned terminal of the present embodiment offer 51st, during determining module 52, performing module 53 and filtering module 54 can set the controller 180 of mobile terminal in Fig. 1.
Embodiment three
In the present embodiment, there is provided a kind of terminal, including:Processor and memory, the memory storage have computer Executable instruction, realizes following method when the computer executable instructions are by the computing device:
The application that acquisition is currently running;
According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;
Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method Can also carry out following operation:Before abnormal power consumption application is determined in the application being currently running, according to preset first Rule is filtered to the application being currently running, and need not perform abnormal power consumption in the application being currently running to delete The application of detection.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method Can also carry out following operation:Before abnormal power consumption application is determined in the application being currently running, according to preset second Rule, the certain applications in the application being currently running described in stopping by force.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method Can also carry out following operation:When the abnormal power consumption application is widget application, the process of the abnormal power consumption application is killed; When the abnormal power consumption application is not widget application, the abnormal power consumption application is stopped by force.
In some implementations, the abnormal power consumption judgment rule can be:It is defined as when meeting following three condition Abnormal power consumption application:1) application does not use audio output function;2) application is currently running;3) exceed using continuous service duration Predetermined operation duration or application meets predetermined power consumption rule.Wherein, the predetermined power consumption rule is one of the following: 1) process applied in scheduled duration in running background and holds lock mechanism always;2) process one applied in scheduled duration It is straight in running background and CPU usage is higher than predetermined value and does not hold lock mechanism;3) process applied in scheduled duration is always In running background and do not hold lock mechanism and used GPS.
Above-mentioned terminal in the present embodiment, by preset abnormal power consumption judgment rule at the application that is currently running Reason, so that be currently running with the presence or absence of unnecessary application in the application that is currently running of real-time detection mobile terminal, by kill The process of respective application stops respective application by force, reduces consumption of the application of abnormal power consumption to mobile terminal process resource, The power consumption of mobile terminal is reduced, the performance of mobile terminal on the one hand can be lifted, Consumer's Experience on the other hand can be effectively lifted.
The above-mentioned terminal of the present embodiment can be mobile terminal, perform the methods described of embodiment one, and it implements details Embodiment one is can refer to, is repeated no more.
Example IV
Additionally, the embodiment of the present application also provides a kind of computer-readable recording medium, be stored with computer executable instructions, The computer executable instructions realize following methods when being performed:
The application that acquisition is currently running;
According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;
Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.
In some implementations, the abnormal power consumption judgment rule can be:It is defined as when meeting following three condition Abnormal power consumption application:1) application does not use audio output function;2) application is currently running;3) exceed using continuous service duration Predetermined operation duration or application meets predetermined power consumption rule.Wherein, the predetermined power consumption rule is one of the following: 1) process applied in scheduled duration in running background and holds lock mechanism always;2) process one applied in scheduled duration It is straight in running background and CPU usage is higher than predetermined value and does not hold lock mechanism;3) process applied in scheduled duration is always In running background and do not hold lock mechanism and used GPS.
Computer-readable recording medium in the present embodiment can be applied in mobile terminal, can be applied to the different of mobile terminal Normal power consumption treatment, is processed the application being currently running by preset abnormal power consumption judgment rule, so that real-time detection is moved It is currently running with the presence or absence of unnecessary application in the application that dynamic terminal is currently running, by killing the process of respective application or strong Row stops respective application, reduces consumption of the application of abnormal power consumption to mobile terminal process resource, reduces the power consumption of mobile terminal Amount, on the one hand can lift the performance of mobile terminal, on the other hand can effectively lift Consumer's Experience.
Alternatively, in the present embodiment, above-mentioned storage medium can be included but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs above-mentioned implementation according to the program code stored in storage medium The method and step of example.
Alternatively, the specific example in the present embodiment may be referred to the description in above-described embodiment, and the present embodiment is herein not Repeat again.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of processing method of abnormal power consumption, it is characterised in that including:
The application that acquisition is currently running;
According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;
Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.
2. processing method according to claim 1, it is characterised in that determine exception in the application being currently running Before power consumption application, also include:
The application being currently running is filtered according to the first preset rule, with deleting the application being currently running The application of abnormal power consumption detection need not be performed.
3. processing method according to claim 1, it is characterised in that determine exception in the application being currently running Before power consumption application, also include:
According to preset Second Rule, the certain applications in the application being currently running described in stopping by force.
4. processing method according to claim 1, it is characterised in that kill the process or by force of the abnormal power consumption application Stop the abnormal power consumption application, including:
When the abnormal power consumption application is widget application, the process of the abnormal power consumption application is killed;
When the abnormal power consumption application is not widget application, the abnormal power consumption application is stopped by force.
5. processing method according to claim 1, it is characterised in that the abnormal power consumption judgment rule is:Meet as follows It is defined as abnormal power consumption application during three conditions:
Using not using audio output function;
Using being currently running;
Meet predetermined power consumption rule beyond predetermined operation duration or application using continuous service duration.
6. processing method according to claim 5, it is characterised in that the predetermined power consumption rule is one of the following:
The process applied in scheduled duration in running background and holds lock mechanism always;
The process applied in scheduled duration is always running background and CPU usage are higher than predetermined value and do not hold lock mechanism;
The process applied in scheduled duration in running background and does not hold lock mechanism and used GPS always.
7. a kind of terminal, it is characterised in that including:
Monitoring modular, for obtaining the application being currently running;
Determining module, for according to preset abnormal power consumption judgment rule, exception being determined in the application being currently running Power consumption application;
Performing module, for killing the process of the abnormal power consumption application or stopping the abnormal power consumption application by force.
8. terminal according to claim 7, it is characterised in that also include:
Filtering module, for being filtered to the application being currently running according to the first preset rule, with delete it is described just The application of abnormal power consumption detection need not be performed in the application of operation.
9. terminal according to claim 7, it is characterised in that
The performing module, is additionally operable to according to preset Second Rule, the part in the application being currently running described in stopping by force Using.
10. a kind of terminal, including:Processor and memory, it is characterised in that the memory storage has the executable finger of computer Order, realizes following method when the computer executable instructions are by the computing device:
The application that acquisition is currently running;
According to preset abnormal power consumption judgment rule, abnormal power consumption application is determined in the application being currently running;
Kill the process of the abnormal power consumption application or stop the abnormal power consumption application by force.
CN201611084041.9A 2016-11-30 2016-11-30 The processing method and terminal of abnormal power consumption Pending CN106793027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611084041.9A CN106793027A (en) 2016-11-30 2016-11-30 The processing method and terminal of abnormal power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611084041.9A CN106793027A (en) 2016-11-30 2016-11-30 The processing method and terminal of abnormal power consumption

Publications (1)

Publication Number Publication Date
CN106793027A true CN106793027A (en) 2017-05-31

Family

ID=58914879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611084041.9A Pending CN106793027A (en) 2016-11-30 2016-11-30 The processing method and terminal of abnormal power consumption

Country Status (1)

Country Link
CN (1) CN106793027A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729236A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Management method, device, mobile terminal and the storage medium of application program
WO2020094125A1 (en) * 2018-11-09 2020-05-14 中兴通讯股份有限公司 Application control method, device, terminal, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN104239196A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN105979095A (en) * 2016-06-27 2016-09-28 努比亚技术有限公司 Mobile terminal and application power consumption control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104156053A (en) * 2014-07-29 2014-11-19 深圳市中兴移动通信有限公司 Abnormal power consumption control method, abnormal power consumption control device and mobile terminal
CN104239196A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal
CN105979095A (en) * 2016-06-27 2016-09-28 努比亚技术有限公司 Mobile terminal and application power consumption control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729236A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Management method, device, mobile terminal and the storage medium of application program
WO2020094125A1 (en) * 2018-11-09 2020-05-14 中兴通讯股份有限公司 Application control method, device, terminal, and computer-readable storage medium
CN111176416A (en) * 2018-11-09 2020-05-19 中兴通讯股份有限公司 Application control method, device, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN105159533A (en) Mobile terminal and automatic verification code input method thereof
CN106601189A (en) Display method and terminal
CN106550128A (en) A kind of EMS memory management process and terminal
CN107104970A (en) A kind of regular and synchronized processing method, system, rule server and gray scale server
CN106775372A (en) A kind of display adjusting method of suspension procedure disk, device and terminal
CN105100412A (en) Method and device for eliminating terminal data
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN106789589A (en) One kind shares processing method, device and terminal
CN105764085A (en) Abnormal electricity consumption detection method and terminal
CN106657602A (en) Conversation screen-off system based on proximity sensor and mobile terminal
CN104735254B (en) terminal screen locking method and system
CN106791187A (en) A kind of mobile terminal and NFC method
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN106658470A (en) Master card setting device and method
CN106792607A (en) Mobile terminal and the method for reducing mobile terminal power consumption
CN106488035A (en) A kind of mobile terminal and control method
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN106412878A (en) Device and method for activating subscriber identity module card
CN106506364A (en) A kind of cut-in method, client and routing server
CN106793027A (en) The processing method and terminal of abnormal power consumption
CN106686703A (en) Terminal and timer wakeup method
CN106604252A (en) Flow statistical method and terminal
CN106897044A (en) Screen color temp uniformity fault-tolerance approach and terminal
CN106713645B (en) A kind of method and mobile terminal of the broadcasting of control loudspeaker
CN105100436B (en) A kind of neck device management method and intelligent neck terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531