CN103810093A - Application detection method and device - Google Patents

Application detection method and device Download PDF

Info

Publication number
CN103810093A
CN103810093A CN201210454241.4A CN201210454241A CN103810093A CN 103810093 A CN103810093 A CN 103810093A CN 201210454241 A CN201210454241 A CN 201210454241A CN 103810093 A CN103810093 A CN 103810093A
Authority
CN
China
Prior art keywords
application program
operation information
application
running quality
health value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210454241.4A
Other languages
Chinese (zh)
Inventor
魏民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210454241.4A priority Critical patent/CN103810093A/en
Publication of CN103810093A publication Critical patent/CN103810093A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an application detection method and an application detection device, wherein the method comprises the steps that a first instruction is received, and the first instruction is used for acquiring operation information; the first instruction is responded, and the operation information of each application in target time period is acquired; an operation quality parameter corresponding to each application is determined according to the operation information; the health value of each application is calculated according to the operation quality parameter corresponding to the operation information of each application, and the health value is correspondingly displayed in the preset range of the position of each application in the display interface of electronic equipment. Through the application detection method and the application detection device provided by the embodiment, the operation quality of each application can be effectively obtained, and the detection accuracy is improved.

Description

Application program detection method and device
Technical field
The application relates to electronic technology field, relates in particular a kind of application program detection method and device.
Background technology
Along with the development of electronic technology and the communication technology; a lot of electronic equipments all have the operating system of oneself; thereby can move various application programs; take mobile phone as example; except basic dial-up program, transmitting-receiving note program, web browser etc.; existing mobile phone can also be installed according to different demands other application program conventionally voluntarily by user, such as instant messaging program, plotter program and various games etc.Therefore the running quality quality of application program, has directly affected user's experience.The common hope of user can be known the running quality of application program, can make better selection.
In prior art, user, in the time selecting application program, conventionally just experiences and experiences the quality of determining application program according to the history of self, because user's subjective judgement error is larger, the quality of application program can not be accurately determined, thereby the service condition of application program will be affected.
Summary of the invention
In view of this, the application provides a kind of application program detection method and device, in order to solve the technical matters that can not effectively know application program running quality in prior art.
For achieving the above object, the application provides following technical scheme:
The application's one side provides a kind of application program detection method, is applied in electronic equipment, and described electronic equipment is provided with multiple application programs, and described method comprises:
Receive the first instruction, described the first instruction is used to indicate obtains operation information;
Respond described the first instruction, obtain the operation information of each application program in object time section;
According to described operation information, determine running quality parameter corresponding to each application program difference;
According to the corresponding running quality parameter of each application program, calculate the health value of each application program;
The described health value of corresponding demonstration in the preset range of each application icon position in the display interface of described electronic equipment.
Preferably, described operation information comprises operation exception information, response abnormality information, power consumption information and/or use traffic information;
Described operation information comprises when multiple, according to described operation information, described determine each application program respectively corresponding running quality parameter comprise:
For different operation informations, determine respectively under same operation information the running quality parameter that each application program is corresponding.
Preferably, described operation information comprises that when multiple, the corresponding running quality parameter of the described operation information according to each application program, before calculating the health value of each application program, also comprises:
Obtain the accumulative total service time of each application program in object time section.
Preferably, the corresponding running quality parameter of the described operation information according to each application program, the health value that calculates each application program comprises:
Different operation informations according to each application program are distinguished corresponding different running quality parameters, and the accumulative total service time of described each application program, calculate the health value of each application program.
Preferably, according to the different running quality parameters corresponding to different operation informations difference of each application program, and the accumulative total service time of described each application program, the health value that calculates each application program comprises:
Calculate quality and the value of the corresponding different running quality parameters of different operation informations of each application program;
Calculate quality corresponding to each application program and value and the corresponding accumulative total ratio of service time;
Health value using described ratio as each application program.
The application provides a kind of application program pick-up unit on the other hand, is applied in electronic equipment, and described electronic equipment has multiple application programs, and described device comprises:
The first receiver module, for receiving the first instruction, described the first instruction is used to indicate obtains operation information;
The first acquisition module, for responding described the first instruction, obtains the operation information of each application program in object time section;
The second acquisition module, for according to described operation information, determines running quality parameter corresponding to each application program difference;
Computing module, for according to the corresponding running quality parameter of each application program, calculates the health value of each application program;
Display module, for the described health value of corresponding demonstration in the preset range of each application icon position of described electronic equipment display interface.
Preferably, described operation information comprises operation exception information, response abnormality information, power consumption information and/or use traffic information;
Described operation information comprises when multiple, and described the first acquisition module, specifically for for different operation informations, is determined respectively under same operation information the running quality parameter that each application program is corresponding.
Preferably, described operation information comprises that when multiple, described device also comprises:
The 3rd acquisition module, for obtaining the accumulative total service time of each application program in object time section.
Preferably, described computing module is specifically for different running quality parameters corresponding to different operation informations difference according to each application program, and the accumulative total service time of described each application program, calculates the health value of each application program.
Preferably, described computing module comprises:
The first computing module, for calculating quality and the value of the corresponding different running quality parameters of different operation informations of each application program;
The second computing module, for calculating quality corresponding to each application program and value and the corresponding accumulative total ratio of service time;
The 3rd computing module, for the health value using described ratio as each application program
Known via above-mentioned technical scheme, compared with prior art, the application provides a kind of application program detection method and device, by obtaining the different operation informations of each distinct program, according to each operation information, determine running quality parameter corresponding to each application program, thereby each application program all has the different running quality parameters of corresponding different operation informations, then according to the different running quality parameters of each application program, calculate the health value of this application program, and this health value is outputed in the preset range of display interface position, application icon place, thereby user is in the time carrying out application program selection, can intuitively determine accurately the quality of selected application program, without user's subjective assessment, make it possible to effectively obtain the running quality of application program, improve the accuracy in detection of application program.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only the application's embodiment, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the process flow diagram of a kind of application program detection method of the application embodiment 1;
Fig. 2 is the process flow diagram of a kind of application program detection method of the application embodiment 2;
Fig. 3 is the structural representation of a kind of application program pick-up unit of the application embodiment 1;
Fig. 4 is the structural representation of a kind of application program pick-up unit of the application embodiment 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
One of main thought of the application can comprise: by receiving and respond the first instruction, obtain the different operation informations in object time section of each application program, and for each operation information, calculate running quality parameter corresponding to each application program difference, the last corresponding different running quality parameters of different operation informations according to each application program, can calculate the health value of each application program, and this health value is outputed in the preset range of display interface position, application icon place, this health value can represent the running quality quality of application program, therefore without user's subjective assessment, make it possible to effectively obtain the running quality of application program, the accuracy that provides application program to detect.
With reference to figure 1, show the process flow diagram of a kind of application program detection method of the application embodiment 1, scheme is specifically applied in electronic equipment described in the embodiment of the present application, and this electronic equipment is provided with multiple application programs, application program can be moved startup in electronic equipment, and described method can comprise:
Step 101: receive the first instruction, described the first instruction is used to indicate obtains operation information.
Step 102: respond described the first instruction, obtain the operation information of each application program in object time section.
Wherein, described the first instruction can refer to what described electronic equipment generated, is used to indicate the instruction of obtaining operation information, therefore responds this first instruction, can obtain the operation information of each application program in object time section.
Set each application program of electronic equipment is in operational process, all can produce operation information, described operation information can comprise operation exception information: the information for example, producing when application program extremely exits in operational process, can refer to the number of times extremely exiting; Response abnormality information: for example application program is in the time starting, and the information generating can not normally start time, can refer to response abnormality number of times; Power consumption information: refer to the battery electric quantity that application program consumes; Use traffic information: refer to can Wireless Networking the network traffic data that consumes of application program.
Certainly, described operation information has more than and limits above-mentioned several situations, and described operation information can only include one, or can comprise above-mentioned two or more operation information arbitrarily.
Due to application program access times and service time uncertain, therefore described operation information refers to the operation information in object time section.This object time section can refer to a certain special time period of setting, or the one-period time period, for example this time period of 18:00 ~ 22:00,, receiving after the first instruction, only obtains the operation information in this time period.
Described the first instruction can generate once in real time or every the some cycles time.
Wherein, when described electronic equipment is while having the equipment of operating system, can be by the operation information of registration fault diagnosis model real-time statistics application program.Therefore in the time of the operation information obtaining in object time section, can directly look for different working procedures canned data.
Certainly, can be also to receive after the first instruction, arrive the operation information of object time Duan Houzai acquisition applications program.
Step 103: according to described operation information, determine running quality parameter corresponding to each application program difference.
The same operation information corresponding according to different application, can calculate the running quality parameter of the corresponding different application of this operation information.
When operation information comprises when multiple, determined each application program respectively corresponding running quality parameter refers to for different operation informations, determines respectively under same operation information the running quality parameter that each application program is corresponding.
This running quality parameter can refer to the parameter of the represented running quality quality of the same operation information of different application.Such as electronic equipment has application A, B, C, D, power consumption corresponding in object time section is respectively 30%, 50%, 35%, 40% of system total power consumption, can learn that the corresponding power consumption of application A is minimum, the running quality that its power consumption represents is best, secondly be application program C, application program D, that quality is the poorest is application program B.Running quality parameter corresponding to power consumption information can be expressed the quality of different application.
Can represent by the numeral number of the represented quality rank of the same operation information of different application as this running quality parameter of a kind of possible situation.Still take above-mentioned as example, according to the power consumption situation in different application object time section, the quality rank order by from getting well to differing from that can draw the represented different application of power consumption is: A, C, D, B, corresponding numeral number is respectively 1,2,3,4.The 1 running quality parameter that can represent the power consumption information of application A, 2 represent the running quality parameter of the power consumption information of application program C, 3 represent the running quality parameter of the power consumption information of application program D, 4 represent the running quality parameter of the power consumption information of application program B, known, the value of running quality parameter is less, shows the power consumption minimum of this application program.
In like manner, when operation information comprises when multiple, can draw under each operation information each application program corresponding running quality parameter respectively.For example, according to operation exception information extremely exit number of times, can determine that each application program, according to the definite running quality parameter of operation exception information, exits number of times fewer extremely, represent that quality is better, its corresponding running quality parameter is also just less; Consumed flow according to use traffic information is how many, can determine that each application program is according to the definite running quality parameter of use traffic information, and consumed flow is fewer, represents that quality is better, and its corresponding running quality parameter is also just less; According to the response abnormality number of times of response abnormality information, can determine each application program according to the definite running quality parameter of response abnormality information, response abnormality number of times is fewer, represents that quality is better, and its corresponding running quality parameter is also less.
It should be noted that, be to adopt the numeral number of quality rank corresponding to different operation informations to represent the running quality parameter of this operation information in above-mentioned given example, and numeral number is less, represents that the quality of the application program that this operation information represents is better.It will be appreciated by persons skilled in the art that the running quality parameter that also can adopt other numerical value mode to represent operation information, such as being that corresponding numerical value is larger, the quality of expression is better.Numeral number can not be also 1,2,3,4 to represent, can also be 0.1,0.2,0.3,04 etc. can distinguish the numerical value mark of the running quality parameter that different operation informations are corresponding.
Certainly, for the running quality parameter that makes to calculate more accurate, because operation information also can represent with numerical value, be numeric representation mode and the numerical values recited difference of different operation informations, such as response abnormality information can be: response abnormality number of times 5 times, use traffic information can be: data traffic consumes 30,000,000.Therefore can determine running quality parameter according to the scale between the same operation information of different application.Such as application A, B, C, D data traffic consumption in object time section is respectively: 20,000,000,25,000,000,30,000,000,25,000,000, its ratio is: 4:5:6:5, can determine that running quality parameter corresponding to use traffic information can be expressed as: 0.2,0.25,0.3,0.25.In like manner other operation informations also calculate according to which, can draw the running quality parameter that numerical value meaning is consistent.Such as application A, B, C, D response times in object time section is respectively: 4 times, 6 times, 2 times, 8 times, its ratio is: 2:3:1:4, can determine that running quality parameter can be expressed as: 0.2,0.1,0.3,0.4.
Step 105: according to the corresponding running quality parameter of each application program, calculate the health value of each application program.
In the time that operation information is one, described health value can be described running quality parameter.
When operation information comprises when multiple, due to for an application program, its different operation information is a corresponding running quality parameter all, therefore according to the corresponding different running quality parameters of different operation informations, can calculate the health value of this application program.That the health value of this application program can refer to the corresponding different running quality parameters of this application program and value, mean value or other statistical value represent, for example, take the above-mentioned running quality parameter that scale was obtained by operation information as example, running quality parameter is less, running quality corresponding to this operation information representing is better, suppose that operation information comprises response abnormality information and use traffic information, can calculate application A, B, C, D respectively corresponding health value is: 0.4, 0.35, 0.6, 0.65, thereby the comprehensive health of known application program B is minimum, can determine that it is best in quality.
Certainly this health value can also adopt other account form, can introduce in detail below in embodiment.
Wherein, because application program in object time section is not all to move, therefore described operation information can refer to that application program adds up in this object time section the operation information generating in service time.
Step 106: the described health value of corresponding demonstration in the preset range of each application icon position in the display interface of described electronic equipment.Can determine the quality of each application program according to the health value calculating, in order to facilitate user in the running quality of carrying out can intuitively determining when application program is selected this application program, in the present embodiment, by this health value output display in the preset range of application icon position.Application icon refers to the mark for pointing out a certain application program of user.
Health value is shown in application icon preset range, and a kind of possibility mode can be added this health value to application program image target specific location, the upper left corner of for example icon.Another kind of possible mode can be to show in the specified location of the certain distance apart from this application icon position.So that user determines the corresponding health value of application program.
Certainly, receiving after user's request, the quality that system can also represent according to this health value by different application according to quality by sorting to bad order well, and user is presented in output, can also export this health value simultaneously, compare for user, thereby can make objective evaluation to different application, without subjective judgement.
In the present embodiment, by obtaining the different operation informations in object time section of each application program, and for each operation information, calculate running quality parameter corresponding to each application program difference, the last corresponding different running qualities of different operation informations according to each application program, can calculate the health value of each application program, and by this health value output display in corresponding application icon position preset range, make user can intuitively determine accurately the quality of selected application program, the quality of running quality is without user's subjective assessment, make it possible to effectively obtain accurately the running quality of application program.
With reference to figure 2, show the process flow diagram of a kind of application program detection method of the application embodiment 2, scheme is specifically applied in electronic equipment described in the embodiment of the present application, and this electronic equipment is provided with multiple application programs, application program can be moved startup in electronic equipment, and described method can comprise:
Step 201: receive the first instruction, described the first instruction is used to indicate obtains operation information.
Step 202: respond described the first instruction, obtain the multiple operation informations of each application program in object time section.
Wherein, in the present embodiment, described operation information at least comprises multiple information of operation exception information, response abnormality information, power consumption information and/or use traffic information.
Step 203: according to described operation information, determine running quality parameter corresponding to each application program difference.
The operation of step 201 ~ step 204 can be described referring to the operation of step 101 ~ step 104 in above-described embodiment 1, does not repeat them here.
Step 204: obtain the accumulative total service time of each application program in object time section.
Because application program is not always in running status in object time section, and some operation information may in use produce, such as operation exception information, power consumption information etc., and the accumulative total of different application in object time section is not identical service time yet, therefore be that result of calculation is more accurate, need to obtain the accumulative total service time of each application program in object time section.
Step 205: according to the corresponding different running quality parameters of different operation informations of each application program, and the accumulative total service time of described each application program, calculate the health value of each application program.
Wherein, a kind of possible account form is: quality and the value of calculating the corresponding different running quality parameters of different operation informations of each application program.
Calculate quality corresponding to each application program and value and the corresponding described totally ratio of service time;
Health value using described ratio as each application program.
The ratio that quality corresponding to each application program of described calculating and value and the accumulative total ratio of service time can be quality and value to be obtained divided by accumulative total service time can be also that accumulative total service time is divided by quality and the corresponding ratio of value.
Wherein, in the time adopting the numeral number of quality-ordered to represent the corresponding running quality parameter of operation information, and numeral number is less, while showing that quality is better, in the time calculating health value, can adopt accumulation service time divided by running quality parameter with value as health value, health value is larger, can show that the running quality of this application program is better.
Wherein, the application in actual applications, as another embodiment, can adopt following formula in the time of the health value of computing application program:
Package_health=(Package_frequence_usage+A)/(Package_exception_rank+Package_ANR_rank+B*fuel_usage_rank+C)。
Wherein, Package_health represents the health value of application program, Package_frequence_usage represents the accumulative total service time of this application program in object time section, this value can be obtained from the installation kit supervisory routine of application program, for example, when electronic equipment is mobile phone, and the installation system of mobile phone is Android Android system, can in the package manager from Android system, obtain; Package_exception_rank represents operation exception number of times rank, and number of times is fewer, and this rank value is less, if number of times is 0, this rank value can be 0; Package_ANR_rank represents response abnormality number of times rank, and number of times is fewer, and this rank value is less, if number of times is 0, this rank value can be 0; Fuel_usage_rank is power consumption rank, and power consumption is fewer, and this rank value is less, if do not use in object time section, is 0.
In above formula formula, add up according to response abnormality information, operation exception information and three operation informations of power consumption information, certainly can also comprise other operation information, or from these three operation informations that operation information is different.
In above formula, A is frequency of utilization added value, and B, C are weighted value, is accurately in order to make result of calculation, these three values data acquisition by experiment.
The health value drawing according to above formula is larger, shows that this application program quality is better.
Step 208: the described health value of corresponding demonstration in the preset range of each application icon position in the display interface of described electronic equipment.
The health value calculating can also output to the display interface of electronic equipment and check for user, facilitates user to make objective evaluation to the quality of different application.
As another embodiment, calculate after the health value of each application program, can also carry out rank to described different application program according to this health value, and user is presented in output, thereby user can intuitively find out the quality of application program, without subjective assessment.
In the present embodiment, by obtaining the different operation informations in object time section of each application program, and for each operation information, calculate running quality parameter corresponding to each application program difference, the last corresponding different running quality parameters of different operation informations according to each application program, and application program is in the accumulative total service time of object time section, can calculate the health value of each application program, this health value can represent the running quality quality of application program, therefore without user's subjective assessment, make it possible to effectively obtain the running quality of application program, and consider multiple operation informations, the running quality that makes to detect application program is more accurate, and add up service time by calculating, further improve the accuracy of testing result.
Embodiment 1 is corresponding with a kind of application program detection method of above-mentioned the application, with reference to figure 3, the application also provides a kind of application program pick-up unit embodiment 1, and described device is specifically applied in electronic equipment, this electronic equipment is provided with multiple application programs, and described device can comprise:
The first receiver module 301, for receiving the first instruction, described the first instruction is used to indicate obtains operation information.
The first acquisition module 302, for responding described the first instruction, obtains the operation information of each application program in object time section.
In the embodiment of the present application, described device can be integrated in the processor of described electronic equipment, also can be connected with the processor of electronic equipment as an entity separately, in addition, in the time that the method described in the application adopts software to realize, can be used as a newly-increased function of processor, can write separately corresponding program yet, the application does not limit the implementation of described method or device.
Described the first instruction can be that described electronics processors generates, and for obtaining the instruction of operation information, therefore the first acquisition module responds this first instruction, can obtain the multiple operation informations of each application program in object time section.
Set each application program of electronic equipment is in operational process, all can produce operation information, described operation information can comprise operation exception information: the information for example, producing when application program extremely exits in operational process, can refer to the number of times extremely exiting; Response abnormality information: for example application program is in the time starting, and the information generating can not normally start time, can refer to response abnormality number of times; Power consumption information: refer to the battery electric quantity that application program consumes; Use traffic information: refer to can Wireless Networking the network traffic data that consumes of application program.
Certainly, described operation information has more than and limits above-mentioned several situations, and described operation information can only include one, or can comprise above-mentioned two or more operation information arbitrarily.
Due to application program access times and service time uncertain, therefore described operation information refers to the operation information in object time section.This object time section can refer to a certain special time period of setting, or the one-period time period, for example this time period of 18:00 ~ 22:00,, receiving after the first instruction, only obtains the operation information in this time period.
Described the first instruction can generate once in real time or every the some cycles time.
Electronic equipment can real-time statistics and is preserved the operation information of application program, therefore, in the time of the multiple operation information obtaining in object time section, can directly look for different working procedures canned data.
Certainly, can be also to receive after the first instruction, arrive the operation information of object time Duan Houzai acquisition applications program.
The second acquisition module 303, for according to described operation information, determines running quality parameter corresponding to each application program difference.
This running quality parameter can refer to the parameter of the represented running quality quality of the same operation information of expression different application.
When operation information comprises when multiple, this second acquisition module specifically, for for different operation informations, is determined respectively under same operation information the running quality parameter that each application program is corresponding.
Can represent by the numeral number corresponding to rank of the represented running quality of the same operation information of different application as this running quality parameter of a kind of possible situation.Therefore, can obtain running quality parameter corresponding to the different operation informations of different application.
Certainly, for the running quality parameter that makes to calculate more accurate, because operation information also can represent with numerical value, be numeric representation mode and the numerical values recited difference of different operation informations, therefore can determine running quality parameter according to the scale between the same operation information of different application.
Concrete implementation procedure can, referring to described in embodiment of the method, not repeat them here.
Computing module 305, for according to the corresponding different running quality parameters of the different operation informations of each application program, calculates the health value of each application program.
In the time that operation information is one, described health value can be described running quality parameter.
When operation information comprises when multiple, due to for an application program, its different operation information is a corresponding running quality parameter all, therefore according to the corresponding different running quality parameters of different operation informations, can calculate the health value of this application program.
The health value of this application program can refer to representing with value, mean value or other statistical value of the corresponding different running quality parameters of this application program.Certainly can also adopt other account form.
Display module 306, for the described health value of corresponding demonstration in the preset range of each application icon position of described electronic equipment display interface.
Can determine the quality of each application program according to the health value calculating, in order to facilitate user in the running quality of carrying out can intuitively determining when application program is selected this application program, in the present embodiment, by this health value output display in the preset range of application icon position.Application icon refers to the mark for pointing out a certain application program of user.
Health value is shown in application icon preset range, and a kind of possibility mode can be added this health value to application program image target specific location, the upper left corner of for example icon.Another kind of possible mode can be to show in the specified location of the certain distance apart from this application icon position.So that user determines the corresponding health value of application program.
Certainly, receiving after user's request, the quality that described device can also represent according to this health value by different application according to quality by sorting to bad order well, and user is presented in output, can also export this health value simultaneously, compare for user, thereby can make objective evaluation to different application, without subjective judgement.
In the present embodiment, by obtaining the different operation informations in object time section of each application program, and for each operation information, calculate running quality parameter corresponding to each application program difference, the last corresponding different running qualities of different operation informations according to each application program, can calculate the health value of each application program, and by this health value output display in corresponding application icon position preset range, make user can intuitively determine accurately the quality of selected application program, the quality of application program running quality is without user's subjective assessment, make it possible to effectively obtain accurately the running quality of application program, improve accuracy in detection.
Embodiment 2 is corresponding with a kind of application program detection method of above-mentioned the application, with reference to figure 4, the application also provides a kind of application program pick-up unit embodiment 2, and described device is specifically applied in electronic equipment, this electronic equipment is provided with multiple application programs, and described device can comprise:
The first receiver module 401, for receiving the first instruction, described the first instruction is used to indicate obtains operation information;
The first acquisition module 402, for responding described the first instruction, obtains the multiple operation informations of each application program in object time section;
The second acquisition module 403, for according to each operation information, determines running quality parameter corresponding to each application program difference;
The 3rd acquisition module 404, for obtaining the accumulative total service time of each application program in object time section.
Because application program is not always in running status in object time section, and some operation information may in use produce, such as operation exception information, power consumption information etc., and the accumulative total of different application in object time section is not identical service time yet, therefore be that result of calculation is more accurate, need to obtain the accumulative total service time of each application program in object time section.
Computing module 405, for the corresponding different running quality parameters of the different operation informations according to each application program, and the accumulative total service time of described each application program, calculates the health value of each application program.
Wherein, as another embodiment, described computing module 405 can comprise:
The first computing module 4051, for calculating quality and the value of the corresponding different running quality parameters of different operation informations of each application program;
The second computing module 4052, for calculating quality corresponding to each application program and value and the corresponding accumulative total ratio of service time;
The 3rd computing module 4053, for the health value using described ratio as each application program.
The ratio that quality corresponding to each application program of described calculating and value and the accumulative total ratio of service time can be quality and value to be obtained divided by accumulative total service time can be also that accumulative total service time is divided by quality and the corresponding ratio of value.
Wherein, in the time adopting the numeral number of quality-ordered to represent the corresponding running quality parameter of operation information, and numeral number is less, while showing that quality is better, in the time calculating health value, can adopt accumulation service time divided by running quality parameter with value as health value, health value is larger, can show that the running quality of this application program is better.
Wherein, the application in actual applications, as another embodiment, can adopt following formula in the time of the health value of computing application program:
Package_health=(Package_frequence_usage+A)/(Package_exception_rank+Package_ANR_rank+B*fuel_usage_rank+C)。
Wherein, Package_health represents the health value of application program, Package_frequence_usage represents the accumulative total service time of this application program in object time section, this value can be obtained from the installation kit supervisory routine of application program, for example, when electronic equipment is mobile phone, and the installation system of mobile phone is Android Android system, can in the package manager from Android system, obtain; Package_exception_rank represents operation exception number of times rank, and number of times is fewer, and this rank value is less, if number of times is 0, this rank value can be 0; Package_ANR_rank represents response abnormality number of times rank, and number of times is fewer, and this rank value is less, if number of times is 0, this rank value can be 0; Fuel_usage_rank is power consumption rank, and power consumption is fewer, and this rank value is less, if do not use in object time section, is 0.
Display module 406, for the described health value of corresponding demonstration in the preset range of each application icon position of described electronic equipment display interface.
The health value calculating can also output to the display interface of electronic equipment and check for user, thereby facilitates user to make objective evaluation to the quality of different application.
As another embodiment, calculate after the health value of each application program, can also carry out rank to described different application program according to this health value, and user is presented in output, thereby user can intuitively find out the quality of application program, without subjective assessment.
In the present embodiment, by obtaining the different operation informations in object time section of each application program, and for each operation information, calculate running quality parameter corresponding to each application program difference, the last corresponding different running quality parameters of different operation informations according to each application program, and application program is in the accumulative total service time of object time section, can calculate the health value of each application program, this health value can represent the running quality quality of application program, therefore without user's subjective assessment, make it possible to effectively obtain the running quality of application program, the running quality of detected application program is more accurate, and add up service time by calculating, further improve the accuracy of testing result.
In addition, the application also provides a kind of electronic equipment, and described electronic equipment can comprise application program pick-up unit described above.The objective evaluation of different application can be realized by described electronic equipment, the running quality of the different application of operation on it can be obtained effectively accurately again.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates referring to method part.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the application.To be apparent for those skilled in the art to the multiple modification of these embodiment, General Principle as defined herein can, in the case of not departing from the application's spirit or scope, realize in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an application program detection method, is characterized in that, is applied in electronic equipment, and described electronic equipment is provided with multiple application programs, and described method comprises:
Receive the first instruction, described the first instruction is used to indicate obtains operation information;
Respond described the first instruction, obtain the operation information of each application program in object time section;
According to described operation information, determine running quality parameter corresponding to each application program difference;
According to the corresponding running quality parameter of the operation information of each application program, calculate the health value of each application program;
The described health value of corresponding demonstration in the preset range of each application icon position in the display interface of described electronic equipment.
2. method according to claim 1, is characterized in that, described operation information comprises operation exception information, response abnormality information, power consumption information and/or use traffic information;
Described operation information comprises when multiple, according to described operation information, described determine each application program respectively corresponding running quality parameter comprise:
For different operation informations, determine respectively under same operation information the running quality parameter that each application program is corresponding.
3. method according to claim 1 and 2, is characterized in that, described operation information comprises that when multiple, the corresponding running quality parameter of the described operation information according to each application program, before calculating the health value of each application program, also comprises:
Obtain the accumulative total service time of each application program in object time section.
4. method according to claim 3, is characterized in that, the corresponding running quality parameter of the described operation information according to each application program, and the health value that calculates each application program comprises:
Different operation informations according to each application program are distinguished corresponding different running quality parameters, and the accumulative total service time of described each application program, calculate the health value of each application program.
5. method according to claim 4, it is characterized in that, according to the different running quality parameters corresponding to different operation informations difference of each application program, and the accumulative total service time of described each application program, the health value that calculates each application program comprises:
Calculate quality and the value of the corresponding different running quality parameters of different operation informations of each application program;
Calculate quality corresponding to each application program and value and the corresponding accumulative total ratio of service time;
Health value using described ratio as each application program.
6. an application program pick-up unit, is characterized in that, is applied in electronic equipment, and described electronic equipment has multiple application programs, and described device comprises:
The first receiver module, for receiving the first instruction, described the first instruction is used to indicate obtains operation information;
The first acquisition module, for responding described the first instruction, obtains the operation information of each application program in object time section;
The second acquisition module, for according to described operation information, determines running quality parameter corresponding to each application program difference;
Computing module, for according to the corresponding running quality parameter of the operation information of each application program, calculates the health value of each application program;
Display module, for the described health value of corresponding demonstration in the preset range of each application icon position of described electronic equipment display interface.
7. device according to claim 6, is characterized in that, described operation information comprises operation exception information, response abnormality information, power consumption information and/or use traffic information;
Described operation information comprises when multiple, and described the first acquisition module, specifically for for different operation informations, is determined respectively under same operation information the running quality parameter that each application program is corresponding.
8. according to the device described in claim 6 or 7, it is characterized in that, described operation information comprises that when multiple, described device also comprises:
The 3rd acquisition module, for obtaining the accumulative total service time of each application program in object time section.
9. device according to claim 8, it is characterized in that, described computing module is specifically for different running quality parameters corresponding to different operation informations difference according to each application program, and the accumulative total service time of described each application program, calculates the health value of each application program.
10. device according to claim 9, is characterized in that, described computing module comprises:
The first computing module, for calculating quality and the value of the corresponding different running quality parameters of different operation informations of each application program;
The second computing module, for calculating quality corresponding to each application program and value and the corresponding accumulative total ratio of service time;
The 3rd computing module, for the health value using described ratio as each application program.
CN201210454241.4A 2012-11-13 2012-11-13 Application detection method and device Pending CN103810093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210454241.4A CN103810093A (en) 2012-11-13 2012-11-13 Application detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210454241.4A CN103810093A (en) 2012-11-13 2012-11-13 Application detection method and device

