CN113630314B - Disaster recovery method and device for hybrid cloud private line access network - Google Patents

Disaster recovery method and device for hybrid cloud private line access network Download PDF

Info

Publication number
CN113630314B
CN113630314B CN202010391003.8A CN202010391003A CN113630314B CN 113630314 B CN113630314 B CN 113630314B CN 202010391003 A CN202010391003 A CN 202010391003A CN 113630314 B CN113630314 B CN 113630314B
Authority
CN
China
Prior art keywords
private
link
hybrid cloud
equivalent
links
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010391003.8A
Other languages
Chinese (zh)
Other versions
CN113630314A (en
Inventor
马鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202010391003.8A priority Critical patent/CN113630314B/en
Priority to PCT/CN2021/090034 priority patent/WO2021227863A1/en
Publication of CN113630314A publication Critical patent/CN113630314A/en
Application granted granted Critical
Publication of CN113630314B publication Critical patent/CN113630314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

The invention provides a disaster recovery method and a disaster recovery device for a hybrid cloud private line access network, which relate to the technical field of computers and comprise the steps of monitoring link states of a plurality of private line links; when the situation that a first private link in the multiple private links fails is monitored, an equivalent route withdrawal request of the first private link is sent to the hybrid cloud gateway, so that the hybrid cloud gateway withdraws the equivalent route of the first private link in an equivalent route list. Therefore, routing adjustment can be performed on the hybrid cloud gateway, too many network contents are prevented from being configured on the private line switch, network wiring of a machine room is simplified, configuration difficulty of the disaster recovery method is reduced, and usability of the disaster recovery method is improved.

Description

Disaster recovery method and device for hybrid cloud private line access network
Technical Field
The invention relates to the technical field of computers, in particular to a disaster recovery method and a disaster recovery device for a hybrid cloud private line access network.
Background
In the current cloud computing network products, the private line is basically a product which all large-scale cloud computing manufacturers must provide and is used for realizing multi-cloud access. The cloud computing technology combining the public cloud platform and the private cloud platform is called as a hybrid cloud, at present, more and more enterprises have two services of external service and internal service, the enterprises hope to apply the public cloud platform for cost saving during external service, and the enterprises hope to apply the private cloud platform for safety during internal service, so the hybrid cloud is more and more popular.
As shown in fig. 1, fig. 1 is a network scheme for a cloud computing manufacturer to implement a private access, where a virtual machine traffic first passes through a hybrid cloud gateway to reach a private switch, an overlay network is provided between a host and the private switch, and the private switch is implemented by using a hardware network device (non-x 86 server). Then, a private line is inserted into another Internet Data Center (IDC) (or network) at the private line switch. Because the private line is shared by a certain client, the message is directly sent to the opposite terminal network through the physical private line without being realized through a tunnel technology.
The high availability of the private line is generally realized by accessing a plurality of physical lines, and each physical line is accessed to a different private line switch, so that the network connectivity is still ensured in case of any link failure.
As shown in fig. 2, the cloud environment is connected to two physical private lines and an opposite network through two private line switches, and the two private line switches are also directly connected to each other. All network segments destined to the opposite terminal network are configured with two routes, one next hop is an Internet Protocol (IP) address (high priority) of the opposite terminal network, and the next hop of the other route reaches the other private line switch (low priority) through the other line. A Bidirectional Forwarding Detection (BFD) protocol or a Network Quality Analysis (NQA) protocol is run between the private branch exchange and the access device of the opposite end to detect the link Quality. If the line fails (for example, the line is dug down by a construction team), the link is detected to be disconnected, the route is cancelled, the message is sent to other private line switches through the route with low priority configured before, and the other private line switches use other lines to send to the opposite terminal network.
In the above scheme, a cloud manufacturer accesses a plurality of physical lines through a plurality of private line switches, and then configures a backup route to a link directly connected to the private line switch to realize disaster recovery of the private line. There is no problem in the scenario of two or three private line switches, but when there are more private line switches and private line lines, the network becomes particularly complex and unmanageable.
As shown in fig. 3, if a customer needs to access multiple physical lines and a hybrid cloud needs to provide access to multiple devices, a network topology between multiple switches is very cluttered, and each private switch in fig. 3 needs to make a backup route for other private switches in addition to setting a next hop of a route with the highest priority as an opposite-end network, so as to avoid network interruption when a line fails. Even in the simplest approach, it is necessary to configure backup routes to other switches on each switch to prevent line failures.
If the customer needs to add a physical private line and then use a new private line switch to carry the load, the new switch needs to be configured with routes to other switches and needs a new connection route (green line). The configuration is complex and the network is overstaffed.
Disclosure of Invention
The invention aims to provide a disaster recovery method and a disaster recovery device for a hybrid cloud private access network, which are used for solving the technical problem that the configuration of the private access network is complex in the prior art.
In a first aspect, an embodiment of the present invention provides a disaster recovery method for a hybrid cloud private line access network, where the private line access network includes multiple private line links between a hybrid cloud gateway and an opposite-end network, an equivalent routing list is configured on the hybrid cloud gateway, and each equivalent route in the equivalent routing list corresponds to one private line link; the method comprises the following steps:
monitoring link states of the plurality of private links;
when monitoring that a first private link in the multiple private links has a fault, sending an equivalent route withdrawal request of the first private link to the hybrid cloud gateway, so that the hybrid cloud gateway withdraws the equivalent route of the first private link in the equivalent route list.
In an alternative embodiment, the method further comprises:
when it is monitored that a second private link in the multiple private links is in effect, an equivalent route effect request of the second private link is sent to the hybrid cloud gateway, so that the hybrid cloud gateway adds an equivalent route of the first private link in an equivalent route list.
In an optional embodiment, the step of monitoring the link status of the plurality of dedicated links includes:
and monitoring the link states of the plurality of special line links based on a BFD protocol.
In an optional embodiment, the step of monitoring the link status of the plurality of dedicated links based on the BFD protocol includes:
establishing a peer based on a Border Gateway Protocol (BGP) with a private line switch of each private line link;
and synchronizing the link state detected by the private line switch based on the BFD protocol through the BGP-based synchronization.
In an optional embodiment, after the step of establishing a BGP-based peer with the private switch of each of the private links, respectively, the method further comprises:
and performing route learning on each BGP-based peer, and determining an equivalent route corresponding to each private link.
In a second aspect, an embodiment of the present invention provides a disaster recovery method for a hybrid cloud private line access network, where the private line access network includes multiple private line links between a hybrid cloud gateway and an opposite-end network; the method comprises the following steps:
receiving an equivalent route withdrawal request of a first private line link in the multiple private line links, which is sent by the monitoring equipment; the hybrid cloud gateway is configured with an equivalent routing list, and each equivalent route in the equivalent routing list corresponds to a private link;
and withdrawing the equivalent route of the first private link in the equivalent route list so as to distribute the hybrid cloud private service based on the equivalent route list after withdrawing the equivalent route of the first private link.
In an alternative embodiment, the method further comprises:
receiving an equivalent route validation request of a second private line link in the multiple private line links, which is sent by the monitoring equipment;
and adding the equivalent route of the second private link into the equivalent route list so as to distribute the hybrid cloud private line service based on the equivalent route list after the equivalent route of the second private link is added.
In a third aspect, an embodiment of the present invention provides a disaster recovery device for a hybrid cloud private line access network, where the private line access network includes multiple private line links between a hybrid cloud gateway and an opposite-end network, an equivalent routing list is configured on the hybrid cloud gateway, and each equivalent route in the equivalent routing list corresponds to one private line link; the device comprises:
the detection module is used for monitoring the link states of the plurality of special links;
and the sending module is used for sending an equivalent route withdrawal request of the first private link to the hybrid cloud gateway when monitoring that the first private link in the multiple private links has a fault, so that the hybrid cloud gateway withdraws the equivalent route of the first private link in the equivalent route list.
In a fourth aspect, an embodiment of the present invention provides a disaster recovery device for a hybrid cloud private line access network, where the private line access network includes multiple private line links between a hybrid cloud gateway and an opposite-end network; the device comprises:
a receiving module, configured to receive an equivalent route withdrawal request of a first dedicated link in the multiple dedicated links sent by the monitoring device; the hybrid cloud gateway is configured with an equivalent routing list, and each equivalent route in the equivalent routing list corresponds to a private link;
and the withdrawal module is used for withdrawing the equivalent route of the first special line link in the equivalent route list so as to distribute the mixed cloud special line service based on the equivalent route list after the equivalent route of the first special line link is withdrawn.
In a fifth aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to any one of the foregoing embodiments when executing the computer program.
In a sixth aspect, embodiments of the present invention provide a computer readable storage medium storing machine executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any of the preceding embodiments.
The disaster recovery method and the disaster recovery device for the hybrid cloud private line access network provided by the embodiment of the invention have the advantages that the link states of a plurality of private line links are monitored; when the situation that a first private link in the multiple private links fails is monitored, an equivalent route withdrawal request of the first private link is sent to the hybrid cloud gateway, so that the hybrid cloud gateway withdraws the equivalent route of the first private link in an equivalent route list. Therefore, routing adjustment can be performed on the hybrid cloud gateway, too many network contents are prevented from being configured on the private line switch, network wiring of a machine room is simplified, configuration difficulty of the disaster recovery method is reduced, and usability of the disaster recovery method is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a hybrid cloud private line access network;
fig. 2 is a schematic diagram of another hybrid cloud private line access network;
fig. 3 is a schematic diagram of another hybrid cloud private access network;
fig. 4 is a schematic diagram of another hybrid cloud private line access network provided in an embodiment of the present application;
fig. 5 is a schematic diagram of another hybrid cloud private line access network provided in an embodiment of the present application;
fig. 6 is a schematic diagram of another hybrid cloud private line access network provided in an embodiment of the present application;
fig. 7 is a schematic flow chart of another disaster recovery method for a hybrid cloud dedicated access network according to an embodiment of the present application;
fig. 8 is a schematic flow chart of another disaster recovery method for a hybrid cloud dedicated access network according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another disaster recovery device of a hybrid cloud dedicated access network according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another disaster recovery device of a hybrid cloud dedicated access network according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The embodiment of the invention can move the actions of canceling or taking effect of the route and the like to the hybrid cloud gateway, avoids configuring an excessively complex network on a special line switch for accessing an opposite terminal network, reduces the wiring frequency of a machine room on one hand, and is simple and very easy to manage the special line switch on the other hand. As an example, as shown in fig. 4, in a service scenario, a cloud environment (which may include multiple computing nodes) is connected to an opposite-end network through three private-line switches, three equivalent routes are configured on a hybrid cloud gateway (connected to the cloud environment), next hops are three private-line switches respectively used for accessing to the opposite-end network, and in the case of no exception, a packet going back and forth in the service scenario is loaded through the three lines.
In addition, in the embodiment of the invention, the link quality of the special line corresponding to each special line switch is detected by means of a middleware, the link quality condition is synchronized to the process of the middleware, once the link failure is detected, the route is adjusted on the hybrid cloud gateway, and the flow corresponding to the failed link is switched to other equivalent routes without failure. As an example, as shown in fig. 5, a monitoring device (middleware) is added in the network shown in fig. 4 to monitor the link status, and if a certain line is disconnected or a certain private switch goes down, the monitoring device can quickly monitor and then feed back to the hybrid cloud gateway, so that the hybrid cloud gateway deletes the corresponding route, as shown in fig. 6, a BFD protocol may be configured on the private switch, and BGP may be configured between the private switch and gobgp (an example of middleware). If the leftmost private line is interrupted for some reason, the BFD protocol on the private line switch can detect the link interruption, then the private line switch cancels the route, after the route of the private line switch is cancelled, because BGP exists between the private line switch and the gobgp, the operation of the route cancellation is synchronized into the gobgp through BGP information, then the gobgp calls an interface of the hybrid cloud gateway after receiving the BGP information, and cancels the route corresponding to the interrupted link on the hybrid cloud gateway.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 7 is a schematic flow chart of a disaster recovery method for a hybrid cloud dedicated access network according to an embodiment of the present invention. The private access network comprises a plurality of private links between the hybrid cloud gateway and the opposite-end network, an equivalent routing list (for example, an equivalent routing list '10.20.0.0/24 gw1.1.1.1; 10.20.0.0/24 gw1.1.1.2; 10.20.0.0/24 gw1.1.1.3' in the hybrid cloud gateway in fig. 4) is configured on the hybrid cloud gateway, each equivalent route in the equivalent routing list corresponds to a private link, and in addition, the equivalent routing list can comprise a plurality of private links, each corresponding to a user; the method can be applied to a monitoring device, which is an intermediary, e.g. the gobgp shown in fig. 6. As shown in fig. 7, the method may specifically include:
step S710, monitoring link states of a plurality of private links;
the link status of each private link may be monitored in a variety of ways. For example, link states of a plurality of dedicated links may be monitored based on the BFD protocol. As an example, the monitoring device may establish BGP-based peers with the private switches of each private link, respectively; each private line switch can monitor the link state of the corresponding private line link based on a BFD protocol; the monitoring device may detect the link status based on the BFD protocol via the BGP-based synchronous private line switch.
In addition, after the monitoring device establishes the peer based on the BGP with the private line switch of each private line link, the monitoring device may also perform route learning on each peer based on the BGP to determine an equivalent route corresponding to each private line link. As shown in connection with fig. 5, the monitoring device may be implemented using a gobgp open source project, and the monitoring device may be gobgp. BGP peers (peers) are established using gobgp and associated private line switches. Under normal network conditions, all three private switches in fig. 5 are configured and effect the next hop to peer network route (10.20.0.0/24). Then gobgp can learn 10.20.0.0/24 through three peers and can recognize that there are three paths, respectively three private line switches (1.1.1.1, 1.1.1.2 and 1.1.1.3). If one of the three private links is broken, the gobgp can learn the corresponding route change through BGP.
Step S720, when it is monitored that a first private link in the plurality of private links has a fault, sending an equivalent routing withdrawal request of the first private link to the hybrid cloud gateway, so that the hybrid cloud gateway withdraws the equivalent routing of the first private link in an equivalent routing list.
As shown in fig. 6, if the dedicated link corresponding to the dedicated switch (1.1.1.3) is interrupted for some reason, the BFD on the dedicated switch can detect the link interruption and then withdraw the route. After the route is withdrawn, because BGP exists between the private line switch and the gobgp, the route withdrawing operation is synchronized into the gobgp. After receiving the message of BGP (the next withdrawal of the withdrawal 10.20.0.0/24 is 1.1.1.3 withdrawal), the gobgp calls an interface of the hybrid cloud gateway and withdraws the route corresponding to the interrupted link in the hybrid cloud gateway.
And the hybrid cloud gateway transmits the service data of the user based on the equivalent routing list.
In some embodiments, if the broken link is repaired, BFD may enable the relevant route to take effect, which may be synchronized to gobgp by BGP, which recalls adding the route to the interface of the hybrid cloud gateway. As an example, the method may further comprise the steps of: when the second special line link in the special line links is monitored to be effective, an equivalent route effective request of the second special line link is sent to the hybrid cloud gateway, so that the hybrid cloud gateway adds the equivalent route of the first special line link in an equivalent route list.
The embodiment of the invention monitors the link states of a plurality of special links; when the fact that a first special line link in the special line links breaks down is monitored, an equivalent route withdrawal request of the first special line link is sent to the hybrid cloud gateway, and therefore the hybrid cloud gateway withdraws the equivalent route of the first special line link in an equivalent route list. Therefore, routing adjustment can be performed on the hybrid cloud gateway, too many network contents are prevented from being configured on the private line switch, network wiring of a machine room is simplified, configuration difficulty of the disaster recovery method is reduced, and usability of the disaster recovery method is improved.
Fig. 8 is a schematic flow chart of another disaster recovery method for a hybrid cloud dedicated access network according to an embodiment of the present invention. The private access network comprises a plurality of private links between the hybrid cloud gateway and the opposite terminal network; the method may be applied to a hybrid cloud gateway, as shown in fig. 8, and may include the following steps:
s810, receiving an equivalent route withdrawal request of a first private link in the multiple private links sent by the monitoring device.
The hybrid cloud gateway is configured with an equivalent routing list, and each equivalent routing in the equivalent routing list corresponds to a private link.
As shown in fig. 6, if a dedicated link corresponding to the dedicated switch (1.1.1.3) is interrupted for some reason, the BFD on the dedicated switch can detect the link interruption, and after receiving a BGP message (the next route of 10.20.0.0/24 is 1.1.1.3 withdrawal), the gobgp calls an interface of the hybrid cloud gateway and sends an equivalent route (the next route of 10.20.0.0/24 is 1.1.1.3) withdrawal request of the first dedicated link to the hybrid cloud gateway.
And S820, withdrawing the equivalent route of the first private link in the equivalent route list so as to distribute the hybrid cloud private line service based on the equivalent route list after withdrawing the equivalent route of the first private link.
In some embodiments, if the broken link is repaired, validation of the route may be synchronized to gobgp by BGP, which recalls the interface of the hybrid cloud gateway to add the route. As an example, the method further comprises:
step 1), receiving an equivalent route validation request of a second special line link in a plurality of special line links sent by monitoring equipment;
and step 2), adding the equivalent route of the second special line link into the equivalent route list so as to distribute the mixed cloud special line service based on the equivalent route list after the equivalent route of the second special line link is added.
Fig. 9 is a schematic structural diagram of a disaster recovery device of a hybrid cloud dedicated access network according to an embodiment of the present invention. The private line access network comprises a plurality of private line links between the hybrid cloud gateway and the opposite terminal network, an equivalent route list is configured on the hybrid cloud gateway, and each equivalent route in the equivalent route list corresponds to one private line link; as shown in fig. 9, the apparatus includes:
a detecting module 901, configured to monitor link states of multiple dedicated links;
a sending module 902, configured to send, when it is monitored that a first dedicated link in the multiple dedicated links fails, an equivalent route withdraw request of the first dedicated link to the hybrid cloud gateway, so that the hybrid cloud gateway withdraws an equivalent route of the first dedicated link in the equivalent route list.
In some embodiments, the sending module 902 is further configured to:
when the second special line link in the special line links is monitored to be effective, an equivalent route effective request of the second special line link is sent to the hybrid cloud gateway, so that the hybrid cloud gateway adds the equivalent route of the first special line link in an equivalent route list.
In some embodiments, the detection module 901 is further configured to: and detecting the link states of the plurality of special line links based on the BFD protocol.
In some embodiments, the detection module 901 is further configured to: establishing a peer based on BGP with a private line switch of each private line link respectively;
link states detected by a BGP-based synchronous private line switch based on a BFD protocol.
In some embodiments, the system further comprises a route learning module, configured to perform route learning for each BGP-based peer and determine an equivalent route corresponding to each private link.
Fig. 10 is a schematic structural diagram of another disaster recovery device of a hybrid cloud dedicated access network according to an embodiment of the present invention. The private line access network comprises a plurality of private line links between the hybrid cloud gateway and the opposite terminal network; as shown in fig. 10, the apparatus includes:
a receiving module 1001, configured to receive an equivalent route cancellation request of a first private link in multiple private links sent by a monitoring device; the hybrid cloud gateway is configured with an equivalent routing list, and each equivalent routing in the equivalent routing list corresponds to a private link;
a revoking module 1002, configured to revoke the equivalent route of the first dedicated line link in the equivalent route list, so as to distribute the hybrid cloud dedicated line service based on the equivalent route list after revoking the equivalent route of the first dedicated line link.
In some embodiments, the receiving module 1001 is further configured to receive an equivalent route validation request of a second dedicated link in the plurality of dedicated links sent by the monitoring device;
and the adding module is used for adding the equivalent route of the second special line link into the equivalent route list so as to distribute the mixed cloud special line service based on the equivalent route list after the equivalent route of the second special line link is added.
The disaster recovery device of the hybrid cloud dedicated line access network provided by the embodiment of the application has the same technical characteristics as the disaster recovery method of the hybrid cloud dedicated line access network provided by the embodiment, so that the same technical problems can be solved, and the same technical effect can be achieved.
The embodiment of the invention also provides a disaster recovery system of the hybrid cloud private line access network. Such as the system shown in fig. 1. The system may include:
the hybrid cloud gateway is provided with an equivalent routing list, each equivalent routing in the equivalent routing list corresponds to a special link, and a plurality of special links are correspondingly arranged between the hybrid cloud gateway and an opposite terminal network; the system comprises a monitoring device and a plurality of private links, wherein the monitoring device is used for receiving an equivalent route withdrawal request of a first private link in the plurality of private links sent by the monitoring device; withdrawing the equivalent route of the first private link in the equivalent route list so as to distribute the hybrid cloud private line service based on the equivalent route list after withdrawing the equivalent route of the first private link;
the monitoring equipment is used for monitoring the link states of the plurality of private links; and when monitoring that a first private link in the multiple private links has a fault, sending an equivalent route withdrawal request of the first private link to the hybrid cloud gateway.
The system may further include a dedicated line switch for detecting a link state of itself based on a BFD protocol and synchronizing the detected link state to the monitoring device.
As shown in fig. 11, a computer device 1100 provided in an embodiment of the present application includes: the system comprises a processor 1101, a memory 1102 and a bus, wherein the memory 1102 stores machine-readable instructions executable by the processor 1101, when an electronic device runs, the processor 1101 and the memory 1102 communicate with each other through the bus, and the processor 1101 executes the machine-readable instructions to execute the steps of the disaster-preparation method of the hybrid cloud dedicated access network.
Specifically, the memory 1102 and the processor 1101 can be general memories and processors, which are not specifically limited herein, and when the processor 1101 executes a computer program stored in the memory 1102, the disaster recovery method of the hybrid cloud dedicated access network can be performed.
Corresponding to the disaster recovery method of the hybrid cloud dedicated line access network, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a machine executable instruction, and when the computer executable instruction is called and executed by a processor, the computer executable instruction prompts the processor to execute the steps of the disaster recovery method of the hybrid cloud dedicated line access network.
The disaster recovery device of the hybrid cloud private line access network provided by the embodiment of the present application may be specific hardware on a device, or software or firmware installed on a device, or the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the mobile control method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application.

Claims (12)

1. The disaster recovery method for the hybrid cloud private line access network is characterized in that the private line access network comprises a plurality of private line links between a hybrid cloud gateway and an opposite terminal network, the hybrid cloud gateway establishes the plurality of line links with the opposite terminal network through a private line switch, an equivalent routing list is configured on the hybrid cloud gateway, and each equivalent routing in the equivalent routing list corresponds to one private line link; the method comprises the following steps:
monitoring link states of the plurality of private links through monitoring equipment;
when monitoring that a first private link in the multiple private links has a fault, sending an equivalent route withdrawal request of the first private link to the hybrid cloud gateway, so that the hybrid cloud gateway withdraws the equivalent route of the first private link in the equivalent route list.
2. The method of claim 1, further comprising:
when it is monitored that a second private link in the multiple private links is in effect, an equivalent route effect request of the second private link is sent to the hybrid cloud gateway, so that the hybrid cloud gateway adds an equivalent route of the first private link in an equivalent route list.
3. The method of claim 1, wherein the step of monitoring the link status of the plurality of private links comprises:
and monitoring the link states of the plurality of special line links based on a BFD protocol.
4. The method according to claim 3, wherein the step of monitoring the link status of the plurality of dedicated links based on the BFD protocol comprises:
establishing a peer based on BGP with the private line switch of each private line link respectively;
and synchronizing the link state detected by the private line switch based on the BFD protocol through the BGP-based synchronization.
5. The method of claim 4, wherein after the step of establishing BGP-based peers with the private switches of each of the private links, respectively, the method further comprises:
and performing route learning on each BGP-based peer, and determining an equivalent route corresponding to each private link.
6. The disaster recovery method for the hybrid cloud private line access network is characterized in that the private line access network comprises a plurality of private line links between a hybrid cloud gateway and an opposite terminal network, and the hybrid cloud gateway establishes the plurality of line links with the opposite terminal network through a private line switch; the method comprises the following steps:
receiving, by the hybrid cloud gateway, an equivalent route withdrawal request of a first private link of the multiple private links, where the request is sent by a monitoring device; the hybrid cloud gateway is configured with an equivalent routing list, and each equivalent route in the equivalent routing list corresponds to a private link;
and withdrawing the equivalent route of the first private link in the equivalent route list so as to distribute the hybrid cloud private line service based on the equivalent route list after the equivalent route of the first private link is withdrawn.
7. The method of claim 6, further comprising:
receiving an equivalent route validation request of a second private line link in the multiple private line links, which is sent by the monitoring equipment;
and adding the equivalent route of the second private link into the equivalent route list so as to distribute the hybrid cloud private line service based on the equivalent route list after the equivalent route of the second private link is added.
8. The disaster recovery device for the hybrid cloud private line access network is characterized in that the private line access network comprises a plurality of private line links between a hybrid cloud gateway and an opposite terminal network, the hybrid cloud gateway establishes a plurality of line links with the opposite terminal network through a private line switch, an equivalent routing list is configured on the hybrid cloud gateway, and each equivalent routing in the equivalent routing list corresponds to one private line link; the device comprises:
the detection module is used for monitoring the link states of the plurality of special links through monitoring equipment;
and the sending module is used for sending an equivalent route withdrawal request of the first private link to the hybrid cloud gateway when monitoring that the first private link in the multiple private links has a fault, so that the hybrid cloud gateway withdraws the equivalent route of the first private link in the equivalent route list.
9. The disaster recovery device for the hybrid cloud private line access network is characterized in that the private line access network comprises a plurality of private line links between a hybrid cloud gateway and an opposite terminal network, and the hybrid cloud gateway establishes the plurality of line links with the opposite terminal network through a private line switch; the device comprises:
a receiving module, configured to receive, by the hybrid cloud gateway, an equivalent route cancellation request of a first private link in the multiple private links, where the request is sent by the monitoring device; the hybrid cloud gateway is configured with an equivalent routing list, and each equivalent route in the equivalent routing list corresponds to a private link;
and the withdrawal module is used for withdrawing the equivalent route of the first special line link in the equivalent route list so as to distribute the mixed cloud special line service based on the equivalent route list after the equivalent route of the first special line link is withdrawn.
10. A disaster recovery system of a hybrid cloud private line access network is characterized by comprising:
the hybrid cloud gateway is provided with an equivalent routing list, each equivalent routing in the equivalent routing list corresponds to a special line link, a plurality of special line links are correspondingly arranged between the hybrid cloud gateway and an opposite terminal network, and the hybrid cloud gateway establishes the plurality of line links with the opposite terminal network through a special line switch; the system comprises a monitoring device and a plurality of private links, wherein the monitoring device is used for receiving an equivalent route withdrawal request of a first private link in the plurality of private links sent by the monitoring device; withdrawing the equivalent route of the first private link in the equivalent route list so as to distribute the hybrid cloud private line service based on the equivalent route list after withdrawing the equivalent route of the first private link;
the monitoring equipment is used for monitoring the link states of the plurality of private links; and when monitoring that a first private link in the multiple private links has a fault, sending an equivalent route withdrawal request of the first private link to the hybrid cloud gateway.
11. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
12. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 7.
CN202010391003.8A 2020-05-09 2020-05-09 Disaster recovery method and device for hybrid cloud private line access network Active CN113630314B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010391003.8A CN113630314B (en) 2020-05-09 2020-05-09 Disaster recovery method and device for hybrid cloud private line access network
PCT/CN2021/090034 WO2021227863A1 (en) 2020-05-09 2021-04-26 Disaster recovery method and apparatus for hybrid cloud private line access network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010391003.8A CN113630314B (en) 2020-05-09 2020-05-09 Disaster recovery method and device for hybrid cloud private line access network

Publications (2)

Publication Number Publication Date
CN113630314A CN113630314A (en) 2021-11-09
CN113630314B true CN113630314B (en) 2022-09-16

Family

ID=78377723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010391003.8A Active CN113630314B (en) 2020-05-09 2020-05-09 Disaster recovery method and device for hybrid cloud private line access network

Country Status (2)

Country Link
CN (1) CN113630314B (en)
WO (1) WO2021227863A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726780B (en) * 2022-03-23 2024-04-02 阿里云计算有限公司 Communication method, device and storage medium from top to bottom of cloud
CN115333994A (en) * 2022-08-01 2022-11-11 北京金山云网络技术有限公司 Method and device for realizing VPN route rapid convergence and electronic equipment
CN115442287B (en) * 2022-08-10 2024-04-05 北京金山云网络技术有限公司 Weight-based private line gateway method and device
CN116566803B (en) * 2023-06-15 2024-04-05 华章数据技术有限公司 Line switching system and method based on flow monitoring
CN117596284B (en) * 2024-01-18 2024-03-29 腾讯科技(深圳)有限公司 Method, device, computer equipment and storage medium for data transmission

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103621027A (en) * 2011-05-30 2014-03-05 日本电气株式会社 Communication path control system, and communication path control method
WO2017114286A1 (en) * 2015-12-30 2017-07-06 中国银联股份有限公司 Network management system based on hybrid cloud platform
CN109639557A (en) * 2019-02-11 2019-04-16 北京百度网讯科技有限公司 Methods, devices and systems for network communication
CN109768906A (en) * 2019-03-29 2019-05-17 新华三技术有限公司 A kind of subnet special line configuration method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325154B (en) * 2011-07-13 2014-11-05 百度在线网络技术(北京)有限公司 Network system with disaster-tolerant backup function and method for realizing disaster-tolerant backup function
CN103812770B (en) * 2012-11-12 2017-04-12 华为技术有限公司 Cloud service message redirecting method and system and cloud gateway
CN104253745B (en) * 2013-06-29 2018-05-29 华为技术有限公司 A kind of route withdraw method and the network equipment
US9515918B2 (en) * 2013-11-18 2016-12-06 International Business Machines Corporation Computing forwarding tables for link failures
CN107948086A (en) * 2016-10-12 2018-04-20 北京金山云网络技术有限公司 A kind of data packet sending method, device and mixed cloud network system
US10579357B2 (en) * 2017-07-20 2020-03-03 International Business Machines Corporation Cognitive expected program code installation result assessment
WO2019135249A1 (en) * 2018-01-05 2019-07-11 Telefonaktiebolaget Lm Ericsson (Publ) Data center failure management in an sdn deployment using border gateway node control
CN109547269B (en) * 2019-01-04 2021-12-14 烽火通信科技股份有限公司 Method and device for realizing LSP protection of IP RAN equipment
CN109728956A (en) * 2019-01-29 2019-05-07 网联清算有限公司 Link switch-over method, device, computer equipment and storage medium
CN109936629B (en) * 2019-02-27 2021-09-03 浪潮云信息技术股份公司 Hybrid cloud network interconnection method and system
CN110191067B (en) * 2019-05-24 2023-04-18 深圳前海微众银行股份有限公司 Private line network access control method, device, equipment and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103621027A (en) * 2011-05-30 2014-03-05 日本电气株式会社 Communication path control system, and communication path control method
WO2017114286A1 (en) * 2015-12-30 2017-07-06 中国银联股份有限公司 Network management system based on hybrid cloud platform
CN109639557A (en) * 2019-02-11 2019-04-16 北京百度网讯科技有限公司 Methods, devices and systems for network communication
CN109768906A (en) * 2019-03-29 2019-05-17 新华三技术有限公司 A kind of subnet special line configuration method and device

