Mobile terminal control method, device, mobile terminal and storage medium

By setting a preset application whitelist on the mobile terminal to control the power saving level setting function of the central processor, the processing performance is optimized for different application scenarios, which solves the delay problem of the mobile terminal when running multiple applications and improves the efficiency of the mobile terminal. User experience.

CN111752632BActive Publication Date: 2024-09-17OPPO CHONGQING INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010486732.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-01
Publication Date
2024-09-17
Estimated Expiration
2040-06-01

AI Technical Summary

Technical Problem

When a mobile terminal is running multiple applications, the power-saving level setting function of the central processor causes an increase in processing delay and affects the user experience.

Method used

By setting a preset application whitelist, you can choose to turn off or keep the power-saving level setting function of the CPU for different application scenarios to improve response speed and user experience.

Benefits of technology

It improves the system response speed of large-scale game applications, reduces processing delays, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111752632B
    Figure CN111752632B
Patent Text Reader

Abstract

The present application discloses a control method, device, mobile terminal and storage medium for a mobile terminal, and relates to the technical field of mobile terminals. The method is applied to a mobile terminal, and the mobile terminal includes a central processing unit, which receives a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal, and when the target application is in a preset application whitelist, the running request is responded to, the target application is run in the foreground of the mobile terminal, and the power saving level setting function of the central processing unit is turned off, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different. The present application selects to turn off the power saving level setting function of the central processing unit for different application scenarios by setting a preset application whitelist, thereby improving the response speed in some application scenarios and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of mobile terminals, and more specifically, to a control method and device for a mobile terminal, a mobile terminal, and a storage medium. Background Art

[0002] With the development of science and technology, mobile terminals are used more and more widely, with more and more functions, and have become one of the necessities in people's daily life. In addition, as users' usage requirements become higher and higher, more and more applications are installed and run on mobile terminals, causing their power consumption to become faster and faster, affecting user experience. Summary of the invention

[0003] In view of the above problems, the present application proposes a control method and device for a mobile terminal, a mobile terminal and a storage medium to solve the above problems.

[0004] In a first aspect, an embodiment of the present application provides a control method for a mobile terminal, which is applied to a mobile terminal, wherein the mobile terminal includes a central processing unit, and the method includes: receiving a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal; when the target application is in a preset application whitelist, responding to the running request, running the target application in the foreground of the mobile terminal, and turning off a power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit are different in different levels of power saving states.

[0005] In a second aspect, an embodiment of the present application provides a control device for a mobile terminal, which is applied to the mobile terminal, and the mobile terminal includes a central processing unit. The device includes: an operation request receiving module, which is used to receive an operation request of a target application, wherein the operation request is used to request that the target application be run in the foreground of the mobile terminal; a function shutdown module, which is used to respond to the operation request when the target application is in a preset application whitelist, run the target application in the foreground of the mobile terminal, and turn off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit are different in different levels of power saving states.

[0006] In a third aspect, an embodiment of the present application provides a mobile terminal, comprising a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.

[0008] The control method, device, mobile terminal and storage medium of the mobile terminal provided in the embodiments of the present application receive a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal. When the target application is in a preset application whitelist, the running request is responded to, the target application is run in the foreground of the mobile terminal, and the power saving level setting function of the central processing unit is turned off, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different. Therefore, by setting a preset application whitelist, the power saving level setting function of the central processing unit can be turned off for different application scenarios, thereby improving the response speed in some application scenarios and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0010] Figure 1 A schematic diagram showing a flow chart of a control method for a mobile terminal provided by an embodiment of the present application is shown;

[0011] Figure 2 A schematic diagram showing a flow chart of a control method for a mobile terminal provided in yet another embodiment of the present application;

[0012] Figure 3 This application shows Figure 2 The flowchart of step S220 of the control method of the mobile terminal shown;

[0013] Figure 4 This application shows Figure 3 The flowchart of step S223 of the control method of the mobile terminal shown;

[0014] Figure 5 A schematic diagram showing a flow chart of a control method for a mobile terminal provided in yet another embodiment of the present application is shown;

[0015] Figure 6 A schematic diagram showing a flow chart of a control method for a mobile terminal provided in yet another embodiment of the present application is shown;

[0016] Figure 7 A module block diagram of a control device for a mobile terminal provided in an embodiment of the present application is shown;

[0017] Figure 8 A block diagram of a mobile terminal according to an embodiment of the present application is shown for executing a control method of a mobile terminal according to an embodiment of the present application;

[0018] Fig. 9 A storage unit for storing or carrying a program code for implementing a control method for a mobile terminal according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0020] Among them, the improvement of the system response speed of the mobile terminal can make the system not stuck, the processing speed is faster, and the user experience can be improved for some large-scale game applications. At present, the central processing unit (CPU) of the mobile terminal can usually be divided into different power saving levels (power consumption levels), that is, different delay levels, which can usually be named C0, C1, C2, and C3, which means different power saving levels. Under different power saving levels, the power consumption level of the central processor is different and the delay level is different. Among them, when the power saving level function of the central processor is turned on, some related peripheral resources will be turned off to reduce the power consumption of the central processor or peripherals, but it will cause a decrease in processing speed, that is, it will cause a certain delay in processing speed. Among them, when the thread calls are less, in order to reduce the power consumption and power consumption of the central processor, the central processor will enter different power saving levels based on the power saving level function. However, at this time, when it is necessary to respond to other threads that need to be processed, it is required to exit the current power saving state first, and the greater the delay, the slower the exit speed, which will cause some response requirements to be unable to be processed in time, resulting in a slow processing speed.

[0021] In view of the above problems, the inventor has discovered after long-term research and proposed the control method, device, mobile terminal and storage medium of the mobile terminal provided in the embodiments of the present application. By setting a preset application whitelist, the power saving level setting function of the central processor is selected to be turned off for different application scenarios, thereby improving the response speed in some application scenarios and improving the user experience. Among them, the specific control method of the mobile terminal is described in detail in the subsequent embodiments.

[0022] See also Figure 1 , Figure 1The flowchart of the control method of a mobile terminal provided by an embodiment of the present application is shown. The control method of the mobile terminal is used to select to turn off the power saving level setting function of the central processor for different application scenarios by setting a preset application whitelist, thereby improving the response speed in some application scenarios and improving the user experience. In a specific embodiment, the control method of the mobile terminal is applied to Figure 7 The control device 200 of the mobile terminal and the mobile terminal 100 ( Figure 8 ). The following will take a mobile terminal as an example to illustrate the specific process of this embodiment. It can be understood that the mobile terminal used in this embodiment may include electronic devices including touch screens, such as smart phones and tablet computers, and is not limited here. Figure 1 The process shown is described in detail. In this embodiment, the mobile terminal includes a central processing unit, and the control method of the mobile terminal may specifically include the following steps:

[0023] Step S110: receiving a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal.

[0024] In this embodiment, the mobile terminal may receive a run request for a target application, wherein the run request is used to instruct the mobile terminal to run and display the target application in the foreground of the mobile terminal. In some implementations, the run request may be used to instruct the target application to be started and run and displayed in the foreground of the mobile terminal, or the run request may be used to instruct the target application to be switched from the background of the mobile terminal to the foreground to run and display.

[0025] In some embodiments, a mobile terminal may be installed with multiple applications. Among them, the multiple applications include applications that can run in the foreground of the mobile terminal, applications that run in the background of the mobile terminal, or applications that switch between the foreground and the background of the mobile terminal. Specifically, an application running in the foreground refers to an application that can usually interact with the user and can run in the foreground, and when it is not visible, it will be suspended (for example: a game); an application running in the background refers to an application that has very limited interaction with the user, and except for the configuration period, the rest of its life cycle is hidden (for example: an SMS automatic reply program and an alarm program); an application that switches between the foreground and the background refers to an application that can be switched between the foreground and the background at will. It can be understood that when the application is not killed, it indicates that the application is running on the mobile terminal. In some embodiments, the multiple applications may include system native applications, such as a camera application, an album application, a text message application, etc., and may also include third-party applications, such as XX chat application, XX news application, XX video application, XX game application, etc., which are not limited here. In this embodiment, the target application can be any one of the multiple applications.

[0026] In some embodiments, the mobile terminal receiving the running request of the target application may include: the mobile terminal receiving the running request of the target application input by the user through voice, for example, the mobile terminal receiving "Run XX application in the foreground" input by the user through voice; the mobile terminal receiving the running request of the target application input by the user through a text input box, for example, the mobile terminal receiving "Run XX application in the foreground" input by the user through the text input box; the mobile terminal receiving the running request input by the user by clicking on the application icon corresponding to the target application, for example, the mobile terminal receiving the user's click operation on the application icon corresponding to "XX application"; the mobile terminal receiving the running request input by the user by clicking on the application link corresponding to the target application, for example, the mobile terminal receiving the user's click operation on the application link corresponding to "XX application", which is not limited here.

[0027] Step S120: When the target application is in the preset application whitelist, respond to the run request, run the target application in the foreground of the mobile terminal, and turn off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different.

[0028] In some embodiments, the mobile terminal may pre-set and store a preset application whitelist, which includes multiple applications. The preset application whitelist may be used as a basis for determining the target application. Therefore, in this embodiment, after receiving a request to run the target application, the target application may be compared with multiple applications in the preset application whitelist to determine whether the target application is consistent with / matches any of the multiple applications in the preset application whitelist. When the judgment result indicates that the target application is consistent with / matches any of the multiple applications in the preset application whitelist, it may be determined that the target application is in the preset application whitelist. When the judgment result indicates that the target application is inconsistent with / does not match the multiple applications in the preset application whitelist, it may be determined that the target application is not in the preset application whitelist. In some embodiments, the multiple applications in the preset application whitelist may be added by the system by default or manually added by the user, which is not limited here.

[0029] For example, when the multiple applications in the preset application whitelist include: a first application, a second application, a third application, and a fourth application, then after receiving a running request of the target application, the target application can be compared with the first application, the second application, the third application, and the fourth application, respectively, to determine whether the target application is consistent / matched with any one of the first application, the second application, the third application, and the fourth application. When the target application matches any one of the first application, the second application, the third application, and the fourth application, it can be determined that the target application is in the preset application whitelist. When the target application is inconsistent / mismatched with the first application, the second application, the third application, and the fourth application, it can be determined that the target application is not in the preset application whitelist.

[0030] In this embodiment, the mobile terminal can pre-set and store the power saving level setting function of the central processor, wherein the power saving level setting function of the central processor is used to set the central processor to different levels of power saving states, and the power consumption and processing delay of the central processor in different levels of power saving states are different. Specifically, if the mobile terminal turns on the power saving level setting function of the central processor, the mobile terminal can detect whether the application running in the foreground of the mobile terminal is in the preset application whitelist. If the detection result indicates that the application running in the foreground of the mobile terminal is in the preset application whitelist, the power saving level setting function of the central processor can be turned off to avoid processing delays and improve the processing speed of the application during operation. If the detection result indicates that the application running in the foreground of the mobile terminal is not in the preset application whitelist, the power saving level setting function of the central processor can be kept turned on to reduce the power consumption and power consumption of the mobile terminal. If the mobile terminal turns off the power saving level setting function of the central processor, no matter whether the application running in the foreground of the mobile terminal is in the preset application whitelist, no delay processing is performed on the application, thereby improving the processing speed of the application during operation.

[0031] In this embodiment, when the target application is in the preset application whitelist, the power saving level setting function of the central processor can be turned off in response to the running request. That is, when the target application is in the preset application whitelist, the target application is run and displayed in the foreground of the mobile terminal, and the central processor will not enter the sleep function level during the process of the target application running and displaying in the foreground of the mobile terminal. In some embodiments, the applications included in the preset application whitelist may include game applications, so that the mobile terminal runs and displays game applications in the foreground, and turns off the power saving level setting function of the central processor to avoid affecting the user's operating experience in the game.

[0032] A control method for a mobile terminal provided by an embodiment of the present application receives a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal. When the target application is in a preset application whitelist, the running request is responded to, the target application is run in the foreground of the mobile terminal, and a power saving level setting function of the central processing unit is turned off. The power saving level setting function is used to set the central processing unit to different levels of power saving states. The power consumption and processing delay of the central processing unit in different levels of power saving states are different. Therefore, by setting a preset application whitelist, the power saving level setting function of the central processing unit can be turned off for different application scenarios, thereby improving the response speed in some application scenarios and improving the user experience.

[0033] See also Figure 2 , Figure 2A flow chart of a control method for a mobile terminal provided by another embodiment of the present application is shown. The method is applied to the above-mentioned mobile terminal, which includes a central processing unit. Figure 2 The process shown is described in detail, and the control method of the mobile terminal may specifically include the following steps:

[0034] Step S210: receiving a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal.

[0035] Step S220: When the target application is in the preset application whitelist, respond to the run request, run the target application in the foreground of the mobile terminal, and turn off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different.

[0036] For the detailed description of step S210 to step S220, please refer to step S110 to step S120, which will not be repeated here.

[0037] See also Figure 3 , Figure 3 This application shows Figure 2 The flowchart of step S220 of the control method of the mobile terminal shown in FIG. Figure 3 The process shown is described in detail, and the method may specifically include the following steps:

[0038] Step S221: When the target application is in the preset application whitelist, respond to the run request and run the target application in the foreground of the mobile terminal.

[0039] In this embodiment, when the target application is in the preset application whitelist, the target application can be run and displayed in the foreground of the mobile terminal in response to the run request. In some embodiments, if the target application that the mobile terminal runs and displays in the foreground is an application that is started by the mobile terminal and runs and displayed in the foreground of the mobile terminal, the mobile terminal can run and display the homepage of the target application in the foreground, and then update the display interface of the target application based on the self-jump mode of the target application or the manual operation mode of the user; if the target application that the mobile terminal runs and displays in the foreground is an application that switches from the background of the mobile terminal to the foreground of the mobile terminal to run and display, the mobile terminal can run and display the display interface of the target application when it last switched from the foreground to the background, and then update the display interface of the target application based on the self-jump mode of the target application or the manual operation mode of the user, which is not limited here.

[0040] Step S222: Detect the current display interface of the target application.

[0041] In this embodiment, the current display interface of the target application can be detected during the process of running and displaying the target application in the foreground of the mobile terminal. In some embodiments, the current display interface of the target application can be detected in real time during the process of running and displaying the target application in the foreground of the mobile terminal, the current display interface of the target application can be detected at a preset time, the current display interface of the target application can be detected at a preset time point, or the current display interface of the target application can be detected in other preset ways. Optionally, in this embodiment, the current display interface of the target application can be detected in real time to improve the accuracy of the current display interface of the target application. In some embodiments, the current display interface of the target application can be detected using the ActivityManager service, which is not limited here.

[0042] Step S223: When the current display interface of the target application meets the specified scenario interface, the power saving level setting function of the central processor is turned off.

[0043] In some embodiments, the mobile terminal is pre-set and stored with a specified scene interface, and the specified scene interface is used as a basis for judging the current display interface of the target application. Therefore, in this embodiment, after detecting the current display interface of the target application, the current display interface of the target application can be compared with the specified scene interface to determine whether the current display interface of the target application satisfies the specified scene interface, wherein when the comparison result indicates that the current display interface of the target application satisfies the specified scene interface, the power saving level setting function of the central processor can be turned off, and when the comparison result indicates that the current display interface of the target application does not satisfy the specified scene interface, the power saving level setting function of the central processor can be turned on, or the power saving level setting function of the central processor can be maintained, which is not limited here.

[0044] See also Figure 4 , Figure 4 This application shows Figure 3 The flowchart of step S223 of the control method of the mobile terminal shown in FIG. Figure 4 The process shown is described in detail, and the method may specifically include the following steps:

[0045] Step S2231: When the current display interface of the game application is a game operation interface, determine whether the current display interface of the game application satisfies a specified scene interface.

[0046] In this embodiment, the target application may be a game application. In some implementations, after detecting the current display interface of the game application, it may be detected whether the current display interface of the game application is a game operation interface, wherein, when it is detected that the current display interface of the game application is a game operation interface, it indicates that the target application requires a faster processing speed in the current display interface to quickly respond to user operations, and then it may be determined that the current display interface of the game application satisfies the specified scene interface; when it is detected that the current display interface of the game application is not a game operation interface, it indicates that the target application does not require a faster processing speed in the current display interface to save power consumption of the mobile terminal, and then it may be determined that the current display interface of the game application does not satisfy the specified scene interface. Among them, the game operation interface may be an operation interface corresponding to a fighting scene, an operation interface corresponding to a level-breaking scene, etc., which is not limited here.

[0047] Step S2232: Turn off the power saving level setting function of the central processing unit.

[0048] In some implementations, when it is determined that the current display interface of the game application meets the specified scene interface, the power saving level setting function of the central processing unit can be turned off.

[0049] Step S230: receiving a closing request of the target application, wherein the closing request is used to request to switch the target application to the background operation of the mobile terminal, or to stop the operation of the target application.

[0050] In this embodiment, when the mobile terminal turns off the power saving level setting function of the central processor and runs and displays the target application in the foreground, it can receive a closing request of the target application, wherein the closing request is used to request to switch the target application from the foreground running of the mobile terminal to the background running of the mobile terminal, or the closing request is used to request to stop running the target application.

[0051] In some embodiments, the mobile terminal receiving a request to close the target application may include: the mobile terminal receiving a request to close the target application input by the user through voice, for example, the mobile terminal receiving "Close XX application" input by the user through voice; the mobile terminal receiving a request to close the target application input by the user through a text input box, for example, the mobile terminal receiving "Close XX application" input by the user through the text input box; the mobile terminal receiving a click operation of the user on the HOME key, etc., which are not limited here.

[0052] Step S240: In response to the shutdown request, the target application is switched to the background operation of the mobile terminal, and the power saving level setting function is enabled.

[0053] In this embodiment, when the mobile terminal receives a closing request for the target application, it can respond to the closing request and turn on the power saving level setting function of the central processor. That is, when the mobile terminal receives a closing request for the target application, the target application running in the foreground of the mobile terminal can be switched to the background of the mobile terminal, and the power saving level setting function of the central processor can be turned on, so that after the mobile terminal closes the target application, the power saving level setting function of the central processor can be restored to reduce the power consumption and power consumption of the mobile terminal.

[0054] Step S250: responding to the shutdown request, stopping the target application and enabling the power saving level setting function.

[0055] In this embodiment, when the mobile terminal receives a closing request for the target application, it can respond to the closing request and turn on the power saving level setting function of the central processor. That is, when the mobile terminal receives a closing request for the target application, it can stop running the target application and turn on the power saving level setting function of the central processor, so that after the mobile terminal closes the target application, it can resume turning on the power saving level setting function of the central processor, thereby reducing the power consumption and electricity consumption of the mobile terminal.

[0056] Step S260: When the target application is not in the preset application whitelist, keep the power saving level setting function enabled.

[0057] In this embodiment, the mobile terminal may enable the power saving level setting function of the central processing unit by default to avoid repeated opening and closing of the power saving level setting function of the central processing unit, thereby reducing user operations and improving user experience.

[0058] In some embodiments, after receiving a request to run the target application, the target application can be compared with multiple applications in a preset application whitelist to determine whether the target application is consistent with / matches any of the multiple applications in the preset application whitelist, wherein when the judgment result indicates that the target application is consistent with / matches any of the multiple applications in the preset application whitelist, it can be determined that the target application is in the preset application whitelist, and when the judgment result indicates that the target application is inconsistent with / does not match any of the multiple applications in the preset application whitelist, it can be determined that the target application is not in the preset application whitelist.

[0059] For example, when the multiple applications in the preset application whitelist include: a first application, a second application, a third application, and a fourth application, then after receiving a running request of the target application, the target application can be compared with the first application, the second application, the third application, and the fourth application, respectively, to determine whether the target application is consistent / matched with any one of the first application, the second application, the third application, and the fourth application. When the target application matches any one of the first application, the second application, the third application, and the fourth application, it can be determined that the target application is in the preset application whitelist. When the target application is inconsistent / mismatched with the first application, the second application, the third application, and the fourth application, it can be determined that the target application is not in the preset application whitelist.

[0060] Among them, in this embodiment, when the judgment result indicates that the target application is not in the preset application whitelist, the power saving level setting function of the central processor can be kept turned on. That is, when the judgment result indicates that the target application is not in the preset application whitelist, the target application can be responded to in response to the running request of the target application, and the target application can be run and displayed in the foreground of the mobile terminal, and the power saving level setting function of the central processor can be kept turned on. In some embodiments, since the target application running and displayed in the foreground of the mobile terminal is not in the preset application whitelist, it indicates that there is no need for fast computing response during the running and display of the target application. Therefore, in order to reduce the power consumption of the mobile terminal, the power saving level setting function of the central processor can be kept turned on. At this time, the mobile terminal may not do anything with the switch of the power saving level setting function of the central processor.

[0061] Another embodiment of the present application provides a control method for a mobile terminal, which receives a run request of a target application, wherein the run request is used to request that the target application be run in the foreground of the mobile terminal, and when the target application is in a preset application whitelist, responds to the run request, runs the target application in the foreground of the mobile terminal, and turns off a power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different. Receive a close request of the target application, wherein the close request is used to request that the target application be switched to the background of the mobile terminal, or to stop the target application, responds to the close request, switches the target application to the background of the mobile terminal, and turns on the power saving level setting function, responds to the close request, stops the target application, and turns on the power saving level setting function, and when the target application is not in the preset application whitelist, keeps the power saving level setting function turned on. Compared to Figure 1 The control method of the mobile terminal shown in the present embodiment also turns on the power saving level setting function when receiving a shutdown request of the target application, so as to select different functions for different applications and improve the user experience. In addition, the present embodiment also turns on the power saving level setting function by default, so as to maintain the power saving level setting function when the target application is not in the preset application whitelist, so as to avoid repeatedly setting the function on and off.

