CN116436810A - Webpage anomaly monitoring method and device, computer equipment and storage medium - Google Patents

Webpage anomaly monitoring method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN116436810A
CN116436810A CN202310263537.6A CN202310263537A CN116436810A CN 116436810 A CN116436810 A CN 116436810A CN 202310263537 A CN202310263537 A CN 202310263537A CN 116436810 A CN116436810 A CN 116436810A
Authority
CN
China
Prior art keywords
information
page
abnormal
alarm
abnormality
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
CN202310263537.6A
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.)
Du Xiaoman Technology Beijing Co Ltd
Original Assignee
Du Xiaoman Technology Beijing 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 Du Xiaoman Technology Beijing Co Ltd filed Critical Du Xiaoman Technology Beijing Co Ltd
Priority to CN202310263537.6A priority Critical patent/CN116436810A/en
Publication of CN116436810A publication Critical patent/CN116436810A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a webpage anomaly monitoring method, a webpage anomaly monitoring device, computer equipment and a storage medium. The method comprises the following steps: acquiring page abnormality information of a target type in a target webpage by adopting a preset capturing mode; generating alarm information according to the page anomaly information of the capturing mode, wherein the alarm information of the capturing mode comprises: checking address information of the page abnormality information in a capturing mode; sending alarm information to a responsible person of the capture mode target webpage, so that the capture mode responsible person can check the capture mode webpage abnormal information through the capture mode address information, and optimizing the capture mode target webpage according to the capture mode webpage abnormal information. The method and the device can accurately report the abnormal information of the webpage to the responsible person in time.

Description

Webpage anomaly monitoring method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for monitoring web page anomalies, a computer device, and a storage medium.
Background
A browser is a piece of software that displays HyperText markup-up Language (HTML) files in a web server or archive system and allows users to interact with such files. A browser is a client program that is often used by users.
The user browses the web page through the browser to acquire the network information, but if the script in the web page is abnormal, the browser cannot load the complete web page. In the prior art, the method for maintaining the webpage by the webpage maintainer comprises the steps that the user feeds back the problem to the webpage maintainer, but the user cannot directly contact with the webpage maintainer, so that the problem is fed back not timely, and in addition, even if the user contacts with the webpage maintainer, the webpage maintainer can position the problem according to the description of the user on the problem, but the user has limited knowledge of the webpage, so that the webpage maintainer cannot accurately position the problem according to the description of the user. Resulting in lower real-time and accuracy of web page maintenance.
Disclosure of Invention
In order to overcome the defects of the prior art, the method, the device, the computer equipment and the storage medium for monitoring the webpage abnormality are provided, so that webpage abnormality information can be accurately and timely reported to a responsible person.
In order to achieve the above purpose, the technical scheme adopted in the application is as follows:
in a first aspect, the present application provides a method for monitoring web page anomalies, where the method includes:
acquiring page abnormality information of a target type in a target webpage by adopting a preset capturing mode;
generating alarm information according to the page abnormality information, wherein the alarm information comprises: checking address information of the page abnormality information;
sending alarm information to a responsible person of the target webpage, so that the responsible person can check the page abnormality information through the address information, and optimizing the target webpage according to the page abnormality information.
In a possible implementation manner, before the acquiring the page anomaly information of the target type in the target webpage by adopting the preset capturing manner, the method further includes:
and determining a plurality of corresponding capturing modes aiming at the page abnormality information of a plurality of types.
In one possible implementation manner, the generating alarm information according to the page abnormality information includes:
determining an alarm grade according to the grade corresponding to the target webpage;
generating the alarm information according to the page abnormality information and the alarm level, wherein the alarm information comprises: and checking the page abnormality information and the address information of the alarm level.
In a possible implementation manner, after the acquiring the page exception information of the target type in the target web page by adopting a preset capturing manner, the method further includes:
acquiring abnormal environment information when the target webpage is abnormal;
the generating alarm information according to the page abnormality information comprises the following steps:
generating the alarm information according to the page abnormal information and the abnormal environment information, wherein the alarm information comprises: and checking address information of the page abnormal information and the abnormal environment information.
In a possible implementation manner, after the acquiring the page exception information of the target type in the target web page by adopting a preset capturing manner, the method further includes:
judging whether the page abnormality information meets a preset abnormality condition or not;
the generating alarm information according to the page abnormality information comprises the following steps:
and if the page abnormal information meets the preset abnormal condition, generating alarm information according to the page abnormal information.
In one possible implementation manner, the generating alarm information according to the page abnormality information includes:
generating an abnormal information mark according to the page abnormal information;
and generating the alarm information according to the abnormal information identifier.
In one possible implementation, the method further includes:
and storing the page abnormal information, the alarm level corresponding to the page abnormal information, the abnormal environment information and the abnormal information identification.
In a second aspect, an embodiment of the present application further provides a device for monitoring web page abnormality, where the device includes:
the abnormal information acquisition module is used for acquiring page abnormal information of a target type in a target webpage by adopting a preset capturing mode;
the alarm information generation module is used for generating alarm information according to the page abnormal information, and the alarm information comprises: checking address information of the page abnormality information;
and the alarm information sending module is used for sending alarm information to the responsible person of the target webpage so that the responsible person can check the abnormal page information through the address information and optimize the target webpage according to the abnormal page information.
In one possible implementation manner, before the abnormal information acquisition module, the apparatus further includes:
the capturing mode determining module is used for determining a plurality of corresponding capturing modes aiming at various types of page abnormal information.
In one possible implementation manner, the alarm information generating module includes:
the alarm grade determining unit is used for determining an alarm grade according to the grade corresponding to the target webpage;
the alarm information generating unit is used for generating the alarm information according to the page abnormal information and the alarm grade, and the alarm information comprises: and checking the page abnormality information and the address information of the alarm level.
In one possible implementation manner, after the abnormal information acquisition module, the apparatus further includes:
the abnormal environment information acquisition module is used for acquiring abnormal environment information when the target webpage is abnormal;
the alarm information generating module is specifically configured to generate the alarm information according to the page abnormal information and the abnormal environment information, where the alarm information includes: and checking address information of the page abnormal information and the abnormal environment information.
In one possible implementation manner, after the abnormal information acquisition module, the apparatus further includes:
the abnormal condition judging module is used for judging whether the page abnormal information meets a preset abnormal condition or not;
the alarm information generation module is specifically configured to generate alarm information according to the page abnormal information if the page abnormal information meets the preset abnormal condition.
In one possible implementation manner, the alarm information generating module includes:
the abnormal information identification generating unit is used for generating an abnormal information identification according to the page abnormal information;
the alarm information generation module is further used for generating the alarm information according to the abnormal information identification.
In one possible implementation, the apparatus further includes:
the storage module is used for storing the page abnormal information, the alarm level corresponding to the page abnormal information, the abnormal environment information and the abnormal information identification.
In a third aspect, embodiments of the present application further provide a computer device, including: a processor, a storage medium and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating over the bus when the computer device is running, the processor executing the program instructions to perform the steps of the web page anomaly monitoring method as claimed in any one of the first aspect.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the web page anomaly monitoring method according to any one of the first aspect.
The web page abnormality monitoring method, the web page abnormality monitoring device, the computer equipment and the storage medium have the following advantages:
the application provides a webpage anomaly monitoring method, a webpage anomaly monitoring device, computer equipment and a storage medium, which aim at different types of webpage anomaly information, capture by adopting different capturing modes, and can ensure that all novel webpage anomalies are captured, and avoid partial types of anomalies from being missed due to single capturing mode. In addition, alarming information is sent to a responsible person, an alarming link is shortened, real-time reporting is achieved, abnormality can be timely found and processed, and the use feeling of a user is improved.
Drawings
Fig. 1 is a schematic structural diagram of a web page anomaly monitoring system provided in the present application;
FIG. 2 is a flowchart illustrating a first embodiment of a method for monitoring web page anomalies provided in the present application;
FIG. 3 is a flowchart illustrating a second embodiment of a web page anomaly monitoring method provided in the present application;
FIG. 4 is a flowchart illustrating a third embodiment of a web page anomaly monitoring method provided in the present application;
FIG. 5 is a schematic diagram illustrating a configuration of an embodiment of a web page anomaly monitoring device provided in the present application;
fig. 6 is a schematic diagram of a computer device provided in the present application.
Detailed Description
For a clearer understanding of technical features, objects, and effects of the present application, a detailed description of specific embodiments of the present application will be made with reference to the accompanying drawings.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments, and all other embodiments obtained by those skilled in the art without making creative efforts based on the embodiments of the present application are all within the scope of protection of the present application.
Before describing the web page abnormality monitoring method provided in the embodiment of the present application, for convenience of understanding, a web page abnormality monitoring system applied in the present application will be described.
Fig. 1 is a schematic structural diagram of a web page abnormality monitoring system provided in the present application, as shown in fig. 1, the web page abnormality monitoring system includes: a browser client 11, a server 12 and a rain platform 13.
The browser client 11 is in communication connection with the server 12, and a user can access a target webpage through the address of the target webpage input by the browser client 11, and a software tool development kit (Software Development Kit, SDK) with a preset capturing mode is pre-accessed into the target webpage to capture an anomaly in the target webpage, generate page anomaly information and send the page anomaly information to the server 12.
The server 12 is used as the rear end of the timely rain platform, can generate alarm information according to the page abnormality information, sends the alarm information to a responsible person corresponding to the target webpage, displays the page abnormality information on the timely rain platform 13, and the timely rain platform 13 can collect all the page abnormality information.
It should be noted that, the browser client 11, the server 12 and the rain platform 13 may belong to the same computer device, or may belong to different computer devices.
Fig. 2 is a flowchart of a first embodiment of a web page anomaly monitoring method provided in the present application, and as shown in fig. 2, the method may include:
s10: and acquiring page abnormality information of the target type in the target webpage by adopting a preset capturing mode.
Specifically, the target webpage is a webpage accessed by a user through a browser client, the webpage is a webpage developed by a developer aiming at the accepting project, the user accesses the target webpage through the browser client, an operation request is sent to a server through operation on the target webpage, the server returns an operation result to the user according to the operation request, and the operation result is rendered and displayed on the browser client.
However, when the server cannot respond to the operation request, it is determined that the target webpage is abnormal, and the abnormality generated by the target webpage needs to be captured to acquire page abnormality information.
The method for capturing the page abnormality information can be that before the target webpage is online, an SDK corresponding to a preset capturing mode is accessed into the target webpage, after the target webpage is online, a user inputs operation through a target network, and if the abnormal capturing SDK identifies that the webpage is abnormal, page abnormality information is captured.
In some embodiments, different types of anomalies may occur in the target web page, and different capturing modes are required to obtain the page anomaly information for the different types of anomalies.
Specifically, according to the target type of the abnormal target webpage, determining a capturing mode corresponding to the target type, and acquiring the webpage abnormal information of the target network according to the capturing mode.
In a possible implementation manner, before the step S10 of acquiring the page anomaly information of the target type in the target web page by adopting a preset capturing manner, the method further includes:
and determining a plurality of corresponding capturing modes aiming at the page abnormality information of a plurality of types.
Specifically, for multiple types of page abnormality information existing in the web page, determining a corresponding capturing mode for each type of abnormality in advance, so as to obtain the page abnormality information of the target type according to the capturing mode corresponding to the abnormality of the target type when the abnormality of the target type occurs in the target web page.
By way of example, the various types of anomalies that exist in a network include: js operation abnormality, resource loading abnormality, response (promise) type abnormality, vue abnormality and the like, wherein the js operation abnormality is generally abnormality of a third party data packet and can be captured by a window. Onerror capturing mode; the resource loading exception can be captured by monitoring an error capturing mode; a reply (promiscuous) type exception may be captured by listening to the unhandledrejet capture mode; vue anomalies can be captured using a vue.config.error handler capture approach.
The page abnormality information of js operation abnormality is sent in js file, js file is file with js as extension, and is written in javescript script language.
By capturing by adopting different capturing modes aiming at different types of anomalies, the novel type of all page anomalies can be ensured to be captured, and partial types of anomalies are prevented from being missed due to single capturing mode.
S20: generating alarm information according to the page abnormality information, wherein the alarm information comprises: and checking address information of the page abnormality information.
In this embodiment, after the target webpage captures the page abnormality information through the abnormality capture SDK, the page abnormality information is sent to the server, the server generates alarm information according to the page abnormality information, and the alarm information carries address information corresponding to the page abnormality information.
S30: sending alarm information to a responsible person of the target webpage so that the responsible person can check the abnormal information of the webpage through the address information and optimize the target webpage according to the abnormal information of the webpage.
In this embodiment, the server determines, according to the receiving item corresponding to the target webpage, a responsible person corresponding to the receiving item, where the responsible person may be a developer of the target webpage or a maintainer of the target webpage.
The server sends alarm information to the responsible person according to the communication address of the responsible person, and after the responsible person receives the alarm information, the responsible person checks detailed page abnormality information by accessing the address information, and optimizes the abnormality problem of the target webpage according to the page abnormality information.
For example, all participants of the receiving item corresponding to the target webpage perform work communication through a communication group in preset communication software, after determining a responsible person of the target webpage, the server sends alarm information to the communication group, so that the responsible person checks the alarm information after receiving the group message, and checks page abnormality information by accessing address information in the alarm information.
By directly sending the alarm information in the communication group, the alarm time can be greatly shortened, and the real-time reporting of the page abnormal information is realized.
In some embodiments, the server is deployed on a server for the rain platform, the server serves as the back end of the rain platform, is used for sending alarm information to group personnel in the communication group based on the send service, and displays the alarm information in the rain platform.
According to the webpage anomaly monitoring method provided by the embodiment, aiming at different types of webpage anomaly information, different capturing modes are adopted for capturing, so that all novel webpage anomalies can be ensured to be captured, and partial types of anomalies are prevented from being missed due to the single capturing mode. In addition, alarming information is sent to a responsible person, an alarming link is shortened, real-time reporting is achieved, abnormality can be timely found and processed, and the use feeling of a user is improved.
One possible implementation of generating alarm information is described below in connection with fig. 3.
Fig. 3 is a flow chart of a second embodiment of the web page anomaly monitoring method provided in the present application, as shown in fig. 3, a process of generating alarm information according to the web page anomaly information in S20 may include:
s21: and determining the alarm grade according to the grade corresponding to the target webpage.
Specifically, alarm information with different grades is generated aiming at different page abnormality information, so that page abnormality information with higher emergency degree can be ensured to be processed more quickly.
In some embodiments, the emergency degree of the different types of page abnormality information can be determined according to the influence degree of the page abnormality information on the operation of the target webpage, and different alarm levels can be determined according to the emergency degree of the different types of page abnormality information.
After the page abnormality information of the target type is acquired by adopting a preset capturing mode, determining the emergency degree of the page abnormality information, and determining the corresponding alarm level according to the emergency degree of the page abnormality information.
In other embodiments, the level of different web pages may be determined based on the importance of the different web pages, and the level of different alarms may be determined based on the level of different web pages.
After the page abnormality information of the target type is acquired by adopting a preset capturing mode, determining the grade of the target webpage, and determining the corresponding alarm grade according to the grade of the target webpage.
The importance degree and the grade of the web page can be determined according to the grade of the receiving item corresponding to the web page.
S22: generating alarm information according to the page abnormality information and the alarm level, wherein the alarm information comprises: and checking page abnormality information and address information of alarm levels.
In this embodiment, different types of alarm information may be generated for page anomaly information of different alarm levels, where the alarm information includes: and checking the page abnormality information and the address information of the alarm level, and checking the page abnormality information and the alarm level of the page abnormality information by accessing the address information.
In some embodiments, the sending modes of the alarm information with different alarm levels are different, for example, for the page abnormality information with a lower alarm level, the sending mode of mail can be adopted to send the alarm information to the mailbox of the responsible person, and the responsible person accesses the address information in the alarm information by checking the alarm information in the mailbox so as to check the page abnormality information and the alarm level of the page abnormality information. Aiming at the page abnormality information with higher alarm level, the alarm information can be sent to the responsible person in the communication group, and the responsible person accesses the address information in the alarm information by checking the alarm information in the communication group so as to check the page abnormality information and the alarm level of the page abnormality information.
According to the webpage anomaly monitoring method provided by the embodiment, the alarm level is determined according to the level of the target webpage, so that a responsible person can determine the processing sequence of the webpage anomaly information according to the alarm level of the webpage anomaly information, the sensitivity to the webpage anomaly information is enhanced, and the webpage anomaly information of the core webpage is processed in time.
In a possible implementation manner, after the step S10 of obtaining the page exception information of the target type in the target web page by adopting a preset capturing manner, the method may further include:
and acquiring abnormal environment information when the target webpage is abnormal.
Specifically, the environment information is an environment in which the target web page is located at the runtime, and the environment information may include at least one of development environment information, joint debugging environment information, qa environment information, and online environment information.
When the target webpage is abnormal, abnormal environment information corresponding to the target webpage is obtained, the abnormal environment information is represented by an environment variable env, and the reason of the abnormality of the target webpage can be better analyzed according to the abnormal environment information, so that the webpage abnormality can be processed more quickly.
The step S20 of generating alarm information according to the page abnormality information may include:
generating alarm information according to the page abnormal information and the abnormal environment information, wherein the alarm information comprises: and checking address information of the page abnormality information and the abnormality environment information.
Specifically, after the page abnormal information and the abnormal environment information are acquired, the acquired page abnormal information and the abnormal environment information are stored in a server, storage addresses of the acquired page abnormal information and the abnormal environment information are determined, alarm information is generated according to the storage addresses, and a responsible person views the page abnormal information and the abnormal environment information by accessing the storage addresses carried in the alarm information.
According to the webpage anomaly monitoring method provided by the embodiment, the anomaly environment information of the target webpage when the anomaly occurs is obtained, so that a responsible person can better analyze the reason of the anomaly of the target webpage according to the anomaly environment information, and the webpage anomaly can be processed more quickly.
In a possible implementation manner, after the step S10 of obtaining the page exception information of the target type in the target web page by adopting a preset capturing manner, the method may further include:
judging whether the page abnormality information meets the preset abnormality condition.
The step S20 of generating alarm information according to the page abnormality information may include:
if the page abnormality information meets the preset abnormality condition, generating alarm information according to the page abnormality information.
In this embodiment, when an abnormality occurs in the target web page, the reason for the abnormality is irrelevant to the design of the target web page itself, and no responsible person is required to process the page abnormality information corresponding to the abnormality, so that no alarm may be given.
Specifically, a preset abnormal condition is set for the page abnormal information, the preset abnormal condition is used for filtering the page abnormal information irrelevant to the design of the target webpage, and alarm information is generated only for the page abnormal information meeting the preset abnormal condition.
In some embodiments, the preset exception condition may be a preset exception instruction, and regularized matching is performed on the page exception information and the preset exception instruction, so as to filter page exception information that does not satisfy the preset exception instruction.
For example, the page abnormality information unrelated to the design of the target webpage may be information that an abnormality occurs in the data packet of the introduced third party, and the page abnormality information needs to be maintained on the data packet by the third party.
In some embodiments, filtering aging is set for page anomaly information unrelated to the design of the target webpage, and after the filtering aging is achieved, whether the page anomaly information is still present is re-detected to determine whether a third party completes processing for anomalies in the data packet.
According to the webpage anomaly monitoring method provided by the embodiment, whether the page anomaly information meets the preset anomaly condition is judged, and the alarm information is generated only for the page anomaly information meeting the preset anomaly condition, so that the alarm accuracy is improved.
One possible implementation of generating alarm information is described below in connection with fig. 4.
Fig. 4 is a flowchart of a third embodiment of the web page anomaly monitoring method provided in the present application, as shown in fig. 4, a process of generating alarm information according to the web page anomaly information in S20 may include:
s23: and generating an abnormal information mark according to the page abnormal information.
S24: and generating alarm information according to the abnormal information identification.
In this embodiment, according to the page anomaly information reported by the target web page, an anomaly information identifier is generated for each page anomaly information, the anomaly information identifier is used for indicating all stored page anomaly information, alarm information is generated according to the anomaly information identifier, and after receiving the alarm information, a responsible person can check the page anomaly information according to the anomaly information identifier.
In some embodiments, an anomaly information detail page may be generated for the page anomaly information, the anomaly information detail page including the entire content of the page anomaly information, the anomaly information identification may indicate the anomaly information detail page, and the page anomaly information in the anomaly information detail page may be viewed through the anomaly information identification.
For example, the anomaly information detail page may include: page anomaly information, alarm level, anomaly environment information, target webpage identification (pageID), responsible person and the like.
In one possible implementation manner, page abnormality information, an alarm level corresponding to the page abnormality information, abnormality environment information and an abnormality information identifier may be stored, so that the page abnormality information, the alarm level corresponding to the page abnormality information, the abnormality environment information and the abnormality information identifier may be checked by accessing the storage address through the address information. The page exception information may be, for example, an html file, js file, css file, or a picture, which is not limited in this embodiment. css files are files with css as extension, and are specially used for adding styles for html.
In some embodiments, the abnormal information detail page also displays UA information, where UA is a special string header, so that the server can identify an operating system and version, a CPU type, a browser and version, a browser rendering engine, a browser language, a browser plug-in, and the like used by the computer device where the browser client is located.
On the basis of the webpage anomaly monitoring method, the embodiment of the application also provides a webpage anomaly monitoring device. Fig. 5 is a schematic structural diagram of an embodiment of a web page anomaly monitoring device provided in the present application, as shown in fig. 5, the device includes:
the abnormal information acquisition module 10 is used for acquiring page abnormal information of a target type in a target webpage by adopting a preset capturing mode;
the alarm information generating module 20 is configured to generate alarm information according to the page anomaly information, where the alarm information includes: checking address information of page abnormality information;
the alarm information sending module 30 is configured to send alarm information to a responsible party of the target webpage, so that the responsible party views the abnormal page information through the address information, and optimizes the target webpage according to the abnormal page information.
In one possible implementation, before the abnormal information acquisition module 10, the apparatus further includes:
the capturing mode determining module is used for determining a plurality of corresponding capturing modes aiming at various types of page abnormal information.
In one possible implementation, the alarm information generating module 20 includes:
the alarm grade determining unit is used for determining an alarm grade according to the grade corresponding to the target webpage;
the alarm information generating unit is used for generating alarm information according to the page abnormal information and the alarm level, and the alarm information comprises: and checking page abnormality information and address information of alarm levels.
In one possible implementation, after the abnormal information acquisition module 10, the apparatus further includes:
the abnormal environment information acquisition module is used for acquiring abnormal environment information when the target webpage is abnormal;
the alarm information generating module 20 is specifically configured to generate alarm information according to the page abnormal information and the abnormal environment information, where the alarm information includes: and checking address information of the page abnormality information and the abnormality environment information.
In one possible implementation, after the abnormal information acquisition module 10, the apparatus further includes:
the abnormal condition judging module is used for judging whether the page abnormal information meets the preset abnormal condition;
the alarm information generating module 20 is specifically configured to generate alarm information according to the page abnormality information if the page abnormality information meets a preset abnormality condition.
In one possible implementation, the alarm information generating module 20 includes:
the abnormal information identification generating unit is used for generating an abnormal information identification according to the page abnormal information;
the alarm information generation module is also used for generating alarm information according to the abnormal information identification.
In one possible implementation, the apparatus further includes:
the storage module is used for storing the page abnormal information, the alarm level corresponding to the page abnormal information, the abnormal environment information and the abnormal information identification.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 6 is a schematic diagram of a computer device provided in the present application, as shown in fig. 6, the computer device 100 includes: processor 101, storage medium 102, and bus, storage medium 102 stores program instructions executable by processor 101, and when computer device 100 is running, processor 101 communicates with storage medium 102 via the bus, and processor 101 executes the program instructions to perform the steps of the method embodiments described above.
In a possible implementation manner, the embodiment of the application further provides a computer readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the embodiment of the method are executed.
While the application has been described with reference to a few specific embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the application. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the disclosure without departing from the scope thereof. Therefore, it is intended that the application not be limited to the particular embodiments disclosed, but that the application will include all embodiments falling within the scope of the appended claims.

Claims (10)

1. A web page anomaly monitoring method, the method comprising:
acquiring page abnormality information of a target type in a target webpage by adopting a preset capturing mode;
generating alarm information according to the page abnormality information, wherein the alarm information comprises: checking address information of the page abnormality information;
sending alarm information to a responsible person of the target webpage, so that the responsible person can check the page abnormality information through the address information, and optimizing the target webpage according to the page abnormality information.
2. The method of claim 1, wherein before the acquiring the page anomaly information of the target type in the target web page by using the preset capturing method, the method further comprises:
and determining a plurality of corresponding capturing modes aiming at the page abnormality information of a plurality of types.
3. The method of claim 1, wherein generating the alert information based on the page anomaly information comprises:
determining an alarm grade according to the grade corresponding to the target webpage;
generating the alarm information according to the page abnormality information and the alarm level, wherein the alarm information comprises: and checking the page abnormality information and the address information of the alarm level.
4. The method of claim 1, wherein after the acquiring the page exception information of the target type in the target web page by using the preset capturing method, the method further comprises:
acquiring abnormal environment information when the target webpage is abnormal;
the generating alarm information according to the page abnormality information comprises the following steps:
generating the alarm information according to the page abnormal information and the abnormal environment information, wherein the alarm information comprises: and checking address information of the page abnormal information and the abnormal environment information.
5. The method of claim 1, wherein after the acquiring the page exception information of the target type in the target web page by using the preset capturing method, the method further comprises:
judging whether the page abnormality information meets a preset abnormality condition or not;
the generating alarm information according to the page abnormality information comprises the following steps:
and if the page abnormal information meets the preset abnormal condition, generating alarm information according to the page abnormal information.
6. The method of claim 1, wherein generating the alert information based on the page anomaly information comprises:
generating an abnormal information mark according to the page abnormal information;
and generating the alarm information according to the abnormal information identifier.
7. The method of any one of claims 1-6, wherein the method further comprises:
and storing the page abnormal information, the alarm level corresponding to the page abnormal information, the abnormal environment information and the abnormal information identification.
8. A web page anomaly monitoring device, the device comprising:
the abnormal information acquisition module is used for acquiring page abnormal information of a target type in a target webpage by adopting a preset capturing mode;
the alarm information generation module is used for generating alarm information according to the page abnormal information, and the alarm information comprises: checking address information of the page abnormality information;
and the alarm information sending module is used for sending alarm information to the responsible person of the target webpage so that the responsible person can check the abnormal page information through the address information and optimize the target webpage according to the abnormal page information.
9. A computer device, comprising: a processor, a storage medium, and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating over the bus when the computer device is running, the processor executing the program instructions to perform the steps of the web page anomaly monitoring method according to any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the web page anomaly monitoring method according to any one of claims 1 to 7.
CN202310263537.6A 2023-03-10 2023-03-10 Webpage anomaly monitoring method and device, computer equipment and storage medium Pending CN116436810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310263537.6A CN116436810A (en) 2023-03-10 2023-03-10 Webpage anomaly monitoring method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310263537.6A CN116436810A (en) 2023-03-10 2023-03-10 Webpage anomaly monitoring method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116436810A true CN116436810A (en) 2023-07-14

Family

ID=87086386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310263537.6A Pending CN116436810A (en) 2023-03-10 2023-03-10 Webpage anomaly monitoring method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116436810A (en)

Similar Documents

Publication Publication Date Title
CN108595304B (en) Webpage monitoring method and device
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN114301673A (en) Vulnerability detection method and device, electronic equipment and storage medium
US7908361B2 (en) Computer maintenance support system and analysis server
CN113064762B (en) Service self-recovery method based on various detection
CN109933533B (en) Visual data testing method, device and equipment and readable storage medium
CN106571975B (en) Fault tolerance method and device for communication data
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN111506470A (en) Browser error detection and alarm method, device, equipment and storage medium
CN110231921B (en) Log printing method, device, equipment and computer readable storage medium
CN112306871A (en) Data processing method, device, equipment and storage medium
CN116436810A (en) Webpage anomaly monitoring method and device, computer equipment and storage medium
CN115514677A (en) Server dial testing method and system
CN115344490A (en) Method and device for testing software product, storage medium and electronic equipment
CN112446030B (en) Method and device for detecting file uploading vulnerability of webpage end
CN114338347A (en) Ampere platform-based fault information out-of-band acquisition method and device
CN107861842B (en) Metadata damage detection method, system, equipment and storage medium
CN112416698B (en) Expansion method and device of monitoring system, storage medium and electronic equipment
CN112527606A (en) Data flow analysis method and device, computer equipment and storage medium
CN110362464B (en) Software analysis method and equipment
CN112671615A (en) Method, system and storage medium for collecting operation behavior data of front-end user
CN111107080A (en) Error information pushing method, device, equipment and readable storage medium
CN113986603B (en) Method and device for determining page loading abnormity reason and storage medium
CN113127317B (en) Log acquisition processing method, system, device and storage medium
CN112351090B (en) Log information transmission method and device based on intelligent large screen 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