CN104298569A - Method and device for detecting abnormal operation of application program and mobile terminal - Google Patents

Method and device for detecting abnormal operation of application program and mobile terminal Download PDF

Info

Publication number
CN104298569A
CN104298569A CN201410522378.8A CN201410522378A CN104298569A CN 104298569 A CN104298569 A CN 104298569A CN 201410522378 A CN201410522378 A CN 201410522378A CN 104298569 A CN104298569 A CN 104298569A
Authority
CN
China
Prior art keywords
background process
application program
memory
program operation
operation exception
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.)
Pending
Application number
CN201410522378.8A
Other languages
Chinese (zh)
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 CN201410522378.8A priority Critical patent/CN104298569A/en
Publication of CN104298569A publication Critical patent/CN104298569A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for detecting abnormal operation of an application program and a mobile terminal, wherein the method comprises the following steps: acquiring a background process and acquiring a memory increase threshold corresponding to the background process; acquiring an increase value of a memory occupied by a background process within a preset time; and if the increase value is larger than the memory increase threshold value, judging that the application program corresponding to the background process is abnormal in operation. The method for detecting the abnormal operation of the application program can simply and conveniently judge the abnormal application program which causes the heating of the mobile terminal, the abnormal power consumption and the slow response speed, thereby being beneficial to a user to take corresponding measures in time to reduce the power consumption and improve the response speed and the operation efficiency of the mobile terminal.

Description

The detection method of application program operation exception, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of detection method of application program operation exception, device and mobile terminal.
Background technology
Along with the development of mobile terminal technology and program development techniques, the function of mobile terminal is gradually become strong, and in mobile terminal, the kind of installable application program is also more and more abundanter.But, along with and come, occur a lot of mountain vallage mobile terminal simultaneously, may carry some application programs in these mountain vallage mobile terminals, these application programs memory source shared when running background is still in continuous growth.In addition, because the resource quality of interconnected web utilities is different, user also may download and install some committed memory resource still ever-increasing application programs when running background, these application programs can drag the response speed of slow mobile terminal, and can cause mobile terminal generate heat, power consumption increases, response speed is slow, has had a strong impact on the normal use of mobile terminal.
At present, mobile terminal can be the internal memory that user provides each application program run in current system to take, but user is difficult to judge which application program causes the abnormal application program of mobile terminal heating, power consumption exception accordingly.Therefore, a kind of method that can judge application program whether operation exception according to the EMS memory occupation situation of application program is badly in need of at present.
Summary of the invention
The present invention is intended to solve one of technical matters in correlation technique at least to a certain extent.For this reason, the object of first aspect present invention is the detection method proposing a kind of application program operation exception, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow.
The object of a second aspect of the present invention is the pick-up unit proposing a kind of application program operation exception.
The object of a third aspect of the present invention is to propose a kind of mobile terminal.
For reaching above-mentioned purpose, embodiment proposes a kind of detection method of application program operation exception according to a first aspect of the present invention, comprising: obtain background process, and obtains internal memory growth threshold value corresponding to described background process; Obtain the i.v. of described background process committed memory in Preset Time; And if described i.v. is greater than described internal memory growth threshold value, then judge the application program operation exception that described background process is corresponding.
The detection method of the application program operation exception of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.
The embodiment of a second aspect of the present invention provides a kind of pick-up unit of application program operation exception, comprising: the first acquisition module, for obtaining background process, and obtains internal memory growth threshold value corresponding to described background process; Second acquisition module, for obtaining the i.v. of described background process committed memory in Preset Time; And judge module, for being greater than described internal memory growth threshold value when described i.v., judge the application program operation exception that described background process is corresponding.
The pick-up unit of the application program operation exception of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.
The embodiment of a third aspect of the present invention provides a kind of mobile terminal, comprise: housing, processor, storer, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, for powering for each circuit of described mobile terminal or device; Described storer is used for stores executable programs code; Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for: obtain background process, and obtain internal memory growth threshold value corresponding to described background process; Obtain the i.v. of described background process committed memory in Preset Time; And if described i.v. is greater than described internal memory growth threshold value, then judge the application program operation exception that described background process is corresponding.
The mobile terminal of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage will become obvious and easy understand from accompanying drawing below combining to the description of embodiment, wherein:
Fig. 1 is the process flow diagram of the detection method of application program operation exception according to an embodiment of the invention;
Fig. 2 is the process flow diagram of the detection method of application program operation exception in accordance with another embodiment of the present invention;
Fig. 3 is the structural representation of the pick-up unit of application program operation exception according to an embodiment of the invention;
Fig. 4 is the structural representation of the pick-up unit of application program operation exception according to the present invention's specific embodiment;
Fig. 5 is the structural representation of the pick-up unit of application program operation exception in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
Below with reference to the accompanying drawings the detection method of the application program operation exception according to the embodiment of the present invention, device and mobile terminal are described.
Fig. 1 is the process flow diagram of the detection method of application program operation exception according to an embodiment of the invention.
As shown in Figure 1, the detection method of application program operation exception comprises:
S101, obtains background process, and obtains internal memory growth threshold value corresponding to background process.
In an embodiment of the present invention, mobile terminal can obtain background process corresponding to the application program of running background.Wherein, each application program may correspond to one or more process, and all corresponding identification information of each background process, identification information can be but be not limited only to No. PID (Process identifier).Mobile terminal can obtain the identification information of background process, then sends inquiry request according to identification information to server, increases threshold value with the internal memory making server corresponding according to identification information-enquiry background process.
The internal memory preserving background process corresponding to different application in the server increases threshold value, and namely the equal correspondence of each background process has the standard value that an internal memory increases.Generally, application program is when running background, and the application program of its correspondence is fixing in the value of backstage committed memory, and therefore, within a period of time, the i.v. of background process committed memory is in a range of stability.Therefore, server by simulation running background application program, and is analyzed background process, to obtain the variation range of each process committed memory when running background, and determines that corresponding internal memory increases threshold value.Also can carry out statistical study acquisition according to user's uploading data, concrete acquisition form the present invention do not limit.Server is after receiving inquiry request, and the internal memory corresponding according to the identification information-enquiry background process of background process increases threshold value, is then back to mobile terminal.
S102, obtains the i.v. of background process committed memory in Preset Time.
In an embodiment of the present invention, after platform process and internal memory corresponding to background process increase threshold value after the acquisition, the i.v. of background process committed memory in Preset Time can be obtained.
Particularly, first the first memory value that background process took in the very first time can be recorded, then after Preset Time, record the second memory value that background process took in the second time, finally calculate the i.v. of background process committed memory in Preset Time according to the first memory value and the second memory value.Namely deduct with the second memory value the i.v. that the first memory value can obtain this background process committed memory in Preset Time.
Wherein, Preset Time can be system default setting, or to be set by the user, and Preset Time can adjust, and for example, Preset Time can be 2 minutes, 5 minutes, 10 minutes, half an hour etc.If Preset Time is 10 minutes, the first memory value taken as the background process A recorded at very first time 12:10 is 5M, after 10 minutes, the second memory value taken at the background process A of the second time 12:20 record is 15M, then the i.v. of background process A committed memory in Preset Time is 15-5=10M.
In an embodiment of the present invention, in mobile terminal, multiple background process may be run, can every the committed memory of each background process of a Preset Time record mobile terminal, thus the sustainable i.v. to each background process committed memory is monitored.
S103, if i.v. is greater than internal memory increase threshold value, then judges the application program operation exception that background process is corresponding.
In an embodiment of the present invention, after the i.v. of the committed memory of platform process in Preset Time after the acquisition, the i.v. of committed memory and internal memory can be increased threshold value to compare, if the i.v. of background process committed memory is greater than internal memory increase threshold value, then can determine the application program operation exception that background process is corresponding.Such as: the i.v. of the committed memory of background process A is 10M, and be 5M from the CPU usage threshold value that server obtains, then can determine the application program operation exception that background process A is corresponding.
The detection method of the application program operation exception of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.
Fig. 2 is the process flow diagram of the detection method of application program operation exception in accordance with another embodiment of the present invention.
As shown in Figure 2, the detection method of application program operation exception comprises:
S201, obtains background process, and obtains internal memory growth threshold value corresponding to background process.
In an embodiment of the present invention, mobile terminal can obtain background process corresponding to the application program of running background.Wherein, each application program may correspond to one or more process, and all corresponding identification information of each background process, identification information can be but be not limited only to No. PID (Process identifier).Mobile terminal can obtain the identification information of background process, then sends inquiry request according to identification information to server, increases threshold value with the internal memory making server corresponding according to identification information-enquiry background process.
The internal memory preserving background process corresponding to different application in the server increases threshold value, and namely the equal correspondence of each background process has the standard value that an internal memory increases.Generally, application program is when running background, and the application program of its correspondence is fixing in the value of backstage committed memory, and therefore, within a period of time, the i.v. of background process committed memory is in a range of stability.Therefore, server by simulation running background application program, and is analyzed background process, to obtain the variation range of each process committed memory when running background, and determines that corresponding internal memory increases threshold value.Also can carry out statistical study acquisition according to user's uploading data, concrete acquisition form the present invention do not limit.Server is after receiving inquiry request, and the internal memory corresponding according to the identification information-enquiry background process of background process increases threshold value, is then back to mobile terminal.
S202, obtains the i.v. of background process committed memory in Preset Time.
In an embodiment of the present invention, after platform process and internal memory corresponding to background process increase threshold value after the acquisition, the i.v. of background process committed memory in Preset Time can be obtained.
Particularly, first the first memory value that background process took in the very first time can be recorded, then after Preset Time, record the second memory value that background process took in the second time, finally calculate the i.v. of background process committed memory in Preset Time according to the first memory value and the second memory value.Namely deduct with the second memory value the i.v. that the first memory value can obtain this background process committed memory in Preset Time.
Wherein, Preset Time can be system default setting, or to be set by the user, and Preset Time can adjust, and for example, Preset Time can be 2 minutes, 5 minutes, 10 minutes, half an hour etc.If Preset Time is 10 minutes, the first memory value taken as the background process A recorded at very first time 12:10 is 5M, after 10 minutes, the second memory value taken at the background process A of the second time 12:20 record is 15M, then the i.v. of background process A committed memory in Preset Time is 15-5=10M.
In an embodiment of the present invention, mobile terminal kind may run multiple background process, can every the committed memory of each background process of a Preset Time record mobile terminal, thus the sustainable i.v. to each background process committed memory is monitored.
S203, if i.v. is greater than internal memory increase threshold value, then judges the application program operation exception that background process is corresponding.
In an embodiment of the present invention, after the i.v. of the committed memory of platform process in Preset Time after the acquisition, the i.v. of committed memory and internal memory can be increased threshold value to compare, if the i.v. of background process committed memory is greater than internal memory increase threshold value, then can determine the application program operation exception that background process is corresponding.Such as: the i.v. of the committed memory of background process A is 10M, and be 5M from the CPU usage threshold value that server obtains, then can determine the application program operation exception that background process A is corresponding.
S204, display application program exception information.
After judging the application program operation exception that background process is corresponding, mobile terminal can the information of display application program operation exception.In addition, user also can be pointed out to stop the i.v. of committed memory to be greater than the background process of internal memory growth threshold value, or prompting user unload the application program of operation exception.
In an embodiment of the present invention, mobile terminal also can obtain the power consumption of background process in Preset Time, and shows, if power consumption is excessive, can stop this background process.Thus, effectively can monitor background process, more intuitively for user provides power consumption application program, user's application programs can be convenient to and manage.
The detection method of the application program operation exception of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.In addition, by display application program exception information, user can be made to stop according to information or unload abnormal application program, reduce the power consumption of mobile terminal further, improve the operational efficiency of mobile terminal.
In order to realize above-described embodiment, the present invention also proposes a kind of pick-up unit of application program operation exception.
Fig. 3 is the structural representation of the pick-up unit of application program operation exception according to an embodiment of the invention.
As shown in Figure 3, the pick-up unit of application program operation exception comprises: the first acquisition module 110, second acquisition module 120 and judge module 130.
Particularly, the first acquisition module 110 for obtaining background process, and obtains internal memory growth threshold value corresponding to background process.In an embodiment of the present invention, the first acquisition module 110 can obtain background process corresponding to the application program of running background.Wherein, each application program may correspond to one or more process, and all corresponding identification information of each background process, identification information can be but be not limited only to No. PID (Process identifier).First acquisition module 110 can obtain the identification information of background process, then sends inquiry request according to identification information to server, increases threshold value with the internal memory making server corresponding according to identification information-enquiry background process.
The internal memory preserving background process corresponding to different application in the server increases threshold value, and namely the equal correspondence of each background process has the standard value that an internal memory increases.Generally, application program is when running background, and the application program of its correspondence is fixing in the value of backstage committed memory, and therefore, within a period of time, the i.v. of background process committed memory is in a range of stability.Therefore, server by simulation running background application program, and is analyzed background process, to obtain the variation range of each process committed memory when running background, and determines that corresponding internal memory increases threshold value.Also can carry out statistical study acquisition according to user's uploading data, concrete acquisition form the present invention do not limit.Server is after receiving inquiry request, and the internal memory corresponding according to the identification information-enquiry background process of background process increases threshold value, is then back to the first acquisition module 110.
Second acquisition module 120 is for obtaining the i.v. of background process committed memory in Preset Time.
In an embodiment of the present invention, after the first acquisition module 110 obtains background process and internal memory corresponding to background process increases threshold value, the second acquisition module 120 can obtain the i.v. of background process committed memory in Preset Time.More specifically, as shown in Figure 4, the second acquisition module comprises record cell 121 and computing unit 122 further.
Wherein, the first memory value that record cell 121 takies in the very first time for recording background process, and record the second memory value of taking when the second time of background process after a preset time lapses;
Computing unit 122 is for calculating the i.v. of background process committed memory in Preset Time according to the first memory value and the second memory value.Namely deduct with the second memory value the i.v. that the first memory value can obtain this background process committed memory in Preset Time.
Wherein, Preset Time can be system default setting, or to be set by the user, and Preset Time can adjust, and for example, Preset Time can be 2 minutes, 5 minutes, 10 minutes, half an hour etc.If Preset Time is 10 minutes, the first memory value taken as the background process A recorded at very first time 12:10 is 5M, after 10 minutes, the second memory value taken at the background process A of the second time 12:20 record is 15M, then the i.v. of background process A committed memory in Preset Time is 15-5=10M.
In an embodiment of the present invention, may run multiple background process, record cell 121 can every the committed memory of each background process of a Preset Time record mobile terminal, thus the sustainable i.v. to each background process committed memory is monitored.
Judge module 130, for being greater than internal memory growth threshold value when i.v., judges the application program operation exception that background process is corresponding.
In an embodiment of the present invention, after the second acquisition module 120 obtains the i.v. of the committed memory of background process in Preset Time, the i.v. of committed memory and internal memory can be increased threshold value and compare by judge module 130, if the i.v. of background process committed memory is greater than internal memory increase threshold value, then can determine the application program operation exception that background process is corresponding.Such as: the i.v. of the committed memory of background process A is 10M, and be 5M from the CPU usage threshold value that server obtains, then can determine the application program operation exception that background process A is corresponding.
The pick-up unit of the application program operation exception of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.
Fig. 5 is the structural representation of the pick-up unit of application program operation exception in accordance with another embodiment of the present invention.
As shown in Figure 5, the pick-up unit of application program operation exception comprises: the first acquisition module 110, second acquisition module 120, judge module 130 and display module 140.
Wherein, the first acquisition module 110, second acquisition module 120, judge module 130 are consistent with the description of a upper embodiment, do not repeat herein.
Display module 140 is for display application program exception information.
After judge module 130 judges the application program operation exception that background process is corresponding, display module 140 can the information of display application program operation exception.In addition, display module 140 also can also can point out user to stop the i.v. of committed memory to be greater than the background process of internal memory growth threshold value, or prompting user unloads the application program of operation exception.
Display module 140 is also used in after judge module 130 judges the application program operation exception that background process is corresponding, obtains the power consumption of background process in Preset Time, and shows, if power consumption is excessive, can stop this background process.Thus, effectively can monitor background process, more intuitively for user provides power consumption application program, user's application programs can be convenient to and manage.
The pick-up unit of the application program operation exception of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.In addition, by display application program exception information, user can be made to stop according to information or unload abnormal application program, reduce the power consumption of mobile terminal further, improve the operational efficiency of mobile terminal.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing surrounds, and above-mentioned processor and above-mentioned storer are arranged on foregoing circuit plate; Above-mentioned power circuit, for powering for each circuit of above-mentioned mobile terminal or device; Above-mentioned storer is used for stores executable programs code; Above-mentioned processor runs the program corresponding with above-mentioned executable program code by reading the executable program code stored in above-mentioned storer, for execution following steps:
S101 ', obtains background process, and obtains internal memory growth threshold value corresponding to background process.
In an embodiment of the present invention, mobile terminal can obtain background process corresponding to the application program of running background.Wherein, each application program may correspond to one or more process, and all corresponding identification information of each background process, identification information can be but be not limited only to No. PID (Process identifier).Mobile terminal can obtain the identification information of background process, then sends inquiry request according to identification information to server, increases threshold value with the internal memory making server corresponding according to identification information-enquiry background process.
The internal memory preserving background process corresponding to different application in the server increases threshold value, and namely the equal correspondence of each background process has the standard value that an internal memory increases.Generally, application program is when running background, and the application program of its correspondence is fixing in the value of backstage committed memory, and therefore, within a period of time, the i.v. of background process committed memory is in a range of stability.Therefore, server by simulation running background application program, and is analyzed background process, to obtain the variation range of each process committed memory when running background, and determines that corresponding internal memory increases threshold value.Also can carry out statistical study acquisition according to user's uploading data, concrete acquisition form the present invention do not limit.Server is after receiving inquiry request, and the internal memory corresponding according to the identification information-enquiry background process of background process increases threshold value, is then back to mobile terminal.
S102 ', obtains the i.v. of background process committed memory in Preset Time.
In an embodiment of the present invention, after platform process and internal memory corresponding to background process increase threshold value after the acquisition, the i.v. of background process committed memory in Preset Time can be obtained.
Particularly, first the first memory value that background process took in the very first time can be recorded, then after Preset Time, record the second memory value that background process took in the second time, finally calculate the i.v. of background process committed memory in Preset Time according to the first memory value and the second memory value.Namely deduct with the second memory value the i.v. that the first memory value can obtain this background process committed memory in Preset Time.
Wherein, Preset Time can be system default setting, or to be set by the user, and Preset Time can adjust, and for example, Preset Time can be 2 minutes, 5 minutes, 10 minutes, half an hour etc.If Preset Time is 10 minutes, the first memory value taken as the background process A recorded at very first time 12:10 is 5M, after 10 minutes, the second memory value taken at the background process A of the second time 12:20 record is 15M, then the i.v. of background process A committed memory in Preset Time is 15-5=10M.
In an embodiment of the present invention, in mobile terminal, multiple background process may be run, can every the committed memory of each background process of a Preset Time record mobile terminal, thus the sustainable i.v. to each background process committed memory is monitored.
S103 ', if i.v. is greater than internal memory increase threshold value, then judges the application program operation exception that background process is corresponding.
In an embodiment of the present invention, after the i.v. of the committed memory of platform process in Preset Time after the acquisition, the i.v. of committed memory and internal memory can be increased threshold value to compare, if the i.v. of background process committed memory is greater than internal memory increase threshold value, then can determine the application program operation exception that background process is corresponding.Such as: the i.v. of the committed memory of background process A is 10M, and be 5M from the CPU usage threshold value that server obtains, then can determine the application program operation exception that background process A is corresponding.
The mobile terminal of the embodiment of the present invention, the internal memory corresponding by the i.v. and background process that obtain the committed memory of background process in Preset Time increases threshold value, determine the application program operation exception that background process is corresponding, can judge simply, easily to cause the abnormal application program that mobile terminal generates heat, power consumption is abnormal, response speed is slow, and then be conducive to user corresponding measure can be taked in time to reduce power consumption, improve response speed and the operational efficiency of mobile terminal.
After judging the application program operation exception that background process is corresponding, mobile terminal can the information of display application program operation exception.In addition, user also can be pointed out to stop the i.v. of committed memory to be greater than the background process of internal memory growth threshold value, or prompting user unload the application program of operation exception.
In an embodiment of the present invention, mobile terminal also can obtain the power consumption of background process in Preset Time, and shows, if power consumption is excessive, can stop this background process.Thus, effectively can monitor background process, more intuitively for user provides power consumption application program, user's application programs can be convenient to and manage.
In describing the invention, it will be appreciated that, term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end " " interior ", " outward ", " clockwise ", " counterclockwise ", " axis ", " radial direction ", orientation or the position relationship of the instruction such as " circumference " are based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, instead of indicate or imply that the device of indication or element must have specific orientation, with specific azimuth configuration and operation, therefore limitation of the present invention can not be interpreted as.
In addition, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise at least one this feature.In describing the invention, the implication of " multiple " is two or more, such as two, three etc., unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, the term such as term " installation ", " being connected ", " connection ", " fixing " should be interpreted broadly, and such as, can be fixedly connected with, also can be removably connect, or integral; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary, can be the connection of two element internals or the interaction relationship of two elements, unless otherwise clear and definite restriction.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
In the present invention, unless otherwise clearly defined and limited, fisrt feature second feature " on " or D score can be that the first and second features directly contact, or the first and second features are by intermediary indirect contact.And, fisrt feature second feature " on ", " top " and " above " but fisrt feature directly over second feature or oblique upper, or only represent that fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " below " and " below " can be fisrt feature immediately below second feature or tiltedly below, or only represent that fisrt feature level height is less than second feature.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this instructions or example and different embodiment or example can carry out combining and combining by those skilled in the art.
Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (13)

1. a detection method for application program operation exception, is characterized in that, comprising:
Obtain background process, and obtain internal memory growth threshold value corresponding to described background process;
Obtain the i.v. of described background process committed memory in Preset Time; And
If described i.v. is greater than described internal memory increase threshold value, then judge the application program operation exception that described background process is corresponding.
2. the detection method of application program operation exception as claimed in claim 1, is characterized in that, after described acquisition background process, also comprise:
Obtain the identification information of described background process;
Send inquiry request according to described identification information to server, increase threshold value to make the described server internal memory that background process is corresponding according to described identification information-enquiry.
3. the detection method of application program operation exception as claimed in claim 1, it is characterized in that, the i.v. of the described background process of described acquisition committed memory in Preset Time, specifically comprises:
Record the first memory value that described background process took when the very first time;
The second memory value recording described background process take in the second time after described Preset Time;
The i.v. of described background process committed memory in Preset Time is calculated according to described first memory value and described second memory value.
4. the detection method of application program operation exception as claimed in claim 1, is characterized in that, after the application program operation exception that the described background process of described judgement is corresponding, also comprise:
Obtain the power consumption of described background process in described Preset Time, and show.
5. the detection method of application program operation exception as claimed in claim 1, is characterized in that, after the application program operation exception that the described background process of described judgement is corresponding, also comprise:
Display application program exception information.
6. the detection method of application program operation exception as claimed in claim 5, is characterized in that, also comprise:
Prompting user stops described background process;
Or, point out described user to unload application program corresponding to described background process.
7. a pick-up unit for application program operation exception, is characterized in that, comprising:
First acquisition module, for obtaining background process, and obtains internal memory growth threshold value corresponding to described background process;
Second acquisition module, for obtaining the i.v. of described background process committed memory in Preset Time; And
Judge module, for being greater than described internal memory growth threshold value when described i.v., judges the application program operation exception that described background process is corresponding.
8. the pick-up unit of application program operation exception as claimed in claim 7, is characterized in that, described first acquisition module also for:
After described acquisition background process, obtain the identification information of described background process, and send inquiry request according to described identification information to server, increase threshold value to make the described server internal memory that background process is corresponding according to described identification information-enquiry.
9. the pick-up unit of application program operation exception as claimed in claim 7, it is characterized in that, described second acquisition module, specifically comprises:
Record cell, for recording the first memory value that described background process took when the very first time, and the second memory value recording described background process take in the second time after described Preset Time;
Computing unit, for calculating the i.v. of described background process committed memory in Preset Time according to described first memory value and described second memory value.
10. the pick-up unit of application program operation exception as claimed in claim 7, is characterized in that, also comprise:
Display module, after the application program operation exception corresponding at the described background process of described judgement, obtains the power consumption of described background process in described Preset Time, and shows.
The pick-up unit of 11. application program operation exceptions as claimed in claim 7, is characterized in that, described display module also for:
Display application program exception information.
The pick-up unit of 12. application program operation exceptions as claimed in claim 11, is characterized in that, described display module also for:
Prompting user stops described background process;
Or, point out described user to unload application program corresponding to described background process.
13. 1 kinds of mobile terminals, is characterized in that, comprising: housing, processor, storer, circuit board and power circuit, and wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, for powering for each circuit of described mobile terminal or device; Described storer is used for stores executable programs code; Described processor runs the program corresponding with described executable program code by reading the executable program code stored in described storer, for:
Obtain background process, and obtain internal memory growth threshold value corresponding to described background process;
Obtain the i.v. of described background process committed memory in Preset Time; And
If described i.v. is greater than described internal memory increase threshold value, then judge the application program operation exception that described background process is corresponding.
CN201410522378.8A 2014-09-30 2014-09-30 Method and device for detecting abnormal operation of application program and mobile terminal Pending CN104298569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410522378.8A CN104298569A (en) 2014-09-30 2014-09-30 Method and device for detecting abnormal operation of application program and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410522378.8A CN104298569A (en) 2014-09-30 2014-09-30 Method and device for detecting abnormal operation of application program and mobile terminal

