CN104361051A - Detection method and device for webpage service quality - Google Patents

Detection method and device for webpage service quality Download PDF

Info

Publication number
CN104361051A
CN104361051A CN201410596663.4A CN201410596663A CN104361051A CN 104361051 A CN104361051 A CN 104361051A CN 201410596663 A CN201410596663 A CN 201410596663A CN 104361051 A CN104361051 A CN 104361051A
Authority
CN
China
Prior art keywords
page
time delay
request
moment
service quality
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.)
Pending
Application number
CN201410596663.4A
Other languages
Chinese (zh)
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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410596663.4A priority Critical patent/CN104361051A/en
Publication of CN104361051A publication Critical patent/CN104361051A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a detection method and device for the webpage service quality and relates to the field of internet. By utilizing the detection method and the device, the problem that evaluation on the webpage service quality by a user can not be reflected comprehensively and accurately in the prior art is solved to some extent, and the practicability of detection on the webpage service quality is improved. The detection method comprises the following steps: sending an access request to a server on a detected webpage, receiving webpage elements of the detected webpage sent by a server, recording the quality parameters of the detected webpage during receiving the webpage elements, and measuring and calculating the webpage service quality of the detected webpage according to the quality parameters of the detected webpage, wherein the webpage elements at least comprise any one of a character element, a picture element and a script element; and the quality parameters comprise webpage time delay, webpage download speed and webpage display completion rate.

Description

