CN109739642B - CPU frequency modulation method and device, mobile terminal and computer readable storage medium - Google Patents

CPU frequency modulation method and device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109739642B
CN109739642B CN201811546340.9A CN201811546340A CN109739642B CN 109739642 B CN109739642 B CN 109739642B CN 201811546340 A CN201811546340 A CN 201811546340A CN 109739642 B CN109739642 B CN 109739642B
Authority
CN
China
Prior art keywords
application
interface
new activity
cold start
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811546340.9A
Other languages
Chinese (zh)
Other versions
CN109739642A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811546340.9A priority Critical patent/CN109739642B/en
Publication of CN109739642A publication Critical patent/CN109739642A/en
Application granted granted Critical
Publication of CN109739642B publication Critical patent/CN109739642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a CPU frequency modulation method and device based on interface layout analysis, a mobile terminal and a computer readable storage medium, which are applied to application cold start of the mobile terminal. Comprising the following steps: after the application cold start action is monitored, the CPU main frequency is pulled up; monitoring the switching change of an application Activity application interface, monitoring the starting and drawing completion of a new Activity application interface; analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface; and ending pulling up the CPU main frequency when the attribute of the new Activity application interface is an application main interface. According to the embodiment of the invention, the CPU frequency modulation efficiency of the application cold start can be improved, the purposes of quick application cold start and most saving power consumption are achieved, CPU resources are reasonably used, and the user experience is improved.

Description

CPU frequency modulation method and device, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a CPU frequency modulation method and apparatus based on interface layout analysis, a mobile terminal, and a computer readable storage medium.
Background
Currently, mobile terminals are increasingly popular, and users using the mobile terminals are more and more frequent, so that the mobile terminals are one of the indispensable mobile devices for the users.
Currently, in order to optimize the cold start loading speed of an APP (Application), including game applications, a mobile terminal manufacturer often chooses to dynamically pull up the main frequency of a CPU (Central Processing Unit ) of the mobile terminal for a fixed time when detecting that the Application starts to be cold start loaded, so as to increase the loading speed of the Application cold start.
In the above scheme, the duration of pulling up the main frequency of the CPU is fixed, and because the duration of cold start of each different application is different, even if the memory pressure of the mobile terminal, the load of the CPU, or the new and old versions of the application are different during the same application cold start, even if the durations of the advertisement pages randomly played during the application start are different, the cold start duration is different, so that the following problems may occur:
if the duration of pulling up the main frequency of the CPU is too long, after the application of cold start is completed, the main frequency of the CPU is still kept at a higher frequency for a period of time, so that the loss of power consumption is caused; or if the duration of pulling up the main frequency of the CPU is too short, the application cold start is not completed yet, and the main frequency of the CPU is reduced, so that the problem of slow cold start speed is caused, and the user experience is poor.
Disclosure of Invention
In view of this, the CPU frequency modulation method and apparatus, the mobile terminal, and the computer readable storage medium based on the interface layout analysis provided by the embodiments of the present invention can improve the CPU frequency modulation efficiency of application cold start, achieve the purposes of quick application cold start and most power consumption, and reasonably use CPU resources, and improve user experience.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the embodiment of the invention, a CPU frequency modulation method based on interface layout analysis is provided, and the method is applied to application cold start of a mobile terminal, and comprises the following steps:
after the application cold start action is monitored, the CPU main frequency is pulled up;
monitoring the switching change of the Activity application interface, and monitoring the starting and drawing completion of a new Activity application interface;
analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface;
and ending pulling up the CPU main frequency when the attribute of the new Activity application interface is an application main interface.
In one possible design, after the monitoring of the application cold start action, before pulling up the CPU main frequency, the method further includes: the application cold start action is monitored.
In one possible design, the step of raising the CPU main frequency after the step of monitoring the application of the cold start action includes:
and immediately pulling up the CPU main frequency to the designated frequency after the application cold start action is monitored, and maintaining the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored.
In one possible design, after the application cold start action is monitored, determining the application type of the cold start according to the stored installed application type, wherein the application type comprises a three-party application of a game application and a non-game application.
In one possible design, when determining that the application type of the cold start is a three-way application of a non-game application, the analyzing and drawing the structural elements of the completed layout of the new Activity application interface, determining the attribute of the new Activity application interface includes:
analyzing the structural elements of the drawn new Activity application interface layout:
if a Button control, a search box control or a sliding scroll control which can be clicked exists in the structural elements in the layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface, and determining that the cold start of the application is completed;
And if the structural elements in the layout of the new Activity application interface only comprise the picture display control, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is not completed.
In one possible design, when the application type of the cold start is determined to be a game application, the analyzing and drawing the structural elements of the layout of the completed new Activity application interface, determining the attribute of the new Activity application interface includes:
performing interface screenshot on the drawn new Activity application interface;
identifying and judging whether feature characters with login or similar functions exist in the screenshot or not:
if the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
if the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the cold start of the game application is not completed.
In one possible design, when the attribute of the new Activity application interface is the application main interface, ending the raising of the CPU main frequency, including: and determining that the application cold start is finished according to the attribute of the new Activity application interface as an application main interface, and immediately finishing pulling up the CPU main frequency to the designated frequency.
According to another aspect of the embodiment of the present invention, there is provided a CPU fm apparatus based on interface layout analysis, including: the device comprises a monitoring and adjusting module and an analysis and judgment module, wherein:
the monitoring and adjusting module is used for monitoring the CPU main frequency after the application cold start action, determining that the application cold start is finished when the attribute of the new Activity application interface is the application main interface, and ending the CPU main frequency; monitoring the switching change of the application Activity application interface, monitoring the starting and drawing completion of the new Activity application interface;
the analysis judging module is used for analyzing the structural elements of the drawn layout of the new Activity application interface and judging the attribute of the new Activity application interface.
According to another aspect of an embodiment of the present invention, there is provided a mobile terminal including: the CPU frequency modulation method based on the interface layout analysis comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the computer program realizes the steps of the CPU frequency modulation method based on the interface layout analysis provided by the embodiment of the invention when being executed by the processor.
According to another aspect of the embodiment of the present invention, a computer readable storage medium is provided, where a program of a CPU tuning method based on interface layout analysis is stored, where the program of the CPU tuning method based on interface layout analysis implements the steps of the CPU tuning method based on interface layout analysis provided by the embodiment of the present invention when the program is executed by a processor.
Compared with the related art, the CPU frequency modulation method and device based on interface layout analysis, the mobile terminal and the computer readable storage medium are applied to the mobile terminal, and after the application of a cold start action is monitored, the CPU main frequency is increased; monitoring the switching change of an application Activity application interface, monitoring the starting and drawing completion of a new Activity application interface; analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface; and ending pulling up the CPU main frequency when the attribute of the new Activity application interface is an application main interface. Through the technical means, the CPU frequency modulation efficiency of the application cold start can be improved, the purposes of quick application cold start, minimum power consumption and reasonable use of CPU resources are achieved, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a CPU frequency modulation method based on interface layout analysis according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a CPU fm device based on interface layout analysis according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a CPU frequency modulation method based on interface layout analysis according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear and obvious, the invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the particular embodiments described herein are illustrative only and are not limiting upon the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the foregoing drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a 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 fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 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.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
In an Android (Android) operating system of a mobile terminal, a plurality of Android components are included, wherein Activity is one of four most basic and common components (Activity Service Provider, broadcastReceiver broadcast receiver) in the Android components.
Activity is an application component that provides a screen that a user can use to interact to accomplish a task. All operations in Activity are closely related to the user, a component responsible for interacting with the user, and designated controls can be displayed through setContentView (View).
In an Android application, an Activity is usually a single screen, on which controls can be displayed and events of the user can be monitored and processed to respond. The activities communicate with each other through the Intent.
The invention provides a specific application scheme based on an Activity component.
Please refer to fig. 3. The embodiment of the invention provides a CPU frequency modulation method based on interface layout analysis, which is applied to application cold start of a mobile terminal, and comprises the following steps:
step S1, after the application of a cold start action is monitored, the CPU main frequency is pulled up;
s2, monitoring the switching change of the Activity application interface, monitoring the starting and drawing completion of a new Activity application interface;
s3, analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface;
and S4, finishing pulling up the CPU main frequency when the attribute of the new Activity application interface is the application main interface.
Further, in the step S1, before the step of pulling up the main frequency of the CPU after the step of monitoring that the cold start action is applied, the method further includes: and monitoring application cold start actions, and monitoring whether the application performs cold start.
Further, in the step S1, after the application of the cold start action is monitored, the CPU main frequency is raised, including:
step S11, immediately pulling up the CPU main frequency to a designated frequency after the application cold start action is monitored, and maintaining the CPU main frequency at the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored; wherein the specified frequency is preset by the mobile terminal according to the requirement;
And step S12, after the application cold start action is monitored, determining the application type of cold start according to the stored installed application type, wherein the application type comprises a game application and a non-game application (namely a third party application except the game application).
Further, in the step S3, the structural elements of the layout of the new Activity application interface after the drawing are analyzed, and the attribute of the new Activity application interface is determined; comprising the following steps:
step S31, when the application type of the cold start is determined to be the three-party application of the non-game application:
analyzing structural elements of the drawn layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface if a large number of structural elements of the layout such as Button control, search box control or sliding scroll control (ListView, recycleView) which can be clicked exist in the new Activity application interface, and determining that the application cold start is finished;
if the new Activity application interface is analyzed to simply contain the picture display control, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is still in progress and is not completed.
Step S32, when the application type of the cold start is determined to be a game application:
performing interface screenshot on the drawn new Activity application interface;
and identifying and judging whether feature characters with a Login function or similar functions exist in the screenshot by utilizing an OCR image character identification technology, wherein the feature characters with the Login function or similar functions comprise Login, login, entering and the like.
If the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
if the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the cold start of the game application is still in progress and is not completed.
Further, in the step S4, when the attribute of the new Activity application interface is an application main interface, the pulling up of the CPU main frequency is ended; comprising the following steps:
and when the attribute of the new Activity application interface is an application main interface, determining that the application cold start is finished, immediately finishing pulling up the CPU main frequency to a designated frequency, and reducing the CPU main frequency to a normal use frequency, wherein the normal use frequency is preset by the mobile terminal according to requirements.
The CPU frequency modulation method based on interface layout analysis is applied to application cold start of a mobile terminal, and after the application cold start action is monitored, the CPU main frequency is pulled up; monitoring the switching change of an application Activity application interface, monitoring the starting and drawing completion of a new Activity application interface; analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface; and ending pulling up the CPU main frequency when the attribute of the new Activity application interface is an application main interface. Through the technical means, the CPU frequency modulation efficiency of the application cold start can be improved, the purposes of quick application cold start, minimum power consumption and reasonable use of CPU resources are achieved, and the user experience is improved.
Please refer to fig. 4. The embodiment of the invention provides a CPU frequency modulation device based on interface layout analysis, which is applied to application cold start of a mobile terminal, and comprises the following steps: a monitoring and adjusting module 10, an analysis and judgment module 20, wherein:
the monitoring and adjusting module 10 is configured to monitor the pulling up of the CPU main frequency after the application cold start action, determine that the application cold start has been completed when the attribute of the new Activity application interface is the application main interface, and end the pulling up of the CPU main frequency; monitoring the switching change of the application Activity application interface, monitoring the starting and drawing completion of the new Activity application interface;
The analysis and judgment module 20 is configured to analyze the structural elements of the drawn layout of the new Activity application interface, and judge the attribute of the new Activity application interface.
Further, the monitoring and adjusting module 10 is configured to monitor the pulling up of the CPU main frequency after the application of the cold start action, and includes:
pulling up the CPU main frequency to a designated frequency immediately after the application cold start action is monitored, and maintaining the CPU main frequency at the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored; the specified frequency is preset by the mobile terminal according to requirements.
Further, the analysis and judgment module 20 is further configured to: after the application cold start action, determining the application type of the cold start according to the stored installed application type, wherein the application type comprises a game application and a non-game application (namely, a third party application except the game application).
Further, the analysis and judgment module 20 is configured to analyze the structural elements of the drawn layout of the new Activity application interface, and judge the attribute of the new Activity application interface; comprising the following steps:
s31, when the application type of the cold start is determined to be the three-party application of the non-game application:
Analyzing structural elements of the drawn layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface when a large number of structural elements of the layout such as Button control, search box control, sliding scroll control (ListView, recycleView) and the like which can be clicked exist in the new Activity application interface, and determining that the application cold start is finished;
when detecting that the new Activity application interface simply comprises a picture display control, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is still in progress and is not completed.
S32, when the application type of the cold start is determined to be the game application:
performing interface screenshot on the drawn new Activity application interface;
identifying and judging whether feature characters with login or similar functions exist in the screenshot by utilizing an OCR image character identification technology;
if the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
if the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the cold start of the game application is still in progress and is not completed.
Further, the monitoring and adjusting module 10 is configured to end pulling up the CPU main frequency when the attribute of the new Activity application interface is the application main interface; comprising the following steps:
and when the attribute of the new Activity application interface is an application main interface, determining that the application cold start is finished, immediately finishing pulling up the CPU main frequency to a designated frequency, and reducing the CPU main frequency to a normal use frequency, wherein the normal use frequency is preset by the mobile terminal according to requirements.
The CPU frequency modulation device based on interface layout analysis is applied to application cold start of a mobile terminal, after an application cold start action is monitored by a monitoring and adjusting module, a CPU main frequency is pulled up, switching change of an application Activity application interface is monitored, and starting and drawing of a new Activity application interface are monitored; the analysis judging module analyzes the structural elements of the drawn layout of the new Activity application interface and judges the attribute of the new Activity application interface; and when the monitoring and adjusting module is an application main interface according to the attribute of the new Activity application interface, ending pulling up the CPU main frequency. Through the technical means, the CPU frequency modulation efficiency of the application cold start can be improved, the purposes of quick application cold start, minimum power consumption and reasonable use of CPU resources are achieved, and the user experience is improved.
It should be noted that the above device embodiments and method embodiments belong to the same concept, the specific implementation process of the device embodiments is detailed in the method embodiments, and technical features in the method embodiments are applicable correspondingly in the device embodiments, which are not repeated herein.
The technical scheme of the present invention is described in further detail below with reference to examples.
Please refer to fig. 5. The embodiment of the invention provides a CPU frequency modulation method based on interface layout analysis, which is applied to application cold start of a mobile terminal, and comprises the following steps:
step S501, monitoring an application cold start action, and monitoring whether there is an application to perform cold start.
Step S502, immediately pulling up the CPU main frequency to a designated frequency after the application cold start action is monitored, and maintaining the CPU main frequency at the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored; the specified frequency is preset by the mobile terminal according to requirements.
Step S503, after the application cold start action is monitored, determining the application type of the cold start according to the stored installed application type.
Step S504, is the application type a game application? If not, the process proceeds to step S505, and if yes, the process proceeds to step S510.
Step S505, monitoring the switching change of the application Activity application interface, monitoring the starting of the new Activity application interface and finishing drawing.
And S506, analyzing the structural elements of the drawn new Activity application interface layout.
Step S507, is there a large number of structural elements of the layout such as Button control, search box control, or sliding scroll control (ListView, recycleView, etc.) that can be clicked in the new Activity application interface? If yes, go to step S508, otherwise go to step S509.
And step S508, judging that the attribute of the new Activity application interface is an application main interface when a large number of structural elements of the layout such as Button control, search box control, sliding scrolling control and the like which can be clicked exist in the new Activity application interface, and determining that the application cold start is finished. Proceed to step S516.
Step 509, when it is detected that the new Activity application interface simply includes a picture display control, determining that an attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that cold start of an application is still in progress and is not completed; the process advances to step S505.
And step S510, monitoring the switching change of the application Activity application interface, monitoring the starting of the new Activity application interface and finishing drawing.
And step S511, carrying out interface screenshot on the new Activity application interface after drawing.
Step S512, judging whether feature characters with 'login' or similar functions exist in the screenshot by utilizing an OCR image character recognition technology.
Step S513, is there a feature text of "login" or similar function in the screenshot? If so, the process proceeds to step S514, otherwise, the process proceeds to step S515.
Step S514, feature characters with login or similar functions exist in the screenshot, the attribute of the new Activity application interface is judged to be a game application main interface, and the completion of the cold start of the game application is determined; proceed to step S516.
Step S515, if no characteristic characters with 'login' or similar functions exist in the screenshot, judging that the attribute of the new Activity application interface is a start welcome page or an advertisement page, and determining that the cold start of the game application is still in progress and is not completed; proceed to step S510.
And step S516, when the attribute of the new Activity application interface is an application main interface, determining that the application cold start is finished, immediately finishing pulling up the CPU main frequency to a designated frequency, and reducing the CPU main frequency to a normal use frequency, wherein the normal use frequency is preset by the mobile terminal according to requirements.
In addition, an embodiment of the present invention further provides a mobile terminal, as shown in fig. 6, where the mobile terminal 900 includes: a memory 902, a processor 901 and one or more computer programs stored in said memory 902 and executable on said processor 901, said memory 902 and said processor 901 being coupled together by a bus system 903, said one or more computer programs when executed by said processor 901 to implement the following steps of a CPU tuning method based on interface layout analysis provided by an embodiment of the present invention:
step S1, after the application of a cold start action is monitored, the CPU main frequency is pulled up;
s2, monitoring the switching change of the Activity application interface, monitoring the starting and drawing completion of a new Activity application interface;
s3, analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface;
and S4, finishing pulling up the CPU main frequency when the attribute of the new Activity application interface is the application main interface.
Further, in the step S1, before the step of pulling up the main frequency of the CPU after the step of monitoring that the cold start action is applied, the method further includes: and monitoring application cold start actions, and monitoring whether the application performs cold start.
Further, in the step S1, after the application of the cold start action is monitored, the CPU main frequency is raised, including:
step S11, immediately pulling up the CPU main frequency to a designated frequency after the application cold start action is monitored, and maintaining the CPU main frequency at the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored; wherein the specified frequency is preset by the mobile terminal according to the requirement;
and step S12, after the application cold start action is monitored, determining the application type of cold start according to the stored installed application type, wherein the application type comprises a game application and a non-game application (namely a third party application except the game application).
Further, in the step S3, the structural elements of the layout of the new Activity application interface after the drawing are analyzed, and the attribute of the new Activity application interface is determined; comprising the following steps:
step S31, when the application type of the cold start is determined to be the three-party application of the non-game application:
analyzing structural elements of the drawn layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface if a large number of structural elements of the layout such as Button control, search box control or sliding scroll control (ListView, recycleView) which can be clicked exist in the new Activity application interface, and determining that the application cold start is finished;
If the new Activity application interface is analyzed to simply contain the picture display control, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is still in progress and is not completed.
Step S32, when the application type of the cold start is determined to be a game application:
performing interface screenshot on the drawn new Activity application interface;
and identifying and judging whether feature characters with a Login function or similar functions exist in the screenshot by utilizing an OCR image character identification technology, wherein the feature characters with the Login function or similar functions comprise Login, login, entering and the like.
If the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
if the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the cold start of the game application is still in progress and is not completed.
Further, in the step S4, when the attribute of the new Activity application interface is an application main interface, the pulling up of the CPU main frequency is ended; comprising the following steps:
And when the attribute of the new Activity application interface is an application main interface, determining that the application cold start is finished, immediately finishing pulling up the CPU main frequency to a designated frequency, and reducing the CPU main frequency to a normal use frequency, wherein the normal use frequency is preset by the mobile terminal according to requirements.
The method disclosed in the above embodiment of the present invention may be applied to the processor 901 or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of integrated logic circuits or software in hardware in the processor 901. The processor 901 may be a general purpose processor, DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 901 may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the invention can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium in a memory 902, and the processor 901 reads information in the memory 902, in combination with its hardware, to perform the steps of the method as described above.
It will be appreciated that the memory 902 of embodiments of the invention can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The nonvolatile Memory may be Read-Only Memory (ROM), programmable Read-Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read-Only Memory (EPROM), electrically Erasable Read-Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic Random Access Memory), flash Memory (Flash Memory) or other Memory technology, compact disc Read-Only Memory (CD-ROM, compact Disk Read-Only Memory), digital versatile disc (DVD, digital Video Disk) or other optical disc storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices; volatile memory can be random access memory (RAM, random Access Memory), many forms of RAM being available by way of example and not limitation, such as static random access memory (SRAM, static Random Access Memory), static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described by embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be noted that the foregoing mobile terminal embodiments and the method embodiments belong to the same concept, the specific implementation process of the foregoing mobile terminal embodiments is detailed in the method embodiments, and technical features in the method embodiments are correspondingly applicable to the mobile terminal embodiments, which are not repeated herein.
In addition, in an exemplary embodiment, the present invention further provides a computer storage medium, specifically a computer readable storage medium, for example, including a memory 902 storing a computer program, where the computer storage medium stores one or more programs of the CPU tuning method based on the interface layout analysis, where the one or more programs of the CPU tuning method based on the interface layout analysis are executed by the processor 901 to implement the following steps of the CPU tuning method based on the interface layout analysis provided in the embodiment of the present invention:
step S1, after the application of a cold start action is monitored, the CPU main frequency is pulled up;
s2, monitoring the switching change of the Activity application interface, monitoring the starting and drawing completion of a new Activity application interface;
s3, analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface;
And S4, finishing pulling up the CPU main frequency when the attribute of the new Activity application interface is the application main interface.
Further, in the step S1, before the step of pulling up the main frequency of the CPU after the step of monitoring that the cold start action is applied, the method further includes: and monitoring application cold start actions, and monitoring whether the application performs cold start.
Further, in the step S1, after the application of the cold start action is monitored, the CPU main frequency is raised, including:
step S11, immediately pulling up the CPU main frequency to a designated frequency after the application cold start action is monitored, and maintaining the CPU main frequency at the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored; wherein the specified frequency is preset by the mobile terminal according to the requirement;
and step S12, after the application cold start action is monitored, determining the application type of cold start according to the stored installed application type, wherein the application type comprises a game application and a non-game application (namely a third party application except the game application).
Further, in the step S3, the structural elements of the layout of the new Activity application interface after the drawing are analyzed, and the attribute of the new Activity application interface is determined; comprising the following steps:
Step S31, when the application type of the cold start is determined to be the three-party application of the non-game application:
analyzing structural elements of the drawn layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface if a large number of structural elements of the layout such as Button control, search box control or sliding scroll control (ListView, recycleView) which can be clicked exist in the new Activity application interface, and determining that the application cold start is finished;
if the new Activity application interface is analyzed to simply contain the picture display control, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is still in progress and is not completed.
Step S32, when the application type of the cold start is determined to be a game application:
performing interface screenshot on the drawn new Activity application interface;
and identifying and judging whether feature characters with a Login function or similar functions exist in the screenshot by utilizing an OCR image character identification technology, wherein the feature characters with the Login function or similar functions comprise Login, login, entering and the like.
If the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
if the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the cold start of the game application is still in progress and is not completed.
Further, in the step S4, when the attribute of the new Activity application interface is an application main interface, the pulling up of the CPU main frequency is ended; comprising the following steps:
and when the attribute of the new Activity application interface is an application main interface, determining that the application cold start is finished, immediately finishing pulling up the CPU main frequency to a designated frequency, and reducing the CPU main frequency to a normal use frequency, wherein the normal use frequency is preset by the mobile terminal according to requirements.
It should be noted that, the embodiments of the CPU frequency modulation method program and the method embodiment based on the interface layout analysis on the computer readable storage medium belong to the same concept, the specific implementation process of the CPU frequency modulation method program and the method embodiment are detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the embodiment of the computer readable storage medium, which is not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (6)

1. The CPU frequency modulation method based on interface layout analysis is applied to application cold start of a mobile terminal, and is characterized by comprising the following steps:
after the application cold start action is monitored, the CPU main frequency is pulled up;
monitoring the switching change of the Activity application interface, and monitoring the starting and drawing completion of a new Activity application interface;
analyzing the structural elements of the drawn layout of the new Activity application interface, and judging the attribute of the new Activity application interface;
ending pulling up the CPU main frequency when the attribute of the new Activity application interface is an application main interface;
after the application cold start action is monitored, determining the application type of cold start according to the stored installed application type, wherein the application type comprises a game application and a non-game application;
Wherein, according to the analysis of the structural elements of the layout of the new Activity application interface when the application type of the cold start is determined to be the three-party application of the non-game application, the judging of the attribute of the new Activity application interface includes:
analyzing the structural elements of the drawn new Activity application interface layout:
if a Button control, a search box control or a sliding scroll control which can be clicked exists in the structural elements in the layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface, and determining that the cold start of the application is completed;
if the structural elements in the layout of the new Activity application interface only contain picture display controls, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is not completed;
when the application type of the cold start is determined to be a game application, analyzing the structural elements of the layout of the new Activity application interface after drawing, and judging the attribute of the new Activity application interface, wherein the judging comprises the following steps:
performing interface screenshot on the drawn new Activity application interface;
Identifying and judging whether feature characters with login or similar functions exist in the screenshot or not:
if the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
if the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a start welcome page or an advertisement page, and determining that the cold start of the game application is not completed;
and when the attribute of the new Activity application interface is an application main interface, ending the pulling up of the CPU main frequency, wherein the method comprises the following steps: and determining that the application cold start is finished according to the attribute of the new Activity application interface as an application main interface, and immediately finishing pulling up the CPU main frequency to the designated frequency.
2. The method of claim 1, wherein after the monitoring of the application cold start action, before pulling up the CPU main frequency, the method further comprises: the application cold start action is monitored.
3. The method of claim 1, wherein the step of raising the CPU main frequency after the step of monitoring the application of the cold start action comprises:
and immediately pulling up the CPU main frequency to the designated frequency after the application cold start action is monitored, and maintaining the designated frequency until the CPU main frequency is pulled up after the application cold start action is monitored.
4. A CPU frequency modulation device based on interface layout analysis, applied to a CPU frequency modulation method based on interface layout analysis as claimed in any one of claims 1 to 3, comprising: the device comprises a monitoring and adjusting module and an analysis and judgment module, wherein:
the monitoring and adjusting module is used for monitoring the CPU main frequency after the application cold start action, determining that the application cold start is finished for the application main interface according to the attribute of the new Activity application interface, and ending the CPU main frequency; monitoring the switching change of the application Activity application interface, monitoring the starting and drawing completion of the new Activity application interface;
the analysis judging module is used for analyzing the structural elements of the drawn new Activity application interface layout and judging the attribute of the new Activity application interface;
the monitoring and adjusting module is further used for determining the application type of cold start according to the stored installed application type after the application cold start action is monitored, wherein the application type comprises three-party applications of game applications and non-game applications;
the analysis and judgment module is further configured to judge, according to the structural element of the new Activity application interface layout that is determined to be drawn by the analysis when the application type of the cold start is determined to be a three-way application of a non-game application, an attribute of the new Activity application interface, including:
Analyzing the structural elements of the drawn new Activity application interface layout:
if a Button control, a search box control or a sliding scroll control which can be clicked exists in the structural elements in the layout of the new Activity application interface, judging that the attribute of the new Activity application interface is an application main interface, and determining that the cold start of the application is completed;
if the structural elements in the layout of the new Activity application interface only contain picture display controls, judging that the attribute of the new Activity application interface is a welcome page or an advertisement page, and determining that the application cold start is not completed;
the analysis and judgment module is further configured to judge, according to a structural element of the new Activity application interface layout after the analysis and drawing is completed when the application type of the cold start is determined to be a game application, an attribute of the new Activity application interface, including:
performing interface screenshot on the drawn new Activity application interface;
identifying and judging whether feature characters with login or similar functions exist in the screenshot or not:
if the characteristic characters with the 'login' or similar functions exist, judging that the attribute of the new Activity application interface is a game application main interface, and determining that the cold start of the game application is finished;
If the characteristic characters with the 'login' or similar functions do not exist, judging that the attribute of the new Activity application interface is a start welcome page or an advertisement page, and determining that the cold start of the game application is not completed;
the monitoring and adjusting module is further used for determining that the application cold start is finished according to the attribute of the new Activity application interface as an application main interface, and immediately finishing pulling up the CPU main frequency to the designated frequency.
5. A mobile terminal, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of a CPU frequency modulation method based on interface layout analysis as claimed in any one of claims 1 to 3.
6. A computer-readable storage medium, wherein a program of a CPU tuning method based on interface layout analysis is stored on the computer-readable storage medium, and the program of the CPU tuning method based on interface layout analysis realizes the steps of a CPU tuning method based on interface layout analysis as claimed in any one of claims 1 to 3 when being executed by a processor.
CN201811546340.9A 2018-12-18 2018-12-18 CPU frequency modulation method and device, mobile terminal and computer readable storage medium Active CN109739642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811546340.9A CN109739642B (en) 2018-12-18 2018-12-18 CPU frequency modulation method and device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811546340.9A CN109739642B (en) 2018-12-18 2018-12-18 CPU frequency modulation method and device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109739642A CN109739642A (en) 2019-05-10
CN109739642B true CN109739642B (en) 2023-08-11

Family

ID=66360489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811546340.9A Active CN109739642B (en) 2018-12-18 2018-12-18 CPU frequency modulation method and device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109739642B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115858047A (en) * 2023-02-28 2023-03-28 荣耀终端有限公司 Method for preloading file pages, electronic equipment and chip system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007806A (en) * 2014-06-20 2014-08-27 中科创达软件股份有限公司 Method and device for controlling CPU frequency in Android system and equipment
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN106326074A (en) * 2016-09-12 2017-01-11 广东欧珀移动通信有限公司 Processor operation parameter adjusting method and mobile terminal
CN106453840A (en) * 2016-09-12 2017-02-22 广东欧珀移动通信有限公司 Mobile terminal performance tuning method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424031A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Working frequency control method and device for processor
CN104007806A (en) * 2014-06-20 2014-08-27 中科创达软件股份有限公司 Method and device for controlling CPU frequency in Android system and equipment
CN106326074A (en) * 2016-09-12 2017-01-11 广东欧珀移动通信有限公司 Processor operation parameter adjusting method and mobile terminal
CN106453840A (en) * 2016-09-12 2017-02-22 广东欧珀移动通信有限公司 Mobile terminal performance tuning method and mobile terminal

Also Published As

Publication number Publication date
CN109739642A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN112004173B (en) Bluetooth headset switching method, mobile terminal and computer readable storage medium
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN112394896B (en) Reverse screen-throwing frame rate control method, device and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN107885448B (en) Control method for application touch operation, mobile terminal and readable storage medium
CN110187925B (en) Desktop pre-starting control method, device and computer readable storage medium
CN112600815B (en) Video display method, terminal and computer readable storage medium
CN114126015A (en) Power consumption control method, intelligent terminal and storage medium
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN112612598A (en) Anti-addiction method, mobile terminal and computer-readable storage medium
CN109711830B (en) Quick display method and device for two-dimension code payment, mobile terminal and storage medium
CN108579081B (en) Event processing method, device and computer storage medium based on game
CN108260009B (en) Video processing method, mobile terminal and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN110083423B (en) Interface jump method, terminal and computer readable storage medium
CN109739642B (en) CPU frequency modulation method and device, mobile terminal and computer readable storage medium
CN109388947B (en) Background management method, device and computer readable storage medium
CN108040330B (en) WiFi directional transmission method, mobile terminal and readable storage medium
CN109739641B (en) Self-adaptive CPU frequency modulation acceleration method and device, mobile terminal and storage medium
CN109890051A (en) A kind of data traffic management method, terminal and computer readable storage medium
CN115277922A (en) Processing method, intelligent terminal and storage medium
CN112667339B (en) Screen refresh rate setting method, terminal and computer readable medium
CN111970668B (en) Bluetooth audio control method, device and computer readable storage medium
CN110087290B (en) Power consumption management and control method, terminal and computer readable storage medium
CN110278402B (en) Dual-channel audio processing method and device and computer 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