Publications (1)

Publication Number Publication Date
CN103810093A true CN103810093A (en) 2014-05-21

Family

ID=50706892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210454241.4A Pending CN103810093A (en) 2012-11-13 2012-11-13 Application detection method and device

Country Status (1)

Country Link
CN (1) CN103810093A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572409A (en) * 2015-01-14 2015-04-29 东莞宇龙通信科技有限公司 Application parameter management method and system and electronic device
CN105930248A (en) * 2016-04-20 2016-09-07 南京酷派软件技术有限公司 Application performance prompting method and system
WO2017193545A1 (en) * 2016-05-13 2017-11-16 中兴通讯股份有限公司 Background program monitoring method and apparatus, and mobile terminal
CN111522747A (en) * 2020-04-24 2020-08-11 腾讯科技(深圳)有限公司 Application processing method, device, equipment and medium
CN111523063A (en) * 2019-02-01 2020-08-11 北京搜狗科技发展有限公司 Application processing method and device and application processing device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (en) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 Real time monitoring system and method of application program
CN101876904A (en) * 2010-02-09 2010-11-03 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, and method and device for outputting running state of application programs
CN102253858A (en) * 2011-06-27 2011-11-23 宇龙计算机通信科技(深圳)有限公司 Device and method for managing application programs
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN102508771A (en) * 2011-10-12 2012-06-20 山东中创软件商用中间件股份有限公司 Software running state evaluation method
CN102591766A (en) * 2011-12-31 2012-07-18 惠州Tcl移动通信有限公司 Mobile equipment and method and system for carrying out prompt processing on power consumption of programs of mobile equipment
US20120210150A1 (en) * 2011-02-10 2012-08-16 Alcatel-Lucent Usa Inc. Method And Apparatus Of Smart Power Management For Mobile Communication Terminals
CN102708037A (en) * 2012-04-23 2012-10-03 山东中创软件工程股份有限公司 Method and device for checking running state of application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (en) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 Real time monitoring system and method of application program
CN101876904A (en) * 2010-02-09 2010-11-03 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, and method and device for outputting running state of application programs
US20120210150A1 (en) * 2011-02-10 2012-08-16 Alcatel-Lucent Usa Inc. Method And Apparatus Of Smart Power Management For Mobile Communication Terminals
CN102253858A (en) * 2011-06-27 2011-11-23 宇龙计算机通信科技(深圳)有限公司 Device and method for managing application programs
CN102508771A (en) * 2011-10-12 2012-06-20 山东中创软件商用中间件股份有限公司 Software running state evaluation method
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN102591766A (en) * 2011-12-31 2012-07-18 惠州Tcl移动通信有限公司 Mobile equipment and method and system for carrying out prompt processing on power consumption of programs of mobile equipment
CN102708037A (en) * 2012-04-23 2012-10-03 山东中创软件工程股份有限公司 Method and device for checking running state of application program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572409A (en) * 2015-01-14 2015-04-29 东莞宇龙通信科技有限公司 Application parameter management method and system and electronic device
CN105930248A (en) * 2016-04-20 2016-09-07 南京酷派软件技术有限公司 Application performance prompting method and system
WO2017181490A1 (en) * 2016-04-20 2017-10-26 宇龙计算机通信科技(深圳)有限公司 Application program performance prompting method and system
WO2017193545A1 (en) * 2016-05-13 2017-11-16 中兴通讯股份有限公司 Background program monitoring method and apparatus, and mobile terminal
CN111523063A (en) * 2019-02-01 2020-08-11 北京搜狗科技发展有限公司 Application processing method and device and application processing device
CN111522747A (en) * 2020-04-24 2020-08-11 腾讯科技(深圳)有限公司 Application processing method, device, equipment and medium
CN111522747B (en) * 2020-04-24 2024-03-19 腾讯科技(深圳)有限公司 Application processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN103810093A (en) Application detection method and device
CN103793042B (en) A kind of system and method body motion information interaction and shown
CN113284318B (en) Providing predictive alerts for workplace security
CN112149329B (en) Method, system, equipment and storage medium for previewing state of key equipment of nuclear power plant
CN110405388A (en) Predict the method, apparatus and electronic equipment of welding quality
CN107462425A (en) The failure prediction method and failure predication platform of a kind of car kits system
CN104123072A (en) Method and device for providing virtual keyboard in mobile device
CN111157245B (en) Supervision method and system for rail transit running gear bearing
CN115145788A (en) Detection data generation method and device for intelligent operation and maintenance system
CN110488188A (en) The three-dimensional healthy method for quantitatively evaluating of unit based on dynamic threshold
Nguyen et al. Ensemble based real-time adaptive classification system for intelligent sensing machine diagnostics
CN112650068B (en) Household fault detection method and device based on intelligent current sensor
CN115618746B (en) Intelligent equipment diagnosis and analysis method and system based on cloud service
CN113037593A (en) Information display method, device and system based on visual platform system
Nykyri et al. IoT demonstration platform for education and research
CN205787135U (en) GPS static observation quality of data real-time detecting system
CN113515354B (en) Unified processing system and method based on environment context consistency
CN113001546B (en) Method and system for improving motion speed safety of industrial robot
CN111128357B (en) Hospital logistics energy consumption target object monitoring method and device and computer equipment
CN105008964B (en) Earthquake prediction apparatus
CN113485898A (en) Vibration measuring point display method, device, equipment and storage medium
CN113627017A (en) Vibration monitoring model multiplexing method, device, equipment and storage medium
RU2453912C2 (en) Unified method of estimating efficiency of large systems and automated device for realising said method
CN201909805U (en) Digital universal meter
CN111176931A (en) Operation monitoring method, operation monitoring device, server and storage medium

Legal Events

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

Application publication date: 20140521