CN104317649B - Processing method and device of terminal application program APP and terminal - Google Patents

Processing method and device of terminal application program APP and terminal Download PDF

Info

Publication number
CN104317649B
CN104317649B CN201410521394.5A CN201410521394A CN104317649B CN 104317649 B CN104317649 B CN 104317649B CN 201410521394 A CN201410521394 A CN 201410521394A CN 104317649 B CN104317649 B CN 104317649B
Authority
CN
China
Prior art keywords
app
cpu usage
user
abnormal
parameter information
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.)
Expired - Fee Related
Application number
CN201410521394.5A
Other languages
Chinese (zh)
Other versions
CN104317649A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201410521394.5A priority Critical patent/CN104317649B/en
Publication of CN104317649A publication Critical patent/CN104317649A/en
Application granted granted Critical
Publication of CN104317649B publication Critical patent/CN104317649B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a processing method and device of a terminal application program APP and a terminal. Wherein, the method comprises the following steps: acquiring the CPU occupancy rate of the APP of the background running of the terminal system in the current APP running time; and judging whether the CPU occupancy rate of the APP running in the background is in the corresponding normal data range, if not, determining that the CPU occupancy rate of the corresponding APP is abnormal, and displaying prompt information for killing the process so as to enable a user to check and kill the process of the corresponding APP according to the prompt information. According to the processing method and device for the terminal application program APP and the terminal, the influence of the APP with abnormal CPU occupancy rate on the current APP can be reduced, the running smoothness of the current APP is improved, and the running efficiency of a terminal system is improved.

Description

