CN111787602B - Terminal power saving method, terminal and readable storage medium - Google Patents

Terminal power saving method, terminal and readable storage medium Download PDF

Info

Publication number
CN111787602B
CN111787602B CN202010625040.0A CN202010625040A CN111787602B CN 111787602 B CN111787602 B CN 111787602B CN 202010625040 A CN202010625040 A CN 202010625040A CN 111787602 B CN111787602 B CN 111787602B
Authority
CN
China
Prior art keywords
application
terminal
power
saved
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010625040.0A
Other languages
Chinese (zh)
Other versions
CN111787602A (en
Inventor
沈剑锋
肖凯
张李平
闫雅婷
汪智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings 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 Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202010625040.0A priority Critical patent/CN111787602B/en
Publication of CN111787602A publication Critical patent/CN111787602A/en
Application granted granted Critical
Publication of CN111787602B publication Critical patent/CN111787602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a terminal power saving method, a terminal and a readable storage medium, wherein the method comprises the steps of obtaining a to-be-power-saving application of the terminal after the terminal is in a power saving mode; and executing power saving operation on the application to be power-saved. Through waiting to the power saving application to the different grade type, carry out different power saving operations, press close to user's use scene more, help the user can accomplish current task sooner to reduce the power consumption at terminal, prolong the live time at terminal.

Description

Terminal power saving method, terminal and readable storage medium
Technical Field
The present application relates to the field of terminal optimization technologies, and in particular, to a terminal power saving method, a terminal, and a readable storage medium.
Background
The power saving mode of the current terminal needs to be triggered when the terminal is in a low electric quantity, the electric quantity of the terminal is in a low state at the moment, and the service life of the terminal which can be prolonged after the terminal enters the power saving mode is relatively limited. Meanwhile, the power saving mode of the current terminal saves power by reducing background running of the application or limiting the running frequency of the terminal. Although these power saving modes can reduce power consumption of the terminal to some extent, they can reduce user experience, and at the same time, they cannot be adjusted in different usage scenarios of the terminal, and may even increase power consumption of the terminal, which is not intelligent enough.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
The present application mainly aims to provide a terminal power saving method, device and readable storage medium, and aims to solve the problems of poor user experience and increased power consumption caused by the fact that a power saving policy is not intelligent in a current terminal power saving mode.
In order to achieve the above object, the present application provides a terminal power saving method, which includes the following steps:
after the terminal is in a power saving mode, acquiring a to-be-power-saving application of the terminal;
for the application to be power-saved, executing power-saving operation, wherein the power-saving operation comprises at least one of the following operations:
disconnecting the network connection of the first type of the application to be power-saved;
reducing a refresh frequency of the second type of application to be power-saved;
increasing the running frequency of the terminal when the third type of application to be power-saved runs;
and closing the screen display of the terminal when the fourth type of application to be power-saved operates, or reducing the screen display parameters of the terminal when the fourth type of application to be power-saved operates.
Optionally, after the terminal is in the power saving mode and before the step of acquiring the application to be power saved of the terminal, the method further includes:
and determining the application power saving white list according to at least one of user habit data, position information and/or time information, user setting and/or system setting.
Optionally, the step of performing a power saving operation on the application to be power saved includes:
judging whether the application to be power-saved belongs to the power-saving white list or not;
and if the power-saving white list does not belong to the power-saving white list, executing the step of executing the power-saving operation.
Optionally, the step of disconnecting the network connection of the first type of application to be saved in power includes:
acquiring a first running application running currently;
if the network requirement of the first running application meets a first preset condition, acquiring a first background application at the current moment as a first type of application to be saved electricity;
and closing the network connection of the first type of application to be saved power.
Optionally, after the step of obtaining the currently running first running application, the method further includes:
acquiring a network environment of a terminal;
and if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be power-saving.
Optionally, the first preset condition is that the network signal required by the first running application to work normally is greater than a preset signal value.
Optionally, the step of reducing the refresh frequency of the second type of application to be power saved includes:
acquiring a second running application running currently;
if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved;
performing at least one of: reducing the refresh frequency of the second type of application to be saved, closing the refresh of the second type of application to be saved, and/or closing the second type of application to be saved.
Optionally, the applications in the first preset application set are applications requiring a screen refresh rate greater than or equal to a preset screen refresh rate.
Optionally, after the step of reducing the refresh frequency of the second type of application to be saved power, the method further includes:
closing the message prompt of the second type of application to be saved power, and reminding in at least one of the following ways: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
Optionally, the step of increasing the operating frequency of the terminal when the third type of application to be power saved is executed includes:
acquiring a currently running third running application;
if the third running application belongs to a second preset application set, taking the third running application as a third type of application to be saved power;
and increasing the running frequency of the terminal when the third type of application to be power-saved runs.
Optionally, after the step of increasing the operating frequency of the terminal when the third type of application to be saved in power runs, the method further includes at least one of the following steps:
reducing the running frequency of other applications except the third type of application to be power-saved, and closing the running of the background application;
closing the message prompt of the third type of application to be saved power, and reminding through at least one of the following modes: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
Optionally, the applications in the second preset application set are applications with an operating frequency higher than or equal to a preset frequency value.
Optionally, the step of closing the screen display of the terminal when the fourth type of application to be power saved runs, or reducing the screen display parameter of the terminal when the fourth type of application to be power saved runs includes:
acquiring a fourth running application which runs currently;
if the fourth running application belongs to a third preset application set, taking the fourth running application as a fourth type of application to be saved power;
and closing the screen display of the terminal when the fourth type of application to be saved in power runs and/or reducing the screen display parameters of the terminal when the fourth type of application to be saved in power runs.
Optionally, the applications in the third preset application set are applications that do not need to acquire or output information through a screen.
Optionally, the third preset application set includes at least one of the following applications: an application that may acquire or output data through sound, an application that may acquire or output data through lights, an application that may acquire or output data through sensors, and/or an application that may acquire or output data through a wearable device.
Optionally, before the step of closing the screen display of the terminal when the fourth type of application to be saved in power runs and/or reducing the screen display parameters of the terminal when the fourth type of application to be saved in power runs, the method further includes:
judging whether the screen no-operation time of the terminal exceeds or equals to a preset time;
and if the preset time is exceeded, closing the screen display or reducing the screen display parameters.
Optionally, the screen display parameters include at least one of: screen color, brightness, contrast, refresh rate, resolution, display location, and/or display area size.
Optionally, after the step of turning off the screen display of the terminal when the fourth type of application to be saved in power is running, the method further includes:
the message reminding of the terminal is reminded in at least one of the following modes: sound reminders, light reminders and/or wearable device reminders.
Optionally, after the step of turning off the screen display of the terminal when the fourth type of application to be saved in power is running, the method further includes:
if the prompt message of the fourth type of application to be power-saving is received, converting the prompt message into voice information;
and playing the voice information through the terminal.
Optionally, the voice information includes at least one of: voice prompt information or voice content information.
Optionally, the terminal power saving method further includes:
acquiring the current electric quantity state of the terminal;
determining a power saving strategy of the terminal according to the electric quantity state, wherein the power saving strategy comprises at least one of the following: the method comprises the steps of reducing the screen brightness of the terminal, closing the message notification function of the terminal, closing at least one background program of the terminal, shortening the automatic locking time of the terminal, and/or limiting the number of applications running at the same time of the terminal to be a preset number.
Optionally, the step of determining a power saving policy of the terminal according to the power state includes:
and if the electric quantity is larger than a first threshold value, reducing the screen brightness of the terminal and closing the message notification function of the terminal.
Optionally, the step of determining a power saving policy of the terminal according to the power state includes:
and if the electric quantity is less than or equal to the first threshold and greater than the second threshold, closing all at least one background program of the terminal and shortening the automatic locking time of the terminal.
Optionally, the step of determining a power saving policy of the terminal according to the power state includes:
and if the electric quantity is less than or equal to a second threshold value, limiting the number of the applications simultaneously operated by the terminal to be a preset number.
Optionally, the terminal power saving method further includes:
when configuration operation is received, a configuration interface of the terminal is displayed;
and changing the power saving configuration of the terminal based on the selection operation of the configuration interface.
Optionally, the configuration operation includes at least one of a gesture operation, a voice operation, and/or a touch operation.
Optionally, before the step of displaying the configuration interface of the terminal, the method further includes:
acquiring an installed application of a terminal;
and displaying the installed application in a classified or partitioned mode according to the application type of the installed application.
Optionally, the step of displaying the configuration interface of the terminal includes:
acquiring configurable parameters according to the application types of the installed applications in the different types or areas;
displaying the configurable parameters corresponding to the type or installed applications in the region.
The application also provides a terminal power saving method, which comprises the following steps:
after the terminal is in a power saving mode, acquiring a first type of power-saving application of the terminal;
disconnecting the network connection of the first type of the application to be power-saved.
Optionally, after the step of obtaining the currently running first running application, the method further includes:
acquiring a network environment of a terminal;
and if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be power-saving.
Optionally, the first type of application to be saved power is a background application when the application with a network requirement meeting a first preset condition runs.
Optionally, the first preset condition is that the network signal required by the first running application to work normally is greater than a preset signal value.
The application also provides a terminal power saving method, which comprises the following steps:
after the terminal is in a power saving mode, acquiring a second type of application to be power saved of the terminal;
reducing a refresh frequency of the second type of the application to be power saved.
Optionally, the step of reducing the refresh frequency of the second type of application to be power saved includes:
acquiring a second running application which runs currently;
if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved;
performing at least one of: reducing the refresh frequency of the second type of application to be saved power, closing the refresh of the second type of application to be saved power, and/or closing the second type of application to be saved power.
Optionally, the applications in the first preset application set are applications with a screen refresh rate requirement greater than or equal to a preset screen refresh rate.
The application also provides a terminal power saving method, which comprises the following steps:
after the terminal is in a power saving mode, acquiring a third type of application to be power saved of the terminal;
and increasing the running frequency of the terminal when the third type of application to be power-saving runs.
Optionally, after the step of increasing the operating frequency of the terminal when the third type of application to be power saved operates, the method further includes at least one of:
reducing or closing the running frequency of other applications except the third type of application to be power-saved; closing the running of the background application; and/or the presence of a gas in the gas,
closing the message prompt of the third type of application to be saved power, and reminding through at least one of the following modes: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
Optionally, the third type of application to be saved power is an application belonging to a second preset application set, and the applications in the second preset application set are applications with an operating frequency higher than or equal to a preset frequency value.
The application also provides a terminal power saving method, which comprises the following steps:
after the terminal is in a power saving mode, acquiring a fourth type of application to be power saved of the terminal;
and closing the screen display of the terminal when the fourth type of application to be saved in power operates, or reducing the screen display parameters of the terminal when the fourth type of application to be saved in power operates.
Optionally, the fourth type of application to be saved power is an application belonging to a third preset application set, and the application in the third preset application set is an application that does not need to obtain or output information through a screen.
Optionally, after the step of closing the screen display of the terminal when the fourth type of application to be saved in power runs, the method further includes:
the message reminding of the terminal is reminded in at least one of the following modes: a sound alert, a light alert, and/or a wearable device alert.
The present application further provides a terminal, the terminal including: the terminal power saving program is stored on the memory and can run on the processor, and when being executed by the processor, the terminal power saving program realizes the steps of the terminal power saving method.
The present application also provides a readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the terminal power saving method as described above.
In the application, after the terminal is in a power saving mode, the application to be power saved of the terminal is obtained; for the application to be power-saved, executing power-saving operation, wherein the power-saving operation comprises at least one of the following operations: disconnecting the network connection of the first type of the application to be power-saved; reducing a refresh frequency of the second type of application to be power-saved; increasing the running frequency of the terminal when the third type of application to be power-saved runs; and closing the screen display of the terminal when the fourth type of application to be power-saved operates, or reducing the screen display parameters of the terminal when the fourth type of application to be power-saved operates. In the power saving mode of the terminal, for applications of different types, corresponding power saving operation is determined according to application types, so that the power saving operation is closer to the use scene of a user, the terminal is more intelligent, and meanwhile, the power saving effect is better.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a first embodiment of a power saving method of a terminal according to the present application;
fig. 3 is a detailed flowchart of step S20 in fig. 2 in a fourth embodiment of the power saving method for a terminal of the present application;
fig. 4 is a detailed flowchart of step S20 in fig. 2 in a fifth embodiment of a power saving method of a terminal according to the present application;
fig. 5 is a flowchart of a sixth embodiment of a power saving method for a terminal according to the present application, which is detailed in step S20 of fig. 2;
fig. 6 is a detailed flowchart of step S20 in fig. 2 in a seventh embodiment of a power saving method for a terminal of the present application;
fig. 7 is an interface diagram of a configuration interface in a ninth embodiment of a power saving method for a terminal according to the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
The terminal in the embodiment of the application is a terminal power saving device.
As shown in fig. 1, the terminal may include: a processor 1001, e.g. a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that turns off the display screen and/or the backlight when the terminal device is moved to the ear. Of course, the terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a terminal power saving program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the terminal power saving program stored in the memory 1005, and perform the following operations:
after the terminal is in a power saving mode, acquiring a to-be-power-saving application of the terminal;
for the application to be power-saved, executing power-saving operation, wherein the power-saving operation comprises at least one of the following operations:
disconnecting the network connection of the first type of the application to be power-saved;
reducing a refresh frequency of the second type of application to be power-saved;
increasing the running frequency of the terminal when the third type of application to be power-saving runs;
and closing the screen display of the terminal when the fourth type of application to be power-saved operates, or reducing the screen display parameters of the terminal when the fourth type of application to be power-saved operates.
Based on the above terminal hardware structure, various embodiments of the present application are provided.
The application provides a terminal power saving method.
Referring to fig. 2, in a first embodiment of a terminal power saving method, the method includes:
step S10, after the terminal is in a power saving mode, acquiring a power saving application of the terminal;
the terminal enters the power saving mode through a designated gesture operation, for example, sliding from the lower left area to the upper right area of the terminal display area to enter the power saving mode of the terminal, or entering the power saving mode of the terminal through a terminal power saving button in a setting interface. The method for entering the terminal power saving mode is not limited in the present application. And after entering a terminal power saving mode, acquiring the application to be power saved in the terminal. The application to be saved power may be an application running in the foreground or an application running in the background.
Step S20, executing power saving operation on the application to be power-saved;
the power consumption of the application in the terminal mainly includes the power consumption of the processor during operation, the power consumption of the terminal screen for display, and the power consumption of the application in the network for receiving messages. Meanwhile, in general, the power consumption of the screen display of the terminal may account for a majority of the total power consumption of the terminal, and therefore, in the present application, based on the consideration of improving the processing efficiency of the terminal for the current task and shortening the screen usage time of the terminal, for different types of applications, through different power saving operations, the task processing efficiency of the application may be improved, the screen usage time of the terminal may be reduced, and unnecessary power consumption of the application, such as the transceiving of background information and the consumption of unnecessary processor resources, may also be reduced. By carrying out corresponding power saving operation on different types of power saving applications, the screen display time of the terminal is reduced or the background power consumption of the applications is reduced, so that the power consumption of the terminal can be reduced, and the power saving effect is achieved.
In this embodiment, after the terminal is in the power saving mode, the application to be power saved of the terminal is acquired; and executing power saving operation on the application to be power-saved. Through waiting to the power saving application to the different grade type, carry out different power saving operations, press close to user's use scene more, help the user can accomplish current task sooner to reduce the power consumption at terminal, prolong the live time at terminal.
Further, on the basis of the first embodiment of the power saving method of the terminal of the present application, a second embodiment of the power saving method of the terminal is provided, in which,
step S20 may include at least one of step A1 to step A4:
a1, disconnecting a network connection of a first type of application to be power-saved;
the first type of application to be saved is an application which has low network requirements and runs in a background, and when the first type of application is located in the background and the application running in a terminal foreground has high network requirements, the network connection of the first type of application to be saved is disconnected, so that the foreground running application can use network resources conveniently, the task processing efficiency of the foreground application is improved, and the resources are saved.
Step A2, reducing the refresh frequency of the second type of application to be power-saved;
the second type of application to be saved power is an application which has a low requirement on the refresh frequency and runs in the background, the refresh frequency can be the refresh frequency of the screen or the refresh frequency of the message, and when the running application in the foreground has a high requirement on the screen refresh rate or the message refresh frequency, the refresh frequency of the second type of application to be saved power is reduced. If the other running applications are video applications and are playing videos or news applications that need frequent refreshing of messages, the screen refresh frequency or information refresh frequency of the background application is reduced.
Step A3, increasing the running frequency of the terminal when the third type of application to be power-saving runs;
the third type of application to be saved is an application with a high requirement on the running frequency, that is, an application that needs to consume more processor resources during running, for example, for a game application, especially during the loading process of running, the running frequency of the game application is increased to accelerate the loading speed, thereby reducing power consumption. When the task amount is fixed, the processing efficiency of the task is accelerated, and the task processing time is reduced, so that the task is completed with the least power consumption.
Step A4, closing the screen display of the terminal when the fourth type of application to be power saved operates, or reducing the screen display parameters of the terminal when the fourth type of application to be power saved operates;
the fourth type of application to be power-saved is an application that does not require information input or output through a terminal screen. And for the fourth type of application to be saved, which does not need to perform message input and output by the screen, closing the screen display of the terminal, or reducing the screen display parameters of the terminal when the fourth type of application to be saved operates. Meanwhile, for the application requiring the screen to input and output messages, if the messages can be converted into voice input and output, the application can be divided into fourth type applications to be saved, and the screen display of the terminal can be closed, so that the power consumption of the terminal is reduced.
In this embodiment, for different types of applications to be power-saved, the background power consumption of the terminal and the power consumption of the screen are reduced through different power-saving operations, and the task processing efficiency of the terminal is improved, so that the power consumption of the terminal is reduced.
Further, on the basis of the above embodiments of the terminal power saving method of the present application, a third embodiment of the terminal power saving method is provided, wherein in the third embodiment,
step S10 is preceded by:
b1, determining an application power saving white list according to at least one of user habit data, position information, time information, user setting and/or system setting;
the applications in the application power saving white list are not subjected to power saving operation. If the user habit data indicates that the user usually uses a news application in the morning, the news application is added into an application power saving white list, if the position information is in a company, office-related applications such as a conference application are added into the application power saving white list, if the time information is in the evening, a flashlight application is added into the application power saving white list, and user setting and system setting are that corresponding applications are added into the application power saving white list according to a user instruction or a system instruction. That is, the application power saving white list may be correspondingly set and adjusted according to at least one of the user habit data, the location information, the time information, the user setting and/or the system setting, and the application power saving white list is not constant but is adjusted and changed along with the use of the user. Setting the application white list can prevent the terminal from accidentally performing power saving operations on unnecessary applications while performing power saving operations, thereby affecting normal use of the user.
Step S20 is preceded by:
step B2, judging whether the application to be power-saved belongs to the application power-saving white list or not;
step B3, if the application power saving white list does not belong to, executing the step of executing the power saving operation;
after the application to be saved is obtained, the application to be saved needs to be compared with the set application power saving white list to determine whether the application belongs to the application power saving white list. If the application type of the application to be saved in power is not the application power saving white list, the application type of the application to be saved in power is acquired, and corresponding power saving operation is executed according to the application type of the application to be saved in power.
In the present embodiment, setting the application power saving white list prevents the terminal from operating in power saving for a special application, and at the same time. By judging whether the application to be power-saved belongs to the application power-saving white list and then executing the power-saving operation, misoperation can be prevented, and user experience is improved.
Further, referring to fig. 2 and 3, on the basis of the above embodiments of the terminal power saving method of the present application, a fourth embodiment of the terminal power saving method is provided, in which,
step S20 includes:
step S210, acquiring a first running application running currently;
the method includes the steps of obtaining first running applications running in the foreground currently, wherein the first running applications can be one, and at least one application running in the foreground simultaneously during split screen.
Step S211, if the network requirement of the first running application meets a first preset condition, acquiring a first background application at the current time as a first type of application to be saved power;
when the network requirement of the first running application is high, that is, if the network resource of the terminal is simultaneously allocated to at least one application may cause that the first running application cannot normally complete the current running task or increase the completion time of the task, the first background application running in the background at this time is used as the first type of application to be saved power.
The network requirement of the first running application meets a first preset condition, which means that a network signal required for normal operation of the first running application is greater than a preset signal value. That is, the first running application has high requirements on the network environment, may need a smooth network to maintain data transmission, and the like, that is, needs a large amount of network resources.
Step S212, closing the network connection of the first type of application to be saved electricity;
and closing the network connection of the first type of application to be saved, and allocating network resources of the terminal to the first running application for completing the current task of the first running application. If the current first running application is the navigation application and the terminal is in the environment such as the basement, the network connection of other applications except the navigation application is closed, so that the navigation application can utilize more network resources for accurate navigation and reduce network delay.
Before step S211 or S212, the method further includes:
step S213, acquiring the network environment of the terminal;
step S214, if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be power-saving;
if the network signal in the current network environment is poor, such as a basement, a subway, an elevator and other places where network coverage may have problems, even if the first running application does not meet the first condition for the network requirement, the network connection of the first type of application to be power-saving is closed, so that resource guarantee when the first running application needs to use network resources can be ensured, unnecessary power consumption of the first type of application to be power-saving, which is repeatedly tried to connect the network when the network environment is poor, is avoided, and the power-saving effect is further improved. Referring to fig. 3, step S213 precedes step S211, but step S213 may also be located after step S211 and before step S212.
In this embodiment, the network connection of the first type of application to be saved is closed, so that the network usage of the first running application is ensured, and meanwhile, the power consumption of the first type of application to be saved due to the network can be reduced, and the power saving effect is ensured.
Further, referring to fig. 2 and 4, on the basis of the above embodiments of the terminal power saving method of the present application, a fifth embodiment of the terminal power saving method is provided, in which,
step S20 includes:
step S220, acquiring a second running application running currently;
and acquiring a second running application currently running in the foreground, wherein the second running application can be one application, and also can be at least one application running in the foreground simultaneously during split screen.
Step S221, if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved electricity;
the applications in the first preset application set are applications with high requirements for the screen refresh rate, and if the second running application belongs to the applications in the first preset application set, resources related to the screen refresh rate need to be tilted to the second running application, so that the second background application running at the current time is obtained as the second type of application to be power-saved, that is, the application needing corresponding power-saving operation.
And the applications in the first preset application set are applications with a screen refresh rate requirement larger than or equal to a preset screen refresh rate. The screen refresh rate may be a display refresh rate of the screen, or a refresh rate of the application message, for example, when the video is watched, the requirement for the display refresh rate of the screen is high, the fidelity of the video with a high frame rate is correspondingly higher, while the refresh rate of the application message is a refresh rate for frequently acquiring message transmission in the current news browsing or short video application, and the consumption of the refresh resource by the application in the first preset application set is relatively large.
Step S222, performing at least one of the following operations on the second type of application to be power saved: reducing the refresh frequency of the second type of application to be saved power, closing the refresh of the second type of application to be saved power, and/or closing the second type of application to be saved power;
for a second type of application to be power saved, a power saving operation is performed to provide resources related to the refresh rate to a second running application. The power saving operation comprises reducing the refresh frequency of the second type of application to be power saved, closing the refresh of the second type of application to be power saved, and/or closing the second type of application to be power saved, reducing the refresh frequency, namely displaying at a lower frame rate, closing the corresponding message acquisition refresh, and when the second running application needs more refresh resources, directly closing the second type of application to be power saved to enable more resources to be used for the second running application to support the requirement of the second running application on the refresh rate.
After step S222, the method further includes:
step C, closing the message prompt function of the second type of application to be power-saving, and reminding through at least one of the following modes: displaying an unread logo, a voice prompt, a light prompt and/or a wearable device prompt on the icon.
For the second type of application to be saved power, the function of refreshing the message can be limited by turning off the message prompt function, so that the resource of the second type of application to be saved power for message prompt is reallocated to the second running application. Meanwhile, the user terminal application is ensured to have new message notification by displaying unread marks, sound reminders, light reminders and/or wearable device reminders and the like on the icons instead of the previous message prompts.
In this embodiment, the refresh of the second type of application to be power-saved is selected to provide resources to the second running application, so that the second running application can complete the corresponding task faster.
Further, referring to fig. 2 and 5, on the basis of the above embodiments of the terminal power saving method of the present application, a sixth embodiment of the terminal power saving method is provided, in which,
step S20 includes:
step S230, acquiring a currently running third running application;
and acquiring a third running application which runs in the foreground currently, wherein the third running application can be one, and also can be at least one application which runs in the foreground simultaneously during split screen.
Step S231, if the third running application belongs to a second preset application set, taking the third running application as a third type of application to be saved power;
the third running application belongs to a second preset application set, the applications in the second preset application set have high requirements on the running frequency of the terminal, that is, the terminal is required to provide sufficient resources for running the applications, the third type of application to be saved power is generally an application for processing complex tasks, such as a game application, an installation application and the like, and the third type of application to be saved power needs to load or process a plurality of different resources simultaneously during running.
Wherein the applications in the second preset application set are applications with an operating frequency higher than or equal to a preset frequency value. I.e. applications that require a lot of resource consumption in the processor. However, the resources in the terminal, especially the resources that can be allocated by the processor, are limited, so to ensure the normal operation of the third type of application to be power-saved, the operating frequency and the operating resources of the processor need to be adjusted.
Step S232, increasing the running frequency of the terminal when the third type of application to be saved in power runs;
the operating frequency of the terminal is increased, i.e. the power of the adjustment processor is higher. After the operation frequency of the terminal is improved, when the task amount is fixed, the terminal can finish the task in a shorter time, and if the task of the terminal is finished, the screen display of the terminal can be directly closed, so that the effect of saving power is achieved.
After step S232, at least one of the following steps is further included:
step D1, reducing the running frequency of other applications except the third type of application to be power-saved, and/or closing the running of background applications;
in order to make the resources of the processor mainly used for the third type of application to be saved power, the running frequency of other applications except the third type of application to be saved power is reduced, and/or the running of the background application is closed.
Step D2, closing the message prompt of the third type of application to be saved power, and reminding through at least one of the following modes: displaying an unread logo, a sound reminder, a light reminder and/or a wearable device reminder on the icon;
for the third type of application to be saved power, the function of refreshing the message can be limited by turning off the message prompt function, so that the resource of the third type of application to be saved power for message prompt is reallocated to the third running application. Meanwhile, the user terminal application is ensured to have new message notification by displaying unread marks, sound reminders, light reminders and/or wearable device reminders and the like on the icons instead of the previous message prompts.
In this embodiment, the running frequency of the third type of application to be power-saving is increased to increase the task completion speed, so that a large amount of resource consumption under the condition of being blocked can be avoided, and the display time of the screen is reduced to achieve the purpose of reducing the power consumption of the terminal.
Further, referring to fig. 2 and fig. 6, on the basis of the above embodiments of the power saving method of the terminal of the present application, a seventh embodiment of the power saving method of the terminal is provided, in which,
the step S20 includes:
step S240, acquiring a fourth running application currently running;
and acquiring fourth running applications which run in the foreground at present, wherein the number of the fourth running applications can be one, and the fourth running applications can also be at least one application which runs in the foreground at the same time during split screen.
Step S241, if the fourth running application belongs to a third preset application set, taking the fourth running application as a fourth type of application to be saved power;
the applications in the third preset application set are applications that do not require screen input or output information. That is, the fourth type of application may be as independent of the screen as possible, and particularly for message pushing, the message pushing function displayed by the screen may be converted to display by transmission of a non-screen display.
Wherein, the applications in the third preset application set are applications that do not need to obtain or output information through a screen, and the third preset application set comprises at least one of the following applications: an application that may acquire or output data through sound, an application that may acquire or output data through lights, an application that may acquire or output data through sensors, and/or an application that may acquire or output data through a wearable device. The applications in the third preset application may not transmit the message through the screen, and when the applications in the third preset application set run, the acquisition and output of the message may be changed. Such as by voice, other wearable devices, etc., and display the information to be output in a non-screen manner.
Step S242, closing the screen display of the terminal when the fourth type of application to be saved in power runs and/or reducing the screen display parameters of the terminal when the fourth type of application to be saved in power runs;
for the application to be saved of the fourth type, because the application to be saved of the fourth type may not be displayed through the screen, the running of the application to be saved of the fourth type may be turned off or the screen display parameters may be reduced to reduce the power consumption of the terminal.
Wherein the screen display parameters include at least one of: screen color, brightness, contrast, refresh rate, resolution, display location, and/or display area size. Such as changing from color display to black-and-white display, reducing screen brightness, contrast, refresh rate, resolution, etc., while the display area of the screen can be reduced and the display position of the content to be displayed can be changed as the display area changes.
Before step S232, the method further includes:
e1, judging whether the screen no-operation time of the terminal exceeds or equals to preset time;
step E2, if the preset time is exceeded, closing the screen display or reducing the screen display parameters;
when the screen does not receive touch operation or other operation instructions for a long time, which indicates that the user does not need to use the terminal at the moment, the screen of the terminal is changed or corresponding screen display parameters are reduced so as to reduce the power consumption of the terminal while waiting for the next operation instruction of the user.
The message reminding of the terminal is realized by at least one of the following modes: a sound alert, a light alert, and/or a wearable device alert. Because the screen display of the fourth type of application to be power-saving can be closed, when the screen display of the terminal is closed, the terminal is reminded through sound, light and/or wearable equipment.
After step S242, the method further includes:
step E3, if the prompt message of the fourth type of application to be power-saving is received, converting the prompt message into voice information;
e4, playing the voice information through the terminal;
when the message reminding of the fourth type application to be power-saving is performed in a voice mode, the prompt information to be output is converted into voice information through a text converter and the like, and then the obtained voice information is played, so that a user can obtain the corresponding prompt information, and the normal use of the user cannot be influenced.
Wherein the voice information comprises at least one of: voice prompt information or voice content information. The voice message may be prompt message such as notification message of application, or application content message such as short message content.
In this embodiment, for the fourth type of application to be power-saved, the power consumption of the terminal is reduced by closing the screen display of the terminal or reducing the display parameters of the screen, and meanwhile, the message prompt is converted into other types of prompt messages, so that the user can normally use the terminal, and the user experience is not affected.
Further, on the basis of the above embodiments of the terminal power saving method of the present application, an eighth embodiment of the terminal power saving method is provided, wherein in the eighth embodiment,
the terminal power saving method further comprises the following steps:
step F1, acquiring the current electric quantity state of the terminal;
step F2, determining a power saving strategy of the terminal according to the electric quantity state, wherein the power saving strategy comprises at least one of the following: reducing the screen brightness of the terminal, closing a message notification function of the terminal, closing at least one background program of the terminal, shortening the automatic locking time of the terminal, and/or limiting the number of applications simultaneously running on the terminal to be a preset number;
the power saving strategy is associated with the actual electric quantity of the terminal, a more accurate power saving strategy is determined according to the actual electric quantity of the current terminal, for example, when the electric quantity is higher, the screen brightness of the terminal can be properly reduced, the automatic locking time of the terminal is shortened, the electric quantity consumption is reduced, and when the electric quantity is in a lower level but can be used for a longer time, the number of applications which can be run at the same time of the terminal can be limited to be a preset number or part of background applications of the terminal can be closed; when the power is at an extremely low level and is easy to enter a power-off state, the message notification function of the terminal can be turned off and the simultaneous running of the applications of the terminal is limited to a smaller preset number.
Wherein step F2 comprises:
step F21, if the electric quantity is larger than a first threshold value, reducing the screen brightness of the terminal and closing the message notification function of the terminal;
step F22, if the electric quantity is less than or equal to the first threshold and greater than the second threshold, closing all at least one background program of the terminal and shortening the automatic locking screen-off time of the terminal;
step F23, if the electric quantity is less than or equal to a second threshold value, limiting the number of the applications which are simultaneously operated by the terminal to be a preset number;
the method comprises the steps of determining a power saving strategy of a terminal according to different electric quantity values of the current terminal, and meanwhile, when the electric quantity of the terminal is lower, the stricter the power saving strategy of the terminal is overall, from the step of reducing the screen brightness of the terminal and closing the message notification function of the terminal to the step of closing all at least one background program of the terminal and shortening the automatic locking screen-out time of the terminal, and finally limiting the number of applications running simultaneously of the terminal to be a preset number. In the application, the power saving mode of the terminal can be started when the terminal is at any power value, and meanwhile, the power saving strategy for the terminal is based on the current power so as to reduce the influence on the use of the user as much as possible.
In this embodiment, the power saving policy is determined by the electric quantity of the terminal, so that the power saving strength can be more accurately determined, and the influence on the use of the user is reduced in sequence.
Further, referring to fig. 7, on the basis of the above embodiments of the terminal power saving method of the present application, a ninth embodiment of the terminal power saving method is provided, wherein in the ninth embodiment,
the terminal power saving method further comprises the following steps:
g1, when configuration operation is received, displaying a configuration interface of the terminal;
g2, changing the power saving configuration of the terminal based on the selection operation of the configuration interface;
the power saving configuration of the terminal can be changed by a user through the power saving interface, when the configuration operation of the power saving configuration by the user is received, the configuration interface of the power saving mode of the terminal is displayed, the corresponding configuration parameters of different power saving modes are displayed in the configuration interface, each parameter can be modified, and the corresponding configuration parameters can be modified after the user selects the corresponding configuration parameters of the power saving mode. Referring to fig. 7, it can be seen that the power saving parameters applied in different power amounts are different, and the configuration parameters of the power saving mode in different power amounts can be changed.
The configuration operation comprises at least one of a gesture operation, a voice operation and/or a touch operation. The user can trigger the configuration operation through various different operations, so that the configuration operation can be triggered conveniently in various different scenes.
Wherein, before step G1, the method further comprises:
g11, acquiring the installed application of the terminal;
g22, displaying the installed application in a classified type or a partitioned area according to the application type of the installed application;
the applications installed in the terminal are classified into different types, the applications of the same type can be displayed together, so that a user can change the configuration parameters of the power saving mode of the corresponding application, the applications can be divided into different areas, the applications in the different areas can have the same characteristics in some aspect, and the power saving parameter configuration in the same area can be changed at the same time. For example, if the fourth type power-saving applications are displayed in the same area or folder, the message notification functions of all the fourth type power-saving applications may be turned off in a unified manner, the automatic locking time length may be set in a unified manner, and the reduced screen display parameter values may be set in a unified manner.
Wherein step G1 comprises:
g13, acquiring configurable parameters according to application types of the installed applications in different types or areas;
step G14, displaying the configurable parameters corresponding to the types or the installed applications in the area;
and after classifying the applications and distinguishing the applications according to the application types or classifying the application subareas, displaying corresponding configurable parameters according to different application types or different areas.
In this embodiment, the user may change the configuration parameters in the power saving mode, so as to change the corresponding power saving setting to be closer to the usage habit of the user.
In addition, the present application further provides a terminal power saving method, where in a tenth embodiment of the terminal power saving method, the terminal power saving method includes:
h1, after the terminal is in a power saving mode, acquiring a first type of application to be power saved of the terminal;
step H2, disconnecting the network connection of the first type of application to be power-saving;
the method comprises the steps of obtaining first running applications running in the foreground at present, wherein the first running applications can be one application, and at least one application running in the foreground simultaneously during screen splitting can also be used. When the network requirement of the first running application is high, that is, if the network resource of the terminal is simultaneously allocated to at least one application, which may cause the first running application to fail to normally complete the current running task or increase the completion time of the task, the first background application running in the background at this time is taken as the first type of application to be saved power. And closing the network connection of the first type of application to be saved, and allocating network resources of the terminal to the first running application for completing the current task of the first running application.
The first type of application to be saved power is a background application when an application with a network requirement meeting a first preset condition runs, and the first preset condition is that a network signal required by normal work of the first running application is greater than a preset signal value.
Wherein, after the step H2, the method further comprises the following steps:
h3, acquiring a network environment of the terminal;
step H4, if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be power-saving;
if the current network environment is poor, closing the corresponding first type of applications to be saved power for enumeration, so as to reallocate the network resources to the applications which need the network resources more on the foreground.
In this embodiment, the network connection of the first type of application to be saved is closed, so that the network usage of the first running application is ensured, and meanwhile, the power consumption of the first type of application to be saved due to the network can be reduced, and the power saving effect is ensured.
In addition, the present application further provides a terminal power saving method, and in an eleventh embodiment of the terminal power saving method, the terminal power saving method includes:
step I1, after the terminal is in a power saving mode, acquiring a second type of application to be power saved of the terminal;
step I2, reducing the refresh frequency of the second type of application to be power-saved;
and acquiring a second running application currently running in the foreground, wherein the second running application can be one application, and also can be at least one application running in the foreground simultaneously during split screen. When the resources related to the screen refresh rate need to be tilted to the second running application, the second background application running at the current moment is obtained as the second type of application to be saved power, that is, the application needing to perform the corresponding power saving operation. And for the second type of application to be saved power, performing power saving operation to provide resources related to the refresh rate to the second running application, and reducing the refresh frequency of the second type of application to be saved power.
Wherein, step I2 includes:
step I21, acquiring a second running application running currently;
step I22, if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved electricity;
step I23, performing at least one of the following operations on the second type of application to be power saved: reducing the refresh frequency of the second type of application to be saved power, closing the refresh of the second type of application to be saved power, and/or closing the second type of application to be saved power;
the applications in the first preset application set are applications with high requirements for the screen refresh rate, and if the second running application belongs to the applications in the first preset application set, resources related to the screen refresh rate need to be tilted to the second running application, so that the second background application running at the current moment is acquired as the second type of application to be power-saved, that is, the application needing corresponding power-saving operation is obtained. For a second type of application to be power-saved, a power-saving operation is performed to provide resources related to the refresh rate to a second running application. The power saving operation comprises reducing the refresh frequency of the second type of application to be power saved, closing the refresh of the second type of application to be power saved, and/or closing the second type of application to be power saved, reducing the refresh frequency, namely displaying at a lower frame rate, closing the corresponding message acquisition refresh, and when the second running application needs more refresh resources, directly closing the second type of application to be power saved to enable more resources to be used for the second running application to support the requirement of the second running application on the refresh rate.
And the applications in the first preset application set are applications with a screen refresh rate requirement larger than or equal to a preset screen refresh rate.
In this embodiment, the refresh of the second type of application to be saved is selected to provide resources to the second running application, so that the second running application can complete the corresponding task faster.
In addition, the present application further provides a terminal power saving method, where in a twelfth embodiment of the terminal power saving method, the terminal power saving method includes:
step J1, after the terminal is in a power saving mode, acquiring a third type of application to be power saved of the terminal;
step J2, improving the running frequency of the terminal when the third type of application to be power-saving runs;
and acquiring a third running application which runs in the foreground currently, wherein the third running application can be one, and also can be at least one application which runs in the foreground simultaneously during split screen. The operating frequency of the terminal is increased, i.e. the power of the adjustment processor is higher. After the operation frequency of the terminal is improved, when the task amount is fixed, the terminal can finish the task in a shorter time, and if the task of the terminal is finished, the screen display of the terminal can be directly closed, so that the effect of saving power is achieved.
Wherein, after the step J2, the method further comprises the following steps:
step J21, reducing or closing the running frequency of other applications except the third type of applications to be saved electricity; and/or closing the running of the background application;
step J22, the message prompt of the third type of application to be saved power is closed, and the message prompt is prompted in at least one of the following manners: displaying an unread logo, a sound reminder, a light reminder and/or a wearable device reminder on the icon;
in order to make the resources of the processor mainly used for the third type of application to be saved power, the running frequency of other applications except the third type of application to be saved power is reduced, and the running of the background application is closed. For the third type of application to be saved power, the function of refreshing the message can be limited by turning off the message prompt function, so that the resource of the third type of application to be saved power for message prompt is reallocated to the third running application. Meanwhile, the user terminal application is ensured to have new message notification by displaying unread marks, sound reminders, light reminders and/or wearable device reminders and the like on the icons instead of the previous message prompts.
The third type of application to be saved power is an application belonging to a second preset application set, and the application in the second preset application set is an application with an operating frequency higher than or equal to a preset frequency value.
In this embodiment, the task completion speed is increased by increasing the running frequency of the third type of application to be power-saved, so that the display time of the screen can be reduced to achieve the purpose of reducing the power consumption of the terminal.
In addition, the present application further provides a terminal power saving method, where in a thirteenth embodiment of the terminal power saving method, the terminal power saving method includes:
k1, after the terminal is in a power saving mode, acquiring a fourth type of power-saving application to be saved of the terminal;
k2, closing the screen display of the terminal when the fourth type of application to be power-saved operates, or reducing the screen display parameters of the terminal when the fourth type of application to be power-saved operates;
and acquiring fourth running applications which run in the foreground at present, wherein the number of the fourth running applications can be one, and the fourth running applications can also be at least one application which runs in the foreground at the same time during split screen.
The fourth type of application to be saved power is an application belonging to a third preset application set, and the application in the third preset application set is an application which does not need to acquire or output information through a screen. For the fourth type of application to be saved power, because the fourth type of application to be saved power may not be displayed through the screen, the running of the fourth type of application to be saved power may be turned off or the screen display parameters may be reduced to reduce the power consumption of the terminal.
The message reminding of the terminal is realized by at least one of the following modes: a sound alert, a light alert, and/or a wearable device alert.
In this embodiment, for the fourth type of application to be power-saved, the power consumption of the terminal is reduced by closing the screen display of the terminal or reducing the display parameters of the screen, and meanwhile, the message prompt is converted into other types of prompt information, so that the user can normally use the terminal, and the experience of the user is influenced by the change.
In addition, this application still provides a terminal power saving device, and terminal power saving device includes:
the terminal comprises an acquisition module, a power saving module and a power saving module, wherein the acquisition module is used for acquiring the application to be power saved of the terminal after the terminal is in a power saving mode;
and the execution module is used for executing power saving operation on the application to be power-saved.
Optionally, the execution module is further configured to:
disconnecting the network connection of the first type of the application to be power-saved;
reducing a refresh frequency of the second type of application to be power-saved;
increasing the running frequency of the terminal when the third type of application to be power-saving runs;
and closing the screen display of the terminal when the fourth type of application to be power-saved operates, or reducing the screen display parameters of the terminal when the fourth type of application to be power-saved operates.
Optionally, the terminal power saving device further includes:
and the determining module is used for determining the application power saving white list according to at least one of the user habit data, the position information, the time information, the user setting and/or the system setting.
Optionally, the terminal power saving device further includes:
and the judging module is used for judging whether the application to be power-saved belongs to the application power-saving white list.
Optionally, the execution module is further configured to:
acquiring a first running application running currently;
if the network requirement of the first running application meets a first preset condition, acquiring a first background application at the current moment as a first type of application to be saved electricity;
and closing the network connection of the first type of application to be saved power.
Optionally, the execution module is further configured to:
acquiring a network environment of a terminal;
and if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be saved electricity.
Optionally, the execution module is further configured to:
acquiring a second running application running currently;
if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved power;
performing at least one of the following operations on the second type of application to be power-saved: reducing the refresh frequency of the second type of application to be saved, closing the refresh of the second type of application to be saved, and/or closing the second type of application to be saved.
Optionally, the terminal power saving device further includes:
a closing module, configured to close the message prompt of the second type of application to be power saved, and remind the user through at least one of the following manners: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
Optionally, the execution module is further configured to:
acquiring a currently running third running application;
if the third running application belongs to a second preset application set, taking the third running application as a third type of application to be saved power;
and increasing the running frequency of the terminal when the third type of application to be power-saved runs.
Optionally, the shutdown module is further configured to:
reducing the operating frequency of other applications except the third type of application to be power-saved;
closing the running of the background application; and/or the presence of a gas in the gas,
closing the message prompt of the third type of application to be saved power, and reminding through at least one of the following modes: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
Optionally, the execution module is further configured to:
acquiring a fourth running application running currently;
if the fourth running application belongs to a third preset application set, taking the fourth running application as a fourth type of application to be saved power;
and closing the screen display of the terminal when the fourth type of application to be saved in power runs, or reducing the screen display parameters of the terminal when the fourth type of application to be saved in power runs.
Optionally, the determining module is further configured to:
judging whether the screen no-operation time of the terminal exceeds or equals to a preset time;
and if the preset time is exceeded, closing the screen display or reducing the screen display parameters.
Optionally, the terminal power saving device further includes:
the reminding module is used for reminding the message of the terminal by at least one of the following modes: a sound alert, a light alert, and/or a wearable device alert.
Optionally, the terminal power saving device further includes:
the conversion module is used for converting the prompt message into voice information if the prompt message of the fourth type of application to be power-saving is received;
and the playing module is used for playing the voice information through the terminal.
Optionally, the determining module is further configured to:
acquiring the current electric quantity state of the terminal;
and determining a power saving strategy of the terminal according to the electric quantity state.
Optionally, the terminal power saving device further includes:
and the reducing module is used for reducing the screen brightness of the terminal and closing the message notification function of the terminal if the electric quantity is greater than the first threshold value.
Optionally, the shutdown module is further configured to:
and if the electric quantity is less than or equal to the first threshold and greater than the second threshold, closing at least one background program of the terminal and shortening the automatic locking time of the terminal.
Optionally, the terminal power saving device further includes:
and the limiting module is used for limiting the number of the applications which are simultaneously run by the terminal to be a preset number if the electric quantity is less than or equal to a second threshold value.
Optionally, the terminal power saving device further includes:
the display module is used for displaying a configuration interface of the terminal when receiving the configuration operation;
and the changing module is used for changing the power saving configuration of the terminal based on the selection operation of the configuration interface.
Optionally, the display module is further configured to:
acquiring an installed application of a terminal;
and displaying the installed application in a classified or regional mode according to the application type of the installed application.
Optionally, the display module is further configured to:
acquiring configurable parameters according to application types of installed applications in different types or areas;
displaying the configurable parameters corresponding to the type or installed applications in the region.
In addition, this application still provides a terminal power saving device, terminal power saving device includes:
the terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first type of application to be power-saved of the terminal after the terminal is in a power-saving mode;
a closing module, configured to close a network connection of the first type of application to be power saved.
Optionally, the shutdown module is further configured to:
acquiring a network environment of a terminal;
and if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be power-saving.
In addition, this application still provides a terminal power saving device, terminal power saving device includes:
the terminal comprises an acquisition module, a power saving module and a power saving module, wherein the acquisition module is used for acquiring a second type of power-to-be-saved application of the terminal after the terminal is in a power saving mode;
a reducing module, configured to reduce a refresh frequency of the to-be-power-saved application of the second type.
Optionally, the reducing module is further configured to:
acquiring a second running application running currently;
if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved;
performing at least one of the following operations on the second type of application to be power-saved: reducing the refresh frequency of the second type of application to be saved, closing the refresh of the second type of application to be saved, and/or closing the second type of application to be saved.
In addition, this application still provides a terminal power saving device, terminal power saving device includes:
the terminal comprises an acquisition module, a power saving module and a power saving module, wherein the acquisition module is used for acquiring a third type of application to be power saved of the terminal after the terminal is in a power saving mode;
and the increasing module is used for increasing the running frequency of the terminal when the third type of application to be power-saved runs.
Optionally, the terminal power saving device further includes:
the reducing module is used for reducing or closing the running frequency of other applications except the third type of applications to be saved power;
the closing module is used for closing the running of the background application; and/or closing the message prompt of the third type of application to be saved power, and reminding in at least one of the following ways: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
In addition, this application still provides a terminal power saving device, terminal power saving device includes:
the acquisition module is used for acquiring a fourth type of application to be power-saved of the terminal after the terminal is in a power-saving mode;
a closing module, configured to close a screen display of the terminal when the fourth type of application to be power saved operates
And the reducing module is used for reducing the screen display parameters of the terminal when the fourth type of application to be saved in power runs.
Optionally, the terminal power saving device further includes:
the image module is used for reminding the message of the terminal by at least one of the following modes: a sound alert, a light alert, and/or a wearable device alert.
The present application further provides a terminal, the terminal including: memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method as described above.
The present application also provides a computer storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as described above.
The specific implementation of the apparatus and the readable storage medium (i.e., the computer readable storage medium) in this application has substantially the same extensions as those of the embodiments of the terminal power saving method described above, and thus, the details are not repeated herein.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.
An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device installed with the chip executes the method described in the foregoing various possible embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element, and further, components, features, elements, and/or steps that may be similarly named in various embodiments of the application may or may not have the same meaning, unless otherwise specified by its interpretation in the embodiment or by context with further embodiments.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, items, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the figures may include at least one sub-step or at least one stage, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed sequentially, but may be performed alternately or at least partially with other steps or sub-steps of other steps.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (21)

1. A terminal power saving method is characterized by comprising the following steps:
after the terminal is in a power saving mode, acquiring a to-be-power-saving application of the terminal;
for the application to be power-saved, executing power-saving operation, wherein the power-saving operation comprises at least one of the following operations:
disconnecting the network connection of the first type of application to be power-saved;
reducing a refresh frequency of the second type of application to be power-saved, wherein the refresh frequency comprises a refresh frequency of a screen and a refresh frequency of a message;
increasing the running frequency of the terminal when the third type of application to be power-saved runs;
closing screen display of the terminal when the fourth type of application to be power saved operates, or reducing screen display parameters of the terminal when the fourth type of application to be power saved operates;
the step of reducing the refresh frequency of the second type of application to be power-saved comprises:
acquiring a second running application which runs currently;
if the second running application belongs to a first preset application set, acquiring a second background application at the current moment as a second type of application to be saved;
performing at least one of the following operations on the second type of application to be power-saved: reducing the refresh frequency of the second type of application to be saved power, closing the refresh of the second type of application to be saved power, and/or closing the second type of application to be saved power;
the step of disconnecting the network connection of the first type of application to be power-saved includes:
acquiring a first running application running currently;
if the network requirement of the first running application meets a first preset condition, acquiring a first background application at the current moment as a first type of application to be saved electricity;
closing the network connection of the first type of application to be saved electricity;
the first preset condition is that the network signal required by the normal work of the first running application is greater than a preset signal value;
the step of increasing the operation frequency of the terminal when the third type of application to be power-saved operates includes:
acquiring a currently running third running application, wherein the third running application comprises at least one application which runs in a foreground simultaneously during split screen;
if the third running application belongs to a second preset application set, taking the third running application as a third type of application to be saved power;
increasing the running frequency of the terminal when the third type of application to be power-saving runs;
after the step of increasing the operation frequency of the terminal when the third type of application to be saved in power operates, at least one of the following steps is further included:
reducing the operating frequency of other applications except the third type of application to be power-saved;
closing the running of the background application; and the combination of (a) and (b),
closing the message prompt of the third type of application to be saved power, and reminding through at least one of the following modes: displaying an unread logo, a sound reminder, a light reminder and/or a wearable device reminder on the icon;
the applications in the second preset application set are applications with running frequency higher than or equal to a preset frequency value;
the applications in the first preset application set are applications with a screen refresh rate requirement larger than or equal to a preset screen refresh rate;
the step of closing the screen display of the terminal when the fourth type of application to be power saved runs, or reducing the screen display parameters of the terminal when the fourth type of application to be power saved runs includes:
acquiring a fourth running application running currently;
if the fourth running application belongs to a third preset application set, taking the fourth running application as a fourth type of application to be saved power;
closing the screen display of the terminal when the fourth type of application to be saved in power runs, or reducing the screen display parameters of the terminal when the fourth type of application to be saved in power runs;
and the applications in the third preset application set are applications which do not need to acquire or output information through a screen.
2. The power saving method of claim 1, wherein after the terminal is in the power saving mode and before the step of acquiring the application to be power saved of the terminal, the method further comprises:
and determining the application power saving white list according to at least one of user habit data, position information, time information, user setting and/or system setting.
3. The terminal power saving method of claim 2, wherein the step of performing power saving operation for the application to be power saved comprises:
judging whether the application to be power-saved belongs to the application power-saving white list or not;
and if the application power saving white list does not belong to the application power saving white list, executing the step of executing the power saving operation.
4. The terminal power saving method of claim 1, wherein the step of obtaining the currently running first running application is preceded by:
acquiring a network environment of a terminal;
and if the network signal in the network environment is less than or equal to a first preset value, closing the network connection of the first type of application to be power-saving.
5. The terminal power saving method of claim 1, wherein the step of reducing the refresh frequency of the second type of application to be power saved further comprises:
closing the message prompt of the second type of application to be saved power, and reminding in at least one of the following ways: displaying an unread logo, a sound reminder, a light reminder, and/or a wearable device reminder on the icon.
6. The terminal power saving method of claim 1,
the third preset application set comprises at least one of the following applications: an application that may acquire or output data through sound, an application that may acquire or output data through lights, an application that may acquire or output data through sensors, and/or an application that may acquire or output data through a wearable device.
7. The terminal power saving method according to claim 1, wherein before the step of turning off the screen display of the fourth type of power-saving application runtime terminal and/or reducing the screen display parameters of the fourth type of power-saving application runtime terminal, the method further comprises:
judging whether the screen no-operation time of the terminal exceeds or equals to a preset time;
and if the preset time is exceeded, closing the screen display or reducing the screen display parameters.
8. The terminal power saving method of claim 7,
the screen display parameters include at least one of: screen color, brightness, contrast, refresh rate, resolution, display location, and/or display area size.
9. The terminal power saving method of claim 1, wherein the step of turning off the screen display of the terminal when the fourth type of application to be power saved is running further comprises:
the message reminding of the terminal is reminded in at least one of the following modes: a sound alert, a light alert, and/or a wearable device alert.
10. The terminal power saving method according to claim 1, wherein the step of turning off the screen display of the terminal when the fourth type of application to be power saved is executed further comprises:
if the prompt message of the fourth type of application to be power-saved is received, converting the prompt message into voice message;
and playing the voice information through the terminal.
11. The terminal power saving method of claim 10,
the voice information includes at least one of: voice prompt information or voice content information.
12. The terminal power saving method of claim 1, wherein the terminal power saving method further comprises:
acquiring the current electric quantity state of the terminal;
determining a power saving strategy of the terminal according to the electric quantity state, wherein the power saving strategy comprises at least one of the following: the method comprises the steps of reducing the screen brightness of the terminal, closing the message notification function of the terminal, closing at least one background program of the terminal, shortening the automatic locking time of the terminal, and/or limiting the number of applications running at the same time of the terminal to be a preset number.
13. The power saving method for a terminal according to claim 12, wherein the determining the power saving policy of the terminal according to the power status comprises:
and if the electric quantity is larger than a first threshold value, reducing the screen brightness of the terminal and closing the message notification function of the terminal.
14. The power saving method of claim 12, wherein the determining the power saving policy of the terminal according to the power status comprises:
and if the electric quantity is less than or equal to the first threshold and greater than the second threshold, closing at least one background program of the terminal and shortening the automatic locking time of the terminal.
15. The power saving method of claim 12, wherein the determining the power saving policy of the terminal according to the power status comprises:
and if the electric quantity is less than or equal to a second threshold value, limiting the number of the applications simultaneously operated by the terminal to be a preset number.
16. The terminal power saving method of claim 1, wherein the terminal power saving method further comprises:
when configuration operation is received, a configuration interface of the terminal is displayed;
and changing the power saving configuration of the terminal based on the selection operation of the configuration interface.
17. The terminal power saving method of claim 16,
the configuration operation comprises at least one of a gesture operation, a voice operation and/or a touch operation.
18. The terminal power saving method of claim 16, wherein the step of displaying the configuration interface of the terminal is preceded by:
acquiring an installed application of a terminal;
and displaying the installed application in a classified or regional mode according to the application type of the installed application.
19. The terminal power saving method of claim 18, wherein the displaying the configuration interface of the terminal comprises:
acquiring configurable parameters according to application types of installed applications in different types or areas;
displaying the configurable parameters corresponding to the type or installed applications in the region.
20. A terminal, characterized in that the terminal comprises: a memory, a processor and a terminal power saving program stored on the memory and executable on the processor, the terminal power saving program when executed by the processor implementing the steps of the terminal power saving method as claimed in any one of claims 1 to 19.
21. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the terminal power saving method according to any one of claims 1 to 19.
CN202010625040.0A 2020-07-01 2020-07-01 Terminal power saving method, terminal and readable storage medium Active CN111787602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010625040.0A CN111787602B (en) 2020-07-01 2020-07-01 Terminal power saving method, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010625040.0A CN111787602B (en) 2020-07-01 2020-07-01 Terminal power saving method, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111787602A CN111787602A (en) 2020-10-16
CN111787602B true CN111787602B (en) 2023-01-06

Family

ID=72757824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010625040.0A Active CN111787602B (en) 2020-07-01 2020-07-01 Terminal power saving method, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111787602B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116560771A (en) * 2021-03-24 2023-08-08 华为技术有限公司 Method for executing drawing operation by application and electronic equipment
CN117991940A (en) * 2022-11-04 2024-05-07 荣耀终端有限公司 Image drawing method and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302270A (en) * 2014-06-27 2016-02-03 宇龙计算机通信科技(深圳)有限公司 Terminal endurance optimization method and apparatus and terminal
US10591981B2 (en) * 2015-04-14 2020-03-17 Huawei Technologies Co., Ltd. Terminal control method and apparatus, and terminal
CN105138104A (en) * 2015-07-31 2015-12-09 北京金山安全软件有限公司 Power-saving processing method and device, mobile terminal and cloud server
CN105975323A (en) * 2016-06-27 2016-09-28 北京金山安全软件有限公司 Application management method and device and terminal
CN206023903U (en) * 2016-08-29 2017-03-15 四川长虹通信科技有限公司 A kind of mobile phone with a key electricity-saving function
CN108021219A (en) * 2016-11-03 2018-05-11 华为技术有限公司 Control method of electronic device, device and electronic equipment
CN109474736B (en) * 2017-09-07 2021-05-04 中兴通讯股份有限公司 Terminal voice application control method and device and storage medium
CN109151961B (en) * 2018-07-20 2021-10-29 深圳市玩视科技有限公司 Operation method of mobile terminal, terminal and computer readable storage medium
CN109116965A (en) * 2018-07-27 2019-01-01 维沃移动通信有限公司 A kind of electricity saving method and mobile terminal
CN109765986A (en) * 2019-01-28 2019-05-17 上海与德通讯技术有限公司 Power-saving control method, terminal device and computer readable storage medium

Also Published As

Publication number Publication date
CN111787602A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
US9377839B2 (en) Dynamic battery management
CN111240837B (en) Resource allocation method, device, terminal and storage medium
CN108512695B (en) Method and device for monitoring application blockage
US11314309B2 (en) Electronic device control method and apparatus, and electronic device
CN108287744B (en) Character display method, device and storage medium
US9338739B2 (en) Method and device for selecting network on which multimode terminal is to reside and multimode terminal
US20140047256A1 (en) Terminal device and method for operating the same
CN111787602B (en) Terminal power saving method, terminal and readable storage medium
CN108958828B (en) Application program preloading method and device, storage medium and terminal
JP7082876B2 (en) Convenient display brightness change
US10416751B2 (en) Power saving mode control method and device for multiple operating systems, and terminal
CN110703944B (en) Touch data processing method and device, terminal and storage medium
CN106937258B (en) A kind of control method of broadcast, device and mobile terminal
CN108845838B (en) Application program preloading method and device, storage medium and terminal
CN111273769B (en) Equipment control method and device, electronic equipment and storage medium
CN112925596A (en) Mobile terminal and display method of display object thereof
CN111752632A (en) Control method and device of mobile terminal, mobile terminal and storage medium
CN113360122B (en) Mobile terminal and text display method thereof
CN105100505B (en) A kind of method and system that battery capacity is distributed for terminal applies
CN107870809B (en) Application closing method and device, storage medium and electronic equipment
US20200167060A1 (en) Method, device, and computer program for displaying an icon
CN111813213A (en) Power saving method, terminal and readable storage medium
CN113852751B (en) Image processing method, device, terminal and storage medium
CN115220922A (en) Vehicle application program running method and device and vehicle
CN113918002A (en) Frequency modulation method, frequency modulation device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant