CN104394026B - The measurement method and device of web page loading time - Google Patents

The measurement method and device of web page loading time Download PDF

Info

Publication number
CN104394026B
CN104394026B CN201410524513.2A CN201410524513A CN104394026B CN 104394026 B CN104394026 B CN 104394026B CN 201410524513 A CN201410524513 A CN 201410524513A CN 104394026 B CN104394026 B CN 104394026B
Authority
CN
China
Prior art keywords
image
filling rate
framing
region
state
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
CN201410524513.2A
Other languages
Chinese (zh)
Other versions
CN104394026A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410524513.2A priority Critical patent/CN104394026B/en
Publication of CN104394026A publication Critical patent/CN104394026A/en
Application granted granted Critical
Publication of CN104394026B publication Critical patent/CN104394026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides the measurement method and device of a kind of web page loading time.The measurement method of the web page loading time includes: the video data for being retrieved as the predetermined time length of browser interface recording of load webpage;Framing is carried out to the video data, obtains multiple framing images and its corresponding recording time;According to the image state variation for specifying region in the multiple framing image, the load time of corresponding region in the webpage is determined.The measurement method and device of a kind of web page loading time provided through the invention realize accurate measurement web page loading time, improve the purpose of measurement efficiency.

Description

The measurement method and device of web page loading time
Technical field
The present invention relates to field of computer technology more particularly to the measurement methods and device of a kind of web page loading time.
Background technique
When user opens browser access website, Website page is not instead of disposable to be all shown on screen, point Batch load and display, total load time are longer much than the head screen content load time, if the partial content institute occupied area of webpage Domain range is bigger, and loads and slowly will lead to poor user experience.
Currently, obtaining web page loading time by being embedded in code in specified web page code or by artificial stopwatch Mode remove test web page loading time, and the former does not have versatility, can only evaluate and test the specific region time of itself webpage, separately Acquisition time will be a certain deviation with what user visually saw by way of inline code outside, and the latter passes through the side such as stopwatch Formula goes acquisition time, and human error is larger, and efficiency is relatively low.
Summary of the invention
The purpose of the present invention is to provide a kind of measurement method of web page loading time and devices, by loading to webpage Cheng Jinhang video record determines web page loading time according to the state change of the image in the specified region of video, to realize standard The really purpose of measurement web page loading time.
According to an aspect of the present invention, a kind of measurement method of web page loading time is provided, comprising: be retrieved as load webpage Browser interface record predetermined time length video data;Framing is carried out to the video data, obtains multiple framings Image and its corresponding recording time;Changed according to the image state in region specified in the multiple framing image, described in determination The load time of corresponding region in webpage.
According to another aspect of the present invention, a kind of measurement dress of web page loading time using above-mentioned measurement method is provided It sets, comprising: obtain module, the video data for the predetermined time length that the browser interface for being retrieved as load webpage is recorded; Framing module obtains multiple framing images and its corresponding recording time for carrying out framing to the video data;Determine mould Block, for determining corresponding region in the webpage according to specifying the image state in region to change in the multiple framing image Load time.
The measurement method and device of web page loading time of the invention are recorded by the browser interface to load webpage The video data of enough time length specifies the image state in region in the multiple framing images separated according to the video data Variation, determines the load time of corresponding region in the webpage, to realize accurate measurement web page loading time, improves measurement effect The purpose of rate.
Detailed description of the invention
Fig. 1 is the flow chart of the measurement method of the web page loading time of the embodiment of the present invention.
Fig. 2 is the structural block diagram of the measuring device of the web page loading time of the embodiment of the present invention.
Fig. 3 is one of the measurement process exemplary diagram of web page loading time of the embodiment of the present invention.
Fig. 4 is the two of the measurement process exemplary diagram of the web page loading time of the embodiment of the present invention.
Fig. 5 is the three of the measurement process exemplary diagram of the web page loading time of the embodiment of the present invention.
Fig. 6 is the four of the measurement process exemplary diagram of the web page loading time of the embodiment of the present invention.
Specific embodiment
The present general inventive concept is video record to be carried out by the browser interface to webpage loading complete process, to institute It states video data and carries out framing, multiple framing images and its corresponding recording time are obtained, according in the multiple framing image The image state variation in specified region, determines the load time of corresponding region in the webpage, to realize accurate measurement webpage Load time realizes the purpose of accurate measurement web page loading time.
The measurement method and device of a kind of web page loading time of the embodiment of the present invention are retouched in detail with reference to the accompanying drawing It states.
Fig. 1 shows the flow chart of the measurement method of the web page loading time of the embodiment of the present invention.
Referring to Fig.1, in step S110, it is retrieved as the video of the predetermined time length of the browser interface recording of load webpage Data.
An exemplary embodiment of the present invention can be in the video data that step S110 is obtained through third party's screen Curtain video recording software or the first-class mode of high-speed camera are recorded, and the predetermined time length is greater than or equal to the time of webpage load.
In step S120, framing is carried out to the video data got in step S110, obtain multiple framing images and its Corresponding recording time.In general, video data all includes the metadata of the projects such as recording time, size of data, it can be according to described The time offset value of metadata and the multiple framing image obtains its corresponding recording time, or directly by the multiple point The time offset value of frame image is as its recording time.
Respective area in webpage is determined according to specifying the image state in region to change in multiple framing images in step S130 The load time in domain.Wherein, the specified region in the multiple framing image is corresponding to the web page area of load time to be measured, It can such as, but not limited to, the specified region is marked by third party's toolmark tool or marks the specified region manually Deng for example, the coordinates regional [0,0,200,300] in the specified region of mark indicates that starting point coordinate is [0,0] and area size is [200,300].
Specifically, step S130 can include:
End-state calibration: the final of specified region is calculated based on the framing image recorded the latest in multiple framing images Image state;
Positioning is completed in load: being determined in the multiple framing image, the image shape in the specified region recorded earliest State framing image identical with the final image state;
Load time calculates: the recording time for loading the framing image of initial time and the determination based on webpage calculates institute State the load time of corresponding region in webpage.Here it is possible to by the record of the first framing image in the multiple framing image Time processed is that the webpage loads initial time, also provides the webpage by user and loads initial time.
Positioning is completed in order to carry out the end-state calibration and load, needs to calculate the framing image recorded the latest Described in specify the image state (i.e. final image state) in region, and need to divide the multiple framing image frame by frame Analysis calculates the image state for specifying region described in each framing image, then will specify area described in each framing image The image state in domain is compared with the final image state, and determines the image shape in the specified region recorded earliest State framing image identical with the final image state.
An exemplary embodiment of the present invention is demarcated and is loaded in the processing for completing positioning in end-state, to locating Any framing image of reason can calculate the image state in the specified region in the framing image by following operation:
Firstly, by identical piece of size that the specified region division of the framing image is predetermined number.For example, will The specified region division is M*N block, i.e. M row N is arranged, each block size is identical.
Then, computation partition at each of piece status data being filled, and block according to the predetermined number is filled out The status data filled calculates the filling rate in the specified region.
It is provided below to be used to calculate three embodiments that the filling rate in region is specified described in framing image:
Embodiment one
The computation partition at each of piece status data being filled, and block according to the predetermined number is filled Status data calculate the filling rate in the specified region and include:
Firstly, whether including that non-empty white pixel determines whether block is non-blank-white block according to described each piece.
For example, can determine in the block if thering is any pixel to meet the following conditions in a block comprising non-empty white pixel:
| R-G | > constant C1And | R-B | > constant C2And | G-B | > constant C3, or
R < constant C4And R < constant C5And B < constant C6,
Wherein, described R, G and B are respectively the red, green, blue color component value of the pixel, C1~C6For constant.
It can determine whether there is non-empty white pixel in described piece by above formula.If there is non-empty white pixel, then described piece is non- Blank block;If there is no non-empty white pixel in described piece, determine that each piece is blank block.
After determining whether each piece be non-blank-white block, it may be determined that the number of non-blank-white block in the specified region.
Later, first filling rate in the specified region can be calculated according to the following formula:
The number of block in region is specified described in first filling rate=non-blank-white block number ÷.
For example, specifying in region at some, the number of non-blank-white block is 50, is the big of 2*50 by specified region division It is identical piece small, then the first filling rate=50 ÷ 100=0.5 can be calculated by above formula.
On this basis, according to embodiment one, the processing of positioning is completed in the load further include: determines the multiple framing In image, first filling rate in the specified region recorded earliest framing image identical with the final image state, Wherein, the final image state is first filling in the specified region calculated for the framing image recorded the latest Rate.
Embodiment two
The computation partition at each of piece status data being filled, and block according to the predetermined number is filled The processing of the status data filling rate that calculates the specified region include:
Firstly, according to the following formula computation partition at each of piece in each pixel complexity:
Wherein, described R, G and B are respectively the red, green, blue color component value of the pixel,AndRespectively For the mean value of R, G and B.
Then, the complexity of pixel is calculated according to above formula, flat is asked to the complexity of all pixels point in described piece Mean value obtains block complexity, i.e., calculates described piece of complexity by following equation:
In block complexity=block in the sum of complexity of all pixels point ÷ block pixel number.
For example, if be calculated in a certain piece the sum of complexity of all pixels point be 23, and in block pixel Number is 100, then it is 0.23 that block complexity, which is calculated,.
Finally, averaging to all pieces in the specified region of block complexity, the second of the specified region is obtained Filling rate.That is, calculating second filling rate in the specified region according to the following formula:
In second filling rate=region in the region the sum of all pieces of complexities ÷ block sum.
For example, being the identical 100 block A of size by the specified region division1, A2, A3... ... A100, by calculating Complexity to each piece is respectively a1, a2, a3……a100, acquire the second filling rate=(a in the specified region1+a2+a3 +……+a100)÷100。
On this basis, according to embodiment two, the processing of positioning is completed in the load further include: determines the multiple framing In image, second filling rate in the specified region recorded earliest framing image identical with the final image state, Wherein, the final image state is second filling in the specified region calculated for the framing image recorded the latest Rate.
Embodiment three
The computation partition at each of piece status data being filled, and block according to the predetermined number is filled The processing of the status data filling rate that calculates the specified region include:
The first filling rate (as described in example 1) and the second filling rate for calculating the specified region (are such as being implemented Described in example two).
On this basis, the processing of positioning is completed in the load further include: is determined in the multiple framing image, earliest First filling rate and the second filling rate framing image identical with the final image state in the specified region recorded, In, the final image state be the specified region calculated for the framing image recorded the latest the first filling rate and Second filling rate.
As previously mentioned, by being analyzed frame by frame the multiple framing image, calculating each framing in step S130 Described in image specify region image state (such as the first filling rate and/or the second filling rate), find first with it is corresponding The identical framing image of final image state.Hereafter, the processing calculated by the load time obtains corresponding in the webpage The load time in region.
Fig. 3~Fig. 6 shows the measurement process of the web page loading time of the embodiment of the present invention, referring to Fig. 3~Fig. 6 pairs The technical solution of the embodiment of the present invention carries out exemplary description.
Fig. 3 is shown in the specified region (in heavy black line frame) of Yahoo homepage, and is surveyed by third party's marking tool The coordinate parameters for obtaining the specified region are [0,106,480,225], and final image state difference in the specified region is calculated Are as follows: the first filling rate is 1.0, and the second filling rate is 0.676.
Fig. 4~Fig. 6 is that the specified region described in Fig. 3 carries out the schematic diagram for multiple framing images that framing obtains, and counts Calculate its corresponding the first filling rate and the second filling rate.Fig. 4 is the first framing image in multiple framing images, is recorded Time can load initial time for webpage, and it is 0.0 that its first filling rate, which is calculated, and the second filling rate is 0.0.Fig. 5 is Proceed to the image of 301 frames, the first filling rate is 0.8, and the second filling rate is 0.275, is filled out with the first of image shown in Fig. 3 It is inconsistent to fill rate, the second filling rate, therefore continues to analyze frame by frame.Fig. 6 is the image for proceeding to 470 frames, saturation degree 1.0, Complexity is 0.676.Fig. 6 is consistent with the first filling rate of framing image described in Fig. 3, the second filling rate, framing shown in fig. 6 The recording time of image is the webpage load end time.If framing rule is 40 frames/s, needs are completed in webpage load Time is 470/40, about 12s.
First filling rate and the second filling rate as mentioned in the embodiments of the present invention be understood to be image color saturation and The complexity of image.
The measurement method of web page loading time of the invention, according to the image shape for specifying region in the multiple framing image State variation, determines the load time of corresponding region in the webpage, to realize accurate measurement web page loading time, improves measurement The purpose of efficiency.
Fig. 2 shows the structural block diagrams of the measuring device of the web page loading time of the embodiment of the present invention.
Referring to Fig. 2, the measuring device includes: to obtain module 210, framing module 220 and determining module 230.
Obtain the video counts for the predetermined time length that the browser interface that module 210 is used to be retrieved as loading webpage is recorded According to.
Specifically, obtaining the video data that module 210 obtains can be through third party's film recording software or passes through The first-class mode of high-speed camera is recorded, and the predetermined time length should be greater than or be equal to web page loading time.
Framing module 220 be used for obtain module 210 obtain video data carry out framing, obtain multiple framing images and Its corresponding recording time.
The image state in region is specified in multiple framing images that determining module 230 is used to obtain according to framing module 220 Variation, determines the load time of corresponding region in the webpage.
Specifically, it is determined that module 230 may include end-state calibration unit 231, load completion positioning unit 232, load Time calculating unit 233 and image state computing unit 234.
End-state calibration unit 231 is used to calculate based on the framing image recorded the latest in multiple framing images specified The final image state in region.
Load completes positioning unit 232 and is used to determine in multiple framing images, the image in the specified region recorded earliest State framing image identical with final image state.
It is to be processed that image state computing unit 234 completes positioning unit 232 to end-state calibration unit 231 and load Any framing image calculates the image state in the specified region in the framing image.
Specifically, image state computing unit 234 may include that block division unit (not shown) and the first computing unit (do not show Out).
Described piece of division unit is used for the size phase by the specified region division of the framing image for predetermined number Same block.
First computing unit each of is divided into piece status data being filled for its calculation block division unit, and And the status data that is filled of block according to the predetermined number calculates the filling rate in the specified region.
First computing unit provided below is used to calculate the three of the filling rate that region is specified described in any framing image A embodiment:
Optionally, example IV
First computing unit includes the first determining subelement (not shown) and the first computation subunit (not shown).
It is described first determine subelement be used for according to described each piece whether comprising non-empty white pixel determine described piece whether For non-blank-white block.For example, first can determine the block if determining subelement if there is any pixel to meet the following conditions in a block In include non-empty white pixel:
| R-G | > constant C1And | R-B | > constant C2And | G-B | > constant C3, or
R < constant C4And R < constant C5And B < constant C6,
Wherein, described R, G and B are respectively the red, green, blue color component value of the pixel, C1~C6For constant.
It can determine whether there is non-empty white pixel in described piece by above formula.If there is non-empty white pixel, then described piece is non- Blank block;If there is no non-empty white pixel in described piece, determine that each piece is blank block.
After determining whether each piece be non-blank-white block, described first determines that subelement can determine in the specified region The number of non-blank-white block.
First computation subunit is used to calculate first filling rate in the specified region according to the following formula:
The number of block in region is specified described in first filling rate=non-blank-white block number ÷.
On this basis, according to example IV, the load completes positioning unit 232 for determining the multiple framing figure As in, first filling rate in the specified region recorded earliest framing image identical with the final image state, In, the final image state is first filling rate in the specified region calculated for the framing image recorded the latest.
Embodiment five
First computing unit includes the second computation subunit (not shown), mean value computation subelement (not shown) and the Two filling rates obtain subelement (not shown).
Second computation subunit for computation partition according to the following formula at each of piece in each pixel complexity:
Wherein, described R, G and B are respectively the red, green, blue color component value of the pixel, andAndRespectively For the mean value of R, G and B.
The mean value computation subelement obtains block complexity for averaging to the complexity of all pixels point in described piece Degree.For example, calculation block complexity according to the following formula:
In block complexity=block in the sum of complexity of all pixels point ÷ block pixel number
Second filling rate obtains subelement and is used to average to all pieces in the specified region of block complexity, Obtain second filling rate in the specified region.That is, calculating second filling rate in the specified region according to the following formula:
In second filling rate=region in the region the sum of all pieces of complexities ÷ block sum.
On this basis, according to embodiment five, the load completes positioning unit 232 for determining the multiple framing figure As in, second filling rate in the specified region recorded earliest framing image identical with the final image state, In, the final image state is second filling rate in the specified region calculated for the framing image recorded the latest.
Embodiment six
First computing unit includes: the first determining subelement, the first computation subunit as described in example IV, with And the second computation subunit, mean value computation subelement and the second filling rate as described in embodiment five obtain subelement.
On this basis, the load completes positioning unit 232 for determining in the multiple framing image, records earliest First filling rate and the second filling rate framing image identical with the final image state in the specified region of system, In, the final image state be the specified region calculated for the framing image recorded the latest the first filling rate and Second filling rate.
That is, in embodiment six, according to the first filling rate and second to specify region to calculate in framing image Filling rate positions first framing image identical with final image state.
Load time computing unit 233 is used to complete the image in the specified region that positioning unit 232 is recorded earliest in load After state framing image identical with final image state, based on the record of webpage load initial time and the framing image determined Time processed calculates the load time of corresponding region in webpage.Preferably, the first framing image in the multiple framing image Recording time be the webpage load initial time, load time computing unit 233 be based on the webpage load initial time with And the load time of corresponding region in webpage can be calculated in the aforementioned webpage load end time.
The measuring device of web page loading time of the invention, by for load webpage browser interface record it is enough when Between length video data, the image state variation in region is specified in the multiple framing images separated according to the video data, It determines the load time of corresponding region in the webpage, to realize accurate measurement web page loading time, improves measurement efficiency Purpose.
It may be noted that each step described in this application can be split as more multi-step according to the needs of implementation, it can also The part operation of two or more steps or step is combined into new step, to achieve the object of the present invention.
It is above-mentioned to be realized in hardware, firmware according to the method for the present invention, or be implemented as being storable in recording medium Software or computer code in (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through network downloading Original storage in long-range recording medium or nonvolatile machine readable media and the meter that will be stored in local recording medium Calculation machine code, so that method described herein can be stored in using general purpose computer, application specific processor or programmable or specially It is handled with such software in the recording medium of hardware (such as ASIC or FPGA).It is appreciated that computer, processor, micro- Processor controller or programmable hardware include can store or receive software or computer code storage assembly (for example, RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and execute, realize herein The processing method of description.In addition, when general purpose computer accesses the code for realizing the processing being shown here, the execution of code General purpose computer is converted to the special purpose computer for being used for executing the processing being shown here.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (18)

1. a kind of measurement method of web page loading time, which is characterized in that the measurement method includes:
It is retrieved as the video data of the predetermined time length of the browser interface recording of load webpage;
Framing is carried out to the video data, obtains multiple framing images and its corresponding recording time;
According to the image state variation for specifying region in the multiple framing image, the load of corresponding region in the webpage is determined Time,
Wherein, the image state variation that region is specified in the multiple framing image includes calculating in the multiple framing image The variation of the filling rate in the specified region arrived,
Wherein, described according to specifying the image state in region to change in the multiple framing image, it determines corresponding in the webpage The step of load time in region includes:
End-state calibration: the specified region is calculated based on the framing image recorded the latest in the multiple framing image Final image state,
Load complete positioning: determine in the multiple framing image, the image state in the specified region recorded earliest with The identical framing image of the final image state,
Load time calculates: the recording time for loading the framing image of initial time and the determination based on webpage calculates the net The load time of corresponding region in page.
2. measurement method according to claim 1, which is characterized in that the first framing figure in the multiple framing image The recording time of picture is that the webpage loads initial time.
3. measurement method according to claim 2, which is characterized in that demarcate and load in the end-state and complete positioning Processing in, to any framing image to be processed, pass through following operation and calculate and specify region described in the framing image Image state:
It is identical piece of size of predetermined number by the specified region division of the framing image,
Computation partition at each of piece status data being filled, and the status number that block according to the predetermined number is filled According to the filling rate for calculating the specified region.
4. measurement method according to claim 3, which is characterized in that the computation partition at each of piece shape being filled State data, and the status data that is filled of block according to the predetermined number calculates the processing of the filling rate in the specified region Include:
It whether include that non-empty white pixel determines whether described piece be non-blank-white block according to described each piece,
First filling rate in the specified region is calculated according to the following formula:
The number of block in region is specified described in first filling rate=non-blank-white block number ÷.
5. measurement method according to claim 4, which is characterized in that the processing of positioning is completed in the load further include: really In fixed the multiple framing image, the first filling rate and the final image state phase in the specified region recorded earliest Same framing image, wherein the final image state is the specified area calculated for the framing image recorded the latest First filling rate in domain.
6. measurement method according to claim 3, which is characterized in that the computation partition at each of piece shape being filled State data, and the status data that is filled of block according to the predetermined number calculates the processing of the filling rate in the specified region Include:
According to the following formula computation partition at each of piece in each pixel complexity:
Wherein, described R, G and B are the color component value of the pixel,AndThe respectively mean value of R, G and B,
It averages to the complexity of all pixels point in described piece, obtains block complexity,
It averages to all pieces in the specified region of block complexity, obtains second filling rate in the specified region.
7. measurement method according to claim 6, which is characterized in that the processing of positioning is completed in the load further include: really In fixed the multiple framing image, the second filling rate and the final image state phase in the specified region recorded earliest Same framing image, wherein the final image state is the specified area calculated for the framing image recorded the latest Second filling rate in domain.
8. measurement method according to claim 7, which is characterized in that the computation partition at each of piece shape being filled State data, and the status data that is filled of block according to the predetermined number calculates the processing of the filling rate in the specified region Further include:
It whether include that non-empty white pixel determines whether described piece be non-blank-white block according to described each piece,
First filling rate in the specified region is calculated according to the following formula:
The number of block in region is specified described in first filling rate=non-blank-white block number ÷.
9. measurement method according to claim 8, which is characterized in that the processing of positioning is completed in the load further include: really In fixed the multiple framing image, first filling rate and the second filling rate in the specified region recorded earliest and it is described most The identical framing image of whole image state, wherein the final image state is calculated for the framing image recorded the latest The specified region the first filling rate and the second filling rate.
10. a kind of measuring device of web page loading time, which is characterized in that the measuring device includes:
Module is obtained, the video data for the predetermined time length that the browser interface for being retrieved as load webpage is recorded;
Framing module obtains multiple framing images and its corresponding recording time for carrying out framing to the video data;
Determining module, for determining in the webpage according to specifying the image state in region to change in the multiple framing image The load time of corresponding region,
Wherein, the image state variation that region is specified in the multiple framing image includes calculating in the multiple framing image The variation of the filling rate in the specified region arrived,
Wherein, the determining module includes:
End-state demarcates unit, for calculating the finger based on the framing image recorded the latest in the multiple framing image Determine the final image state in region,
Positioning unit, for determining in the multiple framing image, the figure in the specified region recorded earliest are completed in load Picture state framing image identical with the final image state,
Load time computing unit, based on the recording time of framing image for loading initial time and the determination based on webpage Calculate the load time of corresponding region in the webpage.
11. measuring device according to claim 10, which is characterized in that the first framing in the multiple framing image The recording time of image is that the webpage loads initial time.
12. measuring device according to claim 11, which is characterized in that the determining module further include: image state meter Unit is calculated, positioning unit any framing image to be processed is completed for end-state to be demarcated unit and loaded, described in calculating The image state in region is specified described in framing image, described image state calculating unit includes:
Block division unit, for being identical piece of size of predetermined number by the specified region division of the framing image,
First computing unit, for computation partition at each of piece status data being filled, and according to the predetermined number The status data that is filled of block calculate the filling rate in the specified region.
13. measuring device according to claim 12, which is characterized in that first computing unit includes:
Whether first determines subelement, for including that non-empty white pixel determines whether described piece be non-blank-white according to described each piece Block,
First computation subunit, for calculating first filling rate in the specified region according to the following formula:
The number of block in region is specified described in first filling rate=non-blank-white block number ÷.
14. measuring device according to claim 13, which is characterized in that the load completes positioning unit for determining institute It states in multiple framing images, first filling rate in the specified region recorded earliest is identical with the final image state Framing image, wherein the final image state is the specified region calculated for the framing image recorded the latest First filling rate.
15. measuring device according to claim 12, which is characterized in that first computing unit includes:
Second computation subunit, for computation partition according to the following formula at each of piece in each pixel complexity:
Wherein, described R, G and B are respectively the red, green, blue color component value of the pixel, andAndRespectively R, G With the mean value of B,
Mean value computation subelement averages for the complexity to all pixels point in described piece, obtains block complexity,
Second filling rate obtains subelement and obtains institute for averaging to all pieces in the specified region of block complexity State second filling rate in specified region.
16. measuring device according to claim 15, which is characterized in that the load completes positioning unit for determining institute It states in multiple framing images, second filling rate in the specified region recorded earliest is identical with the final image state Framing image, wherein the final image state is the specified region calculated for the framing image recorded the latest Second filling rate.
17. measuring device according to claim 16, which is characterized in that first computing unit includes:
Whether first determines subelement, for including that non-empty white pixel determines whether described piece be non-blank-white according to described each piece Block,
First computation subunit, for calculating first filling rate in the specified region according to the following formula:
The number of block in region is specified described in first filling rate=non-blank-white block number ÷.
18. measuring device according to claim 17, which is characterized in that the load completes positioning unit for determining institute It states in multiple framing images, first filling rate and the second filling rate and the final figure in the specified region recorded earliest As the identical framing image of state, wherein the final image state is the institute calculated for the framing image recorded the latest State first filling rate and the second filling rate in specified region.
CN201410524513.2A 2014-10-08 2014-10-08 The measurement method and device of web page loading time Active CN104394026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410524513.2A CN104394026B (en) 2014-10-08 2014-10-08 The measurement method and device of web page loading time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410524513.2A CN104394026B (en) 2014-10-08 2014-10-08 The measurement method and device of web page loading time

Publications (2)

Publication Number Publication Date
CN104394026A CN104394026A (en) 2015-03-04
CN104394026B true CN104394026B (en) 2019-02-15

Family

ID=52611862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410524513.2A Active CN104394026B (en) 2014-10-08 2014-10-08 The measurement method and device of web page loading time

Country Status (1)

Country Link
CN (1) CN104394026B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326098B (en) * 2015-07-01 2020-09-01 上海云双信息科技有限公司 Method and device for testing page perception performance
CN107870856B (en) * 2016-09-28 2021-06-11 阿里巴巴(中国)有限公司 Video playing starting time testing method and device and electronic terminal
CN108196904A (en) * 2017-12-27 2018-06-22 广州品唯软件有限公司 Calculate the method, apparatus and computer storage media of page response duration
CN108671547A (en) * 2018-04-24 2018-10-19 腾讯科技(深圳)有限公司 A kind of method, apparatus and storage medium of the initial screen time obtaining application
CN110209978B (en) * 2019-01-28 2023-05-16 腾讯科技(深圳)有限公司 Data processing method and related device
US11762939B2 (en) 2021-08-25 2023-09-19 International Business Machines Corporation Measure GUI response time

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581987A (en) * 2012-07-31 2014-02-12 腾讯科技(深圳)有限公司 Method and device for testing webpage downloading speed of mobile terminal device
CN103777939A (en) * 2013-03-18 2014-05-07 北京基调网络系统有限公司 Method for measuring webpage first screen time

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002953335A0 (en) * 2002-12-11 2003-01-09 Click N Learn Pty Ltd Computer screen motion capture
US8454171B2 (en) * 2011-03-23 2013-06-04 Seiko Epson Corporation Method for determining a video capture interval for a calibration process in a multi-projector display system
CN102902625B (en) * 2012-11-14 2015-04-22 北京奇虎科技有限公司 Software performance test system and method
CN104077214B (en) * 2013-03-26 2018-02-27 腾讯科技(深圳)有限公司 Software systems loading procedure image-recognizing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581987A (en) * 2012-07-31 2014-02-12 腾讯科技(深圳)有限公司 Method and device for testing webpage downloading speed of mobile terminal device
CN103777939A (en) * 2013-03-18 2014-05-07 北京基调网络系统有限公司 Method for measuring webpage first screen time

Also Published As

Publication number Publication date
CN104394026A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN104394026B (en) The measurement method and device of web page loading time
CN103604371B (en) Mobile terminal and object measurement method thereof
CN107798685B (en) Pedestrian&#39;s height determines method, apparatus and system
US9818232B2 (en) Color-based depth smoothing of scanned 3D model to enhance geometry in 3D printing
US10424078B2 (en) Height measuring system and method
US9536321B2 (en) Apparatus and method for foreground object segmentation
CN104427402B (en) A kind of wireless network streaming media quality acquisition methods and system
JP7228585B2 (en) Method and apparatus for making analytical measurements
CN110570435B (en) Method and device for carrying out damage segmentation on vehicle damage image
CN109887044B (en) Reproductive data evaluation method and system
CN107451976B (en) A kind of image processing method and device
CN105091847B (en) The method and electronic equipment of a kind of measurement distance
CN104949617A (en) Object dimension evaluation system and method used for packing object
CN109657675B (en) Image annotation method and device, computer equipment and readable storage medium
RU2016117966A (en) PORTABLE DEVICE AND METHOD FOR ESTABLISHING THE AUTHENTICITY OF MARKING
CN105809658A (en) Method and apparatus for setting region of interest
WO2019127102A1 (en) Information processing method and apparatus, cloud processing device, and computer program product
CN109934873B (en) Method, device and equipment for acquiring marked image
US20180024049A1 (en) Method and device for performing colorimetric analysis of a test fluid to evaluate physiological parameters
CN108776965B (en) Method, device and equipment for measuring straight line in image and storage medium
WO2016145831A1 (en) Image acquisition method and device
CN111985471A (en) License plate positioning method and device and storage medium
WO2018214900A1 (en) Storage apparatus, mobile terminal and image processing method thereof
CN106303161B (en) A kind of image processing method and electronic equipment
CN114782692A (en) House model repairing method and device, electronic equipment and readable storage medium

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