Bearer network fault determination method and device, computer equipment, readable storage medium and program product
By constructing resource relationship topology and using pre-trained matching models, the complexity of bearer network fault determination in the context of cloud-network integration is solved, accurate identification of fault information and root causes is achieved, and the efficiency and accuracy of fault analysis are improved.
Patent Information
- Application Number
- CN202410899553.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-20
AI Technical Summary
In the context of cloud-network convergence, bearer network fault diagnosis and analysis have become complex, making it difficult to effectively determine the root cause of the fault. Especially in virtualized and cloud-based network architectures, faults have widespread impacts and obvious chain reactions.
By obtaining the basic information of cloud network integration, the resource relationship topology is constructed, the candidate fault resources are determined, and the pre-trained matching model is used to match the pre-stored fault information, and the fault information and fault root cause are determined based on the similarity values and fault vectors.
It improves the accuracy and convenience of fault determination, can reach the entire bearer network in the form of cloud-network integration, realizes accurate analysis and root cause identification of faults, and reduces the workload of manual operations.
Smart Images

Figure CN118677751A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication network technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for determining a bearer network fault. Background Art
[0002] For communication networks, according to functional classification, they can include core networks, access networks, and bearer networks. Bearer networks refer to network technologies that transmit data packets from one network node to another through network devices such as routers and switches. As the bearer network continues to evolve towards the goal of cloud-network integration (cloud-network integration, that is, the introduction of networks into cloud computing and cloud computing into communication networks), the network architecture has transformed from a relatively rigid and closed form to cloud and virtualization, which has increased the complexity of the network architecture. Therefore, when there is a network failure, the corresponding fault diagnosis and analysis is difficult. Summary of the invention
[0003] Based on this, it is necessary to provide a bearer network fault determination method, apparatus, computer equipment, computer-readable storage medium and computer program product to address the above technical problems, so as to achieve bearer network fault determination in the context of cloud-network integration.
[0004] In a first aspect, the present application provides a method for determining a bearer network fault, comprising:
[0005] Obtain basic information on cloud-network integration, and construct a resource relationship topology based on the basic information; obtain resource operation information, and determine candidate fault resources based on the resource operation information; determine fault information based on the candidate fault resources and the resource relationship topology; obtain a matching result between the fault information and the pre-stored fault information based on a pre-trained matching model; and determine the root cause of the fault based on the matching result.
[0006] In one of the embodiments, the matching result between the fault information and the pre-stored fault information is obtained based on the fault information and the pre-stored fault information through a pre-trained matching model, including: determining the similarity value between the fault information and each of the pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model; extracting the pre-stored fault information corresponding to the similarity value greater than a preset value as the matching result.
[0007] In one of the embodiments, after taking the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result, it also includes: when the matching result is empty, outputting the fault information; in response to the selection instruction of the fault information, updating the selected fault information to the pre-stored fault information.
[0008] In one of the embodiments, the pre-trained matching model is used to determine the similarity value between the fault information and each pre-stored fault information based on the fault information and the pre-stored fault information, including: obtaining a corresponding fault vector and a preset fault vector based on the fault information and the pre-stored fault information through a pre-trained matching model; and determining the similarity value between the fault information and each pre-stored fault information based on the degree of similarity between the fault vector and each pre-stored fault vector.
[0009] In one of the embodiments, determining the fault information according to the candidate fault resources and the resource relationship topology includes: determining a fault area in the resource relationship topology according to the candidate fault resources; and determining the fault information according to the fault area.
[0010] In one of the embodiments, constructing a resource relationship topology based on the cloud-network integration basic information includes: determining a resource connection relationship based on the cloud-network integration basic information; the resource connection relationship includes a direct connection relationship and an indirect connection relationship between resources; and constructing a resource relationship topology based on the resource connection relationship.
[0011] In the second aspect, the present application also provides a bearer network fault determination device, which includes: a fault information determination module, which is used to obtain basic information of cloud-network integration, and construct a resource relationship topology based on the basic information of cloud-network integration; obtain resource operation information, and determine the candidate fault resources based on the resource operation information; determine the fault information based on the candidate fault resources and the resource relationship topology; a matching module, which is used to obtain the matching result between the fault information and the pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model; a fault root cause determination module, which is used to determine the root cause of the fault based on the matching result.
[0012] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any method described in the first aspect when executing the computer program.
[0013] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the methods described in the first aspect.
[0014] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any method described in the first aspect.
[0015] The above-mentioned bearer network fault determination method, device, computer equipment, computer-readable storage medium and computer program product, based on the basic information of cloud-network integration, constructs a resource relationship topology, determines the fault information according to the resource relationship topology and the selected fault resources, matches the fault information with the pre-stored fault information, and determines the root cause of the fault according to the matching result. This allows the fault analysis perspective for the bearer network to reach the entire cloud-network integrated bearer network, rather than being limited to the physical device level and a single network domain within the bearer network, thereby achieving corresponding fault determination and facilitating the accuracy of corresponding fault determination in the bearer network. In addition, the method uses a pre-trained matching model to match the fault information with the pre-stored fault information to determine the root cause of the fault, which helps to improve the accuracy and convenience of fault determination. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A diagram of an application environment of a method for determining a bearer network fault in an embodiment;
[0018] Figure 2 A schematic diagram of a flow chart of a method for determining a bearer network fault in an embodiment;
[0019] Figure 3 A schematic diagram of a flow chart of another method for determining a bearer network fault in an embodiment;
[0020] Figure 4 A schematic diagram of a flow chart of another method for determining a bearer network fault in an embodiment;
[0021] Figure 5 A schematic diagram of a flow chart of another method for determining a bearer network fault in an embodiment;
[0022] Figure 6 A resource relationship topology diagram in an embodiment;
[0023] Figure 7 A resource relationship topology diagram corresponding to fault information in an embodiment;
[0024] Figure 8 A resource relationship topology diagram corresponding to pre-stored fault information in an embodiment;
[0025] Fig. 9 is a structural diagram of a device for determining a bearer network fault in an embodiment;
[0026] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] The bearer network fault analysis method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 101 is connected to the access network 102. The terminal 101 is a device that has a network demand. It can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Access network 102 refers to the part of the communication network where the terminal 101 connects to the Internet or other network services. Access network 102 can be a wired access network or a wireless access network, and can also include both wired access networks and wireless access networks. Bearer network 103, that is, the network in the communication network responsible for carrying data transmission, transmits data from the source node to the target node. Core network 104, that is, the backbone part of the communication network, is responsible for data exchange, routing and transmission. It should be noted that Figure 1 This is only one possible application scenario of the method, and the method can also be applied to other scenarios.
[0029] The applicable object of the present invention (bearing network in cloud-network integration) is described below. Bearing network, the current bearer network based on IP protocol has become the mainstream. Under the trend of cloud-network integration, the traditional closed and rigid network has begun to develop from a hardware-based architecture to a virtualized, cloud-based, and service-oriented direction, in order to achieve goals such as elastic resource allocation, agile and flexible networking, and automatic intelligent operation. For example, the core network can use general service hardware based on the x86 architecture to remove the existence of proprietary hardware, so that all core network-related services can be implemented through cloud computing. For the bearer network, its existence is "partially clouded", for example, the control plane (Control Plane, which is responsible for decision-making and management functions in the network, such as routing selection, path calculation, etc.) and the forwarding plane (Data Plane, which is responsible for actual data packet transmission and forwarding tasks, such as switches, routers, etc.) are separated, and the control function is implemented through cloud computing. Through cloud-network integration, the composition of the communication network has become a "virtual-real" network. The bearer network has transformed from a relatively rigid and closed form to a cloud-based and virtualized one. The network form of interconnection and resource sharing between virtual and real devices, and intercommunication between new and old network architectures and routing solutions, has brought greater difficulty to network fault diagnosis and analysis. Any network failure will have a chain reaction between virtual and real resources, posing a hidden danger to the service bearer quality.
[0030] In an exemplary embodiment, Figure 2 As shown, a method for determining a bearer network fault is provided, and the method is applied to Figure 1 Taking the bearer network 103 in FIG. 1 as an example, the method includes the following steps S201 to S205:
[0031] S201: Obtain basic information on cloud-network integration, and construct a resource relationship topology based on the basic information on cloud-network integration.
[0032] Exemplarily, the basic information of cloud-network integration refers to the information related to the bearer network in cloud-network integration, such as network physical topology, virtual-real resource mapping relationship, service call relationship, etc. The resources in the resource relationship may include physical resources and virtual resources (cloud resources). For example, physical resources may include routers, hosts, etc., and virtual resources may include virtual hosts, etc. Correspondingly, resource relationships are various relationships formed based on physical resources and virtual resources. The basic information of cloud-network integration can be obtained from the cloud-network operation system or from a specified storage path, etc., which is not limited here. Using the obtained basic information of cloud-network integration, the corresponding resource relationship topology can be constructed.
[0033] S202: Obtain resource operation information, and determine a to-be-selected fault resource according to the resource operation information.
[0034] Exemplarily, resource operation information is information related to the operation of each resource in the bearer network, such as operation logs. Candidate fault resources are resources that need to be determined whether they have a fault or resources that are suspected of having a fault abnormality. Candidate faults can be screened out through the obtained resource operation information. For example, log alarms can be obtained, and then candidate fault resources be screened out based on the log alarms.
[0035] S203: Determine fault information according to the candidate fault resources and resource relationship topology.
[0036] Exemplarily, fault information, i.e., information related to fault anomalies in the bearer network, may include candidate fault resources and resource relationship topology. Exemplarily, the resource relationship topology here may be a topology structure centered on the candidate fault resource. Of course, it may also be a topology structure that is not centered on the candidate fault resource. For example, the resource relationship topology here reflects the topology structure of the entire bearer network.
[0037] S204: Obtain a matching result between the fault information and the pre-stored fault information through a pre-trained matching model based on the fault information and the pre-stored fault information.
[0038] Exemplarily, a pre-trained matching model is a matching model that has been prepared through pre-training, for example, a convolutional neural network model; pre-stored fault information is pre-set existing fault information, which can be fault information pre-set manually or fault information that occurred in a past time period, etc., as long as the fault information is pre-set, it can be sufficient. At the same time, it should be noted that based on the pre-stored fault information, the corresponding fault information can be directly or indirectly obtained. For example, the root cause of the fault corresponding to the pre-stored fault information is known, and for another example, the pre-stored fault information can include the corresponding root cause of the fault. The matching model here is used to match the fault information with the pre-stored fault information. The number of pre-stored fault information is not limited, but it should be noted that the more the number of pre-stored fault information, the greater the amount of matching that the matching model needs to perform, and at the same time, the greater the possibility of obtaining a more matched result.
[0039] S205: Determine the root cause of the fault according to the matching result.
[0040] Exemplarily, the root cause of a fault refers to the root cause of a fault in the bearer network. The root cause of a fault corresponding to the fault information can be determined through the matching result. Specifically, the matching result includes pre-stored fault information that matches the fault information. Since the pre-stored fault information is pre-set and known, the corresponding root cause of the fault can be directly or indirectly determined or has been included in the pre-stored fault information. Therefore, after obtaining the matching result, the corresponding root cause of the fault can be determined accordingly.
[0041] The above-mentioned bearer network fault determination method builds a resource relationship topology based on the basic information of cloud-network integration, determines the fault information according to the resource relationship topology and the candidate fault resources, matches the fault information with the pre-stored fault information, and determines the root cause of the fault according to the matching result, which enables the fault analysis perspective to reach the entire cloud-network integrated bearer network, thereby realizing the corresponding fault determination. In addition, the method uses a pre-trained matching model to match the fault information with the pre-stored fault information to determine the root cause of the fault, which helps to improve the accuracy and convenience of fault determination.
[0042] In an exemplary embodiment, the content of the above-mentioned step S204 obtains a matching result between the fault information and the pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model, including: determining the similarity value between the fault information and each pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model; extracting the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result.
[0043] Exemplarily, the similarity value between the fault information and each pre-stored fault information, that is, the degree of similarity between the fault information and the pre-stored fault information, the preset value is for the aforementioned similarity value, that is, the specific size of the preset similarity value. For example, the similarity values between the fault information and each pre-stored fault information include x, x+1, x+2, x+3, x+4, x+5, x+6, x+7, and the preset value is x+3. Then, the similarity values greater than the preset value include x+4, x+5, x+6, x+7, and then the pre-stored fault information corresponding to these similarity values is used as the matching result.
[0044] By calculating the similarity value between the fault information and the pre-stored fault information, and taking the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result, the result that better matches the fault information is screened out, making the matching result more accurate, thereby improving the accuracy of the bearer network fault determination.
[0045] In an exemplary embodiment, after the above step of taking the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result, the method further includes: when the matching result is empty, outputting the fault information; and in response to an instruction to select the fault information, updating the selected fault information to the pre-stored fault information.
[0046] Exemplarily, the matching result is empty, that is, there is no pre-stored fault information corresponding to a similarity value greater than a preset value; when the matching result is empty, the fault information can be output for selection by the staff, and after receiving the selection instruction, the selected fault information is updated to the pre-stored fault information. For the explanation of "selection" and "selection instruction" here, see the relevant content below.
[0047] Exemplarily, after determining the similarity value between the fault information and each pre-stored fault information, it also includes: sorting the similarity values, determining the pre-stored fault information corresponding to the similarity values within a preset order range as the matching result to be selected; when the similarity values corresponding to the matching results to be selected are all less than or equal to the preset values, outputting the matching results to be selected for selection; in response to a selection instruction for the matching result to be selected, updating the fault information corresponding to the selection instruction to the pre-stored fault information.
[0048] Exemplarily, the to-be-selected matching result is a result in the middle of the processing, not the final result, that is, it is distinguished from the matching result, and the content contained therein is the pre-stored fault information corresponding to the similarity value within the preset sequence range, the preset sequence range, that is, after the similarity values are sorted in order of high and low, the sorting here can be from high to low, from low to high, etc., and a sequence range is preset for this sorting. The preset value is the size of the preset reference similarity value. After obtaining the to-be-selected matching result, the size of the similarity value corresponding to the to-be-selected matching result can be determined. If there is no similarity value greater than (that is, less than or equal to) the preset value in the to-be-selected matching result, the to-be-selected matching result is output for selection by the staff, and after receiving the selection instruction, the pre-stored fault information is updated based on the fault information corresponding to the selection instruction. The selection and selection instruction here should be understood in a broad sense, and refer to the contents related to steps S307 to S308 in the following embodiments, which will not be repeated here.
[0049] Through the technical solution of this embodiment, the method for determining the fault of the bearer network can cope with the situation that the matching result is empty, and the selected fault information is updated to the pre-stored fault information by selecting the instruction, so that the pre-stored fault information can be continuously expanded, which helps to improve the accuracy of the determination of the fault of the bearer network. In addition, by outputting the matching result with a similarity value lower than the preset value for manual operation, and updating the pre-stored fault information based on the manual operation, a way of "manual matching" is reserved in the case of no match or unsatisfactory matching results, so that the method for determining the fault of the bearer network can cope with more situations; by pre-setting the sequence range, the pre-stored fault information can be screened and filtered to a certain extent, which helps to reduce the workload of subsequent manual operations, and thus makes the corresponding fault root cause determination more accurate and quick; by updating the fault information corresponding to the selection instruction to the pre-stored fault information, the pre-stored fault information is continuously expanded, so that more pre-stored fault information matches can be performed when the bearer network fault is determined next time, so that the determination of the bearer network fault is more accurate.
[0050] In an exemplary embodiment, for the above steps: determining the similarity value between the fault information and each pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model, which includes: obtaining the corresponding fault vector and the preset fault vector based on the fault information and the pre-stored fault information through a pre-trained matching model; determining the similarity value between the fault information and each pre-stored fault information based on the degree of similarity between the fault vector and each preset fault vector.
[0051] Exemplarily, through the pre-trained matching model, feature extraction and analysis are performed on the fault information and the pre-stored information, and the fault information and the pre-stored fault information are converted into vector form, so as to facilitate similarity value calculation. A possible specific implementation method can refer to the relevant content of step S302 in the following embodiment, which will not be repeated here.
[0052] By using the matching model to analyze the fault information and the pre-stored fault information, the corresponding vector is obtained, and the similarity value is determined in the form of the vector, which makes the calculation of the similarity value faster and more accurate.
[0053] In an exemplary embodiment, the above step S203: determining fault information according to the candidate fault resources and resource relationship topology includes: determining a fault area in the resource relationship topology according to the candidate fault resources; and determining fault information according to the fault area.
[0054] Exemplarily, the fault area is the partial area where the candidate fault resource is located in the structure of the resource relationship topology. For the fault of the bearer network, the failure of any resource may cause a chain reaction, that is, it will affect other resources, and then form a fault or abnormality in a certain area or several areas or the entire network. The fault area is determined in the resource relationship topology. For example, the candidate fault resource can be taken as the center, and all resources directly connected to the candidate fault resource and indirectly connected (within three resources) can be classified into the fault area. The fault area is used as fault information, which can include corresponding resources and connection relationships between resources.
[0055] By determining the fault area to determine the fault information, the obtained fault information can include updated information related to the bearer network fault, which is helpful for subsequent matching, making the obtained matching results more consistent with the actual bearer network fault, and thus making the determination of the root cause of the fault more accurate.
[0056] In an exemplary embodiment, for the above step S201: constructing a resource relationship topology based on the basic information of cloud-network integration, it includes: determining the resource connection relationship based on the basic information of cloud-network integration; the resource connection relationship includes the direct connection relationship and the indirect connection relationship between resources; based on the resource connection relationship, constructing the resource relationship topology.
[0057] Exemplarily, the resource connection relationship can be divided into a direct connection relationship and an indirect connection relationship according to whether the connection between the resources is indirect or direct. For example, host A is connected to network element B, and network element B is connected to module C. Then, the connection between host A and network element B is a direct connection, and the connection between host A and module C is an indirect connection.
[0058] By analyzing the basic information of cloud-network integration, the connection relationship between resources is determined, and the connection relationship includes direct connection and indirect connection, so as to build the corresponding resource relationship topology. This makes the topology structure more comprehensive and accurate, which in turn helps subsequent matching steps, making the fault determination of the bearer network more accurate.
[0059] In an exemplary embodiment, Figure 3 As shown, a method for analyzing a bearer network fault is provided, the method comprising steps S301 to S308, see Figure 4 , Figure 4 The method is supplemented as follows: Exemplarily, the execution subject of the method may be a physical or virtual device or system or equipment, etc., which includes four modules:
[0060] Converged relationship topology construction module: responsible for obtaining information such as the physical topology of the bearer network, resource mapping relationships, and service call relationships between virtual and real network elements; based on the above related information, a graph structure is used to represent the connection relationships between physical network elements, modules within physical network elements, hosts, virtual machines, and virtualized network services, thereby building a cloud-network converged resource relationship topology.
[0061] Abnormal area identification module: responsible for determining abnormal nodes based on the cloud-network integrated resource relationship topology, according to the log alarms of each resource node, abnormal monitoring indicators and other monitoring conditions, and demarcating abnormal areas with the abnormal nodes as the center according to the adjacency relationship.
[0062] Fault pattern matching module: responsible for calculating and matching the abnormal area from the abnormal area identification module with the fault root cause pattern in the fault pattern storage module, retrieving the fault root cause pattern corresponding to the abnormal area, and inferring the root cause of the fault abnormality; at the same time, the matching result can also help the operation and maintenance personnel to determine and discover new fault root cause patterns. The explanation of the fault root cause pattern can be found in the relevant content of step S303 below.
[0063] Fault pattern storage module: responsible for storing fault root cause patterns such as node type and relationship type; the node type root cause pattern corresponds to the influence of abnormal failure of resource nodes such as network elements, modules, hosts, virtual machines or services on the related resources; the relationship type root cause pattern refers to the influence of abnormal failure of direct or indirect connection relationships on the related resources. The fault root cause pattern can be pre-defined by the operation and maintenance personnel based on historical experience, or discovered and defined by the fault root cause pattern matching module.
[0064] Based on the above modules, the bearer network fault analysis method provided in this example specifically includes the following steps:
[0065] Step S301: construct a fusion resource relationship topology.
[0066] The fusion resource relationship, i.e., the cloud-network fusion resource relationship, is a specific form of "resource relationship" in this embodiment. Exemplarily, the fusion relationship topology construction module may execute the following:
[0067] Obtain basic information such as network physical topology, virtual-real resource mapping, and service call relationships from the cloud network operation system;
[0068] Extract direct connection relationships and indirect connection relationships between virtual and real resources from the basic information. Direct connection relationships may include connection relationships between physical network elements of the bearer network, connection relationships between physical network elements and internal modules, connection relationships between physical network elements and data center hosts, connection relationships between data center hosts, mapping relationships between hosts and cloud virtual machines, mapping relationships between cloud virtual machines and virtual network services, etc. Indirect connection relationships may include calling relationships between modules within physical network elements, communication relationships between cloud virtual machines, calling relationships between virtual network services, and modules between virtual network services and physical network elements, etc.
[0069] Based on the extracted direct and indirect connection relationships between resources, a cloud-network fusion resource relationship topology is constructed and synchronously transmitted to the abnormal area identification module.
[0070] S302: Identify abnormal areas.
[0071] The abnormal area is the specific form of the fault information in this embodiment. Exemplarily, the abnormal area identification module can perform the following: obtain the fusion relationship topology from the fusion relationship topology construction module, and obtain the log information, monitoring indicators and other operating status information of the resources within a certain period of time from the cloud network operation system; the abnormal area identification module screens out the resource nodes suspected of abnormal faults according to the abnormal phenomena such as log alarms and indicator abnormalities in the resource operating status information. For example, according to the alarm level and abnormal severity level of the log, the operating status information greater than the preset level can be extracted to determine the resources suspected of abnormal faults; in the fusion relationship topology, the selected abnormal node is used as the center point, and the X-hop neighbors of the center point are selected to delineate the abnormal area, and synchronized to the fault pattern matching module, where X in X hops can be any number, preferably two or three hops. That is, the fault information is determined.
[0072] S303: Match the fault mode and determine the matching result to be selected.
[0073] This step corresponds to determining the similarity value between the fault information and each pre-stored fault information, sorting the similarity values, and determining the pre-stored fault information corresponding to the similarity value within a preset sequence range as the candidate matching result. Exemplarily, the fault pattern matching module can execute the following:
[0074] The abnormal area map is obtained from the abnormal area identification module, and the fault mode set is obtained from the fault mode storage module. The fault mode set corresponds to the "pre-stored fault information" in the above embodiment, the fault mode, that is, the fault root cause mode. The following is a simple example of the content of the fault mode set, see Figure 4 The fault mode storage module may include node type fault mode and relationship type fault mode. For example, the node type fault mode may include mode 1 to mode n. For example, mode 1 may be that network element a fails, thereby causing a network failure.
[0075] The adjacency matrix of the abnormal area graph, the node attribute matrix, and the adjacency matrix and node attribute matrix of each fault mode in the set are input into a two-layer graph neural network and a multilayer perceptron to obtain a vector representation of the abnormal area and a vector representation of each fault mode. The node attribute matrix is a matrix related to the attributes of the resource node, for example, the performance and utilization of the host CPU, etc. The two-layer graph neural network and multilayer perceptron here correspond to the "pre-trained matching model" in the aforementioned embodiment, where "pre-training" can be trained by others or can be self-trained. The data used for training is not limited, and preferably data related to the topological structure diagram related to the fault of the communication network (especially the bearer network). For example, the data includes the following content: host failure in the bearer network, and the specific cause of the failure is CPU overload. Here, the adjacency matrix and the node attribute matrix are input into the two-layer graph neural network and the multilayer perceptron, which can be input in a certain order or simultaneously, without limitation.
[0076] The abnormal region vector and each fault mode vector are respectively calculated for similarity, such as cosine similarity calculation. Optionally, after calculating the similarity, the first k fault modes can be sorted from high to low according to the similarity value, and the first k fault modes can be selected as the results to be matched. Among them, k is a positive integer. Of course, after calculating the similarity, all fault modes can be directly used as the results to be matched, that is, the results to be matched are all fault modes.
[0077] Through step S303, the abnormal area and the fault mode are matched. The matching is the similarity between the abnormal area topology map structure and the fault mode map structure, and the similarity of the corresponding connection relationship, that is, the partial content of matching the fault information and the pre-stored fault information, and then the next step of processing is carried out according to the degree of similarity.
[0078] S304: Determine whether there are any to-be-matched results greater than a preset value.
[0079] Exemplarily, the fault mode matching module may also perform the following: according to a predefined matching threshold (i.e., preset value), determine whether the similarity value of the aforementioned result to be matched is greater than the preset value, that is, determine whether there is a result to be matched greater than the preset value. For example, the similarity values of the result to be matched are y, y+1, y+2, y+3, y+4, and the preset value is y+1. Since there are y+2, y+3, and y+4, there are results to be matched greater than the preset value. For another example, the preset value is y+5. Since the similarity values of all the results to be matched are not greater than the preset value (y+5), there is no result to be matched greater than the preset value.
[0080] When there are more than the preset value of the to-be-matched results, steps S305 to S306 are executed:
[0081] S305: Take the to-be-matched result greater than the preset value as the matching result. This step corresponds to extracting the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result. Exemplarily, the fault mode matching module can also perform the following contents: select the fault mode with a similarity value higher than the matching threshold from the pre-selected matching results as the final fault mode matching result; S306: Determine the root cause of the fault according to the matching result. Exemplarily, the fault mode matching module can also perform the following contents: infer and determine the root cause of the fault anomaly in the network according to the final fault mode matching result. It should be noted that the final fault mode matching result obtained here can be multiple fault modes or one fault mode. When there are multiple fault modes as the final fault mode matching result, they can all be used directly to determine the root cause of the fault, or they can be screened according to certain conditions and then used to determine the root cause of the fault. There is no limitation here.
[0082] When there is no to-be-matched result greater than the preset value (i.e. the matching result is deemed to be empty), steps S307 to S308 are executed:
[0083] S307: Output the candidate matching results for selection. Exemplarily, the fault pattern matching module can also perform the following: output the candidate matching results obtained in the above steps for selection by the staff. It should be noted that the "selection" here should be understood in a broad sense, which includes both narrow selections, such as two-choice, three-choice, etc., and also includes modifications, additions, customizations, etc. based on the selections, that is, manual operations to manually select and determine the root cause of the fault. Here, all fault modes can be output for selection by the staff, or the fault modes can be screened to a certain extent before being output for selection by the staff. For example, the fault modes are sorted according to the high to low rule of similarity values, and the top 5 fault modes are selected for output.
[0084] S308: In response to the selection instruction, a new fault mode is formed and stored. Exemplarily, the selection instruction here should be broadly understood as an operation instruction, just like the "selection" in step S307. The staff's own historical experience, knowledge reserves, etc., screen out the fault root cause modes that meet the fault anomaly from the candidate matching results, or the staff can also modify, add, customize, etc. the fault mode. After the staff makes a selection instruction, the fault mode matching module can respond to the instruction to form a new fault mode and store the fault mode in the fault mode storage module, or the fault mode storage module can directly respond to the instruction to directly save the new fault mode.
[0085] The above-mentioned method for determining the fault of the bearer network is based on the basic information of cloud-network integration, and the resource relationship topology is constructed. The fault information is determined according to the resource relationship topology and the candidate fault resources, and the fault information is matched with the pre-stored fault information, and the root cause of the fault is determined according to the matching result. This allows the fault analysis perspective to reach the entire cloud-network integrated bearer network, thereby realizing the corresponding fault determination. At the same time, the method uses a pre-trained matching model to match the fault information with the pre-stored fault information to determine the root cause of the fault, calculates the similarity value between the fault information and the pre-stored fault information, and uses the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result, determines the fault area to determine the fault information, and thus makes the obtained matching result more consistent with the actual bearer network fault, determines the connection relationship between resources, and the connection relationship includes direct connection and indirect connection, thereby constructing the corresponding resource relationship topology, etc., so that the fault determination of the bearer network is more accurate. In addition, by outputting the matching results with similarity values lower than the preset values for manual operation, and updating the pre-stored fault information based on the manual operation, a "manual matching" path is reserved in the case where the match cannot be made or the matching result is not ideal, thereby enabling the bearer network fault determination method to cope with more situations; by updating the fault information corresponding to the selection instruction to the pre-stored fault information, the pre-stored fault information is continuously expanded, so that more pre-stored fault information matches can be performed when the bearer network fault is determined next time, thereby making the bearer network fault determination more accurate.
[0086] In an exemplary embodiment, Figure 5 As shown, a method for analyzing a bearer network fault is provided, which is applied to a vBras pooled home broadband service networking scenario in a new metropolitan area network. The specific configuration of the scenario is as follows:
[0087] First, use vBRAS products (vBRAS, i.e. virtual Broadband Remote Access Server). Through vBRAS products, the traditional BRAS (Broadband Remote Access Server) can be split into the control plane component (Control Plane, referred to as CP) and the forwarding plane component (User Plane, referred to as UP). The two components jointly implement the traditional BRAS functions. vBRAS-CP (vBRAS control plane) uses X86 cloud technology to realize control plane virtualization. Key virtualized network services include the main plane (MP, Main Plane), protocol processor (PP, Protocol Processor), load balancer (LB, Load Balancer), arbitration unit (ARU, Arbitration Unit), etc., which are responsible for the control and management of BRAS services, such as user access control, protocol message processing, user AAA management, and address management. vBRAS-UP (vBRAS forwarding plane) uses a high-performance forwarding pool based on NP (Network Processor), which is responsible for executing user policies, traffic forwarding, and traffic statistics. The control plane and the forwarding plane can be IP-reachable. Second, the software architecture corresponding to the router or switch products used by the Spine (network center layer) and Leaf (network edge layer) includes key modules such as software management (SWM), versatile forwarding platform (VFP), hardware abstraction layer (HAL), forwarding engine service (FES), forwarding engine instance (FEI), BGP protocol stack, and ISIS protocol stack.
[0088] The aforementioned method applied to this scenario specifically includes steps S501 to S503:
[0089] S501: Construct a topological structure of cloud-network integrated resource relationships.
[0090] Refer to the related content of constructing resource relationship topology in the above embodiment: Converged relationship topology construction model According to the vBras pooled home broadband service networking scenario in the new metropolitan area network, the vBras-cp virtual and real resource mapping relationship, service call relationship, metropolitan area network physical topology and network element device module relationship and other actual deployment information, a cloud network fusion resource relationship topology is constructed, such as Figure 6 As shown, it shows the topological structure of the key parts.
[0091] S502: According to the abnormal situation, determine the abnormal area in the topological structure.
[0092] See the relevant content of determining fault information in the above embodiment: Assume Figure 6 In the vBras-CP resource pool, host 1 has a traffic congestion fault alarm. The abnormal area identification module will determine the resource node as the center point, demarcate the abnormal area based on the two-hop adjacency relationship, and select the abnormal area. Figure 7 The area shown.
[0093] Step S503: Determine the fault root cause pattern that matches the abnormal area, thereby determining the fault root cause.
[0094] Refer to the relevant contents of determining the matching result and determining the root cause of the fault according to the matching result in the above-mentioned embodiment: Assume that the fault mode storage module is predefined as follows: Figure 8 The fault root cause pattern shown in the figure indicates that the universal forwarding platform (VFP) module of the switch network element device is abnormal, causing abnormal traffic fluctuations of resources adjacent to it in some relationship; the fault pattern matching module retrieves and matches the vector representation of the graph neural network and calculates the following: Figure 8 The similarity value of the fault root cause pattern shown exceeds the preset threshold value, so it can be inferred that the fault phenomenon such as the vBras-CP resource pool host 1 is caused by the abnormality of the VFP module of S-leaf1.
[0095] The effects of this method can be found in the relevant parts of the aforementioned embodiments, which will not be described again here.
[0096] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0097] Based on the same inventive concept, the embodiment of the present application also provides a bearer network fault determination device for implementing the bearer network fault determination method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more bearer network fault determination device embodiments provided below can refer to the limitations of the bearer network fault determination method above, and will not be repeated here.
[0098] In an exemplary embodiment, Fig. 9 As shown, a bearer network fault determination device 900 is provided, comprising:
[0099] The fault information determination module 901 is used to obtain basic information of cloud-network integration and construct a resource relationship topology based on the basic information of cloud-network integration; obtain resource operation information and determine the candidate fault resources based on the resource operation information; determine the fault information based on the candidate fault resources and the resource relationship topology;
[0100] A matching module 902 is used to obtain a matching result between the fault information and the pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model;
[0101] The fault root cause determination module 903 is used to determine the fault root cause according to the matching result.
[0102] In one embodiment, the matching module 902 is also used to obtain a matching result between the fault information and the pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model, including: determining a similarity value between the fault information and each pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model; and extracting the pre-stored fault information corresponding to a similarity value greater than a preset value as a matching result.
[0103] In one embodiment, the matching module 902 is also used to, after taking the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result, also include: when the matching result is empty, output the fault information; in response to the selection instruction of the fault information, update the selected fault information to the pre-stored fault information.
[0104] In one embodiment, the matching module 902 is also used to determine the similarity value between the fault information and each pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model, including: obtaining the corresponding fault vector and the preset fault vector based on the fault information and the pre-stored fault information through a pre-trained matching model; determining the similarity value between the fault information and each pre-stored fault information based on the degree of similarity between the fault vector and each preset fault vector.
[0105] In one embodiment, the fault information determination module 901 is further used to determine fault information according to the selected fault resources and resource relationship topology, including: determining the fault area in the resource relationship topology according to the selected fault resources; and determining the fault information according to the fault area.
[0106] In one of the embodiments, the fault information determination module 901 is also used to construct a resource relationship topology based on the cloud-network integration basic information, including: determining the resource connection relationship based on the cloud-network integration basic information; the resource connection relationship includes the direct connection relationship and the indirect connection relationship between resources; and constructing the resource relationship topology based on the resource connection relationship.
[0107] Each module in the above-mentioned bearer network fault determination device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0108] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for determining a bearer network fault is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0109] Those skilled in the art will understand that Fig.10The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0110] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, any step of the bearer network fault determination method provided in the above embodiment is implemented.
[0111] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step of the bearer network fault determination method provided in the above embodiment is implemented.
[0112] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements any step of the bearer network fault determination method provided in the above-mentioned embodiment.
[0113] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0115] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining a bearer network fault, characterized in that: The method comprises: Obtaining basic information of cloud-network integration, and constructing a resource relationship topology based on the basic information of cloud-network integration; Obtain resource operation information, and determine a candidate fault resource based on the resource operation information; Determining fault information according to the candidate fault resources and the resource relationship topology; Obtaining a matching result between the fault information and the pre-stored fault information through a pre-trained matching model based on the fault information and the pre-stored fault information; The root cause of the fault is determined according to the matching result.
2. The method according to claim 1, characterized in that The pre-trained matching model is used to obtain a matching result between the fault information and the pre-stored fault information based on the fault information and the pre-stored fault information, including: Determine, by a pre-trained matching model, based on the fault information and the pre-stored fault information, a similarity value between the fault information and each of the pre-stored fault information; The pre-stored fault information corresponding to the similarity value greater than a preset value is extracted as a matching result.
3. The method according to claim 2, characterized in that After taking the pre-stored fault information corresponding to the similarity value greater than the preset value as the matching result, the method further includes: When the matching result is empty, outputting the fault information; In response to an instruction to select the fault information, the selected fault information is updated to the pre-stored fault information.
4. The method according to claim 2, characterized in that: The pre-trained matching model determines, based on the fault information and the pre-stored fault information, a similarity value between the fault information and each of the pre-stored fault information, including: Using a pre-trained matching model, based on the fault information and pre-stored fault information, a corresponding fault vector and a preset fault vector are obtained; Based on the similarity between the fault vector and each of the preset fault vectors, a similarity value between the fault information and each of the pre-stored fault information is determined.
5. The method according to claim 1, characterized in that The determining fault information according to the candidate fault resources and the resource relationship topology includes: According to the candidate fault resources, determining a fault area in the resource relationship topology; The fault information is determined according to the fault area.
6. The method according to any one of claims 1 to 5, characterized in that: The step of constructing a resource relationship topology according to the cloud-network integration basic information includes: Determine resource connection relationships based on the cloud-network integration basic information; the resource connection relationships include direct connection relationships and indirect connection relationships between resources; Based on the resource connection relationship, a resource relationship topology is constructed.
7. A device for determining a bearer network fault, characterized in that: The device comprises: The fault information determination module is used to obtain basic information of cloud-network integration and build a resource relationship topology based on the basic information of cloud-network integration; obtain resource operation information and determine the candidate fault resources based on the resource operation information; determine the fault information based on the candidate fault resources and the resource relationship topology; A matching module, used for obtaining a matching result between the fault information and the pre-stored fault information based on the fault information and the pre-stored fault information through a pre-trained matching model; The fault root cause determination module is used to determine the fault root cause according to the matching result.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
