CN114996103A - Page abnormity detection method and device, electronic equipment and storage medium - Google Patents

Page abnormity detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114996103A
CN114996103A CN202210924403.XA CN202210924403A CN114996103A CN 114996103 A CN114996103 A CN 114996103A CN 202210924403 A CN202210924403 A CN 202210924403A CN 114996103 A CN114996103 A CN 114996103A
Authority
CN
China
Prior art keywords
target page
page
image
abnormal
time
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
CN202210924403.XA
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210924403.XA priority Critical patent/CN114996103A/en
Publication of CN114996103A publication Critical patent/CN114996103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/761Proximity, similarity or dissimilarity measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a page abnormity detection method, a page abnormity detection device, electronic equipment and a storage medium, wherein the page abnormity detection method comprises the following steps: acquiring abnormal monitoring configuration information aiming at a target page; determining a monitoring type of a target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type; acquiring access data of a target page; determining data related to the monitoring type from the access data of the target page, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment; and judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment. The method and the device can automatically detect the abnormity of the page and automatically judge whether the page is abnormal or not.

Description

Page abnormity detection method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for detecting a page anomaly, an electronic device, and a storage medium.
Background
Currently, the UI layer problem is much larger than the interface layer due to the uncontrollable nature of user input, complexity of backend data, network, etc., and is most noticeable to the user. The pages need to be monitored.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for detecting a page anomaly, an electronic device, and a storage medium, which are used to automatically detect a page anomaly and automatically determine whether a page is anomalous, where the present application can at least automatically detect whether a dynamic display of a target page is anomalous.
In a first aspect, the present application provides a method for detecting page anomalies, where the method includes:
acquiring abnormal monitoring configuration information aiming at a target page;
determining a monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type;
acquiring access data of a target page;
determining data related to the monitoring type from the access data of the target page, and using the data as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment, and the second moment is after the first moment;
and judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment.
In the application, the monitoring type of the target page can be determined based on the abnormal monitoring configuration information of the target page by acquiring the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring access data of a target page, data related to the monitoring type can be determined from the access data of the target page and used as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time, and whether the dynamic display of the target page is abnormal can be judged based on the image of the target page at the first time and the image of the target page at the second time.
In an optional embodiment, the determining whether the dynamic display of the target page is abnormal based on the image of the target page at the first time and the image of the target page at the second time includes:
identifying an image of the target page at a first moment and obtaining a first image characteristic;
identifying an image of the target page at a second moment and obtaining a second image characteristic;
calculating to obtain the similarity between the image of the target page at the first moment and the image of the target page at the second moment based on the first image characteristic and the second image characteristic;
and judging whether the dynamic display of the target page is abnormal or not based on the similarity.
In this optional embodiment, by identifying the image of the target page at the first time and obtaining the first image feature and identifying the image of the target page at the second time and obtaining the second image feature, the similarity between the image of the target page at the first time and the image of the target page at the second time can be calculated and obtained based on the first image feature and the second image feature, and whether the dynamic display of the target page is abnormal can be determined based on the similarity.
In an optional embodiment, the determining whether the dynamic display of the target page is abnormal based on the similarity includes:
comparing the similarity with an alarm threshold;
and when the similarity is larger than or equal to the alarm threshold, determining that the dynamic display of the target page is abnormal.
In this optional embodiment, by comparing the similarity with an alarm threshold, it can be determined that the dynamic display of the target page is abnormal when the similarity is greater than or equal to the alarm threshold.
In an optional embodiment, before the comparing the similarity with an alarm threshold, the method further comprises:
acquiring the similarity of a plurality of historical moments;
determining the alarm threshold based on the similarity of the plurality of historical moments.
In this optional embodiment, by obtaining the similarities of a plurality of historical moments, the alarm threshold may be further determined based on the similarities of the plurality of historical moments.
In an optional embodiment, after the determining whether the dynamic display of the target page is abnormal based on the image of the target page at the first time and the image of the target page at the second time, the method further includes:
when the dynamic display of the target page is abnormal, generating an abnormal alarm of the target page;
acquiring owner information of the target page;
and sending the abnormal alarm to the owner of the target page based on the owner information of the target page.
In this optional embodiment, by acquiring the owner information of the target page, the abnormal alarm can be sent to the owner of the target page based on the owner information of the target page.
In an alternative embodiment, the method further comprises:
judging whether the abnormal alarm is invalid;
and when the abnormal alarm is an invalid alarm, modifying the alarm threshold.
In this optional embodiment, by determining whether the abnormal alarm is an invalid alarm, the alarm threshold may be modified when the abnormal alarm is an invalid alarm, so as to adjust the alarm threshold, thereby improving the alarm efficiency.
In an optional embodiment, the owner information of the target page comprises mail information and a contact telephone.
In the optional embodiment, the owner of the target page can be notified by mail or short message or telephone through the mail information and the contact telephone of the owner.
In a second aspect, the present application provides a page anomaly detection apparatus, including:
the first acquisition module is used for acquiring abnormal monitoring configuration information aiming at a target page;
the first determining module is used for determining the monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type;
the second acquisition module is used for acquiring the access data of the target page;
a second determining module, configured to determine, from the access data of the target page, data related to the monitoring type as first analysis data, where the first analysis data at least includes an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time;
and the judging module is used for judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment.
In the application, by acquiring the abnormal monitoring configuration information for the target page, the monitoring type of the target page can be determined based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring access data of a target page, data related to the monitoring type can be determined from the access data of the target page and used as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time, and whether the dynamic display of the target page is abnormal can be judged based on the image of the target page at the first time and the image of the target page at the second time.
In a third aspect, the present application provides an electronic device, comprising:
a processor; and
a memory configured to store machine readable instructions which, when executed by the processor, perform the page fault detection method of any preceding embodiment.
The electronic equipment can further acquire abnormal monitoring configuration information aiming at a target page by executing the page abnormal detection method, and further can determine the monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring access data of a target page, data related to the monitoring type can be determined from the access data of the target page and used as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time, and whether the dynamic display of the target page is abnormal can be judged based on the image of the target page at the first time and the image of the target page at the second time.
In a fourth aspect, the present application provides a storage medium storing a computer program, the computer program being executed by a processor to perform the page fault detection method according to any one of the preceding embodiments.
The storage medium of the application can further acquire abnormal monitoring configuration information for a target page by executing a page abnormal detection method, and further can determine a monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring access data of a target page, data related to the monitoring type can be determined from the access data of the target page and used as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time, and whether the dynamic display of the target page is abnormal can be judged based on the image of the target page at the first time and the image of the target page at the second time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a page anomaly detection method disclosed in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a page anomaly detection apparatus disclosed in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a page anomaly detection method disclosed in an embodiment of the present application, and as shown in fig. 1, the method in the embodiment of the present application includes the following steps:
101. acquiring abnormal monitoring configuration information aiming at a target page;
102. determining a monitoring type of a target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type;
103. acquiring access data of a target page;
104. determining data related to the monitoring type from the access data of the target page, and using the data as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment, and the second moment is after the first moment;
105. and judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment.
In the embodiment of the application, the monitoring type of the target page can be determined based on the abnormal monitoring configuration information of the target page by acquiring the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring the access data of the target page, the data related to the monitoring type can be determined from the access data of the target page and used as the first analysis data, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment, and the second moment is after the first moment, and further based on the image of the target page at the first moment and the image of the target page at the second moment, whether the dynamic display of the target page is abnormal can be judged.
In this embodiment of the application, for step 101, the target page refers to a page that needs to be monitored for an exception, for example, if an application has an a page and a B page, if the B page needs to be monitored for an exception, the B page is the target page.
In this embodiment of the application, for step 101, the number of the target pages may be one, or may be two or more, for example, when both the a page and the B page need to perform exception monitoring, both the a page and the B page are the target pages.
In this embodiment of the application, for step 101, a user may configure a page that needs to perform exception monitoring on a configuration interface, for example, one or more target pages may be added or deleted on the configuration interface. Further, through the configuration interface, the user may also set the abnormal monitoring configuration information of the target page, for example, set the monitoring name, the monitoring type, the page address of the target page, the element address index of the target page, the monitoring description information, and the application ID.
In this embodiment of the application, for step 102, since the user can set the monitoring type through the configuration interface, the monitoring type of the target page can be determined based on the abnormal monitoring configuration information of the target page. Further, the monitoring type includes a page dynamic monitoring type, where the page dynamic monitoring type indicates that dynamic display of the target page needs to be monitored, for example, in some scenarios, the target page may dynamically change with change of background data, and at this time, it needs to monitor whether the target page normally changes with change of the background data when the background data changes. For another example, in some scenarios, the target page may dynamically change with time, and at this time, it is necessary to monitor whether the target page dynamically changes with time.
In this embodiment of the application, for step 102, the monitoring types may further include a page performance monitoring type, a page loading exception monitoring type, a page data update period monitoring type, and a page element monitoring type, where the page performance monitoring type indicates that performance consumed by loading of the target page needs to be monitored, for example, CPU resources occupied when the target page is monitored. Further, the page loading abnormity monitoring type indicates whether the loading of the target page needs to be monitored normally, for example, whether the target page can call the third-party JS file is monitored. Further, the page data update period monitoring type indicates that the data update period of the page needs to be monitored, for example, the time interval during which the target page pulls data from the server is monitored. Further, the page element monitoring type indicates that whether the page element of the target page is normally loaded needs to be monitored, for example, the layout height, the width, and the style of the page element of the target page are monitored.
In this embodiment, for step 103, access data of the target page may be obtained by the buried point system, where a data capture program is preset in the code of the target page, and when the target page is accessed, the data capture program obtains data of the target page during the access based on a preset rule, and uploads the data of the target page during the access to the buried point system.
In this embodiment of the present application, for step 104, when the monitoring type is a page dynamic monitoring type, the data related to the monitoring type refers to an image of the target page at a first time and an image of the target page at a second time; when the monitoring type is a page performance monitoring type, the data related to the monitoring type refers to the utilization rate of the CPU.
In the embodiment of the present application, in step 105, since the second time is after the first time, it can be determined whether the dynamic display of the target page is abnormal or not by using the image of the target page at the first time and the image of the target page at the second time. For example, assuming that the image of the target page at the first time is image a, the image of the target page at the second time is image B, and the background data is changed at the second time, at this time, if image B is the same as or very similar to image a, it indicates that image B is not changed with respect to image a, that is, the target page is not dynamically changed along with the change of the background data, so that it may be determined that the dynamic display of the target page is abnormal.
In this embodiment, for step 105, the image of the target page at the first time may be obtained by capturing a picture of the target page at the first time, and the image of the target page at the second time may be obtained by capturing a picture of the target page at the second time.
In an alternative embodiment, the steps of: judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment, comprising the following substeps:
identifying an image of a target page at a first moment and obtaining a first image characteristic;
identifying an image of the target page at a second moment and obtaining a second image characteristic;
calculating to obtain the similarity between the image of the target page at the first moment and the image of the target page at the second moment based on the first image characteristic and the second image characteristic;
and judging whether the dynamic display of the target page is abnormal or not based on the similarity.
In this optional embodiment, by identifying the image of the target page at the first time and obtaining the first image feature and identifying the image of the target page at the second time and obtaining the second image feature, the similarity between the image of the target page at the first time and the image of the target page at the second time can be calculated and obtained based on the first image feature and the second image feature, and whether the dynamic display of the target page is abnormal can be determined based on the similarity.
In this optional embodiment, an image recognition model may be used to recognize an image of the target page at a first time and obtain the first image feature, where the image recognition model is obtained by training based on a page training sample, and accordingly, the image recognition model may be used to recognize an image of the target page at a second time and obtain the first image feature.
In an optional embodiment, the determining whether the dynamic display of the target page is abnormal based on the similarity includes:
comparing the similarity with an alarm threshold;
and when the similarity is larger than or equal to the alarm threshold, determining that the dynamic display of the target page is abnormal.
In this optional embodiment, by comparing the similarity with the alarm threshold, it can be determined that the dynamic display of the target page is abnormal when the similarity is greater than or equal to the alarm threshold.
In this optional embodiment, the alarm threshold may be 0.8 or 0.9. For example, when the similarity is 0.81 and the alarm threshold is 0.8, and at this time, the similarity is greater than the alarm threshold, it is determined that the dynamic display of the target page is abnormal.
In an alternative embodiment, in step: before comparing the similarity with the alarm threshold, the method of the embodiment of the application further comprises the following steps:
acquiring the similarity of a plurality of historical moments;
and determining an alarm threshold value based on the similarity of the plurality of historical moments.
In the optional embodiment, the alarm threshold can be determined based on the similarity of a plurality of historical moments by acquiring the similarity of the plurality of historical moments.
In an optional embodiment, after determining whether the dynamic display of the target page is abnormal based on the image of the target page at the first time and the image of the target page at the second time, the method further includes:
when the dynamic display of the target page is abnormal, generating an abnormal alarm of the target page;
acquiring owner information of a target page;
and sending the abnormal alarm to the owner of the target page based on the owner information of the target page.
In the optional embodiment, by acquiring the owner information of the target page, the exception alarm can be sent to the owner of the target page based on the owner information of the target page.
In an optional implementation manner, the method of the embodiment of the present application further includes:
judging whether the abnormal alarm is invalid;
and when the abnormal alarm is an invalid alarm, modifying the alarm threshold.
In the optional embodiment, by judging whether the abnormal alarm is invalid, the alarm threshold can be modified when the abnormal alarm is invalid, so that the alarm threshold is adjusted to improve the alarm efficiency.
In this optional embodiment, a specific way of determining whether the abnormal alarm is invalid is as follows: and acquiring an evaluation result of the artificial aiming at the abnormal alarm, and judging whether the abnormal alarm is invalid or not based on the evaluation result aiming at the abnormal alarm.
In this alternative embodiment, as an example, if the abnormal alarm is an invalid alarm, the alarm threshold may be modified from 0.8 to 0.9.
In an alternative embodiment, the owner information of the target page comprises mail information and contact telephone.
In the optional embodiment, the owner of the target page can be notified by mail or short message or telephone through the mail information and the contact telephone of the owner.
Example two
Referring to fig. 2, fig. 2 is a schematic structural diagram of a page anomaly detection apparatus disclosed in an embodiment of the present application, and as shown in fig. 2, the apparatus in the embodiment of the present application includes the following functional modules:
a first obtaining module 201, configured to obtain abnormal monitoring configuration information for a target page;
a first determining module 202, configured to determine a monitoring type of a target page based on abnormal monitoring configuration information of the target page, where the monitoring type of the target page at least includes a page dynamic monitoring type;
the second obtaining module 203 is configured to obtain access data of a target page;
a second determining module 204, configured to determine, from the access data of the target page, data related to the monitoring type as first analysis data, where the first analysis data at least includes an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time;
the determining module 205 is configured to determine whether the dynamic display of the target page is abnormal based on the image of the target page at the first time and the image of the target page at the second time.
In the embodiment of the application, the monitoring type of the target page can be determined based on the abnormal monitoring configuration information of the target page by acquiring the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring the access data of the target page, the data related to the monitoring type can be determined from the access data of the target page and used as the first analysis data, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment, and the second moment is after the first moment, and further based on the image of the target page at the first moment and the image of the target page at the second moment, whether the dynamic display of the target page is abnormal can be judged.
In this embodiment of the application, for step 101, the target page refers to a page that needs to be monitored for an exception, for example, if an application has an a page and a B page, if the B page needs to be monitored for an exception, the B page is the target page.
In this embodiment of the application, for step 101, the number of the target pages may be one, or may be two or more, for example, when both the a page and the B page need to perform exception monitoring, both the a page and the B page are the target pages.
In this embodiment of the application, for step 101, a user may configure a page that needs to perform exception monitoring on a configuration interface, for example, one or more target pages may be added or deleted on the configuration interface. Further, through the configuration interface, the user may also set exception monitoring configuration information of the target page, for example, set a monitoring name, a monitoring type, a page address of the target page, an element address index of the target page, monitoring description information, and an application ID.
In this embodiment of the application, for step 102, since the user can set the monitoring type through the configuration interface, the monitoring type of the target page can be determined based on the abnormal monitoring configuration information of the target page. Further, the monitoring type includes a page dynamic monitoring type, where the page dynamic monitoring type indicates that dynamic display of the target page needs to be monitored, for example, in some scenarios, the target page may dynamically change with change of background data, and at this time, it needs to monitor whether the target page normally changes with change of the background data when the background data changes. For another example, in some scenarios, the target page may dynamically change with time, and at this time, it is necessary to monitor whether the target page dynamically changes with time.
In this embodiment of the present application, the monitoring type may further include a page performance monitoring type, a page loading exception monitoring type, a page data update period monitoring type, and a page element monitoring type, where the page performance monitoring type indicates that performance consumed by loading of the target page needs to be monitored, for example, CPU resources occupied when the target page is monitored. Further, the page loading abnormity monitoring type indicates whether the loading of the target page needs to be monitored normally, for example, whether the target page can call the third-party JS file is monitored. Further, the page data update cycle monitoring type indicates that the data update cycle of the page needs to be monitored, for example, a time interval during which the target page pulls data from the server is monitored. Further, the page element monitoring type indicates that whether the page element of the target page is normally loaded needs to be monitored, for example, the layout height, the width, and the style of the page element of the target page are monitored.
In the embodiment of the application, the access data of the target page can be acquired by the buried point system, wherein a data capture program is preset in the code of the target page, and when the target page is accessed, the data capture program acquires the data of the target page during the access period based on a preset rule and uploads the data of the target page during the access period to the buried point system.
In the embodiment of the application, when the monitoring type is a page dynamic monitoring type, the data related to the monitoring type refers to an image of a target page at a first moment and an image of the target page at a second moment; when the monitoring type is a page performance monitoring type, the data related to the monitoring type refers to the utilization rate of the CPU.
In the embodiment of the present application, since the second time is after the first time, it can be determined whether the dynamic display of the target page is abnormal or not by using the image of the target page at the first time and the image of the target page at the second time. For example, assuming that the image of the target page at the first time is image a, the image of the target page at the second time is image B, and the background data is changed at the second time, at this time, if image B is the same as or very similar to image a, it is indicated that image B is not changed with respect to image a, that is, the target page is not dynamically changed along with the change of the background data, so that it may be determined that the dynamic display of the target page is abnormal.
In the embodiment of the application, the image of the target page at the first moment can be obtained by screenshot of the target page at the first moment, and the image of the target page at the second moment can be obtained by screenshot of the target page at the second moment.
Please refer to the first embodiment of the present application for further details of the embodiments of the present application, which are not described herein again.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application, and as shown in fig. 3, the electronic device in the embodiment of the present application includes:
a processor 301; and
a memory 302 configured to store machine readable instructions that, when executed by the processor 301, perform a page anomaly detection method as in any one of the preceding embodiments.
The electronic device of the embodiment of the application can acquire the abnormal monitoring configuration information aiming at the target page by executing the page abnormal detection method, and further can determine the monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring the access data of the target page, the data related to the monitoring type can be determined from the access data of the target page and can be used as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment, and the second moment is after the first moment, and whether the dynamic display of the target page is abnormal can be judged based on the image of the target page at the first moment and the image of the target page at the second moment.
Example four
An embodiment of the present application provides a storage medium, where a computer program is stored, and the computer program is executed by a processor to perform the page anomaly detection method according to any one of the foregoing embodiments.
The storage medium of the embodiment of the application can further acquire the abnormal monitoring configuration information aiming at the target page by executing the page abnormal detection method, and further can determine the monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type. On the other hand, by acquiring the access data of the target page, the data related to the monitoring type can be determined from the access data of the target page and used as the first analysis data, wherein the first analysis data at least comprises an image of the target page at a first moment and an image of the target page at a second moment, and the second moment is after the first moment, and further based on the image of the target page at the first moment and the image of the target page at the second moment, whether the dynamic display of the target page is abnormal can be judged.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and other divisions may be realized in practice, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above embodiments are merely examples of the present application and are not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A page anomaly detection method is characterized by comprising the following steps:
acquiring abnormal monitoring configuration information aiming at a target page;
determining a monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type;
acquiring access data of the target page;
determining data related to the monitoring type from the access data of the target page, and using the data as first analysis data, wherein the first analysis data at least comprises an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time;
and judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment.
2. The method of claim 1, wherein the determining whether the dynamic display of the target page is abnormal based on the image of the target page at the first time and the image of the target page at the second time comprises:
identifying an image of the target page at a first moment and obtaining a first image characteristic;
identifying an image of the target page at a second moment and obtaining a second image characteristic;
calculating to obtain the similarity between the image of the target page at the first moment and the image of the target page at the second moment based on the first image characteristic and the second image characteristic;
and judging whether the dynamic display of the target page is abnormal or not based on the similarity.
3. The method of claim 2, wherein said determining whether the dynamic display of the target page is abnormal based on the similarity comprises:
comparing the similarity with an alarm threshold;
and when the similarity is larger than or equal to the alarm threshold, determining that the dynamic display of the target page is abnormal.
4. The method of claim 3, wherein prior to comparing the similarity to an alarm threshold, the method further comprises:
acquiring the similarity of a plurality of historical moments;
determining the alarm threshold based on the similarity of the plurality of historical moments.
5. The method of claim 4, wherein after determining whether the dynamic display of the target page is abnormal based on the image of the target page at the first time and the image of the target page at the second time, the method further comprises:
when the dynamic display of the target page is abnormal, generating an abnormal alarm of the target page;
acquiring owner information of the target page;
and sending the abnormal alarm to the owner of the target page based on the owner information of the target page.
6. The method of claim 5, wherein the method further comprises:
judging whether the abnormal alarm is invalid;
and when the abnormal alarm is an invalid alarm, modifying the alarm threshold.
7. The method of claim 6, wherein the owner information of the target page includes mail information, contact phone.
8. An apparatus for detecting page abnormality, the apparatus comprising:
the first acquisition module is used for acquiring abnormal monitoring configuration information aiming at a target page;
the first determining module is used for determining the monitoring type of the target page based on the abnormal monitoring configuration information of the target page, wherein the monitoring type of the target page at least comprises a page dynamic monitoring type;
the second acquisition module is used for acquiring the access data of the target page;
a second determining module, configured to determine, from the access data of the target page, data related to the monitoring type as first analysis data, where the first analysis data at least includes an image of the target page at a first time and an image of the target page at a second time, and the second time is after the first time;
and the judging module is used for judging whether the dynamic display of the target page is abnormal or not based on the image of the target page at the first moment and the image of the target page at the second moment.
9. An electronic device, comprising:
a processor; and
a memory configured to store machine readable instructions which, when executed by the processor, perform the page anomaly detection method of any one of claims 1-7.
10. A storage medium, characterized in that the storage medium stores a computer program, which is executed by a processor to perform the page anomaly detection method according to any one of claims 1-7.
CN202210924403.XA 2022-08-03 2022-08-03 Page abnormity detection method and device, electronic equipment and storage medium Pending CN114996103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210924403.XA CN114996103A (en) 2022-08-03 2022-08-03 Page abnormity detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210924403.XA CN114996103A (en) 2022-08-03 2022-08-03 Page abnormity detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114996103A true CN114996103A (en) 2022-09-02

Family

ID=83021120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210924403.XA Pending CN114996103A (en) 2022-08-03 2022-08-03 Page abnormity detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114996103A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328743A (en) * 2022-10-13 2022-11-11 深圳市华曦达科技股份有限公司 Android device abnormity early warning processing method and system and readable storage medium
CN115426287A (en) * 2022-09-06 2022-12-02 中国农业银行股份有限公司 System monitoring and optimizing method, device, electronic equipment and medium
CN117056584A (en) * 2023-10-08 2023-11-14 杭州海康威视数字技术股份有限公司 Information system abnormal change monitoring method and equipment based on dynamic similarity threshold

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081699A (en) * 2005-09-13 2007-03-29 Fuji Xerox Co Ltd Image processor, abnormity detection method, program, and recording medium
CN110704772A (en) * 2018-06-22 2020-01-17 北京京东尚科信息技术有限公司 Page abnormity monitoring method, system, device, electronic equipment and computer readable medium
CN111401416A (en) * 2020-03-05 2020-07-10 支付宝(杭州)信息技术有限公司 Abnormal website identification method and device and abnormal countermeasure identification method
CN111782464A (en) * 2020-06-22 2020-10-16 北京异乡旅行网络科技有限公司 Webpage dynamic abnormity monitoring method and system
CN112306793A (en) * 2020-04-07 2021-02-02 北京沃东天骏信息技术有限公司 Method and device for monitoring webpage
CN112650656A (en) * 2019-10-09 2021-04-13 北京京东尚科信息技术有限公司 Performance monitoring method, device, equipment, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081699A (en) * 2005-09-13 2007-03-29 Fuji Xerox Co Ltd Image processor, abnormity detection method, program, and recording medium
CN110704772A (en) * 2018-06-22 2020-01-17 北京京东尚科信息技术有限公司 Page abnormity monitoring method, system, device, electronic equipment and computer readable medium
CN112650656A (en) * 2019-10-09 2021-04-13 北京京东尚科信息技术有限公司 Performance monitoring method, device, equipment, server and storage medium
CN111401416A (en) * 2020-03-05 2020-07-10 支付宝(杭州)信息技术有限公司 Abnormal website identification method and device and abnormal countermeasure identification method
CN112306793A (en) * 2020-04-07 2021-02-02 北京沃东天骏信息技术有限公司 Method and device for monitoring webpage
CN111782464A (en) * 2020-06-22 2020-10-16 北京异乡旅行网络科技有限公司 Webpage dynamic abnormity monitoring method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426287A (en) * 2022-09-06 2022-12-02 中国农业银行股份有限公司 System monitoring and optimizing method, device, electronic equipment and medium
CN115426287B (en) * 2022-09-06 2024-03-26 中国农业银行股份有限公司 System monitoring and optimizing method and device, electronic equipment and medium
CN115328743A (en) * 2022-10-13 2022-11-11 深圳市华曦达科技股份有限公司 Android device abnormity early warning processing method and system and readable storage medium
CN117056584A (en) * 2023-10-08 2023-11-14 杭州海康威视数字技术股份有限公司 Information system abnormal change monitoring method and equipment based on dynamic similarity threshold
CN117056584B (en) * 2023-10-08 2024-01-16 杭州海康威视数字技术股份有限公司 Information system abnormal change monitoring method and equipment based on dynamic similarity threshold

Similar Documents

Publication Publication Date Title
CN110275958B (en) Website information identification method and device and electronic equipment
CN107391379B (en) Automatic interface testing method and device
CN114996103A (en) Page abnormity detection method and device, electronic equipment and storage medium
CN109684008B (en) Card rendering method, device, terminal and computer readable storage medium
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
CN106650433A (en) Detecting method and system for abnormal behavior
CN112817866A (en) Recording playback method, device, system, computer equipment and storage medium
CN110597694A (en) Method and terminal for monitoring front-end page
CN111090593A (en) Method, device, electronic equipment and storage medium for determining crash attribution
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN111309743A (en) Report pushing method and device
CN110659435A (en) Page data acquisition processing method and device, computer equipment and storage medium
CN113849330A (en) Method, equipment and storage medium for monitoring and analyzing application fault reasons
CN116431731A (en) Data asynchronous export method, device, equipment and storage medium thereof
CN104579825A (en) Method and device for monitoring server of application in real time and computer equipment
CN107562599A (en) A kind of parameter detection method and device
CN111124841B (en) Alarm method and device for abnormal page and computer system
CN108958929B (en) Method and device for applying algorithm library, storage medium and electronic equipment
CN112416735A (en) Application program detection method and device, terminal equipment and storage medium
CN113568769B (en) Exception handling method, device, server and storage medium
CN115314404B (en) Service optimization method, device, computer equipment and storage medium
CN116361847B (en) Mobile device-based screen capturing prevention method and system
CN114818645B (en) Automatic report generation method, device, equipment and medium based on data body
CN109446166B (en) Method for detecting file directory, computer readable storage medium and terminal device
CN116501585A (en) Log processing method, electronic equipment and log processing 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220902