End application APP processing method, device and terminal
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of end application APP processing method, device And terminal.
Background technology
Improved constantly with the performance of the development of mobile communication technology and mobile terminal such as smart mobile phone, pass through movement Terminal plays the important component that game has become the amusement of people's daily leisure, it is generally the case that user plays in smart mobile phone During game, if the application program (APP, APPlication) of intelligent mobile phone system running background is excessively, game easily goes out The problems such as now card screen, operation is not smooth, and delay is very high, and game goes offline.
APP in smart mobile phone can be consumed during operation certain central processing unit (CPU, Central Processing Unit) resource, if the cpu resource that other applications consume in game process is fewer, game can To obtain sufficient resource, it runs smooth.At present, mobile terminal can provide the user be currently running in current system it is each APP CPU usage, wherein, CPU usage can represent the Expenditure Levels of cpu resource in mobile terminal system, however, existing Only it is the CPU usage situation for giving each APP in some correlation techniques, whether each APP CPU usage is not deposited Judged extremely, user can not know whether the CPU usage for the APP being currently running in current system is abnormal, if meeting Game running is influenceed, and then game can not be influenceed to the abnormal APP processing of CPU usage, the abnormal APP of CPU usage The efficiency of operation and the operational efficiency of terminal system.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.Therefore, the present invention First purpose be to propose a kind of end application APP processing method, and it is abnormal that this method can reduce CPU usage Influences of the APP to current APP, improve current APP operation fluency and the operational efficiency of terminal system is provided.
Second object of the present invention is to propose a kind of end application APP processing unit.
Third object of the present invention is to propose a kind of terminal.
To achieve the above object, first aspect present invention embodiment proposes a kind of end application APP processing side Method, including:Obtain the CPU usage of the APP of terminal system running background in current APP run times;Judge running background Whether APP CPU usage is in the range of corresponding normal data, if being not in, it is determined that corresponding A PP CPU usage Abnormal, the prompt message of journey is entered in display, so that process of the user according to the prompt message killing corresponding A PP.
End application APP according to embodiments of the present invention processing method, obtain terminal in current APP run times The APP of system background operation CPU usage, if the CPU usage for judging running background APP is to be not in corresponding normal number In the range of, determine that corresponding A PP CPU usage is abnormal, and show the prompt message for entering journey, so that user can be according to carrying Show that information killing corresponds to process, thus, influences of the abnormal APP of CPU usage to current APP can be reduced, improve current APP's Operational efficiency, current APP is avoided to occur running the generation of not smooth phenomenon, so as to improve Consumer's Experience of the user to current APP Degree.
To achieve the above object, second aspect of the present invention embodiment proposes the processing dress of end application APP a kind of Put, including:Acquisition module, for obtaining the CPU usage of the APP of terminal system running background in current APP run times;The One processing module, for judging whether the APP CPU usage of running background is in the range of corresponding normal data, if not It is in, it is determined that corresponding A PP CPU usage is abnormal, and the prompt message of journey is entered in display, so that user believes according to the prompting Cease killing corresponding A PP process.
End application APP according to embodiments of the present invention processing unit, current APP is obtained by acquisition module and transported The APP of terminal system running background CPU usage in the row time, and judge running background APP's by first processing module Whether CPU usage is in the range of corresponding normal data, if being not located at, it is determined that and corresponding A PP CPU usage is abnormal, And the prompt message for entering journey is shown, so that user can correspond to process according to prompt message killing, thus, CPU can be reduced and accounted for With influences of the abnormal APP of rate to current APP, improve current APP operational efficiency, avoid current APP occur running it is not smooth The generation of phenomenon, so as to improve user experience of the user to current APP.
To achieve the above object, third aspect present invention embodiment proposes a kind of terminal, and the terminal includes housing, processing Device, memory, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing surrounds, the place Reason device and the memory are arranged on the circuit board;The power circuit, for each circuit for the mobile terminal Or device power supply;The memory is used to store executable program code;The processor is deposited by reading in the memory The executable program code of storage runs program corresponding with the executable program code, for performing following steps:Obtain Take the CPU usage of the APP of terminal system running background in current APP run times;Judge that the APP of running background CPU is accounted for With rate whether in the range of corresponding normal data, if being not in, it is determined that corresponding A PP CPU usage is abnormal, and display is killed The prompt message of process, so that process of the user according to the prompt message killing corresponding A PP.
Terminal according to embodiments of the present invention, obtain the APP of terminal system running background in current APP run times CPU usage, if the CPU usage for judging running background APP is not in the range of corresponding normal data, it is determined that corresponding APP CPU usage is abnormal, and shows the prompt message for entering journey, so that user can correspondingly enter according to prompt message killing Journey, thus, influences of the abnormal APP of CPU usage to current APP can be reduced, improve current APP operational efficiency, avoid working as There is running the generation of not smooth phenomenon in preceding APP, so as to improve user experience of the user to current APP.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Fig. 1 is the flow chart of end application APP according to an embodiment of the invention processing method.
The schematic diagram at the interface of Fig. 2 display reminding information according to an embodiment of the invention.
Fig. 3 is the schematic diagram for the page that display according to an embodiment of the invention accelerates result.
Fig. 4 is the flow chart of end application APP in accordance with another embodiment of the present invention processing method.
Fig. 5 is the flow chart according to the end application APP of another embodiment of the invention processing method.
Fig. 6 is the structural representation of end application APP according to an embodiment of the invention processing unit.
Fig. 7 is the structural representation of end application APP in accordance with another embodiment of the present invention processing unit.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the end application APP of embodiment of the present invention processing method, device and terminal is described.
Fig. 1 is the flow chart of end application APP according to an embodiment of the invention processing method, such as Fig. 1 institutes Show, this method includes:
S101, obtain the CPU usage of the APP of terminal system running background in current APP run times.
Specifically, when current APP is exited, calculate in current APP run times, the APP's of terminal system running background CPU usage.
S102, the APP CPU usage of running background is judged whether in the range of corresponding normal data, if not locating In, it is determined that corresponding A PP CPU usage is abnormal, then the prompt message of journey is entered in display, so that user looks into according to prompt message Kill corresponding A PP process.
In this embodiment, judging the APP of running background CPU usage whether in corresponding normal data scope Before interior, it can also include:The APP of running background parameter information is obtained, sends parameter information to server, and receive service Device inquires about after local database the regime values scope returned according to parameter information.
Wherein, the regime values scope of APP CPU usage is pre-saved in the local database of server The number range of APP CPU usage, above-mentioned APP parameter information can include but is not limited to APP identification information, operation Environment and Run-time scenario, above-mentioned identification information are used for unique mark APP, and the identification information can be current APP bag name or bag Signing messages, APP running environment refer to the hardware environment and software environment of current APP places terminal, and APP Run-time scenario is Refer to APP certain running environment (with hardware environment and software environment about) under the function completed or operation, for example, under Carry, upload etc., the function or operation that an APP to be completed are more, and the CPU usage of the APP is higher.
It should be appreciated that APP parameter information and the numerical value model of corresponding CPU usage are preserved in above-mentioned database Enclose, and the number range of the same APP of different running environment and Run-time scenario CPU usage is different, for example, APP is QQ music, and when the QQ music is in running background, the number range of CPU usage is 20%-30%, when the QQ music During down-load music, the number range of CPU usage corresponding to the QQ music is 40%-50%.
For example it is assumed that current APP is happy fighting landlord, the APP of running background is in the run time of happy fighting landlord Sina weibo, obtains identification information, running environment and the Run-time scenario of Sina weibo, and by identification information, running environment and fortune Row scene is sent to server, the information that server receiving terminal is sent, and according to the identification information of Sina weibo from local number According to the regime values scope 15%-20% of corresponding CPU usage under the current operating environment and Run-time scenario obtained in storehouse, and By corresponding regime values scope to terminal, terminal receives regime values scope, and judges that Sina is micro- according to regime values scope Whether rich CPU usage is abnormal, if CPU of the Sina weibo of terminal calculating under current operating environment and Run-time scenario takes Rate is 25%, thus, it is possible to determine the CPU usage of Sina weibo not in regime values scope 15%-20%, then Sina The CPU usage of microblogging is abnormal, can influence the operational efficiency of happy fighting landlord.
If it is determined that the abnormal APP of CPU usage in terminal system be present, when exiting current APP, carrying for journey is entered in display Show information.For example, current APP is happy fighting landlord, however, it is determined that during happy fighting landlord is run, the CPU of Sina weibo Occupancy is abnormal, then when exiting happy fighting landlord, shows a prompt message as shown in Figure 2, as seen in Figure 2, The APP for currently influenceing happy fighting landlord operation is Sina weibo, and the CPU usage of Sina weibo is 25%, and display The prompt message that wouldn't be handled and accelerate immediately, accelerates immediately if user clicks, and receives the trigger action of user, and according to The trigger action at family kills process corresponding to Sina weibo, can be in terminal after acceleration to realize the acceleration to happy fighting landlord The interface of upper one acceleration result as shown in Figure 3 of display, it is as seen in Figure 3, happy after to Sina weibo killing Fighting landlord accelerates 20%, and now, user can quickly enter application by clicking on the icon of the happy fighting landlord on the page, play joyous It there will not be the slow situation of card, game running smoothness in happy fighting landlord running.By entering corresponding to killing Sina weibo Journey, the abnormal Sina weibo of CPU usage can be reduced to terminal system and the influence of game, the operation for improving terminal system is imitated Fluency in rate, and game play.
In this embodiment, may not can be thorough by the process after user corresponds to process according to prompt message killing Kill, in order to reduce influence of the process do not killed thoroughly to current APP, as shown in figure 4, this method can also include:
S103, if still monitoring by the CPU usage exception of the APP of killing process, perform and stop by force or forbid Self-starting operates.
Specifically, after user is according to the prompt message APP killing processes that CPU usage is abnormal, if after the APP has Platform self-starting function, after interval preset time such as 1 minute, automatic start is continued to operate in mobile terminal by the APP In background process.For example, for the smart mobile phone of Android (Android) system, APP can utilize the system of android system wide Broadcast, trigger the running status of APP program checkout corresponding A PP service (Service), if check corresponding A PP service Running status has been off, that is, checks corresponding A PP and killed, and now, can change the operation shape of corresponding A PP service State, start the APP from the background again, i.e. the APP is run in the background process of mobile terminal again.
If there is exception in CPU usage corresponding to monitoring the APP again, can display for a user comprising by force stop or Forbid the prompting page of self-starting, terminal can perform according to the selection of user to the APP to be stopped or forbid self-starting to grasp by force Make, stop by force alternatively, it is also possible to be performed automatically according to concrete scene or forbid self-starting to operate.
At present, after user performs stopping by force to some APP, the APP still may automatic start.
In this embodiment, in order to further reduce influences of the abnormal APP of CPU occupation rates to current APP, such as Fig. 5 institutes Show, this method can also include:
S104, if the CPU usage for still monitoring the process for being stopped or being forbidden by force self-starting is abnormal, display guiding Interface, to guide process corresponding to user's unloading.
In this embodiment, during process corresponding to guiding user's unloading, it can also show that CPU usage is not located The similar APP lists of APP in the range of corresponding regime values, to recommend similar APP to user.For example, unloaded in user During Sina weibo, other versions for the Sina weibo for being adapted to the terminal can be shown in recommendation list, user is according to pushing away Recommend the Sina weibo that other versions are installed in list.
If for another example when current APP is exited, determine that the abnormal APP of CPU usage is QQ music, in user according to drawing During leading page unloading QQ music, other APP of music class can be recommended to the user in recommendation list, such as, recommend row Can show dried shrimp music, Netease's music and KuGoo music etc. in table, user can be installed according to recommendation list it is same type of other APP。
In this embodiment, before the abnormal APP of unloading CPU usage, CPU usage exception can also be obtained The user data preserved in APP, and user data corresponding to preservation, can so that the abnormal APP of CPU usage is QQ music as an example The related data for the song that the song of user's collection or user are liked is preserved.
If user selects the similar APP of some from similar APP lists, according to the selection of user from server download pair The similar APP answered, and the similar APP is installed, and after similar APP is installed, display one prompts the user whether to need to import The prompting frame of user data, if user needs to import user data, user data, example are imported in similar APP after mounting Such as, during QQ music is unloaded, user selects Netease's music in recommendation list, and installation net is downloaded according to the selection of user Easy music, and after installation Netease music, display one prompts the user whether to need carrying for the user data in importing QQ music Show frame, if user imports user data, the user data in QQ music is imported into by Netease's sound according to the trigger action of user In pleasure, for example, the related data of the song that user can be collected during QQ music is used or the song liked be directed into In Netease's music, as a result, user still can be continuing with original user data after APP is changed, without with Family is added manually again, and many operations are saved for user, more humane and intelligent, so as to facilitate user to be continuing with originally Service.
In summary, the embodiment of the present invention is directed in current APP runnings, the APP of terminal system running background CPU The abnormal number of occupancy and scene take different ways, provide the user that a variety of can to handle APP backstages CPU usage different Normal mode, there is provided the more processing mode of hommization, a variety of processing schemes are provided extremely to solve CPU usage.
Above-mentioned end application APP processing method embodiment, obtain terminal system backstage in current APP run times The APP of operation CPU usage, if the CPU usage for judging running background APP is to be not in corresponding normal data scope It is interior, determine that corresponding A PP CPU usage is abnormal, and the prompt message for entering journey is shown, so that user can be according to prompt message Killing corresponds to process, thus, can reduce influences of the abnormal APP of CPU usage to current APP, improve current APP operation effect Rate, current APP is avoided to occur running the generation of not smooth phenomenon, so as to improve user experience of the user to current APP.
In order to realize above-described embodiment, the present invention also proposes a kind of end application APP processing unit.
Fig. 6 is the structural representation of end application APP according to an embodiment of the invention processing unit, is such as schemed Shown in 6, the device includes:Acquisition module 100 and first processing module 200, wherein:
Acquisition module 100 is used for the CPU usage for obtaining the APP of terminal system running background in current APP run times; First processing module 200 is used to judge whether the APP of running background CPU usage to be in the range of corresponding normal data, If it is not in, it is determined that corresponding A PP CPU usage is abnormal, and the prompt message of journey is entered in display, so that user carries according to above-mentioned Show information killing corresponding A PP process.
Above-mentioned first processing module 200 is specifically used for:When current APP is exited, the prompt message of journey is entered in display.
In addition, as shown in fig. 7, said apparatus can also include Second processing module 300, the Second processing module 300 is used Corresponding normal data scope whether is in the CPU usage for the APP that running background is judged in above-mentioned first processing module 200 Before interior, the APP of above-mentioned running background parameter information is obtained, sends above-mentioned parameter information to server, and receive above-mentioned clothes Business device is according to the above-mentioned regime values scope returned after the local database of above-mentioned parameter information inquiry.
Wherein, the regime values scope of APP CPU usage is pre-saved in the local database of server The number range of APP CPU usage, above-mentioned APP parameter information can include but is not limited to APP identification information, operation Environment and Run-time scenario, above-mentioned identification information are used for unique mark APP, and the identification information can be current APP bag name or bag Signing messages, APP running environment refer to the hardware environment and software environment of current APP places terminal, and APP Run-time scenario is Refer to APP certain running environment (with hardware environment and software environment about) under the function completed or operation, for example, under Carry, upload etc., the function or operation that an APP to be completed are more, and the CPU usage of the APP is higher.
It should be appreciated that APP parameter information and the numerical value model of corresponding CPU usage are preserved in above-mentioned database Enclose, and the number range of the same APP of different running environment and Run-time scenario CPU usage is different.
In order to reduce influence of the process do not killed thoroughly to current APP, said apparatus can also include the 3rd processing mould Block 400, the 3rd processing module 400 is used for after the prompt message of journey is entered in the display of above-mentioned first processing module 200, if still Monitor by the CPU usage exception of the APP of killing process, then perform and stop by force or forbid self-starting to operate.
If there is exception in the process that the 3rd processing module 400 monitors the corresponding A PP of running background again, can reality include Stop or forbid by force the prompting page of self-starting, and corresponding A PP is performed according to the selection of user and stops by force or prohibits Only self-starting operates, and stops by force alternatively, it is also possible to be performed automatically according to concrete scene or forbids self-starting to operate.
In order to further reduce influences of the abnormal APP of CPU occupation rates to current APP, said apparatus also fourth process mould Block 500, fourth processing module 500 is used to perform in above-mentioned 3rd processing module 400 to be stopped or forbids self-starting to operate it by force Afterwards, if the CPU usage for still monitoring the process for being stopped or being forbidden by force self-starting is abnormal, display guiding interface, to draw Lead process corresponding to user's unloading.
In addition, said apparatus can also include display module 600, display module 600 is used to show CPU usage exception APP similar APP lists, to recommend similar APP to above-mentioned user.Wherein, similar APP can be the abnormal APP of CPU usage Other versions or the abnormal APP of CPU usage be other same type of APP.For example, the APP of CPU usage exception is QQ music, the APP of other versions of QQ music can be shown in recommendation list, can also show and belong to same type with QQ music Other APP such as Baidu music, dried shrimp music and KuGoo music etc..
Said apparatus can be with preserving module 700, and the preserving module 700 is used to obtain protects in the abnormal APP of CPU usage The user data deposited, and preserve above-mentioned user data.
It can also continue to use original service changing APP in order to facilitate user, said apparatus can also include importing Module 800, the import modul 800 are used for after above-mentioned preserving module 700 preserves above-mentioned user data, receive and install user The similar APP selected from above-mentioned similar APP lists, and import above-mentioned user data in similar APP after mounting.
In the APP for newly being installed user data importing user by import modul 800, usable family is continuing with original User data, added manually again without user, many operations are saved for user, it is more humane and intelligent, so as to User is facilitated to be continuing with original service.
In addition, above-mentioned display module 600, can be also used for:Received in above-mentioned import modul 800 and user is installed from above-mentioned After the similar APP selected in similar APP lists, above-mentioned use is imported in the similar APP of above-mentioned import modul 800 after mounting Before user data, display the prompt box, to prompt whether above-mentioned user needs to import above-mentioned user data.
Include acquisition module 100, first processing module 200, Second processing module 300, fourth processing module 500, display The processing procedure of the end application APP of module 600, preserving module 700 and import modul 800 processing unit can be found in figure 1st, Fig. 4 or Fig. 5, is not repeated herein.
Above-mentioned end application APP processing unit embodiment, obtained by acquisition module in current APP run times The APP of terminal system running background CPU usage, and judge by first processing module running background APP CPU usage Whether in the range of corresponding normal data, if being not located at, it is determined that corresponding A PP CPU usage is abnormal, and shows and enter The prompt message of journey, so that user can correspond to process according to prompt message killing, thus, CPU usage exception can be reduced Influences of the APP to current APP, current APP operational efficiency is improved, avoids current APP from occurring running the generation of not smooth phenomenon, So as to improve user experience of the user to current APP.
In order to realize above-described embodiment, the present invention also proposes a kind of terminal, the terminal include housing, processor, memory, Circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing surrounds, above-mentioned processor and above-mentioned Memory is arranged on foregoing circuit plate;Above-mentioned power circuit, for each circuit or the device power supply for above-mentioned mobile terminal; Above-mentioned memory is used to store executable program code;Above-mentioned processor is by reading the executable journey stored in above-mentioned memory Sequence code runs program corresponding with above-mentioned executable program code, for performing following steps:
S101 ', obtain the CPU usage of the APP of terminal system running background in current APP run times.
Specifically, when current APP is exited, calculate in current APP run times, the APP's of terminal system running background CPU usage.
S102 ', the APP CPU usage of running background are judged whether in the range of corresponding normal data, if not locating In, it is determined that corresponding A PP CPU usage is abnormal, then the prompt message of journey is entered in display, so that user looks into according to prompt message Kill corresponding A PP process.
In this embodiment, judging the APP of running background CPU usage whether in corresponding normal data scope Before interior, it can also include:The APP of running background parameter information is obtained, sends parameter information to server, and receive service Device inquires about after local database the regime values scope returned according to parameter information.
Wherein, the regime values scope of APP CPU usage is pre-saved in the local database of server The number range of APP CPU usage, above-mentioned APP parameter information can include but is not limited to APP identification information, operation Environment and Run-time scenario, above-mentioned identification information are used for unique mark APP, and the identification information can be current APP bag name or bag Signing messages, APP running environment refer to the hardware environment and software environment of current APP places terminal, and APP Run-time scenario is Refer to APP certain running environment (with hardware environment and software environment about) under the function completed or operation, for example, under Carry, upload etc., the function or operation that an APP to be completed are more, and the CPU usage of the APP is higher.
It should be appreciated that APP parameter information and the numerical value model of corresponding CPU usage are preserved in above-mentioned database Enclose, and the number range of the same APP of different running environment and Run-time scenario CPU usage is different, for example, APP is QQ music, and when the QQ music is in running background, the number range of CPU usage is 20%-30%, when the QQ music During down-load music, the number range of CPU usage corresponding to the QQ music is 40%-50%.
For example it is assumed that current APP is happy fighting landlord, the APP of running background is in the run time of happy fighting landlord Sina weibo, obtains identification information, running environment and the Run-time scenario of Sina weibo, and by identification information, running environment and fortune Row scene is sent to server, the information that server receiving terminal is sent, and according to the identification information of Sina weibo from local number According to the regime values scope 15%-20% of corresponding CPU usage under the current operating environment and Run-time scenario obtained in storehouse, and By corresponding regime values scope to terminal, terminal receives regime values scope, and judges that Sina is micro- according to regime values scope Whether rich CPU usage is abnormal, if CPU of the Sina weibo of terminal calculating under current operating environment and Run-time scenario takes Rate is 25%, thus, it is possible to determine the CPU usage of Sina weibo not in regime values scope 15%-20%, then Sina The CPU usage of microblogging is abnormal, can influence the operational efficiency of happy fighting landlord.
If it is determined that the abnormal APP of CPU usage in terminal system be present, when exiting current APP, carrying for journey is entered in display Show information.For example, current APP is happy fighting landlord, however, it is determined that during happy fighting landlord is run, the CPU of Sina weibo Occupancy is abnormal, then when exiting happy fighting landlord, shows a prompt message as shown in Figure 2, as seen in Figure 2, The APP for currently influenceing happy fighting landlord operation is Sina weibo, and the CPU usage of Sina weibo is 25%, and display The prompt message that wouldn't be handled and accelerate immediately, accelerates immediately if user clicks, and receives the trigger action of user, and according to The trigger action at family kills process corresponding to Sina weibo, can be in terminal after acceleration to realize the acceleration to happy fighting landlord One result interface as shown in Figure 3 of upper display, as seen in Figure 3, after to Sina weibo killing, happy fighting landlord 20% is accelerated, now, user can quickly enter application by clicking on the icon of the happy fighting landlord on the page, play happy bucket ground It there will not be the slow situation of card, game running smoothness in main running.By process corresponding to killing Sina weibo, can subtract The abnormal Sina weibo of few CPU usage improves the operational efficiency of terminal system, Yi Jiyou to terminal system and the influence of game Fluency in play running.
In this embodiment, may not can be thorough by the process after user corresponds to process according to prompt message killing Kill, in order to reduce influence of the process do not killed thoroughly to current APP, above-mentioned processor can also carry out step:
S103 ', if still monitoring by the CPU usage exception of the APP of killing process, perform and stop by force or forbid Self-starting operates.
Specifically, after user is according to the prompt message APP killing processes that CPU usage is abnormal, if after the APP has Platform self-starting function, after interval preset time such as 1 minute, automatic start is continued to operate in mobile terminal by the APP In background process.For example, for the smart mobile phone of Android (Android) system, APP can utilize the system of android system wide Broadcast, trigger the running status of APP program checkout corresponding A PP service (Service), if check corresponding A PP service Running status has been off, that is, checks corresponding A PP and killed, and now, can change the operation shape of corresponding A PP service State, start the APP from the background again, i.e. the APP is run in the background process of mobile terminal again.
If there is exception in CPU usage corresponding to monitoring the APP again, can display for a user comprising by force stop or Forbid the prompting page of self-starting, terminal can perform according to the selection of user to the APP to be stopped or forbid self-starting to grasp by force Make, stop by force alternatively, it is also possible to be performed automatically according to concrete scene or forbid self-starting to operate.
At present, after user performs stopping by force to some APP, the APP still may automatic start.
In this embodiment, in order to further reduce influences of the abnormal APP of CPU occupation rates to current APP, above-mentioned processing Device can also carry out step:
S104 ', if the CPU usage for still monitoring the process for being stopped or being forbidden by force self-starting is abnormal, display is drawn Interface is led, to guide process corresponding to user's unloading.
In this embodiment, during process corresponding to guiding user's unloading, it can also show that CPU usage is not located The similar APP lists of APP in the range of corresponding regime values, to recommend similar APP to user.For example, unloaded in user During Sina weibo, other versions for the Sina weibo for being adapted to the terminal can be shown in recommendation list, user is according to pushing away Recommend the Sina weibo that other versions are installed in list.
If for another example when current APP is exited, determine that the abnormal APP of CPU usage is QQ music, in user according to drawing During leading page unloading QQ music, other APP of music class can be recommended to the user in recommendation list, such as, recommend row Can show dried shrimp music, Netease's music and KuGoo music etc. in table, user can be installed according to recommendation list it is same type of other APP。
In this embodiment, before the abnormal APP of unloading CPU usage, CPU usage exception can also be obtained The user data preserved in APP, and user data corresponding to preservation, can so that the abnormal APP of CPU usage is QQ music as an example The related data for the song that the song of user's collection or user are liked is preserved.
If user selects the similar APP of some from similar APP lists, according to the selection of user from server download pair The similar APP answered, and the similar APP is installed, and after similar APP is installed, display one prompts the user whether to need to import The prompting frame of user data, if user needs to import user data, user data, example are imported in similar APP after mounting Such as, during QQ music is unloaded, user selects Netease's music in recommendation list, and installation net is downloaded according to the selection of user Easy music, and after installation Netease music, display one prompts the user whether to need carrying for the user data in importing QQ music Show frame, if user imports user data, the user data in QQ music is imported into by Netease's sound according to the trigger action of user In pleasure, for example, the related data of the song that user can be collected during QQ music is used or the song liked be directed into In Netease's music, as a result, user still can be continuing with original user data after APP is changed, without with Family is added manually again, and many operations are saved for user, more humane and intelligent, so as to facilitate user to be continuing with originally Service.
In summary, the embodiment of the present invention is directed in current APP runnings, the APP of terminal system running background CPU The abnormal number of occupancy and scene take different ways, provide the user that a variety of can to handle APP backstages CPU usage different Normal mode, there is provided the more processing mode of hommization, a variety of processing schemes are provided extremely to solve CPU usage.
Above-mentioned terminal embodiment, the CPU usage of the APP of terminal system running background in current APP run times is obtained, If the CPU usage for judging running background APP is not in the range of corresponding normal data, determine that corresponding A PP CPU takes Rate is abnormal, and shows the prompt message for entering journey, so that user can correspond to process according to prompt message killing, thus, can subtract Influences of the abnormal APP of few CPU usage to current APP, improves current APP operational efficiency, avoids current APP from running The generation of not smooth phenomenon, so as to improve user experience of the user to current APP.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (17)

  1. A kind of 1. end application APP processing method, it is characterised in that including:
    Obtain the CPU usage of the APP of terminal system running background in current APP run times;
    The APP of running background parameter information is obtained, the parameter information of the APP includes the identification information of the APP, fortune Row environment and Run-time scenario, and the parameter information is sent to server, and the server is received according to the parameter information The regime values scope returned is inquired about after local database, wherein, APP parameter information and correspondingly is preserved in the database CPU usage regime values scope, and the same APP of different running environment and Run-time scenario CPU usage is just Constant value scope is different;
    The APP of running background CPU usage is judged whether in the range of corresponding normal data, if being not in, it is determined that Corresponding A PP CPU usage is abnormal, and the prompt message of journey is entered in display, so that user is corresponding according to the prompt message killing APP process.
  2. 2. according to the method for claim 1, it is characterised in that the prompt message of journey is entered in the display, including:
    When the current APP is exited, the prompt message of journey is entered in display.
  3. 3. according to the method for claim 1, it is characterised in that after the prompt message of journey is entered in the display, also wrap Include:
    If still monitoring by the CPU usage exception of the APP of killing process, perform and stop by force or forbid self-starting to grasp Make.
  4. 4. according to the method for claim 3, it is characterised in that stop by force in the execution or forbid self-starting to operate it Afterwards, in addition to:
    If the CPU usage for still monitoring the process for being stopped or being forbidden by force self-starting is abnormal, display guiding interface, to draw Lead process corresponding to user's unloading.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    The abnormal APP of CPU usage similar APP lists are shown, to recommend similar APP to the user.
  6. 6. according to the method for claim 5, it is characterised in that methods described also includes:
    The user data preserved in the abnormal APP of CPU usage is obtained, and preserves the user data.
  7. 7. according to the method for claim 6, it is characterised in that after the preservation user data, in addition to:
    The similar APP that user selects from the similar APP lists is received and installed, and is imported in similar APP after mounting The user data.
  8. 8. according to the method for claim 7, it is characterised in that in the reception and user is installed from the similar APP row After the similar APP selected in table, before importing the user data in the similar APP after mounting, in addition to:
    Display the prompt box, to prompt whether the user needs to import the user data.
  9. A kind of 9. end application APP processing unit, it is characterised in that including:
    Acquisition module, for obtaining the CPU usage of the APP of terminal system running background in current APP run times;
    Second processing module, the parameter information of the APP for obtaining the running background, the parameter information of the APP include institute APP identification information, running environment and Run-time scenario is stated, and the parameter information is sent to server, and receives the service Device inquires about after local database the regime values scope returned according to the parameter information, wherein, preserved in the database The regime values scope of APP parameter information and corresponding CPU usage, and different running environment and Run-time scenario is same The regime values scope of APP CPU usage is different;
    First processing module, for judging whether the APP CPU usage of running background is in corresponding normal data scope It is interior, if being not in, it is determined that corresponding A PP CPU usage is abnormal, and the prompt message of journey is entered in display, so that user is according to institute State prompt message killing corresponding A PP process.
  10. 10. device according to claim 9, it is characterised in that the first processing module, be specifically used for:
    When the current APP is exited, the prompt message of journey is entered in display.
  11. 11. device according to claim 9, it is characterised in that also include:
    3rd processing module, after showing the prompt message for entering journey in the first processing module, if still monitor by The CPU usage of the APP of killing process is abnormal, then performs and stop by force or forbid self-starting to operate.
  12. 12. device according to claim 11, it is characterised in that also include:
    Fourth processing module, after stopping or forbidding by force self-starting to operate in the 3rd processing module execution, if still It is abnormal to monitor the CPU usage for the process for being stopped or being forbidden by force self-starting, then guiding interface is shown, to guide user to unload Process corresponding to load.
  13. 13. device according to claim 12, it is characterised in that also include:
    Display module, for showing the abnormal APP of CPU usage similar APP lists, to recommend similar APP to the user.
  14. 14. device according to claim 13, it is characterised in that also include:
    Preserving module, the user data preserved in the APP abnormal for obtaining CPU usage, and preserve the user data.
  15. 15. device according to claim 14, it is characterised in that also include:
    Import modul, after preserving the user data in the preserving module, receive and user is installed from described similar The similar APP selected in APP lists, and import the user data in similar APP after mounting.
  16. 16. device according to claim 15, it is characterised in that the display module, be additionally operable to:
    After the similar APP that the import modul received and installed that user selects from the similar APP lists, led described Enter and imported in the similar APP of module after mounting before the user data, display the prompt box, to prompt whether the user needs Import the user data.
  17. 17. a kind of terminal, the terminal includes housing, processor, memory, circuit board and power circuit, wherein, the circuit Plate is placed in the interior volume that the housing surrounds, and the processor and the memory are arranged on the circuit board;It is described Power circuit, for each circuit or the device power supply for the terminal;The memory is used to store executable program code; The processor is run and the executable program code by reading the executable program code stored in the memory Corresponding program, for performing following steps:
    Obtain the CPU usage of the APP of terminal system running background in current APP run times;
    The APP of running background parameter information is obtained, the parameter information of the APP includes the identification information of the APP, fortune Row environment and Run-time scenario, and the parameter information is sent to server, and the server is received according to the parameter information The regime values scope returned is inquired about after local database, wherein, APP parameter information and correspondingly is preserved in the database CPU usage regime values scope, and the same APP of different running environment and Run-time scenario CPU usage is just Constant value scope is different;
    The APP of running background CPU usage is judged whether in the range of corresponding normal data, if being not in, it is determined that Corresponding A PP CPU usage is abnormal, and the prompt message of journey is entered in display, so that user is corresponding according to the prompt message killing APP process.
CN201410521394.5A 2014-09-30 2014-09-30 Processing method and device of terminal application program APP and terminal Expired - Fee Related CN104317649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410521394.5A CN104317649B (en) 2014-09-30 2014-09-30 Processing method and device of terminal application program APP and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410521394.5A CN104317649B (en) 2014-09-30 2014-09-30 Processing method and device of terminal application program APP and terminal

Publications (2)

Publication Number Publication Date
CN104317649A CN104317649A (en) 2015-01-28
CN104317649B true CN104317649B (en) 2018-03-06

Family

ID=52372884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410521394.5A Expired - Fee Related CN104317649B (en) 2014-09-30 2014-09-30 Processing method and device of terminal application program APP and terminal

Country Status (1)

Country Link
CN (1) CN104317649B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022021832A1 (en) * 2020-07-27 2022-02-03 未来穿戴技术有限公司 Mode collection method and apparatus, mobile terminal, and computer readable storage medium

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016165078A1 (en) * 2015-04-14 2016-10-20 华为技术有限公司 Method and terminal for controlling application
CN106909574A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Speed up to method and browser that browser is rendered
CN106055408B (en) * 2016-05-31 2017-11-24 广东欧珀移动通信有限公司 A kind of application control method and mobile terminal
CN106210885A (en) * 2016-07-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method and system reducing video definition
CN106648730A (en) * 2016-09-26 2017-05-10 北京小米移动软件有限公司 Processing method and device of abnormal application
US10297254B2 (en) * 2016-10-03 2019-05-21 Google Llc Task initiation using long-tail voice commands by weighting strength of association of the tasks and their respective commands based on user feedback
CN106648704A (en) * 2017-01-05 2017-05-10 广东欧珀移动通信有限公司 Process management method and device and mobile terminal
CN108345524B (en) * 2017-01-22 2021-12-14 腾讯科技(深圳)有限公司 Application program monitoring method and application program monitoring device
CN107329816A (en) * 2017-06-27 2017-11-07 珠海市魅族科技有限公司 Terminal control method, device, computer installation and storage medium
CN107391259B (en) * 2017-07-25 2020-12-01 Oppo广东移动通信有限公司 Resource processing method and device, computer readable storage medium and mobile terminal
CN107688498B (en) * 2017-08-25 2021-02-09 Oppo广东移动通信有限公司 Application program processing method and device, computer equipment and storage medium
CN107491349B (en) * 2017-08-25 2019-02-05 Oppo广东移动通信有限公司 Applied program processing method and device, computer equipment, storage medium
CN108089935B (en) * 2017-11-29 2021-04-09 维沃移动通信有限公司 Application program management method and mobile terminal
CN109669781A (en) * 2018-12-29 2019-04-23 联想(北京)有限公司 Data processing method and system
CN109982144B (en) * 2019-03-12 2020-06-30 四川长虹电器股份有限公司 Automatic testing method for monitoring and judging CPU occupancy of application process and alarming

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4747307B2 (en) * 2007-11-09 2011-08-17 富士通株式会社 Network processing control device, program, and method
CN102263854A (en) * 2010-05-25 2011-11-30 三星电子株式会社 Method and apparatus for managing an application being executed in a portable terminal
CN102306118A (en) * 2011-08-31 2012-01-04 中兴通讯股份有限公司 Method and device for monitoring power consumption of application program at Android terminal
CN103595758A (en) * 2013-10-11 2014-02-19 北京奇虎科技有限公司 Method and device for recommending software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9400682B2 (en) * 2012-12-06 2016-07-26 Hewlett Packard Enterprise Development Lp Ranking and scheduling of monitoring tasks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4747307B2 (en) * 2007-11-09 2011-08-17 富士通株式会社 Network processing control device, program, and method
CN102263854A (en) * 2010-05-25 2011-11-30 三星电子株式会社 Method and apparatus for managing an application being executed in a portable terminal
CN102306118A (en) * 2011-08-31 2012-01-04 中兴通讯股份有限公司 Method and device for monitoring power consumption of application program at Android terminal
CN103595758A (en) * 2013-10-11 2014-02-19 北京奇虎科技有限公司 Method and device for recommending software

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022021832A1 (en) * 2020-07-27 2022-02-03 未来穿戴技术有限公司 Mode collection method and apparatus, mobile terminal, and computer readable storage medium

Also Published As

Publication number Publication date
CN104317649A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104317649B (en) Processing method and device of terminal application program APP and terminal
CN104603753B (en) A kind of recommendation method, system and the server of application
CN104156414B (en) A kind of method for cleaning of garbage files, device and terminal
CN105117186B (en) Multimedia messages methods of exhibiting and device
CN104268248B (en) Recommendation method and device for application program and terminal
CN105944378B (en) The task of a kind of page of trip configures system and method
CN106777229A (en) Personalized recommendation real-time testing method and device and electronic equipment
CN108055264A (en) Dispatching device, method and the computer readable storage medium of stream pushing server
CN104156246B (en) The method and device of gray scale upgrading
WO2014026602A1 (en) A data processing method, apparatus and mobile terminal
CN105204970B (en) Method and device for detecting CPU occupancy rate abnormity of APP and mobile terminal
CN109450771A (en) Add method, apparatus, computer equipment and the storage medium of good friend
CN107483521A (en) A kind of information displaying method, apparatus and system
CN104504133A (en) Application program recommending method and device
CN107147724A (en) A kind of information push method, server and computer-readable recording medium
CN106953935A (en) A kind of media information method for pushing, device and storage medium
CN107948640A (en) Video playing test method, device, electronic equipment and storage medium
CN107124644A (en) The methods of exhibiting and system of virtual present in a kind of webcast website
CN105224421B (en) Data backup method and device and electronic equipment
CN106648688A (en) Information display method and apparatus
CN104581806B (en) A kind of method and terminal for monitoring operation system
CN104346202A (en) Setting method and device of terminal application program and terminal
CN107798461A (en) Attend a banquet monitoring method, device, equipment and computer-readable recording medium
CN112473144A (en) Game resource data processing method and device
CN106899877A (en) barrage sending method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180306