An Automatic Routing Optimization Method and Device

By monitoring the delay parameters of routing traffic data in real time, and automatically selecting and switching to a backup exit that complies with the standards, the problems of slow network recovery speed and inaccurate optimization in the prior art are solved, and fast and reliable network recovery and optimization are achieved.

CN116155802BActive Publication Date: 2025-07-08GUANGDONG YUNXIA HUIJIN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310065176.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-28
Publication Date
2025-07-08
Estimated Expiration
2043-01-28

AI Technical Summary

Technical Problem

In the prior art, international routing optimization usually relies on manual operations, resulting in slow network recovery speed, network quality cannot be visualized instantly, and optimization is not accurate enough.

Method used

By monitoring the delay parameters of routing traffic data in real time, when abnormal conditions are met, it will automatically select and switch to an alternate exit that meets the preset standards to realize automatic switching and optimization of routing traffic data.

Benefits of technology

It realizes rapid network recovery and precise optimization of routing network segments, reduces manual judgment time, and improves the speed and reliability of network recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155802B_ABST
    Figure CN116155802B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic routing optimization method and device, including: real-time monitoring of a first delay parameter of a first exit of routing traffic data, and after the first delay parameter meets a preset abnormal condition, respectively obtaining second delay parameters of a plurality of other exits of the routing except the first exit; after testing the plurality of second delay parameters, comparing the plurality of second delay parameters with the first delay parameter to determine a second exit that meets a preset working standard; determining the number of abnormal network segments in a first network segment, and selecting a switching method according to the number of abnormal network segments to switch the traffic data exit of the routing from the first exit to the second exit; wherein, the first network segment is all network segments connected to the first exit in the routing. The present invention can automatically adjust the traffic data exit of the routing, achieve rapid network recovery and precisely optimize the received routing network segments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of routing optimization, and particularly to an automatic routing optimization method and device. Background Art

[0002] Cloud-network integration is an important engine for promoting digital transformation. With the continuous maturity of the cloud computing industry, business needs and technological innovation drive the acceleration of profound changes in the network architecture in parallel. The cloud and the network are highly coordinated and no longer independent of each other. The development of cloud computing services requires strong network capabilities for support, and the optimization of network resources can also draw on the concept of cloud computing, which is the concept of cloud-network integration. At the same time, the definition of information infrastructure in the new infrastructure emphasizes the importance of computing power and communication network infrastructure, making cloud-network integration a development trend in the cloud computing field and further promoting the construction of network cloudification.

[0003] Currently, the most typical and thorough representative of network cloudification is the 5G core network. As the core functional entity of the communication network, the core network no longer has any dedicated hardware at all. It completely uses x86 general-purpose server hardware, and all services are built on virtual machines and containers, and virtual machines and containers also come from cloud computing technologies. The bearer network after the core network has even introduced SDN (Software Defined Network) technology, separating the routing and forwarding functions from the management and control functions, and building the SDN controller on the cloud platform to provide interface services to upper-layer users. As for the final access network, among the AAU, DU, and CU in the 5G access network, except for the AAU, both the DU and the CU can be built on a virtualization platform. And the international routing optimization system based on cloud-network integration is to build a management and control platform on the cloud platform to control and manage the received international routes on the cloud.

[0004] Currently, the BGP routing protocol is generally used in overseas network construction. In the BGP routing table, there may be multiple routes to the same destination. At this time, BGP will select one of the routes as the best route and only send this route to its peers. In order to select the best route, BGP will compare the BGP attributes of these routes in turn according to the BGP routing preference rules, and international routing optimization is to adjust the BGP routing attributes to achieve the purpose of adjusting the egress route. However, currently in the prior art, this operation is usually performed manually, and the operation process of manual switching is slow, resulting in the inability to quickly restore the network, the network quality cannot be visualized immediately, and the network segment optimization cannot be precise. Summary of the Invention

[0005] Embodiments of the present invention provide an automatic routing optimization method and device, which can automatically adjust the traffic data egress of the route, achieve rapid network restoration, and precisely optimize the received route network segments.

[0006] An embodiment of the present invention provides an automatic routing optimization method, including:

[0007] Real-time monitor the first delay parameter of the first exit of the routing traffic data. After the first delay parameter meets the preset abnormal condition, respectively obtain the second delay parameters of several other exits of the routing except the first exit;

[0008] After testing the several second delay parameters, compare the several second delay parameters with the first delay parameter to determine the second exit that meets the preset working standard;

[0009] Determine the number of abnormal network segments in the first network segment, and select a switching method according to the number of abnormal network segments to switch the traffic data exit of the routing from the first exit to the second exit; wherein, the first network segment is all network segments connected to the first exit in the routing.

[0010] Compared with the prior art, the automatic routing optimization method disclosed in the embodiment of the present invention can realize the rapid recovery of the network and the precise optimization of the routing network segment by real-time monitoring the delay parameter of the main exit of the routing traffic data, determining the standby exit that meets the working standard and automatically switching the traffic data exit of the routing to the standby exit according to the abnormal type after the delay parameter meets the preset abnormal condition.

[0011] Further, the real-time monitoring of the first delay parameter of the first exit of the routing traffic data, and after the first delay parameter meets the preset abnormal condition, respectively obtaining the second delay parameters of several other exits of the routing except the first exit specifically includes:

[0012] Real-time monitor the first delay time and the first packet loss rate of the first exit. When the first packet loss rate exceeds the preset percentage within the preset time period or the first delay time exceeds the preset value within the preset time period, respectively obtain the second delay time and the second packet loss rate of several other exits of the routing except the first exit.

[0013] Establish real-time monitoring for the main exit of the routing traffic data. When the main exit is abnormal, automatically detect the delay parameter of the standby exit, saving the manual judgment time and laying a foundation for rapid network recovery.

[0014] Further, the selecting a switching method according to the number of abnormal network segments to switch the traffic data exit of the routing from the first exit to the second exit specifically includes:

[0015] Detect the number of abnormal network segments. If the proportion of the number of abnormal network segments to the number of the first network segments does not exceed a preset proportion, adjust the egress prefix list of the route so that the traffic data egress of the route is switched from the first egress to the second egress; if the proportion of the number of abnormal network segments to the number of the first network segments exceeds the preset proportion and each of the abnormal network segments belongs to a different entity, adjust the overall cost value of the first egress so that the traffic data egress of the route is switched from the first egress to the second egress.

[0016] Select different switching methods according to the number of abnormal network segments connected to the main egress of the route, and use the different switching methods to switch the traffic data egress of the route to the standby egress, realizing the rapid recovery of the network and the precise optimization of the network segments.

[0017] Further, after switching the traffic data egress of the route from the first egress to the second egress, it further includes testing whether the traffic data egress is successfully switched. Specifically:

[0018] Perform an MTR test on the second egress. If the egress interconnection IP data exists in the network segment path of the second egress, it is determined that the traffic data egress is successfully switched; if the egress interconnection IP data does not exist in the network segment path of the second egress, it is determined that the traffic data egress is switched failed; wherein, the egress interconnection IP data is the IP data pre-entered in the background.

[0019] Determine whether the traffic data egress is successfully switched by testing the IP data in the standby egress, improving the reliability of route optimization.

[0020] As a preferred embodiment, after determining that the traffic data egress is successfully switched, it further includes:

[0021] Continuously monitor the first delay parameter of the first egress. When it is detected that the first delay parameter is less than the preset threshold range, switch the traffic data egress of the route from the second egress to the first egress.

[0022] Continuously monitor the network quality of the main egress of the route after the traffic data egress is successfully switched. When the network quality of the main egress is restored, switch the route egress back to the main egress again, which can reduce resource consumption and save operating costs.

[0023] As a preferred embodiment, after determining that the traffic data egress is switched failed, it further includes:

[0024] When it is determined that the traffic data egress is switched failed or the second egress meeting the preset working standard is not found when testing the second delay parameter, send an alarm message to the user so that the user can manually intervene to troubleshoot after receiving the alarm message.

[0025] If a problem occurs in the export switch, an automatic alarm is sent to notify the administrator to intervene manually for regulation, further ensuring the reliability of route optimization.

[0026] Furthermore, after the export switch of the traffic data of the route is completed, it further includes:

[0027] Real-time monitor the third delay parameter of the first transmission link. When the first delay parameter meets the preset abnormal condition, obtain the fourth delay parameter of the standby link;

[0028] If the fourth delay parameter is less than the third delay parameter, obtain the real-time traffic data, and expand the standby link according to the real-time traffic data with a preset expansion standard;

[0029] Respectively adjust the cost values of the first transmission link and the standby link, so that the traffic data is switched from the first transmission link to the standby link.

[0030] Compared with the prior art, the present invention can realize the rapid recovery of network data transmission by real-time monitoring the delay parameter of the main transmission link. After the delay parameter meets the preset abnormal condition, the standby link is expanded and the traffic data is automatically switched from the main transmission link to the standby link.

[0031] Another embodiment of the present invention correspondingly provides an automatic route optimization device, which is characterized by including: a monitoring module, a comparison module, and a switching module;

[0032] The monitoring module is used to real-time monitor the first delay parameter of the first export of the route traffic data. After the first delay parameter meets the preset abnormal condition, respectively obtain the second delay parameters of several other exports of the route except the first export;

[0033] The comparison module is used to compare the several second delay parameters with the first delay parameter after testing the several second delay parameters, and determine the second export that meets the preset working standard;

[0034] The switching module is used to determine the number of abnormal network segments in the first network segment, and select a switching method according to the number of abnormal network segments to switch the traffic data export of the route from the first export to the second export; wherein, the first network segment is all network segments connected to the first export in the route.

[0035] Compared with the prior art, the automatic routing optimization device disclosed in the embodiments of the present invention monitors the delay parameter of the main outlet of the traffic data of the route in real time. After the delay parameter meets the preset abnormal condition, it determines a standby outlet that meets the working standard and automatically switches the traffic data outlet of the route to the standby outlet according to the type of abnormality, which can achieve the rapid recovery of the network and the precise optimization of the route network segment.

[0036] Further, the monitoring module is used to monitor the first delay parameter of the first outlet of the route traffic data in real time. After the first delay parameter meets the preset abnormal condition, it respectively obtains the second delay parameters of several other outlets of the route except the first outlet, specifically including:

[0037] Monitor the first delay time and the first packet loss rate of the first outlet in real time. When the first packet loss rate exceeds the preset percentage within the preset time period or the first delay time exceeds the preset value within the preset time period, respectively obtain the second delay time and the second packet loss rate of several other outlets of the route except the first outlet.

[0038] Further, the method of selecting the switching method according to the number of abnormal network segments to switch the traffic data outlet of the route from the first outlet to the second outlet specifically includes:

[0039] Detect the number of abnormal network segments. If the proportion of the number of abnormal network segments in the number of the first network segments does not exceed the preset proportion, adjust the outlet prefix list of the route so that the traffic data outlet of the route is switched from the first outlet to the second outlet; if the proportion of the number of abnormal network segments in the number of the first network segments exceeds the preset proportion and each of the abnormal network segments belongs to a different entity, adjust the overall cost value of the first outlet so that the traffic data outlet of the route is switched from the first outlet to the second outlet. Description of the Drawings

[0040] Figure 1 is a flowchart of an automatic routing optimization method provided by an embodiment of the present invention.

[0041] Figure 2 is a flowchart of a preferred embodiment of the automatic routing optimization method provided by an embodiment of the present invention.

[0042] Figure 3 A flowchart of the optimization operation of the transmission link after the successful switching of the route outlet provided by an embodiment of the present invention.

[0043] Figure 4 is a flowchart of a preferred embodiment of the optimization operation of the transmission link after the successful switching of the route outlet provided by an embodiment of the present invention.

[0044] Figure 5 It is a schematic structural diagram of an automatic routing optimization device provided by an embodiment of the present invention. Specific embodiments

[0045] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0046] See Figure 1 , which is a schematic flowchart of an automatic routing optimization method provided by an embodiment of the present invention, including:

[0047] S101: Real-time monitor the first delay parameter of the first outlet of the routing traffic data. When the first delay parameter meets the preset abnormal condition, respectively obtain the second delay parameters of several other outlets of the routing except the first outlet;

[0048] S102: When the several second delay parameters are obtained by testing, compare the several second delay parameters with the first delay parameter to determine the second outlet that meets the preset working standard;

[0049] S103: Determine the number of abnormal network segments in the first network segment, and select a switching method according to the number of abnormal network segments to switch the traffic data outlet of the routing from the first outlet to the second outlet; wherein, the first network segment is all network segments connected to the first outlet in the routing.

[0050] An automatic routing optimization method provided by an embodiment of the present invention can realize the rapid recovery of the network and the precise optimization of the routing network segment by real-time monitoring the delay parameter of the main outlet of the routing traffic data. When the delay parameter meets the preset abnormal condition, it determines the standby outlet that meets the working standard and automatically switches the traffic data outlet of the routing to the standby outlet according to the type of abnormality.

[0051] For step S101, specifically, the real-time monitoring of the first delay parameter of the first outlet of the routing traffic data, when the first delay parameter meets the preset abnormal condition, respectively obtaining the second delay parameters of several other outlets of the routing except the first outlet specifically includes:

[0052] Monitor the first delay time and the first packet loss rate of the first exit in real time. When the first packet loss rate exceeds the preset percentage within the preset duration or the first delay time exceeds the preset value within the preset duration, obtain the second delay time and the second packet loss rate of several other exits of the route except the first exit respectively.

[0053] In a preferred embodiment, refer to Figure 2 , for overseas common services, establish real-time monitoring for the traffic data exit of the received route. When the main exit of the traffic data has a 10% packet loss continuously for 5 minutes or the delay increases by more than 20 ms, trigger the international route optimization program.

[0054] After triggering the optimization program, perform a ping test on the abnormal IP, compare the delays and packet losses of different traffic data exits, and synchronously compare and judge whether there is a better upstream exit, then determine the switching target of the traffic data exit as this upstream exit.

[0055] Compared with the prior art, the present invention establishes real-time monitoring for the main exit of the traffic data of the route. When the main exit is abnormal, automatically detect the delay parameters of the standby exit, saving the manual judgment time and laying a foundation for rapid network recovery.

[0056] For step S103, specifically, the method of selecting the switching method according to the number of abnormal network segments to switch the traffic data exit of the route from the first exit to the second exit specifically includes:

[0057] Detect the number of abnormal network segments. If the proportion of the number of abnormal network segments in the number of the first network segments does not exceed the preset proportion, adjust the exit prefix list of the route so that the traffic data exit of the route switches from the first exit to the second exit; if the proportion of the number of abnormal network segments in the number of the first network segments exceeds the preset proportion and each of the abnormal network segments belongs to different entities, adjust the overall cost value of the first exit so that the traffic data exit of the route switches from the first exit to the second exit.

[0058] In a preferred embodiment, refer to Figure 2 , before performing the exit switch, it is also necessary to judge the abnormal type of the traffic data main exit, and then select the switching method according to different abnormal types. Specifically:

[0059] If the number of abnormal network segments does not exceed 20% of the total number of monitored IPs as a whole, it is judged as partial route abnormality or peer-end abnormality, and the exit prefix list is adjusted to complete the adjustment of the outgoing traffic of the individual route segment;

[0060] If the number of abnormal network segments exceeds 20% of the overall monitored IPs, and each abnormal network segment belongs to a different entity, it is determined that there is an abnormality in the operator's export, and the overall cost of the main export is adjusted to complete the overall switching of the traffic data export.

[0061] Compared with the prior art, the present invention selects different switching methods according to the number of abnormal network segments connecting to the main export of the route, and uses the different switching methods to switch the traffic data export of the route to the standby export, realizing the rapid recovery of the network and the precise optimization of the network segment.

[0062] For step S103, further, after switching the traffic data export of the route from the first export to the second export, it further includes testing whether the traffic data export is successfully switched, specifically:

[0063] Perform an MTR test on the second export. If the export interconnection IP data exists in the network segment path of the second export, it is determined that the traffic data export is successfully switched; if the export interconnection IP data does not exist in the network segment path of the second export, it is determined that the traffic data export is switched failed; wherein, the export interconnection IP data is the IP data pre-entered in the background.

[0064] In a preferred embodiment, refer to Figure 2 , after the switching operation is completed, perform an MTR test on the standby export to detect whether the export interconnection IP in the library is included in the path to determine whether the traffic data export is successfully switched.

[0065] Compared with the prior art, the present invention determines whether the traffic data export is successfully switched by testing the IP data in the standby export, improving the reliability of route optimization.

[0066] For step S103, further, after determining that the traffic data export is successfully switched, continuously monitor the first delay parameter of the first export. When it is detected that the first delay parameter is less than the preset threshold range, switch the traffic data export of the route from the second export to the first export.

[0067] Compared with the prior art, the present invention continuously monitors the network quality of the main export of the route after the traffic data export is successfully switched, and switches the route export back to the main export again when the network quality of the main export is restored, which can reduce resource consumption and save operation costs.

[0068] For step S103, further, when it is determined that the traffic data export is switched failed or the second export meeting the preset working standard is not found when testing the second delay parameter, send an alarm message to the user so that the user can manually intervene to troubleshoot after receiving the alarm message.

[0069] As a preferred embodiment, refer to Figure 2 , if the following situations occur during the routing optimization process, the system automatically alarms the on-duty administrator, and the administrator manually accesses to troubleshoot:

[0070] If there is no egress with better network quality, the administrator checks whether the peer is abnormal or the internal network is abnormal;

[0071] If the egress adjustment fails, the administrator checks the device's received routes.

[0072] Compared with the prior art, when an abnormality occurs during the routing switch process, an automatic alarm notifies the administrator, and the administrator determines the type of abnormality based on the alarm information and intervenes to troubleshoot, ensuring the reliability of routing optimization.

[0073] Further, refer to Figure 3 , after the traffic data egress of the route is successfully switched, it further includes:

[0074] S301: Real-time monitor the third delay parameter of the first transmission link. When the first delay parameter meets the preset abnormal condition, obtain the fourth delay parameter of the standby link;

[0075] S302: If the fourth delay parameter is less than the third delay parameter, obtain the real-time traffic data, and expand the standby link according to the real-time traffic data with a preset expansion standard;

[0076] S303: Adjust the cost values of the first transmission link and the standby link respectively, so that the traffic data is switched from the first transmission link to the standby link.

[0077] As a preferred embodiment, refer to Figure 4 , the specific operations for optimizing the transmission link after the routing egress is successfully switched include:

[0078] Real-time monitor the delay and packet loss parameters of the main transmission link. When there is a 10% packet loss for 5 consecutive minutes or the delay increases by more than 10 ms, obtain the delay and packet loss parameters of the standby link; wherein, the standby link maintains a 10M bandwidth when not in use;

[0079] If the delay and packet loss parameters of the standby link are less than those of the main transmission link, obtain the real-time traffic data through SNMP, and expand the standby link according to the real-time traffic data with a redundancy standard of 20%.

[0080] Adjust the cost values of the main transmission link and the standby link respectively, so that the traffic data is switched from the main transmission link to the standby link.

[0081] Further, after the link switching operation is completed, perform an MTR test on the standby link, and determine whether the transmission link is successfully switched according to the transmission interconnection IP pre-entered into the library.

[0082] If the transmission link is successfully switched, continuously monitor the bandwidth of the standby link and perform real-time capacity expansion adjustment on the standby link according to the real-time traffic data. At the same time, continuously compare the delay parameters of the main transmission link and the standby link. When it is detected that the delay parameters of the main transmission link reach the normal working standard, switch the traffic data to the main transmission link. After the traffic data is switched from the standby link to the main transmission link, continuously monitor the main transmission link for 10 minutes. If it is detected that the delay parameters of the main transmission link do not exceed the preset abnormal conditions, reduce the capacity of the standby link to 10M.

[0083] If the transmission link switching fails or it is detected that the delay parameters of the standby link also exceed the preset abnormal conditions, automatically alarm the administrator, and the administrator will manually intervene to troubleshoot the problem according to the alarm information.

[0084] Compared with the prior art, the present invention can realize the rapid recovery of network data transmission by continuously monitoring the delay parameters of the main transmission link. When the delay parameters meet the preset abnormal conditions, expand the capacity of the standby link and automatically switch the traffic data from the main transmission link to the standby link.

[0085] See Figure 5 , which is a schematic structural diagram of an automatic routing optimization device provided by an embodiment of the present invention, including: a monitoring module, a comparison module, and a switching module;

[0086] The monitoring module is used to continuously monitor the first delay parameter of the first exit of the routing traffic data. When the first delay parameter meets the preset abnormal conditions, respectively obtain the second delay parameters of several other exits of the routing except the first exit;

[0087] The comparison module is used to compare the several second delay parameters with the first delay parameter when the several second delay parameters are obtained by testing, and determine the second exit that meets the preset working standard;

[0088] The switching module is used to determine the number of abnormal network segments in the first network segment, and select a switching method according to the number of abnormal network segments so that the traffic data exit of the routing is switched from the first exit to the second exit; wherein, the first network segment is all network segments connected to the first exit in the routing.

[0089] Compared with the prior art, the automatic routing optimization device disclosed in the embodiments of the present invention can realize the rapid recovery of the network and the precise optimization of the routing network segment by monitoring the delay parameter of the main outlet of the routing traffic data in real time, determining a standby outlet meeting the working standard and automatically switching the traffic data outlet of the routing to the standby outlet according to the type of abnormality when the delay parameter meets the preset abnormal condition.

[0090] Further, the monitoring module is used to monitor the first delay parameter of the first outlet of the routing traffic data in real time. When the first delay parameter meets the preset abnormal condition, the second delay parameters of several other outlets of the routing except the first outlet are respectively obtained, specifically including:

[0091] Monitor the first delay time and the first packet loss rate of the first outlet in real time. When the first packet loss rate exceeds the preset percentage within the preset time period or the first delay time exceeds the preset value within the preset time period, respectively obtain the second delay time and the second packet loss rate of several other outlets of the routing except the first outlet.

[0092] Further, the method for selecting the switching method according to the number of abnormal network segments to switch the traffic data outlet of the routing from the first outlet to the second outlet specifically includes:

[0093] Detect the number of abnormal network segments. If the proportion of the number of abnormal network segments in the number of the first network segments does not exceed the preset proportion, adjust the outlet prefix list of the routing so that the traffic data outlet of the routing is switched from the first outlet to the second outlet; if the proportion of the number of abnormal network segments in the number of the first network segments exceeds the preset proportion and each of the abnormal network segments belongs to a different entity, adjust the overall cost value of the first outlet so that the traffic data outlet of the routing is switched from the first outlet to the second outlet.

[0094] Further, after switching the traffic data outlet of the routing from the first outlet to the second outlet, it also includes testing whether the traffic data outlet is successfully switched, specifically:

[0095] Perform an MTR test on the second outlet. If it is detected that there is outlet interconnection IP data in the network segment path of the second outlet, it is determined that the traffic data outlet is successfully switched; if it is detected that there is no outlet interconnection IP data in the network segment path of the second outlet, it is determined that the traffic data outlet is switched failed; wherein, the outlet interconnection IP data is the IP data pre-entered in the background.

[0096] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the attached drawings of the device embodiments provided by the present invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0097] The above is the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can still be made, and these improvements and refinements are also regarded as the protection scope of the present invention.

Claims

1. An automatic routing optimization method, characterized in that, Including: The first delay parameter of the first exit for real-time monitoring of the routing traffic data. After the first delay parameter meets the preset abnormal condition, the second delay parameters of several other exits of the routing except the first exit are respectively obtained; After testing and obtaining the second delay parameters of the several exits, compare the second delay parameters of the several exits with the first delay parameter to determine the second exit that meets the preset working standard; Determine the number of abnormal network segments in the first network segment, and select a switching method according to the number of abnormal network segments to switch the traffic data exit of the routing from the first exit to the second exit; wherein, the first network segment is all network segments connected to the first exit in the routing; Among them, the step of selecting a switching method according to the number of abnormal network segments to switch the traffic data exit of the routing from the first exit to the second exit specifically includes: Detect the number of abnormal network segments. If the proportion of the number of abnormal network segments in the number of the first network segment does not exceed the preset proportion, adjust the exit prefix list of the routing to switch the traffic data exit of the routing from the first exit to the second exit; if the proportion of the number of abnormal network segments in the number of the first network segment exceeds the preset proportion, and each of the abnormal network segments belongs to different entities, adjust the overall cost value of the first exit to switch the traffic data exit of the routing from the first exit to the second exit.

2. The automatic routing optimization method according to claim 1, wherein The step of the first delay parameter of the first exit for real-time monitoring of the routing traffic data. After the first delay parameter meets the preset abnormal condition, the second delay parameters of several other exits of the routing except the first exit are respectively obtained, specifically includes: Real-time monitor the first delay time and the first packet loss rate of the first exit. When the first packet loss rate exceeds the preset percentage within the preset time period or the first delay time exceeds the preset value within the preset time period, respectively obtain the second delay time and the second packet loss rate of several other exits of the routing except the first exit.

3. The automatic routing optimization method according to claim 1, wherein After switching the traffic data exit of the routing from the first exit to the second exit, it further includes testing whether the traffic data exit is successfully switched, specifically: Perform an MTR test on the second exit. If it is detected that there is exit interconnection IP data in the network segment path of the second exit, it is determined that the traffic data exit is successfully switched; if it is detected that there is no exit interconnection IP data in the network segment path of the second exit, it is determined that the traffic data exit is switched failed; wherein, the exit interconnection IP data is the IP data pre-entered in the background.

4. The automatic routing optimization method according to claim 3, wherein After determining that the traffic data exit is successfully switched, it further includes: Continuously monitor the first delay parameter of the first exit. When it is detected that the first delay parameter is less than the preset threshold range, switch the traffic data exit of the routing from the second exit to the first exit.

5. The automatic routing optimization method according to claim 3, wherein, After determining that the traffic data exit is switched failed, it further includes: When it is determined that the switching of the traffic data outlet fails or the second outlet meeting the preset working standard is not found when testing the second delay parameter, an alarm message is sent to the user so that the user can intervene manually to troubleshoot the fault after receiving the alarm message.

6. The automatic routing optimization method according to claim 1, wherein After the switching of the traffic data outlet of the route is completed, it further includes: Real-time monitoring of the third delay parameter of the first transmission link, and when the third delay parameter meets the preset abnormal condition, obtaining the fourth delay parameter of the standby link; If the fourth delay parameter is less than the third delay parameter, obtaining the real-time traffic data, and expanding the standby link according to the real-time traffic data according to the preset expansion standard; Respectively adjusting the cost values of the first transmission link and the standby link so that the traffic data is switched from the first transmission link to the standby link.

7. An automatic routing optimization device, characterized in that, It includes: A monitoring module, a comparison module, and a switching module; The monitoring module is used to real-time monitor the first delay parameter of the first outlet of the route traffic data. After the first delay parameter meets the preset abnormal condition, respectively obtain the second delay parameters of several other outlets of the route except the first outlet; The comparison module is used to compare the second delay parameters of the several outlets with the first delay parameter after testing the second delay parameters of the several outlets, and determine the second outlet meeting the preset working standard; The switching module is used to determine the number of abnormal network segments in the first network segment, and select a switching method according to the number of abnormal network segments so that the traffic data outlet of the route is switched from the first outlet to the second outlet; wherein, the first network segment is all network segments connected to the first outlet in the route; Among them, the selecting a switching method according to the number of abnormal network segments so that the traffic data outlet of the route is switched from the first outlet to the second outlet specifically includes: Detecting the number of abnormal network segments. If the proportion of the number of abnormal network segments in the number of the first network segment does not exceed the preset proportion, adjusting the outlet prefix list of the route so that the traffic data outlet of the route is switched from the first outlet to the second outlet; if the proportion of the number of abnormal network segments in the number of the first network segment exceeds the preset proportion, and each of the abnormal network segments belongs to different entities, adjusting the overall cost value of the first outlet so that the traffic data outlet of the route is switched from the first outlet to the second outlet.

8. The automatic routing optimization device according to claim 7, characterized in that The monitoring module is used to real-time monitor the first delay parameter of the first outlet of the route traffic data. After the first delay parameter meets the preset abnormal condition, respectively obtain the second delay parameters of several other outlets of the route except the first outlet, specifically including: Real-time monitoring of the first delay time and the first packet loss rate of the first outlet. When the first packet loss rate exceeds the preset percentage within the preset time period or the first delay time exceeds the preset value within the preset time period, respectively obtain the second delay time and the second packet loss rate of several other outlets of the route except the first outlet.

Citation Information

Patent Citations

  • Flow scheduling method and device

    CN105939280A