CN108183837A - Web site performance monitoring method and system - Google Patents

Web site performance monitoring method and system Download PDF

Info

Publication number
CN108183837A
CN108183837A CN201711377943.6A CN201711377943A CN108183837A CN 108183837 A CN108183837 A CN 108183837A CN 201711377943 A CN201711377943 A CN 201711377943A CN 108183837 A CN108183837 A CN 108183837A
Authority
CN
China
Prior art keywords
client
performance
response data
web site
website
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
CN201711377943.6A
Other languages
Chinese (zh)
Other versions
CN108183837B (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.)
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangzhou Power Supply Bureau 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 Guangzhou Power Supply Bureau Co Ltd filed Critical Guangzhou Power Supply Bureau Co Ltd
Priority to CN201711377943.6A priority Critical patent/CN108183837B/en
Publication of CN108183837A publication Critical patent/CN108183837A/en
Application granted granted Critical
Publication of CN108183837B publication Critical patent/CN108183837B/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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • 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/951Indexing; Web crawling techniques

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)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to Internet technical fields, more particularly to a kind of web site performance monitoring method and system, the websites response data generated by climbing net operation sent by receiving client, according to the website visiting performance indicator of client described in the websites response data acquisition, the performance of the website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value.In this programme, web site performance is monitored in order to realize, monitoring site is treated by client to carry out climbing net operation, it obtains the client and generates websites response data by climbing net operation, the websites response data can be used for judging the web site performance, monitoring site need not be treated to modify, maintain the stability of website, significantly reduce the risk for implementing web site performance monitoring;Simultaneously as being to carry out climbing net operation by true client, the websites response data got can be made to improve the accuracy of web site performance monitoring closer to truth.

Description

Web site performance monitoring method and system
Technical field
The present invention relates to Internet technical field, more particularly to a kind of web site performance monitoring method and system.
Background technology
With the development of science and technology, internet has been more and more widely used in people's lives, the ratio of network economy Weight is also constantly increasing.Web developers need to carry out performance monitoring to website to improve the viewing experience of webpage, so as to Purposefully improve the website of oneself.
Currently in order to the performance monitoring that website carries out, the mode of modification website is typically chosen, by being planted in the existing page Enter javascript codes, this section of code is loaded when accessing website for user and specific data is fed back into website back-end server It is analyzed, the performance of website is monitored with realizing.However this mode needs to modify to webpage, and website is caused to hold Easily there is the problem of stability, there are larger risks.
Invention content
Based on this, since website to be monitored is susceptible to stability problem during current web performance monitoring, need to carry For a kind of web site performance monitoring method and system.
A kind of web site performance monitoring method, includes the following steps:
The websites response data that client is sent are received, the websites response data treat monitoring site for the client It carries out climbing the response data generated after net operation;
According to the website visiting performance indicator parameter of client described in the websites response data acquisition;
The performance of the website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value.
It was further included before described the step of receiving the websites response data that client is sent in one of the embodiments, following Step:
It carries out Agent to the client to bury a little, for the client by treating described in Agent execution The step of monitoring site carries out climbing net operation.
It is described in one of the embodiments, the step of Agent buries is carried out to the client to include following step Suddenly:
Agent installation file and starting up's script are sent to the client of the website to be monitored by domain policy; Wherein, the client performs the Agent installation file when starting next time according to starting up's script.
The website visiting of the client according to the websites response data acquisition in one of the embodiments, It can include the following steps the step of index parameter:
Each web page element load time of the client is extracted from the websites response data;
According to the corresponding preset weights of each web page element, the weighted average of each web page element load time is calculated, by institute State website visiting performance indicator parameter of the weighted average as the client of each web page element load time.
The frequency that the corresponding preset weights of each web page element are loaded with each web page element in one of the embodiments, Rate is directly proportional.
It is described in one of the embodiments, that institute is judged according to the website visiting performance indicator parameter and preset standard value It is further comprising the steps of before the step of stating the performance of website to be monitored:
The test response data that client is sent is received, the test response data treats monitoring site for the client Test scene carry out climbing the response data generated after net operation;
The test access performance index parameter of the client is obtained according to the test response data;
Test is sent to corresponding client according to the test response data received and accesses satisfaction inquiry;
Receive the satisfaction value of feedback that the client accesses satisfaction inquiry return according to the test;
The absolute average of the test access performance index parameter corresponding to multiple given client ends is obtained, it will be described absolute Average value is as the preset standard value;Wherein, the given client end is to return to the visitor that satisfaction value of feedback reaches desired value Family end.
The websites response data are repeatedly carried out for the client in preset time period in one of the embodiments, Climb the multigroup response data generated after net operation;
The website visiting performance indicator parameter includes multigroup access performance index ginseng of corresponding multigroup response data Number;
The performance that the website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value The step of include the following steps:
The website property to be monitored is judged according to quantity of the multigroup access performance index parameter beyond preset standard value Energy.
The number for exceeding preset standard value according to multigroup access performance index parameter in one of the embodiments, The step of amount judges the web site performance to be monitored includes the following steps:
When multigroup access performance index parameter of single client is more than the first threshold beyond the quantity of preset standard value During value, judge that the web site performance to be monitored is low.
The client is multiple in one of the embodiments, described according to multigroup access performance index parameter The step of judging the web site performance to be monitored beyond the quantity of preset standard value includes the following steps:
When multigroup access performance index parameter of each client beyond the quantity of preset standard value and is more than During second threshold, judge that the web site performance to be monitored is low.
A kind of web site performance monitors system, including with lower module:
Data reception module, for receiving the websites response data of client transmission, the websites response data are described Client treats monitoring site and carries out climbing the response data generated after net operation;
Performance acquisition module, for the website visiting performance indicator of the client according to the websites response data acquisition Parameter;
Performance judging module, for waiting to supervise according to the website visiting performance indicator parameter and preset standard value judgement The performance at survey grid station.
According to above-mentioned web site performance monitoring method and system, by receiving being generated by climbing net operation for client transmission Websites response data, according to the website visiting performance indicator parameter of client described in the websites response data acquisition, according to The website visiting performance indicator parameter and preset standard value judge the performance of the website to be monitored.In the present solution, in order to Realization is monitored web site performance, and treating monitoring site by client carries out climbing net operation, obtains the client and passes through Net operation generation websites response data are climbed, the websites response data can be used for judging the web site performance, without to be monitored Website is modified, and maintains the stability of website, significantly reduces the risk for implementing web site performance monitoring;Simultaneously as It is to carry out climbing net operation by true client, the websites response data got can be made to be improved closer to truth The accuracy of web site performance monitoring.
A kind of computer readable storage medium, is stored thereon with computer program, which realizes when being executed by processor The step of above-mentioned web site performance monitoring method.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage The step of computer program, the processor realizes above-mentioned web site performance monitoring method when performing described program.
Description of the drawings
Fig. 1 is the flow diagram of web site performance monitoring method one embodiment of the present invention;
Fig. 2 is the structure diagram that web site performance of the present invention monitors system one embodiment;
Fig. 3 is the flow diagram of web site performance monitoring method one embodiment of the present invention;
Fig. 4 is performance Analysis server in web site performance monitoring method one embodiment of the present invention, client and certain enterprise Connection diagram between the information system webpage application server of industry.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, Do not limit protection scope of the present invention.
It is shown in Figure 1, it is the flow diagram of web site performance monitoring method one embodiment of the present invention.In the embodiment Web site performance monitoring method include the following steps:
Step S110:The websites response data that client is sent are received, the websites response data are the client pair Website to be monitored carries out climbing the websites response data generated after net operation;
In this step, the client is to treat the client that monitoring site accesses, and is specifically as follows personal electricity The electronic equipments such as brain, smart mobile phone or Portable tablet personal computer;Website to be monitored is the net for needing to carry out performance monitoring, analyze It stands;It climbs the webpage that net refers to that the hyperlink included in the page and the page to website is connected and carries out information collection and analysis Process carries out climbing net operation, can get the partial data of website to be monitored by treating monitoring site, so as to to be monitored Realize comprehensive performance monitoring in website.
Optionally, the websites response data can be received by the server of website to be monitored, without in addition setting service Device handles the websites response data, to reduce the cost of web site performance monitoring;In addition performance evaluation can also be set Server is received the websites response data by the performance evaluation server and is handled, to mitigate website to be monitored Load improves the efficiency of web site performance monitoring.
In another embodiment, following step was further included before described the step of receiving the websites response data that client is sent Suddenly:
It carries out Agent to the client to bury a little, for the client by treating described in Agent execution The step of monitoring site carries out climbing net operation.
In the present embodiment, after being buried a little to client progress Agent, the client can be by running Stating Agent, the step of monitoring site carries out climbing net operation is treated in execution automatically, without carrying out manual operation, improves website property The convenience of energy monitoring process.
In another embodiment, it is described the step of Agent buries is carried out to the client to include the following steps:
Agent installation file and starting up's script are sent to the client of the website to be monitored by domain policy; Wherein, the client performs the Agent installation file when starting next time according to starting up's script.
In the present embodiment, by sending Agent installation file and starting up's script to the client, by institute It states client and the Agent is installed according to starting up's script, installation process is improved without being operated manually The client climb the convenience of net operation step;The domain policy refers to the one kind being managed to the computer in domain Tool, it is more due to treating the client terminal quantity that monitoring site accesses, the Agent is pacified by domain policy File and starting up's script Batch sending are filled to the client, can realize and the batch of the client is managed collectively, Improve the efficiency buried to client progress Agent a little.
Optionally, it is described that the client is carried out in the step of Agent buries, it is right in order to improve the efficiency buried a little Client in newly-increased access website to be monitored due to negligible amounts, can be treated described in the newly-increased client access During monitoring site, Agent installation file is sent from website to be monitored to the newly-increased client, for newly-increased client It is installed;The process of installation can select the silent mode installed, without being installed manually.
Optionally, it is described that the client is carried out in the step of Agent buries, it can will be in the Agent It puts in the installation file mirror image of operating system, client can installed according to the installation file mirror image or update operating system When, the installation of Agent is carried out at the same time, Agent can be improved and bury efficiency a little.
Step S120:According to the website visiting performance indicator parameter of client described in the websites response data acquisition;
In another embodiment, the website visiting performance of the client according to the websites response data acquisition The step of index parameter, includes the following steps:
Each web page element load time of the client is extracted from the websites response data;
According to the corresponding preset weights of each web page element, the weighted average of each web page element load time is calculated, by institute State website visiting performance indicator parameter of the weighted average as the client of each web page element load time.
In the present embodiment, it is typically made of due to website to be monitored a variety of web page elements, such as image, pattern The elements such as table, script and flash, by the load time for obtaining the web page element, it can be determined that the element is treated described Whether the setting in monitoring site is normal;Each web page element load time is calculated further according to the preset weights of each web page element Weighted average, it can be determined that whether the global design of the website to be monitored reasonable.
Specifically, the web page element of website to be monitored has multiple, and the preset weights of each web page element are respectively F1、F2、 F3……Fn, the corresponding load time is respectively S during certain climbs net operation1、S2、S3……Sn, can be closed according to minor function It is that formula obtains website visiting performance indicator parameter T:
Optionally, the corresponding preset weights of each web page element, can according to the occupancy amount of capacity of each web page element, access when The factors such as the frequency that is loaded or the complexity parsed after being loaded are specifically set.
In another embodiment, the frequency that the corresponding preset weights of each web page element are loaded with each web page element It is directly proportional.
In the present embodiment, due to accessing under normal circumstances to website carried out by browser, and browser With caching mechanism, after browser loads the page of website, the part web page element of the page can be cached, so as to next time Loading velocity is improved when loading the page;Therefore the reloading rate of buffered web page element is not high;By described will preset The frequency that weights are set as to each web page element is loaded is directly proportional, can make the website visiting performance of the client of acquisition Index parameter more closing to reality.
For example, weight can be divided into 5 grades, corresponding weights are respectively 1,2,3,4 and 5;General website pages bread The web page element included has html files, javascript files, css patterns file, picture, Voice and Video etc., due to browsing Utensil has caching mechanism, and the web page elements such as html files, javascript files, css files and picture can be cached, Therefore the frequency of buffered web page element repetition loading is not high, can be by picture, javascript files, css pattern files 1,2,2 and 3 are respectively set to the preset weights of html files, the preset weights of Voice and Video are respectively set to 4 and 5.
Step S130:The website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value Performance.
In another embodiment, it is described according to judging the website visiting performance indicator parameter and preset standard value It is further comprising the steps of before the step of performance of website to be monitored:
The test response data that client is sent is received, the test response data treats monitoring site for the client Test scene carry out climbing the response data generated after net operation;
The test access performance index parameter of the client is obtained according to the test response data;
Test is sent to corresponding client according to the test response data received and accesses satisfaction inquiry;
Receive the satisfaction value of feedback that the client accesses satisfaction inquiry return according to the test;
The absolute average of the test access performance index parameter corresponding to multiple given client ends is obtained, it will be described absolute Average value is as the preset standard value;Wherein, the given client end is to return to the visitor that satisfaction value of feedback reaches desired value Family end.
In the present embodiment, when client, which returns to satisfaction value of feedback, reaches desired value, it can reflect that client accesses The process of website to be monitored is normal condition;Reach the corresponding survey of client of desired value by selection return satisfaction value of feedback Access performance index parameter is tried, absolute average is obtained according to the test access performance index parameter, by the described exhausted of acquisition To average value as the preset standard value, the judgement for web site performance to be monitored provides foundation so that treats monitoring site The judging result of performance is more accurate, avoids indivedual extremums of website visiting performance indicator parameter and reduces the accurate of performance judgement Degree.
Optionally, the satisfaction value of feedback can be returned by the form of percentage:Satisfaction is sent to client to ask After asking, by client according to real experiences within the scope of 0%~100% select a numerical value as satisfaction value of feedback And return, numerical value is higher, and the client real experiences that represent are better, while can the desired value be set as 85%, then the finger It is to return to the client that satisfaction value of feedback is greater than or equal to 85% to determine client.
Optionally, the satisfaction value of feedback can also be returned by the form of "Yes" or "No":It is sent to client full After the inquiry of meaning degree, a value is selected among "Yes" or "No" according to real experiences by client and be used as satisfaction value of feedback simultaneously It returns, then the given client end is to return to the client that satisfaction value of feedback is "Yes".
Specifically, the test access performance index parameter corresponding to the given client end is respectively T1、T2、T3…Tn, then Can the preset standard value T be obtained according to following functional relations
In order to make web site performance monitoring process more flexible, in certain embodiments, the preset standard value got It can suitably be adjusted according to actual conditions.For example, fluctuation parameters T can be setx, the preset standard value T after adjustmentsrIt should meet Tsr∈[Ts-Tx,Ts+Tx], it at this time should be according to the preset standard value TsrAnd the website visiting performance indicator parameter of client is sentenced The performance of the disconnected website to be monitored.
Optionally, the absolutely flat of the test access performance index parameter corresponding to multiple given client ends can be obtained Mean value after can also determining a given client end, is individually carried out repeatedly climbing net operation by the given client end, be obtained The absolute average of the test access performance index parameter at the given client end.
In another embodiment, the websites response data are repeatedly climbed for the client in preset time period The multigroup response data generated after net operation;
The website visiting performance indicator parameter includes multigroup access performance index ginseng of corresponding multigroup response data Number;
The performance that the website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value The step of include the following steps:
The website property to be monitored is judged according to quantity of the multigroup access performance index parameter beyond preset standard value Energy.
In the present embodiment, repeatedly climb net operation and obtain multigroup number of responses treating monitoring site by client According to the influence that accidental sexual factor generates web site performance monitoring process can be reduced;But it carries out climbing net due to treating monitoring site During operation, need to occupy the resource of the server of the client and website to be monitored, therefore by client in preset time Monitoring site progress is treated in section and repeatedly climbs net operation, generates multigroup response data;The client is obtained when described default Between multigroup access performance index parameter in section exceed the quantity of preset standard value;The net to be monitored is judged according to the quantity It stands performance, the influence that accidental sexual factor is brought can be reduced in web site performance monitoring process, and reduce monitoring process to money The occupancy in source.
In another embodiment, the quantity that preset standard value is exceeded according to multigroup access performance index parameter The step of judging the web site performance to be monitored includes the following steps:
When multigroup access performance index parameter of single client is more than the first threshold beyond the quantity of preset standard value During value, judge that the web site performance to be monitored is low.
In the present embodiment, client treats monitoring site and carries out the shadow by many factors during climbing net operation It rings, wherein the existing website internal factor of itself, also there is the external factors such as network condition, client itself configuration;Such as at certain In the case of a little, it is likely due to network delay once in a while, causes when time single client when time website visiting performance indicator parameter surpasses Go out preset standard value, however such case is not caused by web site performance is low.Therefore by setting first threshold, allow Website visiting performance indicator parameter of the single client in preset time period exceeds the certain number of preset standard value, can be to avoid Accidental sexual factor causes web site performance to judge by accident, improves the accuracy of web site performance monitoring.
Specifically, the preset time period can be set as 5 minutes in certain embodiments, makes each client each The website to be monitored is carried out from 5 minutes repeatedly to climb net operation;It obtains each client and is generated by climbing net operation Multigroup websites response data;According to multigroup website visiting of each client described in multigroup websites response data acquisition Performance indicator parameter;The first threshold is set as 5 simultaneously, when the multigroup net of the single client in described 5 minutes When the quantity that access performance of standing index parameter exceeds the standard preset value is more than first threshold 5, the net to be monitored can determine that It stands degraded performance.
In another embodiment, the client is multiple, described to be surpassed according to multigroup access performance index parameter Go out the step of the quantity of preset standard value judges the web site performance to be monitored and include the following steps:
When multigroup access performance index parameter of each client beyond the quantity of preset standard value and is more than During second threshold, judge that the web site performance to be monitored is low.
In the present embodiment, client treats monitoring site and carries out the shadow by many factors during climbing net operation It rings, wherein the existing website internal factor of itself, also there is the external factors such as network condition, client itself configuration;Such as at certain In the case of a little, it may be possible to which the reason of some client itself is configured causes its web site performance index parameter pre- beyond standard always If value, however such case is not caused by web site performance is low.Therefore setting second threshold, when each client When multigroup access performance index parameter is beyond the quantity of preset standard value and more than second threshold, judgement is described to be monitored Web site performance is low, web site performance can be caused to judge by accident to avoid due to individual client itself allocation problem, improves web site performance The accuracy of monitoring.
Specifically, the preset time period can be set as 15 minutes in certain embodiments, makes each client The website to be monitored is carried out repeatedly climbing net operation in 15 minutes;Obtain what each client was generated by climbing net operation Multigroup websites response data;Multigroup website visiting of each client is corresponded to according to multigroup websites response data acquisition It can index parameter;The second threshold is set, such as the second threshold is set as described according to the sum of the client The 10 of client sum;When the multigroup website visiting performance indicator ginseng of each client in described 15 minutes When number is beyond the quantity of the standard preset value and total more than the client 10, it can determine that described to be monitored Web site performance is low.
In some other embodiments, the first threshold can also be made to come into force simultaneously with second threshold, i.e.,:When single Multigroup access performance index parameter of client is more than first threshold or when each described beyond the quantity of preset standard value When multigroup access performance index parameter of client is beyond the quantity of preset standard value and more than second threshold, institute is judged It is low to state web site performance to be monitored.
In some other embodiments, after the low step of the described judgement web site performance to be monitored, generative nature Caution signal can be monitored, for the operation management personnel of website to be monitored to be notified to carry out relevant treatment, improves the net to be monitored The performance stood.
According to above-mentioned web site performance monitoring method, the website generated by climbing net operation sent by receiving client is rung Data are answered, according to the website visiting performance indicator parameter of client described in the websites response data acquisition, according to the website Access performance index parameter and preset standard value judge the performance of the website to be monitored.In the present solution, in order to realize to net Performance of standing is monitored, and treating monitoring site by client carries out climbing net operation, obtains the client by climbing net operation Websites response data are generated, the websites response data can be used for judging the web site performance, be carried out without treating monitoring site Modification maintains the stability of website, significantly reduces the risk for implementing web site performance monitoring;Simultaneously as it is by true Real client carries out climbing net operation, and the websites response data that can make to get improve website property closer to truth The accuracy that can be monitored.
It is shown in Figure 2, the structure diagram of system one embodiment is monitored for web site performance of the present invention.In the embodiment Web site performance monitoring system include with lower module:
Data reception module 210, for receiving the websites response data of client transmission, the websites response data are institute It states client and treats monitoring site and carry out climbing the websites response data generated after net operation;
In another embodiment, data reception module 210 buries a little client progress Agent, for the visitor Monitoring site is treated by the Agent and carries out climbing net operation in family end.
In another embodiment, data reception module 210 sends Agent installation file and booting by domain policy Start script to the client of the website to be monitored;Wherein, the client next time start when according to the starting up Script performs the Agent installation file.
Performance acquisition module 220, for the website visiting performance of the client according to the websites response data acquisition Index parameter;
In another embodiment, performance acquisition module 220 extracts each of the client from the websites response data The web page element load time;According to the corresponding preset weights of each web page element, the weighting for calculating each web page element load time is put down Mean value, the weighted average by each web page element load time are the website visiting performance indicator ginseng for making the client Number.
In another embodiment, performance acquisition module 220 calculates each net according to the corresponding preset weights of each web page element During the weighted average of page element load time, the corresponding preset weights of each web page element are loaded with each web page element Frequency is directly proportional.
Performance judging module 230, described in being judged according to the website visiting performance indicator parameter and preset standard value The performance of website to be monitored.
In another embodiment, performance acquisition module 220 receives the test response data that client is sent, the test The test scene that response data treats monitoring site for the client carries out climbing the response data generated after net operation;According to institute State the test access performance index parameter that test response data obtains the client;According to the test number of responses received Satisfaction inquiry is accessed according to test is sent to corresponding client;It receives the client and satisfaction inquiry is accessed according to the test Ask the satisfaction value of feedback of return;Obtain the absolutely average of the test access performance index parameter corresponding to multiple given client ends Value, using the absolute average as the preset standard value;Wherein, the given client end is reached to return to satisfaction value of feedback To the client of desired value.
In another embodiment, the websites response data that data reception module 210 receives exist for the client It repeatedly carries out climbing the multigroup response data generated after net operation in preset time period;The net that performance acquisition module 220 obtains Access performance of standing index parameter includes multigroup access performance index parameter of corresponding multigroup response data;Performance judging module 230 judge the web site performance to be monitored according to quantity of the multigroup access performance index parameter beyond preset standard value.
In another embodiment, performance judging module 230 is in multigroup access performance index ginseng of single client When the quantity that number exceeds preset standard value is more than first threshold, judge that the web site performance to be monitored is low.
In another embodiment, the client is multiple, and performance judging module 230 is described in each client When multigroup access performance index parameter is beyond the quantity of preset standard value and more than second threshold, the website to be monitored is judged Degraded performance.
The web site performance monitoring system and the web site performance monitoring method of the present invention of the present invention corresponds, above-mentioned website property Technical characteristic and advantage that the embodiment of energy monitoring method illustrates are suitable for the embodiment of web site performance monitoring system In.
It is shown in Figure 3, it is the flow diagram of web site performance monitoring method one embodiment of the present invention;In the embodiment Website to be monitored can be certain enterprise information system webpage application server, as shown in figure 4, shown information system webpage should It can be connect in several ways with client with server, each client is connect with performance evaluation server, each visitor Family end can initiate analog access by Agent to information system webpage application server asks, and will be in the data that be collected into Report carries out performance monitoring to performance evaluation server so as to fulfill the website of the information system webpage application server to enterprise; Web site performance monitoring method in the embodiment includes the following steps:
Step S310:Performance evaluation server sends Agent installation file and starting up's script extremely by domain policy Access the client of website to be monitored;
For the client being in outside domain policy, Agent installation file is directly transmitted by performance evaluation server, is supplied Client outside domain policy is installed, and mounting means is chosen as silent installation;It can also will be built in the Agent In operating system installation file mirror image, client can utilize the operating system installation file mirror image installation operation system When, while installation agent program.
Step S321:The client performs the Agent installation file according to starting up's script, to institute Agent is stated to be installed;
Step S322:The client treats monitoring site by the Agent and carries out climbing net operation, generates website Response data;Wherein, the websites response data include the html pages, javascript files, css patterns file, picture, sound The load time of the web page elements such as frequency and video;
Step S323:The websites response data are sent to performance evaluation server by the client;
Step S330:The performance evaluation server is generated each according to the websites response data by weighted mean method The corresponding website visiting performance indicator parameter of the client;Wherein, the performance evaluation server is according to following functional relations Formula generates the corresponding website visiting performance indicator parameter of each client:
In formula, for client, certain climbs corresponding website visiting performance indicator parameter during net operation to T, client certain climb net Each web page element corresponding load time is respectively S in operating process1、S2、S3……Sn, each web page element it is pre- If weights are respectively F1、F2、F3……Fn, frequency that the preset weights of each web page element are loaded according to the web page element Rate is specifically set, for example, weight can be divided into 5 grades, corresponding weights are respectively 1,2,3,4 and 5;General Website page Including web page element have html files, javascript files, css patterns file, picture, Voice and Video etc., due to clear Utensil of looking at has caching mechanism, and the web page elements such as html files, javascript files, css files and picture can be delayed It deposits, therefore the frequency of buffered web page element repetition loading is not high, it can be by picture, javascript files, css patterns text The preset weights of part and html files are respectively set to 1,2,2 and 3, and the preset weights of Voice and Video are respectively set to 4 Hes 5;
Step S341:The websites response data that the performance evaluation server is received according to are to corresponding client Send the inquiry of website visiting satisfaction;
Step S342:The performance evaluation server receives the client and is returned according to website visiting satisfaction inquiry The satisfaction value of feedback returned;
Step S343:The performance evaluation server obtains the website visiting performance corresponding at least three given client end The absolute average of index parameter, using the absolute average as the preset standard value;Wherein, the given client end is Return to the client that satisfaction value of feedback reaches desired value;Get the website visiting performance indicator ginseng corresponding to given client end Number is respectively T1、T2、T3…Tn, can the preset standard value T be obtained according to following functional relations
In order to make web site performance monitoring process more flexible, in certain embodiments, the preset standard value got It can suitably be adjusted according to actual conditions.For example, fluctuation parameters T can be setx=1, the preset standard value T after adjustmentsrIt should Meet Tsr∈[Ts-1,TsIt+1], at this time should be according to the preset standard value TsrAnd the website visiting performance indicator ginseng of client Number judges the performance of the website to be monitored;
Step S351:The performance evaluation server obtains the web site performance index parameter of each client respectively It was more than the number of the preset standard value within 5 minutes, the number is first number;
Step S352:The performance evaluation server obtains the web site performance index parameter of each client 15 It is more than the sum of number of the preset standard value within minute, the sum of described number is second number;
Step S353:When single client first number be more than 5 or second number more than client it is total Quantity 10 when, judge that web site performance to be monitored is low, and trigger performance monitoring warning.
According to above-mentioned web site performance monitoring method, web site performance is monitored in order to realize, prison is treated by client Survey grid station carries out climbing net operation, obtains the client by climbing net operation and generates websites response data, the websites response number It according to available for judging the web site performance, modifies without treating monitoring site, maintains the stability of website, greatly drop The low risk for implementing web site performance monitoring;Simultaneously as it is to carry out climbing net by treating monitoring site in true client Operation can make the websites response data got improve the accuracy of web site performance monitoring closer to truth;And And when judging that web site performance to be monitored is low, triggering performance monitoring warning is found in time for the operation maintenance personnel of website to be monitored Problem simultaneously improves, and improves office efficiency when client accesses website to be monitored.
According to above-mentioned web site performance monitoring method, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing and a kind of calculating Machine equipment.Executable program is stored on readable storage medium storing program for executing, which realizes above-mentioned web site performance prison when being executed by processor The step of survey method;What computer equipment included memory, processor and storage on a memory and can run on a processor The step of executable program, processor realizes above-mentioned web site performance monitoring method when performing program.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of web site performance monitoring method, which is characterized in that include the following steps:
The websites response data that client is sent are received, the websites response data treat monitoring site progress for the client Climb the response data generated after net operation;
According to the website visiting performance indicator parameter of client described in the websites response data acquisition;
The performance of the website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value.
2. web site performance monitoring method according to claim 1, which is characterized in that the website for receiving client and sending It is further comprising the steps of before the step of response data:
Agent is carried out to the client to bury a little, it is described to be monitored by Agent execution for the client The step of website carries out climbing net operation.
3. web site performance monitoring method according to claim 2, which is characterized in that described to be acted on behalf of to the client The step of program is buried includes the following steps:
Agent installation file and starting up's script are sent to the client of the website to be monitored by domain policy;Its In, the client performs the Agent installation file when starting next time according to starting up's script.
4. web site performance monitoring method according to claim 1, which is characterized in that described according to the websites response data The step of website visiting performance indicator parameter for obtaining the client, includes the following steps:
Each web page element load time of the client is extracted from the websites response data;
According to the corresponding preset weights of each web page element, the weighted average of each web page element load time is calculated, it will be described each Website visiting performance indicator parameter of the weighted average of web page element load time as the client.
5. web site performance monitoring method according to claim 4, which is characterized in that the corresponding preset weights of each web page element It is directly proportional to the frequency that each web page element is loaded.
6. web site performance monitoring method as claimed in any of claims 1 to 5, which is characterized in that described according to institute State website visiting performance indicator parameter and the step of preset standard value judges the performance of the website to be monitored before further include with Lower step:
The test response data that client is sent is received, the test response data treats the survey of monitoring site for the client Examination hall scape carries out climbing the response data generated after net operation;
The test access performance index parameter of the client is obtained according to the test response data;
Test is sent to corresponding client according to the test response data received and accesses satisfaction inquiry;
Receive the satisfaction value of feedback that the client accesses satisfaction inquiry return according to the test;
The absolute average of the test access performance index parameter corresponding to multiple given client ends is obtained, it will be described absolutely average Value is used as the preset standard value;Wherein, the given client end is to return to the client that satisfaction value of feedback reaches desired value.
7. web site performance monitoring method according to claim 1, which is characterized in that the websites response data are the visitor Family end repeatedly carries out climbing the multigroup response data generated after net operation in preset time period;
The website visiting performance indicator parameter includes multigroup access performance index parameter of corresponding multigroup response data;
The step of the performance that the website to be monitored is judged according to the website visiting performance indicator parameter and preset standard value Suddenly include the following steps:
The web site performance to be monitored is judged according to quantity of the multigroup access performance index parameter beyond preset standard value.
8. web site performance monitoring method according to claim 7, which is characterized in that described according to multigroup access performance The step of quantity that index parameter exceeds preset standard value judges the web site performance to be monitored includes the following steps:
When multigroup access performance index parameter of single client is more than first threshold beyond the quantity of preset standard value, Judge that the web site performance to be monitored is low.
9. web site performance monitoring method according to claim 7, which is characterized in that the client is multiple, described According to multigroup access performance index parameter beyond the quantity of preset standard value judge the web site performance to be monitored the step of wrap Include following steps:
When multigroup access performance index parameter of each client is beyond the quantity of preset standard value and more than second During threshold value, judge that the web site performance to be monitored is low.
10. a kind of web site performance monitors system, which is characterized in that including with lower module:
Data reception module, for receiving the websites response data of client transmission, the websites response data are the client It treats monitoring site and carries out climbing the response data generated after net operation in end;
Performance acquisition module, for the website visiting performance indicator ginseng of the client according to the websites response data acquisition Number;
Performance judging module, for judging the net to be monitored according to the website visiting performance indicator parameter and preset standard value The performance stood.
CN201711377943.6A 2017-12-19 2017-12-19 Website performance monitoring method and system Active CN108183837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711377943.6A CN108183837B (en) 2017-12-19 2017-12-19 Website performance monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711377943.6A CN108183837B (en) 2017-12-19 2017-12-19 Website performance monitoring method and system

Publications (2)

Publication Number Publication Date
CN108183837A true CN108183837A (en) 2018-06-19
CN108183837B CN108183837B (en) 2020-08-14

Family

ID=62546471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711377943.6A Active CN108183837B (en) 2017-12-19 2017-12-19 Website performance monitoring method and system

Country Status (1)

Country Link
CN (1) CN108183837B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138589A1 (en) * 2007-11-28 2009-05-28 Compucredit Intellectual Property Holdings Corp.Ii System and method for active business configured website monitoring
CN103067214A (en) * 2011-10-19 2013-04-24 阿里巴巴集团控股有限公司 Method, client, server and system used for testing web site performance
CN105099755A (en) * 2015-05-29 2015-11-25 北京奇虎科技有限公司 Method, device and system for monitoring performance of website system
CN106296429A (en) * 2016-08-31 2017-01-04 哈尔滨工业大学(威海) A kind of intelligent test method for social network sites
CN107231268A (en) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 The method and apparatus for testing web site performance

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138589A1 (en) * 2007-11-28 2009-05-28 Compucredit Intellectual Property Holdings Corp.Ii System and method for active business configured website monitoring
CN103067214A (en) * 2011-10-19 2013-04-24 阿里巴巴集团控股有限公司 Method, client, server and system used for testing web site performance
CN105099755A (en) * 2015-05-29 2015-11-25 北京奇虎科技有限公司 Method, device and system for monitoring performance of website system
CN107231268A (en) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 The method and apparatus for testing web site performance
CN106296429A (en) * 2016-08-31 2017-01-04 哈尔滨工业大学(威海) A kind of intelligent test method for social network sites

Also Published As

Publication number Publication date
CN108183837B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN108259266A (en) Web site performance monitoring method and system
CN107852338B (en) Performance degradation during detection and alarm feature ramp-up
Iervolino et al. Markovian modeling of seismic damage accumulation
CN102741839B (en) Based on the url filtering of user browser history
Josang et al. Dirichlet reputation systems
Thompson et al. Effect of species richness and relative abundance on the shape of the species accumulation curve
Peng et al. Evolutionary spectra-based time-varying coherence function and application in structural response analysis to downburst winds
CN107515865B (en) Page data click rate statistical method and device
US20180276325A1 (en) Consumer Performance Index Scoring for Websites and Web-Based Applications
CA2869224A1 (en) Voice-based health monitor including a vocal energy level monitor
US20100030717A1 (en) Framework to evaluate content display policies
CN105959371A (en) Webpage sharing system
Baltzopoulos et al. Seismic reliability implied by behavior‐factor‐based design
CN109684576A (en) Web page resources lazyness loads monitoring method, device, equipment and storage medium
US20150095703A1 (en) System and Method for Dynamically Testing Networked Target Systems
CN104933069A (en) Method and system for analyzing web browsing statistics of desktop terminal
CN110555146A (en) method and system for generating network crawler camouflage data
Liapopoulou et al. The role of ground motion duration and pulse effects in the collapse of ductile systems
Dehghani et al. Robust period-independent ground motion selection and scaling for effective seismic design and assessment
CN106656368A (en) Communication system monitoring method and apparatus
CN115174353B (en) Fault root cause determining method, device, equipment and medium
CN101877725B (en) Copy management method and device in distributed storage system
CN108460053A (en) File memory method and device
CN108183837A (en) Web site performance monitoring method and system
CN117221148A (en) System and method for evaluating service quality of multi-type network application

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200925

Address after: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No.

Patentee after: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.

Address before: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No.

Patentee before: GUANGZHOU POWER SUPPLY Co.,Ltd.