CN104598368B - A kind of mobile terminal performance diagnostic method - Google Patents

A kind of mobile terminal performance diagnostic method Download PDF

Info

Publication number
CN104598368B
CN104598368B CN201410808035.8A CN201410808035A CN104598368B CN 104598368 B CN104598368 B CN 104598368B CN 201410808035 A CN201410808035 A CN 201410808035A CN 104598368 B CN104598368 B CN 104598368B
Authority
CN
China
Prior art keywords
performance
mobile terminal
hyperplane
program
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.)
Active
Application number
CN201410808035.8A
Other languages
Chinese (zh)
Other versions
CN104598368A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201410808035.8A priority Critical patent/CN104598368B/en
Publication of CN104598368A publication Critical patent/CN104598368A/en
Application granted granted Critical
Publication of CN104598368B publication Critical patent/CN104598368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method of diagnosis of application program performance issue in mobile terminal.Mobile terminal period collecting performance data and frame per second data and upload server, serve end program sets up performance model according to performance data and frame per second data and calculates performance bottleneck hyperplane, and passes mobile terminal back.Mobile terminal is according to performance model and performance bottleneck hyperplane, with reference to the resource usage amount of each application program, calculate the performance change amount for obtaining each application program, and the performance issue produced by application program is diagnosed in this, as basis for estimation, while diagnostic result is fed back into terminal user.Advantage of this approach is that:It can effectively, accurately diagnose the performance issue that application program is produced in mobile terminal.

Description

A kind of mobile terminal performance diagnostic method
Technical field
Terminal applies are directed to the present invention relates to performance diagnostic method in a kind of mobile terminal, particularly terminaloriented user The performance issue automatic diagnosis method of program.
Background technology
Mobile applications rapid development in recent years, at the same time, the complexity of program is also growing day by day.Substantial amounts of movement Application program causes the quality of program very different, and the performance that quite a few application program has the different orders of severity is asked Topic, these problems can cause Mobile operating system operation slow.Therefore how to diagnose exist performance issue application program be move The problem of developer and terminal user of dynamic application are one important.
Because the performance of mobile terminal and the experience of terminal user are directly related, therefore in recent years in academia and industrial quarters All cause attention widely.Domestic and international researcher has been carried out in this regard more deeply widely to be studied, in recent years The method of many diagnosis mobile process performance issues is occurred in that.These methods according to towards user's difference be segmented into two classes Class:Towards program developer with terminaloriented user's.For the former binary system pitching pile skill is utilized just like AppInsight Art tracking user operates the behavior in application program, then obtains causing the root of performance issue by analysis of key execution route This reason.Zhang et al. reaches the system action of tracking more bottom by changing Mobile operating system code.Han et al. is analyzed Influence of the rolling operation to power consumption, and reduction CPU usage is reached by reducing refreshing frequency, put forward high performance purpose. For the latter, common is exactly to carry out performance improvement using task manager, and terminal user can use task manager to kill Some background process reach release resource, put forward high performance purpose.But this depends on performance issue of the terminal user to appearance Degree of understanding.Ma et al. proposes state when detection is performed, and causes the abnormal feelings of battery by analyzing the variation diagnostic of state The reason for condition.Terminal user can help to solve the problems, such as electric energy abnormal consumption by this method.
The content of the invention
The present invention will overcome the disadvantages mentioned above of prior art, and there is provided performance diagnostic method in a kind of mobile terminal.
To realize object above, the technical solution used in the present invention is:The mobile terminal performance diagnostic method is mainly wrapped Include following steps:
1) the frame per second data and each application resource that serve end program reception mobile terminal is gathered with cycle u are used Amount;
2) serve end program calculates performance model and performance bottleneck hyperplane based on mobile terminal performance data;
3) performance model and performance bottleneck hyperplane are returned to mobile terminal by serve end program;
4) mobile terminal utilizes the model that service end is returned, according to given based on performance model and performance bottleneck hyperplane Performance change amount computational methods calculate the performance variable;
5) program of mobile terminal sorts performance change amount from big to small, then informs that user causes the application of performance issue Program.
2nd, step 2) described in performance model and performance bottleneck hyperplane:
2.1) server program is according to formulaObtain X in resource usage amount vector, formulatRepresent movement Terminal uses vector in the aggregate resource of t,Represent overall usage amounts of the resource n in mobile terminal in t;
2.2) serve end program is according to formulaCarry out most Small square fitting obtains α in performance model, formulaiThe i-th model parameter is represented, k represents the resource category number of sampling,Represent k kinds Resource is in the usage amount vector of t, FtRepresent the standardized value of t frame per second;
2.3) serve end program calculates according to formula f (X)=1 and obtains f () representative in performance bottleneck hyperplane H, formula Energy model equation, X represents resource usage amount vector.
3rd, step 4) described in performance change amount:
4.1) program of mobile terminal receives the performance model and performance bottleneck hyperplane H of serve end program, according to formula gA =Dist (sc,H)-Dist(x-uA, H) calculate and obtain the performance of each application program variable, g in formulaARepresent application program A Performance change amount, scRepresent mobile terminal current performance state, x-uAExpression subtracts the performance state after application program A, Dist (s, H) represents performance state s to bottleneck hyperplane H distance.
Compared with prior art, the beneficial effects of the invention are as follows:The performance number that this method gathers mobile terminal period According to service end is uploaded to, serve end program sets up performance model using least square fitting, while performance bottleneck hyperplane is calculated, And pass performance model and performance bottleneck hyperplane back mobile terminal.Mobile terminal is according to performance model and performance bottleneck hyperplane Performance knots modification is calculated, and according to this as the foundation of diagnosis performance problem.Shifting can effectively, be accurately diagnosed by this method The performance issue that application program is produced in dynamic terminal.
Brief description of the drawings
Fig. 1 is mobile terminal performance diagnostic method frame diagram of the present invention.
Embodiment
The implementation to a kind of mobile terminal performance diagnostic method of the present invention is described in detail below in conjunction with the accompanying drawings, and it is walked It is rapid as follows:
1) the frame per second data and each application resource that serve end program reception mobile terminal is gathered with cycle u are used Amount;
2) serve end program calculates performance model and performance bottleneck hyperplane based on mobile terminal performance data;
3) performance model and performance bottleneck hyperplane are returned to mobile terminal by serve end program;
4) mobile terminal utilizes the model that service end is returned, according to given based on performance model and performance bottleneck hyperplane Performance change amount computational methods calculate the performance variable;
5) program of mobile terminal sorts performance change amount from big to small, then informs that user causes the application of performance issue Program.
Described step 2) described in the performance model computational methods based on mobile terminal performance data include following step Suddenly:
2.1) serve end program is according to formulaObtain X in resource usage amount vector, formulatRepresent movement Terminal uses vector in the aggregate resource of t,Represent overall usage amounts of the resource n in mobile terminal in t;
2.2) serve end program is according to formulaCarry out most Small square fitting obtains α in performance model, formulaiThe i-th model parameter is represented, k represents the resource category number of sampling,Represent k kinds Resource is in the usage amount vector of t, FtRepresent the standardized value of t frame per second;
3) serve end program is calculated according to formula f (X)=1 obtains f () expressions performance in performance bottleneck hyperplane H, formula Model equation, X represents resource usage amount vector.
Step 4) described in performance change amount:
4.1) program of mobile terminal receives the performance model and performance bottleneck hyperplane H of serve end program, according to formula gA =Dist (sc,H)-Dist(x-uA, H) calculate and obtain the performance of each application program variable, g in formulaARepresent application program A Performance change amount, scRepresent mobile terminal current performance state, x-uAExpression subtracts the performance state after application program A, Dist (s, H) represents performance state s to bottleneck hyperplane H distance.
Content described in this specification embodiment is only enumerating to the way of realization of inventive concept, protection of the invention Being not construed as of scope is only limitted to the concrete form that embodiment is stated, protection scope of the present invention is also and in this area skill Art personnel according to present inventive concept it is conceivable that equivalent technologies mean.

Claims (1)