A kind of detection method of web service quality and device
Technical field
The present invention relates to internet arena, particularly relate to a kind of detection method and device of web service quality.
Background technology
In numerous Internet services, web service occupies an important position, and is also that user uses one of maximum Internet service, and therefore the quality of web service quality becomes the focus of user and operator's concern.
At present, the quality determining method of web traffic has following two kinds: one to be user's subjective scoring, namely uses terminal device to initiate real web page access by recruitment of users, then carries out detecting and assessing to each webpage; Two is that network quality maps detection, namely by using network quality index data (such as time delay and packet loss etc.) to predict web traffic quality.
The first detection method above-mentioned depends on the subjectivity hobby of individual subscriber, and subjectivity and randomness are excessively strong, and need at substantial manpower and materials in the process of reality enforcement, do not have operability.Above-mentioned the second detection method depends on pure technical network quality index, comprehensively can not consider that the use sense of user is subject to, can not reflect the evaluation of user to the quality of web service really and accurately to a certain extent.Further, owing to including the elements such as a large amount of hyperlink or picture in present increasing webpage, webpage needs repeatedly to ask server in the process opened, complete repeatedly to download and could show and complete web service is provided, and the time delay opening the page by simple calculating in prior art detects the quality of web service, the testing result of web service quality can be caused too unilateral, user's requirement to web service in increasingly sophisticated network environment can not be met.
Summary of the invention
Embodiments of the invention provide a kind of detection method and device of web service quality, to a certain degree to solve in prior art can not comprehensive and accurate reflection user to the problem of the evaluation of the quality of web service, and improve the practicality to web service quality testing.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments of the invention provide a kind of detection method of web service quality, comprising:
Request of access is initiated to server for the detection page;
Receive the page elements of the described detection page that described server sends, described page elements at least comprises any one in text element, picture element and script element;
The mass parameter of described detection page during record reception described page elements, described mass parameter comprises page time delay, page-downloading speed and page display completion rate;
The web service quality of the described detection page is calculated according to the mass parameter of the described detection page.
In conjunction with first aspect, in the first possible implementation of first aspect, described page-downloading speed is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received;
Wherein, described page time delay comprises title time delay, text time delay, first screen time delay and webpage time delay,
Described title time delay is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page;
Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page;
Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen;
Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
In conjunction with the first possible implementation of aforesaid first aspect, in the implementation that the second of first aspect is possible, initiate after request of access to server for the detection page described, also comprise:
If get the request of access for secondary request element in described page elements, then initiate again request of access to obtain described secondary request element to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address.
In conjunction with the implementation that the second of aforesaid first aspect is possible, in the third possible implementation of first aspect, described mass parameter also comprises the twice time lag obtaining described secondary request element, and described twice time lag is used to indicate and obtains described secondary request element moment and the mistiming of asking the described secondary request element moment.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, the described mass parameter according to the described detection page calculates the web service quality of the described detection page, comprising:
Each mass parameter of the described detection page and the index of each preset mass parameter are compared, so that determine the web service quality of the described detection page.
Second aspect, embodiments of the invention provide a kind of pick-up unit of web service quality, comprising:
Transmitting element, for initiating request of access for the detection page to server;
Receiving element, for receiving the page elements of the described detection page that described server sends, described page elements at least comprises any one in text element, picture element and script element;
Statistic unit, detects the mass parameter of the page when receiving described page elements for recording described receiving element, described mass parameter comprises page time delay, page-downloading speed and page display completion rate;
Detecting unit, for calculating the web service quality of the described detection page according to the mass parameter of the detection page in described statistic unit.
In conjunction with second aspect, in the first possible implementation of second aspect, page-downloading speed in described statistic unit is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received;
Wherein, the page time delay in described statistic unit comprises title time delay, text time delay, first screen time delay and webpage time delay, described title time delay, is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page; Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page; Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen; Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
In conjunction with the first possible implementation of aforesaid second aspect, in the implementation that the second of second aspect is possible,
Described transmitting element, if also for getting the request of access for secondary request element in the page elements in described receiving element, then initiate again request of access to obtain described secondary request element to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address;
Wherein, described mass parameter also comprises the twice time lag obtaining described secondary request element, and described twice time lag is used to indicate and obtains described secondary request element moment and the mistiming of asking the described secondary request element moment.
In conjunction with second aspect, in the third possible implementation of second aspect,
Described detecting unit, specifically for each mass parameter of the described detection page and the index of each preset mass parameter being compared, so that determine the web service quality of the described detection page.
Embodiments of the invention provide a kind of detection method and device of web service quality, when receiving each page elements of the described detection page that described server sends, by recording mass parameter (the i.e. page time delay of the described detection page, page-downloading speed and page display completion rate), the web service quality of the described detection page of final measuring and calculating, in the program, the pick-up unit of web service quality comprehensively have chosen the multiple reference factor affecting web service quality, the demand of web traffic is more used close to user, therefore the embodiment user that the final web page quality evaluation obtained can be more comprehensive and accurate is to the perception of web traffic, to a certain degree to solve in prior art can not comprehensive and accurate reflection user to the problem of the evaluation of the quality of web service, and the practicality that improve web service quality testing, more valuable suggestion is provided to the networking of operator and the deployment of Internet enterprises server.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 provides a kind of schematic diagram one of detection method of web service quality for embodiments of the invention;
Fig. 2 provides a kind of schematic diagram two of detection method of web service quality for embodiments of the invention;
Fig. 3 is the schematic diagram of the web service quality of the pick-up unit detection Baidu homepage of web service quality;
Fig. 4 is the hardware schematic diagram of the pick-up unit of a kind of web service quality provided by the invention;
Fig. 5 is the structural representation of the pick-up unit of a kind of web service quality provided by the invention.
Embodiment
In below describing, in order to illustrate instead of in order to limit, propose the detail of such as particular system structure, interface, technology and so on, thoroughly to understand the present invention.But, it will be clear to one skilled in the art that and also can realize the present invention in other embodiment not having these details.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders description of the invention.
Embodiment one
Embodiments of the invention provide a kind of detection method of web service quality, as shown in Figure 1, comprising:
101, the pick-up unit of web service quality initiates request of access for the detection page to server;
102, the page elements of the detection page of the pick-up unit reception server transmission of web service quality, described page elements at least comprises any one in text element, picture element and script element;
103, detect the mass parameter of the page when detection device records of web service quality receives page elements, described mass parameter comprises page time delay, page-downloading speed and page display completion rate;
104, the pick-up unit of web service quality detects the web service quality of the page according to the mass parameter measuring and calculating detecting the page.
In a step 101, the pick-up unit of web service quality can be deployed in the user side of network, and initiate real web page access business to server, the pick-up unit of subsequent web pages service quality by server the mass parameter returned in the process of web page contents calculate respectively, finally detect the service quality of this webpage.
Concrete, when the pick-up unit of web service quality initiates request of access for the detection page to server, first the network address detecting the page can be sent to DNS (Domain Nameservice, domain name service) server carries out domain name mapping, dns server returns and detects IP address corresponding to the page, and then, the pick-up unit of web service quality is according to detecting IP address corresponding to the page, " three-way handshake " mode of employing is set up TCP (TransmissionControl Protocol transmission control protocol) with server and is connected and sends HTTP (hypertext transfer protocol, Hypertext transfer protocol) Get request, that carries out with described server is mutual.
Wherein, DNS be on the Internet as the distributed data base that domain name and IP address map mutually, user can be made to access internet more easily, and not spend the IP string remembeing directly to be read by machine.
Three-way handshake (three times handshake or three-way handshake), to provide reliable transmission, TCP, before sending new data, with specific order by the sequence number of packet, and needs these to wrap the acknowledge message after sending target machine to.
In a step 102, initiate after request of access for the detection page at the pick-up unit of web service quality to server, the pick-up unit of web service quality can the page elements of the detection page that sends of reception server.
Wherein, described page elements at least comprises any one in text element, picture element and script element, described text element and picture element had both comprised text element containing hyper linking attribute and picture element, also comprised the text element and picture element that do not have hyper linking attribute.In addition, also can divide page elements according to using function, such as, page elements can be divided into ad elements, video elementary, text element etc.
Concrete, the pick-up unit of web service quality is for detecting the page after server initiation request of access, set up TCP with server to be connected and to send HTTP Get and ask, now the pick-up unit waiting for server of web service quality returns each page elements of the described detection page.Should be noted that, each page elements that server returns the described detection page is the process of a continuation, such as, after server receives the HTTP Get request detecting the page, first can return the HTML<head> leader label detecting the page, then return the HTML<body> label detecting the page.
In step 103, the pick-up unit of web service quality is when receiving page elements, and real-time record detects the mass parameter of the page, and described mass parameter comprises page time delay, page-downloading speed and page display completion rate.
Concrete, described page-downloading speed is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received.
Further, described page time delay comprises title time delay, text time delay, first screen time delay and webpage time delay, wherein:
Described title time delay is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page;
Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page;
Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen;
Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
At step 104, after the detection device records of web service quality detects the mass parameter of the page, the pick-up unit of web service quality can calculate the web service quality of the described detection page according to the mass parameter of the described detection page.
Concrete, after the pick-up unit of web service quality gets the mass parameter of the described detection page, the web service quality of the described detection page can be calculated according to various ways, such as, the index of each mass parameter of the described detection page and each preset mass parameter can compare, so that determine the web service quality of the described detection page by the pick-up unit of web service quality; Or the pick-up unit of web service quality can distribute different weights for each mass parameter detecting the page, and the final overall quality parameter etc. obtained about the web service quality detecting the page, embodiments of the invention do not limit this.
Embodiments of the invention provide a kind of detection method of web service quality, when receiving each page elements of the described detection page that described server sends, by recording mass parameter (the i.e. page time delay of the described detection page, page-downloading speed and page display completion rate), the web service quality of the described detection page of final measuring and calculating, in the program, the pick-up unit of web service quality comprehensively have chosen the multiple reference factor affecting web service quality, the demand of web traffic is more used close to user, therefore the embodiment user that the final web page quality evaluation obtained can be more comprehensive and accurate is to the perception of web traffic, to a certain degree to solve in prior art can not comprehensive and accurate reflection user to the problem of the evaluation of the quality of web service, and the practicality that improve web service quality testing, more valuable suggestion is provided to the networking of operator and the deployment of Internet enterprises server.
Embodiment two
Embodiments of the invention provide a kind of detection method of web service quality, as shown in Figure 2, comprising:
201, the pick-up unit of web service quality initiates request of access for the detection page to server;
202, the page elements of the detection page of the pick-up unit reception server transmission of web service quality, described page elements at least comprises any one in text element, picture element and script element;
If include secondary request element in the page elements of the 203 detection pages, the pick-up unit of web service quality initiates again request of access to obtain secondary request element to server;
204, detect the mass parameter of the page when detection device records of web service quality receives page elements, described mass parameter comprises the twice time lag of page time delay, page-downloading speed, page display completion rate and secondary request element;
205, the pick-up unit of web service quality detects the web service quality of the page according to the mass parameter measuring and calculating detecting the page.
In step 201, the pick-up unit of web service quality can be deployed in the user side of network, and initiate real web page access business to server, the pick-up unit of subsequent web pages service quality by server the mass parameter returned in the process of web page contents calculate respectively, finally detect the service quality of this webpage.
Concrete, when the pick-up unit of web service quality initiates request of access for the detection page to server, first the network address detecting the page can be sent to DNS (Domain Nameservice, domain name service) server carries out domain name mapping, dns server returns and detects IP address corresponding to the page, and then, the pick-up unit of web service quality is according to detecting IP address corresponding to the page, adopt " three-way handshake " mode and server to set up TCP to be connected and to send HTTPGet and ask, that carries out with described server is mutual.
In step 202., initiate after request of access for the detection page at the pick-up unit of web service quality to server, the pick-up unit of web service quality can the page elements of the detection page that sends of reception server.
Wherein, described page elements at least comprises any one in text element, picture element and script element.
Concrete, the pick-up unit of web service quality is for detecting the page after server initiation request of access, set up TCP with server to be connected and to send HTTP Get and ask, now the pick-up unit waiting for server of web service quality returns each page elements of the described detection page.Should be noted that, each page elements that server returns the described detection page is the process of a continuation, such as, after server receives the HTTP Get request detecting the page, first can return the HTML<head> leader label detecting the page, return the HTML<body> label detecting the page again, server can also return corresponding secondary request element etc. for the secondary web-page requests of the hyperlink element detected in the page.
In step 203, if get the request of access for secondary request element in described page elements, the pick-up unit of web service quality then initiates again request of access to obtain described secondary request element to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address.
Concrete, after execution step 201 and 202, if include secondary request element in the described detection page, such as picture, animation, shell script etc., after so initiating request of access for the detection page to server, the page elements that server returns not can completely presents, the pick-up unit of web service quality needs the request of access separately these elements being initiated to secondary request element, namely, first the network address of pick-up unit indicated by secondary request element of web service quality carry out domain name mapping to dns server, dns server returns to IP address corresponding to this secondary request element, the pick-up unit of web service quality again according to described IP address device adopt " three-way handshake " mode and server to set up TCP to be connected and to send HTTP Get to this IP address and ask.It should be noted that may there is multiple secondary request element owing to detecting in the page, therefore may there is multiple concurrent request to the request of the secondary access that secondary request element is initiated.
As shown in Figure 3, for test access Baidu homepage, the pick-up unit of web service quality initiates request http://www.***.com, now, the pick-up unit of web service quality starts to perform the GET request of the first row in Fig. 3, if the request start time is 0 millisecond, the response time receiving server is 343 milliseconds, the time delay of first html file that the server that so pick-up unit of web service quality obtains returns is 343 milliseconds, Word message can be comprised in this html file, the button of webpage, the contents such as the network address of secondary request element.
The pick-up unit of web service quality is resolved this html file, the network address comprising secondary request element in this html file is triggered 160 milliseconds time, is such as the second row at //www.***.com/img/***_jgylogo3.gif? the picture of gif form in v=11739665.gif, the response time that the pick-up unit of web service quality receives the server of the picture for this gif form is 10 milliseconds.Can find out there are multiple secondary request elements of various form in the process of test access Baidu homepage, the pick-up unit of web service quality needs to carry out request to page elements all in Baidu's homepage successively could obtain complete Baidu's homepage.
In step 204, the pick-up unit of web service quality is when receiving page elements, real-time record detects the mass parameter of the page, and described mass parameter comprises the twice time lag of page time delay, page-downloading speed, page display completion rate and secondary request element.
Wherein, described twice time lag is used to indicate the mistiming obtaining the request of access moment again described in described secondary request element moment and initiation, and this twice time lag can reflect the download time in webpage opening procedure needed for hyperlink element truly.Described page time delay comprises title time delay, text time delay, first screen time delay and webpage time delay.
Concrete, what the embodiment of the present invention was exemplary provides described title time delay, text time delay, first computing formula of shielding the twice time lag of time delay, webpage time delay, page-downloading speed, page display completion rate and secondary request element, returns each page elements of the described detection page for described server:
Title time delay=server return HTML<head> label substance complete moment-to moment of dns server initiated domain name analysis;
Text time delay=server return HTML<body> label substance complete moment-to moment of dns server initiated domain name analysis;
First screen time delay=receive in screen all page elements moment-to moment of dns server initiated domain name analysis;
Page time delay=receive detect whole page elements of the page moment-to moment of dns server initiated domain name analysis;
The page is shown as the total quantity of the quantity/page elements of the page elements that power=success obtains;
Page-downloading speed=interior size downloading the detection page per second;
In actual applications, the access of described device to the access of webpage and page elements may not respond due to the reason of network reason or Website server, this situation without response causes the indefinite wait of described client, in order to prevent the generation of this situation, an overtime time delay can be set for the propagation delay time of each page elements.If the response time of page elements has exceeded overtime time delay, the propagation delay time of page elements has just been set to overtime time delay.
If the pick-up unit of web service quality initiates the request of access of secondary request element, then twice time lag=reception secondary request element moment-ask moment of described secondary request element.
When user uses web service, what the most directly experience is after browser input webpage network address, time and the speed of required content can be seen, and see the integrated degree of the page, therefore, the detection method of the web service quality that embodiments of the invention provide take into account the various mass parameter that may affect web service quality more comprehensively fully, can reflect the evaluation of user to the quality of web service accurately.
In step 205, the index of each mass parameter of the described detection page and each preset mass parameter can compare, so that determine the web service quality of the described detection page by the pick-up unit of web service quality.
Exemplary, each mass parameter of the described detection page arranged according to preset span and compare, such as title time delay is detected as excellent at 0 millisecond to 50 milliseconds; Page-downloading speed is an instantaneous value, gets its maximal value and detects; The span that the detected value of often kind of mass parameter is corresponding was arranged in advance according to former test result.So, the pick-up unit of web service quality can be tested and assessed to the web service quality detecting the page for each mass parameter, the more real demand using web service close to user.
Optionally, the pick-up unit of web service quality can also arrange certain weight for each mass parameter, then is multiplied by according to each mass parameter described the overall quality parameter that the summation of described weight obtains the web service quality detecting the page respectively.
Again such as, can also for dissimilar terminal, or dissimilar website arranges different web service criteria of quality evaluation.Such as, user is when using the mobile phone open page, in order to save flow and quicker, usually do not wish to comprise a large amount of picture or hyperlink element in the page, now, for mobile phone terminal, twice time lag can be wanted parameter as the standard detecting webpage service quality by the pick-up unit of web service quality; Or, for video website, page-downloading speed can be wanted parameter as the standard detecting webpage service quality.
Embodiments of the invention provide a kind of detection method of web service quality, when receiving each page elements of the described detection page that described server sends, by recording mass parameter (the i.e. page time delay of the described detection page, page-downloading speed and page display completion rate), the web service quality of the described detection page of final measuring and calculating, in the program, the pick-up unit of web service quality comprehensively have chosen the multiple reference factor affecting web service quality, the demand of web traffic is more used close to user, therefore the embodiment user that the final web page quality evaluation obtained can be more comprehensive and accurate is to the perception of web traffic, to a certain degree to solve in prior art can not comprehensive and accurate reflection user to the problem of the evaluation of the quality of web service, and the practicality that improve web service quality testing, more valuable suggestion is provided to the networking of operator and the deployment of Internet enterprises server.
Embodiment three
Shown in accompanying drawing 4 is the hardware schematic diagram of the pick-up unit of a kind of web service quality of the present invention:
The pick-up unit of this web service quality can, for being deployed in the probe device of the user side of network, can be used for initiating real web page access business.
As Fig. 4, the pick-up unit of described web service quality comprises processor 11, transceiver 12, storer 13 and bus 14.
Wherein, processor 11, transceiver 12 and storer 13 are communicated to connect by bus 14.
Processor 11, it is the control center of the pick-up unit of described web service quality, processor 11 is by processing the data that transceiver 12 receives, and the software called in storer 13 or program, perform the pick-up unit various functions of described web service quality.
Transceiver 12, can be used in the process of receiving and sending messages or asking, the reception of signal and transmission, after the information that transceiver 12 receiving terminal sends, processes to processor 11; In addition, transceiver 12 can by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GPRS (General PacketRadio Service, general packet radio service), CDMA (Code Division MultipleAccess, CDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution) etc.
Storer 13, can be used for storing software program, and processor 11 is stored in the software program of storer 13 by running, thus performs various function application and the data processing of the pick-up unit of described web service quality.
In an embodiment of the present invention, processor 11 initiates request of access by transceiver 12 to server for the detection page; Transceiver 12 receives the page elements of the described detection page that described server sends and is sent to processor 11, and described page elements at least comprises any one in text element, picture element and script element; Processor 11 records the mass parameter of described detection page when receiving described page elements and is stored in storer 13, and described mass parameter comprises page time delay, page-downloading speed and page display completion rate; Processor 11 calculates the web service quality of the described detection page according to the mass parameter of the described detection page.
Further, described page-downloading speed is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received;
Wherein, described page time delay comprises title time delay, text time delay, first screen time delay and webpage time delay, described title time delay, is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page; Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page; Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen; Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
Further, initiated after request of access to server by transceiver 12 for the detection page in step processor 11, can also comprise: if get the request of access for secondary request element in described page elements, processor 11 initiates again request of access to obtain described secondary request element by transceiver 12 to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address.
Further, described mass parameter also comprises the twice time lag obtaining described secondary request element, and described twice time lag is used to indicate and obtains described secondary request element moment and the mistiming of asking the described secondary request element moment.
Further, step processor 11 calculates the web service quality of the described detection page according to the mass parameter of the described detection page, can specifically comprise: the index of each mass parameter preset in each mass parameter of the described detection page and storer 13 compares by processor 11, so that determine the web service quality of the described detection page.
Embodiments of the invention provide a kind of pick-up unit of web service quality, when receiving each page elements of the described detection page that described server sends, by recording mass parameter (the i.e. page time delay of the described detection page, page-downloading speed and page display completion rate), the web service quality of the described detection page of final measuring and calculating, in the program, the pick-up unit of web service quality comprehensively have chosen the multiple reference factor affecting web service quality, the demand of web traffic is more used close to user, therefore the embodiment user that the final web page quality evaluation obtained can be more comprehensive and accurate is to the perception of web traffic, to a certain degree to solve in prior art can not comprehensive and accurate reflection user to the problem of the evaluation of the quality of web service, and the practicality that improve web service quality testing, more valuable suggestion is provided to the networking of operator and the deployment of Internet enterprises server.
Embodiment four
Embodiments of the invention provide a kind of pick-up unit of web service quality, as shown in Figure 5, comprising:
Transmitting element 21, for initiating request of access for the detection page to server;
Receiving element 22, for receiving the page elements of the described detection page that described server sends, described page elements at least comprises any one in text element, picture element and script element;
Statistic unit 23, detects the mass parameter of the page when receiving described page elements for recording described receiving element 22, described mass parameter comprises page time delay, page-downloading speed and page display completion rate;
Detecting unit 24, for calculating the web service quality of the described detection page according to the mass parameter of the detection page in described statistic unit 23.
Further, the page-downloading speed in described statistic unit 23 is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received;
Wherein, the page time delay in described statistic unit 23 comprises title time delay, text time delay, first screen time delay and webpage time delay, described title time delay, is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page; Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page; Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen; Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
Further, described transmitting element 21, if also for getting the request of access for secondary request element in the page elements in described receiving element 22, then initiate again request of access to obtain described secondary request element to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address.
Wherein, described mass parameter also comprises the twice time lag obtaining described secondary request element, and described twice time lag is used to indicate and obtains described secondary request element moment and the mistiming of asking the described secondary request element moment.
Further, described detecting unit 24, specifically for each mass parameter of the described detection page and the index of each preset mass parameter being compared, so that determine the web service quality of the described detection page.
Embodiments of the invention provide a kind of pick-up unit of web service quality, when receiving each page elements of the described detection page that described server sends, by recording mass parameter (the i.e. page time delay of the described detection page, page-downloading speed and page display completion rate), the web service quality of the described detection page of final measuring and calculating, in the program, the pick-up unit of web service quality comprehensively have chosen the multiple reference factor affecting web service quality, the demand of web traffic is more used close to user, therefore the embodiment user that the final web page quality evaluation obtained can be more comprehensive and accurate is to the perception of web traffic, to a certain degree to solve in prior art can not comprehensive and accurate reflection user to the problem of the evaluation of the quality of web service, and the practicality that improve web service quality testing, more valuable suggestion is provided to the networking of operator and the deployment of Internet enterprises server.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random AccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (9)

1. a detection method for web service quality, is characterized in that, comprising:
Request of access is initiated to server for the detection page;
Receive the page elements of the described detection page that described server sends, described page elements at least comprises any one in text element, picture element and script element;
The mass parameter of described detection page during record reception described page elements, described mass parameter comprises page time delay, page-downloading speed and page display completion rate;
The web service quality of the described detection page is calculated according to the mass parameter of the described detection page.
2. method according to claim 1, is characterized in that, described page-downloading speed is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received;
Wherein, described page time delay comprises title time delay, text time delay, first screen time delay and webpage time delay,
Described title time delay is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page;
Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page;
Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen;
Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
3. method according to claim 2, is characterized in that, after the page elements of the described detection page of described reception described server transmission, also comprises:
If get the request of access for secondary request element in described page elements, then initiate again request of access to obtain described secondary request element to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address.
4. method according to claim 3, it is characterized in that, described mass parameter also comprises the twice time lag obtaining described secondary request element, and described twice time lag is used to indicate and obtains described secondary request element moment and the mistiming of asking the described secondary request element moment.
5. method according to claim 1, is characterized in that, the described mass parameter according to the described detection page calculates the web service quality of the described detection page, comprising:
Each mass parameter of the described detection page and the index of each preset mass parameter are compared, so that determine the web service quality of the described detection page.
6. a pick-up unit for web service quality, comprising:
Transmitting element, for initiating request of access for the detection page to server;
Receiving element, for receiving the page elements of the described detection page that described server sends, described page elements at least comprises any one in text element, picture element and script element;
Statistic unit, detects the mass parameter of the page when receiving described page elements for recording described receiving element, described mass parameter comprises page time delay, page-downloading speed and page display completion rate;
Detecting unit, for calculating the web service quality of the described detection page according to the mass parameter of the detection page in described statistic unit.
7. device according to claim 6, is characterized in that, the page-downloading speed in described statistic unit is for reflecting wideband condition when receiving described page elements, and described page display completion rate is for reflecting the proportion of the page elements successfully received;
Wherein, the page time delay in described statistic unit comprises title time delay, text time delay, first screen time delay and webpage time delay, described title time delay, is moment of initiating described request of access and the mistiming in entire header label moment receiving the described detection page; Described text time delay is moment of initiating described request of access and the mistiming in whole body label moment receiving the described detection page; Described head screen time delay, for initiating the moment of described request of access and receiving the mistiming in whole page elements moment in screen; Described webpage time delay is moment of initiating described request of access and the mistiming in whole page elements moment receiving the described detection page.
8. device according to claim 7, is characterized in that,
Described transmitting element, if also for getting the request of access for secondary request element in the page elements in described receiving element, then initiate again request of access to obtain described secondary request element to described server, wherein, described secondary request element is the element needing in the described detection page to be obtained by other network address;
Wherein, described mass parameter also comprises the twice time lag obtaining described secondary request element, and described twice time lag is used to indicate and obtains described secondary request element moment and the mistiming of asking the described secondary request element moment.
9. device according to claim 6, is characterized in that,
Described detecting unit, specifically for each mass parameter of the described detection page and the index of each preset mass parameter being compared, so that determine the web service quality of the described detection page.
CN201410596663.4A 2014-10-29 2014-10-29 Detection method and device for webpage service quality Pending CN104361051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410596663.4A CN104361051A (en) 2014-10-29 2014-10-29 Detection method and device for webpage service quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410596663.4A CN104361051A (en) 2014-10-29 2014-10-29 Detection method and device for webpage service quality

Publications (1)

Publication Number Publication Date
CN104361051A true CN104361051A (en) 2015-02-18

Family

ID=52528312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410596663.4A Pending CN104361051A (en) 2014-10-29 2014-10-29 Detection method and device for webpage service quality

Country Status (1)

Country Link
CN (1) CN104361051A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809064A (en) * 2015-04-24 2015-07-29 百度在线网络技术(北京)有限公司 Page display test method and device of browser
CN105373617A (en) * 2015-11-27 2016-03-02 中国联合网络通信集团有限公司 Web page first screen determination method and apparatus
CN106470129A (en) * 2015-08-19 2017-03-01 中国电信股份有限公司 Realize method, system, server and the terminal of webpage first screen latency measurement
CN106600007A (en) * 2016-11-29 2017-04-26 上海亿账通互联网科技有限公司 Activity quality evaluation method and device
CN108804707A (en) * 2018-06-21 2018-11-13 腾讯科技(深圳)有限公司 A kind of page processing method, device and relevant device
CN109565586A (en) * 2016-08-16 2019-04-02 华为技术有限公司 A kind of video quality evaluation method and device
CN109586988A (en) * 2017-09-28 2019-04-05 ***通信有限公司研究院 A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN111833351A (en) * 2020-09-11 2020-10-27 湖北公众信息产业有限责任公司 Traffic video monitoring management control system based on image data processing
CN116896521A (en) * 2023-09-11 2023-10-17 深圳云天畅想信息科技有限公司 Network quality measurement method and system
CN117216428A (en) * 2023-11-07 2023-12-12 荣耀终端有限公司 Webpage resource request method, terminal equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635826A (en) * 2008-07-21 2010-01-27 中国科学院计算技术研究所 Method for acquiring addresses of network video programs
CN101707691A (en) * 2009-11-18 2010-05-12 中兴通讯股份有限公司 Method and system for managing distributed electronic program guide synchronization
CN101729541A (en) * 2009-11-26 2010-06-09 广东宇天信通通信科技有限公司 Method and system for accessing resources of multi-service platform
CN103840977A (en) * 2014-03-04 2014-06-04 中国联合网络通信集团有限公司 Internet business service quality evaluative method and client side
US20140244648A1 (en) * 2013-02-27 2014-08-28 Pavlov Media, Inc. Geographical data storage assignment based on ontological relevancy
US20140317031A1 (en) * 2013-04-23 2014-10-23 Dropbox, Inc. Application recommendation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635826A (en) * 2008-07-21 2010-01-27 中国科学院计算技术研究所 Method for acquiring addresses of network video programs
CN101707691A (en) * 2009-11-18 2010-05-12 中兴通讯股份有限公司 Method and system for managing distributed electronic program guide synchronization
CN101729541A (en) * 2009-11-26 2010-06-09 广东宇天信通通信科技有限公司 Method and system for accessing resources of multi-service platform
US20140244648A1 (en) * 2013-02-27 2014-08-28 Pavlov Media, Inc. Geographical data storage assignment based on ontological relevancy
US20140317031A1 (en) * 2013-04-23 2014-10-23 Dropbox, Inc. Application recommendation
CN103840977A (en) * 2014-03-04 2014-06-04 中国联合网络通信集团有限公司 Internet business service quality evaluative method and client side

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809064A (en) * 2015-04-24 2015-07-29 百度在线网络技术(北京)有限公司 Page display test method and device of browser
CN104809064B (en) * 2015-04-24 2018-08-10 百度在线网络技术(北京)有限公司 The webpage representation test method and device of browser
CN106470129A (en) * 2015-08-19 2017-03-01 中国电信股份有限公司 Realize method, system, server and the terminal of webpage first screen latency measurement
CN106470129B (en) * 2015-08-19 2019-08-20 中国电信股份有限公司 Realize method, system, server and the terminal of webpage head screen latency measurement
CN105373617A (en) * 2015-11-27 2016-03-02 中国联合网络通信集团有限公司 Web page first screen determination method and apparatus
CN109565586A (en) * 2016-08-16 2019-04-02 华为技术有限公司 A kind of video quality evaluation method and device
CN106600007A (en) * 2016-11-29 2017-04-26 上海亿账通互联网科技有限公司 Activity quality evaluation method and device
CN109586988A (en) * 2017-09-28 2019-04-05 ***通信有限公司研究院 A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN108804707A (en) * 2018-06-21 2018-11-13 腾讯科技(深圳)有限公司 A kind of page processing method, device and relevant device
CN108804707B (en) * 2018-06-21 2024-01-09 深圳市雅阅科技有限公司 Page processing method and device and related equipment
CN111833351A (en) * 2020-09-11 2020-10-27 湖北公众信息产业有限责任公司 Traffic video monitoring management control system based on image data processing
CN116896521A (en) * 2023-09-11 2023-10-17 深圳云天畅想信息科技有限公司 Network quality measurement method and system
CN116896521B (en) * 2023-09-11 2023-11-17 深圳云天畅想信息科技有限公司 Network quality measurement method and system
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

Similar Documents

Publication Publication Date Title
CN104361051A (en) Detection method and device for webpage service quality
AU2017206281B2 (en) System and method for improving access to search results
US20190007283A1 (en) Systems and methods for configuring a resource for network traffic analysis
CN104820667B (en) The report method of webpage click amount, device and system
CN103067214B (en) For testing the method for web site performance, client, server and system
CN103117907B (en) The method and system of server is accelerated in network speed method of testing and system, selection
CN105099811A (en) Interface testing method and device
CN108199921A (en) The method, apparatus and storage medium of a kind of simulation test
CN103955507B (en) The method for early warning and device perceived based on user
CN105100260A (en) Method and device for carrying out access through proxy server
US9357366B2 (en) Auditing of mobile applications
US20090019151A1 (en) Method for media discovery
CN107203470B (en) Page adjustment method and device
CN106528659A (en) A control method and device for jumping from a browser to an application program
US20170277622A1 (en) Web Page Automated Testing Method and Apparatus
US9460220B1 (en) Content selection based on target device characteristics
CN109586942A (en) Web site performance assessment method and device
CN107766224B (en) Test method and test device
CN104796929B (en) Network debugging method and device
CN110399723A (en) Leak detection method and device, storage medium and electronic device
WO2017185632A1 (en) Data transmission method and electronic device
CN104468857B (en) A kind of acquisition methods and system of correspondence
CN115086194B (en) Cloud application data transmission method, computing device and computer storage medium
US20190213662A1 (en) Electronic file transmission method, device, system, and computer readable storage medium
CN106972986B (en) The detection method and its system of IDC network of computer room quality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150218

RJ01 Rejection of invention patent application after publication