CN107368400B - CPU monitoring method and device, computer readable storage medium and mobile terminal - Google Patents

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

Info

Publication number
CN107368400B
CN107368400B CN201710648542.3A CN201710648542A CN107368400B CN 107368400 B CN107368400 B CN 107368400B CN 201710648542 A CN201710648542 A CN 201710648542A CN 107368400 B CN107368400 B CN 107368400B
Authority
CN
China
Prior art keywords
cpu
occupancy rate
application program
cpu occupancy
acquiring
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
CN201710648542.3A
Other languages
Chinese (zh)
Other versions
CN107368400A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710648542.3A priority Critical patent/CN107368400B/en
Publication of CN107368400A publication Critical patent/CN107368400A/en
Priority to PCT/CN2018/097535 priority patent/WO2019024804A1/en
Application granted granted Critical
Publication of CN107368400B publication Critical patent/CN107368400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention relates to a CPU monitoring method, a CPU monitoring device, a computer readable storage medium and a mobile terminal. The method comprises the following steps: acquiring the occupancy rate of a system CPU according to a preset first time interval; if the difference value between the current system CPU occupancy rate and the last adjacent system CPU occupancy rate exceeds a specified value, taking the current system CPU occupancy rate as a first CPU occupancy rate; and if the system CPU occupancy rate is not less than the duration of the first CPU occupancy rate and exceeds a specified duration, acquiring the CPU occupancy rate of each application program. According to the method, when the CPU occupancy rate of the system is detected to be greatly increased and lasts for a long time, the CPU occupancy rate of the application program corresponding to the currently running application program in the mobile terminal can be acquired if the fact that the application program in the mobile terminal consumes a large amount of CPU resources can be judged. When the total CPU of the system is rapidly increased, the CPU occupancy rate corresponding to the application program can be obtained in time, the monitoring of the CPU occupancy rate of the application program is facilitated, and abnormal application programs are identified.

Description

CPU monitoring method and device, computer readable storage medium and mobile terminal
Technical Field
The invention relates to the technical field of computers, in particular to a CPU monitoring method, a CPU monitoring device, a computer readable storage medium and a mobile terminal.
Background
With the rapid development of the intelligent mobile terminal, the performance requirements of the user on the intelligent mobile terminal are higher and higher. In the intelligent mobile terminal, the system resources of the intelligent mobile terminal need to be consumed during the operation of the system program of the intelligent mobile terminal and the operation of the third-party application program, and when the system resources of the intelligent mobile terminal are consumed in a large amount, the operation efficiency of the intelligent mobile terminal can be influenced.
Disclosure of Invention
The embodiment of the invention provides a CPU monitoring method, a CPU monitoring device, a computer readable storage medium and a mobile terminal, which can monitor the CPU occupancy rate of an application program in the mobile terminal.
A CPU monitoring method, comprising:
acquiring the occupancy rate of a system CPU according to a preset first time interval;
if the difference value between the current system CPU occupancy rate and the last adjacent system CPU occupancy rate exceeds a specified value, taking the current system CPU occupancy rate as a first CPU occupancy rate;
and if the system CPU occupancy rate is not less than the duration of the first CPU occupancy rate and exceeds a specified duration, acquiring the CPU occupancy rate of each application program.
A CPU monitoring device comprising:
the first acquisition module is used for acquiring the CPU occupancy rate of the system according to a preset first time interval;
the difference module is used for taking the current system CPU occupancy rate as a first CPU occupancy rate if the difference value between the current system CPU occupancy rate and the adjacent last system CPU occupancy rate exceeds a specified value;
and the second acquisition module is used for acquiring the CPU occupancy rate of each application program if the system CPU occupancy rate is not less than the duration of the first CPU occupancy rate and exceeds the specified duration.
One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the CPU monitoring method as described above.
A mobile terminal comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the CPU monitoring method as described above.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic internal structure diagram of a mobile terminal in one embodiment;
FIG. 2 is a flow diagram of a CPU monitoring method in one embodiment;
FIG. 3 is a flow chart of a CPU monitoring method in another embodiment;
FIG. 4 is a flow chart of a CPU monitoring method in another embodiment;
FIG. 5 is a flowchart of a CPU monitoring method in another embodiment;
FIG. 6 is a flowchart of a CPU monitoring method in another embodiment;
FIG. 7 is a flowchart of a CPU monitoring method in another embodiment;
FIG. 8 is a block diagram showing the structure of a CPU monitoring device according to an embodiment;
FIG. 9 is a block diagram showing the structure of a CPU monitoring device according to another embodiment;
FIG. 10 is a block diagram showing the structure of a CPU monitoring apparatus according to another embodiment;
FIG. 11 is a block diagram showing the construction of a CPU monitoring apparatus according to another embodiment;
fig. 12 is a block diagram of a part of the structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first acquisition module may be referred to as a second acquisition module, and similarly, a second acquisition module may be referred to as a first acquisition module, without departing from the scope of the present disclosure. The first acquisition module and the second acquisition module are both acquisition modules, but they are not the same acquisition module.
Fig. 1 is a schematic diagram of an internal structure of a mobile terminal in one embodiment. As shown in fig. 1, the mobile terminal includes a processor, a non-volatile storage medium, an internal memory, a network interface, a display screen, and an input device, which are connected through a system bus. Wherein the non-volatile storage medium of the mobile terminal stores an operating system and computer readable instructions. The computer readable instructions, when executed by a processor, implement a CPU monitoring method. The processor is used to provide computing and control capabilities to support the operation of the entire mobile terminal. The internal memory in the mobile terminal provides an environment for the execution of computer-readable instructions in the non-volatile storage medium. The network interface is used for network communication with the server. The display screen of the mobile terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the mobile terminal, or an external keyboard, a touch pad or a mouse. The mobile terminal can be a mobile phone, a tablet computer, a personal digital assistant or a wearable device. Those skilled in the art will appreciate that the architecture shown in fig. 1 is only a block diagram of a portion of the architecture associated with the subject application and does not constitute a limitation on the mobile terminal to which the subject application applies, and that a particular mobile terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 2 is a flow diagram of a CPU monitoring method in one embodiment. As shown in fig. 2, a CPU monitoring method includes steps 202 to 206. Wherein:
step 202, acquiring the occupancy rate of the system CPU according to a preset first time interval.
When the mobile terminal is running, both the system program and the third-party program in the mobile terminal consume CPU (Central Processing Unit) resources in the mobile terminal. The mobile terminal system CPU occupancy rate is the CPU resource occupied by all programs running in the mobile terminal, including the system running program and the third party running program. Generally, the higher the CPU occupancy of the system, the more programs are run in the mobile terminal; the lower the system CPU occupancy, the fewer programs running within the mobile terminal. The mobile terminal can acquire the system CPU occupancy rate according to a preset first time interval, wherein the preset first time interval can be a time interval set by a user or a time interval obtained according to historical acquisition time.
The step of the mobile terminal acquiring the system CPU occupancy may include: the mobile terminal acquires the system CPU accumulated working time length according to a preset first time interval, acquires the difference value between the next CPU accumulated working time length and the previous CPU accumulated working time length in the CPU accumulated working time lengths acquired twice continuously, the difference value is the real working time of the system CPU in the preset first time interval, and the ratio of the difference value to the preset first time interval is the system CPU occupancy rate in the preset first time interval. The accumulated working time of the CPU is the total working time of the CPU from the self-starting of the mobile terminal to the current moment. The preset first time interval may be any time length from 5 seconds to 20 seconds, and preferably may be 5 seconds. For example, the mobile terminal collects the system CPU cumulative operating time every 5 seconds, and if the CPU cumulative operating times collected twice consecutively are 60 minutes 03 seconds and 60 minutes 04 seconds, respectively, the system CPU occupancy rate in the 5 seconds is 20%.
In the Android system, the relevant information of the system CPU can be read under a/proc directory. The stat file under the/proc directory contains all information of system CPU activities, and all the information of the system CPU activities are the time length accumulated by the CPU activities from the self-starting of the mobile terminal to the current moment. The CPU monitoring module in the mobile terminal can read the activity information of the system CPU in the proc directory at regular time and then acquire the system CPU occupancy rate of the mobile terminal in the acquisition time.
And 204, if the difference value between the current system CPU occupancy rate and the last adjacent system CPU occupancy rate exceeds a specified value, taking the current system CPU occupancy rate as the first CPU occupancy rate.
After the mobile terminal obtains the current system CPU occupancy rate, the current system CPU occupancy rate is differed from the last system CPU occupancy rate, and a system CPU occupancy rate difference value is obtained. If the occupancy rate difference value of the system CPU exceeds a specified value, the occupancy rate change of the system CPU of the mobile terminal is judged to be large, and the occupancy rate of the system CPU in the mobile terminal is abnormal. In general, the above-specified value is a positive number, and may be any of 15% to 20%, preferably 20%. The system CPU occupancy rate difference is larger than the specified value, namely the mobile terminal system CPU occupancy rate is suddenly increased, and the mobile terminal system CPU occupancy rate is abnormal. And taking the acquired current system CPU occupancy rate as a first CPU occupancy rate, namely an abnormal CPU occupancy rate.
And step 206, if the system CPU occupancy is not less than the duration of the first CPU occupancy and exceeds the specified duration, acquiring the CPU occupancy of each application program.
And after the mobile terminal acquires the first CPU occupancy rate, acquiring the system CPU occupancy rate in the mobile terminal for the preset times again according to the preset first time interval, and sequentially comparing the acquired system CPU occupancy rate with the first CPU occupancy rate. If the acquired system CPU occupancy rates are not less than the first CPU occupancy rate, the duration of the system CPU occupancy rates which are not less than the abnormal CPU occupancy rates exceeds the specified duration, namely, the application programs in the mobile terminal continuously consume a large amount of CPU resources, and the CPU occupancy rates of the application programs in the mobile terminal are acquired. The preset first time interval may be any time from 5 seconds to 30 seconds, and preferably may be 5 seconds. For example, the system CPU occupancy rates of two consecutive acquisitions by the mobile terminal are 20% and 40%, and the system CPU occupancy rate difference is greater than the specified value of 15%, then the system CPU occupancy rate is 40%, which is taken as the first CPU occupancy rate. The method comprises the steps of collecting the system CPU occupancy rates once every 5 seconds according to a preset first time interval, collecting 4 system CPU occupancy rates which are respectively 42%, 45%, 47% and 50%, wherein the 4 system CPU occupancy rates all exceed 40%, namely the duration of the mobile terminal system CPU occupancy rate exceeding 40% reaches 20 seconds and exceeds a specified duration 18 seconds, and obtaining the CPU occupancy rates of all application programs in the mobile terminal.
The step of the mobile terminal acquiring the CPU occupancy rate of each application program may include: acquiring the accumulated time length occupied by the CPU of each running application program in the mobile terminal according to a preset second time interval, and acquiring the difference value between the accumulated time length occupied by the CPU of the next time and the accumulated time length occupied by the CPU of the previous time in the accumulated time lengths occupied by the CPU of the application programs acquired continuously twice, wherein the difference value is the time that the application program occupies the CPU in the second time interval, and the ratio of the difference value to the second time interval is the CPU occupancy rate of the application program in the second time interval. The first time interval and the second time interval may be the same value or different values.
In the Android system, sats files under a/proc/pid directory contain information that a process corresponding to an application program occupies a CPU. And the information that the process corresponding to the application program occupies the CPU is the accumulated time length that the application program occupies the CPU after being automatically started. The CPU monitoring module in the mobile terminal can read the accumulated time length of the CPU occupied by each application program under the proc/pid directory at regular time and then acquire the CPU occupancy rate of the application program in the acquisition time.
The CPU monitoring method in the embodiment of the invention collects the system CPU occupancy rate, namely the total CPU occupancy rate in the mobile terminal according to the preset first time interval, when the system CPU occupancy rate is detected to be greatly increased and lasts for a long time, the CPU occupancy rate can judge that a large amount of CPU resources are consumed by application programs in the mobile terminal, and the CPU occupancy rate of the application program corresponding to the currently running application program in the mobile terminal is obtained. According to the method, when the total CPU of the system is rapidly increased, the CPU occupancy rate corresponding to the application program can be acquired in time, the CPU occupancy rate of the application program can be monitored, and the abnormal application program can be identified.
In one embodiment, before obtaining the CPU occupancy of each application, the CPU monitoring method further includes:
step 302, searching the moment of last obtaining the CPU occupancy rate of each application program.
And 304, if the time difference between the current time and the time for acquiring the CPU occupancy rate of each application program at the last time exceeds a first threshold value, acquiring the CPU occupancy rate of each application program.
Before acquiring the CPU occupancy rates of the application programs corresponding to the application programs, the mobile terminal searches the time of acquiring the CPU occupancy rates of the application programs last time, and acquires the time difference between the current time and the time of acquiring the CPU occupancy rates of the application programs last time. And if the time difference exceeds a preset first threshold, acquiring the CPU occupancy rate of the application program. The step of obtaining the CPU occupancy rate of the application program is the same as the step of obtaining the CPU occupancy rate of the application program in step 206, and is not described herein again. And if the time difference does not exceed a preset first threshold, directly acquiring the CPU occupancy rate of each application program acquired last time as the CPU occupancy rate of each current application program. The first threshold may be a value set by a user, or may be a value obtained by analyzing CPU occupancy data of each application program collected historically, such as 30 seconds, 1 minute, and the like.
The CPU occupancy rate of the application program in the mobile terminal can not change in a short time, and certain system resources are consumed for obtaining the CPU occupancy rate of each application program. In the CPU monitoring method in the embodiment of the invention, after receiving the request for acquiring the CPU occupancy rates of the application programs corresponding to the application programs, the time difference between the current time and the last time of acquiring the CPU occupancy rates of the application programs corresponding to the application programs is firstly acquired, the relation between the time difference and the preset time length is judged, when the time difference is shorter, the CPU occupancy rates of the application programs acquired last time are directly used as the CPU occupancy rates of the current application programs, and when the time difference is longer, the CPU occupancy rates of the application programs are acquired again. The method and the device not only ensure the accuracy of obtaining the CPU occupancy rate of each application program, but also reduce the system power consumption and save the system resources.
In one embodiment, the step 202 of obtaining the system CPU occupancy comprises:
(1) and acquiring a difference value of the accumulated working time of the system CPU acquired for two times as a first difference value.
(2) And acquiring the occupancy rate of the system CPU according to the first difference value and the time interval.
In the Android system, the relevant information of the system CPU can be read under a/proc directory. The stat file under the/proc directory contains all information of system CPU activities, and all the information of the system CPU activities are the time length accumulated by the CPU activities from the self-starting of the mobile terminal to the current moment. The CPU monitoring module in the mobile terminal can read the activity information of the system CPU in the proc directory at regular time and then acquire the system CPU occupancy rate of the mobile terminal in the acquisition time. The step of the mobile terminal acquiring the system CPU occupancy may include: the mobile terminal acquires the system CPU accumulated working time length according to a preset first time interval, acquires the difference value between the next CPU accumulated working time length and the previous CPU accumulated working time length in the CPU accumulated working time lengths acquired twice continuously, the difference value is the real working time of the system CPU in the preset first time interval, and the ratio of the difference value to the preset first time interval is the system CPU occupancy rate in the preset first time interval. The accumulated working time of the CPU is the total working time of the CPU from the self-starting of the mobile terminal to the current moment. The preset first time interval may be any time length from 5 seconds to 20 seconds, and preferably may be 5 seconds.
In one embodiment, the CPU monitoring method further includes:
step 402, if it is detected that the CPU occupancy rate corresponding to the application program exceeds the second threshold, detecting whether the application program meets a preset rule.
And step 404, if not, stopping running the process corresponding to the application program.
After the mobile terminal acquires the CPU occupancy rates corresponding to the application programs, sequentially comparing whether the CPU occupancy rates corresponding to the application programs exceed a preset second threshold value, if so, indicating that the CPU occupancy rates of the application programs are too high, and further detecting whether the application programs meet a preset rule. The second threshold may be a value set by a user, or a value obtained by analyzing the CPU occupancy rate of the application program acquired according to history, and the second threshold may be 20%. The preset rules include: the application programs in the system white list, the application programs running in the foreground, the preset actions (including file downloading, file uploading, application program updating and the like) being executed by the application programs, the application programs with higher priority, the application programs for playing music and the like. The preset rule may be a rule set by a user. And when the application program meets the preset rule, the application program is not processed, for example, the application program in a white list set by the user is not processed, and the application program with the first three priorities set by the user is not processed. And when the application program does not meet the preset rule, stopping running the process corresponding to the application program. Wherein, stopping running the process corresponding to the application program comprises: closing or suspending the process corresponding to the application program, wherein closing the process corresponding to the application program refers to terminating (kill) the process corresponding to the application program, suspending the process corresponding to the application program refers to suspending the operation of the process corresponding to the application program, the process corresponding to the suspended application program can be added into a waiting queue, and when the system CPU occupancy rate is low, the operation of the process corresponding to the application program is resumed.
The CPU monitoring method in the embodiment of the invention detects whether the application program is a non-processing application program preset by the mobile terminal or a non-processing application program set by a user when the CPU occupancy rate of the application program in the mobile terminal is high. When the application program is not processed, the corresponding operation of the application program is stopped, namely, the application program with the abnormal CPU occupancy rate is subjected to killing processing, so that the phenomenon that the abnormal application program in the mobile terminal consumes a large amount of CPU resources to cause the system of the mobile terminal to be blocked, generate heat and the like is avoided. The preset rules can ensure that the application program is not cleaned under the condition that the application program normally occupies a large amount of CPU resources, so that the accuracy of identifying the abnormal application program is improved, and the abnormal application program is checked and killed more accurately.
In one embodiment, the CPU monitoring method further includes:
and 502, acquiring a corresponding CPU occupancy level according to the system CPU occupancy rate.
Multiple CPU occupancy levels may be pre-divided, and each occupancy level may correspond to a different occupancy range, for example, 4 CPU occupancy levels are divided, including L1, L2, L3 and L4, where the occupancy range corresponding to the L1 occupancy level is less than 20%, the occupancy range corresponding to the L2 occupancy level is 20% -40%, the occupancy range corresponding to the L3 occupancy level is 40% -60%, the occupancy range corresponding to the L4 occupancy level is greater than 60%, and the like, without being limited thereto. The mobile terminal collects the system CPU occupancy rate according to a preset first time interval, can determine the occupancy rate range in which the collected system CPU occupancy rate falls, and obtains the CPU occupancy level corresponding to the falling occupancy rate range. For example, if the collected system CPU occupancy is 18%, the CPU occupancy level is L1, and if the system CPU occupancy is 25%, the CPU occupancy level is L2.
At step 504, the number of times the occupancy level is continuously maintained is accumulated.
The mobile terminal may assign a level counter to each CPU occupancy level, and record the consecutive times of the CPU being maintained at the corresponding occupancy level through the level counter, where the CPU being maintained at a certain occupancy level means that the CPU is always at the occupancy level or above, for example, if the CPU occupancy level is changed to L2 occupancy level, L3 occupancy level, or L2 occupancy level, the CPU may be considered to be maintained at L2 occupancy level, and the consecutive times are 3.
In one embodiment, the mobile terminal acquires the system CPU occupancy rate according to a preset first time interval, determines the CPU occupancy level, and may add 1 to level counters corresponding to the occupancy level and below the occupancy level, and clear the level counters of other occupancy levels. For example, if the current CPU occupancy level is L3, the level counters of L1, L2, and L3 are incremented by 1, and the level counter of L4 is cleared, and if the next CPU occupancy level is L2, the level counters of L1 and L2 are incremented by 1, and the level counters of L3 and L4 are cleared.
In one embodiment, the types of the occupancy levels may be divided, wherein the types may include an idle level and a busy level, for example, the L1 occupancy level is used as the idle level, and the L2, L3 and L4 occupancy levels are used as the busy levels, which respectively represent different busy levels. The mobile terminal collects the occupancy rate of the CPU of the system at intervals of a preset first time interval, calculates the occupancy level of the CPU, can determine the corresponding type firstly, then adds 1 to the level counters corresponding to the occupancy levels of the same type and below the occupancy level respectively, and clears the level counters of other occupancy levels. For example, if the current CPU occupancy level is L1 and belongs to the idle level, the level counter of L1 is incremented by 1, the level counters of L2, L3, and L4 are cleared, and if the next CPU occupancy level is L3 and belongs to the busy level, the level counters of L3 and L2 that belong to the busy level are incremented by 1, and the level counters of L1, and L4 are cleared, respectively.
Step 506, when the number of times reaches a third threshold corresponding to the occupancy level, determining a busy level corresponding to the occupancy level.
A corresponding third threshold may be set for each CPU occupancy level, and the third threshold may be used to determine whether the CPU of the mobile terminal is maintained in the operating state of the corresponding occupancy level. The mobile terminal accumulates the number of times that the CPU is continuously maintained at each occupation level through the level counter, and when the number of times that the CPU is continuously maintained at the occupation level reaches a third threshold value corresponding to the occupation level, the mobile terminal can determine that the CPU is stable in the working state of the occupation level. For example, a corresponding third threshold value of c1, c2, c3 and c4 is set for each of L1, L2, L3 and L4, and when the number of times that the CPU continuously maintains the level of L1 reaches c1, the CPU is determined to be stable in the operating state of L1. Further, the third threshold corresponding to each occupancy level may decrease with the increase of the occupancy level, for example, the third thresholds corresponding to L1, L2, L3 and L4 are c1, c2, c3 and c4, where c1> c2> c3> c4, for example, c1 is 5 times, c2 is 4 times, c3 is 3 times, c4 is 2 times, etc., but not limited thereto. In one embodiment, if there are multiple occupation levels with the number of continuous maintenance times reaching the corresponding third threshold, the occupation level with the highest level is selected as the stable operating state of the CPU.
The CPU monitoring method in the embodiment of the invention sets different occupancy levels for the CPU occupancy rate, determines the busy degree of the mobile terminal according to the times of maintaining the occupancy levels, is beneficial to carrying out different processing on the application program according to the busy program of the mobile terminal, and directly closes the process corresponding to the abnormal application program if the occupancy level is higher and the system is busy; when the occupation level is low and the system is idle, the process corresponding to the abnormal application program is suspended, and the flexibility of processing the abnormal application program is improved.
In an embodiment, before stopping running the process corresponding to the application program, the CPU monitoring method further includes:
step 602, displaying abnormal information corresponding to the application program and a stop operation instruction for the application program on the interface of the mobile terminal.
In step 604, if a trigger operation for the stop operation instruction is received, the process corresponding to the application program is stopped to operate.
Before stopping running the process corresponding to the application program, the mobile terminal can also display abnormal information corresponding to the application program on a mobile terminal interface. The above-mentioned abnormality information may include: the current CPU occupancy rate of the application program, the current program behavior of the application program (such as background downloading files and the like), the current network speed occupied by the application program and the like. In addition to showing the application's instructions to stop running, a cancel instruction may also be shown. If the trigger operation for the cancel instruction is acquired, the application program is not processed; and if the trigger operation of the operation stopping instruction is obtained, stopping operating the process corresponding to the application program.
According to the CPU monitoring method in the embodiment of the invention, after the abnormal application program is detected, the abnormal information corresponding to the application program is displayed on the interface of the mobile terminal, and the process corresponding to the application program is stopped after the operation stopping instruction of the user is received, so that the misoperation of checking and killing the application program can be avoided, and the precision of checking and killing the application program is improved.
FIG. 7 is a flowchart of a CPU monitoring method in another embodiment. As shown in fig. 7, a CPU monitoring method includes steps 702 to 714. Wherein:
step 702, acquiring the occupancy rate of the system CPU according to a preset first time interval. The acquiring the system CPU occupancy rate comprises:
(1) and acquiring a difference value of the accumulated working time of the system CPU acquired for two times as a first difference value.
(2) And acquiring the occupancy rate of the system CPU according to the first difference value and the time interval.
The step of obtaining the system CPU occupancy rate is the same as the step of obtaining the system CPU occupancy rate in step 202, and is not described herein again.
And 704, if the difference value between the current system CPU occupancy rate and the last adjacent system CPU occupancy rate exceeds a specified value, taking the current system CPU occupancy rate as the first CPU occupancy rate.
The first CPU occupancy is an abnormal occupancy. The step of obtaining the first CPU occupancy is the same as the step of obtaining the first CPU occupancy in step 204, and is not described herein again.
And step 706, if the system CPU occupancy is not less than the duration of the first CPU occupancy and exceeds the specified duration, searching the moment of last acquisition of the CPU occupancy of each application program.
The step of searching the time when the CPU occupancy rate of each application program was obtained last time is the same as the step of searching the time when the CPU occupancy rate of each application program was obtained last time in step 302, and details are not repeated here.
Step 708, if the time difference between the current time and the time of last obtaining the CPU occupancy rate of each application exceeds the first threshold, obtaining the CPU occupancy rate of each application.
The step of obtaining the CPU occupancy rate of the application program is the same as the step of obtaining the CPU occupancy rate of the application program in step 206, and is not described herein again.
Step 710, detecting whether the application program meets a preset rule if it is detected that the CPU occupancy rate corresponding to the application program exceeds a second threshold.
The step of detecting whether the CPU occupancy rate corresponding to the application program exceeds the second threshold, and whether the application program meets the preset rule, is the same as the step corresponding to step 402, and is not described herein again.
And 712, if not, displaying abnormal information corresponding to the application program and a stop operation instruction of the application program on the interface of the mobile terminal. And if the triggering operation of the operation stopping instruction is received, stopping operating the process corresponding to the application program.
The steps of displaying the abnormal information corresponding to the application program and the stop instruction corresponding to the application program at the mobile terminal are the same as those in fig. 6, and are not described herein again. The process corresponding to stopping running the application is the same as the corresponding step in step 404, and is not described herein again.
And 714, acquiring the corresponding CPU occupancy level according to the system CPU occupancy rate. The number of times the occupancy level is continuously maintained is accumulated. And when the times reach a third threshold value corresponding to the occupancy level, determining the busy degree corresponding to the occupancy level.
The steps of obtaining the CPU occupancy level corresponding to the system CPU occupancy, and determining the busy level corresponding to the CPU occupancy level are the same as those in fig. 5, and are not described herein again.
FIG. 8 is a block diagram showing the structure of a CPU monitoring device according to an embodiment. A CPU monitoring apparatus includes a first obtaining module 802, a difference module 804, and a second obtaining module 806. Wherein:
a first obtaining module 802, configured to obtain the system CPU occupancy rate according to a preset first time interval.
And a difference module 804, configured to take the current system CPU occupancy as the first CPU occupancy if the difference between the current system CPU occupancy and the last system CPU occupancy exceeds a specified value.
A second obtaining module 806, configured to obtain the CPU occupancy of each application program if the duration that the system CPU occupancy is not less than the first CPU occupancy exceeds a specified duration.
In one embodiment, the second obtaining module 806 is further configured to find a time when the CPU occupancy of each application was obtained last time before obtaining the CPU occupancy of each application. And if the time difference between the current time and the time of acquiring the CPU occupancy rate of each application program at the last time exceeds a first threshold value, acquiring the CPU occupancy rate of each application program.
In one embodiment, the first obtaining module 802 is further configured to obtain a difference value between two consecutive collected operating time periods of the system CPU as the first difference value. And acquiring the occupancy rate of the system CPU according to the first difference value and the time interval.
Fig. 9 is a block diagram showing the configuration of a CPU monitoring device in another embodiment. A CPU monitoring apparatus includes a first acquisition module 902, a difference module 904, a second acquisition module 906, and a shutdown module 908. Wherein the first obtaining module 902, the difference module 904 and the second obtaining module 906 have the same functions as the corresponding modules in fig. 8.
The closing module 908 is configured to detect whether the application program meets a preset rule if it is detected that the CPU occupancy rate corresponding to the application program exceeds a second threshold. And if not, stopping running the process corresponding to the application program.
Fig. 10 is a block diagram showing the configuration of a CPU monitoring device in another embodiment. A CPU monitoring device comprises a first obtaining module 1002, a difference module 1004, a second obtaining module 1006, a third obtaining module 1008, an accumulation module 1010 and a determination module 1012. Wherein the first obtaining module 1002, the difference module 1004 and the second obtaining module 1006 have the same functions as the corresponding modules in fig. 8.
And a third obtaining module 1008, configured to obtain a corresponding CPU occupancy level according to the system CPU occupancy.
A cumulative module 1010 for accumulating the number of times the occupancy level is continuously maintained.
A determining module 1012, configured to determine a busy degree corresponding to the occupancy level when the number of times reaches a third threshold corresponding to the occupancy level.
Fig. 11 is a block diagram showing the configuration of a CPU monitoring device in another embodiment. A CPU monitoring apparatus includes a first obtaining module 1102, a difference module 1104, a second obtaining module 1106, a presentation module 1108, and a shutdown module 1110. Wherein the first obtaining module 1102, the difference module 1104 and the second obtaining module 1106 have the same functions as the corresponding modules in fig. 8. The shutdown module 1110 functions the same as the corresponding module in fig. 9.
The displaying module 1108 is configured to display, on the mobile terminal interface, the abnormal information corresponding to the application program and the instruction for stopping the application program.
The shutdown module 1110 is further configured to stop running the process corresponding to the application program if a trigger operation for the stop running instruction is received.
The division of each module in the CPU monitoring apparatus is only for illustration, and in other embodiments, the CPU monitoring apparatus may be divided into different modules as needed to complete all or part of the functions of the CPU monitoring apparatus.
The embodiment of the invention also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the CPU monitoring method as described above.
The embodiment of the invention also provides the mobile terminal. As shown in fig. 12, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and the detailed technical details are not disclosed, please refer to the method portion of the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 12 is a block diagram of a part of the structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 12, the cellular phone includes: radio Frequency (RF) circuit 1210, memory 1220, input unit 1230, display unit 1240, sensor 1250, audio circuit 1260, wireless fidelity (WiFi) module 1270, processor 1280, and power supply 1290. Those skilled in the art will appreciate that the handset configuration shown in fig. 12 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1210 may be configured to receive and transmit signals during information transmission or communication, and may receive downlink information of a base station and then process the downlink information to the processor 1280; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1210 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1220 may be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1220. The memory 1220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1220 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 input unit 1230 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1200. Specifically, the input unit 1230 may include a touch panel 1231 and other input devices 1232. The touch panel 1231, which may also be referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 1231 (e.g., operations performed by the user on or near the touch panel 1231 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1231 can include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction 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 sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1280, and can receive and execute commands sent by the processor 1280. In addition, the touch panel 1231 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1230 may include other input devices 1232 in addition to the touch panel 1231. In particular, other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. Display unit 1240 may include a display panel 1241. In one embodiment, the Display panel 1241 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1231 can overlay display panel 1241, and when touch panel 1231 detects a touch operation thereon or nearby, the touch panel 1231 can transmit the touch operation to processor 1280 to determine the type of touch event, and then processor 1280 can provide corresponding visual output on display panel 1241 according to the type of touch event. Although in fig. 12, the touch panel 1231 and the display panel 1241 are implemented as two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1200 may also include at least one sensor 1250, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1241 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1241 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuit 1260, speaker 1261, and microphone 1262 can provide an audio interface between a user and a cell phone. The audio circuit 1260 can transmit the received electrical signal converted from the audio data to the speaker 1261, and the audio signal is converted into a sound signal by the speaker 1261 and output; on the other hand, the microphone 1262 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1260 and converted into audio data, and then the audio data is processed by the audio data output processor 1280, and then the processed audio data is transmitted to another mobile phone through the RF circuit 1210, or the audio data is output to the memory 1220 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1270, and provides wireless broadband internet access for the user. Although fig. 12 shows WiFi module 1270, it is understood that it is not an essential component of cell phone 1200 and may be omitted as desired.
The processor 1280 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1220 and calling data stored in the memory 1220, thereby performing overall monitoring of the mobile phone. In one embodiment, the processor 1280 may include one or more processing units. In one embodiment, the processor 1280 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 1280.
The mobile phone 1200 further includes a power supply 1290 (e.g., a battery) for supplying power to various components, and preferably, the power supply may be logically connected to the processor 1280 through a power management system, so that the power management system may manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1200 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present invention, the processor 1280 included in the mobile terminal implements the CPU monitoring method as described above when executing the computer program stored on the memory.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A CPU monitoring method, comprising:
acquiring the occupancy rate of a system CPU according to a preset first time interval;
if the difference value between the current system CPU occupancy rate and the adjacent last system CPU occupancy rate exceeds a specified value, taking the current system CPU occupancy rate as a first CPU occupancy rate, wherein the first CPU occupancy rate is an abnormal CPU occupancy rate;
obtaining the system CPU occupancy rate of the preset times according to the preset first time interval again, and obtaining the CPU occupancy rate of each application program if the system CPU occupancy rate is not less than the duration of the first CPU occupancy rate and exceeds the specified duration;
the acquiring the system CPU occupancy rate comprises the following steps:
acquiring a difference value of accumulated working time lengths of system CPUs acquired twice continuously as a first difference value;
acquiring the occupancy rate of a system CPU according to the first difference value and the time interval;
the method further comprises the following steps:
acquiring a corresponding CPU occupation level according to the system CPU occupation rate;
accumulating the number of times of continuously maintaining at the occupancy level;
and when the times reach a third threshold value corresponding to the occupancy level, determining the busy degree corresponding to the occupancy level.
2. The CPU monitoring method according to claim 1, wherein before said obtaining the CPU occupancy of each application, the method further comprises:
searching the moment of last obtaining the CPU occupancy rate of each application program;
and if the time difference between the current time and the last time of acquiring the CPU occupancy rate of each application program exceeds a first threshold value, acquiring the CPU occupancy rate of each application program.
3. The CPU monitoring method according to claim 1, wherein the method further comprises:
if the CPU occupancy rate corresponding to the application program is detected to exceed a second threshold value, whether the application program meets a preset rule is detected;
and if not, stopping running the process corresponding to the application program.
4. A CPU monitoring device, comprising:
the first acquisition module is used for acquiring the CPU occupancy rate of the system according to a preset first time interval;
the difference module is used for taking the current system CPU occupancy rate as a first CPU occupancy rate if the difference value between the current system CPU occupancy rate and the adjacent last system CPU occupancy rate exceeds a specified value, wherein the first CPU occupancy rate is an abnormal CPU occupancy rate;
the second acquisition module is used for acquiring the system CPU occupancy rate of the preset times according to the preset first time interval again, and acquiring the CPU occupancy rate of each application program if the system CPU occupancy rate is not less than the duration of the first CPU occupancy rate and exceeds the specified duration;
the first acquisition module is further used for acquiring a difference value of accumulated working time lengths of the system CPUs acquired twice continuously as a first difference value; acquiring the occupancy rate of a system CPU according to the first difference value and the time interval;
the device further comprises:
the third acquisition module is used for acquiring the corresponding CPU occupation level according to the system CPU occupation rate;
the accumulation module is used for accumulating the times of continuously maintaining the occupancy level;
and the determining module is used for determining the busy degree corresponding to the occupancy level when the times reach a third threshold corresponding to the occupancy level.
5. The CPU monitoring device according to claim 4, wherein:
the second obtaining module is further configured to search, before the obtaining of the CPU occupancy rate of each application program, a time at which the CPU occupancy rate of each application program was obtained last time; and if the time difference between the current time and the last time of acquiring the CPU occupancy rate of each application program exceeds a first threshold value, acquiring the CPU occupancy rate of each application program.
6. The CPU monitoring device of claim 4, further comprising:
the closing module is used for detecting whether the application program meets a preset rule or not if the CPU occupancy rate corresponding to the application program is detected to exceed a second threshold value; and if not, stopping running the process corresponding to the application program.
7. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the CPU monitoring method of any of claims 1-3.
8. A mobile terminal comprising a memory and a processor, the memory having stored therein computer readable instructions that, when executed by the processor, cause the processor to perform the CPU monitoring method of any of claims 1 to 3.
CN201710648542.3A 2017-08-01 2017-08-01 CPU monitoring method and device, computer readable storage medium and mobile terminal Active CN107368400B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710648542.3A CN107368400B (en) 2017-08-01 2017-08-01 CPU monitoring method and device, computer readable storage medium and mobile terminal
PCT/CN2018/097535 WO2019024804A1 (en) 2017-08-01 2018-07-27 Cpu monitoring method, computer readable storage medium, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710648542.3A CN107368400B (en) 2017-08-01 2017-08-01 CPU monitoring method and device, computer readable storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107368400A CN107368400A (en) 2017-11-21
CN107368400B true CN107368400B (en) 2020-02-04

Family

ID=60308754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710648542.3A Active CN107368400B (en) 2017-08-01 2017-08-01 CPU monitoring method and device, computer readable storage medium and mobile terminal

Country Status (2)

Country Link
CN (1) CN107368400B (en)
WO (1) WO2019024804A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368400B (en) * 2017-08-01 2020-02-04 Oppo广东移动通信有限公司 CPU monitoring method and device, computer readable storage medium and mobile terminal
CN107967178B (en) * 2017-12-06 2020-03-17 Oppo广东移动通信有限公司 Resource allocation method, resource allocation device, mobile terminal and medium
CN109800124B (en) * 2018-12-15 2023-04-11 中国平安人寿保险股份有限公司 CPU utilization monitoring method and device, electronic equipment and storage medium
CN109726003B (en) * 2019-01-04 2020-09-15 Oppo广东移动通信有限公司 Application unfreezing processing method, electronic device and computer readable storage medium
CN111414295B (en) * 2020-03-09 2023-06-30 浙江大华技术股份有限公司 Statistical method, device, equipment and medium for CPU occupancy rate
CN111930593B (en) * 2020-07-27 2023-03-28 长沙景嘉微电子股份有限公司 GPU occupancy rate determination method, device, processing system and storage medium
CN112218411A (en) * 2020-11-03 2021-01-12 深圳茂硕电子科技有限公司 LED power supply state monitoring method
CN113535516B (en) * 2021-07-06 2023-05-30 上海上讯信息技术股份有限公司 Method and equipment for monitoring CPU occupancy rate abnormality
CN114003367B (en) * 2022-01-04 2022-03-15 北京新唐思创教育科技有限公司 Risk monitoring method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100730822B1 (en) * 2005-06-09 2007-06-20 에스케이 텔레콤주식회사 Method for calculating cpu usage
CN101876933A (en) * 2009-04-28 2010-11-03 深圳富泰宏精密工业有限公司 Analysis system and method for CPU utilization rate
CN102110043A (en) * 2010-12-30 2011-06-29 上海顶竹通讯技术有限公司 Method and device for computing CPU occupancy rate
CN105224439A (en) * 2014-07-02 2016-01-06 北京金山安全软件有限公司 Method and device for detecting CPU occupancy rate of terminal APP and terminal
CN104239196B (en) * 2014-09-17 2018-06-01 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal
CN105357026B (en) * 2015-09-24 2019-07-23 华为技术有限公司 A kind of resource information collection method and calculate node
CN105589546A (en) * 2015-12-21 2016-05-18 北京金山安全软件有限公司 Information detection method and device
CN107368400B (en) * 2017-08-01 2020-02-04 Oppo广东移动通信有限公司 CPU monitoring method and device, computer readable storage medium and mobile terminal

Also Published As

Publication number Publication date
WO2019024804A1 (en) 2019-02-07
CN107368400A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN107368400B (en) CPU monitoring method and device, computer readable storage medium and mobile terminal
US11099900B2 (en) Memory reclamation method and apparatus
CN107526640B (en) Resource management method, resource management device, mobile terminal and computer-readable storage medium
CN107526638B (en) Application processing method and device, mobile terminal and storage medium
CN107577508B (en) Application processing method and device, readable storage medium and mobile terminal
JP6487044B2 (en) Power management method and power management apparatus for user equipment
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN103024205B (en) Method, device and terminal for controlling power
CN107562539B (en) Application program processing method and device, computer equipment and storage medium
CN112703714B (en) Application processing method and device, computer equipment and computer readable storage medium
CN109144232B (en) Process processing method and device, electronic equipment and computer readable storage medium
WO2019128546A1 (en) Application program processing method, electronic device, and computer readable storage medium
CN108681498B (en) CPU occupancy rate monitoring method and device and mobile terminal
JP2020537213A (en) Methods for reducing terminal power consumption, and terminals
CN107526637B (en) Application processing method and device, mobile terminal and storage medium
JP7272694B2 (en) Method and terminal for reducing power consumption of terminal
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN109992309B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109992360B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN110032397B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN106850942B (en) Temperature monitoring method and device of mobile terminal and mobile terminal
CN106454953B (en) Flow control method, device and terminal
CN107688498B (en) Application program processing method and device, computer equipment and storage medium
CN110045811B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109992369B (en) Application program processing method and device, electronic equipment 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant