Method and apparatus for monitoring route interrupt exception

By monitoring the total number of IP-Prefixes and the number of new and revocation messages in the routing table, abnormal routing interruptions can be identified and timely alerts can be issued, thus resolving the problem of frequent routing interruption events and improving network security.

CN117376095BActive Publication Date: 2026-11-20CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311512019.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-13
Publication Date
2026-11-20
Estimated Expiration
2043-11-13

AI Technical Summary

Technical Problem

In existing technologies, routing outages occur frequently and are difficult to detect. There is a lack of comprehensive routing and switching verification measures, which leads to an increase in network security threats.

Method used

By acquiring network identifiers and network monitoring thresholds, the total number of IP-Prefixes in the routing table and the number of route addition and cancellation messages are counted. The route monitoring value is calculated and compared with the preset threshold to determine whether a route interruption anomaly has occurred, and early warning information is generated in a timely manner.

Benefits of technology

It enables timely detection and alarm of routing interruption anomalies, ensuring network routing security and reducing the continued spread of anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117376095B_ABST
    Figure CN117376095B_ABST
Patent Text Reader

Abstract

The application provides a route interruption exception monitoring method and device. The method comprises the following steps: acquiring a network identifier and a network monitoring threshold value in a network to be monitored; acquiring a routing table according to the network identifier, and acquiring an IP-Prefix total number in the routing table; obtaining a route monitoring value according to the IP-Prefix total number, the number of route addition messages and the number of route revocation messages in the network to be monitored within a preset period; and judging whether a route interruption exception event has occurred according to the route monitoring value and the network monitoring threshold value. According to the method, the IP-Prefix total number in the network to be monitored is counted, and the number of route addition messages and the number of route revocation messages in the network to be monitored within a preset period are counted to obtain a route monitoring value. Whether a route interruption exception event has occurred is judged according to the route monitoring value and a preset threshold value. The route interruption exception event occurring within a current period is timely alarmed, and the safety of the network route is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of routing monitoring, and in particular to a method and device for detecting routing interruption anomalies. Background Technology

[0002] With the rapid expansion of the internet and the increasing volume of telecommunications and internet services, routing anomalies are becoming more frequent, leading to a surge in routing security threats.

[0003] Among these issues, routing outage events occur frequently, and most enterprises currently lack comprehensive routing and switching verification measures, relying primarily on manual methods, which results in low detection efficiency. Therefore, a routing outage monitoring system is needed to provide timely alerts when abnormal routing outage events occur, ensuring the security of the existing network routing. Summary of the Invention

[0004] This application provides a method and device for monitoring routing interruption anomalies, which monitors routing interruption anomalies and issues timely alarms to ensure network routing security.

[0005] Firstly, this application provides a method for detecting routing interruption anomalies, including:

[0006] Obtain the network identifier and network monitoring threshold in the network to be monitored;

[0007] Obtain the routing table based on the network identifier, and obtain the total number of IP-Prefixes from the routing table;

[0008] The route monitoring value is obtained based on the total number of IP-Prefixes and the number of new route messages and route cancellation messages in the network to be monitored within a preset period;

[0009] Based on the route monitoring value and the network monitoring threshold, determine whether a route interruption event has occurred.

[0010] In one possible design, the route monitoring value is obtained based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period, including:

[0011] Based on the number of new routing messages and the number of revoked routing messages in the network to be monitored within a preset period, the message number difference between the number of new messages and the number of revoked messages is obtained, wherein the number of new messages is a positive integer and the number of revoked messages is a negative integer;

[0012] The routing monitoring value is obtained based on the ratio of the difference in the number of messages to the total number of IP-Prefixes.

[0013] In one possible design, determining whether a routing interruption event has occurred based on the routing monitoring value and the network monitoring threshold includes:

[0014] Determine whether the route monitoring value is greater than the network monitoring threshold;

[0015] If the route monitoring value is greater than the network monitoring threshold, it is determined that a route interruption abnormal event has occurred;

[0016] If the route monitoring value is less than or equal to the network monitoring threshold, it is determined that no route interruption abnormal event has occurred.

[0017] In one possible design, obtaining the network identifier and network monitoring threshold in the network to be monitored includes:

[0018] Obtain pre-stored monitoring configuration information, which includes a monitoring range. The monitoring range includes at least one network to be monitored from the selected routing domain, such as the entire network, backbone network, metropolitan area network, or target customer network. The monitoring configuration information also includes network monitoring thresholds corresponding to each network to be monitored.

[0019] Based on the monitoring configuration information, obtain the network identifier and network monitoring threshold in the network to be monitored.

[0020] In one possible design, before acquiring the pre-stored monitoring configuration information, the method further includes:

[0021] In response to the user's configuration operation, a configuration interface is displayed, which shows the connected devices;

[0022] Based on the connected devices selected by the user, the monitored routing domain is obtained, and according to the preset network hierarchy, the networks covered by the routing domain and the settings corresponding to each network are displayed. The settings include periodic items and threshold items.

[0023] Based on the network selected by the user and the settings operation of the settings items, the monitoring configuration information is obtained and stored.

[0024] In one possible design, if a routing interruption exception event is determined to have occurred, the method further includes:

[0025] An early warning message is generated and the user is alerted. The early warning message includes the alarm occurrence time, alarm recovery time, and alarm details.

[0026] In one possible design, providing the user with a warning includes:

[0027] The warning information is displayed on the warning display page. The warning details include the monitored routing domain, the monitoring range, and the number of routes within the monitoring range.

[0028] Secondly, this application provides a routing interruption anomaly monitoring device, comprising:

[0029] The configuration information acquisition module is used to acquire the network identifier and network monitoring threshold in the network to be monitored;

[0030] The routing information acquisition module is used to obtain a routing table based on the network identifier and to obtain the total number of IP-Prefixes in the routing table;

[0031] The calculation module is used to obtain the route monitoring value based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period;

[0032] The judgment module is used to determine whether a routing interruption event has occurred based on the routing monitoring value and the network monitoring threshold.

[0033] In one possible design, the computing module is specifically used for:

[0034] Based on the number of new routing messages and the number of revoked routing messages in the network to be monitored within a preset period, the message number difference between the number of new messages and the number of revoked messages is obtained, wherein the number of new messages is a positive integer and the number of revoked messages is a negative integer;

[0035] The routing monitoring value is obtained based on the ratio of the difference in the number of messages to the total number of IP-Prefixes.

[0036] In one possible design, the judgment module is specifically used for:

[0037] Determine whether the route monitoring value is greater than the network monitoring threshold;

[0038] If the route monitoring value is greater than the network monitoring threshold, it is determined that a route interruption abnormal event has occurred;

[0039] If the route monitoring value is less than or equal to the network monitoring threshold, it is determined that no route interruption abnormal event has occurred.

[0040] In one possible design, the configuration information acquisition module is specifically used for:

[0041] Obtain pre-stored monitoring configuration information, which includes a monitoring range. The monitoring range includes at least one network to be monitored from the selected routing domain, such as the entire network, backbone network, metropolitan area network, or target customer network. The monitoring configuration information also includes network monitoring thresholds corresponding to each network to be monitored.

[0042] Based on the monitoring configuration information, obtain the network identifier and network monitoring threshold in the network to be monitored.

[0043] In one possible design, the configuration information acquisition module is further specifically used for:

[0044] In response to the user's configuration operation, a configuration interface is displayed, which shows the connected devices;

[0045] Based on the connected devices selected by the user, the monitored routing domain is obtained, and according to the preset network hierarchy, the networks covered by the routing domain and the settings corresponding to each network are displayed. The settings include periodic items and threshold items.

[0046] Based on the network selected by the user and the settings operation of the settings items, the monitoring configuration information is obtained and stored.

[0047] In one possible design, the judgment module is specifically used for:

[0048] An early warning message is generated and the user is alerted. The early warning message includes the alarm occurrence time, alarm recovery time, and alarm details.

[0049] In one possible design, the judgment module is further specifically used for:

[0050] The warning information is displayed on the warning display page. The warning details include the monitored routing domain, the monitoring range, and the number of routes within the monitoring range.

[0051] Thirdly, this application provides a routing interruption anomaly monitoring device, comprising: at least one processor and a memory;

[0052] The memory stores computer-executed instructions;

[0053] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the routing interruption anomaly monitoring method as described in the first aspect and various possible designs of the first aspect.

[0054] Fourthly, this application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the routing interruption anomaly monitoring method described in the first aspect and various possible designs of the first aspect.

[0055] The routing interruption anomaly monitoring method and device provided in this application obtains the network identifier and network monitoring threshold in the network to be monitored; obtains a routing table based on the network identifier, and obtains the total number of IP-Prefixes in the routing table; obtains a routing monitoring value based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period; and determines whether a routing interruption anomaly event has occurred based on the routing monitoring value and the network monitoring threshold. This embodiment obtains the routing monitoring value by counting the total number of IP-Prefixes in the network to be monitored and counting the number of route message additions and cancellations in the current network to be monitored within a preset time period. It then determines whether a routing interruption anomaly event has occurred based on the routing monitoring value and a preset threshold, and promptly alerts to routing interruption anomalies occurring within the current period, thus ensuring the security of network routing. Attached Figure Description

[0056] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0057] Figure 1 This is a schematic diagram of the autonomous system link provided in an embodiment of the present invention;

[0058] Figure 2 This is the flowchart of the routing interruption anomaly monitoring method provided in the embodiments of this application. Figure 1 ;

[0059] Figure 3 This is the flowchart of the routing interruption anomaly monitoring method provided in the embodiments of this application. Figure 2 ;

[0060] Figure 4 This is the flowchart of the routing interruption anomaly monitoring method provided in the embodiments of this application. Figure 3 ;

[0061] Figure 5 A schematic diagram of the routing interruption anomaly monitoring device provided in an embodiment of the present invention. Figure 1 ;

[0062] Figure 6 This is a hardware schematic diagram of a routing interruption anomaly monitoring device provided in an embodiment of the present invention.

[0063] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0064] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0065] First, let me explain the terms used in this application:

[0066] Border Gateway Protocol (BGP): With the rapid expansion of the Internet, the role of BGP in inter-domain routing systems has become increasingly important. BGP is an autonomous system routing protocol running on TCP. It is the only protocol designed to handle networks the size of the Internet and the only one capable of effectively managing multiple connections between unrelated routing domains. BGP is built upon the experience gained from EGP. The primary function of a BGP system is to exchange network reachability information with other BGP systems. This network reachability information includes information about listed Autonomous Systems (AS). This information effectively constructs a topology map of interconnected ASes, thereby eliminating routing loops and enabling policy decisions at the AS level.

[0067] AS (Autonomous System): The Internet is composed of many independently developed Autonomous Systems (AS). An AS can be a simple network or a group of networks controlled by one or more ordinary network administrators. It is a single, manageable network unit (such as a university, a business, or a company). Each AS is assigned a globally unique number, called an AS number. Theoretically, the AS number can range from 1 to 65535. ASs share routing information with each other through the BGP (Border Gateway Protocol): each AS is responsible for advertising its own IP address prefix (i.e., a contiguous block of IP addresses) to its neighboring ASs, spreading it globally across the Internet, enabling communication between any two globally routable IP prefixes.

[0068] Figure 1 This is a schematic diagram of the autonomous system link provided in an embodiment of the present invention, such as... Figure 1 As shown, the autonomous system link includes autonomous systems with AS numbers AS1, AS2, and AS3. Each autonomous system includes one or more routers, and the autonomous systems communicate with each other via the BGP protocol. However, the current BGP protocol also has attack vulnerabilities, leading to some serious incidents. Therefore, it is necessary to establish a route interruption detection mechanism to detect problems in a timely manner, prevent route interruption events from occurring, and reduce the subsequent impact of the continued spread of abnormal events.

[0069] To address this issue, this invention designs a method for monitoring route interruption anomalies. This method calculates the difference between the total number of route IP-Prefixes (IP address prefixes) of the currently monitored AS and the number of route addition and cancellation messages received in the currently monitored network within a preset time period. The route monitoring value is obtained based on the difference between the total number of IP-Prefixes and the number of route addition and cancellation messages. The route monitoring value is then compared with a preset threshold to determine whether a route interruption anomaly has occurred. Timely alarms are issued for route interruption anomalies occurring within the current period to ensure the security of network routing.

[0070] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0071] Figure 2 This is the flowchart of the routing interruption anomaly monitoring method provided in the embodiments of this application. Figure 1 .like Figure 2 As shown, the method includes:

[0072] S201. Obtain the network identifier and network monitoring threshold in the network to be monitored;

[0073] The network identifier of the network to be monitored is the AS number of the corresponding Autonomous System, which is a unique identifier for the network. The network monitoring threshold is preset and can be set by the user according to their requirements. For different networks to be monitored, the same network monitoring threshold can be set globally, or different network monitoring thresholds can be set.

[0074] In the actual implementation process, the user inputs the network identifier of the network to be monitored, and combined with the pre-set network monitoring threshold corresponding to the network to be monitored, it can monitor whether the corresponding network has experienced a routing interruption abnormal event within a preset period.

[0075] S202. Obtain the routing table based on the network identifier, and obtain the total number of IP-Prefixes in the routing table;

[0076] An IP-prefix is ​​a network address prefix. A routing entry is identified by the destination network address (also known as the IP prefix) and the mask length (also known as the prefix length). Specifically, based on the network identifier of the network to be monitored, the routing tables corresponding to one or more routers in the corresponding area are obtained, and the total number of IP-prefixes in one or more routing tables is counted.

[0077] S203. Obtain the route monitoring value based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period;

[0078] In this embodiment, the routing monitoring value represents the changes in routing messages in the network under monitoring. Specifically, it involves counting the number of new routing messages and the number of canceled routing messages in the network under monitoring within a preset period. The routing monitoring value is then obtained based on the total number of IP-Prefixes and the number of new and canceled routing messages. For example, the difference between the number of new and canceled routing messages can be used to obtain the changes in routing messages in the network under monitoring, which can then be used as the routing monitoring value. Alternatively, different weighting factors can be assigned to the total number of IP-Prefixes and the changes in routing messages, and a weighted sum can be performed to obtain the routing monitoring value for the network under monitoring.

[0079] S204. Based on the route monitoring value and the network monitoring threshold, determine whether a route interruption abnormal event has occurred.

[0080] Specifically, the aforementioned network monitoring threshold is the highest critical value of the routing monitoring value of the network to be monitored. If the routing monitoring value is greater than the network monitoring threshold, it is determined that a routing interruption anomaly event has occurred in the network to be monitored within a preset period.

[0081] The routing interruption anomaly monitoring method provided in this embodiment obtains the network identifier and network monitoring threshold in the network to be monitored; obtains the routing table based on the network identifier and the total number of IP-Prefixes in the routing table; obtains the routing monitoring value based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period; and determines whether a routing interruption anomaly event has occurred based on the routing monitoring value and the network monitoring threshold. This embodiment obtains the routing monitoring value by counting the total number of IP-Prefixes in the network to be monitored and counting the number of route message additions and cancellations in the current network to be monitored within a preset time period. It then determines whether a routing interruption anomaly event has occurred based on the routing monitoring value and the preset threshold, and promptly alerts to routing interruption anomalies occurring within the current period, thus ensuring the security of network routing.

[0082] Figure 3 This is the flowchart of the routing interruption anomaly monitoring method provided in the embodiments of this application. Figure 2 .like Figure 3 As shown, this embodiment provides a detailed explanation of the routing interruption anomaly monitoring process based on the above embodiments.

[0083] S301. Based on the monitoring configuration information, obtain the network identifier and network monitoring threshold in the network to be monitored.

[0084] Specifically, the monitoring configuration information includes the monitoring range and the network monitoring threshold for each network to be monitored. For example, the monitoring range can be... Figure 1 In AS1, AS2, and AS3, each autonomous system can be a network to be monitored. Each network to be monitored can have its own network monitoring threshold set in advance. The network identifier and corresponding network monitoring threshold of the network to be monitored can be obtained through the monitoring configuration information.

[0085] S302. Obtain the routing table based on the network identifier, and obtain the total number of IP-Prefixes in the routing table;

[0086] In the specific implementation process, the corresponding network to be monitored is obtained based on the network identifier of the network to be monitored. Then, all routing table information in the network to be monitored is obtained, and the total number of IP-Prefixes in the routing table information is counted. For example, when the obtained network identifier is... Figure 1 If AS3 is selected, then the network to be monitored is the network corresponding to AS3. In this case, the routing table information corresponding to routers R4, R5, and R6 is obtained, and the total number of IP-Prefixes in the routing table information corresponding to R4, R5, and R6 is counted.

[0087] S303. Based on the number of new routing messages and the number of revoked routing messages in the network to be monitored within a preset period, obtain the message number difference between the number of new messages and the number of revoked messages, wherein the number of new messages is a positive integer and the number of revoked messages is a negative integer;

[0088] In this embodiment, the number of newly added routing messages in the network to be monitored is considered a positive integer, and the number of newly added routing messages is considered a negative integer. The difference in message count is obtained by subtracting the number of cancelled messages from the number of newly added messages. For example, if 70 messages are added and 10 messages are cancelled in the network to be monitored within a preset period, then the difference in message count for the network to be monitored is 70 - (-10) = 80.

[0089] S304. Obtain the routing monitoring value based on the ratio of the message count difference to the total number of IP-Prefixes.

[0090] Specifically, the message count difference and the total number of IP-prefixes for the network to be monitored within a preset period are obtained. The sum of the message count difference and the total number of IP-prefixes is then calculated. Finally, the message count difference is divided by the sum to obtain the routing monitoring value of the network to be monitored. The specific formula can be found in the following formula:

[0091]

[0092] Where P is the routing monitoring value of the network to be monitored, B is the sum of the message count difference and the total number of IP-Prefixes, and A is the total number of IP-Prefixes.

[0093] For example, within a preset period, the difference in the number of messages on the network to be monitored is 80, the total number of IP-Prefixes is 100, and the routing monitoring value obtained by substituting into the above formula is 44%.

[0094] S305. Determine whether the route monitoring value is greater than the network monitoring threshold. If yes, execute S306; otherwise, execute S303.

[0095] In the specific implementation process, if the routing monitoring value of the network to be monitored is greater than the network monitoring threshold, it is determined that a routing interruption event has occurred in the network to be monitored within a preset period, and an early warning message is generated to alert the user. If the routing monitoring value is less than or equal to the network monitoring threshold, it is determined that no routing interruption event has occurred in the network to be monitored within the preset period, and S303 is executed to continue monitoring the network. For example, if the network monitoring threshold of the network to be monitored is 85%, and the routing monitoring value within the preset period is 44%, it is determined that no routing interruption event has occurred in the network to be monitored within the preset period.

[0096] S306. Generate early warning information and provide early warning prompts to users, wherein the early warning information includes the alarm occurrence time, alarm recovery time, and alarm details.

[0097] In this embodiment, when a routing interruption event is determined to have occurred in the network to be monitored, i.e., the routing detection value of the network to be monitored exceeds the corresponding network monitoring threshold within a preset period, a warning notification needs to be issued to the user. First, a warning message is generated, which includes the alarm occurrence time, alarm recovery time, and alarm details. The alarm details include the monitored routing domain, the monitoring range, and the number of routes within the monitoring range. Then, the warning message is displayed on the warning display interface.

[0098] The routing interruption anomaly monitoring method provided in this embodiment obtains the routing monitoring value by acquiring the difference between the number of newly added messages and the number of withdrawn messages, combined with the total number of IP-Prefixes. Then, it determines whether a routing interruption anomaly event has occurred in the monitored network based on the routing monitoring value and a preset network monitoring threshold. If a routing interruption anomaly event has occurred, it promptly prompts the user with a warning message on the warning display interface, enabling the user to discover the problem in time and reducing the subsequent impact of the continuous spread of the anomaly event.

[0099] Figure 4 This is the flowchart of the routing interruption anomaly monitoring method provided in the embodiments of this application. Figure 3 .like Figure 4 As shown, this embodiment provides a detailed explanation of how to obtain monitoring configuration information, based on the above embodiments.

[0100] S401. In response to the user's configuration operation, a configuration interface is displayed, which shows the connected devices.

[0101] In practice, users can perform configuration operations through the configuration interface. When a user clicks the configuration button, the system displays the configuration interface, which shows the connected devices. It's important to note that users with configuration permissions are allowed to perform configuration operations through this interface; for example, a super administrator can perform configuration operations based on user requests.

[0102] S402. Based on the connected devices selected by the user, obtain the monitored routing domain, and display the networks covered by the routing domain and the settings corresponding to each network according to the preset network hierarchy. The settings include periodic items and thresholds.

[0103] Specifically, in the configuration interface, users can select the routing domain to be monitored based on the connected devices. Then, according to the preset network hierarchy, the interfaces display the networks covered by the routing domain and the corresponding settings for each network, including period and threshold items. The period item sets the monitoring period for the network to be monitored, in minutes; the threshold item sets the network monitoring threshold for the network to be monitored, used to determine whether a routing interruption event occurs within the preset period. Furthermore, the period and threshold items can be configured with different monitoring periods and / or network monitoring thresholds for different networks, or the same monitoring period and / or network monitoring threshold can be configured globally.

[0104] In addition, the monitoring scope can be manually configured in the configuration interface. The monitoring scope includes at least one network to be monitored in the selected routing domain, such as the entire network, backbone network, metropolitan area network, or target customer. For example, if the selected monitoring scope is the entire network, the network to be monitored is all autonomous systems within the entire network. If the selected monitoring scope is a key customer, which can be an enterprise or a school, the network to be monitored is the autonomous system of that enterprise or school.

[0105] S403. Based on the network selected by the user and the setting operation of the setting item, obtain and store the monitoring configuration information.

[0106] S404. Obtain pre-stored monitoring configuration information, which includes the monitoring range and the network monitoring threshold corresponding to each network to be monitored.

[0107] In the specific implementation process, based on the network to be monitored in the routing domain selected by the user and the setting operations of the settings items, monitoring configuration information of the network to be monitored is generated and stored. When the routing interruption anomaly monitoring begins, the pre-stored monitoring configuration information is obtained. This monitoring configuration information includes the monitoring scope and the network monitoring threshold corresponding to each network to be monitored. The monitoring scope includes at least one network to be monitored in the selected routing domain, including the entire network, backbone network, metropolitan area network, or target customer network. For example, the monitoring scope can be the network routing of an enterprise or a school, or the network routing of the metropolitan area network in region A.

[0108] The routing interruption anomaly monitoring method provided in this embodiment obtains the monitored routing domain based on the connected devices selected by the user, and displays the networks covered by the routing domain and the corresponding settings for each network according to the preset network hierarchy. In the configuration interface, the user can configure the routing domain, monitoring range, network monitoring threshold, and detection cycle according to their requirements, making routing interruption anomaly monitoring more flexible and improving network anomaly monitoring efficiency.

[0109] Figure 5 A schematic diagram of the routing interruption anomaly monitoring device provided in an embodiment of the present invention. Figure 1 .like Figure 5 As shown, the routing interruption anomaly monitoring device 50 includes: a configuration information acquisition module 501, a routing information acquisition module 502, a calculation module 503, and a judgment module 504.

[0110] The configuration information acquisition module 501 is used to acquire the network identifier and network monitoring threshold in the network to be monitored.

[0111] The routing information acquisition module 502 is used to obtain a routing table based on the network identifier and to obtain the total number of IP-Prefixes in the routing table;

[0112] The calculation module 503 is used to obtain the route monitoring value based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period;

[0113] The judgment module 504 is used to determine whether a routing interruption abnormal event has occurred based on the routing monitoring value and the network monitoring threshold.

[0114] In one possible design, the computing module 503 is specifically used for:

[0115] Based on the number of new routing messages and the number of revoked routing messages in the network to be monitored within a preset period, the message number difference between the number of new messages and the number of revoked messages is obtained, wherein the number of new messages is a positive integer and the number of revoked messages is a negative integer;

[0116] The routing monitoring value is obtained based on the ratio of the difference in the number of messages to the total number of IP-Prefixes.

[0117] In one possible design, the determination module 504 is specifically used for:

[0118] Determine whether the route monitoring value is greater than the network monitoring threshold;

[0119] If the route monitoring value is greater than the network monitoring threshold, it is determined that a route interruption abnormal event has occurred;

[0120] If the route monitoring value is less than or equal to the network monitoring threshold, it is determined that no route interruption abnormal event has occurred.

[0121] In one possible design, the configuration information acquisition module 501 is specifically used for:

[0122] Obtain pre-stored monitoring configuration information, which includes a monitoring range. The monitoring range includes at least one network to be monitored from the selected routing domain, such as the entire network, backbone network, metropolitan area network, or target customer network. The monitoring configuration information also includes network monitoring thresholds corresponding to each network to be monitored.

[0123] Based on the monitoring configuration information, obtain the network identifier and network monitoring threshold in the network to be monitored.

[0124] In one possible design, the configuration information acquisition module 501 is further specifically used for:

[0125] In response to the user's configuration operation, a configuration interface is displayed, which shows the connected devices;

[0126] Based on the connected devices selected by the user, the monitored routing domain is obtained, and according to the preset network hierarchy, the networks covered by the routing domain and the settings corresponding to each network are displayed. The settings include periodic items and threshold items.

[0127] Based on the network selected by the user and the settings operation of the settings items, the monitoring configuration information is obtained and stored.

[0128] In one possible design, the determination module 504 is specifically used for:

[0129] An early warning message is generated and the user is alerted. The early warning message includes the alarm occurrence time, alarm recovery time, and alarm details.

[0130] In one possible design, the determination module 504 is further specifically used for:

[0131] The warning information is displayed on the warning display page. The warning details include the monitored routing domain, the monitoring range, and the number of routes within the monitoring range.

[0132] The device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0133] Figure 6 This is a hardware schematic diagram of a routing interruption anomaly monitoring device provided in an embodiment of the present invention. Figure 6 As shown, the routing interruption anomaly monitoring device 60 provided in this embodiment includes at least one processor 601 and a memory 602. The device 60 also includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.

[0134] In the specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, causing at least one processor 601 to execute the above-mentioned routing interruption exception monitoring method.

[0135] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0136] In the above Figure 6 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0137] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.

[0138] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0139] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-mentioned routing interruption anomaly monitoring method.

[0140] In the several embodiments provided by this invention, 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 illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

[0141] The modules described as separate components may or may not be physically separate. The components shown as modules 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 the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0142] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.

[0143] The integrated modules implemented as software functional modules described above can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application.

[0144] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0145] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.

[0146] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0147] The aforementioned storage medium can be implemented from any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium accessible to general-purpose or special-purpose computers.

[0148] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. Both the processor and the storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic device or host device.

[0149] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for detecting routing interruption anomalies, characterized in that, The method includes: Obtain the network identifier and network monitoring threshold in the network to be monitored; Obtain the routing table based on the network identifier, and obtain the total number of IP-Prefixes from the routing table; The route monitoring value is obtained based on the total number of IP-Prefixes and the number of new route messages and route cancellation messages in the network to be monitored within a preset period; Based on the route monitoring value and the network monitoring threshold, determine whether a route interruption event has occurred; The route monitoring value is obtained based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period, including: Based on the number of new routing messages and the number of revoked routing messages in the network to be monitored within a preset period, the message number difference between the number of new messages and the number of revoked messages is obtained, wherein the number of new messages is a positive integer and the number of revoked messages is a negative integer; The routing monitoring value is obtained based on the ratio of the message count difference to the total number of IP-Prefixes; The step of determining whether a routing interruption event has occurred based on the routing monitoring value and the network monitoring threshold includes: Determine whether the route monitoring value is greater than the network monitoring threshold; If the route monitoring value is greater than the network monitoring threshold, it is determined that a route interruption abnormal event has occurred; If the route monitoring value is less than or equal to the network monitoring threshold, it is determined that no route interruption abnormal event has occurred.

2. The method according to claim 1, characterized in that, The process of obtaining the network identifier and network monitoring threshold in the network to be monitored includes: Obtain pre-stored monitoring configuration information, which includes a monitoring range. The monitoring range includes at least one network to be monitored from the selected routing domain, such as the entire network, backbone network, metropolitan area network, or target customer network. The monitoring configuration information also includes network monitoring thresholds corresponding to each network to be monitored. Based on the monitoring configuration information, obtain the network identifier and network monitoring threshold in the network to be monitored.

3. The method according to claim 2, characterized in that, Before obtaining the pre-stored monitoring configuration information, the method further includes: In response to the user's configuration operation, a configuration interface is displayed, which shows the connected devices; Based on the connected devices selected by the user, the monitored routing domain is obtained, and according to the preset network hierarchy, the networks covered by the routing domain and the settings corresponding to each network are displayed. The settings include periodic items and threshold items. Based on the network selected by the user and the settings operation of the settings items, the monitoring configuration information is obtained and stored.

4. The method according to claim 2, characterized in that, If it is determined that a routing interruption exception event has occurred, the method further includes: An early warning message is generated and the user is alerted. The early warning message includes the alarm occurrence time, alarm recovery time, and alarm details.

5. The method according to claim 4, characterized in that, The provision of early warnings to users includes: The warning information is displayed on the warning display page. The warning details include the monitored routing domain, the monitoring range, and the number of routes within the monitoring range.

6. A routing interruption anomaly monitoring device, characterized in that, include: The configuration information acquisition module is used to acquire the network identifier and network monitoring threshold in the network to be monitored; The routing information acquisition module is used to obtain a routing table based on the network identifier and to obtain the total number of IP-Prefixes in the routing table; The calculation module is used to obtain the route monitoring value based on the total number of IP-Prefixes and the number of route addition messages and route cancellation messages in the network to be monitored within a preset period; The judgment module is used to determine whether a routing interruption abnormal event has occurred based on the routing monitoring value and the network monitoring threshold. The calculation module is specifically used to: obtain the message number difference between the number of newly added messages and the number of revoked messages in the network to be monitored within a preset period, wherein the number of newly added messages is a positive integer and the number of revoked messages is a negative integer; The routing monitoring value is obtained based on the ratio of the message count difference to the total number of IP-Prefixes; The judgment module is specifically used to: determine whether the route monitoring value is greater than the network monitoring threshold; If the route monitoring value is greater than the network monitoring threshold, it is determined that a route interruption abnormal event has occurred; If the route monitoring value is less than or equal to the network monitoring threshold, it is determined that no route interruption abnormal event has occurred.

7. A routing interruption anomaly monitoring device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the routing interruption anomaly monitoring method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by the processor, implement the routing interruption anomaly monitoring method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Real-time detection of failed inter-node link in network

    US20110058488A1