CN114168880A - Webpage state determination method, device, equipment and storage medium - Google Patents

Webpage state determination method, device, equipment and storage medium Download PDF

Info

Publication number
CN114168880A
CN114168880A CN202111449798.4A CN202111449798A CN114168880A CN 114168880 A CN114168880 A CN 114168880A CN 202111449798 A CN202111449798 A CN 202111449798A CN 114168880 A CN114168880 A CN 114168880A
Authority
CN
China
Prior art keywords
webpage
abnormal
information
page
web page
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
CN202111449798.4A
Other languages
Chinese (zh)
Inventor
李亚楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111449798.4A priority Critical patent/CN114168880A/en
Publication of CN114168880A publication Critical patent/CN114168880A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

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

Abstract

The disclosure relates to a method, a device, equipment and a storage medium for determining a webpage state, relates to the technical field of internet, and can improve the accuracy of determining the webpage state. The webpage state determining method comprises the following steps: acquiring abnormal stack information and page access information of a webpage; the page access information is used for representing the access flow of the webpage; and determining the webpage state of the webpage based on the abnormal stack information and the page access information.

Description

Webpage state determination method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining a status of a web page.
Background
With the development of computer technology, various web pages can be accessed on electronic equipment to meet different requirements of users.
However, during the display process of the webpage, an exception may occur. In this case, the stack information of the JS anomaly and the number thereof can be acquired to determine whether the web page is in an anomalous state.
However, there are many factors that cause an abnormal state of a web page. Whether the webpage is in the abnormal state or not can not be accurately determined simply through the stack information of the JS abnormality and the change of the number of the JS abnormality.
Disclosure of Invention
The disclosure provides a method, a device, equipment and a storage medium for determining a webpage state, which can improve the accuracy of determining the webpage state.
The technical scheme of the embodiment of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for determining a status of a web page is provided, which may be applied to an electronic device. The webpage state determination method can comprise the following steps:
acquiring abnormal stack information and page access information of a webpage; the page access information is used for representing the access flow of the webpage;
and determining the webpage state of the webpage based on the abnormal stack information and the page access information.
Optionally, the exception stack information includes an exception stack number; the page access information comprises page access amount; determining the webpage state of the webpage based on the abnormal stack information and the page access information, wherein the steps comprise:
determining an abnormal index of the webpage according to the number of the abnormal stacks and the page access amount; the exception indicator is used for representing the weight of the number of exception stacks in the page visit amount;
when the abnormal index is larger than the abnormal index threshold value, determining that the webpage state is an abnormal state;
and when the abnormal index is smaller than or equal to the abnormal index threshold value, determining that the webpage state is a normal state.
Optionally, after determining the abnormal index of the web page according to the number of the abnormal stacks and the page access amount, the method further includes:
the method comprises the steps of obtaining a plurality of abnormal indexes in a preset time period, and displaying a change curve graph of the abnormal indexes in the preset time period.
Optionally, after determining the abnormal index of the web page according to the number of the abnormal stacks and the page access amount, the method further includes:
when the abnormal index is larger than the abnormal index threshold value, outputting alarm information; the alarm information is used for prompting the abnormality of the webpage.
Optionally, the obtaining of the exception stack information and the page access information of the web page includes:
acquiring log information of a webpage based on a service log monitoring tool;
and acquiring exception stack information and page access information from the log information.
Optionally, the obtaining of the exception stack information and the page access information of the web page includes:
acquiring abnormal stack information and page access information from a database in which page information of a plurality of web pages is stored; the page information of a webpage comprises abnormal stack information and page access information of the webpage; the database is a database in a columnar storage system or a database in a distributed storage system.
Optionally, the exception stack information includes a plurality of types; acquiring abnormal stack information and page access information of a webpage, comprising the following steps:
and acquiring preset types of abnormal stack information and page access information.
According to a second aspect of the embodiments of the present disclosure, there is provided a web page status determining apparatus, which may be applied to an electronic device, including: an acquisition unit and a processing unit;
the acquiring unit is used for acquiring the abnormal stack information and the page access information of the webpage; the page access information is used for representing the access flow of the webpage;
and the processing unit is used for determining the webpage state of the webpage based on the abnormal stack information and the page access information.
Optionally, the exception stack information includes an exception stack number; the page access information comprises page access amount; a processing unit, specifically configured to:
determining an abnormal index of the webpage according to the number of the abnormal stacks and the page access amount; the exception indicator is used for representing the weight of the number of exception stacks in the page visit amount;
when the abnormal index is larger than the abnormal index threshold value, determining that the webpage state is an abnormal state;
and when the abnormal index is smaller than or equal to the abnormal index threshold value, determining that the webpage state is a normal state.
Optionally, the web page state determining apparatus further includes: a display unit;
the display unit is used for acquiring a plurality of abnormal indexes in a preset time period and displaying a change curve graph of the plurality of abnormal indexes in the preset time period.
Optionally, the web page state determining apparatus further includes: an output unit;
the output unit is used for outputting alarm information when the abnormal index is larger than the abnormal index threshold value; the alarm information is used for prompting the abnormality of the webpage.
Optionally, the obtaining unit is specifically configured to:
acquiring log information of a webpage based on a service log monitoring tool;
and acquiring exception stack information and page access information from the log information.
Optionally, the obtaining unit is specifically configured to:
acquiring abnormal stack information and page access information from a database in which page information of a plurality of web pages is stored; the page information of a webpage comprises abnormal stack information and page access information of the webpage; the database is a database in a columnar storage system or a database in a distributed storage system.
Optionally, the exception stack information includes a plurality of types; an acquisition unit, specifically configured to:
and acquiring preset types of abnormal stack information and page access information.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the above-described optional web page status determination methods of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned optional web page status determination methods of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which includes computer instructions that, when run on an electronic device, cause the electronic device to execute the method for determining a status of a web page according to any one of the optional implementations of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
based on any one of the above aspects, in the present disclosure, the electronic device may obtain the abnormal stack information and the page access information of the web page, and determine the web page state of the web page based on the abnormal stack information and the page access information, that is, determine whether the web page is in an abnormal state. Because the page access information is used for representing the access flow of the webpage, the electronic equipment can determine the webpage state of the webpage from two dimensions of the abnormal stack information and the page access information, the influence of the change of the page access information on the change of the abnormal stack information is reduced, the webpage state of the webpage can be measured more scientifically, and the accuracy of determining the webpage state of the webpage is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flowchart illustrating a method for determining a web page status according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a method for determining a status of a web page according to an embodiment of the present disclosure;
FIG. 3 illustrates a scatter diagram for determining a status of a web page provided by an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a method for determining a status of a web page according to an embodiment of the present disclosure;
FIG. 5 is a graph illustrating a variation of a web page status determination provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a terminal interface for determining a status of a web page provided by an embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a method for determining a status of a web page according to an embodiment of the present disclosure;
FIG. 8 is a flowchart illustrating a method for determining a status of a web page according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram illustrating a web page status determining apparatus according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a terminal provided in an embodiment of the present disclosure;
fig. 11 shows a schematic structural diagram of a server provided in an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings 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 data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
The data to which the present disclosure relates may be data that is authorized by a user or sufficiently authorized by parties.
As described in the background, there are many factors that contribute to the occurrence of an exception condition on a page. Whether the page is in the abnormal state cannot be accurately determined simply through the stack information of the JS exception and the change of the number of the JS exception.
Based on this, the embodiments of the present disclosure provide a method for determining a web page state, where an electronic device may obtain abnormal stack information and page access information of a web page, and determine the web page state of the web page based on the abnormal stack information and the page access information, that is, determine whether the web page is in an abnormal state. Because the page access information is used for representing the access flow of the webpage, the electronic equipment can determine the webpage state of the webpage from two dimensions of the abnormal stack information and the page access information, the influence of the change of the page access information on the change of the abnormal stack information is reduced, the webpage state of the webpage can be measured more scientifically, and the accuracy of determining the webpage state of the webpage is improved.
The electronic device may be a server, a terminal, or another electronic device for processing data of a web page and determining whether the web page is abnormal, which is not limited in this disclosure.
When the electronic device is a server, the server may be a single server, or may be a server cluster formed by a plurality of servers. In some embodiments, the server cluster may also be a distributed cluster. The present disclosure is also not limited to a specific implementation of the server.
In still other embodiments, the server may further include or be coupled to a database in which the page data for the web pages may be stored.
When the electronic device is a terminal, the terminal may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and other devices that can install and use a content community application (such as a fast hand), and the disclosure does not particularly limit the specific form of the terminal. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
As shown in fig. 1, when the web page state determination method is applied to an electronic device, the web page state determination method may include:
s101, the electronic equipment acquires abnormal stack information and page access information of a webpage.
Specifically, a JS anomaly may occur in the display process of the webpage. In this case, the electronic device may acquire exception stack information of the web page. In addition, when the user visits and browses the webpage, the electronic equipment can also acquire page access information of the webpage.
The page access information is used for representing the access flow of the webpage.
Optionally, the exception stack information of the web page includes: the number of the exception stacks of the web page, the exception stack log of the web page, the exception stack type of the web page, and the like.
The page access information of the web page includes: page Views (PV), IP address, identification of Page access user, etc.
Optionally, the web page may be a web page of the PC side, or a web page accessed by the mobile side through a web-like application program.
Optionally, when the electronic device obtains the abnormal stack information and the page access information of the web page, preset types of abnormal stack information and the page access information may also be obtained. In this way, the electronic device can directly determine the webpage state of the webpage based on the preset type of abnormal stack information.
S102, the electronic equipment determines the webpage state of the webpage based on the abnormal stack information and the webpage access information.
Specifically, after acquiring the abnormal stack information and the page access information of the web page, the electronic device may determine the web page state of the web page based on the abnormal stack information and the page access information.
The webpage states comprise a normal state and an abnormal state.
Optionally, the mode of determining the webpage state of the webpage based on the exception stack information and the page access information by the electronic device includes the following steps:
the first mode is as follows: and determining the ratio of the number of the abnormal stacks to the page access information as an abnormal index of the webpage.
The abnormal index is used for representing the webpage state of the webpage.
Specifically, the exception stack information of the web page includes: the number of the abnormal stacks of the webpage and the page access information of the webpage comprise: the page access amount. Therefore, the electronic device can determine the ratio of the number of the abnormal stacks to the page access amount as an abnormal index of the webpage, and determine the webpage state of the webpage according to the abnormal index.
Illustratively, when the number of exception stacks is 100, the page access amount is 1000, and the exception indicator threshold is 0.5, the electronic device determines the ratio of the number of exception stacks to the page access amount, that is, the exception indicator is 0.1. Since the abnormal index is 0.1 and less than the abnormal index threshold value 0.5, the electronic device determines that the webpage is in a normal state.
The second mode is as follows: and determining the webpage state of the webpage based on the page access amount and the abnormal stack type of the webpage.
Specifically, the exception stack information of the web page includes: the exception stack type of the webpage, the page access information of the webpage comprises: the page access amount. Accordingly, the electronic device may determine the web page state of the web page based on the page visit amount and the exception stack type of the web page.
Illustratively, when the page visit amount is greater than 1000 visit amounts in one hour and the exception stack type of the web page includes the target type, it is determined that the web page is in an exception state.
The third mode is as follows: and determining the webpage state of the webpage based on the IP address of the page access user and the abnormal stack type of the webpage.
Specifically, the exception stack information of the web page includes: the exception stack type of the webpage, the page access information of the webpage comprises: the page accesses the user's IP address. Accordingly, the electronic device may determine the web page state of the web page based on the IP address of the page access user and the exception stack type of the web page.
Illustratively, when the IP address of the page access user is an illegal address and the exception stack type of the web page includes a target type, it is determined that the web page is in an abnormal state.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S101 to S102, the electronic device may obtain the abnormal stack information and the page access information of the web page, and determine the web page state of the web page based on the abnormal stack information and the page access information, that is, determine whether the web page is in an abnormal state. Because the page access information is used for representing the access flow of the webpage, the electronic equipment can determine the webpage state of the webpage from two dimensions of the abnormal stack information and the page access information, the influence of the change of the page access information on the change of the abnormal stack information is reduced, the webpage state of the webpage can be measured more scientifically, and the accuracy of determining the webpage state of the webpage is improved.
In an embodiment, with reference to fig. 1, as shown in fig. 2, in the above step S102, when the exception stack information includes an exception stack number; when the page access information includes the page access amount, the method for determining the webpage state of the webpage by the electronic device based on the abnormal stack information and the page access information specifically includes:
s201, the electronic equipment determines the abnormal indexes of the webpage according to the number of the abnormal stacks and the page access amount.
The exception index is used for representing the weight of the exception stack number in the page access amount.
Specifically, when the exception stack information includes the number of exception stacks; when the page access information includes the page access amount, the method for determining the webpage state of the webpage by the electronic device based on the abnormal stack information and the page access information may specifically include: and the electronic equipment determines the abnormal index of the webpage according to the number of the abnormal stacks and the page access amount.
Optionally, the electronic device may determine a ratio of the number of exception stacks to the page access information as an exception indicator of the web page.
The abnormal index is used for representing the webpage state of the webpage.
Specifically, after the exception stack information and the page access information of the web page are obtained, the exception stack information of the web page includes: the number of the abnormal stacks of the webpage and the page access information of the webpage comprise: the page access amount. Therefore, the electronic device can determine the ratio of the number of the abnormal stacks to the page access amount as an abnormal index of the webpage, and determine the webpage state of the webpage according to the abnormal index.
Optionally, after the ratio of the number of the exception stacks to the page access amount is determined as the exception indicator of the web page, a bivariate analysis method may be used, and it is further proved by a mathematical method that the exception indicator may represent the web page state of the web page.
Bivariate analysis refers to finding a relationship between two variables. Bivariate analysis contains a combination of categorical and continuous variables: categorizing and classifying, categorizing and continuing, continuing and continuing. The analytical methods used in different combinations are different.
In the embodiment of the application, the number of the exception stacks and the page visit amount of the webpage are continuous and continuous combinations, so that the relationship between the number of the exception stacks and the page visit amount can be determined based on the scatter diagram. Therein, the relationship is divided into linear and non-linear.
Specifically, after the number of the abnormal stacks and the page visit volume of the webpage page are obtained, the positive correlation trend of the number of the abnormal stacks and the page visit volume can be preliminarily determined. In order to verify the result, the number of exception stacks and the page access amount at a plurality of times within a preset time period may be obtained.
After the number of abnormal stacks and the page visit volume at multiple moments within a preset time period are obtained, a scatter diagram can be constructed by taking the page visit volume as an X axis and the number of abnormal stacks as a Y axis. FIG. 3 shows a scatter plot at page visitation amounts of 0-500. As can be seen from FIG. 3, the number of exception stacks and the page accesses have a positive correlation trend.
The scatter plot shows the relationship of the two variables, but does not give the strength of the correlation. The embodiment of the application can find the strength of the relation by using the correlation coefficient. The correlation coefficient is between-1 and 1. Where-1 is used to denote the absolute linear negative correlation. 1 is used to denote an absolute linear positive correlation. 0 is used to indicate no correlation.
Simple correlation coefficients are also called correlation coefficients or linear correlation coefficients. Generally denoted by the letter r, to measure the linear relationship of two variables. Wherein the correlation coefficient r satisfies the following formula:
Figure BDA0003385517320000081
wherein X is the number of exception stacks, Y is the page visit amount, cov (X, Y) is the covariance of the number of exception stacks and the page visit amount, var [ X ] is the variance of the number of exception stacks, and var [ Y ] is the variance of the page visit amount.
S202, when the abnormal index is larger than the abnormal index threshold value, the electronic equipment determines that the webpage state is an abnormal state.
Illustratively, when the number of exception stacks is 100, the page access amount is 1000, and the exception indicator threshold is 0.5, the electronic device determines the ratio of the number of exception stacks to the page access amount, that is, the exception indicator is 0.1. Since the abnormal index is 0.1 and less than the abnormal index threshold value 0.5, the electronic device determines that the webpage is in a normal state.
S203, when the abnormal index is smaller than or equal to the abnormal index threshold value, the electronic equipment determines that the webpage state is a normal state.
Illustratively, when the number of exception stacks is 600, the page access amount is 1000, and the exception indicator threshold is 0.5, the electronic device determines the ratio of the number of exception stacks to the page access amount, i.e., the exception indicator is 0.6. Since the anomaly indicator is 0.6 greater than the anomaly indicator threshold value 0.5, the electronic device determines that the web page is in an abnormal state.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S201, after the exception stack information and the page access information of the web page are obtained, the exception stack information of the web page includes: the number of the abnormal stacks of the webpage and the page access information of the webpage comprise: the page access amount. Therefore, the electronic equipment can determine the abnormal indexes of the webpage according to the abnormal stack number and the page visit amount, and determine the webpage state of the webpage according to the abnormal indexes, so that the influence of the change of the page visit amount on the change of the abnormal stack number is reduced, the webpage state of the webpage is more scientifically measured, and the accuracy of determining the webpage state of the webpage is improved.
In an embodiment, with reference to fig. 2 and as shown in fig. 4, after the electronic device determines the abnormality index of the web page according to the number of abnormal stacks and the page access amount, the method for determining a web page state further includes:
s401, the electronic equipment obtains a plurality of abnormal indexes in a preset time period and displays a change curve graph of the plurality of abnormal indexes in the preset time period.
Specifically, in order to monitor abnormal dynamic of the web page within a preset time period, the electronic device may obtain a plurality of abnormal indicators within the preset time period, and display a change curve of the plurality of abnormal indicators within the preset time period.
Optionally, the preset time period may be a time period from a certain time before the current time to the current time, or may be a historical time period, which is not limited in this disclosure.
Optionally, after a plurality of abnormal indexes within a preset time period are acquired, the account may perform an index display operation. In this case, the electronic device may display a graph of changes in the plurality of abnormal indices over a preset time period in response to an index display operation performed by the account.
Alternatively, the index display operation may be a graph plotting operation performed on a plurality of abnormal indexes by a plotting software.
For example, as shown in fig. 5, after acquiring a plurality of abnormal indexes in a time period of 12:55-13:20, the operation and maintenance personnel may perform an index display operation on the abnormal indexes in the time period. Accordingly, the electronic device may display a graph of a change of the plurality of abnormal indexes over a preset time period in response to an index display operation performed by the account.
As can be seen from FIG. 5, the anomaly index of the web page is greater than or equal to 0.3 in the two minute time period of 13:06-13: 08. When the abnormal index threshold is 0.3, the webpage is in an abnormal state within a time period of 13:06-13:08 by clearly checking through the change graph.
The technical scheme provided by the embodiment at least has the following beneficial effects: in step S401, in order to monitor abnormal dynamic of the web page within the preset time period, the electronic device may obtain a plurality of abnormal indicators within the preset time period, and display a variation graph of the plurality of abnormal indicators within the preset time period. Therefore, a user can more intuitively view the abnormal moment of the webpage within the preset time period by changing the curve chart, and the user experience is enriched.
In an embodiment, with reference to fig. 2 and as shown in fig. 6, after the electronic device determines the abnormality index of the web page according to the number of abnormal stacks and the page access amount, the method for determining a web page state further includes:
and S601, when the numerical value of the abnormal index is larger than the abnormal index threshold value, the electronic equipment outputs alarm information.
The alarm information is used for prompting the abnormality of the webpage.
Specifically, the electronic device may further output alarm information when the value of the abnormal index is greater than the abnormal index threshold value, so that the user may find that the webpage is abnormal in time.
Optionally, the alarm information may be pop-up window information, a buzzing prompt tone, or other alarm information for prompting that the web page is abnormal, which is not limited by the present disclosure.
The technical scheme provided by the embodiment at least has the following beneficial effects: in step S601, the electronic device may further output alarm information when the value of the abnormal index is greater than the abnormal index threshold value, so that the user may find that the web page is abnormal in time, and user experience is enriched.
In an embodiment, as shown in fig. 7, in the above S101, a specific method for acquiring the exception stack information and the page access information of the webpage by the electronic device includes:
s701, the electronic equipment acquires log information of the webpage based on the service log monitoring tool.
Specifically, when the abnormal stack information and the page access information of the web page are obtained, the electronic device may obtain the log information of the web page based on the service log monitoring tool.
Optionally, the service log monitoring tool may be a send, or may be another service log monitoring tool, which is not limited in this disclosure.
S702, the electronic equipment acquires the abnormal stack information and the page access information from the log information.
Specifically, after obtaining log information of a web page, the electronic device may obtain exception stack information and page access information from the log information.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S701 to S702, when acquiring the abnormal stack information and the page access information of the web page, the electronic device may acquire the log information of the web page based on the service log monitoring tool, and quickly and accurately acquire the abnormal stack information and the page access information from the log information, so that the subsequent electronic device may determine the web page state of the web page from multiple dimensions according to the acquired abnormal stack information and page access information, thereby improving the accuracy of determining the page abnormality.
In an embodiment, with reference to fig. 1 and as shown in fig. 8, a method for acquiring exception stack information and page access information of a web page by an electronic device specifically includes:
s801, the electronic device acquires abnormal stack information and page access information from a database in which page information of a plurality of web pages is stored.
The page information of one webpage comprises abnormal stack information and page access information of one webpage; the database is a database in a columnar storage system or a database in a distributed storage system.
Specifically, after the electronic device acquires the abnormal stack information and the page access information, the abnormal index may not be determined in time. In this case, the electronic device may store the exception stack information and the page access information in a database. Subsequently, when the electronic device receives a request for determining the abnormal index, the electronic device may obtain the abnormal stack information and the page access information from the database in which the page information of the multiple web pages is stored.
Wherein, the database includes: clickwouse or hive data warehouse.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S801, after the electronic device acquires the abnormal stack information and the page access information, the abnormal indicator may not be determined in time. In this case, the electronic device may store the exception stack information and the page access information in a database. Subsequently, when the electronic device receives a request for determining the abnormal index, the electronic device can directly and quickly acquire the abnormal stack information and the page access information from the database, so that the efficiency of determining the webpage state is improved.
It is understood that, in practical implementation, the terminal/server according to the embodiments of the present disclosure may include one or more hardware structures and/or software modules for implementing the foregoing corresponding web page state determination method, and these hardware structures and/or software modules may constitute an electronic device. Those of skill in the art will readily appreciate that the present disclosure can be implemented in hardware or a combination of hardware and computer software for implementing the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Based on such understanding, the embodiment of the present disclosure further provides a web page status determining apparatus, which may be applied to a terminal. Fig. 9 shows a schematic structural diagram of a web page state determination apparatus provided in an embodiment of the present disclosure. As shown in fig. 9, the web page state determining means may include: an acquisition unit 901 and a processing unit 902;
an obtaining unit 901, configured to obtain exception stack information and page access information of a web page; the page access information is used for representing the access flow of the webpage;
the processing unit 902 is configured to determine a web page state of the web page based on the exception stack information and the page access information.
Optionally, the exception stack information includes an exception stack number; the page access information comprises page access amount; the processing unit 902 is specifically configured to:
determining an abnormal index of the webpage according to the number of the abnormal stacks and the page access amount; the exception indicator is used for representing the weight of the number of exception stacks in the page visit amount;
when the abnormal index is larger than the abnormal index threshold value, determining that the webpage state is an abnormal state;
and when the abnormal index is smaller than or equal to the abnormal index threshold value, determining that the webpage state is a normal state.
Optionally, the web page state determining apparatus further includes: a display unit 903;
the display unit 903 is configured to obtain a plurality of abnormal indexes in a preset time period, and display a change curve of the plurality of abnormal indexes in the preset time period.
Optionally, the web page state determining apparatus further includes: an output unit 904;
an output unit 904 for outputting alarm information when the abnormality index is larger than the abnormality index threshold value; the alarm information is used for prompting the abnormality of the webpage.
Optionally, the obtaining unit 901 is specifically configured to:
acquiring log information of a webpage based on a service log monitoring tool;
and acquiring exception stack information and page access information from the log information.
Optionally, the obtaining unit 901 is specifically configured to:
acquiring abnormal stack information and page access information from a database in which page information of a plurality of web pages is stored; the page information of a webpage comprises abnormal stack information and page access information of the webpage; the database is a database in a columnar storage system or a database in a distributed storage system.
Optionally, the exception stack information includes a plurality of types; the obtaining unit 901 is specifically configured to:
and acquiring preset types of abnormal stack information and page access information.
As described above, the embodiments of the present disclosure may perform division of functional modules on a server/terminal according to the above method examples. The integrated module can be realized in a hardware form, and can also be realized in a software functional module form. In addition, it should be further noted that the division of the modules in the embodiments of the present disclosure is schematic, and is only a logic function division, and there may be another division manner in actual implementation. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block.
Regarding the web page state determining apparatus in the foregoing embodiment, the specific manner in which each module executes the operation and the beneficial effects thereof have been described in detail in the foregoing method embodiment, and are not described herein again.
The embodiment of the disclosure also provides a terminal, which can be a user terminal such as a mobile phone, a computer and the like. Fig. 10 shows a schematic structural diagram of a terminal provided in an embodiment of the present disclosure. The terminal, which may be a web page status determining means, may comprise at least one processor 61, a communication bus 62, a memory 63 and at least one communication interface 64.
The processor 61 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present disclosure. As an example, in connection with fig. 9, the functions implemented by the acquisition unit 901 and the processing unit 902 in the terminal are the same as the functions implemented by the processor 61 in fig. 10.
The communication bus 62 may include a path that carries information between the aforementioned components.
The communication interface 64 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as a server, an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc. As an example, in connection with fig. 9, the output unit 904 in the terminal implements the same function as the communication interface 64 in fig. 10.
The memory 63 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit.
The memory 63 is used for storing application program codes for executing the disclosed solution, and is controlled by the processor 61. The processor 61 is configured to execute application program code stored in the memory 63 to implement the functions in the disclosed method.
In particular implementations, processor 61 may include one or more CPUs such as CPU0 and CPU1 in fig. 10, for example, as one embodiment.
In one embodiment, the web page status determination terminal may include a plurality of processors, such as the processor 61 and the processor 65 in fig. 10. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one embodiment, the web page status determination terminal may further include an input device 66 and an output device 67. The input device 66 communicates with the output device 67 and may accept user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device or a sensing device, and the like. The output device 67 is in communication with the processor 61 and may display information in a variety of ways. For example, the output device 61 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, or the like.
Those skilled in the art will appreciate that the configuration shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the disclosure also provides a server. Fig. 11 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure. The server may be a web page status determination device. The server, which may vary widely in configuration or performance, may include one or more processors 71 and one or more memories 72. At least one instruction is stored in the memory 72, and the at least one instruction is loaded and executed by the processor 71 to implement the method for determining a web page status provided by the above-mentioned method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which, when executed by a processor of a computer device, enable a computer to perform the web page state determination method provided by the above-described illustrated embodiment. For example, the computer readable storage medium may be a memory 63 comprising instructions executable by the processor 61 of the terminal to perform the above described method. Also for example, the computer readable storage medium may be a memory 72 comprising instructions executable by a processor 71 of the server to perform the above-described method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present disclosure also provides a computer program product, which includes computer instructions, and when the computer instructions are run on a terminal, the terminal is caused to execute the method for determining a status of a web page shown in any one of fig. 1 to 8.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for determining a web page state, comprising:
acquiring abnormal stack information and page access information of a webpage; the page access information is used for representing the access flow of the webpage;
and determining the webpage state of the webpage based on the abnormal stack information and the page access information.
2. The web page state determination method according to claim 1, wherein the exception stack information includes an exception stack number; the page access information comprises page access amount; determining a web page state of the web page based on the exception stack information and the page access information, including:
determining an abnormal index of the webpage according to the number of the abnormal stacks and the page visit amount; the exception indicator is used for representing the weight of the exception stack number in the page visit amount;
when the abnormal index is larger than an abnormal index threshold value, determining that the webpage state is an abnormal state;
and when the abnormal index is smaller than or equal to the abnormal index threshold value, determining that the webpage state is a normal state.
3. The method for determining a status of a web page according to claim 2, wherein after determining the anomaly indicator of the web page according to the number of anomaly stacks and the page access amount, the method further comprises:
the method comprises the steps of obtaining a plurality of abnormal indexes in a preset time period, and displaying a change curve graph of the abnormal indexes in the preset time period.
4. The method for determining a status of a web page according to claim 2, wherein after determining the anomaly indicator of the web page according to the number of anomaly stacks and the page access information, the method further comprises:
when the abnormal index is larger than the abnormal index threshold value, outputting alarm information; the alarm information is used for prompting that the webpage is abnormal.
5. The method for determining the state of the web page according to any one of claims 1 to 4, wherein the obtaining of the exception stack information and the page access information of the web page comprises:
acquiring log information of the webpage based on a service log monitoring tool;
and acquiring the exception stack information and the page access information from the log information.
6. The method for determining the state of the web page according to any one of claims 1 to 4, wherein the obtaining of the exception stack information and the page access information of the web page comprises:
acquiring the abnormal stack information and the page access information from a database in which page information of a plurality of web pages is stored; the page information of one webpage comprises the abnormal stack information and the page access information of the webpage; the database is a database in a column type storage system or a database in a distributed storage system.
7. A web page status determination apparatus, comprising: an acquisition unit and a processing unit;
the acquiring unit is used for acquiring the abnormal stack information and the page access information of the webpage; the page access information is used for representing the access flow of the webpage;
and the processing unit is used for determining the webpage state of the webpage based on the abnormal stack information and the page access information.
8. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the web page status determination method of any one of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the web page status determination method of any one of claims 1-6.
10. A computer program product comprising instructions that, when run on an electronic device, cause the electronic device to perform the web page status determination method of any of claims 1-6.
CN202111449798.4A 2021-11-30 2021-11-30 Webpage state determination method, device, equipment and storage medium Pending CN114168880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111449798.4A CN114168880A (en) 2021-11-30 2021-11-30 Webpage state determination method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111449798.4A CN114168880A (en) 2021-11-30 2021-11-30 Webpage state determination method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114168880A true CN114168880A (en) 2022-03-11

Family

ID=80482052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111449798.4A Pending CN114168880A (en) 2021-11-30 2021-11-30 Webpage state determination method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114168880A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106611023A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Detection method and device for website access exception
CN108471359A (en) * 2018-03-22 2018-08-31 政和科技股份有限公司 A kind of website visiting abnormality monitoring method, device and medium
CN110008100A (en) * 2019-03-08 2019-07-12 阿里巴巴集团控股有限公司 Method and device for web page access amount abnormality detection
CN110704771A (en) * 2018-06-22 2020-01-17 北京京东尚科信息技术有限公司 Page abnormity monitoring method, system, device, electronic equipment and readable medium
CN111556070A (en) * 2020-05-12 2020-08-18 广州鹄志信息咨询有限公司 Webpage abnormal access detection method and device
CN112054915A (en) * 2019-06-06 2020-12-08 阿里巴巴集团控股有限公司 Processing method, device and system for client abnormity early warning and computing equipment
CN113282436A (en) * 2021-05-21 2021-08-20 北京达佳互联信息技术有限公司 Event processing method, device, equipment and storage medium
CN113672453A (en) * 2021-07-27 2021-11-19 北京达佳互联信息技术有限公司 Display page monitoring method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106611023A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Detection method and device for website access exception
CN108471359A (en) * 2018-03-22 2018-08-31 政和科技股份有限公司 A kind of website visiting abnormality monitoring method, device and medium
CN110704771A (en) * 2018-06-22 2020-01-17 北京京东尚科信息技术有限公司 Page abnormity monitoring method, system, device, electronic equipment and readable medium
CN110008100A (en) * 2019-03-08 2019-07-12 阿里巴巴集团控股有限公司 Method and device for web page access amount abnormality detection
CN112054915A (en) * 2019-06-06 2020-12-08 阿里巴巴集团控股有限公司 Processing method, device and system for client abnormity early warning and computing equipment
CN111556070A (en) * 2020-05-12 2020-08-18 广州鹄志信息咨询有限公司 Webpage abnormal access detection method and device
CN113282436A (en) * 2021-05-21 2021-08-20 北京达佳互联信息技术有限公司 Event processing method, device, equipment and storage medium
CN113672453A (en) * 2021-07-27 2021-11-19 北京达佳互联信息技术有限公司 Display page monitoring method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20200358826A1 (en) Methods and apparatus to assess compliance of a virtual computing environment
EP3374864B1 (en) Performance monitoring in a distributed storage system
US11755769B2 (en) Differentially private query budget refunding
WO2019153487A1 (en) System performance measurement method and device, storage medium and server
CN108537399B (en) Method and device for predicting material demand
CN114138625A (en) Method and system for evaluating health state of server, electronic device and storage medium
CN110163457A (en) A kind of abnormal localization method and device of operational indicator
CN110059939A (en) A kind of risk checking method and device
JP2021508096A (en) Monitoring multiple system indicators
CN111967917B (en) Method and device for predicting user loss
Hoad et al. AutoSimOA: A framework for automated analysis of simulation output
Gupta et al. Long range dependence in cloud servers: a statistical analysis based on google workload trace
CN111897706A (en) Server performance prediction method, device, computer system and medium
CN113722177B (en) Timing index anomaly detection method, apparatus, system, device and storage medium
CN114202256A (en) Architecture upgrading early warning method and device, intelligent terminal and readable storage medium
CN108287876B (en) Power quality data service quality detection method and device supporting multiple formats
Zheng et al. Enhancing Model Fit Evaluation in SEM: Practical Tips for Optimizing Chi-Square Tests
Ghirana et al. Compliance requirements for dealing with risks and governance
CN114168880A (en) Webpage state determination method, device, equipment and storage medium
CN103095820B (en) A kind of method and device determining the terminal quantity of accession page
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
JP2008305229A (en) Demand forecast method and device
Guan et al. WattScope: Non-intrusive application-level power disaggregation in datacenters
CN113312559A (en) Contribution information determining method and device and electronic equipment
CN112131468A (en) Data processing method and device in recommendation system

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