CN106547693A - System detection method and mobile terminal - Google Patents

System detection method and mobile terminal Download PDF

Info

Publication number
CN106547693A
CN106547693A CN201610931494.4A CN201610931494A CN106547693A CN 106547693 A CN106547693 A CN 106547693A CN 201610931494 A CN201610931494 A CN 201610931494A CN 106547693 A CN106547693 A CN 106547693A
Authority
CN
China
Prior art keywords
parameter
parameter value
resource parameters
resource
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610931494.4A
Other languages
Chinese (zh)
Other versions
CN106547693B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of system detection method and mobile terminal.Wherein, the system detection method includes:At least one resource parameters when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run;In preset time period, the parameter value time data point of each resource parameters at least one resource parameters is obtained, according to the 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 time graph a and parameter value time graph b that belong to same resource parameters are plotted in the same coordinate system, if there is 1 time data point in the parameter value time graph a of same resource parameters and parameter value time graph b, on time data point, both difference values exceed the first preset threshold range, it is determined that destination OS exception.

Description

System detection method and mobile terminal
Technical field
The present invention relates to system test technical field, more particularly to a kind of system detection method and mobile terminal.
Background technology
With developing rapidly for electronic communication, such as mobile phone, panel computer (English full name:Portable Android Device, English abbreviation:) etc. Pad mobile terminal more and more application into daily life.Mobile terminal operation system System, particularly Android(ARIXTRA)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 Semen setariae, the EMUI of Huawei, the Flyme OS of Meizu, the Color OS of OPPO etc., in order to meet user's The function of demand and release differentiation, shows one's talent from terminal producer, and Ge Jia manufacturers also Jing often issues the follow-up of operating system Update and revision.
At present, test and checking of each company for the various iteration versions before the new operating system released, or Based on the comprehensive careful test of links, the comparison of this method test is comprehensive, but the process is extremely complex and loaded down with trivial details, Cycle is very long, needs to expend very many human resourcess and time cost.
But, release of each manufacturer to new operating system at present is often raced against time, to come out first in sale battlefield, Therefore, existing test and proof scheme to operating system cannot meet actual demand on time and cost.
The content of the invention
It is an object of the invention to provide a kind of system detection method, with quickly test and the operation of checking more redaction The operating system of system or revision.Additionally, the present invention also aims to providing a kind of mobile terminal for realizing the method.
In order to solve the above problems, the invention provides a kind of system detection method, which comprises the steps:
At least one money when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run Source parameter;
In preset time period, the parameter value-time of each resource parameters at least one resource parameters is obtained Data point, according to the 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;
Parameter value-time graph a and parameter value-time graph b that belong to same resource parameters are plotted in into same seat In mark system, if the parameter value-time graph a of same resource parameters has at least one with the parameter value-time graph b Individual time data point, on the time data point, both difference values exceed the first preset threshold range, it is determined that the target Operating system exception.
As a further improvement on the present invention, in the first curve group, the parameter value-time of each resource parameters is bent Line a is formed by the 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 is formed.
As a further improvement on the present invention, the step for determining that the destination OS is abnormal includes:
Determine target resource parameter, belong to the parameter value-time graph a and the parameter of the target resource parameter There is 1 time data point in value-time graph b, on the time data point, both difference values are beyond the first default threshold Value scope;
In determining the destination OS there is exception in the application module related to the target resource parameter.
In order to solve the above problems, present invention also offers a kind of mobile terminal, which includes:
First resource parameter acquisition module, for obtaining the intended application of destination OS operation to be measured in real time or entering At least one resource parameters during row object run;
First curve group drafting module, it is each at least one resource parameters for, in preset time period, obtaining Parameter value-time data the point of kind of 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 acquisition module, for obtaining the second curve group of reference operation system, the second curve group bag Include a plurality of parameter value-time graph b;
First abnormal determining module, for will belong to the parameter value-time graph a and parameter value of same resource parameters- Time graph b is plotted in the same coordinate system, if the parameter value-time graph a of same resource parameters and the parameter There is 1 time data point in value-time graph b, on the time data point, both difference values are beyond the first default threshold Value scope, it is determined that the destination OS exception.
As a further improvement on the present invention, in the first curve group, the parameter value-time of each resource parameters is bent Line a is formed by the 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 is formed.
As a further improvement on the present invention, the described first abnormal determining module includes:
First object resource parameters determining unit, for determining target resource parameter, belongs to the target resource parameter There is 1 time data point, the time data with the parameter value-time graph b in the parameter value-time graph a On point, both difference values exceed the first preset threshold range;
First abnormal determining unit, for determining related to the target resource parameter in the destination OS answering Exist with module abnormal.
In order to solve the above problems, present invention also offers a kind of system detection method, which comprises the steps:
At least one money when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run Source parameter;
In preset time period, all parameters of each resource parameters at least one resource parameters are obtained Value, each one second preset threshold range of the resource parameters correspondence;
Statistic is obtained according to all parameter values and default statistics policy calculation of each resource parameters, so that each Plant one statistic of the resource parameters correspondence;
If the statistic that presence belongs to same resource parameters exceeds corresponding second preset threshold range, it is determined that institute State destination OS exception.
As a further improvement on 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 on the present invention, the step for determining that the destination OS is abnormal, including:
Determine target resource parameter, statistic corresponding with the target resource parameter beyond with the target resource join Corresponding second preset threshold range of number;
In determining the destination OS there is exception in the application module related to the target resource parameter.
In order to solve the above problems, present invention also offers a kind of mobile terminal, which includes:
Secondary resource parameter acquisition module, for obtaining the intended application of destination OS operation to be measured in real time or entering At least one resource parameters during row object run;
Parameter value acquisition module, for, in preset time period, obtaining each institute at least one resource parameters All parameter values of resource parameters are stated, each one second preset threshold range of the resource parameters correspondence;
Statistic computing module, for all parameter values according to each resource parameters and default statistics policy calculation Statistic is obtained, so that each one described statistic of the resource parameters correspondence;
Second abnormal determining module, if exceeding corresponding second for there is the statistic for belonging to same resource parameters Preset threshold range, it is determined that the destination OS exception.
As a further improvement on 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 on the present invention, the described second abnormal determining module includes:
Second target resource parameter determination unit, it is for determining target resource parameter, corresponding with the target resource parameter Statistic beyond the second preset threshold range corresponding with the target resource parameter;
Second abnormal determining unit, for determining related to the target resource parameter in the destination OS answering 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 Quick test and checking destination OS(I.e.:Renewal or the operating system of revision)It is whether abnormal, save manpower money Source and time cost, shorten test period and accelerate development rate.Additionally, being easy to manufacturer quickly to release test or verify Destination OS speed afterwards, improves the competitiveness of manufacturer, and is easy to user quickly using the mesh after test or checking Mark operating system, improves user experience.
Description of the drawings
Fig. 1 is the schematic flow sheet of the first embodiment of present system method of testing.
Fig. 2 is a kind of coordinate schematic diagram of parameter value of the present invention-embodiments of time graph a.
Schematic flow sheets of the Fig. 3 for present system second embodiment of method of testing.
Fig. 4 is the high-level schematic functional block diagram of the first embodiment of mobile terminal of the present invention.
Fig. 5 is the high-level schematic functional block diagram of second embodiment of mobile terminal of the present invention.
Fig. 6 is the schematic flow sheet of the third embodiment of present system method of testing.
Schematic flow sheets of the Fig. 7 for the 4th kind of embodiment of present system method of testing.
Fig. 8 is the high-level schematic functional block diagram of the third embodiment of mobile terminal of the present invention.
Fig. 9 is the high-level schematic functional block diagram of 4th kind of embodiment of mobile terminal of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used to limit the present invention.
Fig. 1 illustrates a kind of embodiment of present system method of testing.In the present embodiment, the system detection method bag Include following steps:
Step S1, when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run at least A kind of resource parameters.
Specifically, by the form of bottom layer driving exposed interface, can be obtained in real time by activation result by upper procedure Various resource parameters during system operation, resource parameters can include CPU usage, cpu load, and CPU opens check figure, CPU Frequency, GPU load, cell output current, disk read-write load, EMS memory occupation value, peripheral hardware open number, file handle open number with At least one of and other NM system resource parameters.
It should be noted that destination OS in the present embodiment can for system version ceaselessly change code or Increase New function carry out evolution iteration Edition operating system, or other carry out the operating system of version test.
Wherein, intended application can be that talk application, note application, Video Applications, contact application, network application etc. are each Application in mobile terminal is planted, object run can be switch bluetooth, switch the operation of the peripheral hardwares such as Wi-Fi.
Step S2, in preset time period, obtains the parameter of each resource parameters at least one resource parameters Value-time data point, according to the parameter value-time graph a of each resource parameters of the parameter value-time data point-rendering, To form the first curve group.
Specifically, as different resource parameter has different parameter value-time graph a, so, if resource parameters only have When a kind of, the actual just only one parameter value-time graph a of the first curve group.
Additionally, in order to the numerical value of the parameter value-time graph a for obtaining is more accurate, increasing the accuracy of test, above-mentioned On the basis of embodiment, in other embodiment, the parameter value of each resource parameters-time graph a in the first curve group It is to be formed by the whole parameter values-time data point-rendering of each resource parameters.
Additionally, the acquisition speed in order to accelerate parameter value-time graph a, so as to further speed up test speed, above-mentioned On the basis of embodiment, in other embodiment, by each resource parameters preset critical time point parameter value-time data Point-rendering is formed.For technical scheme 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 through comprehensive careful test, the cycle is very long, and index is also a lot, most Confirm that system and application are all normal afterwards.
Step S4, the parameter value-time graph a and parameter value-time graph b that belong to same resource parameters are plotted in In the same coordinate system, if the parameter value-time graph a of same resource parameters is present with the parameter value-time graph b 1 time data point, on the time data point, both difference values 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 of same resource parameters will be belonged to It is plotted in the same coordinate system, i.e. operational objective application or when carrying out object run, both test opening time data points one Cause, and both test end time data points are consistent.
Additionally, the parameter value on parameter value-time graph a is possible to the parameter value more than parameter value-time graph b, ginseng Parameter value on numerical value-time graph a is also possible to the parameter value less than parameter value-time graph b, therefore, difference value both may be used Being an integer value, it is also possible to negative value.Therefore, the first preset threshold range has a negative value end points, an integer Value end points.For example:[-5,5].
The present embodiment is realized quick test and is verified by comparing parameter value-time graph a and parameter value-time graph b Destination OS(I.e.:Renewal or the operating system of revision)It is whether abnormal, human resourcess and time cost are saved, is contracted Short test period and accelerate development rate.Additionally, the object run system after being easy to manufacturer quickly to release test or verify System speed, improves the competitiveness of manufacturer, and is easy to user quickly using the destination OS after test or checking, lifted User experience.
During the system detection method of the present invention is used for the use of mobile terminal, need tentatively true according to resource parameters Recognize abnormal application or operate.Therefore, on the basis of above-described embodiment, in other embodiment, referring to Fig. 3, step S4, also include:
Step S41, determines target resource parameter, belong to the parameter value-time graph a of the target resource parameter with There is 1 time data point in the parameter value-time graph b, on the time data point, both difference values are beyond the One preset threshold range.
Step S42, determines in the destination OS that the application module related to the target resource parameter is present different Often.
Specifically, the parameter value-time graph a and ginseng of CPU usage when resource parameters include CPU usage, are belonged to The difference value of numerical value-time graph b exceeds the first preset threshold range, then show that the code of new modification has excessive occupancy and calculates In the situation of resource, such as code, the time complexity of algorithm is too high or the problem of some endless loops etc occurs.
When resource parameters include GPU occupancies, belong to GPU occupancies parameter value-time graph a and parameter value-when The difference value of half interval contour b exceeds the first preset threshold range, then show drawing, and calling for the api such as animation there may be excessively With or error problem.
When resource parameters include memory usage(Or EMS memory occupation value)When, 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 deposited in RAM leakage or code internally.
When resource parameters include that disk read-write is loaded, belong to the parameter value-time graph a and parameter of disk read-write load The difference value of value-time graph b exceeds the first preset threshold range, then show operation of the possible application to data base or file Exist abnormal.
When resource parameters include the file handle number opened, the parameter value-time for belonging to the file handle number of opening is bent The difference value of line a and parameter value-time graph b exceeds the first preset threshold range, then show that program is not released after opening file Put, it is easy to cause system to be collapsed sometimes.It can in addition contain include that cell output current, cpu frequency, peripheral hardware open number Deng the comparison of curve.
The present embodiment, can be tentatively fixed according to these resource parameters when a certain kind or multiple resources abnormal parameters is tested out The abnormal application in position or abnormal operation, reduce the follow-up accurate test scope for confirming abnormity point, so as to accelerate follow-up exception Test speed, improves abnormality processing speed.
Additionally, the present embodiment by resource parameters tested it is critical that it can check erroneous ideas at the outset, Ke Yicong Tiny part finds the possibility of great risk.Because many system problems are that problem will not occur when tester tests , only under some extreme conditions, the accumulation of various factors can just cause the generation of some probability sex chromosome mosaicisms.Specifically, such as Read-write of the fruit contact person to data base is excessively frequent, is unconspicuous in the case where contact person lacks, more than contact person, meeting Sensory system is somewhat slow, if at this time and playing played, system resource is not enough, adds and is warm, intelligent temperature control limit The performance of system is made, the problem of system interim card has now just occurred, it has been contact person then to need finally can just find step by step Read-write data base has abnormal problem.If but carry out system resource parameters monitoring, beta version out after, it becomes possible to Find that beta version loads this part in disk read-write and has one significantly to rise at once, it is possible to orient this place Code is problematic, and other indexs are in the same manner.
Fig. 4 illustrates a kind of embodiment of mobile terminal of the present invention.In the present embodiment, the mobile terminal includes the first money Source parameter acquisition module 10, the first curve group drafting module 11, the second curve group acquisition 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 at least one resource parameters when carrying out object run;First curve group drafting module 11, in preset time period It is interior, the 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 value-time data point-rendering each resource parameters, to form the first curve group;Second curve group Acquisition module 12, 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 will belong to the parameter value-time graph a and parameter value of same resource parameters- Time graph b is plotted in the same coordinate system, if the parameter value-time graph a of same resource parameters and the parameter There is 1 time data point in value-time graph b, on the time data point, both difference values are beyond the first default threshold Value scope, it is determined that the destination OS exception.
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 the point-rendering for planting resource parameters is formed, or by each resource parameters in the preset critical time Parameter value-time data the point-rendering of point is formed.
On the basis of above-described embodiment, in other embodiment, referring to Fig. 5, the first abnormal determining module 13 includes the One target resource parameter determination unit 131 and the first abnormal determining unit 132.
First object resource parameters determining unit 131, for determining target resource parameter, belongs to the target resource parameter The parameter value-time graph a and the parameter value-time graph b there is 1 time data point, the time number On strong point, both difference values exceed the first preset threshold range;First abnormal determining unit 132, for determining the target behaviour In making system there is exception in the application module related to the target resource parameter.
The other details of technical scheme are realized with regard to each module in above-mentioned two embodiment mobile terminal, above-mentioned reality is can be found in The description in the system detection method in example is applied, here is omitted.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Fig. 6 illustrates a kind of embodiment of present system method of testing.In the present embodiment, the system detection method bag Include following steps:
Step S10, when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run extremely A kind of few resource parameters.
Specifically, by the form of bottom layer driving exposed interface, can be obtained in real time by activation result by upper procedure Various resource parameters during system operation, resource parameters can include CPU usage, cpu load, and CPU opens check figure, CPU Frequency, GPU load, cell output current, disk read-write load, EMS memory occupation value, peripheral hardware open number, file handle open number with At least one of and other NM system resource parameters.
It should be noted that destination OS in the present embodiment can for system version ceaselessly change code or Increase New function carry out evolution iteration Edition operating system, or other carry out the operating system of version test.
Wherein, intended application can be that talk application, note application, Video Applications, contact application, network application etc. are each Application in mobile terminal is planted, object run can be switch bluetooth, switch the operation of the peripheral hardwares such as Wi-Fi.
Step S11, in preset time period, each resource parameters in acquisition at least one resource parameters All parameter values, each one second preset threshold range of the resource parameters correspondence.
Step S12, obtains statistic according to all parameter values and default statistics policy calculation of each resource parameters, So that each one described statistic of the resource parameters correspondence.
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, if there is the statistic for belonging to same resource parameters beyond corresponding second preset threshold range, Then determine the destination OS exception.
The present invention realizes quick test and verifies object run system by comparing statistic and the second preset threshold range System(I.e.:Renewal or the operating system of revision)It is whether abnormal, human resourcess and time cost are saved, test week is shortened Phase and accelerate development rate.Additionally, the destination OS speed after being easy to manufacturer quickly to release test or verify, is lifted The competitiveness of manufacturer, and it is easy to destination OS of the user quickly using test or after verifying, improve Consumer's Experience Degree.Additionally, the present embodiment is only needed to according to default statistics policy calculation statistic, operation is easily achieved, and has widened this The range of application of method of testing.
During the system detection method of the present invention is used for the use of mobile terminal, need tentatively true according to resource parameters Recognize abnormal application or operate.Therefore, on the basis of above-described embodiment, in other embodiment, referring to Fig. 7, step S13, also include:
Step S131, determines target resource parameter, statistic corresponding with the target resource parameter beyond with it is described Corresponding second preset threshold range of target resource parameter;
Step S132, determines in the destination OS that the application module related to the target resource parameter is present different Often.
Specifically, when resource parameters are CPU usage, the parameter value-time graph a and parameter of CPU usage are belonged to The difference value of value-time graph b exceeds the first preset threshold range, then show that the code of new modification has excessive occupancy and calculates money In the situation in source, such as code, the time complexity of algorithm is too high or the problem of some endless loops etc occurs.
When resource parameters are GPU occupancies, belong to the parameter value-time graph a and parameter value of GPU occupancies-time bent The difference value of line b exceeds the first preset threshold range, then show drawing, the calling of the api such as animation there may be abuse or The problem of person's error.
When resource parameters are memory usage(Or EMS memory occupation value), belong to memory usage(Or EMS memory occupation value)Ginseng The difference value of numerical value-time graph a and parameter value-time graph b exceeds the first preset threshold range, then show to there may be in Capable abuse is deposited into internally in depositing 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 show that operation of the possible application to data base or file is deposited In exception.
When resource parameters be open file handle number, belong to the file handle number of opening parameter value-time graph a and The difference value of parameter value-time graph b exceeds the first preset threshold range, then show that program is no after opening file and discharge, very It is easily caused system to collapse sometimes.It can in addition contain include that cell output current, cpu frequency, peripheral hardware open the songs such as number The comparison of line.
The present embodiment, can be tentatively fixed according to these resource parameters when a certain kind or multiple resources abnormal parameters is tested out The abnormal application in position or abnormal operation, reduce the follow-up accurate test scope for confirming abnormity point, so as to accelerate follow-up exception Test speed, improves abnormality processing speed.
Additionally, the present embodiment by resource parameters tested it is critical that it can check erroneous ideas at the outset, Ke Yicong Tiny part finds the possibility of great risk.Because many system problems are that problem will not occur when tester tests , only under some extreme conditions, the accumulation of various factors can just cause the generation of some probability sex chromosome mosaicisms.Specifically, such as Read-write of the fruit contact person to data base is excessively frequent, is unconspicuous in the case where contact person lacks, more than contact person, meeting Sensory system is somewhat slow, if at this time and playing played, system resource is not enough, adds and is warm, intelligent temperature control limit The performance of system is made, the problem of system interim card has now just occurred, it has been contact person then to need finally can just find step by step Read-write data base has abnormal problem.If but carry out system resource parameters monitoring, beta version out after, it becomes possible to Find that beta version loads this part in disk read-write and has one significantly to rise at once, it is possible to orient this place Code is problematic, and other indexs are in the same manner.
Fig. 8 illustrates a kind of embodiment of mobile terminal of the present invention.In the present embodiment, the mobile terminal includes the second money Source parameter acquisition module 20, parameter value acquisition 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 at least one resource parameters when carrying out object run;Parameter value acquisition module 21, for, in preset time period, obtaining All parameter values of each resource parameters at least one resource parameters are taken, each described resource parameters correspondence One the second preset threshold range;Statistic computing module 22, for all parameter values according to each resource parameters and Default statistics policy calculation obtains statistic, so that each one described statistic of the resource parameters correspondence;Second Abnormal determining module 23, if exceeding corresponding second predetermined threshold value model for there is the statistic for belonging to same resource parameters Enclose, it is determined that the destination OS exception.
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 embodiment, the described second abnormal determining module 23 includes that the second target is provided Source parameter determination unit 231 and the second abnormal determining unit 232.
Second target resource parameter determination unit 231, for determining target resource parameter, with the target resource parameter pair The statistic answered is beyond the second preset threshold range corresponding with the target resource parameter;Second abnormal determining unit 232, For determining that it is abnormal that application module related to the target resource parameter in the destination OS is present.
The other details of technical scheme are realized with regard to each module in aforementioned four embodiment mobile terminal, above-mentioned reality is can be found in The description in the system detection method in example is applied, here is omitted.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Specific embodiment to inventing has been described in detail above, but which is only used as example, and the present invention is not intended to limit With specific embodiments described above.For a person skilled in the art, any equivalent modifications carried out by the invention Or substitute also all among scope of the invention, therefore, the equalization made under without departing from the spirit and principles in the present invention scope Conversion and modification, improvement etc., should all cover within the scope of the invention.

Claims (12)

1. a kind of system detection method, it is characterised in which comprises the steps:
At least one resource ginseng when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run Number;
In preset time period, the parameter value-time data of each resource parameters at least one resource parameters is obtained Point, it is according to the parameter value-time graph a of each resource parameters of the parameter value-time data point-rendering, bent to form first 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;
Parameter value-time graph a and parameter value-time graph b that belong to same resource parameters are plotted in into the same coordinate system In, if the parameter value-time graph a of same resource parameters has at least one with the parameter value-time graph b Between data point, on the time data point both difference value exceed the first preset threshold range, it is determined that the object run System exception.
2. system detection method according to claim 1, it is characterised in that each resource is joined in the first curve group Several parameter values-time graph a is formed by the whole parameter values-time data point-rendering of each resource parameters, Huo Zheyou Each resource parameters is formed in the parameter value-time data point-rendering of preset critical time point.
3. system detection method according to claim 1 and 2, it is characterised in that the determination destination OS Abnormal step includes:
Determine target resource parameter, belong to the parameter value-time graph a of the target resource parameter and the parameter value- There is 1 time data point in time graph b, on the time data point, both difference values exceed the first predetermined threshold value Scope;
In determining the destination OS there is exception in the application module related to the target resource parameter.
4. a kind of mobile terminal, it is characterised in which includes:
First resource parameter acquisition module, for obtaining the intended application of destination OS operation to be measured in real time or carrying out mesh At least one resource parameters during mark operation;
First curve group drafting module, in preset time period, 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 acquisition module, for obtaining the second curve group of reference operation system, the second curve group includes many Bar parameter value-time graph b;
First abnormal determining module, for parameter value-time graph a and the parameter value-time of same resource parameters will be belonged to Curve b is plotted in the same coordinate system, if the parameter value-time graph a of same resource parameters with it is described parameter value-when There is 1 time data point in half interval contour b, on the time data point, both difference values exceed the first predetermined threshold value model Enclose, it is determined that the destination OS exception.
5. mobile terminal according to claim 4, it is characterised in that each resource parameters in the first curve group Parameter value-time graph a is formed by the whole parameter values-time data point-rendering of each resource parameters, or by each Plant resource parameters to form in the parameter value-time data point-rendering of preset critical time point.
6. the mobile terminal according to claim 4 or 5, it is characterised in that the described first abnormal determining module includes:
First object resource parameters determining unit, for determining target resource parameter, belongs to the described of the target resource parameter There is 1 time data point with the parameter value-time graph b in parameter value-time graph a, on the time data point Both difference values exceed the first preset threshold range;
First abnormal determining unit, for determining application mould related to the target resource parameter in the destination OS Block exists abnormal.
7. a kind of system detection method, it is characterised in which comprises the steps:
At least one resource ginseng when obtaining the intended application of destination OS operation to be measured in real time or carrying out object run Number;
In preset time period, all parameter values of each resource parameters at least one resource parameters are obtained, Each one second preset threshold range of the resource parameters correspondence;
Statistic is obtained according to all parameter values and default statistics policy calculation of each resource parameters, so that each institute State resource parameters one statistic of correspondence;
If the statistic that presence belongs to same resource parameters exceeds corresponding second preset threshold range, it is determined that the mesh Mark operating system exception.
8. system detection method according to claim 7, it is characterised in that the default statistics strategy includes:Meansigma methodss Statistics strategy, unbiased variance statistics strategy, statistics of extremes strategy, median statistics strategy, mode statistics strategy or coefficient of variation system Stratagem is omited.
9. the system detection method according to claim 7 or 8, it is characterised in that the determination destination OS Abnormal step, including:
Determine target resource parameter, statistic corresponding with the target resource parameter beyond with the target resource parameter pair The second preset threshold range answered;
In determining the destination OS there is exception in the application module related to the target resource parameter.
10. a kind of mobile terminal, it is characterised in which includes:
Secondary resource parameter acquisition module, for obtaining the intended application of destination OS operation to be measured in real time or carrying out mesh At least one resource parameters during mark operation;
Parameter value acquisition module, for, in preset time period, obtaining each described money at least one resource parameters All parameter values of source parameter, each one second preset threshold range of the resource parameters correspondence;
Statistic computing module, for being obtained according to all parameter values of each resource parameters and default statistics policy calculation Statistic, so that each one described statistic of the resource parameters correspondence;
Second abnormal determining module, if default beyond corresponding second for there is the statistic for belonging to same resource parameters Threshold range, it is determined that the destination OS exception.
11. mobile terminals according to claim 10, it is characterised in that:The default statistics strategy includes:Average primary system Stratagem summary, unbiased variance statistics strategy, statistics of extremes strategy, median statistics strategy, mode statistics strategy or coefficient of variation statistics Strategy.
12. mobile terminals according to claim 11, it is characterised in that:Described second abnormal determining module includes:
Second target resource parameter determination unit, for determining target resource parameter, system corresponding with the target resource parameter Count value is beyond the second preset threshold range corresponding with the target resource parameter;
Second abnormal determining unit, for determining application mould related to the target resource parameter in the destination OS 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 true CN106547693A (en) 2017-03-29
CN106547693B 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)

Cited By (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
CN116627847A (en) * 2023-07-21 2023-08-22 山东云科汉威软件有限公司 Browser compatibility testing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015831A1 (en) * 2004-07-16 2006-01-19 Texas Instruments Incorporated Minimizing Computational Complexity in Cell-level Noise Characterization
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015831A1 (en) * 2004-07-16 2006-01-19 Texas Instruments Incorporated Minimizing Computational Complexity in Cell-level Noise Characterization
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

Cited By (4)

* 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
WO2020044090A1 (en) * 2018-08-28 2020-03-05 优视科技新加坡有限公司 Method and apparatus for determining change event publishing success
CN116627847A (en) * 2023-07-21 2023-08-22 山东云科汉威软件有限公司 Browser compatibility testing method and system
CN116627847B (en) * 2023-07-21 2023-10-10 山东云科汉威软件有限公司 Browser compatibility testing method and system

Also Published As

Publication number Publication date
CN106547693B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN105045713B (en) Data processing method and mobile terminal
CN108573355A (en) The method, apparatus and service server of operation are replaced after model modification
CN109474483A (en) A kind of detection method, detection device and the terminal device of unit exception situation
CN109242135A (en) A kind of model method for running, device and service server
CN106708517A (en) Software automatic upgrading test system and method
CN110046633B (en) Data quality detection method and device
CN107948744A (en) Interface detection method, interface detection device and computer-readable recording medium
CN108449313A (en) Electronic device, Internet service system method for prewarning risk and storage medium
CN109740630A (en) Method for processing abnormal data and device
CN106547693A (en) System detection method and mobile terminal
CN108051756A (en) Evaluation method, system and the storage medium of accumulator SOC
CN109459996A (en) Production line analogy method and device
CN107911741A (en) Free memory method for improving, smart television and computer-readable recording medium
CN109726108A (en) Front-end code test method, device, system and medium based on analogue data
CN116500458B (en) Power battery capacity evaluation method and device, vehicle and electronic device
CN108763051A (en) Electronic device, transaction software operation risk method for early warning and storage medium
CN115600992A (en) Project management method based on prediction algorithm
CN111950706A (en) Data processing method and device based on artificial intelligence, computer equipment and medium
CN115525394A (en) Method and device for adjusting number of containers
CN110533268A (en) A kind of risk control method, air control system and terminal device
CN106095609B (en) Walking data check, modification method and system
CN107610324B (en) Acquisition methods, device, terminal device and the storage medium of paper money case operating parameter
CN116720592A (en) Federal learning model training method and device, nonvolatile storage medium and electronic equipment
CN108006925A (en) Air-conditioning stress test method, computer installation, computer-readable recording medium
CN109472479A (en) A kind of method of MES product plan insertion simulation model

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