Network access method and device, computer device, readable storage medium and program product

By comparing and synchronizing the routing information of target network instances and already connected instances in the cloud network, the compatibility issues during network instance access are resolved, achieving highly reliable and stable network interconnection and resource sharing.

CN119520584BActive Publication Date: 2026-04-21CHINA TELECOM CLOUD TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CLOUD TECH CO LTD
Filing Date
2024-11-20
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Due to compatibility issues between different types of network instances when accessing the cloud network, the reliability of network access is insufficient.

Method used

By acquiring routing information of the target network instance and already connected instances, comparing and synchronizing the routing information, and ensuring no conflicts before allowing network access, including comparing duplicates and overlaps, detecting redundant lines, and configuring network access and synchronizing routes through the gateway device.

Benefits of technology

This improves the reliability of network instance access and the overall performance of the network, ensures that network instances operate normally without conflicts, and enables resource sharing, thereby enhancing the reliability and stability of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520584B_ABST
    Figure CN119520584B_ABST
Patent Text Reader

Abstract

This application relates to a network access method, apparatus, computer device, readable storage medium, and program product, and pertains to the field of Internet technology. The method includes: in response to a network access command for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already-accessed instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if all routing comparison results indicate that there are no routing conflicts for the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already-accessed instance, generating a network access result for the target network instance. This method can improve network access reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, computer equipment, readable storage medium, and program product for accessing the Internet. Background Technology

[0002] With the continuous development of Internet technology, more and more enterprises are starting to use cloud network services, and enterprise cloud adoption has become a trend.

[0003] Currently, enterprises can access the cloud network through different types of network instances. However, it is precisely because of the differences between these network instance types that incompatibility can occur when they jointly access the cloud network, thus affecting the reliability of network access. Summary of the Invention

[0004] Therefore, it is necessary to provide a network access method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve network access reliability in response to the above-mentioned technical problems.

[0005] In a first aspect, this application provides a network access method, comprising: in response to a network access command for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if each routing comparison result indicates that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and generating a network access result for the target network instance when the routing synchronization result indicates that the target routing information has been synchronized to each already networked instance.

[0006] In one embodiment, the target routing information is compared with each existing routing information to obtain the routing comparison results of the target network instance, including: comparing the target routing information with each existing routing information for redundancy to obtain the routing redundancy results of the target network instance; comparing the target routing information with each existing routing information for overlap to obtain the routing overlap results of the target network instance; and using the routing redundancy results and the routing overlap results together as the routing comparison results of the target network instance.

[0007] In one embodiment, the target routing information includes local routing information and designated routing information; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance further includes: comparing the local routing information with each existing routing information to obtain a first routing comparison result for the target network instance; comparing the designated routing information with each existing routing information to obtain a second routing comparison result for the target network instance; and summarizing the first routing comparison result and the second routing comparison result to obtain the routing comparison result for the target network instance.

[0008] In one embodiment, obtaining existing routing information of at least one network-connected instance includes: for each network-connected instance, obtaining the original routing information of the network-connected instance; performing redundant line detection on the network-connected instance to obtain the redundant line detection result of the network-connected instance; when the redundant line detection result indicates that the network-connected instance has redundant lines, removing the routing information of the redundant lines from the original routing information to obtain the existing routing information of the network-connected instance.

[0009] In one embodiment, when all route comparison results indicate that there are no route conflicts for the target network instance, route synchronization is performed on the target network instance to obtain a route synchronization result. This includes: determining the network entry configuration information of the target network instance when all route comparison results indicate that there are no route conflicts for the target network instance; sending the network entry configuration information to the gateway device of the target network instance; and performing route synchronization on the target network instance when the gateway device returns the network entry configuration result based on the network entry configuration information to obtain a route synchronization result. The network entry configuration result is used to indicate that the target network instance has completed the network entry configuration.

[0010] In one embodiment, routing synchronization of the target network instance is performed to obtain routing synchronization results, including: establishing adjacency relationships between the target network instance and each already joined network instance; and synchronizing the target routing information of the target network instance to each already joined network instance based on each adjacency relationship to obtain the routing synchronization results of the target network instance.

[0011] Secondly, this application also provides a network access device, comprising: a routing information acquisition module, configured to acquire target routing information of the target network instance and acquire existing routing information of at least one already-accessed instance in response to a network access command for the target network instance; a routing conflict verification module, configured to compare the target routing information with each existing routing information to obtain a routing comparison result for the target network instance; a routing synchronization module, configured to perform routing synchronization on the target network instance when all routing comparison results indicate that there is no routing conflict in the target network instance, to obtain a routing synchronization result; and a network access result generation module, configured to generate a network access result for the target network instance when the routing synchronization result indicates that the target routing information has been synchronized to each already-accessed instance.

[0012] Thirdly, this application also provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: in response to a network entry command for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if each routing comparison result indicates that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, generating a network entry result for the target network instance.

[0013] Fourthly, this application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the following steps: in response to a network entry instruction for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if each routing comparison result indicates that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, generating a network entry result for the target network instance.

[0014] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps: in response to a network entry instruction for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if each routing comparison result indicates that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, generating a network entry result for the target network instance.

[0015] The aforementioned network access method, apparatus, computer equipment, computer-readable storage medium, and computer program product, in response to a network access command for a target network instance, first acquire the target routing information of the target network instance and the existing routing information of at least one already-accessed instance. The target routing information is then compared with each existing routing information, effectively avoiding routing conflicts between the target network instance and each already-accessed instance. If no routing conflicts exist with the target network instance, routing synchronization is performed, that is, the target routing information is synchronized to each already-accessed instance, thereby achieving network interoperability between the network instances and generating the network access result for the target network instance. Therefore, this application, on the one hand, ensures conflict-free normal operation between newly-accessed network instances and already-accessed network instances through routing information comparison, thus improving the reliability of network instance access. On the other hand, routing information synchronization enables network interoperability between newly-accessed network instances and already-accessed network instances, facilitating resource sharing among network instances, improving overall network performance, and thus enhancing the reliability and stability of the entire network. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a diagram illustrating the application environment of a network access method in one embodiment.

[0018] Figure 2 This is a schematic diagram of a high-speed cloud-to-cloud highway in one embodiment;

[0019] Figure 3 This is a flowchart illustrating a network access method in one embodiment;

[0020] Figure 4 This is a schematic diagram illustrating network instances in different regions accessing the cloud highway in one embodiment;

[0021] Figure 5 This is a flowchart illustrating the routing conflict verification process in one embodiment;

[0022] Figure 6 This is a schematic diagram of the routing conflict verification process in another embodiment;

[0023] Figure 7 This is a flowchart illustrating the redundancy detection process in one embodiment;

[0024] Figure 8 This is a schematic diagram of the process for issuing network access configuration in one embodiment;

[0025] Figure 9 This is a schematic diagram of the route synchronization process in one embodiment;

[0026] Figure 10 This is a schematic diagram of route synchronization in a specific embodiment;

[0027] Figure 11 This is a schematic diagram of a cross-regional hybrid networking solution in a specific embodiment;

[0028] Figure 12 This is a structural block diagram of a network access device in one embodiment;

[0029] Figure 13 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0031] The network access method provided in this application embodiment can be applied to, for example... Figure 1 The CloudInterconnect application environment shown is a private network for interconnecting cloud resource pools built by large telecommunications operators. It provides a highly reliable, cross-regional high-speed interconnection channel for cloud resources and is a cloud network capable of hybrid networking, such as... Figure 2 As shown, region A and region B can communicate via the cloud expressway to share resource pools. In other words, network access in this embodiment refers to a network instance joining the cloud expressway.

[0032] Specifically, when the cloud-to-high-speed control center 102 receives the network access command from the target network instance 104, it first obtains the target routing information of the target network instance 104, as well as the existing routing information of at least one already networked instance. The target routing information is compared with each existing routing information to obtain the routing comparison results for the target network instance 104. If all the routing comparison results indicate that there are no routing conflicts for the target network instance 104, routing synchronization is performed on the target network instance 104 to obtain the routing synchronization results. When the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, the network access result for the target network instance 104 is generated.

[0033] In one exemplary embodiment, such as Figure 3 As shown, a network access method is provided, which is applied to... Figure 1 Taking the control center 102 of the Zhongyun Intercity Expressway as an example, the following is an explanation:

[0034] Step S302: In response to the network entry command for the target network instance, obtain the target routing information of the target network instance and obtain the existing routing information of at least one already network-entered instance.

[0035] In this context, a network instance can be understood as an independent network service or function. For example, a corporate network may have multiple network instances, each potentially containing different subnets, servers, applications, etc., to meet different business needs. These instances can be virtual or physical. In this embodiment, network instances may include VPC (Virtual Private Cloud) instances, cloud leased line instances, VPN (Virtual Private Network) instances, cloud desktop instances, and SDWAN (Software-Defined Wide Area Network) instances. A VPC instance is a private cloud network dedicated to a user or enterprise. Cloud private lines are high-speed, stable network connectivity services typically used to connect users' local data centers and VPCs. One end of the physical leased line connects to the local gateway device in the local data center, and the other end connects to the cloud private line's gateway, connecting the customer's local data center's internal LAN to other high-speed instances in the cloud, achieving secure, reliable, and high-speed intranet-level communication quality. A VPN is a network connectivity service used to securely transfer data between different locations. A VPN instance can establish secure connections between different Virtual Private Clouds (VPCs), ensuring the privacy and integrity of data transmission. Cloud computing is a network architecture that provides efficient and flexible network connectivity through centralized control and management of multiple physical or virtual links. Cloud PCs are innovative products combining cloud computing technology and terminals. Relying on cloud network resources, they deliver a secure and efficient cloud PC user experience, offering one-click deployment, flexible configuration, and centralized management capabilities. They are widely used in office, education, and healthcare scenarios. It should be noted that these network instances can be located in different regions or in the same region; this example does not impose such restrictions. For example... Figure 4 As shown, different regions access the Cloud Expressway through their respective network instances, and resource pools are established for each region within the Cloud Expressway. This achieves hybrid networking across regions on the Cloud Expressway, enabling network interconnection and resource sharing. The target network instance refers to the network instance that needs to join the network (i.e., access the Cloud Expressway); it can be a single network instance or multiple network instances.

[0036] The network entry command is the command by which the target network instance requests to join the Cloud Expressway. Target routing information refers to the routing information of the target network instance, which may include routing tables, routing protocols, and routing addresses. Already joined instances refer to network instances that have already joined the Cloud Expressway. Existing routing information refers to the routing information of already joined instances.

[0037] For example, when the control center of the cloud high-speed network receives a network access request from a target network instance, in order to avoid network failures caused by conflicts between instances in the cloud network, the control center will obtain the routing information of the target network instance and compare it with the routing information of instances that have already joined the network.

[0038] Step S304: Compare the target routing information with each existing routing information to obtain the routing comparison results of the target network instance.

[0039] Among them, the route comparison results can be used to characterize whether there is a route conflict between the target route information and each existing route information.

[0040] For example, after obtaining the routing information of the target network instance and the routing information of each instance that has joined the network, the control center can perform routing conflict verification, that is, compare the target routing information with each existing routing information to determine whether there is a routing conflict between the target routing information and each existing routing information.

[0041] In one example, for network instances that have already been connected to the cloud high-speed network, route conflict verification must also be performed when the network instance's route changes.

[0042] Step S306: If all route comparison results indicate that there is no route conflict in the target network instance, perform route synchronization on the target network instance to obtain the route synchronization result.

[0043] Among them, route synchronization refers to synchronizing the target route information to each instance that has joined the network, so that each instance can learn the route information of the target network instance, thereby realizing the interconnection between cloud network instances.

[0044] Step S308: When the routing synchronization result indicates that the target routing information has been synchronized to each instance that has joined the network, generate the network entry result of the target network instance.

[0045] Among them, the network access result can be used to indicate that the target network instance has successfully joined the network, or in other words, the target network instance has completed the network formation with the existing network instances on the cloud highway.

[0046] For example, after successfully synchronizing the target routing information to each instance that has joined the network, the control center can generate a result indicating that the target network instance has successfully joined the network or that the target network instance has successfully formed a network, and then feed it back to the user.

[0047] In this embodiment, the cloud-based high-speed response to a network entry command for a target network instance first obtains the target routing information of the target network instance and the existing routing information of at least one already networked instance. The target routing information is then compared with each existing routing information, effectively avoiding routing conflicts between the target network instance and the existing networked instances. If no routing conflicts exist with the target network instance, routing synchronization is performed, that is, the target routing information is synchronized to each already networked instance, thereby enabling network interoperability between network instances and generating the network entry result for the target network instance. Therefore, this embodiment, on the one hand, ensures conflict-free normal operation between newly networked and already networked network instances through routing information comparison, thus improving the reliability of network instance network entry. On the other hand, routing information synchronization enables network interoperability between newly networked and already networked network instances, facilitating resource sharing among network instances, improving overall network performance, and thus enhancing the reliability and stability of the entire network.

[0048] In one exemplary embodiment, such as Figure 5 As shown, the target routing information is compared with each existing routing information to obtain the routing comparison results for each target network instance, including:

[0049] Step S502: Compare the target routing information with each existing routing information for redundancy to obtain the routing redundancy result of the target network instance.

[0050] Among them, duplicate comparison refers to the process of determining whether the target routing information is duplicated with existing routing information. The route duplication result is used to characterize whether the target routing information is duplicated with existing routing information.

[0051] For example, after obtaining the target routing information and all existing routing information, the control center can perform a duplicate comparison, that is, determine whether the target routing information is duplicated with the existing routing information. If the target routing information is duplicated with any existing routing information, the control center will stop the access of the target network instance and provide feedback to the user regarding the reason.

[0052] Step S504: Compare the target routing information with each existing routing information to obtain the routing overlap result of the target network instance.

[0053] Overlap comparison refers to the process of determining whether there is information overlap between the target routing information and existing routing information. The routing overlap result is used to characterize whether the target routing information overlaps with the existing routing information.

[0054] For example, after obtaining the target routing information and all existing routing information, the control center can also perform an overlap comparison, that is, determine whether there is information overlap between the target routing information and the existing routing information. If the target routing information overlaps with any existing routing information, the control center will also stop the access of the target network instance and provide feedback to the user regarding the reason.

[0055] Step S506: Combine the duplicate routing results and the overlapping routing results as the routing comparison results for the target network instance.

[0056] For example, the control center will only allow a target route to enter the network if the target route information does not overlap with any existing route information. It should be noted that the order of execution for duplicate and overlap comparisons is not restricted; they can be performed simultaneously or sequentially.

[0057] In this embodiment, by comparing repetition and overlap, it is ensured that the target network instance does not have routing conflicts with existing network instances on the cloud highway, effectively avoiding network failures and improving network access reliability, while also improving the reliability and stability of the entire network.

[0058] In one exemplary embodiment, such as Figure 6 As shown, the target routing information is compared with each of the existing routing information to obtain the routing comparison results for each target network instance, and the method further includes:

[0059] Step S602: Compare the local routing information with each existing routing information to obtain the first routing comparison result of the target network instance.

[0060] The target routing information can include local routing information and specified routing information. Local routing information refers to the routing information on the local end of the target network instance, while specified routing information refers to the pre-specified routing information in the target routing information, which can be used for targeted routing conflict verification, thereby improving the efficiency and accuracy of routing conflict verification. It is understandable that local routing information can affect the forwarding of local traffic of the network instance to some extent, thus affecting the network instance's network access or even causing it to fail to access the network. Therefore, in this embodiment, in addition to verifying regular routing information, the local routing information of the network instance will also be verified. The first route comparison result refers to the route comparison result between the local routing information and existing routing information, which can include routing duplication results and routing overlap results between the local routing information and existing routing information.

[0061] For example, after obtaining the target routing information and each existing routing information, the control center can perform a duplicate comparison and an overlap comparison between the local routing information in the target routing information and each existing routing information, thereby obtaining the routing duplication result and routing overlap result between the local routing information and each existing routing information.

[0062] Step S604: Compare the specified routing information with each existing routing information to obtain the second routing comparison result of the target network instance.

[0063] The first route comparison result refers to the route comparison result between the specified route information and the existing route information, which may include route duplication results and route overlap results between the specified route information and the existing route information.

[0064] For example, after obtaining the target routing information and each existing routing information, the control center can perform a duplicate comparison and an overlap comparison between the specified routing information in the target routing information and each existing routing information, thereby obtaining the routing duplication result and routing overlap result between the specified routing information and each existing routing information.

[0065] Step S606: Summarize the first route comparison results and the second route comparison results to obtain the route comparison results of the target network instance.

[0066] For example, the controller combines the first route comparison result and the second route comparison result to obtain the route comparison result for the target network instance. In summary, the route comparison in this embodiment actually includes redundant and overlapping comparisons between local route information and existing route information, as well as redundant and overlapping comparisons between specified route information and existing route information. It should be noted that the order of route comparison between local route information and specified route information is not restricted; they can be performed simultaneously or sequentially.

[0067] In this embodiment, while considering conventional route verification, route conflict verification at the local end of the network instance is also taken into account. This exposes route conflict issues at the forefront, thereby avoiding network instance failures and improving network access reliability. Moreover, by unifying the route verification standards for various network instances, verification efficiency is improved, avoiding the inefficiencies and frequent failures caused by separate verification for each network instance, inconsistent rules, inconsistent verification standards, scattered verification methods, and fragmented services in traditional technologies.

[0068] In one exemplary embodiment, such as Figure 7 As shown, obtain the existing routing information of at least one instance that has already joined the network, including:

[0069] Step S702: For each instance that has joined the network, obtain the original routing information of the instance that has joined the network.

[0070] Among them, the original routing information refers to the original routing information of the instance that has already entered the network.

[0071] For example, the control center obtains the original routing information of each network instance that has joined the network, and further redundancy detection is required later.

[0072] Step S704: Perform redundant line detection on the network-connected instances to obtain the redundant line detection results for the network-connected instances.

[0073] Redundant line detection refers to the process of detecting whether redundant lines exist in instances already connected to the network. The results of redundant line detection are used to characterize whether redundant lines exist in instances already connected to the network.

[0074] For example, after obtaining the original routing information of each instance that has joined the network, the control center can further detect whether there are redundant lines for each instance that has joined the network, thereby obtaining the redundant line detection result for each instance that has joined the network.

[0075] Step S706: When the redundant line detection result indicates that there are redundant lines in the network-connected instance, remove the routing information of the redundant lines from the original routing information to obtain the existing routing information of the network-connected instance.

[0076] For example, if a network-connected instance has redundant lines, the control center needs to remove the routing information corresponding to the redundant lines from the original routing information of the network-connected instance to obtain the existing routing information of the network-connected instance. If the network-connected instance does not have redundant lines, the original routing information can be directly used as the existing routing information for subsequent routing conflict verification.

[0077] In this embodiment, redundant lines are detected for existing network instances in the cloud-to-highway network to avoid the routing information of redundant lines affecting the efficiency and accuracy of subsequent route conflict verification. Therefore, this embodiment improves the efficiency and accuracy of subsequent route conflict verification by improving the accuracy of existing routing information, thereby improving the reliability of network instance access to the network.

[0078] In one exemplary embodiment, such as Figure 8 As shown, when all route comparison results indicate that there are no route conflicts for the target network instance, route synchronization is performed on the target network instance to obtain the route synchronization results, including:

[0079] Step S802: If all the route comparison results indicate that there is no route conflict for the target network instance, determine the network access configuration information of the target network instance.

[0080] Among them, network access configuration information refers to the configuration information required for a network instance to access the network.

[0081] For example, when the control center determines that there is no routing conflict between the target network instance and each already connected instance, it can generate the network access configuration information of the target network instance through cloud orchestration, that is, through automation and programming.

[0082] Step S804: Send the network access configuration information to the gateway device of the target network instance.

[0083] For example, after the control center generates the network access configuration information for the target network instance, it can send the network access configuration information to the gateway device corresponding to the target network instance, so that the gateway device can configure the target network instance for network access, thereby enabling the target network instance to access the network.

[0084] For example, with VPC instances, the control center configures the VPC instance for cloud access through in-cloud orchestration and distributes the configuration to the cloud gateway of the VPC instance. The cloud gateway then performs steps such as address allocation, creating network access links, and path propagation. Similarly, with SDWAN instances, the control center distributes the cloud access configuration to the SDWAN gateway device, mainly involving binding interface calls. The SDWAN gateway device then performs steps such as creating network access links and path propagation. For cloud leased line instances, the control center distributes the cloud access configuration to the leased line gateway, which also performs steps such as creating network access links and path propagation. For VPN instances, the control center distributes the cloud access configuration to the VPN controller, which then performs steps such as creating network access links and path propagation. Finally, for cloud desktop instances, the control center distributes the cloud access configuration to the cloud PC controller, which then performs steps such as creating network access links and path propagation.

[0085] Step S806: Upon receiving the network entry configuration result returned by the gateway device based on the network entry configuration information, perform route synchronization on the target network instance to obtain the route synchronization result.

[0086] Among them, the network access configuration result is used to indicate that the target network instance has completed the network access configuration.

[0087] For example, after receiving network configuration results from each network device indicating that the target network instance has completed network configuration, the control center can perform a route synchronization operation. This means synchronizing the target route information of the target network instance to each already network-connected instance.

[0088] In this embodiment, the network access configuration information of the target network instance is sent to the gateway device so that the gateway device can perform network access configuration, which further improves the reliability of network instance network access.

[0089] In one exemplary embodiment, such as Figure 9 As shown, route synchronization is performed on the target network instance, and the route synchronization results are obtained, including:

[0090] Step S902: Establish the adjacency relationship between the target network instance and each already joined network instance.

[0091] Adjacency refers to the relationship between two network instances for route synchronization.

[0092] For example, when performing route synchronization, the control center can first establish an adjacency relationship between the target network instance and each instance already in the network. Once the adjacency relationship is established, the network instances can synchronize routing information.

[0093] Step S904: Based on each adjacency relationship, synchronize the target routing information of the target network instance to each instance that has joined the network to obtain the routing synchronization result of the target network instance.

[0094] For example, such as Figure 10 As shown, after the control center establishes the adjacency relationship between the target network instance and each already connected instance, it can synchronize the target routing information of the target network instance to each already connected instance, thereby obtaining the routing synchronization result of the target network instance. It should be noted that this embodiment simplifies the network instance problem into a routing problem, ultimately completing the access of various network instances by processing routing. This decouples routing synchronization from network instance types. The access, unbinding, or change of each instance type can be reflected in the changes in routing, thus simplifying the network instance onboarding process, improving onboarding efficiency, and further ensuring smooth network formation between network instances.

[0095] In one specific embodiment, the network access method proceeds as follows: In response to a network access request from any one or more of the target network instances (VPC instances, cloud private line instances, VPN instances, cloud desktop instances, and SDWAN instances), the cloud high-speed response first obtains the local routing information and specified routing information of the target network instance. For each already connected instance, the original routing information of the already connected instance is obtained. Redundancy detection is performed on the already connected instances to obtain the redundancy detection results. When the redundancy detection results indicate that the already connected instance has redundant lines, the routing information of the redundant lines is removed from the original routing information to obtain the existing routing information of the already connected instance. The local routing information and specified routing information are compared with each existing routing information for both repetition and overlap to obtain the routing comparison results for each instance of the target network instance. If all routing comparison results indicate that there are no routing conflicts for the target network instance, the network access configuration information of the target network instance is determined. The network access configuration information is then sent to the gateway device of the target network instance. Upon receiving the network access configuration result returned by the gateway device based on the network access configuration information, an adjacency relationship is established between the target network instance and each already connected instance to synchronize the target routing information of the target network instance to each already connected instance. This completes the network access process for the target network instance, and the target network instance has formed a network with the existing network instances in the cloud expressway.

[0096] For example, further reference Figure 11 As shown, assume that region A accesses the cloud highway through SDWAN and VPC instances, region B accesses the cloud highway through a cloud private line instance, region C accesses the cloud highway through a VPN instance, and region D accesses the cloud highway through a cloud desktop instance, thus realizing cross-regional hybrid networking of regions A, B, C, and D.

[0097] In this embodiment, the cloud-based high-speed response to a network entry command for a target network instance first obtains the target routing information of the target network instance and the existing routing information of at least one already networked instance. The target routing information is then compared with each existing routing information, effectively avoiding routing conflicts between the target network instance and the existing networked instances. If no routing conflicts exist with the target network instance, routing synchronization is performed, that is, the target routing information is synchronized to each already networked instance, thereby enabling network interoperability between network instances and generating the network entry result for the target network instance. Therefore, this embodiment, on the one hand, ensures conflict-free normal operation between newly networked and already networked network instances through routing information comparison, thus improving the reliability of network instance network entry. On the other hand, routing information synchronization enables network interoperability between newly networked and already networked network instances, facilitating resource sharing among network instances, improving overall network performance, and thus enhancing the reliability and stability of the entire network.

[0098] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0099] Based on the same inventive concept, this application also provides a network access device for implementing the network access method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more network access device embodiments provided below can be found in the limitations of the network access method described above, and will not be repeated here.

[0100] In one exemplary embodiment, such as Figure 12As shown, a network access device is provided, including: a routing information acquisition module 1202, used to acquire target routing information of the target network instance and acquire existing routing information of at least one already-accessed instance in response to a network access command for the target network instance; a routing conflict verification module 1204, used to compare the target routing information with each existing routing information to obtain the routing comparison results of the target network instance; a routing synchronization module 1206, used to perform routing synchronization on the target network instance when all routing comparison results indicate that there is no routing conflict in the target network instance, to obtain a routing synchronization result; and a network access result generation module 1208, used to generate the network access result of the target network instance when the routing synchronization result indicates that the target routing information has been synchronized to each already-accessed instance.

[0101] In one embodiment, the route conflict verification module 1204 is further configured to: perform a duplicate comparison between the target route information and each existing route information to obtain a route duplication result of the target network instance; perform an overlap comparison between the target route information and each existing route information to obtain a route overlap result of the target network instance; and use the route duplication result and the route overlap result together as the route comparison result of the target network instance.

[0102] In one embodiment, the route conflict verification module 1204 is further configured to: compare the local routing information with each existing routing information to obtain a first route comparison result of the target network instance; compare the specified routing information with each existing routing information to obtain a second route comparison result of the target network instance; and summarize the first route comparison result and the second route comparison result to obtain a route comparison result of the target network instance.

[0103] In one embodiment, the routing information acquisition module 1202 is further configured to: acquire the original routing information of each network-connected instance; perform redundant line detection on the network-connected instance to obtain the redundant line detection result of the network-connected instance; and when the redundant line detection result indicates that the network-connected instance has redundant lines, remove the routing information of the redundant lines from the original routing information to obtain the existing routing information of the network-connected instance.

[0104] In one embodiment, the routing synchronization module 1206 is further configured to: determine the network entry configuration information of the target network instance when all routing comparison results indicate that there is no routing conflict in the target network instance; send the network entry configuration information to the gateway device of the target network instance; and when receiving the network entry configuration result returned by the gateway device based on the network entry configuration information, perform routing synchronization on the target network instance to obtain the routing synchronization result; the network entry configuration result is used to indicate that the target network instance has completed the network entry configuration.

[0105] In one embodiment, the routing synchronization module 1206 is further configured to: establish adjacency relationships between the target network instance and each already joined network instance; based on each adjacency relationship, synchronize the target routing information of the target network instance to each already joined network instance to obtain the routing synchronization result of the target network instance.

[0106] Each module in the aforementioned network access device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0107] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 13 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores network access data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a network access method.

[0108] Those skilled in the art will understand that Figure 13 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0109] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: in response to a network entry command for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if each routing comparison result indicates that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, generating a network entry result for the target network instance.

[0110] In one embodiment, when the processor executes the computer program, it further performs the following steps: performing a duplicate comparison between the target routing information and each existing routing information to obtain a routing duplicate result for the target network instance; performing an overlap comparison between the target routing information and each existing routing information to obtain a routing overlap result for the target network instance; and using the routing duplicate result and the routing overlap result together as the routing comparison result for the target network instance.

[0111] In one embodiment, when the processor executes the computer program, it further performs the following steps: comparing the local routing information with each existing routing information to obtain a first routing comparison result for the target network instance; comparing the specified routing information with each existing routing information to obtain a second routing comparison result for the target network instance; and summarizing the first routing comparison result and the second routing comparison result to obtain a routing comparison result for the target network instance.

[0112] In one embodiment, when the processor executes the computer program, it further implements the following steps: for each network-connected instance, obtain the original routing information of the network-connected instance; perform redundant line detection on the network-connected instance to obtain the redundant line detection result of the network-connected instance; when the redundant line detection result indicates that the network-connected instance has redundant lines, remove the routing information of the redundant lines from the original routing information to obtain the existing routing information of the network-connected instance.

[0113] In one embodiment, when the processor executes the computer program, it further implements the following steps: if all route comparison results indicate that there is no route conflict in the target network instance, determine the network entry configuration information of the target network instance; send the network entry configuration information to the gateway device of the target network instance; when receiving the network entry configuration result returned by the gateway device based on the network entry configuration information, perform route synchronization on the target network instance to obtain the route synchronization result; the network entry configuration result is used to characterize that the target network instance has completed the network entry configuration.

[0114] In one embodiment, when the processor executes the computer program, it further performs the following steps: establishing adjacency relationships between the target network instance and each already joined network instance; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each already joined network instance to obtain the routing synchronization result of the target network instance.

[0115] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon. When executed by a processor, the computer program performs the following steps: in response to a network entry instruction for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if all routing comparison results indicate that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, generating a network entry result for the target network instance.

[0116] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: performing a duplicate comparison between the target routing information and each existing routing information to obtain a routing duplicate result for the target network instance; performing an overlap comparison between the target routing information and each existing routing information to obtain a routing overlap result for the target network instance; and using the routing duplicate result and the routing overlap result together as the routing comparison result for the target network instance.

[0117] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: comparing the local routing information with each existing routing information to obtain a first routing comparison result for the target network instance; comparing the specified routing information with each existing routing information to obtain a second routing comparison result for the target network instance; and summarizing the first routing comparison result and the second routing comparison result to obtain a routing comparison result for the target network instance.

[0118] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: for each network-connected instance, obtain the original routing information of the network-connected instance; perform redundant line detection on the network-connected instance to obtain the redundant line detection result of the network-connected instance; when the redundant line detection result indicates that the network-connected instance has redundant lines, remove the routing information of the redundant lines from the original routing information to obtain the existing routing information of the network-connected instance.

[0119] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: if all route comparison results indicate that there is no route conflict in the target network instance, determine the network entry configuration information of the target network instance; send the network entry configuration information to the gateway device of the target network instance; when the network entry configuration result returned by the gateway device based on the network entry configuration information is received, perform route synchronization on the target network instance to obtain the route synchronization result; the network entry configuration result is used to characterize that the target network instance has completed the network entry configuration.

[0120] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: establishing adjacency relationships between the target network instance and each already joined network instance; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each already joined network instance, thereby obtaining the routing synchronization result of the target network instance.

[0121] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: in response to a network entry instruction for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one already networked instance; comparing the target routing information with each existing routing information to obtain routing comparison results for the target network instance; if each routing comparison result indicates that there is no routing conflict in the target network instance, performing routing synchronization on the target network instance to obtain routing synchronization results; and when the routing synchronization results indicate that the target routing information has been synchronized to each already networked instance, generating a network entry result for the target network instance.

[0122] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: performing a duplicate comparison between the target routing information and each existing routing information to obtain a routing duplicate result for the target network instance; performing an overlap comparison between the target routing information and each existing routing information to obtain a routing overlap result for the target network instance; and using the routing duplicate result and the routing overlap result together as the routing comparison result for the target network instance.

[0123] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: comparing the local routing information with each existing routing information to obtain a first routing comparison result for the target network instance; comparing the specified routing information with each existing routing information to obtain a second routing comparison result for the target network instance; and summarizing the first routing comparison result and the second routing comparison result to obtain a routing comparison result for the target network instance.

[0124] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: for each network-connected instance, obtain the original routing information of the network-connected instance; perform redundant line detection on the network-connected instance to obtain the redundant line detection result of the network-connected instance; when the redundant line detection result indicates that the network-connected instance has redundant lines, remove the routing information of the redundant lines from the original routing information to obtain the existing routing information of the network-connected instance.

[0125] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: if all route comparison results indicate that there is no route conflict in the target network instance, determine the network entry configuration information of the target network instance; send the network entry configuration information to the gateway device of the target network instance; when the network entry configuration result returned by the gateway device based on the network entry configuration information is received, perform route synchronization on the target network instance to obtain the route synchronization result; the network entry configuration result is used to characterize that the target network instance has completed the network entry configuration.

[0126] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: establishing adjacency relationships between the target network instance and each already joined network instance; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each already joined network instance, thereby obtaining the routing synchronization result of the target network instance.

[0127] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0128] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0129] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0130] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for network access, characterized in that, The method includes: In response to an entry command for a target network instance, the system obtains the target routing information of the target network instance and the existing routing information of at least one already joined instance. The entry command refers to the command by which the target network instance requests to join the cloud-to-network highway. The target routing information includes local routing information and specified routing information. The local routing information refers to the routing information on the local end of the target network instance, and the specified routing information refers to the routing information pre-specified in the target routing information for route conflict verification. The target routing information is compared with each of the existing routing information to obtain the routing comparison results for the target network instance. If all the route comparison results indicate that there is no route conflict in the target network instance, route synchronization is performed on the target network instance to obtain the route synchronization result; When the routing synchronization result indicates that the target routing information has been synchronized to each of the already networked instances, a network entry result for the target network instance is generated; wherein, the network entry result is used to indicate that the target network instance has successfully entered the network; The step of comparing the target routing information with each of the existing routing information to obtain the routing comparison results for the target network instance includes: The local routing information is compared with each of the existing routing information to obtain the first routing comparison result of the target network instance; The specified routing information is compared with each of the existing routing information to obtain the second routing comparison result of the target network instance; By summing the first route comparison results and the second route comparison results, the route comparison results of the target network instance are obtained.

2. The method according to claim 1, characterized in that, The step of comparing the target routing information with each of the existing routing information to obtain the routing comparison results for the target network instance includes: The target routing information is compared with each of the existing routing information to obtain the routing duplication result of the target network instance; The target routing information is compared with each of the existing routing information to obtain the routing overlap result of the target network instance; The duplicate routing results and the overlapping routing results are used together as the routing comparison results for the target network instance.

3. The method according to claim 1, characterized in that, The step of obtaining existing routing information for at least one instance that has already joined the network includes: For each instance that has joined the network, obtain the original routing information of that instance. Redundancy detection is performed on the network-connected instances to obtain the redundancy detection results for the network-connected instances; When the redundant line detection result indicates that the network-connected instance has redundant lines, the routing information of the redundant lines is removed from the original routing information to obtain the existing routing information of the network-connected instance.

4. The method according to claim 1, characterized in that, When all the route comparison results indicate that there are no route conflicts in the target network instance, route synchronization is performed on the target network instance to obtain the route synchronization result, including: If all the route comparison results indicate that there is no route conflict for the target network instance, the network access configuration information of the target network instance is determined. The network access configuration information is sent to the gateway device of the target network instance; Upon receiving the network entry configuration result returned by the gateway device based on the network entry configuration information, the target network instance is routed and synchronized to obtain the route synchronization result; the network entry configuration result is used to indicate that the target network instance has completed the network entry configuration.

5. The method according to claim 1 or 4, characterized in that, The step of synchronizing routes to the target network instance to obtain route synchronization results includes: Establish adjacency relationships between the target network instance and each of the already networked instances; Based on the adjacency relationships, the target routing information of the target network instance is synchronized to each of the already joined network instances to obtain the routing synchronization result of the target network instance.

6. A network access device, characterized in that, The device includes: The routing information acquisition module is used to respond to a network entry command for a target network instance, acquire the target routing information of the target network instance, and acquire the existing routing information of at least one already networked instance; wherein, the network entry command refers to the command of the target network instance to request to join the cloud inter-highway, the target routing information includes local routing information and specified routing information, the local routing information refers to the routing information on the local end of the target network instance, and the specified routing information refers to the routing information pre-specified in the target routing information for routing conflict verification; The route conflict verification module is used to compare the target route information with each of the existing route information to obtain the route comparison results of the target network instance. The route synchronization module is used to perform route synchronization on the target network instance when all the route comparison results indicate that there is no route conflict on the target network instance, and obtain the route synchronization result; The network entry result generation module is used to generate a network entry result for the target network instance when the routing synchronization result indicates that the target routing information has been synchronized to each of the already networked instances; wherein, the network entry result is used to indicate that the target network instance has successfully entered the network; The routing conflict verification module is further configured to: compare the local routing information with each of the existing routing information to obtain a first routing comparison result for the target network instance; compare the specified routing information with each of the existing routing information to obtain a second routing comparison result for the target network instance; and summarize the first routing comparison result and the second routing comparison result to obtain a routing comparison result for the target network instance.

7. The apparatus according to claim 6, characterized in that, The routing conflict verification module is also used for: The target routing information is compared with each of the existing routing information to obtain the routing duplication result of the target network instance; The target routing information is compared with each of the existing routing information to obtain the routing overlap result of the target network instance; The duplicate routing results and the overlapping routing results are used together as the routing comparison results for the target network instance.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Networking method and device of cloud network and cloud network

    CN114826825A