Multi-point networking tunnel configuration optimization method and device

By establishing dynamic address mapping tables and automatic switching functions in a multi-point networking environment, the limitations of traditional tunneling technology in multi-site communication and dynamic IP environments are solved, and network performance and reliability are improved.

CN119676084APending Publication Date: 2025-03-21HUAFU NETWORK TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411859836.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

Traditional point-to-point tunneling technology is complex in multi-site communication scenarios, lacks dynamic public IP support, and is difficult to deal with multi-initiated NAT traversal, and routing table management is difficult, affecting network performance.

Method used

The branch router sends registration information to the central router, establishes a dynamic address mapping table, realizes quick connection between the branch router and the central router, and supports direct communication between the branch router, and has automatic switching function and dynamic resource allocation capabilities.

Benefits of technology

It improves the performance and reliability of the multi-point networking environment, reduces data transmission delay and cost, ensures the continuity and stability of network communication, and improves resource utilization and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676084A_ABST
    Figure CN119676084A_ABST
Patent Text Reader

Abstract

The invention provides a multi-point networking tunnel configuration optimization method and device, and relates to the technical field of computer networks, and the method comprises the following steps: a branch router sends registration information to a central router through a next hop analysis protocol; wherein the registration information comprises a public network IP address of a branch router and a virtual private network IP address of the branch router; the central router obtains a first dynamic address mapping table based on the mapping relation between the public network IP address and the virtual private network IP address, and sends confirmation information to the branch router; the branch router verifies whether the tunnel connection with the central router is successfully established based on the confirmation information; and when the tunnel connection between the branch routers and the central router is successfully established, completing multi-point networking tunnel configuration optimization. According to the invention, the efficiency and quality of network communication are improved, the stability and reliability of the network are enhanced, and powerful support is provided for network communication of modern enterprises.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer networks, and in particular to a method and device for optimizing multi-point networking tunnel configuration. Background Art

[0002] With the continuous development of information technology, tunnel technology plays a vital role in network interconnection. Figure 1 As shown, traditional tunnel technologies, such as GRE (Generic Routing Encapsulation) and IPsec (Internet Protocol Security), mostly adopt a point-to-point mode, which has many limitations in configuration and scalability.

[0003] First, for scenarios that require multi-site communication, point-to-point tunnel technology requires the configuration of a large number of tunnel connections. For example, to achieve full interconnection of five sites, ten tunnels need to be configured, which undoubtedly increases the complexity of configuration and management difficulty. Second, traditional tunnel technology has poor support for dynamic public IP. In practical applications, the IP address of the tunnel terminal often needs to be statically configured, which limits the applicability of tunnel technology in dynamic network environments. With the popularization of cloud computing and virtualization technology, the use of dynamic IP addresses is becoming more and more widespread, and this limitation of traditional tunnel technology has become more prominent. Furthermore, traditional tunnel technology has limited support for dynamic IP addresses, resulting in difficulties in NAT (network address translation) traversal of multiple initiation points in some cases. Although NAT technology can solve the problem of insufficient IP addresses and conversion between private addresses and public addresses, traditional tunnel technology has obvious shortcomings in handling dynamic IP addresses and NAT traversal. In addition, in complex network environments, the routing table of traditional tunnel technology is large and difficult to manage. As the scale and complexity of the network expand, the maintenance and management of the routing table becomes a daunting task. This not only increases the operation and maintenance costs, but may also lead to a decline in network performance. Finally, traditional tunneling technology does not fully optimize the data transmission path, which affects network performance. During the data transmission process, there may be problems such as path redundancy and congestion, resulting in low data transmission efficiency.

[0004] Therefore, a multi-point networking tunnel configuration optimization method and device are proposed. Summary of the invention

[0005] This specification provides a multi-point networking tunnel configuration optimization method and device, which not only improves the efficiency and quality of network communications, but also enhances the stability and reliability of the network, providing strong support for network communications of modern enterprises.

[0006] This specification provides a multi-point networking tunnel configuration optimization method, including: The branch router sends registration information to the central router through the next hop resolution protocol; wherein the registration information includes the public network IP address of the branch router and its virtual private network IP address; The central router obtains a first dynamic address mapping table based on the mapping relationship between the public network IP address and the virtual private network IP address, and sends confirmation information to the branch router; The branch router verifies, based on the confirmation information, whether the tunnel connection with the central router is successfully established; When the tunnel connection between the branch router and the central router is successfully established, the multi-point networking tunnel configuration optimization is completed.

[0007] Optionally, the method comprises: When there is a communication demand between the plurality of branch routers, each branch router determines whether there is a public IP address of a target branch router in the second dynamic address mapping table based on the communication demand; When it does not exist, the branch router sends a request message to the central router through the next hop resolution protocol; The central router searches the first dynamic address mapping table based on the request information to obtain the public IP address of the target branch router, and encapsulates the public IP address of the target branch router to obtain response information; The central router sends response information to the branch router through the next hop resolution protocol; The branch router parses the response information to obtain the public IP address of the target branch router, and transmits data with the target branch router through a multipoint networking tunnel or a public network based on the public IP address of the target branch router.

[0008] Optionally, the method further includes: When the branch router determines that the public network is unavailable, it automatically switches the multipoint networking tunnel to perform data transmission with the target branch router.

[0009] Optionally, the method further includes: Configured with at least two central routers, including a main central router and at least one backup central router; When the branch router determines that the main central router fails, it automatically switches to communicate with the backup central router.

[0010] Optionally, the method further includes: Obtaining historical request information of the branch router; Analyze the historical request information to obtain the request frequency and request type of the branch router; Determining whether the request frequency of the branch router exceeds a preset frequency; When the request frequency of the branch router exceeds the preset frequency, an independent first processing unit of the main center router is allocated to the branch router.

[0011] Optionally, the method further includes: When the request frequency of the branch router does not exceed the preset frequency, classifying the branch router based on the request type; The plurality of branch routers with the same classification are bound together, and independent second processing units of the main center router are allocated to the bound plurality of branch routers.

[0012] Optionally, the method further includes: Acquire the interaction information sent by the branch router to the central router; The type of the interaction information is analyzed, and based on the type of the interaction information, a processing unit corresponding to the main central router is configured for the interaction information.

[0013] Optionally, the method further includes: Monitoring network data of the branch router; Dynamically adjust tunnel parameters based on the network data of the branch router; wherein the tunnel parameters include MTU, QoS policy, and routing selection.

[0014] This specification provides a multi-point networking tunnel configuration optimization device, including: A first sending module, used for the branch router to send registration information to the central router through the next hop resolution protocol; wherein the registration information includes the public network IP address of the branch router and its virtual private network IP address; A second sending module, configured for the central router to obtain a first dynamic address mapping table based on the mapping relationship between the public network IP address and the virtual private network IP address, and to send confirmation information to the branch router; A connection judgment module, used for the branch router to verify whether the tunnel connection with the central router is successfully established based on the confirmation information; The optimization configuration module is used to complete the multi-point networking tunnel configuration optimization when the tunnel connection between the branch router and the central router is successfully established.

[0015] Optionally, the device comprises: When there is a communication demand between the plurality of branch routers, each branch router determines whether there is a public IP address of a target branch router in the second dynamic address mapping table based on the communication demand; When it does not exist, the branch router sends a request message to the central router through the next hop resolution protocol; The central router searches the first dynamic address mapping table based on the request information to obtain the public IP address of the target branch router, and encapsulates the public IP address of the target branch router to obtain response information; The central router sends response information to the branch router through the next hop resolution protocol; The branch router parses the response information to obtain the public IP address of the target branch router, and transmits data with the target branch router through a multipoint networking tunnel or a public network based on the public IP address of the target branch router.

[0016] Optionally, the device further comprises: When the branch router determines that the public network is unavailable, it automatically switches the multipoint networking tunnel to perform data transmission with the target branch router.

[0017] Optionally, the device further comprises: Configured with at least two central routers, including a main central router and at least one backup central router; When the branch router determines that the main central router fails, it automatically switches to communicate with the backup central router.

[0018] Optionally, the device further comprises: Obtaining historical request information of the branch router; Analyze the historical request information to obtain the request frequency and request type of the branch router; Determining whether the request frequency of the branch router exceeds a preset frequency; When the request frequency of the branch router exceeds the preset frequency, an independent first processing unit of the main center router is allocated to the branch router.

[0019] Optionally, the device further comprises: When the request frequency of the branch router does not exceed the preset frequency, classifying the branch router based on the request type; The plurality of branch routers with the same classification are bound together, and independent second processing units of the main center router are allocated to the bound plurality of branch routers.

[0020] Optionally, the device further comprises: Acquire the interaction information sent by the branch router to the central router; The type of the interaction information is analyzed, and based on the type of the interaction information, a processing unit corresponding to the main central router is configured for the interaction information.

[0021] Optionally, the device further comprises: Monitoring network data of the branch router; Dynamically adjust tunnel parameters based on the network data of the branch router; wherein the tunnel parameters include MTU, QoS policy, and routing selection.

[0022] In the present invention, the performance and reliability of the multi-point networking environment are significantly improved through intelligent tunnel configuration and optimization. It uses a dynamic address mapping table to achieve fast and accurate connection establishment between branch routers and central routers, while supporting direct communication between branch routers, reducing data transmission delays and costs. In addition, the method also has an automatic switching function. When the public network is unavailable or the main central router fails, it can quickly switch to the multi-point networking tunnel or the backup central router to ensure the continuity and stability of network communication. In terms of resource management, the method can dynamically allocate processing units according to the request frequency and type of the branch router, thereby improving resource utilization and response speed. At the same time, by monitoring the network data of the branch router and dynamically adjusting the tunnel parameters (such as MTU, QoS policy, and routing selection) based on these data, the network performance and user experience are further optimized. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 It is a schematic diagram of the principle of the traditional point-to-point tunnel technology in the prior art; Figure 2 A schematic diagram of the principle of a multi-point networking tunnel configuration optimization method provided in an embodiment of this specification; Figure 3 This is a schematic diagram of the principle of multi-point tunnel intelligent networking technology; Figure 4 This is a flowchart of NHRP registration and resolution; Figure 5A schematic diagram of the structure of a multi-point networking tunnel configuration optimization device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0025] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0026] The following is combined with Figure 2-5 The exemplary embodiments of the present invention are described more fully. However, the exemplary embodiments can be implemented in various forms, and it should not be understood that the present invention is limited to the embodiments set forth herein. On the contrary, providing these exemplary embodiments can make the present invention more comprehensive and complete, and it is more convenient to fully convey the inventive concept to those skilled in the art. The same reference numerals in the figures represent the same or similar elements, components or parts, and thus their repeated description will be omitted.

[0027] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.

[0028] In the description of specific embodiments, the features, structures, characteristics or other details described in the present invention are intended to enable those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics or other details.

[0029] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0030] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0031] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.

[0032] Figure 2 A schematic diagram of the principle of a multi-point networking tunnel configuration optimization method provided in an embodiment of this specification, the method may include: S110: The branch router sends registration information to the central router through the next hop resolution protocol; wherein the registration information includes the public network IP address of the branch router and its virtual private network IP address; In the specific implementation of this specification, Figure 3 and Figure 4 As shown in the figure, when a branch router (also called a Spoke router) goes online for the first time or reconnects to the network, it will actively send an NHRP (Next Hop Resolution Protocol) registration message to the central router (also called the Hub router). This registration message contains the public IP address of the branch router and its IP address in the virtual private network (VPN) (i.e., the Tunnel IP address).

[0033] S120: The central router obtains a first dynamic address mapping table based on the mapping relationship between the public network IP address and the virtual private network IP address, and sends confirmation information to the branch router; In a specific implementation of the present specification, after the central router receives the registration message from the branch router, it will store the mapping relationship between the public IP address and the VPN IP address in the dynamic address mapping table. This dynamic address mapping table is a key data structure for the central router to manage the branch router information, which allows the central router to quickly find the corresponding public IP address based on the VPN IP address of the branch router. After the registration message is processed, the central router will send a confirmation message to the branch router, indicating that it has successfully received the registration information and established the corresponding mapping relationship.

[0034] After sending the confirmation message, the central router will continue to monitor the operation status of the network, including the connection status of the branch routers, data transmission delay and packet loss rate and other key indicators. If any abnormality or failure is detected, the central router will take necessary measures to repair it, such as resending the confirmation message, adjusting the routing strategy or notifying the network administrator for manual intervention.

[0035] S130: The branch router verifies whether the tunnel connection with the central router is successfully established based on the confirmation information; S140: When the tunnel connection between the branch router and the central router is successfully established, the multi-point networking tunnel configuration optimization is completed.

[0036] In the specific implementation of this specification, the branch router will first parse the received confirmation information to check whether its format and content are as expected. The confirmation information usually contains some specific fields, such as tunnel status, connection parameters (such as encryption keys, tunnel endpoint addresses, etc.) and possible checksums or signatures to verify the integrity and authenticity of the information.

[0037] The spoke router checks the tunnel status field in the confirmation message, which usually indicates whether the tunnel was successfully established, is active, or encountered any errors. If the status field indicates that the tunnel was successfully established and is active, the spoke router proceeds to the subsequent verification steps.

[0038] The branch router will match its locally configured tunnel connection parameters (such as encryption keys, tunnel endpoint addresses, etc.) with the parameters provided in the confirmation message. This is to ensure that the configurations at both ends are consistent so that a secure tunnel connection can be established and maintained.

[0039] If the confirmation message contains a checksum or signature, the branch router will use the corresponding algorithm to verify it. The checksum is usually used to detect whether the information has been changed or damaged during transmission, while the signature is used to verify whether the source of the information is legitimate and has not been tampered with.

[0040] The branch router can also send test packets (such as ICMP Echo requests or specific VPN protocol test packets) to the central router through the tunnel. These test packets are designed to verify the actual connectivity and performance of the tunnel. The branch router will wait for the response from the central router. If the response is timely and correct, the tunnel connection can be considered successful.

[0041] Regardless of whether the tunnel connection is successfully established, the branch router will record relevant log information. This log information is crucial for subsequent troubleshooting and performance analysis. If the tunnel connection fails, the branch router may trigger an alarm mechanism to notify the network administrator or execute a preset fault recovery strategy.

[0042] Once the tunnel connection is successfully established, the branch router will continue to monitor the operation status of the tunnel. This includes checking key indicators such as tunnel connectivity, bandwidth utilization, latency, and packet loss rate. If any abnormality is detected, the branch router will try to reestablish the tunnel connection or take other necessary measures.

[0043] Optionally, the method comprises: When there is a communication demand between the plurality of branch routers, each branch router determines whether there is a public IP address of a target branch router in the second dynamic address mapping table based on the communication demand; When it does not exist, the branch router sends a request message to the central router through the next hop resolution protocol; The central router searches the first dynamic address mapping table based on the request information to obtain the public IP address of the target branch router, and encapsulates the public IP address of the target branch router to obtain response information; The central router sends response information to the branch router through the next hop resolution protocol; The branch router parses the response information to obtain the public IP address of the target branch router, and transmits data with the target branch router through a multipoint networking tunnel or a public network based on the public IP address of the target branch router.

[0044] In a specific implementation of the present specification, when a branch router (i.e., the source branch router) needs to communicate with another branch router (i.e., the target branch router), it will first check its local second dynamic address mapping table, which records the public IP addresses of other branch routers in the network and their corresponding identity information (such as device name, VPN ID, etc.). If the public IP address of the target branch router does not exist in the second dynamic address mapping table of the source branch router, it needs to request this information from the central router in the network. The source branch router will send a request message containing the identity information of the target branch router (such as device name or VPN ID) to the central router through the communication channel previously established with the central router. The request message may also contain the identity information of the source branch router so that the central router can identify the source of the request. After receiving the request message, the central router will search for a record matching the identity information of the target branch router in its internal first dynamic address mapping table. Once a matching record is found, the central router will extract the public IP address of the target branch router and encapsulate it in a response message. The response message may also contain some additional parameters or instructions to instruct the source branch router how to establish communication with the target branch router. The central router sends the response information encapsulated with the public IP address of the target branch router back to the source branch router through the same communication channel.

[0045] After receiving the response information, the source branch router will resolve the public IP address of the target branch router. With this target IP address, the source branch router can establish communication with the target branch router through a multi-point networking tunnel (such as MPLS VPN, GRE tunnel, etc.) or a public network (such as the Internet). Before establishing communication, the source branch router may need to perform some additional configuration or security checks to ensure the security and reliability of communication. Once the communication is successfully established, the source branch router and the target branch router can start transmitting data. During the communication process, both the branch router and the central router will continuously monitor the operating status and performance of the network. If any abnormality or failure is detected, they will take necessary measures to repair or adjust to ensure the stability and reliability of the network. At the same time, as the network changes (such as the addition of new branch routers, the withdrawal of old routers, or changes in network topology), the dynamic address mapping table will be updated accordingly to reflect the latest network status.

[0046] The introduction of the Redirect mechanism avoids the need for the source branch router to forward data through the central router every time, thereby reducing communication delay and bandwidth usage. The introduction of the Shortcut mechanism simplifies the branch-to-branch communication path, reduces the forwarding and resolution overhead of the intermediate nodes, and thus improves communication efficiency.

[0047] Optionally, the method further includes: When the branch router determines that the public network is unavailable, it automatically switches the multipoint networking tunnel to perform data transmission with the target branch router.

[0048] In a specific implementation of the present specification, the branch router continuously monitors the status of its interface connected to the public network, including key indicators such as link quality, bandwidth utilization, delay and packet loss rate. If the performance of the public network is detected to drop below a preset threshold, or the connection is completely interrupted, the branch router will determine that the public network is unavailable. Once the public network is determined to be unavailable, the branch router will immediately start the switching mechanism. This mechanism may be based on a series of predefined rules and policies, such as priority sorting, cost-effectiveness analysis, tunnel availability, etc. The branch router will check its available multi-point networking tunnel list and select an optimal tunnel for switching based on priority or other criteria. After selecting the multi-point networking tunnel, the branch router will check its local configuration to ensure that the required tunnel parameters (such as tunnel endpoint addresses, encryption keys, authentication information, etc.) are complete and correct. If necessary, the branch router may send a tunnel establishment request to the central router or other network device to obtain the necessary configuration information or negotiate the tunnel endpoint. Once the tunnel parameters are configured, the branch router will attempt to establish a multi-point networking tunnel with the target branch router. After the tunnel is successfully established, the branch router will begin to switch data transmission from the public network to the multi-point networking tunnel. This switching process can be gradual to ensure the continuity and integrity of data transmission. For example, the branch router may first send some test packets to verify the stability and performance of the tunnel. Once the verification is passed, the branch router will switch all data transmission to the multipoint networking tunnel. After switching to the multipoint networking tunnel, the branch router will continue to monitor the operation status and performance of the tunnel. If the tunnel performance is detected to be degraded or a failure occurs, the branch router will try to re-establish the tunnel or switch to other available tunnels. At the same time, if the public network is restored and the performance is better than the currently used multipoint networking tunnel, the branch router can also switch back to the public network for data transmission as needed. The branch router will record all log information related to the switch, including the time, reason, tunnel selection, data transmission status, etc. This log information is essential for subsequent troubleshooting, performance analysis, and network optimization. During the switch process, the branch router may send notifications or alarm information to the network administrator so that the administrator can understand the network status in a timely manner and take appropriate measures.

[0049] Optionally, the method further includes: Configured with at least two central routers, including a main central router and at least one backup central router; When the branch router determines that the main central router fails, it automatically switches to communicate with the backup central router.

[0050] In a specific implementation of the present specification, the branch router will continuously monitor the communication status with the main center router, including the sending and receiving of heartbeat packets, connection quality, response time, etc. If the branch router does not receive a valid response from the main center router within a certain period of time, or detects that the communication quality drops below a preset threshold, it will determine that the main center router may be faulty. Once it is determined that the main center router may be faulty, the branch router will attempt to retry multiple times to confirm the fault. If the fault is confirmed to be correct, the branch router will select an available backup center router for switching according to a predefined switching strategy. The switching strategy may be based on a variety of factors, such as the load of the backup center router, the geographical location, the network topology, etc. Before switching, the branch router will obtain the necessary configuration information of the backup center router, such as the IP address, port number, authentication information, etc. The branch router will update its local configuration to ensure that the communication parameters with the backup center router are correct. The branch router will try to establish a communication connection with the backup center router, including steps such as sending a heartbeat packet and verifying identity. Once the communication connection is successfully established, the branch router will perform a series of verification tests to ensure that the communication quality with the backup center router meets the requirements. After verification, the branch router will start to switch data transmission from the main center router to the backup center router. At the same time, the branch router will update its internal routing table and service list to ensure that all network services can be accessed normally through the backup center router. After switching to the backup center router, the branch router will continue to monitor its communication status and service quality. If the main center router resumes normal operation and its performance is better than the backup center router currently in use, the branch router can switch back to the main center router for communication as needed. At the same time, the branch router will also regularly update its configuration information about the backup center router to ensure that it can quickly and accurately switch to the backup center router when needed. The branch router will record all log information related to the switch, including the time, reason, selected backup center router, communication status, etc. This log information is crucial for subsequent troubleshooting, performance analysis, and network optimization. During the switch process, the branch router may send notifications or alarm information to the network administrator so that the administrator can understand the network status in a timely manner and take appropriate measures.

[0051] Optionally, the method further includes: Obtaining historical request information of the branch router; Analyze the historical request information to obtain the request frequency and request type of the branch router; Determining whether the request frequency of the branch router exceeds a preset frequency; When the request frequency of the branch router exceeds the preset frequency, an independent first processing unit of the main center router is allocated to the branch router.

[0052] In a specific implementation of this specification, the system collects historical request information from each branch router periodically or in real time. This information may include the timestamp of the request, the type of request (such as address resolution request, data forwarding request, etc.), the source and target address of the request, etc. The collected historical request information will be stored in a database for subsequent analysis and processing. The collected historical request information is analyzed in depth to understand the request frequency and request type distribution of the branch router. Request frequency analysis can reveal the number of requests of the branch router within a certain time window, and whether these requests show a certain periodicity or burstiness. Request type analysis can help identify the main business needs and communication modes of the branch router. Based on the analysis results, the system will determine whether the request frequency of the branch router exceeds the preset frequency threshold. The preset frequency threshold may be determined based on multiple factors such as the overall load capacity of the network, the processing capacity of the central router, and the business needs of the branch router. When the request frequency of the branch router exceeds the preset frequency, the system will trigger a resource allocation strategy. In this strategy, the system will allocate an independent first processing unit (or processing resource, processing queue, etc.) of the main central router to this branch router. The purpose of allocating independent processing units is to ensure that the branch router's requests can be processed promptly and efficiently, thereby avoiding delays or packet loss caused by resource contention. When implementing resource allocation, the system may need to communicate with the central router to update its routing table or processing queue configuration. At the same time, the system also needs to ensure that the communication path between the newly allocated processing unit and the branch router is unobstructed. After the resource allocation is completed, the system will continue to monitor the performance indicators of the branch router and the central router (such as processing delay, throughput, error rate, etc.). If the performance indicators are found to be lower than expected or abnormal fluctuations occur, the system will take timely measures to optimize them, such as adjusting the configuration of the processing unit, adding additional processing resources, etc. The system will record all log information related to resource allocation and performance monitoring. This log information is essential for subsequent troubleshooting, performance analysis, and network optimization. At the same time, the system can also generate regular performance reports for network administrators to refer to and make decisions.

[0053] Optionally, the method further includes: When the request frequency of the branch router does not exceed the preset frequency, classifying the branch router based on the request type; The plurality of branch routers with the same classification are bound together, and independent second processing units of the main center router are allocated to the bound plurality of branch routers.

[0054] In a specific implementation of the present specification, when the request frequency of the branch router does not exceed the preset frequency, the system will enter the stage of request type analysis. At this stage, the system will classify the request types of the branch routers in detail based on the historical request information collected. The request types may include data forwarding requests, address resolution requests, management control requests, etc. According to the analysis results of the request types, the system will classify branch routers with similar or identical request types into the same category. The purpose of classification is to identify a group of branch routers with common business needs or communication modes, so as to perform subsequent optimization operations for resource binding. After the classification is completed, the system will try to bind multiple branch routers with the same classification. The binding operation involves steps such as establishing a virtual local area network (VLAN), configuring routing policies, or updating the routing table of the central router to ensure that the bound branch routers can share the same network resources. For the bound multiple branch routers, the system will allocate a second processing unit (or processing resource, processing queue, etc.) of an independent main central router to them. The second processing unit has different performance parameters and configurations to adapt to the business needs of the bound branch routers. The purpose of allocating independent processing units is to ensure that the bound group of branch routers can be processed in a timely and efficient manner, while avoiding delays or packet loss caused by resource contention. When implementing resource allocation, the system needs to communicate with the central router to update its routing table or processing queue configuration. At the same time, the system also needs to ensure that the communication path between the newly allocated processing unit and the bound branch router is unobstructed. After the resource allocation is completed, the system will continue to monitor the performance indicators of the bound branch routers and the central router (such as processing delay, throughput, error rate, etc.). If the performance indicators are found to be lower than expected or abnormal fluctuations occur, the system will take timely measures to optimize them, such as adjusting the configuration of the processing unit, adding additional processing resources, etc. The system will record all log information related to resource allocation, performance monitoring and classification. This log information is essential for subsequent troubleshooting, performance analysis and network optimization. At the same time, the system can also generate regular performance reports for network administrators to refer to and make decisions. The system will dynamically adjust the resource allocation strategy based on factors such as network load, changes in branch router request behavior, and the processing capacity of the central router. For example, when the request frequency of a bound branch router group increases, the system may allocate more processing resources to it or switch to a processing unit with higher performance.

[0055] Optionally, the method further includes: Acquire the interaction information sent by the branch router to the central router; The type of the interaction information is analyzed, and based on the type of the interaction information, a processing unit corresponding to the main central router is configured for the interaction information.

[0056] In a specific implementation of this specification, the system first captures all interactive information sent by the branch router to the central router. These interactive information may include multiple types such as routing updates, data forwarding requests, status queries, error reports, etc. The collected interactive information will be stored in a database or log file for subsequent analysis and processing. The collected interactive information is analyzed in depth to determine its type. This may involve parsing the content, format and context of the information. Through analysis, the system can identify different types of interactive information, such as routing update information, data forwarding requests, etc. According to the type of interactive information, the system configures a corresponding processing unit for each type of interactive information. The processing unit may include different hardware resources (such as CPU, memory, network interface, etc.) and software modules (such as routing protocol stack, data forwarding engine, etc.). The purpose of configuring the processing unit is to ensure that each type of interactive information can be processed efficiently and accurately. While configuring the processing unit, the system will also formulate corresponding processing strategies. The processing strategy may include information priority sorting, processing order, resource allocation, etc. By formulating a reasonable processing strategy, the system can further optimize the utilization and overall performance of the processing unit. The system will dynamically adjust the configuration and processing strategy of the processing unit based on factors such as network load, changes in the type of interactive information, and the performance of the processing unit. For example, when the amount of a certain type of interactive information increases, the system may allocate more processing resources to it or adjust the processing strategy to improve processing efficiency. The system will continuously monitor the performance indicators of the processing unit (such as processing delay, throughput, error rate, etc.). If it is found that the performance indicators are lower than expected or there are abnormal fluctuations, the system will take timely measures to optimize them. At the same time, the system will also generate regular performance reports for network administrators to refer to and make decisions. The system will record all log information related to interactive information processing. This log information is crucial for subsequent troubleshooting, performance analysis, and network optimization. At the same time, the system will also perform log audits to ensure the integrity and accuracy of the log information.

[0057] Optionally, the method further includes: Monitoring network data of the branch router; Dynamically adjust tunnel parameters based on the network data of the branch router; wherein the tunnel parameters include MTU, QoS policy, and routing selection.

[0058] In a specific implementation of this specification, the system monitors the network data of the branch router in real time or periodically, including key indicators such as traffic size, traffic type, latency, and packet loss rate. These data can be obtained from the branch router through protocols or tools such as SNMP (Simple Network Management Protocol), NetFlow, sFlow, etc. The collected network data will be sent to the analysis engine for in-depth analysis. The analysis may involve traffic pattern recognition, bottleneck detection, abnormal behavior detection, etc. Through analysis, the system can understand the actual operating status and potential problems of the network. Based on the analysis results, the system will dynamically adjust the tunnel parameters. MTU adjustment: If frequent fragmentation or transmission errors are detected, the system may adjust the MTU size to optimize transmission efficiency. QoS policy adjustment: Based on the traffic type and priority, the system can dynamically adjust the QoS policy to ensure that critical services get sufficient bandwidth and priority. Routing selection adjustment: By analyzing the network topology and real-time traffic, the system can select a better routing path to reduce latency and improve reliability.

[0059] The adjusted tunnel parameters are applied to the corresponding tunnel configuration. This updates the configuration at both ends of the tunnel to ensure that both ends can work together. After adjusting the parameters, the system will continue to monitor network performance to evaluate the effect of the adjustment. If it is found that the performance has not improved or has decreased, the system may roll back to the previous configuration or further adjust the parameters. The system will record all log information related to the tunnel parameter adjustment. This log information is essential for subsequent troubleshooting, performance analysis, and network optimization. At the same time, the system can also generate regular performance reports for network administrators to refer to and make decisions. To improve efficiency and accuracy, the system may use machine learning and artificial intelligence technologies to automatically analyze network data, predict performance trends, and intelligently adjust tunnel parameters.

[0060] In the present invention, the performance and reliability of the multi-point networking environment are significantly improved through intelligent tunnel configuration and optimization. It uses a dynamic address mapping table to achieve fast and accurate connection establishment between branch routers and central routers, while supporting direct communication between branch routers, reducing data transmission delays and costs. In addition, the method also has an automatic switching function. When the public network is unavailable or the main central router fails, it can quickly switch to the multi-point networking tunnel or the backup central router to ensure the continuity and stability of network communication. In terms of resource management, the method can dynamically allocate processing units according to the request frequency and type of the branch router, thereby improving resource utilization and response speed. At the same time, by monitoring the network data of the branch router and dynamically adjusting the tunnel parameters (such as MTU, QoS policy, and routing selection) based on these data, the network performance and user experience are further optimized.

[0061] Figure 5A schematic diagram of a multi-point networking tunnel configuration optimization device provided in an embodiment of this specification, the device may include: The first sending module 10 is used for the branch router to send registration information to the central router through the next hop resolution protocol; wherein the registration information includes the public network IP address of the branch router and its virtual private network IP address; A second sending module 20, configured for the central router to obtain a first dynamic address mapping table based on the mapping relationship between the public network IP address and the virtual private network IP address, and to send confirmation information to the branch router; A connection determination module 30, configured for the branch router to verify whether a tunnel connection with the central router is successfully established based on the confirmation information; The optimization configuration module 40 is used to complete the multi-point networking tunnel configuration optimization when the tunnel connection between the branch router and the central router is successfully established.

[0062] Optionally, the device comprises: When there is a communication demand between the plurality of branch routers, each branch router determines whether there is a public IP address of a target branch router in the second dynamic address mapping table based on the communication demand; When it does not exist, the branch router sends a request message to the central router through the next hop resolution protocol; The central router searches the first dynamic address mapping table based on the request information to obtain the public IP address of the target branch router, and encapsulates the public IP address of the target branch router to obtain response information; The central router sends response information to the branch router through the next hop resolution protocol; The branch router parses the response information to obtain the public IP address of the target branch router, and transmits data with the target branch router through a multipoint networking tunnel or a public network based on the public IP address of the target branch router.

[0063] Optionally, the device further comprises: When the branch router determines that the public network is unavailable, it automatically switches the multipoint networking tunnel to perform data transmission with the target branch router.

[0064] Optionally, the device further comprises: Configured with at least two central routers, including a main central router and at least one backup central router; When the branch router determines that the main central router fails, it automatically switches to communicate with the backup central router.

[0065] Optionally, the device further comprises: Obtaining historical request information of the branch router; Analyze the historical request information to obtain the request frequency and request type of the branch router; Determining whether the request frequency of the branch router exceeds a preset frequency; When the request frequency of the branch router exceeds the preset frequency, an independent first processing unit of the main center router is allocated to the branch router.

[0066] Optionally, the device further comprises: When the request frequency of the branch router does not exceed the preset frequency, classifying the branch router based on the request type; The plurality of branch routers with the same classification are bound together, and independent second processing units of the main center router are allocated to the bound plurality of branch routers.

[0067] Optionally, the device further comprises: Acquire the interaction information sent by the branch router to the central router; The type of the interaction information is analyzed, and based on the type of the interaction information, a processing unit corresponding to the main central router is configured for the interaction information.

[0068] Optionally, the device further comprises: Monitoring network data of the branch router; Dynamically adjust tunnel parameters based on the network data of the branch router; wherein the tunnel parameters include MTU, QoS policy, and routing selection.

[0069] The functions of the device in the embodiment of the present invention have been described in the above method embodiment, so for details not provided in the description of this embodiment, please refer to the relevant description in the above embodiment, and no further description will be given here.

[0070] The present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that general data processing devices such as microprocessors or digital signal processors (DSPs) may be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0071] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the present invention is not inherently related to any specific computer, virtual device or electronic device, and various general devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0072] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0073] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A multi-point networking tunnel configuration optimization method, characterized in that: include: The branch router sends registration information to the central router through the next hop resolution protocol; wherein the registration information includes the public network IP address of the branch router and its virtual private network IP address; The central router obtains a first dynamic address mapping table based on the mapping relationship between the public network IP address and the virtual private network IP address, and sends confirmation information to the branch router; The branch router verifies, based on the confirmation information, whether the tunnel connection with the central router is successfully established; When the tunnel connection between the branch router and the central router is successfully established, the multi-point networking tunnel configuration optimization is completed.

2. The multi-point networking tunnel configuration optimization method according to claim 1, characterized in that: include: When there is a communication demand between the plurality of branch routers, each of the branch routers determines whether there is a public IP address of a target branch router in the second dynamic address mapping table based on the communication demand; When it does not exist, the branch router sends a request message to the central router through the next hop resolution protocol; The central router searches the first dynamic address mapping table based on the request information to obtain the public IP address of the target branch router, and encapsulates the public IP address of the target branch router to obtain response information; The central router sends response information to the branch router through the next hop resolution protocol; The branch router parses the response information to obtain the public IP address of the target branch router, and transmits data with the target branch router through a multipoint networking tunnel or a public network based on the public IP address of the target branch router.

3. The multi-point networking tunnel configuration optimization method according to claim 2, characterized in that: Also includes: When the branch router determines that the public network is unavailable, it automatically switches the multipoint networking tunnel to perform data transmission with the target branch router.

4. The multi-point networking tunnel configuration optimization method according to claim 3, characterized in that: Also includes: Configured with at least two central routers, including a main central router and at least one backup central router; When the branch router determines that the main central router fails, it automatically switches to communicate with the backup central router.

5. The multi-point networking tunnel configuration optimization method according to claim 4, characterized in that: Also includes: Obtaining historical request information of the branch router; Analyze the historical request information to obtain the request frequency and request type of the branch router; Determining whether the request frequency of the branch router exceeds a preset frequency; When the request frequency of the branch router exceeds the preset frequency, an independent first processing unit of the main center router is allocated to the branch router.

6. The multi-point networking tunnel configuration optimization method according to claim 5, characterized in that: Also includes: When the request frequency of the branch router does not exceed the preset frequency, classifying the branch router based on the request type; The plurality of branch routers with the same classification are bound together, and independent second processing units of the main center router are allocated to the bound plurality of branch routers.

7. The multi-point networking tunnel configuration optimization method according to claim 6, characterized in that: Also includes: Acquire the interaction information sent by the branch router to the central router; The type of the interaction information is analyzed, and based on the type of the interaction information, a processing unit corresponding to the main central router is configured for the interaction information.

8. The multi-point networking tunnel configuration optimization method according to claim 7, characterized in that: Also includes: Monitoring network data of the branch router; Dynamically adjust tunnel parameters based on the network data of the branch router; wherein the tunnel parameters include MTU, QoS policy, and routing selection.

9. A multi-point networking tunnel configuration optimization device, characterized in that: include: A first sending module, used for the branch router to send registration information to the central router through the next hop resolution protocol; wherein the registration information includes the public network IP address of the branch router and its virtual private network IP address; A second sending module, configured for the central router to obtain a first dynamic address mapping table based on the mapping relationship between the public network IP address and the virtual private network IP address, and to send confirmation information to the branch router; A connection judgment module, used for the branch router to verify whether the tunnel connection with the central router is successfully established based on the confirmation information; The optimization configuration module is used to complete the multi-point networking tunnel configuration optimization when the tunnel connection between the branch router and the central router is successfully established.

Citation Information

Cited By

  • Mining intelligent board data automatic uploading system and method

    CN120785484A