CN112817426A - Terminal control method in doze mode, terminal and storage medium - Google Patents

Terminal control method in doze mode, terminal and storage medium Download PDF

Info

Publication number
CN112817426A
CN112817426A CN202110093425.1A CN202110093425A CN112817426A CN 112817426 A CN112817426 A CN 112817426A CN 202110093425 A CN202110093425 A CN 202110093425A CN 112817426 A CN112817426 A CN 112817426A
Authority
CN
China
Prior art keywords
terminal
doze
size
mode
grade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110093425.1A
Other languages
Chinese (zh)
Other versions
CN112817426B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202110093425.1A priority Critical patent/CN112817426B/en
Publication of CN112817426A publication Critical patent/CN112817426A/en
Application granted granted Critical
Publication of CN112817426B publication Critical patent/CN112817426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality

Abstract

The application discloses a terminal control method in a doze mode, which comprises the following steps: determining the current doze grade of the terminal; controlling the terminal to enter a doze mode of the doze grade; and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal. The application also discloses a terminal control device in the doze mode, a terminal and a computer readable storage medium. The power consumption reduction mode that this application terminal is in different current scenes and the size grade correspondence of difference is different, also makes the terminal pass through parameter adjustment back, and the power consumption that reduces is also different, and the mode that reduces the power consumption of selection that can be accurate has improved the accuracy of terminal control, has also improved the duration at terminal.

Description

