CN106547693B - System detection method and mobile terminal - Google Patents

System detection method and mobile terminal Download PDF

Info

Publication number
CN106547693B
CN106547693B CN201610931494.4A CN201610931494A CN106547693B CN 106547693 B CN106547693 B CN 106547693B CN 201610931494 A CN201610931494 A CN 201610931494A CN 106547693 B CN106547693 B CN 106547693B
Authority
CN
China
Prior art keywords
parameter value
time
parameter
resource parameters
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610931494.4A
Other languages
Chinese (zh)
Other versions
CN106547693A (en
Inventor
陈家楠
朱少杰
周佳
冯继超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Everest Mobile Communication Co Ltd
Original Assignee
Beijing Everest Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Everest Mobile Communication Co Ltd filed Critical Beijing Everest Mobile Communication Co Ltd
Priority to CN201610931494.4A priority Critical patent/CN106547693B/en
Publication of CN106547693A publication Critical patent/CN106547693A/en
Application granted granted Critical
Publication of CN106547693B publication Critical patent/CN106547693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Abstract

The invention discloses a kind of system detection method and mobile terminals.Wherein, which includes: at least one resource parameters when obtaining the target application of destination OS operation to be measured in real time or carrying out object run;Within a preset period of time, the parameter value-time data point for obtaining each resource parameters at least one resource parameters, according to parameter value-time graph a of each resource parameters of parameter value-time data point-rendering, to form the first curve group;The second curve group of reference operation system is obtained, the second curve group includes a plurality of parameter value-time graph b;The parameter value for belonging to same resource parameters-time graph a and parameter value-time graph b are plotted in the same coordinate system, if the parameter value of same resource parameters-time graph a is with parameter value-time graph b, there are at least one time data points, difference value both in time data point exceeds the first preset threshold range, it is determined that destination OS is abnormal.

Description

System detection method and mobile terminal
Technical field
The present invention relates to system testing technical field more particularly to a kind of system detection methods and mobile terminal.
Background technique
With the rapid development of electronic communication, such as mobile phone, tablet computer (full name in English: Portable Android Device, English abbreviation: Pad) etc. mobile terminals be more and more applied in daily life.Mobile terminal operation system System, especially Android(Android) operating system various schools of thinkers full cries, and each manufacturer terminal all releases oneself distinctive operating system version This, for example, the MIUI of millet, the EMUI of Huawei, the Color OS etc. of the Flyme OS, OPPO of Meizu, in order to meet user's Demand and the function of releasing differentiation, show one's talent from terminal producer, and various manufacturers also often issue the subsequent of operating system Update and revision.
Currently, each company is directed to the test and verifying of the various iteration versions before the operating system newly released, still The comparison of comprehensive careful test based on links, this method test is comprehensive, but the process is extremely complex and cumbersome, Period is very long, needs to expend very more human resources and time cost.
But each manufacturer often races against time to the release of new operating system at present, to come out first in sale battlefield, Therefore, existing that actual demand is unable to satisfy on time and cost to the test of operating system and proof scheme.
Summary of the invention
The purpose of the present invention is to provide a kind of system detection methods, quickly to test and verify the operation of more new version The operating system of system or revision.In addition, the object of the invention is also to provide a kind of mobile terminals for realizing this method.
To solve the above-mentioned problems, the present invention provides a kind of system detection methods comprising following steps:
At least one money when obtaining the target application of destination OS operation to be measured in real time or carrying out object run Source parameter;
Within a preset period of time, parameter value-time of each resource parameters at least one resource parameters is obtained Data point, according to parameter value-time graph a of each resource parameters of the parameter value-time data point-rendering, to form One curve group;
The second curve group of reference operation system is obtained, the second curve group includes a plurality of parameter value-time graph b;
The parameter value for belonging to same resource parameters-time graph a and parameter value-time graph b are plotted in same seat In mark system, if the parameter value-time graph a of same resource parameters and the parameter value-time graph b have at least one A time data point, the difference value both in the time data point exceed the first preset threshold range, it is determined that the target Operating system is abnormal.
As a further improvement of the present invention, parameter value-time of each resource parameters is bent in the first curve group Line a is formed by whole parameter values-time data point-rendering of each resource parameters, or by each resource parameters pre- If the parameter value of material time point-time data point-rendering forms.
As a further improvement of the present invention, the step of the determination destination OS exception includes:
Determine target resource parameter, belong to the target resource parameter the parameter value-time graph a and the parameter For value-time graph b there are at least one time data point, the difference value both in the time data point exceeds the first default threshold It is worth range;
Determine that application module relevant to the target resource parameter exists abnormal in the destination OS.
To solve the above-mentioned problems, the present invention also provides a kind of mobile terminals comprising:
First resource parameter acquisition module, for obtain in real time destination OS to be measured operation target application or into At least one resource parameters when row object run;
First curve group drafting module, it is each at least one resource parameters within a preset period of time, obtaining Parameter value-time data point of kind resource parameters, according to the ginseng of each resource parameters of the parameter value-time data point-rendering Numerical value-time graph a, to form the first curve group;
Second curve group obtains module, for obtaining the second curve group of reference operation system, the second curve group packet Include a plurality of parameter value-time graph b;
First abnormal determining module, for the parameter value-time graph a and parameter value-of same resource parameters will to be belonged to Time graph b is plotted in the same coordinate system, if the parameter value-time graph a of same resource parameters and the parameter For value-time graph b there are at least one time data point, the difference value both in the time data point exceeds the first default threshold It is worth range, it is determined that the destination OS is abnormal.
As a further improvement of the present invention, parameter value-time of each resource parameters is bent in the first curve group Line a is formed by whole parameter values-time data point-rendering of each resource parameters, or by each resource parameters pre- If the parameter value of material time point-time data point-rendering forms.
As a further improvement of the present invention, the described first abnormal determining module includes:
First object resource parameters determination unit belongs to the target resource parameter for determining target resource parameter There are at least one time data point, the time data with the parameter value-time graph b by the parameter value-time graph a Difference value both on point exceeds the first preset threshold range;
First abnormal determination unit, for determining relevant to the target resource parameter in the destination OS answer Exist with module abnormal.
To solve the above-mentioned problems, the present invention also provides a kind of system detection methods comprising following steps:
At least one money when obtaining the target application of destination OS operation to be measured in real time or carrying out object run Source parameter;
Within a preset period of time, all parameters of each resource parameters at least one resource parameters are obtained Value, corresponding second preset threshold range of each described resource parameters;
Statistic is obtained according to all parameter values of each resource parameters and default statistics policy calculation, so that each The corresponding statistic of the kind resource parameters;
Belong to the statistic of same resource parameters if it exists beyond corresponding second preset threshold range, it is determined that institute State destination OS exception.
As a further improvement of the present invention, the default statistics strategy includes: average value statistics strategy, unbiased variance statistics Strategy, statistics of extremes strategy, median statistics strategy, mode statistics strategy or coefficient of variation statistics strategy.
As a further improvement of the present invention, the step of the determination destination OS exception, comprising:
Determine target resource parameter, statistic corresponding with the target resource parameter exceeds joins with the target resource Corresponding second preset threshold range of number;
Determine that application module relevant to the target resource parameter exists abnormal in the destination OS.
To solve the above-mentioned problems, the present invention also provides a kind of mobile terminals comprising:
Secondary resource parameter acquisition module, for obtain in real time destination OS to be measured operation target application or into At least one resource parameters when row object run;
Parameter value obtains module, within a preset period of time, obtaining each institute at least one resource parameters All parameter values of resource parameters are stated, corresponding second preset threshold range of each described resource parameters;
Statistic computing module, for counting policy calculation with default according to all parameter values of each resource parameters Statistic is obtained, so that the corresponding statistic of each described resource parameters;
Second abnormal determining module, for belonging to the statistic of same resource parameters if it exists beyond corresponding second Preset threshold range, it is determined that the destination OS is abnormal.
As a further improvement of the present invention, the default statistics strategy includes: average value statistics strategy, unbiased variance statistics Strategy, statistics of extremes strategy, median statistics strategy, mode statistics strategy or coefficient of variation statistics strategy.
As a further improvement of the present invention, the described second abnormal determining module includes:
Second target resource parameter determination unit, it is corresponding with the target resource parameter for determining target resource parameter Statistic exceed the second preset threshold range corresponding with the target resource parameter;
Second abnormal determination unit, for determining relevant to the target resource parameter in the destination OS answer Exist with module abnormal.
Compared with prior art, the present invention is realized by comparing parameter value-time graph a and parameter value-time graph b Quickly whether test and verifying destination OS (that is: the operating system of update or revision) are abnormal, save manpower money Source and time cost shorten test period and accelerate development rate.In addition, quickly releasing test or verifying convenient for manufacturer Destination OS speed afterwards improves the competitiveness of manufacturer, and convenient for user quickly using the mesh after test or verifying Operating system is marked, the user experience is improved spends.
Detailed description of the invention
Fig. 1 is the flow diagram of the first embodiment of present system test method.
Fig. 2 is a kind of parameter value of the present invention-embodiment of time graph a coordinate schematic diagram.
Fig. 3 is the flow diagram of second of embodiment of present system test method.
Fig. 4 is the functional block diagram of the first embodiment of mobile terminal of the present invention.
Fig. 5 is the functional block diagram of second of embodiment of mobile terminal of the present invention.
Fig. 6 is the flow diagram of the third embodiment of present system test method.
Fig. 7 is the flow diagram of the 4th kind of embodiment of present system test method.
Fig. 8 is the functional block diagram of the third embodiment of mobile terminal of the present invention.
Fig. 9 is the functional block diagram of 4th kind of embodiment of mobile terminal of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used to limit the present invention.
Fig. 1 illustrates a kind of embodiment of present system test method.In the present embodiment, the system detection method packet Include following steps:
Step S1, when obtaining the target application of destination OS operation to be measured in real time or carrying out object run at least A kind of resource parameters.
Specifically, it by way of bottom layer driving exposed interface, can be obtained in real time by upper procedure by activation result Various resource parameters during system operation, resource parameters may include CPU usage, cpu load, and CPU opens nucleus number, CPU Frequency, GPU load, cell output current, disk read-write load, EMS memory occupation value, peripheral hardware open number, file handle open number with And at least one of other unmentioned system resource parameters.
It should be noted that destination OS in the present embodiment can ceaselessly be modified for system version code or Increase the iteration Edition operating system that new function carries out evolution, is also possible to other operating systems for carrying out version test.
Wherein, it is each to can be talk application, short message application, Video Applications, contact application, network application etc. for target application Application in kind mobile terminal, object run can be switch bluetooth, the operation of the peripheral hardwares such as switch Wi-Fi.
Step S2 obtains the parameter of each resource parameters at least one resource parameters within a preset period of time Value-time data point, according to parameter value-time graph a of each resource parameters of the parameter value-time data point-rendering, To form the first curve group.
Specifically, since different resource parameter has different parameter values-time graph a, so, if resource parameters only have When a kind of, a practical just only parameter value-time graph a of the first curve group.
In addition, parameter value-time graph a numerical value for acquisition is more accurate, increase the accuracy of test, above-mentioned On the basis of embodiment, in other embodiments, the parameter value of each resource parameters-time graph a in the first curve group It is to be formed by whole parameter values-time data point-rendering of each resource parameters.
In addition, in order to accelerate parameter value-time graph a acquisition speed, so that test speed is further speeded up, above-mentioned On the basis of embodiment, in other embodiments, by each resource parameters in the parameter value-time data for presetting material time point Point-rendering forms.For technical solution of the present invention detailed further, by taking resource parameter memory occupation value as an example, the ginseng of description Numerical value-time graph a is as shown in Figure 2.
Step S3 obtains the second curve group of reference operation system, and the second curve group includes a plurality of parameter value-time Curve b.
It should be noted that reference operation system is by comprehensive careful test, the period is very long, and index is also very much, most System is confirmed afterwards and application is all normal.
The parameter value for belonging to same resource parameters-time graph a and parameter value-time graph b are plotted in by step S4 In the same coordinate system, if the parameter value-time graph a of same resource parameters and the parameter value-time graph b exist At least one time data point, the difference value both in the time data point exceed the first preset threshold range, it is determined that institute State destination OS exception.
It should be noted that parameter value-time graph a and parameter value-time graph b that same resource parameters will be belonged to It is plotted in the same coordinate system, i.e., when operational objective is applied or carries out object run, the test opening time data point one of the two It causes, and the test end time data point of the two is consistent.
In addition, the parameter value on parameter value-time graph a is possible to be greater than parameter value-time graph b parameter value, ginseng Parameter value on numerical value-time graph a is also possible to be less than parameter value-time graph b parameter value, and therefore, difference value both may be used It, can also be with negative value to be an integer value.Therefore, the first preset threshold range has a negative value endpoint, an integer It is worth endpoint.For example: [- 5,5].
The present embodiment realizes quickly test and verifying by comparing parameter value-time graph a and parameter value-time graph b Whether destination OS (that is: the operating system of update or revision) is abnormal, saves human resources and time cost, contracts Short test period and accelerate development rate.In addition, quickly releasing the object run system after test or verifying convenient for manufacturer System speed is improved the competitiveness of manufacturer, and is promoted convenient for user quickly using the destination OS after test or verifying User experience.
System detection method of the invention is used in the use process of mobile terminal, is needed tentatively true according to resource parameters Recognize abnormal application or operation.Therefore, on the basis of above-described embodiment, in other embodiments, referring to Fig. 3, step S4, further includes:
Step S41 determines target resource parameter, belong to the parameter value-time graph a of the target resource parameter with The parameter value-time graph b is there are at least one time data point, and difference value both in the time data point is beyond the One preset threshold range.
Step S42 determines that there are different for application module relevant to the target resource parameter in the destination OS Often.
Specifically, when resource parameters include CPU usage, belong to the parameter value-time graph a and ginseng of CPU usage Numerical value-time graph b difference value exceeds the first preset threshold range, then shows that the code newly modified has excessive occupy and calculates The problem of time complexity of algorithm is too high in the case where resource, such as code or some endless loops occurs etc.
When resource parameters include GPU occupancy, belong to GPU occupancy parameter value-time graph a and parameter value-when The difference value of half interval contour b exceeds the first preset threshold range, then shows drawing, there may be indiscriminate in the calling of the api such as animation With or error the problem of.
When resource parameters include memory usage (or EMS memory occupation value), belong to memory usage (or EMS memory occupation value) Parameter value-time graph a and parameter value-time graph b difference value exceed the first preset threshold range, then show to deposit Capable abuse is internally deposited into RAM leakage or code.
When resource parameters include disk read-write load, belong to the parameter value-time graph a and parameter of disk read-write load Value-time graph b difference value exceeds the first preset threshold range, then shows operation of the possible application to database or file There are exceptions.
When resource parameters include open file handle number, the parameter value-time for belonging to open file handle number is bent Line a and parameter value-time graph b difference value exceed the first preset threshold range, then show not release after program opens file It puts, it is easy to system be caused to be collapsed sometimes.In addition it can open number including cell output current, cpu frequency, peripheral hardware The comparison of equal curves.
The present embodiment, can be tentatively fixed according to these resource parameters when testing out a certain or multiple resources abnormal parameters The abnormal application in position or abnormal operation reduce the test scope of subsequent accurate confirmation abnormal point, to accelerate subsequent exception Test speed improves abnormality processing speed.
In addition, the present embodiment by resource parameters tested it is critical that it can check erroneous ideas at the outset, Ke Yicong The possibility of tiny place discovery great risk.Because many system problems are not cause problems when tester tests , only under certain extreme conditions, the accumulation of various factors can just lead to the generation of some probability problems.Specifically, such as Fruit contact person is excessively frequent to the read-write of database, be in the case where contact person is few it is unconspicuous, until contact person is more, meeting Sensory system is somewhat slow, and at this time if playing game again, system resource is insufficient, in addition be warm, intelligent temperature control limit The problem of having made the performance of system, just having will appear system Caton at this time, then needing finally can just find step by step is contact person Read-write database has abnormal problem.If but carry out system resource parameters monitoring, beta version come out after, it will be able to Discovery beta version, which loads this part in disk read-write, at once an apparent rising, so that it may orient this place Code be it is problematic, other indexs are similarly.
Fig. 4 illustrates a kind of embodiment of mobile terminal of the present invention.In the present embodiment, which includes the first money Source parameter acquisition module 10, the first curve group drafting module 11, the second curve group obtain module 12 and the first abnormal determining module 13。
Wherein, first resource parameter acquisition module 10, for obtaining the target of destination OS operation to be measured in real time Using or carry out object run when at least one resource parameters;First curve group drafting module 11, in preset time period It is interior, parameter value-time data point of each resource parameters at least one resource parameters is obtained, according to the parameter Parameter value-time graph a of each resource parameters of value-time data point-rendering, to form the first curve group;Second curve group Module 12 is obtained, for obtaining the second curve group of reference operation system, the second curve group includes a plurality of parameter value-time Curve b;First abnormal determining module 13, for the parameter value-time graph a and parameter value-of same resource parameters will to be belonged to Time graph b is plotted in the same coordinate system, if the parameter value-time graph a of same resource parameters and the parameter For value-time graph b there are at least one time data point, the difference value both in the time data point exceeds the first default threshold It is worth range, it is determined that the destination OS is abnormal.
It should be noted that parameter value-time graph a of each resource parameters is by each in the first curve group Whole parameter values-time data point-rendering of kind resource parameters forms, or by each resource parameters in default material time Parameter value-time data point-rendering of point forms.
On the basis of above-described embodiment, in other embodiments, referring to Fig. 5, the first abnormal determining module 13 includes the One target resource parameter determination unit 131 and the first abnormal determination unit 132.
First object resource parameters determination unit 131 belongs to the target resource parameter for determining target resource parameter The parameter value-time graph a there are at least one time data point, the time numbers with the parameter value-time graph b Difference value both on strong point exceeds the first preset threshold range;First abnormal determination unit 132, for determining the target behaviour Make application module relevant to the target resource parameter in system and there is exception.
The other details that technical solution is realized about module each in above-mentioned two embodiment mobile terminal, reference can be made to above-mentioned reality The description in the system detection method in example is applied, details are not described herein again.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Fig. 6 illustrates a kind of embodiment of present system test method.In the present embodiment, the system detection method packet Include following steps:
Step S10, when obtaining the target application of destination OS operation to be measured in real time or carrying out object run extremely A kind of few resource parameters.
Specifically, it by way of bottom layer driving exposed interface, can be obtained in real time by upper procedure by activation result Various resource parameters during system operation, resource parameters may include CPU usage, cpu load, and CPU opens nucleus number, CPU Frequency, GPU load, cell output current, disk read-write load, EMS memory occupation value, peripheral hardware open number, file handle open number with And at least one of other unmentioned system resource parameters.
It should be noted that destination OS in the present embodiment can ceaselessly be modified for system version code or Increase the iteration Edition operating system that new function carries out evolution, is also possible to other operating systems for carrying out version test.
Wherein, it is each to can be talk application, short message application, Video Applications, contact application, network application etc. for target application Application in kind mobile terminal, object run can be switch bluetooth, the operation of the peripheral hardwares such as switch Wi-Fi.
Step S11 obtains each resource parameters at least one resource parameters within a preset period of time All parameter values, corresponding second preset threshold range of each described resource parameters.
Step S12 obtains statistic according to all parameter values of each resource parameters and default statistics policy calculation, So that the corresponding statistic of each described resource parameters.
It should be noted that the default statistics strategy includes: average value statistics strategy, unbiased variance statistics strategy, extreme value Statistics strategy, median statistics strategy, mode statistics strategy or coefficient of variation statistics strategy.
Step S13, the statistic for belonging to same resource parameters if it exists exceed corresponding second preset threshold range, Then determine that the destination OS is abnormal.
The present invention realizes quickly test and verifying object run system by comparing statistic and the second preset threshold range Whether system (that is: the operating system of update or revision) is abnormal, saves human resources and time cost, shortens test week Phase and accelerate development rate.In addition, quickly releasing the destination OS speed after test or verifying convenient for manufacturer, promoted The competitiveness of manufacturer, and convenient for user quickly using the destination OS after test or verifying, the user experience is improved Degree.In addition, the present embodiment is only needed according to default statistics policy calculation statistic, operation is easily achieved, and has widened this The application range of test method.
System detection method of the invention is used in the use process of mobile terminal, is needed tentatively true according to resource parameters Recognize abnormal application or operation.Therefore, on the basis of above-described embodiment, in other embodiments, referring to Fig. 7, step S13, further includes:
Step S131 determines target resource parameter, statistic corresponding with the target resource parameter exceed with it is described Corresponding second preset threshold range of target resource parameter;
Step S132 determines that there are different for application module relevant to the target resource parameter in the destination OS Often.
Specifically, when resource parameters are CPU usage, belong to the parameter value-time graph a and parameter of CPU usage Value-time graph b difference value exceeds the first preset threshold range, then shows that the code newly modified has excessive occupy and calculates money The problem of time complexity of algorithm is too high in the case where source, such as code or some endless loops occurs etc.
When resource parameters are GPU occupancy, parameter value-time graph a and the parameter value-time for belonging to GPU occupancy are bent The difference value of line b exceed the first preset threshold range, then show drawing, in the calling of the api such as animation there may be abuse or The problem of person malfunctions.
When resource parameters be memory usage (or EMS memory occupation value), belong to the ginseng of memory usage (or EMS memory occupation value) Numerical value-time graph a and parameter value-time graph b difference value exceed the first preset threshold range, then show that there may be interior It deposits and internally deposits into capable abuse in leakage or code.
When resource parameters be disk read-write load, belong to disk read-write load parameter value-time graph a and parameter value- The difference value of time graph b exceeds the first preset threshold range, then shows that the operation of database or file is deposited in possible application In exception.
When resource parameters be open file handle number, belong to open file handle number parameter value-time graph a and Parameter value-time graph b difference value exceeds the first preset threshold range, then shows not discharge after program opens file, very It is easy to cause system to collapse sometimes.In addition it can open the songs such as number including cell output current, cpu frequency, peripheral hardware The comparison of line.
The present embodiment, can be tentatively fixed according to these resource parameters when testing out a certain or multiple resources abnormal parameters The abnormal application in position or abnormal operation reduce the test scope of subsequent accurate confirmation abnormal point, to accelerate subsequent exception Test speed improves abnormality processing speed.
In addition, the present embodiment by resource parameters tested it is critical that it can check erroneous ideas at the outset, Ke Yicong The possibility of tiny place discovery great risk.Because many system problems are not cause problems when tester tests , only under certain extreme conditions, the accumulation of various factors can just lead to the generation of some probability problems.Specifically, such as Fruit contact person is excessively frequent to the read-write of database, be in the case where contact person is few it is unconspicuous, until contact person is more, meeting Sensory system is somewhat slow, and at this time if playing game again, system resource is insufficient, in addition be warm, intelligent temperature control limit The problem of having made the performance of system, just having will appear system Caton at this time, then needing finally can just find step by step is contact person Read-write database has abnormal problem.If but carry out system resource parameters monitoring, beta version come out after, it will be able to Discovery beta version, which loads this part in disk read-write, at once an apparent rising, so that it may orient this place Code be it is problematic, other indexs are similarly.
Fig. 8 illustrates a kind of embodiment of mobile terminal of the present invention.In the present embodiment, which includes the second money Source parameter acquisition module 20, parameter value obtain module 21, statistic computing module 22 and the second abnormal determining module 23.
Wherein, Secondary resource parameter acquisition module 20, for obtaining the target of destination OS operation to be measured in real time Using or carry out object run when at least one resource parameters;Parameter value obtains module 21, within a preset period of time, obtaining All parameter values of each resource parameters at least one resource parameters are taken, each described resource parameters is corresponding One the second preset threshold range;Statistic computing module 22, for according to all parameter values of each resource parameters and Default statistics policy calculation obtains statistic, so that the corresponding statistic of each described resource parameters;Second Abnormal determining module 23, for belonging to the statistic of same resource parameters if it exists beyond corresponding second preset threshold model It encloses, it is determined that the destination OS is abnormal.
It should be noted that the default statistics strategy includes: average value statistics strategy, unbiased variance statistics strategy, extreme value Statistics strategy, median statistics strategy, mode statistics strategy or coefficient of variation statistics strategy.
On the basis of above-described embodiment, in other embodiments, the described second abnormal determining module 23 is provided including the second target Source parameter determination unit 231 and the second abnormal determination unit 232.
Second target resource parameter determination unit 231, for determining target resource parameter, with the target resource parameter pair The statistic answered exceeds the second preset threshold range corresponding with the target resource parameter;Second abnormal determination unit 232, For determining, application module relevant to the target resource parameter exists abnormal in the destination OS.
The other details that technical solution is realized about module each in aforementioned four embodiment mobile terminal, reference can be made to above-mentioned reality The description in the system detection method in example is applied, details are not described herein again.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
The specific embodiment of invention is described in detail above, but it is only used as example, the present invention is not intended to limit With specific embodiments described above.For a person skilled in the art, any equivalent modifications that the invention is carried out Or substitute also all among scope of the invention, therefore, the made equalization in the case where not departing from the spirit and principles in the present invention range Transformation and modification, improvement etc., all should be contained within the scope of the invention.

Claims (6)

1. a kind of system detection method, which is characterized in that it includes the following steps:
At least one resource ginseng when obtaining the target application of destination OS operation to be measured in real time or carrying out object run Number;
Within a preset period of time, parameter value-time data of each resource parameters at least one resource parameters are obtained Point, it is bent to form first according to parameter value-time graph a of each resource parameters of the parameter value-time data point-rendering Line group;
The second curve group of reference operation system is obtained, the second curve group includes a plurality of parameter value-time graph b, each Parameter value-time graph b corresponds to a kind of resource parameters;
The parameter value for belonging to same resource parameters-time graph a and parameter value-time graph b are plotted in the same coordinate system In, if the parameter value-time graph a of same resource parameters is with the parameter value-, there are when at least one by time graph b Between data point, the difference value both in the time data point exceeds the first preset threshold range, it is determined that the object run System exception.
2. system according to claim 1 test method, which is characterized in that each resource is joined in the first curve group Several parameter values-time graph a is formed by whole parameter values-time data point-rendering of each resource parameters, Huo Zheyou Each resource parameters is formed in parameter value-time data point-rendering of default material time point.
3. system detection method according to claim 1 or 2, which is characterized in that the determination destination OS Abnormal step includes:
It determines target resource parameter, belongs to the parameter value-time graph a and the parameter value-of the target resource parameter For time graph b there are at least one time data point, the difference value both in the time data point exceeds the first preset threshold Range;
Determine that application module relevant to the target resource parameter exists abnormal in the destination OS.
4. a kind of mobile terminal, characterized in that it comprises:
First resource parameter acquisition module, for obtaining the target application of destination OS operation to be measured in real time or carrying out mesh At least one resource parameters when mark operation;
First curve group drafting module, within a preset period of time, obtaining each money at least one resource parameters The parameter value of source parameter-time data point, according to the parameter of each resource parameters of the parameter value-time data point-rendering Value-time graph a, to form the first curve group;
Second curve group obtains module, and for obtaining the second curve group of reference operation system, the second curve group includes more Parameter value-time graph b, each parameter value-time graph b correspond to a kind of resource parameters;
First abnormal determining module, for parameter value-time graph a and the parameter value-time of same resource parameters will to be belonged to Curve b is plotted in the same coordinate system, if the parameter value-time graph a of same resource parameters and it is described parameter value-when For half interval contour b there are at least one time data point, the difference value both in the time data point exceeds the first preset threshold model It encloses, it is determined that the destination OS is abnormal.
5. mobile terminal according to claim 4, which is characterized in that each resource parameters in the first curve group Parameter value-time graph a is formed by whole parameter values-time data point-rendering of each resource parameters, or by each Kind resource parameters are formed in parameter value-time data point-rendering of default material time point.
6. mobile terminal according to claim 4 or 5, which is characterized in that the first abnormal determining module includes:
First object resource parameters determination unit belongs to the described of the target resource parameter for determining target resource parameter Parameter value-time graph a and the parameter value-time graph b are there are at least one time data point, in the time data point The difference value of the two exceeds the first preset threshold range;
First abnormal determination unit, it is relevant to the target resource parameter using mould in the destination OS for determining Block exists abnormal.
CN201610931494.4A 2016-10-31 2016-10-31 System detection method and mobile terminal Active CN106547693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610931494.4A CN106547693B (en) 2016-10-31 2016-10-31 System detection method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610931494.4A CN106547693B (en) 2016-10-31 2016-10-31 System detection method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106547693A CN106547693A (en) 2017-03-29
CN106547693B true CN106547693B (en) 2019-06-04

Family

ID=58392486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610931494.4A Active CN106547693B (en) 2016-10-31 2016-10-31 System detection method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106547693B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241482A (en) * 2018-08-28 2019-01-18 优视科技新加坡有限公司 Determine that altering event issues successful method and device thereof
CN116627847B (en) * 2023-07-21 2023-10-10 山东云科汉威软件有限公司 Browser compatibility testing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997925A (en) * 2010-11-22 2011-03-30 北京亮点时间科技有限公司 Server monitoring method with early warning function and system thereof
CN102184228A (en) * 2011-05-11 2011-09-14 武汉虹信通信技术有限责任公司 Map data processing method in road test system and device thereof
CN105163196A (en) * 2015-06-19 2015-12-16 美国掌赢信息科技有限公司 Real-time video coding method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284212B2 (en) * 2004-07-16 2007-10-16 Texas Instruments Incorporated Minimizing computational complexity in cell-level noise characterization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997925A (en) * 2010-11-22 2011-03-30 北京亮点时间科技有限公司 Server monitoring method with early warning function and system thereof
CN102184228A (en) * 2011-05-11 2011-09-14 武汉虹信通信技术有限责任公司 Map data processing method in road test system and device thereof
CN105163196A (en) * 2015-06-19 2015-12-16 美国掌赢信息科技有限公司 Real-time video coding method and electronic equipment

Also Published As

Publication number Publication date
CN106547693A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
US9940187B2 (en) Nexus determination in a computing device
CN105045819B (en) The model training method and device of a kind of training data
CN108268366B (en) Test case execution method and device
CN104237789B (en) The method and device that battery life is estimated
CN106547693B (en) System detection method and mobile terminal
CN110457175B (en) Service data processing method and device, electronic equipment and medium
CN107948744A (en) Interface detection method, interface detection device and computer-readable recording medium
CN110471821A (en) Abnormal alteration detection method, server and computer readable storage medium
US8832839B2 (en) Assessing system performance impact of security attacks
CN109684302A (en) Data predication method, device, equipment and computer readable storage medium
CN112816875A (en) Electric vehicle battery cloud management system, method, medium and cloud server
CN105577879A (en) Address book management method and mobile terminal
CN112148559A (en) Mobile APP power consumption test method, device and system, acquisition end and test end
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN109992408B (en) Resource allocation method, device, electronic equipment and storage medium
CN109376051A (en) Detect the method and terminal device of mobile device application program power consumption
CN109697155A (en) IT system performance estimating method, device, equipment and readable storage medium storing program for executing
CN108920326A (en) Determine system time-consuming abnormal method, apparatus and electronic equipment
CN112202951A (en) Mobile phone compatibility testing method and related device
CN104462116A (en) Data selecting method and device
CN106934009A (en) One kind application arrangement method, device and computing device
CN115525394A (en) Method and device for adjusting number of containers
CN109597744A (en) Data unusual fluctuation analysis method and device
CN107463416A (en) A kind of application management method, application program management device and intelligent terminal
US9214823B1 (en) Correlating operational states and battery usage of devices to extend battery duration

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
GR01 Patent grant
GR01 Patent grant