[0062] See also Figure 5 , Figure 5 A flow chart of a control method for a mobile terminal provided by another embodiment of the present application is shown. The method is applied to the above-mentioned mobile terminal, which includes a central processing unit. Figure 5 The process shown is described in detail, and the control method of the mobile terminal may specifically include the following steps:

[0063] Step S310: receiving a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal.

[0064] The specific description of step S310 can be found in step S110 , which will not be repeated here.

[0065] Step S320: Obtain the application type of the target application.

[0066] In this embodiment, after receiving the running request of the target application, the application of the target application can be obtained. In some implementations, after receiving the running request of the target application, the package name of the target application can be obtained, and based on the package name of the target application, the application type of the target application can be obtained.

[0067] Step S330: When the application type is a game type, determine whether the target application is in a preset application whitelist.

[0068] Among them, it can be considered that game applications require faster processing speed and response speed, that is, when game applications are running in the foreground, the power saving level setting function of the central processing unit needs to be turned off. Therefore, in some embodiments, when obtaining the application type of the target application, it can be determined whether the application type of the target application is a game type, wherein, when the judgment result indicates that the application type of the target application is a game type, it can be determined that the target application is in the preset application whitelist, and when the judgment result indicates that the application type of the target application is not a game type, it can be determined that the target application is not in the preset application whitelist, or the target application can be further judged by other means, which is not limited here.

[0069] Step S340: When the target application is in the preset application whitelist, respond to the run request, run the target application in the foreground of the mobile terminal, and turn off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different.

[0070] For the detailed description of step S340, please refer to step S120, which will not be repeated here.

[0071] Another embodiment of the present application provides a control method for a mobile terminal, which receives a request to run a target application, wherein the request to run is used to request that the target application be run in the foreground of the mobile terminal, obtains the application type of the target application, and when the application type is a game type, determines whether the target application is in a preset application whitelist, and when the target application is in the preset application whitelist, responds to the request to run the target application in the foreground of the mobile terminal, and turns off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different. Compared to Figure 1 The control method of the mobile terminal shown in the figure, in this embodiment, also turns off the power saving level setting function of the central processing unit when the application type of the target application is a game type, so as to quickly respond to user operations in the game scene and improve the user experience.

[0072] See also Figure 6 , Figure 6 A flow chart of a control method for a mobile terminal provided by another embodiment of the present application is shown. The method is applied to the above-mentioned mobile terminal, which includes a central processing unit. Figure 6 The process shown is described in detail, and the control method of the mobile terminal may specifically include the following steps:

[0073] Step S410: receiving a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal.

[0074] For the detailed description of step S410, please refer to step S110, which will not be repeated here.

[0075] Step S420: When the target application is in the preset application whitelist, respond to the run request and detect the display status of the touch screen.

[0076] In this embodiment, when the target application is in the preset application whitelist, the startup request can be responded to and the display state of the touch screen can be detected. In some implementations, when the target application is in the preset application whitelist, the startup request can be responded to and the touch screen can be detected whether it is in a landscape display state or a portrait display state. Taking the Android system as an example, the Android system can determine whether the touch screen is in a landscape display state or a portrait display state by using the Configuration class, wherein Configuration.ORIENTATION_LANDSCAPE indicates that the touch screen is in a landscape display state, and Configuration.ORIENTATION_PORTRAIT indicates that the touch screen is in a portrait display state.

[0077] Step S430: When it is detected that the display state of the touch screen is the horizontal screen display state, turn off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different.

[0078] In some embodiments, when the detection result indicates that the display state of the touch screen is a horizontal display state, it indicates that the user is more likely to operate the target application. In this case, the power saving level setting function of the central processor can be turned off to normally respond to the user's touch operation and improve the user experience.

[0079] Step S440: when it is detected that the display state of the touch screen switches from the horizontal display state to the vertical display state, the power saving level setting function of the central processing unit is enabled.

[0080] In some embodiments, when the detection result indicates that the display state of the touch screen is a vertical display state, indicating that the user is less likely to operate the target application, the power saving level setting function of the central processor can be enabled to reduce the power consumption of the mobile terminal and improve the user experience.

