CN107436840A - Application program analysis of running performance method, apparatus and system - Google Patents
Application program analysis of running performance method, apparatus and system Download PDFInfo
- Publication number
- CN107436840A CN107436840A CN201710647838.3A CN201710647838A CN107436840A CN 107436840 A CN107436840 A CN 107436840A CN 201710647838 A CN201710647838 A CN 201710647838A CN 107436840 A CN107436840 A CN 107436840A
- Authority
- CN
- China
- Prior art keywords
- application program
- information
- parameter information
- mobile terminal
- analysis
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/865—Monitoring of software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses the analysis of running performance method, apparatus and system of a kind of application program, it is related to technical field of information processing, main purpose is to realize automatically to the analysis of running performance of application program, save human cost and time cost, the analysis of running performance efficiency of application program is lifted, and the performance optimization efficiency of application program can be lifted.Methods described includes:Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal to gather the parameter information of corresponding application program in the process of running according to the acquisition logic;The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance result of the application program, and the runnability of application program is optimized according to the results of performance analysis.The present invention is applied to the analysis of running performance of application program.
Description
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of application program analysis of running performance method, dress
Put and system.
Background technology
With the continuous development of information technology, intelligent mobile terminal starts popularization and function increasingly strengthens, such as intelligent hand
Machine and tablet personal computer.At present, user is to the runnability requirement more and more higher for the application program installed in intelligent mobile terminal, compared with
High runnability can be that application program brings the more market share.It is generally necessary to analyze the runnability of application program.
At present, in order to improve constantly the quality of application program, generally carried out by application developer according to application program
The performance test results of runnability test, analyze the runnability of application program and application program are optimized.However, should
Involved mobile terminal module is more when being run with program, and caused property test result data is complicated and data volume is big, passes through
Aforesaid way analyzes the runnability of application program, can consume more human cost and time cost, cause application program
Analysis of running performance is less efficient, and causes the performance optimization efficiency of application program relatively low.
The content of the invention
In view of this, the present invention provides a kind of the analysis of running performance method, apparatus and system of application program, main purpose
It is to realize automatically to the analysis of running performance of application program, saves human cost and time cost, lift application program
Analysis of running performance efficiency, and the performance optimization efficiency of application program can be lifted.
According to first aspect present invention, there is provided a kind of analysis of running performance method of application program, including:
Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal according to the acquisition logic collection
The corresponding parameter information of application program in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance knot of the application program
Fruit, and the runnability of application program is optimized according to the results of performance analysis.
According to second aspect of the present invention, there is provided the analysis of running performance method of another application program, including:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter
Information is sent to the cloud server, to cause the cloud server to analyze the parameter information, obtains described
The analysis of running performance result of application program, and it is excellent according to runnability progress of the results of performance analysis to application program
Change.
According to third aspect present invention, there is provided a kind of cloud server, including:
Transmitting element, logic is obtained for issuing parameter information to mobile terminal, to cause the mobile terminal according to institute
State acquisition logic collection and answer the parameter information of application program in the process of running accordingly;
Analytic unit, the parameter information for being fed back to the mobile terminal are analyzed, and obtain the application program
Analysis of running performance result;
Optimize unit, for entering according to the results of performance analysis that the analytic unit obtains to the runnability of application program
Row optimization.
According to fourth aspect present invention, there is provided a kind of mobile terminal, including:
Receiving unit, logic is obtained for receiving the parameter information that cloud server issues;
Collecting unit, believe for gathering the parameter of corresponding application program in the process of running according to the acquisition logic
Breath;
Transmitting element, for the parameter information to be sent into the cloud server, to cause the cloud server
The parameter information is analyzed, obtains the analysis of running performance result of the application program, and according to the performance evaluation
As a result the runnability of application program is optimized.
According to fifth aspect present invention, there is provided a kind of analysis of running performance system of application program, including:Cloud service
Device and mobile terminal,
The cloud server, logic is obtained for issuing parameter information to mobile terminal;
The mobile terminal, for gathering the parameter of corresponding application program in the process of running according to the acquisition logic
Information;
The cloud server, the parameter information for being fed back to the mobile terminal are analyzed, and obtain the application
The analysis of running performance result of program, and the runnability of application program is optimized according to the results of performance analysis.
According to sixth aspect present invention, there is provided a kind of computer-readable recording medium, computer program is stored thereon with,
The program realizes following steps when being executed by processor:
Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal according to the acquisition logic collection
The corresponding parameter information of application program in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance knot of the application program
Fruit, and the runnability of application program is optimized according to the results of performance analysis.
According to seventh aspect present invention, there is provided a kind of cloud server, including memory, processor and it is stored in storage
Following steps are realized on device and the computer program that can run on a processor, during the computing device described program:
Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal according to the acquisition logic collection
The corresponding parameter information of application program in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance knot of the application program
Fruit, and the runnability of application program is optimized according to the results of performance analysis.
According to eighth aspect present invention, there is provided another computer-readable recording medium, be stored thereon with computer journey
Sequence, the program realize following steps when being executed by processor:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter
Information is sent to the cloud server, to cause the cloud server to analyze the parameter information, obtains described
The analysis of running performance result of application program, and it is excellent according to runnability progress of the results of performance analysis to application program
Change.
According to ninth aspect present invention, there is provided a kind of mobile terminal, including memory, processor and it is stored in memory
Computer program that is upper and can running on a processor, following steps are realized during the computing device described program:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter
Information is sent to the cloud server, to cause the cloud server to analyze the parameter information, obtains described
The analysis of running performance result of application program, and it is excellent according to runnability progress of the results of performance analysis to application program
Change.
By above-mentioned technical proposal, the present invention provides a kind of the analysis of running performance method, apparatus and system of application program,
With generally being applied at present by application developer according to the performance test results that runnability test is carried out to application program, analysis
The runnability of program and being optimized to application program is compared, and the present invention is obtained by issuing parameter information to mobile terminal and patrolled
Volume, the parameter information of corresponding application program in the process of running can be gathered, and based on the parameter of mobile terminal feedback
Information, it is possible to achieve automatically analyze the runnability of application program and obtain analysis of running performance result, can save manpower into
Sheet and time cost, so as to lift the analysis of running performance efficiency of application program.In addition, it is based on the results of performance analysis
It can realize and the runnability of application program is optimized automatically, so as to lift the runnability of application program optimization effect
Rate.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of analysis of running performance method flow diagram of application program provided in an embodiment of the present invention;
Fig. 2 shows the analysis of running performance method flow diagram of another application program provided in an embodiment of the present invention;
Fig. 3 shows a kind of structural representation of cloud server provided in an embodiment of the present invention;
Fig. 4 shows a kind of entity structure schematic diagram of cloud server provided in an embodiment of the present invention;
Fig. 5 shows a kind of structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 6 shows a kind of entity structure schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 7 shows a kind of structural representation of the analysis of running performance system of application program provided in an embodiment of the present invention
Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
As stated in the Background Art, generally runnability test is carried out according to application program by application developer at present
The performance test results, analyze the runnability of application program and application program optimized, property test result data it is complicated and
Data volume is big, can consume more human cost and time cost, causes the analysis of running performance of application program less efficient, with
And cause the performance optimization efficiency of application program relatively low.
, can the embodiments of the invention provide a kind of analysis of running performance method of application program in order to solve the above problems
With applied to cloud server side, as shown in figure 1, methods described includes:
101st, issue parameter information to mobile terminal and obtain logic.
For the embodiment of the present invention, logic is obtained by issuing parameter information to mobile terminal, being capable of the mobile terminal
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic.
Obtained it should be noted that cloud server can issue parameter information in the form of configuration file to mobile terminal
Logic, i.e. mobile terminal can just perform the operating procedure of acquisition parameter when receiving the acquisition logic.Mobile terminal is being adopted
It can be first cached after collecting parameter information, cloud is reported until storing to the data of certain amount, then by parameter information
Server is held, passes through aforesaid operations, it is possible to reduce frequently carry out reading in/read operation.It can be configured in configuration file mobile whole
End reports time interval field upload_interval, cleaning parameter information by what parameter information reported cloud server
Clearance time interval field clean_exp or clean_interval, the time-out period field for suspending acquisition parameter information
Pause_interval, the maximum bar digital section once_max_coun once cached etc..
102nd, the parameter information of mobile terminal feedback is analyzed, obtains the runnability point of the application program
Analyse result.
Wherein, the parameter information can include:Activity start time-consuming information, network access information, memory information,
Information about power, frame per second information, sensor use information, fileinfo or program start time-consuming information.Different types of parameter
Information can be according to different frequency collections.For example, gathering activity in each activity starts time-consuming information, every time
Network access all gathers network access information, timing acquiring memory information, gathers an information about power, timing acquiring frame per second daily
Information, each access sensors all gather sensor use information, timing acquiring fileinfo, started every time in application program
When, capture program starts time-consuming information.Accordingly, obtaining the analysis of running performance result of the application program can be:
Activity starts time-consuming information analysis result, network access information analysis result, EMS memory occupation analysis result, electric quantity consumption point
Analyse result, CPU usage analysis result, disk utilization rate analysis result, interim card situation analysis result etc., or above-mentioned point
Analyse results set.
103rd, the runnability of application program is optimized according to the results of performance analysis.
It should be noted that it can determine that application program whether there is problem according to results of performance analysis, using journey
When sequence has problem, the runnability of application program can be optimized, specifically can be by updating application program
The method optimizing runnability of correlation module.After new application version is generated, mobile terminal can be distributed to so that move
The dynamic terminal parameter information of acquisition applications program in the process of running again, carry out a new wheel performance optimization so that using journey
Sequence constantly improve.
A kind of analysis of running performance method of application program provided in an embodiment of the present invention, can apply to cloud server
Side, with present generally by application developer according to the performance test results that runnability test is carried out to application program, analyzing
The runnability of application program and being optimized to application program is compared, and the present invention is obtained by issuing parameter information to mobile terminal
Logic is taken, the parameter information of corresponding application program in the process of running can be gathered, and based on mobile terminal feedback
Parameter information, it is possible to achieve automatically analyze the runnability of application program and obtain analysis of running performance result, people can be saved
Power cost and time cost, so as to lift the analysis of running performance efficiency of application program.In addition, it is based on the performance evaluation
As a result it can realize and the runnability of application program is optimized automatically, it is excellent so as to lift the runnability of application program
Change efficiency.
Further, in order to better illustrate the process of above-mentioned analysis method, as the refinement and expansion to above-described embodiment
Exhibition, the embodiments of the invention provide several alternative embodiments, but not limited to this, it is specific as follows shown in:
In an alternate embodiment of the present invention where, taken to realize that the Activity components of analysis application program start
Information, above-mentioned steps 102 can specifically include:The Activity components fed back according to the mobile terminal start time-consuming information,
The time-consuming seniority among brothers and sisters list of each Activity component lifecycles of the application program is counted, the Activity groups start time-consuming
Information is that the time-consuming information collecting interface function for the dynamic proxy class that basis is survived temporarily in the internal memory of mobile terminal gathers, or
Person gathers according to the time-consuming information collecting interface function of the dynamic proxy class by being changed towards tangential programming mode.Accordingly
, step 103 can specifically include:According to the time-consuming seniority among brothers and sisters list, information is taken to life cycle and is more than or equal in advance
If the Activity components of time-consuming threshold value carry out time-consuming optimization.Wherein, Activity components show as visual with user mutual
Change interface.The default time-consuming threshold value can be configured according to system default, for example, the default time-consuming threshold value can be
0.1s.The mode of time-consuming optimization is carried out to Activity components:Can be the level for reducing Activity assembly layout files,
Asynchronous process can be carried out to the time-consuming operation of main thread.
It is above-mentioned in order to realize the network access information of analysis application program in another alternative embodiment of the invention
Step 102 can specifically include:The network access information fed back according to the mobile terminal, count the network of the application program
Seniority among brothers and sisters list is accessed, the network access information is to be cut into network access interface function towards tangential programming mode static state
Recalls information analyzed what is obtained.Accordingly, step 103 can specifically include:List is ranked according to the network access,
The network access that network traffics are more than or equal to preset flow threshold value conducts interviews optimization.
Wherein, the network access seniority among brothers and sisters list of statistics can also be that the flow counted according to user and URL dimensions uploads
Rank list and flow downloads seniority among brothers and sisters list.The network access information can include network access number, network bytes transmit
The contents such as amount, network access returning result.Network access interface function can be with reference to HttpClient,
The function that the interfaces such as HttpURLCollection (ApplicationProgramInterface, API) are write.For example, pass through
AOP (Aspect Oriented Programming) towards tangential mode be cut into HttpClient,
The calling of the crucial api interfaces such as HttpURLCollection, acquires network access number, network bytes transmission quantity, network
The data such as returning result are accessed, the preset flow threshold value can be configured according to the demand of user, such as preset flow threshold value
Can be 1Mb/s etc..Can be to the process that the network access optimizes:It is unnecessary to reduce, the network access repeated,
And network access is carried out under wireless network environment as far as possible.
In another alternative embodiment of the present invention, in order to realize the memory usage of analysis application program, above-mentioned step
Rapid 102 can specifically include:The memory occupation information fed back according to the mobile terminal, the internal memory for counting the application program account for
With seniority among brothers and sisters list, the memory occupation information is entered according to the memory usage information and the application program of program process
What total physical memory quantity of journey determined.Accordingly, step 103 can specifically include:Seniority among brothers and sisters list is used according to the internal memory,
The process for being more than or equal to default memory usage threshold value to memory usage carries out internal memory optimization.
Wherein, memory usage information can include the ecosystem native physical memories of program process, in virtual machine
Deposit, information, the mobile terminal such as total physical memory size and other EMS memory occupations can use android Debug classes
GetMemoryInfo acquires the memory usage information memInfo of program process, and uses memInfo's
Be applied program process total physical memory size totalPss, wherein memInfo nativePss of getTotalPss be
For the native physical memories of current process, dalvikPss is the virutal machine memory of current process, and otherPss is in other
Deposit occupancy.The default memory usage threshold value can be configured according to the demand of user, such as default memory usage threshold value
Can be 40%, 50% etc..In the process for being more than or equal to default memory usage threshold value to memory usage is carried out
Depositing the process of optimization can be:Editor is adjusted in time to the module for influenceing EMS memory occupation.
It is above-mentioned in order to realize the operation interim card situation of analysis application program in yet another alternative embodiment of the invention
Step 102 can specifically include:The frame per second information of the present clock period fed back according to the mobile terminal, counts the application
The operation interim card situation of program, the frame per second information are when reading the callback information of display system drafting, to predetermined statistics
The frame per second information counted in cycle is added up, and at the end of the predetermined measurement period, according to the predetermined statistics week
What the frame per second information counted in the phase determined.Accordingly, step 103 can specifically include:If the application program was being run
Interim card in journey be present, then interim card optimization is carried out to the application program.
Wherein, the frame per second information can be obtained using android message handling device Choreographer,
Three draw message MSG_DO_FRAME, MSG_DO_SCHEDULE_VSYNC of Choreographer meeting receiving and displaying systems,
MSG_DO_SCHEDULE_CALLBACK, three kinds of readjustments, including event call-back, animation readjustment, drafting readjustment is corresponded to respectively, this three
Kind event can issue Choreographer in actions such as message input, addition animation, preparation drawing layout.It can set
Fixed initial frame rate value is frameNumer, and assigns initial value 0 for it, when starting to count frame per second, calls Choreographer's
Display system draws the instruction adjusted back to postFrameCallback interfaces send configuration next time, receives display system drafting
After readjustment, for the accumulative postFrameCallback for adding 1, and calling Choreographer again of frame rate value frameNumer
Display system draws the instruction adjusted back to interface send configuration next time, in this way cycle statistics, when measurement period terminates
When, obtained frameNumer is the frame rate value of present clock period.It should be noted that the frame rate value of present clock period
During more than or equal to preset frame rate threshold value, if illustrating there is interim card in the application program in the process of running.The default biography
Sensor utilization rate threshold value can be configured according to system default pattern, if preset frame rate threshold value can be 1fps, 2fps etc..Institute
Stating can be to the process of application program progress interim card optimization:The module of interim card is caused to be adjusted in time to influenceing operation
Editor.
It is above-mentioned in order to realize the sensor utilization rate of analysis application program in yet another alternative embodiment of the invention
Step 102 can specifically include:The sensor use information fed back according to the mobile terminal, count the biography of the application program
Sensor utilization rate, the sensor use information are by calling default sensor interface function to gather.Accordingly, step
103 can specifically include:If the sensor utilization rate is more than or equal to default sensor utilization rate threshold value, answer described
Sensor access optimization is carried out with program.Wherein default sensor interface function can be with reference to AlarmManager,
The function that the interfaces such as WifiManager, SensorManager, WakeLock, LocationManager are write.For example, pass through
AOP towards tangential mode be cut into AlarmManager, WifiManager, SensorManager, WakeLock,
The calling of the crucial api interfaces such as LocationManager, acquires light sensor access times, acceleration transducer makes
With information such as number, gyroscope access times, gravity sensor access times.The default sensor utilization rate threshold value can root
It is configured according to the demand of user, such as default sensor utilization rate threshold value can be 50%, 55% etc..It is described to apply journey to described
Sequence carry out sensor access optimization process can be:Editor is adjusted in time to the module for influenceing sensor access.
In yet another alternative embodiment of the invention, in order to realize the electric quantity consumption of analysis application program, above-mentioned steps
102 can specifically include:The information about power fed back according to the mobile terminal, count the electric quantity consumption seniority among brothers and sisters of the application program
List, the information about power are by calling default information about power to determine strategy collection.Accordingly, step 103 specifically can be with
Including:List is ranked according to the electric quantity consumption, the electric quantity consumption for being more than or presetting electric quantity consumption threshold value is optimized.Its
In, preset information about power and determine that strategy can be the power consumption information class to the operating system of mobile terminal
Com.android.internal.os.PowerProfile carries out reflection processing, is then obtained corresponding to power consumption information class object
Power consumption method function, determine that power consumption parameter is such as PowerProfile corresponding to all parts used in application program
GetAveragePower, all parts can be processor, network components, sensor, radio unit and wake-up portion
Part.And the application programming interfaces according to corresponding to application program determine the power consumption parameter of all parts, according to power consumption parameter and each
The power consumption parameter of part determines power consumption corresponding to all parts, and finally the power consumption according to corresponding to all parts determines to apply journey
The electric quantity consumption of sequence.The default electric quantity consumption threshold value can be configured according to the demand of user, such as default electric quantity consumption threshold
Value can be 10mA, 20mA etc..It is described that list is ranked according to the electric quantity consumption, to being more than or presetting electric quantity consumption threshold value
The process that electric quantity consumption optimizes can be:Editor is adjusted in time to the module for influenceing electric quantity consumption.
In yet another alternative embodiment of the invention, in order to realize the disk utilization rate of analysis application program, above-mentioned step
Rapid 102 can specifically include:The fileinfo fed back according to the mobile terminal, the disk for counting the application program use
Rate, the fileinfo are by calling default file directory interface function to monitor.Accordingly, step 103 can specifically wrap
Include:If the disk utilization rate is more than or equal to default disk utilization rate threshold value, file visit is carried out to the application program
Ask optimization.
Wherein, the big of all subdirectories and file under respective directories can be gathered by default file directory interface function
Small, modification time, readable, writeable, executable state etc..Need to consume disk resource during file read-write, disk utilization rate can be with
The ratio of the size and disk total size of disk is taken for file.The default disk utilization rate threshold value is entered according to the demand of user
Row is set, and such as default electric quantity consumption threshold value can be 30%, 40% etc..The mistake of file access optimization is carried out to the application program
Journey can specifically include:The module used influenceing disk is adjusted editor in time.
In yet another alternative embodiment of the invention, in order to realize the CPU usage of analysis application program, above-mentioned steps
102 can specifically include:The CPU use informations fed back according to the mobile terminal, the CPU for counting the application program are used
Rate, the CPU use informations are by calling default CPU use information interface functions to gather.Accordingly, step 103 is specific
It can include:If the CPU usage is more than or equal to default CPU usage threshold value, CPU is carried out to the application program
Use optimization.
Wherein, CPU use informations can include:When the first of current process CPU is used altogether using duration position, first
Grow, second that the last time corresponding to current process CPU reads uses duration altogether using duration position and second.Then basis
First uses duration altogether using duration, second using duration position and second altogether using duration position, first, determines current process
CPU utilization rate.For example, can specifically set the last current process CPU read using duration position as time1, CPU
A length of totalTime1 when using altogether, and the current process CPU's that this reads is time2 using duration position, CPU is altogether
A length of totalTime2 during use, then this CPU usage (cpuUsage) of current process be cpuUsage=(time2-
time1)/(totalTime2–totalTime1)*100.The default CPU usage threshold value can be entered according to the demand of user
Row is set, and such as default CPU usage threshold value can be 30%, 40% etc..It is described that optimization is used to application program progress CPU
Process can be:The module used influenceing CPU is adjusted editor in time.
Described by above-described embodiment be cloud server side carry out application program runnability information analysis process, phase
Answer, the embodiments of the invention provide the analysis of running performance method of another application program, can apply to mobile terminal, such as
Shown in Fig. 2, methods described includes:
201st, receive the parameter information that cloud server issues and obtain logic.
Obtained it should be noted that cloud server can issue parameter information in the form of configuration file to mobile terminal
Logic, i.e. mobile terminal can just perform the operating procedure of acquisition parameter when receiving the acquisition logic.Mobile terminal is being adopted
It can be first cached after collecting parameter information, cloud is reported until storing to the data of certain amount, then by parameter information
Server is held, passes through aforesaid operations, it is possible to reduce frequently carry out reading in/read operation.
202nd, the parameter information of corresponding application program in the process of running is gathered according to the acquisition logic.
Wherein, the parameter information can include:Activity start time-consuming information, network access information, memory information,
Information about power, frame per second information, sensor use information, fileinfo or program start time-consuming information.
203rd, the parameter information is sent to the cloud server.
For the embodiment of the present invention, by the way that the parameter information is sent into the cloud server, enable to described
Cloud server is analyzed the parameter information, obtains the analysis of running performance result of the application program, and according to institute
Results of performance analysis is stated to optimize the runnability of application program.
Further, in order to better illustrate the process of above-mentioned analysis method, as the refinement and expansion to above-described embodiment
Exhibition, the embodiments of the invention provide several alternative embodiments, but not limited to this, it is specific as follows shown in:
In an alternate embodiment of the present invention where, taken to realize that the Activity components of analysis application program start
Information, above-mentioned steps 202 can specifically include:The generation dynamic proxy class, and according to described temporarily in the internal memory of mobile terminal
The time-consuming information collecting interface function collection Activity components of dynamic proxy class start time-consuming information;Or by towards tangential
Programming mode changes the time-consuming information collecting interface function of dynamic proxy class, and according to the time-consuming information collecting interface function of modification
Gather Activity components and start time-consuming information.Accordingly, step 203 can specifically include:Start time-consuming information hair by described
The cloud server is given, to cause the cloud server to go out each Activity according to the time-consuming Information Statistics of the startup
Component lifecycle takes information state, and information is taken to life cycle and is more than or equal to default time-consuming threshold value
Activity components carry out time-consuming optimization.
For example, mobile terminal can get ActivityThread class objects using java reflection technologies in advance, then repair
It is the agent object of oneself to change its member mInstrumentation;Then in the callActivityOnCreate of agent object
When Runable objects are created in function, and setting callActivityOnCreate allocating time startTime to be current
Between;Then DecorView post functions are reused Runable objects is inserted into active view view drafting queue and worked as
In;Finally when the frame of view first is drawn, the Runable objects are carried out, in the run functions of Runable objects
Obtain the end time endTime of the first frame drafting;Then according to the two parameter calculating differences, the drafting of the frame of view first is obtained
Total time-consuming duration time, be specially:Time=endTime-startTime, the time being calculated are Activity groups
Part starts time-consuming information.
It is above-mentioned in order to realize the network access information of analysis application program in another alternative embodiment of the invention
Step 202 can specifically include:To be cut into network access interface function towards tangential programming mode static state, the network is obtained
The recalls information of access interface function;The recalls information is analyzed, obtains corresponding application program in the process of running
Network access information.Accordingly, step 203 can specifically include:The network access information is sent to the high in the clouds clothes
Business device, to cause network access ranking list of the cloud server according to the network access information statistics application program
It is single, and carried out according to network access of the network access ranking list single pair network traffics more than or equal to preset flow threshold value
Access Optimization.
In another alternative embodiment of the present invention, in order to realize the memory usage of analysis application program, above-mentioned step
Rapid 202 can specifically include:Obtain the memory usage information of corresponding program process and the program process
Total physical memory quantity;According to the memory usage information and total physical memory quantity, the program process is determined
Memory occupation information.Accordingly, step 203 can specifically include:The memory occupation information is sent to the high in the clouds clothes
Business device, to cause EMS memory occupation ranking list of the cloud server according to the memory occupation information statistics application program
It is single, and it is more than or equal to the process for presetting memory usage threshold value using ranking list single pair memory usage according to the internal memory
Carry out internal memory optimization.
It is above-mentioned in order to realize the operation interim card situation of analysis application program in yet another alternative embodiment of the invention
Step 202 can specifically include:When reading the callback information of display system drafting, to what is counted in predetermined measurement period
Frame per second information is added up, and at the end of the predetermined measurement period, the frame per second that will have been counted in the predetermined measurement period
Information, it is defined as the frame per second information of present clock period.Accordingly, step 203 can specifically include:The frame per second information is sent out
The cloud server is given, to cause the operation of cloud server application program according to the frame per second Information Statistics
Interim card situation, and when the application program has interim card in the process of running, interim card optimization is carried out to the application program.
It is above-mentioned in order to realize the sensor utilization rate of analysis application program in yet another alternative embodiment of the invention
Step 202 can specifically include:By calling default sensor interface function acquisition applications program to access biography in the process of running
The sensor use information of sensor.Accordingly, step 203 can specifically include:The sensor use information is sent to institute
Cloud server is stated, to cause the cloud server to make according to the sensor of the sensor information statistics application program
With rate, and when the sensor utilization rate is more than or equal to default sensor utilization rate threshold value, the application program is entered
Line sensor Access Optimization.
In yet another alternative embodiment of the invention, in order to realize the electric quantity consumption of analysis application program, above-mentioned steps
202 can specifically include:By calling default information about power to determine what policy accounting application program was consumed in the process of running
Information about power.Accordingly, step 203 can specifically include:The information about power is sent to the cloud server, to cause
The electric quantity consumption that the cloud server counts the application program according to the information about power ranks list, and according to the electricity
Amount consumption seniority among brothers and sisters list, is optimized to the electric quantity consumption for being more than or presetting electric quantity consumption threshold value.
In yet another alternative embodiment of the invention, in order to realize the disk utilization rate of analysis application program, above-mentioned step
Rapid 202 can specifically include:Used in the process of running by calling default file directory interface function to monitor application program
Fileinfo.Accordingly, step 203 can specifically include:The fileinfo is sent to the cloud server, so that
The disk utilization rate that the cloud server counts the application program according to the fileinfo is obtained, and is used in the disk
When rate is more than or equal to default disk utilization rate threshold value, file access optimization is carried out to the application program.
In yet another alternative embodiment of the invention, in order to realize the CPU usage of analysis application program, above-mentioned steps
202 can specifically include:Call default CPU use informations interface function to obtain the CPU of application program in the process of running to use
Information.Accordingly, step 203 can specifically include:The CPU use informations are sent to the cloud server, to cause
The cloud server counts the CPU usage of the application program according to the CPU use informations, and is used in the CPU
When rate is more than or equal to default CPU usage threshold value, CPU is carried out to the application program and uses optimization.
It should be noted that to the correlation of the analysis of running performance of application program in embodiment involved by mobile terminal side
Description may be referred to the embodiment involved by cloud server side, and the present invention will not be described here.
The analysis of running performance method of another application program provided in an embodiment of the present invention, can apply to mobile terminal
Side, with present generally by application developer according to the performance test results that runnability test is carried out to application program, analyzing
The runnability of application program and being optimized to application program is compared, and the present invention is obtained by issuing parameter information to mobile terminal
Logic is taken, the parameter information of corresponding application program in the process of running can be gathered, and based on mobile terminal feedback
Parameter information, it is possible to achieve automatically analyze the runnability of application program and obtain analysis of running performance result, people can be saved
Power cost and time cost, so as to lift the analysis of running performance efficiency of application program.In addition, it is based on the performance evaluation
As a result it can realize and the runnability of application program is optimized automatically, it is excellent so as to lift the runnability of application program
Change efficiency.
Further, the specific implementation as Fig. 1, the embodiments of the invention provide a kind of cloud server, such as Fig. 3 institutes
Show, the cloud server includes:Transmitting element 31, analytic unit 32, optimization unit 33.
Transmitting element 31, it can be used for issuing parameter information acquisition logic to mobile terminal.Further, it is described to cause
Mobile terminal answers the parameter information of application program in the process of running accordingly according to the acquisition logic collection;Transmitting element 31
Curstomer-oriented end, it is the main functional modules for issuing parameter information acquisition logic in this cloud server to mobile terminal.
Analytic unit 32, it can be used for analyzing the parameter information of mobile terminal feedback, obtain the application
The analysis of running performance result of program;Analytic unit 32, it is that the parameter of mobile terminal feedback is believed in this cloud server
The main functional modules analyzed, and the corn module in this cloud server are ceased, is applied program in analysis
Runnability information after, can trigger optimization unit 33 be operated.
Optimize unit 33, can be used for the fortune to application program according to the results of performance analysis that the analytic unit 32 obtains
Row performance optimizes.
In specific application scenarios, start time-consuming information to analyze the Activity components of application program, described point
Unit 32 is analysed, the Activity components that specifically can be used for feeding back according to the mobile terminal, which start, takes information, described in statistics
The time-consuming seniority among brothers and sisters list of each Activity component lifecycles of application program, the Activity components, which start time-consuming information, is
Gathered according to the internal memory time-consuming information collecting interface function of dynamic proxy class survived in mobile terminal temporarily, or according to
Gathered by the time-consuming information collecting interface function for the dynamic proxy class changed towards tangential programming mode.
The optimization unit 33, specifically can be used for, according to the time-consuming seniority among brothers and sisters list, it is big taking information to life cycle
Time-consuming optimization is carried out in or equal to the Activity components of default time-consuming threshold value.
In specific application scenarios, in order to analyze the network access information of application program, the analytic unit 32, specifically
It can be used for the network access information fed back according to the mobile terminal, count the network access ranking list of the application program
Single, the network access information is to be cut into the recalls information of network access interface function towards tangential programming mode static state
Analyzed what is obtained.
It is described optimization unit 33, specifically can be used for according to the network access rank list, network traffics are more than or
The network access that person is equal to preset flow threshold value conducts interviews optimization.
In specific application scenarios, in order to analyze the memory usage information of application program, the analytic unit 32, specifically
It can be used for the memory occupation information fed back according to the mobile terminal, count the EMS memory occupation ranking list of the application program
Single, the memory occupation information is total thing of the memory usage information and the program process according to program process
Manage what amount of memory determined.
The optimization unit 33, it specifically can be used for being more than memory usage using seniority among brothers and sisters list according to the internal memory
Or carry out internal memory optimization equal to the process of default memory usage threshold value.
In specific application scenarios, in order to analyze the interim card situation information of application program, the analytic unit 32, specifically
It can be used for the frame per second information of present clock period fed back according to the mobile terminal, count the operation card of the application program
The situation of pausing, the frame per second information are when reading the callback information of display system drafting, to having been counted in predetermined measurement period
Frame per second information added up, and at the end of the predetermined measurement period, according to what is counted in the predetermined measurement period
What frame per second information determined.
The optimization unit 33, if specifically can be used for the application program has interim card in the process of running, to institute
State application program and carry out interim card optimization.
In specific application scenarios, in order to analyze the sensor use information of application program, the analytic unit 32, tool
Body can be used for the sensor use information fed back according to the mobile terminal, and the sensor for counting the application program uses
Rate, the sensor use information are by calling default sensor interface function to gather.
The optimization unit 33, make if specifically can be used for the sensor utilization rate and be more than or equal to default sensor
With rate threshold value, then sensor access optimization is carried out to the application program.
In specific application scenarios, in order to analyze the electric quantity consumption information of application program, the analytic unit 32, specifically
It can be used for the information about power fed back according to the mobile terminal, count the electric quantity consumption seniority among brothers and sisters list of the application program, institute
It is by calling default information about power to determine strategy collection to state information about power.
The optimization unit 33, specifically can be used for ranking list according to the electric quantity consumption, to being more than or presetting electricity
The electric quantity consumption of amount threshold value optimizes.
In specific application scenarios, in order to analyze the disk utilization rate of application program, the analytic unit 32, specifically may be used
For the fileinfo fed back according to the mobile terminal, the disk utilization rate of the application program, the file letter are counted
Breath is by calling default file directory interface function to monitor.
The optimization unit 33, if specifically can be used for the disk utilization rate is more than or equal to default disk utilization rate
Threshold value, then file access optimization is carried out to the application program.
In specific application scenarios, in order to analyze the CPU usage of application program, the analytic unit 32, specifically may be used
For the CPU use informations fed back according to the mobile terminal, the CPU usage of the application program is counted, the CPU makes
It is by calling default CPU use information interface functions to gather with information.
The optimization unit 33, if specifically can be used for the CPU usage is more than or equal to default CPU usage threshold
Value, then CPU is carried out to the application program and use optimization.
It should be noted that other phases of each functional unit involved by a kind of cloud server provided in an embodiment of the present invention
It should describe, may be referred to the corresponding description in Fig. 1, will not be repeated here.
Based on above-mentioned method as shown in Figure 1, accordingly, the embodiment of the present invention additionally provides a kind of computer-readable storage medium
Matter, computer program is stored thereon with, the program realizes following steps when being executed by processor:Parameter letter is issued to mobile terminal
Breath obtains logic, further, to cause the mobile terminal gathers corresponding application program according to the acquisition logic transporting
Parameter information during row;The parameter information of mobile terminal feedback is analyzed, obtains the fortune of the application program
Row results of performance analysis, and the runnability of application program is optimized according to the results of performance analysis.
Also provided based on above-mentioned method as shown in Figure 1 and the embodiment of cloud server as shown in Figure 3, the embodiment of the present invention
A kind of entity apparatus of server, as shown in figure 4, the device includes:Processor 41, memory 42 and it is stored in memory
On 42 and the computer program that can run on a processor, the processor 41 realize following steps when performing described program:To
Mobile terminal issues parameter information and obtains logic, to cause the mobile terminal according to the corresponding application of acquisition logic collection
The parameter information of program in the process of running;The parameter information of mobile terminal feedback is analyzed, obtains the application
The analysis of running performance result of program, and the dress is optimized to the runnability of application program according to the results of performance analysis
Putting also includes:Bus 43, it is configured as coupling processor 41 and memory 42.
Further, the specific implementation as Fig. 2 methods describeds, the embodiments of the invention provide a kind of mobile terminal, such as
Shown in Fig. 5, the mobile terminal includes:Receiving unit 51, collecting unit 52 and transmitting element 53.
The receiving unit 51, it can be used for receiving the parameter information acquisition logic that cloud server issues;The reception
Unit 51 is that the main functional modules that parameter information obtains logic are received in this mobile terminal.
The collecting unit 52, it can be used for gathering corresponding application program in the process of running according to the acquisition logic
Parameter information;The collecting unit 52 is that the parameter letter of corresponding application program in the process of running is gathered in this mobile terminal
The main functional modules of breath, and the corn module in this mobile terminal, run gathering corresponding application program
After parameter information in journey, transmitting element 53 can be triggered and be operated.
The transmitting element 53, it can be used for the parameter information being sent to the cloud server.
Further, to cause the cloud server to analyze the parameter information, the application program is obtained
Analysis of running performance result, and the runnability of application program is optimized according to the results of performance analysis.
In specific application scenarios, start time-consuming information to analyze the Activity components of application program, it is described to adopt
Collect unit 52, specifically can be used for the generation dynamic proxy class, and according to the dynamic proxy temporarily in the internal memory of mobile terminal
The time-consuming information collecting interface function collection Activity components of class start time-consuming information.
The collecting unit 52, it specifically can be used for the time-consuming letter by changing dynamic proxy class towards tangential programming mode
Collection interface function is ceased, and Activity components are gathered according to the time-consuming information collecting interface function of modification and start time-consuming information.
The transmitting element 53, it specifically can be used for the time-consuming information of the startup being sent to the cloud server.Enter
One step, to cause the cloud server to go out each Activity component lifecycles according to the time-consuming Information Statistics of the startup
Time-consuming information state, and information is taken to life cycle and is consumed more than or equal to the Activity components of default time-consuming threshold value
Shi Youhua.
In specific application scenarios, in order to analyze the network access information of application program, the collecting unit 52, specifically
It can be used for, to be cut into network access interface function towards tangential programming mode static state, obtaining the network access interface function
Recalls information;And the recalls information is analyzed, obtain the network access of corresponding application program in the process of running
Information.
The transmitting element 53, it specifically can be used for the network access information being sent to the cloud server.Enter
One step, to cause the cloud server to be ranked according to the network access of the network access information statistics application program
List, and entered according to network access of the network access ranking list single pair network traffics more than or equal to preset flow threshold value
Row Access Optimization.
In specific application scenarios, in order to analyze the memory usage of application program, the collecting unit 52, specifically may be used
For obtaining total physical memory number of the memory usage information of corresponding program process and the program process
Amount, and according to the memory usage information and total physical memory quantity, determine the EMS memory occupation of the program process
Information.
The transmitting element 53, it specifically can be used for the memory occupation information being sent to the cloud server.Enter
One step, to cause the cloud server to be ranked according to the EMS memory occupation of the memory occupation information statistics application program
List, and entering for default memory usage threshold value is more than or equal to using ranking list single pair memory usage according to the internal memory
Cheng Jinhang internal memory optimizations.
In specific application scenarios, in order to analyze the interim card situation of application program, the collecting unit 52 specifically can be with
For when reading the callback information of display system drafting, tiring out to the frame per second information counted in predetermined measurement period
Meter, and at the end of the predetermined measurement period, the frame per second information that will have been counted in the predetermined measurement period is defined as current
The frame per second information of clock cycle.
The transmitting element 53, it specifically can be used for the frame per second information being sent to the cloud server.Further
Ground, to cause the operation interim card situation of cloud server application program according to the frame per second Information Statistics, and in institute
When stating application program and interim card in the process of running be present, interim card optimization is carried out to the application program.
In specific application scenarios, in order to analyze the sensor use information of application program, the collecting unit 52, tool
Body can be used for the sensing by calling default sensor interface function acquisition applications program access sensors in the process of running
Device use information.
The transmitting element 53, it specifically can be used for the sensor use information being sent to the cloud server.
Further, to cause the cloud server counts according to the sensor information sensor of the application program to use
Rate, and when the sensor utilization rate is more than or equal to default sensor utilization rate threshold value, the application program is carried out
Sensor access optimizes.
In specific application scenarios, in order to analyze the electric quantity consumption situation of application program, the collecting unit 52, specifically
It can be used for by calling default information about power to determine the information about power that policy accounting application program is consumed in the process of running.
The transmitting element 53, it specifically can be used for the information about power being sent to the cloud server.Further
Ground, to cause the cloud server to rank list according to the electric quantity consumption of the information about power statistics application program, and
List is ranked according to the electric quantity consumption, the electric quantity consumption for being more than or presetting electric quantity consumption threshold value is optimized.
In specific application scenarios, in order to analyze the disk utilization rate of application program, the collecting unit 52, specifically may be used
For by calling default file directory interface function to monitor application program used fileinfo in the process of running.
The transmitting element 53, it specifically can be used for the fileinfo being sent to the cloud server.Further
Ground, to cause disk utilization rate of the cloud server according to the fileinfo statistics application program, and described
When disk utilization rate is more than or equal to default disk utilization rate threshold value, file access optimization is carried out to the application program.
In specific application scenarios, in order to analyze the CPU usage of application program, the collecting unit 52, specifically may be used
For calling default CPU use informations interface function to obtain the CPU use informations of application program in the process of running.
The transmitting element 53, it specifically can be used for the CPU use informations being sent to the cloud server.Enter one
Step ground, to cause the cloud server to count according to the CPU use informations CPU usage of the application program, and
When the CPU usage is more than or equal to default CPU usage threshold value, CPU is carried out to the application program and uses optimization.
It should be noted that other of each functional unit involved by a kind of mobile terminal provided in an embodiment of the present invention are corresponding
Description, the corresponding description in Fig. 2 is may be referred to, will not be repeated here.
Based on above-mentioned method as shown in Figure 2, accordingly, the embodiment of the present invention additionally provides a kind of computer-readable storage medium
Matter, computer program is stored thereon with, the program realizes following steps when being executed by processor:Receive what cloud server issued
Parameter information obtains logic;The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and
The parameter information is sent to the cloud server, to cause the cloud server to divide the parameter information
Analysis, obtains the analysis of running performance result of the application program, and according to operation of the results of performance analysis to application program
Performance optimizes.
Additionally provided based on above-mentioned method as shown in Figure 2 and the embodiment of mobile terminal as shown in Figure 5, the embodiment of the present invention
A kind of entity apparatus of mobile terminal, include as shown in fig. 6, the mobile terminal is standby:Processor 61, memory 62 and it is stored in
On memory 62 and the computer program that can run on a processor, the processor 61 realize following walk when performing described program
Suddenly:Receive the parameter information that cloud server issues and obtain logic;Corresponding application program is gathered according to the acquisition logic to exist
Parameter information in running, and the parameter information is sent to the cloud server, to cause the cloud service
Device is analyzed the parameter information, obtains the analysis of running performance result of the application program, and according to the performance point
Analysis result optimizes to the runnability of application program.The mobile terminal is standby also to be included:Bus 63, it is configured as coupling processing
Device 61 and memory 62.
Further, the embodiments of the invention provide a kind of analysis of running performance system of application program, as shown in fig. 7,
Including:Cloud server 71 and mobile terminal 72.
The cloud server 71, it can be used for issuing parameter information acquisition logic to mobile terminal 72.
The mobile terminal 72, it can be used for gathering corresponding application program in the process of running according to the acquisition logic
Parameter information.
The cloud server 72, it can be used for analyzing the parameter information of the mobile terminal 72 feedback, obtain
The analysis of running performance result of the application program, and the runnability of application program is carried out according to the results of performance analysis
Optimization.
By applying the technical scheme of the present invention, it is possible to achieve automatically analyze the runnability of application program and run
Results of performance analysis, human cost and time cost can be saved, so as to lift the analysis of running performance of application program effect
Rate.The runnability of application program is optimized automatically in addition, can be realized based on the results of performance analysis, so as to
Lift the runnability optimization efficiency of application program.
The embodiment of the present invention also provides following technical scheme:
A1, a kind of application program analysis of running performance method, applied to cloud server, including:
Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal according to the acquisition logic collection
The corresponding parameter information of application program in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance knot of the application program
Fruit, and the runnability of application program is optimized according to the results of performance analysis.
A2, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The Activity components fed back according to the mobile terminal start time-consuming information, count each of the application program
The time-consuming seniority among brothers and sisters list of Activity component lifecycles, the Activity groups start time-consuming information according in mobile terminal
The time-consuming information collecting interface function collection for the dynamic proxy class that internal memory is survived temporarily, or according to by being programmed towards tangential
The time-consuming information collecting interface function collection for the dynamic proxy class that mode is changed;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
According to the time-consuming seniority among brothers and sisters list, information is taken to life cycle and is more than or equal to default time-consuming threshold value
Activity components carry out time-consuming optimization.
A3, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The network access information fed back according to the mobile terminal, count the network access ranking list of the application program
Single, the network access information is to be cut into the recalls information of network access interface function towards tangential programming mode static state
Analyzed what is obtained;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
List is ranked according to the network access, network traffics are more than or equal to the network access of preset flow threshold value
Conduct interviews optimization.
A4, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The memory occupation information fed back according to the mobile terminal, count the EMS memory occupation ranking list of the application program
Single, the memory occupation information is total thing of the memory usage information and the program process according to program process
Manage what amount of memory determined;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
According to the internal memory using seniority among brothers and sisters list, default memory usage threshold value is more than or equal to memory usage
Process carries out internal memory optimization.
A5, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The frame per second information of the present clock period fed back according to the mobile terminal, count the operation card of the application program
The situation of pausing, the frame per second information are when reading the callback information of display system drafting, to having been counted in predetermined measurement period
Frame per second information added up, and at the end of the predetermined measurement period, according to what is counted in the predetermined measurement period
What frame per second information determined;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
If the application program has interim card in the process of running, interim card optimization is carried out to the application program.
A6, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The sensor use information fed back according to the mobile terminal, the sensor utilization rate of the application program is counted,
The sensor use information is by calling default sensor interface function to gather;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
If the sensor utilization rate is more than or equal to default sensor utilization rate threshold value, the application program is entered
Line sensor Access Optimization.
A7, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The information about power fed back according to the mobile terminal, count the electric quantity consumption seniority among brothers and sisters list of the application program, institute
It is by calling default information about power to determine strategy collection to state information about power;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
List is ranked according to the electric quantity consumption, the electric quantity consumption for being more than or presetting electric quantity consumption threshold value carried out excellent
Change.
A8, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The fileinfo fed back according to the mobile terminal, count the disk utilization rate of the application program, the file
Information is by calling default file directory interface function to monitor;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
If the disk utilization rate is more than or equal to default disk utilization rate threshold value, style of writing is entered to the application program
Part Access Optimization.
A9, the method as described in A1, the parameter information to mobile terminal feedback are analyzed, and are specifically included:
The CPU use informations fed back according to the mobile terminal, count the CPU usage of the application program, the CPU
Use information is by calling default CPU use information interface functions to gather;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
If the CPU usage is more than or equal to default CPU usage threshold value, CPU is carried out to the application program
Use optimization.
B10, a kind of application program analysis of running performance method, applied to mobile terminal, including:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter
Information is sent to the cloud server, to cause the cloud server to analyze the parameter information, obtains described
The analysis of running performance result of application program, and it is excellent according to runnability progress of the results of performance analysis to application program
Change.
B11, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
The generation dynamic proxy class, and being adopted according to the time-consuming information of the dynamic proxy class temporarily in the internal memory of mobile terminal
Collect interface function collection Activity components and start time-consuming information.
B12, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
By changing the time-consuming information collecting interface function of dynamic proxy class towards tangential programming mode, and according to modification
Time-consuming information collecting interface function collection Activity components start time-consuming information.
B13, the method as described in B11 or B12, it is described that the parameter information is sent to the cloud server, so that
Obtain the cloud server to analyze the parameter information, obtain the analysis of running performance result of the application program, have
Body includes:
The time-consuming information of the startup is sent to the cloud server, to cause the cloud server to be opened according to
Dynamic time-consuming Information Statistics go out each Activity component lifecycles and take information state, and take information to life cycle and be more than
Or carry out time-consuming optimization equal to the Activity components of default time-consuming threshold value.
B14, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
To be cut into network access interface function towards tangential programming mode static state, the network access interface function is obtained
Recalls information;
The recalls information is analyzed, obtains the network access information of corresponding application program in the process of running;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The network access information is sent to the cloud server, to cause the cloud server according to the net
Network access information counts the network access seniority among brothers and sisters list of the application program, and according to the network access ranking list single pair network
The network access that flow is more than or equal to preset flow threshold value conducts interviews optimization.
B15, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
Obtain the memory usage information of corresponding program process and total physical memory of the program process
Quantity;
According to the memory usage information and total physical memory quantity, determine that the internal memory of the program process accounts for
Use information;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The memory occupation information is sent to the cloud server, to cause the cloud server according to described interior
Deposit occupied information and count the EMS memory occupation seniority among brothers and sisters list of the application program, and ranking list single pair internal memory is used according to the internal memory
The process that occupancy is more than or equal to default memory usage threshold value carries out internal memory optimization.
B16, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
When reading the callback information of display system drafting, the frame per second information counted in predetermined measurement period is carried out
Frame per second information that is accumulative, and at the end of the predetermined measurement period, will having been counted in the predetermined measurement period, is defined as working as
The frame per second information of preceding clock cycle;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The frame per second information is sent to the cloud server, to cause the cloud server to believe according to the frame per second
Breath counts the operation interim card situation of the application program, and when the application program has interim card in the process of running, to institute
State application program and carry out interim card optimization.
B17, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
By the sensor for calling default sensor interface function acquisition applications program access sensors in the process of running
Use information;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The sensor use information is sent to the cloud server, to cause the cloud server according to
Sensor information counts the sensor utilization rate of the application program, and is more than or equal in the sensor utilization rate and presets
During sensor utilization rate threshold value, sensor access optimization is carried out to the application program.
B18, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
By calling default information about power to determine the information about power that policy accounting application program is consumed in the process of running;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The information about power is sent to the cloud server, to cause the cloud server to believe according to the electricity
Breath counts the electric quantity consumption seniority among brothers and sisters list of the application program, and ranks list according to the electric quantity consumption, to being more than or in advance
If the electric quantity consumption of electric quantity consumption threshold value optimizes.
B19, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information, specifically include:
By calling default file directory interface function to monitor application program used fileinfo in the process of running;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The fileinfo is sent to the cloud server, to cause the cloud server to believe according to the file
Breath counts the disk utilization rate of the application program, and is more than or equal to default disk utilization rate threshold in the disk utilization rate
During value, file access optimization is carried out to the application program.
B20, the method as described in B10, it is described that corresponding application program is gathered in running according to the acquisition logic
In parameter information include:
Default CPU use informations interface function is called to obtain the CPU use informations of application program in the process of running;
It is described that the parameter information is sent to the cloud server, to cause the cloud server to the parameter
Information is analyzed, and is obtained the analysis of running performance result of the application program, is specifically included:
The CPU use informations are sent to the cloud server, to cause the cloud server according to the CPU
Use information counts the CPU usage of the application program, and is more than or equal to default CPU in the CPU usage and uses
During rate threshold value, CPU is carried out to the application program and uses optimization.
C21, a kind of cloud server, including:
Transmitting element, logic is obtained for issuing parameter information to mobile terminal, to cause the mobile terminal according to institute
State acquisition logic collection and answer the parameter information of application program in the process of running accordingly;
Analytic unit, the parameter information for being fed back to the mobile terminal are analyzed, and obtain the application program
Analysis of running performance result;
Optimize unit, for entering according to the results of performance analysis that the analytic unit obtains to the runnability of application program
Row optimization.
C22, the cloud server as described in C21,
The analytic unit, start time-consuming information specifically for the Activity components fed back according to the mobile terminal,
The time-consuming seniority among brothers and sisters list of each Activity component lifecycles of the application program is counted, the Activity components start consumption
When information be to be gathered according to the time-consuming information collecting interface function of dynamic proxy class survived of internal memory in mobile terminal temporarily,
Or gathered according to the time-consuming information collecting interface function of the dynamic proxy class by being changed towards tangential programming mode;
The optimization unit, specifically for according to the time-consuming seniority among brothers and sisters list, life cycle is taken information be more than or
Activity components equal to default time-consuming threshold value carry out time-consuming optimization.
C23, the cloud server as described in C21,
The analytic unit, specifically for the network access information fed back according to the mobile terminal, count the application
The network access seniority among brothers and sisters list of program, the network access information are to being visited with being cut into network towards tangential programming mode static state
Ask that the recalls information of interface function is analyzed what is obtained;
The optimization unit, specifically for ranking list according to the network access, network traffics are more than or equal to
The network access of preset flow threshold value conducts interviews optimization.
C24, the cloud server as described in C21,
The analytic unit, specifically for the memory occupation information fed back according to the mobile terminal, count the application
The EMS memory occupation seniority among brothers and sisters list of program, the memory occupation information is the memory usage information and institute according to program process
State total physical memory quantity determination of program process;
The optimization unit, specifically for, using seniority among brothers and sisters list, being more than to memory usage or waiting according to the internal memory
Internal memory optimization is carried out in the process of default memory usage threshold value.
C25, the cloud server as described in C21,
The analytic unit, specifically for the frame per second information of the present clock period fed back according to the mobile terminal, system
Count the operation interim card situation of the application program, the frame per second information be when reading the callback information of display system drafting,
The frame per second information counted in predetermined measurement period is added up, and at the end of the predetermined measurement period, according to described
What the frame per second information counted in predetermined measurement period determined;
The optimization unit, if interim card in the process of running be present specifically for the application program, to the application
Program carries out interim card optimization.
C26, the cloud server as described in C21,
The analytic unit, specifically for the sensor use information fed back according to the mobile terminal, statistics is described should
With the sensor utilization rate of program, the sensor use information is by calling default sensor interface function to gather;
The optimization unit, if being more than or equal to default sensor utilization rate threshold specifically for the sensor utilization rate
Value, then sensor access optimization is carried out to the application program.
C27, the cloud server as described in C21,
The analytic unit, specifically for the information about power fed back according to the mobile terminal, count the application program
Electric quantity consumption seniority among brothers and sisters list, the information about power is by calling default information about power to determine strategy collection;
The optimization unit, specifically for ranking list according to the electric quantity consumption, to being more than or presetting electric quantity consumption
The electric quantity consumption of threshold value optimizes.
C28, the cloud server as described in C21,
The analytic unit, specifically for the fileinfo fed back according to the mobile terminal, count the application program
Disk utilization rate, the fileinfo is by calling default file directory interface function to monitor;
The optimization unit, if being more than or equal to default disk utilization rate threshold value specifically for the disk utilization rate,
File access optimization then is carried out to the application program.
C29, the cloud server as described in C21,
The analytic unit, specifically for the CPU use informations fed back according to the mobile terminal, statistics is described to apply journey
The CPU usage of sequence, the CPU use informations are by calling default CPU use information interface functions to gather;
The optimization unit, if being more than or equal to default CPU usage threshold value specifically for the CPU usage,
CPU is carried out to the application program and uses optimization.
D30, a kind of mobile terminal, including:
Receiving unit, logic is obtained for receiving the parameter information that cloud server issues;
Collecting unit, believe for gathering the parameter of corresponding application program in the process of running according to the acquisition logic
Breath;
Transmitting element, for the parameter information to be sent into the cloud server, to cause the cloud server
The parameter information is analyzed, obtains the analysis of running performance result of the application program, and according to the performance evaluation
As a result the runnability of application program is optimized.
D31, the mobile terminal as described in D30,
The collecting unit, specifically for the generation dynamic proxy class, and according to described temporarily in the internal memory of mobile terminal
The time-consuming information collecting interface function collection Activity components of dynamic proxy class start time-consuming information.
D32, the mobile terminal as described in D30,
The collecting unit, specifically for the time-consuming information gathering by changing dynamic proxy class towards tangential programming mode
Interface function, and Activity components are gathered according to the time-consuming information collecting interface function of modification and start time-consuming information.
D33, the mobile terminal as described in D30,
The transmitting element, specifically for the time-consuming information of the startup is sent into the cloud server, to cause
State cloud server and go out the time-consuming information state of each Activity component lifecycles according to the time-consuming Information Statistics of the startup, and
The Activity components that information is taken to life cycle more than or equal to default time-consuming threshold value carry out time-consuming optimization.
D34, the mobile terminal as described in D30,
The collecting unit, specifically for be cut into network access interface function towards tangential programming mode static state, obtaining
Take the recalls information of the network access interface function;And the recalls information is analyzed, obtain corresponding application program
Network access information in the process of running;
The transmitting element, specifically for the network access information is sent into the cloud server, to cause
The network access seniority among brothers and sisters list that cloud server counts the application program according to the network access information is stated, and according to described
The network access that network access ranking list single pair network traffics are more than or equal to preset flow threshold value conducts interviews optimization.
D35, the mobile terminal as described in D30,
The collecting unit, specifically for the memory usage information for obtaining corresponding program process and the application
Total physical memory quantity of program process, and according to the memory usage information and total physical memory quantity, it is determined that described
The memory occupation information of program process;
The transmitting element, specifically for the memory occupation information is sent into the cloud server, to cause
The EMS memory occupation seniority among brothers and sisters list that cloud server counts the application program according to the memory occupation information is stated, and according to described
The process that internal memory is more than or equal to default memory usage threshold value using ranking list single pair memory usage carries out internal memory optimization.
D36, the mobile terminal as described in D30,
The collecting unit, specifically for read display system drafting callback information when, to predetermined measurement period
The frame per second information inside counted is added up, and at the end of the predetermined measurement period, by the predetermined measurement period
The frame per second information of statistics, it is defined as the frame per second information of present clock period;
The transmitting element, specifically for the frame per second information is sent into the cloud server, to cause the cloud
The operation interim card situation of server application program according to the frame per second Information Statistics is held, and is being run in the application program
During when interim card be present, interim card optimization is carried out to the application program.
D37, the mobile terminal as described in D30,
The collecting unit, specifically for by calling default sensor interface function acquisition applications program in running
The sensor use information of middle access sensors;
The transmitting element, specifically for the sensor use information is sent into the cloud server, to cause
The cloud server counts the sensor utilization rate of the application program according to the sensor information, and in the sensor
When utilization rate is more than or equal to default sensor utilization rate threshold value, sensor access optimization is carried out to the application program.
D38, the mobile terminal as described in D30,
The collecting unit, specifically for by calling default information about power to determine that policy accounting application program was being run
The information about power consumed in journey;
The transmitting element, specifically for the information about power is sent into the cloud server, to cause the cloud
Hold server to count the electric quantity consumption of the application program according to the information about power and rank list, and according to the electric quantity consumption
List is ranked, the electric quantity consumption for being more than or presetting electric quantity consumption threshold value is optimized.
D39, the mobile terminal as described in D30,
The collecting unit, specifically for being run by calling default file directory interface function to monitor application program
Fileinfo used in journey;
The transmitting element, specifically for the fileinfo is sent into the cloud server, to cause the cloud
Hold server to count the disk utilization rate of the application program according to the fileinfo, and be more than in the disk utilization rate or
When person is equal to default disk utilization rate threshold value, file access optimization is carried out to the application program.
D40, the mobile terminal as described in D30,
The collecting unit, run specifically for calling default CPU use informations interface function to obtain application program
CPU use informations in journey;
The transmitting element, it is described to cause specifically for the CPU use informations are sent into the cloud server
Cloud server counts the CPU usage of the application program according to the CPU use informations, and big in the CPU usage
When default CPU usage threshold value, CPU is carried out to the application program and uses optimization.
E41, a kind of application program analysis of running performance system, including the cloud server as described in any one of 21-29
With the mobile terminal as described in any one of 30-40.
F42, a kind of computer-readable recording medium, are stored thereon with computer program, when the program is executed by processor
Realize following steps:
Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal according to the acquisition logic collection
The corresponding parameter information of application program in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance knot of the application program
Fruit, and the runnability of application program is optimized according to the results of performance analysis.
G43, a kind of cloud server, including memory, processor and storage can transport on a memory and on a processor
Capable computer program, following steps are realized during the computing device described program:
Parameter information is issued to mobile terminal and obtains logic, to cause the mobile terminal according to the acquisition logic collection
The corresponding parameter information of application program in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance knot of the application program
Fruit, and the runnability of application program is optimized according to the results of performance analysis.
H44, a kind of computer-readable recording medium, are stored thereon with computer program, when the program is executed by processor
Realize following steps:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter
Information is sent to the cloud server, to cause the cloud server to analyze the parameter information, obtains described
The analysis of running performance result of application program, and it is excellent according to runnability progress of the results of performance analysis to application program
Change.
L45, a kind of mobile terminal, including memory, processor and storage can be run on a memory and on a processor
Computer program, realize following steps during the computing device described program:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter
Information is sent to the cloud server, to cause the cloud server to analyze the parameter information, obtains described
The analysis of running performance result of application program, and it is excellent according to runnability progress of the results of performance analysis to application program
Change.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be to be used to distinguish each embodiment, and do not represent the quality of each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize the analysis of running performance of application program according to embodiments of the present invention
The some or all functions of some or all parts in apparatus and system.The present invention is also implemented as being used to perform this
In described method some or all equipment or program of device (for example, computer program and computer program
Product).Such program for realizing the present invention can store on a computer-readable medium, either can be with one or more
The form of individual signal.Such signal can be downloaded from internet website and obtained, either provide on carrier signal or with
Any other form provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Claims (10)
1. a kind of analysis of running performance method of application program, it is characterised in that applied to cloud server, including:
Parameter information is issued to mobile terminal and obtains logic, make it that the mobile terminal is corresponding according to the acquisition logic collection
Application program parameter information in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance result of the application program,
And the runnability of application program is optimized according to the results of performance analysis.
2. according to the method for claim 1, it is characterised in that the parameter information to mobile terminal feedback is carried out
Analysis, is specifically included:
The Activity components fed back according to the mobile terminal start time-consuming information, count each of the application program
The time-consuming seniority among brothers and sisters list of Activity component lifecycles, the Activity groups start time-consuming information according in mobile terminal
The time-consuming information collecting interface function collection for the dynamic proxy class that internal memory is survived temporarily, or according to by being programmed towards tangential
The time-consuming information collecting interface function collection for the dynamic proxy class that mode is changed;
It is described that the runnability of application program is optimized according to the results of performance analysis, specifically include:
According to the time-consuming seniority among brothers and sisters list, the Activity that information is more than or equal to default time-consuming threshold value is taken to life cycle
Component carries out time-consuming optimization.
A kind of 3. application program analysis of running performance method, it is characterised in that applied to mobile terminal, including:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter information
The cloud server is sent to, to cause the cloud server to analyze the parameter information, obtains the application
The analysis of running performance result of program, and the runnability of application program is optimized according to the results of performance analysis.
A kind of 4. cloud server, it is characterised in that including:
Transmitting element, logic is obtained for issuing parameter information to mobile terminal, to cause the mobile terminal to be obtained according to
Logic collection is taken to answer the parameter information of application program in the process of running accordingly;
Analytic unit, the parameter information for being fed back to the mobile terminal are analyzed, and obtain the operation of the application program
Results of performance analysis;
Optimize unit, it is excellent for being carried out according to the results of performance analysis that the analytic unit obtains to the runnability of application program
Change.
A kind of 5. mobile terminal, it is characterised in that including:
Receiving unit, logic is obtained for receiving the parameter information that cloud server issues;
Collecting unit, for gathering the parameter information of corresponding application program in the process of running according to the acquisition logic;
Transmitting element, for the parameter information to be sent into the cloud server, to cause the cloud server to institute
State parameter information to be analyzed, obtain the analysis of running performance result of the application program, and according to the results of performance analysis
The runnability of application program is optimized.
6. the analysis of running performance system of a kind of application program, it is characterised in that including the cloud server described in claim 4
With the mobile terminal described in claim 5.
7. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor
Following steps are realized during row:
Parameter information is issued to mobile terminal and obtains logic, make it that the mobile terminal is corresponding according to the acquisition logic collection
Application program parameter information in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance result of the application program,
And the runnability of application program is optimized according to the results of performance analysis.
8. a kind of cloud server, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that realize following steps during the computing device described program:
Parameter information is issued to mobile terminal and obtains logic, make it that the mobile terminal is corresponding according to the acquisition logic collection
Application program parameter information in the process of running;
The parameter information of mobile terminal feedback is analyzed, obtains the analysis of running performance result of the application program,
And the runnability of application program is optimized according to the results of performance analysis.
9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor
Following steps are realized during row:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter information
The cloud server is sent to, to cause the cloud server to analyze the parameter information, obtains the application
The analysis of running performance result of program, and the runnability of application program is optimized according to the results of performance analysis.
10. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, it is characterised in that realize following steps during the computing device described program:
Receive the parameter information that cloud server issues and obtain logic;
The parameter information of corresponding application program in the process of running is gathered according to the acquisition logic, and by the parameter information
The cloud server is sent to, to cause the cloud server to analyze the parameter information, obtains the application
The analysis of running performance result of program, and the runnability of application program is optimized according to the results of performance analysis.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710647838.3A CN107436840A (en) | 2017-08-01 | 2017-08-01 | Application program analysis of running performance method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710647838.3A CN107436840A (en) | 2017-08-01 | 2017-08-01 | Application program analysis of running performance method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107436840A true CN107436840A (en) | 2017-12-05 |
Family
ID=60460346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710647838.3A Pending CN107436840A (en) | 2017-08-01 | 2017-08-01 | Application program analysis of running performance method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436840A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108132885A (en) * | 2018-01-02 | 2018-06-08 | 北京奇虎科技有限公司 | Data capture method, device and electronic equipment |
CN108337127A (en) * | 2017-12-21 | 2018-07-27 | 中国平安人寿保险股份有限公司 | application performance monitoring method, system, terminal and computer readable storage medium |
CN108427582A (en) * | 2018-03-09 | 2018-08-21 | 北京小米移动软件有限公司 | Interim card state determines method, apparatus and computer readable storage medium |
CN108512695A (en) * | 2018-03-12 | 2018-09-07 | 腾讯音乐娱乐科技(深圳)有限公司 | The method and device of interim card is applied in monitoring |
CN108519923A (en) * | 2018-03-01 | 2018-09-11 | 北京三快在线科技有限公司 | A kind of interim card detection method and device and electronic equipment |
CN108536524A (en) * | 2018-03-13 | 2018-09-14 | Oppo广东移动通信有限公司 | Resource regeneration method, device, terminal and storage medium |
CN108710464A (en) * | 2018-06-04 | 2018-10-26 | Oppo(重庆)智能科技有限公司 | Mobile terminal, control method and its storage medium |
CN108874646A (en) * | 2018-06-13 | 2018-11-23 | 北京趣拿软件科技有限公司 | The method and apparatus for analyzing data |
CN109189664A (en) * | 2018-07-24 | 2019-01-11 | 网宿科技股份有限公司 | The information collecting method and terminal of application program |
CN109714476A (en) * | 2018-12-19 | 2019-05-03 | 惠州Tcl移动通信有限公司 | Data processing method, device, mobile terminal and storage medium |
CN109992468A (en) * | 2017-12-29 | 2019-07-09 | 中国移动通信集团黑龙江有限公司 | A kind of process performance analysis method, device, system and computer storage medium |
CN112148559A (en) * | 2020-09-16 | 2020-12-29 | 上海中通吉网络技术有限公司 | Mobile APP power consumption test method, device and system, acquisition end and test end |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732285A (en) * | 2013-12-19 | 2015-06-24 | 中兴通讯股份有限公司 | Performance optimizing strategy obtaining and terminal performance optimizing method, server and terminal |
CN105653456A (en) * | 2015-12-31 | 2016-06-08 | 网易(杭州)网络有限公司 | Application program performance testing method, device and system |
CN106796642A (en) * | 2016-12-22 | 2017-05-31 | 深圳前海达闼云端智能科技有限公司 | Device detection method and system, electronic device, cloud robot system and computer program product |
-
2017
- 2017-08-01 CN CN201710647838.3A patent/CN107436840A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732285A (en) * | 2013-12-19 | 2015-06-24 | 中兴通讯股份有限公司 | Performance optimizing strategy obtaining and terminal performance optimizing method, server and terminal |
CN105653456A (en) * | 2015-12-31 | 2016-06-08 | 网易(杭州)网络有限公司 | Application program performance testing method, device and system |
CN106796642A (en) * | 2016-12-22 | 2017-05-31 | 深圳前海达闼云端智能科技有限公司 | Device detection method and system, electronic device, cloud robot system and computer program product |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108337127A (en) * | 2017-12-21 | 2018-07-27 | 中国平安人寿保险股份有限公司 | application performance monitoring method, system, terminal and computer readable storage medium |
CN109992468A (en) * | 2017-12-29 | 2019-07-09 | 中国移动通信集团黑龙江有限公司 | A kind of process performance analysis method, device, system and computer storage medium |
CN109992468B (en) * | 2017-12-29 | 2023-09-19 | 中国移动通信集团黑龙江有限公司 | Process performance analysis method, device and system and computer storage medium |
CN108132885A (en) * | 2018-01-02 | 2018-06-08 | 北京奇虎科技有限公司 | Data capture method, device and electronic equipment |
CN108519923A (en) * | 2018-03-01 | 2018-09-11 | 北京三快在线科技有限公司 | A kind of interim card detection method and device and electronic equipment |
CN108427582A (en) * | 2018-03-09 | 2018-08-21 | 北京小米移动软件有限公司 | Interim card state determines method, apparatus and computer readable storage medium |
CN108427582B (en) * | 2018-03-09 | 2022-02-08 | 北京小米移动软件有限公司 | Method and device for determining stuck state and computer readable storage medium |
CN108512695A (en) * | 2018-03-12 | 2018-09-07 | 腾讯音乐娱乐科技(深圳)有限公司 | The method and device of interim card is applied in monitoring |
CN108512695B (en) * | 2018-03-12 | 2021-06-01 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and device for monitoring application blockage |
CN108647051A (en) * | 2018-03-13 | 2018-10-12 | 广东欧珀移动通信有限公司 | Optimisation strategy acquisition methods, providing method, device and equipment |
CN108536524A (en) * | 2018-03-13 | 2018-09-14 | Oppo广东移动通信有限公司 | Resource regeneration method, device, terminal and storage medium |
CN108647051B (en) * | 2018-03-13 | 2021-03-09 | Oppo广东移动通信有限公司 | Optimization strategy obtaining method, providing method, device and equipment |
CN108710464A (en) * | 2018-06-04 | 2018-10-26 | Oppo(重庆)智能科技有限公司 | Mobile terminal, control method and its storage medium |
CN108874646A (en) * | 2018-06-13 | 2018-11-23 | 北京趣拿软件科技有限公司 | The method and apparatus for analyzing data |
CN109189664A (en) * | 2018-07-24 | 2019-01-11 | 网宿科技股份有限公司 | The information collecting method and terminal of application program |
CN109714476B (en) * | 2018-12-19 | 2021-05-07 | 惠州Tcl移动通信有限公司 | Data processing method and device, mobile terminal and storage medium |
CN109714476A (en) * | 2018-12-19 | 2019-05-03 | 惠州Tcl移动通信有限公司 | Data processing method, device, mobile terminal and storage medium |
CN112148559A (en) * | 2020-09-16 | 2020-12-29 | 上海中通吉网络技术有限公司 | Mobile APP power consumption test method, device and system, acquisition end and test end |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107436840A (en) | Application program analysis of running performance method, apparatus and system | |
CN108259553B (en) | Service mail sending method and terminal equipment | |
CN108363602B (en) | Intelligent UI (user interface) layout method and device, terminal equipment and storage medium | |
CN106067080B (en) | Configurable workflow capabilities are provided | |
CN112214260B (en) | Method and device for loading APP (application) of terminal | |
CN103763361B (en) | A kind of method, system and recommendation server for recommending application based on user behavior | |
US20080005271A1 (en) | Data logging for resident applications within portable electronic devices | |
CN103959317B (en) | Customizable for trusteeship service image is uniformly controlled | |
CN108366096A (en) | A kind of information subscribing method, terminal and computer readable storage medium | |
CN107958028A (en) | Method, apparatus, storage medium and the terminal of data acquisition | |
CN108459962A (en) | Code specification detection method, device, terminal device and storage medium | |
CN103716691B (en) | A kind of video capture method and device | |
CN104765689B (en) | A kind of interface capability data supervise method and apparatus in real time | |
CN104572922A (en) | Image processing method and device based on mobile equipment | |
CN111324427A (en) | Task scheduling method and device based on DSP | |
CN110837417A (en) | Recommendation method and device for cloud system resource set and computing device cluster | |
CN104077224A (en) | Software function analyzing system and method | |
CN103067479A (en) | Network disk synchronized method and system based on file coldness and hotness | |
CN103414693A (en) | Dotting method and dotting device | |
CN109685545A (en) | Virtual network resource predictor method, device and electronic equipment to be provided | |
CN109598526A (en) | The analysis method and device of media contribution | |
CN105204981A (en) | Application performance test method and device | |
CN108011764A (en) | A kind of method for predicting more cloud platform storage resource increments | |
CN110209798A (en) | A kind of method for exhibiting data and device of redis database | |
CN107220160B (en) | Method and device for determining electric quantity consumption of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171205 |