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

By comparing and synchronizing the routing information of target network instances and connected instances in the cloud network, the incompatibility problem of different types of network instances when accessing in the cloud network is solved, and the network access reliability and network stability are improved.

CN119520584AActive Publication Date: 2025-02-25CHINA TELECOM CLOUD TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411665639.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-02-25
Estimated Expiration
2044-11-20

AI Technical Summary

Technical Problem

In cloud networks, due to the differences in different types of network instances, incompatibility may occur when connecting to the cloud network together, affecting the reliability of network access.

Method used

By responsive to the network entry instructions for the target network instance, the target routing information of the target network instance and the existing routing information of the networked instance are obtained, and the routing information is compared to ensure that there is no routing conflict and the routing synchronization is achieved to achieve network interoperability between each network instance.

Benefits of technology

It improves the reliability of network instances to access the network, ensures that there is no conflict between newly entered network instances and already entered network instances, realizes network interoperability and resource sharing, and improves the reliability and stability of the entire network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520584A_ABST
    Figure CN119520584A_ABST
Patent Text Reader

Abstract

The invention relates to a network access method and device, computer equipment, a readable storage medium and a program product, and relates to the technical field of Internet. The method comprises the following steps: in response to a network access instruction for a target network instance, obtaining target routing information of the target network instance, and obtaining existing routing information of at least one network-accessed instance; comparing the target routing information with each piece of existing routing information to obtain each routing comparison result of the target network instance; under the condition that each routing comparison result shows that the target network instance does not have the routing conflict, performing routing synchronization on the target network instance to obtain a routing synchronization result; and when the route synchronization result shows that the target route information is synchronized to each networked instance, generating a network access result of the target network instance. By adopting the method, the network access reliability can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a network access method, device, computer equipment, readable storage medium and program product. Background Art

[0002] With the continuous development of Internet technology, more and more companies are beginning to use cloud network services, and cloud computing has become a trend for companies.

[0003] Currently, enterprises can access cloud networks through different types of network instances. However, due to the differences in the types of these network instances, incompatibility may occur when they are connected to the cloud network together, thus affecting the reliability of network access. Summary of the invention

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

[0005] In a first aspect, the present application provides a network access method, comprising: in response to a network access instruction for a target network instance, obtaining target routing information of the target network instance, and obtaining existing routing information of at least one networked instance; comparing the target routing information with each existing routing information respectively to obtain each routing comparison result of the target network instance; when 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 a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each networked instance, generating a network access result for the target network instance.

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

[0007] In one of the embodiments, the target routing information includes local routing information and designated routing information; the target routing information is compared with each existing routing information respectively to obtain each routing comparison result of the target network instance, and also includes: comparing the local routing information with each existing routing information respectively to obtain a first routing comparison result of the target network instance; comparing the designated routing information with each existing routing information respectively to obtain a second routing comparison result of the target network instance; summarizing the first routing comparison result and the second routing comparison result to obtain a routing comparison result of the target network instance.

[0008] In one of the embodiments, obtaining existing routing information of at least one networked instance includes: for each networked instance, obtaining original routing information of the networked instance; performing redundant line detection on the networked instance to obtain a redundant line detection result of the networked instance; when the redundant line detection result indicates that the networked 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 networked instance.

[0009] In one of the embodiments, when all routing comparison results indicate that there is no routing conflict in the target network instance, routing synchronization is performed on the target network instance to obtain a routing synchronization result, including: when all routing comparison results indicate that there is no routing conflict in the target network instance, determining the network access configuration information of the target network instance; sending the network access configuration information 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, routing synchronization is performed on the target network instance to obtain a routing synchronization result; the network access configuration result is used to characterize that the target network instance has completed the network access configuration.

[0010] In one of the embodiments, routing synchronization is performed on the target network instance to obtain a routing synchronization result, including: establishing an adjacency relationship between the target network instance and each instance that has been connected to the network; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each instance that has been connected to the network to obtain a routing synchronization result of the target network instance.

[0011] In the second aspect, the present application also provides a network access device, including: a routing information acquisition module, which is used to respond to the network access instruction 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 networked instance; a routing conflict verification module, which is used to compare the target routing information with each existing routing information respectively, and obtain each routing comparison result of the target network instance; a routing synchronization module, which is used to synchronize the routing of the target network instance when each routing comparison result indicates that there is no routing conflict in the target network instance, and obtain a routing synchronization result; a network access result generation module, which is 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 networked instance.

[0012] In a third aspect, the present application also provides a computer device, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: in response to a network access instruction for a target network instance, obtaining target routing information of the target network instance, and obtaining existing routing information of at least one instance that has already been connected to the network; comparing the target routing information with each existing routing information respectively to obtain each routing comparison result of the target network instance; when each routing comparison result indicates that there is no routing conflict in the target network instance, synchronizing the routing of the target network instance to obtain a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each instance that has already been connected to the network, generating a network access result for the target network instance.

[0013] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor: in response to a network access instruction for a target network instance, obtain target routing information of the target network instance, and obtain existing routing information of at least one instance that has already been connected to the network; compare the target routing information with each existing routing information respectively to obtain each routing comparison result of the target network instance; when each routing comparison result indicates that there is no routing conflict in the target network instance, perform routing synchronization on the target network instance to obtain a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each instance that has already been connected to the network, generate a network access result for the target network instance.

[0014] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the following steps when executed by a processor: in response to a network access instruction for a target network instance, obtain target routing information of the target network instance, and obtain existing routing information of at least one instance that has already been connected to the network; compare the target routing information with each existing routing information respectively to obtain each routing comparison result of the target network instance; when each routing comparison result indicates that there is no routing conflict in the target network instance, synchronize the routing of the target network instance to obtain a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each instance that has already been connected to the network, generate the network access result of the target network instance.

[0015] The above-mentioned network access method, device, computer equipment, computer-readable storage medium and computer program product, in response to the network access instruction for the target network instance, first obtain the target routing information of the target network instance and the existing routing information of at least one networked instance. Thus, the target routing information is compared with each existing routing information respectively, and the routing conflict between the target network instance and each networked instance can be effectively avoided by comparing the routing information. And when there is no routing conflict in the target network instance, the routing synchronization of the target network instance is performed, that is, the target routing information is synchronized to each networked instance, so as to achieve network intercommunication between each network instance and generate the network access result of the target network instance. Therefore, on the one hand, the present application can ensure that the newly networked network instance and the network instance that have been networked can operate normally without conflict through the comparison of routing information, thereby improving the reliability of network instance access. On the other hand, through the synchronization of routing information, the network intercommunication between the newly networked network instance and the network instance that have been networked is achieved, which facilitates resource sharing between each network instance, improves the overall performance of the network, and thus improves the reliability and stability of the entire network. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions 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 related drawings can be obtained based on these drawings without paying creative work.

[0017] FIG1 is an application environment diagram of a network access method in one embodiment;

[0018] FIG2 is a schematic diagram of a cloud-to-cloud expressway in one embodiment;

[0019] FIG3 is a schematic diagram of a flow chart of a network access method in an embodiment;

[0020] FIG4 is a schematic diagram of network instances in different regions accessing the cloud-to-cloud expressway in one embodiment;

[0021] FIG5 is a schematic diagram of a process flow of routing conflict checking in one embodiment;

[0022] FIG6 is a schematic diagram of a process flow of routing conflict checking in another embodiment;

[0023] FIG7 is a schematic diagram of a flow chart of redundant line detection in one embodiment;

[0024] FIG8 is a schematic diagram of a process of issuing a network access configuration in one embodiment;

[0025] FIG9 is a schematic diagram of a process of routing synchronization in one embodiment;

[0026] FIG10 is a schematic diagram of routing synchronization in a specific embodiment;

[0027] FIG11 is a schematic diagram of cross-regional hybrid networking in a specific embodiment;

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

[0029] FIG. 13 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0031] The network access method provided in the embodiment of the present application can be applied to the application environment of CloudInterconnect as shown in Figure 1. CloudInterconnect is a cloud resource pool interconnection private network built by a large communication operator, which can provide a highly reliable, cross-regional cloud resource high-speed interconnection channel, and is a cloud network that can realize hybrid networking. As shown in Figure 2, regions A and B can communicate with each other through CloudInterconnect to realize resource pool sharing. That is, network access in the embodiment of the present application refers to the network instance joining CloudInterconnect.

[0032] Specifically, the control center 102 of the cloud-to-cloud high-speed receives the network access instruction of the target network instance 104, and first obtains the target routing information of the target network instance 104, and obtains the existing routing information of at least one networked instance. The target routing information is compared with each existing routing information to obtain each routing comparison result of the target network instance 104. When each routing comparison result indicates that there is no routing conflict in the target network instance 104, the routing synchronization is performed on the target network instance 104 to obtain a routing synchronization result. When the routing synchronization result indicates that the target routing information has been synchronized to each networked instance, the network access result of the target network instance 104 is generated.

[0033] In an exemplary embodiment, as shown in FIG3 , a network access method is provided, which is described by taking the method applied to the control center 102 of the cloud-to-cloud high-speed in FIG1 as an example, including:

[0034] Step S302: in response to a network access instruction for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one network access instance.

[0035] Among them, a network instance can be understood as an independent network service or function. For example, there may be multiple network instances in an enterprise network, and each instance may contain 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 dedicated line instances, VPN (Virtual Private Network) instances, cloud desktop instances, and SDWAN (Software-Defined Wide Area Network) instances. A VPC instance is a private network on the cloud that is exclusive to users or enterprises. ‌It is a high-speed, stable network connection service, usually used to connect the user's local data center and VPC. One end of the physical dedicated line of the cloud dedicated line is connected to the local gateway device of the local data center, and the other end is connected to the dedicated line gateway of the cloud dedicated line, connecting the internal LAN of the customer's local data center to other high-speed instances between clouds, achieving safe, reliable, and high-speed intranet-level communication quality.‌ ‌It is a network connection service used to securely transmit data between different locations. VPN instances can establish secure connections between different VPCs to ensure the privacy and integrity of data transmission. ‌ ‌It is a network architecture that provides efficient and flexible network connections by centrally controlling and managing multiple physical or virtual links. Cloud PC is an innovative product that combines cloud computing technology and terminals. Relying on cloud network resources, it realizes a safe and efficient cloud PC experience, one-click deployment, flexible configuration, and centralized control capabilities. It is widely used in office, education, medical and other industry usage scenarios. It should be noted that these network instances can be in different regions or in one region, and this example does not limit this. As shown in Figure 4, different regions access the cloud-to-cloud highway through their own network instances, and establish resource pools for each region in the cloud-to-cloud highway. In this way, each region realizes hybrid networking on the cloud-to-cloud highway, so that network intercommunication and resource sharing can be achieved. The target network instance can refer to the network instance that currently needs to access the network, that is, access the cloud-to-cloud highway. It can be one network instance or multiple network instances.

[0036] The network access instruction refers to the instruction for the target network instance to request to join the inter-cloud expressway. The target routing information refers to the routing information of the target network instance, which may include routing tables, routing protocols, routing addresses, etc. The networked instance refers to the network instance that has already joined the inter-cloud expressway. The existing routing information refers to the routing information of the networked instance.

[0037] For example, when the control center of the cloud-to-cloud high-speed receives a network access request from a target network instance, in order to avoid conflicts between instances in the cloud network and cause network failures, the control center obtains the routing information of the target network instance for comparison with the routing information of the instance that has already accessed the network.

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

[0039] The route comparison result may be used to indicate whether there is a route conflict between the target route information and each existing route information.

[0040] Exemplarily, after obtaining the routing information of the target network instance and the routing information of each networked instance, the control center can perform a routing conflict check, that is, compare the target routing information with each existing routing information respectively to determine whether there is a routing conflict between the target routing information and each existing routing information.

[0041] In one example, for a network instance that has been connected to the inter-cloud high-speed network, when the route of the network instance is changed, a route conflict check is also required.

[0042] Step S306: When all 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 a route synchronization result.

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

[0044] Step S308: When the routing synchronization result indicates that the target routing information has been synchronized to each networked instance, a network access result of the target network instance is generated.

[0045] The network access result can be used to indicate that the target network instance has been successfully connected to the network, or in other words, the target network instance has been networked with all existing network instances on the inter-cloud highway.

[0046] Exemplarily, after successfully synchronizing the target routing information to each networked instance, the control center can generate a result indicating that the target network instance has successfully been networked or that the target network instance has successfully been networked, and feed it back to the user.

[0047] In this embodiment, the cloud-to-cloud high-speed response to the network access instruction for the target network instance first obtains the target routing information of the target network instance and the existing routing information of at least one networked instance. Thus, the target routing information is compared with each existing routing information respectively. By comparing the routing information, the routing conflict between the target network instance and each networked instance can be effectively avoided. And in the case where there is no routing conflict in the target network instance, the routing synchronization of the target network instance is performed, that is, the target routing information is synchronized to each networked instance, so as to achieve network intercommunication between each network instance and generate the network access result of the target network instance. Therefore, on the one hand, this embodiment can ensure that the newly networked network instance and the network instance that have been networked can operate normally without conflict through the comparison of routing information, thereby improving the reliability of network instance access. On the other hand, through the synchronization of routing information, the network intercommunication between the newly networked network instance and the network instance that have been networked is achieved, which facilitates resource sharing between each network instance, improves the overall performance of the network, and thus improves the reliability and stability of the entire network.

[0048] In an exemplary embodiment, as shown in FIG5 , the target routing information is compared with each existing routing information to obtain each routing comparison result of the target network instance, including:

[0049] Step S502: perform duplication comparison between the target routing information and each existing routing information to obtain a routing duplication result of the target network instance.

[0050] The repeatability comparison refers to the process of determining whether the target routing information is repeated with the existing routing information. The routing duplication result is used to indicate whether the target routing information is repeated with the existing routing information.

[0051] For example, after the control center obtains the target routing information and each existing routing information, it can perform a repeatability comparison, that is, determine whether the target routing information is repeated with the existing routing information. If the target routing information is repeated with any existing routing information, the control center will stop access to the target network instance and feedback the reason to the user.

[0052] Step S504: compare the target routing information with each existing routing information for overlap, and obtain a routing overlap result of the target network instance.

[0053] The overlap comparison refers to the process of determining whether the target routing information overlaps with the existing routing information. The routing overlap result is used to indicate whether the target routing information overlaps with the existing routing information.

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

[0055] Step S506: The route duplication result and the route overlap result are taken together as the route comparison result of the target network instance.

[0056] Exemplarily, the control center will allow the target routing information to access the network only if there is no duplication or overlap between the target routing information and any existing routing information. It should be noted that the duplication comparison and overlap comparison do not limit the execution order, and can be performed simultaneously or sequentially.

[0057] In this embodiment, through the dual comparison of repeatability and overlap, it is ensured that there is no routing conflict between the target network instance and the existing network instance on the cloud-to-cloud highway, which effectively avoids network failures, improves network access reliability, and also improves the reliability and stability of the entire network.

[0058] In an exemplary embodiment, as shown in FIG6 , the target routing information is compared with each of the existing routing information to obtain each routing comparison result of the target network instance, further comprising:

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

[0060] Among them, the target routing information may include local routing information and specified routing information. Local routing information refers to the routing information of 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, which can perform targeted routing conflict verification, thereby improving the efficiency and accuracy of routing conflict verification. It can be understood that the routing information at the local end will affect the forwarding of local traffic of the network instance to a certain extent, thereby affecting the network instance's access to the network or even failing to access the network. Therefore, in addition to verifying conventional routing information, this embodiment also verifies the routing information of the network instance at the local end. The first routing comparison result refers to the routing comparison result between the local routing information and the existing routing information, which may include routing duplication results and routing overlap results between the local routing information and the existing routing information.

[0061] Exemplarily, after acquiring the target routing information and each existing routing information, the control center may compare the local routing information in the target routing information with each existing routing information for duplication and overlap, thereby obtaining routing duplication results and routing overlap results between the local routing information and each existing routing information.

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

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

[0064] Exemplarily, after acquiring the target routing information and each existing routing information, the control center may compare the specified routing information in the target routing information with each existing routing information for duplication and overlap, thereby obtaining routing duplication results and routing overlap results between the specified routing information and each existing routing information.

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

[0066] Exemplarily, the controller aggregates the first route comparison result and the second route comparison result to obtain the route comparison result of the target network instance. In summary, the route comparison in this embodiment actually includes the repetitiveness comparison and overlapping comparison between the local route information and the existing route information, and the repetitiveness comparison and overlapping comparison between the designated route information and the existing route information. It should be noted that the local route information and the designated route information do not limit the order of route comparison, and 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 considered, which can expose the route conflict problem at the forefront, thereby avoiding the failure of network instance access and improving network access reliability. In addition, by unifying the route verification standards of various network instances, the verification efficiency is improved, avoiding the problems of low efficiency and frequent failures caused by separate verification of network instances, inconsistent rules, inconsistent verification standards, scattered verification methods, and business fragmentation in traditional technologies.

[0068] In an exemplary embodiment, as shown in FIG7 , obtaining existing routing information of at least one networked instance includes:

[0069] Step S702: for each networked instance, original routing information of the networked instance is obtained.

[0070] The original routing information refers to the original routing information of the instance that has been connected to the network.

[0071] Exemplarily, the control center obtains the original routing information of each network instance that has been connected to the network, and further redundancy detection is required later.

[0072] Step S704: perform redundant line detection on the networked instance to obtain a redundant line detection result of the networked instance.

[0073] The redundant line detection refers to the process of detecting whether there are redundant lines in the networked instance. The redundant line detection result is used to indicate whether there are redundant lines in the networked instance.

[0074] Exemplarily, after acquiring the original routing information of each networked instance, the control center may further detect whether each networked instance has redundant lines, thereby obtaining a redundant line detection result of each networked instance.

[0075] Step S706: When the redundant line detection result indicates that the networked 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 networked instance.

[0076] For example, if the networked 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 networked instance, so as to obtain the existing routing information of the networked instance. If the networked 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 line detection is performed on the network instances that already exist in the cloud-to-cloud expressway to avoid affecting the efficiency and accuracy of subsequent route conflict verification due to the routing information of the redundant lines. Therefore, in this embodiment, the accuracy of the existing routing information is improved to improve the efficiency and accuracy of subsequent route conflict verification, thereby improving the reliability of network instance access.

[0078] In an exemplary embodiment, as shown in FIG8 , when each route comparison result indicates that there is no route conflict in the target network instance, route synchronization is performed on the target network instance to obtain a route synchronization result, including:

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

[0080] The network access configuration information refers to the configuration information required for the network instance to access the network.

[0081] Exemplarily, when the control center determines that there is no routing conflict between the target network instance and each networked instance, the control center can generate network access configuration information of the target network instance through in-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] Exemplarily, after the control center generates the network access configuration information of 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 perform network access configuration on the target network instance, thereby achieving network access for the target network instance.

[0084] For example, for VPC instances, the control center implements the cloud access configuration of VPC instances through in-cloud orchestration and sends it to the cloud gateway side of the VPC instance. The cloud gateway side can perform address allocation, create network access links, and propagate paths. For another example, for SDWAN instances, the control center implements cloud access configuration and sends it to the SDWAN gateway device, which mainly involves binding interface calls. The SDWAN gateway device creates network access links and propagates paths. For another example, for cloud dedicated line instances, the control center implements cloud access configuration and sends it to the dedicated line gateway. The dedicated line gateway also creates network access links and propagates paths. For another example, for VPN instances, the control center implements cloud access configuration and sends it to the VPN controller. The VPN controller creates network access links and propagates paths. For another example, for cloud desktop instances, the control center implements cloud access configuration and sends it to the cloud computer controller. The cloud computer controller creates network access links and propagates paths.

[0085] Step S806: upon receiving the network access configuration result returned by the gateway device based on the network access configuration information, performing routing synchronization on the target network instance to obtain a routing synchronization result.

[0086] 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 the network configuration result returned by each network device indicating that the target network instance has completed the network configuration, the control center can perform a routing synchronization operation, that is, synchronize the target routing information of the target network instance to each networked 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 the network access configuration, thereby further improving the reliability of the network instance access.

[0089] In an exemplary embodiment, as shown in FIG9 , performing route synchronization on the target network instance to obtain a route synchronization result includes:

[0090] Step S902: establish an adjacency relationship between the target network instance and each of the networked instances.

[0091] The adjacency relationship refers to the relationship between two network instances for routing synchronization.

[0092] Exemplarily, when performing routing synchronization, the control center may first establish an adjacency relationship between the target network instance and each networked instance. Once the adjacency relationship is established, routing information synchronization may be performed between the network instances.

[0093] Step S904: based on each adjacency relationship, synchronize the target routing information of the target network instance to each networked instance, and obtain the routing synchronization result of the target network instance.

[0094] Exemplarily, as shown in FIG10, after the control center establishes the adjacency relationship between the target network instance and each networked instance, the target routing information of the target network instance can be synchronized to each networked instance, thereby obtaining the routing synchronization result of the target network instance. It should be noted that in this embodiment, by simplifying the network instance problem into a routing problem, the access of various network instances is finally completed by processing the routing, so that the routing synchronization is decoupled from the network instance type, and the access, unbinding, or change of each instance type can be reflected in the change of the routing, thus simplifying the process of network instance access, thereby improving the efficiency of access, and further ensuring the smooth networking between network instances.

[0095] In a specific embodiment, the specific process of the network access method is as follows: the cloud-to-cloud high-speed responds to the network access request of any one or more instances of the target network instance, namely, the VPC instance, the cloud dedicated line instance, the VPN instance, the cloud desktop instance, and the SDWAN instance, and first obtains the local routing information and the specified routing information of the target network instance. For each networked instance, the original routing information of the networked instance is obtained. The redundant line detection is performed on the networked instance to obtain the redundant line detection result of the networked instance. When the redundant line detection result indicates that the networked 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 networked instance. The local routing information and the specified routing information are respectively compared with each existing routing information for repeatability and overlap to obtain each routing comparison result of the target network instance. When each routing comparison result indicates that there is no routing conflict in 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. When 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 networked instance, so as to synchronize the target routing information of the target network instance to each networked instance. At this point, the network access process of the target network instance is completed, and the target network instance and the existing network instance in the cloud-to-cloud expressway have completed networking.

[0096] For example, further referring to Figure 11, assuming that region A accesses the cloud-to-cloud highway through the SDWAN instance and the VPC instance, region B accesses the cloud-to-cloud highway through the cloud dedicated line instance, region C accesses the cloud-to-cloud highway through the VPN instance, and region D accesses the cloud-to-cloud highway through the cloud desktop instance, cross-regional hybrid networking of region A, region B, region C and region D is achieved.

[0097] In this embodiment, the cloud-to-cloud high-speed response to the network access instruction for the target network instance first obtains the target routing information of the target network instance and the existing routing information of at least one networked instance. Thus, the target routing information is compared with each existing routing information respectively. By comparing the routing information, the routing conflict between the target network instance and each networked instance can be effectively avoided. And in the case where there is no routing conflict in the target network instance, the routing synchronization of the target network instance is performed, that is, the target routing information is synchronized to each networked instance, so as to achieve network intercommunication between each network instance and generate the network access result of the target network instance. Therefore, on the one hand, this embodiment can ensure that the newly networked network instance and the network instance that have been networked can operate normally without conflict through the comparison of routing information, thereby improving the reliability of network instance access. On the other hand, through the synchronization of routing information, the network intercommunication between the newly networked network instance and the network instance that have been networked is achieved, which facilitates resource sharing between each network instance, improves the overall performance of the network, and thus improves the reliability and stability of the entire network.

[0098] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0099] Based on the same inventive concept, the embodiment of the present application also provides a network access device for implementing the network access method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more network access device embodiments provided below can refer to the limitations on the network access method above, and will not be repeated here.

[0100] In an exemplary embodiment, as shown in FIG. 12 , a network access device is provided, including: a routing information acquisition module 1202, for acquiring target routing information of a target network instance in response to a network access instruction for the target network instance, and acquiring existing routing information of at least one networked instance; a routing conflict verification module 1204, for comparing the target routing information with each existing routing information respectively, to obtain each routing comparison result of the target network instance; a routing synchronization module 1206, for performing routing synchronization on the target network instance to obtain a routing synchronization result when each routing comparison result indicates that there is no routing conflict in the target network instance; and a network access result generation module 1208, for generating a network access result of the target network instance when the routing synchronization result indicates that the target routing information has been synchronized to each networked instance.

[0101] In one of the embodiments, the routing conflict verification module 1204 is also used to: compare the target routing information with each existing routing information for repeatability to obtain a routing duplication result of the target network instance; compare the target routing information with each existing routing information for overlap to obtain a routing overlap result of the target network instance; and use the routing duplication result and the routing overlap result together as the routing comparison result of the target network instance.

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

[0103] In one of the embodiments, the routing information acquisition module 1202 is also used to: for each networked instance, obtain the original routing information of the networked instance; perform redundant line detection on the networked instance to obtain the redundant line detection result of the networked instance; when the redundant line detection result indicates that the networked 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 networked instance.

[0104] In one of the embodiments, the routing synchronization module 1206 is also used to: determine the network access 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 access configuration information 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, perform routing synchronization on the target network instance to obtain a routing synchronization result; the network access configuration result is used to characterize that the target network instance has completed the network access configuration.

[0105] In one embodiment, the routing synchronization module 1206 is also used to: establish an adjacency relationship between the target network instance and each networked instance; based on each adjacency relationship, synchronize the target routing information of the target network instance to each networked instance to obtain the routing synchronization result of the target network instance.

[0106] Each module in the above network access device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0107] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG13. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store network access data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a network access method is implemented.

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

[0109] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: in response to a network access instruction for a target network instance, obtaining target routing information of the target network instance, and obtaining existing routing information of at least one networked instance; comparing the target routing information with each existing routing information respectively to obtain each routing comparison result of the target network instance; when 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 a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each networked instance, generating a network access result of the target network instance.

[0110] In one embodiment, when the processor executes the computer program, the following steps are also implemented: comparing the target routing information with each existing routing information for repeatability to obtain a routing duplication result of the target network instance; comparing the target routing information with each existing routing information for overlap to obtain a routing overlap result of the target network instance; and using the routing duplication result and the routing overlap result together as the routing comparison result of the target network instance.

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

[0112] In one embodiment, when the processor executes the computer program, the following steps are also implemented: for each networked instance, the original routing information of the networked instance is obtained; redundant line detection is performed on the networked instance to obtain the redundant line detection result of the networked instance; when the redundant line detection result indicates that the networked 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 networked instance.

[0113] In one embodiment, the processor further implements the following steps when executing the computer program: when each routing comparison result indicates that there is no routing conflict in the target network instance, determine the network access configuration information of the target network instance; send the network access configuration information to the gateway device of the target network instance; when receiving the network access configuration result returned by the gateway device based on the network access configuration information, perform routing synchronization on the target network instance to obtain a routing synchronization result; the network access configuration result is used to characterize that the target network instance has completed the network access configuration.

[0114] In one embodiment, when the processor executes the computer program, the following steps are also implemented: establishing an adjacency relationship between the target network instance and each networked instance respectively; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each networked instance to obtain a routing synchronization result of the target network instance.

[0115] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: in response to a network access instruction for a target network instance, target routing information of the target network instance is obtained, and existing routing information of at least one networked instance is obtained; the target routing information is compared with each existing routing information respectively to obtain each routing comparison result of the target network instance; when each routing comparison result indicates that there is no routing conflict in the target network instance, routing synchronization is performed on the target network instance to obtain a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each networked instance, a network access result of the target network instance is generated.

[0116] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: comparing the target routing information with each existing routing information for repeatability to obtain a routing duplication result of the target network instance; comparing the target routing information with each existing routing information for overlap to obtain a routing overlap result of the target network instance; and using the routing duplication result and the routing overlap result together as the routing comparison result of the target network instance.

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

[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: for each networked instance, the original routing information of the networked instance is obtained; redundant line detection is performed on the networked instance to obtain the redundant line detection result of the networked instance; when the redundant line detection result indicates that the networked 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 networked instance.

[0119] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when each routing comparison result indicates that there is no routing conflict in the target network instance, determining the network access configuration information of the target network instance; sending the network access configuration information to the gateway device of the target network instance; when receiving the network access configuration result returned by the gateway device based on the network access configuration information, synchronizing the routing of the target network instance to obtain a routing synchronization result; the network access configuration result is used to characterize that the target network instance has completed the network access configuration.

[0120] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: establishing an adjacency relationship between the target network instance and each instance that has been connected to the network; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each instance that has been connected to the network, and obtaining a routing synchronization result of the target network instance.

[0121] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: in response to a network access instruction for a target network instance, obtaining target routing information of the target network instance and obtaining existing routing information of at least one networked instance; comparing the target routing information with each existing routing information respectively to obtain each routing comparison result of the target network instance; when 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 a routing synchronization result; when the routing synchronization result indicates that the target routing information has been synchronized to each networked instance, generating a network access result of the target network instance.

[0122] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: comparing the target routing information with each existing routing information for repeatability to obtain a routing duplication result of the target network instance; comparing the target routing information with each existing routing information for overlap to obtain a routing overlap result of the target network instance; and using the routing duplication result and the routing overlap result together as the routing comparison result of the target network instance.

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

[0124] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: for each networked instance, the original routing information of the networked instance is obtained; redundant line detection is performed on the networked instance to obtain the redundant line detection result of the networked instance; when the redundant line detection result indicates that the networked 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 networked instance.

[0125] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when each routing comparison result indicates that there is no routing conflict in the target network instance, determining the network access configuration information of the target network instance; sending the network access configuration information to the gateway device of the target network instance; when receiving the network access configuration result returned by the gateway device based on the network access configuration information, synchronizing the routing of the target network instance to obtain a routing synchronization result; the network access configuration result is used to characterize that the target network instance has completed the network access configuration.

[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: establishing an adjacency relationship between the target network instance and each instance that has been connected to the network; based on each adjacency relationship, synchronizing the target routing information of the target network instance to each instance that has been connected to the network, and obtaining a 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, stored data, displayed data, 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 relevant data must comply with relevant regulations.

[0128] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A network access method, characterized in that: The method comprises: In response to a network access instruction for a target network instance, acquiring target routing information of the target network instance and acquiring existing routing information of at least one network access instance; Comparing the target routing information with each of the existing routing information respectively to obtain each routing comparison result of the target network instance; When all the route comparison results indicate that there is no route conflict in the target network instance, performing route synchronization on the target network instance to obtain a route synchronization result; When the routing synchronization result indicates that the target routing information has been synchronized to each of the networked instances, a network access result of the target network instance is generated.

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 routing comparison results of the target network instance includes: Comparing the target routing information with each of the existing routing information for repeatability, to obtain a routing repeat result of the target network instance; Comparing the target routing information with each of the existing routing information for overlap, to obtain a routing overlap result of the target network instance; The route duplication result and the route overlap result are used together as the route comparison result of the target network instance.

3. The method according to claim 1, characterized in that The target routing information includes local routing information and designated routing information; the target routing information is compared with each of the existing routing information to obtain each routing comparison result of the target network instance, and further includes: Comparing the local routing information with each of the existing routing information respectively to obtain a first routing comparison result of the target network instance; Comparing the designated routing information with each of the existing routing information respectively to obtain a second routing comparison result of the target network instance; The first route comparison result and the second route comparison result are summarized to obtain a route comparison result of the target network instance.

4. The method according to claim 1, characterized in that: The obtaining of existing routing information of at least one networked instance includes: For each networked instance, obtaining original routing information of the networked instance; Performing redundant line detection on the networked instance to obtain a redundant line detection result of the networked instance; When the redundant line detection result indicates that the networked 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 networked instance.

5. The method according to claim 1, characterized in that: When all the route comparison results indicate that there is no route conflict in the target network instance, performing route synchronization on the target network instance to obtain a route synchronization result includes: When all the route comparison results indicate that there is no route conflict in the target network instance, determining the network access configuration information of the target network instance; Sending the network access configuration information to the gateway device of the target network instance; When receiving the network access configuration result returned by the gateway device based on the network access configuration information, the target network instance is routed synchronously to obtain a route synchronization result; the network access configuration result is used to indicate that the target network instance has completed the network access configuration.

6. The method according to claim 1 or 5, characterized in that: The performing routing synchronization on the target network instance to obtain a routing synchronization result includes: Establishing an adjacency relationship between the target network instance and each of the networked instances; Based on each of the adjacency relationships, the target routing information of the target network instance is synchronized to each of the networked instances to obtain a routing synchronization result of the target network instance.

7. A network access device, characterized in that: The device comprises: A routing information acquisition module, configured to acquire target routing information of the target network instance and existing routing information of at least one networked instance in response to a network access instruction for the target network instance; A routing conflict checking module, used for comparing the target routing information with each of the existing routing information respectively, to obtain each routing comparison result of the target network instance; A routing synchronization module, configured to perform routing synchronization on the target network instance to obtain a routing synchronization result when all routing comparison results indicate that there is no routing conflict in the target network instance; The network access result generating module is 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 of the networked instances.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

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

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

Citation Information

Patent Citations

  • Method and device for avoiding route conflicts, and storage medium

    CN108848033A

  • Networking method and device of cloud network and cloud network

    CN114826825A

  • Route updating method and system, storage medium and electronic equipment

    CN115499363A

  • Routing risk analysis method and device based on VPC network, electronic equipment and medium

    CN117729006A

  • Method and apparatus for considering routing information in the determination of an access network to be utilized

    US20140185524A1