CN104021068A - Method and device for detecting terminal equipment performance - Google Patents

Method and device for detecting terminal equipment performance Download PDF

Info

Publication number
CN104021068A
CN104021068A CN201410265258.4A CN201410265258A CN104021068A CN 104021068 A CN104021068 A CN 104021068A CN 201410265258 A CN201410265258 A CN 201410265258A CN 104021068 A CN104021068 A CN 104021068A
Authority
CN
China
Prior art keywords
terminal device
exhibition scheme
exhibition
judgement parameter
scheme
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
CN201410265258.4A
Other languages
Chinese (zh)
Other versions
CN104021068B (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.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology 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 Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201410265258.4A priority Critical patent/CN104021068B/en
Publication of CN104021068A publication Critical patent/CN104021068A/en
Application granted granted Critical
Publication of CN104021068B publication Critical patent/CN104021068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

A method for detecting terminal equipment performance at least comprises the following steps of recording the actual time T and standard time T0 that terminal equipment executes a first exhibition scheme, obtaining a judgment parameter delta according to the standard time T0 and the actual time T, extracting an exhibition scheme matched with the current terminal equipment from an exhibition scheme set according to the result of the judgment parameter delta and setting the exhibition scheme as a default exhibition scheme of the current terminal equipment. The invention further provides a device for detecting the terminal equipment performance applying the method. According to the device for detecting the terminal equipment performance, the performance of the terminal equipment is detected, the matched exhibition scheme is selected according to the performance of the terminal equipment, and therefore vision experience is obtained by a user, meanwhile, the performance of the terminal equipment is considered, and user experience is good.

Description

Terminal device method for testing performance and device
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of terminal device method for testing performance and device.
Background technology
At present, various terminal devices, as computing machine, smart mobile phone etc. has become pith indispensable in people's daily life, work and amusement.Along with the development of technology, the various hardware of terminal device, as the performance of processor, internal memory, hard disk etc. improves constantly, its price is more and more lower, thereby user is when pursuing processing speed and the smooth degree of operation, also more and more focuses on the experience of vision.Therefore, the various application software that are arranged in terminal device have often added various magnificent animation effects and gorgeous showing interface scheme, to attract user's eye.
Yet, the lower terminal device of part hardware configuration is when these softwares of operation, because hardware performance configuration cannot meet the demands, may when the above-mentioned software of operation, at runnable interface, occur that picture broadcasting is not smooth, even there is the problems such as terminal device card pauses, deadlock, these problems have reduced the degree of recognition of user to software product, and user experiences not good.
Summary of the invention
For the problems referred to above, the object of the present invention is to provide a kind of terminal device method for testing performance, by the performance of terminal device described in Intelligent Recognition, and according to the exhibition scheme of the performance selection coupling of described terminal device, thereby make user when obtaining vision health check-up, the performance of taking into account described terminal device, user experiences good.
The present invention also provides a kind of terminal device device for detecting performance of applying said method.
In order to solve the problems of the technologies described above, the invention provides a kind of terminal device method for testing performance, at least comprise the steps:
Record described terminal device and carry out real time T and the standard time T of the first exhibition scheme 0;
According to described standard time T 0and real time T, obtain judgement parameter Δ; And
According to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mating with current terminal device, and be set to the acquiescence exhibition scheme of current terminal device.
Wherein, described the first exhibition scheme is contained in described exhibition scheme set, and described exhibition scheme set comprises at least two different exhibition schemes.
Wherein, described standard time T 0for completing, described the first exhibition scheme shows the required schedule time.
Wherein, described acquisition judgement parameter Δ, comprising:
Calculate described real time T and described standard time T 0between difference;
Calculate described difference and described standard time T 0ratio Z; And
With described ratio Z, deduct a default threshold value Y, obtain described judgement parameter Δ.
Wherein, described according to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mate with current terminal device and comprise: by judging that described judgement parameter Δ is greater than 0 or be less than or equal to 0, to select corresponding exhibition scheme.
Wherein, described according to the result of described judgement parameter Δ, from exhibition scheme set, extract from the exhibition scheme of current terminal device coupling and comprise: at least two different reference point are set and described reference point is arranged from small to large, between two adjacent reference point, form an interval, the interval falling into according to described judgement parameter Δ, to select corresponding exhibition scheme.
Wherein, described, according to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mating with current terminal device, and before being set to the acquiescence exhibition scheme of current terminal device, also comprise:
According to the real time T not recording in the same time, obtain a plurality of judgement parameter Δs.
Wherein, described according to the result of described judgement parameter Δ, from exhibition scheme set, extracting the exhibition scheme mating with current terminal device comprises: according to described a plurality of judgement parameter Δs, be greater than 0 number of times or be less than or equal to 0 number of times, to select corresponding exhibition scheme.
Wherein, described according to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mating with current terminal device and comprise: the interval number of times falling into according to described a plurality of judgement parameter Δs, to select corresponding exhibition scheme.
Wherein, the described real time T not recording in the same time in basis, after obtaining a plurality of judgement parameter Δs, also comprises:
Add up the result of described judgement parameter Δ.
Wherein, after the described exhibition scheme that extraction is mated with current terminal device from exhibition scheme set, also comprise:
After the default time, again described terminal device is carried out to Performance Detection.
The present invention also provides a kind of terminal device device for detecting performance, comprising:
Background processing unit, for carrying out the first exhibition scheme on the backstage of described terminal device, and records real time T and the standard time T that described the first exhibition scheme is shown 0;
Computing unit, for according to described real time T and standard time T 0, calculate judgement parameter Δ;
Setting unit, for according to the result of described judgement parameter Δ, extracts the exhibition scheme mating with current terminal device from described exhibition scheme set, and is set to the acquiescence exhibition scheme of current terminal device.
Wherein, described the first exhibition scheme is contained in described exhibition scheme set, and described exhibition scheme set comprises at least two different exhibition schemes.
Wherein, described standard time T 0for completing, described the first exhibition scheme shows the required schedule time.
Wherein, described background processing unit comprises:
The first processing unit, for the treatment of described the first exhibition scheme and record the real time T of described the first exhibition scheme operation;
The second processing unit, for the treatment of described the first exhibition scheme and record the standard time T of described the first exhibition scheme operation 0.
Wherein, described computing unit comprises:
The first computing unit, for calculating described real time T and described standard time T 0between difference;
The second computing unit, for calculating described difference and described standard time T 0ratio Z; And
The 3rd computing unit, for a default threshold value Y, and deducts described threshold value Y with described ratio Z, obtains described judgement parameter Δ.
Wherein, described terminal device device for detecting performance also comprises storage unit, for storing described exhibition scheme.
Wherein, described terminal device device for detecting performance also comprises statistic unit, for adding up the result of described judgement parameter Δ.
Wherein, described setting unit comprises:
Default unit, for a default selective rule; And
Extraction unit, for extract the exhibition scheme mating with current terminal device from described exhibition scheme set, and is set to the acquiescence exhibition scheme of described terminal device.
Wherein, described terminal device device for detecting performance also comprises reset cell, for the current exhibition scheme of described terminal device of resetting, and notifies described background processing unit to recalculate and record the real time T that described the first exhibition scheme is shown.
Terminal device method for testing performance and device that the embodiment of the present invention provides, by obtain described judgement parameter in background process, and according to the distribution situation of described judgement parameter, performance to described terminal device is evaluated, and the exhibition scheme of selection and this terminal device Performance Match, thereby make user when obtaining vision health check-up, take into account the performance of described terminal device, user experiences good.
Accompanying drawing explanation
In order to be illustrated more clearly in technical scheme of the present invention, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the first embodiment of terminal device method for testing performance of the present invention.
Fig. 2 is the schematic flow sheet of the second embodiment of terminal device method for testing performance of the present invention.
Fig. 3 is the structural representation of the terminal device device for detecting performance that provides of the 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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the first embodiment of terminal device method for testing performance of the present invention, and described terminal device method for testing performance at least comprises the steps:
S101, records real time T and standard time T that described terminal device is carried out the first exhibition scheme 0.
In embodiments of the present invention, described terminal device can be intelligent television, smart mobile phone (as Android system mobile phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID) etc.Described software can be application software, can comprise connection application software, such as Email, instant messaging etc., also can comprise business application software, such as mobile banking's service, stock market follows the tracks of and transaction, file processing and schedule planning etc., also can comprise 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 comprise 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, described software is arranged on described terminal device, when described software moves or the operation such as upgrades on described terminal device, is often attended by corresponding showing interface, as playing animation or ejection bubble etc., to improve user's visual experience.Wherein, consider the performance of different terminal devices, described software has been preset an exhibition scheme set, has at least comprised two kinds of exhibition schemes in described exhibition scheme set, as the first exhibition scheme (showing interface of full special efficacy) and the second exhibition scheme (showing interface of simplifying).Wherein, described the first exhibition scheme carries out the form with full special efficacy showing interface on described terminal device, thereby make user obtain good visual experience and impression, described the second exhibition scheme only retains the partial information of described the first exhibition scheme, as less in the frame number of the animation of broadcasting per second, or only play part animation frame number, to mate the performance of described terminal device.It should be noted that, described exhibition scheme set according to the actual needs, also can comprise other exhibition scheme, as the 3rd exhibition scheme (static displaying interface, such as only showing the most basic static images, do not do any animation effect) etc., the embodiment of the present invention is not done concrete restriction.
When in an embodiment of the present invention, described the first exhibition scheme moves, there is a standard time T 0, described standard time T 0for completing, described the first exhibition scheme shows the required schedule time.Be specially, suppose to have comprised in described the first exhibition scheme the pictorial information of N frame, its predetermined broadcasting speed is broadcasting M frame picture per second (as broadcasting 24 frames per second), described standard time T 0=N/M.
In embodiments of the present invention, because the performance configuration of different terminal devices is different, as image-capable or processor processing power etc., thereby it is also different on different terminal devices, to move described the first exhibition scheme time used.Described software carries out first on the backstage of described terminal device, carrying out described the first exhibition scheme before showing interface, and records described the first exhibition scheme actual completing on current terminal device and show required real time T.
S102, according to described standard time T 0and real time T, obtain judgement parameter Δ;
In an embodiment of the present invention, described software is according to described standard time T 0with described real time T, can obtain a judgement parameter Δ, described judgement parameter Δ is for identifying the performance configuration of described terminal device.Described acquisition judgement parameter Δ at least comprises the steps:
First, calculate described real time T and described standard time T 0between difference;
Described software is by the real time T and the standard time T that obtain 0, calculate the two difference (T-T 0).
Secondly, calculate described difference and described standard time T 0ratio Z;
Wherein, described ratio Z=(T-T 0)/T 0.
Finally, with described ratio Z, deduct a default threshold value Y, obtain described judgement parameter Δ.
In an embodiment of the present invention, described software is preset a threshold value Y, and described threshold value Y can and need to carry out assignment according to actual situation, as described in threshold value can assignment be 0,0.2,0.5,1 or other numerical value.Described judgement parameter Δ=Z-Y, described software according to described judgement parameter Δ be greater than 0 or 0 the situation of being less than or equal to detect the performance of described terminal device.For example, described first exhibition scheme of described software records is in the real time of running background T=5 second, described standard time T 0=4 seconds, described threshold value Y was set as 0.3, described judgement parameter Δ=[(5-4)/4]-0.3=-0.05<0.As described in backstage actual run time T=6 second of software records, and described standard time T 0=4 seconds, described threshold value Y was set as 0.3, described judgement parameter Δ=[(6-4)/4]-0.3=0.2>0.
S103 according to the result of described judgement parameter Δ, extracts the exhibition scheme mating with current terminal device from exhibition scheme set, and is set to the acquiescence exhibition scheme of current terminal device.
In an embodiment of the present invention, described software has been preset the selective rule of exhibition scheme, described selective rule according to the distribution situation of the result of described judgement parameter Δ (judge parameter Δ be greater than 0 or be less than or equal to 0), from described exhibition scheme set, select the exhibition scheme mate with current terminal device.Described selective rule can carry out as given a definition: when as described in judgement parameter Δ while being less than or equal to 0, described the first exhibition scheme is as the displaying interface of current terminal device, and upper while once starting described software, with full special efficacy mode carry out showing interface.When described judgement parameter Δ is greater than 0, described the second exhibition scheme is as the displaying interface of current terminal device, and while once starting described software, in the mode of simplifying, carries out showing interface upper.
Be understandable that, in other embodiments of the invention, described software is predeterminable other selective rule also, as described in software can set two reference point 0, B, and B>0, the reference point interval that described software falls into according to the described judgement parameter Δ line item of going forward side by side.For example, when described judgement parameter Δ be positioned at (∞, 0] interval, described software selects the first exhibition scheme as the displaying interface of current terminal device; When described judgement parameter Δ be positioned at (0, B] interval, described software selects the second exhibition scheme as the displaying interface of current terminal device; When described judgement parameter Δ is positioned at (B ,+∞) interval, described software selects the 3rd exhibition scheme as the displaying interface of current terminal device.Specifically can be, when getting B=0.5, if described judgement parameter Δ is 0.3 o'clock, select the second exhibition scheme as the displaying interface of current terminal device, when described judgement parameter Δ is 0.8, select described the 3rd exhibition scheme as the displaying interface of current terminal device, all the other situations are analogized according to this, do not repeat them here.It should be noted that, the quantity of described reference point can be a plurality of, and said software can mark off more interval, so that the performance configuration of described terminal device is carried out to finer evaluation.
The terminal device method for testing performance that the embodiment of the present invention provides, described software obtains real time T and standard time T by the running background at described terminal device 0, obtain described judgement parameter Δ.According to the result of the judgement parameter Δ recording and described judgement parameter Δ, described terminal device is carried out to Performance Detection, to select corresponding exhibition scheme, thereby make user when obtaining vision health check-up, take into account the performance of described terminal device, prevent that terminal device card pauses or the phenomenon such as deadlock.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the second embodiment of terminal device method for testing performance of the present invention, and described terminal device method for testing performance at least comprises the steps:
S201, records real time T and standard time T that described terminal device is carried out the first exhibition scheme 0;
In embodiments of the present invention, described terminal device can be intelligent television, smart mobile phone (as Android system mobile phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (Mobile Internet Devices, MID) etc.Described software is application software, can comprise connection application software, such as Email, instant messaging etc., also can comprise business application software, such as mobile banking's service, stock market follows the tracks of and transaction, file processing and schedule planning etc., also can comprise 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 comprise 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, described software is arranged on described terminal device, when described software moves or the operation such as upgrades on described terminal device, is often attended by corresponding showing interface, as playing animation or ejection bubble etc., to improve user's visual experience.Wherein, consider the performance of different terminal devices, described software has been preset an exhibition scheme set, has at least comprised two kinds of exhibition schemes in described exhibition scheme set, as the first exhibition scheme (showing interface of full special efficacy) and the second exhibition scheme (showing interface of simplifying).Wherein, described the first exhibition scheme carries out the form with full special efficacy showing interface on described terminal device, thereby make user obtain good visual experience and impression, described the second exhibition scheme only retains the partial information of described the first exhibition scheme, as less in the frame number of the animation of broadcasting per second, or only play part animation frame number, to mate the performance of described terminal device.It should be noted that, described exhibition scheme set according to the actual needs, also can comprise other exhibition scheme, as the 3rd exhibition scheme (static displaying interface, such as only showing the most basic static images, do not do any animation effect) etc., the embodiment of the present invention is not done concrete restriction.
When in an embodiment of the present invention, described the first exhibition scheme moves, there is a standard time T 0, described standard time T 0for completing, described the first exhibition scheme shows the required schedule time.Be specially, suppose to have comprised in described the first exhibition scheme the pictorial information of N frame, its predetermined broadcasting speed is broadcasting M frame picture per second (as broadcasting 24 frames per second), described standard time T 0=N/M.
In embodiments of the present invention, because the performance of different terminal devices is different, as image handling property or travelling speed performance etc., thereby different terminal devices is also different in described the first exhibition scheme of the operation time used.Described software carries out first on the backstage of described terminal device, with not visible state, carrying out described the first exhibition scheme before showing interface, and records the real time T that described the first exhibition scheme completes displaying on current terminal device.
S202, according to described standard time T 0and real time T, obtain judgement parameter Δ;
In an embodiment of the present invention, described software is according to described standard time T 0with described real time T, can obtain a judgement parameter Δ, described judgement parameter Δ is for identifying the performance of described terminal device.Described acquisition judgement parameter Δ at least comprises the steps:
First, calculate described real time T and described standard time T 0between difference;
Described software is by the real time T and the standard time T that obtain 0, calculate the two difference (T-T 0).
Secondly, calculate described difference and described standard time T 0ratio Z.
Wherein, described ratio Z=(T-T 0)/T 0.
Finally, with described ratio Z, deduct a default threshold value Y, obtain described judgement parameter Δ.
In an embodiment of the present invention, described software is preset a threshold value Y, and described threshold value Y can and need to carry out assignment according to actual situation, as can be assignment be 0,0.2,0.5,1 or other numerical value.Described judgement parameter Δ=Z-Y, described software according to described judgement parameter Δ be greater than 0 or 0 the situation of being less than or equal to identify the performance of described terminal device, as as described in software records as described in the first exhibition scheme in the real time of running background T=5 second, and described standard time T0=4 second, described threshold value Y is set as 0.3, described judgement parameter Δ=[(5-4)/4]-0.3=-0.05<0.As described in backstage actual run time T=6 second of software records, and described standard time T0=4 second, described threshold value Y is set as 0.3, described judgement parameter Δ=[(6-4)/4]-0.3=0.2>0.
S203, according to not recording in the same time real time T, obtains a plurality of judgement parameter Δs.
In an embodiment of the present invention, described software is engraved in the first exhibition scheme described in the running background of described terminal device when different, to obtain a plurality of real time T, and obtain a plurality of judgement parameter Δs, thereby judge exactly more comprehensively the performance of described terminal device.As described in software when each terminal device start running background once as described in the first exhibition scheme, and record corresponding real time T, or after start once continuously at running background described the first exhibition scheme record corresponding real time T repeatedly, or after start, on described terminal device backstage, every predetermined time, move first exhibition scheme, and record the real time T of gained.Wherein, described software, described in running background during the first exhibition scheme, should guarantee current too much software or the process of not opening of described terminal device, avoids because described terminal device is opened the reliability that too much software affects test result simultaneously.
S204, the result of adding up described judgement parameter Δ.
In an embodiment of the present invention, the result of a plurality of judgement parameter Δs that described software statistics records, as described in adding up judgement parameter be less than 0 or be more than or equal to 0 number of times or as described in judgement parameter Δ be positioned at certain interval number of times etc.
S205 according to the result of described judgement parameter Δ, extracts the exhibition scheme mating with current terminal device from exhibition scheme set.
In an embodiment of the present invention, described software has been preset the selective rule of exhibition scheme, and confirms according to the statistics of above-mentioned judgement parameter Δ and described selective rule the exhibition scheme mating with current terminal device.Be specially, described selective rule can carry out following definition: take that to record three judgement parameter Δs 1, Δ 2, Δs 3 be example, when judgement parameter Δ 1, Δ 2, the Δ 3 of described software records is all less than or equal to 0, described software is " well " respective identification such as (or) " one-levels " by the assessment of performance of described terminal device, and to select the first exhibition scheme be the displaying interface of current terminal device; In the judgement parameter Δ 1 of described software records, Δ 2, Δ 3, there is a judgement parameter to be greater than 0, and another two judgement parameters are less than or equal to 0, described software is " generally " respective identification such as (or) " secondarys " by the assessment of performance of described terminal device, and to select the second exhibition scheme be the displaying interface of current terminal device; In the judgement parameter Δ 1 of described software records, Δ 2, Δ 3, described judgement parameter is greater than 0 number of times and surpasses once, described software is " poor " respective identification such as (or) " three grades " by the assessment of performance of described terminal device, and selects the displaying interface that the 3rd exhibition scheme is current terminal device.Therefore, according to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mate with current terminal device, make user when operating software, can take into account performance and visual experience, prevent that terminal device card pauses or the phenomenon such as deadlock.
Be understandable that, in other embodiments of the invention, described software is predeterminable other selective rule also, as judged parameter Δs 1 for having recorded three, Δ 2, the situation of Δ 3, can judge when three judgement parameters are greater than 0 number of times and are no more than 1 time, the performance level of described terminal device is " well ", when three judgement parameters are greater than 0 number of times and are 2 times, the performance of described terminal device is " generally ", when these three judgement parameters are all greater than 0, the performance of described terminal device is " poor ", and select corresponding exhibition scheme according to the performance of described terminal device.
Be understandable that, in other embodiments of the invention, when described software carries out the judgement of terminal device grade, also can calculate the judgement parameter Δ of other number of times, as calculate 7 times 5 times, the number of the judgement parameter Δ of 10 times or other number of times, then according to the distribution situation of described judgement parameter Δ and default selective rule, the performance of described terminal device is evaluated, thus the exhibition scheme that selection is mated with current terminal device.
Be understandable that; in other embodiments of the invention; the performance rate of described terminal device also can further segment; as can by as described in the assessment of performance of terminal device be " outstanding ", " well ", " " and " poor " etc.; as long as meet the method for this data structure; all, within protection scope of the present invention, do not repeat them here.
Be understandable that, in other embodiments of the invention, described selective rule also can have other definition mode, as described in software can set two reference point 0, B, and definition B>0.The reference point interval that described software drops on according to the described judgement parameter Δ line item of going forward side by side, to judge the performance of described terminal device, as a plurality of judgement parameter Δs for obtaining, when described judgement parameter Δ, to be positioned at certain interval number of times maximum, as fall into interval (∞, 0] number of times is maximum, by the assessment of performance of described terminal device, be " well ", when described judgement parameter Δ falls into interval (0, B] number of times maximum, by the assessment of performance of described terminal device, be " generally ", when described judgement parameter Δ falls into interval (B, + ∞) number of times is maximum, the grade of described terminal device is decided to be to " poor ".After this, described software is selected the exhibition scheme of coupling according to the performance of described terminal device.It should be noted that, the quantity of described reference point can be a plurality of, and said software can mark off more interval, and the performance of described terminal device is carried out to finer evaluation.
S206, after the default time, carries out Performance Detection to described terminal device again.
In an embodiment of the present invention, described software carries out after Performance Detection described terminal device completing once, through predetermined time, after 7 days, 10 days or 1 month, can again to described terminal device, carry out assessment of performance, described software is reset the judgement parameter of last time record with the real time T recording, and repeating step S201~S205, to obtain one group of new judgement parameter Δ, again according to default selective rule, adjust described exhibition scheme, guarantee that user, after carrying out terminal device HardwareUpgring, can obtain the more visual experience of high-quality in time.
Be understandable that, in other embodiments of the invention, described software also can be set manual replacement order, user is after completing terminal device HardwareUpgring, can be by triggering the mode of manually resetting, again to identify the performance of described terminal device after HardwareUpgring, with the exhibition scheme of software described in real-time update, obtain in time the visual experience of high-quality.
The terminal device method for testing performance that the embodiment of the present invention provides, described software obtains real time T and standard time T by the running background at described terminal device 0, obtain a plurality of judgement parameter Δs.According to the distribution situation of a plurality of judgement parameter Δs that record and default selective rule, described terminal device is carried out to Performance Detection, to select corresponding exhibition scheme, thereby make user when obtaining vision health check-up, take into account the performance of described terminal device, prevent that terminal device card pauses or the phenomenon such as deadlock.
Refer to Fig. 3, Fig. 3 is the structural representation of the terminal device device for detecting performance that provides of the embodiment of the present invention, and described terminal device device for detecting performance 100 comprises:
Storage unit 10, for storing described exhibition scheme set.
In embodiments of the present invention, the default exhibition scheme set of described terminal device device for detecting performance 100, two kinds of different exhibition schemes in described exhibition scheme set, have at least been comprised, as the first exhibition scheme (the displaying interface of full special efficacy) and the second exhibition scheme (the displaying interface of simplifying).It should be noted that, described exhibition scheme set according to the actual needs, also can comprise other exhibition scheme, as the 3rd exhibition scheme (any animation effect is not done such as only showing the most basic static images in static displaying interface) etc.Described storage unit 10 is for storing described exhibition scheme.
Background processing unit 20, for running background the first exhibition scheme at described terminal device, and records real time T and the standard time T that described the first exhibition scheme is shown 0.
See also Fig. 4, in an embodiment of the present invention, described background processing unit 20 comprises the first processing unit 22 and the second processing unit 24, wherein, described the first processing unit 22 extracts described the first exhibition scheme from described storage unit 10, and on the backstage of described terminal device, carry out described the first exhibition scheme, and record described the first exhibition scheme and complete and show required real time T.Described the second processing unit 24 extracts the relevant information of described the first exhibition scheme, as described in the first exhibition scheme the picture frame number N and the predetermined broadcasting frame number M per second that comprise, to obtain the standard time T of described the first exhibition scheme 0=N/M.
Computing unit 30, for calculating judgement parameter Δ.
See also Fig. 5, in an embodiment of the present invention, real time T and standard time T that described computing unit 30 obtains according to described background processing unit 20 0, calculate judgement parameter Δ.Described computing unit 30 comprises the first computing unit 32, the second computing unit 34 and the 3rd computing unit 36, wherein,
Described the first computing unit 32, for calculating described real time T and described standard time T 0between difference (T-T 0);
Described the second computing unit 34, for calculating described difference and described standard time T 0ratio Z=(T-T 0)/T 0;
Described the 3rd computing unit 36, presets a threshold value Y, and calculates the difference of described ratio Z and described threshold value Y, obtains described judgement parameter Δ.
It should be noted that, the judgement parameter Δ that described computing unit 30 calculates can be one or more, and described background processing unit 20 often records the real time T of first exhibition scheme, and described computing unit 30 can calculate and obtain a judgement parameter Δ.
Statistic unit 40, for adding up the result of described judgement parameter Δ.
In an embodiment of the present invention, the distribution situation of the described judgement parameter Δ of described statistic unit 40 statistics also obtains statistics, as as described in adding up, judgement parameter Δ is less than 0 number of times or is greater than 0 number of times, or add up the situations such as number of times interval and that occur in respective bins that described judgement parameter Δ is positioned at, as as described in statistic unit 40 can set two reference point 0, B, and definition B>0.The reference point interval that the described judgement parameter Δ of described statistic unit 40 judgement the drops on line item of going forward side by side, as fall into interval (∞, 0] or interval (0, B] number of times or fall into the number of times etc. in interval (B ,+∞).It should be noted that, the quantity of described reference point can be a plurality of, and said statistic unit 40 can mark off more interval.
Setting unit 50, for according to the result of described judgement parameter Δ, extracts the exhibition scheme mating with current terminal device from described exhibition scheme set, and is set to the acquiescence exhibition scheme of current terminal device.
In an embodiment of the present invention, described setting unit 50 comprises default unit 52 and extraction unit 54, wherein, selective rule has been preset in described default unit 52, be specially, described default unit 52 can carry out as given a definition, when the number of described judgement parameter Δ is one, for described judgement parameter Δ, be less than or equal to 0 situation, extracting the first exhibition scheme is the acquiescence exhibition scheme of current terminal device, the situation that is greater than 0 for described judgement parameter Δ, extracting the second exhibition scheme is the acquiescence exhibition scheme of current terminal device; Or select corresponding exhibition scheme according to the distributed area of described judgement parameter Δ.When the number of described judgement parameter Δ is greater than 1, according to described judgement parameter, is less than or equal to 0 number of times or is greater than 0 number of times; Or the number of times that described judgement parameter Δ occurs in respective bins extracts corresponding exhibition scheme, and is set as the acquiescence exhibition scheme of current terminal device from described storage unit 10.
Reset cell 60, for the current exhibition scheme of described terminal device of resetting, and notifies described background processing unit 20 to recalculate and record the real time T that described the first exhibition scheme is shown.
In an embodiment of the present invention, described software carries out after Performance Detection described terminal device completing once, through predetermined time, after 7 days, 10 days or 1 month, can again to described terminal device, carry out assessment of performance, to judge whether described terminal device has passed through hardware or configuration upgrading.Be specially, the acquiescence exhibition scheme of the current terminal device of described reset cell 60 replacement, and notify described background processing unit 20 again to record the real time T that described the first exhibition scheme is shown, by calculating, obtain one or one group of new judgement parameter Δ again, and according to the default selective rule in described default unit 52, again described terminal device is carried out to Performance Detection, to guarantee that user is after carrying out terminal device HardwareUpgring, can obtain in time the visual experience of high-quality.It should be noted that, described overlapped elements 60 can, by replacement automatically (the process schedule time resets automatically), also can be reset by manually reset (manual triggers is reset and ordered).
In an embodiment of the present invention, described terminal device device for detecting performance 100 obtains real time T and standard time T by the running background at described terminal device 0, obtain some described judgement parameter Δs.According to the judgement parameter Δ recording and default selective rule, described terminal device is carried out to Performance Detection, to select corresponding exhibition scheme, thereby make user when obtaining vision health check-up, take into account the performance of described terminal device, prevent that terminal device card pauses or the phenomenon such as deadlock.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, the specific features of description, structure, material or feature can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this instructions or example and different embodiment or example.
In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, at least one this feature can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " a plurality of " is at least two, for example two, and three etc., unless otherwise expressly limited specifically.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmitting software be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described software thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described software with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by software, described software can be stored in a kind of computer-readable recording medium, this software, when carrying out, comprises step of embodiment of the method one or a combination set of.In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, modification, replacement and modification.

Claims (20)

1. a terminal device method for testing performance, is characterized in that, at least comprises the steps:
Record described terminal device and carry out real time T and the standard time T of the first exhibition scheme 0;
According to described standard time T 0and real time T, obtain judgement parameter Δ; And
According to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mating with current terminal device, and be set to the acquiescence exhibition scheme of current terminal device.
2. terminal device method for testing performance according to claim 1, is characterized in that, described the first exhibition scheme is contained in described exhibition scheme set, and described exhibition scheme set comprises at least two different exhibition schemes.
3. terminal device method for testing performance according to claim 1, is characterized in that, described standard time T 0for completing, described the first exhibition scheme shows the required schedule time.
4. terminal device method for testing performance according to claim 1, is characterized in that, described acquisition judgement parameter Δ, comprising:
Calculate described real time T and described standard time T 0between difference;
Calculate described difference and described standard time T 0ratio Z; And
With described ratio Z, deduct a default threshold value Y, obtain described judgement parameter Δ.
5. terminal device method for testing performance according to claim 1, it is characterized in that, described according to the result of described judgement parameter Δ, from exhibition scheme set, extracting the exhibition scheme mate with current terminal device comprises: by judging that described judgement parameter Δ is greater than 0 or be less than or equal to 0, to select corresponding exhibition scheme.
6. terminal device method for testing performance according to claim 1, it is characterized in that, described according to the result of described judgement parameter Δ, from exhibition scheme set, extract from the exhibition scheme of current terminal device coupling and comprise: at least two different reference point are set and described reference point is arranged from small to large, between two adjacent reference point, form an interval, the interval falling into according to described judgement parameter Δ, to select corresponding exhibition scheme.
7. terminal device method for testing performance according to claim 6, it is characterized in that, described according to the result of described judgement parameter Δ, from exhibition scheme set, extract the exhibition scheme mating with current terminal device, and before being set to the acquiescence exhibition scheme of current terminal device, also comprise:
According to the real time T not recording in the same time, obtain a plurality of judgement parameter Δs.
8. terminal device method for testing performance according to claim 7, it is characterized in that, described according to the result of described judgement parameter Δ, from exhibition scheme set, extracting the exhibition scheme mating with current terminal device comprises: according to described a plurality of judgement parameter Δs, be greater than 0 number of times or be less than or equal to 0 number of times, to select corresponding exhibition scheme.
9. terminal device method for testing performance according to claim 7, it is characterized in that, described according to the result of described judgement parameter Δ, from exhibition scheme set, extracting the exhibition scheme mating with current terminal device comprises: the interval number of times falling into according to described a plurality of judgement parameter Δs, and to select corresponding exhibition scheme.
10. terminal device method for testing performance according to claim 7, is characterized in that, the described real time T not recording in the same time in basis, after obtaining a plurality of judgement parameter Δs, also comprises:
Add up the result of described judgement parameter Δ.
11. terminal device method for testing performance according to claim 1, is characterized in that, after the described exhibition scheme that extraction is mated with current terminal device from exhibition scheme set, also comprise:
After the default time, again described terminal device is carried out to Performance Detection.
12. 1 kinds of terminal device device for detecting performance, is characterized in that, comprising:
Background processing unit, for carrying out the first exhibition scheme on the backstage of described terminal device, and records real time T and the standard time T that described the first exhibition scheme is shown 0;
Computing unit, for according to described real time T and standard time T 0, calculate judgement parameter Δ;
Setting unit, for according to the result of described judgement parameter Δ, extracts the exhibition scheme mating with current terminal device from described exhibition scheme set, and is set to the acquiescence exhibition scheme of current terminal device.
13. according to terminal device device for detecting performance described in claim 12, it is characterized in that, described the first exhibition scheme is contained in described exhibition scheme set, and described exhibition scheme set comprises at least two different exhibition schemes.
14. terminal device method for testing performance according to claim 12, is characterized in that, described standard time T 0for completing, described the first exhibition scheme shows the required schedule time.
15. terminal device device for detecting performance according to claim 12, is characterized in that, described background processing unit comprises:
The first processing unit, for the treatment of described the first exhibition scheme and record the real time T of described the first exhibition scheme operation;
The second processing unit, for the treatment of described the first exhibition scheme and record the standard time T of described the first exhibition scheme operation 0.
16. terminal device device for detecting performance according to claim 12, is characterized in that, described computing unit comprises:
The first computing unit, for calculating described real time T and described standard time T 0between difference;
The second computing unit, for calculating described difference and described standard time T 0ratio Z; And
The 3rd computing unit, for a default threshold value Y, and deducts described threshold value Y with described ratio Z, obtains described judgement parameter Δ.
17. terminal device device for detecting performance according to claim 12, is characterized in that, described terminal device device for detecting performance also comprises storage unit, for storing described exhibition scheme.
18. terminal device device for detecting performance according to claim 12, is characterized in that, described terminal device device for detecting performance also comprises statistic unit, for adding up the result of described judgement parameter Δ.
19. terminal device device for detecting performance according to claim 12, is characterized in that, described setting unit comprises:
Default unit, for a default selective rule; And
Extraction unit, for extract the exhibition scheme mating with current terminal device from described exhibition scheme set, and is set to the acquiescence exhibition scheme of described terminal device.
20. terminal device device for detecting performance according to claim 12, it is characterized in that, described terminal device device for detecting performance also comprises reset cell, for resetting the current exhibition scheme of described terminal device, and notify described background processing unit to recalculate and record the real time T that described the first exhibition scheme is shown.
CN201410265258.4A 2014-06-13 2014-06-13 Terminal device method for testing performance and device Active CN104021068B (en)

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 true CN104021068A (en) 2014-09-03
CN104021068B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019769B (en) * 2012-11-20 2015-09-30 广东欧珀移动通信有限公司 A kind of software start interface control method and mobile terminal
CN103345405B (en) * 2013-06-09 2016-09-28 贝壳网际(北京)安全技术有限公司 Application program starting method and device and client
CN103365399B (en) * 2013-06-26 2017-02-08 贝壳网际(北京)安全技术有限公司 Control method and device for application object of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN104021068B (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN104025143A (en) Apparatus and method for detecting abnormal account
EP3139321A1 (en) Analytics system and method
CN104168491A (en) Information processing method and device in video playing processes
CN110032698A (en) Information display method and device, information processing method and device
CN104066003A (en) Method and device for playing advertisement in video
CN105357167A (en) Service processing method and device
CN109304034A (en) A kind of game cheat detection method and relevant device
CN109453514A (en) A kind of game cheat detection method and device
CN108668147A (en) A kind of method and mobile terminal of optimization live streaming application
CN107948640A (en) Video playing test method, device, electronic equipment and storage medium
CN103984472A (en) Message prompting method and device and electronic equipment
CN104025094A (en) Apparatus And Method For Detecting Abnormal Account
CN103548050A (en) System and method for delivering targeted advertisement messages
CN110837420A (en) Resource scheduling method, device, terminal and storage medium
CN107959965A (en) Frame dropping method, device, mobile terminal and the readable storage medium storing program for executing of application program
CN114359590A (en) NFT image work infringement detection method and device and computer storage medium
CN104021068A (en) Method and device for detecting terminal equipment performance
CN108256900A (en) Advertisement broadcast method, device and system
CN103984699A (en) Pushing method and pushing device for promotion information
CN110544166A (en) Sample generation method, device and storage medium
CN115809889A (en) Intelligent passenger group screening method, system, medium and equipment based on marketing effect
CN109831696A (en) Handle method, apparatus, electronic equipment and the storage medium of violation video content
CN109304035A (en) Acquisition methods, device, terminal device and the storage medium of game duration
CN107948741B (en) Dynamic cartoon playing method and system based on intelligent terminal
CN104036132A (en) User behavior analysis method and equipment

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.