CN104598368A - Mobile terminal performance diagnosing method - Google Patents
Mobile terminal performance diagnosing method Download PDFInfo
- Publication number
- CN104598368A CN104598368A CN201410808035.8A CN201410808035A CN104598368A CN 104598368 A CN104598368 A CN 104598368A CN 201410808035 A CN201410808035 A CN 201410808035A CN 104598368 A CN104598368 A CN 104598368A
- Authority
- CN
- China
- Prior art keywords
- performance
- mobile terminal
- model
- represent
- formula
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The invention discloses a method for diagnosing the performance of application programs in a mobile terminal. The mobile terminal periodically collects performance data and frame rate data and uploads the performance data and the frame rate data to a server, a server program builds a performance model according to the performance data and the frame rate data and computes a performance bottleneck hyperplane and transmits the performance model and the performance bottleneck hyperplane back to the mobile terminal. The mobile terminal computes the performance change amounts of all the application programs according to the performance model and the performance bottleneck hyperplane in combination with the resource usage amounts of all the application programs, regards the performance change amounts as the criterions to diagnose the performance problems generated by the application programs and feeds the diagnosis result back to a terminal user at the same time. The method has the advantage of being capable of effectively and accurately diagnosing the performance problems generated by the application programs in the mobile terminal.
Description
Technical field
The present invention relates to the performance issue automatic diagnosis method for end application of performance diagnostic method, particularly intended for end consumers in a kind of mobile terminal.
Background technology
Mobile applications rapid development in recent years, meanwhile, the complexity of program also grows with each passing day.A large amount of mobile applications causes the quality of program very different, and quite a few application program exists the performance issue of the different order of severity, and these problems can cause Mobile operating system to run slowly.Therefore how to diagnose the application program that there is performance issue to be the developer of Mobile solution and terminal user to be all the problem that important.
Due to the performance of mobile terminal and the experience of terminal user directly related, therefore all cause attention widely in academia and industry member in recent years.Domestic and international researcher to have carried out in this regard comparatively deeply and has studied widely, has occurred the method for many diagnosis mobile process performance issues in recent years.These methods according to towards user's difference can be divided into two class classes: towards program developer with intended for end consumers.Utilize the behavior of scale-of-two pitching pile Technical Follow-Up user operation in application program for the former just like AppInsight, then obtain by analysis of key execution route the basic reason causing performance issue.The people such as Zhang reach by amendment Mobile operating system code the system action following the tracks of more bottom.The people such as Han analyze the impact of rolling operation on power consumption, and reach reduction CPU usage by reducing refreshing frequency, put forward high performance object.For the latter, common is exactly utilize task manager to carry out performance improvement, and terminal user can use task manager to kill some background process to reach releasing resource, put forward high performance object.But this depends on the degree of understanding of terminal user to the performance issue occurred.The people such as Ma propose the state detected when performing, and are caused the reason of battery abnormal conditions by the variation diagnostic of analysis state.Terminal user can help to solve electric energy abnormal consumption problem by this method.
Summary of the invention
The present invention will overcome the above-mentioned shortcoming of prior art, provides performance diagnostic method in a kind of mobile terminal.
For realizing above object, the technical solution used in the present invention is: this mobile terminal performance diagnostic method mainly comprises the following steps:
1) the frame per second data that gather with cycle u of serve end program mobile terminal receive and each application resource use amount;
2) serve end program calculates based on the performance model of mobile terminal performance data and performance bottleneck lineoid;
3) performance model and performance bottleneck lineoid are returned to mobile terminal by serve end program;
4) the mobile terminal model that utilizes service end to return, according to given this variable of performance change amount computing method calculated performance based on performance model and performance bottleneck lineoid;
5) performance change amount sorts by program of mobile terminal from big to small, then informs that user causes the application program of performance issue.
2, step 2) described in performance model and performance bottleneck lineoid:
2.1) server program is according to formula
obtain resource use amount vector, X in formula
trepresent that mobile terminal uses vector at the aggregate resource of t,
represent the overall use amount of the resource n in mobile terminal in t;
2.2) serve end program is according to formula
Carry out least square fitting and obtain performance model, α in formula
irepresent the i-th model parameter, k represents the resource category number of sampling,
represent the use amount vector of k kind resource in t, F
trepresent the standardized value of t frame per second;
2.3) serve end program calculates performance bottleneck lineoid H according to formula f (X)=1, and in formula, f () represents performance model equation, and X represents resource use amount vector.
3, step 4) described in performance change amount:
4.1) program of mobile terminal receives performance model and the performance bottleneck lineoid H of serve end program, according to formula g
a=Dist (s
c, H) and-Dist (x-u
a, H) and calculate this variable of performance of each application program, g in formula
arepresent the performance change amount of application A, s
crepresent mobile terminal current performance state, x-u
arepresent the performance state after deducting application A, Dist (s, H) represents the distance of performance state s to bottleneck lineoid H.
Compared with prior art, the invention has the beneficial effects as follows: the performance data of mobile terminal period collection is uploaded to service end by the method, serve end program uses least square fitting to set up performance model, calculated performance bottleneck lineoid simultaneously, and pass performance model and performance bottleneck lineoid back mobile terminal.Mobile terminal according to performance model and performance bottleneck lineoid calculated performance knots modification, and according to this as the foundation of diagnosis performance problem.The performance issue that in mobile terminal, application program produces can be diagnosed by this method effectively, accurately.
Accompanying drawing explanation
Fig. 1 is mobile terminal performance diagnostic method frame diagram of the present invention.
Embodiment
Be described in detail below in conjunction with the enforcement of accompanying drawing to a kind of mobile terminal performance diagnostic method of the present invention, its step is as follows:
1) the frame per second data that gather with cycle u of serve end program mobile terminal receive and each application resource use amount;
2) serve end program calculates based on the performance model of mobile terminal performance data and performance bottleneck lineoid;
3) performance model and performance bottleneck lineoid are returned to mobile terminal by serve end program;
4) the mobile terminal model that utilizes service end to return, according to given this variable of performance change amount computing method calculated performance based on performance model and performance bottleneck lineoid;
5) performance change amount sorts by program of mobile terminal from big to small, then informs that user causes the application program of performance issue.
Described step 2) described in the performance model computing method based on mobile terminal performance data comprise the following steps:
2.1) serve end program is according to formula
obtain resource use amount vector, X in formula
trepresent that mobile terminal uses vector at the aggregate resource of t,
represent the overall use amount of the resource n in mobile terminal in t;
2.2) serve end program is according to formula
Carry out least square fitting and obtain performance model, α in formula
irepresent the i-th model parameter, k represents the resource category number of sampling,
represent the use amount vector of k kind resource in t, F
trepresent the standardized value of t frame per second;
3) serve end program calculates performance bottleneck lineoid H according to formula f (X)=1, and in formula, f () represents performance model equation, and X represents resource use amount vector.
Step 4) described in performance change amount:
4.1) program of mobile terminal receives performance model and the performance bottleneck lineoid H of serve end program, according to formula g
a=Dist (s
c, H) and-Dist (x-u
a, H) and calculate this variable of performance of each application program, g in formula
arepresent the performance change amount of application A, s
crepresent mobile terminal current performance state, x-u
arepresent the performance state after deducting application A, Dist (s, H) represents the distance of performance state s to bottleneck lineoid H.
Content described in this instructions embodiment is only enumerating the way of realization of inventive concept; should not being regarded as of protection scope of the present invention is only limitted to the concrete form that embodiment is stated, protection scope of the present invention also and conceive the equivalent technologies means that can expect according to the present invention in those skilled in the art.
Claims (3)
1. a mobile terminal performance diagnostic method, is characterized in that comprising the following steps:
1) the frame per second data that gather with cycle u of serve end program mobile terminal receive and each application resource use amount;
2) serve end program calculates based on the performance model of mobile terminal performance data and performance bottleneck lineoid;
3) performance model and performance bottleneck lineoid are returned to mobile terminal by serve end program;
4) the mobile terminal model that utilizes service end to return, according to given this variable of performance change amount computing method calculated performance based on performance model and performance bottleneck lineoid;
5) performance change amount sorts by program of mobile terminal from big to small, then informs that user causes the application program of performance issue.
2. a kind of mobile terminal performance diagnostic method as claimed in claim 1, is characterized in that: described step 2) described in the performance model computing method based on mobile terminal performance data comprise the following steps:
2.1) serve end program is according to formula
obtain resource use amount vector, X in formula
trepresent that mobile terminal uses vector at the aggregate resource of t,
represent the overall use amount of the resource n in mobile terminal in t;
2.2) serve end program is according to formula
carry out least square fitting and obtain performance model, α in formula
irepresent the i-th model parameter, k represents the resource category number of sampling,
represent the use amount vector of k kind resource in t, F
trepresent the standardized value of t frame per second;
3) serve end program calculates performance bottleneck lineoid H according to formula f (X)=1, and in formula, f () represents performance model equation, and X represents resource use amount vector.
3. a kind of mobile terminal performance diagnostic method as claimed in claim 1, is characterized in that: described step 4) comprise the following steps based on the performance change amount computing method of performance model and performance bottleneck lineoid:
4.1) program of mobile terminal receives performance model and the performance bottleneck lineoid H of serve end program, according to formula g
a=Dist (s
c, H) and-Dist (x-u
a, H) and calculate this variable of performance of each application program, g in formula
arepresent the performance change amount of application A, s
crepresent mobile terminal current performance state, x-u
arepresent the performance state after deducting application A, Dist (s, H) represents the distance of performance state s to bottleneck lineoid H.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410808035.8A CN104598368B (en) | 2014-12-22 | 2014-12-22 | A kind of mobile terminal performance diagnostic method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410808035.8A CN104598368B (en) | 2014-12-22 | 2014-12-22 | A kind of mobile terminal performance diagnostic method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104598368A true CN104598368A (en) | 2015-05-06 |
CN104598368B CN104598368B (en) | 2017-10-27 |
Family
ID=53124180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410808035.8A Active CN104598368B (en) | 2014-12-22 | 2014-12-22 | A kind of mobile terminal performance diagnostic method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598368B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016206501A1 (en) * | 2015-06-26 | 2016-12-29 | 中兴通讯股份有限公司 | Process recovery method and device in network management system, and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060123308A1 (en) * | 2004-11-22 | 2006-06-08 | Eslick Ian S | Wireless device having a distinct hardware accelerator to support data compression protocols dedicated to GSM (V.42) |
CN101808165A (en) * | 2010-04-12 | 2010-08-18 | 中兴通讯股份有限公司 | Method and device for constructing power model of mobile terminal |
CN103024761A (en) * | 2011-09-26 | 2013-04-03 | 艾默生网络能源有限公司 | Establishing method for energy consumption model of base station, and energy consumption predicating method and device |
CN103399797A (en) * | 2013-07-19 | 2013-11-20 | 华为技术有限公司 | Server resource allocation method and device |
CN104010028A (en) * | 2014-05-04 | 2014-08-27 | 华南理工大学 | Dynamic virtual resource management strategy method for performance weighting under cloud platform |
-
2014
- 2014-12-22 CN CN201410808035.8A patent/CN104598368B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060123308A1 (en) * | 2004-11-22 | 2006-06-08 | Eslick Ian S | Wireless device having a distinct hardware accelerator to support data compression protocols dedicated to GSM (V.42) |
CN101808165A (en) * | 2010-04-12 | 2010-08-18 | 中兴通讯股份有限公司 | Method and device for constructing power model of mobile terminal |
CN103024761A (en) * | 2011-09-26 | 2013-04-03 | 艾默生网络能源有限公司 | Establishing method for energy consumption model of base station, and energy consumption predicating method and device |
CN103399797A (en) * | 2013-07-19 | 2013-11-20 | 华为技术有限公司 | Server resource allocation method and device |
CN104010028A (en) * | 2014-05-04 | 2014-08-27 | 华南理工大学 | Dynamic virtual resource management strategy method for performance weighting under cloud platform |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016206501A1 (en) * | 2015-06-26 | 2016-12-29 | 中兴通讯股份有限公司 | Process recovery method and device in network management system, and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104598368B (en) | 2017-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104766175A (en) | Power system abnormal data identifying and correcting method based on time series analysis | |
CN103543403B (en) | Electric system unit Primary frequency control ability detection method | |
CN104242267B (en) | A kind of wind-power electricity generation sends out transmission line distance protecting method | |
Chiodo et al. | Inverse Burr distribution for extreme wind speed prediction: Genesis, identification and estimation | |
CN104037790B (en) | A kind of new forms of energy based on sequential Monte Carlo simulation receive capability assessment method | |
CN103020423A (en) | Copula-function-based method for acquiring relevant characteristic of wind power plant capacity | |
CN103368175A (en) | Online evaluation method of electric power system dynamic stability | |
CN103324847A (en) | Method for detecting and identifying dynamic bad data of electric power system | |
CN105004498A (en) | Vibration fault diagnosis method of hydroelectric generating set | |
CN103103570B (en) | Based on the aluminium cell condition diagnostic method of pivot similarity measure | |
CN104361233A (en) | Anti-electric larceny management method under condition of access of distributed generation | |
CN105547730A (en) | Fault detection system of water-wheel generator set | |
CN103439091A (en) | Method and system for early warning and diagnosing water turbine runner blade crack breakdown | |
CN102520274A (en) | Method for forecasting service life of intermediate frequency log amplifier based on failure physics | |
CN105590027A (en) | Identification method for photovoltaic power abnormal data | |
CN103530229A (en) | Software reliability detection method taking testing effort into consideration | |
CN104300532A (en) | Voltage sag evaluation process based on matrix factor | |
CN103529337B (en) | The recognition methods of nonlinear correlation relation between equipment failure and electric quantity information | |
Rehman et al. | Low complexity event detection algorithm for non-intrusive load monitoring systems | |
CN106546924A (en) | A kind of dynamic prediction method of automobile lithium battery performance | |
CN104598368A (en) | Mobile terminal performance diagnosing method | |
CN106066415A (en) | For the method detecting the swindle in supply network | |
CN104182905A (en) | Power grid fault diagnosis method based on data mining | |
CN103809020A (en) | Interconnected network low-frequency oscillation frequency and damping estimation value joint confidence interval determination method | |
CN101923605A (en) | Wind pre-warning method for railway disaster prevention |
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 |