Terminal control method in doze mode, terminal and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling a terminal in a doze mode, a terminal, and a storage medium.
Background
With the development of mobile communication technology and the popularization of smart phone users, more and more users acquire rich information through mobile phones. Various software on the mobile phone enables the functions of the mobile phone to be more powerful, and the daily life of people is enriched.
At present, the operation of the terminal is influenced by the starting application, the power consumption is very fast, and the battery consumption of the terminal is fast and the endurance is short.
Disclosure of Invention
The embodiment of the application provides a terminal control method in a doze mode, a device terminal and a storage medium, and aims to avoid the influence of starting applications on the operation of the terminal, so that the power consumption is very high, the battery consumption of the terminal is high, and the endurance is short.
In order to achieve the above object, an aspect of the present application provides a method for controlling a terminal in a dozing mode, where the method for controlling the terminal in the dozing mode includes:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
In order to achieve the above object, another aspect of the present application further provides an apparatus for controlling a terminal in a doze mode, the apparatus including: a determination module, a control module and an adjustment module,
the determining module is used for determining the current size grade of the terminal;
the control module is used for controlling the terminal to enter a doze mode of the doze grade;
and the adjusting module is used for responding to the fact that the terminal operates in the doze mode of the doze grade, and adjusting the parameters of the terminal according to the current scene of the terminal.
In order to achieve the above object, another aspect of the present application further provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
To achieve the above object, another aspect of the present application further provides a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
Before this application entered the size mode through the terminal, confirm the size grade at terminal, and enter the size mode according to the size grade, adjust the running parameter that the terminal got into under the size mode according to the current scene at terminal, the terminal is in the current scene of difference and the mode of the reduction consumption that the size grade of difference corresponds is different, also make the terminal pass through parameter adjustment back, the consumption of reduction is also different, the mode of the selection reduction consumption that can be accurate, the accuracy of terminal control has been improved, the duration at terminal has also been improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present application;
fig. 2 is a schematic view of an operation flow of an embodiment of a terminal control method in a doze mode according to the present application;
fig. 3 is a schematic view of an operation flow of determining a doze level of a terminal in an embodiment of a terminal control method in a doze mode according to the present application;
fig. 4 is a schematic operational flow diagram of another embodiment of a terminal control method in the doze mode according to the present application;
fig. 5 is a schematic operational flow diagram of a terminal control method in a doze mode according to another embodiment of the present application;
fig. 6 is a schematic operation flow diagram of a terminal control process for reducing power consumption of a terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal control device in a doze mode according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Embodiments of the present application are: determining the current doze grade of the terminal; controlling the terminal to enter a doze mode of the doze grade; and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
The terminal described herein may be implemented in various forms. For example, the terminal may include a terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, and the like. Of course, a broad range of terminal devices are also possible, such as processor-loaded devices, e.g., televisions, car mounted devices, etc., and the terminal may include a device that supports the doze mode.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment related to a method according to an embodiment of the present application
As shown in fig. 1, taking a terminal as an example, the terminal may include: a processor 1001 such as a CPU, a memory 1003, a communication bus 1004, a user input unit 1002, a display unit 1005. The communication bus 1004 is used for realizing connection and communication between the processor 1001 and the memory 1003. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal further comprises at least one sensor, such as a light sensor, a motion sensor, and other sensors. The accelerometer sensor is used as one of the motion sensors, can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the mobile phone is static, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Alternatively, the display unit 1005 is used to display a message input by the user or a message provided to the user. The Display unit 1005 may include a Display panel, and the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Alternatively, the user input unit 1002 may be used to receive input numeric or character messages and generate key signal inputs related to user settings and function control of the terminal. In particular, the user input unit 1002 may include a touch panel and other input devices. The touch panel, also called a touch screen, may collect touch operations of a user (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. The user input unit 1002 may include other input devices in addition to a touch panel. In particular, the other input devices may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like, which are not limited herein.
Alternatively, the processor 1001 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 1003 and calling data stored in the memory 1003, thereby performing overall monitoring of the terminal. Processor 1001 may include one or more processing units; optionally, the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1001.
Alternatively, the memory 1003 may be used to store software programs as well as various data. The memory 1003 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1003 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
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.
In the terminal shown in fig. 1, the processor 1001 is configured to execute the terminal control application program in the doze size mode in the memory 1003, and implements the following steps:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
And (4) a doze mode: in a doze mode of an Android (Android) system, a terminal enters low power consumption in the doze mode, the low power consumption comprises the steps of reducing CPU frequency, suspending network use or reducing GPU frequency, stopping WiFi scanning and the like, and the power consumption is reduced through adjustment of running parameters of the terminal.
In the related technology, a terminal defaults to start a doze mode, and when the terminal does not detect operation within a set time length, the frequency of a CPU is reduced, the network use is suspended, and actions of the terminal on WiFi scanning and the like are stopped; and when detecting the man-machine interaction operation, the charging behavior and the GPS positioning change or starting, restoring the operation parameters of the terminal until the terminal enters the doze mode.
However, the default of the terminal in the related art is to open the doze mode, and after entering the doze mode, the operating parameters of the terminal can be adjusted according to the parameters set by the doze mode, so that the power consumption of the terminal is reduced.
Based on the problems in the related art, the embodiments of the present application provide a terminal control method in a doze mode. The terminal control method in the doze mode provided by each embodiment of the application is used for a terminal with the doze mode, and the terminal can be a mobile phone, a tablet computer, a palm computer, an electronic reader or a pc and the like. Through the control method of the doze mode that this application embodiment provided, through multistage doze grade, set up the scheme of the reduction power consumption under the multiple doze mode, the better power consumption at different scenes reduction terminals improves battery continuation of the journey.
Referring to fig. 2, fig. 2 is a schematic view of an operation flow of a terminal control method in the doze mode of the present application; the present embodiment takes the multi-level doze level in the doze mode as an example for explanation; the terminal control method in the doze mode comprises the following steps:
step S10, determining the current size grade of the terminal;
the terminal can default to enter the doze mode, and after the terminal does not operate on the screen for a certain time (the certain time can be 5s or 3s and the like and is set according to the terminal performance or user requirements), the terminal enters the doze mode when the certain time is reached.
It can be understood that the condition for entering the doze mode may be set in advance, and when it is determined that the terminal meets the condition for entering the doze mode, the terminal is controlled to enter the doze mode. The entering condition includes that the power of the terminal is lower than a set power value (for example, the power value is lower than 20%), or a user currently sets that the user does not carry a charging wire and needs to enter a doze mode, or the user is currently in an environment where the charging wire cannot be charged, or the user does not use the mobile terminal for a long time currently according to the historical use condition of the user, or the position of the terminal is detected to be far away from the position of the user (for example, the terminal is at home, and the user is at a company), and the like. Moreover, whether the terminal meets the condition of entering the doze mode or not can be judged according to different use scenes, for example, a current user sets the terminal to be in a conference scene, and the terminal is controlled to enter the doze mode; or the current user sets the terminal to be in the guest meeting scene, and the terminal is controlled to enter the doze mode; or other scenarios that satisfy the entry into the doze mode.
Of course, the terminal is also adapted to enter into the doze mode by receiving the active operation of the user. It can be understood that, when the terminal is in the charging state, the default mode set by the terminal is cancelled, and when the terminal is in the charging state, the terminal does not need to enter the doze mode, so as to judge whether to start the judgment meeting the doze mode condition according to whether the terminal enters the charging state.
Illustratively, in order to avoid that a user defaults to enter the doze mode when using the terminal and influences the use of the terminal of the user, so that the use is not changed, when detecting that the current scene is the scene where the user is accustomed to using the terminal, the default entering of the doze mode is cancelled, the normal operation of the terminal is recovered, the terminal cannot enter the doze mode due to screen saving or long-time use, the use convenience of the terminal is improved, and the user operation is facilitated without interference. For example, in a current scene that a user completes a job through a terminal, the user needs to look up a job question of the terminal, and does not need to continuously enter a size mode due to no-screen operation when the user finds an answer through a textbook.
Before the terminal enters a doze mode, determining the current doze grade of the terminal, wherein the doze grade can be set into a first doze grade, a second doze grade and/or a third doze grade according to the performance setting of the terminal, the power consumption is different under different doze grades, the power consumption of the first doze grade is larger than that of the second doze grade, and the power consumption of the second doze grade is larger than that of the third doze grade; of course, more doze levels may be set as needed, for example, the fourth level, the fifth level, or the like, and sub-levels may be set below the respective levels as needed. Different doze levels may reduce power consumption for the terminal differently, for example, the magnitude or selected parameters of the respective power consumption reduction parameters for the doze mode adjustment at each level may be different.
Step S20, controlling the terminal to enter a doze mode of the doze grade;
before entering the doze mode, the terminal needs to determine the doze grade of the doze mode, and after the doze grade is determined, the terminal is controlled to enter the doze mode of the doze grade, namely, after the condition of entering the doze mode is met, the terminal is controlled to enter the doze mode of the doze grade.
And step S30, responding to the terminal operating in the doze mode of the doze grade, and adjusting the parameters of the terminal according to the current scene of the terminal.
After entering the doze mode, a current scene of the terminal is obtained, where the current scene of the terminal includes a terminal operation scene, for example, an application scene, or a high power consumption scene, or a download scene, a game scene, a high CPU usage scene, and the like, and is a scene determined according to the operation state of the terminal and the content of the start, and parameters of the terminal are determined according to different scenes, for example, in the download scene, the requirement on the network is high, and the network may be adjusted by adjusting the CPU frequency or the GPU frequency without adjusting the network. For example, in a gaming scenario, the CPU or network is adjusted without adjusting the GPU.
It can be understood that after the size modes of different levels are entered, parameters which can be adjusted are defined under different size levels, and a determination is made according to a scene according to the parameters which can be adjusted under the size levels, and how to adjust the parameters of the terminal is matched through the levels and the scene.
Before the terminal enters the doze mode, the doze grade of the terminal is determined, the terminal enters the doze mode according to the doze grade, the operation parameters of the terminal entering the doze mode are adjusted according to the current scene of the terminal, the terminal is in different current scenes and different power consumption reduction modes corresponding to the doze grades are different, the reduced power consumption is different after the terminal is adjusted through the parameters, the power consumption can be accurately reduced, the accuracy of terminal control is improved, and the cruising ability of the terminal is also improved.
In an embodiment, referring to fig. 3, the step of determining the size class of the terminal includes:
step S11, when the terminal is in a bright screen state and the operation on the terminal is not received within the first timing time, determining the size grade of the terminal as a first size grade;
step S12, when the terminal is in a bright screen state and the operation on the terminal is not received within the second timing time, determining the size grade of the terminal as a second size grade; wherein the first timing time is less than the second timing time;
and step S13, determining the size grade of the terminal as a third size grade when the terminal is in the breath screen state.
The first timing time can be 3s or 5s, etc., and the second timing time can be 10s or 15s, etc., and is set according to the requirements or the terminal performance, or according to the historical use condition of the terminal. And determining the size grade of the size mode entered by the terminal according to the running condition of the terminal and the operation condition received by the terminal.
In the embodiment, the size classes are exemplarily divided into 3 classes, but the application is not limited to dividing into only 3 size classes.
Divide the doze grade into 3 grades, correspond to the different application scenes of cell-phone respectively:
when the screen is lit in the full scene, the first size level is determined after the screen non-slide operation timer (3s or 5s or the like) has timed out.
And a second size level, in a bright screen state, if the time is out (15s or 18s and the like) without sliding operation timing, if the current scene supports the second size level, the current scene is regarded as the second size level, and the current scene supports the second size level, which is the preset scene of the terminal, such as a low-bandwidth scene or an information browsing scene.
And the third doze level is regarded as level 3 in a specific scene after the machine is detected to be turned off, and the specific scene is a background operation scene occupying less resources or a background-free operation scene.
It can be understood that, the steps of obtaining the current scene of the terminal and determining the current size level of the terminal are not in sequence, and the current scene of the terminal may be obtained first, or the current size level of the terminal may be determined first, or of course, the current scene of the terminal may be obtained simultaneously.
According to the difference of the current scene and the size grade of the terminal, the operation parameters of the terminal entering the size mode are determined, the operation parameters of the terminal entering the size mode achieve the purpose of reducing the power consumption of the terminal, and the determined operation parameters enable the reduced power consumption to be different under the condition of different operation parameters.
For example, in any scene of the terminal, the operating parameters of the CPU frequency are adjusted at the first doze level; under the preset scene of the terminal, adjusting the operating parameters of the CPU and GPU frequencies according to the second doze grade; and under the specific scene of the terminal, adjusting the state of the CPU, the GPU and the network by the third size level. And determining that the operation parameters of the terminal in the doze mode are different under different scenes and different doze grades.
When the terminal is in a bright screen state and the operation on the terminal is not received within the third timing time, determining whether the current scene of the terminal supports entering a second size mode; and if so, determining the size grade of the terminal as a second size grade.
Different doze grades are divided through the terminal to this embodiment, and different parameters that different doze grades correspond are adjusted, and the purpose of the power consumption reduction in order to reach different doze grades of adjustment parameter that can be pertinence for the power consumption reduction scheme at terminal can make the change according to the condition at terminal, makes the regulation more accurate, has also improved the duration at terminal.
In an embodiment, referring to fig. 4, the method further includes:
step S01, when the terminal enters a doze mode of a first doze grade, reducing the CPU frequency of the terminal, wherein the reduction range of the CPU frequency is to reduce the current frequency of the CPU of the terminal by a first frequency;
illustratively, in the case that the terminal is in any scene and the screen is lighted, after the screen no-sliding operation timeout, the frequency of the CPU big core is reduced by 25%, and the frequency of the CPU small core is not reduced. And the 25% is the first frequency, which is the reduction amplitude of the CPU frequency after entering the first doze grade of the doze mode, and the CPU is related to the reduction of the large core frequency, while the small core frequency of the CPU is not adjusted. Or the combination of the CPU big core frequency adjusted by 20% and the CPU small core frequency adjusted by 10% has different combinations according to different performances, or different combination operation parameters are set according to different terminal scenes under the parameter that the size grade of the terminal is currently adjustable, so that the power consumption of the terminal is reduced.
Step S02, when the terminal enters a second size level size mode, reducing the CPU frequency of the terminal, wherein the reduction amplitude of the CPU frequency is to reduce the current frequency of the CPU of the terminal by a second frequency, and the second frequency is greater than the first frequency;
illustratively, the frequency of a CPU large core is reduced by 50%, the frequency of a CPU small core is reduced by 30%, the amplitude of the adjustment under the second doze level 2 is larger than that of the first doze level, the reduced power consumption is lower, and the battery has a longer endurance; on the basis of adjusting the CPU, the memory frequency, the GPU frequency and/or the display parameters of the terminal display screen can be adjusted according to the direction of reducing the power consumption. For example, a part of CPU main cores are closed, the memory frequency is reduced, a 5g network is reduced to a 4g network, the screen refresh rate is reduced, and the like. More ways and combinations for reducing the power consumption of the terminal are provided, and the power consumption of the terminal is reduced through the provided combinations.
And step S03, when the terminal enters the size mode of the third size level, closing the running CPU big core and isolating the GPU main core.
After entering the third doze level, closing the CPU big core and the isolate CPU core (isolated GPU main core); more accurate control is to switch the terminal to a network with a low current network level when the terminal is currently in a download idle scene, for example, a non-download scene switches a 5G network to a 4G network.
In an embodiment, according to different operation parameters supporting adjustment under the size level of the terminal, a scheme for solving the problem of reducing the power consumption of the terminal by the operation parameters supported by the terminal is provided according to the current scene.
Different and the scene is different through the size grade that is in, selects different operating parameters to according to the parameter difference of selecting, the reduction terminal power consumption of different degrees makes more accurate parameter selection according to the terminal demand, comes more accurate reduction terminal power consumption.
In an embodiment, referring to fig. 5, the method further includes:
and step S21, according to the direction of reducing power consumption, adjusting the memory frequency, the GPU frequency and/or the display parameters of the terminal display screen according to the current scene of the terminal.
After entering the second doze level doze mode, the memory frequency, the GPU frequency and/or the display parameters of the terminal display screen may be adjusted according to the adjustment mode supported by the current scene of the terminal, in addition to the adjustment of the frequency of the CPU or the GPU, and according to the direction of reducing power consumption.
It can be understood that, according to the direction of reducing power consumption, the step of adjusting the memory frequency, the GPU frequency and/or the display parameter of the terminal display screen according to the current scene of the terminal includes: determining the operation requirement required by the current scene of the terminal, and determining the adjustment amplitude of the parameter according to the operation requirement and the adjustment direction for reducing the power consumption of the terminal; correspondingly adjusting the memory frequency, the GPU frequency and/or the display parameters of the terminal display screen according to the adjusting amplitude. And the automatic matching and combination are carried out according to the current scene of the terminal on the bandwidth and the memory use condition, so that the purpose of reducing the power consumption is achieved. Of course, a selection interactive interface may also be provided for the user to select combinations from.
In an embodiment, the selection parameters need to be modified according to the switching of scenes, then the adjustment parameters need to be determined again, during the change of scenes, the selection parameters are evaluated to determine whether the selection parameters need to be determined again, or according to the incidence relation of the scenes (setting the incidence relation in advance, for example, the conference scene is associated with the guest scene; the game scene is associated with the video scene, etc.), if the scenes are associated, the selection parameters need not to be determined again, and when the scenes are not associated, the selection parameters need to be determined again.
The user identification of the operation terminal is different for different users, the selection parameters are different (default), and the port can be opened and freely selected according to different user preferences.
According to the implementation, selection parameters are determined according to different current scenes and different doze grades, and then corresponding operation parameters are selected according to the selection parameters to be matched, so that the operation parameters of the terminal are adjusted, the power consumption of the terminal is reduced, the operation parameters are determined more reasonably and rapidly, the power consumption is reduced, and the cruising ability is improved.
For better describing the embodiment of the present application, referring to fig. 6, the process of controlling the terminal to reduce power consumption includes:
different scenes of the terminal system have different requirements on system resources, for example, a game scene needs more GPU resources, a file copy scene has higher requirements on bandwidth of a memory, a download scene has higher requirements on network bandwidth, and the like.
According to the difference between the current scene and the operation state of the terminal, the size level is determined, for example, a first size level, a second size level, and a third size level are determined, in this embodiment, the size is divided into 3 levels, which respectively correspond to different application scenes of the mobile phone, and the size levels determined in different scenes and states may be selected to operate correspondingly by selecting different parameters for reducing the power consumption of the terminal. The specific grade and operating parameter adjustments are referenced as follows:
in the first doze level, under the condition that the screen of the full scene is lightened, after the timeout of the screen no-sliding operation timer, the frequency of a large core of the CPU is reduced by 25%, and the frequency of a small core is not reduced.
And a second level, if the current scene supports level 2, according to the different scenes of the system, the optional power saving allocation operation at this level is as follows: the method comprises the steps of reducing the frequency of a large core of a CPU core by 50%, reducing the frequency of a small core by 30%, reducing the frequency of the CPU by 50%, closing part of the CPU core, reducing the frequency of a memory, switching a 5G network into a 4G network and/or reducing the screen refresh rate, selecting operation parameters to complete the selection of the operation parameters of the doze2 terminal, and achieving low density of reducing the power consumption of the terminal.
And the third level enters a level 3 level mode after the machine screen collapse is detected, at the moment, a CPU big core and an idle GPU core are closed, and a 5G network is switched to a 4G network in a non-download scene.
The determination of the size grade of the terminal and the matching selection of the size grade and the scene in the size mode are completed through the size grade division in the size mode according to the difference between the scene and the running state, and appropriate parameters are selected to reduce the power consumption of the terminal and improve the cruising ability of the terminal.
The present application also proposes a terminal control device in doze mode, referring to fig. 7, the device includes: a determination module 10, a control module 20 and an adjustment module 30,
the determining module 10 is configured to determine a current size class of the terminal;
the control module 20 is configured to control the terminal to enter a doze mode of the doze class;
and the adjusting module 30 is configured to adjust a parameter of the terminal according to a current scene of the terminal in response to the terminal operating in the doze mode of the doze class.
Further, the determining module 20 is further configured to determine that the size level of the terminal is the first size level when the terminal is in the bright screen state and no operation on the terminal is received within the first timing time; when the terminal is in a bright screen state and the operation on the terminal is not received within the second timing time, determining the size grade of the terminal as a second size grade; wherein the first timing time is less than the second timing time; and determining the size grade of the terminal as a third size grade when the terminal is in the screen-displaying state.
Further, the determining module 20 is further configured to determine whether the current scene of the terminal supports entering the second size mode when the terminal is in the bright screen state and no operation on the terminal is received within the third timing time; and if so, determining the size grade of the terminal as a second size grade.
Further, the adjusting module 30 is further configured to reduce the CPU frequency of the terminal when the terminal enters the doze mode of the first doze level, where the reduction range of the CPU frequency is to reduce the current frequency of the CPU of the terminal by the first frequency.
Further, the adjusting module 30 is further configured to reduce the CPU frequency of the terminal when the terminal enters a second size mode of a second size level, where the reduction range of the CPU frequency is to reduce the current frequency of the CPU of the terminal by a second frequency, and the second frequency is greater than the first frequency.
Further, the adjusting module 30 is further configured to adjust the memory frequency, the GPU frequency, and/or the display parameter of the terminal display screen according to the current scene of the terminal according to the direction of reducing power consumption.
Further, the determining module 10 is further configured to adjust a memory frequency, a GPU frequency, and/or a display parameter of a terminal display screen according to a current scene of the terminal in the direction of reducing power consumption;
the adjusting module 30 is further configured to correspondingly adjust the memory frequency, the GPU frequency, and/or the display parameter of the terminal display screen according to the adjusting amplitude.
Further, the adjusting module 30 is further configured to close the running CPU core and isolate the GPU core when the terminal enters the doze mode of the third doze level.
Further, the adjusting module 30 is further configured to switch the terminal to a network with a low current network level when the terminal is currently in the downloading idle scene.
Further, the determining module 10 is further configured to determine whether the terminal is switched from the bright screen state to the dark screen state; when the screen is switched to the screen collapse state, the step of determining the size grade of the terminal as the third size grade is executed
The present application also proposes a terminal, where the terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the following steps:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
The terminal is provided with a processor, a display module, a network module and the like which are connected with the processor, the operation parameters of the terminal are determined according to the current operation scene and the doze grade information of the terminal, the display parameters and/or the network switching are adjusted through the display module and/or the network module, the power consumption of the terminal is reduced, and the cruising ability of the terminal is improved.
After the terminal of this embodiment passes through the terminal and gets into the size mode, the operating parameter at terminal is confirmed according to the size grade that the current scene of terminal and terminal accord with, the operating parameter under the size mode is got into to the operating parameter regulation terminal according to confirming, the terminal is in the current scene of difference and the mode of the reduction consumption that the size grade corresponds is different, also make the terminal pass through parameter adjustment back, the reduced consumption is also different, the mode of the selection reduction consumption that can be accurate, the accuracy of terminal control has been improved, the duration at terminal has also been provided.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, realizes the steps of:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (13)

1. A method for controlling a terminal in a doze mode is characterized by comprising the following steps:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
2. The method for controlling a terminal in doze mode according to claim 1, wherein the step of determining the doze level of the terminal comprises:
when the terminal is in a bright screen state and operation on the terminal is not received within a first timing time, determining the size grade of the terminal as a first size grade;
when the terminal is in a bright screen state and the operation on the terminal is not received within the second timing time, determining the size grade of the terminal as a second size grade; wherein the first timing time is less than the second timing time;
and determining the size grade of the terminal as a third size grade when the terminal is in the screen-displaying state.
3. The method for controlling a terminal in doze mode according to claim 1, wherein the step of determining the doze level of the terminal comprises:
when the terminal is in a bright screen state and the operation on the terminal is not received within the third timing time, determining whether the current scene of the terminal supports entering a second size mode;
and if so, determining the size grade of the terminal as a second size grade.
4. The method for controlling a terminal in doze size mode according to claim 2 or 3, wherein the step of adjusting the parameters of the terminal according to the current scene of the terminal in response to the terminal operating in the size mode of the size class comprises:
and when the terminal enters a doze mode of a first doze grade, reducing the CPU frequency of the terminal, wherein the reduction range of the CPU frequency is to reduce the current frequency of the CPU of the terminal by the first frequency.
5. The method for controlling a terminal in doze mode according to claim 4, wherein the step of adjusting the parameters of the terminal according to the current scene of the terminal in response to the terminal operating in the doze mode of the doze level comprises:
and when the terminal enters a second size level size mode, reducing the CPU frequency of the terminal, wherein the reduction amplitude of the CPU frequency is to reduce the current frequency of the CPU of the terminal by a second frequency, and the second frequency is greater than the first frequency.
6. The method for controlling a terminal in doze mode according to claim 5, further comprising:
and according to the direction of reducing the power consumption, adjusting the memory frequency, the GPU frequency and/or the display parameters of the terminal display screen according to the current scene of the terminal.
7. The method for controlling a terminal in doze mode according to claim 6, wherein the step of adjusting the memory frequency, the GPU frequency and/or the display parameters of the display screen of the terminal according to the current scene of the terminal in the direction of reducing power consumption comprises:
determining the operation requirement required by the current scene of the terminal, and determining the adjustment amplitude of the parameter according to the operation requirement and the adjustment direction for reducing the power consumption of the terminal;
correspondingly adjusting the memory frequency, the GPU frequency and/or the display parameters of the terminal display screen according to the adjusting amplitude.
8. The method for controlling a terminal in doze size mode according to claim 2 or 3, wherein the step of adjusting the parameters of the terminal according to the current scene of the terminal in response to the terminal operating in the size mode of the size class comprises:
and when the terminal enters the size mode of the third size grade, closing the running CPU big core and isolating the GPU main core.
9. The method for controlling a terminal in doze mode according to claim 8, wherein said step of turning off the CPU core running and isolating the GPU core further comprises:
and when the terminal is currently in the downloading idle scene, switching the terminal to a network with a low current network level.
10. The method for controlling a terminal in doze size mode according to claim 2 or 3, wherein after the terminal enters the size mode of the first size level or after the terminal enters the size mode of the second size level, the method further comprises:
determining whether the terminal is switched from a bright screen state to a dark screen state;
and when the screen is switched to the screen-collapse state, executing the step of determining the size grade of the terminal as the third size grade.
11. A terminal control device in a doze mode, the device comprising: a determination module, a control module and an adjustment module,
the determining module is used for determining the current size grade of the terminal;
the control module is used for controlling the terminal to enter a doze mode of the doze grade;
and the adjusting module is used for responding to the fact that the terminal operates in the doze mode of the doze grade, and adjusting the parameters of the terminal according to the current scene of the terminal.
12. A terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
13. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of:
determining the current doze grade of the terminal;
controlling the terminal to enter a doze mode of the doze grade;
and responding to the fact that the terminal operates in the size mode of the size grade, and adjusting parameters of the terminal according to the current scene of the terminal.
CN202110093425.1A 2021-01-22 2021-01-22 Terminal control method in doze mode, terminal and storage medium Active CN112817426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110093425.1A CN112817426B (en) 2021-01-22 2021-01-22 Terminal control method in doze mode, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110093425.1A CN112817426B (en) 2021-01-22 2021-01-22 Terminal control method in doze mode, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112817426A true CN112817426A (en) 2021-05-18
CN112817426B CN112817426B (en) 2022-08-02

Family

ID=75859020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110093425.1A Active CN112817426B (en) 2021-01-22 2021-01-22 Terminal control method in doze mode, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112817426B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867837A (en) * 2021-09-24 2021-12-31 埃洛克航空科技(北京)有限公司 Configuration parameter setting method and device for terminal equipment, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020428A (en) * 2016-05-31 2016-10-12 珠海市魅族科技有限公司 Screen locking method and terminal
CN106200872A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of terminal and the management method of power consumption thereof
CN106200867A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal of a kind of terminal energy-efficient treatment
CN107608561A (en) * 2017-10-24 2018-01-19 北京小米移动软件有限公司 Touch-screen control method and device
CN109462699A (en) * 2018-12-26 2019-03-12 惠州Tcl移动通信有限公司 The control method of the Doze mode of mobile terminal
CN111290565A (en) * 2020-01-13 2020-06-16 Oppo广东移动通信有限公司 Doze mode control method, device, terminal and storage medium
CN112153214A (en) * 2019-06-28 2020-12-29 青岛海信移动通信技术股份有限公司 Terminal state control method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020428A (en) * 2016-05-31 2016-10-12 珠海市魅族科技有限公司 Screen locking method and terminal
CN106200867A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal of a kind of terminal energy-efficient treatment
CN106200872A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of terminal and the management method of power consumption thereof
CN107608561A (en) * 2017-10-24 2018-01-19 北京小米移动软件有限公司 Touch-screen control method and device
CN109462699A (en) * 2018-12-26 2019-03-12 惠州Tcl移动通信有限公司 The control method of the Doze mode of mobile terminal
CN112153214A (en) * 2019-06-28 2020-12-29 青岛海信移动通信技术股份有限公司 Terminal state control method and terminal
CN111290565A (en) * 2020-01-13 2020-06-16 Oppo广东移动通信有限公司 Doze mode control method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867837A (en) * 2021-09-24 2021-12-31 埃洛克航空科技(北京)有限公司 Configuration parameter setting method and device for terminal equipment, terminal and storage medium

Also Published As

Publication number Publication date
CN112817426B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN108614722B (en) Application program preloading method and device, storage medium and terminal
CN108595228B (en) Application program prediction model establishing method and device, storage medium and mobile terminal
WO2019223510A1 (en) Application program preloading method and apparatus, storage medium, and mobile terminal
CN107219976B (en) Application display method and related product
EP3754476B1 (en) Information display method, graphical user interface and terminal
US20190370603A1 (en) Method and apparatus for establishing an application prediction model, storage medium and terminal
CN108055408B (en) Application program control method and mobile terminal
EP3665584A1 (en) Hands-free multi-site web navigation and consumption
CN109067981B (en) Split screen application switching method and device, storage medium and electronic equipment
US9164780B2 (en) Method and device for an intelligent control of portable electronic devices
US20220253207A1 (en) Display method and electronic device
CN109157839A (en) Frame per second regulates and controls method, apparatus, storage medium and terminal
CN108958629B (en) Split screen quitting method and device, storage medium and electronic equipment
CN111885265A (en) Screen interface adjusting method and related device
CN108196482B (en) Power consumption control method and device, storage medium and electronic equipment
CN107402808B (en) Process management method, device, storage medium and electronic equipment
US20220116758A1 (en) Service invoking method and apparatus
WO2019019818A1 (en) Method and apparatus for accelerating black screen gesture processing, storage medium, and mobile terminal
CN108762836B (en) Management method and device for preloaded application, storage medium and intelligent terminal
CN109144377A (en) Operating method, smartwatch and the computer readable storage medium of smartwatch
CN108304575B (en) Identification display method and terminal
CN107800869B (en) Split screen display method, mobile terminal and storage medium
CN113220176A (en) Display method and device based on widget, electronic equipment and readable storage medium
CN112817426B (en) Terminal control method in doze mode, terminal and storage medium
CN111812997A (en) Device control method, device, and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant