Network communication processing method, device, electronic device and storage medium

By building a protection relationship model, the fault network elements and business processes are quickly positioned, and the problem of inefficient communication exception handling is solved, and the rapid positioning of the cause of failure and the stability of business processes is achieved.

CN115550154BActive Publication Date: 2025-08-19CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211078084.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-05
Publication Date
2025-08-19
Estimated Expiration
2042-09-05

AI Technical Summary

Technical Problem

In the prior art, communication exception handling efficiency is inefficient, and rapid service detection and fault cause positioning cannot be achieved. Especially in a complex core bearer network, the lack of detection methods from the overall business perspective leads to inefficiency.

Method used

Build a protection relationship model corresponding to the business process, locate the faulty target network element, obtain the target protection relationship model, calculate the target service communication link, judge whether the mutual access path is abnormal, and generate business detection results, including business normal or abnormal information.

Benefits of technology

It realizes rapid detection of business process status and rapid positioning of failure causes, ensures stability of business process operation, and reduces maintenance time and communication costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550154B_ABST
    Figure CN115550154B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a network communication processing method, device, electronic device and storage medium, the processing method including: if a data communication network failure is detected, locating the target network element where the failure occurs, and determining the target business process corresponding to the target network element; obtaining a target protection relationship model corresponding to the target business process; calculating the target business communication link corresponding to the target business process from the data communication network according to the target protection relationship model, the target business communication link including the mutual access paths between different network elements; judging whether the target business communication link is abnormal according to each mutual access path, and generating a business detection result for the target business process, the business detection result including one of normal business information and abnormal business information, so as to realize rapid location of the cause of the failure so that maintenance personnel can perform maintenance in time, thereby ensuring the stability of the business process operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic communication technology, and in particular to a method for processing network communication, a device for processing network communication, an electronic device, and a computer-readable storage medium. Background Art

[0002] In recent years, with the continuous development of various services offered by operators, their service bearer networks have become increasingly complex. In existing network communication service maintenance, the service core network and its bearer and access networks are typically maintained independently. The core, bearer, and access network element network managers manage only their respective network elements and networks. When a fault occurs, maintenance personnel must communicate and exchange information to determine the relationship between the network element, network fault, and service impact. As core bearer networks become increasingly complex, the lack of service detection methods and approaches from a holistic service perspective has become increasingly problematic. This inability to effectively connect various networks and services leads to inefficiencies and hinders rapid service detection and fault location. Summary of the Invention

[0003] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for processing network communications to solve or partially solve the problems of low efficiency in handling communication anomalies and inability to quickly detect services and locate fault causes.

[0004] An embodiment of the present invention discloses a method for processing network communications, which is applied to a data communications network, wherein the data communications network includes at least an access network element, a bearer network element, and a core network element. The method includes:

[0005] If a fault is detected in the data communication network, locating a target network element where the fault occurs and determining a target service process corresponding to the target network element;

[0006] Acquire a target protection relationship model corresponding to the target business process;

[0007] Calculating a target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model, where the target service communication link includes an inter-access path between different network elements;

[0008] Whether the target service communication link is abnormal is determined according to each of the mutual access paths, and a service detection result for the target service process is generated, where the service detection result includes one of normal service information and abnormal service information.

[0009] Optionally, the target network element includes a communication port, and determining a target service process corresponding to the target network element includes:

[0010] Locating a first communication port having a fault from the target network element, and determining a target link group and a target protection group where the first communication port is located;

[0011] Acquire a target service flow corresponding to the target link group and the target protection group;

[0012] Among them, the target link group is composed of all communication links between the target network element and another network element; the target protection group is composed of link groups between different network elements and network element association relationships, and the network element association relationships include paired load relationships between bearer network elements and paired load relationships between core network elements.

[0013] Optionally, the target protection relationship model includes at least a network element access segment protection relationship and a core bearer network protection relationship, the network element access segment protection relationship is a relationship composed of static routing, a bidirectional forwarding detection protocol, and a virtual router redundancy protocol, and the core bearer network protection relationship is a relationship composed of different service network user edge devices and carried by an internal gateway protocol. Calculating the target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model includes:

[0014] The target service communication link corresponding to the target service process is calculated from the data communication network using the network element access segment protection relationship and / or the core bearer network protection relationship.

[0015] Optionally, the calculating a target service communication link corresponding to the target service process from the data communication network by using the network element access segment protection relationship includes:

[0016] If the target network element is an access network element, locating a first target bearer network element corresponding to the target network element in the target service process, and obtaining a first access link between the target network element and the first target bearer network element;

[0017] Acquire a target network element association relationship corresponding to the network element access segment protection relationship, and locate an associated access network element associated with the target network element and a second target bearer network element corresponding to the associated access network element based on the target network element association relationship;

[0018] Acquire a first access link between the associated access network element and the second target bearer network element;

[0019] The first access link and the second access link are used as target service communication links corresponding to the target service process.

[0020] Optionally, the access network element includes a communication port for communicating with the bearer network element, and the determining whether the target service communication link is abnormal according to each of the mutual access paths and generating a service detection result for the target service process includes:

[0021] Locating a second communication port corresponding to the first communication port that has failed from the first access link, and generating normal service information for the target service process if the second communication port has not failed for at least one day;

[0022] If all of the second communication ports fail and at least one communication port of the associated access network element in the second access link does not fail, generating normal service information for the target service process;

[0023] If each of the second communication ports fails and all communication ports of the associated access network element in the second access link fail, service abnormality information for indicating abnormality of the access link is generated.

[0024] Optionally, the calculating a target service communication link corresponding to the target service process from the data communication network by using the core bearer network protection relationship includes:

[0025] If the target network element is a core network element, obtaining an associated core network element corresponding to the target network element and a terminal core network element in the target service process;

[0026] Traversing intermediate core network elements between the associated core network element and the destination core network element in the data communication network, establishing an open list and a closed list corresponding to the target network element, wherein the open list stores network elements to be checked, and the closed list stores network elements that do not need to be checked;

[0027] Obtain the path cost value corresponding to each of the intermediate core network elements, and add the associated core network elements, the intermediate core network elements that meet the conditions, and the terminal core network elements to the closed list according to the path cost value to obtain the core network communication link corresponding to the target business process.

[0028] Optionally, the step of adding the associated core network element, the intermediate core network element that meets the conditions, and the terminal core network element to the closed list according to the path cost value to obtain the core network communication link corresponding to the target service process includes:

[0029] Taking the associated core network element as the starting point, traverse the intermediate core network elements adjacent to the starting point, and obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point, where the path cost value is used to characterize the distance from the associated core network element to the end core network element. The path cost value consists of a first cost value and a second cost value, where the first cost value is the distance between the associated core network element and the current starting point, and the second cost value is the distance from the current starting point to the end core network element;

[0030] The steps of taking the intermediate core network element with the smallest path cost value as a new starting point, moving the original starting point from the open list to the closed list, returning to the intermediate core network elements adjacent to the starting point, and obtaining the path cost values corresponding to the intermediate core network elements adjacent to the starting point, until the starting point is the end core network element, and adding the end core network element to the closed list;

[0031] A core network communication link corresponding to the target service process is constructed according to the core network elements in the closed list.

[0032] Optionally, the adding the associated core network element, the intermediate core network element that meets the conditions, and the terminal core network element to the closed list according to the path cost value to obtain the core network communication link corresponding to the target service process further includes:

[0033] During the process of cyclic traversal of the intermediate core network elements, if the first path cost value between the current starting point and the adjacent first intermediate core network element is less than the second path cost value between the previous starting point and the first intermediate core network element, the first path cost value is used as the current path cost value corresponding to the first intermediate core network element, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

[0034] Optionally, the adding the associated core network element, the intermediate core network element that meets the conditions, and the terminal core network element to the closed list according to the path cost value to obtain the core network communication link corresponding to the target service process further includes:

[0035] If the second intermediate core network element adjacent to the current starting point is not in the open list, the second intermediate core network element is added to the open list, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

[0036] Optionally, taking the intermediate core network element with the smallest path cost value as the new starting point and moving the original starting point from the open list to the closed list includes:

[0037] If there are at least two intermediate core network elements with the same path cost value, the intermediate core network element with the smallest second cost value is used as a new starting point, and the original starting point is moved from the open list to the closed list.

[0038] Optionally, the determining whether the target service communication link is abnormal according to each of the mutual access paths and generating a service detection result for the target service process includes:

[0039] If the closed list is not empty, generating normal business information for the target business process;

[0040] If the closed list is empty, service exception information for characterizing the abnormality of the core network element is generated.

[0041] Optionally, it also includes:

[0042] The business process and the business access relationship among the access network element, the bearer network element and the core network element in the business process are obtained, and a protection relationship model corresponding to the business process is established according to the business access relationship corresponding to the business process.

[0043] Optionally, establishing a protection relationship model corresponding to the business process according to the business access relationship corresponding to the business process includes:

[0044] Using the service access relationship, establishing a link group, protection group, and network element association relationship corresponding to the service process;

[0045] Obtaining a network element access segment protection relationship corresponding to an access network element in the service process, and a core bearer network protection relationship corresponding to a core network element;

[0046] The link group, the protection group, the network element association relationship, the network element access segment protection relationship and the core bearer network protection relationship are combined into a protection relationship model corresponding to the business process.

[0047] An embodiment of the present invention further discloses a network communication processing device, which is applied to a data communication network, wherein the data communication network includes at least an access network element, a bearer network element, and a core network element. The device includes:

[0048] A service process determination module is configured to locate a target network element where the failure occurs and determine a target service process corresponding to the target network element if a failure is detected in the data communication network;

[0049] A relationship model acquisition module, configured to acquire a target protection relationship model corresponding to the target business process;

[0050] a communication link calculation module, configured to calculate a target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model, wherein the target service communication link includes an inter-access path between different network elements;

[0051] The service detection module is used to determine whether the target service communication link is abnormal according to each of the mutual access paths, and generate a service detection result for the target service process, wherein the service detection result includes one of normal service information and abnormal service information.

[0052] Optionally, the target network element includes a communication port, and the service process determination module is specifically configured to:

[0053] Locating a first communication port having a fault from the target network element, and determining a target link group and a target protection group where the first communication port is located;

[0054] Acquire a target service flow corresponding to the target link group and the target protection group;

[0055] Among them, the target link group is composed of all communication links between the target network element and another network element; the target protection group is composed of link groups between different network elements and network element association relationships, and the network element association relationships include paired load relationships between bearer network elements and paired load relationships between core network elements.

[0056] Optionally, the target protection relationship model includes at least a network element access segment protection relationship and a core bearer network protection relationship, the network element access segment protection relationship is a relationship composed of static routing, a bidirectional forwarding detection protocol, and a virtual router redundancy protocol, the core bearer network protection relationship is a relationship composed of different service network user edge devices and carried by an internal gateway protocol, and the communication link calculation module is specifically used to:

[0057] The target service communication link corresponding to the target service process is calculated from the data communication network using the network element access segment protection relationship and / or the core bearer network protection relationship.

[0058] Optionally, the communication link calculation module is specifically configured to:

[0059] If the target network element is an access network element, locating a first target bearer network element corresponding to the target network element in the target service process, and obtaining a first access link between the target network element and the first target bearer network element;

[0060] Acquire a target network element association relationship corresponding to the network element access segment protection relationship, and locate an associated access network element associated with the target network element and a second target bearer network element corresponding to the associated access network element based on the target network element association relationship;

[0061] Acquire a first access link between the associated access network element and the second target bearer network element;

[0062] The first access link and the second access link are used as target service communication links corresponding to the target service process.

[0063] Optionally, the access network element includes a communication port for communicating with the bearer network element, and the service detection module is specifically configured to:

[0064] Locating a second communication port corresponding to the first communication port that has failed from the first access link, and generating normal service information for the target service process if the second communication port has not failed for at least one day;

[0065] If all of the second communication ports fail and at least one communication port of the associated access network element in the second access link does not fail, generating normal service information for the target service process;

[0066] If each of the second communication ports fails and all communication ports of the associated access network element in the second access link fail, service abnormality information for indicating abnormality of the access link is generated.

[0067] Optionally, the communication link calculation module is specifically configured to:

[0068] If the target network element is a core network element, obtaining an associated core network element corresponding to the target network element and a terminal core network element in the target service process;

[0069] Traversing intermediate core network elements between the associated core network element and the destination core network element in the data communication network, establishing an open list and a closed list corresponding to the target network element, wherein the open list stores network elements to be checked, and the closed list stores network elements that do not need to be checked;

[0070] Obtain the path cost value corresponding to each of the intermediate core network elements, and add the associated core network elements, the intermediate core network elements that meet the conditions, and the terminal core network elements to the closed list according to the path cost value to obtain the core network communication link corresponding to the target business process.

[0071] Optionally, the communication link calculation module is specifically configured to:

[0072] Taking the associated core network element as the starting point, traverse the intermediate core network elements adjacent to the starting point, and obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point, where the path cost value is used to characterize the distance from the associated core network element to the end core network element. The path cost value consists of a first cost value and a second cost value, where the first cost value is the distance between the associated core network element and the current starting point, and the second cost value is the distance from the current starting point to the end core network element;

[0073] The steps of taking the intermediate core network element with the smallest path cost value as a new starting point, moving the original starting point from the open list to the closed list, returning to the intermediate core network elements adjacent to the starting point, and obtaining the path cost values corresponding to the intermediate core network elements adjacent to the starting point, until the starting point is the end core network element, and adding the end core network element to the closed list;

[0074] A core network communication link corresponding to the target service process is constructed according to the core network elements in the closed list.

[0075] Optionally, the communication link calculation module is further configured to:

[0076] During the process of cyclic traversal of the intermediate core network elements, if the first path cost value between the current starting point and the adjacent first intermediate core network element is less than the second path cost value between the previous starting point and the first intermediate core network element, the first path cost value is used as the current path cost value corresponding to the first intermediate core network element, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

[0077] Optionally, the communication link calculation module is further configured to:

[0078] If the second intermediate core network element adjacent to the current starting point is not in the open list, the second intermediate core network element is added to the open list, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

[0079] Optionally, the communication link calculation module is specifically configured to:

[0080] If there are at least two intermediate core network elements with the same path cost value, the intermediate core network element with the smallest second cost value is used as a new starting point, and the original starting point is moved from the open list to the closed list.

[0081] Optionally, the service detection module is specifically configured to:

[0082] If the closed list is not empty, generating normal business information for the target business process;

[0083] If the closed list is empty, service exception information for characterizing the abnormality of the core network element is generated.

[0084] Optionally, it also includes:

[0085] The protection relationship model generation module is used to obtain the business process and the business access relationship between the access network element, the bearer network element and the core network element in the business process, and establish a protection relationship model corresponding to the business process based on the business access relationship corresponding to the business process.

[0086] Optionally, the protection relationship model generation module is specifically configured to:

[0087] Using the service access relationship, establishing a link group, protection group, and network element association relationship corresponding to the service process;

[0088] Obtaining a network element access segment protection relationship corresponding to an access network element in the service process, and a core bearer network protection relationship corresponding to a core network element;

[0089] The link group, the protection group, the network element association relationship, the network element access segment protection relationship and the core bearer network protection relationship are combined into a protection relationship model corresponding to the business process.

[0090] An embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0091] The memory is used to store computer programs;

[0092] The processor is configured to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0093] An embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon. When executed by one or more processors, the processors are enabled to execute the method according to the embodiment of the present invention.

[0094] The embodiments of the present invention include the following advantages:

[0095] In an embodiment of the present invention, applied to a data communication network, during a data communication process, if a fault is detected in the data communication network, the target network element where the fault occurs can be located, a target service process corresponding to the target network element can be determined, and a target protection relationship model corresponding to the target service process can be obtained. Then, based on the target protection relationship model, a target service communication link corresponding to the target service process can be calculated from the data communication network. The target service communication link includes mutual access paths between different network elements. Then, based on each mutual access path, it is determined whether the target service communication link is abnormal, and a service detection result for the target service process is generated. The service detection result includes one of normal service information and abnormal service information. Therefore, for the data communication network, by constructing a protection relationship model corresponding to the service process, during the data communication process, when a network element fails, the communication link corresponding to the service process can be calculated based on the protection relationship model, and the communication link can be detected to determine whether the service process has failed. On the one hand, rapid detection of the service process status is achieved. On the other hand, by detecting the communication status of the communication link, the faulty network element can be located, and the cause of the failure can be quickly located, so that maintenance personnel can perform maintenance in a timely manner, thereby ensuring the stability of the service process operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] Figure 1 This is a flowchart of a method for processing network communications provided in an embodiment of the present invention;

[0097] Figure 2 is a schematic diagram of a communication link provided in an embodiment of the present invention;

[0098] Figure 3 is a schematic diagram of a core network element link provided in an embodiment of the present invention;

[0099] Figure 4 is a schematic diagram of a core network element link provided in an embodiment of the present invention;

[0100] Figure 5 is a schematic diagram of a core network element link provided in an embodiment of the present invention;

[0101] Figure 6 1 is a flow chart of access segment detection provided in an embodiment of the present invention;

[0102] Figure 7 is a schematic diagram of the registration process provided in an embodiment of the present invention;

[0103] Figure 8 is a schematic diagram of a protection relationship model provided in an embodiment of the present invention;

[0104] Figure 9 is a schematic diagram of a communication link provided in an embodiment of the present invention;

[0105] Figure 10 Schematic diagram of the detection process of the business process provided in an embodiment of the present invention;

[0106] Figure 11 This is a structural block diagram of a network communication processing device provided in an embodiment of the present invention;

[0107] Figure 12 This is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0108] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0109] As an example, in existing network maintenance, the service core network and its bearer and access networks are typically maintained independently. Core, bearer, and access network element network managers manage their respective network elements and networks. When a fault occurs, maintenance personnel must communicate and exchange information to determine the relationship between the network element, network fault, and service impact. As core bearer networks become increasingly complex, the lack of service monitoring methods and approaches from a holistic service perspective becomes increasingly problematic. This inability to effectively connect various networks and services leads to low efficiency and hinders rapid service detection and fault location.

[0110] In this regard, one of the core inventions of the present invention is to construct a protection relationship model corresponding to the business process based on the business process. During the data communication process, for the data communication network, if a failure is detected in the data communication network, the target network element where the failure occurs can be located, and the target business process corresponding to the target network element can be determined, and the target protection relationship model corresponding to the target business process can be obtained. Then, according to the target protection relationship model, the target business communication link corresponding to the target business process is calculated from the data communication network. The target business communication link includes the mutual access paths between different network elements. Then, according to each mutual access path, it is judged whether the target business communication link is abnormal, and a business detection result for the target business process is generated. The business detection The results include one of normal business information and abnormal business information. By constructing a protection relationship model corresponding to the business process, when a network element fails during data communication, the communication link of the corresponding business process can be calculated based on the protection relationship model, and quickly associated with the affected target business process, so as to provide maintenance personnel with fault cause location and business impact judgment in a timely manner. For business impact judgment, the communication link can be tested to determine whether the business process has failed. By testing the communication status of the communication link, the faulty network element can be located, and the cause of the fault can be quickly located so that maintenance personnel can perform maintenance in a timely manner, thereby ensuring the stability of the business process operation.

[0111] Reference Figure 1 , shows a flowchart of a method for processing network communications provided in an embodiment of the present invention, which is applied to a data communications network. The data communications network includes at least an access network element, a bearer network element, and a core network element. Specifically, the method may include the following steps:

[0112] Step 101: If a fault is detected in the data communication network, the target network element where the fault occurs is located, and a target service process corresponding to the target network element is determined;

[0113] The data communication network can be a mobile communication network, an enterprise office network, or a home network. In the embodiments of the present invention, the data communication network is taken as an example for illustrative description. The data communication network may include an access layer, a bearer layer, and a core layer. The core network element may be a device located at the access layer, the bearer network element may be a device located at the bearer layer, and the core network element may be a device located at the core layer. Among them, the access network element may be responsible for the user terminal's access to the network, and is used to connect the user terminal to the operator's communication network; the bearer network element is responsible for carrying data and aggregating data. When the user terminal accesses the operator's communication network, the data it transmits can be transmitted through the bearer network element; the core network element may be the core part of the communication network, responsible for data processing and routing. The implementation of different business processes requires cooperation between different network elements.

[0114] For business processes, it can be the data transmission process involved in the data communication network for the services provided by the operator. For example, for VOBB (Voice over BroadBand, broadband telephone) services, it can be divided into VOBB registration process, VOBB calling process, VOBB called process, VOBB calling process, inter-network calling process, inter-network calling VOBB process, etc. The data transmission process between network elements involved in different business processes can be different. Therefore, starting from the business process, a protection relationship model based on the business access relationship within the process can be constructed. Through automatic path calculation from network element to network element, it can be determined whether there are still protection-related network elements and accessible paths after a fault occurs, thereby realizing full-process business detection. When a fault occurs on the business path from network element to network element, the affected business processes can be quickly detected and the business impact can be output.

[0115] In an embodiment of the present invention, for a data communication network, a business process and the business access relationship between the access network element, the bearer network element, and the core network element in the business process can be obtained, and a protection relationship model corresponding to the business process can be established based on the business access relationship corresponding to the business process, so that the business process can be detected during its operation through the protection relationship model to determine whether the business process can proceed normally. In a specific implementation, a link group, a protection group, and a network element association relationship corresponding to the business process can be established by adopting the business access relationship, and the network element access segment protection relationship corresponding to the access network element in the business process and the core bearer network protection relationship corresponding to the core network element can be obtained. Then, the link group, the protection group, the network element association relationship, the network element access segment protection relationship, and the core bearer network protection relationship can be combined into a protection relationship model corresponding to the business process.

[0116] Among them, for the service access relationship, it can be the data transmission relationship between different network elements during the operation of the business process, such as the access network element transmitting data to the bearer network element, the bearer network element transmitting data to the core network element, the data transmission between the core network elements, and the one-way or two-way transmission of specific data between the network elements. The service access relationship corresponding to different business processes can be different. The communication links corresponding to the business processes constructed by different network elements can be determined through the service access relationship; the link group can be all links between two devices (i.e., network elements). When all links in the link group between the two devices are interrupted, the link group becomes invalid; the network element association relationship can be for The redundant protection relationship set up for network elements includes setting up bearer network elements in pairs or groups to achieve load bearing, setting up core network elements in pairs or groups to achieve load bearing, and load bearing of network elements connected to edge devices of different offices; the protection group, which can be a link group between different devices and a link group that performs redundant protection of business processes based on the network element association relationship. For example, for user terminals, if there is already an access link, another access link can be constructed as a protection group based on the network element corresponding to the access link and combined with the network element association relationship, so that when the main access link is completely paralyzed, the corresponding business process can continue to be executed based on the protection group.

[0117] In addition, for the network element access segment protection relationship, it can be a protection relationship composed of static routing + BFD (Bidirectional Forwarding Detection), static routing + VRRP (Virtual Router Redundancy Protocol), etc.; for the core bearer network protection relationship, it can be a relationship composed of user edge devices of different business networks and carried by internal gateway protocol.

[0118] In one example, for each service, a corresponding network element link group, protection group, and network element association relationship may be pre-built. The following Table 1 shows the link group:

[0119]

[0120] Table 1

[0121] The link group table can be shown in Table 2:

[0122]

[0123] Table 2

[0124] The relationship table between links and link groups can be shown in Table 3.

[0125]

[0126] Table 3

[0127] The protection group table (devicegroup) can be shown in Table 4:

[0128]

[0129] Table 4

[0130] The relationship table between protection groups and devices can be shown in Table 5:

[0131]

[0132] Table 5

[0133] By constructing the above-mentioned protection relationship model corresponding to each business process, when a fault is detected in the data communication network, the target network element where the fault occurs can be located, and the target business process corresponding to the target network element can be determined. In a specific implementation, network elements such as access network elements, bearer network elements, and core network elements can all include communication ports for communicating with other network elements. The first communication port where the fault occurs can be located from the target network element, and the target link group and target protection group where the first communication port is located can be determined. The target business process corresponding to the target link group and target protection group can then be obtained. Specifically, different business processes have different corresponding link groups (and correspondingly different protection groups). Different link groups can communicate through different communication ports. After locating a faulty communication port, the target link group and target protection group to which it belongs can be obtained. The target business process where the fault occurs can then be determined based on the target link group and target protection group, so as to quickly detect the affected business process and output the business impact.

[0134] Step 102: Obtain a target protection relationship model corresponding to the target business process;

[0135] Based on the aforementioned protection relationship model constructed according to the business process, when a fault is detected in the data communication network, after determining the target business process associated with it, it can obtain the corresponding target protection relationship model based on the already constructed protection relationship model, so as to build a protection relationship model based on the business access relationship within the process based on the business process. Through automatic path calculation from network element to network element access, it can determine whether there are still protection relationship network elements and accessible paths after the fault occurs, thereby realizing full-process business detection. When a fault occurs on the business path from network element to network element, it can quickly detect the affected business process and output the business impact.

[0136] Step 103: Calculate a target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model, where the target service communication link includes an inter-access path between different network elements;

[0137] In an embodiment of the present invention, after obtaining the target protection relationship model corresponding to the target business process, the target business communication link corresponding to the target business process can be calculated from the data communication network based on the target protection relationship model. The target business communication link can include the mutual access paths between different network elements to further detect the mutual access paths and determine whether the target business process is affected.

[0138] In a specific implementation, the target protection relationship model may include at least a network element access segment protection relationship and a core bearer network protection relationship. The network element access segment protection relationship is a relationship composed of static routing, a bidirectional forwarding detection protocol, and a virtual router redundancy protocol. The core bearer network protection relationship is a relationship composed of different business network user edge devices and carried by an internal gateway protocol. The network element access segment protection relationship and / or the core bearer network protection relationship can be used to calculate the target business communication link corresponding to the target business process from the data communication network. Based on the protection relationship model, the communication link corresponding to the affected business process can be quickly associated to realize fault location, facilitate maintenance personnel to perform maintenance and analysis, etc., effectively shorten the fault handling time, and reduce communication costs.

[0139] For data communication networks, since the communication links involved in business processes include data communications on different inter-access paths, such as access segment data communication, bearer segment data communication, and core segment data communication, different fault analysis methods can be used to analyze the impact of faults on different inter-access paths on business processes.

[0140] In a specific implementation, if the target network element is an access network element, the first target bearer network element corresponding to the target network element in the target business process can be located, and the first access link between the target network element and the first target bearer network element can be obtained. Then, the target network element association relationship corresponding to the network element access segment protection relationship can be obtained, and the associated access network element associated with the target network element and the second target bearer network element corresponding to the associated access network element can be located based on the target network element association relationship. Then, the first access link between the associated access network element and the second target bearer network element is obtained, and then the first access link and the second access link are used as the target business communication links corresponding to the target business process.

[0141] Among them, the associated access network element can be an access network element corresponding to the target network element set based on the network element association relationship; the first access link can be the main access link of the target network element when executing the target business process, and the second access link can be used as a protection link, for example, referring to Figure 2 , shows a schematic diagram of a communication link provided in an embodiment of the present invention, which may be a communication link constructed based on the link table corresponding to Table 1, wherein for the access network element aBAC1, it may include communication ports such as aPort1 and aPort3, and the corresponding bearer network element CE1 may include communication ports such as zPort2 and zPort4, and the access network element aBAC2 corresponding to the access network element aBAC1 and the bearer network element CE2 form a corresponding protection group. When an alarm is received from the access network element aBAC1 port aPort1, the corresponding target service communication link (i.e. Figure 2 The protection relationship model can be used to quickly associate the communication links corresponding to the affected business processes, thereby facilitating maintenance personnel to perform maintenance and analysis, effectively shortening fault handling time and reducing communication costs.

[0142] In a specific implementation, if the target network element is a core network element, the associated core network element corresponding to the target network element and the terminal core network element in the target business process can be obtained first, and then the intermediate core network elements between the associated core network element and the terminal core network element in the data communication network are traversed to establish an open list and a closed list corresponding to the target network element, wherein the open list can store core network elements to be checked, and the closed list can store core network elements that do not need to be checked. Then, the path cost value corresponding to each intermediate core network element can be obtained, and the associated core network element, the intermediate core network element that meets the conditions, and the terminal core network element can be added to the closed list based on the path cost value to obtain the core network communication link corresponding to the target business process. Among them, the intermediate core network element can be the core network element involved in the transmission of data from the associated core network to the terminal core network element, and the path cost value can be used to represent the distance between the associated core network element and the terminal core network element.

[0143] Specifically, for the calculation process of the core network communication link, the associated core network element can be used as the starting point, and the intermediate core network elements adjacent to the starting point can be traversed to obtain the path cost value corresponding to the intermediate core network elements adjacent to the starting point. The path cost value is used to characterize the distance from the associated core network element to the end core network element. The path cost value is composed of a first cost value and a second cost value. The first cost value is the distance between the associated core network element and the current starting point, and the second cost value is the distance from the current starting point to the end core network element. Then, the intermediate core network element with the smallest path cost value is used as the new starting point, and the original starting point is moved from the open list to the closed list, and the traversal starting point is returned to the corresponding intermediate core network element. The method further comprises the following steps: finding the adjacent intermediate core network elements, obtaining the path cost values corresponding to the intermediate core network elements adjacent to the starting point, iterating in a loop until the starting point is the end core network element, adding the end core network element to the closed list, and stopping the iteration; or stopping the iteration when there is no core network element in the open list, and then constructing the core network communication link corresponding to the target business process based on the core network elements in the closed list. Thus, based on the protection relationship model, the communication link corresponding to the affected business process can be quickly associated to realize fault location, facilitate maintenance personnel to perform maintenance and analysis, etc., effectively shorten the fault handling time, and reduce communication costs.

[0144] During a loop traversal of intermediate core network elements, if the first path cost between the current starting point and an adjacent first intermediate core network element is less than the second path cost between the previous starting point and the first intermediate core network element, the first path cost is used as the current path cost corresponding to the first intermediate core network element, and the traversal returns to the intermediate core network elements adjacent to the starting point to obtain the path cost value corresponding to the intermediate core network elements adjacent to the starting point. Alternatively, if the second intermediate core network element adjacent to the current starting point is not in the open list, the second intermediate core network element is added to the open list, and the traversal returns to the intermediate core network elements adjacent to the starting point to obtain the path cost value corresponding to the intermediate core network elements adjacent to the starting point. In addition, if there are at least two intermediate core network elements with the same path cost, the intermediate core network element with the smallest second cost is used as the new starting point, and the original starting point is moved from the open list to the closed list.

[0145] In one example, assuming that the path cost value is F(cost) estimation = Min(G(cost)+H(cost)), the first cost value is G(cost) = the minimum sum of the edge cost values of the path from the initial starting point to the current starting point, and the second cost value is H(cost) = the estimated distance from the current starting point to the target point (which can be calculated by Manhattan distance). Assume that starting with vertex A (the associated core network element), the starting vertex and its adjacent vertices are placed in the open list. The path cost F(cost) of the adjacent vertices is checked. Vertex B with the lowest path cost is selected as the current vertex. Vertex A is removed from the open set and added to the closed set. Each adjacent vertex of the current vertex is traversed. If the new path to the adjacent vertex is shorter or the adjacent vertex is not in the open set, F(cost) is reset and its parent node is reset to the current vertex B. If any of vertex B's adjacent vertices are not in the open set, the adjacent vertex is added to the open list, with B as its parent node. The path cost F(cost) of the adjacent vertices of the current vertex B is checked, and the vertex with the lowest path cost is selected as the current vertex. Repeat this process until the current vertex is the target vertex. If the F(cost) values are equal, the H(cost) values are compared, and the vertex with the lower H(cost) value continues as the current vertex. Alternatively, when the open list is empty, it indicates that no new vertices can be added, and the absence of a target vertex in the closed list means that the path cannot be found. At this time, the loop ends. Based on the protection relationship model, the communication links corresponding to the affected business processes can be quickly associated to achieve fault location, making it easier for maintenance personnel to perform maintenance and analysis, effectively shortening fault handling time and reducing communication costs.

[0146] For example, assume that the starting point is MCE0 and the target point is MCE8.

[0147] H (cost) value selection: The number of edges required to reach the target point from the vertex multiplied by 100 is the H (cost) value, so as to obtain the F (G (cost) + H (cost)) corresponding to each vertex. For example, refer to Figure 3 , which shows a schematic diagram of a core network element link provided in an embodiment of the present invention. For MCE1, it needs to travel at least three edges (MCE1-MCE3, MCE3-MCE4, and MCE4-MCE8) to reach the target point MCE8, so the H (cost) value is 300. Similarly, the H (cost) value for MCE3 is 200, and the H (cost) value for MCE4 is 100, and so on. Furthermore, the distance between two adjacent vertices is G (cost).

[0148] Step 1: MCE0 is the current vertex, and its adjacent vertices MCE1, MCE3, and MCE4 are stored in the open list. F (cost) is 400, 600, and 500 respectively. Then MCE1 is selected as the current vertex to continue. At this time, the open list [MCE1 [F (400)], MCE3 [F (600)], MCE4 [F (600)]] is opened, and the list [MCE0] is closed; Step 2: Refer to Figure 4 , MCE1 is the current vertex, and its adjacent vertex is MCE3. At this time, the G (cost) value of the new path (MCE0-MCE1-MCE3) from the original starting point to MCE3 is smaller than the previous one (the new path is 100+200, and the old path is 400). Then update the F (cost) value corresponding to MCE3. MCE1 has only one adjacent vertex MCE3, so MCE3 is selected as the current vertex to continue. At this time, the list [MCE3 [F (500)], MCE4 [F (600)]] is opened, and the list [MCE0, MCE1] is closed; Step 3: Refer to Figure 5 , MCE3 is the current vertex, and its adjacent vertices are MCE2 and MCE4. Compare MCE2 [F(500)] and MCE4 [F(600)], and select MCE2 as the current vertex to continue. At this time, the open list [MCE2 [F(500)], MCE4 [F(600)]] is opened, and the closed list [MCE0, MCE1, MCE3] is closed; Step 4: MCE2 is the current vertex, and its only adjacent vertex is MCE8, so MCE8 is used as the current node, and the search ends. The search result is the closed list [MCE0, MCE1, MCE3, MCE2, MCE8]. Therefore, based on the protection relationship model, the communication links corresponding to the affected business processes can be quickly associated to achieve fault location, facilitate maintenance personnel to perform maintenance and analysis, etc., effectively shorten the fault handling time and reduce communication costs.

[0149] Step 104 : determining whether the target service communication link is abnormal according to each of the mutual access paths, and generating a service detection result for the target service process, wherein the service detection result includes one of normal service information and abnormal service information.

[0150] Through the above-mentioned path calculation process, the target business communication link corresponding to the target business process can be obtained. The target business communication link may include several mutual access paths. Then, based on each mutual access path, it is judged whether the target business communication link is abnormal, and a business detection result for the target business process is generated. The business detection result includes one of normal business information and abnormal business information. Therefore, for the data communication network, by constructing a protection relationship model corresponding to the business process, during the data communication process, when a network element fails, the communication link of the corresponding business process can be calculated based on the protection relationship model, and the communication link can be detected to determine whether the business process fails. On the one hand, it realizes the rapid detection of the business process status. On the other hand, by detecting the communication status of the communication link, the faulty network element can be located, and the cause of the failure can be quickly located so that maintenance personnel can perform maintenance in time, thereby ensuring the stability of the business process operation.

[0151] When a fault occurs in the access segment, the second communication port corresponding to the faulty first communication port can be located from the first access link. If there is at least one day in which the second communication port has not failed, normal business information for the target business process is generated. If all second communication ports have failed and at least one communication port of the associated access network element in the second access link has not failed, normal business information for the target business process is generated. If all second communication ports have failed and all communication ports of the associated access network element in the second access link have failed, abnormal business information for characterizing abnormal access links is generated. For example, referring to Figure 6 , shows a schematic diagram of the access segment detection process provided in an embodiment of the present invention. When the access network element aBAC1-aPort1 fault alarm is generated, the device type and service process can be determined to determine the corresponding target service process. Assuming it is a VOBB process, the communication link calculation can be performed to obtain the corresponding communication link (such as Figure 2As shown) and the communication link is judged. If aPort3 in link group 1 has no fault, it indicates that the business process is not affected, and the access network element aBAC1 can communicate data through aPort3, then the corresponding business normal information is generated; if aPort3 fails, the access network element aBAC2 that is paired with the access network element aBAC1 is obtained, and its corresponding link group 2 is obtained. When aPort5 and aPort7 both fail, it indicates that the link of the protection group has also failed and the business process cannot be continued, then the business abnormality information is generated; if only one of aPort5 and aPort7 fails, or both do not fail, then the corresponding business normal information is generated, thereby determining whether the business process has failed by detecting the communication link. On the one hand, it realizes the rapid detection of the business process status. On the other hand, by detecting the communication status of the communication link, it can locate the faulty network element and realize the rapid location of the fault cause, so that maintenance personnel can perform maintenance in time, thereby ensuring the stability of the business process operation.

[0152] When a fault occurs in a core network element, if the shutdown list is not empty, it indicates that there are relevant communication links in the core network that can carry out data communication, and then normal business information for the target business process is generated; if the shutdown list is empty, it indicates that all communication links in the core network have failed, and then business abnormality information is generated to characterize the abnormality of the core network element. By detecting the communication link, it is determined whether the business process has failed. On the one hand, it realizes the rapid detection of the business process status. On the other hand, by detecting the communication status of the communication link, it can locate the faulty network element and realize the rapid location of the fault cause so that maintenance personnel can perform maintenance in time, thereby ensuring the stability of the business process operation.

[0153] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that those skilled in the art can also make settings according to actual needs under the guidance of the ideas of the embodiments of the present invention, and the present invention does not limit this.

[0154] In an embodiment of the present invention, applied to a data communication network, during a data communication process, if a fault is detected in the data communication network, the target network element where the fault occurs can be located, a target service process corresponding to the target network element can be determined, and a target protection relationship model corresponding to the target service process can be obtained. Then, based on the target protection relationship model, a target service communication link corresponding to the target service process can be calculated from the data communication network. The target service communication link includes mutual access paths between different network elements. Then, based on each mutual access path, it is determined whether the target service communication link is abnormal, and a service detection result for the target service process is generated. The service detection result includes one of normal service information and abnormal service information. Therefore, for the data communication network, by constructing a protection relationship model corresponding to the service process, during the data communication process, when a network element fails, the communication link corresponding to the service process can be calculated based on the protection relationship model, and the communication link can be detected to determine whether the service process has failed. On the one hand, rapid detection of the service process status is achieved. On the other hand, by detecting the communication status of the communication link, the faulty network element can be located, and the cause of the failure can be quickly located, so that maintenance personnel can perform maintenance in a timely manner, thereby ensuring the stability of the service process operation.

[0155] In order to help those skilled in the art better understand the technical solutions of the embodiments of the present invention, an example is given below to illustrate:

[0156] For broadband call services, the VoBB service process can be divided into VoBB registration process, VoBB calling process, VoBB called process, VoBB calling process to another network, and another network calling VoBB process. Specifically, taking the VoBB registration process as an example, it can include several communication processes, refer to Figure 7, which shows a schematic diagram of the registration process provided in an embodiment of the present invention. The VoBB registration process may include nine processes: BAC (Border Access Controller) to P-CSCF (Proxy-Call Session Control Function), P-CSCF to I-CSCF (Interrogating-Call Session Control Function), I-CSCF to ENUM / D (Telephone Number Mapping Working Group), I-CSCF to ENUM / D to HSS (Home Subscriber Server), I-CSCF to ENUM / D to HSS to S-CSCF (Service-Call Session Control Function), S-CSCF to HSS, S-CSCF to MMTEL (MultiMedia Telephony), and MMTEL to HSS.

[0157] Specifically, taking P-CSCF accessing I-CSCF as an example, the automatic path calculation model and protection relationship model of this step are constructed, such as Figure 8 As shown, a schematic diagram of the protection relationship model provided in an embodiment of the present invention is shown, which includes the link group, protection group, network element association relationship, etc. involved in the process of P-CSCF accessing I-CSCF. Through automatic path calculation and protection relationship model, the calculation and presentation of the complete service path between network elements can be performed, such as Figure 9 The figure shows a schematic diagram of the communication links provided in an embodiment of the present invention, including the links involved in the process of a single P-CSCF accessing a single I-CSCF. When a link in the normal network path is interrupted, recalculation can be performed to confirm whether there is still an accessible path for the service, thereby determining whether the service process is interrupted. When a link group interruption is detected, automatic path calculation is initiated, calculating each step in the entire VoBB service process, and determining whether the terminal link affects other processes in the service process. If so, the affected process is prompted, thereby providing a service impact judgment. By sequentially determining the network element inter-access relationship of each step in each service process, the service impact of the entire process can be determined.

[0158] Reference Figure 10, shows a schematic diagram of the detection process of the business process provided in the embodiment of the present invention. When a network fault alarm occurs, it can be judged by the device type and the business type, and whether the network element inter-access relationship of each step in each business process is normal can be judged in turn. For example, first judge the business process 1. If it is normal, then enter the judgment of business process 2. If business process 2 is also normal, then enter the next business process, until all business processes are judged. In this process, if a certain business process is damaged, the business abnormality information can be output. Among them, assuming that when judging business process 1, if the fault occurs in the network element access section, it can be judged whether the link group is normal. If it is normal, the normal information of business process 1 is output; if the link group is abnormal, it is judged whether the corresponding protection group is normal. If it is normal, the normal information of business process 1 is output; if the protection group is abnormal, the abnormal information of business process 1 is output. If the fault occurs in the core bearer segment, it is determined whether the link group is normal. If it is normal, the information that business process 1 is normal is output; if the link group is abnormal, it is calculated whether there is any available path. If there is an available path, the information that business process 1 is normal is output; if there is no available path, the information that business process 1 is abnormal is output. Therefore, for a single business process, the communication link can be tested to determine whether the business process has a fault. On the one hand, it realizes the rapid detection of the business process status. On the other hand, by detecting the communication status of the communication link, it can locate the faulty network element and realize the rapid location of the fault cause, so that maintenance personnel can perform maintenance in time, thereby ensuring the stability of the business process operation.

[0159] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0160] Reference Figure 11 , shows a structural block diagram of a network communication processing device provided in an embodiment of the present invention, which is applied to a data communication network. The data communication network includes at least an access network element, a bearer network element, and a core network element, and may specifically include the following modules:

[0161] The service process determination module 1101 is configured to locate a target network element where the failure occurs and determine a target service process corresponding to the target network element if a failure is detected in the data communication network;

[0162] The relationship model acquisition module 1102 is used to acquire the target protection relationship model corresponding to the target business process;

[0163] A communication link calculation module 1103 is configured to calculate a target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model, wherein the target service communication link includes an inter-access path between different network elements;

[0164] The service detection module 1104 is configured to determine whether the target service communication link is abnormal based on each of the mutual access paths, and generate a service detection result for the target service process, wherein the service detection result includes one of normal service information and abnormal service information.

[0165] In an optional embodiment, the target network element includes a communication port, and the service process determination module 1101 is specifically configured to:

[0166] Locating a first communication port having a fault from the target network element, and determining a target link group and a target protection group where the first communication port is located;

[0167] Acquire a target service flow corresponding to the target link group and the target protection group;

[0168] Among them, the target link group is composed of all communication links between the target network element and another network element; the target protection group is composed of link groups between different network elements and network element association relationships, and the network element association relationships include paired load relationships between bearer network elements and paired load relationships between core network elements.

[0169] In an optional embodiment, the target protection relationship model includes at least a network element access segment protection relationship and a core bearer network protection relationship, the network element access segment protection relationship is a relationship composed of static routing, a bidirectional forwarding detection protocol, and a virtual router redundancy protocol, and the core bearer network protection relationship is a relationship composed of different service network user edge devices and carried by an internal gateway protocol. The communication link calculation module 1103 is specifically used to:

[0170] The target service communication link corresponding to the target service process is calculated from the data communication network using the network element access segment protection relationship and / or the core bearer network protection relationship.

[0171] In an optional embodiment, the communication link calculation module 1103 is specifically configured to:

[0172] If the target network element is an access network element, locating a first target bearer network element corresponding to the target network element in the target service process, and obtaining a first access link between the target network element and the first target bearer network element;

[0173] Acquire a target network element association relationship corresponding to the network element access segment protection relationship, and locate an associated access network element associated with the target network element and a second target bearer network element corresponding to the associated access network element based on the target network element association relationship;

[0174] Acquire a first access link between the associated access network element and the second target bearer network element;

[0175] The first access link and the second access link are used as target service communication links corresponding to the target service process.

[0176] In an optional embodiment, the access network element includes a communication port for communicating with the bearer network element, and the service detection module 1104 is specifically configured to:

[0177] Locating a second communication port corresponding to the first communication port that has failed from the first access link, and generating normal service information for the target service process if the second communication port has not failed for at least one day;

[0178] If all of the second communication ports fail and at least one communication port of the associated access network element in the second access link does not fail, generating normal service information for the target service process;

[0179] If each of the second communication ports fails and all communication ports of the associated access network element in the second access link fail, service abnormality information for indicating abnormality of the access link is generated.

[0180] In an optional embodiment, the communication link calculation module 1103 is specifically configured to:

[0181] If the target network element is a core network element, obtaining an associated core network element corresponding to the target network element and a terminal core network element in the target service process;

[0182] Traversing intermediate core network elements between the associated core network element and the destination core network element in the data communication network, establishing an open list and a closed list corresponding to the target network element, wherein the open list stores network elements to be checked, and the closed list stores network elements that do not need to be checked;

[0183] Obtain the path cost value corresponding to each of the intermediate core network elements, and add the associated core network elements, the intermediate core network elements that meet the conditions, and the terminal core network elements to the closed list according to the path cost value to obtain the core network communication link corresponding to the target business process.

[0184] In an optional embodiment, the communication link calculation module 1103 is specifically configured to:

[0185] Taking the associated core network element as the starting point, traverse the intermediate core network elements adjacent to the starting point, and obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point, where the path cost value is used to characterize the distance from the associated core network element to the end core network element. The path cost value consists of a first cost value and a second cost value, where the first cost value is the distance between the associated core network element and the current starting point, and the second cost value is the distance from the current starting point to the end core network element;

[0186] The steps of taking the intermediate core network element with the smallest path cost value as a new starting point, moving the original starting point from the open list to the closed list, returning to the intermediate core network elements adjacent to the starting point, and obtaining the path cost values corresponding to the intermediate core network elements adjacent to the starting point, until the starting point is the end core network element, and adding the end core network element to the closed list;

[0187] A core network communication link corresponding to the target service process is constructed according to the core network elements in the closed list.

[0188] In an optional embodiment, the communication link calculation module 1103 is further configured to:

[0189] During the process of cyclic traversal of the intermediate core network elements, if the first path cost value between the current starting point and the adjacent first intermediate core network element is less than the second path cost value between the previous starting point and the first intermediate core network element, the first path cost value is used as the current path cost value corresponding to the first intermediate core network element, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

[0190] In an optional embodiment, the communication link calculation module 1103 is further configured to:

[0191] If the second intermediate core network element adjacent to the current starting point is not in the open list, the second intermediate core network element is added to the open list, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

[0192] In an optional embodiment, the communication link calculation module 1103 is specifically configured to:

[0193] If there are at least two intermediate core network elements with the same path cost value, the intermediate core network element with the smallest second cost value is used as a new starting point, and the original starting point is moved from the open list to the closed list.

[0194] In an optional embodiment, the service detection module 1104 is specifically configured to:

[0195] If the closed list is not empty, generating normal business information for the target business process;

[0196] If the closed list is empty, service exception information for characterizing the abnormality of the core network element is generated.

[0197] In an optional embodiment, it further includes:

[0198] The protection relationship model generation module is used to obtain the business process and the business access relationship between the access network element, the bearer network element and the core network element in the business process, and establish a protection relationship model corresponding to the business process based on the business access relationship corresponding to the business process.

[0199] In an optional embodiment, the protection relationship model generation module is specifically configured to:

[0200] Using the service access relationship, establishing a link group, protection group, and network element association relationship corresponding to the service process;

[0201] Obtaining a network element access segment protection relationship corresponding to an access network element in the service process, and a core bearer network protection relationship corresponding to a core network element;

[0202] The link group, the protection group, the network element association relationship, the network element access segment protection relationship and the core bearer network protection relationship are combined into a protection relationship model corresponding to the business process.

[0203] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0204] In addition, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned network communication processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0205] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the various processes of the aforementioned network communication processing method embodiment and achieves the same technical effects. To avoid repetition, the details are not described here. The computer-readable storage medium may be, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0206] Figure 12 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0207] The electronic device 1200 includes, but is not limited to, components such as a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and a power supply 1211. It will be understood by those skilled in the art that the electronic device structure involved in the embodiments of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle terminal, a wearable device, and a pedometer.

[0208] It should be understood that in this embodiment of the present invention, the RF unit 1201 can be used to receive and transmit signals during information transmission or calls. Specifically, it receives downlink data from the base station and transmits it to the processor 1210 for processing; in addition, it transmits uplink data to the base station. Typically, the RF unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. Furthermore, the RF unit 1201 can communicate with the network and other devices via a wireless communication system.

[0209] The electronic device provides users with wireless broadband Internet access through the network module 1202, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0210] The audio output unit 1203 can convert audio data received by the RF unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output it as sound. In addition, the audio output unit 1203 can also provide audio output related to a specific function performed by the electronic device 1200 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1203 includes a speaker, a buzzer, a receiver, etc.

[0211] The input unit 1204 is used to receive audio or video signals. It may include a graphics processing unit (GPU) 12041 and a microphone 12042. The GPU 12041 processes image data, such as still images or videos, captured by an image capture device (e.g., a camera) in video capture mode or image capture mode. The processed image frames may be displayed on the display unit 1206. Image frames processed by the GPU 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the RF unit 1201 or the network module 1202. The microphone 12042 may receive sound and process it into audio data. In phone call mode, the processed audio data may be converted into a format that can be transmitted to a mobile communication base station via the RF unit 1201.

[0212] Electronic device 1200 also includes at least one sensor 1205, such as a light sensor, a motion sensor, or other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of display panel 12061 based on the brightness of the ambient light, and the proximity sensor can turn off display panel 12061 and / or the backlight when electronic device 1200 is brought to the ear. An accelerometer, a type of motion sensor, can detect acceleration in all directions (generally three axes) and, when stationary, can detect the magnitude and direction of gravity. This can be used to identify the electronic device's posture (e.g., switching between landscape and portrait modes, related games, magnetometer posture calibration), vibration recognition-related functions (e.g., pedometer, tapping), and so on. Sensors 1205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, and so on, which are not detailed here.

[0213] The display unit 1206 is used to display information input by the user or information provided to the user. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0214] The user input unit 1207 can be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also known as a touch screen, can detect user touch operations on or near it (for example, operations performed on or near the touch panel 12071 using a finger, stylus, or any other suitable object or accessory). The touch panel 12071 may include two components: a touch detection device and a touch controller. The touch detection device detects the user's touch position and detects signals generated by the touch operation, transmitting the signals to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 1210, which receives and executes commands from the processor 1210. Furthermore, the touch panel 12071 can be implemented using various types, including resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 12071, the user input unit 1207 may also include other input devices 12072. Specifically, the other input devices 12072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, and an operating stick, which will not be described in detail here.

[0215] Furthermore, the touch panel 12071 may be overlaid on the display panel 12061. When the touch panel 12071 detects a touch operation on or near the touch panel 12071, the touch operation is transmitted to the processor 1210 to determine the type of touch event. The processor 1210 then provides a corresponding visual output on the display panel 12061 based on the type of touch event. It will be understood that in one embodiment, the touch panel 12071 and the display panel 12061 are two independent components to implement the input and output functions of the electronic device. However, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the electronic device. The specific details are not limited here.

[0216] The interface unit 1208 is an interface for connecting external devices to the electronic device 1200. For example, the external devices may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1208 may be used to receive input (e.g., data information, power, etc.) from the external device and transmit the received input to one or more elements within the electronic device 1200, or may be used to transmit data between the electronic device 1200 and the external device.

[0217] Memory 1209 can be used to store software programs and various data. Memory 1209 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as sound playback or image playback); the data storage area may store data generated based on the use of the phone (such as audio data and a phone book). Memory 1209 may also include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state memory device.

[0218] The processor 1210 is the control center of the electronic device. It connects all parts of the electronic device using various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 1209 and accessing data stored in the memory 1209, it performs various functions of the electronic device and processes data, thereby monitoring the entire electronic device. The processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor and a modem processor. The application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into the processor 1210.

[0219] The electronic device 1200 may further include a power supply 1211 (such as a battery) for supplying power to various components. Preferably, the power supply 1211 may be logically connected to the processor 1210 through a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption.

[0220] In addition, the electronic device 1200 includes some functional modules not shown, which will not be described here.

[0221] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0222] Through the above description of the embodiments, those skilled in the art will clearly understand that the methods of the above embodiments can be implemented using software plus the necessary general-purpose hardware platform. Of course, hardware can also be used, but in many cases the former is the more preferred implementation method. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, or optical disk) and includes a number of instructions for enabling a terminal (such as a mobile phone, computer, server, air conditioner, or network device) to execute the methods described in the various embodiments of the present invention.

[0223] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are protected by the present invention.

[0224] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0225] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0226] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0227] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0228] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0229] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, ROM, RAM, a magnetic disk, or an optical disk.

[0230] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A method for processing network communication, characterized in that: Applied to a data communication network, the data communication network includes at least an access network element, a bearer network element, and a core network element, the method comprising: If a fault is detected in the data communication network, locating a target network element where the fault occurs and determining a target service process corresponding to the target network element; Acquire a target protection relationship model corresponding to the target business process; Calculating a target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model, where the target service communication link includes an inter-access path between different network elements; Determine whether the target service communication link is abnormal according to each of the mutual access paths, and generate a service detection result for the target service process, wherein the service detection result includes one of normal service information and abnormal service information; The target protection relationship model includes at least a network element access segment protection relationship and a core bearer network protection relationship. The network element access segment protection relationship is a relationship composed of static routing, a bidirectional forwarding detection protocol, and a virtual router redundancy protocol. The core bearer network protection relationship is a relationship composed of different service network user edge devices and carried by an internal gateway protocol. The target service communication link corresponding to the target service process is calculated from the data communication network according to the target protection relationship model, including: Calculating a target service communication link corresponding to the target service process from the data communication network using the network element access segment protection relationship and / or the core bearer network protection relationship; The calculating of the target service communication link corresponding to the target service process from the data communication network by using the network element access segment protection relationship includes: If the target network element is an access network element, locating a first target bearer network element corresponding to the target network element in the target service process, and obtaining a first access link between the target network element and the first target bearer network element; Acquire a target network element association relationship corresponding to the network element access segment protection relationship, and locate an associated access network element associated with the target network element and a second target bearer network element corresponding to the associated access network element based on the target network element association relationship; Acquire a first access link between the associated access network element and the second target bearer network element; The first access link and the second access link are used as target service communication links corresponding to the target service process.