Publications (1)

Publication Number Publication Date
CN104298569A true CN104298569A (en) 2015-01-21

Family

ID=52318305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410522378.8A Pending CN104298569A (en) 2014-09-30 2014-09-30 Method and device for detecting abnormal operation of application program and mobile terminal

Country Status (1)

Country Link
CN (1) CN104298569A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912276A (en) * 2016-04-27 2016-08-31 北京金山安全软件有限公司 Storage space management method and device and electronic equipment
CN106570043A (en) * 2015-10-13 2017-04-19 中国移动通信集团浙江有限公司 Terminal background operating program recognition method and device and network platform
CN106909457A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 EMS memory management process and device
WO2017156676A1 (en) * 2016-03-14 2017-09-21 华为技术有限公司 Processing method and device for application, and smart terminal
CN110457179A (en) * 2019-07-29 2019-11-15 Oppo广东移动通信有限公司 System detecting method, internal memory monitoring method, device, medium and electronic equipment
CN110908866A (en) * 2019-11-15 2020-03-24 珠海豹趣科技有限公司 Software monitoring method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599048A (en) * 2009-07-01 2009-12-09 福建星网锐捷网络有限公司 A kind of method and apparatus of internal memory monitoring
CN101980174A (en) * 2010-11-24 2011-02-23 中国人民解放军国防科学技术大学 Method for automatically testing energy consumption of computer application program interval
US7966505B2 (en) * 2005-06-27 2011-06-21 Thomson Licensing Method and apparatus for power reduction in iterative decoders
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN103902359A (en) * 2014-03-31 2014-07-02 深圳创维-Rgb电子有限公司 Android based system memory optimizing and application scheduling method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7966505B2 (en) * 2005-06-27 2011-06-21 Thomson Licensing Method and apparatus for power reduction in iterative decoders
CN101599048A (en) * 2009-07-01 2009-12-09 福建星网锐捷网络有限公司 A kind of method and apparatus of internal memory monitoring
CN101980174A (en) * 2010-11-24 2011-02-23 中国人民解放军国防科学技术大学 Method for automatically testing energy consumption of computer application program interval
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN102946486A (en) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 Background application automatic clearing method based on mobile phone and mobile phone
CN103902359A (en) * 2014-03-31 2014-07-02 深圳创维-Rgb电子有限公司 Android based system memory optimizing and application scheduling method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570043A (en) * 2015-10-13 2017-04-19 中国移动通信集团浙江有限公司 Terminal background operating program recognition method and device and network platform
CN106570043B (en) * 2015-10-13 2019-08-02 中国移动通信集团浙江有限公司 A kind of recognition methods, device and the network platform of terminal running background program
CN106909457A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 EMS memory management process and device
WO2017156676A1 (en) * 2016-03-14 2017-09-21 华为技术有限公司 Processing method and device for application, and smart terminal
CN107615250A (en) * 2016-03-14 2018-01-19 华为技术有限公司 A kind of processing method, device and intelligent terminal for application
CN107615250B (en) * 2016-03-14 2020-12-15 华为技术有限公司 Application-oriented processing method and device and intelligent terminal
CN105912276A (en) * 2016-04-27 2016-08-31 北京金山安全软件有限公司 Storage space management method and device and electronic equipment
CN110457179A (en) * 2019-07-29 2019-11-15 Oppo广东移动通信有限公司 System detecting method, internal memory monitoring method, device, medium and electronic equipment
CN110908866A (en) * 2019-11-15 2020-03-24 珠海豹趣科技有限公司 Software monitoring method and related equipment

