CN109586988A - A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway - Google Patents

A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway Download PDF

Info

Publication number
CN109586988A
CN109586988A CN201710899944.0A CN201710899944A CN109586988A CN 109586988 A CN109586988 A CN 109586988A CN 201710899944 A CN201710899944 A CN 201710899944A CN 109586988 A CN109586988 A CN 109586988A
Authority
CN
China
Prior art keywords
webpage
time delay
daughter element
intelligent gateway
measured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710899944.0A
Other languages
Chinese (zh)
Other versions
CN109586988B (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications 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 China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710899944.0A priority Critical patent/CN109586988B/en
Publication of CN109586988A publication Critical patent/CN109586988A/en
Application granted granted Critical
Publication of CN109586988B publication Critical patent/CN109586988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present invention provides a kind of webpages to open time delay measuring method, the network equipment and intelligent gateway, wherein, it includes: to send testing task respectively at least two intelligent gateway groups that webpage, which opens time delay measuring method, carries the link information of the part daughter element of webpage to be measured in each testing task respectively;It receives each intelligent gateway group and time delay is opened according to the daughter element that testing task is fed back;Time delay is opened according to the daughter element of each intelligent gateway group feedback, obtains the opening time delay of webpage to be measured.This programme by sending testing task at least two intelligent gateway groups respectively, it receives each intelligent gateway group and time delay is opened according to the daughter element that testing task is fed back, and time delay is opened according to the daughter element of each intelligent gateway group feedback, obtain the opening time delay of webpage to be measured;It can reduce the consumption to intelligent gateway cpu resource, resource consuming task be transferred to the network equipment, do not influence user experience, promote intelligent gateway business development, simple flow is not limited to by network.

Description

A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
Technical field
The present invention relates to field of communication technology, particularly relates to a kind of webpage and open time delay measuring method, the network equipment and intelligence It can gateway.
Background technique
Currently, it is to measure the important indicator of user's online experience that webpage, which opens time delay, time delay is opened in order to test webpage, it is existing Have technology to provide a kind of scheme as shown in Figure 1: server is for detection page terminaloriented (on user terminal or user terminal The intelligent gateway of layer) initiate access request;Terminal receives the page elements for the detection page that server is sent, and page elements are at least Including any one of text element, picture element and script element, record detects the opening of the page when receiving page elements Time delay;Terminal feeds back to server according to the opening time delay of the mass parameter measuring and calculating detection page of the detection page.
But above-mentioned existing webpage opens delay testing scheme and there are problems that process is cumbersome and is limited to by network, has Body is as follows:
Problem 1: it if obtaining webpage by user terminal opens time delay, can not be obtained under the premise of not influencing user experience It takes.Under existing methods, time delay is opened if necessary to obtain the true webpage of user, needs to pre-install app on the subscriber terminal It, should for receiving the web access requests that cloud server is sent, calculating webpage opening time delay after receiving request and returning the result Method one side user is high using threshold, in the limited situation of mobile phone EMS memory, it's hard to say taking user installation application;Another party The calculating in face, time delay can consume user's handset capability, impacted to user using other business, seriously affect user experience.
Problem 2: if obtaining webpage by the intelligent gateway on user terminal upper layer opens time delay, this method is to cpu performance More demanding, existing intelligent gateway belongs to the network equipment, and CPU, memory are unable to satisfy a large amount of web page elements, especially scheme Resource consumed by piece, video link time delay analytical Calculation.
Summary of the invention
The purpose of the present invention is to provide a kind of webpages to open time delay measuring method, the network equipment and intelligent gateway, solves The problem of webpage opening delay testing protocol procedures are cumbersome in the prior art and limited to by network.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of webpage opening time delay measuring method, comprising:
Testing task is sent respectively at least two intelligent gateway groups, is carried respectively in each testing task to survey grid The link information of the part daughter element of page;
It receives each intelligent gateway group and time delay is opened according to the daughter element that the testing task is fed back;
Time delay is opened according to the daughter element of each intelligent gateway group feedback, when obtaining the opening of the webpage to be measured Prolong.
Optionally, described the step of sending testing task respectively at least two intelligent gateway groups, includes:
The link information for constituting the daughter element of webpage to be measured is obtained, and is divided into the part M;
Multiple intelligent gateways are divided into N group, constitute N number of intelligent gateway group;
The link information of each section daughter element of the webpage to be measured is distributed into an intelligent gateway group, different piece The link information of daughter element corresponds to different intelligent gateway groups;
It is directed to the testing task of different intelligent gateway group according to allocation result building, and carries out correspondence and issues;
Wherein, N >=M >=2, and the M is less than or equal to the number of the daughter element.
Optionally, described the step of obtaining the link information for constituting the daughter element of webpage to be measured, includes:
The webpage to be measured is subjected to element decomposition by way of crawler, obtains the link information of each daughter element.
Optionally, described the step of multiple intelligent gateways are divided into N group, includes:
According to the identification information for dividing parameter and intelligent gateway, multiple intelligent gateways are divided into N group.
Optionally, the link information of each section daughter element by the webpage to be measured distributes to an intelligent gateway Group the step of include:
It, will be each according to allocation of parameters, the identification information of the content information of each section daughter element and intelligent gateway The link information of part daughter element distributes to a corresponding intelligent gateway group.
Optionally, the daughter element according to each intelligent gateway group feedback opens time delay, obtains described to survey grid Page opening time delay the step of include:
When the unfolding mode of the webpage to be measured is that daughter element is opened parallel, the son member of all intelligent gateway feedbacks is obtained The maximum value of Yanzhong when element is opened, using obtained maximum value as the opening time delay of the webpage to be measured;Or
When the unfolding mode of the webpage to be measured is that daughter element is serially opened, each intelligent gateway group feedback is obtained Daughter element open time delay average value;
Obtained each average value is summed, the opening time delay of webpage to be measured is obtained.
The embodiment of the invention also provides a kind of webpages to open time delay measuring method, comprising:
The testing task that the network equipment is sent is received, includes the chain of the part daughter element of webpage to be measured in the testing task Connect information;
According to the link information of the part daughter element, delay testing is carried out;
The daughter element that delay testing is obtained opens time delay feedback to the network equipment.
Optionally, the link information according to the part daughter element, carry out delay testing the step of include:
According to the link information of the part daughter element, delay testing is carried out using the soft probe of intelligent gateway.
Optionally, when the quantity of the link information is multiple, the link information according to the part daughter element, Carry out delay testing the step of include:
If the unfolding mode of the webpage to be measured is that daughter element is opened parallel, for each link information difference Delay testing is carried out, corresponding multiple daughter elements is obtained and opens time delay;Or
If the unfolding mode of the webpage to be measured is that daughter element is serially opened, the link for the part daughter element is believed Breath carries out serial delay testing, obtains a daughter element and opens time delay.
The embodiment of the invention also provides a kind of network equipments, comprising: processor and transceiver;
The processor, for sending testing task respectively at least two intelligent gateway groups by the transceiver, often The link information of the part daughter element of webpage to be measured is carried in the one testing task respectively;
It receives each intelligent gateway group and time delay is opened according to the daughter element that the testing task is fed back;
Time delay is opened according to the daughter element of each intelligent gateway group feedback, when obtaining the opening of the webpage to be measured Prolong.
Optionally, the processor is specifically used for:
The link information for constituting the daughter element of webpage to be measured is obtained, and is divided into the part M;
Multiple intelligent gateways are divided into N group, constitute N number of intelligent gateway group;
The link information of each section daughter element of the webpage to be measured is distributed into an intelligent gateway group, different piece The link information of daughter element corresponds to different intelligent gateway groups;
It is directed to the testing task of different intelligent gateway group according to allocation result building, and is corresponded to by the transceiver It issues;
Wherein, N >=M >=2, and the M is less than or equal to the number of the daughter element.
Optionally, the processor is specifically used for:
The webpage to be measured is subjected to element decomposition by way of crawler, obtains the link information of each daughter element.
Optionally, the processor is specifically used for:
According to the identification information for dividing parameter and intelligent gateway, multiple intelligent gateways are divided into N group.
Optionally, the processor is specifically used for:
It, will be each according to allocation of parameters, the identification information of the content information of each section daughter element and intelligent gateway The link information of part daughter element distributes to a corresponding intelligent gateway group.
Optionally, the processor is specifically used for:
When the unfolding mode of the webpage to be measured is that daughter element is opened parallel, the son member of all intelligent gateway feedbacks is obtained The maximum value of Yanzhong when element is opened, using obtained maximum value as the opening time delay of the webpage to be measured;Or
When the unfolding mode of the webpage to be measured is that daughter element is serially opened, each intelligent gateway group feedback is obtained Daughter element open time delay average value;
Obtained each average value is summed, the opening time delay of webpage to be measured is obtained.
The embodiment of the invention also provides a kind of intelligent gateways, comprising: processor and transceiver;
The processor, for receiving the testing task that the network equipment is sent, the testing task by the transceiver In include webpage to be measured part daughter element link information;
According to the link information of the part daughter element, delay testing is carried out;
The daughter element that delay testing obtains is opened into time delay, the network equipment is fed back to by the transceiver.
Optionally, the processor is specifically used for:
According to the link information of the part daughter element, delay testing is carried out using the soft probe of intelligent gateway.
Optionally, when the quantity of the link information is multiple, the processor is specifically used for:
If the unfolding mode of the webpage to be measured is that daughter element is opened parallel, for each link information difference Delay testing is carried out, corresponding multiple daughter elements is obtained and opens time delay;Or
If the unfolding mode of the webpage to be measured is that daughter element is serially opened, the link for the part daughter element is believed Breath carries out serial delay testing, obtains a daughter element and opens time delay.
The embodiment of the invention also provides a kind of network equipment, including memory, processor and it is stored in the memory Computer program that is upper and can running on the processor;The processor realizes the above-mentioned network equipment when executing described program The webpage of side opens time delay measuring method.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Realize that the webpage of above-mentioned network equipment side opens the step in time delay measuring method when sequence is executed by processor.
The embodiment of the invention also provides a kind of intelligent gateway, including memory, processor and it is stored in the memory Computer program that is upper and can running on the processor;The processor realizes above-mentioned intelligent gateway when executing described program The webpage of side opens time delay measuring method.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Realize that the webpage of above-mentioned intelligent gateway side opens the step in time delay measuring method when sequence is executed by processor.
The advantageous effects of the above technical solutions of the present invention are as follows:
In above scheme, the webpage is opened time delay measuring method and is dialled by sending respectively at least two intelligent gateway groups Survey task receives each intelligent gateway group according to the daughter element that the testing task is fed back and opens time delay, and according to each The daughter element of the intelligent gateway group feedback opens time delay, obtains the opening time delay of the webpage to be measured;It can reduce to intelligence Resource consuming task is transferred to the network equipment by the consumption of gateway cpu resource, does not influence user experience, promotes intelligent gateway industry Business development, simple flow are not limited to by network.
Detailed description of the invention
Fig. 1 is that webpage opens time delay acquisition process schematic diagram in the prior art;
Fig. 2 is that the webpage of the embodiment of the present invention opens time delay measuring method flow diagram one;
Fig. 3 is that the webpage of the embodiment of the present invention opens time delay measuring method flow diagram two;
Fig. 4 is that multiple intelligent gateways of the embodiment of the present invention are grouped schematic diagram;
Fig. 5 is that the webpage of the embodiment of the present invention opens time delay measuring method concrete application flow diagram;
Fig. 6 is the network equipment infrastructure schematic diagram of the embodiment of the present invention;
Fig. 7 is the intelligent gateway structural schematic diagram of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
The present invention in view of the prior art in webpage to open delay testing protocol procedures cumbersome and the problem of limited to by network, A kind of webpage opening time delay measuring method is provided, can be applied to the network equipment, (network equipment can be cloud platform or cloud service Device), as shown in Fig. 2, webpage opening time delay measuring method includes:
Step 21: sending testing task respectively at least two intelligent gateway groups, taken respectively in each testing task The link information of part daughter element with webpage to be measured;
Step 22: receiving each intelligent gateway group according to the daughter element that the testing task is fed back and open time delay;
Step 23: time delay being opened according to the daughter element of each intelligent gateway group feedback, obtains the webpage to be measured Open time delay.
In the present embodiment, about the testing task for issuing intelligent gateway group, it can be and carry difference in different testing tasks Part daughter element link information, that is, be sent to the chain of the part daughter element carried in the testing task of different intelligent gateway group Connect information difference;
Such as: intelligent gateway group includes the first intelligent gateway group and the second intelligent gateway group, the daughter element of webpage to be measured Link information includes the link information of first part's daughter element and the link information of second part daughter element, if being sent to the first intelligence The link information that first part's daughter element is carried in the testing task of energy gateway group, then be sent to the testing of the second intelligent gateway group The link information of second part daughter element is carried in task;
The link information carried in testing task also can be interchanged: being sent in the testing task of the first intelligent gateway group and takes Link information with second part daughter element is sent to carrying first part's daughter element in the testing task of the second intelligent gateway group Link information, be not limited thereto;Only illustrate that different intelligent gateway group is directed to the link letter of different piece daughter element Breath.
In the present embodiment, it can be the opening time delay of the part daughter element according to webpage to be measured, obtain beating for webpage to be measured Time delay (about value) is opened, is also possible to the opening time delay of all daughter elements according to webpage to be measured, obtains the opening of webpage to be measured Time delay is not limited thereto.
The webpage provided in an embodiment of the present invention opens time delay measuring method by least two intelligent gateway components Not Fa Song testing task, receive the daughter element opening time delay that each intelligent gateway group feed back according to the testing task, and Time delay is opened according to the daughter element of each intelligent gateway group feedback, obtains the opening time delay of the webpage to be measured;It can drop Resource consuming task is transferred to the network equipment by the low consumption to intelligent gateway cpu resource, does not influence user experience, promotes intelligence Energy gateway service development, simple flow are not limited to by network.
Specifically, described the step of sending testing task respectively at least two intelligent gateway groups include: obtain constitute to The link information of the daughter element of survey grid page, and it is divided into the part M;Multiple intelligent gateways are divided into N group, constitute N number of intelligent network Pass group;The link information of each section daughter element of the webpage to be measured is distributed into an intelligent gateway group, different piece The link information of element corresponds to different intelligent gateway groups;Testing according to allocation result building for different intelligent gateway group is appointed Business, and carry out correspondence and issue;Wherein, N >=M >=2, and the M is less than or equal to the number of the daughter element.
More specifically, described the step of obtaining the link information for constituting the daughter element of webpage to be measured includes: by crawler The webpage to be measured is carried out element decomposition by mode, obtains the link information of each daughter element.
In the present embodiment, described the step of multiple intelligent gateways are divided into N group includes: according to division parameter and intelligent network Multiple intelligent gateways are divided into N group by the identification information of pass.
The identification information of intelligent gateway can be according to (No. SN) determination of product ID of intelligent gateway, such as Geographical location, producer of gateway etc..Dividing parameter can be provinces and cities' information, company-information etc..
Wherein, the link information of each section daughter element by the webpage to be measured distributes to an intelligent gateway group The step of include: according to the identification information of allocation of parameters, the content information of each section daughter element and intelligent gateway, will be every The link information of a part of daughter element distributes to a corresponding intelligent gateway group.
For example, allocation of parameters is company-information, then according to the company-information and intelligence in the content information of part daughter element Company-information in the identification information of gateway carries out matching distribution.
It is opened parallel in view of the unfolding mode of webpage to be measured there are daughter element and opens two kinds, in the present embodiment with serial, The daughter element according to each intelligent gateway group feedback opens time delay, obtains the step of the opening time delay of the webpage to be measured Suddenly include:
When the unfolding mode of the webpage to be measured is that daughter element is opened parallel, the son member of all intelligent gateway feedbacks is obtained The maximum value of Yanzhong when element is opened, using obtained maximum value as the opening time delay of the webpage to be measured;Or
When the unfolding mode of the webpage to be measured is that daughter element is serially opened, each intelligent gateway group feedback is obtained Daughter element open time delay average value;Obtained each average value is summed, the opening time delay of webpage to be measured is obtained.
Illustrate herein, when the unfolding mode of the webpage to be measured is that daughter element is serially opened, if in multiple testing tasks What is carried is the link information of identical part daughter element, then can give up the biggish daughter element opening time delay of numerical value (can protect Residual is worth the smallest daughter element and opens time delay), or give up the lesser daughter element of numerical value and open time delay and (numerical value maximum can be retained Daughter element open time delay), or using the link information for being directed to identical part daughter element, the multiple groups daughter element of feedback is opened The average value of time delay.
From the foregoing, it will be observed that webpage opens time delay in the prior art for above scheme very good solution provided in an embodiment of the present invention The problem of testing scheme process is cumbersome and is limited to by network.
The embodiment of the invention also provides a kind of webpages to open time delay measuring method, can be applied to intelligent gateway, such as Fig. 3 institute It states, the webpage opens time delay measuring method and includes:
Step 31: receiving the testing task that the network equipment is sent, include part of webpage to be measured in the testing task The link information of element;
Step 32: according to the link information of the part daughter element, carrying out delay testing;
Step 33: the daughter element that delay testing is obtained opens time delay feedback to the network equipment.
The webpage provided in an embodiment of the present invention opens the testing that time delay measuring method is sent by receiving the network equipment Task carries out delay testing according to the link information of the part daughter element of webpage to be measured in the testing task;By delay testing Obtained daughter element opens time delay feedback to the network equipment;It can reduce the consumption to intelligent gateway cpu resource, by resource Consumption task is transferred to the network equipment, does not influence user experience, promotes intelligent gateway business development, simple flow, not by network Limitation.
Preferably, the step of link information according to the part daughter element, progress delay testing includes: according to institute The link information for stating part daughter element carries out delay testing using the soft probe of intelligent gateway.
Specifically, when the quantity of the link information is multiple, the link information according to the part daughter element, If the unfolding mode that the step of carrying out delay testing includes: the webpage to be measured is that daughter element is opened parallel, it is directed to each The link information carries out delay testing respectively, obtains corresponding multiple daughter elements and opens time delay;If the webpage to be measured Unfolding mode be that daughter element is serially opened, then carry out serial delay testing for the link information of the part daughter element, obtain Time delay is opened to a daughter element.
From the foregoing, it will be observed that webpage opens time delay in the prior art for above scheme very good solution provided in an embodiment of the present invention The problem of testing scheme process is cumbersome and is limited to by network.
Time delay is opened to the webpage provided in an embodiment of the present invention below with reference to the network equipment and intelligent gateway two sides to survey Method for testing is further described, and the link information of part daughter element is by taking the link information of single daughter element as an example, webpage to be measured Unfolding mode by taking daughter element is serially opened as an example, the quantity of intelligent gateway group is for identical as the quantity of daughter element.
In view of the appearance and user experience demand continuous improvement with intelligent gateway, it is badly in need of monitoring by testing means End-to-end QoS, and intelligent gateway testing webpage opens time delay and still belongs to blank, the blank for such as filling up the link can be realized Home network and the end-to-end network quality monitoring of user;The embodiment of the invention provides a kind of webpages to open time delay measuring method, Main purpose is to be able under the premise of not influencing user experience, user's threshold is eliminated, by the way of user's unaware Divide the method for group point domain testing to calculate webpage by intelligent gateway to open time delay, so that the experience of user be substantially improved, promote intelligence It can gateway service development.
Scheme provided in an embodiment of the present invention mainly decomposes web page element, divides group point domain testing son member by intelligent gateway Element link time delay, reduces the consumption to intelligent gateway cpu resource, resource consuming task is transferred to cloud server/cloud platform, The final comprehensive method for obtaining daughter element and opening time delay, calculates webpage and opens time delay, does not influence user experience, while using to be promoted Family online experience provides data foundation, and process is as follows:
A. cloud server/cloud platform carries out the decomposition of Webpage element, and whole daughter elements are obtained by way of crawler Link;
Cloud server/cloud platform carries out web page element decomposition by crawler, as shown in figure 4, webpage http is decomposed into Daughter element http1,2 ... n:
Http=http 1+http 2+ ...+http n;
One webpage (is determined which webpage tested according to demand by operation personnel, demand can be according to the rate of complaints etc. Determine) in all elements, including level-one link, second level link, picture, text, video link etc. by crawler, (third party is answered With) mode obtain, be decomposed into several sublinks.
B. cloud server/cloud platform divides intelligent gateway to group point domain, and configuration needs the daughter element of testing to link;
Cloud server/cloud platform is according to (No. SN corresponding geography of identity SN for dividing parameter and intelligent gateway The information such as region, manufacturer), divide intelligent gateway to group point domain:
G=G1+G2+ ...+Gn;G represents all intelligent gateways that cloud server/cloud platform can be called, G1, G2 ... Gn, representative divide the intelligent gateway group behind group point domain;
As shown in figure 4, cloud server/cloud platform can distribute G1 testing http1, G2 testing http2, and so on, The opening time delay of Gn testing http n;
It can be and each daughter element is distributed into one group of gateway, different daughter elements correspond to different groups of other gateways;Specifically It can be allocated according to daughter element and No. SN corresponding parameter preset information of intelligent gateway and division parameter, dividing parameter can Operation personnel determines to be, such as geographic area, manufacturer etc..
C. the soft probe plug-in unit in intelligent gateway executes testing task, returns to daughter element and opens time delay;
As shown in figure 4, opening time delay t1, G2 that G1 returns to testing http1 return to the opening time delay t2 of testing http2, with This analogizes, and Gn returns to the opening time delay tn of testing http n.
D. cloud server/cloud platform opens time delay according to each daughter element that the soft probe of intelligent gateway reports, and calculates webpage It is total to open time delay.
Cloud server/cloud platform calculates webpage and always opens time delay t:
T=s1+s2+ ...+sn;The daughter element of one group of gateway feedback corresponding number opens time delay, it is optional be maximized or Average value opens time delay as the daughter element that the corresponding other gateway of group obtains;The maximum value or average that s1 is one group of t1 that G1 is returned Value, s2 are the maximum value or average value for one group of t2 that G2 is returned, and so on, the maximum value or flat that sn is one group of tn that Gn is returned Mean value.
More specifically, it is as shown in Figure 5 to open time delay measuring method for the webpage provided in an embodiment of the present invention, comprising:
Step 51: cloud server/cloud platform configuration needs the daughter element of testing to link;
All daughter elements link that webpage is obtained by crawler is needed the son of testing by cloud server/cloud platform configuration Element link.
Step 52: cloud server/cloud platform configuration needs to be implemented the intelligent gateway of single daughter element link;
Divide gateway to group point domain by cloud server/cloud platform, configuration needs to be implemented the intelligence of single daughter element link Gateway group (intelligent gateway group).
Step 53: cloud server/cloud platform sends testing task;
Cloud server/cloud platform (carries the single daughter element chain of configuration to Intelligent target gateway pocket transmission testing task Connect information).
Step 54: intelligent gateway executes testing task;
The soft probe of intelligent gateway executes testing task, and test daughter element opens time delay, and (specific test mode can be found in existing The testing scheme that webpage opens time delay is detected, details are not described herein).
Belong to same group of intelligent gateway and executes testing task for identical daughter element.
Step 55: intelligent gateway returns to daughter element and opens time delay;
The soft probe of intelligent gateway returns to the result for executing test to cloud server/cloud platform.
Step 56: each daughter element is opened time delay and is added by cloud server/cloud platform, show that webpage always opens time delay.
Illustrate herein, above " cloud server/cloud platform " is " cloud server or cloud platform ".
From the foregoing, it will be observed that scheme no user perception provided in an embodiment of the present invention, does not influence user's online experience;Intelligence is filled up Energy gateway layer monitors user's online experience blank, can be realized the end-to-end monitoring of home network quality;By dividing dialling for group point domain Survey mode reduces the consumption to intelligent gateway CPU, will calculate center of gravity and is transferred to cloud platform/server, that is, calculates consumption money Source node is transferred to cloud server/cloud platform by user terminal, intelligent gateway, so that delay testing simple flow, not by net Network limitation.
The embodiment of the invention also provides a kind of network equipments, as shown in Figure 6, comprising: processor 61 and transceiver 62;
The processor 61 is appointed for sending testing respectively at least two intelligent gateway groups by the transceiver 62 It is engaged in, carries the link information of the part daughter element of webpage to be measured in each testing task respectively;
It receives each intelligent gateway group and time delay is opened according to the daughter element that the testing task is fed back;
Time delay is opened according to the daughter element of each intelligent gateway group feedback, when obtaining the opening of the webpage to be measured Prolong.
The network equipment provided in an embodiment of the present invention is appointed by sending testing respectively at least two intelligent gateway groups Business receives each intelligent gateway group according to the daughter element that the testing task is fed back and opens time delay, and according to each described The daughter element of intelligent gateway group feedback opens time delay, obtains the opening time delay of the webpage to be measured;It can reduce to intelligent gateway Resource consuming task is transferred to the network equipment by the consumption of cpu resource, does not influence user experience, promotes intelligent gateway business hair Exhibition, simple flow are not limited to by network.
Specifically, the processor is specifically used for: obtaining the link information for constituting the daughter element of webpage to be measured, and be divided into The part M;Multiple intelligent gateways are divided into N group, constitute N number of intelligent gateway group;By each section son member of the webpage to be measured The link information of element distributes to an intelligent gateway group, and the link information of different piece daughter element corresponds to different intelligent gateways Group;It is directed to the testing task of different intelligent gateway group according to allocation result building, and correspondence is carried out by the transceiver and is issued; Wherein, N >=M >=2, and the M is less than or equal to the number of the daughter element.
More specifically, the processor is specifically used for: the webpage to be measured is subjected to element decomposition by way of crawler, Obtain the link information of each daughter element.
In the present embodiment, the processor is specifically used for:, will according to the identification information for dividing parameter and intelligent gateway Multiple intelligent gateways are divided into N group.
Wherein, the processor is specifically used for: according to the content information and intelligent network of allocation of parameters, each section daughter element The link information of each section daughter element is distributed to a corresponding intelligent gateway group by the identification information of pass.
It is opened parallel in view of the unfolding mode of webpage to be measured there are daughter element and opens two kinds, in the present embodiment with serial, The processor is specifically used for: when the unfolding mode of the webpage to be measured is that daughter element is opened parallel, obtaining all intelligent networks The maximum value of Yanzhong when closing the daughter element opening of feedback, using obtained maximum value as the opening time delay of the webpage to be measured;Or Person
When the unfolding mode of the webpage to be measured is that daughter element is serially opened, each intelligent gateway group feedback is obtained Daughter element open time delay average value;Obtained each average value is summed, the opening time delay of webpage to be measured is obtained.
Wherein, the realization embodiment that the webpage of above-mentioned network equipment side opens time delay measuring method is suitable for the net In the embodiment of network equipment, it can also reach identical technical effect.
From the foregoing, it will be observed that webpage opens time delay in the prior art for above scheme very good solution provided in an embodiment of the present invention The problem of testing scheme process is cumbersome and is limited to by network.
The embodiment of the invention also provides a kind of intelligent gateways, as shown in fig. 7, comprises: processor 71 and transceiver 72;
The processor 71, for receiving the testing task that the network equipment is sent, the testing by the transceiver 72 The link information of part daughter element in task including webpage to be measured;
According to the link information of the part daughter element, delay testing is carried out;
The daughter element that delay testing obtains is opened into time delay, the network equipment is fed back to by the transceiver 72.
The testing task that the intelligent gateway provided in an embodiment of the present invention is sent by receiving the network equipment, according to described The link information of the part daughter element of webpage to be measured in testing task, carries out delay testing;The daughter element that delay testing is obtained Time delay feedback is opened to the network equipment;It can reduce the consumption to intelligent gateway cpu resource, resource consuming task shifted To the network equipment, user experience is not influenced, promotes intelligent gateway business development, simple flow is not limited to by network.
Preferably, the processor is specifically used for: soft using intelligent gateway according to the link information of the part daughter element Probe carries out delay testing.
Specifically, the processor is specifically used for: if the webpage to be measured when the quantity of the link information is multiple Unfolding mode be that daughter element is opened parallel, then carry out delay testing respectively for each described link information, corresponded to Multiple daughter elements open time delay;If the unfolding mode of the webpage to be measured is that daughter element is serially opened, and is directed to described The link information of part daughter element carries out serial delay testing, obtains a daughter element and opens time delay.
Wherein, the realization embodiment that the webpage of above-mentioned intelligent gateway side opens time delay measuring method is suitable for the intelligence In the embodiment of energy gateway, it can also reach identical technical effect.
From the foregoing, it will be observed that webpage opens time delay in the prior art for above scheme very good solution provided in an embodiment of the present invention The problem of testing scheme process is cumbersome and is limited to by network.
The embodiment of the invention also provides a kind of network equipment, including memory, processor and it is stored in the memory Computer program that is upper and can running on the processor;The processor realizes the above-mentioned network equipment when executing described program The webpage of side opens time delay measuring method.
Wherein, the realization embodiment that the webpage of above-mentioned network equipment side opens time delay measuring method is suitable for the net In the embodiment of network equipment, it can also reach identical technical effect.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Realize that the webpage of above-mentioned network equipment side opens the step in time delay measuring method when sequence is executed by processor.
Wherein, the realization embodiment that the webpage of above-mentioned network equipment side opens time delay measuring method is suitable for the meter In the embodiment of calculation machine readable storage medium storing program for executing, it can also reach identical technical effect.
The embodiment of the invention also provides a kind of intelligent gateway, including memory, processor and it is stored in the memory Computer program that is upper and can running on the processor;The processor realizes above-mentioned intelligent gateway when executing described program The webpage of side opens time delay measuring method.
Wherein, the realization embodiment that the webpage of above-mentioned intelligent gateway side opens time delay measuring method is suitable for the intelligence In the embodiment of energy gateway, it can also reach identical technical effect.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Realize that the webpage of above-mentioned intelligent gateway side opens the step in time delay measuring method when sequence is executed by processor.
Wherein, the realization embodiment that the webpage of above-mentioned intelligent gateway side opens time delay measuring method is suitable for the meter In the embodiment of calculation machine readable storage medium storing program for executing, it can also reach identical technical effect.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come It says, under the premise of not departing from principle of the present invention, can also make several improvements and retouch, these improvements and modifications should also regard For protection scope of the present invention.

Claims (22)

1. a kind of webpage opens time delay measuring method characterized by comprising
Testing task is sent respectively at least two intelligent gateway groups, carries webpage to be measured respectively in each testing task The link information of part daughter element;
It receives each intelligent gateway group and time delay is opened according to the daughter element that the testing task is fed back;
Time delay is opened according to the daughter element of each intelligent gateway group feedback, obtains the opening time delay of the webpage to be measured.
2. webpage according to claim 1 opens time delay measuring method, which is characterized in that described at least two intelligent networks Pass group sends the step of testing task respectively and includes:
The link information for constituting the daughter element of webpage to be measured is obtained, and is divided into the part M;
Multiple intelligent gateways are divided into N group, constitute N number of intelligent gateway group;
The link information of each section daughter element of the webpage to be measured is distributed into an intelligent gateway group, different piece son member The link information of element corresponds to different intelligent gateway groups;
It is directed to the testing task of different intelligent gateway group according to allocation result building, and carries out correspondence and issues;
Wherein, N >=M >=2, and the M is less than or equal to the number of the daughter element.
3. webpage according to claim 2 opens time delay measuring method, which is characterized in that the acquisition constitutes webpage to be measured Daughter element link information the step of include:
The webpage to be measured is subjected to element decomposition by way of crawler, obtains the link information of each daughter element.
4. webpage according to claim 2 opens time delay measuring method, which is characterized in that described to draw multiple intelligent gateways The step of being divided into N group include:
According to the identification information for dividing parameter and intelligent gateway, multiple intelligent gateways are divided into N group.
5. webpage according to claim 2 or 4 opens time delay measuring method, which is characterized in that the general is described to survey grid The step of link information of each section daughter element of page distributes to an intelligent gateway group include:
According to allocation of parameters, the identification information of the content information of each section daughter element and intelligent gateway, by each section The link information of daughter element distributes to a corresponding intelligent gateway group.
6. webpage according to claim 1 opens time delay measuring method, which is characterized in that described according to each intelligence The daughter element of gateway group feedback opens time delay, and the step of obtaining the opening time delay of the webpage to be measured includes:
When the unfolding mode of the webpage to be measured is that daughter element is opened parallel, the daughter element for obtaining all intelligent gateway feedbacks is beaten The maximum value of Yanzhong when opening, using obtained maximum value as the opening time delay of the webpage to be measured;Or
When the unfolding mode of the webpage to be measured is that daughter element is serially opened, the son of each intelligent gateway group feedback is obtained The average value of element opening time delay;
Obtained each average value is summed, the opening time delay of webpage to be measured is obtained.
7. a kind of webpage opens time delay measuring method characterized by comprising
The testing task that the network equipment is sent is received, includes the link letter of the part daughter element of webpage to be measured in the testing task Breath;
According to the link information of the part daughter element, delay testing is carried out;
The daughter element that delay testing is obtained opens time delay feedback to the network equipment.
8. webpage according to claim 7 opens time delay measuring method, which is characterized in that described according to the part member Element link information, carry out delay testing the step of include:
According to the link information of the part daughter element, delay testing is carried out using the soft probe of intelligent gateway.
9. webpage according to claim 7 opens time delay measuring method, which is characterized in that in the quantity of the link information When being multiple, the link information according to the part daughter element, carry out delay testing the step of include:
If the unfolding mode of the webpage to be measured is that daughter element is opened parallel, carried out respectively for each described link information Delay testing obtains corresponding multiple daughter elements and opens time delay;Or
If the unfolding mode of the webpage to be measured be daughter element serially open, for the part daughter element link information into The serial delay testing of row obtains a daughter element and opens time delay.
10. a kind of network equipment characterized by comprising processor and transceiver;
The processor, for sending testing task, Mei Yisuo respectively at least two intelligent gateway groups by the transceiver State the link information for carrying the part daughter element of webpage to be measured in testing task respectively;
It receives each intelligent gateway group and time delay is opened according to the daughter element that the testing task is fed back;
Time delay is opened according to the daughter element of each intelligent gateway group feedback, obtains the opening time delay of the webpage to be measured.
11. the network equipment according to claim 10, which is characterized in that the processor is specifically used for:
The link information for constituting the daughter element of webpage to be measured is obtained, and is divided into the part M;
Multiple intelligent gateways are divided into N group, constitute N number of intelligent gateway group;
The link information of each section daughter element of the webpage to be measured is distributed into an intelligent gateway group, different piece son member The link information of element corresponds to different intelligent gateway groups;
It is directed to the testing task of different intelligent gateway group according to allocation result building, and is carried out under corresponding to by the transceiver Hair;
Wherein, N >=M >=2, and the M is less than or equal to the number of the daughter element.
12. the network equipment according to claim 11, which is characterized in that the processor is specifically used for:
The webpage to be measured is subjected to element decomposition by way of crawler, obtains the link information of each daughter element.
13. the network equipment according to claim 11, which is characterized in that the processor is specifically used for:
According to the identification information for dividing parameter and intelligent gateway, multiple intelligent gateways are divided into N group.
14. the network equipment according to claim 11 or 13, which is characterized in that the processor is specifically used for:
According to allocation of parameters, the identification information of the content information of each section daughter element and intelligent gateway, by each section The link information of daughter element distributes to a corresponding intelligent gateway group.
15. the network equipment according to claim 10, which is characterized in that the processor is specifically used for:
When the unfolding mode of the webpage to be measured is that daughter element is opened parallel, the daughter element for obtaining all intelligent gateway feedbacks is beaten The maximum value of Yanzhong when opening, using obtained maximum value as the opening time delay of the webpage to be measured;Or
When the unfolding mode of the webpage to be measured is that daughter element is serially opened, the son of each intelligent gateway group feedback is obtained The average value of element opening time delay;
Obtained each average value is summed, the opening time delay of webpage to be measured is obtained.
16. a kind of intelligent gateway characterized by comprising processor and transceiver;
The processor wraps in the testing task for receiving the testing task that the network equipment is sent by the transceiver Include the link information of the part daughter element of webpage to be measured;
According to the link information of the part daughter element, delay testing is carried out;
The daughter element that delay testing obtains is opened into time delay, the network equipment is fed back to by the transceiver.
17. intelligent gateway according to claim 16, which is characterized in that the processor is specifically used for:
According to the link information of the part daughter element, delay testing is carried out using the soft probe of intelligent gateway.
18. intelligent gateway according to claim 16, which is characterized in that when the quantity of the link information is multiple, The processor is specifically used for:
If the unfolding mode of the webpage to be measured is that daughter element is opened parallel, carried out respectively for each described link information Delay testing obtains corresponding multiple daughter elements and opens time delay;Or
If the unfolding mode of the webpage to be measured be daughter element serially open, for the part daughter element link information into The serial delay testing of row obtains a daughter element and opens time delay.
19. a kind of network equipment, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program;It is characterized in that, the processor realizes such as any one of claims 1 to 6 when executing described program The webpage opens time delay measuring method.
20. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Realize that webpage described in any one of claims 1 to 6 such as opens the step in time delay measuring method when execution.
21. a kind of intelligent gateway, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program;It is characterized in that, the processor is realized when executing described program such as any one of claim 7 to 9 The webpage opens time delay measuring method.
22. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Realize that the webpage as described in any one of claim 7 to 9 opens the step in time delay measuring method when execution.
CN201710899944.0A 2017-09-28 2017-09-28 Webpage opening delay testing method, network equipment and intelligent gateway Active CN109586988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710899944.0A CN109586988B (en) 2017-09-28 2017-09-28 Webpage opening delay testing method, network equipment and intelligent gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710899944.0A CN109586988B (en) 2017-09-28 2017-09-28 Webpage opening delay testing method, network equipment and intelligent gateway

Publications (2)

Publication Number Publication Date
CN109586988A true CN109586988A (en) 2019-04-05
CN109586988B CN109586988B (en) 2020-10-02

Family

ID=65914598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710899944.0A Active CN109586988B (en) 2017-09-28 2017-09-28 Webpage opening delay testing method, network equipment and intelligent gateway

Country Status (1)

Country Link
CN (1) CN109586988B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224896A (en) * 2019-06-24 2019-09-10 深圳前海桔子信息技术有限公司 A kind of network performance data acquisition method, device, server and storage medium
CN110266557A (en) * 2019-05-24 2019-09-20 中国联合网络通信集团有限公司 Broadband service quality monitoring method, apparatus and system
CN114465919A (en) * 2022-04-12 2022-05-10 北京天维信通科技有限公司 Network service testing method, system, electronic equipment and storage medium
CN117216428A (en) * 2023-11-07 2023-12-12 荣耀终端有限公司 Webpage resource request method, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067214A (en) * 2011-10-19 2013-04-24 阿里巴巴集团控股有限公司 Method, client, server and system used for testing web site performance
KR20130102980A (en) * 2012-03-09 2013-09-23 네이버비즈니스플랫폼 주식회사 System and method for measuring webpage loading time using web browser and proxy
CN103840977A (en) * 2014-03-04 2014-06-04 中国联合网络通信集团有限公司 Internet business service quality evaluative method and client side
CN104361051A (en) * 2014-10-29 2015-02-18 中国联合网络通信集团有限公司 Detection method and device for webpage service quality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067214A (en) * 2011-10-19 2013-04-24 阿里巴巴集团控股有限公司 Method, client, server and system used for testing web site performance
KR20130102980A (en) * 2012-03-09 2013-09-23 네이버비즈니스플랫폼 주식회사 System and method for measuring webpage loading time using web browser and proxy
CN103840977A (en) * 2014-03-04 2014-06-04 中国联合网络通信集团有限公司 Internet business service quality evaluative method and client side
CN104361051A (en) * 2014-10-29 2015-02-18 中国联合网络通信集团有限公司 Detection method and device for webpage service quality

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266557A (en) * 2019-05-24 2019-09-20 中国联合网络通信集团有限公司 Broadband service quality monitoring method, apparatus and system
CN110266557B (en) * 2019-05-24 2021-06-29 中国联合网络通信集团有限公司 Method, device, system and storage medium for monitoring broadband service quality
CN110224896A (en) * 2019-06-24 2019-09-10 深圳前海桔子信息技术有限公司 A kind of network performance data acquisition method, device, server and storage medium
CN114465919A (en) * 2022-04-12 2022-05-10 北京天维信通科技有限公司 Network service testing method, system, electronic equipment and storage medium
CN114465919B (en) * 2022-04-12 2022-07-12 北京天维信通科技有限公司 Network service testing method, system, electronic equipment and storage medium
CN117216428A (en) * 2023-11-07 2023-12-12 荣耀终端有限公司 Webpage resource request method, terminal equipment and computer readable storage medium
CN117216428B (en) * 2023-11-07 2024-04-16 荣耀终端有限公司 Webpage resource request method, terminal equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109586988B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN109586988A (en) A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN107124375B (en) Off-peak scheduling method, system and server for CDN (content delivery network) network bandwidth resources
US10243824B2 (en) On-device attribution of network data usage
CN106534333B (en) A kind of two-way choice calculating discharging method based on MEC and MCC
US9867067B2 (en) Measurement module
Guan et al. Customized slicing for 6G: Enforcing artificial intelligence on resource management
CN109756911A (en) Network quality prediction technique, business reorganization method, relevant device and storage medium
CN106302017B (en) The small capaciated flow network velocity-measuring system of high concurrent and method
CN104521276B (en) Adaptive non-real-time service control method and its terminal
CN109167674A (en) Methods of marking, domain name system DNS dispatching method and the server of service node
CN105991707B (en) Multimedia interaction method, server and system
CN105122915B (en) Monitor report generation method, device and user equipment
CN105959218A (en) Network route selection method and network route selection system
CN108696400A (en) network monitoring method and device
CN104065538B (en) Measurement control method, control server and the system of network performance
Di Francesco et al. Assembling and using a cellular dataset for mobile network analysis and planning
Jomrich et al. Cellular Bandwidth Prediction for Highly Automated Driving
CN109600280A (en) Pressure testing system, method, apparatus and computer readable storage medium
CN103346978A (en) Method for guaranteeing fairness and stability of virtual machine network bandwidth
CN109194533A (en) The assessment method and device of data transfer delay
CN107947847A (en) A kind of unitized satellite network resources Unified Characterization method and system
CN108055701A (en) A kind of resource regulating method and base station
CN109392002A (en) A kind of method and apparatus of report network performance parameter
CN110336713A (en) A kind of method and terminal device detecting honeycomb Internet of Things end-to-end time delay and rate
CN103974321B (en) The monitoring method and device of a kind of repeater

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant