Dynamic routing configuration method and system based on priority matching

By obtaining and parsing routing configuration data in real time and adjusting routing priorities dynamically, the problems of network complexity and performance degradation are solved, and flexible routing control and optimization are achieved to adapt to different network environments and needs.

CN120342936APending Publication Date: 2025-07-18HUANENG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510653020.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the dynamic routing configuration, as business demand increases and network complexity increases, priority matching rules may affect routing performance, resulting in network performance degradation or even paralysis, and it is difficult to effectively manage.

Method used

By obtaining real-time routing configuration data and change request data inside and outside the system, content analysis and matching are performed, priority information is determined, and adjustment policies are compared and selected in the policy database, routing configuration tables and rules are dynamically adjusted, and synchronization is performed in combination with performance testing and management logs.

Benefits of technology

It realizes dynamic adjustment of routing priorities according to network changes and needs, optimizes network performance and stability, improves routing flexibility and manageability, and adapts to different network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342936A_ABST
    Figure CN120342936A_ABST
Patent Text Reader

Abstract

The invention provides a dynamic route configuration method and system based on priority matching, and relates to the technical field of network communication, and the method comprises the steps: obtaining real-time configuration data of each route, outputting a route configuration table, and obtaining route change request data in real time; performing content analysis and route matching on the route configuration table and the route change request data, and comparing the priority information of each route in the route configuration table with the priority information of the corresponding route in the route change request data to obtain first comparison data; selecting a routing adjustment strategy from a strategy database, and adjusting the routing configuration table and the routing rule; and performing performance test on each route in the adjusted route configuration table to obtain a route performance table, and synchronizing the route management logs in combination with process data. According to the method, the routing priority can be dynamically adjusted according to network topology changes and service requirements so as to adapt to increasingly complex network environments and requirements, and stable operation of the network is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technologies, and in particular, to a dynamic routing configuration method and system based on priority matching. Background Art

[0002] The dynamic routing configuration method is a technology for dynamically selecting the best path in a network. Among them, the dynamic routing configuration based on priority matching is a technology for selecting the best path according to the priority of routing entries in dynamic routing. It can configure routes according to specific demand priorities, with high flexibility and can achieve more refined routing control.

[0003] However, currently, with the continuous increase of business requirements, configuring and managing a large number of routing entries with different priorities may increase the complexity of the network. Moreover, too many priority matching rules may affect the performance of routing, including the routing table lookup speed, routing calculation overhead, etc. At the same time, there may be priority conflicts between different routing entries, and improper handling may lead to a decline in network performance or even network paralysis.

[0004] Therefore, the present invention provides a dynamic routing configuration method and system based on priority matching. Summary of the Invention

[0005] The present invention provides a dynamic routing configuration method and system based on priority matching, which is used to dynamically adjust the routing priority according to network topology changes and business requirements to adapt to the increasingly complex network environment and requirements, and accurately know the performance of the routing during the dynamic configuration process, facilitating subsequent performance optimization, thereby ensuring the stable operation of the network.

[0006] On the one hand, the present invention provides a dynamic routing configuration method based on priority matching, including: Step 1: Obtain the real-time configuration data of each route in the system, output a routing configuration table, and at the same time, obtain the routing change request data input from outside the system and generated by the system's self-matching through a preset port; Step 2: Perform content parsing and routing matching on the routing configuration table and the routing change request data, determine the priority information of each route in the routing configuration table, and compare it with the priority information of the corresponding route in the routing change request data to obtain first comparison data; Step 3: Based on the first comparison data, select a matching routing adjustment strategy from the policy database, and adjust the routing configuration table and the corresponding routing rules based on the routing adjustment strategy; Step 4: Perform performance testing on the functions of each route in the adjusted routing configuration table in combination with preset evaluation metrics to obtain a routing performance table, and synchronize the routing management log in combination with the process data during the adjustment process of the routing configuration table.

[0007] Preferably, obtain the real-time configuration data of each route in the system and output a routing configuration table, including: Obtain the ID information of each route in the system and the configuration file under the corresponding ID information to obtain the real-time configuration data of each route; Summarize the real-time configuration data of each route in the system and output a routing configuration table.

[0008] Preferably, obtain the routing change request data input from outside the system and generated by the system's self-matching in real time through a preset port, including: Obtain the routing change requests input from outside the system in real time through the preset IO port in the system to generate first request data; At the same time, obtain the routing change requests generated by the system's self-matching in real time to generate second request data, and perform combined analysis on the first request data and the second request data at each same moment to output routing change request data.

[0009] Preferably, perform content parsing and routing matching on the routing configuration table and the routing change request data, including: Perform content parsing on the routing configuration table and the routing change request data at the same moment to obtain first content and second content respectively; At the same time, match the routing information in the first content and the second content to determine the routing change type and the configuration change data under the corresponding type.

[0010] Preferably, determine the priority information of each route in the routing configuration table, and compare it with the priority information of the corresponding route in the routing change request data to obtain first comparison data, including: Obtain the priority information corresponding to each route in the first content and output first level information; At the same time, obtain the priority information corresponding to each route in the second content and output second level information; Combined with the routing change type and the configuration change data under the corresponding type, perform comparative analysis on the first level information and the second level information of the routes corresponding to each routing change type to obtain the first comparison result under each routing change type; Summarize the first comparison results under all the routing change types, and obtain the priority change data corresponding to each route under each routing change type in combination with a preset result-priority comparison table to generate first comparison data.

[0011] Preferably, in step 3, it includes: Analyze the first comparison data to obtain the priority change data of each route in the first comparison data before and after the change; Use a preset partitioning method to partition the priority change data to obtain sub-data under each partition type; Input the sub-data into a preset data-factor comparison table to obtain the matching factor corresponding to each sub-data; Based on the matching factor, select the first adjustment strategy that matches each sub-data from the policy database; Summarize the first adjustment strategies corresponding to all the sub-data and perform a priority conflict analysis to obtain the first conflict analysis result; Meanwhile, obtain the performance requirement information of each route in the route configuration table in real time, and summarize it to obtain a route-performance requirement table; Input the first conflict analysis result and the route-performance requirement table into a result-requirement-protocol comparison table to obtain the route protocol change data corresponding to each route in the route configuration table; Input the first conflict analysis result into a preset result analysis model to adjust the first adjustment strategies corresponding to all the sub-data, and output a route adjustment strategy; Input the route adjustment strategy into a preset strategy-rule comparison table to obtain the rule change data corresponding to each route; Meanwhile, obtain the execution key that matches the route adjustment strategy and the rule change data from the security database; Based on the route adjustment strategy, the rule change data, and the corresponding execution key, perform key matching with each route in the route configuration table, and adjust the route configuration table and the route rules corresponding to each route in the table.

[0012] Preferably, in step 4, it includes: Based on the performance requirement information, and in combination with a preset requirement-index comparison table, obtain the performance evaluation index of each route in the adjusted route configuration table from the index database; Based on the performance evaluation index of each route, perform a function test on each route to obtain the first performance result; Obtain the historical performance data of each route in the route configuration table before adjustment from the historical database to obtain the second performance result; Compare and analyze the first performance result and the second performance result to obtain the performance change data of each route; Summarize and analyze the performance change data of each route to obtain the overall performance impact coefficient of all routes after the priority adjustment; ; wherein, represents the overall performance impact coefficient of all routes after priority adjustment; represents the total number of routes in the route configuration table after adjustment; represents the impact factor of the i-th route on the overall routing performance; represents the total number of performance evaluation indicators corresponding to the i-th route; represents the change value of the performance parameter of the i-th route under the j-th performance evaluation indicator before and after adjustment; represents the standard parameter value of the i-th route under the j-th performance evaluation indicator; represents the weight factor corresponding to the j-th performance evaluation indicator under the i-th route; represents the exponential function; Generate a route performance table based on the overall performance impact coefficient of all routes after priority adjustment and the performance change data corresponding to each route; Meanwhile, obtain the data of each route in the route configuration table during the adjustment process and output the process data; Update the data in the corresponding module of the route management log based on the route performance table and the process data.

[0013] On the other hand, the present invention also provides a dynamic route configuration system based on priority matching, including: A route data acquisition module, configured to acquire the real-time configuration data of each route in the system, output a route configuration table, and simultaneously acquire the input from outside the system and the route change request data generated by the system self-matching in real time through a preset port; A data comparison module, configured to perform content parsing and route matching on the route configuration table and the route change request data, determine the priority information of each route in the route configuration table, and compare it with the priority information of the corresponding route in the route change request data to obtain the first comparison data; A route configuration adjustment module, configured to select a matching route adjustment strategy from the policy database based on the first comparison data, and adjust the route configuration table and the corresponding route rules based on the route adjustment strategy; A performance testing module, configured to perform performance testing on the functions of each route in the adjusted route configuration table in combination with preset evaluation indicators to obtain a route performance table, and synchronize the route management log in combination with the process data during the adjustment process of the route configuration table.

[0014] Advantages of the present invention: A dynamic routing configuration method and system based on priority matching provided by the present invention. By obtaining the routing configuration information and change requests inside and outside the system in real time, the present invention adjusts the routing configuration table by means of priority matching to optimize the network routing performance. By dynamically adjusting the routing configuration table, the present invention can achieve flexible control and optimization of routing according to specific requirements, improve the flexibility and manageability of network routing, and improve the performance and efficiency of the network by optimizing the routing selection process. At the same time, it can dynamically adjust the routing configuration according to the real-time situation to adapt to different network environments and requirements. Description of the Drawings

[0015] To more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0016] Figure 1 It is a flowchart showing a dynamic routing configuration method based on priority matching provided by an embodiment of the present invention; Figure 2 It is a framework diagram showing a dynamic routing configuration system based on priority matching provided by an embodiment of the present invention. Detailed Embodiments

[0017] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present invention belong to the scope of protection of the present invention.

[0018] As Figure 1 shown, a dynamic routing configuration method based on priority matching provided by an embodiment of the present invention includes: Step 1: Obtain the real-time configuration data of each route in the system, output the routing configuration table, and at the same time, obtain the routing change request data input from outside the system and generated by the system's self-matching through a preset port; Step 2: Perform content parsing and routing matching on the routing configuration table and the routing change request data, determine the priority information of each route in the routing configuration table, and compare it with the priority information of the corresponding route in the routing change request data to obtain the first comparison data; Step 3: Based on the first comparison data, select a matching routing adjustment strategy from the policy database, and adjust the routing configuration table and the corresponding routing rules based on the routing adjustment strategy; Step 4: Combine with preset evaluation metrics to perform performance testing on the functions of each route in the adjusted routing configuration table to obtain a routing performance table, and synchronize the routing management log with the process data during the adjustment process of the routing configuration table.

[0019] In this embodiment, real-time configuration data: the real-time configuration information of each route in the system, including the current configuration status of the route, network topology information, etc.; In this embodiment, routing configuration table: a routing table generated according to the real-time configuration data, which records the connection information, priority, etc. between each route; In this embodiment, preset port: a pre-set interface for real-time obtaining of the routing change request data input from outside the system and automatically generated by the system; In this embodiment, routing change request data: the routing change request information input from outside the system or automatically generated by the system, used to trigger the adjustment of the routing configuration; In this embodiment, priority information: the priority information of each route recorded in the routing configuration table, used for subsequent matching and comparison; In this embodiment, first comparison data: the result obtained by comparing the priority information in the routing configuration table with the priority information of the corresponding route in the routing change request data, used to determine the adjustment strategy; In this embodiment, policy database: a database storing various routing adjustment strategies, and select an appropriate routing adjustment strategy according to the first comparison data; In this embodiment, routing adjustment strategy: an adjustment strategy selected according to the first comparison data, used to adjust the routing configuration table and the corresponding routing rules; In this embodiment, routing rule: defines the rules for communication between routes, and determines the forwarding path of data packets according to the information in the routing table; In this embodiment, preset evaluation metrics: performance metrics used to evaluate each route in the adjusted routing configuration table, for example, latency, bandwidth utilization, etc.; In this embodiment, routing performance table: a data table recording the routing performance data obtained after performance testing; In this embodiment, process data: contains the data generated by each route during the adjustment process, used to record the process information of the adjustment; In this embodiment, routing management log: records the change process of the routing configuration, including the adjustment of the configuration table, performance test results, etc.

[0020] Implementation principle and beneficial effects of this embodiment: The present invention optimizes network routing performance by adjusting the routing configuration table in a priority matching manner through real-time acquisition of routing configuration information and change requests inside and outside the system. By dynamically adjusting the routing configuration table, the present invention can achieve flexible control and optimization of routing according to specific requirements, improve the flexibility and manageability of network routing, and improve the performance and efficiency of the network by optimizing the routing selection process. At the same time, it can dynamically adjust the routing configuration according to real-time situations to adapt to different network environments and requirements.

[0021] A dynamic routing configuration method based on priority matching provided by an embodiment of the present invention, which acquires real-time configuration data of each route in the system and outputs a routing configuration table, including: Acquire the ID information of each route in the system and the configuration file under the corresponding ID information to obtain the real-time configuration data of each route; Summarize the real-time configuration data of each route in the system and output a routing configuration table.

[0022] In this embodiment, the ID information: The unique identifier of each route in the system, used to distinguish different routes. Each route will have a unique ID, which can be a number, a letter, or a combination, and is used to uniquely identify the route in the network. For example, in a network, there are three routing devices, and their IDs are Router1, Router2, and Router3 respectively; In this embodiment, the configuration file: The configuration file contains the specific configuration information of each route, such as the routing table, access control list, routing protocol configuration, etc. The configuration file is an important part of the route and determines the working state and functions of the device. For example, the configuration file of route Router1 may contain the routing table information, interface configuration, static routing configuration, etc. of this route.

[0023] Implementation principle and beneficial effects of this embodiment: The present invention first acquires the ID information of each routing device in the system and the corresponding configuration file, then summarizes the real-time configuration data of each routing device according to this information, and finally outputs a complete routing configuration table for the optimization and management of dynamic routing configuration. By acquiring real-time configuration data, the present invention is conducive to timely adjusting the routing configuration to cope with network changes. At the same time, it provides convenience for subsequent accurate matching of routing priorities and formulation of adjustment strategies.

[0024] A dynamic routing configuration method based on priority matching provided by an embodiment of the present invention, which acquires routing change request data input from outside the system and generated by the system's self-matching in real time through a preset port, including: Acquire the routing change request input from outside the system in real time through the preset IO port in the system and generate the first request data; Meanwhile, real-time obtain the routing change requests generated by the system's self-matching, generate second request data, perform combined analysis on the first request data and the second request data at each same moment, and output routing change request data.

[0025] In this embodiment, the preset IO ports: are interfaces preset in the system for inputting and outputting data, and these ports are used to obtain real-time routing change requests input from outside the system. For example, network interface cards (NICs) or specific custom communication ports; In this embodiment, the routing change request: is request data containing routing configuration change information, including but not limited to operations such as adding a new route, deleting a route, modifying route priorities, etc.; In this embodiment, the first request data: is data generated by obtaining real-time routing change requests input from outside the system through the preset IO ports within the system, and these data contain the specific content of the external requests. For example, the first request data comes from an instruction of a network administrator, requiring the routing priority of a specific data stream to be adjusted to the highest; In this embodiment, the second request data: is routing change request data automatically generated by the system's self-matching, and is a request generated based on the internal logic or policies of the system. For example, the second request data automatically generated by the system's self-matching is that the system automatically adjusts the priorities of certain routes based on the network traffic load situation to optimize network performance.

[0026] The implementation principle and beneficial effects of this embodiment: The present invention obtains real-time routing change request data input from outside the system and routing change request data automatically generated by the system through the preset IO ports, performs combined analysis on these two types of data, and finally outputs comprehensive routing change request data. By comprehensively analyzing external requests and requests automatically generated by the system, the requirements and optimization directions of routing configuration can be more comprehensively understood. At the same time, the request data automatically generated by the system can help quickly respond to network changes, improve the automation degree of routing configuration, and reduce manual intervention.

[0027] A dynamic routing configuration method based on priority matching provided by an embodiment of the present invention performs content parsing and routing matching on a routing configuration table and routing change request data, including: Perform content parsing on the routing configuration table and routing change request data at the same moment, and respectively obtain the first content and the second content; Meanwhile, match each routing information in the first content and the second content to determine the routing change type and the configuration change data under the corresponding type.

[0028] In this embodiment, the first content: is the information obtained after performing content parsing on the routing configuration table, including but not limited to the routing information, priority settings, path information, etc. of all routes in the current network; In this embodiment, the second content: the information obtained after content parsing of the routing change request data at the same moment, and these information include but are not limited to the specific routing information required to be added, deleted or modified; In this embodiment, the routing change type: the result obtained by matching the routing information in the first content and the second content determines the specific type of routing change. For example, adding a route, deleting a route, modifying the routing priority, etc.; In this embodiment, the configuration change data: the configuration information change data determined according to the routing change type, which is used to actually modify the routing configuration, and these data include but are not limited to the newly added routing entries, the deleted routing entries or the adjustment of the routing priority.

[0029] The implementation principle and beneficial effects of this embodiment: The present invention determines the routing change type and the corresponding configuration change data by content parsing and matching of the routing configuration table and the routing change request data, avoiding configuration errors or conflicts. At the same time, corresponding configuration change data can be generated according to different routing change types, enabling network administrators to flexibly manage and optimize routing configurations to adapt to different network requirements and changes.

[0030] A dynamic routing configuration method based on priority matching provided by an embodiment of the present invention determines the priority information of each route in the routing configuration table, and compares it with the priority information of the corresponding route in the routing change request data to obtain the first comparison data, including: Obtain the priority information corresponding to each route in the first content and output the first level information; At the same time, obtain the priority information corresponding to each route in the second content and output the second level information; Combined with the routing change type and the configuration change data under the corresponding type, compare and analyze the first level information and the second level information under the route corresponding to each routing change type to obtain the first comparison result under each routing change type; Summarize the first comparison results under all routing change types, and combine the preset result - priority comparison table to obtain the priority change data corresponding to each route under each routing change type, and generate the first comparison data.

[0031] In this embodiment, the first level information: the priority information corresponding to each route obtained from the routing configuration table, and these information describe the priority settings of each route in the current network. For example, the priority of route A in the routing configuration table is 10, and the priority of route B is 20; In this embodiment, the second level information: the priority information corresponding to each route obtained from the routing change request data, and these information describe the priority settings of the routes involved in the routing change request. For example, the routing change request data requires that the priority of route A be adjusted to 15; In this embodiment, the first comparison result: that is, the first-level information and the second-level information under each routing change type are compared and analyzed to obtain the comparison result under each routing change type, which reflects the differences and changes in the current routing priorities. For example, it is found after comparison that the priority of Route A needs to be increased by 5; In this embodiment, the preset result - priority comparison table: a table containing the correspondence between the first comparison result and the priority levels, used to determine the priority change data corresponding to each route under each routing change type according to the comparison result; In this embodiment, the priority change data: data determined according to the comparison result and the preset result - priority comparison table, used to guide the specific adjustment of the routing priorities. These data include, but are not limited to, the increase, decrease, or adjustment values of the priorities corresponding to each route.

[0032] The implementation principle and beneficial effects of this embodiment: The present invention determines the priority change data corresponding to each route under the routing change type by comparing the priority information in the routing configuration table and the routing change request data, so as to achieve precise adjustment of dynamic routing configuration. Furthermore, the routing priorities can be adjusted according to the priority change data to optimize network performance and stability to adapt to different network requirements and changes.

[0033] In a dynamic routing configuration method based on priority matching provided by an embodiment of the present invention, step 3 includes: Parse the first comparison data to obtain the priority change data of each route before and after the change in the first comparison data; Use a preset partitioning method to partition the priority change data to obtain sub-data under each partitioning type; Input the sub-data into the preset data - factor comparison table to obtain the matching factors corresponding to each sub-data; Based on the matching factors, select the first adjustment strategy that matches each sub-data from the policy database; Summarize the first adjustment strategies corresponding to all sub-data and perform priority conflict analysis to obtain the first conflict analysis result; Meanwhile, obtain the performance requirement information of each route in the routing configuration table by the system in real time, and summarize to obtain the route - performance requirement table; Input the first conflict analysis result and the route - performance requirement table into the result - requirement - protocol comparison table to obtain the routing protocol change data corresponding to each route in the routing configuration table; Input the first conflict analysis result into the preset result analysis model to adjust the first adjustment strategies corresponding to all sub-data and output the routing adjustment strategy; Input the routing adjustment policy into the preset policy - rule comparison table to obtain the rule change data corresponding to each route; Meanwhile, obtain the execution key that matches the routing adjustment policy and the rule change data in the security database; Based on the routing adjustment policy, the rule change data, and the corresponding execution key, perform key matching with each route in the routing configuration table, and adjust the routing configuration table and the routing rules corresponding to each route in the table.