Similar Documents

Publication Publication Date Title
CN105100429A (en) Method and device for determining use time of residual electric quantity of mobile terminal
CN104298569A (en) Method and device for detecting abnormal operation of application program and mobile terminal
CN104239196A (en) Method and device for detecting abnormal operation of application program and mobile terminal
US9785428B2 (en) Internal software updating method and system
US9684356B2 (en) Method for determining remaining service time of battery, client device and mobile terminal
CN104090240A (en) Method and device for updating left service time of battery and mobile terminal
CN104298549A (en) Method and device for cleaning application programs in mobile terminal and mobile terminal
CN101206246A (en) Method for preestimating battery residual capacity
WO2018000827A1 (en) Method and apparatus for calculating terminal battery power
TW201205322A (en) Computer component power-consumption database
US10007314B2 (en) Power signal interface
CN105138104A (en) Power-saving processing method and device, mobile terminal and cloud server
CN110888065B (en) Battery pack state of charge correction method and device
CN104731301A (en) Mobile terminal, power-saving operation method of mobile terminal, power-saving operation system of mobile terminal
CN104833919A (en) Detection method of power battery health state and system
JP5960017B2 (en) Battery deterioration determination device, resistance value calculation device, battery deterioration determination method, and program
US11460507B2 (en) Methods and systems for monitoring the health of a battery
CN105607006A (en) Battery capacity determination method, system and terminal thereof
US10514422B2 (en) Aspects for determining charging capacity of a battery
CN105465473A (en) Intelligent faucet and control method thereof
CN109597700B (en) Disk life prediction method and related device
CN112487353B (en) Data processing method and device, dehumidifier and storage medium
KR102663815B1 (en) A computing device and operation method thereof
GB2551139A (en) Methods and apparatus for monitoring electricity storage systems
CN110990219A (en) Computer monitoring method based on prediction model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150121