Business failure analysis method, device, medium, and product

By analyzing service faults from the threshold dimension of network protocol parameters, the estimated threshold for processing target services is determined and simulated, solving the problem of inaccurate analysis results in existing technologies and achieving fault analysis with higher accuracy and reliability.

CN118827329BActive Publication Date: 2026-01-23CHINA MOBILE GROUP DESIGN INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411150971.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2026-01-23
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

Existing solutions for analyzing service anomalies based on network devices and network components lack accuracy and reliability.

Method used

By analyzing service faults from the threshold dimension of protocol parameters in network protocols, the estimated threshold of the target service is determined. Based on the simulated processing of the service performance index values ​​of the target service, combined with fault analysis strategies, the accuracy and reliability of the analysis results are improved.

Benefits of technology

It expands the dimensions of fault analysis, improves the accuracy and reliability of business fault analysis results, and can more accurately match the actual handling situation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827329B_ABST
    Figure CN118827329B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of computer, and particularly provides a service fault analysis method, device, medium and product. The service fault analysis method comprises: determining a target protocol involved in a service process of a target service; determining an estimated threshold of a protocol parameter in a target service scenario based on a service requirement of the target service and a basic threshold of the protocol parameter in the target protocol; simulating processing of the target service based on the target service and the estimated threshold of the protocol parameter to obtain a service performance index value of the target service in a case where the protocol parameter is the estimated threshold; and determining a fault analysis result when the target service is processed based on the estimated threshold of the protocol parameter according to the service performance index value and a fault analysis strategy. The present disclosure extends the service fault analysis to the threshold dimension of the protocol parameter in the network protocol, and improves the accuracy and reliability of the determined fault analysis result of the target service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a business failure analysis method, device, medium, and product. Background Technology

[0002] During the provision of business services, service providers may encounter service anomalies due to equipment failures, network failures, or other factors. In order to ensure the continuity and reliability of business services, fault analysis of business services is a fundamental task for service providers.

[0003] In related technologies, network devices, network conditions, and network status under abnormal service conditions can be analyzed to identify the factors causing the abnormal service, and relevant improvements can be made based on the analysis results.

[0004] However, the service anomaly analysis solutions provided in related technologies, which are based on network devices and network components, usually focus on analyzing service anomalies at the hardware device or network condition level, resulting in low accuracy and reliability of the determined analysis results. Summary of the Invention

[0005] This disclosure is made in view of the above-mentioned problems. This disclosure provides a service failure analysis method, device, medium, and product that can perform service failure analysis from the threshold dimension of protocol parameters in network protocols, thereby improving the accuracy and reliability of failure analysis results for identified target services.

[0006] According to one aspect of this disclosure, a method for analyzing service failures is provided, comprising:

[0007] Identify the target agreements involved in the service process of the target business;

[0008] Based on the business requirements of the target business and the basic thresholds of the protocol parameters in the target protocol, the estimated thresholds of the protocol parameters are determined in the target business scenario.

[0009] Based on the target service and the estimated threshold of the protocol parameters, the target service is simulated to obtain the service performance index value of the target service when the protocol parameters are the estimated threshold.

[0010] Based on the business performance index values ​​and fault analysis strategies, determine the fault analysis results when processing the target business using the estimated threshold based on the protocol parameters.

[0011] According to another aspect of this disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method as described above.

[0012] According to another aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method as described above.

[0013] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method as described above.

[0014] The business fault analysis method, device, medium, and product provided in this disclosure can, on the one hand, perform fault analysis on business services from the perspective of threshold values ​​of protocol parameters involved in the business service process, thereby expanding the dimensions of fault analysis in the business service process and improving the accuracy and reliability of the determined business fault analysis results. On the other hand, it can determine the estimated threshold values ​​of protocol parameters involved in the target business processing based on the actual business needs of the target business, and simulate the processing of the target business based on the estimated threshold values ​​of protocol parameters in the target protocol, and perform fault analysis based on the simulation results. This can improve the matching between the determined business fault analysis results and the actual processing situation of the target business, further improving the accuracy and reliability of the determined fault analysis results of the target business.

[0015] It should be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further illustration of the claimed technology. Attached Figure Description

[0016] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.

[0017] Figure 1 This is a flowchart illustrating a communication network coverage assessment method according to an embodiment of this disclosure.

[0018] Figure 2 This is a flowchart further illustrating the service failure analysis method of an embodiment of the present disclosure.

[0019] Figure 3 This is a block diagram illustrating a service failure analysis apparatus according to an embodiment of the present disclosure.

[0020] Figure 4 This is a schematic diagram illustrating a computer program product according to an embodiment of the present disclosure.

[0021] Figure 5This is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.

[0023] In order to ensure the continuity and reliability of business services, it is a fundamental task for business service providers to conduct fault analysis in the event of anomalies.

[0024] Typically, service providers can analyze the network equipment, network devices, and / or network conditions involved in the service process to determine the fault analysis results. For example, after determining that a certain service provided by the operator has failed, the operator can analyze the operator's hardware equipment and / or network conditions to obtain fault analysis results and optimize the service.

[0025] However, this business service failure analysis solution based on hardware devices and / or network conditions focuses on fewer failure dimensions, resulting in low accuracy and reliability of the determined analysis results.

[0026] To address the aforementioned problems, this disclosure provides a flowchart of a service failure analysis method. This method can be applied to electronic devices such as computers, laptops, tablets, or servers. Figure 1 As shown, the method in this embodiment of the disclosure may include:

[0027] Step S101: Determine the target protocol involved in the service process of the target business;

[0028] Step S102: Based on the business requirements of the target business and the basic thresholds of the protocol parameters in the target protocol, determine the estimated thresholds of the protocol parameters in the target business scenario.

[0029] Step S103: Based on the target service and the estimated threshold of the protocol parameters, simulate the processing of the target service to obtain the service performance index value of the target service when the protocol parameters are the estimated threshold.

[0030] Step S104: Based on the service performance index value and the fault analysis strategy, determine the fault analysis result when processing the target service using the estimated threshold based on the protocol parameters.

[0031] In summary, the business fault analysis provided by the embodiments of this disclosure, on the one hand, can analyze business service faults from the perspective of threshold dimensions of protocol parameters in the protocols involved in the business service process, thus expanding the dimensions of fault analysis in the business service process and improving the accuracy and reliability of the determined business fault analysis results; on the other hand, it can determine the estimated thresholds of protocol parameters in the target protocol involved in the target business processing based on the actual business needs of the target business, and simulate the processing of the target business based on the estimated thresholds of protocol parameters in the target protocol, and perform fault analysis based on the simulation results, which can improve the matching between the determined business fault analysis results and the actual processing situation of the target business, further improving the accuracy and reliability of the determined fault analysis results of the target business.

[0032] The following are Figure 1 The specific implementation methods of each step in the illustrated embodiment are described in detail below:

[0033] In step S101, the electronic device can determine the target protocol involved in the service process of the target service.

[0034] In this embodiment of the disclosure, the target service can be any service that the service provider can provide; the target protocol refers to the protocol used by the service provider during data transmission when providing services for the target service.

[0035] In one optional implementation, the electronic device determining the target protocol involved in the service process of the target service may include: reading network configuration information about the target service to obtain the network protocol involved in the service process of the target service; and determining the network protocol involved in the service process of the target service as the target protocol. Here, the network configuration information is the relevant network information configured by the service provider to achieve the service purpose of the target service.

[0036] It is understood that, in the embodiments of this disclosure, the network protocol configured for the target service may include network layer, network link layer, transport layer and / or application layer network protocols.

[0037] In one optional implementation, the electronic device may determine the target protocol involved in the service process of the target service by: reading network configuration information about the target service to obtain the network protocol involved in the service process of the target service; determining the key protocol involved in the service process of the target service according to the service type to obtain the target protocol; and performing fault analysis based on the more critical network protocol in the service process of the target service, which can not only ensure the reliability of fault analysis, but also reduce the data processing volume of the electronic device and reduce the resource consumption of the electronic device.

[0038] It should be noted that, in this embodiment of the disclosure, the key network protocols of concern are different in different business scenarios. Therefore, the process by which the electronic device determines the key protocols involved in the service process of the target service according to the service type may include: searching the service configuration information of the target service and determining the key protocols involved in the service process of the target service.

[0039] In step S102, the electronic device can determine the estimated threshold of the protocol parameters in the target service scenario based on the service requirements of the target service and the basic threshold of the protocol parameters in the target protocol.

[0040] In this embodiment of the disclosure, protocol parameters refer to configuration parameters, status parameters, and interaction mode parameters that can ensure the normal implementation of network protocol capabilities. The protocol parameters of different network protocols may be different, and the specific parameters can be determined based on actual needs. This embodiment of the disclosure does not limit this. The basic threshold of the protocol parameters can be the default threshold of the protocol parameters.

[0041] It should be noted that network protocol parameters differ depending on the dimension from which they are defined. For example, from the perspective of protocol rules and variables, protocol parameters may include transmission rate, packet structure, error detection and correction mechanisms, control message format, etc. From the perspective of syntax, protocol parameters may include data unit format, header field settings, payload content, etc. From the perspective of semantics, protocol parameters may include: the process of connection establishment and release, the order of information exchange under different states, and the corresponding action responses. From the perspective of timing, protocol parameters may also include the time sequence relationship of event triggering, timeout limits, and retransmission policies, etc. From the perspective of protocol configuration, protocol parameters may include Internet Protocol (IP) address range, port number, security settings, Quality of Service (QoS), etc.

[0042] In one optional implementation, the process by which an electronic device determines the estimated threshold of the protocol parameter in the target service scenario based on the service requirements of the target service and the basic threshold of the protocol parameter in the target protocol may include: reading the configuration threshold for the protocol parameter in the target protocol from the service requirements information of the target service; wherein, if the configuration threshold and the basic threshold are the same, the basic threshold is determined as the estimated threshold of the protocol parameter in the target service scenario; or, if the configuration threshold and the basic threshold are different, the configuration threshold is determined as the estimated threshold of the protocol parameter in the target service scenario.

[0043] In one optional implementation, the process by which an electronic device determines the estimated threshold of the protocol parameter in the target service scenario based on the service requirements of the target service and the basic threshold of the protocol parameter in the target protocol may include: reading the threshold adjustment range for the protocol parameter in the target protocol from the service requirements information of the target service; and then, determining the estimated threshold of the protocol parameter in the target service scenario based on the threshold adjustment range and the basic threshold.

[0044] For example, regarding transmission rate, if the threshold adjustment range for transmission rate in the service requirement information of the target service is: basic threshold ± 50M / s; if the basic threshold for transmission rate is 200M / s-400M / s, then the estimated threshold for transmission rate can be determined to be 150M / s-450M / s, or 250M / s-350M / s, or 200M / s-350M / s, etc.

[0045] In step S103, the electronic device can simulate the processing of the target service based on the target service and the estimated threshold of the protocol parameters to obtain the service performance index value of the target service when the protocol parameters are the estimated threshold.

[0046] In this embodiment of the disclosure, the service performance index is used to characterize the quality of the service processing results. Specifically, the service performance index may include the service completion quality index and the user service experience index. The service completion quality index may be determined based on the service type, and this embodiment of the disclosure does not limit this. For example, if the target service is a billing service, the service completion quality index may be the billing success rate; if the target service is a digital content service, the service completion quality index may be the data content successful delivery rate. The user service experience index may be the Quality of Service (Qos) or the perceived quality of experience (QoE).

[0047] It should be noted that, in the embodiments of this disclosure, the electronic device can build a network environment model to simulate the network environment of the service provider, obtain a simulated service network, and analyze the faults in the process of the service provider processing the target service through the estimated threshold of the protocol parameters.

[0048] In one optional implementation, the electronic device can simulate processing the target service based on the target service and an estimated threshold value of the protocol parameters to obtain a service performance index value of the target service when the protocol parameters are at the estimated threshold value. This process may include:

[0049] In response to the startup operation of the simulated service network, the simulated service network is run. Then, the service performance index values ​​during the operation of the simulated service network are obtained to obtain the service performance index values ​​of the target service when the protocol parameters are at the estimated threshold. It is understood that the simulated service network is used to simulate a network providing services to the target service, and the operating protocol of the simulated service network is configured to be the target protocol, where the protocol parameters are set to the estimated threshold. By building a simulated service network for the service provider, simulating the scenario of the service provider processing the target service, the service performance index values ​​of the target service when the protocol parameters are at the estimated threshold can be obtained, ensuring the reliability of the obtained service performance index values ​​of the target service.

[0050] It is understood that, in the embodiments of this disclosure, electronic devices can allow operators to build network topology structures in network environment simulation software to obtain simulated service networks. The virtual devices in the simulated service network and the connection relationships of the virtual devices can correspond one-to-one with the actual network devices of the service provider and the connection relationships of the actual network devices. This disclosure does not limit this. For example, the simulated service network may include virtual hosts, virtual routers, and virtual switches, etc.; the network environment simulation can be network simulation software such as Discrete Event Simulator (NS-3).

[0051] It should be noted that in this embodiment, the service network of the service provider may experience anomalies during operation (such as equipment or network anomalies). The fault handling mechanism in the service network can ensure that service can still be provided under abnormal circumstances. However, since equipment or network anomalies can lead to a shortage of available resources in the service network, after the service network executes the anomaly handling mechanism, the service network can also explicitly handle the fault situation in the target service based on the estimated threshold of the protocol parameters in the target protocol. Therefore, during the construction of the simulated service network, a fault simulation event can be configured in the configuration information of the simulated service network to trigger the simulated service network to perform fault handling and obtain the fault simulation service after fault handling. The service performance index value when handling the target service based on the estimated threshold of the protocol parameters in the target protocol can be used to perform fault analysis of the target service under fault conditions.

[0052] In one optional implementation, during the operation of the simulated service network, if the current time is a pre-set fault trigger time, the electronic device can update the simulated service network based on the fault information corresponding to the current time to obtain a fault simulation service network. It is understood that after the electronic device performs fault simulation, the process of obtaining the service performance index value during the operation of the simulated service network to obtain the service performance index value of the target service when the protocol parameter is the estimated threshold may include: obtaining the service performance index value during the operation of the fault simulation service network to obtain the service performance index value of the target service when the protocol parameter is the estimated threshold. The simulated service network can handle the service performance index value of the target service under a fault handling mechanism, based on the protocol parameter in the target protocol being the estimated threshold, to perform fault analysis of the target service under fault conditions, thereby improving the richness of the fault analysis results for the determined target service.

[0053] The fault information can be determined based on the fault type, which can be determined based on the actual situation. The fault type can be a switch port abnormality, insufficient node device resources, or a change in service processing priority, etc. The fault information corresponding to a switch port abnormality can be: the A1 port of the virtual switch is abnormal; the fault information corresponding to insufficient node device resources can be: insufficient resources of the virtual node device B1, etc. This disclosure embodiment will not elaborate on these.

[0054] It is understood that updating the simulated service network to obtain a fault simulation service network by the electronic device includes: controlling the simulated service network to be in a fault state indicated by fault information, and performing fault processing to obtain the fault simulation service network. The content of the fault processing may vary depending on the fault information, and specifically, it can be determined based on the actual situation; this disclosure does not limit this aspect.

[0055] For example, if the fault information indicates an anomaly in port A1 of the virtual switch, the fault handling performed by the electronic device in the simulated service network could be: redirecting the data transmitted from port A1 in the virtual switch to port A2 in the virtual switch for transmission; or, if the fault information indicates insufficient resources in virtual node device B1, the fault handling performed by the electronic device in the simulated service network could be: redirecting the virtual service processing request received by virtual node device B1 to virtual node device B2 for processing; it is understood that since the service network can typically provide services for multiple services, the virtual service processing request can be a processing request for the target service or a processing request for a non-target service.

[0056] It should be noted that, in this embodiment, fault information can be configured in the configuration information of the simulated service network as timed events. Upon reaching the event scheduling time, the fault information is scheduled through a scheduling function, and the simulated service network is updated. Multiple fault information items can be included, and corresponding timed events can also be included. The electronic device can store multiple timed events in a fault information queue according to their chronological order and schedule them sequentially. The scheduling function can be the `Schedule` function of the `ns3::Simulator` class; however, this embodiment does not limit its specific implementation.

[0057] In step S104, the electronic device can determine the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters, according to the service performance index value and the fault analysis strategy.

[0058] In this embodiment of the disclosure, the fault analysis strategy is used to analyze the possible faults of the service provider processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value obtained by simulating the processing of the target service, and to obtain the fault analysis result; wherein, the fault analysis strategy can be determined based on the actual service type, and this embodiment of the disclosure does not limit it.

[0059] It should be noted that in this embodiment, the number of protocol parameters includes multiple parameters, allowing for fault analysis from multiple dimensions during the target service fault analysis process. For example, if multiple protocol parameters are all estimated thresholds associated with each protocol parameter, then step S103 described above is executed to obtain the service performance indicators of the target service.

[0060] In another example, for each protocol parameter, the threshold of other protocol parameters can be determined as the basic threshold associated with each other protocol parameter. The above step S103 is executed multiple times to obtain the service performance index value associated with each of the multiple protocol parameters when each protocol parameter is the estimated threshold.

[0061] As another example, at least two of the multiple protocol parameters can be combined into a protocol parameter group, and the threshold of the protocol parameters in the protocol parameter group can be determined as the estimated threshold. The threshold of the protocol parameters in the non-protocol parameter group is kept as the base threshold. The service performance index value associated with the protocol parameter group composed of the at least two protocol parameters is obtained when the estimated threshold is the estimated threshold of the at least two protocol parameters in the target protocol.

[0062] In one optional implementation, the number of protocol parameters includes multiple parameters, and the service performance indicators include service performance indicator values ​​associated with each of the multiple protocol parameters when each protocol parameter is at the estimated threshold. The process by which the electronic device determines the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance indicator values ​​and a fault analysis strategy may include: determining the service performance indicator value associated with each protocol parameter, and the difference between the service performance indicator reference values; then, determining the protocol parameter associated with the largest difference as the target protocol parameter, and generating a first fault analysis result based on the target protocol parameter, wherein the first fault analysis result indicates that the target protocol parameter is the most performance-sensitive protocol parameter for the target service. It is possible to determine the protocol parameter most sensitive to the performance of the target service among multiple protocol parameters involving the target protocol, thereby obtaining the fault analysis result.

[0063] In one optional implementation, the number of protocol parameters includes multiple parameters, and the service performance index includes the service performance index value associated with a protocol parameter group consisting of at least two protocol parameters in the target protocol, where each parameter is an estimated threshold. The process by which the electronic device determines the fault analysis result when processing the target service based on the estimated thresholds of the protocol parameters, according to the service performance index value and a fault analysis strategy, may include: if the service performance index value associated with the protocol parameter group is less than the service performance index value associated with each protocol parameter in the protocol parameter group, then a second fault analysis result is generated. This second fault analysis result indicates that the performance degradation of the target service caused by the protocol parameter group is stronger than the performance degradation of the target service caused by each protocol parameter in the protocol parameter group. The fault analysis result can be obtained by comparing the performance impact of a combination of at least two protocol parameters and each protocol parameter in the combination on the target protocol during the target service process.

[0064] In one optional implementation, the number of protocol parameters includes multiple parameters. The electronic device determines the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value and the fault analysis strategy. This includes: determining the difference between the service performance index value and the basic service performance index value; if the difference is greater than a preset difference threshold, generating a third fault analysis result; or, if the difference is less than or equal to the preset difference threshold, generating a fourth fault analysis result. The third fault analysis result indicates that the service performance degradation level is high when the threshold of the protocol parameter is the preset threshold, and the fourth fault analysis result indicates that the service performance degradation level is low when the threshold of the protocol parameter is the preset threshold. The preset difference threshold can be determined based on actual needs, and this embodiment does not limit this. The simultaneous changes in the protocol parameters of the target service can be determined to determine the degree of impact on the performance of the target service, thus obtaining the fault analysis result.

[0065] Among them, the service performance index value is obtained when the thresholds of multiple protocol parameters are all the same, and the estimated threshold associated with each protocol parameter is also the same; the basic service performance index can be the service performance index value when the thresholds of multiple protocol parameters are all the basic thresholds, or the basic service performance index value can be the service performance index specified in the Service-Level Agreement (SLA).

[0066] In an optional implementation, when the number of protocol parameters includes multiple parameters, and the service performance index value is obtained by considering the threshold values ​​of multiple protocol parameters and the estimated threshold associated with each protocol parameter, the electronic device can also acquire data transmission behavior information of the target protocol during the operation of the simulated service network. The process by which the electronic device determines the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value and the fault analysis strategy can include: determining the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the data transmission behavior information, the service performance index value, and the fault analysis strategy; the data transmission behavior information can include the number of retransmissions, window adjustment length, or congestion control counts, etc. When the service network processes the target service based on the estimated threshold of the protocol parameters, fault analysis can be performed by combining the data transmission behavior information and service performance index value when the target protocol transmits data, further improving the accuracy of the determined fault analysis result.

[0067] In an optional implementation, if the data transmission information is the number of retransmissions, the process by which the electronic device determines the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the data transmission behavior information, the service performance index value, and the fault analysis strategy may include: if the number of retransmissions is greater than the retransmission number threshold, and the difference between the service performance index value and the basic service performance index value is greater than a preset difference threshold, then a fifth fault analysis result is generated, and the fourth fault analysis result indicates that when the threshold of the protocol parameters is the preset threshold, the resulting service performance degradation level is the highest level; wherein, the retransmission number threshold can be determined based on actual needs, and this disclosure embodiment does not limit it.

[0068] Alternatively, if the number of retransmissions is less than or equal to the retransmission threshold, and the difference between the service performance index value and the basic service performance index value is greater than the preset difference threshold, then a third fault analysis result is generated; or, if the number of retransmissions is greater than the retransmission threshold, and the difference between the service performance index value and the basic service performance index value is less than or equal to the preset difference threshold, then a third fault analysis result is generated; or, if the number of retransmissions is less than or equal to the retransmission threshold, and the difference between the service performance index value and the basic service performance index value is less than or equal to the preset difference threshold, then a fourth fault analysis result is generated.

[0069] It is understood that, in the embodiments of this disclosure, when the data transmission information is window adjustment length or congestion control count, the process by which the electronic device determines the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the data transmission behavior information, the service performance index value, and the fault analysis strategy can be referred to as the process by which the electronic device determines the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the data transmission behavior information, the service performance index value, and the fault analysis strategy when the data transmission information is retransmission count. This embodiment of the disclosure will not elaborate on this process.

[0070] In one optional implementation, the electronic device can further: determine a service optimization result corresponding to the fault analysis result based on the fault analysis result of the target service and a preset fault handling strategy. The service of the target service can be optimized based on the fault analysis result to further improve the service reliability of the target service.

[0071] It should be noted that, in the embodiments of this disclosure, the service optimization strategies determined may differ depending on the different fault analysis results; specifically, they may be determined based on the actual situation, and the embodiments of this disclosure do not limit this.

[0072] In one optional implementation, if the fault analysis result is the first fault analysis result, then the service optimization result is: the estimated threshold of the target protocol parameter is corrected to obtain the updated estimated threshold of the target protocol parameter. The correction process for the estimated threshold of the target protocol parameter can be determined based on the actual situation; for example, reducing the difference between the boundary value of the updated estimated threshold of the target protocol parameter and the boundary value of the basic threshold of the target protocol parameter.

[0073] In one optional implementation, if the fault analysis result is the second fault analysis result, then the service optimization result is: update the parameter value of any protocol parameter in the protocol parameter group to the base threshold.

[0074] In one optional implementation, if the fault analysis result is the third fault analysis result, the service optimization result is: to introduce more advanced congestion control algorithms, error detection mechanisms and correction mechanisms into the service network to improve the stability and efficiency of the target protocol when multiple protocol parameters are all at the estimated threshold; or, to add redundant paths and load balancing strategies into the service network; or, to configure dynamic resource allocation and automatic failover functions into the service network.

[0075] For example, such as Figure 2 As shown, Figure 2 This disclosure illustrates another service failure analysis method provided by an embodiment of the present disclosure:

[0076] Step S201: Determine the target protocol involved in the service process of the target business;

[0077] Step S202: Based on the business requirements of the target business and the basic thresholds of the protocol parameters in the target protocol, determine the estimated thresholds of the protocol parameters in the target business scenario.

[0078] Step S203: In response to the startup operation of the simulated service network, run the simulated service network;

[0079] Step S204: Obtain service performance index values ​​and data transmission behavior information of the target protocol during the operation of the simulated service network.

[0080] Step S205: Based on data transmission behavior information, service performance index values, and fault analysis strategies, determine the fault analysis results when processing the target service using the estimated threshold based on protocol parameters.

[0081] It is understood that, in the embodiments of this disclosure, the above-mentioned method provides a scheme for determining the fault analysis results when processing target services based on the estimated threshold of the protocol parameters in a single target protocol after estimating the threshold of the protocol parameters.

[0082] In an optional implementation, when the number of target protocols involved in the target service includes multiple, after the target protocols involved in the service process of the electronic device, the target protocols involved in each processing step of the target service can be determined based on the order of the processing flow of the target service, and the dependency relationship of at least two target protocols involved in at least two processing steps can be determined according to the order of the processing steps to obtain a target protocol group.

[0083] Furthermore, the electronic device can refer to step S102 above to determine the estimated threshold of the protocol parameters in each target protocol included in the target protocol group, and based on steps S103 to S104 above, determine the fault analysis results when processing the target service based on the estimated thresholds of the protocol parameters in each target protocol included in the target protocol group. This allows the dependencies of the target protocols involved in the target service processing to be considered among the influencing factors of the target service, further improving the accuracy and reliability of the determined fault analysis results.

[0084] An exemplary embodiment of this disclosure provides a service failure analysis apparatus, which can be an electronic device. Figure 3 A schematic block diagram of the functional modules of a service failure analysis apparatus according to an exemplary embodiment of the present disclosure is shown. Figure 3 As shown, the service failure analysis device 300 includes:

[0085] The first determining module 301 is configured to determine the target protocol involved in the service process of the target service.

[0086] The second determining module 302 is configured to determine the estimated threshold of the protocol parameters in the target business scenario based on the business requirements of the target business and the basic threshold of the protocol parameters in the target protocol.

[0087] The service simulation module 303 is configured to simulate the processing of the target service based on the target service and the estimated threshold of the protocol parameters, and to obtain the service performance index value of the target service when the protocol parameters are the estimated threshold.

[0088] The third determining module 304 is configured to determine the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters, according to the service performance index value and the fault analysis strategy.

[0089] Optionally, the business simulation module 303 is configured as follows:

[0090] In response to the startup operation of the simulated service network, the simulated service network is run, wherein the simulated service network is used to simulate a network that provides services for the target service, the operating protocol of the simulated service network is configured to be the target protocol, and the values ​​of the protocol parameters in the target protocol are the estimated thresholds;

[0091] The service performance index values ​​during the operation of the simulated service network are obtained, and the service performance index values ​​of the target service are obtained when the protocol parameters are the estimated threshold.

[0092] Optionally, the device further includes an update module 305, configured to:

[0093] During the operation of the simulated service network, if the current time is the pre-set fault trigger time, the simulated service network is updated according to the fault information corresponding to the current time to obtain the fault simulation service network.

[0094] The step of obtaining the service performance index value during the operation of the simulated service network, and obtaining the service performance index value of the target service when the protocol parameter is the estimated threshold, includes:

[0095] The service performance index values ​​during the operation of the fault simulation service network are obtained, and the service performance index values ​​of the target service are obtained when the protocol parameter is the estimated threshold.

[0096] Optionally, the number of protocol parameters may include multiple parameters, and the service performance indicators may include service performance indicator values ​​associated with each of the multiple protocol parameters when each protocol parameter is at the estimated threshold.

[0097] The third determining module 304 is configured as follows:

[0098] Determine the service performance indicator value associated with each protocol parameter, and the difference between the service performance indicator reference values;

[0099] The protocol parameter associated with the maximum difference is determined as the target protocol parameter, and a first fault analysis result is generated based on the target protocol parameter, wherein the first fault analysis result indicates that the target protocol parameter is the most performance-sensitive protocol parameter of the target service.

[0100] Optionally, the number of protocol parameters may include multiple parameters, and the service performance indicator includes, when at least two protocol parameters in the target protocol are respectively the estimated thresholds, the service performance indicator value associated with the protocol parameter group consisting of the at least two protocol parameters.

[0101] The third determining module 304 is configured as follows:

[0102] If the service performance index value associated with the protocol parameter group is less than the service performance index value associated with each protocol parameter in the protocol parameter group, a second fault analysis result is generated, wherein the second fault analysis result indicates that the performance degradation of the target service caused by the protocol parameter group is stronger than the performance degradation of the target service caused by each protocol parameter in the protocol parameter group.

[0103] Optionally, the device further includes an acquisition module 306, configured to:

[0104] Obtain data transmission behavior information of the target protocol during the operation of the simulated service network;

[0105] The step of determining the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value and fault analysis strategy includes:

[0106] Based on the data transmission behavior information, the service performance index value, and the fault analysis strategy, determine the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters.

[0107] Optionally, the third determining module 304 is further configured to:

[0108] Based on the fault analysis results of the target service and the preset fault handling strategy, the service optimization results corresponding to the fault analysis results are determined.

[0109] Exemplary embodiments of this disclosure also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, causing the electronic device to perform a service failure analysis method according to embodiments of this disclosure.

[0110] Exemplary embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a business failure analysis method according to embodiments of this disclosure.

[0111] like Figure 4 As shown, an exemplary embodiment of this disclosure also provides a computer program product 400, including a computer program 401, wherein, when executed by a computer's processor, the computer program is used to cause the computer to perform a business fault analysis method according to an embodiment of this disclosure.

[0112] refer to Figure 5The following description serves as a structural block diagram of the electronic device 500 disclosed herein, which is an example of a hardware device applicable to various aspects of this disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the disclosure described and / or claimed herein.

[0113] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. The RAM 503 may also store various programs and data required for the operation of the electronic device 500. The computing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0114] Multiple components in electronic device 500 are connected to I / O interface 505, including: input unit 506, output unit 507, storage unit 508, and communication unit 509. Input unit 506 can be any type of device capable of inputting information to electronic device 500. Input unit 506 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 507 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 508 may include, but is not limited to, disk and optical disk. Communication unit 509 allows electronic device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0115] The computing unit 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above. For example, in some embodiments, the methods of the exemplary embodiments of this disclosure can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. In some embodiments, the computing unit 501 can be configured to perform the methods of the exemplary embodiments of this disclosure by any other suitable means (e.g., by means of firmware).

[0116] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0117] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0118] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0119] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0120] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0121] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.

[0122] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this disclosure are performed, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center integrating one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).

[0123] Although this disclosure has been described in conjunction with specific features and embodiments, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of this disclosure. Accordingly, this specification and drawings are merely exemplary illustrations of the disclosure as defined by the appended claims and are to be considered as covering any and all modifications, variations, combinations, or equivalents within the scope of this disclosure. It is obvious that those skilled in the art can make various alterations and modifications to this disclosure without departing from its spirit and scope. Thus, this disclosure is also intended to include any such modifications and modifications that fall within the scope of the claims of this disclosure and their equivalents.

Claims

1. A method for analyzing business failures, characterized in that, include: Identify the target agreements involved in the service process of the target business; Based on the business requirements of the target business and the basic thresholds of the protocol parameters in the target protocol, the estimated thresholds of the protocol parameters are determined in the target business scenario. Based on the target service and the estimated threshold of the protocol parameters, the target service is simulated to obtain the service performance index value of the target service when the protocol parameters are the estimated threshold. Based on the business performance index value and the fault analysis strategy, determine the fault analysis result when processing the target business based on the estimated threshold of the protocol parameters; The number of protocol parameters includes multiple parameters, and the service performance index includes, when at least two protocol parameters in the target protocol are respectively the estimated thresholds, the service performance index value associated with the protocol parameter group consisting of the at least two protocol parameters. The step of determining the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value and fault analysis strategy includes: If the service performance index value associated with the protocol parameter group is less than the service performance index value associated with each protocol parameter in the protocol parameter group, a second fault analysis result is generated, wherein the second fault analysis result indicates that the performance degradation of the target service caused by the protocol parameter group is stronger than the performance degradation of the target service caused by each protocol parameter in the protocol parameter group.

2. The business fault analysis method as described in claim 1, characterized in that, The process of simulating the target service based on the target service and the estimated threshold of the protocol parameters to obtain the service performance index value of the target service when the protocol parameters are at the estimated threshold includes: In response to the startup operation of the simulated service network, the simulated service network is run, wherein the simulated service network is used to simulate a network that provides services for the target service, the operating protocol of the simulated service network is configured to be the target protocol, and the values ​​of the protocol parameters in the target protocol are the estimated thresholds; The service performance index values ​​during the operation of the simulated service network are obtained, and the service performance index values ​​of the target service are obtained when the protocol parameters are the estimated threshold.

3. The business fault analysis method as described in claim 2, characterized in that, The method further includes: During the operation of the simulated service network, if the current time is the pre-set fault trigger time, the simulated service network is updated according to the fault information corresponding to the current time to obtain the fault simulation service network. The step of obtaining the service performance index value during the operation of the simulated service network, and obtaining the service performance index value of the target service when the protocol parameter is the estimated threshold, includes: The service performance index values ​​during the operation of the fault simulation service network are obtained, and the service performance index values ​​of the target service are obtained when the protocol parameter is the estimated threshold.

4. The business fault analysis method as described in claim 1, characterized in that, The number of protocol parameters includes multiple parameters, and the service performance indicators include service performance indicator values ​​associated with each of the multiple protocol parameters when each protocol parameter is at the estimated threshold. The step of determining the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value and fault analysis strategy includes: Determine the service performance indicator value associated with each protocol parameter, and the difference between the service performance indicator reference values; The protocol parameter associated with the maximum difference is determined as the target protocol parameter, and a first fault analysis result is generated based on the target protocol parameter, wherein the first fault analysis result indicates that the target protocol parameter is the most performance-sensitive protocol parameter of the target service.

5. The business fault analysis method as described in claim 2, characterized in that, The method further includes: Obtain data transmission behavior information of the target protocol during the operation of the simulated service network; The step of determining the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters according to the service performance index value and fault analysis strategy includes: Based on the data transmission behavior information, the service performance index value, and the fault analysis strategy, determine the fault analysis result when processing the target service based on the estimated threshold of the protocol parameters.

6. The business fault analysis method as described in claim 1, characterized in that, The method further includes: Based on the fault analysis results of the target service and the preset fault handling strategy, the service optimization results corresponding to the fault analysis results are determined.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the method as described in any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Fault repair method and device, electronic equipment and computer readable storage medium

    CN114650211A

  • Equipment fault detection method, electronic equipment and storage medium

    CN118011127A