CN107390856A - A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption - Google Patents
A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption Download PDFInfo
- Publication number
- CN107390856A CN107390856A CN201710588558.XA CN201710588558A CN107390856A CN 107390856 A CN107390856 A CN 107390856A CN 201710588558 A CN201710588558 A CN 201710588558A CN 107390856 A CN107390856 A CN 107390856A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- sensor
- mode
- power consumption
- reducing
- 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
Links
- 230000005611 electricity Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 description 7
- 230000005484 gravity Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000001413 cellular Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000875 corresponding Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical Effects 0.000 description 2
- 230000003068 static Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 210000001956 EPC Anatomy 0.000 description 1
- 201000000194 ITM2B-related cerebral amyloid angiopathy 2 Diseases 0.000 description 1
- 210000000554 Iris Anatomy 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000001404 mediated Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/324—Power saving characterised by the action undertaken by lowering clock frequency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
Abstract
The invention discloses a kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption, methods described includes step:Determine whether mobile terminal enters battery saving mode;If the mobile terminal enters battery saving mode, the mode of operation of the sensor of the mobile terminal is controlled, to cause the mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of the sensor.Method, mobile terminal and the storage medium disclosed by the invention for reducing mobile terminal power consumption, by the way that the mode of operation of the sensor of mobile terminal is switched into local-speed mode of operation, to cause mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of sensor;The power consumption of mobile terminal is reduced, extends the stand-by time of mobile terminal, adds the experience sense of user.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of method for reducing mobile terminal power consumption, mobile terminal and
Storage medium.
Background technology
The smart mobile phone popularity rate in the whole world is just presented the trend gradually risen at present, at the same smart mobile phone also incorporate it is more next
More functions.Smart mobile phone of today has been provided with computer function, and various application programs are very abundant.Meanwhile large-size screen monitors high definition
LCD (Liquid Crystal Display, liquid crystal display) be also increasingly being applied in smart mobile phone, smart mobile phone
Achievable function is a lot.But the greatest problem faced with large-size screen monitors and multiple utility program, during the design of smart mobile phone is exactly
How the power consumption of battery is reduced.
During the present invention is realized, inventor has found that prior art has problems with:Existing smart mobile phone leads to
Cross built-in sensors and realize that the horizontal/vertical screen of display picture switches according to gravity sensing principle, although this application function increases
The experience sense of user, but add the power consumption of smart mobile phone simultaneously.
The content of the invention
It is a primary object of the present invention to propose that a kind of method for reducing mobile terminal power consumption, mobile terminal and storage are situated between
Matter, it is intended to solve the problems, such as that prior art is present.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of method for reducing mobile terminal power consumption, institute
Stating method includes step:
Determine whether mobile terminal enters battery saving mode;
If the mobile terminal enters battery saving mode, the mode of operation of the sensor of the mobile terminal is controlled, so that
Obtain the mobile terminal and horizontal/vertical screen switching is carried out according to the default working frequency of the sensor, wherein, the work of the sensor
Operation mode is used for the working frequency for adjusting the sensor.
Optionally, whether the determination mobile terminal, which enters battery saving mode, includes step:
The dump energy of the mobile terminal is obtained, judges whether the dump energy of the mobile terminal reaches default electricity
Measure threshold value;
If the dump energy of the mobile terminal reaches default power threshold, it is determined that the mobile terminal enters power saving
Pattern.
Optionally, whether the determination mobile terminal, which enters battery saving mode, includes step:
The first dump energy of the mobile terminal is obtained, and starts timing;
When timing reaches preset duration, the second dump energy of the mobile terminal is obtained;
Calculate the electricity difference of first dump energy and second dump energy, and calculate the electricity difference with
The ratio of the preset duration;
If the ratio is more than predetermined threshold value, it is determined that the mobile terminal enters battery saving mode.
Optionally, methods described also includes step:
If the ratio is not more than predetermined threshold value, timing is reset, and returns and performs the acquisition mobile terminal
The first dump energy, and the step of start timing.
Optionally, the mode of operation of the sensor of the control mobile terminal, with cause the mobile terminal according to
The default working frequency of the sensor, which carries out horizontal/vertical screen switching, includes step:
Whether the sensor for detecting the mobile terminal is in opening;
If the sensor of the mobile terminal is in opening, the Working mould of the sensor of the mobile terminal is controlled
Formula, to cause the mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of the sensor.
Optionally, the mode of operation of the sensor of the mobile terminal includes normal mode of operation and local-speed mode of operation;
The mode of operation of the sensor of the control mobile terminal, to cause the mobile terminal according to the sensing
The default working frequency of device, which carries out horizontal/vertical screen switching, to be included:
If the current mode of operation of the sensor of the mobile terminal is local-speed mode of operation, the mobile terminal is maintained
Sensor local-speed mode of operation, it is vertical and horizontal to cause the mobile terminal to be carried out according to the default working frequency of the sensor
Screen switching;
If the current mode of operation of the sensor of the mobile terminal is normal mode of operation, by the mobile terminal
The mode of operation of sensor is switched to local-speed mode of operation, to cause default work of the mobile terminal according to the sensor
Frequency carries out horizontal/vertical screen switching.
Optionally, methods described also includes step:
If the battery saving mode of the mobile terminal is turned off, the mode of operation of the sensor of the mobile terminal is switched
To normal mode of operation.
Optionally, methods described also includes step:
If the mobile terminal enters battery saving mode, the other application in addition to default application program and closing are closed
The function unrelated with default application program.
In addition, to achieve the above object, second aspect of the embodiment of the present invention provides a kind of mobile terminal, the mobile terminal
Including:Memory, processor and the reduction mobile terminal work(that is stored on the memory and can run on the processor
The program of consumption, realize that the reduction described in first aspect moves when the program for reducing mobile terminal power consumption is by the computing device
The step of method of dynamic power consumption of terminal.
Furthermore to achieve the above object, the third aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, institute
State the program for being stored with computer-readable recording medium and reducing mobile terminal power consumption, the program for reducing mobile terminal power consumption
The step of method of the reduction mobile terminal power consumption described in first aspect is realized when being executed by processor.
A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption provided in an embodiment of the present invention, passes through
The mode of operation of the sensor of mobile terminal is switched to local-speed mode of operation, to cause the mobile terminal according to the sensing
The default working frequency of device carries out horizontal/vertical screen switching;The power consumption of mobile terminal is reduced, extends the stand-by time of mobile terminal, is increased
The experience sense of user is added.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the method flow schematic diagram of the reduction mobile terminal power consumption of the embodiment of the present invention;
Fig. 4 is to determine battery saving mode schematic flow sheet in the method for the reduction mobile terminal power consumption of the embodiment of the present invention;
Fig. 5 is that another flow signal of battery saving mode is determined in the method for the reduction mobile terminal power consumption of the embodiment of the present invention
Figure;
Fig. 6 is another schematic flow sheet of method of the reduction mobile terminal power consumption of the embodiment of the present invention;
Fig. 7 is the mobile terminal structure schematic diagram of the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
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..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
First embodiment
, it is necessary to which explanation, the mobile terminal of the present embodiment carry a sensor before the present embodiment is introduced, such as:
Gravity sensor G-sensor or acceleration transducer, gravity sensor G-sensor can sense the weight of mobile terminal in real time
Power acceleration, therefore, its direction rotated and angle are able to detect that by gravity sensor G-sensor mobile terminals, and then
The state currently placed according to mobile terminal makes its display picture be switched between transverse screen and portrait layout.
As shown in figure 3, first embodiment of the invention provides a kind of method for reducing mobile terminal power consumption, methods described includes
Step:
31st, determine whether mobile terminal enters battery saving mode;
It refer to shown in Fig. 4, in one embodiment, whether the determination mobile terminal, which enters battery saving mode, includes step
Suddenly:
310th, the dump energy of the mobile terminal is obtained, judges whether the dump energy of the mobile terminal reaches default
Power threshold;
If the 311st, the dump energy of the mobile terminal reaches default power threshold, it is determined that the mobile terminal enters
Battery saving mode.
In this embodiment, whether default power threshold is reached by the dump energy of mobile terminal, it is determined that mobile
Whether terminal enters battery saving mode.
It refer to shown in Fig. 5, in another embodiment, whether the determination mobile terminal includes into battery saving mode
Step:
312nd, the first dump energy of the mobile terminal is obtained, and starts timing;
313rd, when timing reaches preset duration, the second dump energy of the mobile terminal is obtained;
314th, the electricity difference of first dump energy and second dump energy is calculated, and it is poor to calculate the electricity
The ratio of value and the preset duration;
If the 315th, the ratio is more than predetermined threshold value, it is determined that the mobile terminal enters battery saving mode.
In this embodiment, by the ratio of electricity difference and preset duration, determine whether mobile terminal enters power saving
Pattern.If the ratio of electricity difference and preset duration is more than predetermined threshold value, the power consumption that mobile terminal can be explained is too fast.
In this embodiment, methods described also includes step (accompanying drawing is not shown):
If the ratio is not more than predetermined threshold value, timing is reset, and returns and performs the acquisition mobile terminal
The first dump energy, and the step of start timing.
In the embodiment, by the first dump energy and the electricity difference of the second dump energy and the ratio of preset duration
After compared with predetermined threshold value, when the ratio of electricity difference and preset duration is less than or equal to predetermined threshold value, then illustrate
In the preset duration, the power consumption of mobile terminal is normal, and mobile terminal does not enter into battery saving mode.Although during this section of mobile terminal
Between power consumption it is normal, but still need to detect the ensuing power consumption condition of mobile terminal.Specifically, timing is reset, so
The step of returning to the first dump energy for continuing executing with the acquisition mobile terminal afterwards, and starting timing, obtain mobile whole
The first current dump energy of end, and start timing, with detect the power consumption of the mobile terminal in next preset duration whether mistake
It hurry up.If the power consumption of mobile terminal is still normal in next preset duration, continue to return to the operation for performing above-mentioned steps, circulation
Aforesaid operations process;If the power consumption of mobile terminal is too fast in next preset duration, it can determine that mobile terminal enters power saving mould
Formula.
If the 32, the mobile terminal enters battery saving mode, the mode of operation of the sensor of the mobile terminal is controlled, with
So that the mobile terminal carries out horizontal/vertical screen switching according to the default working frequency of the sensor, wherein, the sensor
Mode of operation is used for the working frequency for adjusting the sensor.
In the present embodiment, the mode of operation of the sensor of the control mobile terminal, it is described mobile whole to cause
End carries out horizontal/vertical screen switching according to the default working frequency of the sensor includes step (accompanying drawing is not shown):
Whether the sensor for detecting the mobile terminal is in opening;
If the sensor of the mobile terminal is in opening, the Working mould of the sensor of the mobile terminal is controlled
Formula, to cause the mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of the sensor.
It should be noted that in the present embodiment, the mode of operation of the sensor of the mobile terminal includes normal work
Pattern and local-speed mode of operation;
The mode of operation of the sensor of the control mobile terminal, to cause the mobile terminal according to the sensing
The default working frequency of device, which carries out horizontal/vertical screen switching, to be included:
If the current mode of operation of the sensor of the mobile terminal is local-speed mode of operation, the mobile terminal is maintained
Sensor local-speed mode of operation, it is vertical and horizontal to cause the mobile terminal to be carried out according to the default working frequency of the sensor
Screen switching;
If the current mode of operation of the sensor of the mobile terminal is normal mode of operation, by the mobile terminal
The mode of operation of sensor is switched to local-speed mode of operation, to cause default work of the mobile terminal according to the sensor
Frequency carries out horizontal/vertical screen switching.
The working frequency of local-speed mode of operation lower sensor, the working frequency compared with the sensor under normal mode of operation will
Low, when mobile terminal carries out horizontal/vertical screen switching, speed is slow with respect to for normal mode of operation.It is this it is slow in a power-save mode,
Large effect is not had for user.Therefore, the power consumption of mobile terminal is on the one hand can be reduced, extends mobile terminal
Stand-by time, it on the other hand can add the experience sense of user.
It refer to shown in Fig. 6, in the present embodiment, methods described also includes step:
If the 33, the battery saving mode of the mobile terminal is turned off, by the mode of operation of the sensor of the mobile terminal
It is switched to normal mode of operation.
Under normal mode of operation, the speed that mobile terminal carries out horizontal/vertical screen switching recovers normal, and the experience sense of user is preferable.
Further, methods described also includes step (accompanying drawing is not shown):
If the mobile terminal enters battery saving mode, the other application in addition to default application program and closing are closed
The function unrelated with default application program.
In the present embodiment, default application program can be that the system of mobile terminal is set, and can also provide man-machine interaction
Interface is configured by user.For example, could be arranged to wechat application, it either could be arranged to phone application or can set
Short message application is set to, either could be arranged to phone application and short message application or could be arranged to phone application and wechat should
With etc.;If be provided that wechat apply, it is necessary to close be exactly other application in addition to wechat is applied, and Wireless Fidelity
(WiFi) network or cellular data network are then the functions related to wechat, now in order to ensure the normal use of wechat application,
WiFi network or cellular data network can not be closed, but closes and applies unrelated other functions with wechat;And when default application
When being phone application or short message application, WiFi network and cellular data network can be now closed.
A kind of method for reducing mobile terminal power consumption provided in an embodiment of the present invention, by by the sensor of mobile terminal
Mode of operation is switched to local-speed mode of operation, to cause the mobile terminal to be carried out according to the default working frequency of the sensor
Horizontal/vertical screen switches;The power consumption of mobile terminal is reduced, extends the stand-by time of mobile terminal, adds the experience sense of user.
Second embodiment
Reference picture 7, Fig. 7 provide a kind of mobile terminal for second embodiment of the invention, and the mobile terminal 40 includes:Storage
Device 41, processor 42 and it is stored in the reduction mobile terminal power consumption that can be run on the memory 41 and on the processor 42
Program, the program for reducing mobile terminal power consumption realizes following reduction mobile terminal work(when being performed by the processor 42
The step of method of consumption:
Determine whether mobile terminal enters battery saving mode;
If the mobile terminal enters battery saving mode, the mode of operation of the sensor of the mobile terminal is controlled, so that
Obtain the mobile terminal and horizontal/vertical screen switching is carried out according to the default working frequency of the sensor, wherein the work of the sensor
Pattern is used for the working frequency for adjusting sensor.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
Whether the determination mobile terminal, which enters battery saving mode, includes step:
The dump energy of the mobile terminal is obtained, judges whether the dump energy of the mobile terminal reaches default electricity
Measure threshold value;
If the dump energy of the mobile terminal reaches default power threshold, it is determined that the mobile terminal enters power saving
Pattern.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
Whether the determination mobile terminal, which enters battery saving mode, includes step:
The first dump energy of the mobile terminal is obtained, and starts timing;
When timing reaches preset duration, the second dump energy of the mobile terminal is obtained;
Calculate the electricity difference of first dump energy and second dump energy, and calculate the electricity difference with
The ratio of the preset duration;
If the ratio is more than predetermined threshold value, it is determined that the mobile terminal enters battery saving mode.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
If the ratio is not more than predetermined threshold value, timing is reset, and returns and performs the acquisition mobile terminal
The first dump energy, and the step of start timing.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
The mode of operation of the sensor of the control mobile terminal, to cause the mobile terminal according to the sensing
The default working frequency of device, which carries out horizontal/vertical screen switching, includes step:
Whether the sensor for detecting the mobile terminal is in opening;
If the sensor of the mobile terminal is in opening, the Working mould of the sensor of the mobile terminal is controlled
Formula, to cause the mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of the sensor.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
The mode of operation of the sensor of the mobile terminal includes normal mode of operation and local-speed mode of operation;
The mode of operation of the sensor of the control mobile terminal, to cause the mobile terminal according to the sensing
The default working frequency of device, which carries out horizontal/vertical screen switching, to be included:
If the current mode of operation of the sensor of the mobile terminal is local-speed mode of operation, the mobile terminal is maintained
Sensor local-speed mode of operation, it is vertical and horizontal to cause the mobile terminal to be carried out according to the default working frequency of the sensor
Screen switching;
If the current mode of operation of the sensor of the mobile terminal is normal mode of operation, by the mobile terminal
The mode of operation of sensor is switched to local-speed mode of operation, to cause default work of the mobile terminal according to the sensor
Frequency carries out horizontal/vertical screen switching.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
If the battery saving mode of the mobile terminal is turned off, the mode of operation of the sensor of the mobile terminal is switched
To normal mode of operation.
The program for reducing mobile terminal power consumption is additionally operable to realize following steps when being performed by the processor 42:
If the mobile terminal enters battery saving mode, the other application in addition to default application program and closing are closed
The function unrelated with default application program.
Mobile terminal provided in an embodiment of the present invention, by the way that the mode of operation of the sensor of mobile terminal is switched into low speed
Mode of operation, to cause the mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of the sensor;Reduce
The power consumption of mobile terminal, extend the stand-by time of mobile terminal, add the experience sense of user.
3rd embodiment
Third embodiment of the invention provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium
Containing reduces the program of mobile terminal power consumption, and the program for reducing mobile terminal power consumption realizes that first is real when being executed by processor
The step of applying the method for the reduction mobile terminal power consumption described in example.
Computer-readable recording medium provided in an embodiment of the present invention, by by the mode of operation of the sensor of mobile terminal
Local-speed mode of operation is switched to, to cause the mobile terminal carries out horizontal/vertical screen according to the default working frequency of the sensor to cut
Change;The power consumption of mobile terminal is reduced, extends the stand-by time of mobile terminal, adds the experience sense of user.
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 method for reducing mobile terminal power consumption, methods described include step:
Determine whether mobile terminal enters battery saving mode;
If the mobile terminal enters battery saving mode, the mode of operation of the sensor of the mobile terminal is controlled, to cause
State mobile terminal and horizontal/vertical screen switching is carried out according to the default working frequency of the sensor, wherein, the Working mould of the sensor
Formula is used for the working frequency for adjusting the sensor.
2. a kind of method for reducing mobile terminal power consumption according to claim 1, it is characterised in that described to determine movement eventually
Whether end, which enters battery saving mode, includes step:
The dump energy of the mobile terminal is obtained, judges whether the dump energy of the mobile terminal reaches default electricity threshold
Value;
If the dump energy of the mobile terminal reaches default power threshold, it is determined that the mobile terminal enters power saving mould
Formula.
3. a kind of method for reducing mobile terminal power consumption according to claim 1, it is characterised in that described to determine movement eventually
Whether end, which enters battery saving mode, includes step:
The first dump energy of the mobile terminal is obtained, and starts timing;
When timing reaches preset duration, the second dump energy of the mobile terminal is obtained;
Calculate the electricity difference of first dump energy and second dump energy, and calculate the electricity difference with it is described
The ratio of preset duration;
If the ratio is more than predetermined threshold value, it is determined that the mobile terminal enters battery saving mode.
4. a kind of method for reducing mobile terminal power consumption according to claim 3, it is characterised in that methods described also includes
Step:
If the ratio is not more than predetermined threshold value, timing is reset, and returns to perform and described obtains the of the mobile terminal
One dump energy, and the step of start timing.
A kind of 5. method for reducing mobile terminal power consumption according to claim 1, it is characterised in that the control shifting
The mode of operation of the sensor of dynamic terminal, to cause the mobile terminal to carry out horizontal stroke according to the default working frequency of the sensor
Portrait layout switching includes step:
Whether the sensor for detecting the mobile terminal is in opening;
If the sensor of the mobile terminal is in opening, the mode of operation of the sensor of the mobile terminal is controlled,
To cause the mobile terminal to carry out horizontal/vertical screen switching according to the default working frequency of the sensor.
6. a kind of method for reducing mobile terminal power consumption according to claim 1 or 5, it is characterised in that described mobile whole
The mode of operation of the sensor at end includes normal mode of operation and local-speed mode of operation;
The mode of operation of the sensor of the control mobile terminal, to cause the mobile terminal according to the sensor
Default working frequency, which carries out horizontal/vertical screen switching, to be included:
If the current mode of operation of the sensor of the mobile terminal is local-speed mode of operation, the biography of the mobile terminal is maintained
The local-speed mode of operation of sensor, to cause the mobile terminal carries out horizontal/vertical screen according to the default working frequency of the sensor to cut
Change;
If the current mode of operation of the sensor of the mobile terminal is normal mode of operation, by the sensing of the mobile terminal
The mode of operation of device is switched to local-speed mode of operation, to cause default working frequency of the mobile terminal according to the sensor
Carry out horizontal/vertical screen switching.
7. a kind of method for reducing mobile terminal power consumption according to claim 6, it is characterised in that methods described also includes
Step:
If the battery saving mode of the mobile terminal is turned off, the mode of operation of the sensor of the mobile terminal is switched to just
Normal mode of operation.
8. a kind of method for reducing mobile terminal power consumption according to claim 1, it is characterised in that methods described also includes
Step:
If the mobile terminal enters battery saving mode, close the other application in addition to default application program and close with it is pre-
If the unrelated function of application program.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage
On device and can run on the processor reduction mobile terminal power consumption program, it is described reduce mobile terminal power consumption program
The step for the method that the reduction mobile terminal power consumption as any one of claim 1 to 8 is realized during the computing device
Suddenly.
10. a kind of computer-readable recording medium, it is characterised in that reduction is stored with the computer-readable recording medium and is moved
The program of dynamic power consumption of terminal, the program for reducing mobile terminal power consumption are realized when being executed by processor as in claim 1 to 8
The step of method of reduction mobile terminal power consumption described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710588558.XA CN107390856A (en) | 2017-07-19 | 2017-07-19 | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710588558.XA CN107390856A (en) | 2017-07-19 | 2017-07-19 | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107390856A true CN107390856A (en) | 2017-11-24 |
Family
ID=60340881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710588558.XA Pending CN107390856A (en) | 2017-07-19 | 2017-07-19 | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107390856A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108121435A (en) * | 2018-01-10 | 2018-06-05 | 上海展扬通信技术有限公司 | Electricity saving of mobile terminal operation method, device and computer readable storage medium |
CN108134869A (en) * | 2017-11-29 | 2018-06-08 | 努比亚技术有限公司 | Breath screen display methods, mobile terminal and computer readable storage medium |
CN108550353A (en) * | 2018-04-20 | 2018-09-18 | Oppo广东移动通信有限公司 | Brightness adjusting method and related product |
CN108990105A (en) * | 2018-06-12 | 2018-12-11 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium |
CN109142859A (en) * | 2017-06-19 | 2019-01-04 | 上海中兴软件有限责任公司 | A kind of energy consumption display method, device and terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348949A (en) * | 2013-07-23 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and apparatus for switching operation state of electronic device |
CN104932657A (en) * | 2015-06-26 | 2015-09-23 | 北京奇虎科技有限公司 | Mobile terminal power saving mode optimizing method and device, optimizing configuration information generating method and device |
CN106488542A (en) * | 2016-11-23 | 2017-03-08 | 努比亚技术有限公司 | A kind of mobile terminal and its control method |
-
2017
- 2017-07-19 CN CN201710588558.XA patent/CN107390856A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348949A (en) * | 2013-07-23 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Method and apparatus for switching operation state of electronic device |
CN104932657A (en) * | 2015-06-26 | 2015-09-23 | 北京奇虎科技有限公司 | Mobile terminal power saving mode optimizing method and device, optimizing configuration information generating method and device |
CN106488542A (en) * | 2016-11-23 | 2017-03-08 | 努比亚技术有限公司 | A kind of mobile terminal and its control method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109142859A (en) * | 2017-06-19 | 2019-01-04 | 上海中兴软件有限责任公司 | A kind of energy consumption display method, device and terminal |
CN108134869A (en) * | 2017-11-29 | 2018-06-08 | 努比亚技术有限公司 | Breath screen display methods, mobile terminal and computer readable storage medium |
CN108121435A (en) * | 2018-01-10 | 2018-06-05 | 上海展扬通信技术有限公司 | Electricity saving of mobile terminal operation method, device and computer readable storage medium |
CN108550353A (en) * | 2018-04-20 | 2018-09-18 | Oppo广东移动通信有限公司 | Brightness adjusting method and related product |
CN108990105A (en) * | 2018-06-12 | 2018-12-11 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium |
CN108990105B (en) * | 2018-06-12 | 2021-10-19 | Oppo广东移动通信有限公司 | Wireless communication transmission method, device, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234773A (en) | A kind of switching method of double-sided screen, terminal and storage medium | |
CN108052302A (en) | Association display methods, terminal and the computer readable storage medium of double-sided screen | |
CN107566635A (en) | Screen intensity method to set up, mobile terminal and computer-readable recording medium | |
CN107343083A (en) | One kind lifting game experiencing method, apparatus and computer-readable recording medium | |
CN107390856A (en) | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption | |
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN106961706A (en) | Method, mobile terminal and the computer-readable recording medium of communication pattern switching | |
CN107436779A (en) | A kind of application management method, equipment and computer-readable recording medium | |
CN108345426A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN107133092A (en) | Multi-thread synchronization processing method, terminal and computer-readable recording medium | |
CN107340833A (en) | Terminal temperature control method, 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 | |
CN107329682A (en) | Edge exchange method and mobile terminal | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN107632886A (en) | A kind of switching method, terminal and the computer-readable recording medium of terminal operating pattern | |
CN107465439A (en) | Trigger method, multi-antenna terminal and the computer-readable recording medium of antenna switching | |
CN108334266A (en) | Control method, flexible terminal and the computer readable storage medium of flexible terminal | |
CN107809536A (en) | Display screen fingerprint recognition processing method, mobile terminal and storage medium | |
CN107390855A (en) | Control method, mobile terminal and the storage medium of mobile terminal split screen regional luminance | |
CN107466081A (en) | A kind of wireless switching method and terminal | |
CN107172605A (en) | A kind of Emmergency call method, mobile terminal and computer-readable recording medium | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else | |
CN108897451A (en) | The recognition methods of major-minor display screen, mobile terminal and computer readable storage medium | |
CN107743204A (en) | Exposure processing method, terminal and computer-readable recording medium |
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: 20171124 |