Application system service availability monitoring method, device, processor and storage medium

By obtaining monitoring parameters and correlations of service components and calculating the availability of target services, the problem of inaccuracy in service availability monitoring and the inability to express system availability in the existing technology is solved, and more accurate service availability monitoring is achieved.

CN114020583BActive Publication Date: 2024-08-23CCB FINTECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111433669.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-08-23
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

The existing technology has the possibility of inaccurate timing points and human modification in service availability monitoring, and cannot effectively express the availability of system services, and can only express the service performance of IT components.

Method used

By obtaining the monitoring parameters and correlation relationships of the service components, the availability status of the service components is determined, and the availability of the target service is calculated based on the correlation relationships, including determining the service interruption time and nominal interruption time, and then calculating the service availability.

Benefits of technology

It solves the problem of inaccurate service interruption time and inaccuracy in availability calculation caused by manual fault recording, and can effectively express the availability of system services and provide more accurate and intuitive availability monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114020583B
    Figure CN114020583B
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, processor and storage medium for monitoring the service availability of an application system. The method includes: obtaining monitoring parameters corresponding to each service component used to provide a target service and the association relationship between each service component; determining the availability status of each service component based on the monitoring parameters corresponding to each service component; and determining the availability of the target service based on the availability status of each service component and the association relationship between each service component. The present application solves the problem that the service interruption time is inaccurate and the interruption time may be manually modified due to manual recording of faults; at the same time, the present application determines the association relationship between service components and the availability status of a single service component, and determines the availability of the service in combination with the availability status of a single service component and the association relationship between service components, which effectively solves the problem that existing methods cannot express the system service availability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method for monitoring the availability of application system services, an apparatus for monitoring the availability of application system services, a processor, and a machine-readable storage medium. Background Art

[0002] At present, when measuring the service availability of information system services provided by service providers, two methods are mainly relied on: manually recording the service interruption time caused by the failure, and manually calculating the system availability according to the general availability calculation formula; and performing daily monitoring of the performance information of IT components through the monitoring system to express the performance of IT components. However, the above methods have the possibility of inaccurate timing points or artificial modification of interruption time; and the alarm information of IT components can only express the service performance of the IT components themselves, but cannot express the availability of system services, and cannot reflect the unavailability of system services. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an application system service availability monitoring method, an application system service availability monitoring device, a processor and a machine-readable storage medium.

[0004] In order to achieve the above-mentioned object, the first aspect of the present application provides an application system service availability monitoring method, the application system service availability monitoring method comprising:

[0005] Obtain monitoring parameters corresponding to each service component used to provide the target service and the association relationship between each service component;

[0006] Determining the availability status of each service component based on the monitoring parameters corresponding to each service component; and

[0007] The availability of the target service is determined according to the availability status of each service component and the association relationship between the service components.

[0008] In the embodiment of the present application, the availability status of the service component includes: service available and service unavailable; the determining the availability of the target service according to the availability status of each service component and the association relationship between the service components includes:

[0009] Determine the service outage duration for the service component whose availability status is Service Unavailable; and

[0010] The availability of the target service is determined according to the service interruption time of each service component whose availability status is service unavailable and the association relationship between each service component.

[0011] In the embodiment of the present application, the monitoring parameter corresponding to the service component includes at least one of a first monitoring parameter, a second monitoring parameter and a third monitoring parameter, wherein the first monitoring parameter is used to characterize the service operation state of the service component, the second monitoring parameter is used to characterize the performance state of the service component, and the third monitoring parameter is used to characterize the service operation state corresponding to the service component;

[0012] Determining the availability status of each service component according to the monitoring parameters corresponding to each service component includes:

[0013] When one or more of the first monitoring parameter, the second monitoring parameter and the third monitoring parameter corresponding to the service component meet the preset conditions, the availability status of the service component is determined to be service available, otherwise the availability status of the service component is determined to be service unavailable.

[0014] In the embodiment of the present application, the association relationship between the service components is determined by the following method:

[0015] The current service component and the target service component have the same function, and the availability status of the current service component and the target service component are both service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a first association relationship;

[0016] The availability status of any one of the current service component and the target service component is service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a second association relationship.

[0017] In the embodiment of the present application, the availability of the target service is determined according to the service interruption time of each service component whose availability status is unavailable and the association relationship between each service component, including:

[0018] Determining a first service interruption time of the target service according to the service interruption times of all service components having the same function and having a first association relationship;

[0019] Determining a second service interruption time of the target service according to the service interruption times of all service components having a second association relationship;

[0020] The availability of the target service is determined according to the first service interruption time and the second service interruption time.

[0021] In an embodiment of the present application, determining the first service interruption time of the target service according to the service interruption time of all service components having the same function and having a first association relationship includes:

[0022] Taking the intersection of service interruption times of all service components having the same function and a first association relationship as the first service interruption time of the target service;

[0023] The intersection of the service interruption time is the time when the availability status of all service components having the same function and the first association relationship is simultaneously in the state of service unavailable.

[0024] In an embodiment of the present application, determining the second service interruption time of the target service according to the service interruption time of all service components having the second association relationship includes:

[0025] Determine the time when the availability status of all service components having the second association relationship is simultaneously in the state of service unavailable as the repeated interruption time;

[0026] The difference between the sum of the service interruption times of all service components having the second association relationship and the repeated interruption time is used as the second service interruption time of the target service.

[0027] In the embodiment of the present application, determining the availability of the target service according to the first service interruption time and the second service interruption time includes:

[0028] Obtaining a target service time for the target service;

[0029] Taking the sum of the first service interruption time and the second service interruption time as the actual interruption time of the target service;

[0030] The availability of the target service is determined according to a ratio of the actual interruption time to the target service time.

[0031] In an embodiment of the present application, the method further includes:

[0032] Acquire the non-service interruption time of the target service, where the non-service interruption time includes the interruption time of the target service that is pre-planned and / or the interruption time of the target service that is caused by a non-service component;

[0033] taking the difference between the actual interruption time and the non-service interruption time as the nominal interruption time of the target service; and

[0034] The nominal availability of the target service is determined according to a ratio of the nominal interruption time to the target service time.

[0035] A second aspect of the present application provides an application system service availability monitoring device, the application system service availability monitoring device comprising:

[0036] A data acquisition module is configured to acquire monitoring parameters corresponding to each service component used to provide a target service and an association relationship between each service component;

[0037] The availability monitoring module is configured to:

[0038] Determine the availability status of each service component based on the monitoring parameters corresponding to each service component;

[0039] The availability of the target service is determined according to the availability status of each service component and the association relationship between the service components.

[0040] A third aspect of the present application provides a processor configured to execute the above-mentioned application system service availability monitoring method.

[0041] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned application system service availability monitoring method.

[0042] A fifth aspect of the present application provides a computer program product, including a computer program, which implements the above-mentioned application system service availability monitoring method when executed by a processor.

[0043] Through the above technical solution, the present application solves the problem that the service interruption time caused by manual recording of faults is inaccurate and the interruption time may be modified manually; at the same time, the present application determines the availability of the service by determining the association relationship between service components and the availability status of a single service component, and combining the availability status of a single service component and the association relationship between service components, thereby effectively solving the problem that the existing method cannot express the system service availability.

[0044] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0046] Figure 1 The following is a schematic diagram showing a flow chart of a method for monitoring the availability of application system services according to an embodiment of the present application;

[0047] Figure 2 A topological diagram of an application system according to an embodiment of the present application is schematically shown;

[0048] Figure 3The structural block diagram of the application system service availability monitoring device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0050] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0051] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0052] like Figure 1 As shown, in one embodiment of the present application, a method for monitoring the service availability of an application system is provided, comprising the following steps:

[0053] S100, obtaining monitoring parameters corresponding to each service component used to provide a target service and the association relationship between each service component;

[0054] S200, determining the availability status of each service component according to the monitoring parameters corresponding to each service component; and determining the availability of the target service according to the availability status of each service component and the association relationship between the service components.

[0055] In this way, the present application solves the problem of inaccurate service interruption time caused by manual recording of faults and the possibility that the interruption time may be modified manually; at the same time, the present application determines the availability of the service by determining the association relationship between service components and the availability status of a single service component, and combining the availability status of a single service component and the association relationship between service components, effectively solving the problem that existing methods cannot express the system service availability situation.

[0056] It is understandable that the service components used to provide the target service can be hardware components such as servers and switches, or software components such as system software and applications. The hardware components and software components together provide support for the application system that provides the target service. Figure 2 As shown, in an application system provided in this embodiment, the following service components are included: a first client, a second client, a first cable, a second cable, a first switch, a second switch, a router, a server, system software, a first application, a second application, a first disk and a second disk. Among them, the first client and the second client are connected to the first switch through the first cable and the second cable respectively, and the first switch, the router, the second switch and the server are connected in sequence to form a data transmission link; the first disk and the second disk are both deployed in the server, and the system software, the first application and the second application can be deployed in the first disk or / and the second disk, for example, the system software part, the first application and the second application are all deployed in the first disk and the second disk at the same time. It should be noted that in this embodiment, the execution subject of steps S100 to S200 can be the server in the application system provided in this embodiment, or it can be a server independent of this embodiment, wherein the first client and the second client are PCs.

[0057] In step S100, the association relationship between each service component of the application system provided in this embodiment can be pre-stored in the configuration management database CMDB. For example, the association relationship between each service component can be stored in the CMDB in the form of the topological structure of the application system, or the association relationship between the current service component and the target service component can be stored in the form of a mapping table. Among them, CMDB can be deployed in a server independent of the application system, or it can be deployed in the server of the application system, which is not limited in this embodiment. The monitoring parameters of each service component include but are not limited to the CPU utilization rate of the server, the memory utilization rate of the server, the OPS of the specified disk in the server, the process startup status corresponding to the target service, the port occupancy status corresponding to the target service, etc., among which OPS is Input / Output Operations Per Second, which indicates the number of read and write operations per second.

[0058] In step S200, the monitoring parameters of the service components can be judged by a preset threshold value to determine whether they meet the preset conditions, so as to determine the availability status of each service component. For example, taking the CPU usage of the server as 100% as the threshold, when the CPU usage of the server reaches 100%, the availability status of the server is judged as service unavailable. For another example, when the process startup status corresponding to the target service is not started, the availability status of the server is judged as service unavailable. After determining the availability status of all service components according to the above method, the availability of the target service is further determined based on the association relationship between the read service components. For example, the first disk and the second disk are in a backup relationship with each other. When the availability status of the first disk is service unavailable and the availability status of the second disk is service available, since the first disk and the second disk are independent of each other and have the same function, the status of the first disk does not affect the status of the second disk. Therefore, when the first disk is service unavailable, the second disk can replace the function of the first disk and the system service is not affected. For another example, when the CPU usage of the server reaches 100%, the availability status of the server is service unavailable. At this time, although the second disk can provide normal service, since the second disk runs on the server, when the availability status of the server is service unavailable, the second disk cannot perform read / write operations. Therefore, the availability of the system service is service unavailable.

[0059] In order to further accurately express the service availability of the application system, in step S200, the availability of the target service is determined based on the availability status of each service component and the association relationship between each service component, including: determining the service interruption time of the service component whose availability status is service unavailable; and determining the availability of the target service based on the service interruption time of each service component whose availability status is service unavailable and the association relationship between each service component. The service availability of the application system is evaluated based on the service interruption time of each service component, so that the availability of the target service can be quantified. For example, the availability of the target service can be graded or scored according to the total interruption time of all service components by monitoring and calculating the total interruption time of all service components. For example, in a monitoring cycle, when the total interruption time of the service component is X hours, the availability score of the target service is A, and when the total interruption time of the service component is Y hours, the availability score of the target service is B.

[0060] In this embodiment, the availability status includes service available and service unavailable; the monitoring parameters corresponding to the service component include at least one of a first monitoring parameter, a second monitoring parameter and a third monitoring parameter, wherein the first monitoring parameter is used to characterize the service operation status of the service component, the second monitoring parameter is used to characterize the performance status of the service component, and the third monitoring parameter is used to characterize the business operation status corresponding to the service component; the availability status of each service component is determined according to the monitoring parameters corresponding to each service component, including: when one or more of the first monitoring parameter, the second monitoring parameter and the third monitoring parameter corresponding to the service component meet the preset conditions, the availability status of the service component is determined to be service available, otherwise the availability status of the service component is determined to be service unavailable.

[0061] Among them, the first monitoring parameter is a general indicator representing the performance of the service component, including but not limited to: one or more of the following parameters: the CPU utilization rate of the server, the memory utilization rate of the server, the space utilization rate of the specified disk in the server, and the OPS of the specified disk in the server. In this embodiment, the specified disk in the server refers to the first disk and the second disk; the second monitoring parameter is a characteristic indicator representing the performance of the application system, including but not limited to: one or more of the following parameters: the start status of the process corresponding to the target service, the port occupancy status corresponding to the target service, the database connection status corresponding to the target service, and the response status of the REST interface corresponding to the target service, wherein REST stands for Representational State Transfer, which means representational state transfer; the third monitoring parameter is a characteristic indicator based on the business level. Taking the application system provided in this embodiment as a stock trading system as an example, the third monitoring parameter includes but is not limited to: one or more of the following parameters: the number of transactions per second and DOO, wherein DOO stands for Degraded Operations Objective, which means lowering the operation target or lowering the service level.

[0062] To monitor the availability of application system services, we must first monitor the availability of service components that support the services. Taking the server as an example, after confirming that the server service is enabled, we monitor the general performance indicators of the server, the characteristic indicators of system performance, and the characteristic indicators at the business level. When all the general performance indicators of the server meet the preset conditions, such as the CPU usage rate of the server and the memory usage rate of the server have not reached the set threshold, we continue to monitor the characteristic indicators of system performance. When the characteristic indicators of system performance, such as the start status of the process corresponding to the target service is the process started, the port occupancy status of the target service is not occupied, and the database connection status of the target service is connected, we continue to monitor the characteristic indicators at the business level. When the characteristic indicators at the business level meet the preset conditions, such as the number of transactions per second reaches the set threshold, that is, when the first monitoring parameter, the second monitoring parameter, and the third monitoring parameter all meet the preset conditions, the availability status of the server is service available, otherwise it is service unavailable. Among them, the thresholds of the first monitoring parameter, the second monitoring parameter and the third monitoring parameter can be set according to the actual situation. For example, when the CPU usage of the server reaches 100%, the availability status of the server is unavailable service; when a thread corresponding to the target service does not exist, the availability status of the server is unavailable service; when the number of transactions / second is less than 100 transactions / second, the availability status of the server is considered to be unavailable service. It can be understood that for the first monitoring parameter and the third monitoring parameter, an alarm threshold can also be set. For example, the alarm threshold of the CPU usage of the server is set to 80%, and when the CPU usage of the server reaches 80%, an alarm prompt is issued; for another example, the alarm threshold of the number of transactions / second is set to 150 transactions / second, and when the number of transactions / second is as low as 150 transactions / second, an alarm prompt is issued.

[0063] In step S100, the association relationship between each service component is determined by the following method: if the current service component and the target service component have the same function and only when the availability status of the current service component and the target service component are both service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a first association relationship; if the availability status of either the current service component or the target service component is service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a second association relationship.

[0064] The relationships between service components mainly include the following categories:

[0065] R1: Backup: For example, the backup relationship between databases;

[0066] R2: Depends on: It is used to describe the relationship between logical entities such as system software and applications. In this type of relationship, the normal operation of one party depends on the normal operation of the other party. If the dependent party fails and there is no backup, the dependent party will definitely be unavailable. Conversely, there is no such necessary connection.

[0067] R3: Influence: Indicates the relationship of mutual influence between the two;

[0068] R4: Connection: used to describe the network connection relationship between physical CIs, indicating a relationship in which they are connected but not affected by each other;

[0069] R5: Runs on: used to describe software CI or hardware CI running on other hardware CI, including PC servers and minicomputers;

[0070] R6: HA: refers to the relationship between the master and the backup machine.

[0071] In the above relationship, R1 and R6 indicate that the two service components back up each other. When any one of the service components fails, the other service component can replace the function of the failed service component, and the application system service is not affected and will not be interrupted; R2~R5 indicate that when any one of the two service components fails, the application system service will be interrupted; that is, R1 and R6 belong to the first association relationship, and R2~R5 belong to the second association relationship.

[0072] In this embodiment, the availability of the target service is determined based on the service interruption time of each service component whose availability status is unavailable and the association relationship between each service component, including: determining the first service interruption time of the target service based on the service interruption time of all service components with the same function and a first association relationship; and determining the second service interruption time of the target service based on the service interruption time of all service components with a second association relationship; determining the availability of the target service based on the first service interruption time and the second service interruption time. According to the association relationship between the service components, the interruption time of the service components with the first association relationship and the second association relationship are determined respectively, the failure time of the service components that are backed up by each other is taken as the first service interruption time, and the failure time of the service components belonging to the second association relationship is taken as the second interruption time, and the availability of the target service is determined based on the first service interruption time and the second service interruption time. For example, since the service components that are backed up by each other only cause the interruption of the target service during the time period of simultaneous failure, in order to accurately calculate the service interruption time, it is necessary to exclude the common service interruption time of the service components that are backed up by each other; for another example, when there are multiple service component failures belonging to the second association relationship in the same time period, it is also necessary to exclude the repeated failure time of multiple service components.

[0073] Wherein, determining the first service interruption time of the target service according to the service interruption time of all service components having the same function and having the first association relationship includes: taking the intersection of the service interruption time of all service components having the same function and having the first association relationship as the first service interruption time of the target service; the intersection of the service interruption time is the time when all service components having the same function and having the first association relationship are simultaneously in the availability state of service unavailable. For example, the first disk and the second disk are backups for each other, the failure time of the first disk is 9:30-10:00, and the failure time of the second disk is 9:50-10:20, then the first interruption time of the target service is the intersection of the failure time of the first disk and the second disk, that is, 9:50-10:00. It can be understood that the failure time is the time when the availability state of the service component is in the service unavailable state. For an application service system, there may be multiple first service interruption times in a monitoring cycle. For example, the failure time of the first application is 30 minutes from 13:00 to 13:30, and the failure time of the second application is 20 minutes from 13:20 to 14:00. Since the first application and the second application back up each other, the intersection of the failure time of the first application and the failure time of the second application is 13:20 to 13:30. Therefore, in the current monitoring cycle, there are two first interruption times, 10 minutes from 9:50 to 10:00 and 10 minutes from 13:20 to 13:30.

[0074] Determining the second service interruption time of the target service based on the service interruption time of all service components with the second association relationship includes: determining the time when all service components with the second association relationship are simultaneously in an availability state as service unavailable as the repeated interruption time; and taking the difference between the sum of the service interruption time of all service components with the second association relationship and the repeated interruption time as the second service interruption time of the target service. Similarly, for the application service system, there may be a situation where multiple service components are in a service unavailable state at the same time within a monitoring cycle. For example, the failure time of the first switch is 60 minutes from 14:00 to 15:00, the failure time of the second switch is 30 minutes from 14:20 to 14:50, and the failure time of the system software is 50 minutes from 14:30 to 15:20, of which 40 minutes from 14:20 to 15:00 is the repeated failure time. Since the first switch, the second switch and the system software belong to the second association relationship, the failure of any service component will cause the target service to be interrupted. Therefore, when calculating the second service interruption time, it is necessary to exclude the 40 minutes of repeated failures, and the second service interruption time is 60+30+50-40=100 minutes.

[0075] In order to further quantify the availability of the target service, in this embodiment, the availability of the target service is determined based on the first service interruption time and the second service interruption time, including: obtaining the target service time of the target service; taking the sum of the first service interruption time and the second service interruption time as the actual interruption time of the target service; and determining the availability of the target service based on the ratio of the actual interruption time to the target service time. Among them, the target service time is the prescribed service time for providing the target service, which is usually defined in a predetermined service catalog. The target service time can be matched according to different application systems. For example, in a stock trading service system, the target service time can be 5*8 hours, and in a banking service system, the target service time can be 7*24 hours. In this embodiment, the formula for calculating the availability of the target service is as follows:

[0076] For the service components belonging to the first association relationship, the availability of the target service is: Availability = [1-∑(MTTRCI A∩MTTR CI B) / specified service time]*100%, where MTTR CI A∩MTTR CI B represents the time intersection of all service components that provide support for the same service, i.e., have the same function and are backed up to each other, such as a hot backup relationship, and are interrupted at the same time; MTTR, i.e., Mean time to repair, is the average value of the repair time when the service component changes from a service unavailable state to a service available state, i.e., the service interruption time. In this implementation manner, MTTR is calculated based on the target service time.

[0077] For the service components belonging to the second association relationship, the availability of the target service is: Availability = [1-∑(MTTRCI C∪MTTR CI D) / specified service time]*100%, where MTTR CI C∪MTTR CI D represents the collection of service interruption times of all service components that provide support for the same service and are mutually dependent, influential, connected or running in association relationships.

[0078] Based on the above, taking the service availability calculation of the target service provided by an application system provided in this embodiment as an example, first determine the association between each service component as follows: the first client and the second client, the first cable and the second cable, the first disk and the second disk, the first application and the second application are components that have replacements for component failures, therefore, the first client and the second client, the first cable and the second cable, the first disk and the second disk, the first application and the second application are all in the first association relationship; the first switch, the router and the second switch are all single-point devices, and the target service is unavailable when any component fails, therefore, the first switch, the router and the second switch are in the second association relationship; the system software runs on the server, and the target service is unavailable when any of the two fails, therefore, the system software and the server are also in the second association relationship; it can be understood that the first client and the first cable, the second client and the second cable, the first disk and the server, the second disk and the server are in the second association relationship. Then, the availability calculation formula for the target service provided by the application system of this embodiment is:

[0079] [1-∑(MTTR PC1∩MTTR PC2)∪∑(MTTR cable1∩MTTR cable2)∪∑(MTTRswitch1∪WAN∪switch2∪server∪system software)∪∑(MTTR application1∩MTTRapplication2)∪∑(MTTR disk1∩MTTR disk2) / specified service time]*100%, wherein PC1 is the first client, PC2 is the second client, cable1 is the first cable, cable2 is the second cable, switch1 is the first switch, switch2 is the second switch, WAN is the router, server is the server, system software is the system software, application1 is the first application, application2 is the second application, disk1 is the first disk, and disk2 is the second disk. Among them, ∑(MTTR PC1∩MTTR PC2)∪∑(MTTR cable1∩MTTR cable2)∪∑(MTTR switch1∪WAN∪switch2∪server∪system software)∪∑(MTTR application1∩MTTR application2)∪∑(MTTR disk1∩MTTR disk2) is the actual outage time of the target service.

[0080] Since the interruption of the target service may also be caused by the failure of the non-service component itself, in order to further quantify the nominal availability of the target service, the method of this embodiment also includes: obtaining the non-service interruption time of the target service, the non-service interruption time includes the interruption time of the pre-planned interruption of the target service and / or the interruption time of the target service caused by the non-service component; taking the difference between the actual interruption time and the non-service interruption time as the nominal interruption time of the target service; and determining the nominal availability of the target service according to the ratio of the nominal interruption time to the target service time. The non-service interruption time refers to the interruption time of the target service caused by reasons other than the service provider, such as the interruption time of the target service caused by a planned downtime or power outage. When calculating the nominal availability of the target service, the planned downtime of the server and / or the non-service interruption time M of the target service interruption caused by external factors can be obtained through the ITSM system of the enterprise. Based on the actual interruption time calculated above, the nominal availability time of the target service can be obtained by subtracting M. The nominal availability calculation formula of the target service is: nominal availability = [1-∑(actual interruption time-M) / specified service time]*100%.

[0081] This embodiment monitors the availability of the target service based on the association relationship between service components, which solves the inaccuracy of the target service interruption time caused by manual recording of faults, and the possibility of manual modification of the target service availability; it solves the problem that the current daily monitoring of the performance information of service components can only express the performance of individual service components, but cannot express the service availability of the target service provided by the application system; at the same time, the nominal availability of the target service is calculated based on excluding planned downtime and the time when the target service is unavailable due to external factors, which is conducive to better and more intuitive monitoring of the availability of the target service.

[0082] In one embodiment, Figure 3 As shown, a device for monitoring the service availability of an application system is provided, and the device for monitoring the service availability of an application system comprises:

[0083] A data acquisition module is configured to acquire monitoring parameters corresponding to each service component used to provide a target service and an association relationship between each service component;

[0084] The availability monitoring module is configured to determine the availability status of each service component according to the monitoring parameters corresponding to each service component; and determine the availability of the target service according to the availability status of each service component and the association relationship between the service components.

[0085] The application system service availability monitoring device includes a processor and a memory. The data acquisition module and the availability monitoring module are stored in the memory as program units. The processor executes the program modules stored in the memory to implement corresponding functions.

[0086] The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and the application system service availability monitoring method is implemented by adjusting kernel parameters.

[0087] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0088] An embodiment of the present application provides a processor configured to execute the above-mentioned application system service availability monitoring method.

[0089] An embodiment of the present application provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned application system service availability monitoring method.

[0090] Machine-readable storage media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0091] An embodiment of the present application provides a computer program product, including a computer program, which implements the above-mentioned application system service availability monitoring method when executed by a processor.

[0092] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0097] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for monitoring the availability of application system services, It is characterized in that The application system service availability monitoring method comprises: Obtain monitoring parameters corresponding to each service component used to provide the target service and the association relationship between each service component; Determining the availability status of each service component based on the monitoring parameters corresponding to each service component; and Determining the availability of the target service according to the availability status of each service component and the association relationship between the service components; The availability status of the service components includes: service available and service unavailable; the determining the availability of the target service according to the availability status of each service component and the association relationship between the service components includes: Determine the service outage duration for the service component whose availability status is Service Unavailable; and Determine the availability of the target service according to the service interruption time of each service component whose availability status is unavailable and the association relationship between each service component; The relationship between service components is determined by the following method: The current service component and the target service component have the same function, and the availability status of the current service component and the target service component are both service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a first association relationship; The availability status of any one of the current service component and the target service component is service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a second association relationship.

2. The method for monitoring the availability of application system services according to claim 1, It is characterized in that The monitoring parameter corresponding to the service component includes at least one of a first monitoring parameter, a second monitoring parameter and a third monitoring parameter, wherein the first monitoring parameter is used to characterize the service operation state of the service component, the second monitoring parameter is used to characterize the performance state of the service component, and the third monitoring parameter is used to characterize the service operation state corresponding to the service component; Determining the availability status of each service component according to the monitoring parameters corresponding to each service component includes: When one or more of the first monitoring parameter, the second monitoring parameter and the third monitoring parameter corresponding to the service component meet the preset conditions, the availability status of the service component is determined to be service available, otherwise the availability status of the service component is determined to be service unavailable.

3. The method for monitoring the availability of application system services according to claim 1, It is characterized in that Determining the availability of the target service according to the service interruption time of each service component whose availability status is service unavailable and the association relationship between each service component includes: Determining a first service interruption time of the target service according to the service interruption times of all service components having the same function and having a first association relationship; Determining a second service interruption time of the target service according to the service interruption times of all service components having a second association relationship; The availability of the target service is determined according to the first service interruption time and the second service interruption time.

4. The method for monitoring the availability of application system services according to claim 3, It is characterized in that Determining a first service interruption time of the target service according to the service interruption times of all service components having the same function and having a first association relationship includes: Taking the intersection of service interruption times of all service components having the same function and a first association relationship as the first service interruption time of the target service; The intersection of the service interruption time is the time when the availability status of all service components having the same function and the first association relationship is simultaneously in the state of service unavailable.

5. The method for monitoring the availability of application system services according to claim 4, It is characterized in that Determining the second service interruption time of the target service according to the service interruption time of all service components having the second association relationship includes: Determine the time when the availability status of all service components having the second association relationship is simultaneously in the state of service unavailable as the repeated interruption time; The difference between the sum of the service interruption times of all service components having the second association relationship and the repeated interruption time is used as the second service interruption time of the target service.

6. The method for monitoring the availability of application system services according to claim 5, It is characterized in that Determining the availability of the target service according to the first service interruption time and the second service interruption time includes: Obtaining a target service time for the target service; Taking the sum of the first service interruption time and the second service interruption time as the actual interruption time of the target service; The availability of the target service is determined according to a ratio of the actual interruption time to the target service time.

7. The method for monitoring the availability of application system services according to claim 6, It is characterized in that The method further comprises: Acquire the non-service interruption time of the target service, where the non-service interruption time includes the interruption time of the target service that is pre-planned and / or the interruption time of the target service that is caused by a non-service component; taking the difference between the actual interruption time and the non-service interruption time as the nominal interruption time of the target service; and The nominal availability of the target service is determined according to a ratio of the nominal interruption time to the target service time.

8. An application system service availability monitoring device, It is characterized in that The application system service availability monitoring device comprises: A data acquisition module is configured to acquire monitoring parameters corresponding to each service component used to provide a target service and an association relationship between each service component; The availability monitoring module is configured to: Determine the availability status of each service component based on the monitoring parameters corresponding to each service component; Determining the availability of the target service according to the availability status of each service component and the association relationship between the service components; The availability status of the service components includes: service available and service unavailable; the determining the availability of the target service according to the availability status of each service component and the association relationship between the service components includes: Determine the service outage duration for service components with an availability status of Service Unavailable; and Determine the availability of the target service according to the service interruption time of each service component whose availability status is unavailable and the association relationship between each service component; The relationship between service components is determined by the following method: The current service component and the target service component have the same function, and the availability status of the current service component and the target service component are both service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a first association relationship; The availability status of any one of the current service component and the target service component is service unavailable, the target service is interrupted, and the association relationship between the current service component and the target service component is determined to be a second association relationship.

9. A processor, It is characterized in that The method is configured to execute the application system service availability monitoring method as described in any one of claims 1 to 7.

10. A machine-readable storage medium having instructions stored thereon, It is characterized in that When the instruction is executed by a processor, the processor is configured to execute the application system service availability monitoring method as described in any one of claims 1 to 7.

11. A computer program product comprising a computer program, It is characterized in that The computer program implements the application system service availability monitoring method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • Service availability monitoring method and device

    CN106506278A

  • Server fault diagnosis method and device and electronic device

    CN113590429A

  • Availability, reliability or maintainability index including outage characterization

    US6901347B1