CN107577332A - A kind of power consumption control method, mobile terminal and computer-readable recording medium - Google Patents

A kind of power consumption control method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107577332A
CN107577332A CN201710674321.3A CN201710674321A CN107577332A CN 107577332 A CN107577332 A CN 107577332A CN 201710674321 A CN201710674321 A CN 201710674321A CN 107577332 A CN107577332 A CN 107577332A
Authority
CN
China
Prior art keywords
power consumption
mobile terminal
terminal
control instruction
consumption item
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
CN201710674321.3A
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 CN201710674321.3A priority Critical patent/CN107577332A/en
Publication of CN107577332A publication Critical patent/CN107577332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of power consumption control method, mobile terminal and computer-readable recording medium, this method determines the current use state of mobile terminal by elder generation according to the running parameter of mobile terminal, power consumption item control instruction table corresponding to being inquired according to use state from power consumption item control instruction table set is adjusted control to the power consumption item in mobile terminal, solve the problems, such as that mobile terminal backstage occurs that operation application program excessively causes power consumption of terminal too high, realize by the different use state of terminal, power consumption item in terminal is carried out effective, remove in time, so as to reduce the overall power of terminal, reduce the consumption of electricity, extend terminal uses duration, terminal is also achieved simultaneously automatically and selectively clears up power consumption application, improve the usage experience of user.

Description

A kind of power consumption control method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to field of mobile terminals, more specifically to a kind of power consumption control method, mobile terminal and calculating Machine readable storage medium storing program for executing.
Background technology
With the continuous development of terminal technology, progress, the application program that mobile terminal is supported is also more and more, causes user In use, often complain that the cell phone standby time is too short, charge frequency is too high.
User has always forgotten it thoroughly to close when using application program or some application users can not incite somebody to action It thoroughly is closed, and therefore, when user does not use mobile phone, these application programs still in running background, add shifting The power consumption of dynamic terminal so that the power consumption of mobile terminal significantly increases, so as to reduce mobile phone usage time.
The content of the invention
The technical problem to be solved in the present invention is not realizing effective control to the application day after tomorrow in the prior art and lead Cause power consumption of terminal power consumption larger so that terminal uses the problem of duration is shorter, and the usage experience of user is poor, for the technology Problem, there is provided a kind of power consumption control method, mobile terminal and computer-readable recording medium.
In order to solve the above technical problems, the present invention provides a kind of power consumption control method of mobile terminal, the power consumption control Method includes:
The use state of the mobile terminal is determined according to the running parameter of mobile terminal, the use state includes:Treat Machine state and the state being currently being used;
According to the use state from advance storage with being looked into the power consumption item control instruction table set in the mobile terminal Ask out power consumption item control instruction table corresponding with the use state;
The power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table.
Optionally, before the action parameter according to mobile terminal goes to push up the use state of the mobile terminal, also Including:
Several sensors are arranged with the display screen of the mobile terminal;
The current running parameter of the mobile terminal is gathered by the sensor.
Optionally, when the state that the use state is currently being used for described in, described according to the dynamic of mobile terminal Go to push up as parameter after the use state of the mobile terminal, in addition to:The mobile terminal is determined according to the running parameter Current operation mode.
Optionally, it is described to be stored and the power consumption item control instruction in the mobile terminal from advance according to the use state Power consumption item control instruction table corresponding with the use state is inquired in table set to be included:
It is preferential that power consumption is filtered out in all power consumption items being currently running according to the current operation mode from mobile terminal The high power consumption item of level, forms a power consumption item list;
Inquired from the power consumption item control instruction table set meet it is to the power consumption item list controls and with it is described Power consumption item control instruction table corresponding to current operation mode.
Optionally, the power consumption item list comprises at least system application, third party application and CPU running frequencies In one kind;
It is described the power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table including:
Power consumption to be controlled in the power consumption item list is determined using bag name in the power consumption item control instruction table ;
Control instruction in the power consumption item control instruction table is adjusted corresponding to being carried out to the power consumption item to be controlled It is whole.
Optionally, the sensor includes:Light sensor, pressure sensor, acoustic sensor and gyroscope.
Optionally, the mode of operation of the mobile terminal includes:Bright screen standby mode, game mode, chat browse mode With video/audio play mode.
Optionally, it is described to determine that the current operation mode of the mobile terminal includes according to the running parameter:
When the light sensor detects that screen does not detect the presence of user behaviour for bright screen state, the pressure sensor When making, the mobile terminal is in bright screen standby mode;
When the light sensor detects that screen detects the presence of user behaviour for bright screen state, the pressure sensor Make, the gyroscope detects the mobile terminal when being transverse screen mode, and the mobile terminal is in game mode;
When the light sensor detects that screen detects the presence of user's operation for bright screen state, the pressure sensor When, the mobile terminal is in chat browse mode;
When the light sensor detects that screen detects the presence of user's operation for bright screen state, the pressure sensor When having detected audio output with the acoustic sensor, the mobile terminal is in video/audio play mode.
Further, present invention also offers a kind of mobile terminal, the mobile terminal includes reason device, memory and communication Bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize any one as describe above The step of power consumption control method of described mobile terminal.
Further, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium It is stored with one or more program, one or more of programs can be by one or more computing device, to realize The step of power consumption control method of mobile terminal described in any one as describe above.
Beneficial effects of the present invention:
The present invention provides a kind of power consumption control method, mobile terminal and computer-readable recording medium, for it is existing due to The application of terminal running background is excessive, causes terminal power consumption too high, the defects of reducing the usage experience of user, passes through first basis The running parameter of mobile terminal determines the current use state of mobile terminal, according to use state from power consumption item control instruction table collection Power consumption item control instruction table corresponding to being inquired in conjunction is adjusted control to the power consumption item in mobile terminal, solves mobile whole Operation application program the problem of excessively causing power consumption of terminal too high occurs in end backstage, realize by terminal it is different use shape State, effective, removing in time is carried out to the power consumption item in terminal, so as to reduce the overall power of terminal, reduces the consumption of electricity, Extend terminal uses duration, while also achieves terminal automatically and selectively clear up power consumption application, improves user Usage experience.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention;
Fig. 2 is the power consumption control method basic flow sheet that first embodiment of the invention provides;
Fig. 3 is the power consumption control method refined flow chart that second embodiment of the invention provides;
Fig. 4 is the method flow diagram for judging terminal work mode that second embodiment of the invention provides
Fig. 5 is the structural representation for the mobile terminal that third embodiment of the invention provides;
Fig. 6 is unadjusted power consumption item list provided in an embodiment of the present invention;
Fig. 7 is the power consumption item list after adjustment provided in an embodiment of the present invention.
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.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.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..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
First embodiment
Fig. 2 is the power consumption control method basic flow sheet that the present embodiment provides, and the power consumption control method includes:
S201, the use state for determining according to the running parameter of mobile terminal the mobile terminal.
Wherein, the use state specifically includes holding state and the state being currently being used, and the holding state can be with The screen for being interpreted as mobile phone is in sleep state in the state either mobile phone for putting out screen, or even can also be user by mobile phone hand It is dynamic be arranged to interruption-free state etc. it is idle in the case of;
The screen that the state being currently being used can be understood as mobile phone is in illuminating state, or detects user Operated effectively in effective operating area of mobile phone, so-called effectively operation refers to that the operation that user is inputted exists There is corresponding corresponding or feedback on mobile phone.
S202, inquired from power consumption item control instruction table set according to the use state it is corresponding with the use state Power consumption control instruction table.
In the present embodiment, the power consumption item control instruction table set includes terminal in different usage situations to each The control operation of power consumption item, these power consumption item control instruction tables are that user carries out self-defining according to the actual demand of oneself, Storage, in subsequent use, is directly adjusted into mobile terminal according to the currently used state of terminal after the completion of definition Take.
Assuming that terminal includes putting out screen and during two states of bright screen, then user is according to itself power consumption requirements to terminal, to this The power consumption item of operation is allowed to be configured under two states, such as, in the case where putting out screen state, because user needs to use terminal, institute Between the CPU of terminal running frequency being reduced into 30%~60% with user, while stop running background third party and answer With program, it is only necessary to the system application operation of terminal in itself is kept, so as to reduce mobile terminal in the case where putting out screen state Power consumption requirements, extend the stand-by time length of terminal.
When terminal is under bright screen state, then prove that terminal is used in user, at this moment can not forbid each power consumption of terminal , it is the application program in terminal, therefore, in this condition, control instruction can be arranged to according to currently used by user Application program determine the application program associated with the application program, and for incoherent application program, then pass through setting Incoherent application program is purged or closed by corresponding control instruction, so as to ensure that the consumption of terminal in this condition Electricity is preferably minimized, and has both improved the utilization rate of resource, also ensure that the performance of terminal, improves the usage experience of user.
S203, according to the power consumption item control instruction table power consumption item in the mobile terminal is adjusted.
In the present embodiment, the power consumption item instruction catalogue includes the control instruction of all power consumption items of mobile terminal, often Individual power consumption item, which has corresponding control instruction or is directed to every a kind of power consumption item, sets a control instruction, passes through the control System instructs the power consumption item a kind of to this to be controlled, for example, in the standby state, it is only necessary to keep the normal of system application Operation, ensureing that terminal can receive incoming call, information obtains basic function, corresponding nonsystematic application program is directly out of service, this When power consumption item control instruction table in the control instruction that sets be for the instruction out of service of nonsystematic application program, by this All nonsystematic application programs of terminal running background are removed in instruction.
In order to which preferably the use state of mobile terminal is identified, also by setting in the method that the present embodiment provides Corresponding sensor is put to identify, specifically, the display screen in the mobile terminal is arranged with several sensors, the biography Sensor includes:Light sensor, pressure sensor, acoustic sensor and gyroscope, pass through the real-time acquisition terminal of these sensors Current running parameter, the running parameter include, the operation on screen of the screen intensity, user of display screen, the audio of terminal Output, the transverse screen of terminal or vertical screen mode etc..
These parameters gathered by sensor determine that terminal puts out screen or bright screen state, when being to put out screen state, then Only need transfer out to the control instruction of nonsystematic application program by nonsystematic application program from the running background list of terminal Dispose;When being bright screen state, then need according to being pre-set in power consumption item control instruction table to each power consumption The control mode of item is controlled corresponding application program accordingly, because under bright screen state, user may can at any time Each application program is used, Chu backstages at this moment need not be just removed to each application program, it is only necessary to reduce the application Power consumption of the program under current state, such as reduce running frequency, it is assumed that " wechat ", " Tengxun have been run in backstage simultaneously QQ ", then can be by controlling application program each N seconds to carry out the reception of a message, and be that poor operation receives, this Sample just not only reduces the load of processor and the occupancy of running memory, also improves efficiency of transmission and the end of network data Hold power consumption.
In the present embodiment, when the use state of mobile terminal is the state being currently being used, in addition to different works Operation mode, each mode of operation are not quite similar to the consumption requirements of electricity, therefore, the power consumption control method that the present embodiment provides In also include:Terminal determines the work at present of the mobile terminal according to the running parameter in the state of being currently being used Pattern, the mode of operation include bright screen standby mode, game mode, chat browse mode and video/audio play mode etc., Wherein, the bright screen standby mode refers to that terminal screen is in bright screen state, but user does not appoint to touch-screen What operation.
In the present embodiment, after mode of operation is determined, it is described according to the use state from advance storage with it is described Power consumption item control instruction table bag corresponding with the use state is inquired in power consumption item control instruction table set in mobile terminal Include:
It is preferential that power consumption is filtered out in all power consumption items being currently running according to the current operation mode from mobile terminal The high power consumption item of level, forms a power consumption item list, and the power consumption item list comprises at least system application, third-party application One kind in program and CPU running frequencies;
Inquired from the power consumption item control instruction table set meet it is to the power consumption item list controls and with it is described Power consumption item control instruction table corresponding to current operation mode.
It is described the power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table including:
Power consumption to be controlled in the power consumption item list is determined using bag name in the power consumption item control instruction table ;
Control instruction in the power consumption item control instruction table is adjusted corresponding to being carried out to the power consumption item to be controlled It is whole.
In the present embodiment, for terminal mode of operation determination, can specifically be determined by following which, root The running parameter detected respectively according to light sensor, pressure sensor, acoustic sensor and gyroscope come judge terminal work as Preceding mode of operation:
When the light sensor detects that screen does not detect the presence of user behaviour for bright screen state, the pressure sensor When making, the mobile terminal is in bright screen standby mode;
When the light sensor detects that screen detects the presence of user behaviour for bright screen state, the pressure sensor Make, the gyroscope detects the mobile terminal when being transverse screen mode, and the mobile terminal is in game mode;
When the light sensor detects that screen detects the presence of user's operation for bright screen state, the pressure sensor When, the mobile terminal is in chat browse mode;
When the light sensor detects that screen detects the presence of user's operation for bright screen state, the pressure sensor When having detected audio output with the acoustic sensor, the mobile terminal is in video/audio play mode.
In actual applications, when it is bright screen state that light sensor, which detects screen, if pressure sensor is default In detection time section, detect that touch control operation number of the user on the touch-screen of mobile terminal is more than default frequency threshold value When, then it is judged as Chat mode, if the rule for being detected simultaneously by the touch control operation meets certain time interval rule, sentences Break as browse mode, be probably video/music playing mode or game mode if being less than default frequency threshold value, specifically Then need to be judged according to other running parameters are further.
In actual applications, after the mode of operation according to corresponding to the running parameter determination that sensor collects, according to work Pattern determine corresponding to prioritization scheme, the control instruction in the prioritization scheme at least one power consumption item in terminal (i.e. It is application program) control is optimized, optionally, the power consumption item is disposed or adjusted from the operation backstage in terminal should With program in the running frequency on backstage etc..
Assuming that when mobile terminal is in standby mode, terminal need not use data network, it is only necessary to ensure basic Call-information function, so user can be arranged on closing WIFI and bluetooth, mobile data etc. function mould under the pattern Block, and terminal CPU overall operation frequency is reduced, so as to reduce terminal power consumption demand;If terminal is broadcast in video/audio Mode playback, then the GPS to close a terminal, and clear up the application unrelated with video/audio broadcasting run in terminal or process;If When terminal is in game mode, then the GPS that closes a terminal, and clear up with run in terminal it is unrelated with scene of game Using or process, specifically as shown in Figures 6 and 7, respectively power consumption item adjustment before and adjustment after power consumption item show list, at certain Under each mode of operation, recognizing the power consumption item of terminal running background includes Alipay, day cat, Jingdone district, QQ, system input method and leads to The applications such as news record, but in this mode, the related operation of chat is only carried out, without the operation of shopping at network, therefore basis The pattern query goes out corresponding control instruction table, and Alipay, day cat, Jingdone district application are removed from the list.
The power consumption control method that the present embodiment provides, by determining mobile terminal according to the current running parameter of mobile terminal Use state, inquired and the shape from the power consumption item control instruction table set being stored in mobile terminal according to use state Power consumption item control instruction table corresponding to state, the power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table It is whole, the control to power consumption item under the different conditions of mobile terminal is realized, terminal is avoided and is unanimously in heavy-duty service state, The problem of causing the unnecessary consumption of electricity, the stand-by time of mobile terminal is extended, while also achieve terminal automatically and have The cleaning power consumption application of selectivity, improve the usage experience of user..
Second embodiment
Fig. 3 is the power consumption control method refined flow chart that second embodiment of the invention provides, and the power consumption control method includes:
S301, several sensors are set on mobile terminals.
The sensor includes light sensor, pressure sensor, acoustic sensor and gyroscope, specifically, these are passed Sensor is arranged under the display screen of terminal;Wherein, the light sensor is used for the brightness for detecting display screen, according to the brightness Determine that display screen is in and put out screen state or bright screen state;The pressure sensor is used to detect the slip of user on the touchscreen Touch control operation, judges whether user operates effectively to terminal;The quick tall sensor of sound plays for detection terminal Audio, judge whether terminal is in broadcast state by the detection of audio;The gyroscope puts shape for detection terminal State, judgement are transverse screen or portrait layout.
S302, the current operating parameters by sensor collection mobile terminal.
The running parameter includes slide, audio, the brightness of screen and the putting angle of terminal played of touch screen Degree, in actual applications, when obtaining the slide, in addition to summarizes to the rule of the slide, optional , record collects the time of each slide and the time interval of a preceding slide and a rear slide, According to the operation rule of time interval generation slide within the period.
S303, the currently used state for determining according to running parameter mobile terminal.
In the present embodiment, the currently used state of terminal can be holding state or the shape being currently being used State, in addition, in the state being currently being used, terminal also includes different mode of operations, required by different mode of operations Minimum power consumption is also what is differed.
If currently used state is holding state, step S304 is performed, if currently used state is currently being used State, then perform step S305.
S304, if currently used state is holding state, reduces CPU and run flat rate, and will be with phone.Informational function phase Power consumption item is removed from the power consumption item list being currently running outside the power consumption item of pass.
S305, if currently used state is the state being currently being used, according to power consumption item control instruction table to power consumption item Each power consumption item in list adjusts corresponding to carrying out, the deletion of the deletion, the reduction running frequency of the reduction running frequency.
In step S303, for terminal currently used state particular by as shown in Figure 4 the step of realize:
S401, extract the brightness for the display screen that the light sensor collects.
S402, judges whether the brightness of display screen is more than default luminance threshold.
In actual applications, the luminance threshold is traditionally arranged to be 0, if more than 0, it is determined that be bright screen state, perform step Rapid S404, it is on the contrary then to put out screen state, perform step S403.It can in addition contain be configured as some numerical value more than 0, due to Terminal is also classified into screen locking bright screen and unblock bright screen under bright screen state, and the brightness of screen locking bright screen and unblock bright screen shows and is different Rank, brightness shown by screen locking bright screen can than unblock bright screen it is small it is dark some, and represent the shape that terminal is used in user State be only unblock bright screen state, and frequency locking bright screen and put out screen two states under each mean that user does not need using terminal, Therefore in order to further improve the identification to the SOT state of termination, according to the actual use demand of user, luminance threshold can be set For more than M (M>0), when the intrinsic brilliance for judging collection is less than M, it is determined that it is holding state, the on the contrary then state to be used.
S403, if the brightness of display screen is less than or equal to default luminance threshold, from power consumption item control instruction table collection Control instruction table is extracted in conjunction to be adjusted the power consumption item being currently running in terminal.
In actual applications, control instruction in this condition is by the basic work(except terminals such as phone, information in itself Removed in the power consumption item list on all power consumption Xiang Doucong backstages outside power consumption item that can be related, and also by the CPU works of terminal Working frequency is reduced to preset value.
S404, if the brightness of display screen is greater than default luminance threshold, judge whether pressure sensor has detected Slide inputs, and whether the time interval of slide, number meet default condition.
S405, if having, slide inputs and the time interval of input is irregular, and number is more than default number threshold Value, then judge that the terminal is in Chat mode.
S406, if having, slide inputs and the time interval of input meets default rule, and number more than default Frequency threshold value, then judge that the terminal is in browse mode.
S407, if fricton-tight operation input, and the time interval of slide, number are unsatisfactory for default condition, then Terminal is in bright screen standby mode.
If having, slide inputs and the time interval of input is irregular, and number is less than default frequency threshold value, then Perform step S408.
S408, judge whether the mobile terminal is transverse screen by the gyroscope.
S409, if gyroscope detects that the angles of terminal overturn for 90 degree, the terminal is game mode.
S410, gyroscope do not detect that terminal posture changes, then the terminal is in video/audio pattern.
The present embodiment provide power consumption control method, by according to the use state of terminal determine corresponding to prioritization scheme, According to prioritization scheme in the state of user's use is not influenceed, the abnormal power consumption application in the application of running background is cleaned out, is increased Add the endurance of battery of mobile terminal.
3rd embodiment
It refer to Fig. 5, a kind of structural representation for mobile terminal that Fig. 5 provides for third embodiment of the invention, the movement Terminal includes:Processor 51, memory 52, communication bus 53 and sensor 54, the communication between processor 51 and memory 52 Realized by the communication bus 53.
Processor 51 generally controls the overall operation of the server belonging to itself.For example, processor 51 perform calculate and really The operation such as recognize.Wherein, processor 51 can be central processing unit (CPU).In the present embodiment, sensor 54 is described for detecting The slide of user on terminal display screen;Processor 51 at least needs to have such function:According to the work of mobile terminal Parameter determines the use state of the mobile terminal, and the use state includes:Holding state and it is currently being used state;According to The use state is from advance storage with being inquired and the use in the power consumption item control instruction table set in the mobile terminal Power consumption item control instruction table corresponding to state;The power consumption item in the mobile terminal is entered according to the power consumption item control instruction table Row adjustment.
In actual applications, specifically can be by setting realization corresponding to the processing step of sensor 54 and processor 51 The software code of function realizes that optionally, memory 52 stores software generation that processor 51 is readable, processor 51 is executable Code, it, which is included, is used for the instruction (i.e. software perform function) that control processor 51 performs function described above.In the present embodiment In, memory 52, which at least needs to be stored with, realizes that processor 51 performs the program of above-mentioned function needs and controls sensor 54 to touching The program of the collections of information such as brightness, slide, audio, angles on control display screen.
Memory 52, typically using semiconductor memory cell, including random access memory (RAM), read-only storage (ROM), And cache (CACHE), RAM are most important of which memories.Memory 52 is one of part important in computer, It is the bridge linked up with CPU, in computer the operation of all programs all carried out in internal memory, its effect is to be used for The temporarily operational data in storage CPU, and the data exchanged with external memory storages such as hard disks, as long as computer is in operation, CPU will carry out computing needing the data of computing to be transferred in internal memory, and CPU again sends out result after the completion of computing, interior The operation deposited also determines the stable operation of computer.
In the present embodiment, the processor 51 is before power consumption item control instruction table is inquired about, in addition to:Obtain the shifting The power consumption item list being made up of in dynamic terminal all power consumption items being currently running, and be pre-stored within the mobile terminal Power consumption item control instruction table set;
The processor 51 includes from power consumption item control instruction table collection query power consumption item control instruction table:According to the shifting The currently used state and the use state and the corresponding relation of the power consumption item control instruction list of dynamic terminal, from institute State power consumption item control instruction table Integrated query and go out corresponding power consumption item control instruction table;According to the power consumption item control instruction table pair Power consumption item in the power consumption item list is adjusted.
The processor 51 the action parameter according to mobile terminal go to push up the mobile terminal use state it Before, in addition to:
Several sensors are arranged with the display screen of the mobile terminal;
The current running parameter of the mobile terminal is gathered by the sensor.
The processor 51 is in the state being currently being used when use state to be described, described according to mobile terminal Action parameter goes to push up after the use state of the mobile terminal, in addition to:Determined according to the running parameter described mobile whole The current operation mode at end.
Sieved in all power consumption items that the processor 51 is currently running according to the current operation mode from mobile terminal The high power consumption item of power consumption priority is selected, forms a power consumption item list;
Inquired from the power consumption item control instruction table set meet it is to the power consumption item list controls and with it is described Power consumption item control instruction table corresponding to current operation mode.
The processor 51 is specifically to determine the power consumption item using bag name in the power consumption item control instruction table Power consumption item to be controlled in list;
Control instruction in the power consumption item control instruction table is adjusted corresponding to being carried out to the power consumption item to be controlled It is whole.
In the present embodiment, processor 51 is additionally operable to perform the following step of one or more programs execution stored in memory 52 Suddenly:
The use state of the mobile terminal is determined according to the running parameter of mobile terminal, the use state includes:Treat Machine state and the state being currently being used;
According to the use state from advance storage with being looked into the power consumption item control instruction table set in the mobile terminal Ask out power consumption item control instruction table corresponding with the use state;
The power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table.
In the present embodiment, the processor 51 is additionally operable to execution power consumption control program and realizes following steps:
The current running parameter of the mobile terminal is gathered by the sensor;
The current operation mode of the mobile terminal is determined according to the running parameter;
It is preferential that power consumption is filtered out in all power consumption items being currently running according to the current operation mode from mobile terminal The high power consumption item of level, forms a power consumption item list, and the power consumption item list comprises at least system application, third-party application One kind in program and CPU running frequencies;
Inquired from the power consumption item control instruction table set meet it is to the power consumption item list controls and with it is described Power consumption item control instruction table corresponding to current operation mode.
Power consumption to be controlled in the power consumption item list is determined using bag name in the power consumption item control instruction table ;
Control instruction in the power consumption item control instruction table is adjusted corresponding to being carried out to the power consumption item to be controlled It is whole.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of 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 to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of power consumption control method of mobile terminal, it is characterised in that the power consumption control method includes:
The use state of the mobile terminal is determined according to the running parameter of mobile terminal, the use state includes:Standby shape State and the state being currently being used;
According to the use state from advance storage with being inquired in the power consumption item control instruction table set in the mobile terminal Power consumption item control instruction table corresponding with the use state;
The power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table.
2. the power consumption control method of mobile terminal as claimed in claim 1, it is characterised in that described according to mobile terminal Action parameter goes to push up before the use state of the mobile terminal, in addition to:
Several sensors are arranged with the display screen of the mobile terminal;
The current running parameter of the mobile terminal is gathered by the sensor.
3. the power consumption control method of mobile terminal as claimed in claim 1 or 2, it is characterised in that when the use state is It is described be currently being used state when, go to push up the use state of the mobile terminal in the action parameter according to mobile terminal Afterwards, in addition to:The current operation mode of the mobile terminal is determined according to the running parameter.
4. the power consumption control method of mobile terminal as claimed in claim 3, it is characterised in that described according to the use state From advance storage with inquiring consumption corresponding with the use state in the power consumption item control instruction table set in the mobile terminal Electric item control instruction table includes:
Power consumption priority height is filtered out in all power consumption items being currently running according to the current operation mode from mobile terminal Power consumption item, form a power consumption item list;
Inquired from the power consumption item control instruction table set meet it is to the power consumption item list controls and with it is described current Power consumption item control instruction table corresponding to mode of operation.
5. the power consumption control method of mobile terminal as claimed in claim 4, it is characterised in that the power consumption item list is at least wrapped Include one kind in system application, third party application and CPU running frequencies;
It is described the power consumption item in the mobile terminal is adjusted according to the power consumption item control instruction table including:
Power consumption item to be controlled in the power consumption item list is determined using bag name in the power consumption item control instruction table;
Control instruction in the power consumption item control instruction table adjusts corresponding to being carried out to the power consumption item to be controlled.
6. the power consumption control method of mobile terminal as claimed in claim 3, it is characterised in that the sensor includes:It is photosensitive Sensor, pressure sensor, acoustic sensor and gyroscope.
7. the power consumption control method of mobile terminal as claimed in claim 6, it is characterised in that the Working mould of the mobile terminal Formula includes:Bright screen standby mode, game mode, chat browse mode and video/audio play mode.
8. the power consumption control method of mobile terminal as claimed in claim 7, it is characterised in that described according to the running parameter Determining the current operation mode of the mobile terminal includes:
When the light sensor detects that screen does not detect the presence of user's operation for bright screen state, the pressure sensor When, the mobile terminal is in bright screen standby mode;
When the light sensor detects that screen detects the presence of user's operation, institute for bright screen state, the pressure sensor State gyroscope and detect the mobile terminal when being transverse screen mode, the mobile terminal is in game mode;
When the light sensor detects that screen detects the presence of user's operation for bright screen state, the pressure sensor, The mobile terminal is in chat browse mode;
When the light sensor detects that screen detects the presence of user's operation and institute for bright screen state, the pressure sensor When stating acoustic sensor and having detected audio output, the mobile terminal is in video/audio play mode.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1 to 8 The step of power consumption control method of mobile terminal described in one.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 8 Any one of mobile terminal power consumption control method the step of.
CN201710674321.3A 2017-08-09 2017-08-09 A kind of power consumption control method, mobile terminal and computer-readable recording medium Pending CN107577332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710674321.3A CN107577332A (en) 2017-08-09 2017-08-09 A kind of power consumption control method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710674321.3A CN107577332A (en) 2017-08-09 2017-08-09 A kind of power consumption control method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107577332A true CN107577332A (en) 2018-01-12

Family

ID=61035511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710674321.3A Pending CN107577332A (en) 2017-08-09 2017-08-09 A kind of power consumption control method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107577332A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109496116A (en) * 2018-12-29 2019-03-19 努比亚技术有限公司 Heat dissipating method, mobile terminal and the computer readable storage medium of mobile terminal
CN109491482A (en) * 2018-12-29 2019-03-19 努比亚技术有限公司 Mobile terminal and its heat dissipating method, computer readable storage medium
CN109743867A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 Heat dissipating method, mobile terminal and the computer readable storage medium of mobile terminal
CN110083217A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of control method for screen display, wearable device and storage medium
CN110312983A (en) * 2018-06-29 2019-10-08 深圳力维智联技术有限公司 Information collecting method, system and storage medium
WO2020133455A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Application program management method, device, storage medium and electronic apparatus
CN111610730A (en) * 2019-02-25 2020-09-01 北京嘀嘀无限科技发展有限公司 Control device and electronic equipment
CN113747552A (en) * 2021-06-18 2021-12-03 荣耀终端有限公司 Power consumption optimization method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070080015A (en) * 2006-02-06 2007-08-09 (주) 엘지텔레콤 Method of automatically terminating application program of portable device by motion detection and computer readable recording medium thereof
CN103677214A (en) * 2013-12-31 2014-03-26 北京金山网络科技有限公司 Electricity consumption control method and device used for mobile terminal and mobile terminal
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN105786609A (en) * 2016-03-30 2016-07-20 北京小米移动软件有限公司 Control method and device of terminal
CN106200867A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal of a kind of terminal energy-efficient treatment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070080015A (en) * 2006-02-06 2007-08-09 (주) 엘지텔레콤 Method of automatically terminating application program of portable device by motion detection and computer readable recording medium thereof
CN103677214A (en) * 2013-12-31 2014-03-26 北京金山网络科技有限公司 Electricity consumption control method and device used for mobile terminal and mobile terminal
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN105786609A (en) * 2016-03-30 2016-07-20 北京小米移动软件有限公司 Control method and device of terminal
CN106200867A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal of a kind of terminal energy-efficient treatment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312983A (en) * 2018-06-29 2019-10-08 深圳力维智联技术有限公司 Information collecting method, system and storage medium
CN110312983B (en) * 2018-06-29 2023-05-09 深圳力维智联技术有限公司 Information acquisition method, system and storage medium
CN109496116A (en) * 2018-12-29 2019-03-19 努比亚技术有限公司 Heat dissipating method, mobile terminal and the computer readable storage medium of mobile terminal
CN109491482A (en) * 2018-12-29 2019-03-19 努比亚技术有限公司 Mobile terminal and its heat dissipating method, computer readable storage medium
CN109743867A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 Heat dissipating method, mobile terminal and the computer readable storage medium of mobile terminal
WO2020133455A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Application program management method, device, storage medium and electronic apparatus
CN111610730A (en) * 2019-02-25 2020-09-01 北京嘀嘀无限科技发展有限公司 Control device and electronic equipment
CN110083217A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of control method for screen display, wearable device and storage medium
CN113747552A (en) * 2021-06-18 2021-12-03 荣耀终端有限公司 Power consumption optimization method and electronic equipment
CN113747552B (en) * 2021-06-18 2024-03-19 荣耀终端有限公司 Power consumption optimization method and electronic equipment

Similar Documents

Publication Publication Date Title
CN107577332A (en) A kind of power consumption control method, mobile terminal and computer-readable recording medium
CN108227897A (en) Control method for screen display, flexible screen terminal and computer readable storage medium
CN107688607A (en) The method and mobile terminal of a kind of database access, computer-readable recording medium
CN107343083A (en) One kind lifting game experiencing method, apparatus and computer-readable recording medium
CN106993102A (en) Intelligence alignment awakening method, mobile terminal and computer-readable recording medium
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107181700A (en) Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107132974A (en) Terminal freezes screen processing method, terminal and computer-readable recording medium
CN108227898A (en) Flexible screen terminal and its power consumption control method, computer readable storage medium
CN107832601A (en) A kind of application control method and mobile terminal
CN107807767A (en) A kind of processing method of communication traffic, terminal and computer-readable recording medium
CN107402813A (en) The method and mobile terminal of a kind of resource allocation, computer-readable recording medium
CN107797643A (en) Reduce method, terminal and the computer-readable recording medium of terminal operating power consumption
CN107632886A (en) A kind of switching method, terminal and the computer-readable recording medium of terminal operating pattern
CN108628430A (en) A kind of game electricity-saving control method, terminal and computer readable storage medium
CN107678698A (en) Data cached method for cleaning, server, terminal and computer-readable recording medium
CN107632757A (en) A kind of terminal control method, terminal and computer-readable recording medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN107273433A (en) A kind of file scanning method, equipment and computer-readable recording medium
CN108924352A (en) Sound quality method for improving, terminal and computer readable storage medium
CN108536529A (en) A kind of multitask regulation and control method, equipment and computer readable storage medium
CN107704287A (en) Installation method, mobile terminal and computer-readable recording medium are exempted from program application
CN107466081A (en) A kind of wireless switching method and terminal
CN107943590A (en) Start Memory Optimize Method, mobile terminal and the storage medium of application based on association
CN107749761A (en) A kind of anti-interference method and mobile 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

Application publication date: 20180112

RJ01 Rejection of invention patent application after publication