[0034] In this embodiment, the priority change data: the situation of the priority change of each route before and after the change, that is, the change value of the priority. For example, if the priority of route A changes from 10 to 15, the change data is +5; In this embodiment, the preset partitioning method: the method used to partition the priority change data, classifying the data according to a certain standard; In this embodiment, the partitioning type: the classification type obtained according to the preset partitioning method, used to distinguish different types of priority change data. For example, it is divided into two types, increase and decrease, according to the positive and negative values of the change data; In this embodiment, the sub - data: the data subset under each partitioning type obtained after partitioning; In this embodiment, the preset data - factor comparison table: the comparison table containing the mapping relationship between data and matching factors, used to obtain the matching factors corresponding to the sub - data; In this embodiment, the matching factor: the data feature obtained according to the preset data - factor comparison table, used for subsequent policy selection and adjustment; In this embodiment, the first adjustment policy: the adjustment policy selected from the policy database according to the matching factor and matching the sub - data; In this embodiment, the conflict analysis: comprehensively analyze the adjustment policies corresponding to all sub - data to resolve possible priority conflicts; In this embodiment, the first conflict analysis result: that is, the output result of the conflict analysis, reflecting the situation of priority conflicts and the solution, used to guide the optimization and adjustment of the routing configuration; In this embodiment, the performance requirement information: the performance requirement data of each route in the routing configuration table obtained by the system in real - time, such as the requirements in terms of bandwidth, latency, reliability, etc.; In this embodiment, the route - performance requirement table: the summary table of the route performance requirement information, recording the performance requirements of each route; In this embodiment, the result - requirement - protocol comparison table: the comparison table containing the mapping relationship between the first conflict analysis result, the performance requirement information, and the routing protocol, used to determine the routing protocol change data corresponding to each route in the routing configuration table according to the first conflict analysis result and the performance requirement information; In this embodiment, the routing protocol change data: the protocol change information of the route determined according to the result-requirement-protocol comparison table, which is used to adjust the protocol settings of the route; In this embodiment, the preset result analysis model: a model used to analyze and adjust the first adjustment strategy to ensure that the adjustment of the route meets the system requirements and rules, and is preset; In this embodiment, the route adjustment strategy: the route adjustment plan adjusted according to the preset result analysis model, which is used to guide the specific adjustment operation of the route configuration; In this embodiment, the preset strategy-rule comparison table: used to determine the rule change data corresponding to each route, that is, the specific change information of the route configuration rule; In this embodiment, the rule change data: the rule change information of the route determined according to the preset strategy-rule comparison table, which is used to adjust the configuration rule of the route; In this embodiment, the security database: stores the execution key that matches the route adjustment strategy and the rule change data to ensure the security of the configuration change process; In this embodiment, the execution key: the key used to verify and execute the route adjustment strategy and the rule change data; In this embodiment, key matching: verifies and matches the route configuration according to the execution key to ensure that only the operations that meet the security rules are executed.

[0035] The implementation principle and beneficial effects of this embodiment: The present invention dynamically adjusts the route configuration through steps such as parsing, partitioning, matching factors, selecting adjustment strategies, and conflict analysis to adapt to network changes and performance requirements. The present invention can change the routing protocol according to real-time performance requirement information, adjust the route configuration in a timely manner, optimize network performance and stability, and further improve the adaptability to different network requirements and changes. The present invention can also ensure the security and compliance of the route configuration through key matching and rule adjustment.

[0036] A dynamic route configuration method based on priority matching provided by an embodiment of the present invention, in step 4, includes: Based on the performance requirement information, and in combination with the preset requirement-index comparison table, obtain the performance evaluation index of each route in the adjusted route configuration table in the index database; Based on the performance evaluation index of each route, perform a function test on each route to obtain the first performance result; Obtain the historical performance data of each route in the pre-adjustment route configuration table in the historical database to obtain the second performance result; Compare and analyze the first performance result and the second performance result to obtain the performance change data of each route; Summarize and analyze the performance change data for each route to obtain the overall performance impact coefficient for all routes after priority adjustment; ; Among them, represents the overall performance impact coefficient for all routes after priority adjustment; represents the total number of routes in the adjusted route configuration table; represents the impact factor of the i-th route on the overall route performance; represents the total number of performance evaluation indicators corresponding to the i-th route; represents the change value of the performance parameter of the i-th route under the j-th performance evaluation indicator before and after adjustment; represents the standard parameter value of the i-th route under the j-th performance evaluation indicator; represents the weight factor corresponding to the j-th performance evaluation indicator under the i-th route; represents the exponential function; Generate a route performance table based on the overall performance impact coefficient for all routes after priority adjustment and the performance change data corresponding to each route; At the same time, obtain the data of each route in the route configuration table during the adjustment process and output the process data; Update the data in the corresponding module of the route management log based on the route performance table and the process data.

[0037] In this embodiment, a preset requirement-index comparison table: used to map performance requirement information to specific performance evaluation indicators, so as to obtain the performance evaluation indicators of each route in the adjusted route configuration table in the index database; In this embodiment, an index database: a database storing various performance evaluation indicators, used to record and manage the performance evaluation indicators of each route in the route configuration table; In this embodiment, performance evaluation indicators: specific indicators used to evaluate route performance, such as latency, throughput, packet loss rate, etc., used to measure the performance of the route; In this embodiment, the first performance result: the performance result of the route after adjustment obtained through functional testing; In this embodiment, a historical database: a database storing historical performance data, used to record the historical performance data of each route in the route configuration table before adjustment; In this embodiment, the second performance result: the historical performance data of each route in the route configuration table before adjustment obtained from the historical database, used for comparative analysis with the first performance result; In this embodiment, the performance change data: is the performance change data of each route, which is used to characterize the performance change data of each route in the route performance table under each index. For example, the performance value, change value, change range, and whether the performance improves or decreases of the route named Router1 under the first index before and after the priority adjustment, etc. Detailed data, so that network administrators can intuitively observe the performance change data of each route after adjustment, facilitating subsequent optimization and adjustment; In this embodiment, the overall performance impact coefficient: is the impact value of the system priority adjustment on the overall route performance of all routes, and is a summary parameter used to characterize the performance impact effect of this priority adjustment on all routes.

[0038] The implementation principle and beneficial effects of this embodiment: The present invention evaluates the overall performance impact coefficient of all routes after priority adjustment by combining steps such as performance requirement information, functional testing, and historical performance data comparison and analysis, generates a route performance table, and updates the data under the corresponding module in the route management log. The present invention evaluates and analyzes the performance change data of each route under each performance index before and after priority adjustment, monitors the change of route performance in real time, provides data support for route management, facilitates subsequent route performance optimization, route strategy, and route rule optimization. At the same time, by calculating the impact coefficient of priority adjustment on the overall route performance, the performance of the entire route system can be optimized, and the stability and efficiency of the network can be improved.

[0039] As Figure 2 shown, a dynamic route configuration system based on priority matching provided by an embodiment of the present invention includes: A route data acquisition module, configured to acquire the real-time configuration data of each route in the system, output a route configuration table, and at the same time, acquire the route change request data input from outside the system and generated by the system's self-matching in real time through a preset port; A data comparison module, configured to perform content parsing and route matching on the route configuration table and the route change request data, determine the priority information of each route in the route configuration table, and compare it with the priority information of the corresponding route in the route change request data to obtain first comparison data; A route configuration adjustment module, configured to select a matching route adjustment strategy from the policy database based on the first comparison data, and adjust the route configuration table and the corresponding route rules based on the route adjustment strategy; A performance testing module, configured to perform performance testing on the functions of each route in the adjusted route configuration table in combination with preset evaluation indicators to obtain a route performance table, and synchronize the route management log in combination with the process data during the adjustment process of the route configuration table.

[0040] Implementation principle and beneficial effects of this embodiment: The present invention optimizes the network routing performance by obtaining the routing configuration information and change requests inside and outside the system in real time and adjusting the routing configuration table in a priority matching manner. By dynamically adjusting the routing configuration table, the present invention can achieve flexible control and optimization of routing according to specific requirements, improve the flexibility and manageability of network routing, and improve the performance and efficiency of the network by optimizing the routing selection process. At the same time, it can dynamically adjust the routing configuration according to real-time situations to adapt to different network environments and requirements.

[0041] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A dynamic routing configuration method based on priority matching, characterized in that Including: Step 1: Obtain the real-time configuration data of each route in the system, output a route configuration table, and at the same time, obtain the route change request data input from outside the system and generated by the system's self-matching through a preset port; Step 2: Parse the content and perform route matching on the route configuration table and the route change request data, determine the priority information of each route in the route configuration table, and compare it with the priority information of the corresponding route in the route change request data to obtain the first comparison data; Step 3: Based on the first comparison data, select a matching route adjustment policy from the policy database, and adjust the route configuration table and the corresponding route rules based on the route adjustment policy; Step 4: Combine preset evaluation indicators to perform performance testing on the functions of each route in the adjusted route configuration table to obtain a route performance table, and synchronize the route management log in combination with the process data during the adjustment of the route configuration table.

2. The dynamic routing configuration method based on priority matching according to claim 1, characterized in that: Obtain the real-time configuration data of each route in the system, output a route configuration table, including: Obtain the ID information of each route in the system and the configuration file under the corresponding ID information to obtain the real-time configuration data of each route; Summarize the real-time configuration data of each route in the system and output a route configuration table.

3. A dynamic routing configuration method based on priority matching according to claim 1, characterized in that, Obtain the route change request data input from outside the system and generated by the system's self-matching through a preset port, including: Obtain the route change requests input from outside the system through the preset IO port in the system to generate the first request data; At the same time, obtain the route change requests generated by the system's self-matching in real time to generate the second request data, and perform combined analysis on the first request data and the second request data at each same moment to output the route change request data.

4. A dynamic routing configuration method based on priority matching according to claim 1, characterized in that Parse the content and perform route matching on the route configuration table and the route change request data, including: Parse the content of the route configuration table and the route change request data at the same moment to obtain the first content and the second content respectively; At the same time, match the route information in the first content and the second content to determine the route change type and the configuration change data under the corresponding type.

5. A dynamic routing configuration method based on priority matching according to claim 4, characterized in that Determine the priority information of each route in the route configuration table, and compare it with the priority information of the corresponding route in the route change request data to obtain the first comparison data, including: Obtain the priority information corresponding to each route in the first content and output the first level information; At the same time, obtain the priority information corresponding to each route in the second content and output the second level information; Combine the route change type and the configuration change data under the corresponding type, and perform comparative analysis on the first level information and the second level information of each route corresponding to each route change type to obtain the first comparison result under each route change type; Summarize the first comparison results under all the route change types, and combine the preset result-priority comparison table to obtain the priority change data corresponding to each route under each route change type, and generate the first comparison data.

6. A dynamic routing configuration method based on priority matching according to claim 1, characterized in that In Step 3, including: Parse the first comparison data to obtain the priority change data of each route in the first comparison data before and after the change; Use a preset partitioning method to partition the priority change data to obtain sub-data under each partition type; Input the sub-data into a preset data-factor comparison table to obtain the matching factors corresponding to each sub-data; Based on the matching factors, select the first adjustment policies that match each sub-data from the policy database; Summarize the first adjustment policies corresponding to all the sub-data and perform a priority conflict analysis to obtain the first conflict analysis result; Meanwhile, obtain the performance requirement information of each route in the route configuration table in real time, and summarize it to obtain a route-performance requirement table; Input the first conflict analysis result and the route-performance requirement table into a result-requirement-protocol comparison table to obtain the route protocol change data corresponding to each route in the route configuration table; Input the first conflict analysis result into a preset result analysis model to adjust the first adjustment policies corresponding to all the sub-data and output a route adjustment policy; Input the route adjustment policy into a preset policy-rule comparison table to obtain the rule change data corresponding to each route; Meanwhile, obtain the execution keys that match the route adjustment policy and the rule change data from the security database; Based on the route adjustment policy, the rule change data, and the corresponding execution keys, perform key matching with each route in the route configuration table, and adjust the route configuration table and the route rules corresponding to each route in the table.

7. A dynamic routing configuration method based on priority matching according to claim 6, characterized in that In step 4, it includes: Based on the performance requirement information, and in combination with a preset requirement-index comparison table, obtain the performance evaluation indexes of each route in the adjusted route configuration table from the index database; Based on the performance evaluation indexes of each route, perform a function test on each route to obtain the first performance result; Obtain the historical performance data of each route in the pre-adjustment route configuration table from the historical database to obtain the second performance result; Perform a comparative analysis on the first performance result and the second performance result to obtain the performance change data of each route; Perform a summary analysis on the performance change data of each route to obtain the overall performance impact coefficient of all routes after the priority adjustment; ; Among them, represents the overall performance impact coefficient on all routes after priority adjustment; represents the total number of routes in the route configuration table after adjustment; represents the impact factor of the i-th route on the overall routing performance; represents the total number of performance evaluation indicators corresponding to the i-th route; represents the change value of the performance parameter of the i-th route under the j-th performance evaluation indicator before and after adjustment; represents the standard parameter value of the i-th route under the j-th performance evaluation indicator; represents the weight factor corresponding to the j-th performance evaluation indicator under the i-th route; represents the exponential function; Based on the overall performance impact coefficient of all routes after the priority adjustment and the performance change data corresponding to each route, generate a route performance table; Meanwhile, obtain the data of each route in the route configuration table during the adjustment process and output the process data; Based on the route performance table and the process data, update the data under the corresponding module in the route management log.

8. A dynamic routing configuration system based on priority matching, characterized in that, It includes: A route data acquisition module, which is used to acquire the real-time configuration data of each route in the system, output a route configuration table, and at the same time, acquire the route change request data input from outside the system and generated by the system's self-matching in real time through a preset port; A data comparison module, which is used to perform content parsing and route matching on the routing configuration table and the routing change request data, determine the priority information of each route in the routing configuration table, and compare it with the priority information of the corresponding route in the routing change request data to obtain first comparison data; A routing configuration adjustment module, which is used to select a matching routing adjustment policy from the policy database based on the first comparison data, and adjust the routing configuration table and the corresponding routing rules based on the routing adjustment policy; A performance testing module, which is used to perform performance testing on the functions of each route in the adjusted routing configuration table in combination with preset evaluation indicators to obtain a routing performance table, and synchronize the routing management log in combination with the process data during the adjustment process of the routing configuration table.