CN104021067A - Slide performance testing method and device for mobile terminal and mobile terminal - Google Patents
Slide performance testing method and device for mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN104021067A CN104021067A CN201410231913.4A CN201410231913A CN104021067A CN 104021067 A CN104021067 A CN 104021067A CN 201410231913 A CN201410231913 A CN 201410231913A CN 104021067 A CN104021067 A CN 104021067A
- Authority
- CN
- China
- Prior art keywords
- module
- mobile terminal
- slip
- fps
- sliding capability
- 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
Links
Abstract
The invention provides a slide performance testing method and device for a mobile terminal and the mobile terminal. The slide performance testing method comprises the following steps that a module which is tested currently is determined, and analog data filling is conducted on the module; prestored slide parameters corresponding to the module are acquired; according to the slide parameters, the mobile terminal is driven to slide, and the FPS value in the slide process is calculated. According to the slide performance testing method and device for the mobile terminal and the mobile terminal, the time for testing the slide FPS value can be greatly shortened, the obtained testing result is more accurate, and great help is provided for full understanding of slide performance testing conditions of the mobile terminal.
Description
Technical field
The present invention relates to electronic information technical field, particularly relate to sliding capability pick-up unit and a kind of mobile terminal of the sliding capability detection method of mobile terminal, a kind of mobile terminal.
Background technology
Universal along with Android system, it is upper that a large amount of application appears at Android mobile terminal (as smart mobile phone, panel computer), and interface of mobile terminal is also along with the becoming increasingly complex of development of mobile terminal hardware.Along with user is more and more fastidious to the experience of mobile terminal, some interfaces are more and more attractive in appearance, and the element comprising is also more and more.Such as phonebook module, on contacts list, from originally simply only showing name and phone, also want till now the binding information of bubble head picture, micro-letter and microblogging etc.; Also such as the various plug-in units on main interface and a large amount of application icons etc.Take touch-screen mobile phone as example, when user operates touch-screen mobile phone, need to be in the enterprising line slip of screen, if handset capability is bad, there will be the situation of card, the appearance of this situation can leave bad experience to user undoubtedly.
In traditional method, by opening FPS (Frames per Second, the frame per second that refreshes per second) the numerical value monitoring of mobile terminal, more manual sliding mobile terminal, record the FPS numerical value of slip, by this FPS numerical value, quantize the sliding capability situation at certain interface.But adopt in this way, because each situation of manually sliding be can not determine, cause the FPS numerical value change that monitors larger, thereby can not accurately reflect the sliding capability situation of mobile terminal.
Summary of the invention
Based on this, the invention provides a kind of sliding capability detection method, device and mobile terminal of mobile terminal, can detect accurately the sliding capability of mobile terminal.
For achieving the above object, the present invention adopts following technical scheme:
A sliding capability detection method for mobile terminal, comprises the following steps:
Determine the module of current test, and this module is carried out to simulated data filling;
Obtain the pre-stored slip parameter corresponding with described module;
According to described slip parameter, drive mobile terminal to slide, and calculate the FPS value in sliding process.
A sliding capability pick-up unit for mobile terminal, comprising:
Simulated data packing module, for determining the module of current test, and carries out simulated data filling to this module;
Slip parameter acquisition module, for obtaining the pre-stored slip parameter corresponding with described module;
FPS value computing module, for driving mobile terminal to slide according to described slip parameter, and calculates the FPS value in sliding process.
A mobile terminal, comprises the sliding capability pick-up unit of above-mentioned mobile terminal.
By above scheme, can be found out, sliding capability detection method, device and the mobile terminal of a kind of mobile terminal of the present invention, which module what first determine current test is, then carry out simulated data filling, the sliding list that guarantees test module has sufficiently long data, and after getting corresponding slip parameter, according to this slip parameter, drive mobile terminal to slide, finally calculate in sliding process the FPS value of sliding capability that can reflect mobile terminal.Adopt the solution of the present invention to detect the sliding capability of mobile terminal, scheme is simple easily to be realized, and also little on the impact of whole mobile terminal system, can greatly reduce the time of test slip FPS, and resulting testing result is also more accurate, the sliding capability situation of abundant understanding testing mobile terminal is had to larger help.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the sliding capability detection method of a kind of mobile terminal in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the sliding capability detection method of a kind of mobile terminal in another embodiment of the present invention;
Fig. 3 is the structural representation of the sliding capability pick-up unit of a kind of mobile terminal in the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Unless context separately has the description of specific distinct, the element in the present invention and assembly, the form that quantity both can be single exists, and form that also can be a plurality of exists, and the present invention does not limit this.Although the step in the present invention is arranged with label, and be not used in the precedence that limits step, unless expressly stated the order of step or the execution of certain step need other steps as basis, otherwise the relative order of step is adjustable.
Shown in Figure 1, a kind of sliding capability detection method of mobile terminal, comprises the following steps:
Step S101, which module what determine current test is, and this module is carried out to simulated data filling, then enters step S102.
In the embodiment of the present invention, need to automatically carry out the simulated data of corresponding module and fill, to guarantee that the sliding list of test module when automatically sliding has sufficiently long data, can make like this speed of sliding reach maximum; In addition, owing to will guaranteeing the authenticity of simulated data, so need to guarantee that the data of filling obtain generation at random.In an embodiment, can carry out in the following manner simulated data filling therein:
Standby interface: identical dynamic wallpaper need to be set, guarantee that some conditions of test are identical;
Schedule module: need to fill 200 corresponding p.m.entry information;
Notes module: need to fill 500 corresponding notes information;
Document management module: need to fill 500 blank files;
Browser module: need to fill 200 bookmark informations;
E-mail module: after logging in Email, need to fill in this locality 500 Emails;
Contact module: while filling the contact person of 200 quantity, need random generic connection people name and telephone number and other information, and add self-defining head portrait for each contact person;
Music and video module: need to before test, manually put into 200 songs and 50 videos.
Step S102, obtains the pre-stored slip parameter corresponding with described module, then enters step S103.
As a good embodiment, described slip parameter can comprise: the origin coordinates of slip and termination coordinate, the dynamics of slip and the time of slip etc.In the present invention, in order guaranteeing to test, can normally to carry out, for each test module, to have given corresponding slip parameter in advance, after test starts, directly read.For example, when test call logging modle, after entering message registration, the dialing dish of Lower Half branch of considering message registration interface under default situations blocks, so must and stop coordinate by slip origin coordinates, be arranged on position (or click to dial record is hiding by dial (of a telephone), so just can break through termination coordinate and must be arranged on restriction more than dial (of a telephone)) more than dial (of a telephone); In addition, when test setting module, consider that the list of module the inside is set is shorter, so a less slip dynamics must be set, can not go to slide by too large dynamics, otherwise be easy to slide into bottom, block, affect test result.
Step S103, has got after slip parameter at step S102, can drive mobile terminal to slide according to the mode of setting according to described slip parameter, and calculate the FPS value in sliding process.
As a good embodiment, the process of calculating described FPS value in step S103 specifically can comprise the steps:
Step S1031, send the order that captures FPS data---" adb dumpsys – SurfaceFlinger – latency " is to mobile terminal, and about 128 row frame data: fpsData1, the fpsData2 of 3 row of mobile terminal receive feedback, fpsData3, every row is according to the time value that represents each frame;
Step S1032, takes out and has peaked row frame data a: fpsMaxData, calculates the time difference H between every frame in these row frame data; For example:
H1=fpsMaxData[2]-fpsMaxData[1];
H2=fpsMaxData[3]-fpsMaxData[2]
……
Step S1033, calculates the mean value of described time difference: aH=(H1+H2 ... + H128)/128, and obtain the FPS value in sliding process: FPS=1/aH according to this mean value calculation.It should be noted that, FPS value is larger, gives user's sensation smooth, and sliding capability is better, otherwise there will be Caton phenomenon.
In addition, the present invention, after obtaining timely FPS value, can also carry out the arrangement of data.The arrangement of data comprises:
1, more all data, obtain the high and minimum frame period time;
2, all frame period time is divided into several intervals according to different time sizes, obtains each interval distribution number.
As a good embodiment, the present invention can test altogether a plurality of modules (and module number can be adjusted on different mobile terminals).As shown in Figure 2, the solution of the present invention afterwards, can also comprise the steps: completing the test of the module test of this module (the FPS value that calculates a module can think)
Judge whether that all modules have all tested;
If not, never in the module of test, automatically select a module and carry out loop test, here can adopt with mode identical in aforesaid step S101-step S103 again selected module is tested, by carrying out one by one the slip of respective interface, thereby can calculate the FPS value of the sliding capability that represents modules;
If so, record FPS value corresponding to each module, data are write in EXCEL and intuitively and shown.
In addition, corresponding with the sliding capability detection method of above-mentioned a kind of mobile terminal, the present invention also provides a kind of sliding capability pick-up unit of mobile terminal, as shown in Figure 3, comprising:
Simulated data packing module 101, for determining the module of current test, and carries out simulated data filling to this module;
Slip parameter acquisition module 102, for obtaining the pre-stored slip parameter corresponding with described module;
FPS value computing module 103, for driving mobile terminal to slide according to described slip parameter, and calculates the FPS value in sliding process.
As a good embodiment, the sliding capability pick-up unit of a kind of mobile terminal of the present invention can also comprise:
Judge module, for after calculating the FPS value of a module, judges whether that all modules have all tested;
Loop test module, in the situation that described judge module the determination result is NO, an automatic selected module testing in the module of test never, thereby the FPS value that calculates the sliding capability that represents modules one by one;
Record and display module, in the situation that judgment result is that of described judge module is record FPS value corresponding to each module and intuitively show.
As a good embodiment, described FPS value computing module 103 can comprise:
Frame data acquisition module, for send capture FPS data order to mobile terminal, and the frame data of mobile terminal receive feedback;
Difference calculating module, has peaked row frame data for taking out, and calculates the time difference between every frame in these row frame data;
Mean value calculation module, for calculating the mean value of described time difference, and obtains FPS value according to this mean value calculation.
As a good embodiment, described slip parameter specifically can comprise: the origin coordinates of slip and termination coordinate, the dynamics of slip and the time of slip etc.
Other technical characterictic of the sliding capability detection method of above-mentioned a kind of mobile terminal is identical with the sliding capability detection method of a kind of mobile terminal of the present invention, and it will not go into details herein.
Finally, the present invention also provides a kind of mobile terminal, and this mobile terminal comprises the sliding capability pick-up unit of above-mentioned a kind of mobile terminal.This mobile terminal can be smart mobile phone, panel computer etc.
By above scheme, can find out, sliding capability detection method, device and the mobile terminal of a kind of mobile terminal of the present invention, which module what first determine current test is, then carry out simulated data filling, the sliding list that guarantees test module has sufficiently long data, and after getting corresponding slip parameter, according to this slip parameter, drive mobile terminal to slide, finally calculate in sliding process the FPS value of sliding capability that can reflect mobile terminal.Adopt the solution of the present invention to detect the sliding capability of mobile terminal, scheme is simple easily to be realized, and also little on the impact of whole mobile terminal system, can greatly reduce the time of test slip FPS, and resulting testing result is also more accurate, the sliding capability situation of abundant understanding testing mobile terminal is had to larger help.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (9)
1. a sliding capability detection method for mobile terminal, is characterized in that, comprises the following steps:
Determine the module of current test, and this module is carried out to simulated data filling;
Obtain the pre-stored slip parameter corresponding with described module;
According to described slip parameter, drive mobile terminal to slide, and calculate the FPS value in sliding process.
2. the sliding capability detection method of mobile terminal according to claim 1, is characterized in that, after calculating the FPS value of a module, also comprises step:
Judge whether that all modules have all tested;
If not, never in the module of test, automatically select a module and test;
If so, record FPS value corresponding to each module and intuitively show.
3. the sliding capability detection method of mobile terminal according to claim 1, is characterized in that, the process of calculating described FPS value comprises:
Send the order of crawl FPS data to mobile terminal, and the frame data of mobile terminal receive feedback;
Taking-up has peaked row frame data, calculates the time difference between every frame in these row frame data;
Calculate the mean value of described time difference, and obtain FPS value according to this mean value calculation.
4. according to the sliding capability detection method of the mobile terminal described in claim 1 or 2 or 3, it is characterized in that, described slip parameter comprises: the origin coordinates of slip and termination coordinate, the dynamics of slip and the time of slip.
5. a sliding capability pick-up unit for mobile terminal, is characterized in that, comprising:
Simulated data packing module, for determining the module of current test, and carries out simulated data filling to this module;
Slip parameter acquisition module, for obtaining the pre-stored slip parameter corresponding with described module;
FPS value computing module, for driving mobile terminal to slide according to described slip parameter, and calculates the FPS value in sliding process.
6. the sliding capability pick-up unit of mobile terminal according to claim 5, is characterized in that, also comprises:
Judge module, for after calculating the FPS value of a module, judges whether that all modules have all tested;
Loop test module, in the situation that described judge module the determination result is NO, an automatic selected module testing in the module of test never;
Record and display module, in the situation that judgment result is that of described judge module is record FPS value corresponding to each module and intuitively show.
7. the sliding capability pick-up unit of mobile terminal according to claim 5, is characterized in that, described FPS value computing module comprises:
Frame data acquisition module, for send capture FPS data order to mobile terminal, and the frame data of mobile terminal receive feedback;
Difference calculating module, has peaked row frame data for taking out, and calculates the time difference between every frame in these row frame data;
Mean value calculation module, for calculating the mean value of described time difference, and obtains FPS value according to this mean value calculation.
8. according to the sliding capability pick-up unit of the mobile terminal described in claim 5 or 6 or 7, it is characterized in that, described slip parameter comprises: the origin coordinates of slip and termination coordinate, the dynamics of slip and the time of slip.
9. a mobile terminal, is characterized in that, comprises the sliding capability pick-up unit of the mobile terminal described in claim 5 to 8 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410231913.4A CN104021067B (en) | 2014-05-28 | 2014-05-28 | Sliding capability detection method, device and the mobile terminal of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410231913.4A CN104021067B (en) | 2014-05-28 | 2014-05-28 | Sliding capability detection method, device and the mobile terminal of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104021067A true CN104021067A (en) | 2014-09-03 |
CN104021067B CN104021067B (en) | 2017-11-14 |
Family
ID=51437834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410231913.4A Active CN104021067B (en) | 2014-05-28 | 2014-05-28 | Sliding capability detection method, device and the mobile terminal of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104021067B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107656866A (en) * | 2017-09-06 | 2018-02-02 | 厦门美图移动科技有限公司 | A kind of method, mobile terminal and computing device tested using fluency |
WO2020135399A1 (en) * | 2018-12-24 | 2020-07-02 | 中移(杭州)信息技术有限公司 | List sliding performance optimization method and apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050240576A1 (en) * | 2003-06-10 | 2005-10-27 | John Piscitello | Named URL entry |
CN102404447A (en) * | 2010-09-09 | 2012-04-04 | Lg电子株式会社 | Mobile terminal and memo management method thereof |
CN103136102A (en) * | 2013-02-07 | 2013-06-05 | 百度在线网络技术(北京)有限公司 | Method and device for testing fluency of Android platform |
-
2014
- 2014-05-28 CN CN201410231913.4A patent/CN104021067B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050240576A1 (en) * | 2003-06-10 | 2005-10-27 | John Piscitello | Named URL entry |
CN102404447A (en) * | 2010-09-09 | 2012-04-04 | Lg电子株式会社 | Mobile terminal and memo management method thereof |
CN103136102A (en) * | 2013-02-07 | 2013-06-05 | 百度在线网络技术(北京)有限公司 | Method and device for testing fluency of Android platform |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107656866A (en) * | 2017-09-06 | 2018-02-02 | 厦门美图移动科技有限公司 | A kind of method, mobile terminal and computing device tested using fluency |
WO2020135399A1 (en) * | 2018-12-24 | 2020-07-02 | 中移(杭州)信息技术有限公司 | List sliding performance optimization method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN104021067B (en) | 2017-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9055214B2 (en) | Electronic device and method of controlling the same | |
CN104144260B (en) | Mobile terminal incoming call non-disturbance control method and device | |
AU2015343983A1 (en) | Electronic device and method for providing filter in electronic device | |
CN103135903B (en) | A kind of chart gallery display method and device | |
CN105511776B (en) | A kind of mobile terminal and its control method | |
US8494511B2 (en) | Method for controlling a mobile terminal based on status response information received from an external terminal | |
WO2014138097A1 (en) | Mobile device monitoring and testing | |
CN104424432B (en) | A kind of information processing method and electronic equipment | |
CN103823546A (en) | Information control method and electronic equipment | |
CN104102410A (en) | Method and apparatus for displaying screen of portable terminal device | |
CN103095912B (en) | Method and system for automatic calling of mobile terminal | |
CN105589619A (en) | Multi-window display method and device for terminal | |
CN105843379B (en) | Mobile terminal edge induction zone converting means and method | |
CN105653165A (en) | Method and device for regulating character display | |
CN103605429A (en) | Processing method for response key operation and mobile terminal | |
KR20110003849A (en) | Mobile terminal and method for visualizing life log | |
CN107562356B (en) | Fingerprint identification positioning method and device, storage medium and electronic equipment | |
CN106686232A (en) | Method for optimizing control interfaces and mobile terminal | |
CN102314493A (en) | Method and terminal for displaying file and/or file folder | |
CN103731544A (en) | Display method and device for intelligent terminal interface and intelligent terminal | |
CN104021067A (en) | Slide performance testing method and device for mobile terminal and mobile terminal | |
CN105224074B (en) | A kind of control method and electronic equipment | |
CN106254669A (en) | Data traffic based reminding method and device | |
CN104301718A (en) | Image display method in camera stability detection and camera stability detection method and system | |
CN103324526B (en) | A kind of method calling sensor |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |