Network fault influence analysis method and device, storage medium and electronic equipment
By acquiring and analyzing network tracking data and data center data, the intersection is calculated to determine the scope of network fault impact, solving the problem of insufficient analysis of network fault impact scope and improving the work efficiency of operation and maintenance personnel.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INDUSTRIAL AND COMMERCIAL BANK OF CHINA
- Filing Date
- 2022-09-19
- Publication Date
- 2026-06-05
AI Technical Summary
The lack of existing methods for analyzing the impact range of network faults leads to low work efficiency for maintenance personnel.
By acquiring network tracking data and data center data, after the device alarm command is triggered, the target field value is matched using routing table information, the intersection of the business network segment and the session network segment is calculated, the target network segment affected by the network fault is determined, and the status of the backup server is queried to determine whether the network fault has an impact on it.
Accurately analyze the scope of network failure impact, improve the work efficiency of maintenance personnel, reduce manual intervention, and increase the speed of fault diagnosis.
Smart Images

Figure CN115567366B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network data analysis, and more specifically, to a method, apparatus, storage medium, and electronic device for analyzing the impact of network faults. Background Technology
[0002] The primary responsibility of a bank's data center is to support electronic business processing and ensure the stable provision of services to customers by IT systems. When a failure occurs in the infrastructure, operations and maintenance (O&M) technicians need to restore production as quickly as possible and promptly conduct troubleshooting and business impact assessments. This is time-sensitive and challenging, thus requiring effective intelligent tools to assist in emergency response. While numerous innovative methods exist for automatically and intelligently analyzing and locating faults in the field of troubleshooting, existing technologies for analyzing and assessing the impact of network faults are relatively scarce, leading to lower work efficiency for O&M personnel.
[0003] There is a relative lack of analytical methods for assessing the impact of network faults in related technologies, which leads to low work efficiency for operations and maintenance personnel. Currently, no effective solution has been proposed. Summary of the Invention
[0004] The main objective of this application is to provide a method, apparatus, storage medium, and electronic device for analyzing the impact of network failures, in order to address the problem of a relative shortage of methods for analyzing the scope of network failure impacts in related technologies, which leads to low work efficiency for maintenance personnel.
[0005] To achieve the above objectives, according to one aspect of this application, a method for analyzing the impact of network failures is provided. The method includes: acquiring target data, wherein the target data includes at least: network tracking data and data from a target data center; analyzing the target data upon detecting a device alarm command being triggered, and obtaining analysis results, wherein the analysis results include at least: a set of service network segments affected by the network failure and a set of session network segments affected by the network failure; determining the target network segment information affected by the network failure based on the analysis results; and analyzing whether the network failure has an impact on a target backup server based on the target network segment information.
[0006] Furthermore, before analyzing the target data and obtaining the analysis results, the method also includes: obtaining the routing table information corresponding to the target data; and matching the values of the corresponding target fields between the alarm source port and the routing output port using the routing table information.
[0007] Furthermore, upon detecting that a device alarm command has been triggered, the target data is analyzed to obtain the following results: determining the set of service network segments affected by the network fault based on the value of the target field; obtaining the service network segment information in the set of service network segments; obtaining the network embedding data in the target data within a preset timestamp based on the service network segment information to obtain the target embedding data; and determining the set of session network segments affected by the network fault based on the target embedding data.
[0008] Furthermore, based on the analysis results, the target network segment information affected by the network failure is determined as follows: the intersection information between the service network segment set and the session network segment set is calculated; and the target network segment information affected by the network failure is determined based on the intersection information.
[0009] Furthermore, analyzing whether a network failure affects the target backup server based on the target network segment information includes: querying application configuration data based on the target network segment information to obtain the server cluster corresponding to the target network segment information; obtaining the status information of the target backup server from the server cluster; and analyzing whether a network failure affects the target backup server based on the status information.
[0010] Furthermore, analyzing whether a network failure affects the target backup server based on the status information includes: if the status information indicates that the target backup server is enabled, then determining whether the network traffic passing through the target port of the target backup server exceeds the preset traffic limit; if the network traffic passing through the target port of the target backup server exceeds the preset traffic limit, then the network failure affects the target backup server; if the network traffic does not exceed the preset traffic limit, then the network failure does not affect the target backup server; if the status information indicates that the target backup server is not enabled, then the network failure affects the target backup server.
[0011] To achieve the above objectives, according to another aspect of this application, a network fault impact analysis apparatus is provided. The apparatus includes: a first acquisition unit for acquiring target data, wherein the target data includes at least: network embedded data and data from a target data center; a first analysis unit for analyzing the target data and obtaining analysis results upon detecting a device alarm command being triggered, wherein the analysis results include at least: a set of service network segments affected by the network fault and a set of session network segments affected by the network fault; a determination unit for determining target network segment information affected by the network fault based on the analysis results; and a second analysis unit for analyzing whether the network fault has an impact on a target backup server based on the target network segment information.
[0012] Furthermore, the device also includes: a second acquisition unit, used to analyze the target data and, before obtaining the analysis results, acquire the routing table information corresponding to the target data; and a matching unit, used to match the values of the corresponding target fields between the alarm source port and the routing output port using the routing table information.
[0013] Furthermore, the first analysis unit includes: a first determination module, used to determine the set of service network segments affected by network failure based on the value of the target field; a first acquisition module, used to acquire service network segment information in the set of service network segments; a second acquisition module, used to acquire network embedding data in the target data within a preset timestamp based on the service network segment information, to obtain target embedding data; and a second determination module, used to determine the set of session network segments affected by network failure based on the target embedding data.
[0014] Furthermore, the determining unit includes: a calculation module for calculating the intersection information between the service network segment set and the session network segment set; and a third determining module for determining the target network segment information affected by the network fault based on the intersection information.
[0015] Furthermore, the second analysis unit includes: a query module, used to query application configuration data based on target network segment information to obtain the server cluster corresponding to the target network segment information; a third acquisition module, used to obtain the status information of the target backup server from the server cluster; and an analysis module, used to analyze whether network failures have an impact on the target backup server based on the status information.
[0016] Furthermore, the analysis module includes: a first judgment submodule, used to determine whether the network traffic passing through the target port of the target backup server exceeds a preset traffic limit if the status information indicates that the target backup server is enabled; a second judgment submodule, used to determine whether the network traffic passing through the target port of the target backup server exceeds the preset traffic limit if the network failure affects the target backup server; a third judgment submodule, used to determine whether the network failure does not affect the target backup server if the network traffic does not exceed the preset traffic limit; and a fourth judgment submodule, used to determine whether the network failure affects the target backup server if the status information indicates that the target backup server is not enabled.
[0017] According to another aspect of the embodiments of this application, an electronic device is also provided, including one or more processors and a memory, wherein the computer program / instructions, when executed by the processor, perform any of the methods described above.
[0018] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, on which a computer program / instruction is stored, which, when executed by a processor, performs any of the methods described above.
[0019] This application employs the following steps: acquiring target data, which includes at least network tracking data and target data center data; analyzing the target data upon detecting a device alarm command, obtaining analysis results, which include at least the set of service network segments affected by the network failure and the set of session network segments affected by the network failure; determining the target network segment information affected by the network failure based on the analysis results; and analyzing whether the network failure affects the target backup server based on the target network segment information. This addresses the problem of a relative lack of methods for analyzing the scope of network failure impact in related technologies, leading to low work efficiency for operations and maintenance personnel. By analyzing the target data and determining the target network segment information based on the analysis results, the effectiveness of analyzing network failure impact on the target backup server is improved, thereby enhancing the work efficiency of operations and maintenance personnel. Attached Figure Description
[0020] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0021] Figure 1 This is a flowchart of a method for analyzing the impact of network failures according to an embodiment of this application;
[0022] Figure 2 This is a network diagram illustrating the collection of embedded data according to the network fault impact analysis method provided in the embodiments of this application.
[0023] Figure 3 This is a schematic diagram of system operation for the network fault impact analysis method provided in the embodiments of this application;
[0024] Figure 4 This is a schematic diagram of a network fault impact analysis device provided according to an embodiment of this application;
[0025] Figure 5 This is a schematic diagram of the network architecture of an electronic device for analyzing the impact of network failures according to embodiments of this application. Detailed Implementation
[0026] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0030] According to an embodiment of this application, a method for analyzing the impact of network failures is provided.
[0031] Figure 1 This is a flowchart of a method for analyzing the impact of network failures according to an embodiment of this application. Figure 1 As shown, the method includes the following steps:
[0032] Step S101: Obtain target data, wherein the target data includes at least: network tracking data and data from the target data center.
[0033] Specifically, the target data center obtains target data by collecting raw data. Standard raw data primarily comes from other operation and maintenance systems or network devices, including configuration management systems, centralized monitoring systems, and switching devices. See Table 1 below:
[0034] Table 1
[0035]
[0036] like Figure 2As shown, the data requiring special data tracking mainly refers to network flow data (corresponding to the network tracking data in this application), which includes fields such as quintuple information and traffic, such as {Time:”2021 / 9 / 28 14:00:00”, quintuple:”10.1.1.1|10.2.2.2|4395|8080|TCP”, traffic:”1024B”}. The tracking points are selected on the core device side of each network area to collect the north-south network flow in real time, and to identify which sessions have entered the network area from the top end; and on the network card side of each server to collect the network flow sent by the server in real time, and to identify which sessions have entered the network area from the bottom end.
[0037] Step S102: When a device alarm command is detected to be triggered, the target data is analyzed to obtain the analysis results. The analysis results include at least: the set of service network segments affected by the network failure and the set of session network segments affected by the network failure.
[0038] Specifically, the impact analysis of network failures is first conducted through automatic alarm information triggering. The alarm carries the corresponding timestamp (Time), alarm type (Type, which is divided into device, board, and port. Among them, the device is composed of boards, and the board is composed of ports, so the port is the smallest unit of composition), and alarm source (Original).
[0039] Optionally, in the network fault impact analysis method provided in this application embodiment, before analyzing the target data and obtaining the analysis results, the method further includes: obtaining routing table information corresponding to the target data; and matching the values of the corresponding target fields between the alarm source port and the routing output port through the routing table information.
[0040] Specifically, by examining the device routing table and matching the ports involved in Original with the value of the "forwarding port" field in the routing table entry, the backup / active-active resources corresponding to Original and the set of service network segments affected by network failures can be calculated. The set of service network segments is the maximum impact range inferred from static data, in order to further improve the work efficiency of operation and maintenance personnel.
[0041] Optionally, in the network fault impact analysis method provided in this application embodiment, when a device alarm command is detected to be triggered, the target data is analyzed to obtain the analysis results, including: determining the set of service network segments affected by the network fault based on the value of the target field; obtaining service network segment information in the set of service network segments; obtaining network embedding data in the target data within a preset timestamp based on the service network segment information to obtain target embedding data; and determining the set of session network segments affected by the network fault based on the target embedding data.
[0042] For example, based on the network flow data collected by the query probe of the obtained business network segment information, the target data of the target data point enters the network area within a certain time range (such as 5 minutes) at the time of Time, and the session network segment set of the target data point is determined. The business network segment set is the scope of influence inferred from dynamic data, so as to further improve the work efficiency of operation and maintenance personnel.
[0043] Step S103: Determine the target network segment information affected by the network failure based on the analysis results.
[0044] Specifically, such as Figure 3 As shown, the network segments truly affected by the network device are obtained based on the set of network segments included in the maximum impact range and the set of session network segments that were forwarded through the network at the time of the failure.
[0045] Optionally, in the network fault impact analysis method provided in this application embodiment, determining the target network segment information affected by the network fault based on the analysis results includes: calculating the intersection information between the service network segment set and the session network segment set; and determining the target network segment information affected by the network fault based on the intersection information.
[0046] For example, the service network segment set A is the maximum impact range inferred from static data. Taking the intersection of it with the session network segment set B can calculate the actual affected network segment set C. The network segment set C contains the target network segment information affected by the network failure. This application can accurately analyze the impact range of the network failure by taking the intersection between the two network segments.
[0047] Step S104: Analyze whether the network fault has an impact on the target backup server based on the target network segment information.
[0048] Specifically, such as Figure 3 As shown, after obtaining the target network segment information, the server cluster configured in the application is correlated and queried to obtain the directly affected business information.
[0049] Optionally, in the network fault impact analysis method provided in this application embodiment, analyzing whether the network fault has an impact on the target backup server based on the target network segment information includes: querying application configuration data based on the target network segment information to obtain the server cluster corresponding to the target network segment information; obtaining the status information of the target backup server from the server cluster; and analyzing whether the network fault has an impact on the target backup server based on the status information.
[0050] Specifically, by using the target network segment information to query application configuration data, the application and service cluster to which the target network segment information belongs can be deduced. The status information of the target backup server can be obtained from the server cluster, and the direct impact range of the fault can be analyzed. The direct impact is often manifested in the period from the occurrence of the fault to the completion of the primary-backup switch. By viewing the status information of the target backup server, the impact range of the network fault can be further analyzed, improving the work efficiency of operation and maintenance personnel.
[0051] Optionally, in the network fault impact analysis method provided in this application embodiment, analyzing whether the network fault has an impact on the target backup server based on the status information includes: if the status information indicates that the target backup server is enabled, then determining whether the network traffic passing through the target port of the target backup server is greater than a preset traffic limit; if the network traffic passing through the target port of the target backup server is greater than the preset traffic limit, then it indicates that the network fault has an impact on the target backup server; if the network traffic is not greater than the preset traffic limit, then it indicates that the network fault has no impact on the target backup server; if the status information indicates that the target backup server is not enabled, then it indicates that the network fault has an impact on the target backup server.
[0052] Specifically, determining whether the backup device also received an alarm can be divided into the following situations: If the backup device fails to start, it indicates that the network failure has a direct impact on the target backup server, and the direct impact is still ongoing. If the backup device starts but the traffic on some ports exceeds the limit, it indicates that the network failure has an indirect impact on the target backup server, and further analysis of the indirect impact caused by insufficient bandwidth is needed. If the backup device is operating normally, the direct impact is repaired, and the service returns to normal. This application can automatically analyze the scope of impact when a network failure occurs, relieving the emergency pressure on operation and maintenance personnel and greatly improving work efficiency.
[0053] In summary, the network fault impact analysis method provided in this application embodiment acquires target data, which includes at least network tracking data and target data center data. Upon detecting a device alarm command being triggered, the target data is analyzed to obtain analysis results, which include at least the set of service network segments affected by the network fault and the set of session network segments affected by the network fault. Based on the analysis results, the target network segment information affected by the network fault is determined. Finally, based on the target network segment information, the method analyzes whether the network fault has an impact on the target backup server. This solves the problem of a relative lack of methods for analyzing the scope of network fault impact in related technologies, leading to low work efficiency for maintenance personnel. By analyzing target data and determining the target network segment information based on the analysis results, the method analyzes whether the network fault has an impact on the target backup server, thereby improving the work efficiency of maintenance personnel.
[0054] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0055] This application also provides a network fault impact analysis device. It should be noted that this device can be used to execute the network fault impact analysis method provided in this application. The following describes the network fault impact analysis device provided in this application.
[0056] Figure 4 This is a schematic diagram of a network fault impact analysis apparatus according to an embodiment of this application. Figure 4 As shown, the device includes: a first acquisition unit 401, a first analysis unit 402, a determination unit 403, and a second analysis unit 404.
[0057] Specifically, the first acquisition unit 401 is used to acquire target data, wherein the target data includes at least: network embedding data and data from the target data center;
[0058] The first analysis unit 402 is used to analyze the target data and obtain the analysis results when a device alarm command is detected to be triggered. The analysis results include at least: the set of service network segments affected by the network failure and the set of session network segments affected by the network failure.
[0059] Unit 403 is used to determine the target network segment information affected by the network fault based on the analysis results.
[0060] The second analysis unit 404 is used to analyze whether the network fault has an impact on the target backup server based on the target network segment information.
[0061] In summary, the network fault impact analysis device provided in this application embodiment acquires target data through a first acquisition unit 401, wherein the target data includes at least: network embedded data and target data center data; a first analysis unit 402 analyzes the target data when a device alarm command is detected to be triggered, and obtains analysis results, wherein the analysis results include at least: a set of service network segments affected by the network fault and a set of session network segments affected by the network fault; a determination unit 403 determines the target network segment information affected by the network fault based on the analysis results; and a second analysis unit 404 analyzes whether the network fault has an impact on the target backup server based on the target network segment information. This solves the problem of a relative shortage of methods for analyzing the scope of network fault impact in related technologies, which leads to low work efficiency of operation and maintenance personnel. By analyzing the target data and determining the target network segment information based on the analysis results, the device analyzes whether the network fault has an impact on the target backup server, thereby improving the work efficiency of operation and maintenance personnel.
[0062] Optionally, in the network fault impact analysis device provided in the embodiments of this application, the device further includes: a second acquisition unit, used to analyze the target data and, before obtaining the analysis result, acquire routing table information corresponding to the target data; and a matching unit, used to match the values of the corresponding target fields between the alarm source port and the routing output port through the routing table information.
[0063] Optionally, in the network fault impact analysis device provided in this application embodiment, the first analysis unit 402 includes: a first determining module, used to determine the set of service network segments affected by the network fault based on the value of the target field; a first obtaining module, used to obtain service network segment information in the set of service network segments; a second obtaining module, used to obtain network embedding data in the target data within a preset timestamp based on the service network segment information, to obtain target embedding data; and a second determining module, used to determine the set of session network segments affected by the network fault based on the target embedding data.
[0064] Optionally, in the network fault impact analysis device provided in the embodiments of this application, the determining unit 403 includes: a calculation module, used to calculate the intersection information between the service network segment set and the session network segment set; and a third determining module, used to determine the target network segment information affected by the network fault based on the intersection information.
[0065] Optionally, in the network fault impact analysis device provided in this application embodiment, the second analysis unit 404 includes: a query module, used to query application configuration data according to target network segment information to obtain the server cluster corresponding to the target network segment information; a third acquisition module, used to acquire the status information of the target backup server from the server cluster; and an analysis module, used to analyze whether the network fault has an impact on the target backup server based on the status information.
[0066] Optionally, in the network fault impact analysis device provided in this application embodiment, the analysis module includes: a first judgment submodule, used to determine whether the network traffic passing through the target port of the target backup server is greater than a preset traffic limit if the status information indicates that the target backup server is enabled; a second judgment submodule, used to indicate that the network fault has an impact on the target backup server if the network traffic passing through the target port of the target backup server is greater than the preset traffic limit; a third judgment submodule, used to indicate that the network fault has no impact on the target backup server if the network traffic is not greater than the preset traffic limit; and a fourth judgment submodule, used to indicate that the network fault has an impact on the target backup server if the status information indicates that the target backup server is not enabled.
[0067] The network failure impact analysis device includes a processor and a memory. The aforementioned first acquisition unit 401, first analysis unit 402, determination unit 403, and second analysis unit 404 are all stored as program units in the memory. The processor executes the aforementioned program units stored in the memory to implement the corresponding functions.
[0068] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and the impact of network faults can be analyzed by adjusting kernel parameters.
[0069] The memory may include non-permanent memory in computer-readable media, such as 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.
[0070] This invention provides a storage medium storing a program that, when executed by a processor, implements a method for analyzing the impact of network failures.
[0071] This invention provides a processor for running a program, wherein the program executes a method for analyzing the impact of network failures during runtime.
[0072] like Figure 5As shown, this embodiment of the invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: acquiring target data, wherein the target data includes at least: network embedded data and data from a target data center; analyzing the target data and obtaining analysis results when a device alarm command is detected to be triggered, wherein the analysis results include at least: a set of service network segments affected by the network failure and a set of session network segments affected by the network failure; determining the target network segment information affected by the network failure based on the analysis results; and analyzing whether the network failure has an impact on the target backup server based on the target network segment information.
[0073] When the processor executes the program, it also performs the following steps: analyzes the target data, and before obtaining the analysis results, obtains the routing table information corresponding to the target data; matches the values of the corresponding target fields with the alarm source port and the routing output port using the routing table information.
[0074] When the processor executes the program, it also performs the following steps: determining the set of service network segments affected by the network failure based on the value of the target field; obtaining the service network segment information in the set of service network segments; obtaining the network embedding data in the target data within a preset timestamp based on the service network segment information to obtain the target embedding data; and determining the set of session network segments affected by the network failure based on the target embedding data.
[0075] When the processor executes the program, it also performs the following steps: calculates the intersection information between the service network segment set and the session network segment set; and determines the target network segment information affected by the network failure based on the intersection information.
[0076] When the processor executes the program, it also performs the following steps: queries the application configuration data based on the target network segment information to obtain the server cluster corresponding to the target network segment information; obtains the status information of the target backup server from the server cluster; and analyzes whether the network failure has an impact on the target backup server based on the status information.
[0077] When the processor executes the program, it also performs the following steps: if the status information indicates that the target backup server is enabled, it determines whether the network traffic passing through the target port of the target backup server is greater than the preset traffic limit; if the network traffic passing through the target port of the target backup server is greater than the preset traffic limit, it indicates that the network failure has an impact on the target backup server; if the network traffic is not greater than the preset traffic limit, it indicates that the network failure has no impact on the target backup server; if the status information indicates that the target backup server is not enabled, it indicates that the network failure has an impact on the target backup server.
[0078] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.
[0079] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: acquiring target data, wherein the target data includes at least: network embedded data and target data center data; analyzing the target data and obtaining analysis results when a device alarm command is detected to be triggered, wherein the analysis results include at least: a set of business network segments affected by the network failure and a set of session network segments affected by the network failure; determining the target network segment information affected by the network failure based on the analysis results; and analyzing whether the network failure has an impact on the target backup server based on the target network segment information.
[0080] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: analyze the target data, obtain the routing table information corresponding to the target data before obtaining the analysis results; and match the values of the corresponding target fields between the alarm source port and the routing output port using the routing table information.
[0081] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: determining the set of service network segments affected by network failure based on the value of the target field; obtaining service network segment information in the set of service network segments; obtaining network embedding data in the target data within a preset timestamp based on the service network segment information to obtain target embedding data; and determining the set of session network segments affected by network failure based on the target embedding data.
[0082] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: calculating the intersection information between the service network segment set and the session network segment set; and determining the target network segment information affected by the network fault based on the intersection information.
[0083] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: querying application configuration data based on target network segment information to obtain the server cluster corresponding to the target network segment information; obtaining the status information of the target backup server from the server cluster; and analyzing whether the network failure has an impact on the target backup server based on the status information.
[0084] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: if the status information indicates that the target backup server is enabled, determine whether the network traffic passing through the target port of the target backup server is greater than the preset traffic limit; if the network traffic passing through the target port of the target backup server is greater than the preset traffic limit, it indicates that the network failure has an impact on the target backup server; if the network traffic is not greater than the preset traffic limit, it indicates that the network failure has no impact on the target backup server; if the status information indicates that the target backup server is not enabled, it indicates that the network failure has an impact on the target backup server.
[0085] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0086] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0087] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0088] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0089] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0090] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0091] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0092] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0093] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0094] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for analyzing the impact of network faults, characterized in that, include: Acquire target data, wherein the target data includes at least: network tracking data and data from the target data center; When a device alarm command is detected to be triggered, the target data is analyzed to obtain analysis results, wherein the analysis results include at least: a set of service network segments affected by the network failure and a set of session network segments affected by the network failure; Based on the analysis results, determine the target network segment information affected by the network failure; Analyze whether the network fault affects the target backup server based on the target network segment information; Specifically, when a device alarm command is detected and triggered, the target data is analyzed to obtain the following analysis results: The set of service network segments affected by the network failure is determined based on the value of the target field; Obtain the service network segment information from the service network segment set; Based on the service network segment information, the network embedding data in the target data is obtained within a preset timestamp to obtain the target embedding data; The set of session network segments affected by the network fault is determined based on the target embedded data.
2. The method according to claim 1, characterized in that, Before analyzing the target data and obtaining the analysis results, the method further includes: Obtain the routing table information corresponding to the target data; The alarm source port and the route output port are matched using the routing table information to determine the value of the corresponding target field.
3. The method according to claim 1, characterized in that, Based on the analysis results, the target network segments affected by the network failure are identified as follows: Calculate the intersection information between the service network segment set and the session network segment set; The target network segment information affected by the network fault is determined based on the intersection information.
4. The method according to claim 1, characterized in that, Analyzing whether the network fault affects the target backup server based on the target network segment information includes: The application configuration data is queried based on the target network segment information to obtain the server cluster corresponding to the target network segment information; Obtain the status information of the target backup server from the server cluster; Based on the status information, analyze whether the network failure has any impact on the target backup server.
5. The method according to claim 4, characterized in that, Analyzing whether the network failure affects the target backup server based on the status information includes: If the status information indicates that the target backup server is enabled, then determine whether the network traffic passing through the target port of the target backup server is greater than the preset traffic limit. If the network traffic passing through the target port of the target backup server is greater than the preset traffic limit, it indicates that the network failure has an impact on the target backup server. If the network traffic does not exceed the preset traffic limit, it means that the network failure has no impact on the target backup server. If the status information indicates that the target backup server is not enabled, it means that the network failure has an impact on the target backup server.
6. An analysis device for the impact of network faults, characterized in that, include: The first acquisition unit is used to acquire target data, wherein the target data includes at least: network embedding data and data from the target data center; The first analysis unit is used to analyze the target data and obtain analysis results when a device alarm command is detected to be triggered. The analysis results include at least: a set of service network segments affected by the network failure and a set of session network segments affected by the network failure. A determining unit is used to determine the target network segment information affected by the network fault based on the analysis results. The second analysis unit is used to analyze, based on the target network segment information, whether the network fault has an impact on the target backup server; The first analysis unit includes: a first determination module, used to determine the set of service network segments affected by network failures based on the value of the target field; a first acquisition module, used to acquire service network segment information in the set of service network segments; a second acquisition module, used to acquire network embedding data in the target data within a preset timestamp based on the service network segment information, to obtain target embedding data; and a second determination module, used to determine the set of session network segments affected by network failures based on the target embedding data.
7. The apparatus according to claim 6, characterized in that, The device further includes: The second acquisition unit is used to analyze the target data and, before obtaining the analysis results, acquire the routing table information corresponding to the target data. The matching unit is used to match the values of the corresponding target fields between the alarm source port and the route output port using the routing table information.
8. A computer-readable storage medium, characterized in that, The storage medium includes a stored program, wherein the program, when executed by a processor, performs the method according to any one of claims 1 to 5.
9. An electronic device, characterized in that, include: The method includes one or more processors and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the method of any one of claims 1 to 5.