[0081] Yet another embodiment of the present application provides a control method for a mobile terminal, which receives a request to run a target application, wherein the request to run is used to request that the target application be run in the foreground of the mobile terminal. When the target application is in a preset application whitelist, the method responds to the request to run, detects the display state of the touch screen, and when it is detected that the display state of the touch screen is a horizontal display state, turns off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different. When it is detected that the display state of the touch screen switches from a horizontal display state to a vertical display state, the power saving level setting function of the central processing unit is turned on. Compared to Figure 1 The control method of the mobile terminal shown in the figure, this embodiment also controls the opening and closing of the power saving level setting function according to the horizontal screen display state or the vertical screen display state of the mobile terminal, thereby improving the rationality of the opening and closing of the power saving level setting function.

[0082] See also Figure 7 , Figure 7 The module block diagram of the control device 200 of the mobile terminal provided in the embodiment of the present application is shown. The control device 200 of the mobile terminal is applied to the above-mentioned mobile terminal, and the mobile terminal includes a central processing unit. Figure 7 As shown in the block diagram, the control device 200 of the mobile terminal includes: an operation request receiving module 210 and a function closing module 220, wherein:

[0083] The running request receiving module 210 is used to receive a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal.

[0084] The function shutdown module 220 is used to respond to the running request when the target application is in the preset application whitelist, run the target application in the foreground of the mobile terminal, and turn off the power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different.

[0085] Furthermore, the function closing module 220 includes: an application running submodule, a current display interface detection submodule and a first function closing submodule, wherein:

[0086] The application program running submodule is used to respond to the running request and run the target application program in the foreground of the mobile terminal when the target application program is in a preset application whitelist.

[0087] The current display interface detection submodule is used to detect the current display interface of the target application.

[0088] The first function closing submodule is used to close the power saving level setting function of the central processing unit when the current display interface of the target application meets the specified scene interface.

[0089] Furthermore, the first function closing submodule includes: a current display interface determination unit and a function closing unit, wherein:

[0090] The current display interface determination unit is used to determine whether the current display interface of the game application satisfies a specified scene interface when the current display interface of the game application is a game operation interface.

[0091] The function shut down unit is used to shut down the power saving level setting function of the central processing unit.

[0092] Furthermore, the function closing module 220 includes: a display state detection submodule and a second function closing submodule, wherein:

[0093] The display status detection submodule is used to detect the display status of the touch screen in response to the running request when the target application is in the preset application whitelist.

[0094] The second function closing submodule is used to close the power saving level setting function of the central processing unit when it is detected that the display state of the touch screen is the horizontal screen display state.

[0095] Furthermore, the function closing module 220 includes: a function opening submodule, wherein:

[0096] The function enabling submodule is used to enable the power saving level setting function of the central processing unit when it is detected that the display state of the touch screen switches from the horizontal screen display state to the vertical screen display state.

[0097] Furthermore, the mobile terminal turns on the power saving level setting function by default, and the control device 200 of the mobile terminal further includes: a function maintaining module, wherein:

[0098] The function maintaining module is used to keep the power saving level setting function enabled when the target application is not in the preset application whitelist.

[0099] Furthermore, the control device 200 of the mobile terminal further includes: a shutdown request receiving module, a first function starting module and a second function starting module, wherein:

[0100] The closing request receiving module is used to receive a closing request of the target application, wherein the closing request is used to request to switch the target application to the background operation of the mobile terminal, or to stop the operation of the target application.

[0101] The first function activation module is used to respond to the shutdown request, switch the target application to the background operation of the mobile terminal, and activate the power saving level setting function.

[0102] The second function activation module is used to respond to the shutdown request, stop running the target application, and activate the power saving level setting function.

[0103] Furthermore, the control device 200 of the mobile terminal further includes: an application type acquisition module and an application program determination module, wherein:

[0104] The application type acquisition module is used to acquire the application type of the target application program.

[0105] The application determination module is used to determine whether the target application is in a preset application whitelist when the application type is a game type.

[0106] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0107] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0108] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0109] See also Figure 8 , which shows a structural block diagram of a mobile terminal 100 provided in an embodiment of the present application. The mobile terminal 100 may be a mobile terminal such as a smart phone, a tablet computer, an e-book, etc. that can run applications. The mobile terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.

[0110] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire mobile terminal 100, and executes various functions and processes data of the mobile terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 110 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0111] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the mobile terminal 100 during use.

[0112] See also Fig. 9 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 300 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0113] The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 310 can be compressed, for example, in an appropriate form.

[0114] In summary, the control method, device, mobile terminal and storage medium of the mobile terminal provided in the embodiments of the present application receive a running request of a target application, wherein the running request is used to request that the target application be run in the foreground of the mobile terminal. When the target application is in a preset application whitelist, the running request is responded to, the target application is run in the foreground of the mobile terminal, and the power saving level setting function of the central processing unit is turned off, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states. The power consumption and processing delay of the central processing unit in different levels of power saving states are different. Therefore, by setting a preset application whitelist, the power saving level setting function of the central processing unit can be turned off for different application scenarios, thereby improving the response speed in some application scenarios and improving the user experience.

[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A control method for a mobile terminal, characterized in that: Applied to a mobile terminal, the mobile terminal includes a central processing unit, the mobile terminal turns on the power saving level function of the central processing unit by default, and the method includes: Receiving a running request of a target application, wherein the running request is used to request that the target application be started and run and displayed in the foreground of the mobile terminal, or that the target application be switched from the background of the mobile terminal to the foreground to run and display; When the target application is in a preset application whitelist, responding to the running request, running the target application in the foreground of the mobile terminal, wherein the target application is a game application; Detecting the current display interface of the game application; When the current display interface of the game application is a game operation interface, it is determined that the game application needs to quickly respond to user operations under the current display interface, and then it is determined that the current display interface of the game application meets the specified scene interface, wherein the game operation interface includes an operation interface corresponding to a fighting scene or an operation interface corresponding to a level-breaking scene; Turning off a power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different; When the target application is not in the preset whitelist, the target application is run and displayed in the foreground of the mobile terminal, and the power saving level setting function of the central processor is kept turned on.

2. The method according to claim 1, characterized in that When the target application is in the preset application whitelist, responding to the running request, running the target application in the foreground of the mobile terminal, and turning off the power saving level setting function of the central processor, further comprising: Receiving a closing request of the target application, wherein the closing request is used to request to switch the target application to the background operation of the mobile terminal, or to stop the operation of the target application; In response to the shutdown request, switching the target application to background operation of the mobile terminal and enabling the power saving level setting function; or In response to the shutdown request, the target application is stopped and the power saving level setting function is enabled.

3. The method according to claim 1 or 2, characterized in that: When the target application is in the preset application whitelist, responding to the running request, running the target application in the foreground of the mobile terminal, and before turning off the power saving level setting function of the central processor, the method further includes: Obtaining an application type of the target application; When the application type is a game type, it is determined that the target application program is in a preset application whitelist.

4. The method according to claim 1 or 2, characterized in that: The mobile terminal includes a touch screen, and when the target application is in a preset application whitelist, responding to the running request, running the target application in the foreground of the mobile terminal, and turning off the power saving level setting function of the central processor, includes: When the target application is in the preset application whitelist, responding to the running request, detecting the display state of the touch screen; When it is detected that the display state of the touch screen is a horizontal screen display state, the power saving level setting function of the central processing unit is turned off.

5. The method according to claim 4, characterized in that After the power saving level setting function of the central processor is turned off when it is detected that the display state of the touch screen is the horizontal screen display state, the method further includes: When it is detected that the display state of the touch screen switches from the horizontal screen display state to the vertical screen display state, the power saving level setting function of the central processing unit is enabled.

6. A control device for a mobile terminal, characterized in that: Applied to a mobile terminal, the mobile terminal includes a central processing unit, the mobile terminal turns on the power saving level function of the central processing unit by default, and the device includes: A running request receiving module, used for receiving a running request of a target application, wherein the running request is used for requesting that the target application be started and run and displayed in the foreground of the mobile terminal, or that the target application be switched from the background of the mobile terminal to the foreground to run and display; an application running submodule, for responding to the running request and running the target application in the foreground of the mobile terminal when the target application is in a preset application whitelist, wherein the target application is a game application; A current display interface detection submodule, used to detect the current display interface of the game application; a current display interface determination unit, for determining, when the current display interface of the game application is a game operation interface, that the game application needs to quickly respond to user operations under the current display interface, and then determining that the current display interface of the game application satisfies a specified scene interface, wherein the game operation interface includes an operation interface corresponding to a fighting scene or an operation interface corresponding to a level-breaking scene; a function shut-down unit, used to shut down a power saving level setting function of the central processing unit, wherein the power saving level setting function is used to set the central processing unit to different levels of power saving states, and the power consumption and processing delay of the central processing unit in different levels of power saving states are different; The function maintaining module is used to run and display the target application in the foreground of the mobile terminal when the target application is not in the preset white list, and to keep the power saving level setting function of the central processor turned on.

7. A mobile terminal, characterized in that: The method comprises a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 5.