2. The method according to claim 1, characterized in that The target network element includes a communication port, and determining a target service process corresponding to the target network element includes: Locating a first communication port having a fault from the target network element, and determining a target link group and a target protection group where the first communication port is located; Acquire a target service flow corresponding to the target link group and the target protection group; Among them, the target link group is composed of all communication links between the target network element and another network element; the target protection group is composed of link groups between different network elements and network element association relationships, and the network element association relationships include paired load relationships between bearer network elements and paired load relationships between core network elements.

3. The method according to claim 1, characterized in that The access network element includes a communication port for communicating with the bearer network element, and the determining whether the target service communication link is abnormal according to each of the mutual access paths and generating a service detection result for the target service process includes: Locating a second communication port corresponding to the first communication port that has failed from the first access link, and generating normal service information for the target service process if the second communication port has not failed for at least one day; If all of the second communication ports fail and at least one communication port of the associated access network element in the second access link does not fail, generating normal service information for the target service process; If each of the second communication ports fails and all communication ports of the associated access network element in the second access link fail, service abnormality information for indicating abnormality of the access link is generated.

4. The method according to claim 1, wherein The calculating the target service communication link corresponding to the target service process from the data communication network by using the core bearer network protection relationship includes: If the target network element is a core network element, obtaining an associated core network element corresponding to the target network element and a terminal core network element in the target service process; Traversing intermediate core network elements between the associated core network element and the destination core network element in the data communication network, establishing an open list and a closed list corresponding to the target network element, wherein the open list stores network elements to be checked, and the closed list stores network elements that do not need to be checked; Obtain the path cost value corresponding to each of the intermediate core network elements, and add the associated core network elements, the intermediate core network elements that meet the conditions, and the terminal core network elements to the closed list according to the path cost value to obtain the core network communication link corresponding to the target business process.

5. The method according to claim 4, characterized in that The step of adding the associated core network element, the intermediate core network element that meets the conditions, and the terminal core network element to the closed list according to the path cost value to obtain a core network communication link corresponding to the target service process includes: Taking the associated core network element as the starting point, traverse the intermediate core network elements adjacent to the starting point, and obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point, where the path cost value is used to characterize the distance from the associated core network element to the end core network element. The path cost value consists of a first cost value and a second cost value, where the first cost value is the distance between the associated core network element and the current starting point, and the second cost value is the distance from the current starting point to the end core network element; The steps of taking the intermediate core network element with the smallest path cost value as a new starting point, moving the original starting point from the open list to the closed list, returning to the intermediate core network elements adjacent to the starting point, and obtaining the path cost values corresponding to the intermediate core network elements adjacent to the starting point, until the starting point is the end core network element, and adding the end core network element to the closed list; A core network communication link corresponding to the target service process is constructed according to the core network elements in the closed list.

6. The method according to claim 5, characterized in that The step of adding the associated core network element, the intermediate core network element meeting the conditions, and the terminal core network element to the closed list according to the path cost value to obtain the core network communication link corresponding to the target service process further includes: During the process of cyclic traversal of the intermediate core network elements, if the first path cost value between the current starting point and the adjacent first intermediate core network element is less than the second path cost value between the previous starting point and the first intermediate core network element, the first path cost value is used as the current path cost value corresponding to the first intermediate core network element, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

7. The method according to claim 5, characterized in that The step of adding the associated core network element, the intermediate core network element meeting the conditions, and the terminal core network element to the closed list according to the path cost value to obtain the core network communication link corresponding to the target service process further includes: If the second intermediate core network element adjacent to the current starting point is not in the open list, the second intermediate core network element is added to the open list, and the intermediate core network element adjacent to the traversal starting point is returned to obtain the path cost value corresponding to the intermediate core network element adjacent to the starting point.

8. The method according to claim 5, characterized in that The step of taking the intermediate core network element with the smallest path cost value as a new starting point and moving the original starting point from the open list to the closed list includes: If there are at least two intermediate core network elements with the same path cost value, the intermediate core network element with the smallest second cost value is used as a new starting point, and the original starting point is moved from the open list to the closed list.

9. The method according to any one of claims 4 to 8, characterized in that The determining whether the target service communication link is abnormal according to each of the mutual access paths and generating a service detection result for the target service process includes: If the closed list is not empty, generating normal business information for the target business process; If the closed list is empty, service exception information for characterizing the abnormality of the core network element is generated.

10. The method according to claim 1, characterized in that Also includes: The business process and the business access relationship among the access network element, the bearer network element and the core network element in the business process are obtained, and a protection relationship model corresponding to the business process is established according to the business access relationship corresponding to the business process.

11. The method according to claim 10, characterized in that The step of establishing a protection relationship model corresponding to the business process according to the business access relationship corresponding to the business process includes: Using the service access relationship, establishing a link group, protection group, and network element association relationship corresponding to the service process; Obtaining a network element access segment protection relationship corresponding to an access network element in the service process, and a core bearer network protection relationship corresponding to a core network element; The link group, the protection group, the network element association relationship, the network element access segment protection relationship and the core bearer network protection relationship are combined into a protection relationship model corresponding to the business process.

12. A network communication processing device, characterized in that: Applied to a data communication network, the data communication network includes at least an access network element, a bearer network element, and a core network element, the device includes: A service process determination module is configured to locate a target network element where the failure occurs and determine a target service process corresponding to the target network element if a failure is detected in the data communication network; A relationship model acquisition module, configured to acquire a target protection relationship model corresponding to the target business process; a communication link calculation module, configured to calculate a target service communication link corresponding to the target service process from the data communication network according to the target protection relationship model, wherein the target service communication link includes an inter-access path between different network elements; A service detection module, configured to determine whether the target service communication link is abnormal based on each of the mutual access paths, and generate a service detection result for the target service process, wherein the service detection result includes one of normal service information and abnormal service information; The target protection relationship model includes at least a network element access segment protection relationship and a core bearer network protection relationship. The network element access segment protection relationship is a relationship composed of static routing, a bidirectional forwarding detection protocol, and a virtual router redundancy protocol. The core bearer network protection relationship is a relationship composed of different service network user edge devices and carried by an internal gateway protocol. The target service communication link corresponding to the target service process is calculated from the data communication network according to the target protection relationship model, including: Calculating a target service communication link corresponding to the target service process from the data communication network using the network element access segment protection relationship and / or the core bearer network protection relationship; The calculating of the target service communication link corresponding to the target service process from the data communication network by using the network element access segment protection relationship includes: If the target network element is an access network element, locating a first target bearer network element corresponding to the target network element in the target service process, and obtaining a first access link between the target network element and the first target bearer network element; Acquire a target network element association relationship corresponding to the network element access segment protection relationship, and locate an associated access network element associated with the target network element and a second target bearer network element corresponding to the associated access network element based on the target network element association relationship; Acquire a first access link between the associated access network element and the second target bearer network element; The first access link and the second access link are used as target service communication links corresponding to the target service process.

13. An electronic device, characterized in that: comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to implement the method according to any one of claims 1 to 11 when executing a program stored in the memory.

14. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method, equipment and system for positioning IP link fault based on service information

    CN103491555A

  • Protection subnetwork generation method and device

    WO2017000451A1