Also Published As

Publication number Publication date
CN113630314A (en) 2021-11-09
WO2021227863A1 (en) 2021-11-18

Similar Documents

Publication Publication Date Title
CN113630314B (en) Disaster recovery method and device for hybrid cloud private line access network
US11323307B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
CN108574614B (en) Message processing method, device and network system
CN111865779B (en) Route synchronization method and cross-device link aggregation group
US10560550B1 (en) Automatic configuration of a replacement network device in a high-availability cluster
JP5913635B2 (en) Redundant network connection
JP2007104351A (en) Network operation management system
CN105472049B (en) CGN backup protection method and device for carrier-grade network address conversion
WO2022099936A1 (en) Smooth upgrade method and system
WO2020057445A1 (en) Communication system, method, and device
CN111585835B (en) Control method and device for out-of-band management system and storage medium
CN112995027B (en) Route publishing method and VTEP node
JP6383232B2 (en) Relay system and switch device
CN109150709B (en) Method, equipment and system for realizing Mux machine
CN111629386B (en) Communication method, system and equipment
US20080212610A1 (en) Communication techniques and generic layer 3 automatic switching protection
CN109428821B (en) Server, method for managing routing of mutual backup device and storage medium
CN114124803B (en) Device management method and device, electronic device and storage medium
US20220400075A1 (en) Failure detection and mitigation in an mc-lag environment
CN113992571A (en) Multi-path service convergence method, device and storage medium in SDN network
CN109361781B (en) Message forwarding method, device, server, system and storage medium
CN113852514A (en) Data processing system with uninterrupted service, processing equipment switching method and connecting equipment
CN112838982B (en) Message transmission path switching method, device and system
JP2019047396A (en) Communication device, communication method, computer program, and communication system
CN115941587A (en) Multi-homing routing method, device, edge device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant