CN104731703B - Refresh testing method and apparatus based on page operation - Google Patents

Refresh testing method and apparatus based on page operation Download PDF

Info

Publication number
CN104731703B
CN104731703B CN201310721544.2A CN201310721544A CN104731703B CN 104731703 B CN104731703 B CN 104731703B CN 201310721544 A CN201310721544 A CN 201310721544A CN 104731703 B CN104731703 B CN 104731703B
Authority
CN
China
Prior art keywords
page
data
viewing area
pixel
page operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310721544.2A
Other languages
Chinese (zh)
Other versions
CN104731703A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310721544.2A priority Critical patent/CN104731703B/en
Publication of CN104731703A publication Critical patent/CN104731703A/en
Application granted granted Critical
Publication of CN104731703B publication Critical patent/CN104731703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of refresh testing method and apparatus based on page operation.Wherein, this method includes:Page operation in the page operation combination that the page to be tested in terminal of being rivals in a contest in terminal last time performs;Judge whether the data on the viewing area in terminal change during page operation is played back;If the data on shown viewing area change, judge Refresh Data on viewing area once;The number for the refreshing judged in the output unit time.The present invention is solved in the prior art to page furbishing test without the low technical problem of test accuracy caused by quantitative analysis, has reached the technique effect of the accuracy for improving refresh testing and testing efficiency.

Description

Refresh testing method and apparatus based on page operation
Technical field
The present invention relates to computer realm, in particular to a kind of refresh testing method and dress based on page operation Put.
Background technology
At present, three kinds of methods are included to the refresh testing of page operation in the prior art:Subjective testing, code piling are surveyed Examination, third party test and appraisal website or software test.Wherein, subjective testing is manually operated by tester that naked eyes perceive product Effect, the subjective factor of this method is too many, can not form quantitative analysis and testing efficiency is low;Code piling test is logical The function onDraw crossed in heavily loaded Android View classes method is realized drives piles in tested application, and then obtains function The refreshing frequency of onDraw method, but this method can only be directed to and piling test is carried out in the case where there is software source code, And module of driving piles can also produce certain influence to the performance of program in itself;Third party test and appraisal website or software test are using test Product access test page, corresponding frame rate value is provided by third party website or software, however, this method testing scene by Limit, the result and principle of test can not be considered, and the collection of its test result is difficult in addition, and being implemented with for automatic test is more about Beam.
Obviously, page furbishing is tested in existing method of testing, quantitative analysis can not be realized, but also by a lot The limitation of factor, caused existing refresh testing method efficiency is low, and accuracy rate is low.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
It is existing at least to solve the embodiments of the invention provide a kind of refresh testing method and apparatus based on page operation Page furbishing is tested without the low technical problem of test accuracy caused by quantitative analysis in technology.
One side according to embodiments of the present invention, there is provided a kind of refresh testing method based on page operation, including: Page operation in the page operation combination that the page to be tested in terminal of being rivals in a contest in terminal last time performs;In playback page operation During judge whether the data on viewing area in terminal change;If the data on shown viewing area become Change, then judge Refresh Data on viewing area once;The number for the refreshing judged in the output unit time.
Alternatively, judge whether the data on the viewing area in terminal change during page operation is played back Including:The data in buffer area are mapped in internal memory in real time during page operation is played back, wherein, buffer area is used to remember Record the data on viewing area;Judge whether the adjacent data being mapped to twice in internal memory change, if adjacent map twice Data into internal memory change, then judge that the data on shown viewing area change;Otherwise, judge shown aobvious Show that the data on region do not change.
Alternatively, the data in buffer area are mapped into internal memory in real time during page operation is played back includes: The pixel value of the partial pixel point in viewing area is acquired during playback page operation;The pixel value that will be collected It is deposited into as the data on viewing area in buffer area;The pixel value recorded in buffer area is mapped in internal memory in real time.
Alternatively, the pixel value of the partial pixel point on viewing area is being adopted during playing back page operation Collection includes:Every predetermined on subregion during play back page operation on the display region or in viewing area Line number selects one-row pixels point, to form multirow pixel to be collected;Every a line picture in multirow pixel to be collected A pixel is selected every predetermined columns in vegetarian refreshments, to form pixel to be collected;To the pixel of pixel to be collected Value is acquired.
Alternatively, judge the adjacent data being mapped to twice in internal memory whether change including:To in being currently mapped to Compared with the data deposited are sampled with the data that the last time is mapped in internal memory;If at least one hair in the data sampled out Changing, then judge that the adjacent data being mapped to twice in internal memory change;Otherwise, judge it is adjacent be mapped to twice in Data in depositing do not change.
Alternatively, the page operation in the page operation combination that the page to be tested in terminal of being rivals in a contest in terminal last time performs Before, in addition to:Record the page operation in the page operation combination performed to the page to be tested in terminal;What storage was recorded Page operation.
Alternatively, after the number for the refreshing judged within the output unit time, in addition to:Judge the system of page frame per second It is at least one whether more than corresponding predetermined threshold in meter parameter, wherein, by the number for the refreshing judged in the unit interval Page frame per second is designated as, the statistical parameter of page frame per second includes:The minimum of the average value of page frame per second, standard value and page frame per second Value;If judging at least one predetermined threshold more than corresponding in the statistical parameter of page frame per second, judge to treat in terminal The fluency of the page operation of test page meets to require.
Another aspect according to embodiments of the present invention, a kind of refresh testing device based on page operation is additionally provided, wrapped Include:Playback unit, the page behaviour in the page operation combination that the page to be tested for being rivals in a contest in terminal last time in terminal performs Make;First judging unit, for judging whether the data on the viewing area in terminal are sent out during page operation is played back Changing;Refresh detection unit, for when the data on shown viewing area change, judging the number on viewing area According to refreshing once;Output unit, for the number for the refreshing judged in the output unit time.
Alternatively, the first judging unit includes:Mapping block, for during page operation is played back by buffer area Data be mapped in real time in internal memory, wherein, buffer area is used to record data on viewing area;Judge module, for judging Whether the adjacent data being mapped to twice in internal memory change, if the adjacent data being mapped to twice in internal memory change, Then judge that the data on shown viewing area change;Otherwise, judge that the data on shown viewing area do not occur Change.
Alternatively, mapping block includes:Gather submodule, for during page operation is played back in viewing area The pixel value of partial pixel point be acquired;Sub-module stored, for using the pixel value collected as on viewing area Data are deposited into buffer area;Mapping submodule, for the pixel value recorded in buffer area to be mapped in internal memory in real time.
Alternatively, collection submodule includes:First choice submodule, for being shown during page operation is played back One-row pixels point is selected every predetermined number of lines on subregion on region or in viewing area, it is to be collected more to be formed Row pixel;Second selection submodule, for being arranged in every a line pixel in multirow pixel to be collected every predetermined Number one pixel of selection, to form pixel to be collected;Pixel gathers submodule, for the picture to pixel to be collected Plain value is acquired.
Alternatively, judge module includes:Sampling comparison sub-module, for the data to being currently mapped in internal memory and upper one The secondary data being mapped in internal memory, which are sampled, to be compared;If at least one in the data sampled out changes, judge The adjacent data being mapped to twice in internal memory change;Otherwise, judge that the adjacent data being mapped to twice in internal memory do not have Change.
Alternatively, the device also includes:Recording elements, the page to be tested for being rivals in a contest in terminal last time in terminal perform Page operation combination in page operation before, record in terminal the page to be tested perform page operation combination in Page operation;Memory cell, for storing the page operation recorded.
Alternatively, the device also includes:Second judging unit, for time for the refreshing judged within the output unit time After number, judge in the statistical parameter of page frame per second it is at least one whether be more than corresponding predetermined threshold, wherein, during by unit The number of the interior refreshing judged is designated as page frame per second, and the statistical parameter of page frame per second includes:Average value, the mark of page frame per second The minimum value of quasi- value and page frame per second;If judge at least one more than corresponding predetermined threshold in the statistical parameter of page frame per second Value, then judge that the fluency that the page operation of test page is treated in terminal meets to require.
In embodiments of the present invention, by the way of recording and playback, by played back in terminal recorded to be tested Page operation in the page operation combination that the page performs, can repeatedly be refreshed to the page to be tested in terminal exactly Test, during test, judges whether to refresh according to whether the data on the viewing area of terminal change, By the way of piling or third-party test software or website is used to judge refreshing in the prior art without picture, Reach the purpose of accurate statistics refreshing frequency, realize the technique effect of the accuracy for improving refresh testing and testing efficiency, Solve and page furbishing is tested without the low technical problem of test accuracy caused by quantitative analysis in the prior art.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of refresh testing method optionally based on page operation according to embodiments of the present invention;
Fig. 2 is page operation in a kind of refresh testing method optionally based on page operation according to embodiments of the present invention Schematic diagram;
Fig. 3 is the flow of another refresh testing method optionally based on page operation according to embodiments of the present invention Figure;
Fig. 4 is that pixel is adopted in a kind of refresh testing method optionally based on page operation according to embodiments of the present invention The schematic diagram of collection;
Fig. 5 is pixel in another refresh testing method optionally based on page operation according to embodiments of the present invention The schematic diagram of collection;
Fig. 6 is pixel in the refresh testing method of according to embodiments of the present invention another optionally based on page operation The schematic diagram of collection;
Fig. 7 is pixel in the refresh testing method of according to embodiments of the present invention another optionally based on page operation The schematic diagram of collection;
Fig. 8 is the signal of the refresh testing method of according to embodiments of the present invention another optionally based on page operation Figure;
Fig. 9 is a kind of schematic diagram of refresh testing device optionally based on page operation according to embodiments of the present invention;
Figure 10 is a kind of schematic diagram of refresh testing device optionally based on page operation according to embodiments of the present invention;
Figure 11 is a kind of schematic diagram of refresh testing device optionally based on page operation according to embodiments of the present invention;
Figure 12 is a kind of schematic diagram of refresh testing device optionally based on page operation according to embodiments of the present invention; And
Figure 13 is a kind of schematic diagram of refresh testing device optionally based on page operation according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of refresh testing method based on page operation, as shown in figure 1, the party Method includes:
S102, the page operation in the page operation combination that the page to be tested in terminal of being rivals in a contest in terminal last time performs;
Alternatively, terminal in the present embodiment includes but is not limited to:Mobile phone, tablet personal computer, wherein, in above-mentioned terminal The operating system of operation can include but is not limited to:Android operation system.For example, by taking mobile phone A as an example, and make on the mobile phone Operating system is Android operation system.The example above is a kind of example, and the application is not construed as limiting to this.
Alternatively, playback operation in the present embodiment can include but is not limited at least one of:Periodically to be measured Try the page and carry out playback operation, tester treats test page and carries out playback operation manually.
Alternatively, page operation in the present embodiment includes but is not limited to:The page amplifies, the page reduces, slided page, Click on selection.
For example, by taking mobile phone A as an example, now need testing mobile phone A's to use fluency, such as Fig. 2(a)-(c)It is shown, then exist Mobile phone A last time is rivals in a contest the page to be tested(For example, website W browsing pages)The page operation of execution, for example, page amplifieroperation (Such as Fig. 2(a)In the instruction amplification of upward, downward two arrows), slide page operation(Such as Fig. 2(b)In to the right arrow instruction turn over Page), click on selection operation(Such as Fig. 2(c)Middle arrow instruction is clicked on selection confirmation and logged in).
S104, judges whether the data on the viewing area in terminal change during page operation is played back;
Alternatively, the data of viewing area in the present embodiment include but is not limited to:Font size, pixel value.It is optional Ground, the data of above-mentioned viewing area are stored in buffer area, and these data can be mapped in the internal memory of terminal in real time.Example Such as, can be directly by judging the data preserved in internal memory when whether the data for judging viewing area change. The example above is a kind of example, and the application is not construed as limiting to this.
For example, by taking mobile phone A as an example, during playback is to the page operation of website W browsing pages, the page is judged Whether the pixel value of the pixel on viewing area changes.
S106, if the data on shown viewing area change, judge Refresh Data on viewing area once;
For example, by taking mobile phone A as an example, during playback is to the page operation of website W browsing pages, viewing area is judged The pixel value of same pixel on the D of domain is changed into 0xFF10 from 0xFF00, then can show that the data on the D of the viewing area occur Once refresh.
S108, the number for the refreshing judged in the output unit time.
Alternatively, the refreshing frequency in the unit interval in the present embodiment can also be expressed as frame per second, for fluency Quantitative analysis.
Alternatively, the result of above-mentioned refreshing can be passed through postal by the number for judging in the present embodiment and exporting refreshing afterwards Part informs the tester of correlation, or is directly put in storage the result of refreshing and preserves, or the result of refreshing is illustrated in into public affairs Know platform.The example above is only used as a kind of example, and the application is not construed as limiting to this.
For example, by taking mobile phone A as an example, the unit interval is arranged to 1s, and the refreshing frequency for the mobile phone A judged in 1s is 60 It is secondary, then the refreshing frequency in the unit interval of above-mentioned statistics is exported.
The embodiment provided by the application, by playing back the page operation of the page to be tested in terminal, and it is aobvious to it Show whether the data on region change within the unit interval to be judged, and then draw in the unit interval of the viewing area Refreshing frequency, it is achieved thereby that the quantitative analysis to page furbishing test, with improving refresh testing accuracy.
As a kind of optional scheme, the data on the viewing area in terminal are judged during page operation is played back Whether change including:
S1, the data in buffer area are mapped in internal memory in real time during page operation is played back;
Alternatively, buffer area is used to record the data on viewing area in the present embodiment;
For example, by taking mobile phone A as an example, the unit interval is arranged to 1s, and mobile phone A treats test page(For example, website W browse pages Face)During being played back, the data on the D of viewing area will be recorded in buffer area in real time, and the data of buffer area It will be mapped in real time in the internal memory of mobile phone.
S2, judges whether the adjacent data being mapped to twice in internal memory change;
Alternatively, can be by having mapping relations with data when the data on to terminal display area judge Data in internal memory are judged.
Alternatively, if the adjacent data being mapped to twice in internal memory change, judge on shown viewing area Data change;Otherwise, judge that the data on shown viewing area do not change.
For example, by taking mobile phone A as an example, to the adjacent data being mapped to twice in the internal memory of mobile phone A(For example, pixel value)Carry out Judge, judge whether pixel value changes.If judge the pixel value of the same pixel on the D of viewing area by 0xFF00 It is changed into 0xFF10, then can show that mobile phone A viewing area D is changed, that is to say, that once refreshed;If judge to show Show that pixel value does not change on the D of region, that is to say, that do not refresh.
The embodiment provided by the application, by the way that the data on viewing area are mapped on the internal memory of terminal, then leads to Cross and the adjacent data being mapped to twice in internal memory are compared, so as to judge whether the data of viewing area change, Whether terminal is refreshed, and realizes the accurate test to the test of the terminal page to be measured, and the interpretation of result that can be quantified.
As a kind of optional scheme, as shown in figure 3, step S104, by buffer area during page operation is played back In data be mapped to internal memory in real time and include:
S302, the pixel value of the partial pixel point in viewing area is acquired during page operation is played back;
Alternatively, can gather the viewing area of pixel value in the present embodiment can be but be not limited to:Whole viewing areas Domain, part viewing area.For example, relating only to part viewing area in the page operation to slide page, that is, it is display The lower half screen in region.The example above is a kind of example, and the application is not construed as limiting to this.
Alternatively, partial pixel point in the present embodiment includes but is not limited to:The picture for sampling to obtain according to predetermined condition Vegetarian refreshments, wherein, predetermined condition can include but is not limited to:Predetermined number of lines, the predetermined columns selection in interval are spaced,.
For example, by taking mobile phone A as an example, as shown in figure 4, the pixel resolution of mobile phone A is 16x16, in playback page operation During, to viewing area D(For example, whole viewing areas)In the pixel value of partial pixel point be acquired, for example, Fig. 5 The pixel value every two rows collection one-row pixels point is shown, Fig. 6 shows the pixel value every a row one row pixel of collection.
S304, it is deposited into the pixel value collected as the data on viewing area in buffer area;
For example, by taking mobile phone A as an example, with reference to shown in Fig. 5-Fig. 6, by the above-mentioned pixel value collected, for example, the 3rd, 6,9, 12nd, 15 row, the pixel value of the involved pixel of the 1st, 3,5,7,9,11,13,15 row is as the data deposit on the D of viewing area Buffer area.
S306, the pixel value recorded in buffer area is mapped in internal memory in real time.
For example, by taking mobile phone A as an example, the pixel value that will be recorded in above-mentioned buffer area, with reference to shown in Fig. 5-Fig. 6, the 3rd, 6,9, 12nd, 15 row, the pixel value of the involved pixel of the 1st, 3,5,7,9,11,13,15 row are mapped in internal memory in real time.
The embodiment provided by the application, the pixel value of the partial pixel point of viewing area is gathered, be stored in buffer area, and It is mapped in real time in internal memory, for carrying out data comparison when playing back page operation, so gathers partial pixel in viewing area Test effect can be achieved in the pixel value of point, improves the efficiency of refresh testing.
As a kind of optional scheme, during playing back page operation to the partial pixel point on viewing area Pixel value be acquired including:
S1, on the subregion during play back page operation on the display region or in viewing area every Predetermined number of lines selects one-row pixels point, to form multirow pixel to be collected;
Alternatively, can gather the viewing area of pixel value in the present embodiment can be but be not limited to:Whole viewing areas Domain, part viewing area.For example, relating only to part viewing area in the page operation to slide page, that is, it is display The lower half screen of screen.The example above is a kind of example, and the application is not construed as limiting to this.
For example, by taking mobile phone A as an example, the process for playing back page operation relates only to viewing area D subregion, for example, Execution slides page operation, pertains only to the lower half screen of viewing area, then only carries out pixel collection to the region.With reference to Fig. 5 institutes Show, from the pixel of the 9th row to the 16th row every two rows select one-row pixels point, then formed the 9th, 12,15 rows it is to be collected 3 row pixels.
S2, a pixel is selected every predetermined columns in every a line pixel in multirow pixel to be collected, To form pixel to be collected;
For example, by taking mobile phone A as an example, the process for playing back page operation relates only to viewing area D subregion, for example, Execution slides page operation, pertains only to the lower half screen of viewing area, then only carries out pixel collection to the region.The 9th, 12, In the 3 row pixels to be collected of 15 rows, then every one pixel of a column selection, so just form as shown in Figure 7 treat The pixel of collection.
S3, the pixel value of pixel to be collected is acquired.
For example, by taking mobile phone A as an example, with reference to shown in Fig. 5-7, the process for playing back page operation relates only to viewing area D's Subregion, for example, performing the operation that slides page, pertain only to the lower half screen of viewing area, then can be according to above-mentioned collection principle pair The pixel that the region has been selected is acquired.
The embodiment provided by the application, passes through the multirow pixel to being selected in viewing area every predetermined number of lines Point, then to selecting pixel every predetermined columns in multirow pixel to be collected, pixel to be collected is formed, and to selection The pixel value of the pixel to be collected gone out is acquired, and so the pixel value of the partial pixel point of viewing area is adopted Collection, improve the efficiency of refresh testing.
As a kind of optional scheme, judge the adjacent data being mapped to twice in internal memory whether change including:
S1, compared with being sampled to the data being currently mapped in internal memory with the data that the last time is mapped in internal memory;
Alternatively, the data that viewing area in the present embodiment is mapped in internal memory include but is not limited to:Font size, Pixel value.
For example, by taking Fig. 7 as an example, 24 pixels of the lower half screen in viewing area are acquired(As shown in stain in Fig. 7) Pixel value, the pixel value of 24 pixels is mapped in internal memory from buffer area, and 24 pixels are taken out Sample, for example, the 1st, 3,5,7,9,11,13,15,17,19,21,23 pixel extracted in above-mentioned 24 pixels is compared Compared with.That is, extracting above-mentioned 12 pixels respectively in adjacent 24 pixels being mapped to twice in internal memory carries out picture The comparison of element value.
S2, if at least one in the data sampled out changes, judge adjacent to be mapped in internal memory twice Data change;Otherwise, judge that the adjacent data being mapped to twice in internal memory do not change.
If for example, the pixel value for there was only the 3rd pixel during 24 pixels that sampling obtains are drawn after relatively occurs Change, for example, pixel value is changed into 0xFF10 from 0xFF00, then judges that the adjacent data being mapped to twice in internal memory become Change.
In another example if being drawn after relatively, the pixel value for 24 pixels that sampling obtains does not become, judges phase The data that neighbour is mapped in internal memory twice do not change.
The embodiment provided by the application, to acquired and be mapped to the data in internal memory and be sampled and compare, if At least one data change, then judge that the adjacent data being mapped to twice in internal memory change;Otherwise, phase is judged The data that neighbour is mapped in internal memory twice do not change, and further increase the testing efficiency of refresh testing.
As a kind of optional scheme, the page to be tested in terminal as shown in figure 8, step S102 is rivals in a contest in terminal last time Before page operation in the page operation combination of execution, in addition to:
S802, record the page operation in the page operation combination performed to the page to be tested in terminal;
Alternatively, page operation in the present embodiment includes but is not limited to:The page amplifies, the page reduces, slided page, Click on selection.
For example, by taking mobile phone A as an example, now need testing mobile phone A's to use fluency, such as Fig. 2(a)-(c)It is shown, to be measured Try the page(For example, website W browsing pages)The page operation of execution can be:Page amplifieroperation(Such as Fig. 2(a)In upwards, to Lower two arrows instruction amplification), slide page operation(Such as Fig. 2(b)In to the right arrow instruction page turning), click on selection operation such as Fig. 2(c)Middle arrow instruction is clicked on selection confirmation and logged in), then above-mentioned page operation is recorded, surveyed for playback afterwards Examination.
S804, store the page operation of recording.
For example, by taking mobile phone A as an example, the page operation that the mobile phone A of recording performs is:Page amplifieroperation, slide page behaviour Make, click on selection operation, then preserve the page operation of above-mentioned recording.
The embodiment provided by the application, page operation is recorded in advance preservation so that test can keep one every time Cause property, it ensure that the accuracy of repeatedly playback test.
As a kind of optional scheme, after the number for the refreshing judged within the output unit time, in addition to:
S1, judge at least one whether more than corresponding predetermined threshold in the statistical parameter of page frame per second;
Alternatively, the number for the refreshing judged in the unit interval is designated as page frame per second, page frame in the present embodiment The statistical parameter of rate includes:The minimum value of the average value of page frame per second, standard value and page frame per second.For example, two statistics of selection Parameter, for example, the minimum value of the average value of page frame per second and page frame per second.The example above is a kind of example, and the application is to this It is not construed as limiting.
For example, by taking mobile phone A as an example, and select the average value of page frame per second to be arranged to 1s as statistical parameter, unit interval, In first time playback test, the refreshing frequency for the mobile phone A judged in 1s is 60 times, then can determine whether to learn the mobile phone for the first time The obtained page frame per second of playback test be 60 frames/s, and through repeatedly playback test, the average value that can obtain page frame per second is 55 frames/s, page The minimum value of face frame per second is 40 frames/s, then above-mentioned two statistical parameter is judged whether compared with corresponding predetermined threshold More than corresponding predetermined threshold.
S2, if at least one in judging the statistical parameter of page frame per second is more than corresponding predetermined threshold, judge end The fluency that the page operation of test page is treated on end meets to require.
For example, by taking mobile phone A as an example, if judging, the average value of page frame per second in the statistical parameter of page frame per second is big for 55 frames/s In predetermined threshold(For example, the predetermined threshold of the average value of page frame per second is 50 frames/s), and the minimum value of page frame per second be 40 frames/ S is less than predetermined threshold(For example, the predetermined threshold of the minimum value of page frame per second is 45 frames/s)Then judge in mobile phone A to be tested The fluency of the page operation of the page meets to require.
The embodiment provided by the application, after the number for the refreshing judged within the output unit time, using sentencing Disconnected page frame per second(The number for the refreshing judged in unit interval is designated as page frame per second)Statistical parameter and corresponding predetermined threshold Value is compared, and so as to know whether the fluency of page operation meets to require, while has also done quantitative analysis to refresh testing, Improve the accuracy and testing efficiency of refresh testing.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage Medium(Such as ROM/RAM, magnetic disc, CD)In, including some instructions are causing a station terminal equipment(It can be mobile phone, calculate Machine, server, or network equipment etc.)Perform the method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, additionally provide a kind of for implementing the above-mentioned refresh testing method based on page operation Device, as shown in figure 9, the device includes:
1)Playback unit 902, the page operation combination that the page to be tested for being rivals in a contest in terminal last time in terminal performs In page operation;
Alternatively, terminal in the present embodiment includes but is not limited to:Mobile phone, tablet personal computer, wherein, in above-mentioned terminal The operating system of operation can include but is not limited to:Android operation system.For example, by taking mobile phone A as an example, and make on the mobile phone Operating system is Android operation system.The example above is a kind of example, and the application is not construed as limiting to this.
Alternatively, playback operation in the present embodiment can include but is not limited at least one of:Periodically to be measured Try the page and carry out playback operation, tester treats test page and carries out playback operation manually.
Alternatively, page operation in the present embodiment includes but is not limited to:The page amplifies, the page reduces, slided page, Click on selection.
For example, by taking mobile phone A as an example, now need testing mobile phone A's to use fluency, such as Fig. 2(a)-(c)It is shown, then exist Mobile phone A last time is rivals in a contest the page to be tested(For example, website W browsing pages)The page operation of execution, for example, page amplifieroperation (Such as Fig. 2(a)In the instruction amplification of upward, downward two arrows), slide page operation(Such as Fig. 2(b)In to the right arrow instruction turn over Page), click on selection operation(Such as Fig. 2(c)Middle arrow instruction is clicked on selection confirmation and logged in).
2)First judging unit 904, for judging during page operation is played back on the viewing area in terminal Whether data change;
Alternatively, the data of viewing area in the present embodiment include but is not limited to:Font size, pixel value.It is optional Ground, the data of above-mentioned viewing area are stored in buffer area, and these data can be mapped in the internal memory of terminal in real time.Example Such as, can be directly by judging the data preserved in internal memory when whether the data for judging viewing area change. The example above is a kind of example, and the application is not construed as limiting to this.
For example, by taking mobile phone A as an example, during playback is to the page operation of website W browsing pages, the page is judged Whether the pixel value of the pixel on viewing area changes.
3)Refresh detection unit 906, for when the data on shown viewing area change, judging viewing area On Refresh Data once;
For example, by taking mobile phone A as an example, during playback is to the page operation of website W browsing pages, viewing area is judged The pixel value of same pixel on the D of domain is changed into 0xFF10 from 0xFF00, then can show that the data on the D of the viewing area occur Once refresh.
4)Output unit 908, for the number for the refreshing judged in the output unit time.
Alternatively, the refreshing frequency in the unit interval in the present embodiment can also be expressed as frame per second, for fluency Quantitative analysis.
Alternatively, the result of above-mentioned refreshing can be passed through postal by the number for judging in the present embodiment and exporting refreshing afterwards Part informs the tester of correlation, or is directly put in storage the result of refreshing and preserves, or the result of refreshing is illustrated in into public affairs Know platform.The example above is only used as a kind of example, and the application is not construed as limiting to this.
For example, by taking mobile phone A as an example, the unit interval is arranged to 1s, and the refreshing frequency for the mobile phone A judged in 1s is 60 It is secondary, then the refreshing frequency in the unit interval of above-mentioned statistics is exported.
The embodiment provided by the application, by playing back the page operation of the page to be tested in terminal, and it is aobvious to it Show whether the data on region change within the unit interval to be judged, and then draw in the unit interval of the viewing area Refreshing frequency, it is achieved thereby that the quantitative analysis to page furbishing test, with improving refresh testing accuracy.
As a kind of optional scheme, as shown in Figure 10, the first judging unit 904 includes:
1)Mapping block 1002, it is interior for being mapped to the data in buffer area in real time during page operation is played back In depositing, wherein, buffer area is used to record the data on viewing area;
Alternatively, buffer area is used to record the data on viewing area in the present embodiment;
For example, by taking mobile phone A as an example, the unit interval is arranged to 1s, and mobile phone A treats test page(For example, website W browse pages Face)During being played back, the data on the D of viewing area will be recorded in buffer area in real time, and the data of buffer area It will be mapped in real time in the internal memory of mobile phone.
2)Judge module 1004, for judging whether the adjacent data being mapped to twice in internal memory change, if adjacent The data being mapped to twice in internal memory change, then judge that the data on shown viewing area change;Otherwise, judge The data gone out on shown viewing area do not change.
Alternatively, can be by having mapping relations with data when the data on to terminal display area judge Data in internal memory are judged.
Alternatively, if the adjacent data being mapped to twice in internal memory change, judge on shown viewing area Data change;Otherwise, judge that the data on shown viewing area do not change.
For example, by taking mobile phone A as an example, to the adjacent data being mapped to twice in the internal memory of mobile phone A(For example, pixel value)Carry out Judge, judge whether pixel value changes.If judge the pixel value of the same pixel on the D of viewing area by 0xFF00 It is changed into 0xFF10, then can show that mobile phone A viewing area D is changed, that is to say, that once refreshed;If judge to show Show that pixel value does not change on the D of region, that is to say, that do not refresh.
The embodiment provided by the application, by the way that the data on viewing area are mapped on the internal memory of terminal, then leads to Cross and the adjacent data being mapped to twice in internal memory are compared, so as to judge whether the data of viewing area change, Whether terminal is refreshed, and realizes the accurate test to the test of the terminal page to be measured, and the interpretation of result that can be quantified.
As a kind of optional scheme, as shown in figure 11, mapping block 1002 includes:
1)Gather submodule 1102, for during page operation is played back to the partial pixel point in viewing area Pixel value is acquired;
Alternatively, can gather the viewing area of pixel value in the present embodiment can be but be not limited to:Whole viewing areas Domain, part viewing area.For example, relating only to part viewing area in the page operation to slide page, that is, it is display The lower half screen in region.The example above is a kind of example, and the application is not construed as limiting to this.
Alternatively, partial pixel point in the present embodiment includes but is not limited to:The picture for sampling to obtain according to predetermined condition Vegetarian refreshments, wherein, predetermined condition can include but is not limited to:Predetermined number of lines, the predetermined columns selection in interval are spaced,.
For example, by taking mobile phone A as an example, as shown in figure 4, the pixel resolution of mobile phone A is 16x16, in playback page operation During, to viewing area D(For example, whole viewing areas)In the pixel value of partial pixel point be acquired, for example, Fig. 5 The pixel value every two rows collection one-row pixels point is shown, Fig. 6 shows the pixel value every a row one row pixel of collection.
2)Sub-module stored 1104, for being deposited into buffer area using the pixel value collected as the data on viewing area In;
For example, by taking mobile phone A as an example, with reference to shown in Fig. 5-Fig. 6, by the above-mentioned pixel value collected, for example, the 3rd, 6,9, 12nd, 15 row, the pixel value of the involved pixel of the 1st, 3,5,7,9,11,13,15 row is as the data deposit on the D of viewing area Buffer area.
3)Mapping submodule 1106, for the pixel value recorded in buffer area to be mapped in internal memory in real time.
For example, by taking mobile phone A as an example, the pixel value that will be recorded in above-mentioned buffer area, with reference to shown in Fig. 5-Fig. 6, the 3rd, 6,9, 12nd, 15 row, the pixel value of the involved pixel of the 1st, 3,5,7,9,11,13,15 row are mapped in internal memory in real time.
The embodiment provided by the application, the pixel value of the partial pixel point of viewing area is gathered, be stored in buffer area, and It is mapped in real time in internal memory, for carrying out data comparison when playing back page operation, so gathers partial pixel in viewing area Test effect can be achieved in the pixel value of point, improves the efficiency of refresh testing.
As a kind of optional scheme, as shown in figure 12, collection submodule 1102 includes:
!)First choice submodule 1202, on the display region or being shown during page operation is played back One-row pixels point is selected every predetermined number of lines on subregion in region, to form multirow pixel to be collected;
Alternatively, can gather the viewing area of pixel value in the present embodiment can be but be not limited to:Whole viewing areas Domain, part viewing area.For example, relating only to part viewing area in the page operation to slide page, that is, it is display The lower half screen of screen.The example above is a kind of example, and the application is not construed as limiting to this.
For example, by taking mobile phone A as an example, the process for playing back page operation relates only to viewing area D subregion, for example, Execution slides page operation, pertains only to the lower half screen of viewing area, then only carries out pixel collection to the region.With reference to Fig. 5 institutes Show, from the pixel of the 9th row to the 16th row every two rows select one-row pixels point, then formed the 9th, 12,15 rows it is to be collected 3 row pixels.
2)Second selection submodule 1204, in every a line pixel in multirow pixel to be collected every pre- Determine columns and select a pixel, to form pixel to be collected;
For example, by taking mobile phone A as an example, the process for playing back page operation relates only to viewing area D subregion, for example, Execution slides page operation, pertains only to the lower half screen of viewing area, then only carries out pixel collection to the region.The 9th, 12, In the 3 row pixels to be collected of 15 rows, then every one pixel of a column selection, so just form as shown in Figure 7 treat The pixel of collection.
3)Pixel gathers submodule 1206, for being acquired to the pixel value of pixel to be collected.
For example, by taking mobile phone A as an example, with reference to shown in Fig. 5-7, the process for playing back page operation relates only to viewing area D's Subregion, for example, performing the operation that slides page, pertain only to the lower half screen of viewing area, then can be according to above-mentioned collection principle pair The pixel that the region has been selected is acquired.
The embodiment provided by the application, passes through the multirow pixel to being selected in viewing area every predetermined number of lines Point, then to selecting pixel every predetermined columns in multirow pixel to be collected, pixel to be collected is formed, and to selection The pixel value of the pixel to be collected gone out is acquired, and so the pixel value of the partial pixel point of viewing area is adopted Collection, improve the efficiency of refresh testing.
As a kind of optional scheme, judge module 1004 includes:
1)Sampling comparison sub-module, for the data to being currently mapped in internal memory and the last number being mapped in internal memory Compare according to being sampled;
Alternatively, if at least one in the data sampled out changes, judge adjacent to be mapped to internal memory twice In data change;Otherwise, judge that the adjacent data being mapped to twice in internal memory do not change.
Alternatively, the data that viewing area in the present embodiment is mapped in internal memory include but is not limited to:Font size, Pixel value.
For example, by taking Fig. 7 as an example, 24 pixels of the lower half screen in viewing area are acquired(As shown in stain in Fig. 7) Pixel value, the pixel value of 24 pixels is mapped in internal memory from buffer area, and 24 pixels are taken out Sample, for example, the 1st, 3,5,7,9,11,13,15,17,19,21,23 pixel extracted in above-mentioned 24 pixels is compared Compared with.That is, extracting above-mentioned 12 pixels respectively in adjacent 24 pixels being mapped to twice in internal memory carries out picture The comparison of element value.
If for example, the pixel value for there was only the 3rd pixel during 24 pixels that sampling obtains are drawn after relatively occurs Change, for example, pixel value is changed into 0xFF10 from 0xFF00, then judges that the adjacent data being mapped to twice in internal memory become Change.
In another example if being drawn after relatively, the pixel value for 24 pixels that sampling obtains does not become, judges phase The data that neighbour is mapped in internal memory twice do not change.
The embodiment provided by the application, to acquired and be mapped to the data in internal memory and be sampled and compare, if At least one data change, then judge that the adjacent data being mapped to twice in internal memory change;Otherwise, phase is judged The data that neighbour is mapped in internal memory twice do not change, and further increase the testing efficiency of refresh testing.
As a kind of optional scheme, as shown in figure 13, the device also includes:
1)Recording elements 1302, the page operation combination that the page to be tested for being rivals in a contest in terminal last time in terminal performs In page operation before, record in terminal the page to be tested perform page operation combination in page operation;
Alternatively, page operation in the present embodiment includes but is not limited to:The page amplifies, the page reduces, slided page, Click on selection.
For example, by taking mobile phone A as an example, now need testing mobile phone A's to use fluency, such as Fig. 2(a)-(c)It is shown, to be measured Try the page(For example, website W browsing pages)The page operation of execution can be:Page amplifieroperation(Such as Fig. 2(a)In upwards, to Lower two arrows instruction amplification), slide page operation(Such as Fig. 2(b)In to the right arrow instruction page turning), click on selection operation such as Fig. 2(c)Middle arrow instruction is clicked on selection confirmation and logged in), then above-mentioned page operation is recorded, surveyed for playback afterwards Examination.
2)Memory cell 1304, for storing the page operation recorded.
For example, by taking mobile phone A as an example, the page operation that the mobile phone A of recording performs is:Page amplifieroperation, slide page behaviour Make, click on selection operation, then preserve the page operation of above-mentioned recording.
The embodiment provided by the application, page operation is recorded in advance preservation so that test can keep one every time Cause property, it ensure that the accuracy of repeatedly playback test.
As a kind of optional scheme, as shown in figure 13, the device also includes:
1)Second judging unit 1306, after the number for the refreshing judged within the output unit time, judge page It is at least one whether more than corresponding predetermined threshold in the statistical parameter of face frame per second, wherein, by what is judged in the unit interval The number of refreshing is designated as page frame per second, and the statistical parameter of page frame per second includes:Average value, standard value and the page frame of page frame per second The minimum value of rate;
Alternatively, if at least one in judging the statistical parameter of page frame per second is more than corresponding predetermined threshold, judge The fluency for going out in terminal to treat the page operation of test page meets to require.
Alternatively, the number for the refreshing judged in the unit interval is designated as page frame per second, page frame in the present embodiment The statistical parameter of rate includes:The minimum value of the average value of page frame per second, standard value and page frame per second.For example, two statistics of selection Parameter, for example, the minimum value of the average value of page frame per second and page frame per second.The example above is a kind of example, and the application is to this It is not construed as limiting.
For example, by taking mobile phone A as an example, and select the average value of page frame per second to be arranged to 1s as statistical parameter, unit interval, In first time playback test, the refreshing frequency for the mobile phone A judged in 1s is 60 times, then can determine whether to learn the mobile phone for the first time The obtained page frame per second of playback test be 60 frames/s, and through repeatedly playback test, the average value that can obtain page frame per second is 55 frames/s, page The minimum value of face frame per second is 40 frames/s, then above-mentioned two statistical parameter is judged whether compared with corresponding predetermined threshold More than corresponding predetermined threshold.
For example, by taking mobile phone A as an example, if judging, the average value of page frame per second in the statistical parameter of page frame per second is big for 55 frames/s In predetermined threshold(For example, the predetermined threshold of the average value of page frame per second is 50 frames/s), and the minimum value of page frame per second be 40 frames/ S is less than predetermined threshold(For example, the predetermined threshold of the minimum value of page frame per second is 45 frames/s)Then judge in mobile phone A to be tested The fluency of the page operation of the page meets to require.
The embodiment provided by the application, after the number for the refreshing judged within the output unit time, using sentencing Disconnected page frame per second(The number for the refreshing judged in unit interval is designated as page frame per second)Statistical parameter and corresponding predetermined threshold Value is compared, and so as to know whether the fluency of page operation meets to require, while has also done quantitative analysis to refresh testing, Improve the accuracy and testing efficiency of refresh testing.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, can be by others side Formula is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, and only one Kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment(Can be personal computer, server or network equipment etc.)Perform each embodiment methods described of the present invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage(ROM, Read-Only Memory), arbitrary access deposits Reservoir(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (12)

  1. A kind of 1. refresh testing method based on page operation, it is characterised in that including:
    Page operation in the page operation combination that the page to be tested in the terminal of being rivals in a contest in terminal last time performs;
    Judge whether the data on the viewing area in the terminal change during the page operation is played back;
    If the data on shown viewing area change, judge Refresh Data on the viewing area once;
    The number for the refreshing judged in the output unit time;
    Wherein, whether the data on the viewing area judged during the page operation is played back in the terminal are sent out Changing includes:
    The data in buffer area are mapped in internal memory in real time during the page operation is played back, wherein, the caching Area is used to record the data on the viewing area;
    Judge whether the adjacent data being mapped to twice in the internal memory change, if adjacent be mapped in the internal memory twice Data change, then judge that the data on shown viewing area change;Otherwise, judge on shown viewing area Data do not change.
  2. 2. according to the method for claim 1, it is characterised in that described to be cached during the page operation is played back Data in area are mapped to internal memory in real time to be included:
    The pixel value of the partial pixel point in the viewing area is acquired during the page operation is played back;
    The pixel value collected is deposited into the buffer area as the data on the viewing area;
    The pixel value recorded in the buffer area is mapped in the internal memory in real time.
  3. 3. according to the method for claim 2, it is characterised in that it is described during the page operation is played back to described The pixel value of partial pixel point in viewing area be acquired including:
    Subregion during the page operation is played back on the viewing area or in the viewing area On every predetermined number of lines select one-row pixels point, to form multirow pixel to be collected;
    A pixel is selected every predetermined columns in every a line pixel in the multirow pixel to be collected, with shape Into pixel to be collected;
    The pixel value of the pixel to be collected is acquired.
  4. 4. according to the method for claim 1, it is characterised in that described to judge the adjacent number being mapped to twice in the internal memory According to whether change including:
    Compared with being sampled to the data being currently mapped in the internal memory with the data that the last time is mapped in the internal memory;
    If at least one in the data sampled out changes, described adjacent be mapped to twice in the internal memory is judged Data change;Otherwise, judge that the adjacent data being mapped to twice in the internal memory do not change.
  5. 5. according to the method for claim 1, it is characterised in that the page to be tested being rivals in a contest in terminal last time in the terminal Before page operation in the page operation combination of execution, in addition to:
    Record the page operation in the page operation combination performed to the page to be tested in the terminal;
    Store the page operation of the recording.
  6. 6. according to the method for claim 1, it is characterised in that the refreshing judged within the output unit time Number after, in addition to:
    Judge in the statistical parameter of page frame per second it is at least one whether be more than corresponding predetermined threshold, wherein, by the unit The number for the refreshing judged in time is designated as the page frame per second, and the statistical parameter of the page frame per second includes:It is described The minimum value of the average value of page frame per second, standard value and the page frame per second;
    If judge in the statistical parameter of page frame per second it is at least one be more than it is described corresponding to predetermined threshold, judge the end The fluency of the page operation of the page to be tested is met to require on end.
  7. A kind of 7. refresh testing device based on page operation, it is characterised in that including:
    Playback unit, the page in the page operation combination that the page to be tested for being rivals in a contest in terminal last time in the terminal performs Face operates;
    First judging unit, for judging the number on the viewing area in the terminal during the page operation is played back According to whether changing;
    Refresh detection unit, for when the data on shown viewing area change, judging on the viewing area Refresh Data is once;
    Output unit, for the number for the refreshing judged in the output unit time;
    Wherein, first judging unit includes:
    Mapping block, for the data in buffer area to be mapped in internal memory in real time during the page operation is played back, Wherein, the buffer area is used to record the data on the viewing area;
    Judge module, for judging whether the adjacent data being mapped to twice in the internal memory change, if adjacent reflect twice The data being mapped in the internal memory change, then judge that the data on shown viewing area change;Otherwise, judge Data on shown viewing area do not change.
  8. 8. device according to claim 7, it is characterised in that the mapping block includes:
    Gather submodule, for during the page operation is played back to the picture of the partial pixel point in the viewing area Plain value is acquired;
    Sub-module stored, for the pixel value collected to be deposited into the caching as the data on the viewing area Qu Zhong;
    Mapping submodule, for the pixel value recorded in the buffer area to be mapped in the internal memory in real time.
  9. 9. device according to claim 8, it is characterised in that the collection submodule includes:
    First choice submodule, for showing during the page operation is played back on the viewing area or described Show and select one-row pixels point every predetermined number of lines on the subregion in region, to form multirow pixel to be collected;
    Second selection submodule, in every a line pixel in the multirow pixel to be collected every predetermined columns A pixel is selected, to form pixel to be collected;
    Pixel gathers submodule, for being acquired to the pixel value of the pixel to be collected.
  10. 10. device according to claim 7, it is characterised in that the judge module includes:
    Sampling comparison sub-module, it is mapped to for the data to being currently mapped in the internal memory with last in the internal memory Data, which are sampled, to be compared;If at least one in the data sampled out changes, described adjacent map twice is judged Changed to the data in the internal memory;Otherwise, judge that the adjacent data being mapped to twice in the internal memory do not have Change.
  11. 11. device according to claim 7, it is characterised in that also include:
    Recording elements, the page operation group that the page to be tested for being rivals in a contest in terminal last time in the terminal performs Before the page operation in conjunction, record the page operation performed to the page to be tested in the terminal and combine In the page operation;
    Memory cell, for storing the page operation of the recording.
  12. 12. device according to claim 7, it is characterised in that also include:
    Second judging unit, after the number for the refreshing judged within the output unit time, judge the page It is at least one whether more than corresponding predetermined threshold in the statistical parameter of frame per second, wherein, it will judge in the unit interval The number of the refreshing be designated as the page frame per second, the statistical parameter of the page frame per second includes:The page frame per second is put down The minimum value of average, standard value and the page frame per second;
    If judge in the statistical parameter of page frame per second it is at least one be more than it is described corresponding to predetermined threshold, judge the end The fluency of the page operation of the page to be tested is met to require on end.
CN201310721544.2A 2013-12-23 2013-12-23 Refresh testing method and apparatus based on page operation Active CN104731703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310721544.2A CN104731703B (en) 2013-12-23 2013-12-23 Refresh testing method and apparatus based on page operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310721544.2A CN104731703B (en) 2013-12-23 2013-12-23 Refresh testing method and apparatus based on page operation

Publications (2)

Publication Number Publication Date
CN104731703A CN104731703A (en) 2015-06-24
CN104731703B true CN104731703B (en) 2018-03-30

Family

ID=53455613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310721544.2A Active CN104731703B (en) 2013-12-23 2013-12-23 Refresh testing method and apparatus based on page operation

Country Status (1)

Country Link
CN (1) CN104731703B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912444A (en) * 2016-04-29 2016-08-31 网易(杭州)网络有限公司 Refresh rate testing method and device of picture change of mobile terminal game screen
CN106802935B (en) * 2016-12-29 2020-08-04 腾讯科技(深圳)有限公司 Page fluency testing method and device
CN106959922B (en) * 2017-03-15 2020-05-12 武汉斗鱼网络科技有限公司 Application fluency evaluation method and device
CN107301231A (en) * 2017-06-26 2017-10-27 腾讯科技(深圳)有限公司 The page opens time-consuming method of testing and test system
CN108154427B (en) * 2017-12-01 2022-01-28 上海子午线新荣科技有限公司 Data detection method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN101242621A (en) * 2008-01-21 2008-08-13 中兴通讯股份有限公司 An automatic testing method and system based on interface
CN101295313A (en) * 2007-04-25 2008-10-29 佳能株式会社 Display control apparatus and display control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7840851B2 (en) * 2008-02-15 2010-11-23 Red Hat, Inc. Annotating GUI test automation playback and debugging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601483A (en) * 2004-10-22 2005-03-30 中国工商银行 Automation software testing system based on script explanatory tool
CN101295313A (en) * 2007-04-25 2008-10-29 佳能株式会社 Display control apparatus and display control method
CN101242621A (en) * 2008-01-21 2008-08-13 中兴通讯股份有限公司 An automatic testing method and system based on interface

Also Published As

Publication number Publication date
CN104731703A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104731703B (en) Refresh testing method and apparatus based on page operation
CN104410907B (en) The monitoring method and monitoring device of video ads
CN103679487B (en) The monitoring method and equipment of advertising display
CN102685717B (en) network service quality parameter identification method and device
Hunter Factorial ecology: A critique and some suggestions
CN106899864A (en) Commercial detection method and device
CN110413973A (en) Computer automatically generates the method and its system of set volume
CN105740304B (en) Visual page editing method and device and A/B testing method and device
CN107515825A (en) Fluency method of testing and device, storage medium, terminal
CN106202101B (en) Advertisement identification method and device
CN106649372A (en) Display method and device for advertisement clicks in thermodynamic diagram
CN107357903A (en) User behavior data integration method, device and electronic equipment
CN106528398A (en) Game software performance visual analysis method
CN107204956A (en) website identification method and device
CN110049318A (en) A kind of learning quality appraisal procedure and relevant apparatus
CN108564002A (en) A kind of remote sensing image time series variation detection method and system
WO2021147866A1 (en) Ecg signal acquisition method and device, storage medium, and electronic device
CN108073597A (en) The page clicks on behavior methods of exhibiting, device and system
CN107247656A (en) A kind of machine, which is passed the examination, records and counts the method and system of examinee's mouse behavior
CN105264896A (en) Video quality detection method and device
CN103106412B (en) Flaky medium recognition methods and recognition device
Petrou et al. Texture recognition from sparsely and irregularly sampled data
CN107529067A (en) The recommendation method and apparatus of video
CN106599234A (en) Data visualization processing method and system based on multidimensional identification
CN105025115B (en) A kind of method and apparatus for generating dormitory IP libraries

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