CN111897703A - Website performance evaluation method and device - Google Patents

Website performance evaluation method and device Download PDF

Info

Publication number
CN111897703A
CN111897703A CN201910377760.7A CN201910377760A CN111897703A CN 111897703 A CN111897703 A CN 111897703A CN 201910377760 A CN201910377760 A CN 201910377760A CN 111897703 A CN111897703 A CN 111897703A
Authority
CN
China
Prior art keywords
satisfaction
interval
response
satisfaction degree
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.)
Pending
Application number
CN201910377760.7A
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 Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software 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 Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201910377760.7A priority Critical patent/CN111897703A/en
Publication of CN111897703A publication Critical patent/CN111897703A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for evaluating website performance, wherein the method comprises the following steps: acquiring the total times of access requests of a specified website in a preset time period and response time corresponding to each access request; dividing the total times of the access requests according to the response time length and a preset satisfaction degree interval to obtain the sub times of the access requests of each satisfaction degree interval, wherein the satisfaction degree interval indicates different response time length ranges; obtaining a response index according to the total times of the access requests and the sub times of the access requests; evaluating the performance of the specified website based on the response index. The embodiment of the invention solves the technical problems that response time is taken as a judgment standard, the response time is not reasonable enough, and the satisfaction degree of a user on website experience cannot be accurately reflected.

Description

Website performance evaluation method and device
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for evaluating website performance.
Background
In the information-oriented era, the scale and complexity of networks are getting larger and larger, and the requirements of people on network experience are also getting higher and higher. When a user accesses a website, the performance of the website directly affects the user experience. For example, when a user accesses a web page, the user may feel bored if the user has not loaded the web page within a certain time (e.g., 8 s). In the prior art, evaluation on website performance only depends on response time, and because different websites have different resource types, for example, some website resources have more characters, some website pictures and some website resources have more short videos, the response time is taken as an evaluation standard, so that the response time is not reasonable enough, and the website performance and the satisfaction degree of a user on website experience cannot be accurately reflected.
Disclosure of Invention
The invention provides a method and a device for evaluating website performance, which combine the performance index of a traditional website with the satisfaction degree of user experience to uniformly measure the website performance and the user experience, and reflect the user experience and the website performance by a more intuitive and accurate index.
According to one aspect of the application, a website performance evaluation method is provided, and comprises the following steps:
acquiring the total times of access requests of a specified website in a preset time period and response time corresponding to each access request;
dividing the total times of the access requests according to the response time length and a preset satisfaction degree interval to obtain the sub times of the access requests of each satisfaction degree interval, wherein the satisfaction degree interval indicates different response time length ranges;
obtaining a response index according to the total times of the access requests and the sub times of the access requests;
evaluating the performance of the specified website based on the response index.
According to another aspect of the present application, there is provided a website performance evaluation apparatus including:
the acquisition module is used for acquiring the total times of access requests of a specified website in a preset time period and response time corresponding to each access request;
the dividing module is used for dividing the total times of the access requests according to the response time length and a preset satisfaction degree interval to obtain the sub-times of the access requests of each satisfaction degree interval, wherein the satisfaction degree interval indicates different response time length ranges;
the index calculation module is used for obtaining a response index according to the total times of the access requests and the sub times of the access requests;
and the evaluation module is used for evaluating the performance of the specified website based on the response index.
According to still another aspect of the present application, there is provided an electronic apparatus including: the system comprises a memory and a processor, wherein the memory and the processor are connected through an internal bus in a communication mode, the memory stores program instructions capable of being executed by the processor, and the program instructions are capable of realizing the method in one aspect of the application when being executed by the processor.
Has the advantages that: the website performance evaluation method and the website performance evaluation device of the embodiment of the invention evaluate the website performance from the user experience perspective, and convert the performance of the website performance (such as the website response time length) into the quantifiable index of the user on the website experience, thereby combining the response time length of a single evaluation index and the satisfaction degree of the user experience as a new complete index to uniformly measure the satisfaction degree of the user on the website performance. Therefore, the problem that the traditional performance indexes such as response time, throughput and the like cannot sufficiently and accurately reflect and embody the user satisfaction is solved, the quantitative analysis of the performance of the website is facilitated, and data reference is provided for the follow-up improvement of the performance of the website.
Drawings
FIG. 1 is a flow chart of a website performance evaluation method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating an association between response time and user satisfaction according to an embodiment of the present application;
FIG. 3 is a block diagram of a website performance evaluation device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical idea of the embodiment of the application is as follows: in the prior art, the performance of the website is mostly evaluated and measured only by response time, and the inventor of the application finds that the response time cannot sufficiently reflect and reflect the satisfaction degree of the user on the performance of the website. For example, when a user accesses a webpage mainly including a picture, the response time of the webpage is 10 s; and the user accesses a webpage with characters as the main part, and the response time is 7 s. The response time of 7 seconds is less than that of 10 seconds, but the picture-like web site with rich web page content may be acceptable or even satisfactory to the user as much as 10 s. While the response time of 7s is shorter than that of the text content website, the satisfaction degree of the user experience may not be as good as that of the picture website with the response time of 10 s. In this regard, in the embodiment of the present application, a response duration threshold is first set, a reasonable and maximum response duration adapted to a website is defined according to the needs of different websites, and is recorded as T seconds, that is, a bottom line of "satisfaction" of a user is defined, and if the response duration of the website is within T seconds, the user feels happy and satisfied. Then, a relation between the satisfaction degree and the response time length is established, and the user experience satisfaction degree is divided into three intervals of 'satisfaction', 'tolerable' and 'disappointing'. Each interval is matched with a corresponding response duration threshold range, for example, the threshold range corresponding to 'satisfaction' is 0-T, namely, the response is carried out within T seconds, and the user experience is satisfied and pleasant. The "tolerable" corresponds to a threshold range of T to 4T (by way of example only), i.e., a range that is tolerable, i.e., a user feels poor performance in response between T seconds and 4T seconds, but can continue to use. The threshold range for "disappointment" is greater than 4T seconds, which is unacceptable to the user and may therefore give up further use, indicating that the user is very disappointed. And finally, determining a response index, and comprehensively evaluating the website performance and the user experience according to the calculated response index.
Fig. 1 is a flowchart of a website performance evaluation method according to an embodiment of the present application, and referring to fig. 1, the website performance evaluation method according to the embodiment includes the following steps:
step S101, acquiring the total times of access requests of a specified website in a preset time period and response time corresponding to each access request;
step S102, dividing the total times of the access requests according to the response time length and a preset satisfaction degree interval to obtain the sub times of the access requests of each satisfaction degree interval, wherein the satisfaction degree interval indicates different response time length ranges;
step S103, obtaining a response index according to the total times of the access requests and the sub times of the access requests;
and step S104, evaluating the performance of the specified website based on the response index.
As shown in fig. 1, in the website performance evaluation method according to the embodiment of the present application, the total number of access requests and the response duration of a specified website in a preset time period are obtained, the total number of access requests is divided according to a satisfaction interval, the sub-number of access requests of each satisfaction interval is obtained, a response index is obtained according to the total number of access requests and the sub-number of access requests, and the performance of the specified website is evaluated based on the response index. Therefore, the relation between the response time and the user satisfaction is established, the access request number, the response time threshold and the satisfaction of each interval are associated in a mode of dividing the satisfaction intervals, the response index is determined, the website performance and the satisfaction of the user to the website performance are quantitatively analyzed according to the response index, and data support and reference are provided for improving the website performance.
The target duration threshold T is determined according to the resource type in the webpage provided by the specified website, where the resource type includes video, pictures, and characters. In an actual website, the types of resources in the webpages provided by different websites are different. For example, the resource type of a news website mainly includes characters, the resource type of a video website mainly includes videos, and the expected response time of a user is correspondingly different for different types of websites.
It should be noted that, in an embodiment, before dividing the total number of access requests according to the response duration and the preset satisfaction interval, the method shown in fig. 1 includes: presetting a satisfaction degree interval, specifically: determining a first satisfaction degree interval indicating a first time range from 0 to T according to a first time threshold value 0 and a target time threshold value T; determining a second satisfaction degree interval indicating a second duration range T to N x T according to the target duration threshold T and a second duration threshold, wherein the second duration threshold is equal to N times of the target duration threshold T, and N is a positive integer greater than 1; and determining a third satisfaction interval indicating a third duration range N x T to positive infinity according to the second duration threshold. That is, the first satisfaction interval is [0, T ] includes 0 excluding T, the second satisfaction interval is [ T, N × T ] includes T excluding N × T, the third satisfaction interval is [ N × T, + ∞ ] includes N × T excluding + ∞.
After dividing and determining the satisfaction degree interval, the dividing the total number of access requests according to the response time length and the preset satisfaction degree interval in the step S102 includes: comparing the response duration to the first satisfaction interval, the second satisfaction interval, or the third satisfaction interval; if the response time length is within the first satisfaction degree interval, adding 1 to the counted access request sub-times of the first satisfaction degree interval; if the response time length is within the second satisfaction degree interval, adding 1 to the counted access request sub-times of the second satisfaction degree interval; and if the response time length is within the third satisfaction degree interval, adding 1 to the counted access request sub-times of the third satisfaction degree interval.
According to the steps, the access request sub-times can be counted in each satisfaction degree interval. That is, the embodiment of the present application is statistically satisfactory, tolerable and disappointing number of access requests between partitions. The counting number between the partitions is used for calculating a quantitative index, namely a response index. The quantitative index reflects the user satisfaction degree of the whole website due to the statistics of a large number of requests of the whole website in a period of time, and not only reflects the user satisfaction degree of the single request response time.
In this embodiment, obtaining the response index according to the total number of access requests and the sub-number of access requests includes: the response Index is calculated by the following formula: index ═ a x + B x/Z, where a equals the number of access request sub-counts for the first satisfaction interval, B equals the number of access request sub-counts for the second satisfaction interval, and Z equals the total number of access requests determined by the sum of the number of access request sub-counts for the first satisfaction interval, the number of access request sub-counts for the second satisfaction interval, and the number of access request sub-counts for the third satisfaction interval; x represents a request success rate, the request success rate refers to the ratio of access requests successfully requested in the access request sub-times of the first satisfaction interval, and y represents a strong transaction coefficient set according to business needs; and evaluating the performance of the specified website based on the response index comprises: and comparing the response index with a preset passing threshold, and if the response index is greater than the preset passing threshold, determining an evaluation result, wherein the evaluation result indicates that the satisfaction degree of the user on the performance of the specified website in the preset time period is passing.
It should be emphasized that the response index of this embodiment is a comprehensive performance index, i.e. whether the user is satisfied with a website is evaluated, and the length of the response time, i.e. the response speed, is not simply seen. And whether the request returned by the website fails or not needs to be considered, so that the website performance can be evaluated more accurately.
In specific application, the website performance evaluation method of the embodiment includes the following steps:
setting a target response duration threshold
According to the needs of different websites, a reasonable response time threshold value which is suitable for the website is defined and set as T seconds, namely a bottom line of satisfaction, and the response time is within the T seconds, so that a user feels happy and satisfied. Namely, the threshold value T may be set according to the needs of different websites, and T is used to indicate the maximum response time length satisfied by the user.
(II) establishing a relationship between response duration and user experience satisfaction
The user experience satisfaction is divided into three satisfaction intervals, namely a first satisfaction interval ("satisfaction"), a second satisfaction interval ("tolerable"), and a third satisfaction interval ("disappointment"), each satisfaction interval matching a corresponding response duration threshold range, as shown in fig. 2:
"satisfactory": the corresponding threshold value range is 0-T, namely the response within T seconds, and the user experience is satisfied and pleasant.
"tolerable": the corresponding threshold ranges from T to 4T, i.e. between T seconds and 4T seconds, where the user feels that the performance is poor but can continue to use, this range is tolerable.
"disappointment": the corresponding threshold range is greater than 4T, i.e. over 4T seconds of response, indicating that the user is very disappointed-this is unacceptable to the user and may therefore forego further use.
It should be noted that, in the embodiment, three satisfaction intervals are set as an example for description, but not limited to this, only two satisfaction intervals may be set, for example, two satisfaction intervals and two dissatisfaction intervals are set, the number of access requests with response duration in the duration range corresponding to satisfaction is taken as the number of access request sub-times satisfying the satisfaction interval, and the number of access requests with response duration in the duration range corresponding to dissatisfaction is taken as the number of access request sub-times unsatisfied the satisfaction interval, and is used for calculating the subsequent response index. The specific division into three satisfaction intervals or other numbers of satisfaction intervals should be determined according to the granularity of website performance evaluation.
(III) calculating response index
In this embodiment, a new evaluation Index, i.e., response Index, is established, which can combine the website performance and the user satisfaction, and the Index is represented by Index with initial letter I. The response index here is provided and determined by collecting a large amount of sample data (i.e. access request and response duration thereof) in advance according to the application, and the response index calculation formula is as follows:
Index=(A*x+B*y)/Z,
wherein, a is equal to the access request sub-number of times of the first satisfaction interval, B is equal to the access request sub-number of times of the second satisfaction interval, and Z is equal to the access request total number of times, which is determined by the sum of the access request sub-number of times of the first satisfaction interval, the access request sub-number of times of the second satisfaction interval, and the access request sub-number of times of the third satisfaction interval (i.e., the access request total number is the satisfied request number + the tolerable request number + the disappointed request number); x represents a request success rate, the request success rate refers to a proportion of access requests with correct response contents in the access request sub-times of the first satisfaction interval, and y represents a strong transaction coefficient set according to business needs. The disappointment request number is the request number representing that the satisfaction of the user to the website performance is disappointment, and according to the response index, when the disappointment request number is larger, the sum of the satisfaction request number and the tolerable request number is smaller under the condition of a given request number total number, namely, the user experience is satisfied and can accept a smaller corresponding request number, and the experience satisfaction is worse at the moment, and the response index is smaller.
In addition, as can be seen from the response index, the response index of the present embodiment is a comprehensive evaluation index, which is obtained by counting and dividing the number of satisfied requests, the number of tolerable requests, and the like according to the set threshold range of response time duration, that is, taking into account the response time duration of the access request. And secondly, because the response index is also related to the request success power and the strong transaction coefficient, more accurate satisfaction is obtained by introducing the request success rate and the strong transaction coefficient.
It should be emphasized that the response index of the present embodiment introduces the request success rate to eliminate the access request with wrong response content from the number of access requests with short response time and falling in the satisfaction interval, because some websites have incorrect response content or are not desired by the user when processing the access request, i.e. the user request fails. For example, when a user requests a web page, but the content of the web page is not actually loaded and the web site jumps to 404 the prompt page, although the response time of the request is short and seems satisfactory, the actually returned result is not required by the user and should be filtered from the satisfactory interval.
And the strong transaction coefficient is introduced to correct the response index so as to more accurately adapt to the service type of the website. In general, the strong transaction coefficient may take half of the number of requests in the tolerable interval, i.e. it is equivalent to using half of the number of requests in the tolerable interval as the satisfactory number of requests. And when the transaction of a certain type of request or a certain type of website is strong and the requirement on the response time length is higher, a coefficient lower than half of the number of the tolerable interval requests can be taken. That is, the value of the strong transaction coefficient may be self-defined according to the website type or the request type. The value range of the strong transaction coefficient is [ 0-0.5 ], namely, when the coefficient is 0, only the request completely falling in the satisfied range is regarded as the satisfaction of user experience. When the coefficient is 0.5, i.e. a request with half of the tolerable interval, can also be considered as a satisfactory request, the strong transaction coefficient defaults to 0.5.
(IV) evaluating the performance of the website according to the response index
The basis for evaluating the performance of the website by using the response index is as follows: when the number of satisfactory samples is the maximum, that is, when the response time lengths of all samples belong to a satisfaction interval of "satisfaction", the calculation result of the response index is 1. When there are tolerable or disappointing samples, that is, the response durations of all samples are not satisfactory, the calculation result of the response index must be less than 1, and the smaller the number of satisfactory samples, the smaller the response index. The value range of the response index in a period of time is [ 0-1 ], and the larger the value of the response index is, the higher the user experience is, and the better the website performance is. Based on this, the response index is used to evaluate the user satisfaction and the website performance in this embodiment.
Here, an implementation process of the website performance evaluation method according to the embodiment is schematically described as an example.
For example, for a website (e.g., a news website), the response time expected by the user is within 1000 ms. The website has 100 accesses in the last 5 minutes, that is, the total number of access requests in a preset time period is 100, the 100 access requests are compared with the three satisfaction intervals ("satisfied", "tolerable" and disappointed "), and the number of access requests in each satisfaction interval is counted to obtain a statistical result, for example, the response duration of 50 access request times is less than 1000ms, the response duration of 30 access request times is between 1000ms and 4000ms (4 x 1000ms), and the response duration of the remaining 20 access request times is longer than 4000 ms. That is, the number of access request sub-times for the first satisfaction interval is 50, the number of access request sub-times for the second satisfaction interval is 30, and the number of access request sub-times for the third satisfaction interval is 20. The request success rate is 0.9 and the strong transaction coefficient is 0.5.
For the situation that the user satisfaction threshold of the website is 1 second, the website performance and the user experience satisfaction are as follows: (50 × 0.9+30 × 0.5)/100 ═ 0.6. If the preset performance passing threshold of the website is 0.6, the sum of the performance of the website and the satisfaction of the user is 0.6. Then, 0.6 here indicates that the website performance and user satisfaction of the website during this time (the aforementioned 5 minutes) are just enough (i.e. the evaluation result is that the website performance is just passed), which is not ideal, and there is a large optimization space. From the perspective of user experience, in order to provide better experience and shorten response time, the performance of the website can be considered to be improved.
For example, after determining the evaluation result, the method further includes: and generating and outputting suggestions for improving the performance of the specified website according to the evaluation result. The performance and experience condition of the website are intuitively and objectively reflected through the index, the improvement suggestion of the performance of the website is provided based on the evaluation result, and the difference between the performance of the website and the satisfaction degree of a user can be conveniently and intuitively seen by a website through the numerical value.
As can be seen from the above, the website performance evaluation method of this embodiment divides the satisfaction degree interval according to the set target response duration threshold of each website, establishes the relationship between the response duration threshold of the access request and the satisfaction degree, calculates the response index, and finally quantitatively evaluates the website performance according to the response index, and further may be extended and applied to provide suggestions for website performance improvement according to the response index. The target response duration threshold value can be properly adjusted according to the website load and the resource type, so that the evaluation scheme of the embodiment has great flexibility and adaptability.
The website performance evaluation method is the same as the website performance evaluation method, and an embodiment of the present invention further provides a website performance evaluation apparatus, referring to fig. 3, a website performance evaluation apparatus 300 of the present embodiment includes:
the acquiring module 301 acquires the total number of access requests of a specified website within a preset time period and response time corresponding to each access request;
a dividing module 302, configured to divide the total number of access requests according to the response duration and a preset satisfaction interval, and obtain access request sub-numbers of each satisfaction interval, where the satisfaction interval indicates a different response duration range;
an index calculation module 303, configured to obtain a response index according to the total number of access requests and the sub-number of access requests;
an evaluation module 304 for evaluating the performance of the specified website based on the response index.
In one embodiment of the invention, the apparatus further comprises: a satisfaction interval determination module, configured to determine a first satisfaction interval indicating a first time range 0 to T according to a first time threshold 0 and a target time threshold T; determining a second satisfaction degree interval indicating a second duration range T to N x T according to the target duration threshold T and a second duration threshold, wherein the second duration threshold is equal to N times of the target duration threshold T, and N is a positive integer greater than 1; and determining a third satisfaction interval indicating a third duration range N x T to positive infinity according to the second duration threshold.
In an embodiment of the present invention, the dividing module 302 is configured to compare the response duration with the first satisfaction interval, the second satisfaction interval, or the third satisfaction interval; if the response time length is within the first satisfaction degree interval, adding 1 to the counted access request sub-times of the first satisfaction degree interval; if the response time length is within the second satisfaction degree interval, adding 1 to the counted access request sub-times of the second satisfaction degree interval; and if the response time length is within the third satisfaction degree interval, adding 1 to the counted access request sub-times of the third satisfaction degree interval.
In an embodiment of the present invention, the Index calculating module 303 is specifically configured to calculate a response Index (Index ═ a x + B x y)/Z by using the following formula, where a is equal to the number of access request sub-times in the first satisfaction interval, B is equal to the number of access request sub-times in the second satisfaction interval, and Z is equal to the total number of access requests, where the total number of access requests is determined by a sum of the number of access request sub-times in the first satisfaction interval, the number of access request sub-times in the second satisfaction interval, and the number of access request sub-times in the third satisfaction interval; x represents a request success rate, the request success rate refers to the ratio of access requests successfully requested in the access request sub-times of the first satisfaction interval, and y represents a strong transaction coefficient set according to business needs;
the evaluation module 304 is specifically configured to compare the response index with a preset passing threshold, and if the response index is greater than the preset passing threshold, determine an evaluation result, where the evaluation result indicates that the satisfaction of the user on the performance of the specified website within the preset time period is passing.
In one embodiment of the invention, the device further comprises a feedback module for generating and outputting suggestions for improving the performance of the specified website according to the evaluation result.
In an embodiment of the present invention, the target duration threshold T is determined according to a resource type in a webpage provided by the specified website, where the resource type includes a video, a picture, and a text.
It should be noted that, for example, explanations of steps executed by modules in the apparatus shown in fig. 3 are consistent with the example explanations in the foregoing method embodiments, and are not repeated here.
In summary, the website performance evaluation method and apparatus of the embodiment combine the response duration of a single evaluation index and the user experience satisfaction as a new complete index, and perform unified measurement on the satisfaction of the user on the website performance. Therefore, the problem that the traditional performance indexes such as response time, throughput and the like cannot well explain the influence of slowly executed transactions on user satisfaction is solved, the performance of the website is conveniently and quantitatively analyzed, and the decision data reference is provided for the follow-up performance improvement.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or otherwise described herein.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic device includes a memory 401 and a processor 402, the memory 401 and the processor 402 are communicatively connected through an internal bus 403, the memory 401 stores program instructions executable by the processor 402, and the program instructions, when executed by the processor 402, can implement the above-mentioned website performance evaluation method.
In addition, the logic instructions in the memory 401 may be implemented in the form of software functional units and may be stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Another embodiment of the present invention provides a computer-readable storage medium storing computer instructions that cause the computer to perform the above-described method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the description of the present invention, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description. Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
While the foregoing is directed to embodiments of the present invention, other modifications and variations of the present invention may be devised by those skilled in the art in light of the above teachings. It should be understood by those skilled in the art that the foregoing detailed description is for the purpose of illustrating the invention rather than the foregoing detailed description, and that the scope of the invention is defined by the claims.

Claims (10)

1. A website performance evaluation method is characterized by comprising the following steps:
acquiring the total times of access requests of a specified website in a preset time period and response time corresponding to each access request;
dividing the total times of the access requests according to the response time length and a preset satisfaction degree interval to obtain the sub times of the access requests of each satisfaction degree interval, wherein the satisfaction degree interval indicates different response time length ranges;
obtaining a response index according to the total times of the access requests and the sub times of the access requests;
evaluating the performance of the specified website based on the response index.
2. The method of claim 1, wherein before dividing the total number of access requests according to the response duration and a predetermined satisfaction interval, the method comprises: the method for presetting the satisfaction degree interval specifically comprises the following steps:
determining a first satisfaction degree interval indicating a first time range from 0 to T according to a first time threshold value 0 and a target time threshold value T;
determining a second satisfaction degree interval indicating a second duration range T to N x T according to the target duration threshold T and a second duration threshold, wherein the second duration threshold is equal to N times of the target duration threshold T, and N is a positive integer greater than 1;
and determining a third satisfaction degree interval indicating a third duration range N x T to positive infinity according to the second duration threshold.
3. The method of claim 2, wherein the dividing the total number of access requests according to the response duration and a preset satisfaction interval comprises:
comparing the response duration to the first satisfaction interval, the second satisfaction interval, or the third satisfaction interval;
if the response time length is within the first satisfaction degree interval, adding 1 to the counted access request sub-times of the first satisfaction degree interval;
if the response time length is within the second satisfaction degree interval, adding 1 to the counted access request sub-times of the second satisfaction degree interval;
and if the response time length is within the third satisfaction degree interval, adding 1 to the counted access request sub-times of the third satisfaction degree interval.
4. The method of claim 3, wherein obtaining a response index based on the total number of access requests and the sub-number of access requests comprises: the response Index is calculated by the following formula:
index ═ a x + B x/Z, where a equals the number of access request sub-counts for the first satisfaction interval, B equals the number of access request sub-counts for the second satisfaction interval, and Z equals the total number of access requests determined by the sum of the number of access request sub-counts for the first satisfaction interval, the number of access request sub-counts for the second satisfaction interval, and the number of access request sub-counts for the third satisfaction interval; x represents a request success rate, the request success rate refers to the ratio of access requests successfully requested in the access request sub-times of the first satisfaction interval, and y represents a strong transaction coefficient set according to business needs;
said evaluating performance of said specified website based on said response index comprises:
and comparing the response index with a preset passing threshold, and if the response index is greater than the preset passing threshold, determining an evaluation result, wherein the evaluation result indicates that the satisfaction degree of the user on the performance of the specified website in the preset time period is passing.
5. The method of claim 4, wherein after determining the evaluation result, the method further comprises:
and generating and outputting suggestions for improving the performance of the specified website according to the evaluation result.
6. The method of claim 2, wherein the target duration threshold T is determined according to resource types in the web pages provided by the specified website, and the resource types include videos, pictures and texts.
7. A website performance evaluation apparatus, comprising:
the acquisition module is used for acquiring the total times of access requests of a specified website in a preset time period and response time corresponding to each access request;
the dividing module is used for dividing the total times of the access requests according to the response time length and a preset satisfaction degree interval to obtain the sub-times of the access requests of each satisfaction degree interval, wherein the satisfaction degree interval indicates different response time length ranges;
the index calculation module is used for obtaining a response index according to the total times of the access requests and the sub times of the access requests;
and the evaluation module is used for evaluating the performance of the specified website based on the response index.
8. The apparatus of claim 7, further comprising: a satisfaction interval determination module, configured to determine a first satisfaction interval indicating a first time range 0 to T according to a first time threshold 0 and a target time threshold T; determining a second satisfaction degree interval indicating a second duration range T to N x T according to the target duration threshold T and a second duration threshold, wherein the second duration threshold is equal to N times of the target duration threshold T, and N is a positive integer greater than 1; and determining a third satisfaction interval indicating a third duration range N x T to positive infinity according to the second duration threshold.
9. The apparatus of claim 8, wherein the partitioning module is configured to compare the response duration with the first satisfaction interval, the second satisfaction interval, or the third satisfaction interval; if the response time length is within the first satisfaction degree interval, adding 1 to the counted access request sub-times of the first satisfaction degree interval; if the response time length is within the second satisfaction degree interval, adding 1 to the counted access request sub-times of the second satisfaction degree interval; and if the response time length is within the third satisfaction degree interval, adding 1 to the counted access request sub-times of the third satisfaction degree interval.
10. An electronic device, characterized in that the electronic device comprises: a memory and a processor communicatively coupled via an internal bus, the memory storing program instructions executable by the processor, the program instructions when executed by the processor implementing the method of any of claims 1-6.
CN201910377760.7A 2019-05-05 2019-05-05 Website performance evaluation method and device Pending CN111897703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910377760.7A CN111897703A (en) 2019-05-05 2019-05-05 Website performance evaluation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910377760.7A CN111897703A (en) 2019-05-05 2019-05-05 Website performance evaluation method and device

Publications (1)

Publication Number Publication Date
CN111897703A true CN111897703A (en) 2020-11-06

Family

ID=73169603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910377760.7A Pending CN111897703A (en) 2019-05-05 2019-05-05 Website performance evaluation method and device

Country Status (1)

Country Link
CN (1) CN111897703A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583667A (en) * 2020-12-11 2021-03-30 上海哔哩哔哩科技有限公司 Content delivery network link evaluation method and device
CN117331846A (en) * 2023-11-30 2024-01-02 河北雄安尚世嘉科技有限公司 Internet-based software development, operation, test and management system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786682A (en) * 2016-02-29 2016-07-20 上海新炬网络信息技术有限公司 Implementation system and method for avoiding software performance failure
CN107315671A (en) * 2017-06-16 2017-11-03 东软集团股份有限公司 Application state monitoring method, device and its equipment
CN107678932A (en) * 2017-09-29 2018-02-09 浪潮软件集团有限公司 Application performance analysis method and device
CN107943678A (en) * 2017-11-15 2018-04-20 锐捷网络股份有限公司 A kind of method for evaluating application access process and evaluation server
CN109586942A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 Web site performance assessment method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786682A (en) * 2016-02-29 2016-07-20 上海新炬网络信息技术有限公司 Implementation system and method for avoiding software performance failure
CN107315671A (en) * 2017-06-16 2017-11-03 东软集团股份有限公司 Application state monitoring method, device and its equipment
CN107678932A (en) * 2017-09-29 2018-02-09 浪潮软件集团有限公司 Application performance analysis method and device
CN109586942A (en) * 2017-09-29 2019-04-05 北京国双科技有限公司 Web site performance assessment method and device
CN107943678A (en) * 2017-11-15 2018-04-20 锐捷网络股份有限公司 A kind of method for evaluating application access process and evaluation server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
昌盛;李井波;: "APDEX应用性能指标在保险行业的应用", 中国新通信, no. 15 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583667A (en) * 2020-12-11 2021-03-30 上海哔哩哔哩科技有限公司 Content delivery network link evaluation method and device
CN117331846A (en) * 2023-11-30 2024-01-02 河北雄安尚世嘉科技有限公司 Internet-based software development, operation, test and management system
CN117331846B (en) * 2023-11-30 2024-03-08 河北雄安尚世嘉科技有限公司 Internet-based software development, operation, test and management system

Similar Documents

Publication Publication Date Title
RU2636133C2 (en) Method and device for displaying application software
KR20200069352A (en) Convergence data processing method and information recommendation system
CN107832216A (en) One kind buries a method of testing and device
US20070256033A1 (en) System and method for flagging information content
CN103455522A (en) Recommendation method and system of application extension tools
US20190317950A1 (en) Interest tag determining method, computer device, and storage medium
CN111897703A (en) Website performance evaluation method and device
CN103246355A (en) On-line input method evaluation method, system and device
CN113268403B (en) Time series analysis and prediction method, device, equipment and storage medium
CN104111925A (en) Item recommendation method and device
CN115730605B (en) Data analysis method based on multidimensional information
EP3633669A1 (en) Method and apparatus for correcting time delay between accompaniment and dry sound, and storage medium
CN105279061A (en) Server interface concurrent testing method and apparatus
CN111092769A (en) Web fingerprint identification method based on machine learning
CN112506751B (en) Method, device, equipment and medium for contrast test of overall performance of server
CN109858632B (en) Method and device for determining threshold
CN111984859A (en) Service card recommendation method and device, electronic equipment and storage medium
CN113780666B (en) Missing value prediction method and device and readable storage medium
CN110764900A (en) Data distribution test method and device under high concurrency, terminal and storage medium
CN116450483A (en) Method, device, server and medium for determining load of software distribution
CA3020799A1 (en) Requirements determination
CN109241501A (en) Document analysis method and apparatus
CN104572791A (en) Method and device for evaluating search prompt system
CN115915237A (en) Energy-saving measuring and calculating method and device for base station equipment and calculating equipment
CN114064449A (en) Simulation test report generation method and device, electronic equipment and storage medium

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