Specific embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment
The only embodiment of the application part, rather than the embodiment of whole.Based on the embodiment in the application, ability
The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, all should belong to
The scope of the application protection.
It should be noted that the description and claims of this application and the term " first " in above-mentioned accompanying drawing, "
Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that this
The data that sample is used can be exchanged in the appropriate case, so as to embodiments herein described herein can with except
Here the order beyond those for illustrating or describing is implemented.Additionally, term " comprising " and " having " and they
Any deformation, it is intended that covering is non-exclusive to be included, and for example, contains process, the side of series of steps or unit
Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear
List or other steps intrinsic for these processes, method, product or equipment or unit.
According to the embodiment of the present application, there is provided a kind of embodiment of the method for the determination method of webpage loading velocity, need
It is bright, can be in the computer system of such as one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated
Middle execution, and, although show logical order in flow charts, but in some cases, can be being different from
Order herein performs shown or described step.
Fig. 1 is the flow chart of the determination method of the webpage loading velocity according to the embodiment of the present application, as shown in figure 1, should
Method comprises the steps:
The access data of targeted website are parsed by step S102, are accessed with obtaining same source in the same session
Same webpage exceedes the access data of default access times.
When by terminal access targeted website, the targeted website would generally record the access behavior of user to user, for example,
The webpage of record access, access times, access time, (can use in the time of staying of webpage, the source of user
In the mark for representing user's uniqueness, such as IP address, mac addresses of terminal that user uses etc.) etc. data,
Formed and access data.In the present embodiment, targeted website is the website tested, and the targeted website includes certain amount
Webpage.
When user accesses certain webpage, if run into the excessively slow webpage of loading velocity can attempt being refreshed, if right
There are many people that refreshing (more than twice) has all been carried out repeatedly when accessing in same webpage, then it is considered that the webpage
Loading velocity may be slow, needs investigated.In the present embodiment, once refresh and be user to webpage
Once request, once request of the user to webpage be designated as once accessing.
Parsed by the access data to targeted website, to obtain same source in the same session same net is accessed
Page exceedes the access data of default access times, wherein, session refers to the user in same source on website
Once complete access process.It can be specifically the visit in first analytically result to targeted website to obtain above-mentioned access data
Ask that data are traveled through, same webpage is therefrom found out in units of session and is accessed for access times more than default access time
The access data of (can be configured with root demand) are counted, then finds out all same sources in the same session and access same
Webpage exceedes the access data of default access times, in order to obtain user stopping when accessing every time from these data
Stay the time.
Step S104, from obtain access extracting data in the same session same source in the stop of same webpage
Between.
The time of staying for once accessing is referred to from after user's request loading webpage, until user's request of loading net again
Till page or other webpages, the time experienced between this, no matter whether the webpage loads out.Specifically,
Can be obtain access data in can record in each access process, user's request record webpage moment and
User asks again the moment for recording the webpage or request of loading other webpages, is calculated by the above-mentioned two moment
State the time of staying.It is of course also possible to when user accesses webpage, be counted by each access of the timer to user
When so that directly record has the time of staying of each access in access data, so, after access data are got,
Can directly from the access extracting data above-mentioned time of staying.Obtain in a session, user accesses same webpage
The time of staying for accessing each time, facilitating the use the time of staying determines whether the webpage is the slow webpage of loading velocity.
Step S106, determines whether the webpage for accessing is the slow webpage of loading velocity according to the time of staying.
Can attempt being refreshed because user runs into the excessively slow webpage of loading velocity, i.e., repeatedly access identical webpage, then
The webpage is probably the slow webpage of loading velocity, when determining whether, the webpage for accessing is determined according to the time of staying whether
Can be the length of the time of staying for judging to access every time for the webpage that loading velocity is slow, if wherein repeatedly access
The time of staying longer (being more than or equal to time threshold), it is determined that the webpage is the slow webpage of loading velocity;Can also sentence
Whether the disconnected mean residence time for repeatedly accessing is more than or equal to time threshold, if it is, determining the webpage for loading speed
The slow webpage of degree;Can also be and judge in addition to the time of staying that last time is accessed, the average stop that others are accessed
Whether the time is more than or equal to time threshold, if it is, determining the webpage for the slow webpage of loading velocity.Use due to working as
Family last time accesses the time for the time of staying of webpage generally including user's browsed web content, and this period is long,
This section of time of staying is rejected, the accuracy of judgement can be further improved.It should be noted that the embodiment of the present application
In, determine that whether the webpage for accessing is that the concrete mode of the slow webpage of loading velocity is included but is not limited to according to the time of staying
Aforesaid way, does not have improper restriction to the application here.
According to the embodiment of the present application, same source in the same session is obtained from the access data of targeted website and accesses same
One webpage exceedes the access data of default access times, obtains same next in the same session from the access data for obtaining
Source determines whether the webpage for accessing is the slow webpage of loading velocity in the time of staying of same webpage according to the time of staying,
There are the access data of the access behavior of user according to record, judge loading velocity from the actual access behavior of user slow
Webpage, relative to the load condition for testing webpage in prior art under test network environment, has truly reacted netizen
Situation during webpage is accessed, the accuracy that the webpage slow to loading velocity judges is improve, is solved slow to loading velocity
Webpage judge inaccurate technical problem.
Further, since artificial statistics is time-consuming longer in prior art, particularly with large-scale website, and manual testing is basic
Cannot coverage goal website all webpages.And the embodiment of the present application judges by using the access data of targeted website
The slow webpage of loading velocity, without the need for manual intervention, all webpages that can be accessed user by computer program etc.
Judged, coverage rate is high.
Preferably, in the embodiment of the present application, can be by adding Tracker (JS scripts) in targeted website, to receive
Collection user counts access behavior of each user in website in the access data of targeted website, and by the targeted website
All access data all can be sent on given server, the user accesses data that one by one resolution server is collected.
Preferably, determine whether the webpage for accessing is that the slow webpage of loading velocity includes according to the time of staying:Statistics is same
Total residence time and total access times of the same source in same webpage in one session;Obtain same next in the same session
Source last time accesses the time of staying of same webpage;Calculated in the same session except last time is visited using below equation
Ask the mean residence time of same webpage:T=(T-T1)/(N-1), wherein, T is total residence time, and T1 is last
The secondary time of staying for accessing same webpage, N is total access times;Judge t whether more than or equal to time threshold;In t
During more than or equal to time threshold, it is determined that the webpage for accessing is the slow webpage of loading velocity.
For the statistics of total residence time, can be by adder will be aforementioned in visit every time in the same session extracted
The time of staying asked is added, and obtains total residence time.For total access times, it is possible to use enumerator is to accessing data
In each access of same session added up, obtain total access times.
In the present embodiment, by the mean residence time for calculating the access to webpage (not accessing including last time),
Whether the mean residence time is judged more than or equal to time threshold, the time threshold can be user's access target website
The minimum access time of webpage, different targeted websites can arrange different time thresholds, during above-mentioned average stop
Between more than or equal to time threshold then substantially it is considered that user do not browse web data, here can consider that user does not also have
When webpage loads out.Webpage is browsed because the time of staying that webpage is accessed when user's last time generally includes user
The time of content, this period is long, and this section of time of staying is rejected, and can further improve the accuracy of judgement.
Such as user webpage 3 times of connected reference one in a session, have accessed successively 10 seconds, 10 seconds, and 25
Second, wherein, last time of the user in this session is accessed has spent a certain amount of time browsed web content, therefore,
Last time access time is longer.If the time threshold of the targeted website is 3s, it is calculated user and accesses the webpage
The mean residence time of (not accessing including last time) is 10s, hence, it can be determined that the webpage that the user accesses
Loading velocity is slow.If above-mentioned mean access time is less than time threshold, it is believed that violence of the user to webpage refreshes
Or refresh by mistake, it is impossible to it is considered that webpage loading velocity itself is slow.
Alternatively, determine whether the webpage for accessing is that the slow webpage of loading velocity includes according to the time of staying:Statistics is same
Same source accesses the access times of the time of staying more than or equal to time threshold of same webpage in one session;Judge to stop
Whether the time exceedes frequency threshold value more than or equal to the access times of time threshold;When judging that the time of staying is more than or equal to
Between the access times of threshold value when exceeding frequency threshold value, it is determined that the webpage for accessing is the slow webpage of loading velocity.
In the present embodiment, each time of staying for accessing in a session can be done and once be judged, judge whether it is big
In equal to time threshold, and record access times of the time of staying more than or equal to time threshold, then the access time to recording
Number is judged that judge that whether it exceedes frequency threshold value, namely be to determine in a session, user accesses stopping for webpage
Whether the access times for staying the time longer are enough.If the user while in a session, for stopping for same web page access
Stay some time of time longer, then may be considered and made because the webpage loading velocity causes slowly user repeatedly to refresh
Into.When judging that the time of staying exceedes frequency threshold value more than or equal to the access times of time threshold, it is determined that access
Webpage is the slow webpage of loading velocity.
In the present embodiment, time threshold and the time threshold of previous embodiment can be with identical, and frequency threshold value can be according to need
Ask and be configured.
According to the embodiment of the present application, by arranging time threshold and frequency threshold value, successively to each time of staying for accessing
Judged more than or equal to the access times of time threshold with the time of staying, further increased the net slow to loading velocity
The accuracy of the judgement of page.
Preferably, determine whether the webpage for accessing is that the slow webpage of loading velocity includes according to the time of staying:According to stop
Time determines the slow webpage of doubtful loading velocity;The slow source of the statistics webpage loading velocity slow to doubtful loading velocity
Quantity;Judge whether source quantity reaches predetermined number;When judging that source quantity reaches predetermined number, it is determined that doubting
It is the slow webpage of loading velocity like the slow webpage of loading velocity.
Because user's loading webpage speed is likely to be slowly what the network environment being located by the user caused, and not
Webpage itself has problems, and there is accidentalia.To reject the interference factor, in the present embodiment, will be according to stop
The slow webpage of loading velocity that time is determined for example, is more than or equal to as the slow webpage of doubtful loading velocity in t
During time threshold, it is determined that the webpage for accessing is the slow webpage of doubtful loading velocity;Or, judging that the time of staying is big
When the access times equal to time threshold exceed frequency threshold value, it is determined that the webpage for accessing is the slow net of doubtful loading velocity
Page, then does again and further judges.Specifically, the slow webpage of doubtful loading velocity is being determined according to the time of staying
Afterwards, the webpage is recorded, then to access source as dimension, counts the slow webpage quilt of the doubtful loading velocity
The number of times of record, that is to say the slow source quantity of the webpage loading velocity slow to doubtful loading velocity, if it exceeds default
Quantity (can be configured according to demand), then show that the speed for having a certain amount of user to load the webpage is slower, therefore,
It is considered that the slow webpage of the doubtful loading velocity is the slow webpage of loading velocity.
According to the embodiment of the present application, by the source using webpage is accessed as the index for determining whether, so as to propose idol
So factor, further improves the accuracy of the judgement of the webpage slow to loading velocity.
Preferably, determine whether the webpage for accessing is that the slow webpage of loading velocity includes according to the time of staying:According to stop
Time determines the slow webpage of doubtful loading velocity;Record the URL of the slow webpage of doubtful loading velocity;
Judge whether preset recording number of times is exceeded to the number of times of same URL record in preset time period;Exceeding
During preset recording number of times, it is determined that being that loading velocity is slow more than the corresponding webpage of the URL of preset recording number of times
Webpage.
In the present embodiment, in order to avoid affecting accuracy (for example, certain time period target of result due to time factor
The server fail of website, webpage loading in the time period goes wrong), a time period is pre-selected, i.e., in advance
If the time period, count in preset time period, the same webpage is registered as the number of times of the slow webpage of doubtful loading velocity,
Judge whether to exceed preset recording number of times, if it exceeds, then it is assumed that the webpage is the slow webpage of loading velocity, wherein,
Preset recording number of times can be configured according to demand.
Below a kind of optional embodiment of the application is illustrated with a kind of specific example, specifically included:
Step1:Tracker is disposed in targeted website, after deployment is completed, all access of the user in the targeted website
Data can all be sent to given server.
Step2:The user accesses data that one by one resolution server is collected.
Step3:Statistic of user accessing data, webpage is accessed according to access by same user in a conversation procedure
Sequencing is ranked up.Wherein, a session refers to an once complete access on targeted website of user
Journey.
Step4:The access data of user are collected, is found out in the same session, the same webpage of connected reference is surpassed
After access data twice, it is assumed that certain user connected reference webpage P in a conversation procedure, 3 times are have accessed;
When webpage is refreshed, server end can receive the data that user accesses same webpage to user.
Step5:The access data that obtain in statistics Step4, count in this conversation procedure user by connected reference
Webpage in total time of staying T, such as user webpage 3 times of connected reference one in a session, successively
Have accessed 10 seconds, 10 seconds, 25 seconds, then T=29 seconds.
Step6:The time T1 for resting on the webpage for the last time in this connected reference is found out, such as above-mentioned example
The middle T1=25 seconds.
Step7:If (T-T1)/(N-1)>=M then thinks that the webpage there may be the slower problem of loading, record
The URL (Uniform Resoure Locator, referred to as URL) of the webpage and session information, it is no
Then terminate the analysis to the session;M is time threshold, can be the minimum access time that user accesses webpage, is more than
Then can consider that user does not browse web data substantially equal to M, here can consider that user does not also wait until that webpage is loaded
Out, different for the value of different types of website M, N here is the number of times of the connected reference webpage.
Step8:Statistics is recorded more than 1 time in a period of time, and at least URL of the webpage of source and two users,
It is considered that the corresponding webpages of these URL are the slow webpage of loading velocity.
The embodiment of the present application additionally provides a kind of determining device of webpage loading velocity, and the device can be used for performing this Shen
Please embodiment webpage loading velocity determination method, as shown in Fig. 2 the device includes:Acquiring unit 10, extraction
Unit 20 and determining unit 30.
Acquiring unit 10 is used to parse the access data of targeted website, to obtain same source in the same session
Access the access data that same webpage exceedes default access times.
When by terminal access targeted website, the targeted website would generally record the access behavior of user to user, for example,
The webpage of record access, access times, access time, (can use in the time of staying of webpage, the source of user
In the mark for representing user's uniqueness, such as IP address, mac addresses of terminal that user uses etc.) etc. data,
Formed and access data.In the present embodiment, targeted website is the website tested, and the targeted website includes certain amount
Webpage.
When user accesses certain webpage, if run into the excessively slow webpage of loading velocity can attempt being refreshed, if right
There are many people that refreshing (more than twice) has all been carried out repeatedly when accessing in same webpage, then it is considered that the webpage
Loading velocity may be slow, needs investigated.In the present embodiment, once refresh and be user to webpage
Once request, once request of the user to webpage be designated as once accessing.
Parsed by the access data to targeted website, to obtain same source in the same session same net is accessed
Page exceedes the access data of default access times, wherein, session refers to the user in same source on website
Once complete access process.It can be specifically the visit in first analytically result to targeted website to obtain above-mentioned access data
Ask that data are traveled through, same webpage is therefrom found out in units of session and is accessed for access times more than default access time
The access data of (can be configured with root demand) are counted, then finds out all same sources in the same session and access same
Webpage exceedes the access data of default access times, in order to obtain user stopping when accessing every time from these data
Stay the time.
Extraction unit 20 be used for from obtain access extracting data in the same session same source in same webpage
The time of staying.
The time of staying for once accessing is referred to from after user's request loading webpage, until user's request of loading net again
Till page or other webpages, the time experienced between this, no matter whether the webpage loads out.Specifically,
Can be obtain access data in can record in each access process, user's request record webpage moment and
User asks again the moment for recording the webpage or request of loading other webpages, is calculated by the above-mentioned two moment
State the time of staying.It is of course also possible to when user accesses webpage, be counted by each access of the timer to user
When so that directly record has the time of staying of each access in access data, so, after access data are got,
Can directly from the access extracting data above-mentioned time of staying.Obtain in a session, user accesses same webpage
The time of staying for accessing each time, facilitating the use the time of staying determines whether the webpage is the slow webpage of loading velocity.
Determining unit 30 is used to determine whether the webpage for accessing is the slow webpage of loading velocity according to the time of staying.
Can attempt being refreshed because user runs into the excessively slow webpage of loading velocity, i.e., repeatedly access identical webpage, then
The webpage is probably the slow webpage of loading velocity, when determining whether, the webpage for accessing is determined according to the time of staying whether
Can be the length of the time of staying for judging to access every time for the webpage that loading velocity is slow, if wherein repeatedly access
The time of staying longer (being more than or equal to time threshold), it is determined that the webpage is the slow webpage of loading velocity;Can also sentence
Whether the disconnected mean residence time for repeatedly accessing is more than or equal to time threshold, if it is, determining the webpage for loading speed
The slow webpage of degree;Can also be and judge in addition to the time of staying that last time is accessed, the average stop that others are accessed
Whether the time is more than or equal to time threshold, if it is, determining the webpage for the slow webpage of loading velocity.Use due to working as
Family last time accesses the time for the time of staying of webpage generally including user's browsed web content, and this period is long,
This section of time of staying is rejected, the accuracy of judgement can be further improved.It should be noted that the embodiment of the present application
In, determine that whether the webpage for accessing is that the concrete mode of the slow webpage of loading velocity is included but is not limited to according to the time of staying
Aforesaid way, does not have improper restriction to the application here.
According to the embodiment of the present application, same source in the same session is obtained from the access data of targeted website and accesses same
One webpage exceedes the access data of default access times, obtains same next in the same session from the access data for obtaining
Source determines whether the webpage for accessing is the slow webpage of loading velocity in the time of staying of same webpage according to the time of staying,
There are the access data of the access behavior of user according to record, judge loading velocity from the actual access behavior of user slow
Webpage, relative to the load condition for testing webpage in prior art under test network environment, has truly reacted netizen
Situation during webpage is accessed, the accuracy that the webpage slow to loading velocity judges is improve, is solved slow to loading velocity
Webpage judge inaccurate technical problem.
Further, since artificial statistics is time-consuming longer in prior art, particularly with large-scale website, and manual testing is basic
Cannot coverage goal website all webpages.And the embodiment of the present application judges by using the access data of targeted website
The slow webpage of loading velocity, without the need for manual intervention, all webpages that can be accessed user by computer program etc.
Judged, coverage rate is high.
Preferably, in the embodiment of the present application, can be by adding Tracker (JS scripts) in targeted website, to receive
Collection user counts access behavior of each user in website in the access data of targeted website, and by the targeted website
All access data all can be sent on given server, the user accesses data that one by one resolution server is collected.
Preferably, determining unit includes:First statistical module, for statistics in the same session same source same
The total residence time of webpage and total access times;Acquisition module, for obtain in the same session same source last
The secondary time of staying for accessing same webpage;Computing module, for being calculated in the same session except last using below equation
Once access the mean residence time of same webpage:T=(T-T1)/(N-1), wherein, T is total residence time, and T1 is
Last time accesses the time of staying of same webpage, and N is total access times;First judge module, for judging that t is
It is no more than or equal to time threshold;First determining module, for when t is more than or equal to time threshold, it is determined that accessing
Webpage be the slow webpage of loading velocity.
For the statistics of total residence time, can be by adder will be aforementioned in visit every time in the same session extracted
The time of staying asked is added, and obtains total residence time.For total access times, it is possible to use enumerator is to accessing data
In each access of same session added up, obtain total access times.
In the present embodiment, by the mean residence time for calculating the access to webpage (not accessing including last time),
Whether the mean residence time is judged more than or equal to time threshold, the time threshold can be user's access target website
The minimum access time of webpage, different targeted websites can arrange different time thresholds, during above-mentioned average stop
Between more than or equal to time threshold then substantially it is considered that user do not browse web data, here can consider that user does not also have
When webpage loads out.Webpage is browsed because the time of staying that webpage is accessed when user's last time generally includes user
The time of content, this period is long, and this section of time of staying is rejected, and can further improve the accuracy of judgement.
Such as user webpage 3 times of connected reference one in a session, have accessed successively 10 seconds, 10 seconds, and 25
Second, wherein, last time of the user in this session is accessed has spent a certain amount of time browsed web content, therefore,
Last time access time is longer.If the time threshold of the targeted website is 3s, it is calculated user and accesses the webpage
The mean residence time of (not accessing including last time) is 10s, hence, it can be determined that the webpage that the user accesses
Loading velocity is slow.If above-mentioned mean access time is less than time threshold, it is believed that violence of the user to webpage refreshes
Or refresh by mistake, it is impossible to it is considered that webpage loading velocity itself is slow.
Optionally it is determined that unit includes:Second statistical module, for statistics, in the same session same source accesses same
Access times of the time of staying of one webpage more than or equal to time threshold;Second judge module, for judging the time of staying
Whether exceed frequency threshold value more than or equal to the access times of time threshold;Second determining module, for judging to stop
When time exceedes frequency threshold value more than or equal to the access times of time threshold, it is determined that the webpage for accessing is that loading velocity is slow
Webpage.
In the present embodiment, each time of staying for accessing in a session can be done and once be judged, judge whether it is big
In equal to time threshold, and record access times of the time of staying more than or equal to time threshold, then the access time to recording
Number is judged that judge that whether it exceedes frequency threshold value, namely be to determine in a session, user accesses stopping for webpage
Whether the access times for staying the time longer are enough.If the user while in a session, for stopping for same web page access
Stay some time of time longer, then may be considered and made because the webpage loading velocity causes slowly user repeatedly to refresh
Into.When judging that the time of staying exceedes frequency threshold value more than or equal to the access times of time threshold, it is determined that access
Webpage is the slow webpage of loading velocity.
In the present embodiment, time threshold and the time threshold of previous embodiment can be with identical, and frequency threshold value can be according to need
Ask and be configured.
According to the embodiment of the present application, by arranging time threshold and frequency threshold value, successively to each time of staying for accessing
Judged more than or equal to the access times of time threshold with the time of staying, further increased the net slow to loading velocity
The accuracy of the judgement of page.
Preferably, determining unit includes:3rd determining module, for determining doubtful loading velocity according to the time of staying
Slow webpage;3rd statistical module, for the source quantity that the statistics webpage loading velocity slow to doubtful loading velocity is slow;
3rd judge module, for judging whether source quantity reaches predetermined number;3rd determining module, for judging
When source quantity reaches predetermined number, the slow webpage of doubtful loading velocity is determined for the slow webpage of loading velocity.
Because user's loading webpage speed is likely to be slowly what the network environment being located by the user caused, and not
Webpage itself has problems, and there is accidentalia.To reject the interference factor, in the present embodiment, will be according to stop
The slow webpage of loading velocity that time is determined for example, is more than or equal to as the slow webpage of doubtful loading velocity in t
During time threshold, it is determined that the webpage for accessing is the slow webpage of doubtful loading velocity;Or, judging that the time of staying is big
When the access times equal to time threshold exceed frequency threshold value, it is determined that the webpage for accessing is the slow net of doubtful loading velocity
Page, then does again and further judges.Specifically, the slow webpage of doubtful loading velocity is being determined according to the time of staying
Afterwards, the webpage is recorded, then to access source as dimension, counts the slow webpage quilt of the doubtful loading velocity
The number of times of record, that is to say the slow source quantity of the webpage loading velocity slow to doubtful loading velocity, if it exceeds default
Quantity (can be configured according to demand), then show that the speed for having a certain amount of user to load the webpage is slower, therefore,
It is considered that the slow webpage of the doubtful loading velocity is the slow webpage of loading velocity.
According to the embodiment of the present application, by the source using webpage is accessed as the index for determining whether, so as to propose idol
So factor, further improves the accuracy of the judgement of the webpage slow to loading velocity.
Preferably, determining unit includes:4th determining module, for determining doubtful loading velocity according to the time of staying
Slow webpage;Logging modle, for recording the URL of the slow webpage of doubtful loading velocity;4th judges
Module, for judging whether exceed preset recording time to the number of times of same URL record in preset time period
Number;5th determining module, for when more than preset recording number of times, it is determined that more than the unified resource of preset recording number of times
The corresponding webpage of finger URL is the slow webpage of loading velocity.
In the present embodiment, in order to avoid affecting accuracy (for example, certain time period target of result due to time factor
The server fail of website, webpage loading in the time period goes wrong), a time period is pre-selected, i.e., in advance
If the time period, count in preset time period, the same webpage is registered as the number of times of the slow webpage of doubtful loading velocity,
Judge whether to exceed preset recording number of times, if it exceeds, then it is assumed that the webpage is the slow webpage of loading velocity, wherein,
Preset recording number of times can be configured according to demand.
The determining device of the webpage loading velocity includes processor and memorizer, above-mentioned acquiring unit, extraction unit,
Determining unit etc. is stored in memory as program unit, by computing device storage above-mentioned journey in memory
Sequence unit.Above-mentioned default access times, time threshold, frequency threshold value etc. may be stored in memorizer.
Kernel is included in processor, is gone in memorizer to transfer corresponding program unit by kernel.Kernel can arrange one
Or more, parse content of text by adjusting kernel parameter.
Memorizer potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/
Or the form, such as read only memory (ROM) or flash memory (flash RAM) such as Nonvolatile memory, memorizer includes at least one
Individual storage chip.
Present invention also provides a kind of embodiment of computer program, when performing in data handling equipment, fits
In the program code for performing initialization there are as below methods step:The access data of targeted website are parsed, to obtain
In the same session same source accesses the access data that same webpage exceedes default access times, from the access number for obtaining
According to middle extraction, in the same session same source, in the time of staying of same webpage, the net for accessing is determined according to the time of staying
Whether page is the slow webpage of loading velocity.
Above-mentioned the embodiment of the present application sequence number is for illustration only, does not represent the quality of embodiment.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, other can be passed through
Mode realize.Wherein, device embodiment described above is only schematic, such as division of described unit,
Can be a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute
The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, unit or mould
The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to
On multiple units.Some or all of unit therein can be according to the actual needs selected to realize this embodiment scheme
Purpose.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or when using using in the form of SFU software functional unit,
During a computer read/write memory medium can be stored in.Based on such understanding, the technical scheme essence of the application
On all or part of prior art is contributed part in other words or the technical scheme can be with software product
Form is embodied, and the computer software product is stored in a storage medium, including some instructions are used so that one
Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the application
State all or part of step of method.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
The above is only the preferred implementation of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of without departing from the application principle, some improvements and modifications can also be made, these improve and moisten
Decorations also should be regarded as the protection domain of the application.