CN107526637A - Applied program processing method, device, mobile terminal and storage medium - Google Patents

Applied program processing method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN107526637A
CN107526637A CN201710648188.4A CN201710648188A CN107526637A CN 107526637 A CN107526637 A CN 107526637A CN 201710648188 A CN201710648188 A CN 201710648188A CN 107526637 A CN107526637 A CN 107526637A
Authority
CN
China
Prior art keywords
cpu
application program
application
occupancy
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710648188.4A
Other languages
Chinese (zh)
Other versions
CN107526637B (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 CN201710648188.4A priority Critical patent/CN107526637B/en
Publication of CN107526637A publication Critical patent/CN107526637A/en
Application granted granted Critical
Publication of CN107526637B publication Critical patent/CN107526637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • 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

Abstract

The application is related to a kind of applied program processing method, device, mobile terminal and storage medium.The above method, including:When listening to application program and switching to backstage from foreground, the application identities of the application program are obtained;Judge the application identities whether have been recorded in blacklist;If there is record, the application program out of service, record has the application identities for taking the application program that the abnormal probability of central processor CPU is more than probability threshold value in the blacklist.Above-mentioned applied program processing method, device, mobile terminal and storage medium, it can effectively reduce the application program of front stage operation and the situation of interim card occurs because resource is preempted.

Description

Applied program processing method, device, mobile terminal and storage medium
Technical field
The application is related to field of computer technology, more particularly to a kind of applied program processing method, device, mobile terminal And storage medium.
Background technology
With the rapid development of Internet, intelligent mobile terminal has become the most frequently used electronic equipment of many users, example Such as smart mobile phone, flat board electroplax.User can install various application program on intelligent mobile terminal and be used, and work as application Program when being run from the background, it is sometimes desirable to is performed some and is taken or take a large amount of CPU (Central Processing Unit, central processing unit) task, seize cpu resource, cause the application program of front stage operation to be blocked because resource is preempted Situation about pausing.
The content of the invention
The embodiment of the present application provides a kind of applied program processing method, device, mobile terminal and storage medium, it is possible to reduce Because resource is preempted the situation of interim card occurs for the application program of front stage operation.
A kind of applied program processing method, including:
When listening to application program and switching to backstage from foreground, the application identities of the application program are obtained;
Judge the application identities whether have been recorded in blacklist;
If there is record, the application program out of service, record has that to take central processor CPU different in the blacklist Normal probability is more than the application identities of the application program of probability threshold value.
In one of the embodiments, described when listening to application program and switching to backstage from foreground, described in acquisition Before the application identities of application program, methods described also includes:
Every the first preset time collection CPU total occupancy;
Judge whether the CPU is in busy state according to total occupancy of the CPU;
If being in, every the CPU usage for each application program that the collection of the second preset time is currently running;
The application program that CPU usage is more than to the first preset value is defined as taking the abnormal application programs of CPU.
In one of the embodiments, total occupancy according to the CPU judges whether the CPU is in busy shape State, including:
The occupancy level of the CPU is calculated according to total occupancy of the CPU;
The accumulative number for continuously maintaining the occupancy level;
When the number reaches count threshold corresponding with the occupancy level, it is determined that corresponding with the occupancy level Busy extent;
When the busy extent is more than the second preset value, then judge that the CPU is in busy state.
In one of the embodiments, it is defined as taking in the application program that CPU usage is more than to predetermined threshold value After application program abnormal CPU, methods described also includes:
The abnormal application programs of the occupancy CPU are screened according to default filter condition;
The application program of occupancy CPU exceptions after screening out of service, and record answering for the application program for being stopped operation With mark;
Obtain the record data of preset times;
The probability of operation is stopped in the preset times according to record data calculating application program;
The application identities that the probability for being stopped operation is more than to the application program of probability threshold value are added in blacklist.
In one of the embodiments, the application mark for the application program that renewal or unloading occur in the blacklist is removed Know.
A kind of application processing apparatus, including:
Module is monitored, should for when listening to application program and switching to backstage from foreground, obtain the application program With mark;
Judge module is recorded, for judging the application identities whether have been recorded in blacklist;
Stopping modular, if for recording the application identities in the blacklist, the application program out of service, Record has the application mark for taking the application program that the abnormal probability of central processor CPU is more than probability threshold value in the blacklist Know.
In one of the embodiments, described device also includes:
Acquisition module, for total occupancy every the first preset time collection CPU;
Condition judgment module, for judging whether the CPU is in busy state according to total occupancy of the CPU;
The acquisition module, if being additionally operable to the CPU is in busy state, transported every the collection of the second preset time The CPU usage of capable each application program;
Determining module, the application program for CPU usage to be more than to the first preset value are defined as taking answering for CPU exceptions Use program.
In one of the embodiments, the condition judgment module, including:
Computing unit, for calculating the occupancy level of the CPU according to total occupancy of the CPU;
Accumulated unit, for the accumulative number for continuously maintaining the occupancy level;
Busy extent determining unit, for when the number reaches count threshold corresponding with the occupancy level, really Fixed busy extent corresponding with the occupancy level;
Condition adjudgement unit, for when the busy extent is more than the second preset value, then judging that the CPU is in busy State.
In one of the embodiments, described device also includes:
Screening module, for screening the abnormal application programs of the occupancy CPU according to default filter condition;
The stopping modular, the abnormal application programs of the occupancy CPU after screening out of service are additionally operable to, and record and be stopped The application identities of the application program of operation;
Add module, for obtaining the record data of preset times, application program is calculated in institute according to the record data State the probability that operation is stopped in preset times, and application of the probability more than the application program of probability threshold value that operation will be stopped Mark is added in blacklist.
In one of the embodiments, described device also includes:
Remove module, for removing the application identities for the application program that renewal or unloading occur in the blacklist.
A kind of mobile terminal, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, method as described above is realized during the computing device described program.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor Method as described above is realized during row.
Above-mentioned applied program processing method, device, mobile terminal and storage medium, the abnormal probability of CPU will be taken and be more than The application identities of the application program of probability threshold value be recorded in blacklist, and backstage is switched to from foreground when listening to application program When, the application identities of application program are obtained, if record there are the application identities in blacklist, the application program out of service can With the application program that the occupancys CPU out of service in time for being switched to backstage is abnormal, effectively the application program of reduction front stage operation because Resource is preempted and the situation of interim card occurs.
Brief description of the drawings
Fig. 1 is the block diagram of mobile terminal in one embodiment;
Fig. 2 is the schematic flow sheet of applied program processing method in one embodiment;
Fig. 3 is the schematic flow sheet of the service condition of monitoring CPU in one embodiment;
Fig. 4 is to judge whether CPU is in the schematic flow sheet of busy state in one embodiment;
Fig. 5 is the occupancy level change schematic diagram of CPU in one embodiment;
Fig. 6 is that screening takes the abnormal application program progress of CPU schematic flow sheet out of service in one embodiment;
Fig. 7 is the block diagram of application processing apparatus in one embodiment;
Fig. 8 is the block diagram of application processing apparatus in another embodiment;
Fig. 9 is the block diagram of condition judgment module in one embodiment;
Figure 10 is the block diagram of mobile terminal in another embodiment.
Embodiment
In order that the object, technical solution and advantage of the application are more clearly understood, it is right below in conjunction with drawings and Examples The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, not For limiting the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes Say, in the case where not departing from scope of the present application, the first client can be referred to as the second client, and similarly, can incite somebody to action Second client is referred to as the first client.First client and the second client both clients, but it is not same visitor Family end.
Fig. 1 is the block diagram of mobile terminal in one embodiment.As shown in figure 1, the mobile terminal includes passing through system bus Processor, non-volatile memory medium, built-in storage, network interface, display screen and the input unit of connection.Wherein, it is mobile whole The non-volatile memory medium at end is stored with operating system and computer executable instructions, and the computer executable instructions are processed A kind of applied program processing method that device is provided when performing with realizing in the embodiment of the present application.The processor be used for provide calculate and Control ability, support the operation of whole mobile terminal.Built-in storage in mobile terminal is the meter in non-volatile memory medium The operation of calculation machine readable instruction provides environment.Network interface is used to carry out network service with server.The display screen of mobile terminal Can be LCDs or electric ink display screen etc., input unit can be the touch layer covered on display screen, also may be used To be button, trace ball or Trackpad or external keyboard, the Trackpad or mouse set on mobile terminal case Deng.The mobile terminal can be mobile phone, tablet personal computer or personal digital assistant or Wearable etc..Those skilled in the art It is appreciated that the block diagram of the structure shown in Fig. 1, the only part-structure related to application scheme, is not formed to this The restriction for the mobile terminal that application scheme is applied thereon, specific mobile terminal can include than shown in figure more or more Few part, either combine some parts or arranged with different parts.
As shown in Fig. 2 in one embodiment, there is provided a kind of applied program processing method, comprise the following steps:
Step 210, when listening to application program and switching to backstage from foreground, the application identities of application program are obtained.
Mobile terminal can be monitored each application program being currently running by active manager, and monitoring is currently running Each application program state change.When the state for detecting application program changes, it may be determined that the class of state change Type, if the type of state change is to switch to backstage from foreground, obtain the application for the application program that backstage is switched to from foreground Mark.Application identities refer to the information available for unique mark application program, such as, can be application program bag name, or It is numbering etc..
In one embodiment, mobile terminal can pass through the RunningApp of active manager at regular intervals ProcessInfo classes obtain all the application lists being currently running, for example, obtaining the institute being once currently running every 5 seconds There is the application list, and judge that the state of each application program being currently running in the application list is front stage operation one by one Or running background.Can be by this state of application program compared with the state of last time, if application program is last State is front stage operation, and this state is running background, then can determine that the application program switches to backstage from foreground.It is mobile whole End can also monitor home keys (return key), when operating system receives the broadcast that click home keys are sent, then can determine that foreground The application program of operation switches to backstage.
In one embodiment, mobile terminal can monitor the life cycle of each activity (activity), establish global meter Number devices, count calling of each activity to two methods of onStart and onStop, when application call once During onStart, global counter adds 1, and as onStop of application call, global counter subtracts 1, when application program When global counter is more than 0, illustrate application program in front stage operation, when the global counter of application program is equal to 0, illustrate to answer With program in running background, when global counter is changed into 0 from 1, then illustrate that application program switches to backstage from foreground.At other Embodiment in, also can use other manner monitor application program front and back switching, however it is not limited to above-mentioned several ways.
Step 220, judge the application identities whether have been recorded in blacklist, if so, step 230 is then performed, if it is not, then holding Row step 240.
Mobile terminal reads the blacklist of storage, and can record in blacklist has the probability for taking CPU exceptions to be more than probability threshold The application identities of the application program of value, mobile terminal can be monitored to CPU service condition, gathered each application program and transported CPU usage during row.Further, CPU usage of each application program in running background can be gathered, according to using journey CPU usage of the sequence in running background judges whether application program takes CPU exceptions, when the CPU usage of application program is big When the first preset value, it is abnormal to can determine that the application program takes CPU.Mobile terminal is recordable to be taken in running background every time The application identities of application program abnormal CPU, and probability calculation radix is set as preset times, the record of preset times can be obtained Data, the application mark that the abnormal application programs of CPU are taken in running background being recorded each time is included in record data Know, can calculate each application program according to record data is registered as taking the abnormal probability of CPU in preset times, and will be general The application identities that rate is more than the application program of probability threshold value recorded in blacklist.It is to be appreciated that preset times in above-mentioned, Probability threshold value can all be set according to the actual requirements, for example, preset times are 8 times, 10 times, probability threshold value 70%, 75% Deng, however it is not limited to this, by setting probability calculation radix, can reduce application program is considered as taking the abnormal probability of CPU by mistake, carries The accuracy of high blacklist.
Step 230, application program out of service.
Mobile terminal can determine whether the application identities of the application program when listening to application program and switching to backstage from foreground With the presence or absence of in blacklist, if in the presence of can the application program directly out of service.Application program out of service, it may include The modes such as application program are closed or hang up, wherein, close application program and refer to terminating (kill) application program, journey is applied in hang-up Sequence refers to suspending the operation of application program, can add the application program of hang-up in waiting list, when the CPU free time, then it is extensive The operation of multiple application program.According to blacklist, can directly stop switching to the different there may be CPU is taken of running background from foreground Normal application program, it is out of service again without each CPU usage of the first acquisition applications program in running background, ensure foreground The resource of the other applications of operation uses, and reduces interim card situation.
Step 240, do not deal with temporarily.
If the application identities for the application program for switching to backstage from foreground are not present in blacklist, can not make temporarily to locate Reason, makes the application program in running background, and monitors CPU usage of the application program in running background, should when monitoring this CPU exceptions, then the application program out of service are taken in running background with program.
Above-mentioned applied program processing method, application of the abnormal probability of CPU more than the application program of probability threshold value will be taken Identification record is into blacklist, when listening to application program and switching to backstage from foreground, obtains the application identities of application program, If record there are the application identities in blacklist, the application program out of service, backstage out of service in time can be switched to The abnormal application programs of CPU are taken, the application program of front stage operation is effectively reduced and the situation of interim card occurs because resource is preempted.
As shown in figure 3, in one embodiment, in step 210 when listening to application program and switching to backstage from foreground, It is further comprising the steps of before the application identities for obtaining application program:
Step 302, every the first preset time collection CPU total occupancy.
Mobile terminal can read CPU activity data, the specific text every the first preset time from specific file Record has CPU to start from mobile terminal to the cumulative operation time at current time in part, wherein, the first preset time can be according to reality Border demand is set, such as 5 seconds, 7 seconds etc., the first preset time is unsuitable long or too short, the long CPU that may cause statistics Total occupancy it is inaccurate, it is too short, system resource may be consumed.Specific file refers to that record has CPU activity data File, record has CPU to start from mobile terminal to the cumulative operation time at current time in this document, and each different enters Journey starts to current time from mobile terminal uses CPU cumulative time etc..
In one embodiment, mobile terminal can every the first preset time from under/proc catalogues /proc/stat texts Read CPU in part from mobile terminal to start to the cumulative operation time at current time, the recordable CPU's read each time is accumulative Working time, and calculate between the CPU of this record cumulative operation time and the last CPU recorded cumulative operation time Difference, obtain the real working time of CPU in the first collection period, wherein, the first collection period is the first preset time. CPU real working time and the ratio of the first collection period in the first collection period are can determine that, the ratio is always accounting for for CPU With rate.
Step 304, judge whether CPU is in busy state according to CPU total occupancy, if so, step 306 is then performed, If it is not, then perform step 302.
Mobile terminal can judge whether CPU is in busy state according to the CPU of collection total occupancy, in one embodiment In, the state value for judging busy state can be set, when CPU total occupancy is more than the state value, then can determine whether at CPU In busy state, for example, the state value set is 50%, when CPU total occupancy is more than 50%, it is believed that CPU is currently just In busy state.
Step 306, the CPU usage for each application program being currently running every the collection of the second preset time.
If CPU is in busy state, mobile terminal can be read every the second preset time from specific file The CPU of each application program of operation uses data, wherein, the second preset time can be set according to the actual requirements, and second Preset time can be the period longer than the first preset time, such as 1 minute, 40 seconds etc., the number for frequently reading CPU can be reduced According to the power consumption penalty brought.Further, mobile terminal can every the second preset time from under/proc catalogues /proc/stat In file, read each process and start from mobile terminal to current time using CPU cumulative time etc., can first determine currently just In the application identities of each application program of operation, and read and associated in/proc/stat files according to the application identities of determination Process the cumulative time using CPU.One application identities may have one or more processes associated, then application program makes With CPU cumulative time can be all processes associated with the application identities of the application program the cumulative time using CPU it With.
The cumulative time using CPU of the recordable each application program being currently running read each time of mobile terminal, For each application program, cumulative time using CPU of this record can be calculated with last record using the accumulative of CPU The difference of time, obtain corresponding to the time for really using CPU of application program in the second collection period, wherein, the second collection week Phase is the second preset time, it may be determined that application program is really using CPU time and the second collection week in the second collection period The ratio of phase, the ratio are the CPU usage of corresponding application program.
Step 308, the application program that CPU usage is more than to the first preset value is defined as taking the abnormal application journeys of CPU Sequence.
Mobile terminal can be compared the CPU usage of each application program being currently running of collection with the first preset value Compared with if the CPU usage of application program is more than the first preset value, can determine that the application program is to take the abnormal applications of CPU Program, wherein, the first preset value can be set according to the actual requirements, such as 40%, 45% etc..
In one embodiment, mobile terminal can only gather the CPU usage in each application program of running background, from And the abnormal application programs of the occupancy CPU of running background are determined, ensure the fluency of the application program of front stage operation.
In the present embodiment, when CPU is in busy state, just the CPU for each application program that collection is currently running is accounted for With rate, it is determined that taking the abnormal application programs of CPU, the overhead that frequently collection cpu data is brought can be reduced, and can reduce and answer It is considered as taking the abnormal probability of CPU by mistake with program.
As shown in figure 4, in one embodiment, whether step 304 judges CPU in busy according to CPU total occupancy State, comprise the following steps:
Step 402, CPU occupancy level is calculated according to CPU total occupancy.
Multiple CPU occupancy level can be divided in advance, each occupancy level can correspond to different occupancy scopes, for example, Divide 4 CPU occupancy level, including L1, L2, L3 and L4, wherein, occupancy scope corresponding to L1 occupancy levels be less than Occupancy scope corresponding to 20%, L2 occupancy level is that occupancy scope corresponding to 20%~40%, L3 occupancy levels is 40% Occupancy scope corresponding to~60%, L4 occupancy level is but the not limited to this such as more than 60%.Mobile terminal is default every first Time gathers CPU total occupancy, it may be determined that the occupancy scope that the CPU of collection total occupancy is fallen into, and obtain falling with this CPU occupancy level corresponding to the occupancy scope entered.For example, the CPU of collection total occupancy is 18%, then CPU occupancy Rank is L1, and CPU total occupancy is 25%, then CPU occupancy level is L2 etc..
Step 404, the continuous number for maintaining occupancy level is added up.
Mobile terminal can distribute a level counter for each CPU occupancy level, and CPU is recorded by level counter The read-around ratio of occupancy level corresponding to maintaining, wherein, CPU maintains some occupancy level, refers to that CPU is constantly in this The occupancy level of occupancy level or more, for example, CPU occupancy level, which becomes, turns to L2 occupancy levels, L3 occupancy levels, L2 occupancy Rank, then it is believed that CPU maintains L2 occupancy levels, read-around ratio 3.
In one embodiment, mobile terminal gathers CPU total occupancy every the first preset time, and determines CPU's Occupancy level, 1 can be added in level counter corresponding to the occupancy level and following occupancy level respectively, and other are taken The level counter of rank is reset.For example, this CPU occupancy level is L3, then by L1, L2 and L3 level counter point Not plus 1, L4 level counter is reset, and the occupancy level of CPU next time be L2, then by L1, L2 level counter difference Add 1, L3, L4 level counter are reset.
In one embodiment, the type of occupancy level can be divided, wherein, type may include for idle rank and busy level Not, for example, using L1 occupancy levels as idle rank, using L2, L3, L4 occupancy level as busy rank, difference is represented respectively Busy extent.Mobile terminal gathers CPU total occupancy every the first preset time, and calculates CPU occupancy level, can be first It is determined that corresponding type, then in the occupancy level and following belong to level counter corresponding to same type of occupancy level respectively Add 1 in device, and the level counter of other occupancy levels is reset.For example, this CPU occupancy levels are L1, belong to idle Rank, then L1 level counter is added 1, L2, L3 and L4 level counter are reset, and the occupancy level of CPU next time is L3, belong to busy rank, then the L3 and L2 for belonging to busy rank level counter is added 1 respectively, L1, L4 rank meter Number device is reset.
Step 406, when number reaches count threshold corresponding with occupancy level, it is determined that corresponding with occupancy level busy Degree.
It can be used for judging mobile terminal for count threshold corresponding to each CPU occupancy level setting, the count threshold CPU whether maintain in the working condition of corresponding occupancy level.Mobile terminal adds up CPU by level counter and continuously maintained In the number of each occupancy level, the number that occupancy level is continuously maintained as CPU reaches counting corresponding with the occupancy level During threshold value, then it can assert that CPU is stable in the working condition of the occupancy level.For example, to L1, L2, L3 and L4, one is set respectively Count threshold corresponding to individual is c1, c2, c3 and c4, and the number that L1 ranks are continuously maintained as CPU reaches c1, then assert that CPU is steady It is scheduled in L1 working condition.Further, count threshold corresponding to each occupancy level, can subtract with the increase of occupancy level It is small, for example, count threshold corresponding to L1, L2, L3 and L4 is c1, c2, c3 and c4, wherein, c1>c2>c3>C4, such as, c1 5 Secondary, c2 is 4 times, and c3 is 3 times, and c4 is 2 inferior, but not limited to this.In one embodiment, if multiple continuous maintenances simultaneously be present Number reach corresponding to count threshold occupancy level, then choose highest level occupancy level as CPU stably work State.
Fig. 5 is the occupancy level change schematic diagram of CPU in one embodiment.As shown in figure 4, mobile terminal was adopted every 5 seconds Collect CPU total occupancy, and the occupancy level of CPU corresponding to determination.The occupancy level of CPU first times is L1, then L1 rank Counter adds 1, and other level counters are reset;Secondary occupancy level is L2, then L1, L2 level counter add 1 respectively, Other level counters are reset;The occupancy level of third time is L3, then L1, L2, L3 level counter add 1 respectively, other levels Other counter O reset;The occupancy level of the 4th time is L2, then L1, L2 level counter add 1 respectively, and other level counters are clear Zero;The occupancy level of the 5th time is L4, then L1, L2, L3, L4 level counter add 1 respectively.CPU continuously maintains L2 time Number reaches corresponding count threshold 4, then it is believed that the stable working conditions in L2 of CPU.
Step 408, when busy extent is more than the second preset value, then judge that CPU is in busy state.
Different CPU occupancy levels can correspond to different busy extents, busy extent can with being incremented by for occupancy level and Increase, when CPU stabilizations are in the working condition of a certain occupancy level, mobile terminal can determine that busy journey corresponding to the occupancy level Sequence, and judge whether busy extent is more than the second preset value, if being more than, judge that CPU is in busy state.For example, it can set L1 busy extent is 40%~60%, L4's for the busy extent that the busy extent less than 20%, L2 is 20%~40%, L3 Busy extent is more than 60% etc., when CPU busy program is more than 20%, then it is assumed that CPU is in busy state.
In one embodiment, directly can also be judged according to the type of occupancy level stable CPU, if the occupancy level Other type is busy type, then can determine whether that CPU is in busy state, for example, stable any in L2, L3 and L4 of CPU accounts for With rank, it can determine that CPU is in busy state.
In the present embodiment, continuous maintenance numbers of the CPU in each occupancy level is added up, so that it is determined that the work of CPU stabilization Make state, judge whether CPU is in busy state by way of buffering deglitch, improve the accuracy of monitoring CPU state, keep away The total occupancy for exempting to occur CPU once in a while becomes the condition adjudgement mistake brought greatly.
As shown in fig. 6, in one embodiment, CPU usage is more than to the application program of the first preset value in step 308 It is defined as after taking the abnormal application programs of CPU, it is further comprising the steps of:
Step 602, screened according to default filter condition and take the abnormal application programs of CPU.
If mobile terminal judges CPU processing busy states, can be currently running every the collection of the second preset time each The CPU usage of application program, and CPU usage is defined as occupancy CPU exceptions more than the application program of the first preset value Application program.Mobile terminal can pre-establish filter condition, and the application program of the occupancy CPU exceptions to monitoring filters, Wherein, filter condition may include higher application program of front stage operation, the application program of application-specific list, priority etc..It is special Determine to be stored with the application identities of shielded each application program in list of application, can be the application that user oneself selects to set What program or system were set according to the actual requirements, such as may include the application programs such as music, instant messaging.
Step 604, application program abnormal the occupancy CPU after screening out of service, and record the application for being stopped operation The application identities of program.
, can be after screening out of service after mobile terminal is filtered to taking abnormal application program according to filter condition The abnormal application programs of the occupancy CPU of filter condition are unsatisfactory for, and record the application identities for the application program for being stopped operation, with And the information such as time out of service.
In one embodiment, mobile terminal can show the abnormal application programs of the occupancy CPU after screening on interface, and The abnormal application programs of the occupancy CPU after screening out of service are determined whether by user, according to the selection operation of user, stop fortune The selected application program of row.
Step 606, the record data of preset times is obtained.
Step 608, the probability of operation is stopped in preset times according to record data calculating application program.
Mobile terminal using preset times as probability calculation radix, can obtain the record data of preset times, record data In include the application identities of the abnormal application programs of the occupancy CPU for being stopped operation being recorded each time, according to record number According to the probability that can calculate each application program and be stopped in preset times operation, application program in preset times can be stopped The number divided by preset times of operation, it is the probability that the application program is stopped operation in preset times.For example, using journey Sequence A has been recorded to 2 times and has been stopped operation in the record data of 10 times, then the probability that application program A is stopped operation can be 20%.
Step 610, the application identities that the probability for being stopped operation is more than to the application program of probability threshold value are added to black name Dan Zhong.
The application identities for the application program that the probability for being stopped operation is more than probability threshold value can be added to black by mobile terminal In list, if the probability that application program is stopped operation in preset times is more than probability threshold value, illustrate the application program rear Platform is frequently necessary to take substantial amounts of cpu resource when running, and has a strong impact on the application program of front stage operation.It will be passed through in running background The application program for often needing to take substantial amounts of cpu resource is added in blacklist, facilitates application program to be switched to backstage from foreground When carry out killing in time.
In one embodiment, the probability that application program is stopped operation can be calculated in different ways.Mobile terminal Application program each run situation can be recorded, the time of records application program each run, when application program is on backstage When being stopped operation due to occupancy CPU exceptions during operation, corresponding stopping label being added.Mobile terminal can be obtained using journey The log data of the preset times of sequence, and obtain the number of the stopping label being included in the log data of preset times Amount, the quantity divided by preset times of label will be stopped, you can calculating the application program and fortune is stopped in the preset times of operation Capable probability, if the probability for being stopped operation is more than predetermined probabilities, the application identities of the application program can be added to black In list.
In the present embodiment, it can be screened according to default filter condition and take the abnormal application programs of CPU, and it is out of service The application program of the occupancy CPU for being unsatisfactory for filter condition exceptions after screening, will be stopped the probability of operation in preset times Application program more than probability threshold value is added in blacklist, is looked into time when facilitating application program to be switched to backstage from foreground Kill, can effectively reduce the application program of front stage operation and the situation of interim card occurs because resource is preempted.
In one embodiment, above-mentioned applied program processing method, in addition to:Remove and renewal or unloading occur in blacklist Application program application identities.
Mobile terminal can establish corresponding blacklist and remove the operation such as mechanism, installation, renewal or unloading to application program Monitored, when listening to application program generation renewal or unloading, can determine whether that the application identities of the application program whether there is In blacklist, if in the presence of the application identities can be removed from blacklist.Further, mobile terminal can create reception Broadcast, the operations such as installation, renewal or the unloading to application program are broadcasted by the reception and monitored, broadcast is received when receiving When, action type and application identities can be obtained according to receiving to broadcast, if action type is renewal or unloading, can detect blacklist In whether include the application identities, if comprising the application identities can be removed from blacklist.
In one embodiment, if application program is stopped operation number when switching to backstage from foreground reaches number Threshold value, the application identities of the application program can also be removed from blacklist, so as to ensure the accuracy of blacklist and ageing.
In the present embodiment, establish blacklist and remove mechanism, remove the application journey that blacklist such as was updated, unloaded at the operation Sequence, ensure the accuracy of blacklist and ageing, reduce the probability that application program is stopped operation by mistake.
As shown in fig. 7, in one embodiment, there is provided a kind of application processing apparatus 700, including monitoring module 710, Record judge module 720 and stopping modular 730.
Module 710 is monitored, for when listening to application program and switching to backstage from foreground, obtaining the application of application program Mark.
Judge module 720 is recorded, for judging whether recorded application identities in blacklist.
Stopping modular 730, if for there is record application identities in blacklist, application program out of service, in blacklist Record has the application identities for taking the application program that the abnormal probability of central processor CPU is more than probability threshold value.
Above-mentioned application processing apparatus, application of the abnormal probability of CPU more than the application program of probability threshold value will be taken Identification record is into blacklist, when listening to application program and switching to backstage from foreground, obtains the application identities of application program, If record there are the application identities in blacklist, the application program out of service, backstage out of service in time can be switched to The abnormal application programs of CPU are taken, the application program of front stage operation is effectively reduced and the situation of interim card occurs because resource is preempted.
As shown in figure 8, in one embodiment, above-mentioned application processing apparatus 700, except including monitor module 710, Record judge module 720 and stopping modular 730, in addition to acquisition module 740, condition judgment module 750 and determining module 760.
Acquisition module 740, for total occupancy every the first preset time collection CPU.
Condition judgment module 750, for judging whether CPU is in busy state according to CPU total occupancy.
Acquisition module 740, if being additionally operable to CPU is in busy state, it is currently running every the collection of the second preset time The CPU usage of each application program.
Determining module 760, the application program for CPU usage to be more than to the first preset value are defined as taking CPU exceptions Application program.
In the present embodiment, when CPU is in busy state, just the CPU for each application program that collection is currently running is accounted for With rate, it is determined that taking the abnormal application programs of CPU, the overhead that frequently collection cpu data is brought can be reduced, and can reduce and answer It is considered as taking the abnormal probability of CPU by mistake with program.
As shown in figure 9, in one embodiment, condition judgment module 750, including computing unit 752, accumulated unit 754, Busy extent determining unit 756 and condition adjudgement unit 758.
Computing unit 752, for calculating CPU occupancy level according to CPU total occupancy.
Accumulated unit 754, for the accumulative continuous number for maintaining occupancy level.
Busy extent determining unit 756, for when number reaches count threshold corresponding with occupancy level, it is determined that with accounting for The busy extent corresponding to rank.
Condition adjudgement unit 758, for when busy extent is more than the second preset value, then judging that CPU is in busy state.
In the present embodiment, continuous maintenance numbers of the CPU in each occupancy level is added up, so that it is determined that the work of CPU stabilization Make state, judge whether CPU is in busy state by way of buffering deglitch, improve the accuracy of monitoring CPU state, keep away The total occupancy for exempting to occur CPU once in a while becomes the condition adjudgement mistake brought greatly.
In one embodiment, above-mentioned application processing apparatus 700, except including monitoring module 710, record judges mould Block 720, stopping modular 730, acquisition module 740, condition judgment module 750 and determining module 760, in addition to screening module and add Add module.
Screening module, the abnormal application programs of CPU are taken for being screened according to default filter condition.
Stopping modular 730, the abnormal application programs of the occupancy CPU after screening out of service are additionally operable to, and record and be stopped The application identities of the application program of operation.
Add module, for obtaining the record data of preset times, application program is calculated at default time according to record data The probability of operation is stopped in number, and application identities of the probability for being stopped operation more than the application program of probability threshold value are added Into blacklist.
In the present embodiment, it can be screened according to default filter condition and take the abnormal application programs of CPU, and it is out of service The application program of the occupancy CPU for being unsatisfactory for filter condition exceptions after screening, will be stopped the probability of operation in preset times Application program more than probability threshold value is added in blacklist, is looked into time when facilitating application program to be switched to backstage from foreground Kill, can effectively reduce the application program of front stage operation and the situation of interim card occurs because resource is preempted.
In one embodiment, above-mentioned application processing apparatus 700, in addition to remove module.
Remove module, for removing the application identities for the application program that renewal or unloading occur in blacklist.
In the present embodiment, establish blacklist and remove mechanism, remove the application journey that blacklist such as was updated, unloaded at the operation Sequence, ensure the accuracy of blacklist and ageing, reduce the probability that application program is stopped operation by mistake.
The embodiment of the present application additionally provides a kind of mobile terminal.As shown in Figure 10, for convenience of description, illustrate only and this Apply for the related part of embodiment, particular technique details does not disclose, refer to the embodiment of the present application method part.The movement is whole End can be to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using mobile terminal as mobile phone Exemplified by:
Figure 10 is the block diagram of the part-structure of the mobile phone related to the mobile terminal of the embodiment of the present application offer.Reference chart 10, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input block 1030, display unit 1040th, the part such as sensor 1050, voicefrequency circuit 1060, WiFi module 1070, processor 1080 and power supply 1090.Ability Field technique personnel are appreciated that the handset structure shown in Figure 10 does not form the restriction to mobile phone, can include more more than illustrating Or less part, either combine some parts or different parts arrangement.
Wherein, RF circuits 1010 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations After downlink information receives, handled to processor 1080;Up data can also be sent to base station.Generally, RF circuits include But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 1010 can also be communicated by radio communication with network and other equipment.It is above-mentioned wireless Communication can use any communication standard or agreement, including but not limited to GSM, general packet radio service (General Packet Radio Service, GPRS), CDMA, WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storage software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1020 can be led To include program storage area and data storage area, wherein, program storage area can storage program area, needed at least one function Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can Storage uses created data (such as voice data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap High-speed random access memory is included, nonvolatile memory, for example, at least disk memory, a flash memories can also be included Part or other volatile solid-state parts.
Input block 1030 can be used for the numeral or character information for receiving input, and produces and set with the user of mobile phone 1000 Put and the input of key signals that function control is relevant.Specifically, input block 1030 may include contact panel 1032 and other Input equipment 1034.Contact panel 1032, alternatively referred to as touch-screen, collect touch operation (ratio of the user on or near it Such as user is using finger, any suitable object of stylus or annex on contact panel 1032 or near contact panel 1032 Operation), and corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 1032 can Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine The signal that touch operation is brought is surveyed, transmits a signal to touch controller;Touch controller receives from touch detecting apparatus to be touched Information is touched, and is converted into contact coordinate, then gives processor 1080, and the order sent of reception processing device 1080 and can be added To perform.Furthermore, it is possible to contact panel is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves 1032.Except contact panel 1032, input block 1030 can also include other input equipments 1034.Specifically, other are inputted Equipment 1034 can include but is not limited in physical keyboard, function key (such as volume control button, switch key etc.) etc. one Kind is a variety of.
Display unit 1040 can be used for display by user input information or be supplied to user information and mobile phone it is each Kind menu.Display unit 1040 may include display panel 1042.In one embodiment, liquid crystal display can be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED form configures display panel 1042.In one embodiment, contact panel 1032 can cover display panel 1042, After contact panel 1032 detects the touch operation on or near it, processor 1080 is sent to determine touch event Type, it is followed by subsequent processing device 1080 and corresponding visual output is provided on display panel 1042 according to the type of touch event.Although In Fig. 10, contact panel 1032 and display panel 1042 are the parts independent as two to realize the input of mobile phone and input Function, but in some embodiments it is possible to contact panel 1032 and display panel 1042 are integrated and realize the input of mobile phone And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ring The light and shade of environmental light adjusts the brightness of display panel 1042, and proximity transducer can close display when mobile phone is moved in one's ear Panel 1042 and/or backlight.Motion sensor may include acceleration transducer, and all directions are can detect by acceleration transducer The size of upper acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture is (such as horizontal Portrait layout switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, Other sensors such as hygrometer, thermometer, infrared ray sensor etc..
Voicefrequency circuit 1060, loudspeaker 1062 and microphone 1064 can provide the COBBAIF between user and mobile phone.Sound Frequency circuit 1060 voice data received can be changed after electric signal, loudspeaker 1062 is transferred to, by 1062 turns of loudspeaker It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1064, by voicefrequency circuit 1060 receive after be converted to voice data, then after voice data output processor 1080 is handled, can be sent out through RF circuits 1010 Another mobile phone is given, or voice data is exported to memory 1020 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1070 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.
Processor 1080 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, By running or performing the software program and/or module that are stored in memory 1020, and call and be stored in memory 1020 Interior data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.In one embodiment, Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor And modem processor, wherein, application processor mainly handles operating system, user interface and application program etc.;Modulatedemodulate Processor is adjusted mainly to handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 1080.
Mobile phone 1000 also includes the power supply 1090 (such as battery) to all parts power supply, it is preferred that power supply 1090 can be with It is logically contiguous by power-supply management system and processor 1080, so as to by power-supply management system realize management charging, electric discharge, with And the function such as power managed.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 1080 included by the mobile terminal performs the calculating of storage on a memory Above-mentioned applied program processing method is realized during machine program.
In one embodiment, there is provided a kind of computer-readable recording medium, be stored thereon with computer program, the calculating Machine program realizes above-mentioned applied program processing method when being executed by processor.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the application, and its description is more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art Say, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the protection of the application Scope.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (12)

  1. A kind of 1. applied program processing method, it is characterised in that including:
    When listening to application program and switching to backstage from foreground, the application identities of the application program are obtained;
    Judge the application identities whether have been recorded in blacklist;
    If there is record, the application program out of service, record has that to take central processor CPU abnormal in the blacklist Probability is more than the application identities of the application program of probability threshold value.
  2. 2. according to the method for claim 1, it is characterised in that described after listening to application program and being switched to from foreground During platform, before the application identities for obtaining the application program, methods described also includes:
    Every the first preset time collection CPU total occupancy;
    Judge whether the CPU is in busy state according to total occupancy of the CPU;
    If being in, every the CPU usage for each application program that the collection of the second preset time is currently running;
    The application program that CPU usage is more than to the first preset value is defined as taking the abnormal application programs of CPU.
  3. 3. according to the method for claim 2, it is characterised in that total occupancy according to the CPU judges the CPU Whether busy state is in, including:
    The occupancy level of the CPU is calculated according to total occupancy of the CPU;
    The accumulative number for continuously maintaining the occupancy level;
    When the number reaches count threshold corresponding with the occupancy level, it is determined that corresponding with the occupancy level busy Degree;
    When the busy extent is more than the second preset value, then judge that the CPU is in busy state.
  4. 4. according to the method in claim 2 or 3, it is characterised in that CPU usage is more than answering for predetermined threshold value described It is defined as with program after taking the abnormal application programs of CPU, methods described also includes:
    The abnormal application programs of the occupancy CPU are screened according to default filter condition;
    The application program of occupancy CPU exceptions after screening out of service, and record the application mark for the application program for being stopped operation Know;
    Obtain the record data of preset times;
    The probability of operation is stopped in the preset times according to record data calculating application program;
    The application identities that the probability for being stopped operation is more than to the application program of probability threshold value are added in blacklist.
  5. 5. according to the method for claim 1, it is characterised in that methods described also includes:
    Remove the application identities for the application program that renewal or unloading occur in the blacklist.
  6. A kind of 6. application processing apparatus, it is characterised in that including:
    Module is monitored, for when listening to application program and switching to backstage from foreground, obtaining the application mark of the application program Know;
    Judge module is recorded, for judging the application identities whether have been recorded in blacklist;
    Stopping modular, if for recording the application identities in the blacklist, the application program out of service is described Record has the application identities for taking the application program that the abnormal probability of central processor CPU is more than probability threshold value in blacklist.
  7. 7. device according to claim 6, it is characterised in that described device also includes:
    Acquisition module, for total occupancy every the first preset time collection CPU;
    Condition judgment module, for judging whether the CPU is in busy state according to total occupancy of the CPU;
    The acquisition module, if being additionally operable to the CPU is in busy state, it is currently running every the collection of the second preset time The CPU usage of each application program;
    Determining module, the application program for CPU usage to be more than to the first preset value are defined as taking the abnormal application journeys of CPU Sequence.
  8. 8. device according to claim 7, it is characterised in that the condition judgment module, including:
    Computing unit, for calculating the occupancy level of the CPU according to total occupancy of the CPU;
    Accumulated unit, for the accumulative number for continuously maintaining the occupancy level;
    Busy extent determining unit, for when the number reaches count threshold corresponding with the occupancy level, it is determined that with Busy extent corresponding to the occupancy level;
    Condition adjudgement unit, for when the busy extent is more than the second preset value, then judging that the CPU is in busy shape State.
  9. 9. the device according to claim 7 or 8, it is characterised in that described device also includes:
    Screening module, for screening the abnormal application programs of the occupancy CPU according to default filter condition;
    The stopping modular, the abnormal application programs of the occupancy CPU after screening out of service are additionally operable to, and record and be stopped operation Application program application identities;
    Add module, for obtaining the record data of preset times, application program is calculated described pre- according to the record data If the probability of operation is stopped in number, and application identities of the probability more than the application program of probability threshold value that operation will be stopped It is added in blacklist.
  10. 10. device according to claim 6, it is characterised in that described device also includes:
    Remove module, for removing the application identities for the application program that renewal or unloading occur in the blacklist.
  11. 11. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, the method as described in claim 1 to 5 is any is realized during the computing device described program.
  12. 12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The method as described in claim 1 to 5 is any is realized when being executed by processor.
CN201710648188.4A 2017-08-01 2017-08-01 Application processing method and device, mobile terminal and storage medium Active CN107526637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710648188.4A CN107526637B (en) 2017-08-01 2017-08-01 Application processing method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710648188.4A CN107526637B (en) 2017-08-01 2017-08-01 Application processing method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107526637A true CN107526637A (en) 2017-12-29
CN107526637B CN107526637B (en) 2022-09-13

Family

ID=60680484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710648188.4A Active CN107526637B (en) 2017-08-01 2017-08-01 Application processing method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107526637B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286961A (en) * 2019-06-27 2019-09-27 深圳市网心科技有限公司 Process based on physical host processor hangs up method and relevant device
CN111722919A (en) * 2019-03-21 2020-09-29 北京小米移动软件有限公司 Method and device for running background application program, storage medium and electronic equipment
CN111898117A (en) * 2020-04-26 2020-11-06 广州视源电子科技股份有限公司 Mutually exclusive application processing method, device, terminal and storage medium
CN115544502A (en) * 2022-03-07 2022-12-30 荣耀终端有限公司 Terminal software control method, electronic equipment and storage medium
CN115544502B (en) * 2022-03-07 2024-04-23 荣耀终端有限公司 Terminal software management and control method, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673216A (en) * 2008-09-09 2010-03-17 联想(北京)有限公司 Method and device for closing application program
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN104239196A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal
CN105912370A (en) * 2016-05-03 2016-08-31 广东欧珀移动通信有限公司 Control method and apparatus for background application of mobile terminal and mobile terminal
CN106201683A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of manage the method for application, device and terminal
CN106325990A (en) * 2016-08-19 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Control method of application program, control device and terminal
CN106909407A (en) * 2015-12-23 2017-06-30 北京金山安全软件有限公司 Background application program closing method and device and terminal
CN107045443A (en) * 2017-04-14 2017-08-15 北京安云世纪科技有限公司 background process control method, device and intelligent terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673216A (en) * 2008-09-09 2010-03-17 联想(北京)有限公司 Method and device for closing application program
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN104239196A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal
CN106909407A (en) * 2015-12-23 2017-06-30 北京金山安全软件有限公司 Background application program closing method and device and terminal
CN105912370A (en) * 2016-05-03 2016-08-31 广东欧珀移动通信有限公司 Control method and apparatus for background application of mobile terminal and mobile terminal
CN106201683A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of manage the method for application, device and terminal
CN106325990A (en) * 2016-08-19 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Control method of application program, control device and terminal
CN107045443A (en) * 2017-04-14 2017-08-15 北京安云世纪科技有限公司 background process control method, device and intelligent terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722919A (en) * 2019-03-21 2020-09-29 北京小米移动软件有限公司 Method and device for running background application program, storage medium and electronic equipment
CN110286961A (en) * 2019-06-27 2019-09-27 深圳市网心科技有限公司 Process based on physical host processor hangs up method and relevant device
CN111898117A (en) * 2020-04-26 2020-11-06 广州视源电子科技股份有限公司 Mutually exclusive application processing method, device, terminal and storage medium
CN115544502A (en) * 2022-03-07 2022-12-30 荣耀终端有限公司 Terminal software control method, electronic equipment and storage medium
CN115544502B (en) * 2022-03-07 2024-04-23 荣耀终端有限公司 Terminal software management and control method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107526637B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US11099900B2 (en) Memory reclamation method and apparatus
CN106453511B (en) A kind of data back up method and equipment
CN107526640A (en) Method for managing resource, device, mobile terminal and computer-readable recording medium
CN107544842B (en) Applied program processing method and device, computer equipment, storage medium
CN107256129A (en) Switch method, device and its relevant device of application under span mode
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN106293445A (en) Application program uses the acquisition methods of data, device and terminal unit
CN107368400B (en) CPU monitoring method and device, computer readable storage medium and mobile terminal
CN103500002A (en) Method, device and terminal equipment for managing application program
CN104571979B (en) A kind of method and apparatus for realizing split view
CN107526638A (en) Applied program processing method, device, mobile terminal and storage medium
CN103024205A (en) Method, device and terminal for controlling power
CN103368828B (en) A kind of message temporary storage and system
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN107562539A (en) Applied program processing method and device, computer equipment, storage medium
CN107577508A (en) Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
CN103501487A (en) Method, device, terminal, server and system for updating classifier
CN107526637A (en) Applied program processing method, device, mobile terminal and storage medium
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN110032439A (en) Method for managing resource, device, mobile terminal and computer readable storage medium
CN109086101A (en) Terminal application software starts method, terminal and computer readable storage medium
CN110046032A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN107491349B (en) Applied program processing method and device, computer equipment, storage medium
CN106502827A (en) A kind of data back up method and equipment
CN107341094A (en) The time-consuming measuring method of startup item and device

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
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant