CN104021068B - Terminal device method for testing performance and device - Google Patents
Terminal device method for testing performance and device Download PDFInfo
- Publication number
- CN104021068B CN104021068B CN201410265258.4A CN201410265258A CN104021068B CN 104021068 B CN104021068 B CN 104021068B CN 201410265258 A CN201410265258 A CN 201410265258A CN 104021068 B CN104021068 B CN 104021068B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- exhibition scheme
- exhibition
- scheme
- parameter
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
A kind of terminal device method for testing performance, at least comprises the following steps:Record real time T and standard time T that the terminal device performs the first exhibition scheme0;According to the standard time T0And real time T, obtain and judge parameter, Δ;And according to the result of the judgement parameter, Δ, the exhibition scheme matched with present terminal equipment is extracted from exhibition scheme set, and be set to the acquiescence exhibition scheme of present terminal equipment.The present invention also provides a kind of terminal device device for detecting performance of the application above method, the terminal device device for detecting performance is by detecting the performance of the terminal device, and the exhibition scheme of matching is selected according to the performance of the terminal device, so that user is while vision physical examination is obtained, the performance of the terminal device is taken into account, Consumer's Experience is good.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of terminal device method for testing performance and device.
Background technology
At present, various terminal equipment, such as computer, smart mobile phone have become people's daily life, work and entertained
In indispensable pith.With the development of technology, the various hardware of terminal device, such as processor, internal memory, hard disk etc.
Performance is improved constantly, and its price is then more and more lower, thus user also gets over while processing speed and operation smooth degree is pursued
More to focus on the experience of vision.Therefore, the various application software in terminal device often add various magnificent move
Effect and gorgeous showing interface scheme are drawn, to attract the eye of user.
However, fractional hardware configures relatively low terminal device when running these softwares, because hardware performance configuration can not
Meet and require, then picture occur in runnable interface when may operationally state software plays not smooth, or even terminal device occurs
The problems such as interim card, deadlock, these problems reduce degree of recognition of the user to software product, and Consumer's Experience is not good.
The content of the invention
In view of the above-mentioned problems, it is an object of the invention to provide a kind of terminal device method for testing performance, passing through intelligent knowledge
The performance of not described terminal device, and the exhibition scheme for selecting to match according to the performance of the terminal device, so that user exists
While obtaining vision physical examination, the performance of the terminal device is taken into account, Consumer's Experience is good.
The present invention also provides a kind of terminal device device for detecting performance of the application above method.
In order to solve the above-mentioned technical problem, the invention provides a kind of terminal device method for testing performance, at least including such as
Lower step:
Record real time T and standard time T that the terminal device performs the first exhibition scheme0;
According to the standard time T0And real time T, obtain and judge parameter, Δ;And
According to the result of the judgement parameter, Δ, the displaying matched with present terminal equipment is extracted from exhibition scheme set
Scheme, and it is set to the acquiescence exhibition scheme of present terminal equipment.
Wherein, first exhibition scheme is contained in the exhibition scheme set, and the exhibition scheme set is included extremely
Few two different exhibition schemes.
Wherein, the standard time T0For the scheduled time needed for first exhibition scheme completes displaying.
Wherein, the acquisition judges parameter, Δ, including:
Calculate the real time T and the standard time T0Between difference;
Calculate the difference and the standard time T0Ratio Z;And
A default threshold value Y is subtracted with the ratio Z, the judgement parameter, Δ is obtained.
Wherein, the result according to the judgement parameter, Δ, is extracted and present terminal equipment from exhibition scheme set
The exhibition scheme of matching includes:By judging that the judgement parameter, Δ is more than 0 or less than or equal to 0, to select corresponding displaying side
Case.
Wherein, the result according to the judgement parameter, Δ, is extracted and present terminal equipment from exhibition scheme set
The exhibition scheme of matching includes:At least two different reference points are set and arrange the reference point from small to large, it is adjacent
Interval a, interval fallen into according to the judgement parameter, Δ, to select corresponding exhibition scheme is constituted between two reference points.
Wherein, in the result according to the judgement parameter, Δ, extract and set with present terminal from exhibition scheme set
The exhibition scheme of standby matching, and be set to before the acquiescence exhibition scheme of present terminal equipment, in addition to:
According to the real time T not measured in the same time, multiple judgement parameter, Δs are obtained.
Wherein, the result according to the judgement parameter, Δ, is extracted and present terminal equipment from exhibition scheme set
The exhibition scheme of matching includes:Number of times according to described multiple judgement parameter, Δs more than 0 or the number of times less than or equal to 0, to select
Select corresponding exhibition scheme.
Wherein, the result according to the judgement parameter, Δ, is extracted and present terminal equipment from exhibition scheme set
The exhibition scheme of matching includes:The interval number of times fallen into according to described multiple judgement parameter, Δs, to select corresponding displaying
Scheme.
Wherein, it is described after multiple judgement parameter, Δs according to the real time T not measured in the same time, are obtained, in addition to:
The statistics result for judging parameter, Δ.
Wherein, extract after the exhibition scheme matched with present terminal equipment, also wrap in the set from exhibition scheme
Include:
After the default time, performance detection is carried out to the terminal device again.
The present invention also provides a kind of terminal device device for detecting performance, including:
Background processing unit, for performing the first exhibition scheme on the backstage of the terminal device, and records described first
The real time T and standard time T of exhibition scheme displaying0;
Computing unit, for according to the real time T and standard time T0, calculate and judge parameter, Δ;
Setting unit, for the result according to the judgement parameter, Δ, is extracted and current whole from the exhibition scheme set
The exhibition scheme of end equipment matching, and it is set to the acquiescence exhibition scheme of present terminal equipment.
Wherein, first exhibition scheme is contained in the exhibition scheme set, and the exhibition scheme set is included extremely
Few two different exhibition schemes.
Wherein, the standard time T0For the scheduled time needed for first exhibition scheme completes displaying.
Wherein, the background processing unit includes:
First processing units, for handling first exhibition scheme and recording the reality that first exhibition scheme is run
Time T;
Second processing unit, for handling first exhibition scheme and recording the standard that first exhibition scheme is run
Time T0。
Wherein, the computing unit includes:
First computing unit, for calculating the real time T and the standard time T0Between difference;
Second computing unit, for calculating the difference and the standard time T0Ratio Z;And
3rd computing unit, subtracts the threshold value Y for presetting a threshold value Y, and with the ratio Z, obtains the judgement
Parameter, Δ.
Wherein, the terminal device device for detecting performance also includes memory cell, for storing the exhibition scheme.
Wherein, the terminal device device for detecting performance also includes statistic unit, for counting the judgement parameter, Δ
As a result.
Wherein, the setting unit includes:
Default unit, for presetting selection rule;And
Extraction unit, for extracting the exhibition scheme matched with present terminal equipment from the exhibition scheme set, and
It is set to the acquiescence exhibition scheme of the terminal device.
Wherein, the terminal device device for detecting performance also includes reset cell, current for resetting the terminal device
Exhibition scheme, and notify the background processing unit to recalculate and record the real time of first exhibition scheme displaying
T。
Terminal device method for testing performance and device provided in an embodiment of the present invention, by sentencing described in background process acquisition
Disconnected parameter, and according to the distribution situation of the judgement parameter, the performance to the terminal device is evaluated, and is selected and the end
The exhibition scheme of end equipment Performance Match, so that user takes into account the property of the terminal device while vision physical examination is obtained
Can, Consumer's Experience is good.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, the required accompanying drawing used in embodiment will be made below
Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment of the terminal device method for testing performance of the present invention.
Fig. 2 is the schematic flow sheet of the second embodiment of the terminal device method for testing performance of the present invention.
Fig. 3 is the structural representation of terminal device device for detecting performance provided in an embodiment of the present invention.
Fig. 4 is the structural representation of the background processing unit shown in Fig. 3.
Fig. 5 is the structural representation of the computing unit shown in Fig. 3.
Fig. 6 is the structural representation of the setting unit shown in Fig. 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of the first embodiment of the terminal device method for testing performance of the present invention,
The terminal device method for testing performance at least comprises the following steps:
S101, records real time T and standard time T that the terminal device performs the first exhibition scheme0。
In embodiments of the present invention, the terminal device can for intelligent television, smart mobile phone (such as android system mobile phone,
IOS mobile phones etc.), tablet personal computer, applause computer and mobile internet device (Mobile Internet Devices, MID)
Deng.The software can be application software, can include connection application software, such as Email, instant messaging etc. can also be wrapped
Business application software is included, such as mobile banking's service, stock market's tracking and transaction, file process and schedule planning etc. can also be wrapped
Include the application software of life style, such as antivirus software, terminal unit management software, ecommerce, bill payment, health prison
Survey, digital reading and social activity etc., can also include entertainment applications software, such as news, game, multimedia player, photo and
Video editor etc., the embodiment of the present invention is specifically not construed as limiting.
In embodiments of the present invention, the software installation is on the terminal device, and the software is in the terminal device
It is upper operation or carry out upgrade etc. operation when, often with corresponding showing interface, such as playing animation or ejection bubble, to carry
The visual experience of high user.Wherein, it is contemplated that the performance of different terminal devices, the software has preset an exhibition scheme collection
Close, at least include two kinds of exhibition schemes in the exhibition scheme set, such as the first exhibition scheme (showing interface of full special efficacy)
And second exhibition scheme (showing interface simplified).Wherein, first exhibition scheme by the form of full special efficacy at the end
Showing interface is carried out in end equipment, so that user obtains good visual experience and impression, second exhibition scheme is then only
Retain the partial information of first exhibition scheme, the frame number of such as animation of broadcasting per second is less, or only playback unit point animation frame
Number, to match the performance of the terminal device.It should be noted that the exhibition scheme set is according to the actual needs, may be used also
Comprising other exhibition schemes, such as the 3rd exhibition scheme (static displaying interface, for example only show most basic static images and
Any animation effect is not done) etc., the embodiment of the present invention is not especially limited.
In an embodiment of the present invention, there is a standard time T during the first exhibition scheme operation0, during the standard
Between T0For the scheduled time needed for first exhibition scheme completes displaying.Specifically, assuming to wrap in first exhibition scheme
The pictorial information of N frames is included, its predetermined broadcasting speed is broadcasting M frames picture per second (such as 24 frames of broadcasting per second), then the mark
T between punctual0=N/M.
In embodiments of the present invention, because the performance configuration of different terminal devices is different, such as image-capable
Or processor disposal ability etc., thus run on different terminal devices the time used in first exhibition scheme and also differ
Sample.The software first performs first exhibition scheme before carrying out showing interface on the backstage of the terminal device, and records
First exhibition scheme actually accomplishes the real time T needed for displaying in present terminal equipment.
S102, according to the standard time T0And real time T, obtain and judge parameter, Δ;
In an embodiment of the present invention, the software is according to the standard time T0With the real time T, one can be obtained
Judge parameter, Δ, the judgement parameter, Δ is used for the performance configuration for recognizing the terminal device.The acquisition judges parameter, Δ extremely
Comprise the following steps less:
First, the real time T and standard time T is calculated0Between difference;
Real time T and standard time T that the software passes through acquisition0, calculate the difference (T-T of the two0)。
Secondly, the difference and the standard time T are calculated0Ratio Z;
Wherein, the ratio Z=(T-T0)/T0。
Finally, a default threshold value Y is subtracted with the ratio Z, the judgement parameter, Δ is obtained.
In an embodiment of the present invention, the default threshold value Y, the threshold value Y of the software can be according to actual situation and need
Assignment is carried out, threshold value can be entered as 0,0.2,0.5,1 or other numerical value as described.Judgement parameter, Δ=the Z-Y is described soft
Part be more than according to the judgement parameter, Δ 0 or situation less than or equal to 0 detect the performance of the terminal device.For example, described
First exhibition scheme of software records is in real time T=5 second of running background, the standard time T0It is=4 seconds, described
Threshold value Y is set as 0.3, then described judgement parameter, Δ=[(5-4)/4] -0.3=-0.05<0.The backstage of software records as described
Actual run time T=6 seconds, and the standard time T0=4 seconds, the threshold value Y was set as 0.3, then the judgement parameter, Δ
=[(6-4)/4] -0.3=0.2>0.
S103, according to the result of the judgement parameter, Δ, extracts from exhibition scheme set and is matched with present terminal equipment
Exhibition scheme, and be set to the acquiescence exhibition scheme of present terminal equipment.
In an embodiment of the present invention, the software has preset the selection rule of exhibition scheme, the regular basis of selection
The distribution situation (judging that parameter, Δ is more than 0 or less than or equal to 0) of the result for judging parameter, Δ, from the exhibition scheme collection
The exhibition scheme matched with present terminal equipment is selected in conjunction.The selection rule can be defined as below:Judge ginseng when described
When number Δs are less than or equal to 0, then first exhibition scheme and is starting institute next time as the displaying interface of present terminal equipment
When stating software, showing interface is carried out in the way of full special efficacy.When the judgement parameter, Δ is more than 0, the second displaying side
Case and when starting the software next time, carries out interface exhibition as the displaying interface of present terminal equipment in the way of simplifying
Show.
It is understood that in other embodiments of the invention, the also predeterminable other selection rules of the software, such as
The software can set two reference points 0, B, and B>0, the reference point that the software is fallen into according to the judgement parameter, Δ is interval
And recorded.For example, be located at when the judgement parameter, Δ (- ∞, 0] interval, then the software select the first exhibition scheme
It is used as the displaying interface of present terminal equipment;Be located at when the judgement parameter, Δ (0, B] interval, then software selection second
Exhibition scheme as present terminal equipment displaying interface;Judge that parameter, Δ is located at (B ,+∞) interval when described, then the software
The 3rd exhibition scheme is selected as the displaying interface of present terminal equipment.Concretely, such as when taking B=0.5, if described sentence
When disconnected parameter, Δ is 0.3, then the second exhibition scheme is selected as the displaying interface of present terminal equipment, when the judgement parameter, Δ
For 0.8 when, then select the 3rd exhibition scheme as the displaying interface of present terminal equipment, remaining situation carries out class according to this
Push away, will not be repeated here.It should be noted that the quantity of the reference point can be multiple, said software can be marked off more
Many intervals, to carry out finer evaluation to the performance configuration of the terminal device.
Terminal device method for testing performance provided in an embodiment of the present invention, the software passes through after the terminal device
Platform operation obtains real time T and standard time T0, obtain the judgement parameter, Δ.According to the judgement parameter, Δ that measures and described
Judge the result of parameter, Δ, performance detection is carried out to the terminal device, to select corresponding exhibition scheme, so that user exists
While obtaining vision physical examination, the performance of the terminal device is taken into account, the phenomenons such as terminal device interim card or deadlock are prevented.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the second embodiment of the terminal device method for testing performance of the present invention,
The terminal device method for testing performance at least comprises the following steps:
S201, records real time T and standard time T that the terminal device performs the first exhibition scheme0;
In embodiments of the present invention, the terminal device can for intelligent television, smart mobile phone (such as android system mobile phone,
IOS mobile phones etc.), tablet personal computer, applause computer and mobile internet device (Mobile Internet Devices, MID)
Deng.The software is application software, can include connection application software, such as Email, instant messaging etc. can also include
The service of business application software, such as mobile banking, stock market are tracked and transaction, file process and schedule are planned etc., can also be included
The application software of life style, such as antivirus software, terminal unit management software, ecommerce, bill payment, health monitoring,
Digital reading and social activity etc., can also include entertainment applications software, such as news, game, multimedia player, photo and video
Editing machine etc., the embodiment of the present invention is specifically not construed as limiting.
In embodiments of the present invention, the software installation is on the terminal device, and the software is in the terminal device
It is upper operation or carry out upgrade etc. operation when, often with corresponding showing interface, such as playing animation or ejection bubble, to carry
The visual experience of high user.Wherein, it is contemplated that the performance of different terminal devices, the software has preset an exhibition scheme collection
Close, at least include two kinds of exhibition schemes in the exhibition scheme set, such as the first exhibition scheme (showing interface of full special efficacy)
And second exhibition scheme (showing interface simplified).Wherein, first exhibition scheme by the form of full special efficacy at the end
Showing interface is carried out in end equipment, so that user obtains good visual experience and impression, second exhibition scheme is then only
Retain the partial information of first exhibition scheme, the frame number of such as animation of broadcasting per second is less, or only playback unit point animation frame
Number, to match the performance of the terminal device.It should be noted that the exhibition scheme set is according to the actual needs, may be used also
Comprising other exhibition schemes, such as the 3rd exhibition scheme (static displaying interface, for example only show most basic static images and
Any animation effect is not done) etc., the embodiment of the present invention is not especially limited.
In an embodiment of the present invention, there is a standard time T during the first exhibition scheme operation0, during the standard
Between T0For the scheduled time needed for first exhibition scheme completes displaying.Specifically, assuming to wrap in first exhibition scheme
The pictorial information of N frames is included, its predetermined broadcasting speed is broadcasting M frames picture per second (such as 24 frames of broadcasting per second), then the mark
T between punctual0=N/M.
In embodiments of the present invention, because the performance of different terminal devices is different, such as image procossing performance or fortune
Row speed ability etc., thus different terminal devices is also different in the time used in operation first exhibition scheme.It is described
Software first performs first exhibition scheme on the backstage of the terminal device before carrying out showing interface with not visible state,
And record the real time T that first exhibition scheme completes displaying in present terminal equipment.
S202, according to the standard time T0And real time T, obtain and judge parameter, Δ;
In an embodiment of the present invention, the software is according to the standard time T0With the real time T, one can be obtained
Judge parameter, Δ, the judgement parameter, Δ is used for the performance for recognizing the terminal device.The acquisition judges that parameter, Δ is at least wrapped
Include following steps:
First, the real time T and standard time T is calculated0Between difference;
Real time T and standard time T that the software passes through acquisition0, calculate the difference (T-T of the two0)。
Secondly, the difference and the standard time T are calculated0Ratio Z.
Wherein, the ratio Z=(T-T0)/T0。
Finally, a default threshold value Y is subtracted with the ratio Z, the judgement parameter, Δ is obtained.
In an embodiment of the present invention, the default threshold value Y, the threshold value Y of the software can be according to actual situation and need
Assignment is carried out, 0,0.2,0.5,1 or other numerical value can be such as entered as.Judgement parameter, Δ=the Z-Y, the software is according to institute
State judge parameter, Δ be more than 0 or the situation less than or equal to 0 recognize the performance of the terminal device, the institute of software records as described
State real time T=5 second of first exhibition scheme in running background, and described standard time T0=4 seconds, the threshold value Y settings
For 0.3, then described judgement parameter, Δ=[(5-4)/4] -0.3=-0.05<0.As described during the backstage actual motion of software records
Between T=6 seconds, and described standard time T0=4 seconds, the threshold value Y was set as 0.3, then the judgement parameter, Δ=[(6-4)/
4] -0.3=0.2>0.
S203, according to real time T is not measured in the same time, obtains multiple judgement parameter, Δs.
In an embodiment of the present invention, described in running background of the software different at the time of in the terminal device
One exhibition scheme, to obtain multiple real time T, and obtains multiple judgement parameter, Δs, so as to more comprehensively judge exactly described
The performance of terminal device.As described software when each terminal device is started shooting in running background once first exhibition scheme,
And record corresponding real time T, or continuous after once starting shooting repeatedly first exhibition scheme and remember in running background
Corresponding real time T is recorded, or runs one time first exhibition at every predetermined time on the terminal device backstage after powering
Show scheme, and record the real time T of gained.Wherein, the software should ensure that in the first exhibition scheme described in running background
The terminal device is currently without the excessive software of unlatching or process, it is to avoid because the terminal device opens excessive software simultaneously
And influence the reliability of test result.
S204, counts the result for judging parameter, Δ.
In an embodiment of the present invention, the result for multiple judgement parameter, Δs that the software statistics are measured, as described in statistics
Judge parameter be less than 0 or the number of times more than or equal to 0 or the judgement parameter, Δ be located at some interval number of times etc..
S205, according to the result of the judgement parameter, Δ, extracts from exhibition scheme set and is matched with present terminal equipment
Exhibition scheme.
In an embodiment of the present invention, the software has preset the selection rule of exhibition scheme, and is joined according to above-mentioned judgement
The statistical result and selection rule of number Δ confirm the exhibition scheme matched with present terminal equipment.Specifically, the selection
Rule can carry out following definition:Exemplified by recording three and judge parameter, Δ 1, Δ 2, Δ 3, when the judgement of the software records is joined
Number Δs 1, Δ 2, Δ 3, which are respectively less than, is equal to 0, then the assessment of performance of the terminal device is " good " (or " one-level " by the software
Etc. respective identification), and select the displaying interface that the first exhibition scheme is present terminal equipment;When the judgement of the software records is joined
Number Δs 1, Δ 2, in Δ 3, there is one to judge that parameter is more than 0, and another two judges parameter less than or equal to 0, then the software is by institute
It is " general " respective identifications such as (or) " two grades " to state the assessment of performance of terminal device, and selects the second exhibition scheme to be present terminal
The displaying interface of equipment;It is described to judge the number of times that parameter is more than 0 when in the judgement parameter, Δ 1, Δ 2, Δ 3 of the software records
More than once, then the assessment of performance of the terminal device is " poor " respective identifications such as (or) " three-levels " by the software, and is selected
Select the displaying interface that the 3rd exhibition scheme is present terminal equipment.Therefore, according to the result of the judgement parameter, Δ, from displaying side
The exhibition scheme that is matched with present terminal equipment is extracted in case set so that user in runs software, can take into account performance with
Visual experience, prevents the phenomenons such as terminal device interim card or deadlock.
It is understood that in other embodiments of the invention, the also predeterminable other selection rules of the software, such as
When judging parameter, Δ 1, Δ 2, Δ 3 for have recorded three, it can determine that and judge that number of times of the parameter more than 0 is no more than when three
At 1 time, the performance level of the terminal device is " good ", when judging number of times of the parameter more than 0 for 2 times for three, the terminal
The performance of equipment is " general ", when these three judge that parameter is both greater than 0, and the performance of the terminal device is " poor ", and root
Corresponding exhibition scheme is selected according to the performance of the terminal device.
It is understood that in other embodiments of the invention, when the software carries out the judgement of terminal device grade, also
The judgement parameter, Δ of other number of times can be calculated, such as the number for judging parameter, Δ of calculating 5 times, 7 times, 10 times or other number of times, so
Afterwards according to the distribution situation and default selection rule of the judgement parameter, Δ, the performance to the terminal device is evaluated,
So as to select the exhibition scheme matched with present terminal equipment.
It is understood that in other embodiments of the invention, the performance rate of the terminal device can also be further
Subdivision, as can be by the assessment of performance of the terminal device " outstanding ", " good ", " " and " poor " etc., as long as meeting this
The method for planting data structure, within protection scope of the present invention, will not be repeated here.
It is understood that in other embodiments of the invention, the selection rule can also have other definition modes,
Software can set two reference points 0, B as described, and define B>0.The software according to it is described judgement parameter, Δ fall reference
Point is interval and is recorded, and to judge the performance of the terminal device, such as multiple judgement parameter, Δs for acquisition, sentences when described
Disconnected parameter, Δ is located at some interval number of times at most, such as fall into it is interval (- ∞, 0] number of times at most, then by the terminal device
Assessment of performance is " good ", when the judgement parameter, Δ fall into it is interval (0, B] number of times it is most, then by the property of the terminal device
" general " can be assessed as, when the judgement parameter, Δ falls into the number of times of interval (B ,+∞) at most, then by the terminal device etc.
Level is set to " poor ".Hereafter, the software selects the exhibition scheme of matching according to the performance of the terminal device.Need explanation
It is that the quantity of the reference point can be multiple, and said software can mark off more intervals, and to the terminal device
Performance carries out finer evaluation.
S206, after the default time, carries out performance detection to the terminal device again.
In an embodiment of the present invention, the software is after completing once to carry out performance detection to the terminal device, warp
The predetermined time is spent, such as 7 days, 10 days or after 1 month, assessment of performance can be carried out to the terminal device again, the software will
The judgements parameter and the real time T that measures of last time record are reset, and repeat step S201~S205, to obtain one group newly
Judge parameter, Δ, further according to default selection rule, adjust the exhibition scheme, it is ensured that user is carrying out terminal device hardware liter
After level, the visual experience of more high-quality can be obtained in time.
It is understood that in other embodiments of the invention, the software can also be set resets order, user manually
, can be by way of triggering be reset manually, to re-recognize the terminal device through hard after terminal device hardware upgrading is completed
Performance after part upgrading, with the exhibition scheme of software described in real-time update, obtains the visual experience of high-quality in time.
Terminal device method for testing performance provided in an embodiment of the present invention, the software passes through after the terminal device
Platform operation obtains real time T and standard time T0, obtain multiple judgement parameter, Δs.According to the multiple judgement parameter, Δs measured
Distribution situation and default selection rule, performance detection is carried out to the terminal device, to select corresponding exhibition scheme, so that
Make user while vision physical examination is obtained, take into account the performance of the terminal device, prevent terminal device interim card or deadlock
Etc. phenomenon.
Referring to Fig. 3, Fig. 3 is the structural representation of terminal device device for detecting performance provided in an embodiment of the present invention, institute
Stating terminal device device for detecting performance 100 includes:
Memory cell 10, for storing the exhibition scheme set.
In embodiments of the present invention, the terminal device device for detecting performance 100 presets an exhibition scheme set, the exhibition
Show and two kinds of different exhibition schemes have been comprised at least in scheme set, such as the first exhibition scheme (the displaying interface of full special efficacy) and the
Two exhibition schemes (the displaying interface simplified).It should be noted that the exhibition scheme set is according to the actual needs, it can also wrap
Containing other exhibition schemes, such as the 3rd exhibition scheme (static displaying interface, for example only show most basic static images without
Do any animation effect) etc..The memory cell 10 is used to store the exhibition scheme.
Background processing unit 20, for the exhibition scheme of running background first in the terminal device, and records described
The real time T and standard time T of one exhibition scheme displaying0。
Also referring to Fig. 4, in an embodiment of the present invention, the background processing unit 20 includes first processing units 22
And second processing unit 24, wherein, the first processing units 22 extract the first displaying side from the memory cell 10
Case, and in backstage execution first exhibition scheme of the terminal device, and record the first exhibition scheme completion displaying
Required real time T.The second processing unit 24 extracts the relevant information of first exhibition scheme, as described the first exhibition
Show picture frame number N and predetermined broadcasting frame number M per second that scheme is included, to obtain the standard time T of first exhibition scheme0
=N/M.
Computing unit 30, parameter, Δ is judged for calculating.
Please refer to fig. 5, in an embodiment of the present invention, the computing unit 30 is according to the background processing unit 20
The real time T and standard time T of acquisition0, calculate and obtain judging parameter, Δ.The computing unit 30 includes the first computing unit
32nd, the second computing unit 34 and the 3rd computing unit 36, wherein,
First computing unit 32, for calculating the real time T and the standard time T0Between difference (T-
T0);
Second computing unit 34, for calculating the difference and the standard time T0Ratio Z=(T-T0)/T0;
3rd computing unit 36, presets a threshold value Y, and calculates the ratio Z and the threshold value Y difference, obtains
The judgement parameter, Δ.
It should be noted that the computing unit 30 calculate judge that parameter, Δ can be to be one or more, at the backstage
Reason unit 20 often measures the real time T of first exhibition scheme, and the computing unit 30 can calculate one judgement of acquisition
Parameter, Δ.
Statistic unit 40, the result for counting the judgement parameter, Δ.
In an embodiment of the present invention, the statistic unit 40 counts the distribution situation of the judgement parameter, Δ and united
Result is counted, judges that number of times of the parameter, Δ less than 0 or the number of times more than 0, or the statistics judgement parameter, Δ are located at as described in statistics
Interval and situations such as the number of times that respective bins occur, statistic unit 40 can set two reference points 0, B as described, and definition
B>0.The statistic unit 40 judge the judgement parameter, Δ fall reference point it is interval and recorded, such as fall into it is interval (-
∞, 0] or it is interval (0, B] number of times or fall into the number of times of interval (B ,+∞) etc..It should be noted that the reference point
Quantity can be multiple, and said statistic unit 40 can mark off more intervals.
Setting unit 50, for the result according to the judgement parameter, Δ, is extracted and current from the exhibition scheme set
The exhibition scheme of terminal device matching, and it is set to the acquiescence exhibition scheme of present terminal equipment.
In an embodiment of the present invention, the setting unit 50 includes default unit 52 and extraction unit 54, wherein, it is described
Default unit 52 has preset selection rule, specifically, the default unit 52 can be defined as below, when the judgement parameter, Δ
Number when being one, when the judgement parameter, Δ is less than or equal to 0, then extract the first exhibition scheme for present terminal
The acquiescence exhibition scheme of equipment, when the judgement parameter, Δ is more than 0, then extracts the second exhibition scheme for present terminal
The acquiescence exhibition scheme of equipment;Or corresponding exhibition scheme is selected according to the distributed area of the judgement parameter, Δ.When described
When judging that the number of parameter, Δ is more than 1, then according to the number of times of the judgement parameter less than or equal to 0 or the number of times more than 0;Or
It is described to judge the number of times that parameter, Δ occurs in respective bins, corresponding exhibition scheme is extracted from the memory cell 10, and set
It is set to the acquiescence exhibition scheme of present terminal equipment.
Reset cell 60, the exhibition scheme current for resetting the terminal device, and notify the background processing unit
20 recalculate and record the real time T of the first exhibition scheme displaying.
In an embodiment of the present invention, the software is after completing once to carry out performance detection to the terminal device, warp
The predetermined time is spent, such as 7 days, 10 days or after 1 month, assessment of performance can be carried out to the terminal device again, it is described to judge
Whether terminal device have passed through hardware or configuration upgrading.Specifically, the reset cell 60 resets the acquiescence of present terminal equipment
Exhibition scheme, and notify that the background processing unit 20 records the real time T of the first exhibition scheme displaying again, then lead to
Cross calculating and obtain one or one group judgement parameter, Δ newly, and according to the default default selection rule of unit 52, it is again right
The terminal device carries out performance detection, to ensure that after terminal device hardware upgrading is carried out, high-quality can be obtained in time by user
Visual experience.It should be noted that the overlapped elements 60 can also may be used by resetting and (being reset automatically by the scheduled time) automatically
Reset by resetting (triggering resets order manually) manually.
In an embodiment of the present invention, the terminal device device for detecting performance 100 passes through after the terminal device
Platform operation obtains real time T and standard time T0, obtain some judgement parameter, Δs.According to the judgement parameter, Δ measured and
Default selection rule, carries out performance detection, to select corresponding exhibition scheme, so that user is obtaining to the terminal device
While obtaining vision physical examination, the performance of the terminal device is taken into account, the phenomenons such as terminal device interim card or deadlock are prevented.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described
Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the not be the same as Example or the feature of example and non-be the same as Example or example described in this specification
Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use
In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated software is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and using
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wirings
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that paper that the software can be printed thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain the software, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Rapid to can be by software to instruct the hardware of correlation to complete, described software can be stored in a kind of computer-readable storage medium
In matter, the software upon execution, including one or a combination set of the step of embodiment of the method.In addition, in each embodiment of the invention
In each functional unit can be integrated in a processing module or unit is individually physically present, can also two
Individual or two or more unit is integrated in a module.Above-mentioned integrated module can both be realized in the form of hardware, also may be used
To be realized in the form of software function module.If the integrated module realized using in the form of software function module and as
Independent production marketing in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and retouching above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (14)
1. a kind of terminal device method for testing performance, it is characterised in that at least comprise the following steps:
Record real time T and standard time T that the terminal device performs the first exhibition scheme0, first exhibition scheme is
The scheme of showing interface, the standard time T are carried out on the terminal device in the form of full special efficacy0For the described first displaying
Scheme completes the scheduled time needed for displaying;
Calculate the real time T and the standard time T0Between difference, calculate the difference and the standard time T0's
Ratio Z, and a default threshold value Y is subtracted with the ratio Z, obtain and judge parameter, Δ;
According to the result of the judgement parameter, Δ, the displaying side matched with present terminal equipment is extracted from exhibition scheme set
Case, and the acquiescence exhibition scheme of present terminal equipment is set to, first exhibition scheme is contained in the exhibition scheme set
Interior, the exhibition scheme set includes at least two different exhibition schemes.
2. terminal device method for testing performance according to claim 1, it is characterised in that described according to the judgement parameter
The result of Δ, the exhibition scheme matched with present terminal equipment is extracted from exhibition scheme set to be included:By sentencing described in judgement
Disconnected parameter, Δ is more than 0 or less than or equal to 0, to select corresponding exhibition scheme.
3. terminal device method for testing performance according to claim 1, it is characterised in that described according to the judgement parameter
The result of Δ, the exhibition scheme matched with present terminal equipment is extracted from exhibition scheme set to be included:Set at least two not
With reference point and the reference point is arranged from small to large, constituted between two adjacent reference points it is one interval, according to described
The interval that parameter, Δ is fallen into is judged, to select corresponding exhibition scheme.
4. terminal device method for testing performance according to claim 3, it is characterised in that judge to join according to described described
The result of number Δ, extracts the exhibition scheme matched with present terminal equipment, and be set to present terminal from exhibition scheme set
Before the acquiescence exhibition scheme of equipment, in addition to:
According to the real time T not measured in the same time, multiple judgement parameter, Δs are obtained.
5. terminal device method for testing performance according to claim 4, it is characterised in that described according to the judgement parameter
The result of Δ, the exhibition scheme matched with present terminal equipment is extracted from exhibition scheme set to be included:According to described multiple
Number of times of the parameter, Δ more than 0 or the number of times less than or equal to 0 are judged, to select corresponding exhibition scheme.
6. terminal device method for testing performance according to claim 4, it is characterised in that described according to the judgement parameter
The result of Δ, the exhibition scheme matched with present terminal equipment is extracted from exhibition scheme set to be included:According to described multiple
The interval number of times that parameter, Δ is fallen into is judged, to select corresponding exhibition scheme.
7. terminal device method for testing performance according to claim 4, it is characterised in that described not surveyed in the same time in basis
After the real time T obtained, the multiple judgement parameter, Δs of acquisition, in addition to:
The statistics result for judging parameter, Δ.
8. terminal device method for testing performance according to claim 1, it is characterised in that described from exhibition scheme set
After the exhibition scheme that middle extraction is matched with present terminal equipment, in addition to:
After the default time, performance detection is carried out to the terminal device again.
9. a kind of terminal device device for detecting performance, it is characterised in that including:
Background processing unit, for performing the first exhibition scheme on the backstage of the terminal device, and records first displaying
The real time T and standard time T of schemes show0, first exhibition scheme is to be set in the form of full special efficacy in the terminal
The scheme of standby upper progress showing interface, the standard time T0For the pre- timing needed for first exhibition scheme completes displaying
Between;
Computing unit, for calculating the real time T and the standard time T0Between difference, calculate the difference and institute
State standard time T0Ratio Z, and subtract with the ratio Z a default threshold value Y, acquisition judges parameter, Δ;
Setting unit, for the result according to the judgement parameter, Δ, from exhibition scheme set extraction and present terminal equipment
The exhibition scheme matched somebody with somebody, and the acquiescence exhibition scheme of present terminal equipment is set to, first exhibition scheme is contained in the exhibition
Show in scheme set, the exhibition scheme set includes at least two different exhibition schemes.
10. terminal device device for detecting performance according to claim 9, it is characterised in that the background processing unit bag
Include:
First processing units, for handling first exhibition scheme and recording the real time that first exhibition scheme is run
T;
Second processing unit, for handling first exhibition scheme and recording the standard time that first exhibition scheme is run
T0。
11. terminal device device for detecting performance according to claim 9, it is characterised in that the terminal device performance inspection
Surveying device also includes memory cell, for storing the exhibition scheme.
12. terminal device device for detecting performance according to claim 9, it is characterised in that the terminal device performance inspection
Surveying device also includes statistic unit, the result for counting the judgement parameter, Δ.
13. terminal device device for detecting performance according to claim 9, it is characterised in that the setting unit includes:
Default unit, for presetting selection rule;And
Extraction unit, for extracting the exhibition scheme matched with present terminal equipment from the exhibition scheme set, and is set
For the acquiescence exhibition scheme of the terminal device.
14. terminal device device for detecting performance according to claim 9, it is characterised in that the terminal device performance inspection
Surveying device also includes reset cell, the exhibition scheme current for resetting the terminal device, and notifies the background process list
Member recalculates and recorded the real time T of the first exhibition scheme displaying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410265258.4A CN104021068B (en) | 2014-06-13 | 2014-06-13 | Terminal device method for testing performance and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410265258.4A CN104021068B (en) | 2014-06-13 | 2014-06-13 | Terminal device method for testing performance and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104021068A CN104021068A (en) | 2014-09-03 |
CN104021068B true CN104021068B (en) | 2017-10-13 |
Family
ID=51437835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410265258.4A Active CN104021068B (en) | 2014-06-13 | 2014-06-13 | Terminal device method for testing performance and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104021068B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992321A (en) * | 2017-12-28 | 2019-07-09 | 珠海市君天电子科技有限公司 | A kind of application setting method and device |
CN110475147A (en) * | 2019-07-29 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Animation playing method, device, terminal and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019769A (en) * | 2012-11-20 | 2013-04-03 | 广东欧珀移动通信有限公司 | Software start interface control method and mobile terminal |
CN103345405A (en) * | 2013-06-09 | 2013-10-09 | 贝壳网际(北京)安全技术有限公司 | Application program starting method and device and client |
CN103365399A (en) * | 2013-06-26 | 2013-10-23 | 贝壳网际(北京)安全技术有限公司 | Control method and device for application object of mobile terminal |
-
2014
- 2014-06-13 CN CN201410265258.4A patent/CN104021068B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019769A (en) * | 2012-11-20 | 2013-04-03 | 广东欧珀移动通信有限公司 | Software start interface control method and mobile terminal |
CN103345405A (en) * | 2013-06-09 | 2013-10-09 | 贝壳网际(北京)安全技术有限公司 | Application program starting method and device and client |
CN103365399A (en) * | 2013-06-26 | 2013-10-23 | 贝壳网际(北京)安全技术有限公司 | Control method and device for application object of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104021068A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109657100B (en) | Video collection generation method and device, electronic equipment and storage medium | |
CN102792332B (en) | Image management apparatus, image management method and integrated circuit | |
CN110418161A (en) | Video reviewing method and device, electronic equipment and readable storage medium storing program for executing | |
US20130326412A1 (en) | Systems and methods for displaying relationships between data items, individuals, and dynamically calculated metric scores | |
CN109784381A (en) | Markup information processing method, device and electronic equipment | |
TW201710991A (en) | Analytics system and method | |
CN109472487A (en) | Video quality detecting method, device, computer equipment and storage medium | |
CN110032698A (en) | Information display method and device, information processing method and device | |
CN107704932A (en) | A kind of article reclaimer, device and electronic equipment | |
CN107480854A (en) | A kind of method and device of risk identification | |
CN106611321B (en) | False mobile phone number identification method and device | |
CN106651575A (en) | Data processing method and device | |
JP2018097832A (en) | Intelligent automatic vending machine | |
CN106901686B (en) | Execution method, server, test lead and the system of test of eye movement task | |
CN104025094A (en) | Apparatus And Method For Detecting Abnormal Account | |
CN108011740A (en) | A kind of media flow data processing method and device | |
CN114359590A (en) | NFT image work infringement detection method and device and computer storage medium | |
CN113111801A (en) | Goods checking method, equipment and storage medium for automatic vending machine | |
CN104021068B (en) | Terminal device method for testing performance and device | |
US9799374B2 (en) | Method and system for tracking and analyzing browser session data within online video via the vixel delivery mechanism | |
CN107977359A (en) | A kind of extracting method of video display drama scene information | |
CN111062770A (en) | Merchant identification method, equipment and computer readable medium | |
CN114331592A (en) | Method for identifying malicious order-swiping behavior | |
CN112819476A (en) | Risk identification method and device, nonvolatile storage medium and processor | |
CN115809889A (en) | Intelligent passenger group screening method, system, medium and equipment based on marketing effect |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20181128 Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Patentee after: Zhuhai Seal Interest Technology Co., Ltd. Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong. Patentee before: Zhuhai Juntian Electronic Technology Co.,Ltd. |