CN109586942A - Web site performance assessment method and device - Google Patents

Web site performance assessment method and device Download PDF

Info

Publication number
CN109586942A
CN109586942A CN201710915249.9A CN201710915249A CN109586942A CN 109586942 A CN109586942 A CN 109586942A CN 201710915249 A CN201710915249 A CN 201710915249A CN 109586942 A CN109586942 A CN 109586942A
Authority
CN
China
Prior art keywords
access
state code
scoring
performance
duration
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
CN201710915249.9A
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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201710915249.9A priority Critical patent/CN109586942A/en
Publication of CN109586942A publication Critical patent/CN109586942A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]

Abstract

The invention discloses a kind of web site performance assessment method and devices.Wherein, this method comprises: obtaining the access state code and access load duration of targeted website, wherein, access state code is used to indicate the state returned the result when each access target website of user, the duration between end time for returning the result at the beginning of load returns the result after receiving user access request to load of a length of server when access load;According to access state code and access load duration, the performance of targeted website is determined.The present invention solves in the related technology in analyzing web site performance, since the data of crawl can not really reflect the operating condition of website, analysis is caused the technical issues of error occur.

Description

Web site performance assessment method and device
Technical field
The present invention relates to Internet technical fields, in particular to a kind of web site performance assessment method and device.
Background technique
It in the related technology, can only be often in root at data monitoring (for example, to data monitoring of uniform resource locator) It is requested according to user, the mass data of storage is grabbed, so that the data using crawl carry out website simulation, to analyze net The performance stood.But this analysis mode, when the access data of user constantly change, can not real-time update website performance shape State, and the data of crawl are simulated, obtained result is also not legitimate reading, will cause website data analysis and occurs Error, it is final to influence website overall operation.
For above-mentioned in the related technology in analyzing web site performance, since the data of crawl can not really reflect website Operating condition causes analysis the technical issues of error occur, and currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of web site performance assessment method and devices, at least to solve dividing in the related technology When analysing web site performance, since the data of crawl can not really reflect the operating condition of website, analysis is caused the technology of error occur Problem.
According to an aspect of an embodiment of the present invention, a kind of web site performance assessment method is provided, comprising: obtain target network The access state code and access load duration stood, wherein the access state code is used to indicate user and accesses the target every time The state returned the result when website, a length of server load return after receiving user access request and ties when the access loads The duration between end time returned the result at the beginning of fruit to load;Added according to the access state code and the access Duration is carried, determines the performance of the targeted website.
Further, duration is loaded according to the access state code and the access, determines the performance of the targeted website It include: to calculate the data that the access state code indicates to preset the ratio in memory;It is commented according to the ratio and first are default Divide standard scale, determines that the first access is scored;Duration and the second default standards of grading table are loaded according to the access, determines the second visit Ask scoring;The performance of the targeted website is determined according to the first access scoring and the second access scoring.
Further, determine that the targeted website performance includes: according to the first access scoring and the second access scoring Calculate the scoring total value of the first access scoring and the second access scoring;According to the scoring total value and current network shape State determines the targeted website performance.
Further, before the access state code and access load duration for obtaining user's access target website, the side Method further include: read the access log of user's access target website, wherein include at least one following in the access log: It loads at the beginning of returning the result, the end time that load returns the result, the access state code, access IP address, user The access browser used;The access state code and access load duration for obtaining user's access target website include: according to Access log obtains the access state code and access load duration of user's access target website.
Further, before the access state code and access load duration for obtaining user's access target website, the side Method further include: obtain the O&M information for the equipment that the user uses, wherein the O&M information is used to indicate user and accesses mesh Mark website operation information, the O&M information includes at least one following: the geographical location of the equipment, the equipment fortune Row pressure value;Duration is loaded according to the access state code and the access, determines the performance of the targeted website: according to described The O&M information for the equipment that user uses, the access state code and the access load duration, determine the targeted website Performance.
According to another aspect of an embodiment of the present invention, a kind of web site performance evaluation device is additionally provided, comprising: obtain single Member, for obtaining the access state code and access load duration of targeted website, wherein the access state code is used to indicate user The state returned the result when accessing the targeted website every time, a length of server is receiving user's access when the access loads The duration between end time returned the result at the beginning of load returns the result after request to load;Determination unit is used for Duration is loaded according to the access state code and the access, determines the performance of the targeted website.
Further, the determination unit includes: the first computing module, for calculating the number of the access state code instruction According to the ratio in default memory;First determining module, for according to the ratio and the first default standards of grading table, determining the One access scoring;Second determining module determines second for loading duration and the second default standards of grading table according to the access Access scoring;Third determining module, for determining the targeted website according to the first access scoring and the second access scoring Performance.
Further, the third determining module includes: the second computing module, for calculate it is described first access scoring and The scoring total value of second access scoring;Submodule is determined, described in determining according to the scoring total value and current network state Targeted website performance.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, program, the journey are stored thereon with Sequence executes web site performance assessment method described in any of the above embodiments.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, the processor is used to run program, Described program executes web site performance assessment method described in any of the above embodiments when running.
In embodiments of the present invention, the access state code and access load duration of targeted website can first be got, wherein Access state code is used to indicate the state returned the result when each access target website of user, and when access load, a length of server existed The duration between the end time returned the result at the beginning of load returns the result after user access request to load is received, Then the performance of targeted website can be determined according to the access state code and access load duration got.In the embodiment In, it can be by loading duration to access state code and access, synthesis determines the overall operation performance of targeted website, so as to The operating status of website is adjusted flexibly, solve in the related technology in analyzing web site performance, since the data of crawl can not be true The operating condition of real reflection website, causes analysis the technical issues of error occur.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of web site performance assessment method according to an embodiment of the present invention;
Fig. 2 is the schematic diagram of web site performance evaluation device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
The present invention is understood for the ease of user, and solution is made to the part term or noun that occur in the embodiment of the present invention below It releases:
HTTP, hypertext transfer protocol are a kind of network protocols being most widely used on internet.All www texts Part must comply with this standard.
Status code indicates the digital code of web page server http response state.
UA, browser mark, for identifying the browser of load access request.
According to embodiments of the present invention, a kind of embodiment of the method for web site performance evaluation is provided, it should be noted that attached The step of process of figure illustrates can execute in a computer system such as a set of computer executable instructions, though also, So logical order is shown in flow charts, but in some cases, it can be to be different from shown by sequence execution herein Or the step of description.
Following embodiment can be applied to determine in website service performance, it is preferred that for many service providers, When providing http service, need to continue to optimize the service performance of http, at this moment, it is necessary to determine according to the data got The height of the service performance of http can performance that is more accurate and objectively getting network service by following embodiments. In the examples below, the network service of application may include: web site performance monitoring, url data monitoring, user name access experience. When determining web site performance, web site performance can be generally determined by the speed of download and success rate of monitoring data, and this Shen It please be the access state code fed back when accessing website by client and access load duration to determine web site performance, to improve The accuracy of analysis and analysis efficiency.
Preferably, the website in following embodiments may include a plurality of types of websites, for example, Baidu search website, searching Fox website, the Alibaba Website etc..The embodiment can be applied in different web site performance monitoring, so that it is excellent to be supplied to client The service for changing web site performance, when obtaining data, the data of available each network address into http.
It explains below with reference to a kind of preferred implementation steps to the present invention, Fig. 1 is net according to an embodiment of the present invention It stands the flow chart of Reliable Evaluating Methods of Their Performance, as shown in Figure 1, this method comprises the following steps:
Step S102 obtains the access state code and access load duration of targeted website, wherein access state code is for referring to The state returned the result when showing each access target website of user, when access load, a length of server was asked receiving user's access The duration between end time returned the result at the beginning of load returns the result after asking to load.
Above-mentioned access state code is after user's sending access is asked, and the data mode that server returns the result is servicing When device is returned the result according to access request, there can be a variety of situations, can all there is corresponding access state code for each case, it should The range of status code can be it is pre-set, for example, access state code range be arranged in 100-600.What client issued Access request will include a variety of situations, including but not limited to: access web-page requests, access video request, access picture request etc., Server is according to the access request feedback result of client, and there is also a variety of situations for the result of feedback, including but not limited to: clothes Business device is successfully processed access request, there is redirection, access request error, server processing requests time-out etc. in request.
Corresponding with the result that server returns is access state code, can include but is not limited to: successfully locating in server When managing access request, when access state code can have redirection between 200-300, in request, access state code is in 300- 400, in access request error, the access state code of return can return between 400-500, the server timeout the case where The access state code returned can be 500 or more.Wherein, the case where for access state code between 200-300, it is understood that there may be more Kind of situation, for example, indicating that server has been successfully processed request and provides the webpage of request, indicates server with 204 with 200 It is successfully processed request, but without returning to any content.The case where for access state code between 300-400, it is also possible to deposit In a variety of situations, for example, being determined as not exceeding in request every time using redirection between 300-400 in access state code 5 times, it can indicate that the webpage of request is permanently moved to new position with 301, when URL changes, using 301 codes, search New URL is saved in rope engine index, can indicate that the webpage of request is temporarily moved to new position, search engine index with 302 It is middle to save original URL, it can indicate to be accused with 304 codes if webpage does not update after requesting from requestor's last time with 304 It tells search engine robot, bandwidth and expense can be saved.For access state code between 400-500, it can indicate that access is asked There may be the processing that mistake (for example, the webpage of access is not present) hampers server in the content asked, can be indicated with 400 Server does not understand the grammer of request, can indicate server refusal request with 403, can indicate that server can not find with 404 The webpage of request.The webpage being not present on server often returns to this code, can indicate that the resource of request is permanently deleted with 410 After removing, server returns to this response.Server can be indicated when handling request in generation 500 or more access state code Portion's mistake, these mistakes may be the mistake of server itself, rather than request error, wherein can indicate server with 500 Mistake is encountered, request is unable to complete, can indicate that server is not available at present (due to overload or maintenance shut-downs) with 503, lead to Often, this is transition condition.
And can be the load total duration of load access request returned the result for access load duration, for example, user Access request A is issued, server needs to return the result B according to access request A determination, since content is more, need to be segmented return, The result of return is such as divided into 10 sections, at this time from the total duration between the content for the content to the 10th section of return for returning to first segment It records.In the present invention without limitation for the load duration of access request each time returned the result, for example, load duration It is 1 minute, 30 seconds etc..
Wherein, before obtaining access state code and load duration, pre-set recording device records is can use and used When family issues access request, multiple request contents of record, request return the result, status code corresponding with result, load duration, Wherein it is possible to record data in access log, the content of data may include but unlimited in the access log in the present invention In: browser (i.e. UA) that IP address, the access request of access request use, returns to loading result at the corresponding URL of access request At the beginning of, return to end time of loading result, access state code, cache hit rate, CPU memory hard disk network pressure Deng, wherein the IP address of access request can be access address when user issues access request, the browsing that access request uses Device can include but is not limited to: QQ browser, Google's browser etc., and for access state code, each user issues each time Access request Shi Douhui has corresponding status code.Cache hit rate can be repeatedly issue access request after, browser according to The more URL of the access that the frequency of the sending access request at family is recorded, and the URL is default in memory, and later, user issues Access request hits the number of URL stored in memory.For CPU memory hard disk network pressure, can be for different visitors For the end of family, with the increase of access times, caching returns the result the size for accounting for the storable content of entire hard disk.
After above-mentioned log content is stored in database, the available data into log, wherein used obtaining It can also include: to read user's access target website before the access state code and access load duration of family access target website Access log, wherein include at least one following in access log: load return the result at the beginning of, load return to knot The access browser that the end time of fruit, access state code, access IP address, user use;Obtain user's access target website Access state code and access load duration include: according to access log obtain user's access target website access state code and Access load duration.
Can read access log, and obtain related data, after the content in read access log, can use reading The content taken gets access state code and access load duration, also available to other contents.For example, being returned by load At the beginning of returning result and the end time returned the result is loaded, determines access load duration, every log can correspond to The end time for thering is access load time started and load to return the result, and it is corresponding with access state code, IP address is accessed, thus According to every daily record data, every daily record data is calculated, determines that desired content therein (including but not limited to accesses Status code, access load duration).
Step S104 determines the performance of targeted website according to access state code and access load duration.
Wherein, above-mentioned steps S104 may include: and calculate the data that access state code indicates to preset the ratio in memory; According to ratio and the first default standards of grading table, determine that the first access is scored;According to access load duration and the second default scoring Standard scale determines that the second access is scored;It scores according to the first access scoring and the second access and determines the performance of targeted website.
By above embodiment, it can use and get the first access scoring corresponding with access state code, and according to Access load duration, determines that the second access is scored.Wherein, the ratio in the data for calculating the instruction of access state code in default memory When example, the status code for determining preset range ratio in status code in whole logs can be, wherein the visit of preset range Ask that status code can be user's self-setting, for example, access state code is higher than 400 or access state code is lower than 300, In, 400 are higher than for access state code, can determine that the secondary access request does not return the result or mistake occurs in server, For status code lower than 300, it can be what determining access request accurately returned the result.By taking access state code is higher than 400 as an example, It determines in whole daily record data, access state code is higher than 400 ratios for accounting for entire daily record data, for example, in entire daily record data Including 1000 daily record datas, it is corresponding with 1000 access state codes, wherein if access state code has 100 higher than 400, Then ratio is 10%, if access state code has 200 higher than 400, ratio 20%.Wherein, it presets stored in memory Data are whole daily record datas of the secondary reading, and every log is corresponding with an access state code in daily record data.And access shape The data of state code instruction can be the access state code higher than 400.
After by the above-mentioned means, determining ratio, it can determine that the first access is commented according to the first default standards of grading table Point, which can be user's self-setting, for example, it is 100 that ratio, which in 0-5%, scores, ratio exists 5%-10%, scoring is 80, and for ratio in 10%-20%, scoring is 60, and ratio is in 20%-30%, and scoring is 50, and ratio is higher than 30%, scoring is 0.After determining that the quantity of the access state code in the daily record data read accounts for the ratio of entire daily record data, Determine corresponding first access scoring.
In addition, standards of grading table default for second, is also possible to user's self-setting, for example, access load duration In 0-10ms, scoring is 100 points;10ms-100ms, scoring is 90 points;100ms-1s, scoring is 70 points;1s or more scoring is 30 Point etc..After obtaining every daily record data access load duration, access load duration can be input to the second default scoring mark In quasi- table, standards of grading table is preset by this and exports corresponding scoring.
Through the above steps, the performance of targeted website can be determined, wherein according to the first access scoring and the second access It scores and determines that targeted website performance may include: to calculate the scoring total value of the first access scoring and the second access scoring;According to commenting Divide total value and current network state, determines targeted website performance.
Wherein, before the scoring total value of the access of calculating first scoring and the second access scoring, entire day can also be calculated The average mark of the second access scoring, then scores according to the average mark and the first access, determines web site performance in will data, In, in the average mark of the access scoring of calculating second, can be after the access scoring for obtaining every daily record data, by cumulative Mode calculate total score, the ratio of total score Yu log item number is then determined, using the ratio as the flat of the second access scoring Respectively, and using the average mark as the standard of evaluation.
In addition, when determining targeted website performance, can be according to scoring total value and current network state and record every day Then current network state is evaluated according to geographical location, for example, user is on ground in geographical location where the corresponding user of will data It is densely populated in iron and in high-speed mobile or in the court, at this point, even if network loading velocity is slow and user can be with Understand, web site performance can be correspondinglyd increase when evaluating web site performance.In the current network state for determining every daily record data After scoring total value, the overall performance of targeted website can be determined.Wherein, which may include targeted website Excellent performance, targeted website is functional, targeted website performance is poor, and targeted website excellent performance can be and return the result Speed is fast, and the result returned is accurate, and targeted website performance difference can be the result that the speed returned the result is slow and returns With differing greatly for expectation.
Optionally, according to scoring total value and current network state, when determining targeted website performance, one can also be determined Preset threshold according to scoring total value and preset threshold, and combines current network state, determines the performance of targeted website.This is pre- If threshold value can be user setting, for example, preset threshold is 150 points, when the total value that scores is lower than 150, targeted website is determined Performance it is poor, be higher than 150 points, determine the excellent performance of targeted website.
Through the above steps, the access state code and access load duration of targeted website can first be got, wherein access Status code is used to indicate the state returned the result when each access target website of user, and when access load, a length of server received The duration between end time returned the result at the beginning of load returns the result after to user access request to load, then The performance of targeted website can be determined according to the access state code and access load duration got.In this embodiment, may be used By to access state code and access load duration, the comprehensive overall operation performance for determining targeted website, so as to spirit The operating status of adjustment website living, solves in the related technology in analyzing web site performance, since the data of crawl can not be really anti- The operating condition for reflecting website causes analysis the technical issues of error occur.
After the step of using above-described embodiment, available one accurate targeted website performance.
Another optional embodiment, in the access state code and access load for obtaining user's access target website It can also include: the O&M information for obtaining the equipment that user uses before length, wherein O&M information is used to indicate user's access The operation information of targeted website, O&M information include at least one following: the geographical location of equipment, equipment operating pressure number Value;According to access state code and access load duration, determine the performance of targeted website: the O&M of the equipment used according to user is believed Breath, access state code and access load duration, determine the performance of targeted website.
It can be according to reading the O&M information that records in daily record data, and the geographical location of equipment can refer to and currently set The environment or longitude and latitude at standby place, for example, be located in subway, be located in football pitch, be located on road, be located at Office Area etc.. And can be above-mentioned CPU memory hard disk network pressure for the operating pressure numerical value of equipment, it is also possible to the current fortune of equipment Row application program amount etc., if the multiple application programs of currently operation of the equipment of active user, occupy biggish memory, then at this time and When loading velocity it is slow, can also be with user it should be understood that evaluation for targeted website performance, can properly increase evaluation etc. Grade.
Using above-described embodiment, the data grabber of user can be carried out, and pass through scoring according to the access log of user Mode, the performance for being effectively obtained entire website it is whether good as a result, and web site performance is obtained according to evaluation as a result, effectively into Row website returns the result the optimization with loading content, to improve the satisfaction that user accesses website.
It is explained below with a kind of preferred embodiment to the present invention.
It is possible, firstly, to which data collection module will be arranged, all visits in website can be read by two kinds of data of the module collection Ask log, carry in taking-up log: load time, status code, url, cache hit rate, UA, location netizen IP etc. are closed Key information is stored in memory.And available equipment O&M information itself, such as device geographical location, cpu memory hard disk net Network pressure etc., is stored in memory.
It is then possible to which a grading module is arranged, showed in the form of the page to user the module, can allow user Scoring setting is carried out to the data that all data collection modules are collected into, for example, setting status code: in 400-500 and 500 or more Accounting 5% hereinafter, score 100, accounting 5%-10% score 70 etc..And score is arranged in 0-10ms for the load time 100, in 10-100ms, score 90 is set, in 100-1s, score 70 etc. is set.The above score value section all can be by user Customized setting
Finally, can be by the computing module that scores, with data loaded into memory in data collection module, matching scoring Setting rule in setup module, carries out score value calculating, the total score that the score value of all items all mutually adds up is both the domain name Service ability score.It can obtain the performance scores of targeted website.
Through the foregoing embodiment, can service ability evaluation in, more intuitively, science evaluation website service Energy.
Fig. 2 is the schematic diagram of web site performance evaluation device according to an embodiment of the present invention, as shown in Fig. 2, the device can be with It include: acquiring unit 21, for obtaining the access state code and access load duration of targeted website, wherein access state code is used The state returned the result when instruction user each access target website, a length of server is receiving user's visit when accessing load Ask the duration between the end time returned the result at the beginning of load returns the result after requesting to load;Determination unit 23, For determining the performance of targeted website according to access state code and access load duration.
Through the foregoing embodiment, the access state code and access that targeted website can be first got by acquiring unit 21 add Carry duration, wherein access state code is used to indicate the state returned the result when each access target website of user, when access load At the end of a length of server returns the result at the beginning of load returns the result after receiving user access request to load Between between duration, may then pass through determination unit 23 and determined according to the access state code that gets and access load duration The performance of targeted website.In this embodiment it is possible to which by access state code and access load duration, synthesis determines target network The overall operation performance stood solves so as to which the operating status of website is adjusted flexibly in the related technology in analyzing web site performance When, since the data of crawl can not really reflect the operating condition of website, analysis is caused the technical issues of error occur.
Wherein, above-mentioned determination unit 23 may include: the first computing module, for calculating the number of access state code instruction According to the ratio in default memory;First determining module, for determining the first visit according to ratio and the first default standards of grading table Ask scoring;Second determining module, for determining that the second access is commented according to access load duration and the second default standards of grading table Point;Third determining module, for scoring according to the first access scoring and the second access and determining the performance of targeted website.
In addition, above-mentioned third determining module may include: the second computing module, for calculating the first access scoring and the The scoring total value of two access scorings;Submodule is determined, for determining targeted website property according to scoring total value and current network state Energy.
Above-mentioned web site performance evaluation device can also include processor and memory, and above-mentioned acquiring unit 21 determines list Member stores in memory as program unit including 23 etc., executes above procedure list stored in memory by processor Member realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, come by adjusting kernel parameter to the service performance for determining targeted website.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, program is stored thereon with, program is held The web site performance assessment method of row any of the above-described.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, processor is for running program, program The web site performance assessment method of any of the above-described is executed when operation.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor execute program when perform the steps of obtain targeted website access state code and Access load duration, wherein access state code is used to indicate the state returned the result when each access target website of user, access A length of server returns the result at the beginning of load returns the result after receiving user access request to load when load Duration between end time;According to access state code and access load duration, the performance of targeted website is determined.
Optionally, above-mentioned processor can also calculate the data of access state code instruction default interior when executing program Ratio in depositing;According to ratio and the first default standards of grading table, determine that the first access is scored;According to access load duration and the Two default standards of grading tables determine that the second access is scored;It scores according to the first access scoring and the second access and determines targeted website Performance.
Optionally, above-mentioned processor can also calculate the first access scoring and second and access scoring when executing program Score total value;According to scoring total value and current network state, targeted website performance is determined.
Optionally, above-mentioned processor can also read the access log of user's access target website when executing program, In, include at least one following in access log: load return the result at the beginning of, load return the result end time, The access browser that access state code, access IP address, user use;Obtain user's access target website access state code and Access load duration includes: the access state code and access load duration that user's access target website is obtained according to access log.
Optionally, above-mentioned processor can also obtain the O&M information for the equipment that user uses when executing program, In, O&M information is used to indicate the operation information of user's access target website, and O&M information includes at least one following: equipment Geographical location, equipment operating pressure numerical value;According to access state code and access load duration, the performance of targeted website: root is determined According to O&M information, access state code and the access load duration of the equipment that user uses, the performance of targeted website is determined.
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step: the access state code and access load duration of targeted website are obtained, wherein access state Code is used to indicate the state returned the result when each access target website of user, and when access load, a length of server received use The duration between end time returned the result at the beginning of load returns the result after the access request of family to load;According to access Status code and access load duration, determine the performance of targeted website.
Optionally, when executing program, the data that can also calculate the instruction of access state code exist above-mentioned data processing equipment Ratio in default memory;According to ratio and the first default standards of grading table, determine that the first access is scored;When according to access load Long and the second default standards of grading table determines that the second access is scored;It scores according to the first access scoring and the second access and determines mesh Mark the performance of website.
Optionally, above-mentioned data processing equipment can also calculate the first access scoring and the second access when executing program The scoring total value of scoring;According to scoring total value and current network state, targeted website performance is determined.
Optionally, above-mentioned data processing equipment can also read the access of user's access target website when executing program Log, wherein include at least one following in access log: loading at the beginning of returning the result, the knot that load returns the result The access browser that beam time, access state code, access IP address, user use;Obtain the access of user's access target website Status code includes: to obtain the access state code of user's access target website according to access log and access to add with load duration is accessed Carry duration.
Optionally, above-mentioned data processing equipment can also obtain the O&M letter for the equipment that user uses when executing program Breath, wherein O&M information is used to indicate the operation information of user's access target website, and O&M information includes at least one following: The geographical location of equipment, equipment operating pressure numerical value;According to access state code and access load duration, the property of targeted website is determined Can: according to O&M information, access state code and the access load duration of the equipment that user uses, determine the performance of targeted website.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of unit, can be one kind Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module, It can be electrical or other forms.
And unit may or may not be physically separated as illustrated by the separation member, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of web site performance assessment method characterized by comprising
Obtain the access state code and access load duration of targeted website, wherein it is every that the access state code is used to indicate user The secondary state that returns the result when accessing the targeted website, the access when loading a length of server ask receiving user and access The duration between end time returned the result at the beginning of load returns the result after asking to load;
Duration is loaded according to the access state code and the access, determines the performance of the targeted website.
2. the method according to claim 1, wherein described load according to the access state code and the access Duration determines the performance of the targeted website, comprising:
Calculate ratio of the data of the access state code instruction in default memory;According to the ratio and the first default scoring Standard scale determines that the first access is scored;
Duration and the second default standards of grading table are loaded according to the access, determines that the second access is scored;
The performance of the targeted website is determined according to the first access scoring and the second access scoring.
3. according to the method described in claim 2, it is characterized in that, true according to the first access scoring and the second access scoring Determining the targeted website performance includes:
Calculate the scoring total value of the first access scoring and the second access scoring;
According to the scoring total value and current network state, the targeted website performance is determined.
4. the method according to claim 1, wherein
Before the access state code and access load duration for obtaining user's access target website, the method also includes: it reads The access log of user's access target website, wherein include at least one following in the access log: loading and return the result Time started loads the end time returned the result, the access state code, accesses IP address, the access browsing that user uses Device;
The access state code and access for obtaining user's access target website load duration and include:
The access state code and access load duration of user's access target website are obtained according to the access log.
5. according to the method described in claim 2, it is characterized in that,
Before the access state code and access load duration for obtaining user's access target website, the method also includes: it obtains The O&M information for the equipment that the user uses, wherein the O&M information is used to indicate the operation of user's access target website Information, the O&M information includes at least one following: the geographical location of the equipment, the equipment operating pressure numerical value;
Duration is loaded according to the access state code and the access, determines the performance of the targeted website:
According to O&M information, the access state code and the access load duration of the equipment that the user uses, institute is determined State the performance of targeted website.
6. a kind of web site performance evaluation device characterized by comprising
Acquiring unit, for obtaining the access state code and access load duration of targeted website, wherein the access state code is used The state that returns the result when indicating that user accesses the targeted website every time, when access load, a length of server received The duration between end time returned the result at the beginning of load returns the result after to user access request to load;
Determination unit determines the performance of the targeted website for loading duration according to the access state code and the access.
7. device according to claim 6, which is characterized in that the determination unit includes:
First computing module, for calculating ratio of the data of the access state code instruction in default memory;
First determining module, for determining that the first access is scored according to the ratio and the first default standards of grading table;
Second determining module determines that the second access is commented for loading duration and the second default standards of grading table according to the access Point;
Third determining module, for determining the targeted website according to the first access scoring and the second access scoring Performance.
8. device according to claim 7, which is characterized in that the third determining module includes:
Second computing module, for calculating the scoring total value of the first access scoring and the second access scoring;
Submodule is determined, for determining the targeted website performance according to the scoring total value and current network state.
9. a kind of storage medium, is stored thereon with program, which is characterized in that described program perform claim requires any one of 1 to 5 The web site performance assessment method.
10. a kind of processor, the processor is for running program, which is characterized in that perform claim is wanted when described program is run Web site performance assessment method described in asking any one of 1 to 5.
CN201710915249.9A 2017-09-29 2017-09-29 Web site performance assessment method and device Pending CN109586942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710915249.9A CN109586942A (en) 2017-09-29 2017-09-29 Web site performance assessment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710915249.9A CN109586942A (en) 2017-09-29 2017-09-29 Web site performance assessment method and device

Publications (1)

Publication Number Publication Date
CN109586942A true CN109586942A (en) 2019-04-05

Family

ID=65919273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710915249.9A Pending CN109586942A (en) 2017-09-29 2017-09-29 Web site performance assessment method and device

Country Status (1)

Country Link
CN (1) CN109586942A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125599A (en) * 2019-12-23 2020-05-08 北京知道创宇信息技术股份有限公司 Rating method and device for hidden network website, storage medium and electronic equipment
CN111897703A (en) * 2019-05-05 2020-11-06 北京神州泰岳软件股份有限公司 Website performance evaluation method and device
CN113905091A (en) * 2021-09-15 2022-01-07 盐城金堤科技有限公司 Method and device for processing access request
CN115174519A (en) * 2022-06-30 2022-10-11 上海宝创网络科技有限公司 Method and equipment for judging IPv6 modification of website

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724059A (en) * 2012-03-31 2012-10-10 常熟市支塘镇新盛技术咨询服务有限公司 Website operation state monitoring and abnormal detection based on MapReduce
CN105049301A (en) * 2015-08-31 2015-11-11 北京奇虎科技有限公司 Method and device for providing comprehensive evaluation services of websites
CN106533797A (en) * 2016-12-15 2017-03-22 四川长虹电器股份有限公司 JAMon-based automated website service performance monitoring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724059A (en) * 2012-03-31 2012-10-10 常熟市支塘镇新盛技术咨询服务有限公司 Website operation state monitoring and abnormal detection based on MapReduce
CN105049301A (en) * 2015-08-31 2015-11-11 北京奇虎科技有限公司 Method and device for providing comprehensive evaluation services of websites
CN106533797A (en) * 2016-12-15 2017-03-22 四川长虹电器股份有限公司 JAMon-based automated website service performance monitoring method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897703A (en) * 2019-05-05 2020-11-06 北京神州泰岳软件股份有限公司 Website performance evaluation method and device
CN111125599A (en) * 2019-12-23 2020-05-08 北京知道创宇信息技术股份有限公司 Rating method and device for hidden network website, storage medium and electronic equipment
CN113905091A (en) * 2021-09-15 2022-01-07 盐城金堤科技有限公司 Method and device for processing access request
CN113905091B (en) * 2021-09-15 2023-09-01 盐城天眼察微科技有限公司 Method and device for processing access request
CN115174519A (en) * 2022-06-30 2022-10-11 上海宝创网络科技有限公司 Method and equipment for judging IPv6 modification of website

Similar Documents

Publication Publication Date Title
CN102684934B (en) Method and system for monitoring property of web application program and web server
CN101971172B (en) Mobile sitemaps
CN100565509C (en) Use the system and method for click distance to the Search Results classification
CN102521251B (en) Method for directly realizing personalized search, device for realizing method, and search server
CN109586942A (en) Web site performance assessment method and device
CN103297469B (en) The acquisition method of a kind of website data and device
CN103455478A (en) Webpage access accelerating method and device
CN102752288A (en) Method and device for identifying network access action
CN103618696B (en) Method and server for processing cookie information
Tyagi et al. Analysis of server log by web usage mining for website improvement
CN102624920A (en) Method and device for performing access through proxy server
CN103678321A (en) Webpage element determination method and device and user behavior route determination method and device
CN103440276A (en) Method and device for improving webpage display speed
CN102339296A (en) Method and device for sorting query results
CN110020339B (en) Webpage data acquisition method and device based on non-buried point
CN108959595B (en) Website construction and experience method and device based on virtual and reality
CN102663054A (en) Method and device for determining weight of website
CN107766234A (en) A kind of assessment method, the apparatus and system of the webpage health degree based on mobile device
CN103577447A (en) Method and equipment used for determining page type information of target pages
CN109063158A (en) A kind of method, equipment, system and the medium of the inquiry of website visiting ranking information
CN102541946B (en) Method and equipment for determining recommendation degree of hyperlink based on recommendation attribute of hyperlink
CN106326280A (en) Data processing method, apparatus and system
CN109561162A (en) Excavate the method and device that user accesses hobby
CN105989002A (en) Webpage data query method and device, and method and device for establishing webpage jump path database
CN110740081A (en) Data visualization method for page performance of standard multiple companies

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405