1. a kind of mobile terminal performance diagnostic method, it is characterised in that comprise the following steps:
1) serve end program receives mobile terminal with the cycle u frame per second data gathered and each application resource usage amount;
2) serve end program calculates performance model and performance bottleneck hyperplane based on mobile terminal performance data;
3) performance model and performance bottleneck hyperplane are returned to mobile terminal by serve end program;
4) mobile terminal utilizes the model that service end is returned, according to the given property based on performance model and performance bottleneck hyperplane The computational methods of energy knots modification calculate performance knots modification;
5) program of mobile terminal sorts performance change amount from big to small, then informs that user causes the application journey of performance issue Sequence;
Described step 2) described in the performance model and performance bottleneck hyperplane based on mobile terminal performance data calculating Method comprises the following steps:
2.1) serve end program is according to formulaObtain X in resource usage amount vector, formulatRepresent mobile terminal In the aggregate resource usage amount vector of t,Represent overall usage amounts of the resource n in mobile terminal in t;
2.2) serve end program is according to formulaCarry out minimum flat Side's fitting obtains α in performance model, formulaiThe i-th model parameter is represented, k represents the resource category number of sampling,Represent k kind resources In the usage amount vector of t, FtRepresent the standardized value of t frame per second;
2.3) serve end program is calculated according to formula f (X)=1 obtains f () expressions performance mould in performance bottleneck hyperplane H, formula Type equation, X represents resource usage amount vector;
Described step 4) the performance change amount based on performance model and performance bottleneck hyperplane computational methods include following step Suddenly:
Program of mobile terminal receives the performance model and performance bottleneck hyperplane H of serve end program, according to formula gA=Dist (sc, H)-Dist(x-uA, H) and calculate g in the performance change amount for obtaining each application program, formulaARepresent application program A performance change Amount, scRepresent mobile terminal current performance state, x-uAExpression subtracts the performance state after application program A, and Dist (s, H) is represented Distances of the performance state s to performance bottleneck hyperplane H.
CN201410808035.8A 2014-12-22 2014-12-22 A kind of mobile terminal performance diagnostic method Active CN104598368B (en)

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 CN104598368A (en) 2015-05-06
CN104598368B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294059A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 The restoration methods of process and device in network management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480489B2 (en) * 2004-11-22 2009-01-20 Broadcom Corporation Wireless device having a distinct hardware accelerator to support data compression protocols dedicated to GSM (V.42)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104598368A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
EP3504768B1 (en) Primary power grid frequency response characterization using phasor measurement unit data
Paternina et al. Identification of electromechanical oscillatory modes based on variational mode decomposition
CN107038167A (en) Big data excavating analysis system and its analysis method based on model evaluation
CN109800139A (en) Server health degree analysis method, device, storage medium and electronic equipment
CN105425779A (en) ICA-PCA multi-working condition fault diagnosis method based on local neighborhood standardization and Bayesian inference
CN109344993B (en) River channel flood peak water level forecasting method based on conditional probability distribution
CN104182914B (en) A kind of wind power output time series modeling method based on wave characteristic
CN104062968A (en) Continuous chemical process fault detection method
CN104090176A (en) Intelligent household appliance recognition method based on power consumption characteristic curve
CN107576853A (en) Distribution Network Harmonics impedance computation method based on canonical correlation analysis
CN106154117A (en) A kind of combined method of distributed grid-connected isolated island detection
CN105023071A (en) Water quality prediction method based on Gaussian cloud transformation and fuzzy time sequence
CN105590027A (en) Identification method for photovoltaic power abnormal data
Rehman et al. Low complexity event detection algorithm for non-intrusive load monitoring systems
CN104166777A (en) Wind speed vector data simulation generation method considering multiple correlation
CN114977176A (en) Power load decomposition method, device, equipment and storage medium
CN110212592B (en) Thermal power generating unit load regulation maximum rate estimation method and system based on piecewise linear expression
CN109002996A (en) Methods of risk assessment and system based on water rate
CN104598368B (en) A kind of mobile terminal performance diagnostic method
CN103678529B (en) Integration method of wafer test data of multiple times
CN103529337B (en) The recognition methods of nonlinear correlation relation between equipment failure and electric quantity information
CN103428320B (en) Smart cell phone power dissipation estimation method based on model fitting
Zarei et al. Evaluation of quality and quantity changes of underground water in Fasa plain, Fars (2006-2013)
CN103473461B (en) Based on the wind power prediction error estimation that data characteristics is extracted
CN105466670A (en) Method for health state monitoring of multi-blade collimator based on current signals of blade motor

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