CN104021067B - Sliding capability detection method, device and the mobile terminal of mobile terminal - Google Patents

Sliding capability detection method, device and the mobile terminal of mobile terminal Download PDF

Info

Publication number
CN104021067B
CN104021067B CN201410231913.4A CN201410231913A CN104021067B CN 104021067 B CN104021067 B CN 104021067B CN 201410231913 A CN201410231913 A CN 201410231913A CN 104021067 B CN104021067 B CN 104021067B
Authority
CN
China
Prior art keywords
module
mobile terminal
data
fps
slip
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.)
Expired - Fee Related
Application number
CN201410231913.4A
Other languages
Chinese (zh)
Other versions
CN104021067A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410231913.4A priority Critical patent/CN104021067B/en
Publication of CN104021067A publication Critical patent/CN104021067A/en
Application granted granted Critical
Publication of CN104021067B publication Critical patent/CN104021067B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of sliding capability detection method, device and the mobile terminal of mobile terminal, the described method comprises the following steps:It is determined that the module currently tested, and analogue data filling is carried out to the module;Obtain the slip parameter corresponding with the module prestored;Drive mobile terminal to enter line slip according to the slip parameter, and calculate the FPS values in sliding process.Sliding capability detection method, device and the mobile terminal of a kind of mobile terminal of the present invention, the time that FPS is slided in test can be reduced significantly, and resulting testing result is also more accurate, there is larger help to the sliding capability situation for being fully understood by testing mobile terminal.

Description

Sliding capability detection method, device and the mobile terminal of mobile terminal
Technical field
The present invention relates to electronic information technical field, more particularly to sliding capability detection method, one kind of mobile terminal The sliding capability detection means of mobile terminal and a kind of mobile terminal.
Background technology
With the popularization of android system, substantial amounts of application appears in Android mobile terminal (such as smart mobile phone, flat board Computer) on, interface of mobile terminal is shifted along the becoming increasingly complex of development of terminal hardware.As user is to mobile terminal Experience it is more and more fastidious, some interfaces are more and more attractive in appearance, comprising element it is also more and more.Such as phonebook module, contacting From original simple only display name and phone on list, also to show that the binding of head portrait, wechat and microblogging etc. is believed till now Breath;Various plug-in units and substantial amounts of application icon also such as in main interface etc..By taking touch-screen mobile phone as an example, when user's operation is touched , it is necessary in the enterprising line slip of screen during screen mobile phone, if handset capability is bad, the situation of interim card occurs, such case Appearance can undoubtedly leave bad experience to user.
In traditional method, by FPS (Frames per Second, the refreshing frame per second per second) numbers for opening mobile terminal Value monitoring, then manual sliding mobile terminal, record the FPS numerical value of lower slider, quantify the cunning at some interface by the FPS numerical value Dynamic behavior pattern.But in this way, because situation about sliding manually every time not can determine that, cause the FPS numbers monitored Value changes are larger, so as to reflect the sliding capability situation of mobile terminal.
The content of the invention
Based on this, the present invention provides a kind of sliding capability detection method, device and the mobile terminal of mobile terminal, Neng Gouzhun The true sliding capability for detecting mobile terminal.
To achieve the above object, the present invention adopts the following technical scheme that:
A kind of sliding capability detection method of mobile terminal, comprises the following steps:
It is determined that the module currently tested, and analogue data filling is carried out to the module;
Obtain the slip parameter corresponding with the module prestored;
Drive mobile terminal to enter line slip according to the slip parameter, and calculate the FPS values in sliding process.
A kind of sliding capability detection means of mobile terminal, including:
Analogue data fills module, and analogue data filling is carried out for the module for determining currently to test, and to the module;
Parameter acquisition module is slided, for obtaining the slip parameter corresponding with the module prestored;
FPS value computing modules, for driving mobile terminal to enter line slip according to the slip parameter, and calculate slip During FPS values.
A kind of mobile terminal, include the sliding capability detection means of above-mentioned mobile terminal.
Sliding capability detection method, device and the movement of a kind of mobile terminal of the present invention it can be seen from above scheme Terminal, it is first determined which module what is currently tested is, then carries out analogue data filling, ensures the slip row of test module Table has sufficiently long data, and after parameter is slided corresponding to getting, mobile terminal is driven according to the slip parameter Enter line slip, finally calculate the FPS values for the sliding capability that can reflect mobile terminal in sliding process.Using the side of the present invention Case detects the sliding capability of mobile terminal, and scheme simply easily realizes, and the influence to whole mobile terminal system is not yet Greatly, the time that FPS is slided in test can be reduced significantly, and resulting testing result is also more accurate, to being fully understood by testing The sliding capability situation of mobile terminal has larger help.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the sliding capability detection method of mobile terminal in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of the sliding capability detection method of mobile terminal in another embodiment of the present invention;
Fig. 3 is a kind of structural representation of the sliding capability detection means of mobile terminal in the embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The description of specific distinct unless the context otherwise, the present invention in element and component, quantity both can be with single shape Formula is present, and form that can also be multiple is present, and the present invention is defined not to this.Although the step in the present invention is entered with label Arrangement is gone, but is not used to limit the precedence of step, unless expressly stated the order of step or holding for certain step Based on row needs other steps, otherwise the relative rank of step is adjustable.
It is shown in Figure 1, a kind of sliding capability detection method of mobile terminal, comprise the following steps:
Step S101, it is determined which module what is currently tested is, and analogue data filling, Ran Houjin are carried out to the module Enter step S102.
, it is necessary to carry out the analogue data filling of corresponding module automatically in the embodiment of the present invention, to ensure automatically sliding When test module sliding list there are sufficiently long data, the speed of slip is reached maximum;Further, since Ensure the authenticity of analogue data, generated at random so being necessary to ensure that the data of filling obtain.In one of the embodiments, may be used To carry out analogue data filling as follows:
Standby interface:Need to set identical dynamic wallpaper, some conditions for ensureing test are identicals;
Calendar module:Need 200 memo informations corresponding to filling;
Notes module:Need to fill 500 corresponding notes informations;
Document management module:Need the file of 500 blank of filling;
Browser module:Need to fill 200 bookmark informations;
E-mail module:, it is necessary to locally fill 500 Emails after Email is logged in;
Contact module:When filling the contact person of 200 quantity, it is necessary to generate at random name of contact person and telephone number and Other information, and add customized head portrait for each contact person;
Music and video module:Need to be manually placed into 200 songs and 50 videos before testing.
Step S102, the slip parameter corresponding with the module prestored is obtained, subsequently into step S103.
As a preferable embodiment, the slip parameter can include:The origin coordinates and termination coordinate, cunning of slip Dynamic dynamics and the time of slip etc..It is in advance each test module to ensure that test can be normally carried out in the present invention Parameter is slided corresponding to imparting, is directly read after test starts.Such as in test call logging modle, work as entrance After message registration, it is contemplated that the latter half at message registration interface can be dialed disk and block under default situations, so will must slide Origin coordinates and terminate coordinate be arranged on it is more than dial position (or click to dial record dial is hidden, so Can, which breaks through, terminates the limitation that coordinate is necessarily placed at more than dial);In addition, in test setting module, it is contemplated that set The list put inside module is shorter, so a less sliding force must be set, it is impossible to go to slide with too big dynamics, it is no Then it is easy to slide into bottom and blocks, influences test result.
Step S103, after step S102 has got and slided parameter, you can be driven according to the slip parameter Mobile terminal enters line slip in the way of setting, and calculates the FPS values in sliding process.
As a preferable embodiment, the process of the FPS values is calculated in step S103 can specifically include following step Suddenly:
Step S1031, send the order of crawl FPS data --- " adb dumpsys-SurfaceFlinger- Latency " gives mobile terminal, and receives 3 about 128 row's frame data of row of mobile terminal feedback:fpsData1、fpsData2、 FpsData3, per row according to the time value for representing each frame;
Step S1032, take out the row frame data with maximum:FpsMaxData, calculate in the row frame data per frame Between time difference H;Such as:
H1=fpsMaxData [2]-fpsMaxData [1];
H2=fpsMaxData [3]-fpsMaxData [2]
……
Step S1033, calculate the average value of the time difference:AH=(H1+H2 ...+H128)/128, and it is flat according to this Mean value computation obtains the FPS values in sliding process:FPS=1/aH.It should be noted that FPS values are bigger, then the sensation to user Smooth, sliding capability is better, on the contrary then Caton phenomenon occurs.
In addition, the present invention can also carry out the arrangement of data after timely FPS values are obtained.The arrangement of data includes:
1st, more all data, highest and minimum frame period time are obtained;
2nd, all frame period time is divided into several sections according to different time sizes, obtains the distribution in each section Number.
As a preferable embodiment, the present invention can test altogether multiple modules, and (and module number can be in difference Mobile terminal on be adjusted).As shown in Fig. 2 the solution of the present invention (calculates a mould in the test for completing a module The FPS values of block can think to complete the test of the module) after, it can also comprise the following steps:
Judge whether that all modules have tested completion;
A module and carry out loop test if it is not, being selected automatically in the module then never tested, can use here with Identical mode is tested again selected module in foregoing step S101- steps S103, by carrying out phase one by one The slip at interface is answered, so as to calculate the FPS values for the sliding capability for representing modules;
If so, then recording FPS values corresponding to each module, write data into EXCEL and intuitively shown.
In addition, corresponding with a kind of sliding capability detection method of above-mentioned mobile terminal, the present invention also provides a kind of mobile The sliding capability detection means of terminal, as shown in figure 3, including:
Analogue data fills module 101, for the module for determining currently to test, and carries out analogue data to the module and fills out Fill;
Parameter acquisition module 102 is slided, for obtaining the slip parameter corresponding with the module prestored;
FPS values computing module 103, for driving mobile terminal to enter line slip according to the slip parameter, and calculate FPS values in sliding process.
As a preferable embodiment, a kind of sliding capability detection means of mobile terminal of the invention can also wrap Include:
Judge module, for after the FPS values of a module are calculated, judging whether that all modules have been tested Into;
Loop test module, for being the module in the case of no, never tested in the judged result of the judge module In select and a module and tested automatically, so as to the FPS values for calculating the sliding capability for representing modules one by one;
Record and display module, in the case of being in the judged result of the judge module, record each module pair The FPS values answered simultaneously intuitively are shown.
As a preferable embodiment, the FPS values computing module 103 can include:
Frame data acquisition module, the order of FPS data is captured for sending to mobile terminal, and receive mobile terminal feedback Frame data;
Difference calculating module, for taking out the row frame data with maximum, calculate in the row frame data between every frame Time difference;
Mean value calculation module, FPS is obtained for calculating the average value of the time difference, and according to the mean value calculation Value.
As a preferable embodiment, the slip parameter can specifically include:The origin coordinates of slip and termination are sat Time of mark, the dynamics slided and slip etc..
A kind of other technical characteristics of the sliding capability detection method of above-mentioned mobile terminal and one kind of the present invention are mobile eventually The sliding capability detection method at end is identical, and it will not go into details herein.
Finally, the present invention also provides a kind of mobile terminal, and the mobile terminal includes a kind of slip of above-mentioned mobile terminal Device for detecting performance.The mobile terminal can be smart mobile phone, tablet personal computer etc..
By above scheme as can be seen that sliding capability detection method, device and the shifting of a kind of mobile terminal of the present invention Dynamic terminal, it is first determined which module what is currently tested is, then carries out analogue data filling, ensures the slip of test module List has sufficiently long data, and after parameter is slided corresponding to getting, is driven according to the slip parameter mobile whole Hold the FPS values for into line slip, finally calculating the sliding capability that can reflect mobile terminal in sliding process.Using the present invention's Scheme detects the sliding capability of mobile terminal, and scheme simply easily realizes, and to the influence of whole mobile terminal system Less, the time that FPS is slided in test can be reduced significantly, and resulting testing result is also more accurate, to being fully understood by surveying The sliding capability situation of examination mobile terminal has larger help.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (3)

1. the sliding capability detection method of a kind of mobile terminal, it is characterised in that comprise the following steps:
It is determined that the module currently tested, and analogue data filling is carried out to the module, so that the data of the sliding list of the module Meet preset value, wherein the analogue data filled generates at random;
Obtain the slip parameter corresponding with the module prestored;The slip parameter includes:The origin coordinates of slip With the time for terminating coordinate, the dynamics slided and slip;
Drive mobile terminal to enter line slip according to the slip parameter, and calculate the FPS values in sliding process;
Calculating the process of the FPS values includes:
The order adb dumpsys-SurfaceFlinger-latency of crawl FPS data are sent to mobile terminal, and are received The plurality of rows of frame data of multiple row of mobile terminal feedback, per row according to the time value for representing each frame;
The row frame data with maximum are taken out, calculate the time difference between every frame in the row frame data;
The average value of the time difference is calculated, the inverse for calculating the average value obtains FPS values;
Judge whether that all modules have tested completion;
If it is not, a module is selected in the module then never tested automatically and is tested;
If so, then record FPS values corresponding to each module and intuitively shown;
After FPS values are obtained, the arrangement of data is also carried out, the arrangement of the data includes:
Compare all data, obtain highest and minimum frame period time;
All frame period time is divided into several sections according to different time sizes, obtains the distribution number in each section.
A kind of 2. sliding capability detection means of mobile terminal, it is characterised in that including:
Analogue data fills module, analogue data filling is carried out for the module for determining currently to test, and to the module, so that should The data of the sliding list of module meet preset value, wherein the analogue data filled generates at random;
Parameter acquisition module is slided, for obtaining the slip parameter corresponding with the module prestored;It is described to slide ginseng Number includes:The origin coordinates of slip and the time for terminating coordinate, the dynamics slided and slip;
FPS value computing modules, for driving mobile terminal to enter line slip according to the slip parameter, and calculate sliding process In FPS values;
The FPS values computing module includes:
Frame data acquisition module, for send crawl FPS data order adb dumpsys-SurfaceFlinger- Latency to mobile terminal, and receive mobile terminal feedback the plurality of rows of frame data of multiple row, per row according to represent each frame when Between be worth;
Difference calculating module, for taking out the row frame data with maximum, calculate in the row frame data per between frame when Between difference;
Mean value calculation module, for calculating the average value of the time difference, the inverse for calculating the average value obtains FPS values;
Judge module, for after the FPS values of a module are calculated, judging whether that all modules have tested completion;
Loop test module, in the case of being no in the judged result of the judge module, in the module never tested certainly It is dynamic to select a module and tested;
Record and display module, in the case of being in the judged result of the judge module, record corresponding to each module FPS values are simultaneously intuitively shown,
Described device is additionally operable to after FPS values are obtained, and also carries out the arrangement of data, and the arrangement of the data includes:
Compare all data, obtain highest and minimum frame period time;
All frame period time is divided into several sections according to different time sizes, obtains the distribution number in each section.
A kind of 3. mobile terminal, it is characterised in that the sliding capability detection means including the mobile terminal described in claim 2.
CN201410231913.4A 2014-05-28 2014-05-28 Sliding capability detection method, device and the mobile terminal of mobile terminal Expired - Fee Related CN104021067B (en)

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 CN104021067A (en) 2014-09-03
CN104021067B true CN104021067B (en) 2017-11-14

Family

ID=51437834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410231913.4A Expired - Fee Related 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656866B (en) * 2017-09-06 2020-11-27 厦门美图移动科技有限公司 Method for testing application fluency, mobile terminal and computing device
CN111352555A (en) * 2018-12-24 2020-06-30 中移(杭州)信息技术有限公司 List sliding performance optimization method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7401072B2 (en) * 2003-06-10 2008-07-15 Google Inc. Named URL entry

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104021067A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
CN205942664U (en) Electronic equipment and device that is used for showing applied view
CN106775334B (en) File calling method and device on mobile terminal and mobile terminal
CN107273031A (en) Information flow page loading method and device
CN105094967B (en) Process operation method and device
US9055214B2 (en) Electronic device and method of controlling the same
CN106415431A (en) Transition from use of one device to another
WO2011121171A1 (en) Methods and apparatuses for providing an enhanced user interface
CN107734523A (en) A kind of signal intensity reminding method, terminal device and computer-readable medium
CN104020924B (en) Label creation method, device and terminal
CN102799348A (en) Method and device for icon edition on terminal adopting touch screen
CN104811821B (en) The method and device of screen frame per second is painted in adjustment
CN104808782A (en) Application split screen method, application split screen device and intelligent terminal
CN106488008A (en) A kind of voice call control device and its method, mobile terminal
CN107995500A (en) Video watermark recognition methods, device and terminal
AU2014202423B2 (en) Notification of mobile device events
CN105071500B (en) Charging method, device and the terminal of terminal
CN104021067B (en) Sliding capability detection method, device and the mobile terminal of mobile terminal
CN107741786A (en) A kind of method, terminal and computer-readable recording medium for starting camera
CN107132967A (en) Startup method and device, storage medium, the terminal of a kind of application
CN103095912A (en) Method and system for automatic calling of mobile terminal
CN109240579A (en) A kind of touch operation method, equipment and computer can storage mediums
CN103135907A (en) Method and system for browsing interface content of user terminal device
CN110889057B (en) Service data visualization method and service object visualization device
CN103809894B (en) A kind of recognition methods of gesture and electronic equipment
CN104424270A (en) Method and device for displaying pictures

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

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.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171114