CN111464376A - Website availability monitoring method and device, storage medium and computer equipment - Google Patents

Website availability monitoring method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN111464376A
CN111464376A CN202010145821.XA CN202010145821A CN111464376A CN 111464376 A CN111464376 A CN 111464376A CN 202010145821 A CN202010145821 A CN 202010145821A CN 111464376 A CN111464376 A CN 111464376A
Authority
CN
China
Prior art keywords
monitoring
monitored site
information
availability
monitored
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
CN202010145821.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.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information 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 Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN202010145821.XA priority Critical patent/CN111464376A/en
Publication of CN111464376A publication Critical patent/CN111464376A/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
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a method and a device for monitoring website availability, a storage medium and computer equipment, wherein the method comprises the following steps: determining a monitored site and a monitoring node corresponding to the monitored site according to the information of the monitored site; accessing the monitored site through the monitoring node; acquiring response information of the monitored site received by the monitoring node; and carrying out availability diagnosis on the monitored station based on the response information to obtain a diagnosis result. This application is based on by monitoring website information, and the monitoring node that corresponds with it of automatic determination monitors the visit, and among the prior art, the manual work selects local monitoring node visit to be compared by the monitoring website, need not staff's manual selection access node and manual initiation node visit operation, helps improving website monitoring efficiency, reduces the cost of labor.

Description

Website availability monitoring method and device, storage medium and computer equipment
Technical Field
The present application relates to the field of computer communications technologies, and in particular, to a method and an apparatus for monitoring website availability, a storage medium, and a computer device.
Background
The website availability is an index for measuring the user experience, and is the basis for the user experience of using the website. For administrative and technical reasons, there are many web sites that are unavailable, such as zombies or sleep. In the traditional usability monitoring mode, technicians need to initiate access to a target website by using local engine monitoring, so that the usability of the website is judged according to the response result of the access.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for monitoring website availability, a storage medium, and a computer device.
According to an aspect of the present application, there is provided a method for monitoring website availability, including:
determining a monitored site and a monitoring node corresponding to the monitored site according to the information of the monitored site;
accessing the monitored site through the monitoring node;
acquiring response information of the monitored site received by the monitoring node;
and carrying out availability diagnosis on the monitored station based on the response information to obtain a diagnosis result.
Specifically, the response information includes a response status code and a response time, and the monitoring nodes include at least two; the performing availability diagnosis on the monitored site based on the response information to obtain a diagnosis result specifically includes:
and if the response state codes corresponding to the monitoring nodes do not belong to preset abnormal state codes and the response time received by each monitoring node is smaller than an abnormal response time threshold, determining that the monitored site is normal, otherwise, determining that the monitored site is abnormal.
Specifically, before the monitored site is accessed by the monitoring node, the method further includes:
acquiring a monitoring period of the monitored station, and determining a plurality of monitoring times based on the monitoring period;
the accessing of the monitored site through the monitoring node specifically includes:
and accessing the monitored site through at least two monitoring nodes according to the monitoring time corresponding to the monitored site.
Specifically, the method further comprises:
calculating the availability score A of the monitored site in a preset time period according to an availability score formula, wherein the availability score formula is
Figure BDA0002400685830000021
Wherein m isiRepresenting the number of times of successful visits by the monitoring node to the monitored site during time period i, niRepresenting the total number of times, k, that the monitoring node visits the monitored site in time period iiAnd calculating the weight of availability corresponding to the time period i, and z represents the number of the monitoring nodes.
Specifically, the monitoring period of the monitored site is determined according to the availability score of the monitored site in the last time period, wherein the higher the availability score in the last time period is, the longer the corresponding monitoring period is.
Specifically, after performing availability diagnosis on the monitored site based on the response information and obtaining a diagnosis result, the method further includes:
recording monitoring information of each monitoring node, wherein the monitoring information comprises the monitored site information, the monitoring time, the response information and the diagnosis result.
In particular, the monitored site information includes, but is not limited to, any one or combination of UR L information, IP information, and port information for the monitored site.
Specifically, the determining, according to the monitored site information, at least two monitoring nodes corresponding to the monitored site specifically includes:
if the monitored site information indicates that the monitored site is an intranet site, determining at least two local monitoring servers as the monitoring nodes;
and if the monitored site information indicates that the monitored site is an extranet site, determining at least two cloud node monitoring servers as the monitoring nodes.
Specifically, after determining that the monitored site is abnormal at the monitoring time, the method further includes:
and reporting the monitoring information corresponding to the monitored site.
According to another aspect of the present application, there is provided a website availability monitoring apparatus, including:
the monitoring node determining module is used for determining the monitored site and the monitoring node corresponding to the monitored site according to the information of the monitored site;
the monitoring module is used for accessing the monitored site through the monitoring node;
the response information acquisition module is used for acquiring the response information of the monitored site received by the monitoring node;
and the diagnosis module is used for carrying out availability diagnosis on the monitored site based on the response information to obtain a diagnosis result.
Specifically, the response information includes a response status code and a response time, and the monitoring nodes include at least two; the diagnostic module is specifically configured to determine that the monitored site is normal if the response status codes corresponding to the monitoring nodes do not belong to preset abnormal status codes and the response times received by the monitoring nodes are smaller than an abnormal response time threshold, and otherwise, determine that the monitored site is abnormal.
Specifically, the apparatus further comprises:
the monitoring time acquisition module is used for acquiring a monitoring period of the monitored site before the monitored site is accessed by the monitoring nodes, and determining a plurality of monitoring times based on the monitoring period;
the monitoring module is specifically configured to access the monitored site through at least two monitoring nodes according to the monitoring time corresponding to the monitored site.
Specifically, the apparatus further comprises:
an availability calculating module, configured to perform availability diagnosis on the monitored site based on the response information, and after a diagnosis result is obtained, calculate an availability score a of the monitored site within a preset time period according to an availability score formula, where the availability score formula is
Figure BDA0002400685830000031
Wherein m isiRepresenting the number of times of successful visits by the monitoring node to the monitored site during time period i, niRepresenting the total number of times, k, that the monitoring node visits the monitored site in time period iiAnd calculating the weight of availability corresponding to the time period i, and z represents the number of the monitoring nodes.
Specifically, the monitoring period of the monitored site is determined according to the availability score of the monitored site in the last time period, wherein the higher the availability score in the last time period is, the longer the corresponding monitoring period is.
Specifically, the apparatus further comprises:
and the recording module is used for carrying out availability diagnosis on the monitored site based on the response information, and recording the monitoring information of each monitoring node after a diagnosis result is obtained, wherein the monitoring information comprises the monitored site information, the monitoring time, the response information and the diagnosis result.
In particular, the monitored site information includes, but is not limited to, any one or combination of UR L information, IP information, and port information for the monitored site.
Specifically, the monitoring node determining module specifically includes:
a local node determining unit configured to determine at least two local monitoring servers as the monitoring nodes if the monitored site information indicates that the monitored site is an intranet site;
and the cloud node determining unit is used for determining at least two cloud node monitoring servers as the monitoring nodes if the monitored site information indicates that the monitored site is an external website.
Specifically, the apparatus further comprises:
and the alarm module is used for reporting the monitoring information corresponding to the monitored site after determining that the monitored site is abnormal.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described method of monitoring the availability of a website.
According to yet another aspect of the present application, there is provided a computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the above method for monitoring the availability of a website when executing the program.
According to yet another aspect of the present application, there is provided a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-mentioned method for monitoring the availability of a website.
By means of the technical scheme, the monitoring method and device for the website availability, the storage medium and the computer device, provided by the application, determine the monitored site and at least two monitoring nodes for monitoring and accessing the monitored site according to the information of the monitored site, so that the monitoring nodes initiate monitoring and accessing to the monitored site according to the monitoring time, obtain the response information of the monitored site in real time, and diagnose the availability of the monitored site by using the response information of the monitored site to each monitoring node to obtain the conclusion whether the website is available. According to the method and the device, based on the monitored site information, the monitoring nodes corresponding to the monitored site information are automatically determined to monitor and access, and compared with the monitored site, the local monitoring nodes are manually selected to access, so that the access nodes do not need to be manually selected by workers and the node access operation is manually initiated, the site monitoring efficiency is improved, and the labor cost is reduced.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical solutions of the present application more clearly understood, and the following detailed description of the present application is provided in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application in a non-limiting sense. In the drawings:
fig. 1 is a schematic flow chart illustrating a method for monitoring website availability according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating another method for monitoring website availability according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram illustrating a website availability monitoring apparatus according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a structure of another website availability monitoring apparatus provided by an embodiment of the present application;
FIG. 5 illustrates a monitoring system for website availability provided by an embodiment of the present application;
fig. 6 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In this embodiment, a method for monitoring website availability is provided, as shown in fig. 1, the method includes:
step 101, determining a monitored site and a monitoring node corresponding to the monitored site according to the monitored site information.
And 102, accessing the monitored site through the monitoring node.
And 103, acquiring response information of the monitored site received by the monitoring node.
And 104, performing availability diagnosis on the monitored station based on the response information to obtain a diagnosis result.
The embodiment of the application is mainly applied to a monitoring system for website availability, and the system comprises the following functional modules: a monitoring configuration module, a timing monitoring module, an availability diagnostic module, and the like. Fig. 5 shows a monitoring system for website availability according to an embodiment of the present application. As shown in fig. 5, the monitoring configuration module may write configuration data to the database, where the configuration data includes monitored resources and monitoring nodes (i.e., servers), where the monitoring resources specifically include monitored site information, monitoring time information, and bases for availability diagnosis; the timing monitoring module can read configuration data written into the database by the monitoring configuration module from the database, monitor the corresponding monitored station by using the monitoring node according to the monitoring time in the configuration data, and write the monitoring result into the database; the usability diagnosis module can read the monitoring result from the database and perform statistical analysis on the monitoring result to form a diagnosis result, thereby realizing usability monitoring on the website.
In the above embodiment, after the monitoring configuration module performs data configuration, the timing monitoring module first reads information of monitored sites from the database, and determines what a corresponding website to be monitored is according to the information of the monitored sites, that is, first determines monitored sites corresponding to the information of the monitored sites;
secondly, after the monitored sites are determined, further determining which servers are used for accessing the website to realize monitoring of the monitored sites, namely determining monitoring nodes, wherein each monitored site can correspond to at least two monitoring nodes in order to ensure the reliability of availability monitoring, the reliability of monitoring results is higher when the number of the monitoring nodes is larger, and the situation that the access fails due to the fault of a single monitoring node to obtain the result that the website is unavailable can be avoided by arranging a plurality of monitoring nodes to influence the availability monitoring accuracy of the monitored sites;
then, after the monitored site and the monitoring node are determined, the timing monitoring module logs in the monitoring node according to the monitoring time information read from the database when the corresponding monitoring time arrives, and controls the monitoring node to access the monitored site, and particularly can reduce the resource occupation during the access by simulating the request of a visitor to access the monitored site to improve the access efficiency Reliable, automated monitoring access;
and finally, the availability diagnosis module performs availability diagnosis on the monitoring result based on the monitoring result read from the database, so as to judge whether the monitored site is abnormal or not, and finally realize the monitoring of the website availability, wherein the abnormal monitored site indicates that the site is unavailable, and the normal monitored site indicates that the site is available.
By applying the technical scheme of the embodiment, the monitored site and the monitoring node for monitoring and accessing the monitored site are determined according to the information of the monitored site, so that the monitoring access is initiated to the monitored site through the monitoring node, the response information of the monitored site is obtained in real time, and the availability of the monitored site is diagnosed by using the response information of the monitored site to the monitoring node, so as to obtain the conclusion whether the website is available. The monitoring node that this application embodiment corresponds with it carries out monitoring access based on being monitored website information, and among the prior art, the manual work selects local monitoring node to visit and is compared by the monitored website, need not staff's manual selection access node and manual initiation node access operation, helps improving website monitoring efficiency, reduces the cost of labor.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of the embodiment, another method for monitoring the availability of a website is provided, as shown in fig. 2, the method includes:
step 201, according to the monitored site information, determining the monitored site and the monitoring node corresponding to the monitored site.
In particular, the monitored site information includes, but is not limited to, any one or combination of UR L information, IP information, and port information for the monitored site.
In the above embodiment, the corresponding monitored site can be determined by the UR L information (Uniform Resource locator ) of the monitored site, IP information and port information, specifically, the computer where the monitored site service is located can be located by the IP address, the service on the server can be located by the port, the access to the corresponding service Resource can be realized by the UR L information corresponding to the network address.
Step 201 specifically includes: if the monitored site information indicates that the monitored site is an intranet site, determining at least two local monitoring servers as monitoring nodes; and if the monitored site information indicates that the monitored site is an extranet site, determining at least two cloud node monitoring servers as monitoring nodes.
In the above embodiment, the monitoring nodes include at least two. If the monitored site is an intranet site, only the intranet server has access authority to the sites, and at least two monitoring nodes are determined in a local monitoring server (namely, the intranet server); if the monitored site is an extranet site, similarly, corresponding monitoring nodes can be determined in cloud node monitoring servers respectively all over the country. By the scheme, automatic monitoring of the intranet site and the extranet site can be achieved, and the intelligence of monitoring the usability of the website is improved. The monitored site is monitored and accessed by at least two monitoring nodes, so that the condition that a monitoring result is inaccurate due to the fact that a single monitoring node fails to access the monitored site due to network faults and the like can be avoided.
Step 202, obtaining a monitoring period of the monitored station, and determining a plurality of monitoring times based on the monitoring period.
The monitoring configuration module can configure different monitoring periods for different monitored sites, for example, a shorter monitoring period can be configured for an important site so as to monitor the site more frequently, and thus the site can be found out more timely if the site is abnormal, and a longer monitoring period can be configured for an unimportant site so as to reduce the monitoring access frequency and reduce the network resource occupation. And determining corresponding monitoring time based on monitoring periods of different monitored stations, for example, the monitoring period of a monitored station is 5 minutes, the agreed initial monitoring time is 0 point, and then … … points 0, 0 point 5, and 0 point 10 are corresponding monitoring time of the station.
Step 203, accessing the monitored site through at least two monitoring nodes according to the monitoring time corresponding to the monitored site.
The monitoring access can be automatically carried out according to the monitoring time corresponding to the monitored site, different sites can correspond to different monitoring times for the access operation of the monitored site, and the monitoring system can monitor different monitored sites more flexibly and conveniently.
And step 204, acquiring the response information of the monitored site received by the monitoring node.
Step 205, if the response status codes corresponding to the monitoring nodes do not belong to the preset abnormal status codes and the response times received by the monitoring nodes are smaller than the abnormal response time threshold, determining that the monitored site is normal, otherwise, determining that the monitored site is abnormal.
In the above embodiment, the HTTP Response information received by each monitoring node from the monitored site, that is, the Response information in the above embodiment, is obtained, and the HTTP Response information includes an HTTP Response status code, that is, a Response status code, HTTP Response time, and other information. The HTTP Response status code is a 3-bit digital code for indicating the HTTP Response status of the web server, and is defined by RFC 2616 specification, and the common status codes are: 200-working normally, 400-error request, 404-requested page not present, 503-service not available, etc. The diagnostic criteria for monitoring the availability of the configuration module's write database should include an exception status code (e.g., 400-error request) and an exception response time threshold.
Specifically, if the response status code corresponding to any monitoring node does not belong to the preset abnormal status code, the monitored site is determined to be available, otherwise, the monitored site is determined to be unavailable; and if the response time is smaller than the abnormal response time threshold, determining that the response speed of the monitored station is normal, otherwise, determining that the corresponding speed of the monitored station is slow. In the embodiment of the application, when the monitored site is available and the response speed is normal, the diagnosis result of the monitored site is normal, otherwise, the diagnosis result is abnormal. It should be noted that as long as any monitoring node can access the monitored site and the response speed of the monitored site to the monitoring node is normal, it can be determined that the monitored site is normal, thereby avoiding the inaccuracy of the diagnosis result caused by the failure of the monitoring node itself, and improving the reliability of the website availability monitoring.
It should be noted that, after the availability diagnosis is performed on the monitored sites, the embodiment of the present application may further perform statistical analysis on the diagnosis results, read the detection information in the database, classify and collect the sites monitored by different servers, and display the sites in a visual large-screen manner.
And step 206, recording the monitoring information of each monitoring node, wherein the monitoring information comprises the information of the monitored site, the monitoring time, the response information and the diagnosis result.
In the above embodiment, the monitoring information generated by the monitoring node for each monitoring access of the monitored site should be recorded in the database, and the recorded monitoring information should at least include the information of the monitored site, the monitoring time information for initiating the access, the response information returned by the monitored site, and the diagnosis result obtained by diagnosing the monitored site, so that the monitoring information of the monitored site can be conveniently checked at any time by reading the database data.
And step 207, reporting the monitoring information corresponding to the abnormal monitoring time of the monitored site.
In the above embodiment, when it is monitored that a site is abnormal, the monitoring information corresponding to the site recorded in the database is reported to the relevant management device or management personnel, so that the abnormal site is maintained in time, and the influence on the visitor to normally access the site is avoided.
Step 208, according to an availability formula, calculating an availability score A of the monitored site within a preset time period, wherein the availability formula is
Figure BDA0002400685830000101
Wherein m isiRepresenting the number of times of successful visits by the monitoring node to the monitored site during time period i, niRepresenting the total number of times, k, that the monitoring node visits the monitored site in time period iiAnd calculating the weight of availability corresponding to the time period i, and z represents the number of monitoring nodes.
In the above embodiment, the availability a of the website may be counted to obtain the availability score of the monitored site, and the availability score of each monitored site is calculated by using the availability score formula, where different weights may be set for different time periods, for example, 8 to 10 pm is the peak visit of a certain site, and the visit volume at other times is lower, a higher weight may be set for the time period from 8 to 10 pm, and a lower weight may be set at other times, so that the calculation of the site availability score is more reasonable.
For example, each monitoring node of a monitored site initiates 100 accesses to the site in total in time period 1, and successfully accesses 95 times, the weight of the time period is 0.7, each monitoring node initiates 200 accesses to the site in total in time period 2, and successfully accesses 190 times, the weight of the time period is 0.3, and the availability score a is 90/100 + 0.7+190/200 0.3 is 0.915. After the availability score is calculated, the availability of the site may be qualitatively assessed.
In the above embodiment, specifically, the monitoring period of the monitored station is determined according to the availability score of the monitored station in the previous time period, wherein the higher the availability score in the previous time period, the longer the corresponding monitoring period.
In the above embodiment, the monitoring period of each monitored site may be determined according to the availability score of the site, and the higher the availability score is, the better the performance of the monitored site is, the monitoring period may be appropriately extended, the resource occupation in the monitoring process is reduced, and the system performance is improved. For example, a monitoring period for a monitored site of day 2/8 may be determined based on the availability score for the site on day 1/8.
Further, as a specific implementation of the method in fig. 1, an embodiment of the present application provides a device for monitoring website availability, as shown in fig. 3, the device includes: a monitoring node determination module 31, a monitoring module 32, a response information acquisition module 33, and a diagnosis module 34.
The monitoring node determining module 31 is configured to determine the monitored site and the monitoring node corresponding to the monitored site according to the monitored site information;
the monitoring module 32 is used for accessing the monitored site through the monitoring node;
a response information obtaining module 33, configured to obtain response information of the monitored site received by the monitoring node;
and the diagnosis module 34 is used for performing availability diagnosis on the monitored station based on the response information to obtain a diagnosis result.
In a specific application scenario, as shown in fig. 4, the response information includes a response status code and a response time, and the monitoring nodes include at least two; the diagnosis module 34 is specifically configured to determine that the monitored site is normal if none of the response status codes corresponding to the monitoring nodes belong to the preset abnormal status code, and the response times received by the monitoring nodes are smaller than the abnormal response time threshold, and otherwise, determine that the monitored site is abnormal.
In a specific application scenario, as shown in fig. 4, the apparatus further includes: a monitoring time acquisition module 35.
The monitoring time acquisition module 35 is configured to acquire a monitoring period of a monitored site before the monitored site is accessed by a monitoring node, and determine multiple monitoring times based on the monitoring period;
the monitoring module 32 is specifically configured to access the monitored site through at least two monitoring nodes according to the monitoring time corresponding to the monitored site.
In a specific application scenario, as shown in fig. 4, the apparatus further includes: an availability calculation module 36.
An availability calculating module 36, configured to perform availability diagnosis on the monitored site based on the response information, and after obtaining a diagnosis result, calculate an availability score a of the monitored site within a preset time period according to an availability score formula, where the availability score formula is
Figure RE-GDA0002506168180000121
Wherein m isiRepresenting the number of times of successful visits by the monitoring node to the monitored site during time period i, niRepresenting the total number of times, k, that the monitoring node visits the monitored site in time period iiAnd the availability calculation weight corresponding to the time period i is represented, and z represents the number of the monitoring nodes.
In a specific application scenario, the monitoring period of the monitored site is determined according to the availability score of the monitored site in the previous time period, wherein the higher the availability score of the previous time period is, the longer the corresponding monitoring period is.
In a specific application scenario, as shown in fig. 4, the apparatus further includes: a recording module 37.
And the recording module 37 is configured to perform availability diagnosis on the monitored station based on the response information, and after a diagnosis result is obtained, record monitoring information of each monitoring node, where the monitoring information includes monitored station information, monitoring time, response information, and a diagnosis result.
In particular, the monitored site information includes, but is not limited to, any one or combination of UR L information, IP information, and port information for the monitored site.
In a specific application scenario, as shown in fig. 4, the monitoring node determining module 31 specifically includes: a local node determination unit 311 and a cloud node determination unit 312.
A local node determining unit 311, configured to determine at least two local monitoring servers as monitoring nodes if the monitored site information indicates that the monitored site is an intranet site;
a cloud node determining unit 312, configured to determine, if the monitored site information indicates that the monitored site is an extranet site, at least two cloud node monitoring servers as monitoring nodes.
In a specific application scenario, as shown in fig. 4, the apparatus further includes: an alarm module 38.
And the alarm module 38 is configured to report monitoring information corresponding to the monitoring station after determining that the monitored station is abnormal.
It should be noted that, for other corresponding descriptions of the functional units related to the monitoring device for website availability provided in the embodiment of the present application, reference may be made to corresponding descriptions in fig. 1 and fig. 2, which are not described herein again.
Based on the methods shown in fig. 1 and fig. 2, correspondingly, the embodiment of the present application further provides a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the method for monitoring the availability of the website shown in fig. 1 and fig. 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments of the present application.
Based on the method shown in fig. 1 and fig. 2 and the virtual device embodiment shown in fig. 3 and fig. 4, in order to achieve the above object, an embodiment of the present application further provides a physical electronic device, which may be specifically a personal computer, a server, a network device, and the like, as shown in fig. 6, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-described method for monitoring the availability of a website as shown in fig. 1 and 2.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the like, and the optional user interface may further include a USB interface, a card reader interface, and the like. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also determine the monitored site and at least two monitoring nodes for performing monitoring access on the monitored site through hardware implementation according to the monitored site information, so that the monitoring nodes start monitoring access to the monitored site according to monitoring time, acquire response information of the monitored site in real time, and diagnose availability of the monitored site by using the response information of the monitored site to each monitoring node to draw a conclusion whether the website is available. The monitoring system comprises a monitoring system and a monitoring system, wherein the monitoring system comprises a monitoring station and a monitoring node, the monitoring station comprises a monitoring system and a monitoring system, the monitoring system comprises a monitoring system, the monitoring system is connected with the monitoring system, the monitoring system comprises a monitoring system, the monitoring system is connected with.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or processes in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (11)

1. A method for monitoring website availability, comprising:
determining a monitored site and a monitoring node corresponding to the monitored site according to the information of the monitored site;
accessing the monitored site through the monitoring node;
acquiring response information of the monitored site received by the monitoring node;
and carrying out availability diagnosis on the monitored station based on the response information to obtain a diagnosis result.
2. The method of claim 1, wherein the response information comprises a response status code and a response time, and wherein the monitoring nodes comprise at least two; the performing availability diagnosis on the monitored site based on the response information to obtain a diagnosis result specifically includes:
and if the response state codes corresponding to the monitoring nodes do not belong to preset abnormal state codes and the response time received by each monitoring node is smaller than an abnormal response time threshold, determining that the monitored site is normal, otherwise, determining that the monitored site is abnormal.
3. The method of claim 2, wherein prior to said accessing said monitored site by said monitoring node, said method further comprises:
acquiring a monitoring period of the monitored station, and determining a plurality of monitoring times based on the monitoring period;
the accessing of the monitored site through the monitoring node specifically includes:
and accessing the monitored site through at least two monitoring nodes according to the monitoring time corresponding to the monitored site.
4. The method of claim 3, further comprising:
calculating the availability score A of the monitored site in a preset time period according to an availability score formula, wherein the availability score formula is
Figure FDA0002400685820000011
Wherein m isiRepresenting the number of times, n, that the monitoring node successfully accessed the monitored site in time period iiRepresenting the total number of times, k, that the monitoring node visits the monitored site in time period iiAnd calculating the weight of availability corresponding to the time period i, and z represents the number of the monitoring nodes.
5. The method of claim 4, wherein the monitored site's monitoring period is determined based on an availability score of the monitored site for a previous time period, wherein a higher availability score for a previous time period corresponds to a longer monitoring period.
6. The method of any one of claims 1 to 5, wherein after performing the availability diagnosis for the monitored site based on the response information and obtaining a diagnosis result, the method further comprises:
recording monitoring information of each monitoring node, wherein the monitoring information comprises the monitored site information, the monitoring time, the response information and the diagnosis result.
7. The method of any of claims 1 to 5 wherein the monitored site information includes, but is not limited to, any one or combination of UR L information, IP information, and port information for the monitored site.
8. A website availability monitoring apparatus, comprising:
the monitoring node determining module is used for determining the monitored site and the monitoring node corresponding to the monitored site according to the information of the monitored site;
the monitoring module is used for accessing the monitored site through the monitoring node;
the response information acquisition module is used for acquiring the response information of the monitored site received by the monitoring node;
and the diagnosis module is used for carrying out availability diagnosis on the monitored site based on the response information to obtain a diagnosis result.
9. A storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method of monitoring website availability of any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method for monitoring the availability of a website of any one of claims 1 to 7 when executing the program.
11. A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of monitoring website availability of any of the preceding claims 1 to 7.
CN202010145821.XA 2020-03-05 2020-03-05 Website availability monitoring method and device, storage medium and computer equipment Pending CN111464376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010145821.XA CN111464376A (en) 2020-03-05 2020-03-05 Website availability monitoring method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010145821.XA CN111464376A (en) 2020-03-05 2020-03-05 Website availability monitoring method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN111464376A true CN111464376A (en) 2020-07-28

Family

ID=71680942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010145821.XA Pending CN111464376A (en) 2020-03-05 2020-03-05 Website availability monitoring method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN111464376A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112242938A (en) * 2020-10-14 2021-01-19 亚信科技(中国)有限公司 Detection method, detection device, electronic equipment and computer-readable storage medium
CN113660244A (en) * 2021-08-11 2021-11-16 杭州安恒信息技术股份有限公司 Website availability detection method, system, readable storage medium and device
CN113726808A (en) * 2021-09-06 2021-11-30 杭州安恒信息安全技术有限公司 Website monitoring method, device, equipment and storage medium
CN113791943A (en) * 2020-11-12 2021-12-14 北京沃东天骏信息技术有限公司 Website real-time monitoring method, system, equipment and storage medium
CN113905091A (en) * 2021-09-15 2022-01-07 盐城金堤科技有限公司 Method and device for processing access request

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189406A1 (en) * 2007-02-05 2008-08-07 Jian Shen System and method of a peer-to-peer web service monitoring network
CN104731871A (en) * 2015-03-03 2015-06-24 北京齐尔布莱特科技有限公司 Website usability monitoring and diagnosis system and method
CN105099755A (en) * 2015-05-29 2015-11-25 北京奇虎科技有限公司 Method, device and system for monitoring performance of website system
CN107579873A (en) * 2017-08-30 2018-01-12 杭州安恒信息技术有限公司 A kind of method of monitoring site availability
CN107579861A (en) * 2017-10-09 2018-01-12 杭州安恒信息技术有限公司 Website Usability alarm method, device and electronic equipment based on multi-line monitoring
CN109768899A (en) * 2018-12-26 2019-05-17 北京奇安信科技有限公司 Website Usability monitoring method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189406A1 (en) * 2007-02-05 2008-08-07 Jian Shen System and method of a peer-to-peer web service monitoring network
CN104731871A (en) * 2015-03-03 2015-06-24 北京齐尔布莱特科技有限公司 Website usability monitoring and diagnosis system and method
CN105099755A (en) * 2015-05-29 2015-11-25 北京奇虎科技有限公司 Method, device and system for monitoring performance of website system
CN107579873A (en) * 2017-08-30 2018-01-12 杭州安恒信息技术有限公司 A kind of method of monitoring site availability
CN107579861A (en) * 2017-10-09 2018-01-12 杭州安恒信息技术有限公司 Website Usability alarm method, device and electronic equipment based on multi-line monitoring
CN109768899A (en) * 2018-12-26 2019-05-17 北京奇安信科技有限公司 Website Usability monitoring method, device, equipment and medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112242938A (en) * 2020-10-14 2021-01-19 亚信科技(中国)有限公司 Detection method, detection device, electronic equipment and computer-readable storage medium
CN113791943A (en) * 2020-11-12 2021-12-14 北京沃东天骏信息技术有限公司 Website real-time monitoring method, system, equipment and storage medium
CN113660244A (en) * 2021-08-11 2021-11-16 杭州安恒信息技术股份有限公司 Website availability detection method, system, readable storage medium and device
CN113660244B (en) * 2021-08-11 2023-02-24 杭州安恒信息技术股份有限公司 Website availability detection method, system, readable storage medium and device
CN113726808A (en) * 2021-09-06 2021-11-30 杭州安恒信息安全技术有限公司 Website monitoring method, device, equipment and storage medium
CN113905091A (en) * 2021-09-15 2022-01-07 盐城金堤科技有限公司 Method and device for processing access request
CN113905091B (en) * 2021-09-15 2023-09-01 盐城天眼察微科技有限公司 Method and device for processing access request

Similar Documents

Publication Publication Date Title
CN111464376A (en) Website availability monitoring method and device, storage medium and computer equipment
CN109669798B (en) Crash analysis method, crash analysis device, electronic equipment and storage medium
CN111224848B (en) Network quality testing method, device, equipment and storage medium
CN111177165A (en) Method, device and equipment for detecting data consistency
CN108319550A (en) A kind of test system and test method
CN109491889A (en) The method and apparatus of automatic test in NFV
CN113037562A (en) Gateway fault assessment method and device and server
JP5147216B2 (en) Method, system and computer program for measuring autonomic capability of a computing system
US7617313B1 (en) Metric transport and database load
CN113850506A (en) Method and device for evaluating working quality, storage medium and electronic equipment
CN104144084B (en) The monitoring method and device of the SOT state of termination
CN110825466B (en) Program jamming processing method and jamming processing device
CN114124727B (en) Network management communication pressure testing method and system
CN115509853A (en) Cluster data anomaly detection method and electronic equipment
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN115080397A (en) System reliability testing method, device, equipment and storage medium
CN113726808A (en) Website monitoring method, device, equipment and storage medium
CN114218011A (en) Test simulation method and device, terminal equipment and storage medium
CN113973068A (en) Chaos test method and device, chaos test platform and storage medium
US8825843B2 (en) System and methods for monitoring a geographic information system
US9043762B2 (en) Simulated network
CN111880509A (en) Diagnosis support and diagnosis ready state analysis method and device for national six-engine
CN113434406B (en) Function test method and device, storage medium and electronic equipment
CN117176588B (en) Method and device for constructing network topology, electronic equipment and storage medium
CN111176916B (en) Data storage fault diagnosis method and 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

Application publication date: 20200728

RJ01 Rejection of invention patent application after publication